lang sync, better sync script

This commit is contained in:
Martin Rotter 2021-11-29 08:10:33 +01:00
parent 78b9d297fd
commit 3b7be451d5
3 changed files with 233 additions and 220 deletions

View File

@ -229,11 +229,11 @@ version by clicking this popup notification.</source>
<name>ColorToolButton</name>
<message>
<source>Click me to change color!</source>
<translation type="unfinished"/>
<translation>Click me to change colour!</translation>
</message>
<message>
<source>Select new color</source>
<translation type="unfinished"/>
<translation>Select new colour</translation>
</message>
</context>
<context>
@ -3607,7 +3607,7 @@ List of supported readers:</source>
</message>
<message>
<source>OK-ish color</source>
<translation type="unfinished"/>
<translation>OK-ish colour</translation>
</message>
</context>
<context>
@ -4446,7 +4446,7 @@ Authors of this application are NOT responsible for lost data.</source>
</message>
<message>
<source>Fetch color from activated skin</source>
<translation type="unfinished"/>
<translation>Fetch colour from activated skin</translation>
</message>
</context>
<context>

File diff suppressed because it is too large Load Diff

View File

@ -1,16 +1,16 @@
#!/bin/bash
# Transka executable.
TRANSKA=./transka
TRANSKA="$(dirname "$0")/transka/transka"
# Get credentials.
read -p "Username: " USERNAME
read -e -p "Username: " -i "martinrotter" USERNAME
read -p "Password: " PASSWORD
# Setup parameters.
RESOURCE=../../../localization/rssguard_en.ts
RESOURCE="./localization/rssguard_en.ts"
CODES="cs da de en_GB es fi fr gl he id it ja lt nl pl pt_BR pt_PT ru sv uk zh_CN zh_TW"
TRANSLATION='../../../localization/rssguard_$CODE.ts'
TRANSLATION='./localization/rssguard_$CODE.ts'
declare PARAMS
@ -20,6 +20,4 @@ for CODE in $CODES; do
PARAMS+="-dt "$CODE" "$(eval echo $TRANSLATION)" "
done
cd ./transka
$TRANSKA $PARAMS
$TRANSKA $PARAMS