Skip to content

Commit

Permalink
Overhauled LocalizationDebugWindow UI and added ability to update source
Browse files Browse the repository at this point in the history
  • Loading branch information
CPKreu committed May 8, 2023
1 parent 10ba953 commit 42e65ab
Show file tree
Hide file tree
Showing 9 changed files with 735 additions and 443 deletions.
11 changes: 10 additions & 1 deletion src/PixiEditor/Data/Localization/Languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -540,5 +540,14 @@
"REMOVE": "Remove",
"FILE_FORMAT_NOT_ASEPRITE_KEYS": "File is not a \".aseprite-keys\" file",
"FILE_HAS_INVALID_SHORTCUT": "The file contains an invalid shortcut",
"FILE_EXTENSION_NOT_SUPPORTED": "The file type '{0}' is not supported"
"FILE_EXTENSION_NOT_SUPPORTED": "The file type '{0}' is not supported",
"OPEN_LOCALIZATION_DATA": "Do you want to open the LocalizationData.json?\nThe updated date has been put in the clipboard.\nNote that changes wont be applied until a restart",
"DOWNLOADING_LANGUAGE_FAILED": "Downloading language failed.\nAPI Key might have been overused.",
"LOCALIZATION_DATA_NOT_FOUND": "Localization data path not found",
"APPLY": "Apply",
"UPDATE_SOURCE": "Update source",
"COPY_TO_CLIPBOARD": "Copy to clipboard",
"LANGUAGE_FILE_NOT_FOUND": "Language file not found.\nLooking for {0}",
"PROJECT_ROOT_NOT_FOUND": "PixiEditor Project root not found.\nLooking for PixiEditor.csproj",
"LOCALIZATION_FOLDER_NOT_FOUND": "Localization folder not found.\nLooking for /Data/Localization"
}
2 changes: 1 addition & 1 deletion src/PixiEditor/Data/Localization/LocalizationData.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"code": "en",
"localeFileName": "en.json",
"iconFileName": "en.png",
"lastUpdated": "2023-05-07 13:31:45"
"lastUpdated": "2023-05-08 19:30:00"
},
{
"name": "Polski",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
using PixiEditor.Models.Enums;
using PixiEditor.Models.UserPreferences;
using PixiEditor.Views.Dialogs.DebugDialogs;
using PixiEditor.Views.Dialogs.DebugDialogs.Localization;

namespace PixiEditor.ViewModels.SubViewModels.Main;

Expand Down

0 comments on commit 42e65ab

Please sign in to comment.