Skip to content
Permalink
Browse files

Make expression parser output translatable

  • Loading branch information
m-kuhn committed Dec 20, 2018
1 parent 06354ef commit c72e99a3ed096dadc02cf26eb981a3c930eff65c
Showing with 2 additions and 2 deletions.
  1. +1 −1 scripts/update_ts.sh
  2. +1 −1 scripts/update_ts_files.sh
@@ -79,7 +79,7 @@ files=
if [ -d "$2" ]; then
builddir=$(realpath $2)
textcpp=
for i in $builddir/src/core/qgsexpression_texts.cpp; do
for i in $builddir/src/core/qgsexpression_texts.cpp $builddir/src/core/qgsexpressionparser.cpp; do
if [ -f $i ]; then
textcpp="$textcpp $i"
elif [ "$action" != "pull" ]; then
@@ -126,7 +126,7 @@ done
echo Updating GRASS module translations
perl scripts/qgm2cpp.pl >src/plugins/grass/grasslabels-i18n.cpp
echo Creating qmake project file
$QMAKE -project -o qgis_ts.pro -nopwd src python i18n "$builddir/src/core/qgsexpression_texts.cpp"
$QMAKE -project -o qgis_ts.pro -nopwd src python i18n "$builddir/src/core/qgsexpression_texts.cpp" "$builddir/src/core/qgsexpressionparser.cpp"
if [ -n "$add" ]; then
for i in $add; do
echo "Adding translation for $i"

0 comments on commit c72e99a

Please sign in to comment.
You can’t perform that action at this time.