Skip to content

Commit

Permalink
Make expression parser output translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Dec 20, 2018
1 parent 06354ef commit c72e99a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/update_ts.sh
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/update_ts_files.sh
Expand Up @@ -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"
Expand Down

0 comments on commit c72e99a

Please sign in to comment.