mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
localization
This commit is contained in:
9
Terminal.Gui/Resources/Strings.Designer.cs
generated
9
Terminal.Gui/Resources/Strings.Designer.cs
generated
@@ -123,6 +123,15 @@ namespace Terminal.Gui.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Any Files.
|
||||
/// </summary>
|
||||
internal static string fdAnyFiles {
|
||||
get {
|
||||
return ResourceManager.GetString("fdAnyFiles", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Directory.
|
||||
/// </summary>
|
||||
|
||||
@@ -207,4 +207,8 @@
|
||||
<value>Wrong file type</value>
|
||||
<comment>When trying to open/save a file that does not match the provided filter (e.g. csv)</comment>
|
||||
</data>
|
||||
<data name="fdAnyFiles" xml:space="preserve">
|
||||
<value>Any Files</value>
|
||||
<comment>Describes an AllowedType that matches anything</comment>
|
||||
</data>
|
||||
</root>
|
||||
@@ -2,6 +2,7 @@
|
||||
using System.Data;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Terminal.Gui.Resources;
|
||||
|
||||
namespace Terminal.Gui {
|
||||
|
||||
@@ -29,7 +30,7 @@ namespace Terminal.Gui {
|
||||
/// <summary>
|
||||
/// Gets a value of <see cref="AllowedType"/> that matches any file.
|
||||
/// </summary>
|
||||
public static AllowedType Any { get; } = new AllowedType ("Any Files", ".*");
|
||||
public static AllowedType Any { get; } = new AllowedType (Strings.fdAnyFiles, ".*");
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets the human readable description for the file type
|
||||
|
||||
Reference in New Issue
Block a user