Updating translations to new folder structure.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
23c3b771c2
commit
a60ac79d83
8 changed files with 2377 additions and 2353 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -21,7 +21,7 @@ replace() {
|
||||||
|
|
||||||
rm ../qml/eu/ad5001/LogarithmPlotter/js/index.mjs # Remove index which should not be scanned
|
rm ../qml/eu/ad5001/LogarithmPlotter/js/index.mjs # Remove index which should not be scanned
|
||||||
|
|
||||||
files=$(find .. -name *.mjs)
|
files=$(find ../../common/src -name '*.mjs')
|
||||||
for file in $files; do
|
for file in $files; do
|
||||||
echo "Moving '$file' to '${file%.*}.js'..."
|
echo "Moving '$file' to '${file%.*}.js'..."
|
||||||
mv "$file" "${file%.*}.js"
|
mv "$file" "${file%.*}.js"
|
||||||
|
@ -38,7 +38,7 @@ done
|
||||||
echo "----------------------------"
|
echo "----------------------------"
|
||||||
echo "| Updating translations... |"
|
echo "| Updating translations... |"
|
||||||
echo "----------------------------"
|
echo "----------------------------"
|
||||||
lupdate -extensions js,qs,qml,py -recursive .. -ts lp_*.ts
|
lupdate -extensions js,qs,qml,py -recursive ../../common/src -recursive ../../runtime-pyside6/LogarithmPlotter -ts lp_*.ts
|
||||||
# Updating locations in files
|
# Updating locations in files
|
||||||
for lp in *.ts; do
|
for lp in *.ts; do
|
||||||
echo "Replacing locations in $lp..."
|
echo "Replacing locations in $lp..."
|
||||||
|
|
Loading…
Reference in a new issue