ProjectPyramid/Project.py

changeset 14
e3cb581b4653
parent 13
227a115ab2a1
child 19
f4adfe6e51b0
equal deleted inserted replaced
13:227a115ab2a1 14:e3cb581b4653
1106 """ 1106 """
1107 Private slot handling the addition of a new language. 1107 Private slot handling the addition of a new language.
1108 1108
1109 @param code language code of the new language (string) 1109 @param code language code of the new language (string)
1110 """ 1110 """
1111 title = self.trUtf8("Initializing message catalog for '%1'").arg(code) 1111 title = self.trUtf8("Initializing message catalog for '{0}'").format(code)
1112 try: 1112 try:
1113 projectPath = self.__projectPath() 1113 projectPath = self.__projectPath()
1114 except PyramidNoProjectSelectedException: 1114 except PyramidNoProjectSelectedException:
1115 E5MessageBox.warning(self.__ui, 1115 E5MessageBox.warning(self.__ui,
1116 title, 1116 title,

eric ide

mercurial