aboutsummaryrefslogtreecommitdiffstats
path: root/check_for_translation_work.sh
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2013-11-02 21:18:22 +0100
committerfilip <filip.komar@gmail.com>2013-11-02 21:18:22 +0100
commit08188bc3902e2e624c1d0505418656093c36faa1 (patch)
tree2e7e1556a9724be045b154b8990d5830ed67120c /check_for_translation_work.sh
parent90f63354501633d2b93233e0dfcde33bd4fcb93c (diff)
downloadtools-08188bc3902e2e624c1d0505418656093c36faa1.tar
tools-08188bc3902e2e624c1d0505418656093c36faa1.tar.gz
tools-08188bc3902e2e624c1d0505418656093c36faa1.tar.bz2
tools-08188bc3902e2e624c1d0505418656093c36faa1.tar.xz
tools-08188bc3902e2e624c1d0505418656093c36faa1.zip
init some variables
Diffstat (limited to 'check_for_translation_work.sh')
-rwxr-xr-xcheck_for_translation_work.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/check_for_translation_work.sh b/check_for_translation_work.sh
index 8b71a50f..55b31256 100755
--- a/check_for_translation_work.sh
+++ b/check_for_translation_work.sh
@@ -7,7 +7,7 @@
#
# Filip Komar, 2012, 2013
# Remco Rijnders, 2012
-# $Id: check_for_translation_work.sh 2013-11-02 19:15:00 UTC filip $
+# $Id: check_for_translation_work.sh 2013-11-02 20:16:00 UTC filip $
#
# Please see git for a list of changes to this script.
#
@@ -261,7 +261,9 @@ do
echo $separator | tee -a "$logfile"_this_run.log
unexisted_po="no"
translate_this="no"
+ wip_po_filename=""
statistics_git_po=""
+ statistics_git_pot=""
statistics_wd_po=""
pot_filename="*.pot"
echo "Working on $language_code.po file in working translations directory: $translate_project_name_po and local git directory: ${translate_projects_po[$translate_project_name_po]}." | tee -a "$logfile"_this_run.log
@@ -454,6 +456,7 @@ do
copy_this_desktop_file="no"
untranslated_name="Name, "
untranslated_comment="Comment,"
+ names_and_comments=""
echo "Working on *.desktop file in working translations directory: $translate_project_name_desktop and local git directory: ${translate_projects_desktop[$translate_project_name_desktop]}." | tee -a "$logfile"_this_run.log
# cd "$git_directory/${translate_projects_desktop[$translate_project_name_desktop]}/" # $translate_project_name_desktop"
names_and_comments=`cat "$git_directory/${translate_projects_desktop[$translate_project_name_desktop]}" #| grep -E "^Name=|^Name\[$language_code\]=|^Comment=|^Comment\[$language_code\]="`