Skip to content

Commit c72e99a

Browse files
committedDec 20, 2018
Make expression parser output translatable
1 parent 06354ef commit c72e99a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎scripts/update_ts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ files=
7979
if [ -d "$2" ]; then
8080
builddir=$(realpath $2)
8181
textcpp=
82-
for i in $builddir/src/core/qgsexpression_texts.cpp; do
82+
for i in $builddir/src/core/qgsexpression_texts.cpp $builddir/src/core/qgsexpressionparser.cpp; do
8383
if [ -f $i ]; then
8484
textcpp="$textcpp $i"
8585
elif [ "$action" != "pull" ]; then

‎scripts/update_ts_files.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ done
126126
echo Updating GRASS module translations
127127
perl scripts/qgm2cpp.pl >src/plugins/grass/grasslabels-i18n.cpp
128128
echo Creating qmake project file
129-
$QMAKE -project -o qgis_ts.pro -nopwd src python i18n "$builddir/src/core/qgsexpression_texts.cpp"
129+
$QMAKE -project -o qgis_ts.pro -nopwd src python i18n "$builddir/src/core/qgsexpression_texts.cpp" "$builddir/src/core/qgsexpressionparser.cpp"
130130
if [ -n "$add" ]; then
131131
for i in $add; do
132132
echo "Adding translation for $i"

0 commit comments

Comments
 (0)
Please sign in to comment.