removing English translation (this folder should never be here)

put in German translation
More strings in master
This commit is contained in:
larsbrubaker 2014-04-03 18:27:37 -07:00
parent 1e08d94eb1
commit 9273c3950a
6 changed files with 1852 additions and 1416 deletions

View file

@ -34,12 +34,16 @@ using MatterHackers.Agg.Font;
using MatterHackers.Agg.UI;
using MatterHackers.Localizations;
using MatterHackers.VectorMath;
using MatterHackers.MatterControl;
using MatterHackers.MatterControl.SlicerConfiguration;
namespace MatterHackers.MatterControl.SlicerConfiguration
{
public class SliceSettingsWidget : GuiWidget
{
const string SliceSettingsShowHelpEntry = "SliceSettingsShowHelp";
const string SliceSettingsLevelEntry = "SliceSettingsLevel";
public class UiState
{
public class WhichItem
@ -48,8 +52,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
public string name = "";
}
public string userLevel = "Beginner";
public bool showHelp = false;
public WhichItem selectedCategory = new WhichItem();
public WhichItem selectedGroup = new WhichItem();
@ -59,8 +61,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
public UiState(SliceSettingsWidget settingsToCopy)
{
showHelp = settingsToCopy.ShowingHelp;
userLevel = settingsToCopy.UserLevel;
settingsToCopy.CurrentlyActiveCategory(out selectedCategory.index, out selectedCategory.name);
settingsToCopy.CurrentlyActiveGroup(out selectedGroup.index, out selectedGroup.name);
}
@ -125,10 +125,10 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
int minSettingNameWidth = 220;
showHelpBox = new CheckBox(0, 0, LocalizedString.Get("Show Help"), textSize: 10);
showHelpBox.Checked = uiState.showHelp;
showHelpBox.Checked = UserSettings.Instance.get(SliceSettingsShowHelpEntry) == "true";
showAllDetails = new CheckBox(0, 0,LocalizedString.Get("Show All Settings"), textSize:10);
showAllDetails.Checked = uiState.userLevel == "Advanced";
showAllDetails.Checked = UserSettings.Instance.get(SliceSettingsLevelEntry) == "Advanced";
FlowLayoutWidget pageTopToBottomLayout = new FlowLayoutWidget(FlowDirection.TopToBottom, vAnchor: Agg.UI.VAnchor.ParentTop);
pageTopToBottomLayout.AnchorAll();
@ -242,6 +242,16 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
void RebuildSlicerSettings(object sender, EventArgs e)
{
UserSettings.Instance.set(SliceSettingsShowHelpEntry, showHelpBox.Checked.ToString().ToLower());
if(showAllDetails.Checked)
{
UserSettings.Instance.set(SliceSettingsLevelEntry, "Advanced");
}
else
{
UserSettings.Instance.set(SliceSettingsLevelEntry, "Beginner");
}
CheckBox checkBox = sender as CheckBox;
if (checkBox != null)
{

File diff suppressed because it is too large Load diff

View file

@ -1803,3 +1803,15 @@ Translated:MatterContol
English:Saving to Parts Sheet
Translated:Saving to Parts Sheet
English:Stop trying to connect to the printer
Translated:Stop trying to connect to the printer
English:No printer selected. Press 'Connect' to choose a printer
Translated:No printer selected. Press 'Connect' to choose a printer
English:About
Translated:About
English:This controls the ratio of material extruder during bridging.Reducing this slightly can help bridging by stretching the filament more, using a fan can also help greatly.
Translated:This controls the ratio of material extruder during bridging.Reducing this slightly can help bridging by stretching the filament more, using a fan can also help greatly.

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,3 @@
This folder contains the German translation. The
de comes from the ISO 639 standard which can be found at:
http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

View file

@ -0,0 +1,3 @@
This folder contains the French translation. The
fr comes from the ISO 639 standard which can be found at:
http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes