diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-06-14 08:58:29 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-06-14 09:54:25 +0200 |
commit | f696b8d9acbc073c29e449c1ada5feeb7ed0ac43 (patch) | |
tree | 2c6ddc526e5581436d411e398952caf58dfd5eff /src/plugins/pythoneditor/pythoneditorconstants.h | |
parent | bba1b0932a381336e77c30b39e0a39a00e6cf172 (diff) | |
download | qt-creator-f696b8d9acbc073c29e449c1ada5feeb7ed0ac43.tar.gz |
Fix missing translations in Python Editor.
Add misssing macros, fix capitalization.
Task-number: QTCREATORBUG-9541
Change-Id: I9e3c3d0f527e444f2f27e5656576bb09d256badc
Reviewed-by: Sergey Shambir <sergey.shambir.auto@gmail.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorconstants.h')
-rw-r--r-- | src/plugins/pythoneditor/pythoneditorconstants.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorconstants.h b/src/plugins/pythoneditor/pythoneditorconstants.h index fe377a97d3..4674bfd0f2 100644 --- a/src/plugins/pythoneditor/pythoneditorconstants.h +++ b/src/plugins/pythoneditor/pythoneditorconstants.h @@ -52,21 +52,21 @@ const char C_PY_SOURCE_CONTENT[] = "#!/usr/bin/env python\n" "# -*- coding: utf-8 -*-\n" "\n"; -const char EN_PY_SOURCE_DISPLAY_NAME[] = "Python source file"; +const char EN_PY_SOURCE_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("PythonEditor::FileWizard", "Python source file"); const char EN_PY_SOURCE_DESCRIPTION[] = - "Creates an empty python script with utf-8 charset"; + QT_TRANSLATE_NOOP("PythonEditor::FileWizard", "Creates an empty Python script with UTF-8 charset"); // class const char C_PY_CLASS_WIZARD_ID[] = "P.PyClass"; -const char EN_PY_CLASS_DISPLAY_NAME[] = "Python class"; +const char EN_PY_CLASS_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("PythonEditor::ClassWizard", "Python class"); const char EN_PY_CLASS_DESCRIPTION[] = - "Creates new Python class"; + QT_TRANSLATE_NOOP("PythonEditor::ClassWizard", "Creates new Python class"); // For future: boost binding const char C_PY_CPPMODULE_WIZARD_ID[] = "F.PyCppModule"; -const char EN_PY_CPPMODULE_DISPLAY_NAME[] = "C++ module for Python"; +const char EN_PY_CPPMODULE_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("PythonEditor::ClassWizard", "C++ module for Python"); const char EN_PY_CPPMODULE_DESCRIPTION[] = - "Creates C++/boost file with bindings for python"; + QT_TRANSLATE_NOOP("PythonEditor::ClassWizard", "Creates C++/Boost file with bindings for Python"); /******************************************************************************* * MIME type |