From 68a06b45ebfd45085e0d03832bb1f0815331beaf Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Tue, 4 Nov 2025 13:06:43 +0300 Subject: [PATCH] Updated Wrapper --- Wrapper/Config/wrapper_config.json | 20 ++----------- Wrapper/Config/wrapper_localizations.json | 34 +++++++++++++++++++++++ 2 files changed, 37 insertions(+), 17 deletions(-) create mode 100644 Wrapper/Config/wrapper_localizations.json diff --git a/Wrapper/Config/wrapper_config.json b/Wrapper/Config/wrapper_config.json index 967c0a5c..79310e2c 100644 --- a/Wrapper/Config/wrapper_config.json +++ b/Wrapper/Config/wrapper_config.json @@ -7,24 +7,10 @@ "setConsoleFontPs1Filename": "Set-ConsoleFont.ps1", "folderSetConsoleFontPs1": "Config", "functionControlsPerColumn": "100", - "urlSophiaScriptVersionsJson": "https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/sophia_script_versions.json", + "urlSophiaScriptVersionsJson": "https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/sophia_script_versions.json", "urlLatestSophiaScriptDownloads": "https://github.com/farag2/Sophia-Script-for-Windows/releases/latest", "autosaveFilename": "autosave.ps1", - "autosaveIntervalInSeconds": "300", - "widthWrapperInPixelsEN": "872", - "widthWrapperInPixelsRU": "1055", - "widthWrapperInPixelsDE": "1020", - "widthLabelInPixelsDefault": "225", - "widthLabelInPixelsContextTab": "243", - "widthComboBoxInPixelsEN": "155", - "widthComboBoxSystemTabInPixelsEN": "155", - "widthComboBoxStartMenuTabInPixelsEN": "230", - "widthComboBoxInPixelsRU": "175", - "widthComboBoxSystemTabInPixelsRU": "235", - "widthComboBoxStartMenuTabInPixelsRU": "260", - "widthComboBoxInPixelsDE": "150", - "widthComboBoxSystemTabInPixelsDE": "165", - "widthComboBoxStartMenuTabInPixelsDE": "250", + "autosaveIntervalInSeconds": "300", "startLineRegionSystemProtection": "#region Protection", "endLineRegionSystemProtection": "#endregion Protection", "startLineRegionPrivacy": "#region Privacy & Telemetry", @@ -52,4 +38,4 @@ "startLineRegionUpdatePolicies": "#region Update Policies", "endLineRegionUpdatePolicies": "#endregion Update Policies" } -] \ No newline at end of file +] diff --git a/Wrapper/Config/wrapper_localizations.json b/Wrapper/Config/wrapper_localizations.json new file mode 100644 index 00000000..d418a189 --- /dev/null +++ b/Wrapper/Config/wrapper_localizations.json @@ -0,0 +1,34 @@ +[ + { + "English": { + "Code": "en", + "Folder": "en-US", + "WidthOfWrapperInPixels": "872", + "WidthLabelInPixels": "225", + "WidthLabelContextTabInPixels": "243", + "WidthComboBoxInPixels": "155", + "WidthComboBoxSystemTabInPixels": "155", + "WidthComboBoxStartMenuTabInPixels": "230" + }, + "German": { + "Code": "de", + "Folder": "de-DE", + "WidthOfWrapperInPixels": "1020", + "WidthLabelInPixels": "225", + "WidthLabelContextTabInPixels": "243", + "WidthComboBoxInPixels": "150", + "WidthComboBoxSystemTabInPixels": "165", + "WidthComboBoxStartMenuTabInPixels": "250" + }, + "Russian": { + "Code": "ru", + "Folder": "ru-RU", + "WidthOfWrapperInPixels": "1055", + "WidthLabelInPixels": "225", + "WidthLabelContextTabInPixels": "243", + "WidthComboBoxInPixels": "175", + "WidthComboBoxSystemTabInPixels": "235", + "WidthComboBoxStartMenuTabInPixels": "260" + } + } +] \ No newline at end of file