Skip to content

Commit

Permalink
Move l10n script to root folder
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Jul 30, 2014
1 parent 29bb3ca commit 7c85ce5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
File renamed without changes.
9 changes: 7 additions & 2 deletions roundcube/src/main/php/l10n/update.sh → bin/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@ if test $# -ne 1; then
exit 1;
fi

CUR_DIR="$(pwd)"

APPNAME="$1"

perl ./l10n.pl "${APPNAME}" read
L10N_DIR="../"${APPNAME}"/src/main/php/l10n"

cd ${L10N_DIR}
perl ${CUR_DIR}"/l10n.pl" "${APPNAME}" read
msgmerge -vU --previous --backup=numbered de/"${APPNAME}".po templates/"${APPNAME}".pot
perl ./l10n.pl "${APPNAME}" write
perl ${CUR_DIR}"/l10n.pl" "${APPNAME}" write

0 comments on commit 7c85ce5

Please sign in to comment.