Localization of untranslated strings
This commit is contained in:
parent
f6e5929e5b
commit
5ab69b0b73
2 changed files with 7 additions and 4 deletions
|
|
@ -63,7 +63,10 @@ namespace MatterHackers.MatterControl.ConfigurationPage
|
|||
buttonRow.HAnchor = HAnchor.ParentLeftRight;
|
||||
buttonRow.Margin = new BorderDouble(0, 6);
|
||||
|
||||
TextWidget settingLabel = new TextWidget(LocalizedString.Get("Theme/Display Options"));
|
||||
string settingLabelBeggining = LocalizedString.Get("Theme");
|
||||
string settingLabelEnd = LocalizedString.Get("Display Options");
|
||||
string settingLabelFull = String.Format("{0}/{1}", settingLabelBeggining, settingLabelEnd);
|
||||
TextWidget settingLabel = new TextWidget(settingLabelFull);//"Theme/Display Options"
|
||||
settingLabel.AutoExpandBoundsToText = true;
|
||||
settingLabel.TextColor = ActiveTheme.Instance.PrimaryTextColor;
|
||||
settingLabel.HAnchor = Agg.UI.HAnchor.ParentLeft;
|
||||
|
|
@ -123,8 +126,8 @@ namespace MatterHackers.MatterControl.ConfigurationPage
|
|||
optionsContainer.AddChild(releaseOptionsDropList);
|
||||
optionsContainer.Width = 200;
|
||||
|
||||
MenuItem releaseOptionsDropDownItem = releaseOptionsDropList.AddItem("Normal", "responsive");
|
||||
MenuItem preReleaseDropDownItem = releaseOptionsDropList.AddItem("Touchscreen", "touchscreen");
|
||||
MenuItem releaseOptionsDropDownItem = releaseOptionsDropList.AddItem(LocalizedString.Get("Normal"), "responsive");
|
||||
MenuItem preReleaseDropDownItem = releaseOptionsDropList.AddItem(LocalizedString.Get("Touchscreen"), "touchscreen");
|
||||
|
||||
List<string> acceptableUpdateFeedTypeValues = new List<string>() { "responsive", "touchscreen" };
|
||||
string currentUpdateFeedType = UserSettings.Instance.get("ApplicationDisplayMode");
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage
|
|||
configureNotificationSettingsButton.VAnchor = VAnchor.ParentCenter;
|
||||
configureNotificationSettingsButton.Click += new ButtonBase.ButtonEventHandler(configureNotificationSettingsButton_Click);
|
||||
|
||||
notificationSettingsLabel = new TextWidget("Notification Settings");
|
||||
notificationSettingsLabel = new TextWidget(LocalizedString.Get("Notification Settings"));
|
||||
notificationSettingsLabel.AutoExpandBoundsToText = true;
|
||||
notificationSettingsLabel.TextColor = ActiveTheme.Instance.PrimaryTextColor;
|
||||
notificationSettingsLabel.VAnchor = VAnchor.ParentCenter;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue