aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2013-08-04 18:41:58 +0000
committerFilip Komar <filip@mageia.org>2013-08-04 18:41:58 +0000
commita82c565d06a5a1ca65378ad7cc8f2eb052120a0e (patch)
treec46abf31019e1160a07ccd61f40705e8c18a5740
parent1e429bbbaf6613579bdb9e35ed1282404281c965 (diff)
downloadtools-a82c565d06a5a1ca65378ad7cc8f2eb052120a0e.tar
tools-a82c565d06a5a1ca65378ad7cc8f2eb052120a0e.tar.gz
tools-a82c565d06a5a1ca65378ad7cc8f2eb052120a0e.tar.bz2
tools-a82c565d06a5a1ca65378ad7cc8f2eb052120a0e.tar.xz
tools-a82c565d06a5a1ca65378ad7cc8f2eb052120a0e.zip
small improvement of script + bootloader.pot branched for mga3
-rwxr-xr-xcheck_for_translation_work.sh6
-rw-r--r--translation_projects.dat1
2 files changed, 3 insertions, 4 deletions
diff --git a/check_for_translation_work.sh b/check_for_translation_work.sh
index 79b23704..b5504925 100755
--- a/check_for_translation_work.sh
+++ b/check_for_translation_work.sh
@@ -173,16 +173,14 @@ do
# checking the syntax of po file if required
if [ $check_po_syntax -eq 1 ]; then
if [ -f $language_code.po ]; then
- msgfmt --statistics --verbose -c $language_code.po -o $language_code.po.mo 2>&1 | tee -a "$logfile"_this_run.log
- rm $language_code.po.mo
+ msgfmt --statistics --verbose -c $language_code.po -o /dev/null 2>&1 | tee -a "$logfile"_this_run.log
else
echo "File $language_code.po is not present in $project_name. Automatic test is not possible." | tee -a "$logfile"_this_run.log
fi
# checking the syntax of po file if required
if [ $check_pot_syntax -eq 1 ]; then
if [ -f *.pot ]; then
- msgfmt -c *.pot -o pot.mo 2>&1 | tee -a "$logfile"_this_run.log
- rm pot.mo
+ msgfmt -c *.pot -o /dev/null 2>&1 | tee -a "$logfile"_this_run.log
else
echo "File *.pot is not present in $project_name. Automatic test is not possible." | tee -a "$logfile"_this_run.log
fi
diff --git a/translation_projects.dat b/translation_projects.dat
index aaaf03c3..aaba5b5c 100644
--- a/translation_projects.dat
+++ b/translation_projects.dat
@@ -40,6 +40,7 @@ projects[drakx_help_mga3]="svn.mageia.org/svn/soft/drakx/branches/3/perl-install
projects[drakx_install_mga3]="svn.mageia.org/svn/soft/drakx/branches/3/perl-install/install/share/po/"
projects[drakx_share_mga3]="svn.mageia.org/svn/soft/drakx/branches/3/perl-install/share/po/"
projects[drakx_standalone_mga3]="svn.mageia.org/svn/soft/drakx/branches/3/perl-install/standalone/po/"
+projects[mageia-gfxboot-theme_mga3]="svn.mageia.org/svn/soft/theme/mageia-gfxboot-theme/branches/3/po/"
fi
# BRANCH 2: