mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
16
Brutal.Localization/LStringsOptions.cs
Normal file
16
Brutal.Localization/LStringsOptions.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace Brutal.Localization;
|
||||
|
||||
/// <summary>
|
||||
/// Options used by the static wrapper, <see cref="LStrings"/>. Set these options before the first instance of an <see cref="LString"/> is
|
||||
/// created through with <see cref="LStrings"/>.
|
||||
/// </summary>
|
||||
public static class LStringsOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// The Regex pattern to use to match replacement variables in localizable strings. If you wish to use a different pattern
|
||||
/// set this field before creating <see cref="LString" /> instances.
|
||||
/// </summary>
|
||||
public static Regex ReplacementPattern = DefaultOptions.ReplacementPattern();
|
||||
}
|
||||
Loading…
Reference in a new issue