diff options
author | Rodrigo Moya <rodrigo.moya@xamarin.com> | 2019-10-26 16:47:32 +0300 |
---|---|---|
committer | Rodrigo Moya <rodrigo.moya@xamarin.com> | 2019-11-13 21:59:27 +0300 |
commit | 9012b31ca959df46a7e47d26c1eac056bcb8e474 (patch) | |
tree | 7ba613ac88e30b25655d41b4160a1fdba652ae9d /main/src/addins/MonoDevelop.DotNetCore | |
parent | 01721e34f626ef31f16347d6ad8415020d6328a3 (diff) |
[Ide] Mark feature switches' descriptions for translation
Diffstat (limited to 'main/src/addins/MonoDevelop.DotNetCore')
-rw-r--r-- | main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore/DotNetCoreFeatureSwitchController.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore/DotNetCoreFeatureSwitchController.cs b/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore/DotNetCoreFeatureSwitchController.cs index 8a935eff80..1024425da0 100644 --- a/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore/DotNetCoreFeatureSwitchController.cs +++ b/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore/DotNetCoreFeatureSwitchController.cs @@ -26,6 +26,7 @@ using System.Collections.Generic; using Mono.Addins; +using MonoDevelop.Core; using MonoDevelop.Core.FeatureConfiguration; namespace MonoDevelop.DotNetCore @@ -37,7 +38,9 @@ namespace MonoDevelop.DotNetCore public IEnumerable<FeatureSwitch> DescribeFeatures () { - yield return new FeatureSwitch (VBNetNetCoreFeatureSwitchName, "Enable VB.NET support for .NET Core", false); + yield return new FeatureSwitch (VBNetNetCoreFeatureSwitchName, + GettextCatalog.GetString ("Enable VB.NET support for .NET Core"), + false); } public bool? IsFeatureEnabled (string featureName) @@ -47,6 +50,7 @@ namespace MonoDevelop.DotNetCore return false; default: return null; + } } } } |