From 4a46fb472aecd9ba2fdbac6648fd8b6bcbbb98cc Mon Sep 17 00:00:00 2001 From: larsbrubaker Date: Tue, 18 Feb 2014 18:04:23 -0800 Subject: [PATCH] Turned off localization debug. Localized two strings. --- EeProm/EePromRepatierWidget.cs | 4 ++-- Localizations/LocalizedString.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/EeProm/EePromRepatierWidget.cs b/EeProm/EePromRepatierWidget.cs index 23512b7c6..16ca6575d 100644 --- a/EeProm/EePromRepatierWidget.cs +++ b/EeProm/EePromRepatierWidget.cs @@ -67,8 +67,8 @@ namespace MatterHackers.MatterControl.EeProm valueColmun = new FlowLayoutWidget(FlowDirection.TopToBottom); columnHolder.AddChild(valueColmun); - descriptionColmun.AddChild(new TextWidget("Description")); - valueColmun.AddChild(new TextWidget("Value")); + descriptionColmun.AddChild(new TextWidget(new LocalizedString("Description").Translated)); + valueColmun.AddChild(new TextWidget(new LocalizedString("Value").Translated)); topToBottom.AddChild(columnHolder); } diff --git a/Localizations/LocalizedString.cs b/Localizations/LocalizedString.cs index f7bb8bfb6..8b64adb51 100644 --- a/Localizations/LocalizedString.cs +++ b/Localizations/LocalizedString.cs @@ -1,4 +1,4 @@ -#define DEBUG_SHOW_TRANSLATED_STRINGS +//#define DEBUG_SHOW_TRANSLATED_STRINGS using System; using System.Collections.Generic;