diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-21 23:22:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-21 23:22:20 +0900 |
commit | dba036816b279bc1539a9f3894fbc414665d2bce (patch) | |
tree | 29e4bf00bafe515e7afdd02168d65a47a3f9fbc0 /updatepo | |
parent | 6f1b4f0c7505a049d992a33f6e409b7c75732d4b (diff) | |
download | experimental-dba036816b279bc1539a9f3894fbc414665d2bce.tar.gz experimental-dba036816b279bc1539a9f3894fbc414665d2bce.zip |
Removed unnecessary and/or TDE-unrelated code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'updatepo')
-rwxr-xr-x | updatepo/update_translation_lines | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/updatepo/update_translation_lines b/updatepo/update_translation_lines deleted file mode 100755 index 8c3c0e1..0000000 --- a/updatepo/update_translation_lines +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -if [[ $1 == "" ]]; then - THISSCRIPT=$(readlink -f $0) - - if [[ ! -e "$THISSCRIPT" ]]; then - echo "Unable to find myself! Exiting..." - exit 1 - fi - - find . -type f -iname "*.po" -exec $THISSCRIPT {} \; - exit 0 -else - # Originally from Stack Overflow - # http://stackoverflow.com/a/7497395 - # Tweaked by Timothy Pearson <kb9vqf@pearsoncomputing.net> for TDE - echo '' > messages.po # xgettext needs that file, and we need it empty - find . -type f -iname "*.cpp" -o -type f -iname "*.cc" | xgettext --keyword=i18n --keyword=i18nM --keyword=i18nP:1,2 -j -f - - msgmerge -N $1 messages.po > new.po - mv new.po $1 - rm messages.po -fi |