[gimp-help/wip/wormnest/fix-installer] Fix installer: hu was made an official language but isn't in a release yet
- From: Jacob Boerema <jboerema src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help/wip/wormnest/fix-installer] Fix installer: hu was made an official language but isn't in a release yet
- Date: Sat, 13 Aug 2022 16:51:53 +0000 (UTC)
commit 2dfc04e589fa03058076f5fa5f995252a8305df1
Author: Jacob Boerema <jgboerema gmail com>
Date: Fri Aug 12 18:12:33 2022 -0400
Fix installer: hu was made an official language but isn't in a release yet
build/windows/installer/installer-gimp-help-msys2.sh | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
---
diff --git a/build/windows/installer/installer-gimp-help-msys2.sh
b/build/windows/installer/installer-gimp-help-msys2.sh
index fb4b6fb86..0748e36c0 100644
--- a/build/windows/installer/installer-gimp-help-msys2.sh
+++ b/build/windows/installer/installer-gimp-help-msys2.sh
@@ -22,6 +22,18 @@ download_lang ()
fi
}
+download_lang_official ()
+{
+ langfile="$1"
+ rm -f "$langfile"
+ wget "https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/$langfile"
+ downloaded="$?"
+ if [ $downloaded -ne 0 ]; then
+ echo "Download of '$langfile' failed."
+ exit 1
+ fi
+}
+
add_bom ()
{
langfile="$1"
@@ -42,6 +54,11 @@ download_lang Lithuanian.isl
download_lang NorwegianNynorsk.isl
download_lang Romanian.isl
download_lang Swedish.isl
+
+# Hungarian is not in a release yet, but was moved from Unofficial
+cd "${ISCCDIR}/Languages/"
+download_lang_official Hungarian.isl
+
cd -
# Copy generated language files into the source directory.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]