Make expression parser output translatable

This commit is contained in:
Matthias Kuhn 2018-12-20 09:15:40 +01:00
parent 06354ef71e
commit c72e99a3ed
No known key found for this signature in database
GPG Key ID: 7A7F1A1C90C3E6A7
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"