# --- resources ---
# --- sources ---
+# resource files / to be processed by lrelease
+
+SET(_ts_RESOURCES
+ resources/PyConsole_msg_en.ts
+ resources/PyConsole_msg_fr.ts
+ resources/PyConsole_msg_ja.ts
+)
# sources / moc wrappings
QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
INSTALL(TARGETS PyConsole EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
INSTALL(FILES ${PyConsole_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
-
+QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GUI_INSTALL_RES_DATA}")
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="en_US">
+<context>
+ <name>PyConsole_Editor</name>
+ <message>
+ <source>TOT_DUMP_PYCOMMANDS</source>
+ <translation>Dump commands</translation>
+ </message>
+ <message>
+ <source>TOT_SAVE_PYLOG</source>
+ <translation>Save log</translation>
+ </message>
+ <message>
+ <source>PYTHON_FILES_FILTER</source>
+ <translation>PYTHON Files (*.py)</translation>
+ </message>
+ <message>
+ <source>LOG_FILES_FILTER</source>
+ <translation>Log files (*.log *.txt)</translation>
+ </message>
+ <message>
+ <source>ERR_FILE_NOT_WRITABLE</source>
+ <translation>File is not writable!</translation>
+ </message>
+</context>
+</TS>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="fr_FR">
+<context>
+ <name>PyConsole_Editor</name>
+ <message>
+ <source>TOT_DUMP_PYCOMMANDS</source>
+ <translation>&Générer le script des commandes</translation>
+ </message>
+ <message>
+ <source>TOT_SAVE_PYLOG</source>
+ <translation>Sauver la trace</translation>
+ </message>
+ <message>
+ <source>PYTHON_FILES_FILTER</source>
+ <translation>Fichiers PYTHON (*.py)</translation>
+ </message>
+ <message>
+ <source>LOG_FILES_FILTER</source>
+ <translation>Fichiers de trace (*.log *.txt)</translation>
+ </message>
+ <message>
+ <source>ERR_FILE_NOT_WRITABLE</source>
+ <translation>Le fichier n'est pas accessible en écriture!</translation>
+ </message>
+</context>
+</TS>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="ja" sourcelanguage="en">
+ <context>
+ <name>PyConsole_Editor</name>
+ <message>
+ <source>TOT_DUMP_PYCOMMANDS</source>
+ <translation>スクリプト コマンドを生成します。</translation>
+ </message>
+ <message>
+ <source>TOT_SAVE_PYLOG</source>
+ <translation>ログの保存</translation>
+ </message>
+ <message>
+ <source>PYTHON_FILES_FILTER</source>
+ <translation>ファイル (*.py) PYTHON</translation>
+ </message>
+ <message>
+ <source>LOG_FILES_FILTER</source>
+ <translation>ログファイル (*.log *.txt)</translation>
+ </message>
+ <message>
+ <source>ERR_FILE_NOT_WRITABLE</source>
+ <translation>ファイルが書き込み禁止です!</translation>
+ </message>
+ </context>
+</TS>
# resource files / to be processed by lrelease
SET(_ts_RESOURCES
- resources/PyConsole_msg_en.ts
- resources/PyConsole_msg_fr.ts
- resources/PyConsole_msg_ja.ts
+ resources/PyConsoleBase_msg_en.ts
+ resources/PyConsoleBase_msg_fr.ts
+ resources/PyConsoleBase_msg_ja.ts
)
# --- sources ---
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="en_US">
+<context>
+ <name>PyConsole_ConsoleBase</name>
+ <message>
+ <location filename="../PyConsole_ConsoleBase.cxx" line="216"/>
+ <source>EDIT_COPY_CMD</source>
+ <translation>&Copy</translation>
+ </message>
+ <message>
+ <location filename="../PyConsole_ConsoleBase.cxx" line="221"/>
+ <source>EDIT_PASTE_CMD</source>
+ <translation>&Paste</translation>
+ </message>
+ <message>
+ <location filename="../PyConsole_ConsoleBase.cxx" line="226"/>
+ <source>EDIT_CLEAR_CMD</source>
+ <translation>Clea&r</translation>
+ </message>
+ <message>
+ <location filename="../PyConsole_ConsoleBase.cxx" line="231"/>
+ <source>EDIT_SELECTALL_CMD</source>
+ <translation>Select &All</translation>
+ </message>
+ <message>
+ <source>EDIT_DUMPCOMMANDS_CMD</source>
+ <translation>D&ump Commands</translation>
+ </message>
+ <message>
+ <source>EDIT_STARTLOG_CMD</source>
+ <translation>Start &Log</translation>
+ </message>
+ <message>
+ <source>EDIT_STOPLOG_CMD</source>
+ <translation>Stop &Log</translation>
+ </message>
+</context>
+</TS>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="fr_FR">
+<context>
+ <name>PyConsole_ConsoleBase</name>
+ <message>
+ <location filename="../PyConsole_ConsoleBase.cxx" line="216"/>
+ <source>EDIT_COPY_CMD</source>
+ <translation>&Copier</translation>
+ </message>
+ <message>
+ <location filename="../PyConsole_ConsoleBase.cxx" line="221"/>
+ <source>EDIT_PASTE_CMD</source>
+ <translation>C&oller</translation>
+ </message>
+ <message>
+ <location filename="../PyConsole_ConsoleBase.cxx" line="226"/>
+ <source>EDIT_CLEAR_CMD</source>
+ <translation>&Effacer</translation>
+ </message>
+ <message>
+ <location filename="../PyConsole_ConsoleBase.cxx" line="231"/>
+ <source>EDIT_SELECTALL_CMD</source>
+ <translation>&Tout sélectionner</translation>
+ </message>
+ <message>
+ <source>EDIT_DUMPCOMMANDS_CMD</source>
+ <translation>&Générer le script des commandes</translation>
+ </message>
+ <message>
+ <source>EDIT_STARTLOG_CMD</source>
+ <translation>Démarrer une &trace</translation>
+ </message>
+ <message>
+ <source>EDIT_STOPLOG_CMD</source>
+ <translation>Arrêter la &trace</translation>
+ </message>
+</context>
+</TS>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="ja" sourcelanguage="en">
+ <context>
+ <name>PyConsole_ConsoleBase</name>
+ <message>
+ <location filename="../PyConsole_ConsoleBase.cxx" line="216"/>
+ <source>EDIT_COPY_CMD</source>
+ <translation>コピー(&C)</translation>
+ </message>
+ <message>
+ <location filename="../PyConsole_ConsoleBase.cxx" line="221"/>
+ <source>EDIT_PASTE_CMD</source>
+ <translation>貼り付け(&P)</translation>
+ </message>
+ <message>
+ <location filename="../PyConsole_ConsoleBase.cxx" line="226"/>
+ <source>EDIT_CLEAR_CMD</source>
+ <translation>削除(&r)</translation>
+ </message>
+ <message>
+ <location filename="../PyConsole_ConsoleBase.cxx" line="231"/>
+ <source>EDIT_SELECTALL_CMD</source>
+ <translation>すべて選択します。(&A)</translation>
+ </message>
+ <message>
+ <source>EDIT_DUMPCOMMANDS_CMD</source>
+ <translation>スクリプト コマンドを生成します。(&u)</translation>
+ </message>
+ <message>
+ <source>EDIT_STARTLOG_CMD</source>
+ <translation>ログの開始 (&L)</translation>
+ </message>
+ <message>
+ <source>EDIT_STOPLOG_CMD</source>
+ <translation>ログの停止 (&L)</translation>
+ </message>
+ </context>
+</TS>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="en_US">
-<context>
- <name>PyConsole_ConsoleBase</name>
- <message>
- <location filename="../PyConsole_ConsoleBase.cxx" line="216"/>
- <source>EDIT_COPY_CMD</source>
- <translation>&Copy</translation>
- </message>
- <message>
- <location filename="../PyConsole_ConsoleBase.cxx" line="221"/>
- <source>EDIT_PASTE_CMD</source>
- <translation>&Paste</translation>
- </message>
- <message>
- <location filename="../PyConsole_ConsoleBase.cxx" line="226"/>
- <source>EDIT_CLEAR_CMD</source>
- <translation>Clea&r</translation>
- </message>
- <message>
- <location filename="../PyConsole_ConsoleBase.cxx" line="231"/>
- <source>EDIT_SELECTALL_CMD</source>
- <translation>Select &All</translation>
- </message>
- <message>
- <source>EDIT_DUMPCOMMANDS_CMD</source>
- <translation>D&ump Commands</translation>
- </message>
- <message>
- <source>EDIT_STARTLOG_CMD</source>
- <translation>Start &Log</translation>
- </message>
- <message>
- <source>EDIT_STOPLOG_CMD</source>
- <translation>Stop &Log</translation>
- </message>
-</context>
-<context>
- <name>PyConsole_EditorBase</name>
- <message>
- <source>TOT_DUMP_PYCOMMANDS</source>
- <translation>Dump commands</translation>
- </message>
- <message>
- <source>TOT_SAVE_PYLOG</source>
- <translation>Save log</translation>
- </message>
- <message>
- <source>PYTHON_FILES_FILTER</source>
- <translation>PYTHON Files (*.py)</translation>
- </message>
- <message>
- <source>LOG_FILES_FILTER</source>
- <translation>Log files (*.log *.txt)</translation>
- </message>
- <message>
- <source>ERR_FILE_NOT_WRITABLE</source>
- <translation>File is not writable!</translation>
- </message>
-</context>
-</TS>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="fr_FR">
-<context>
- <name>PyConsole_ConsoleBase</name>
- <message>
- <location filename="../PyConsole_ConsoleBase.cxx" line="216"/>
- <source>EDIT_COPY_CMD</source>
- <translation>&Copier</translation>
- </message>
- <message>
- <location filename="../PyConsole_ConsoleBase.cxx" line="221"/>
- <source>EDIT_PASTE_CMD</source>
- <translation>C&oller</translation>
- </message>
- <message>
- <location filename="../PyConsole_ConsoleBase.cxx" line="226"/>
- <source>EDIT_CLEAR_CMD</source>
- <translation>&Effacer</translation>
- </message>
- <message>
- <location filename="../PyConsole_ConsoleBase.cxx" line="231"/>
- <source>EDIT_SELECTALL_CMD</source>
- <translation>&Tout sélectionner</translation>
- </message>
- <message>
- <source>EDIT_DUMPCOMMANDS_CMD</source>
- <translation>&Générer le script des commandes</translation>
- </message>
- <message>
- <source>EDIT_STARTLOG_CMD</source>
- <translation>Démarrer une &trace</translation>
- </message>
- <message>
- <source>EDIT_STOPLOG_CMD</source>
- <translation>Arrêter la &trace</translation>
- </message>
-</context>
-<context>
- <name>PyConsole_Editor</name>
- <message>
- <source>TOT_DUMP_PYCOMMANDS</source>
- <translation>&Générer le script des commandes</translation>
- </message>
- <message>
- <source>TOT_SAVE_PYLOG</source>
- <translation>Sauver la trace</translation>
- </message>
- <message>
- <source>PYTHON_FILES_FILTER</source>
- <translation>Fichiers PYTHON (*.py)</translation>
- </message>
- <message>
- <source>LOG_FILES_FILTER</source>
- <translation>Fichiers de trace (*.log *.txt)</translation>
- </message>
- <message>
- <source>ERR_FILE_NOT_WRITABLE</source>
- <translation>Le fichier n'est pas accessible en écriture!</translation>
- </message>
-</context>
-</TS>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="ja" sourcelanguage="en">
- <context>
- <name>PyConsole_ConsoleBase</name>
- <message>
- <location filename="../PyConsole_ConsoleBase.cxx" line="216"/>
- <source>EDIT_COPY_CMD</source>
- <translation>コピー(&C)</translation>
- </message>
- <message>
- <location filename="../PyConsole_ConsoleBase.cxx" line="221"/>
- <source>EDIT_PASTE_CMD</source>
- <translation>貼り付け(&P)</translation>
- </message>
- <message>
- <location filename="../PyConsole_ConsoleBase.cxx" line="226"/>
- <source>EDIT_CLEAR_CMD</source>
- <translation>削除(&r)</translation>
- </message>
- <message>
- <location filename="../PyConsole_ConsoleBase.cxx" line="231"/>
- <source>EDIT_SELECTALL_CMD</source>
- <translation>すべて選択します。(&A)</translation>
- </message>
- <message>
- <source>EDIT_DUMPCOMMANDS_CMD</source>
- <translation>スクリプト コマンドを生成します。(&u)</translation>
- </message>
- <message>
- <source>EDIT_STARTLOG_CMD</source>
- <translation>ログの開始 (&L)</translation>
- </message>
- <message>
- <source>EDIT_STOPLOG_CMD</source>
- <translation>ログの停止 (&L)</translation>
- </message>
- </context>
- <context>
- <name>PyConsole_Editor</name>
- <message>
- <source>TOT_DUMP_PYCOMMANDS</source>
- <translation>スクリプト コマンドを生成します。</translation>
- </message>
- <message>
- <source>TOT_SAVE_PYLOG</source>
- <translation>ログの保存</translation>
- </message>
- <message>
- <source>PYTHON_FILES_FILTER</source>
- <translation>ファイル (*.py) PYTHON</translation>
- </message>
- <message>
- <source>LOG_FILES_FILTER</source>
- <translation>ログファイル (*.log *.txt)</translation>
- </message>
- <message>
- <source>ERR_FILE_NOT_WRITABLE</source>
- <translation>ファイルが書き込み禁止です!</translation>
- </message>
- </context>
-</TS>