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