Skip to content

Commit e7b19a5

Browse files
jef-nslarosa
authored andcommittedJul 13, 2015
include user.py in translations
Conflicts: python/core/qgspallabeling.sip (cherry-picked from 2ab8a0b)
1 parent e4c2c68 commit e7b19a5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
 

‎python/user.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ def load_user_expressions(path):
2323
except:
2424
error = traceback.format_exc()
2525
msgtitle = QCoreApplication.translate("UserExpressions", "User expressions")
26-
msg = QCoreApplication.translate("UserExpressions",
27-
"The user expression {0} is not valid".format(name))
26+
msg = QCoreApplication.translate("UserExpressions", "The user expression {0} is not valid").format(name)
2827
QgsMessageLog.logMessage(msg +"\n"+ error, msgtitle, QgsMessageLog.WARNING)
2928

3029

‎scripts/update_ts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ fi
8888

8989
echo Updating python translations
9090
cd python
91-
pylupdate4 utils.py {console,pyplugin_installer}/*.{py,ui} -ts python-i18n.ts
91+
pylupdate4 user.py utils.py {console,pyplugin_installer}/*.{py,ui} -ts python-i18n.ts
9292
perl ../scripts/ts2cpp.pl python-i18n.ts python-i18n.cpp
9393
rm python-i18n.ts
9494
cd ..

0 commit comments

Comments
 (0)
Please sign in to comment.