File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
installer/packages/qreal-base/ru.qreal.root.languages/meta Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ set -o errexit
55cd " $( dirname " $0 " ) "
66
77mkdir -p " $PWD " /../data/translations
8- ls " $QT_TRANSLATIONS "
9-
108rsync -avR " $BIN_DIR " /translations/./* " $PWD " /../data/translations/
119
1210# Cannot handle complex paths, to be ported to NULL-terminated strings later
13- for code in $( find " $PWD " /../data/translations -maxdepth 1 -type d -name ' ??' -exec basename -a {} + ) ; do
14- ls -1d " $QT_TRANSLATIONS " /* ${code} .qm
15- done | rsync -v --files-from=- " $PWD " /../data/translations/
11+ TS_LANGUAGES=$( find " $PWD " /../data/translations -maxdepth 1 -type d -name ' ??' -exec basename -a {} +)
12+ echo --- Transfer Qt translations for ' (' $TS_LANGUAGES ' )' from " $QT_TRANSLATIONS " --
13+ for code in $TS_LANGUAGES ; do
14+ ls -1d " $QT_TRANSLATIONS " /* _${code} .qm
15+ done | xargs basename -a | LANG=C.UTF-8 sort | tee /dev/stderr | rsync -q --files-from=- " $QT_TRANSLATIONS " / " $PWD " /../data/translations/
You can’t perform that action at this time.
0 commit comments