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

github.com/mono/mono-addins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron White <cameronwhite91@gmail.com>2013-04-28 02:22:41 +0400
committerCameron White <cameronwhite91@gmail.com>2013-04-28 02:22:41 +0400
commitea36c5abd78332d0f9ce48761a96a8d03ea07ee7 (patch)
tree9e8f91226ea44f06ae3392761aef6b8a38fbd488 /Mono.Addins.Gui
parentadcd75bb47ffc1665c8c410f44dad3511dec0da0 (diff)
Make the Enable/Disable button text translatable.
Diffstat (limited to 'Mono.Addins.Gui')
-rw-r--r--Mono.Addins.Gui/Mono.Addins.Gui/AddinInfoView.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mono.Addins.Gui/Mono.Addins.Gui/AddinInfoView.cs b/Mono.Addins.Gui/Mono.Addins.Gui/AddinInfoView.cs
index 10ccb9f..287f6cf 100644
--- a/Mono.Addins.Gui/Mono.Addins.Gui/AddinInfoView.cs
+++ b/Mono.Addins.Gui/Mono.Addins.Gui/AddinInfoView.cs
@@ -246,7 +246,7 @@ namespace Mono.Addins.Gui
btnInstall.Visible = false;
btnUpdate.Visible = updateInfo != null && AllowInstall;
btnDisable.Visible = true;
- btnDisable.Label = installed.Enabled ? "Disable" : "Enable";
+ btnDisable.Label = installed.Enabled ? Catalog.GetString ("Disable") : Catalog.GetString ("Enable");
btnDisable.Visible = installed.Description.CanDisable;
btnUninstall.Visible = installed.Description.CanUninstall;
version = installed.Version;