Skip to content

Commit

Permalink
Update changelog and translations for version 5.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
t1m0thyj committed Apr 24, 2024
1 parent 7e011b2 commit 6a50bef
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 7 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## `5.5.0`

**Note:** PowerShell scripts written for older versions of WinDD will stop working and must be updated. To update them, download the latest scripts from [here](https://windd.info/scripts/) and revise any custom scripts.

### Enhancements

* Added light mode as alternative to dark mode that always shows day images ([#547](https://github.com/t1m0thyj/WinDynamicDesktop/issues/547))
* Added option to show only installed themes in Select Theme dialog ([#576](https://github.com/t1m0thyj/WinDynamicDesktop/issues/576))

### Bug Fixes

* Fixed error in wallpaper scheduler the day after Daylight Saving Time begins ([#579](https://github.com/t1m0thyj/WinDynamicDesktop/issues/579))
* Fixed invalid format strings for some translations like Javanese ([#580](https://github.com/t1m0thyj/WinDynamicDesktop/issues/580))
* Fixed error when downloading beta translations from POEditor ([#581](https://github.com/t1m0thyj/WinDynamicDesktop/issues/581))

## `5.4.2`

**Note:** Version 5.4.0 had a bug causing the Change Lockscreen Image setting to be disabled for some users. If you had this option selected, check lock screen settings in the Select Theme dialog to ensure it is still enabled after upgrading.
Expand Down
4 changes: 0 additions & 4 deletions scripts/i18n_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,11 @@
projects = client.list_projects()
project_id = [proj for proj in projects if proj["name"] == "WinDynamicDesktop"][0]["id"]
languages = client.list_project_languages(project_id)
with open("../src/Localization.cs", 'r', encoding="utf-8") as fileobj:
l10n_src = fileobj.read()

for lang in languages:
language_code = lang["code"]
output_file = f"{output_dir}/{language_code}.{file_type}"
if lang["percentage"] < 50 and not os.path.isfile(output_file):
continue
print(f"Downloading translation for {language_code}")
if f"\"{language_code}\"" not in l10n_src[:l10n_src.index("};")]:
print(f"WARNING: Language list does not include {language_code}")
client.export(project_id, language_code, file_type, local_file=output_file)
9 changes: 8 additions & 1 deletion scripts/i18n_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,22 @@
os.chdir(os.path.dirname(os.path.realpath(__file__)))

errors = 0
with open("../src/Localization.cs", 'r', encoding="utf-8") as fileobj:
l10n_src = fileobj.read()
for filename in os.listdir("../src/locale"):
if not filename.endswith(".mo"):
continue
language_code = filename[:-3]
if f"\"{language_code}\"" not in l10n_src[:l10n_src.index("};")]:
print(f"[{language_code}] ERROR: Language missing in Localization.cs")
errors += 1
for entry in polib.mofile(f"../src/locale/{filename}"):
i = 0
while f"{{{i}}}" in entry.msgid:
if f"{{{i}}}" not in entry.msgstr:
print(f"[{filename[:-3]}] {entry.msgid}\n\t{entry.msgstr}")
print(f"[{language_code}] {entry.msgid}\n\t{entry.msgstr}")
errors += 1
break
i += 1
print(f"\n{errors} problem(s) found" if errors else "✅ No problems found")
input()
2 changes: 1 addition & 1 deletion src/WinDynamicDesktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageId>WinDynamicDesktop</PackageId>
<Product>WinDynamicDesktop</Product>
<Copyright>Copyright © 2024 Timothy Johnson</Copyright>
<Version>5.4.2</Version>
<Version>5.5.0</Version>
<ApplicationIcon>resources\WinDynamicDesktop.ico</ApplicationIcon>
<UseWindowsForms>true</UseWindowsForms>
<UseWPF>true</UseWPF>
Expand Down
Binary file modified src/locale/es.mo
Binary file not shown.
Binary file modified src/locale/fr.mo
Binary file not shown.
Binary file modified src/locale/jv.mo
Binary file not shown.
Binary file modified src/locale/zh-Hant.mo
Binary file not shown.
Binary file modified src/locale/zh-TW.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion uwp/Package.appxmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" IgnorableNamespaces="uap uap3 mp rescap desktop">
<Identity Name="38719TimothyJohnson.WinDynamicDesktop" Publisher="CN=3C822DA5-D64C-40A9-A84A-5502C3EDD8CD" Version="5.4.2.0" />
<Identity Name="38719TimothyJohnson.WinDynamicDesktop" Publisher="CN=3C822DA5-D64C-40A9-A84A-5502C3EDD8CD" Version="5.5.0.0" />
<Properties>
<DisplayName>WinDynamicDesktop</DisplayName>
<PublisherDisplayName>Timothy Johnson</PublisherDisplayName>
Expand Down

0 comments on commit 6a50bef

Please sign in to comment.