[tasque/viewmodel: 39/78] Forgot to use translation when setting appindicator menuitem label



commit 6a648a8d3d1a9cfcaf7d7a9f7d43fa527c1c3687
Author: Antonius Riha <antoniusriha gmail com>
Date:   Tue Jul 31 00:11:00 2012 +0200

    Forgot to use translation when setting appindicator menuitem label

 src/Tasque.Gtk/AppIndicatorTray.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/Tasque.Gtk/AppIndicatorTray.cs b/src/Tasque.Gtk/AppIndicatorTray.cs
index ee2ea24..d81f6aa 100644
--- a/src/Tasque.Gtk/AppIndicatorTray.cs
+++ b/src/Tasque.Gtk/AppIndicatorTray.cs
@@ -24,6 +24,7 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 using Gtk;
+using Mono.Unix;
 using AppIndicator;
 using Tasque.UIModel.Legacy;
 
@@ -52,8 +53,9 @@ namespace Tasque
 		
 		void UpdateToggleTaskWindowActionLabel ()
 		{
-			ToggleTaskWindowAction.Label = ViewModel.IsTaskWindowVisible ? "Hide Task Window"
-				: "Show Task Window";
+			ToggleTaskWindowAction.Label = ViewModel.IsTaskWindowVisible
+				? Catalog.GetString ("Hide Task Window")
+				: Catalog.GetString ("Show Task Window");
 		}
 	}
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]