From 0e117fa15ce6dc197740f69ac32ceb4a1d8b36ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikko=20Syrj=C3=A4?= Date: Wed, 27 Mar 2019 21:06:39 +0200 Subject: Translation and version control fixes. --- .gitignore | 2 +- README.md | 2 +- help/eng/tools.rst | 5 +++++ help/fin/tools.rst | 5 +++++ locale/symedit.en_GB.qm | Bin 0 -> 7643 bytes locale/symedit.en_GB.ts | 4 ++-- locale/symedit.fi_FI.qm | Bin 0 -> 8325 bytes locale/symedit.fi_FI.ts | 4 ++-- lrelease.sh | 2 +- lupdate.sh | 2 +- 10 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 locale/symedit.en_GB.qm create mode 100644 locale/symedit.fi_FI.qm diff --git a/.gitignore b/.gitignore index 0af120d..914107f 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,7 @@ *.so.* *_pch.h.cpp *_resource.rc -*.qm +# *.qm .#* *.*# core diff --git a/README.md b/README.md index 9c07607..edcf5ca 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ krita: Windows deployment: -c:\Local\Qt\5.12.0\msvc2017_64\bin\windeployqt.exe +C:\Users\Mikko\Code\Qt\5.12.2\msvc2017_64\bin\windeployqt.exe --release --qmldir ../../symedit --no-translations diff --git a/help/eng/tools.rst b/help/eng/tools.rst index 7107c04..2925f03 100644 --- a/help/eng/tools.rst +++ b/help/eng/tools.rst @@ -106,6 +106,11 @@ Text size Text size in editing. +Language +^^^^^^^^ + +Application language: english (eng) or finnish (fin). + Color index ^^^^^^^^^^^ diff --git a/help/fin/tools.rst b/help/fin/tools.rst index f69fdbd..0063846 100644 --- a/help/fin/tools.rst +++ b/help/fin/tools.rst @@ -106,6 +106,11 @@ Tekstin koko Tekstin koko editoinnissa. +Kieli +^^^^^ + +Sovelluksen kieli: englanti (eng) tai suomi (fin). + Värin indeksi ^^^^^^^^^^^^^ diff --git a/locale/symedit.en_GB.qm b/locale/symedit.en_GB.qm new file mode 100644 index 0000000..84cb795 Binary files /dev/null and b/locale/symedit.en_GB.qm differ diff --git a/locale/symedit.en_GB.ts b/locale/symedit.en_GB.ts index fcadb1a..68c97ab 100644 --- a/locale/symedit.en_GB.ts +++ b/locale/symedit.en_GB.ts @@ -255,7 +255,7 @@ - Application: + <b>Application:</b> @@ -275,7 +275,7 @@ - Symbol: + <b>Symbol:</b> diff --git a/locale/symedit.fi_FI.qm b/locale/symedit.fi_FI.qm new file mode 100644 index 0000000..1896535 Binary files /dev/null and b/locale/symedit.fi_FI.qm differ diff --git a/locale/symedit.fi_FI.ts b/locale/symedit.fi_FI.ts index e1cdd72..1cb3ba2 100644 --- a/locale/symedit.fi_FI.ts +++ b/locale/symedit.fi_FI.ts @@ -255,7 +255,7 @@ - Sovellus: + <b>Sovellus:</b> @@ -275,7 +275,7 @@ - Symboli: + <b>Symboli:</b> diff --git a/lrelease.sh b/lrelease.sh index 006702e..339cbf8 100755 --- a/lrelease.sh +++ b/lrelease.sh @@ -1,4 +1,4 @@ -/home/mikko/Code/Qt5.12.1/5.12.1/gcc_64/bin/lrelease -idbased locale/symedit.*.ts +/home/mikko/Code/Qt5.12.2/5.12.2/gcc_64/bin/lrelease -idbased locale/symedit.*.ts if [ $? -ne 0 ]; then lrelease-qt5 -idbased locale/symedit.*.ts diff --git a/lupdate.sh b/lupdate.sh index 3c4df60..459f4f1 100755 --- a/lupdate.sh +++ b/lupdate.sh @@ -1,4 +1,4 @@ -/home/mikko/Code/Qt5.12.1/5.12.1/gcc_64/bin/lupdate -locations none . -ts locale/symedit.ts locale/symedit.en_GB.ts locale/symedit.fi_FI.ts +/home/mikko/Code/Qt5.12.2/5.12.2/gcc_64/bin/lupdate -locations none . -ts locale/symedit.ts locale/symedit.en_GB.ts locale/symedit.fi_FI.ts if [ $? -ne 0 ]; then lupdate-qt5 -locations none . -ts locale/symedit.ts locale/symedit.en_GB.ts locale/symedit.fi_FI.ts -- cgit v1.2.3