2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-22 09:58:08 +00:00

Fixed translations script

This commit is contained in:
Albert Vaca 2014-11-23 09:49:24 -08:00
parent e2eb886cca
commit efe49ad650

View File

@ -7,7 +7,7 @@ function export_pot_file # First parameter will be the path of the pot file we h
{
potfile=$1
mkdir outdir
a2po export --android src/main/res/ --gettext outdir
a2po export --android res/ --gettext outdir
mv outdir/template.pot $potfile
rm -rf outdir
}
@ -15,7 +15,7 @@ function export_pot_file # First parameter will be the path of the pot file we h
function import_po_files # First parameter will be a path that will contain several .po files with the format LANG.po
{
podir=$1
a2po import --android src/main/res/ --gettext $podir
a2po import --android res/ --gettext $podir
}