Remove localization calls
This commit is contained in:
parent
a3d14c4334
commit
bdb8f4c5f0
1 changed files with 14 additions and 14 deletions
|
|
@ -67,13 +67,13 @@ namespace MatterHackers.MatterControl
|
|||
};
|
||||
contentRow.AddChild(xButtonsGroup);
|
||||
xButtons = new List<RadioButton>();
|
||||
xButtons.Add(new RadioButton("-3".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
xButtons.Add(new RadioButton("-2".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
xButtons.Add(new RadioButton("-1".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
xButtons.Add(new RadioButton(" 0".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
xButtons.Add(new RadioButton("+1".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
xButtons.Add(new RadioButton("+2".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
xButtons.Add(new RadioButton("+3".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
xButtons.Add(new RadioButton("-3", textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
xButtons.Add(new RadioButton("-2", textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
xButtons.Add(new RadioButton("-1", textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
xButtons.Add(new RadioButton(" 0", textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
xButtons.Add(new RadioButton("+1", textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
xButtons.Add(new RadioButton("+2", textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
xButtons.Add(new RadioButton("+3", textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
foreach (var button in xButtons)
|
||||
{
|
||||
xButtonsGroup.AddChild(button);
|
||||
|
|
@ -87,13 +87,13 @@ namespace MatterHackers.MatterControl
|
|||
contentRow.AddChild(yButtonsGroup);
|
||||
yButtonsGroup.AddChild(new GuiWidget(24 * GuiWidget.DeviceScale, 16));
|
||||
yButtons = new List<RadioButton>();
|
||||
yButtons.Add(new RadioButton("-3".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
yButtons.Add(new RadioButton("-2".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
yButtons.Add(new RadioButton("-1".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
yButtons.Add(new RadioButton(" 0".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
yButtons.Add(new RadioButton("+1".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
yButtons.Add(new RadioButton("+2".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
yButtons.Add(new RadioButton("+3".Localize(), textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
yButtons.Add(new RadioButton("-3", textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
yButtons.Add(new RadioButton("-2", textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
yButtons.Add(new RadioButton("-1", textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
yButtons.Add(new RadioButton(" 0", textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
yButtons.Add(new RadioButton("+1", textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
yButtons.Add(new RadioButton("+2", textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
yButtons.Add(new RadioButton("+3", textColor: theme.TextColor, fontSize: theme.DefaultFontSize));
|
||||
foreach (var button in yButtons)
|
||||
{
|
||||
var column = new FlowLayoutWidget(FlowDirection.TopToBottom);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue