From 794fb38be407f3d0a74629740f62ba1e4ea49b9d Mon Sep 17 00:00:00 2001 From: lx-s Date: Fri, 3 May 2024 11:37:05 +0200 Subject: [PATCH] Added simplified chinese --- Dist/InnoSetup/winmute-setup-languages.iss | 11 ++++++---- Dist/bin/changelog.txt | 3 +++ Dist/chocolatey/WinMute.nuspec | 4 ++-- .../2.5.1.0/LX-Systems.WinMute.installer.yaml | 18 ++++++++++++++++ .../LX-Systems.WinMute.locale.en-US.yaml | 21 +++++++++++++++++++ .../WinMute/2.5.1.0/LX-Systems.WinMute.yaml | 8 +++++++ WinMute/WinMute.rc | 8 +++---- WinMute/WinMute.vcxproj | 13 ++++++++++++ WinMute/WinMute.vcxproj.filters | 3 +++ 9 files changed, 79 insertions(+), 10 deletions(-) create mode 100644 Dist/winget/manifests/l/LX-Systems/WinMute/2.5.1.0/LX-Systems.WinMute.installer.yaml create mode 100644 Dist/winget/manifests/l/LX-Systems/WinMute/2.5.1.0/LX-Systems.WinMute.locale.en-US.yaml create mode 100644 Dist/winget/manifests/l/LX-Systems/WinMute/2.5.1.0/LX-Systems.WinMute.yaml diff --git a/Dist/InnoSetup/winmute-setup-languages.iss b/Dist/InnoSetup/winmute-setup-languages.iss index eee9a4b..d2c31e4 100644 --- a/Dist/InnoSetup/winmute-setup-languages.iss +++ b/Dist/InnoSetup/winmute-setup-languages.iss @@ -3,13 +3,16 @@ en.StartpAppLogon=Start WinMute when you log on de.StartpAppLogon=WinMute mit Windows starten it.StartpAppLogon=Esegui WinMute all'accesso es.StartpAppLogon=Inicie WinMute cuando inicie sesión +ch_s.StartpAppLogon=开机启动WinMute en.CheckForUpdates=Automatically check for updates de.CheckForUpdates=Automatisch nach Updates suchen it.CheckForUpdates=Verifica automaticamente la disponibilità di aggiornamenti. es.CheckForUpdates=Comprueba automáticamente si hay actualizaciones. +ch_s.CheckForUpdates=启动时检查新更新 [Languages] -Name: "en"; MessagesFile: "compiler:Default.isl"; InfoBeforeFile: "translations/info-before.en.txt"; -Name: "de"; MessagesFile: "compiler:Languages\German.isl"; InfoBeforeFile: "translations/info-before.de.txt"; -Name: "it"; MessagesFile: "compiler:Languages\Italian.isl"; InfoBeforeFile: "translations/info-before.it.txt"; -Name: "es"; MessagesFile: "compiler:Languages\Spanish.isl"; InfoBeforeFile: "translations/info-before.es.txt"; +Name: "en"; MessagesFile: "compiler:Default.isl"; InfoBeforeFile: "translations/info-before.en.txt"; +Name: "de"; MessagesFile: "compiler:Languages\German.isl"; InfoBeforeFile: "translations/info-before.de.txt"; +Name: "it"; MessagesFile: "compiler:Languages\Italian.isl"; InfoBeforeFile: "translations/info-before.it.txt"; +Name: "es"; MessagesFile: "compiler:Languages\Spanish.isl"; InfoBeforeFile: "translations/info-before.es.txt"; +Name: "ch_s"; MessagesFile: "compiler:Languages\ChineseSimplified.isl"; InfoBeforeFile: "translations/info-before.zh_Hans.txt"; diff --git a/Dist/bin/changelog.txt b/Dist/bin/changelog.txt index 59013b8..eda95dd 100644 --- a/Dist/bin/changelog.txt +++ b/Dist/bin/changelog.txt @@ -1,3 +1,6 @@ +Version 2.5.1 (2024-05-03) + * Added new language: Simplified Chinese (thanks to https://translate.codeberg.org/user/richzhl/) + Version 2.5.0.1 (2024-02-26) * Fixed update-check file for chocolatey package manager diff --git a/Dist/chocolatey/WinMute.nuspec b/Dist/chocolatey/WinMute.nuspec index 1035051..9d58b6f 100644 --- a/Dist/chocolatey/WinMute.nuspec +++ b/Dist/chocolatey/WinMute.nuspec @@ -3,7 +3,7 @@ winmute - 2.5.0.1 + 2.5.1.0 WinMute Alexander Steinhöfer Alexander Steinhöfer @@ -16,7 +16,7 @@ Automatic sound muter WinMute automatically mutes your PC volume if you lock your screen or the screensaver is running. © 2024 Alexander Steinhöfer - https://github.com/lx-s/WinMute/releases/tag/2.5.0.0 + https://github.com/lx-s/WinMute/releases/tag/2.5.1.0 https://raw.githubusercontent.com/lx-s/WinMute/main/LICENSE diff --git a/Dist/winget/manifests/l/LX-Systems/WinMute/2.5.1.0/LX-Systems.WinMute.installer.yaml b/Dist/winget/manifests/l/LX-Systems/WinMute/2.5.1.0/LX-Systems.WinMute.installer.yaml new file mode 100644 index 0000000..ed6fb8d --- /dev/null +++ b/Dist/winget/manifests/l/LX-Systems/WinMute/2.5.1.0/LX-Systems.WinMute.installer.yaml @@ -0,0 +1,18 @@ +# Created using wingetcreate 1.6.1.0 +# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.6.0.schema.json + +PackageIdentifier: LX-Systems.WinMute +PackageVersion: 2.5.1.0 +InstallerType: inno +InstallerSwitches: + Custom: /SILENT /CURRENTUSER +ReleaseDate: 2024-05-03 +Dependencies: + PackageDependencies: + - PackageIdentifier: Microsoft.VCRedist.2015+.x64 +Installers: +- Architecture: x64 + InstallerUrl: https://github.com/lx-s/WinMute/releases/download/2.5.1.0/WinMute-2.5.1-Setup.exe + InstallerSha256: 2159122473D4B5B5931098AC527272502FC137D3F34D1487318DE93C7211C34D +ManifestType: installer +ManifestVersion: 1.6.0 \ No newline at end of file diff --git a/Dist/winget/manifests/l/LX-Systems/WinMute/2.5.1.0/LX-Systems.WinMute.locale.en-US.yaml b/Dist/winget/manifests/l/LX-Systems/WinMute/2.5.1.0/LX-Systems.WinMute.locale.en-US.yaml new file mode 100644 index 0000000..654222e --- /dev/null +++ b/Dist/winget/manifests/l/LX-Systems/WinMute/2.5.1.0/LX-Systems.WinMute.locale.en-US.yaml @@ -0,0 +1,21 @@ +# Created using wingetcreate 1.6.1.0 +# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.6.0.schema.json + +PackageIdentifier: LX-Systems.WinMute +PackageVersion: 2.5.1.0 +PackageLocale: en-US +Publisher: LX-Systems +PublisherUrl: https://www.lx-s.de +PublisherSupportUrl: https://github.com/lx-s/WinMute/issues +PackageName: WinMute +PackageUrl: https://github.com/lx-s/WinMute +License: BSD-3-CLAUSE +LicenseUrl: https://github.com/lx-s/WinMute/blob/main/LICENSE +ShortDescription: WinMute lets you automatically mute your PC volume on certain events. +ManifestType: defaultLocale +ManifestVersion: 1.6.0 +ReleaseNotes: |- + - WinMute now supports multiple languages! The following languages are available: German, English, Spanish, Italian + - Optional update notification (disabled for installations via package manager) + - Some small bugfixes and UI improvements +ReleaseNotesUrl: https://github.com/lx-s/WinMute/releases/tag/2.5.1.0 \ No newline at end of file diff --git a/Dist/winget/manifests/l/LX-Systems/WinMute/2.5.1.0/LX-Systems.WinMute.yaml b/Dist/winget/manifests/l/LX-Systems/WinMute/2.5.1.0/LX-Systems.WinMute.yaml new file mode 100644 index 0000000..508671e --- /dev/null +++ b/Dist/winget/manifests/l/LX-Systems/WinMute/2.5.1.0/LX-Systems.WinMute.yaml @@ -0,0 +1,8 @@ +# Created using wingetcreate 1.6.1.0 +# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.6.0.schema.json + +PackageIdentifier: LX-Systems.WinMute +PackageVersion: 2.5.1.0 +DefaultLocale: en-US +ManifestType: version +ManifestVersion: 1.6.0 \ No newline at end of file diff --git a/WinMute/WinMute.rc b/WinMute/WinMute.rc index e3e36fb..d6b7063 100644 --- a/WinMute/WinMute.rc +++ b/WinMute/WinMute.rc @@ -484,8 +484,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,5,0,1 - PRODUCTVERSION 2,5,0,1 + FILEVERSION 2,5,1,0 + PRODUCTVERSION 2,5,1,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -502,12 +502,12 @@ BEGIN BEGIN VALUE "CompanyName", "LX-Systems" VALUE "FileDescription", "WinMute" - VALUE "FileVersion", "2.5.0.1" + VALUE "FileVersion", "2.5.1.0" VALUE "InternalName", "WinMute.exe" VALUE "LegalCopyright", "Copyright (C) 2024, Alexander Steinhoefer" VALUE "OriginalFilename", "WinMute.exe" VALUE "ProductName", "WinMute" - VALUE "ProductVersion", "2.5.0.1" + VALUE "ProductVersion", "2.5.1.0" END END BLOCK "VarFileInfo" diff --git a/WinMute/WinMute.vcxproj b/WinMute/WinMute.vcxproj index 2d3cde2..7e19b6e 100644 --- a/WinMute/WinMute.vcxproj +++ b/WinMute/WinMute.vcxproj @@ -373,6 +373,19 @@ copy /Y %(FullPath) $(OutputPath)lang $(OutputPath)lang\%(Filename)%(Extension) + + + Document + mkdir $(OutputPath)lang >nul 2>&1 +copy /Y %(FullPath) $(OutputPath)lang + mkdir $(OutputPath)lang >nul 2>&1 +copy /Y %(FullPath) $(OutputPath)lang + Copy translation "%(Filename)" to build directory + Copy translation "%(Filename)" to build directory + $(OutputPath)lang\%(Filename)%(Extension) + $(OutputPath)lang\%(Filename)%(Extension) + + diff --git a/WinMute/WinMute.vcxproj.filters b/WinMute/WinMute.vcxproj.filters index fae0754..83e56e3 100644 --- a/WinMute/WinMute.vcxproj.filters +++ b/WinMute/WinMute.vcxproj.filters @@ -224,5 +224,8 @@ Translations + + Translations + \ No newline at end of file