From: Anthony Geay Date: Tue, 23 Feb 2016 09:12:15 +0000 (+0100) Subject: Step 5. Normally the last. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4d45f00561243c5725c3d6723635638627fe203c;p=modules%2Fgui.git Step 5. Normally the last. --- diff --git a/src/PyConsole/CMakeLists.txt b/src/PyConsole/CMakeLists.txt index 8516a1280..851c8ebbe 100755 --- a/src/PyConsole/CMakeLists.txt +++ b/src/PyConsole/CMakeLists.txt @@ -59,6 +59,13 @@ SET(PyConsole_HEADERS ${_moc_HEADERS} ${_other_HEADERS}) # --- 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}) @@ -80,4 +87,4 @@ TARGET_LINK_LIBRARIES(PyConsole ${_link_LIBRARIES}) 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}") diff --git a/src/PyConsole/resources/PyConsole_msg_en.ts b/src/PyConsole/resources/PyConsole_msg_en.ts new file mode 100644 index 000000000..a2d4aae39 --- /dev/null +++ b/src/PyConsole/resources/PyConsole_msg_en.ts @@ -0,0 +1,27 @@ + + + + + PyConsole_Editor + + TOT_DUMP_PYCOMMANDS + Dump commands + + + TOT_SAVE_PYLOG + Save log + + + PYTHON_FILES_FILTER + PYTHON Files (*.py) + + + LOG_FILES_FILTER + Log files (*.log *.txt) + + + ERR_FILE_NOT_WRITABLE + File is not writable! + + + diff --git a/src/PyConsole/resources/PyConsole_msg_fr.ts b/src/PyConsole/resources/PyConsole_msg_fr.ts new file mode 100644 index 000000000..905d68f7c --- /dev/null +++ b/src/PyConsole/resources/PyConsole_msg_fr.ts @@ -0,0 +1,27 @@ + + + + + PyConsole_Editor + + TOT_DUMP_PYCOMMANDS + &Générer le script des commandes + + + TOT_SAVE_PYLOG + Sauver la trace + + + PYTHON_FILES_FILTER + Fichiers PYTHON (*.py) + + + LOG_FILES_FILTER + Fichiers de trace (*.log *.txt) + + + ERR_FILE_NOT_WRITABLE + Le fichier n'est pas accessible en écriture! + + + diff --git a/src/PyConsole/resources/PyConsole_msg_ja.ts b/src/PyConsole/resources/PyConsole_msg_ja.ts new file mode 100644 index 000000000..dd8b48e3e --- /dev/null +++ b/src/PyConsole/resources/PyConsole_msg_ja.ts @@ -0,0 +1,27 @@ + + + + + PyConsole_Editor + + TOT_DUMP_PYCOMMANDS + スクリプト コマンドを生成します。 + + + TOT_SAVE_PYLOG + ログの保存 + + + PYTHON_FILES_FILTER + ファイル (*.py) PYTHON + + + LOG_FILES_FILTER + ログファイル (*.log *.txt) + + + ERR_FILE_NOT_WRITABLE + ファイルが書き込み禁止です! + + + diff --git a/src/PyConsoleBase/CMakeLists.txt b/src/PyConsoleBase/CMakeLists.txt index c19e06caa..3e06a3fee 100755 --- a/src/PyConsoleBase/CMakeLists.txt +++ b/src/PyConsoleBase/CMakeLists.txt @@ -62,9 +62,9 @@ SET(PyConsoleBase_HEADERS ${_moc_HEADERS} ${_other_HEADERS}) # 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 --- diff --git a/src/PyConsoleBase/resources/PyConsoleBase_msg_en.ts b/src/PyConsoleBase/resources/PyConsoleBase_msg_en.ts new file mode 100644 index 000000000..8ddc1ad90 --- /dev/null +++ b/src/PyConsoleBase/resources/PyConsoleBase_msg_en.ts @@ -0,0 +1,39 @@ + + + + + PyConsole_ConsoleBase + + + EDIT_COPY_CMD + &Copy + + + + EDIT_PASTE_CMD + &Paste + + + + EDIT_CLEAR_CMD + Clea&r + + + + EDIT_SELECTALL_CMD + Select &All + + + EDIT_DUMPCOMMANDS_CMD + D&ump Commands + + + EDIT_STARTLOG_CMD + Start &Log + + + EDIT_STOPLOG_CMD + Stop &Log + + + diff --git a/src/PyConsoleBase/resources/PyConsoleBase_msg_fr.ts b/src/PyConsoleBase/resources/PyConsoleBase_msg_fr.ts new file mode 100644 index 000000000..624e689a8 --- /dev/null +++ b/src/PyConsoleBase/resources/PyConsoleBase_msg_fr.ts @@ -0,0 +1,39 @@ + + + + + PyConsole_ConsoleBase + + + EDIT_COPY_CMD + &Copier + + + + EDIT_PASTE_CMD + C&oller + + + + EDIT_CLEAR_CMD + &Effacer + + + + EDIT_SELECTALL_CMD + &Tout sélectionner + + + EDIT_DUMPCOMMANDS_CMD + &Générer le script des commandes + + + EDIT_STARTLOG_CMD + Démarrer une &trace + + + EDIT_STOPLOG_CMD + Arrêter la &trace + + + diff --git a/src/PyConsoleBase/resources/PyConsoleBase_msg_ja.ts b/src/PyConsoleBase/resources/PyConsoleBase_msg_ja.ts new file mode 100644 index 000000000..e7a98c078 --- /dev/null +++ b/src/PyConsoleBase/resources/PyConsoleBase_msg_ja.ts @@ -0,0 +1,39 @@ + + + + + PyConsole_ConsoleBase + + + EDIT_COPY_CMD + コピー(&C) + + + + EDIT_PASTE_CMD + 貼り付け(&P) + + + + EDIT_CLEAR_CMD + 削除(&r) + + + + EDIT_SELECTALL_CMD + すべて選択します。(&A) + + + EDIT_DUMPCOMMANDS_CMD + スクリプト コマンドを生成します。(&u) + + + EDIT_STARTLOG_CMD + ログの開始 (&L) + + + EDIT_STOPLOG_CMD + ログの停止 (&L) + + + diff --git a/src/PyConsoleBase/resources/PyConsole_msg_en.ts b/src/PyConsoleBase/resources/PyConsole_msg_en.ts deleted file mode 100644 index af33f0b3b..000000000 --- a/src/PyConsoleBase/resources/PyConsole_msg_en.ts +++ /dev/null @@ -1,62 +0,0 @@ - - - - - PyConsole_ConsoleBase - - - EDIT_COPY_CMD - &Copy - - - - EDIT_PASTE_CMD - &Paste - - - - EDIT_CLEAR_CMD - Clea&r - - - - EDIT_SELECTALL_CMD - Select &All - - - EDIT_DUMPCOMMANDS_CMD - D&ump Commands - - - EDIT_STARTLOG_CMD - Start &Log - - - EDIT_STOPLOG_CMD - Stop &Log - - - - PyConsole_EditorBase - - TOT_DUMP_PYCOMMANDS - Dump commands - - - TOT_SAVE_PYLOG - Save log - - - PYTHON_FILES_FILTER - PYTHON Files (*.py) - - - LOG_FILES_FILTER - Log files (*.log *.txt) - - - ERR_FILE_NOT_WRITABLE - File is not writable! - - - diff --git a/src/PyConsoleBase/resources/PyConsole_msg_fr.ts b/src/PyConsoleBase/resources/PyConsole_msg_fr.ts deleted file mode 100755 index bab57bfa6..000000000 --- a/src/PyConsoleBase/resources/PyConsole_msg_fr.ts +++ /dev/null @@ -1,62 +0,0 @@ - - - - - PyConsole_ConsoleBase - - - EDIT_COPY_CMD - &Copier - - - - EDIT_PASTE_CMD - C&oller - - - - EDIT_CLEAR_CMD - &Effacer - - - - EDIT_SELECTALL_CMD - &Tout sélectionner - - - EDIT_DUMPCOMMANDS_CMD - &Générer le script des commandes - - - EDIT_STARTLOG_CMD - Démarrer une &trace - - - EDIT_STOPLOG_CMD - Arrêter la &trace - - - - PyConsole_Editor - - TOT_DUMP_PYCOMMANDS - &Générer le script des commandes - - - TOT_SAVE_PYLOG - Sauver la trace - - - PYTHON_FILES_FILTER - Fichiers PYTHON (*.py) - - - LOG_FILES_FILTER - Fichiers de trace (*.log *.txt) - - - ERR_FILE_NOT_WRITABLE - Le fichier n'est pas accessible en écriture! - - - diff --git a/src/PyConsoleBase/resources/PyConsole_msg_ja.ts b/src/PyConsoleBase/resources/PyConsole_msg_ja.ts deleted file mode 100644 index c36cf6ac3..000000000 --- a/src/PyConsoleBase/resources/PyConsole_msg_ja.ts +++ /dev/null @@ -1,62 +0,0 @@ - - - - - PyConsole_ConsoleBase - - - EDIT_COPY_CMD - コピー(&C) - - - - EDIT_PASTE_CMD - 貼り付け(&P) - - - - EDIT_CLEAR_CMD - 削除(&r) - - - - EDIT_SELECTALL_CMD - すべて選択します。(&A) - - - EDIT_DUMPCOMMANDS_CMD - スクリプト コマンドを生成します。(&u) - - - EDIT_STARTLOG_CMD - ログの開始 (&L) - - - EDIT_STOPLOG_CMD - ログの停止 (&L) - - - - PyConsole_Editor - - TOT_DUMP_PYCOMMANDS - スクリプト コマンドを生成します。 - - - TOT_SAVE_PYLOG - ログの保存 - - - PYTHON_FILES_FILTER - ファイル (*.py) PYTHON - - - LOG_FILES_FILTER - ログファイル (*.log *.txt) - - - ERR_FILE_NOT_WRITABLE - ファイルが書き込み禁止です! - - -