diff --git a/.gitignore b/.gitignore index c00117a..913c7f2 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ dist obj .env +/uwp/*.assets.cache /uwp/*.wapproj.user /uwp/Package.StoreAssociation.xml /uwp/_pkginfo.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index 70a8804..decc72c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## `4.5.0` + +* Added installer option to install for all users +* Added ability to favorite themes to move them to top of list +* Added Croatian, Danish, Finnish, Swedish, and Traditional Chinese translations (thanks Denis Bogdan, Anders Ferdinandus, Klokki, Christian, and Williamrob104) +* Reduced memory usage of theme previewer (thanks @cjvaughter) +* Fixed error when location has different timezone that may be a day ahead of or behind the system clock +* Fixed error when multiple users run the app simultaneously on the same machine +* Fixed hang when invalid images cause thumbnail generation to fail +* Fixed missing data that was not being supplied to PowerShell scripts +* Fixed error when downloading new translations from POEditor + ## `4.4.0` * Added 8 new themes from Big Sur 11.0.1 diff --git a/scripts/i18n_download.py b/scripts/i18n_download.py index ea1e68b..331cb17 100644 --- a/scripts/i18n_download.py +++ b/scripts/i18n_download.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 import os +import shutil from dotenv import load_dotenv from poeditor import POEditorAPI @@ -10,11 +11,13 @@ mo_dir = "../i18n/mo" po_dir = "../i18n/po" -if not os.path.isdir(mo_dir): - os.mkdir(mo_dir) +if os.path.isdir(mo_dir): + shutil.rmtree(mo_dir) +os.mkdir(mo_dir) -if not os.path.isdir(po_dir): - os.mkdir(po_dir) +if os.path.isdir(po_dir): + shutil.rmtree(po_dir) +os.mkdir(po_dir) client = POEditorAPI(os.getenv("POEDITOR_TOKEN")) projects = client.list_projects() diff --git a/src/Localization.cs b/src/Localization.cs index e6b3218..d8da2f1 100644 --- a/src/Localization.cs +++ b/src/Localization.cs @@ -121,26 +121,31 @@ public static void NotifyIfTestMode() private static void LoadLanguages() { AddLanguage("Bahasa Indonesia", "id"); // Indonesian + AddLanguage("Dansk", "da"); // Danish AddLanguage("Deutsch", "de"); // German AddLanguage("English", "en"); // English AddLanguage("Español", "es"); // Spanish AddLanguage("Français", "fr"); // French + AddLanguage("Hrvatski", "hr"); // Croatian AddLanguage("Italiano", "it"); // Italian AddLanguage("Nederlands", "nl"); // Dutch AddLanguage("Polski", "pl"); // Polish AddLanguage("Português (do Brasil)", "pt-br"); // Portuguese (BR) AddLanguage("Pусский", "ru"); // Russian AddLanguage("Română", "ro"); // Romanian + AddLanguage("Svenska", "sv"); // Swedish AddLanguage("Tiếng Việt", "vi"); // Vietnamese AddLanguage("Türkçe", "tr"); // Turkish + AddLanguage("suomi", "fi"); // Finnish AddLanguage("Čeština", "cs"); // Czech AddLanguage("Ελληνικά", "el"); // Greek AddLanguage("Български", "bg"); // Bulgarian AddLanguage("Македонски", "mk"); // Macedonian AddLanguage("हिन्दी", "hi"); // Hindi AddLanguage("বাংলা", "bn"); // Bengali - AddLanguage("中文 (简体)", "zh-Hans"); // Chinese (Simplified) + AddLanguage("中文 (简体)", "zh-Hans"); // Chinese (simplified) AddLanguage("日本語", "ja"); // Japanese + AddLanguage("正體中文 (繁體)", "zh-Hant"); // Chinese (traditional) AddLanguage("한국어", "ko"); // Korean } diff --git a/src/Properties/AssemblyInfo.cs b/src/Properties/AssemblyInfo.cs index 76b61fe..576e03d 100644 --- a/src/Properties/AssemblyInfo.cs +++ b/src/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("4.4.0")] +[assembly: AssemblyVersion("4.5.0")] //[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/locale/bg.mo b/src/locale/bg.mo index 0084691..9a68be4 100644 Binary files a/src/locale/bg.mo and b/src/locale/bg.mo differ diff --git a/src/locale/bn.mo b/src/locale/bn.mo index fe2eff0..8e74147 100644 Binary files a/src/locale/bn.mo and b/src/locale/bn.mo differ diff --git a/src/locale/cs.mo b/src/locale/cs.mo index a48098a..de11c07 100644 Binary files a/src/locale/cs.mo and b/src/locale/cs.mo differ diff --git a/src/locale/da.mo b/src/locale/da.mo new file mode 100644 index 0000000..21ba40e Binary files /dev/null and b/src/locale/da.mo differ diff --git a/src/locale/de.mo b/src/locale/de.mo index 8e81629..3e292c9 100644 Binary files a/src/locale/de.mo and b/src/locale/de.mo differ diff --git a/src/locale/es.mo b/src/locale/es.mo index a27eff3..01e8cae 100644 Binary files a/src/locale/es.mo and b/src/locale/es.mo differ diff --git a/src/locale/fi.mo b/src/locale/fi.mo new file mode 100644 index 0000000..8ab4784 Binary files /dev/null and b/src/locale/fi.mo differ diff --git a/src/locale/fr.mo b/src/locale/fr.mo index 7c510e9..7d8055d 100644 Binary files a/src/locale/fr.mo and b/src/locale/fr.mo differ diff --git a/src/locale/hi.mo b/src/locale/hi.mo index 901bc8b..1ce9206 100644 Binary files a/src/locale/hi.mo and b/src/locale/hi.mo differ diff --git a/src/locale/hr.mo b/src/locale/hr.mo new file mode 100644 index 0000000..49d2fc9 Binary files /dev/null and b/src/locale/hr.mo differ diff --git a/src/locale/id.mo b/src/locale/id.mo index a709811..0e63b03 100644 Binary files a/src/locale/id.mo and b/src/locale/id.mo differ diff --git a/src/locale/it.mo b/src/locale/it.mo index c6c9358..7e100aa 100644 Binary files a/src/locale/it.mo and b/src/locale/it.mo differ diff --git a/src/locale/ja.mo b/src/locale/ja.mo index 56901bd..6b9d072 100644 Binary files a/src/locale/ja.mo and b/src/locale/ja.mo differ diff --git a/src/locale/ko.mo b/src/locale/ko.mo index 8c05c84..c64c73d 100644 Binary files a/src/locale/ko.mo and b/src/locale/ko.mo differ diff --git a/src/locale/mk.mo b/src/locale/mk.mo index e74c6af..9abd0b7 100644 Binary files a/src/locale/mk.mo and b/src/locale/mk.mo differ diff --git a/src/locale/nl.mo b/src/locale/nl.mo index a59d965..7dffb01 100644 Binary files a/src/locale/nl.mo and b/src/locale/nl.mo differ diff --git a/src/locale/pl.mo b/src/locale/pl.mo index baf3e2c..6befb38 100644 Binary files a/src/locale/pl.mo and b/src/locale/pl.mo differ diff --git a/src/locale/pt-br.mo b/src/locale/pt-br.mo index fc71037..d8f23ad 100644 Binary files a/src/locale/pt-br.mo and b/src/locale/pt-br.mo differ diff --git a/src/locale/ro.mo b/src/locale/ro.mo index aeedf8d..b695c8b 100644 Binary files a/src/locale/ro.mo and b/src/locale/ro.mo differ diff --git a/src/locale/ru.mo b/src/locale/ru.mo index 7c2978f..6038837 100644 Binary files a/src/locale/ru.mo and b/src/locale/ru.mo differ diff --git a/src/locale/sv.mo b/src/locale/sv.mo new file mode 100644 index 0000000..278c564 Binary files /dev/null and b/src/locale/sv.mo differ diff --git a/src/locale/tr.mo b/src/locale/tr.mo index dc051f1..130d30c 100644 Binary files a/src/locale/tr.mo and b/src/locale/tr.mo differ diff --git a/src/locale/vi.mo b/src/locale/vi.mo index e84af95..825e43f 100644 Binary files a/src/locale/vi.mo and b/src/locale/vi.mo differ diff --git a/src/locale/zh-Hans.mo b/src/locale/zh-Hans.mo index 56c3761..db7f036 100644 Binary files a/src/locale/zh-Hans.mo and b/src/locale/zh-Hans.mo differ diff --git a/src/locale/zh-Hant.mo b/src/locale/zh-Hant.mo new file mode 100644 index 0000000..7bdff6c Binary files /dev/null and b/src/locale/zh-Hant.mo differ diff --git a/uwp/Package.appxmanifest b/uwp/Package.appxmanifest index 76872e4..c4e4abe 100644 --- a/uwp/Package.appxmanifest +++ b/uwp/Package.appxmanifest @@ -1,6 +1,6 @@  - + WinDynamicDesktop Timothy Johnson