Skip to content

Commit 6a50bef

Browse files
committed
Update changelog and translations for version 5.5.0
1 parent 7e011b2 commit 6a50bef

File tree

10 files changed

+25
-7
lines changed

10 files changed

+25
-7
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## `5.5.0`
4+
5+
**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.
6+
7+
### Enhancements
8+
9+
* Added light mode as alternative to dark mode that always shows day images ([#547](https://github.com/t1m0thyj/WinDynamicDesktop/issues/547))
10+
* Added option to show only installed themes in Select Theme dialog ([#576](https://github.com/t1m0thyj/WinDynamicDesktop/issues/576))
11+
12+
### Bug Fixes
13+
14+
* Fixed error in wallpaper scheduler the day after Daylight Saving Time begins ([#579](https://github.com/t1m0thyj/WinDynamicDesktop/issues/579))
15+
* Fixed invalid format strings for some translations like Javanese ([#580](https://github.com/t1m0thyj/WinDynamicDesktop/issues/580))
16+
* Fixed error when downloading beta translations from POEditor ([#581](https://github.com/t1m0thyj/WinDynamicDesktop/issues/581))
17+
318
## `5.4.2`
419

520
**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.

scripts/i18n_download.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,11 @@
2020
projects = client.list_projects()
2121
project_id = [proj for proj in projects if proj["name"] == "WinDynamicDesktop"][0]["id"]
2222
languages = client.list_project_languages(project_id)
23-
with open("../src/Localization.cs", 'r', encoding="utf-8") as fileobj:
24-
l10n_src = fileobj.read()
2523

2624
for lang in languages:
2725
language_code = lang["code"]
2826
output_file = f"{output_dir}/{language_code}.{file_type}"
2927
if lang["percentage"] < 50 and not os.path.isfile(output_file):
3028
continue
3129
print(f"Downloading translation for {language_code}")
32-
if f"\"{language_code}\"" not in l10n_src[:l10n_src.index("};")]:
33-
print(f"WARNING: Language list does not include {language_code}")
3430
client.export(project_id, language_code, file_type, local_file=output_file)

scripts/i18n_validate.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,22 @@
66
os.chdir(os.path.dirname(os.path.realpath(__file__)))
77

88
errors = 0
9+
with open("../src/Localization.cs", 'r', encoding="utf-8") as fileobj:
10+
l10n_src = fileobj.read()
911
for filename in os.listdir("../src/locale"):
1012
if not filename.endswith(".mo"):
1113
continue
14+
language_code = filename[:-3]
15+
if f"\"{language_code}\"" not in l10n_src[:l10n_src.index("};")]:
16+
print(f"[{language_code}] ERROR: Language missing in Localization.cs")
17+
errors += 1
1218
for entry in polib.mofile(f"../src/locale/{filename}"):
1319
i = 0
1420
while f"{{{i}}}" in entry.msgid:
1521
if f"{{{i}}}" not in entry.msgstr:
16-
print(f"[{filename[:-3]}] {entry.msgid}\n\t{entry.msgstr}")
22+
print(f"[{language_code}] {entry.msgid}\n\t{entry.msgstr}")
1723
errors += 1
1824
break
1925
i += 1
2026
print(f"\n{errors} problem(s) found" if errors else "✅ No problems found")
27+
input()

src/WinDynamicDesktop.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<PackageId>WinDynamicDesktop</PackageId>
1010
<Product>WinDynamicDesktop</Product>
1111
<Copyright>Copyright © 2024 Timothy Johnson</Copyright>
12-
<Version>5.4.2</Version>
12+
<Version>5.5.0</Version>
1313
<ApplicationIcon>resources\WinDynamicDesktop.ico</ApplicationIcon>
1414
<UseWindowsForms>true</UseWindowsForms>
1515
<UseWPF>true</UseWPF>

src/locale/es.mo

162 Bytes
Binary file not shown.

src/locale/fr.mo

246 Bytes
Binary file not shown.

src/locale/jv.mo

164 Bytes
Binary file not shown.

src/locale/zh-Hant.mo

1.51 KB
Binary file not shown.

src/locale/zh-TW.mo

1.46 KB
Binary file not shown.

uwp/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<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">
3-
<Identity Name="38719TimothyJohnson.WinDynamicDesktop" Publisher="CN=3C822DA5-D64C-40A9-A84A-5502C3EDD8CD" Version="5.4.2.0" />
3+
<Identity Name="38719TimothyJohnson.WinDynamicDesktop" Publisher="CN=3C822DA5-D64C-40A9-A84A-5502C3EDD8CD" Version="5.5.0.0" />
44
<Properties>
55
<DisplayName>WinDynamicDesktop</DisplayName>
66
<PublisherDisplayName>Timothy Johnson</PublisherDisplayName>

0 commit comments

Comments
 (0)