Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Commit

Permalink
new languages Dutch, Italian, Swedish, Turkish
Browse files Browse the repository at this point in the history
  • Loading branch information
Armadill0 committed Oct 28, 2015
1 parent 19028ca commit 15c7ba8
Show file tree
Hide file tree
Showing 8 changed files with 1,674 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
debug*
documentation.list
harbour-phototools
harbour-phototools.pro.user
harbour-phototools.pro.user*
rpm/harbour-phototools.spec
RPMS/
Makefile
Expand Down
16 changes: 16 additions & 0 deletions gen-qm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

APP_NAME=$(pwd | awk -F'/' '{print $NF}')
QM_TARGET=localization
TS_SOURCES=localization-sources

echo "Running QM generator for app '${APP_NAME}'"

if [ ! -d $QM_TARGET ]
then
echo "Creating qm target '${QM_TARGET}'..."
mkdir $QM_TARGET
fi

echo "Release languages as idbased qm files..."
for i in $(ls ${TS_SOURCES}); do lrelease -idbased ${TS_SOURCES}/$i -qm ${QM_TARGET}/$(echo $i | awk -F'_' '{print $2 "_" $3}' | awk -F'.' '{print $1}').qm; done
11 changes: 11 additions & 0 deletions gen-ts.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

APP_NAME=$(pwd | awk -F'/' '{print $NF}')
QM_TARGET=localization
TS_SOURCES=localization-sources

echo "Running TS generator for app '${APP_NAME}'"

echo "Updating ts files..."
#lupdate ${APP_NAME}.pro -ts ${TS_SOURCES}/*.ts -no-obsolete
lupdate ${APP_NAME}.pro -ts ${TS_SOURCES}/${APP_NAME}_en_US.ts -no-obsolete
329 changes: 329 additions & 0 deletions localization-sources/harbour-phototools_it_IT.ts

Large diffs are not rendered by default.

329 changes: 329 additions & 0 deletions localization-sources/harbour-phototools_nl_NL.ts

Large diffs are not rendered by default.

330 changes: 330 additions & 0 deletions localization-sources/harbour-phototools_ru_RU.ts

Large diffs are not rendered by default.

329 changes: 329 additions & 0 deletions localization-sources/harbour-phototools_sv_SE.ts

Large diffs are not rendered by default.

329 changes: 329 additions & 0 deletions localization-sources/harbour-phototools_tr_TR.ts

Large diffs are not rendered by default.

0 comments on commit 15c7ba8

Please sign in to comment.