mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Make expression parser output translatable
This commit is contained in:
parent
06354ef71e
commit
c72e99a3ed
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user