Fix of Dummy translation-update-upstream for upstream-collect.sh.
OBS-URL: https://build.opensuse.org/package/show/Base:System/translation-update-upstream?expand=0&rev=28
This commit is contained in:
parent
53262446b9
commit
245b0c07d7
@ -1,5 +1,5 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 18 18:27:20 CEST 2011 - sbrabec@suse.cz
|
Fri Aug 19 16:38:20 CEST 2011 - sbrabec@suse.cz
|
||||||
|
|
||||||
- Supplementary scripts improvements:
|
- Supplementary scripts improvements:
|
||||||
* Support for pot-only run (COLLECT_UPSTREAM=false).
|
* Support for pot-only run (COLLECT_UPSTREAM=false).
|
||||||
|
@ -82,7 +82,7 @@ cat >~/.upstream-collect.tmp/translation-update-upstream <<EOF
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo "Dummy translation-update-upstream for upstream-collect.sh. Skipping merge of old translations."
|
echo "Dummy translation-update-upstream for upstream-collect.sh. Skipping merge of old translations."
|
||||||
echo \${3:-intltool-update --gettext-package=\${2:-\$T_U_U_DOMAIN} --pot} >\${1:-po}/.translation-update-upstream-implemented
|
echo \${3:-intltool-update --gettext-package=\${2:-\$T_U_U_DOMAIN} --pot} >\${1:-po}/.translation-update-upstream-implemented
|
||||||
cd ${1:-po}
|
cd \${1:-po}
|
||||||
# Generate and save a copy of the pot file now and compare later.
|
# Generate and save a copy of the pot file now and compare later.
|
||||||
\${3:-intltool-update --gettext-package=\${2:-\$T_U_U_DOMAIN} --pot}
|
\${3:-intltool-update --gettext-package=\${2:-\$T_U_U_DOMAIN} --pot}
|
||||||
mv \${2:-\$T_U_U_DOMAIN}.pot \${2:-\$T_U_U_DOMAIN}-t-u-u.pot
|
mv \${2:-\$T_U_U_DOMAIN}.pot \${2:-\$T_U_U_DOMAIN}-t-u-u.pot
|
||||||
|
Loading…
Reference in New Issue
Block a user