Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorF. Phoenix <fphoenix@email.com>2016-12-10 03:12:21 +0300
committertherzok <marius.ungureanu@xamarin.com>2017-01-12 17:51:18 +0300
commit0a38411d8f03b0c34f90dcb7f377595522ce05c0 (patch)
tree75be688b6087dbb2481606bc41c78c63f8ec4027 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands
parent8bccbeb3e90485804f226db2ea17fa396bf689d4 (diff)
[i18n] Translation support for custom tools tags menu
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/CustomStringTagProvider.cs28
1 files changed, 14 insertions, 14 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/CustomStringTagProvider.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/CustomStringTagProvider.cs
index 15f096ced4..681c3c749f 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/CustomStringTagProvider.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/CustomStringTagProvider.cs
@@ -41,20 +41,20 @@ namespace MonoDevelop.Ide.Commands
{
public override IEnumerable<StringTagDescription> GetTags ()
{
- yield return new StringTagDescription ("FilePath", "File Path");
- yield return new StringTagDescription ("FileDir", "File Directory");
- yield return new StringTagDescription ("FileName", "File Name");
- yield return new StringTagDescription ("FileNamePrefix", "File Name Without Extension");
- yield return new StringTagDescription ("FileExt", "File Extension");
- yield return new StringTagDescription ("CurLine", "Cursor Line", false);
- yield return new StringTagDescription ("CurColumn", "Cursor Column", false);
- yield return new StringTagDescription ("CurOffset", "Cursor Offset", false);
- yield return new StringTagDescription ("CurText", "Selected Editor Text", false);
- yield return new StringTagDescription ("EditorText", "Editor Text", false);
- yield return new StringTagDescription ("StartupPath", "MonoDevelop Startup Directory", false);
- yield return new StringTagDescription ("ConfigDir", "MonoDevelop Configuration Directory", false);
- yield return new StringTagDescription ("DataDir", "MonoDevelop User Data Directory", false);
- yield return new StringTagDescription ("LogDir", "MonoDevelop Log Directory", false);
+ yield return new StringTagDescription ("FilePath", GettextCatalog.GetString ("File Path"));
+ yield return new StringTagDescription ("FileDir", GettextCatalog.GetString ("File Directory"));
+ yield return new StringTagDescription ("FileName", GettextCatalog.GetString ("File Name"));
+ yield return new StringTagDescription ("FileNamePrefix", GettextCatalog.GetString ("File Name Without Extension"));
+ yield return new StringTagDescription ("FileExt", GettextCatalog.GetString ("File Extension"));
+ yield return new StringTagDescription ("CurLine", GettextCatalog.GetString ("Cursor Line"), false);
+ yield return new StringTagDescription ("CurColumn", GettextCatalog.GetString ("Cursor Column"), false);
+ yield return new StringTagDescription ("CurOffset", GettextCatalog.GetString ("Cursor Offset"), false);
+ yield return new StringTagDescription ("CurText", GettextCatalog.GetString ("Selected Editor Text"), false);
+ yield return new StringTagDescription ("EditorText", GettextCatalog.GetString ("Editor Text"), false);
+ yield return new StringTagDescription ("StartupPath", GettextCatalog.GetString ("MonoDevelop Startup Directory"), false);
+ yield return new StringTagDescription ("ConfigDir", GettextCatalog.GetString ("MonoDevelop Configuration Directory"), false);
+ yield return new StringTagDescription ("DataDir", GettextCatalog.GetString ("MonoDevelop User Data Directory"), false);
+ yield return new StringTagDescription ("LogDir", GettextCatalog.GetString ("MonoDevelop Log Directory"), false);
}
public override object GetTagValue (Workbench wb, string tag)