forked from openlp/openlp
Fix name for script
Signed-off-by: Tim <tim.bentley@gmail.com>
This commit is contained in:
parent
bd0646b174
commit
4b175c15b1
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,6 +8,7 @@
|
||||
*.nja
|
||||
*.orig
|
||||
*.pyc
|
||||
*.qm
|
||||
*.rej
|
||||
*.ropeproject
|
||||
*.~\?~
|
||||
|
11132
resources/i18n/af.ts
Normal file
11132
resources/i18n/af.ts
Normal file
File diff suppressed because it is too large
Load Diff
11128
resources/i18n/bg.ts
Normal file
11128
resources/i18n/bg.ts
Normal file
File diff suppressed because it is too large
Load Diff
11165
resources/i18n/cs.ts
Normal file
11165
resources/i18n/cs.ts
Normal file
File diff suppressed because it is too large
Load Diff
11135
resources/i18n/da.ts
Normal file
11135
resources/i18n/da.ts
Normal file
File diff suppressed because it is too large
Load Diff
11186
resources/i18n/de.ts
Normal file
11186
resources/i18n/de.ts
Normal file
File diff suppressed because it is too large
Load Diff
11125
resources/i18n/el.ts
Normal file
11125
resources/i18n/el.ts
Normal file
File diff suppressed because it is too large
Load Diff
11208
resources/i18n/en_GB.ts
Normal file
11208
resources/i18n/en_GB.ts
Normal file
File diff suppressed because it is too large
Load Diff
11144
resources/i18n/en_ZA.ts
Normal file
11144
resources/i18n/en_ZA.ts
Normal file
File diff suppressed because it is too large
Load Diff
11201
resources/i18n/es.ts
Normal file
11201
resources/i18n/es.ts
Normal file
File diff suppressed because it is too large
Load Diff
11162
resources/i18n/et.ts
Normal file
11162
resources/i18n/et.ts
Normal file
File diff suppressed because it is too large
Load Diff
11332
resources/i18n/fi.ts
Normal file
11332
resources/i18n/fi.ts
Normal file
File diff suppressed because it is too large
Load Diff
11140
resources/i18n/fr.ts
Normal file
11140
resources/i18n/fr.ts
Normal file
File diff suppressed because it is too large
Load Diff
11203
resources/i18n/hu.ts
Normal file
11203
resources/i18n/hu.ts
Normal file
File diff suppressed because it is too large
Load Diff
11143
resources/i18n/id.ts
Normal file
11143
resources/i18n/id.ts
Normal file
File diff suppressed because it is too large
Load Diff
11213
resources/i18n/it.ts
Normal file
11213
resources/i18n/it.ts
Normal file
File diff suppressed because it is too large
Load Diff
11206
resources/i18n/it_IT.ts
Normal file
11206
resources/i18n/it_IT.ts
Normal file
File diff suppressed because it is too large
Load Diff
11150
resources/i18n/ja.ts
Normal file
11150
resources/i18n/ja.ts
Normal file
File diff suppressed because it is too large
Load Diff
11127
resources/i18n/ko.ts
Normal file
11127
resources/i18n/ko.ts
Normal file
File diff suppressed because it is too large
Load Diff
11210
resources/i18n/lt.ts
Normal file
11210
resources/i18n/lt.ts
Normal file
File diff suppressed because it is too large
Load Diff
11182
resources/i18n/nb.ts
Normal file
11182
resources/i18n/nb.ts
Normal file
File diff suppressed because it is too large
Load Diff
11139
resources/i18n/nl.ts
Normal file
11139
resources/i18n/nl.ts
Normal file
File diff suppressed because it is too large
Load Diff
11176
resources/i18n/pl.ts
Normal file
11176
resources/i18n/pl.ts
Normal file
File diff suppressed because it is too large
Load Diff
11183
resources/i18n/pt_BR.ts
Normal file
11183
resources/i18n/pt_BR.ts
Normal file
File diff suppressed because it is too large
Load Diff
11134
resources/i18n/ro.ts
Normal file
11134
resources/i18n/ro.ts
Normal file
File diff suppressed because it is too large
Load Diff
11134
resources/i18n/ru.ts
Normal file
11134
resources/i18n/ru.ts
Normal file
File diff suppressed because it is too large
Load Diff
11181
resources/i18n/sk.ts
Normal file
11181
resources/i18n/sk.ts
Normal file
File diff suppressed because it is too large
Load Diff
11139
resources/i18n/sl.ts
Normal file
11139
resources/i18n/sl.ts
Normal file
File diff suppressed because it is too large
Load Diff
11166
resources/i18n/sv.ts
Normal file
11166
resources/i18n/sv.ts
Normal file
File diff suppressed because it is too large
Load Diff
11126
resources/i18n/ta_LK.ts
Normal file
11126
resources/i18n/ta_LK.ts
Normal file
File diff suppressed because it is too large
Load Diff
11126
resources/i18n/th_TH.ts
Normal file
11126
resources/i18n/th_TH.ts
Normal file
File diff suppressed because it is too large
Load Diff
11177
resources/i18n/zh_CN.ts
Normal file
11177
resources/i18n/zh_CN.ts
Normal file
File diff suppressed because it is too large
Load Diff
11129
resources/i18n/zh_TW.ts
Normal file
11129
resources/i18n/zh_TW.ts
Normal file
File diff suppressed because it is too large
Load Diff
@ -6,4 +6,4 @@ file_filter = ../resources/i18n/<lang>.ts
|
||||
minimum_perc = 0
|
||||
source_file = ../resources/i18n/en.ts
|
||||
source_lang = en
|
||||
type = qt
|
||||
type = QT
|
||||
|
42
scripts/generate_translations.sh
Executable file
42
scripts/generate_translations.sh
Executable file
@ -0,0 +1,42 @@
|
||||
#!/bin/sh
|
||||
# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4
|
||||
|
||||
##########################################################################
|
||||
# OpenLP - Open Source Lyrics Projection #
|
||||
# ---------------------------------------------------------------------- #
|
||||
# Copyright (c) 2008-2019 OpenLP Developers #
|
||||
# ---------------------------------------------------------------------- #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation, either version 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>. #
|
||||
##########################################################################
|
||||
#
|
||||
# This script generates qm files from ts files. These are not for comitting
|
||||
# but for testing only.
|
||||
#
|
||||
###############################################################################
|
||||
pwd=`pwd`
|
||||
result=${PWD##*/}; echo $result
|
||||
|
||||
if [ $result != 'scripts' ] ; then
|
||||
echo 'This script must be run from the scripts directory'
|
||||
exit
|
||||
fi
|
||||
|
||||
cd ../resources/i18n
|
||||
|
||||
rm *.qm
|
||||
|
||||
for file in *.ts;
|
||||
do echo $file
|
||||
lconvert-qt5 -i $file -o ${file%%ts}qm ;
|
||||
done
|
Loading…
Reference in New Issue
Block a user