From ec12eb265e8eb4bfa4502bb449c85a851f2f41d0 Mon Sep 17 00:00:00 2001 From: "transifex-integration[bot]" <43880903+transifex-integration[bot]@users.noreply.github.com> Date: Sat, 21 Sep 2024 10:32:48 +0800 Subject: [PATCH 01/13] [deepin-terminal] Updates for project Deepin Terminal (#362) * [skip CI] Translate deepin-terminal.ts in gl_ES 70% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 71% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 71% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 72% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 73% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 73% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 74% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 74% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 75% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 76% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 76% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 77% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 77% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 78% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 78% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 79% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 79% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 80% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 80% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 80% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 81% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 82% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 82% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 84% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 84% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 85% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 85% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 86% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 86% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 87% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 88% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 89% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 90% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 90% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 91% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 92% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 92% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 93% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 93% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 93% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 94% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 94% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 95% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 95% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 96% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 96% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 98% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 98% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 100% translated source file: 'deepin-terminal.ts' on 'gl_ES'. --------- Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com> --- translations/deepin-terminal_gl_ES.ts | 134 +++++++++++++------------- 1 file changed, 67 insertions(+), 67 deletions(-) diff --git a/translations/deepin-terminal_gl_ES.ts b/translations/deepin-terminal_gl_ES.ts index ab9cad7ba..a93f88c45 100644 --- a/translations/deepin-terminal_gl_ES.ts +++ b/translations/deepin-terminal_gl_ES.ts @@ -94,7 +94,7 @@ No commands yet - + Aínda non hai comandos @@ -118,12 +118,12 @@ Custom Theme - + Tema personalizado Style: - + Estilo: @@ -138,22 +138,22 @@ Fore color: - + Cor dianteira: Back color: - + Cor traseira: Prompt PS1: - + Pregunta PS1: Prompt PS2: - + Pregunta PS2: @@ -173,17 +173,17 @@ Group Name(Required) - + Nome do grupo (requerido) Add Group - + Engadir grupo Edit Group - + Editar grupo @@ -203,12 +203,12 @@ Please enter a group name - + Insira un nome de grupo The name should be no more than 30 characters - + O nome non debe ter máis de 30 caracteres @@ -221,17 +221,17 @@ Delete Custom Command - + Eliminar comando personalizado Cancel Server Group - + Cancelar grupo de servidores Ungrouped servers will go back to server list! - + Os servidores desagrupados volverán á lista de servidores. @@ -273,7 +273,7 @@ Custom Theme - + Tema personalizado @@ -311,7 +311,7 @@ Quake window animation speed - + Velocidade de animación da xanela Quake @@ -415,122 +415,122 @@ New tab - + Nova lapela Next tab - + Seguinte lapela Previous tab - + Lapela anterior Select left workspace - + Selecciona o espazo de traballo esquerdo Select lower workspace - + Selecciona o espazo de traballo inferior Select right workspace - + Selecciona o espazo de traballo dereito Select upper workspace - + Seleccione o espazo de traballo superior Tab titles - + Títulos das lapelas Go to tab 1 - + Ir á lapela 1 Go to tab 2 - + Ir á lapela 2 Go to tab 3 - + Ir á lapela 3 Go to tab 4 - + Ir á lapela 4 Go to tab 5 - + Ir á lapela 5 Go to tab 6 - + Ir á lapela 6 Go to tab 7 - + Ir á lapela 7 Go to tab 8 - + Ir á lapela 8 Go to tab 9 - + Ir á lapela 9 Disable flow control using Ctrl+S, Ctrl+Q - + Desactive o control de fluxo usando Ctrl+S, Ctrl+Q Shell profile - + Perfil de Shell History size - + Tamaño da historia Include special character(s) in double click selections - + Inclúe caractere(s) especiais nas seleccións de dobre clic @@ -612,22 +612,22 @@ Could not find "%1", starting "%2" instead. Please check your shell profile. - + Non foi posíbel atopar "% 1", comezando "% 2" no seu lugar. Comproba o teu perfil de shell. Could not open "%1", unable to run it - + Non foi posíbel abrir "% 1", non foi posíbel executalo Could not find "%1", unable to run it - + Non foi posíbel atopar "% 1", non foi posíbel executalo Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + A saída suspendeuse premendo Ctrl+S. Prema Ctrl+Q para retomar. @@ -674,23 +674,23 @@ Tabs - + Lapelas Close tab - + Pechar lapela Select tab - + Seleccionar lapela Switch focus to "+" icon - + Cambia o foco á icona "+". @@ -719,13 +719,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + Aínda hai un proceso en execución neste terminal. Ao pechar o terminal finalizarase. There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Aínda hai %1 procesos en execución neste terminal. Pechar o terminal dará todos por finalizados. @@ -737,7 +737,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + Aínda hai procesos en execución nesta xanela. Ao pechar a xanela rematará con todos. @@ -830,19 +830,19 @@ Tab title format - + Fomato do título da lapela Remote tab title format - + Formato de título da lapela remota Close other tabs - + Pechar outras lapelas @@ -863,7 +863,7 @@ Add Group - + Engadir grupo @@ -873,7 +873,7 @@ No servers yet - + Ainda non hai servidores @@ -902,12 +902,12 @@ Groups - + Grupos Servers - + Servidores @@ -1101,55 +1101,55 @@ Insert - + Insirir username: %u - + nome de usuario: %u username@: %U - + nome de usuario/a: %U remote host: %h - + host remoto: %h session number: %# - + número de sesión: %# title set by shell: %w - + título definido por shell: %w program name: %n - + nome de programa: %n current directory (short): %d - + directorio actual (curto): %d current directory (long): %D - + directorio actual (longo): %D local host: %h - + host local: %h @@ -1190,7 +1190,7 @@ New tab - + Nova lapela From 2712168f56377e338a6b0adec095d639c3c0628e Mon Sep 17 00:00:00 2001 From: Hualet Wang Date: Sun, 29 Sep 2024 20:52:05 +0800 Subject: [PATCH 02/13] chore: remove useless unit tests (#361) remove useless unit tests, low-carbon and environmentally friendly --- CMakeLists.txt | 7 +- tests/CMakeLists.txt | 157 -- tests/cmake-lcov-test.sh | 31 - .../terminalwidget/lib/qtermwidget_export.h | 46 - tests/src/common/ut_defines.h | 91 - tests/src/common/ut_settingio_test.cpp | 97 - tests/src/common/ut_settingio_test.h | 33 - tests/src/common/ut_stub_defines.h | 377 ---- tests/src/common/ut_utils_test.cpp | 383 ---- tests/src/common/ut_utils_test.h | 32 - .../ut_customcommandoptdlg_test.cpp | 311 ---- .../ut_customcommandoptdlg_test.h | 35 - .../ut_customcommandpanel_test.cpp | 142 -- .../ut_customcommandplugin_test.cpp | 83 - .../ut_customcommandplugin_test.h | 31 - .../ut_customcommandsearchrstpanel_test.cpp | 100 -- .../ut_customcommandsearchrstpanel_test.h | 37 - .../ut_customcommandtoppanel_test.cpp | 73 - .../ut_customcommandtoppanel_test.h | 36 - .../encodeplugin/ut_encodelistview_test.cpp | 245 --- .../src/encodeplugin/ut_encodepanel_test.cpp | 52 - tests/src/encodeplugin/ut_encodepanel_test.h | 37 - tests/src/main/main.cpp | 47 - tests/src/main/ut_dbusmanager_test.cpp | 89 - tests/src/main/ut_dbusmanager_test.h | 30 - tests/src/main/ut_mainwindow_test.cpp | 1579 ----------------- tests/src/main/ut_mainwindow_test.h | 70 - tests/src/main/ut_service_test.cpp | 380 ---- tests/src/main/ut_service_test.h | 35 - .../src/main/ut_terminalapplication_test.cpp | 114 -- tests/src/main/ut_terminalapplication_test.h | 31 - tests/src/main/ut_termproperties_test.cpp | 63 - tests/src/main/ut_termproperties_test.h | 29 - tests/src/main/ut_windowsmanager_test.cpp | 225 --- tests/src/main/ut_windowsmanager_test.h | 38 - .../ut_remotemanagementpanel_test.cpp | 378 ---- .../ut_remotemanagementpanel_test.h | 36 - .../ut_remotemanagementplugn_test.cpp | 205 --- .../ut_remotemanagementplugn_test.h | 36 - .../ut_remotemanagementsearchpanel_test.cpp | 289 --- .../ut_remotemanagementsearchpanel_test.h | 36 - .../ut_remotemanagementtoppanel_test.cpp | 220 --- .../ut_remotemanagementtoppanel_test.h | 36 - .../ut_serverconfiggrouppanel_test.cpp | 248 --- .../ut_serverconfiggrouppanel_test.h | 36 - .../ut_serverconfigmanager_test.cpp | 225 --- .../ut_serverconfigmanager_test.h | 30 - .../ut_serverconfigoptdlg_test.cpp | 174 -- .../remotemanage/ut_serverconfigoptdlg_test.h | 28 - tests/src/settings/ut_newdspinbox_test.cpp | 81 - tests/src/settings/ut_newdspinbox_test.h | 31 - tests/src/settings/ut_settings_test.cpp | 230 --- .../src/settings/ut_shortcutmanager_test.cpp | 136 -- tests/src/settings/ut_shortcutmanager_test.h | 33 - tests/src/stub.h | 295 --- .../ut_customthemesettingdialog_test.cpp | 357 ---- .../views/ut_customthemesettingdialog_test.h | 36 - tests/src/views/ut_focusframe_test.cpp | 88 - tests/src/views/ut_focusframe_test.h | 29 - tests/src/views/ut_iconbutton_test.cpp | 103 -- tests/src/views/ut_iconbutton_test.h | 29 - tests/src/views/ut_itemwidget_test.cpp | 365 ---- tests/src/views/ut_itemwidget_test.h | 29 - tests/src/views/ut_listview_test.cpp | 326 ---- tests/src/views/ut_listview_test.h | 29 - tests/src/views/ut_pagesearchbar_test.cpp | 131 -- tests/src/views/ut_pagesearchbar_test.h | 37 - tests/src/views/ut_tabbar_test.cpp | 546 ------ tests/src/views/ut_tabbar_test.h | 33 - tests/src/views/ut_tabrenamedlg_test.cpp | 31 - tests/src/views/ut_tabrenamedlg_test.h | 32 - tests/src/views/ut_tabrenamewidget_test.cpp | 73 - tests/src/views/ut_tabrenamewidget_test.h | 30 - tests/src/views/ut_termwidget_test.cpp | 1002 ----------- tests/src/views/ut_termwidget_test.h | 30 - tests/src/views/ut_termwidgetpage_test.cpp | 468 ----- tests/src/views/ut_termwidgetpage_test.h | 35 - tests/src/views/ut_titlebar_test.cpp | 89 - tests/src/views/ut_titlebar_test.h | 28 - tests/test-prj-running.sh | 40 - 80 files changed, 1 insertion(+), 11944 deletions(-) delete mode 100644 tests/CMakeLists.txt delete mode 100644 tests/cmake-lcov-test.sh delete mode 100644 tests/src/3rdparty/terminalwidget/lib/qtermwidget_export.h delete mode 100644 tests/src/common/ut_defines.h delete mode 100644 tests/src/common/ut_settingio_test.cpp delete mode 100644 tests/src/common/ut_settingio_test.h delete mode 100644 tests/src/common/ut_stub_defines.h delete mode 100644 tests/src/common/ut_utils_test.cpp delete mode 100644 tests/src/common/ut_utils_test.h delete mode 100644 tests/src/customcommand/ut_customcommandoptdlg_test.cpp delete mode 100644 tests/src/customcommand/ut_customcommandoptdlg_test.h delete mode 100644 tests/src/customcommand/ut_customcommandpanel_test.cpp delete mode 100644 tests/src/customcommand/ut_customcommandplugin_test.cpp delete mode 100644 tests/src/customcommand/ut_customcommandplugin_test.h delete mode 100644 tests/src/customcommand/ut_customcommandsearchrstpanel_test.cpp delete mode 100644 tests/src/customcommand/ut_customcommandsearchrstpanel_test.h delete mode 100644 tests/src/customcommand/ut_customcommandtoppanel_test.cpp delete mode 100644 tests/src/customcommand/ut_customcommandtoppanel_test.h delete mode 100644 tests/src/encodeplugin/ut_encodelistview_test.cpp delete mode 100644 tests/src/encodeplugin/ut_encodepanel_test.cpp delete mode 100644 tests/src/encodeplugin/ut_encodepanel_test.h delete mode 100644 tests/src/main/main.cpp delete mode 100644 tests/src/main/ut_dbusmanager_test.cpp delete mode 100644 tests/src/main/ut_dbusmanager_test.h delete mode 100644 tests/src/main/ut_mainwindow_test.cpp delete mode 100644 tests/src/main/ut_mainwindow_test.h delete mode 100644 tests/src/main/ut_service_test.cpp delete mode 100644 tests/src/main/ut_service_test.h delete mode 100644 tests/src/main/ut_terminalapplication_test.cpp delete mode 100644 tests/src/main/ut_terminalapplication_test.h delete mode 100644 tests/src/main/ut_termproperties_test.cpp delete mode 100644 tests/src/main/ut_termproperties_test.h delete mode 100644 tests/src/main/ut_windowsmanager_test.cpp delete mode 100644 tests/src/main/ut_windowsmanager_test.h delete mode 100644 tests/src/remotemanage/ut_remotemanagementpanel_test.cpp delete mode 100644 tests/src/remotemanage/ut_remotemanagementpanel_test.h delete mode 100644 tests/src/remotemanage/ut_remotemanagementplugn_test.cpp delete mode 100644 tests/src/remotemanage/ut_remotemanagementplugn_test.h delete mode 100644 tests/src/remotemanage/ut_remotemanagementsearchpanel_test.cpp delete mode 100644 tests/src/remotemanage/ut_remotemanagementsearchpanel_test.h delete mode 100644 tests/src/remotemanage/ut_remotemanagementtoppanel_test.cpp delete mode 100644 tests/src/remotemanage/ut_remotemanagementtoppanel_test.h delete mode 100644 tests/src/remotemanage/ut_serverconfiggrouppanel_test.cpp delete mode 100644 tests/src/remotemanage/ut_serverconfiggrouppanel_test.h delete mode 100644 tests/src/remotemanage/ut_serverconfigmanager_test.cpp delete mode 100644 tests/src/remotemanage/ut_serverconfigmanager_test.h delete mode 100644 tests/src/remotemanage/ut_serverconfigoptdlg_test.cpp delete mode 100644 tests/src/remotemanage/ut_serverconfigoptdlg_test.h delete mode 100644 tests/src/settings/ut_newdspinbox_test.cpp delete mode 100644 tests/src/settings/ut_newdspinbox_test.h delete mode 100644 tests/src/settings/ut_settings_test.cpp delete mode 100644 tests/src/settings/ut_shortcutmanager_test.cpp delete mode 100644 tests/src/settings/ut_shortcutmanager_test.h delete mode 100644 tests/src/stub.h delete mode 100644 tests/src/views/ut_customthemesettingdialog_test.cpp delete mode 100644 tests/src/views/ut_customthemesettingdialog_test.h delete mode 100644 tests/src/views/ut_focusframe_test.cpp delete mode 100644 tests/src/views/ut_focusframe_test.h delete mode 100644 tests/src/views/ut_iconbutton_test.cpp delete mode 100644 tests/src/views/ut_iconbutton_test.h delete mode 100644 tests/src/views/ut_itemwidget_test.cpp delete mode 100644 tests/src/views/ut_itemwidget_test.h delete mode 100644 tests/src/views/ut_listview_test.cpp delete mode 100644 tests/src/views/ut_listview_test.h delete mode 100644 tests/src/views/ut_pagesearchbar_test.cpp delete mode 100644 tests/src/views/ut_pagesearchbar_test.h delete mode 100644 tests/src/views/ut_tabbar_test.cpp delete mode 100644 tests/src/views/ut_tabbar_test.h delete mode 100644 tests/src/views/ut_tabrenamedlg_test.cpp delete mode 100644 tests/src/views/ut_tabrenamedlg_test.h delete mode 100644 tests/src/views/ut_tabrenamewidget_test.cpp delete mode 100644 tests/src/views/ut_tabrenamewidget_test.h delete mode 100644 tests/src/views/ut_termwidget_test.cpp delete mode 100644 tests/src/views/ut_termwidget_test.h delete mode 100644 tests/src/views/ut_termwidgetpage_test.cpp delete mode 100644 tests/src/views/ut_termwidgetpage_test.h delete mode 100644 tests/src/views/ut_titlebar_test.cpp delete mode 100644 tests/src/views/ut_titlebar_test.h delete mode 100644 tests/test-prj-running.sh diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c6fcb401..d71b2aba5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -276,9 +276,4 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/deepin-terminal install(FILES ${DTNG_QM_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/deepin-terminal/translations) install(DIRECTORY src/assets/deepin-terminal - DESTINATION ${CMAKE_INSTALL_DATADIR}/deepin-manual/manual-assets/application/) - -# Unit Test -if (CMAKE_BUILD_TYPE MATCHES Debug) - add_subdirectory(tests) -endif() + DESTINATION ${CMAKE_INSTALL_DATADIR}/deepin-manual/manual-assets/application/) \ No newline at end of file diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt deleted file mode 100644 index d51eaab8f..000000000 --- a/tests/CMakeLists.txt +++ /dev/null @@ -1,157 +0,0 @@ -# SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -# -# SPDX-License-Identifier: GPL-3.0-or-later - -project(deepin-terminal-test) - -configure_file(../src/environments.h.in environments.h @ONLY) - -# 设置添加gocv相关信息的输出 -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -fprofile-arcs -ftest-coverage -fno-inline") -#安全编译参数 -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fstack-protector-strong -D_FORTITY_SOURCE=1 -z noexecstack -pie -fPIC -z lazy") - -set(CMAKE_INCLUDE_CURRENT_DIR ON) -set(PROJECT_NAME_TEST ${PROJECT_NAME}) - -add_compile_options(-fno-access-control) - -find_package(Qt5Test REQUIRED) -find_package(GTest REQUIRED) - -add_definitions(${Qt5Test_DEFINITIONS}) -add_definitions(-D UNIT_TEST) - -include_directories(${GTEST_INCLUDE_DIRS}) -include_directories("src/common") -include_directories("src/customcommand") -include_directories("src/encodeplugin") -include_directories("src/remotemanage") -include_directories("src/views") -include_directories("src/main") -include_directories("src/3rdparty/terminalwidget/lib/") -include_directories("src/3rdparty/terminalwidget/lib/history") -include_directories("src/3rdparty/terminalwidget/lib/history/compact") - -FILE(GLOB allSource - ../src/common/*.cpp - ../src/customcommand/*.cpp - ../src/encodeplugin/*.cpp - ../src/remotemanage/*.cpp - ../src/settings/*.cpp - ../src/views/*.cpp - ../src/main/service.cpp - ../src/main/windowsmanager.cpp - ../src/main/mainwindow.cpp - ../src/main/terminalapplication.cpp - ../src/main/termproperties.cpp - ../src/main/dbusmanager.cpp -) - -FILE(GLOB allHeaders - ../src/common/*.h - ../src/customcommand/*.h - ../src/encodeplugin/*.h - ../src/main/*.h - ../src/remotemanage/*.h - ../src/settings/*.h - ../src/views/*.h -) - -FILE(GLOB allThirdPartySource - ../3rdparty/terminalwidget/lib/*.cpp - ../3rdparty/terminalwidget/lib/history/*.cpp - ../3rdparty/terminalwidget/lib/history/compact/*.cpp -) - -FILE(GLOB qrcFiles - ../src/assets/resources.qrc -) - -FILE(GLOB allTestHeader - src/common/*.h - src/customcommand/*.h - src/encodeplugin/*.h - src/main/*.h - src/remotemanage/*.h - src/settings/*.h - src/views/*.h - src/3rdparty/terminalwidget/lib/*.h -) - -FILE(GLOB allTestSource - src/common/*.cpp - src/customcommand/*.cpp - src/encodeplugin/*.cpp - src/main/*.cpp - src/remotemanage/*.cpp - src/settings/*.cpp - src/views/*.cpp -) - -set(UI ../3rdparty/terminalwidget/lib/SearchBar.ui) -qt5_wrap_ui(UI_SRCS ${UI}) - -set(KB_LAYOUT_DIR "${CMAKE_INSTALL_FULL_DATADIR}/${TERMINALWIDGET_LIBRARY_NAME}/kb-layouts") -set(COLORSCHEMES_DIR "${CMAKE_INSTALL_FULL_DATADIR}/${TERMINALWIDGET_LIBRARY_NAME}/color-schemes") -set(TRANSLATIONS_DIR "${CMAKE_INSTALL_FULL_DATADIR}/${TERMINALWIDGET_LIBRARY_NAME}/translations") - -add_definitions("-DHAVE_POSIX_OPENPT") -add_definitions("-DKB_LAYOUT_DIR=\"${KB_LAYOUT_DIR}\"") -add_definitions("-DCOLORSCHEMES_DIR=\"${COLORSCHEMES_DIR}\"") -add_definitions("-DTRANSLATIONS_DIR=\"${TRANSLATIONS_DIR}\"") - -add_executable(${PROJECT_NAME_TEST} - ${UI_SRCS} - ${allThirdPartySource} - ${allHeaders} - ${allSource} - ${allTestHeader} - ${allTestSource} - ${qrcFiles} - ${uiFiles} -) - -target_include_directories(${PROJECT_NAME_TEST} PUBLIC ${Qt5Widgets_LIBRARIES} - ${Qt5DBus_LIBRARIES} - ${Qt5TestLib_LIBRARIES} - ${Qt5Widgets_PRIVATE_INCLUDE_DIRS} - ${Qt5Core_PRIVATE_INCLUDE_DIRS} - ${Qt5Gui_PRIVATE_INCLUDE_DIRS} - ${PROJECT_BINARY_DIR} - ${DtkWidget_INCLUDE_DIRS} - ${DtkCore_LIBRARIES} - ${DtkGUI_INCLUDE_DIRS} - ${GOBJECT_INCLUDE_DIRS} - ${LIBSECRET_INCLUDE_DIRS}) - -target_link_libraries(${PROJECT_NAME_TEST} PUBLIC ${LINK_LIBS} Qt5::Test ${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARIES} -lpthread -lm) - -#------------------------------ 创建'make test'指令--------------------------------------- -add_custom_target(test -# #执行mkdir -p 创建 coverageResult -# COMMAND mkdir -p coverageResult -# #设置工作目录 -# WORKING_DIRECTORY ${CMAKE_BINARY_DIR} -) - -add_custom_command(TARGET test - COMMAND ${CMAKE_BINARY_DIR}/tests/${PROJECT_NAME_TEST} -) - -#'make test'命令依赖与我们的测试程序 -add_dependencies(test ${PROJECT_NAME_TEST}) - -#ASAN安全性检测标志 -set(CMAKE_SAFETYTEST "${CMAKE_SAFETYTEST_ARG}") -if(CMAKE_SAFETYTEST STREQUAL "") - set(CMAKE_SAFETYTEST "CMAKE_SAFETYTEST_ARG_OFF") -endif() - -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D${CMAKE_SAFETYTEST}") -if(CMAKE_SAFETYTEST STREQUAL "CMAKE_SAFETYTEST_ARG_ON") - #安全测试选项 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -fsanitize=undefined,address -O2") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -fsanitize=undefined,address -O2") -endif() - diff --git a/tests/cmake-lcov-test.sh b/tests/cmake-lcov-test.sh deleted file mode 100644 index 7ed8fb360..000000000 --- a/tests/cmake-lcov-test.sh +++ /dev/null @@ -1,31 +0,0 @@ -# SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -# -# SPDX-License-Identifier: GPL-3.0-or-later - -utdir=build-ut -rm -r $utdir -rm -r ../$utdir -mkdir ../$utdir -cd ../$utdir - -cmake -DCMAKE_BUILD_TYPE=Debug .. -make -j16 - -workdir=$(cd ../$(dirname $0)/$utdir; pwd) - -app_name=deepin-terminal-test - -mkdir -p report - -./tests/$app_name --gtest_output=xml:./report/report.xml - -lcov -d $workdir -c -o ./report/coverage.info - -#以下几行是过滤一些我们不感兴趣的文件的覆盖率信息 -lcov --extract ./report/coverage.info '*/src/*' -o ./report/coverage.info - -lcov --remove ./report/coverage.info '*/tests/*' -o ./report/coverage.info - -genhtml -o ./report ./report/coverage.info - -exit 0 diff --git a/tests/src/3rdparty/terminalwidget/lib/qtermwidget_export.h b/tests/src/3rdparty/terminalwidget/lib/qtermwidget_export.h deleted file mode 100644 index a457e3b18..000000000 --- a/tests/src/3rdparty/terminalwidget/lib/qtermwidget_export.h +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef TERMINALWIDGET_EXPORT_H -#define TERMINALWIDGET_EXPORT_H - -#ifdef TERMINALWIDGET5_STATIC_DEFINE -# define TERMINALWIDGET_EXPORT -# define TERMINALWIDGET5_NO_EXPORT -#else -# ifndef TERMINALWIDGET_EXPORT -# ifdef terminalwidget5_EXPORTS - /* We are building this library */ -# define TERMINALWIDGET_EXPORT __attribute__((visibility("default"))) -# else - /* We are using this library */ -# define TERMINALWIDGET_EXPORT __attribute__((visibility("default"))) -# endif -# endif - -# ifndef TERMINALWIDGET5_NO_EXPORT -# define TERMINALWIDGET5_NO_EXPORT __attribute__((visibility("hidden"))) -# endif -#endif - -#ifndef TERMINALWIDGET5_DEPRECATED -# define TERMINALWIDGET5_DEPRECATED __attribute__ ((__deprecated__)) -#endif - -#ifndef TERMINALWIDGET5_DEPRECATED_EXPORT -# define TERMINALWIDGET5_DEPRECATED_EXPORT TERMINALWIDGET_EXPORT TERMINALWIDGET5_DEPRECATED -#endif - -#ifndef TERMINALWIDGET5_DEPRECATED_NO_EXPORT -# define TERMINALWIDGET5_DEPRECATED_NO_EXPORT TERMINALWIDGET5_NO_EXPORT TERMINALWIDGET5_DEPRECATED -#endif - -#if 0 /* DEFINE_NO_DEPRECATED */ -# ifndef TERMINALWIDGET5_NO_DEPRECATED -# define TERMINALWIDGET5_NO_DEPRECATED -# endif -#endif - -#endif /* TERMINALWIDGET_EXPORT_H */ diff --git a/tests/src/common/ut_defines.h b/tests/src/common/ut_defines.h deleted file mode 100644 index 8cbc29ca9..000000000 --- a/tests/src/common/ut_defines.h +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_DEFINES_TEST_H -#define UT_DEFINES_TEST_H - -//UI测试等待时间间隔 -#define UT_WAIT_TIME 10 - -//是否开启UI测试 -#define ENABLE_UI_TEST - -#define UT_UTILS_TEST -#define UT_SETTINGIO_TEST - -#define UT_ENCODELISTVIEW_TEST -#define UT_ENCODEPANEL_TEST - -//#define UT_SWITCHTHEMEMENU_TEST -//#define UT_MAINWINDOW_TEST -#define UT_SERVICE_TEST -#define UT_TERMPROPERTIES_TEST -#define UT_TERMINALAPPLICATION_TEST -#define UI_WINDOWSMANAGER_TEST - -#define UT_SERVERCONFIGMANAGER_TEST -#define UT_SERVERCONFIGGROUPPANEL_TEST -#define UT_REMOTEMANAGEMENTTOPPANEL_TEST -#define UT_REMOTEMANAGEMENTSEARCHPANEL_TEST -#define UT_REMOTEMANAGEMENTPLUGIN_TEST -#define UT_REMOTEMANAGEMENTPANEL_TEST -#define UT_SERVERCONFIGOPTDLG_TEST - -#define UT_SETTINGS_TEST -#define UT_SHORTCUTMANAGER_TEST - -#define UT_THEMELISTVIEW_TEST -#define UT_THEMEPANEL_TEST - -#define UT_LISTVIEW_TEST -#define UT_TABBAR_TEST -#define UT_ICONBUTTON_TEST -#define UT_MYICONBUTTON_TEST -#define UT_FOCUSFRAME_TEST -#define UT_ITEMWIDGET_TEST -#define UT_MYICONBUTTON_TEST -#define UT_OPERATIONCONFIRMDLG_TEST -#define UT_TERMINPUTDIALOG_TEST -#define UT_NEWDSPINBOX_TEST -#define UT_CUSTOMTHEMESETTINGDIALOG_TEST -#define UT_TITLE_STYLE_RADIOBUTTON_TEST -#define UT_COLOR_PUSHBUTTON_TEST - -#define UT_DBUSMANAGER_TEST - -#define UT_TERMWIDGETPAGE_TEST -#define UT_TERMWIDGET_TEST -#define UT_TITLEBAR_TEST -#define UT_PAGESEARCHBAR_TEST - -#define UT_CUSTOMCOMMANDOPTDLG_TEST -#define UT_CUSTOMCOMMANDPANEL_TEST -#define UT_CUSTOMCOMMANDPLUGIN_TEST -#define UT_CUSTOMCOMMANDSEARCHRSTPANEL_TEST -#define UT_CUSTOMCOMMANDTOPPANEL_TEST - -#define UT_TERMARGUMENTPARSER_TEST - -//第三方库 QTermWidget 单元测试开关 -#define UT_TERMINALDISPLAY_TEST -#define UT_VT102EMULATION_TEST -#define UT_SHELLCOMMAND_TEST -#define UT_SESSION_TEST -#define UT_SCREEN_TEST -#define UT_PTY_TEST -#define UT_HISTORY_TEST -#define UT_CHARACTER_TEST -#define UT_CHARACTERCOLOR_TEST -#define UT_COLORSCHEME_TEST -#define UT_QTERMWIDGET_TEST -#define UT_FILTER_TEST -#define UT_BLOCKARRAY_TEST -#define UT_SEARCHBAR_TEST -#define UT_KEYBOARDTRANSLATOR_TEST -#define UT_KPROCESS_TEST -#define UT_KPTY_TEST - -#endif // UT_DEFINES_TEST_H - diff --git a/tests/src/common/ut_settingio_test.cpp b/tests/src/common/ut_settingio_test.cpp deleted file mode 100644 index 5818d148c..000000000 --- a/tests/src/common/ut_settingio_test.cpp +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd. -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_settingio_test.h" -#include "settingio.h" - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include - -//DTK相关头文件 -#include - -//Google GTest -#include - -//system -#include -#include - -DWIDGET_USE_NAMESPACE - -UT_SettingIO_Test::UT_SettingIO_Test() -{ - -} - -void UT_SettingIO_Test::SetUp() -{ -} - -void UT_SettingIO_Test::TearDown() -{ -} - -#ifdef UT_SETTINGIO_TEST - -/******************************************************************************* - 1. @函数: canTransferTest - 2. @作者: ut000125 孙成熙 - 3. @日期: 2020-12-15 - 4. @说明: canTransfer函数测试 -*******************************************************************************/ -TEST_F(UT_SettingIO_Test, canTransferTest) -{ - //"%U4E2D%U56FD%U4EBA" Unicode编码 对应中文为"中国人" - QString strUnicode = "%U4E2D%U56FD%U4EBA"; - QString strResut = SettingIO::canTransfer(strUnicode); - EXPECT_EQ(strResut, QString("中国人")); - qDebug() << strResut; - - //"%%E4%B8%AD%E5%9B%BD%E4%BA%BA"Latin1格式的字符串 编码 对应中文为"中国人" - QString strLatin1 = "%E4%B8%AD%E5%9B%BD%E4%BA%BA"; - strResut = SettingIO::canTransfer(strLatin1); - EXPECT_EQ(strResut, QString("中国人")); - qDebug() << strResut; -} - -/******************************************************************************* - 1. @函数: canTransferTest - 2. @作者: ut000125 孙成熙 - 3. @日期: 2020-12-15 - 4. @说明: escapedString函数测试 -*******************************************************************************/ -TEST_F(UT_SettingIO_Test, escapedStringTest) -{ - QString strTest = "a;b,c=d#e\\0"; - QString strResut = SettingIO::escapedString(strTest); - EXPECT_EQ(strResut, "\"a;b,c=d#e\\\\0\""); - qDebug() << strResut; - - strTest = "!@#$%^&*()-+=\???bB0\n\r\t\\\0\0"; - strResut = SettingIO::escapedString(strTest); - EXPECT_EQ(strResut, "\"!@#$%^&*()-+=???bB0\\n\\r\\t\\\\\""); - qDebug() << strResut; -} - -/******************************************************************************* - 1. @函数: unescapedStringTest - 2. @作者: ut000125 孙成熙 - 3. @日期: 2020-12-15 - 4. @说明: unescapedString函数测试 -*******************************************************************************/ -TEST_F(UT_SettingIO_Test, unescapedStringTest) -{ - QString strTest = "123\1?\\t\\x1Bb\a\t "; - QString strResut = SettingIO::unescapedString(strTest); - EXPECT_EQ(strResut, "123\u0001?\tƻ\u0007\t "); - qDebug() << strResut; -} - -#endif diff --git a/tests/src/common/ut_settingio_test.h b/tests/src/common/ut_settingio_test.h deleted file mode 100644 index d7a84029f..000000000 --- a/tests/src/common/ut_settingio_test.h +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd. -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_SETTINGIO_TEST_H -#define UT_SETTINGIO_TEST_H - -#include "ut_defines.h" - -#include -/******************************************************************************* - 1. @类名: UT_SettingIO_Test - 2. @作者: ut000125 孙成熙 - 3. @日期: 2020-12-15 - 4. @说明: SettingIO类测试 -*******************************************************************************/ -class UT_SettingIO_Test : public ::testing::Test -{ -public: - UT_SettingIO_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); -}; - -#endif // UT_SETTINGIO_TEST_H diff --git a/tests/src/common/ut_stub_defines.h b/tests/src/common/ut_stub_defines.h deleted file mode 100644 index 5eb949e4c..000000000 --- a/tests/src/common/ut_stub_defines.h +++ /dev/null @@ -1,377 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_STUB_DEFINES_H -#define UT_STUB_DEFINES_H - -#include "../stub.h" - -#include -#include -#include -#include - -class ut_stub_defines -{ -public: - ut_stub_defines(); -}; - -/** - * 本文件为打桩函数的相关整理,通过RESULT来判断 函数是否被触发 - * ut_CLASS_function 如:ut_QDBusMessage_call 函数:打桩函数 - * ut_CLASS_function_hasRuned 如:ut_QDBusMessage_call_hasRuned 变量:函数是否触发 - * UT_STUB_CLASS_FUNCTION_CREATE 如:UT_STUB_QDBUS_CALL_CREATE 宏:实例化打桩函数 - * UT_STUB_CLASS_FUNCTION_APPEND 如:UT_STUB_QDBUS_CALL_APPEND 宏:只添加stub.set部分 - * UT_STUB_CLASS_FUNCTION_RESULT 如:UT_STUB_QDBUS_CALL_RESULT 宏:函数是否被触发 - * UT_STUB_CLASS_FUNCTION_PREPARE 如:UT_STUB_QDBUS_CALL_PREPARE 宏:初始化hasRuned变量 - */ - -/******** Add by ut003135 Begin***************/ -static bool ut_QDBusMessage_call_hasRuned = false; -static QDBusMessage ut_QDBusMessage_call(const QDBusMessage &, QDBus::CallMode, - int){ - ut_QDBusMessage_call_hasRuned = true; - return QDBusMessage(); -} -#define UT_STUB_QDBUS_CALL_APPEND \ - stub.set((QDBusMessage (QDBusConnection::*)(QDBusMessage, QDBus::CallMode,int) const)ADDR(QDBusConnection, call),\ - ut_QDBusMessage_call);\ - ut_QDBusMessage_call_hasRuned = false; - -#define UT_STUB_QDBUS_CALL_CREATE\ - Stub stub;\ - UT_STUB_QDBUS_CALL_APPEND - -#define UT_STUB_QDBUS_CALL_RESULT ut_QDBusMessage_call_hasRuned -#define UT_STUB_QDBUS_CALL_PREPARE ut_QDBusMessage_call_hasRuned = false; -/******** Add by ut003135 End***************/ - -/******** Add by ut003135 Begin***************/ -static bool ut_QDBusConnection_connect_hasRuned = false; -static bool ut_QDBusConnection_connect(const QString &, const QString &, const QString & , const QString &, QObject *, const char *){ - ut_QDBusConnection_connect_hasRuned = true; - return true; -} -#define UT_STUB_QDBUS_CONNECT_APPEND \ - stub.set((bool (QDBusConnection::*)(const QString &, const QString &, const QString & , const QString &, QObject *, const char *) )ADDR(QDBusConnection, connect),\ - ut_QDBusConnection_connect);\ - ut_QDBusConnection_connect_hasRuned = false; - -#define UT_STUB_QDBUS_CONNECT_CREATE\ - Stub stub;\ - UT_STUB_QDBUS_CONNECT_APPEND - -#define UT_STUB_QDBUS_CONNECT_RESULT ut_QDBusConnection_connect_hasRuned -#define UT_STUB_QDBUS_CONNECT_PREPARE ut_QDBusConnection_connect_hasRuned = false; -/******** Add by ut003135 End***************/ - - -/******** Add by ut003135 Begin***************/ -static bool ut_QWidget_setFocus_hasRuned = false; -static void ut_QWidget_setFocus(Qt::FocusReason){ - ut_QWidget_setFocus_hasRuned = true; -} -#define UT_STUB_QWIDGET_SETFOCUS_APPEND\ - stub.set((void (QWidget::*)(Qt::FocusReason))ADDR(QWidget, setFocus), ut_QWidget_setFocus);\ - ut_QWidget_setFocus_hasRuned = false;\ - -#define UT_STUB_QWIDGET_SETFOCUS_CREATE\ - Stub stub;\ - UT_STUB_QWIDGET_SETFOCUS_APPEND - -#define UT_STUB_QWIDGET_SETFOCUS_RESULT ut_QWidget_setFocus_hasRuned -#define UT_STUB_QWIDGET_SETFOCUS_PREPARE ut_QWidget_setFocus_hasRuned = false; -/******** Add by ut003135 End***************/ - -/******** Add by ut003135 Begin***************/ -static bool ut_QWidget_update_hasRuned = false; -static void ut_QWidget_update(){ - ut_QWidget_update_hasRuned = true; -} -#define UT_STUB_QWIDGET_UPDATES_APPEND\ - stub.set((void (QWidget::*)())ADDR(QWidget, update), ut_QWidget_update);\ - ut_QWidget_update_hasRuned = false;\ - -#define UT_STUB_QWIDGET_UPDATES_CREATE\ - Stub stub;\ - UT_STUB_QWIDGET_UPDATES_APPEND - -#define UT_STUB_QWIDGET_UPDATES_RESULT ut_QWidget_update_hasRuned -#define UT_STUB_QWIDGET_UPDATES_PREPARE ut_QWidget_update_hasRuned = false; -/******** Add by ut003135 End***************/ - - -/******** Add by ut003135 Begin***************/ -static bool ut_QWidget_hasFocus_hasRuned = false; -static bool ut_QWidget_hasFocus(){ - ut_QWidget_hasFocus_hasRuned = true; - return true; -} -#define UT_STUB_QWIDGET_HASFOCUS_APPEND\ - stub.set((bool (QWidget::*)())ADDR(QWidget, hasFocus), ut_QWidget_hasFocus);\ - ut_QWidget_hasFocus_hasRuned = false;\ - -#define UT_STUB_QWIDGET_HASFOCUS_CREATE\ - Stub stub;\ - UT_STUB_QWIDGET_HASFOCUS_APPEND - -#define UT_STUB_QWIDGET_HASFOCUS_RESULT ut_QWidget_hasFocus_hasRuned -#define UT_STUB_QWIDGET_HASFOCUS_PREPARE ut_QWidget_hasFocus_hasRuned = false; -/******** Add by ut003135 End***************/ - - -/******** Add by ut003135 Begin***************/ -static bool ut_QWidget_isVisible_hasRuned = false; -static bool ut_QWidget_isVisible(){ - ut_QWidget_isVisible_hasRuned = true; - return true; -} - -#define UT_STUB_QWIDGET_ISVISIBLE_APPEND\ - stub.set((bool (QWidget::*)() const)ADDR(QWidget, isVisible), ut_QWidget_isVisible);\ - ut_QWidget_isVisible_hasRuned = false;\ - -#define UT_STUB_QWIDGET_ISVISIBLE_CREATE\ - Stub stub;\ - UT_STUB_QWIDGET_ISVISIBLE_APPEND - -#define UT_STUB_QWIDGET_ISVISIBLE_RESULT ut_QWidget_isVisible_hasRuned -#define UT_STUB_QWIDGET_ISVISIBLE_PREPARE ut_QWidget_isVisible_hasRuned = false; -/******** Add by ut003135 End***************/ - -/******** Add by ut003135 Begin***************/ -static bool ut_QProcess_startDetached_hasRuned = false; -static bool ut_QProcess_startDetached(qint64 *){ - ut_QProcess_startDetached_hasRuned = true; - return true; -} - -#define UT_STUB_QPROCESS_STARTDETACHED_APPEND\ - stub.set((bool (QProcess::*)(qint64 *))ADDR(QProcess, startDetached), ut_QProcess_startDetached);\ - ut_QProcess_startDetached_hasRuned = false;\ - -#define UT_STUB_QPROCESS_STARTDETACHED_CREATE\ - Stub stub;\ - UT_STUB_QPROCESS_STARTDETACHED_APPEND - -#define UT_STUB_QPROCESS_STARTDETACHED_RESULT ut_QProcess_startDetached_hasRuned -#define UT_STUB_QPROCESS_STARTDETACHED_PREPARE ut_QProcess_startDetached_hasRuned = false; -/******** Add by ut003135 End***************/ - - -/******** Add by ut003135 Begin***************/ -static bool ut_QWidget_setVisible_hasRuned = false; -static void ut_QWidget_setVisible(void *, bool){ - ut_QWidget_setVisible_hasRuned = true; -} -#define UT_STUB_QWIDGET_SETVISIBLE_APPEND\ - typedef void (*ut_QWidget_setVisible_ptr)(QWidget*, bool); \ - ut_QWidget_setVisible_ptr ptr = (ut_QWidget_setVisible_ptr)(&QWidget::setVisible); \ - stub.set(ptr, ut_QWidget_setVisible); \ - ut_QWidget_setVisible_hasRuned = false;\ - -#define UT_STUB_QWIDGET_SETVISIBLE_CREATE\ - Stub stub;\ - UT_STUB_QWIDGET_SETVISIBLE_APPEND - -#define UT_STUB_QWIDGET_SETVISIBLE_RESULT ut_QWidget_setVisible_hasRuned -#define UT_STUB_QWIDGET_SETVISIBLE_PREPARE ut_QWidget_setVisible_hasRuned = false; -/******** Add by ut003135 End***************/ - -/******** Add by ut003135 Begin***************/ -static bool ut_QDialog_open_hasRuned = false; -static void ut_QDialog_open(void *){ - ut_QDialog_open_hasRuned = true; -} -#define UT_STUB_QDIALOG_OPEN_APPEND\ - typedef void (*ut_QDialog_open_ptr)(QDialog*); \ - ut_QDialog_open_ptr ptr = (ut_QDialog_open_ptr)(&QDialog::open); \ - stub.set(ptr, ut_QDialog_open); \ - ut_QDialog_open_hasRuned = false;\ - -#define UT_STUB_QDIALOG_OPEN_CREATE\ - Stub stub;\ - UT_STUB_QDIALOG_OPEN_APPEND - -#define UT_STUB_QDIALOG_OPEN_RESULT ut_QDialog_open_hasRuned -#define UT_STUB_QDIALOG_OPEN_PREPARE ut_QDialog_open_hasRuned = false; -/******** Add by ut003135 End***************/ - - - -/******** Add by ut003135 Begin***************/ -static bool ut_QTranslator_translate_hasRuned = false; -static QString ut_QTranslator_translate(void *, const char *, const char *, const char *, int){ - ut_QTranslator_translate_hasRuned = true; - return QString(); -} - -typedef QString (*ut_QTranslator_translate_ptr)(QTranslator*, const char *, const char *, const char *, int) ; - -#define UT_STUB_QTRANSLATE_TRANSLATE_APPEND\ - ut_QTranslator_translate_ptr ptr = (ut_QTranslator_translate_ptr)(&QTranslator::translate); \ - stub.set(ptr, ut_QTranslator_translate); \ - ut_QTranslator_translate_hasRuned = false;\ - -#define UT_STUB_QTRANSLATE_TRANSLATE_CREATE\ - Stub stub;\ - UT_STUB_QTRANSLATE_TRANSLATE_APPEND - -#define UT_STUB_QTRANSLATE_TRANSLATE_RESULT ut_QTranslator_translate_hasRuned -#define UT_STUB_QTRANSLATE_TRANSLATE_PREPARE ut_QTranslator_translate_hasRuned = false; -/******** Add by ut003135 End***************/ - - -/******** Add by ut003135 Begin***************/ -static bool ut_QWidget_show_hasRuned = false; -static void ut_QWidget_show(){ - ut_QWidget_show_hasRuned = true; -} - -#define UT_STUB_QWIDGET_SHOW_APPEND\ - stub.set((void (QWidget::*)())ADDR(QWidget, show), ut_QWidget_show); \ - ut_QWidget_show_hasRuned = false;\ - -#define UT_STUB_QWIDGET_SHOW_CREATE\ - Stub stub;\ - UT_STUB_QWIDGET_SHOW_APPEND - -#define UT_STUB_QWIDGET_SHOW_RESULT ut_QWidget_show_hasRuned -#define UT_STUB_QWIDGET_SHOW_PREPARE ut_QWidget_show_hasRuned = false; -/******** Add by ut003135 End***************/ - - -/******** Add by ut003135 Begin***************/ -static bool ut_QUrl_isValid_hasRuned = false; -static bool ut_QUrl_isValid(){ - ut_QUrl_isValid_hasRuned = true; - return false; -} - -#define UT_STUB_QURL_ISVALID_APPEND\ - stub.set((bool (QUrl::*)() const)ADDR(QUrl, isValid), ut_QUrl_isValid); \ - ut_QUrl_isValid_hasRuned = false;\ - -#define UT_STUB_QURL_ISVALID_CREATE\ - Stub stub;\ - UT_STUB_QURL_ISVALID_APPEND - -#define UT_STUB_QURL_ISVALID_RESULT ut_QUrl_isValid_hasRuned -#define UT_STUB_QURL_ISVALID_PREPARE ut_QUrl_isValid_hasRuned = false; -/******** Add by ut003135 End***************/ - - -/******** Add by ut003135 Begin***************/ -static bool ut_QApplication_sendEvent_hasRuned = false; -static bool ut_QApplication_sendEvent(QObject *, QEvent *){ - ut_QApplication_sendEvent_hasRuned = true; - return false; -} - -#define UT_STUB_QAPPLICATION_SENDEVENT_APPEND\ - stub.set(ADDR(QApplication, sendEvent), ut_QApplication_sendEvent); \ - ut_QApplication_sendEvent_hasRuned = false;\ - -#define UT_STUB_QAPPLICATION_SENDEVENT_CREATE\ - Stub stub;\ - UT_STUB_QAPPLICATION_SENDEVENT_APPEND - -#define UT_STUB_QAPPLICATION_SENDEVENT_RESULT ut_QApplication_sendEvent_hasRuned -#define UT_STUB_QAPPLICATION_SENDEVENT_PREPARE ut_QApplication_sendEvent_hasRuned = false; -/******** Add by ut003135 End***************/ - -/******** Add by ut003135 Begin***************/ -static bool ut_DSettingsOption_value_hasRuned = false; -static QVariant ut_DSettingsOption_value(){ - ut_DSettingsOption_value_hasRuned = true; - return QVariant(); -} - -#define UT_STUB_DSETTINGSOPTION_VALUE_APPEND\ - stub.set(ADDR(DSettingsOption, value), ut_DSettingsOption_value); \ - ut_DSettingsOption_value_hasRuned = false;\ - -#define UT_STUB_DSETTINGSOPTION_VALUE_CREATE\ - Stub stub;\ - UT_STUB_DSETTINGSOPTION_VALUE_APPEND - -#define UT_STUB_DSETTINGSOPTION_VALUE_RESULT ut_DSettingsOption_value_hasRuned -#define UT_STUB_DSETTINGSOPTION_VALUE_PREPARE ut_DSettingsOption_value_hasRuned = false; -/******** Add by ut003135 End***************/ - - -/******** Add by ut003135 Begin***************/ -static bool ut_QDir_exists_hasRuned = false; -static bool ut_QDir_exists(){ - ut_QDir_exists_hasRuned = true; - return true; -} - -#define UT_STUB_QDIR_EXISTS_APPEND\ - stub.set((bool (QDir::*)()const)ADDR(QDir, exists), ut_QDir_exists); \ - ut_QDir_exists_hasRuned = false;\ - -#define UT_STUB_QDIR_EXISTS_CREATE\ - Stub stub;\ - UT_STUB_QDIR_EXISTS_APPEND - -#define UT_STUB_QDIR_EXISTS_RESULT ut_QDir_exists_hasRuned -#define UT_STUB_QDIR_EXISTS_PREPARE ut_QDir_exists_hasRuned = false; -/******** Add by ut003135 End***************/ - -/******** Add by ut003135 Begin***************/ -static bool ut_QFile_remove_hasRuned = false; -static bool ut_QFile_remove(){ - ut_QFile_remove_hasRuned = true; - return true; -} - -#define UT_STUB_QFILE_REMOVE_APPEND\ - stub.set((bool (QFile::*)())ADDR(QFile, remove), ut_QFile_remove); \ - ut_QFile_remove_hasRuned = false;\ - -#define UT_STUB_QFILE_REMOVE_CREATE\ - Stub stub;\ - UT_STUB_QFILE_REMOVE_APPEND - -#define UT_STUB_QFILE_REMOVE_RESULT ut_QFile_remove_hasRuned -#define UT_STUB_QFILE_REMOVE_PREPARE ut_QFile_remove_hasRuned = false; -/******** Add by ut003135 End***************/ - -/******** Add by ut003135 Begin***************/ -static bool ut_QObject_findChild_QWidget_hasRuned = false; -static QWidget *ut_QObject_findChild_QWidget(void* , const QString &, Qt::FindChildOptions) -{ - ut_QObject_findChild_QWidget_hasRuned = true; - return nullptr; -} - - -#define UT_STUB_QOBJECT_FINDCHILD_QWIDGET_APPEND\ - stub.set((QWidget *(QObject::*)(const QString &, Qt::FindChildOptions) const)ADDR(QObject, findChild), ut_QObject_findChild_QWidget); \ - ut_QObject_findChild_QWidget_hasRuned = false;\ - -#define UT_STUB_QOBJECT_FINDCHILD_QWIDGET_CREATE\ - Stub stub;\ - UT_STUB_QOBJECT_FINDCHILD_QWIDGET_APPEND - -#define UT_STUB_QOBJECT_FINDCHILD_QWIDGET_RESULT ut_QObject_findChild_QWidget_hasRuned -#define UT_STUB_QOBJECT_FINDCHILD_QWIDGET_PREPARE ut_QObject_findChild_QWidget_hasRuned = false; -/******** Add by ut003135 End***************/ - -#define DELETE_PTR(ptr) \ - if(ptr) {\ - delete ptr;\ - ptr = nullptr;\ - } - -#define DELETE_PTR_LATER(ptr) \ - if(ptr) {\ - ptr->deleteLater();\ - ptr = nullptr;\ - } - -#endif // UT_STUB_DEFINES_H diff --git a/tests/src/common/ut_utils_test.cpp b/tests/src/common/ut_utils_test.cpp deleted file mode 100644 index 0840410d9..000000000 --- a/tests/src/common/ut_utils_test.cpp +++ /dev/null @@ -1,383 +0,0 @@ -// Copyright (C) 2019 ~ 2023 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_utils_test.h" -#include "termproperties.h" -#include "ut_stub_defines.h" -#include "utils.h" - -//DTK相关头文件 -#include -#include - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include - -//Google GTest 相关头文件 -#include - -//system -#include -#include - -DWIDGET_USE_NAMESPACE - -UT_Utils_Test::UT_Utils_Test() -{ -} - -void UT_Utils_Test::SetUp() -{ -} - -void UT_Utils_Test::TearDown() -{ -} - -#ifdef UT_UTILS_TEST - -TEST_F(UT_Utils_Test, getQssContentEmpty) -{ - EXPECT_TRUE(Utils::getQssContent(QString()).isEmpty()); -} - -TEST_F(UT_Utils_Test, getQssContentNoFile) -{ - EXPECT_TRUE(Utils::getQssContent(QString("/opt/qt.qss")).isEmpty()); -} - -TEST_F(UT_Utils_Test, getQssContentOKFile) -{ - system("echo '' > qts.qss"); - EXPECT_FALSE(Utils::getQssContent(QString("./qts.qss")).isEmpty()); -} - - -TEST_F(UT_Utils_Test, getConfigPath) -{ - EXPECT_FALSE(Utils::getConfigPath().isEmpty()); -} - - -TEST_F(UT_Utils_Test, suffixList) -{ - EXPECT_FALSE(Utils::suffixList().isEmpty()); -} - -TEST_F(UT_Utils_Test, getRandString) -{ - EXPECT_FALSE(Utils::getRandString().isEmpty()); - - QString allGenText = ""; - for (int i = 0; i < 20; i++) { - QString str = Utils::getRandString(); - allGenText.append(str); - EXPECT_EQ(str.length(), 6); - //加个延时用于提高Utils::getRandString()函数生成的随机性,因为随机函数使用时间作为随机数的种子 - QTest::qWait(UT_WAIT_TIME); - } -} - -TEST_F(UT_Utils_Test, showDirDialog) -{ -#ifdef ENABLE_UI_TEST - QWidget parentWidget; - - //要自己退出,否则对话框窗口会一直阻塞 - QtConcurrent::run([ = ]() { - QTimer timer; - timer.setSingleShot(true); - - QEventLoop *loop = new QEventLoop; - - QObject::connect(&timer, &QTimer::timeout, [ = ]() { - loop->quit(); - qApp->exit(); - }); - - timer.start(1000); - loop->exec(); - - delete loop; - }); - - QString dirName = Utils::showDirDialog(&parentWidget); - EXPECT_GE(dirName.length(), 0); -#endif -} - -TEST_F(UT_Utils_Test, showFilesSelectDialog) -{ -#ifdef ENABLE_UI_TEST - QWidget *parentWidget = new QWidget; - - //要自己退出,否则对话框窗口会一直阻塞 - QtConcurrent::run([ = ]() { - QTimer timer; - timer.setSingleShot(true); - - QEventLoop *loop = new QEventLoop; - - QObject::connect(&timer, &QTimer::timeout, [ = ]() { - parentWidget->deleteLater(); - loop->quit(); - qApp->exit(); - }); - - timer.start(1000); - loop->exec(); - - delete loop; - }); - - QStringList fileList = Utils::showFilesSelectDialog(parentWidget); - EXPECT_GE(fileList.size(), 0); - - -#endif -} - -TEST_F(UT_Utils_Test, showExitConfirmDialogTab_CloseTypeTab) -{ -#ifdef ENABLE_UI_TEST - //要自己退出,否则对话框窗口会一直阻塞 - QtConcurrent::run([ = ]() { - QTimer timer; - timer.setSingleShot(true); - - QEventLoop *loop = new QEventLoop; - - QObject::connect(&timer, &QTimer::timeout, [ = ]() { - loop->quit(); - qApp->exit(); - }); - - timer.start(1000); - loop->exec(); - - delete loop; - }); - - - bool isAccepted = Utils::showExitConfirmDialog(Utils::CloseType::CloseType_Tab); - EXPECT_EQ(isAccepted, false); - - -#endif -} - -TEST_F(UT_Utils_Test, showExitConfirmDialog_CloseTypeWindow) -{ -#ifdef ENABLE_UI_TEST - //要自己退出,否则对话框窗口会一直阻塞 - QtConcurrent::run([ = ]() { - QTimer timer; - timer.setSingleShot(true); - - QEventLoop *loop = new QEventLoop; - - QObject::connect(&timer, &QTimer::timeout, [ = ]() { - loop->quit(); - qApp->exit(); - }); - - timer.start(1000); - loop->exec(); - - delete loop; - }); - - bool isAccepted = Utils::showExitConfirmDialog(Utils::CloseType::CloseType_Window); - EXPECT_EQ(isAccepted, false); - - -#endif -} - -TEST_F(UT_Utils_Test, getExitDialogText) -{ - QString title; - QString txt; - Utils::CloseType temtype = Utils::CloseType::CloseType_Window; - Utils::getExitDialogText(temtype, title, txt, 0); - - QString titleWindow = QObject::tr("Close this window?"); - QString txtWindow = QObject::tr("There are still processes running in this window. Closing the window will terminate all of them."); - - EXPECT_NE(title, titleWindow); - EXPECT_NE(txt, txtWindow); - - Utils::getExitDialogText(temtype, title, txt, 1); - EXPECT_EQ(title, titleWindow); - EXPECT_EQ(txt, txtWindow); - - - QString titleDefault = QObject::tr("Close this terminal?"); - QString txtDefault = QObject::tr("There is still a process running in this terminal. " - "Closing the terminal will terminate it."); - temtype = Utils::CloseType::CloseType_Terminal; - Utils::getExitDialogText(temtype, title, txt, 1); - EXPECT_EQ(title, titleDefault); - EXPECT_EQ(txt, txtDefault); - - Utils::getExitDialogText(temtype, title, txt, 2); - EXPECT_EQ(title, titleDefault); - EXPECT_NE(txt, txtDefault); -} - - -TEST_F(UT_Utils_Test, showExitUninstallConfirmDialog) -{ -#ifdef ENABLE_UI_TEST - //要自己退出,否则对话框窗口会一直阻塞 - QtConcurrent::run([ = ]() { - QTimer timer; - timer.setSingleShot(true); - - QEventLoop *loop = new QEventLoop; - - QObject::connect(&timer, &QTimer::timeout, [ = ]() { - loop->quit(); - qApp->exit(); - }); - - timer.start(1000); - loop->exec(); - - delete loop; - }); - - bool isAccepted = Utils::showExitUninstallConfirmDialog(); - EXPECT_EQ(isAccepted, false); - - -#endif -} - - -TEST_F(UT_Utils_Test, showUninstallConfirmDialog) -{ -#ifdef ENABLE_UI_TEST - //要自己退出,否则对话框窗口会一直阻塞 - QtConcurrent::run([ = ]() { - QTimer timer; - timer.setSingleShot(true); - - QEventLoop *loop = new QEventLoop; - - QObject::connect(&timer, &QTimer::timeout, [ = ]() { - loop->quit(); - qApp->exit(); - }); - - timer.start(1000); - loop->exec(); - - delete loop; - }); - - QString commandName = "python"; - bool isAccepted = Utils::showUninstallConfirmDialog(commandName); - EXPECT_EQ(isAccepted, false); - - -#endif -} - - -TEST_F(UT_Utils_Test, showShortcutConflictMsgbox) -{ -#ifdef ENABLE_UI_TEST - //要自己退出,否则对话框窗口会一直阻塞 - QtConcurrent::run([ = ]() { - QTimer timer; - timer.setSingleShot(true); - - QEventLoop *loop = new QEventLoop; - - QObject::connect(&timer, &QTimer::timeout, [ = ]() { - loop->quit(); - qApp->exit(); - }); - - timer.start(1000); - loop->exec(); - - delete loop; - }); - - QString shortcutName = "Ctrl+C"; - bool isAccepted = Utils::showShortcutConflictMsgbox(shortcutName); - EXPECT_EQ(isAccepted, true); - - -#endif -} - -TEST_F(UT_Utils_Test, showSameNameDialog) -{ -#ifdef ENABLE_UI_TEST - UT_STUB_QWIDGET_SHOW_CREATE; - Utils::showSameNameDialog(parentWidget, "servername1", "servername1"); - //会触发dialog的show函数 - EXPECT_TRUE(UT_STUB_QWIDGET_SHOW_RESULT); - -#endif -} - -// 参数解析 -TEST_F(UT_Utils_Test, parseCommandLine) -{ - TermProperties properties; - Utils::parseCommandLine(QStringList() << "deepin-terminal" << QString("-h"), properties, false); - EXPECT_TRUE(4 == properties.m_properties.count()); - - properties = TermProperties(); - Utils::parseCommandLine(QStringList() << "deepin-terminal" << QString("-v"), properties, false); - EXPECT_TRUE(4 == properties.m_properties.count()); - - properties = TermProperties(); - Utils::parseCommandLine(QStringList() << "deepin-terminal" << QString("-q"), properties, false); - EXPECT_TRUE(4 == properties.m_properties.count()); - - properties = TermProperties(); - Utils::parseCommandLine(QStringList() << "deepin-terminal" << "-e" << "ls" << "-w" << "/home/", properties, false); - EXPECT_TRUE(5 == properties.m_properties.count()); -} - -TEST_F(UT_Utils_Test, parseExecutePara) -{ - QStringList appArguments; - appArguments << "deepin-terminal" << "-e" << "ls /home/"; - QStringList paraList = Utils::parseExecutePara(appArguments); - EXPECT_EQ(paraList.size(), 2); - - appArguments.clear(); - appArguments << "deepin-terminal" << "-e" << "ping 127.0.0.1 -c 5"; - paraList = Utils::parseExecutePara(appArguments); - EXPECT_EQ(paraList.size(), 4); - - appArguments.clear(); - appArguments << "deepin-terminal" << "-e" << "bash -c 'ping 127.0.0.1 -c 5'"; - paraList = Utils::parseExecutePara(appArguments); - EXPECT_EQ(paraList.size(), 3); -} - -TEST_F(UT_Utils_Test, parseNestedQString) -{ - QString str = QString("bash -c 'ping 127.0.0.1'"); - QStringList paraList = Utils::parseNestedQString(str); - EXPECT_EQ(paraList.size(), 3); - - str = QString("bash -c ping 127.0.0.1"); - QStringList paraList2 = Utils::parseNestedQString(str); - EXPECT_EQ(paraList.size(), 3); -} - -#endif diff --git a/tests/src/common/ut_utils_test.h b/tests/src/common/ut_utils_test.h deleted file mode 100644 index 59cac3293..000000000 --- a/tests/src/common/ut_utils_test.h +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_UTILS_TEST_H -#define UT_UTILS_TEST_H - -#include "ut_defines.h" - -#include - -class QWidget; -class UT_Utils_Test : public ::testing::Test -{ -public: - UT_Utils_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - - QWidget *parentWidget = nullptr; -}; - -#endif // UT_UTILS_TEST_H - diff --git a/tests/src/customcommand/ut_customcommandoptdlg_test.cpp b/tests/src/customcommand/ut_customcommandoptdlg_test.cpp deleted file mode 100644 index 3a2115d70..000000000 --- a/tests/src/customcommand/ut_customcommandoptdlg_test.cpp +++ /dev/null @@ -1,311 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_customcommandoptdlg_test.h" -#include "ut_defines.h" -#include "customcommandoptdlg.h" -#include "mainwindow.h" -#include "../stub.h" -#include "service.h" - -//dtk -#include - -//Qt单元测试相关头文件 -#include -#include -#include - -//Google GTest 相关头文件 -#include - -UT_CustomCommandOptDlg_Test::UT_CustomCommandOptDlg_Test() -{ - QAction *ac = new QAction; - ac->setText(m_validCmdName); - ac->setData(m_validCmdText); - ac->setShortcut(m_validCmdShortcut); - //ShortcutManager::instance()负责释放ac的空间 - ShortcutManager::instance()->m_customCommandActionList.append(ac); -} - -UT_CustomCommandOptDlg_Test::~UT_CustomCommandOptDlg_Test() -{ -} - -void UT_CustomCommandOptDlg_Test::SetUp() -{ -} - -void UT_CustomCommandOptDlg_Test::TearDown() -{ -} - -static void doDeleteLater(CustomCommandOptDlg *obj) -{ - obj->deleteLater(); -} - -static bool ut_ShortcutManager_checkShortcutValid(const QString &, const QString &, QString &) -{ - return false; -} - -#ifdef UT_CUSTOMCOMMANDOPTDLG_TEST - -//TEST_F(UT_CustomCommandOptDlg_Test, CustomCommandOptDlgTest) -//{ -// DApplicationHelper::instance()->setPaletteType(DApplicationHelper::DarkType); -// QSharedPointer cmdDlg_new(new CustomCommandOptDlg, doDeleteLater); -// cmdDlg_new->setIconPixmap(QPixmap()); -// cmdDlg_new->show(); -// emit DApplicationHelper::instance()->themeTypeChanged(DApplicationHelper::DarkType); -// emit DApplicationHelper::instance()->themeTypeChanged(DApplicationHelper::LightType); -// DApplicationHelper::instance()->setPaletteType(DApplicationHelper::LightType); - -// QSharedPointer cmdDlg(new CustomCommandOptDlg, doDeleteLater); - -// cmdDlg->show(); - -// QList lineEditList = cmdDlg->findChildren(); -// EXPECT_EQ(lineEditList.size(), 2); - -// DLineEdit *cmdNameEdit = lineEditList.first(); -// DLineEdit *cmdTextEdit = lineEditList.last(); - -// QString str = Utils::getRandString(); -// cmdNameEdit->setText(str.toLower()); -// cmdTextEdit->setText("ls -al"); - -// DKeySequenceEdit *shortcutEdit = cmdDlg->findChild(); -// EXPECT_NE(shortcutEdit, nullptr); -// shortcutEdit->setKeySequence(QKeySequence("Ctrl+Shift+K")); -//} - -//TEST_F(UT_CustomCommandOptDlg_Test, setCancelBtnText) -//{ -// QSharedPointer cmdDlg(new CustomCommandOptDlg, doDeleteLater); - -// cmdDlg->addCancelConfirmButtons(); -// EXPECT_NE(cmdDlg->m_cancelBtn, nullptr); -// EXPECT_NE(cmdDlg->m_confirmBtn, nullptr); - -// QString cancelText("Cancel"); -// cmdDlg->setCancelBtnText(cancelText); -// EXPECT_EQ(cmdDlg->m_cancelBtn->text(), cancelText); -//} - -TEST_F(UT_CustomCommandOptDlg_Test, setConfirmBtnText) -{ - QSharedPointer cmdDlg(new CustomCommandOptDlg, doDeleteLater); - cmdDlg->addCancelConfirmButtons(); - EXPECT_NE(cmdDlg->m_cancelBtn, nullptr); - EXPECT_NE(cmdDlg->m_confirmBtn, nullptr); - - QString confirmText("Add"); - cmdDlg->setConfirmBtnText(confirmText); - EXPECT_EQ(cmdDlg->m_confirmBtn->text(), confirmText); -} - -TEST_F(UT_CustomCommandOptDlg_Test, addCancelConfirmButtonsTest) -{ - QSharedPointer cmdDlg(new CustomCommandOptDlg, doDeleteLater); - cmdDlg->addCancelConfirmButtons(); - EXPECT_NE(cmdDlg->m_cancelBtn, nullptr); - EXPECT_NE(cmdDlg->m_confirmBtn, nullptr); - - cmdDlg->m_shortCutLineEdit->setKeySequence(QKeySequence("Ctrl+T")); - emit cmdDlg->m_cancelBtn->clicked(true); - emit cmdDlg->m_confirmBtn->clicked(true); - emit cmdDlg->m_shortCutLineEdit->editingFinished(QKeySequence("Ctrl+T")); -} - -TEST_F(UT_CustomCommandOptDlg_Test, slotAddSaveButtonClicked) -{ - QKeySequence keySeq("Ctrl+T"); - QAction newAction(ShortcutManager::instance()); - newAction.setObjectName("CustomQAction"); - newAction.setText("cmd"); - newAction.setData("ls -al"); - newAction.setShortcut(keySeq); - ShortcutManager::instance()->addCustomCommand(newAction); - EXPECT_TRUE(ShortcutManager::instance()->findActionByKey(newAction.text()) != nullptr); - - QSharedPointer cmdDlg(new CustomCommandOptDlg, doDeleteLater); - cmdDlg->m_currItemData = new CustomCommandData; - cmdDlg->m_currItemData->m_cmdName = ""; - cmdDlg->m_currItemData->m_cmdText = ""; - cmdDlg->m_currItemData->m_cmdShortcut = ""; - - //add-条件:name="",cammand="" - cmdDlg->slotAddSaveButtonClicked(); - EXPECT_TRUE(cmdDlg->m_nameLineEdit->text().isEmpty()); - - //add-条件:name.length>MAX_NAME_LEN,cammand="" - cmdDlg->m_nameLineEdit->setText(QString('A', MAX_NAME_LEN + 1)); - cmdDlg->slotAddSaveButtonClicked(); - EXPECT_TRUE(cmdDlg->m_nameLineEdit->text().count() > 0); - - //add-条件:name="cmd",cammand="" - cmdDlg->m_nameLineEdit->setText("cmd"); - cmdDlg->slotAddSaveButtonClicked(); - EXPECT_TRUE(cmdDlg->m_nameLineEdit->text().count() > 0); - - //add-条件:name="cmd",cammand="ls -al" - cmdDlg->m_commandLineEdit->setText("ls -al"); - const int cmdDlg_child_count = cmdDlg->children().count(); - cmdDlg->slotAddSaveButtonClicked(); - EXPECT_TRUE(1 == (cmdDlg->children().count() - cmdDlg_child_count)); - - //modify-调试:m_bRefreshCheck=false,m_currItemData 为空,name<>name_old - cmdDlg->m_type = CustomCommandOptDlg::CCT_MODIFY; - cmdDlg->slotAddSaveButtonClicked(); - EXPECT_TRUE(2 == (cmdDlg->children().count() - cmdDlg_child_count)); - - //modify-调试:m_bRefreshCheck=true,m_currItemData 为空,name<>name_old - cmdDlg->m_bRefreshCheck = true; - cmdDlg->slotAddSaveButtonClicked(); - EXPECT_TRUE(2 == (cmdDlg->children().count() - cmdDlg_child_count)); - - //modify-调试:m_bRefreshCheck=false,m_currItemData 不为空,name<>name_old - cmdDlg->m_bRefreshCheck = false; - cmdDlg->m_currItemData->m_cmdName = this->m_validCmdName; - cmdDlg->m_currItemData->m_cmdText = this->m_validCmdText; - cmdDlg->m_currItemData->m_cmdShortcut = this->m_validCmdShortcut; - cmdDlg->slotAddSaveButtonClicked(); - EXPECT_TRUE(2 == (cmdDlg->children().count() - cmdDlg_child_count)); - - //modify-调试:m_bRefreshCheck=false,m_currItemData 不为空,name<>name_old - cmdDlg->m_nameLineEdit->setText("cmd_no"); - cmdDlg->slotAddSaveButtonClicked(); - EXPECT_TRUE(2 == (cmdDlg->children().count() - cmdDlg_child_count)); - - //modify-调试:m_bRefreshCheck=false,m_currItemData not empty,name=name_old - cmdDlg->m_nameLineEdit->setText(m_validCmdName); - cmdDlg->m_commandLineEdit->setText(m_validCmdText); - cmdDlg->m_shortCutLineEdit->setKeySequence(QKeySequence(m_validCmdShortcut)); - cmdDlg->slotAddSaveButtonClicked(); - EXPECT_TRUE(2 == (cmdDlg->children().count() - cmdDlg_child_count)); - -} - -TEST_F(UT_CustomCommandOptDlg_Test, slotRefreshData) -{ - QSharedPointer cmdDlg(new CustomCommandOptDlg, doDeleteLater); - - cmdDlg->m_currItemData = new CustomCommandData; - cmdDlg->m_currItemData->m_cmdName = ""; - cmdDlg->m_currItemData->m_cmdText = ""; - cmdDlg->m_currItemData->m_cmdShortcut = ""; - cmdDlg->m_nameLineEdit->setText(m_validCmdName); - cmdDlg->m_commandLineEdit->setText(m_validCmdText); - - //新增一个窗口 - const int cmdDlg_child_count = cmdDlg->children().count(); - QKeySequence keytmp = cmdDlg->m_shortCutLineEdit->setKeySequence(QKeySequence(m_validCmdShortcut)); - cmdDlg->slotAddSaveButtonClicked(); - EXPECT_TRUE(1 == (cmdDlg->children().count() - cmdDlg_child_count)); - - //新增的 - cmdDlg->m_type = CustomCommandOptDlg::CCT_ADD; - cmdDlg->slotRefreshData(m_validCmdName, m_validCmdName + "1"); - EXPECT_TRUE(CustomCommandOptDlg::CCT_ADD == cmdDlg->m_type); - - //修改的, old != new - cmdDlg->m_type = CustomCommandOptDlg::CCT_MODIFY; - cmdDlg->slotRefreshData(m_validCmdName, m_validCmdName + "1"); - EXPECT_TRUE(CustomCommandOptDlg::CCT_MODIFY == cmdDlg->m_type); - - //修改的 old == new, 可以找到new action - cmdDlg->m_currItemData->m_cmdName = m_validCmdName + "1"; - cmdDlg->m_currItemData->m_cmdText = ""; - cmdDlg->m_currItemData->m_cmdShortcut = ""; - cmdDlg->m_type = CustomCommandOptDlg::CCT_MODIFY; - cmdDlg->slotRefreshData(m_validCmdName + "1", m_validCmdName); - EXPECT_TRUE(CustomCommandOptDlg::CCT_MODIFY == cmdDlg->m_type); - - //修改的, old = new 没法找到new action - cmdDlg->slotRefreshData(m_validCmdName, m_validCmdName + "1"); - EXPECT_TRUE(CustomCommandOptDlg::CCT_MODIFY == cmdDlg->m_type); -} - -TEST_F(UT_CustomCommandOptDlg_Test, slotShortCutLineEditingFinished) -{ - Stub stub; - stub.set(ADDR(ShortcutManager, checkShortcutValid), ut_ShortcutManager_checkShortcutValid); - QSharedPointer cmdDlg(new CustomCommandOptDlg, doDeleteLater); - cmdDlg->slotShortCutLineEditingFinished(QKeySequence("Backspace")); - //Backspace会设置lastCmdShortcut为"" - EXPECT_TRUE(cmdDlg->m_lastCmdShortcut.isEmpty()); - - cmdDlg->slotShortCutLineEditingFinished(QKeySequence("Esc")); - //还原最后lastCmdShortcut - EXPECT_TRUE(cmdDlg->m_shortCutLineEdit->keySequence().toString() == cmdDlg->m_lastCmdShortcut); - - cmdDlg->m_type = CustomCommandOptDlg::CCT_MODIFY; - cmdDlg->slotShortCutLineEditingFinished(QKeySequence()); - //还原最后lastCmdShortcut - EXPECT_TRUE(cmdDlg->m_shortCutLineEdit->keySequence().toString() == cmdDlg->m_lastCmdShortcut); -} - -TEST_F(UT_CustomCommandOptDlg_Test, initCommandFromClipBoardText) -{ - NormalWindow normal(TermProperties("/"), nullptr); - CustomCommandOptDlg cmdDlg(CustomCommandOptDlg::CCT_ADD, nullptr, &normal); - cmdDlg.initCommandFromClipBoardText(); - //会将selectedText赋值到m_commandLineEdit - EXPECT_TRUE(cmdDlg.m_commandLineEdit->text() == normal.selectedText().trimmed()); - -} - -TEST_F(UT_CustomCommandOptDlg_Test, closeRefreshDataConnection) -{ - QSharedPointer cmdDlg(new CustomCommandOptDlg, doDeleteLater); - int oldCount = Service::instance()->receivers(SIGNAL(refreshCommandPanel(QString, QString))); - cmdDlg->closeRefreshDataConnection(); - int newCount = Service::instance()->receivers(SIGNAL(refreshCommandPanel(QString, QString))); - //关联的槽函数-1 - EXPECT_TRUE(newCount == (oldCount - 1)); -} - -TEST_F(UT_CustomCommandOptDlg_Test, closeEvent) -{ - CustomCommandOptDlg cmdDlg; - cmdDlg.close(); - //关闭时,会done(-1); - EXPECT_TRUE(-1 == cmdDlg.result()); -} - -TEST_F(UT_CustomCommandOptDlg_Test, showShortcutConflict) -{ - CustomCommandOptDlg cmdDlg; - cmdDlg.showShortcutConflictMsgbox("Return"); - //快捷键显示映射 如:Return 显示成 Enter - EXPECT_TRUE(cmdDlg.m_shortcutConflictDialog->title().contains("Enter")); -} - -TEST_F(UT_CustomCommandOptDlg_Test, checkSequence) -{ - Stub stub; - stub.set(ADDR(ShortcutManager, checkShortcutValid), ut_ShortcutManager_checkShortcutValid); - CustomCommandOptDlg cmdDlg; - - //空的sequence返回true - EXPECT_TRUE(cmdDlg.checkSequence(QKeySequence())); - //m_validCmdShortcut之前已被设置,故会冲突 - EXPECT_TRUE(!cmdDlg.checkSequence(QKeySequence(m_validCmdShortcut))); -} - -TEST_F(UT_CustomCommandOptDlg_Test, slotCommandLineEditingFinished) -{ - CustomCommandOptDlg cmdDlg; - cmdDlg.m_commandLineEdit->setText(""); - cmdDlg.slotCommandLineEditingFinished(); - - //m_commandLineEdit为空时,placeholderText不为空 - EXPECT_TRUE(cmdDlg.m_commandLineEdit->lineEdit()->placeholderText().count() > 0); -} - -#endif diff --git a/tests/src/customcommand/ut_customcommandoptdlg_test.h b/tests/src/customcommand/ut_customcommandoptdlg_test.h deleted file mode 100644 index 45f5d9ab0..000000000 --- a/tests/src/customcommand/ut_customcommandoptdlg_test.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_CUSTOMCOMMANDOPTDLG_TEST_H -#define UT_CUSTOMCOMMANDOPTDLG_TEST_H - -#include "ut_defines.h" - -#include - -#include - -class QAction; -class UT_CustomCommandOptDlg_Test : public ::testing::Test -{ -public: - UT_CustomCommandOptDlg_Test(); - ~UT_CustomCommandOptDlg_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - - const QString m_validCmdName = "cmd"; - const QString m_validCmdText = "ls -al"; - const QString m_validCmdShortcut = "Ctrl+Shift+T"; -}; -#endif//UT_CUSTOMCOMMANDOPTDLG_TEST_H diff --git a/tests/src/customcommand/ut_customcommandpanel_test.cpp b/tests/src/customcommand/ut_customcommandpanel_test.cpp deleted file mode 100644 index 9226f6d4e..000000000 --- a/tests/src/customcommand/ut_customcommandpanel_test.cpp +++ /dev/null @@ -1,142 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "customcommandpanel.h" -#include "customcommandoptdlg.h" -#include "ut_defines.h" -#include "shortcutmanager.h" -#include "../stub.h" -#include "ut_stub_defines.h" - -#include - -//Google GTest 相关头文件 -#include - -//Qt单元测试相关头文件 -#include -#include - - -#include - -class UT_CustomCommandPanel_Test : public ::testing::Test -{ -public: - UT_CustomCommandPanel_Test(); - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); -private: - ShortcutManager *m_scManager; -}; - -static QAction m_action; -static QAction *ut_m_pdlg_getCurCustomCmd() { - return &m_action; -} - -UT_CustomCommandPanel_Test::UT_CustomCommandPanel_Test():m_scManager(nullptr) -{ -} - -void UT_CustomCommandPanel_Test::SetUp() -{ - //快捷键、自定义命令 - m_scManager = ShortcutManager::instance(); - m_scManager->createCustomCommandsFromConfig(); -} - -void UT_CustomCommandPanel_Test::TearDown() -{ -} - -#ifdef UT_CUSTOMCOMMANDPANEL_TEST - -TEST_F(UT_CustomCommandPanel_Test, CustomCommandPanelTest) -{ - QList cmdActionlist = m_scManager->getCustomCommandActionList(); - - const int PANEL_WIDTH = 242; - const int PANEL_HEIGHT = 600; - CustomCommandPanel panel; - panel.resize(PANEL_WIDTH, PANEL_HEIGHT); - panel.show(); - EXPECT_EQ(panel.size().width(), PANEL_WIDTH); - EXPECT_EQ(panel.size().height(), PANEL_HEIGHT); - - panel.refreshCmdPanel(); - - ListView *cmdListWidget = panel.findChild(); - EXPECT_EQ(cmdActionlist.size(), cmdListWidget->count()); - - panel.refreshCmdSearchState(); -} - -TEST_F(UT_CustomCommandPanel_Test, showCurSearchResult) -{ - CustomCommandPanel panel; - panel.m_searchEdit->setText("1"); - panel.showCurSearchResult(); - EXPECT_TRUE(panel.m_searchEdit->text().count() > 0); -} - -TEST_F(UT_CustomCommandPanel_Test, showAddCustomCommandDlg) -{ - QList cmdActionlist = m_scManager->getCustomCommandActionList(); - - const int PANEL_WIDTH = 242; - const int PANEL_HEIGHT = 600; - CustomCommandPanel panel; - panel.resize(PANEL_WIDTH, PANEL_HEIGHT); - panel.show(); - EXPECT_EQ(panel.size().width(), PANEL_WIDTH); - EXPECT_EQ(panel.size().height(), PANEL_HEIGHT); - - panel.refreshCmdPanel(); - - ListView *cmdListWidget = panel.findChild(); - EXPECT_EQ(cmdActionlist.size(), cmdListWidget->count()); - - panel.refreshCmdSearchState(); - panel.showAddCustomCommandDlg(); - panel.showAddCustomCommandDlg(); - panel.m_bpushButtonHaveFocus = true; - //打桩 - Stub stub; - stub.set(ADDR(CustomCommandOptDlg, getCurCustomCmd), ut_m_pdlg_getCurCustomCmd); - - panel.onAddCommandResponse(QDialog::Accepted); - //打桩还原 - stub.reset(ADDR(CustomCommandOptDlg, getCurCustomCmd)); - - ShortcutManager::instance()->addCustomCommand(QAction("xxx")); - QAction *action = ShortcutManager::instance()->getCustomCommandActionList().value(0); - panel.doCustomCommand(action->text()); -} - -TEST_F(UT_CustomCommandPanel_Test, onFocusOut) -{ - UT_STUB_QWIDGET_SETFOCUS_CREATE; - UT_STUB_QWIDGET_ISVISIBLE_APPEND; - - CustomCommandPanel *panel = new CustomCommandPanel; - UT_STUB_QWIDGET_SETFOCUS_PREPARE - panel->onFocusOut(Qt::TabFocusReason); - //会触发setFocus函数 - EXPECT_TRUE(UT_STUB_QWIDGET_SETFOCUS_RESULT); - - panel->m_searchEdit->setFocus(); - UT_STUB_QWIDGET_SETFOCUS_PREPARE - panel->onFocusOut(Qt::BacktabFocusReason); - //会触发setFocus函数 - EXPECT_TRUE(UT_STUB_QWIDGET_SETFOCUS_RESULT); - - panel->deleteLater(); -} -#endif diff --git a/tests/src/customcommand/ut_customcommandplugin_test.cpp b/tests/src/customcommand/ut_customcommandplugin_test.cpp deleted file mode 100644 index 1467333fc..000000000 --- a/tests/src/customcommand/ut_customcommandplugin_test.cpp +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_customcommandplugin_test.h" -#include "customcommandplugin.h" -#include "ut_stub_defines.h" -#include "mainwindow.h" -#include "termproperties.h" -#include "service.h" - -//qt -#include -#include -#include -#include - -UT_Customcommandplugin_Test::UT_Customcommandplugin_Test() -{ - -} - -void UT_Customcommandplugin_Test::SetUp() -{ - if (!Service::instance()->property("isServiceInit").toBool()) - { - Service::instance()->setProperty("isServiceInit", true); - } - m_cmdPlugin = new CustomCommandPlugin; -} - -void UT_Customcommandplugin_Test::TearDown() -{ - DELETE_PTR_LATER(m_cmdPlugin->m_mainWindow); - DELETE_PTR_LATER(m_cmdPlugin); -} - -#ifdef UT_CUSTOMCOMMANDPLUGIN_TEST - -TEST_F(UT_Customcommandplugin_Test,initPlugin) -{ - EXPECT_NE(m_cmdPlugin, nullptr); - - NormalWindow* normal = new NormalWindow(TermProperties("/"), nullptr); - - m_cmdPlugin->initPlugin(normal); - EXPECT_NE(m_cmdPlugin->titlebarMenu(normal), nullptr); - EXPECT_NE(m_cmdPlugin->getCustomCommandTopPanel(), nullptr); -} - -TEST_F(UT_Customcommandplugin_Test,initPlugin001) -{ - EXPECT_NE(m_cmdPlugin, nullptr); - - QuakeWindow *quake = new QuakeWindow(TermProperties({{WorkingDir, "/"},{QuakeMode, true}})); - m_cmdPlugin->initPlugin(quake); - EXPECT_NE(m_cmdPlugin->titlebarMenu(quake), nullptr); - EXPECT_NE(m_cmdPlugin->getCustomCommandTopPanel(), nullptr); -} - -TEST_F(UT_Customcommandplugin_Test,doCustomCommand) -{ - CustomCommandPlugin *m_cmdPlugin = new CustomCommandPlugin; - NormalWindow* normal = new NormalWindow(TermProperties("/"), nullptr); - m_cmdPlugin->initPlugin(normal); - - m_cmdPlugin->m_isShow = true; - m_cmdPlugin->doShowPlugin(MainWindow::PLUGIN_TYPE_NONE, false); - //会更新m_cmdPlugin的m_isShow - EXPECT_TRUE(!m_cmdPlugin->m_isShow); - - m_cmdPlugin->doCustomCommand("ls"); - //重置m_CurrentShowPlugin为PLUGIN_TYPE_NONE - EXPECT_TRUE(m_cmdPlugin->m_mainWindow->m_CurrentShowPlugin == MainWindow::PLUGIN_TYPE_NONE); - - DELETE_PTR_LATER(m_cmdPlugin->m_mainWindow); - DELETE_PTR_LATER(m_cmdPlugin); -} - -#endif - - diff --git a/tests/src/customcommand/ut_customcommandplugin_test.h b/tests/src/customcommand/ut_customcommandplugin_test.h deleted file mode 100644 index 8e3946737..000000000 --- a/tests/src/customcommand/ut_customcommandplugin_test.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_CUSTOMCOMMANDPLUGIN_TEST_H -#define UT_CUSTOMCOMMANDPLUGIN_TEST_H - -#include "ut_defines.h" - -#include - -class CustomCommandPlugin; -class UT_Customcommandplugin_Test : public ::testing::Test -{ -public: - UT_Customcommandplugin_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); -public: - CustomCommandPlugin* m_cmdPlugin = nullptr; -}; - -#endif//UT_CUSTOMCOMMANDPLUGIN_TEST_H diff --git a/tests/src/customcommand/ut_customcommandsearchrstpanel_test.cpp b/tests/src/customcommand/ut_customcommandsearchrstpanel_test.cpp deleted file mode 100644 index 08a492454..000000000 --- a/tests/src/customcommand/ut_customcommandsearchrstpanel_test.cpp +++ /dev/null @@ -1,100 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_customcommandsearchrstpanel_test.h" -#include "customcommandsearchrstpanel.h" -#include "service.h" -#include "shortcutmanager.h" -#include "listview.h" -#include "../stub.h" -#include "ut_stub_defines.h" - -#include -#include -#include -#include -#include - -UT_CustomCommandSearchRstPanel_Test::UT_CustomCommandSearchRstPanel_Test() -{ - -} - -void UT_CustomCommandSearchRstPanel_Test::SetUp() -{ - if (!Service::instance()->property("isServiceInit").toBool()) { - Service::instance()->setProperty("isServiceInit", true); - } - - DApplicationHelper::instance()->setPaletteType(DApplicationHelper::DarkType); - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); - m_cmdSearchPanel = new CustomCommandSearchRstPanel(m_normalWindow); -} - -void UT_CustomCommandSearchRstPanel_Test::TearDown() -{ - delete m_cmdSearchPanel; - delete m_normalWindow; - -} - -#ifdef UT_CUSTOMCOMMANDSEARCHRSTPANEL_TEST - -TEST_F(UT_CustomCommandSearchRstPanel_Test, CustomCommandSearchRstPanelTest) -{ - m_cmdSearchPanel->handleIconButtonFocusOut(Qt::FocusReason::TabFocusReason); - EXPECT_TRUE(m_cmdSearchPanel->m_cmdListWidget->count() == 0); - - m_cmdSearchPanel->handleListViewFocusOut(Qt::FocusReason::TabFocusReason); - EXPECT_TRUE(m_cmdSearchPanel->m_cmdListWidget->currentIndex() == -1); - - UT_STUB_QWIDGET_SETFOCUS_CREATE; - m_cmdSearchPanel->handleListViewFocusOut(Qt::NoFocusReason); - //setFocus被调用过 - EXPECT_TRUE(UT_STUB_QWIDGET_SETFOCUS_RESULT); -// emit DApplicationHelper::instance()->themeTypeChanged(DApplicationHelper::DarkType); -// emit DApplicationHelper::instance()->themeTypeChanged(DApplicationHelper::LightType); -// emit m_cmdSearchPanel->m_rebackButton->focusOut(Qt::FocusReason::TabFocusReason); -// emit m_cmdSearchPanel->m_cmdListWidget->focusOut(Qt::FocusReason::TabFocusReason); -// emit m_cmdSearchPanel->m_cmdListWidget->focusOut(Qt::NoFocusReason); -} - -TEST_F(UT_CustomCommandSearchRstPanel_Test, refreshDataTest) -{ - EXPECT_NE(m_cmdSearchPanel, nullptr); - m_cmdSearchPanel->show(); - - m_cmdSearchPanel->refreshData(); - - m_cmdSearchPanel->refreshData("test"); -} - -TEST_F(UT_CustomCommandSearchRstPanel_Test, setSearchFilterTest) -{ - EXPECT_NE(m_cmdSearchPanel, nullptr); - m_cmdSearchPanel->show(); - - m_cmdSearchPanel->setSearchFilter("SearchFilter"); -} - -TEST_F(UT_CustomCommandSearchRstPanel_Test, doCustomCommandTest) -{ - EXPECT_NE(m_cmdSearchPanel, nullptr); - m_cmdSearchPanel->show(); - - QKeySequence keySeq("Ctrl+T"); - QAction newAction(ShortcutManager::instance()); - newAction.setObjectName("CustomQAction"); - newAction.setText("myCommand"); - newAction.setData("ls -al"); - newAction.setShortcut(keySeq); - ShortcutManager::instance()->addCustomCommand(newAction); - - m_cmdSearchPanel->doCustomCommand("myCommand"); -} - -#endif diff --git a/tests/src/customcommand/ut_customcommandsearchrstpanel_test.h b/tests/src/customcommand/ut_customcommandsearchrstpanel_test.h deleted file mode 100644 index 727202abc..000000000 --- a/tests/src/customcommand/ut_customcommandsearchrstpanel_test.h +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_CUSTOMCOMMANDSEARCHRSTPANEL_TEST_H -#define UT_CUSTOMCOMMANDSEARCHRSTPANEL_TEST_H - -#include "ut_defines.h" -#include "mainwindow.h" - -#include - -class CustomCommandSearchRstPanel; -class UT_CustomCommandSearchRstPanel_Test : public ::testing::Test -{ -public: - UT_CustomCommandSearchRstPanel_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); -public: - CustomCommandSearchRstPanel* m_cmdSearchPanel = nullptr; - - //普通窗口 - MainWindow *m_normalWindow = nullptr; - TermProperties m_normalTermProperty; -}; - -#endif//UT_CUSTOMCOMMANDSEARCHRSTPANEL_TEST_H - diff --git a/tests/src/customcommand/ut_customcommandtoppanel_test.cpp b/tests/src/customcommand/ut_customcommandtoppanel_test.cpp deleted file mode 100644 index e75c3baf0..000000000 --- a/tests/src/customcommand/ut_customcommandtoppanel_test.cpp +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_customcommandtoppanel_test.h" - -#include "customcommandtoppanel.h" -#include "mainwindow.h" - -#include -#include -#include -#include - -UT_CustomCommandTopPanel_Test::UT_CustomCommandTopPanel_Test() - : m_normalWindow(nullptr) - , m_cmdTopPanel(nullptr) -{ -} - -void UT_CustomCommandTopPanel_Test::SetUp() -{ - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - - m_cmdTopPanel = new CustomCommandTopPanel(m_normalWindow); -} - -void UT_CustomCommandTopPanel_Test::TearDown() -{ - if (m_cmdTopPanel != nullptr) { - delete m_cmdTopPanel; - m_cmdTopPanel = nullptr; - } - if (m_normalWindow != nullptr) { - delete m_normalWindow; - m_normalWindow = nullptr; - } -} - -#ifdef UT_CUSTOMCOMMANDTOPPANEL_TEST - -TEST_F(UT_CustomCommandTopPanel_Test, showCustomCommandPanel) -{ - m_cmdTopPanel->show(true); - EXPECT_EQ(m_cmdTopPanel->isVisible(), true); - - m_cmdTopPanel->showCustomCommandPanel(); - EXPECT_EQ(m_cmdTopPanel->m_customCommandPanel->isVisible(), true); -} - -TEST_F(UT_CustomCommandTopPanel_Test, showCustomCommandSearchPanel) -{ - m_cmdTopPanel->show(true); - EXPECT_EQ(m_cmdTopPanel->isVisible(), true); - - m_cmdTopPanel->showCustomCommandSearchPanel("cmd"); - EXPECT_EQ(m_cmdTopPanel->m_customCommandSearchPanel->isVisible(), true); -} - -TEST_F(UT_CustomCommandTopPanel_Test, slotsRefreshCommandPanel) -{ - m_cmdTopPanel->show(true); - EXPECT_EQ(m_cmdTopPanel->isVisible(), true); - - m_cmdTopPanel->slotsRefreshCommandPanel(); -} - -#endif diff --git a/tests/src/customcommand/ut_customcommandtoppanel_test.h b/tests/src/customcommand/ut_customcommandtoppanel_test.h deleted file mode 100644 index a205b0721..000000000 --- a/tests/src/customcommand/ut_customcommandtoppanel_test.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_CUSTOMCOMMANDTOPPANEL_TEST_H -#define UT_CUSTOMCOMMANDTOPPANEL_TEST_H - -#include "ut_defines.h" -#include "termproperties.h" - -#include - -class MainWindow; -class CustomCommandTopPanel; -class UT_CustomCommandTopPanel_Test : public ::testing::Test -{ -public: - UT_CustomCommandTopPanel_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); -private: - TermProperties m_normalTermProperty; - MainWindow *m_normalWindow = nullptr; - CustomCommandTopPanel* m_cmdTopPanel = nullptr; -}; - -#endif//UT_CUSTOMCOMMANDTOPPANEL_TEST_H - diff --git a/tests/src/encodeplugin/ut_encodelistview_test.cpp b/tests/src/encodeplugin/ut_encodelistview_test.cpp deleted file mode 100644 index 1143afa3b..000000000 --- a/tests/src/encodeplugin/ut_encodelistview_test.cpp +++ /dev/null @@ -1,245 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "encodelistview.h" -#include "mainwindow.h" -#include "service.h" -#include "encodelistmodel.h" -#include "ut_defines.h" -#include "termproperties.h" -#include "../stub.h" - -//Google GTest 相关头文件 -#include - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include - -class MainWindow; -class UT_EncodeListView_Test : public ::testing::Test -{ -public: - UT_EncodeListView_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - -public: - //普通窗口 - MainWindow *m_normalWindow = nullptr; - - TermProperties m_normalTermProperty; -}; - -UT_EncodeListView_Test::UT_EncodeListView_Test() -{ -} - -void UT_EncodeListView_Test::SetUp() -{ - if (!Service::instance()->property("isServiceInit").toBool()) { - Service::instance()->setProperty("isServiceInit", true); - } - - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); -} - -void UT_EncodeListView_Test::TearDown() -{ - delete m_normalWindow; -} -static int ut_MouseEvent_source() -{ - return Qt::MouseEventSynthesizedByQt; -} - -static Qt::FocusReason ut_ListView_getFocusReason() -{ - return Qt::TabFocusReason; -} - -#ifdef UT_ENCODELISTVIEW_TEST - -TEST_F(UT_EncodeListView_Test, initEncodeItems) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_ENCODING); - - EncodeListView *encodeListView = m_normalWindow->findChild("EncodeListView"); - encodeListView->initEncodeItems(); - EXPECT_GT(encodeListView->count(), 0); -} - -TEST_F(UT_EncodeListView_Test, clickItemTest) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_ENCODING); - - EncodeListView *encodeListView = m_normalWindow->findChild("EncodeListView"); - if(!encodeListView) - return; - encodeListView->show(); - - int itemCount = encodeListView->count(); - int randomIndex = QRandomGenerator::global()->bounded(0, itemCount); - - QAbstractItemModel *model = encodeListView->model(); - if(!model) - return; - QModelIndex firstIndex = model->index(0, 0, QModelIndex()); - int itemHeight = encodeListView->visualRect(firstIndex).height(); - -#ifdef ENABLE_UI_TEST - - for (int i = 0; i < itemCount; ++i) { - if (randomIndex == i) { - QPoint clickPoint(5, 1 + itemHeight * i); - QModelIndex index = encodeListView->indexAt(clickPoint); - if (!index.isValid()) { - continue; - } - QTest::mouseClick(encodeListView->viewport(), Qt::LeftButton, Qt::NoModifier, clickPoint); - QTest::qWait(2000); - break; - } - } - -#endif -} -TEST_F(UT_EncodeListView_Test, keyPressEvent) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_ENCODING); - - EncodeListView *encodeListView = m_normalWindow->findChild("EncodeListView"); - encodeListView->show(); - - QTest::keyPress(encodeListView, Qt::Key_Space); - QTest::keyPress(encodeListView, Qt::Key_Escape); -} - -TEST_F(UT_EncodeListView_Test, keyPressEvent2) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_ENCODING); - - EncodeListView *encodeListView = m_normalWindow->findChild("EncodeListView"); - encodeListView->show(); - encodeListView->addItem("test"); - - encodeListView->setCurrentIndex(encodeListView->model()->index(0, 0)); - QTest::keyPress(encodeListView, Qt::Key_Up); - - int rowcount = encodeListView->m_encodeModel->listData().size(); - while(encodeListView->model()->rowCount() < rowcount) { - encodeListView->addItem("test"); - } - encodeListView->setCurrentIndex(encodeListView->model()->index(rowcount - 1, 0)); - QTest::keyPress(encodeListView, Qt::Key_Down); - - QTest::keyPress(encodeListView, Qt::Key_A); -} -TEST_F(UT_EncodeListView_Test, focusInEvent) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_ENCODING); - - EncodeListView *encodeListView = m_normalWindow->findChild("EncodeListView"); - - QFocusEvent event(QEvent::FocusIn, Qt::TabFocusReason); - encodeListView->focusInEvent(&event); -} - -TEST_F(UT_EncodeListView_Test, mouseMoveEvent) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_ENCODING); - - EncodeListView *encodeListView = m_normalWindow->findChild("EncodeListView"); - - //打桩 - Stub stub; - stub.set(ADDR(QMouseEvent, source), ut_MouseEvent_source); - - QMouseEvent event(QEvent::MouseMove, QPoint(1, 1), Qt::NoButton, Qt::NoButton, Qt::KeyboardModifiers()); - - encodeListView->mouseMoveEvent(&event); - //打桩还原 - stub.reset(ADDR(QMouseEvent, source)); -} - -TEST_F(UT_EncodeListView_Test, paint) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_ENCODING); - - EncodeListView *encodeListView = m_normalWindow->findChild("EncodeListView"); - - QPainter painter(encodeListView); - QStyleOptionViewItem option; - option.state = QStyle::State_MouseOver - | QStyle::State_Selected - ; - encodeListView->addItem("test"); - QModelIndex index = encodeListView->model()->index(0, 0); - - //打桩 - Stub stub; - stub.set(ADDR(EncodeListView, getFocusReason), ut_ListView_getFocusReason); - - encodeListView->itemDelegate()->paint(&painter, option, index); - //打桩还原 - stub.reset(ADDR(EncodeListView, getFocusReason)); -} - -TEST_F(UT_EncodeListView_Test, focusOutEvent) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_ENCODING); - - EncodeListView *encodeListView = m_normalWindow->findChild("EncodeListView"); - - - QFocusEvent event(QEvent::FocusOut); - encodeListView->focusOutEvent(&event); -} - -#endif diff --git a/tests/src/encodeplugin/ut_encodepanel_test.cpp b/tests/src/encodeplugin/ut_encodepanel_test.cpp deleted file mode 100644 index ecf365b6e..000000000 --- a/tests/src/encodeplugin/ut_encodepanel_test.cpp +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_encodepanel_test.h" - -#include "encodepanel.h" -#include "service.h" - -//Google GTest 相关头文件 -#include - -//Qt单元测试相关头文件 -#include -#include -#include - -UT_EncodePanel_Test::UT_EncodePanel_Test() -{ -} - -void UT_EncodePanel_Test::SetUp() -{ - if (!Service::instance()->property("isServiceInit").toBool()) - { - Service::instance()->setProperty("isServiceInit", true); - } - - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); -} - -void UT_EncodePanel_Test::TearDown() -{ - delete m_normalWindow; -} - -#ifdef UT_ENCODEPANEL_TEST -TEST_F(UT_EncodePanel_Test, EncodePanelTest) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_ENCODING); - - EncodePanel *panel = m_normalWindow->findChild(); - panel->show(); -} -#endif diff --git a/tests/src/encodeplugin/ut_encodepanel_test.h b/tests/src/encodeplugin/ut_encodepanel_test.h deleted file mode 100644 index 11a062387..000000000 --- a/tests/src/encodeplugin/ut_encodepanel_test.h +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_ENCODEPANEL_TEST_H -#define UT_ENCODEPANEL_TEST_H - -#include "ut_defines.h" -#include "termproperties.h" - -#include - -class MainWindow; -class UT_EncodePanel_Test : public ::testing::Test -{ -public: - UT_EncodePanel_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - -public: - //普通窗口 - MainWindow *m_normalWindow = nullptr; - - TermProperties m_normalTermProperty; -}; - -#endif // UT_ENCODEPANEL_TEST_H - diff --git a/tests/src/main/main.cpp b/tests/src/main/main.cpp deleted file mode 100644 index cbcf95307..000000000 --- a/tests/src/main/main.cpp +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "terminalapplication.h" -#include "ut_defines.h" - -#include -#include - -#include -#include - -#if defined(CMAKE_SAFETYTEST_ARG_ON) -#include -#endif - -QT_BEGIN_NAMESPACE -QTEST_ADD_GPU_BLACKLIST_SUPPORT_DEFS -QT_END_NAMESPACE - -int main(int argc, char *argv[]) -{ - qputenv("QT_QPA_PLATFORM", "offscreen"); - TerminalApplication app(argc, argv); - - QTEST_DISABLE_KEYPAD_NAVIGATION - QTEST_ADD_GPU_BLACKLIST_SUPPORT - - testing::InitGoogleTest(&argc, argv); - int ret = RUN_ALL_TESTS(); - -#if defined(CMAKE_SAFETYTEST_ARG_ON) - __sanitizer_set_report_path("asan.log"); -#endif - - qDebug() << ret; - -#ifdef ENABLE_UI_TEST - QTest::qExec(&app, argc, argv); -#endif - - QTEST_SET_MAIN_SOURCE_PATH - - return ret; -} diff --git a/tests/src/main/ut_dbusmanager_test.cpp b/tests/src/main/ut_dbusmanager_test.cpp deleted file mode 100644 index 4ea7d517a..000000000 --- a/tests/src/main/ut_dbusmanager_test.cpp +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_dbusmanager_test.h" -#include "dbusmanager.h" -#include "ut_stub_defines.h" - -UT_Dbusmanager_Test::UT_Dbusmanager_Test() -{ - m_pDbusManager = new DBusManager(); - m_pDbusManager->initDBus(); -} - -UT_Dbusmanager_Test::~UT_Dbusmanager_Test() -{ - m_pDbusManager->deleteLater(); -} - -#ifdef UT_DBUSMANAGER_TEST - -//设置桌面索引 -TEST_F(UT_Dbusmanager_Test, callKDECurrentDesktopIndex) -{ - UT_STUB_QDBUS_CALL_CREATE - m_pDbusManager->callKDESetCurrentDesktop(1); - //dbus call被调用过 - EXPECT_TRUE(UT_STUB_QDBUS_CALL_RESULT); -} - -//获取字体 标准字体 -//TEST_F(UT_Dbusmanager_Test, standardfont) -//{ -// UT_STUB_QDBUS_CALL_CREATE -// m_pDbusManager->callAppearanceFont("standardfont"); -// //dbus call被调用过 -// EXPECT_TRUE(UT_STUB_QDBUS_CALL_RESULT); - - -//} - -//获取字体 等宽字体 -//TEST_F(UT_Dbusmanager_Test, monospacefont) -//{ -// UT_STUB_QDBUS_CALL_CREATE -// m_pDbusManager->callAppearanceFont("monospacefont"); -// //dbus call被调用过 -// EXPECT_TRUE(UT_STUB_QDBUS_CALL_RESULT); - -//} - -//获取字体,其他错误字体 -//TEST_F(UT_Dbusmanager_Test, otherfailfont) -//{ -// UT_STUB_QDBUS_CALL_CREATE -// m_pDbusManager->callAppearanceFont("otherfailfont"); -// //dbus call被调用过 -// EXPECT_TRUE(UT_STUB_QDBUS_CALL_RESULT); - -//} - -//唤醒终端 -TEST_F(UT_Dbusmanager_Test, callTerminal) -{ - UT_STUB_QDBUS_CALL_CREATE - m_pDbusManager->callTerminalEntry({"deepin-terminal", "-C", "void_script"}); - //dbus call被调用过 - EXPECT_TRUE(UT_STUB_QDBUS_CALL_RESULT);; -} - -TEST_F(UT_Dbusmanager_Test, listenTouchPadSignal) -{ - UT_STUB_QDBUS_CONNECT_CREATE - m_pDbusManager->listenTouchPadSignal(); - //dbus connect被调用过 - EXPECT_TRUE(UT_STUB_QDBUS_CONNECT_RESULT); -} - -TEST_F(UT_Dbusmanager_Test, listenDesktopSwitched) -{ - UT_STUB_QDBUS_CONNECT_CREATE - m_pDbusManager->listenDesktopSwitched(); - //dbus connect被调用过 - EXPECT_TRUE(UT_STUB_QDBUS_CONNECT_RESULT); -} - -#endif - diff --git a/tests/src/main/ut_dbusmanager_test.h b/tests/src/main/ut_dbusmanager_test.h deleted file mode 100644 index 88cf9f646..000000000 --- a/tests/src/main/ut_dbusmanager_test.h +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_DBUSMANAGER_TEST_H -#define UT_DBUSMANAGER_TEST_H - -#include "ut_defines.h" - -#include - -class DBusManager; -class UT_Dbusmanager_Test: public ::testing::Test -{ -public: - UT_Dbusmanager_Test(); - ~UT_Dbusmanager_Test(); -private: - DBusManager *m_pDbusManager; -}; - - - -#endif//UT_DBUSMANAGER_TEST_H - - - - - diff --git a/tests/src/main/ut_mainwindow_test.cpp b/tests/src/main/ut_mainwindow_test.cpp deleted file mode 100644 index 79073c561..000000000 --- a/tests/src/main/ut_mainwindow_test.cpp +++ /dev/null @@ -1,1579 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_mainwindow_test.h" - -#include "service.h" -#include "mainwindow.h" -#include "tabbar.h" -#include "termwidget.h" -#include "TerminalDisplay.h" -#include "switchthememenu.h" -#include "../stub.h" -#include "settings.h" -#include "ut_stub_defines.h" - -#include - -//Google GTest 相关头文件 -#include - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -UT_SwitchThemeMenu_Test::UT_SwitchThemeMenu_Test() -{ -} - -void UT_SwitchThemeMenu_Test::SetUp() -{ - m_themeMenu = new SwitchThemeMenu("Theme", nullptr); -} - -void UT_SwitchThemeMenu_Test::TearDown() -{ - delete m_themeMenu; -} - -/******************************************************************************* - 1. @函数: SwitchThemeMenu类的函数 - 2. @作者: ut000125 sunchengxi - 3. @日期: 2020-11-05 - 4. @说明: SwitchThemeMenu类单元测试 -*******************************************************************************/ -#ifdef UT_SWITCHTHEMEMENU_TEST -TEST_F(UT_SwitchThemeMenu_Test, SwitchThemeMenuTest) -{ - EXPECT_NE(m_themeMenu, nullptr); - m_themeMenu->show(); - - QEvent e(QEvent::None); - m_themeMenu->leaveEvent(&e); - - QKeyEvent keyPress(QEvent::KeyPress, Qt::Key_Up, Qt::NoModifier); - m_themeMenu->keyPressEvent(&keyPress); - - m_themeMenu->enterEvent(&e); - EXPECT_EQ(m_themeMenu->hoveredThemeStr, ""); - - QHideEvent he; - m_themeMenu->hideEvent(&he); - EXPECT_EQ(m_themeMenu->hoveredThemeStr, ""); -} -#endif - -static QWidget *ut_widget_focusWidget() -{ - static QWidget w; - return &w; -} - -UT_MainWindow_Test::UT_MainWindow_Test() -{ -} - -void UT_MainWindow_Test::SetUp() -{ - m_service = Service::instance(); - //Service的init初始化函数只能执行一次,否则会crash - if (!m_service->property("isServiceInit").toBool()) { - m_service->init(); - m_service->setProperty("isServiceInit", true); - } - - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); - - m_quakeTermProperty[QuakeMode] = true; - m_quakeWindow = new QuakeWindow(m_quakeTermProperty, nullptr); -} - -void UT_MainWindow_Test::TearDown() -{ - delete m_normalWindow; - delete m_quakeWindow; -} - -static QObject *ut_shortcut_sender() -{ - static QShortcut cut(0); - return &cut; -} - -static QObject *ut_action_sender() -{ - static QAction ac(0); - return ∾ -} -static bool ut_widget_isActiveWindow() -{ - return true; -} -static void ut_termwidget_onTermIsIdle(bool) -{ - -} - -#ifdef UT_MAINWINDOW_TEST - -/******************************************************************************* - 1. @函数: QuakeAnimationTest - 2. @作者: ut001000 任飞翔 - 3. @日期: 2020-11-24 - 4. @说明: 测试雷神窗口动画效果UT -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, QuakeAnimationTest) -{ - { - TermProperties property; - property[QuakeMode] = true; - QuakeWindow *quakeWindow = new QuakeWindow(property); - quakeWindow->setAnimationFlag(false); - quakeWindow->topToBottomAnimation(); - EXPECT_TRUE(quakeWindow->currentPage()); - quakeWindow->deleteLater(); - } - { - TermProperties property; - property[QuakeMode] = true; - QuakeWindow *quakeWindow = new QuakeWindow(property); - quakeWindow->setAnimationFlag(false); - quakeWindow->bottomToTopAnimation(); - EXPECT_TRUE(quakeWindow->currentPage()); - quakeWindow->deleteLater(); - } -} - -int ut_main_runningTerminalCount() -{ - return 1; -} - -TEST_F(UT_MainWindow_Test, NormalWindowTest) -{ - EXPECT_EQ(MainWindow::m_MinWidth, WINDOW_MIN_WIDTH); - EXPECT_EQ(MainWindow::m_MinHeight, WINDOW_MIN_HEIGHT); - - EXPECT_NE(m_normalWindow, nullptr); - - m_normalWindow->show(); - - EXPECT_GE(m_normalWindow->width(), MainWindow::m_MinWidth); - EXPECT_GE(m_normalWindow->height(), MainWindow::m_MinHeight); - - m_normalWindow->isQuakeMode(); - m_normalWindow->hasRunningProcesses(); - -// Stub stub; -// stub.set(ADDR(TermWidgetPage,runningTerminalCount),ut_main_runningTerminalCount); -// m_normalWindow->hasRunningProcesses(); - - const int tabCount = 5; - for (int i = 0; i < tabCount; i++) { - m_normalWindow->addTab(m_normalTermProperty); - } - TabBar *tabBar = m_normalWindow->m_tabbar; - EXPECT_NE(tabBar, nullptr); - //窗口默认启动就自带了1个tab,所以这里加1 - EXPECT_EQ(tabBar->count(), tabCount + 1); - - QString firstTabId = tabBar->identifier(0); - m_normalWindow->closeTab(firstTabId); - - EXPECT_EQ(tabBar->count(), tabCount); - - TermWidgetPage *currPage = m_normalWindow->currentPage(); - EXPECT_NE(currPage, nullptr); - TermWidget *currTerm = currPage->currentTerminal(); - EXPECT_NE(currTerm, nullptr); - - Service::instance()->showSettingDialog(m_normalWindow); - m_service->showHideOpacityAndBlurOptions(true); - -#ifdef ENABLE_UI_TEST - //只有在开启UI测试的模式下,才能判断焦点 - currTerm->hasFocus(); -#endif -} - -TEST_F(UT_MainWindow_Test, closeOtherTab) -{ - TabBar *tabBar = m_normalWindow->m_tabbar; - QString firstTabId = tabBar->identifier(0); - m_normalWindow->closeOtherTab(firstTabId); - EXPECT_EQ(tabBar->count(), 1); -} - -TEST_F(UT_MainWindow_Test, getCurrTabTitle) -{ - TabBar *tabBar = m_normalWindow->m_tabbar; - EXPECT_NE(tabBar, nullptr); - QString firstTabId = tabBar->identifier(0); - - QString strTabTitle = "Test Title"; - tabBar->setTabText(firstTabId, strTabTitle); - QString currTabTitle = m_normalWindow->getCurrTabTitle(); - EXPECT_EQ(currTabTitle, strTabTitle); -} - -TEST_F(UT_MainWindow_Test, isFocusOnList) -{ - bool isFocusOnList = m_normalWindow->isFocusOnList(); - EXPECT_EQ(isFocusOnList, true); -} - -TEST_F(UT_MainWindow_Test, focusPage) -{ - TabBar *tabBar = m_normalWindow->m_tabbar; - QString firstTabId = tabBar->identifier(0); - - m_normalWindow->focusPage(firstTabId); - TermWidgetPage *tabPage = m_normalWindow->getPageByIdentifier(firstTabId); - EXPECT_NE(tabPage, nullptr); - - //#ifdef ENABLE_UI_TEST - // QTest::qWait(UT_WAIT_TIME); - // //只有在开启UI测试的模式下,才能判断焦点 - // EXPECT_EQ(tabPage->currentTerminal()->hasFocus(), true); - //#endif -} - - -TEST_F(UT_MainWindow_Test, focusCurrentPage) -{ - TabBar *tabBar = m_normalWindow->m_tabbar; - m_normalWindow->focusCurrentPage(); - QString firstTabId = tabBar->identifier(0); - - m_normalWindow->focusPage(firstTabId); - TermWidgetPage *tabPage = m_normalWindow->getPageByIdentifier(firstTabId); - EXPECT_NE(tabPage, nullptr); - - //#ifdef ENABLE_UI_TEST - // QTest::qWait(UT_WAIT_TIME); - // //只有在开启UI测试的模式下,才能判断焦点 - // EXPECT_EQ(tabPage->currentTerminal()->hasFocus(), true); - //#endif -} - -TEST_F(UT_MainWindow_Test, showPlugin) -{ - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_CUSTOMCOMMAND); - EXPECT_EQ(m_normalWindow->m_CurrentShowPlugin, QString(MainWindow::PLUGIN_TYPE_CUSTOMCOMMAND)); -} - - -TEST_F(UT_MainWindow_Test, hidePlugin) -{ - m_normalWindow->hidePlugin(); - EXPECT_EQ(m_normalWindow->m_CurrentShowPlugin, QString(MainWindow::PLUGIN_TYPE_NONE)); -} - -TEST_F(UT_MainWindow_Test, selectedText) -{ - QString selectedText = m_normalWindow->selectedText(); - - EXPECT_EQ(selectedText.length(), 0); -} - -TEST_F(UT_MainWindow_Test, createNewTab) -{ - TabBar *tabBar = m_normalWindow->m_tabbar; - m_normalWindow->createNewTab(); - EXPECT_EQ(tabBar->count(), 2); -} - -TEST_F(UT_MainWindow_Test, closeAllTab) -{ - TabBar *tabBar = m_normalWindow->m_tabbar; - m_normalWindow->closeAllTab(); - EXPECT_EQ(tabBar->count(), 0); -} - -TEST_F(UT_MainWindow_Test, createJsonGroup) -{ - QJsonArray jsonGroups; - m_normalWindow->createJsonGroup("terminal", jsonGroups); - m_normalWindow->createJsonGroup("tab", jsonGroups); - m_normalWindow->createJsonGroup("advanced", jsonGroups); - - ASSERT_TRUE(jsonGroups.size() > 0); - QJsonArray array = jsonGroups.last().toObject().value("groupItems").toArray(); - EXPECT_TRUE(array.size() > 3); - -} - -TEST_F(UT_MainWindow_Test, QuakeWindowTest) -{ - qDebug() << __LINE__ << m_normalWindow->currentPage()->currentTerminal(); - qDebug() << __LINE__ << m_quakeWindow->currentPage()->currentTerminal(); - EXPECT_NE(m_quakeWindow, nullptr); - - m_quakeWindow->show(); - - int desktopWidth = QApplication::desktop()->availableGeometry().width(); - EXPECT_EQ(m_quakeWindow->width(), desktopWidth); - EXPECT_GE(m_quakeWindow->height(), 0); - - EXPECT_EQ(m_quakeWindow->isQuakeMode(), true); - EXPECT_EQ(m_quakeWindow->hasRunningProcesses(), false); - - const int tabCount = 5; - for (int i = 0; i < tabCount; i++) { - m_quakeWindow->addTab(m_normalTermProperty); - } - TabBar *tabBar = m_quakeWindow->m_tabbar; - EXPECT_NE(tabBar, nullptr); - //窗口默认启动就自带了1个tab,所以这里加1 - EXPECT_EQ(tabBar->count(), tabCount + 1); - - QString firstTabId = tabBar->identifier(0); - m_quakeWindow->closeTab(firstTabId); - - QString lastTabId = tabBar->identifier(tabBar->count() - 1); - m_quakeWindow->closeTab(lastTabId); -} - -TEST_F(UT_MainWindow_Test, quake_closeOtherTab) -{ - TabBar *tabBar = m_quakeWindow->m_tabbar; - QString firstTabId = tabBar->identifier(0); - m_quakeWindow->closeOtherTab(firstTabId); - EXPECT_EQ(tabBar->count(), 1); -} - -TEST_F(UT_MainWindow_Test, quake_getCurrTabTitle) -{ - TabBar *tabBar = m_quakeWindow->m_tabbar; - EXPECT_NE(tabBar, nullptr); - QString firstTabId = tabBar->identifier(0); - - QString strTabTitle = "Test Title"; - tabBar->setTabText(firstTabId, strTabTitle); - QString currTabTitle = m_quakeWindow->getCurrTabTitle(); - EXPECT_EQ(currTabTitle, strTabTitle); -} - -TEST_F(UT_MainWindow_Test, quake_isFocusOnList) -{ - bool isFocusOnList = m_quakeWindow->isFocusOnList(); - EXPECT_EQ(isFocusOnList, true); -} - -TEST_F(UT_MainWindow_Test, quake_focusPage) -{ - TabBar *tabBar = m_quakeWindow->m_tabbar; - QString firstTabId = tabBar->identifier(0); - - m_quakeWindow->focusPage(firstTabId); - TermWidgetPage *tabPage = m_quakeWindow->getPageByIdentifier(firstTabId); - EXPECT_NE(tabPage, nullptr); - - //#ifdef ENABLE_UI_TEST - // QTest::qWait(UT_WAIT_TIME); - // //只有在开启UI测试的模式下,才能判断焦点 - // EXPECT_EQ(tabPage->currentTerminal()->hasFocus(), true); - //#endif -} - -TEST_F(UT_MainWindow_Test, quake_focusCurrentPage) -{ - TabBar *tabBar = m_quakeWindow->m_tabbar; - m_quakeWindow->focusCurrentPage(); - QString firstTabId = tabBar->identifier(0); - - m_quakeWindow->focusPage(firstTabId); - TermWidgetPage *tabPage = m_quakeWindow->getPageByIdentifier(firstTabId); - EXPECT_NE(tabPage, nullptr); - - //#ifdef ENABLE_UI_TEST - // QTest::qWait(UT_WAIT_TIME); - // //只有在开启UI测试的模式下,才能判断焦点 - // EXPECT_EQ(tabPage->currentTerminal()->hasFocus(), true); - //#endif -} - -TEST_F(UT_MainWindow_Test, quake_showPlugin) -{ - m_quakeWindow->showPlugin(MainWindow::PLUGIN_TYPE_CUSTOMCOMMAND); - EXPECT_EQ(m_quakeWindow->m_CurrentShowPlugin, QString(MainWindow::PLUGIN_TYPE_CUSTOMCOMMAND)); -} - - -TEST_F(UT_MainWindow_Test, quake_hidePlugin) -{ - m_quakeWindow->hidePlugin(); - EXPECT_EQ(m_quakeWindow->m_CurrentShowPlugin, QString(MainWindow::PLUGIN_TYPE_NONE)); -} - -TEST_F(UT_MainWindow_Test, quake_selectedText) -{ - QString selectedText = m_quakeWindow->selectedText(); - - EXPECT_EQ(selectedText.length(), 0); -} - -TEST_F(UT_MainWindow_Test, quake_createNewTab) -{ - TabBar *tabBar = m_quakeWindow->m_tabbar; - m_quakeWindow->createNewTab(); - EXPECT_EQ(tabBar->count(), 2); -} - -TEST_F(UT_MainWindow_Test, quake_closeAllTab) -{ - TabBar *tabBar = m_quakeWindow->m_tabbar; - m_quakeWindow->closeAllTab(); - EXPECT_EQ(tabBar->count(), 0); -} - -TEST_F(UT_MainWindow_Test, displayShortcuts) -{ - UT_STUB_QPROCESS_STARTDETACHED_CREATE; - - m_normalWindow->displayShortcuts(); - //startDetched函数被调用过 - EXPECT_TRUE(UT_STUB_QPROCESS_STARTDETACHED_RESULT); -} - -TEST_F(UT_MainWindow_Test, getConfigWindowState) -{ -// m_normalTermProperty[StartWindowState] = "normal"; -// EXPECT_EQ(m_normalWindow->getConfigWindowState(), "window_normal"); -} - -TEST_F(UT_MainWindow_Test, OnHandleCloseType) -{ - int oldTabCount = m_normalWindow->m_tabbar->count(); - m_normalWindow->createNewTab(); - m_normalWindow->createNewTab(); - m_normalWindow->createNewTab(); - - //新建了3个tab - EXPECT_TRUE(3 == (m_normalWindow->m_tabbar->count() - oldTabCount)); - - //0:不关闭,剩余三个 - int curTabCount = m_normalWindow->m_tabbar->count(); - m_normalWindow->OnHandleCloseType(0, Utils::CloseType::CloseType_Window); - EXPECT_TRUE(curTabCount == m_normalWindow->m_tabbar->count()); - - //关闭了一个 - m_normalWindow->OnHandleCloseType(1, Utils::CloseType::CloseType_Tab); - EXPECT_TRUE(curTabCount - 1 == m_normalWindow->m_tabbar->count()); - - //关闭了其他,剩余一个 - m_normalWindow->OnHandleCloseType(1, Utils::CloseType::CloseType_OtherTab); - EXPECT_TRUE(1 == m_normalWindow->m_tabbar->count()); - - //关闭当前,没有剩余 - m_normalWindow->OnHandleCloseType(1, Utils::CloseType::CloseType_Window); - EXPECT_TRUE(0 == m_normalWindow->m_tabbar->count()); -} - -TEST_F(UT_MainWindow_Test, onWindowSettingChanged) -{ - //开启或关闭毛玻璃效果 - m_normalWindow->onWindowSettingChanged("advanced.window.blurred_background"); - EXPECT_TRUE(m_normalWindow->enableBlurWindow() == Settings::instance()->backgroundBlur()); - - //测试时,默认为普通窗口 - m_normalWindow->onWindowSettingChanged("advanced.window.use_on_starting"); - EXPECT_TRUE(m_normalWindow->m_IfUseLastSize); - - //normalwindow下的use_on_starting - m_normalWindow->onWindowSettingChanged("advanced.window.auto_hide_raytheon_window"); - EXPECT_TRUE("window_normal" == Settings::instance()->settings->option("advanced.window.use_on_starting")->value().toString()); - -} - -static bool ut_isTabVisited() -{ - return true; -} - -TEST_F(UT_MainWindow_Test, onTermIsIdle) -{ - TermWidgetPage *currPage = m_normalWindow->currentPage(); - ASSERT_TRUE(currPage != nullptr); - - Stub stub; - stub.set(ADDR(MainWindow, isTabVisited), ut_isTabVisited); - - //当前id 闲置,故visitMap包含此id - m_normalWindow->onTermIsIdle(currPage->identifier(), true); - EXPECT_TRUE(m_normalWindow->m_tabVisitMap.contains(currPage->identifier())); - - //当前id繁忙,故颜色会变化 - m_normalWindow->onTermIsIdle(currPage->identifier(), false); - EXPECT_TRUE(m_normalWindow->m_tabChangeColorMap.contains(currPage->identifier())); -} - -TEST_F(UT_MainWindow_Test, showExitConfirmDialog) -{ -#ifdef ENABLE_UI_TEST - //要自己退出,否则对话框窗口会一直阻塞 - QtConcurrent::run([ = ]() { - QTimer timer; - timer.setSingleShot(true); - - QEventLoop *loop = new QEventLoop; - - QObject::connect(&timer, &QTimer::timeout, [ = ]() { - loop->quit(); - qApp->exit(); - }); - - timer.start(1000); - loop->exec(); - - delete loop; - }); - - int oldTabCount = m_normalWindow->m_tabbar->count(); - m_normalWindow->createNewTab(); - //新增一个窗口 - EXPECT_TRUE(1 == (m_normalWindow->m_tabbar->count() - oldTabCount)); - - m_normalWindow->showExitConfirmDialog(Utils::CloseType::CloseType_Tab, 1, m_normalWindow); - -#endif -} - -/******************************************************************************* - 1. @函数: checkThemeItem - 2. @作者: ut000125 sunchengxi - 3. @日期: 2020-11-05 - 4. @说明: checkThemeItem函数单元测试 -*******************************************************************************/ -//TEST_F(UT_MainWindow_Test, checkExtendThemeItemTest) -//{ -// QAction *pAction = nullptr; -// m_normalWindow->checkExtendThemeItem("Theme1", pAction); -// EXPECT_EQ(m_normalWindow->themeOneAction, pAction); - -// m_normalWindow->checkExtendThemeItem("Theme2", pAction); -// EXPECT_EQ(m_normalWindow->themeTwoAction, pAction); - -// m_normalWindow->checkExtendThemeItem("Theme3", pAction); -// EXPECT_EQ(m_normalWindow->themeThreeAction, pAction); - -// m_normalWindow->checkExtendThemeItem("Theme4", pAction); -// EXPECT_EQ(m_normalWindow->themeFourAction, pAction); - -// m_normalWindow->checkExtendThemeItem("Theme5", pAction); -// EXPECT_EQ(m_normalWindow->themeFiveAction, pAction); - -// m_normalWindow->checkExtendThemeItem("Theme6", pAction); -// EXPECT_EQ(m_normalWindow->themeSixAction, pAction); - -// m_normalWindow->checkExtendThemeItem("Theme7", pAction); -// EXPECT_EQ(m_normalWindow->themeSevenAction, pAction); - -// m_normalWindow->checkExtendThemeItem("Theme8", pAction); -// EXPECT_EQ(m_normalWindow->themeEightAction, pAction); - -// m_normalWindow->checkExtendThemeItem("Theme9", pAction); -// EXPECT_EQ(m_normalWindow->themeNineAction, pAction); - -// m_normalWindow->checkExtendThemeItem("Theme10", pAction); -// EXPECT_EQ(m_normalWindow->themeTenAction, pAction); -//} - -/******************************************************************************* - 1. @函数: checkThemeItem - 2. @作者: ut000125 sunchengxi - 3. @日期: 2020-11-05 - 4. @说明: checkThemeItem函数单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, checkThemeItemTest) -{ - m_normalWindow->checkThemeItem(); - EXPECT_NE(m_normalWindow->currCheckThemeAction, nullptr); -} - -/******************************************************************************* - 1. @函数: switchThemeAction - 2. @作者: ut000125 sunchengxi - 3. @日期: 2020-11-05 - 4. @说明: switchThemeAction函数单元测试 -*******************************************************************************/ -//TEST_F(UT_MainWindow_Test, switchThemeActionTest) -//{ -// QAction *pAction = m_normalWindow->themeOneAction; -// QString themeNameStr = MainWindow::THEME_ONE; -// m_normalWindow->switchThemeAction(pAction, themeNameStr); -// //修改主题 -// EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_ONE); - -// pAction = m_normalWindow->themeNineAction; -// themeNameStr = MainWindow::THEME_NINE; -// m_normalWindow->switchThemeAction(pAction, themeNameStr); -// //修改主题 -// EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_NINE); -//} - -/******************************************************************************* - 1. @函数: switchThemeAction - 2. @作者: ut000125 sunchengxi - 3. @日期: 2020-11-05 - 4. @说明: switchThemeAction函数单元测试 -*******************************************************************************/ -//TEST_F(UT_MainWindow_Test, switchThemeActionTestOne) -//{ -// QAction *pAction = m_normalWindow->lightThemeAction; -// m_normalWindow->switchThemeAction(pAction); -// //修改颜色方案 -// EXPECT_TRUE(Settings::instance()->colorScheme() == MainWindow::THEME_LIGHT); - -// pAction = m_normalWindow->darkThemeAction; -// m_normalWindow->switchThemeAction(pAction); -// //修改颜色方案 -// EXPECT_TRUE(Settings::instance()->colorScheme() == MainWindow::THEME_DARK); - -// pAction = m_normalWindow->autoThemeAction; -// m_normalWindow->switchThemeAction(pAction); -// //修改颜色方案 -// EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_NO); - -// pAction = m_normalWindow->themeOneAction; -// m_normalWindow->switchThemeAction(pAction); -// //修改颜色方案 -// EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_ONE); - -// pAction = m_normalWindow->themeTwoAction; -// m_normalWindow->switchThemeAction(pAction); -// //修改颜色方案 -// EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_TWO); - -// pAction = m_normalWindow->themeThreeAction; -// m_normalWindow->switchThemeAction(pAction); -// //修改颜色方案 -// EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_THREE); - -// pAction = m_normalWindow->themeFourAction; -// m_normalWindow->switchThemeAction(pAction); -// //修改颜色方案 -// EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_FOUR); - -// pAction = m_normalWindow->themeFiveAction; -// m_normalWindow->switchThemeAction(pAction); -// //修改颜色方案 -// EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_FIVE); - -// pAction = m_normalWindow->themeSixAction; -// m_normalWindow->switchThemeAction(pAction); -// //修改颜色方案 -// EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_SIX); - -// pAction = m_normalWindow->themeSevenAction; -// m_normalWindow->switchThemeAction(pAction); -// //修改颜色方案 -// EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_SEVEN); - -// pAction = m_normalWindow->themeEightAction; -// m_normalWindow->switchThemeAction(pAction); -// //修改颜色方案 -// EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_EIGHT); - -// pAction = m_normalWindow->themeNineAction; -// m_normalWindow->switchThemeAction(pAction); -// //修改颜色方案 -// EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_NINE); - -// pAction = m_normalWindow->themeTenAction; -// m_normalWindow->switchThemeAction(pAction); -// //修改颜色方案 -// EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_TEN); -//} - -/******************************************************************************* - 1. @函数: setThemeCheckItemSlot - 2. @作者: ut000125 sunchengxi - 3. @日期: 2020-11-05 - 4. @说明: setThemeCheckItemSlot函数单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, setThemeCheckItemSlotTest) -{ - //测试场景,主题列表上下滑动的情况 - Settings::instance()->bSwitchTheme = false; - - Settings::instance()->themeStr = "Light"; - Settings::instance()->extendThemeStr = ""; - m_normalWindow->setThemeCheckItemSlot(); - //修改颜色方案 - EXPECT_TRUE(Settings::instance()->colorScheme() == MainWindow::THEME_LIGHT); - - Settings::instance()->themeStr = "Dark"; - Settings::instance()->extendThemeStr = ""; - m_normalWindow->setThemeCheckItemSlot(); - //修改颜色方案 - EXPECT_TRUE(Settings::instance()->colorScheme() == MainWindow::THEME_DARK); - - m_normalWindow->autoThemeAction->setChecked(true); - m_normalWindow->setThemeCheckItemSlot(); - //修改颜色方案 - EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_NO); - - m_normalWindow->autoThemeAction->setChecked(false); - - - //修改颜色方案 - EXPECT_TRUE(Settings::instance()->extendColorScheme() == MainWindow::THEME_NINE); - -} - -/******************************************************************************* - 1. @函数: menuHideSetThemeSlot - 2. @作者: ut000125 sunchengxi - 3. @日期: 2020-11-05 - 4. @说明: menuHideSetThemeSlot函数单元测试 -*******************************************************************************/ - -/******************************************************************************* - 1. @函数: dragDropTabTest - 2. @作者: ut000438 王亮 - 3. @日期: 2020-11-20 - 4. @说明: tab标签拖拽单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, clickTabTest) -{ - EXPECT_NE(m_normalWindow, nullptr); - - m_normalWindow->show(); - - const int tabCount = 5; - for (int i = 0; i < tabCount; i++) { - m_normalWindow->addTab(m_normalTermProperty); - } - TabBar *tabBar = m_normalWindow->m_tabbar; - EXPECT_NE(tabBar, nullptr); - - QTest::mouseClick(tabBar, Qt::LeftButton, Qt::NoModifier, QPoint(50, 10), UT_WAIT_TIME); - - QTest::mouseClick(tabBar, Qt::LeftButton, Qt::NoModifier, QPoint(100, 10), UT_WAIT_TIME); - - QTest::mouseClick(tabBar, Qt::LeftButton, Qt::NoModifier, QPoint(200, 10), UT_WAIT_TIME); -} - -/******************************************************************************* - 1. @函数: hasRunningProcesses - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-13 - 4. @说明: 是否有程序正在运行 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, hasRunningProcesses) -{ - // 新建一个mainWindow - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - mainWindow->show(); - // 此时没有正在执行的程序 - EXPECT_EQ(mainWindow->hasRunningProcesses(), false); - - // 发送数据 - mainWindow->currentPage()->sendTextToCurrentTerm("ping 127.0.0.1\n"); - bool running = mainWindow->hasRunningProcesses(); - qDebug() << "has running process :" << running; - // EXPECT_EQ(running, true); - delete mainWindow; -} - -TEST_F(UT_MainWindow_Test, initPlugins) -{ - // 新建一个mainWindow - - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - mainWindow->initTabBar(); - //初始化tab - EXPECT_TRUE(mainWindow->m_tabbar != nullptr); - - emit mainWindow->m_tabbar->tabBarClicked(1, ""); - emit mainWindow->m_tabbar->tabAddRequested(); - emit mainWindow->m_tabbar->tabCloseRequested(1); - emit mainWindow->m_tabbar->menuCloseTab(""); - - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutBuiltinCopy单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutBuiltinCopy) -{ - // 新建一个mainWindow - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - mainWindow->slotShortcutBuiltinCopy(); - //currentpage 复制内容到剪切板 - EXPECT_TRUE(mainWindow->currentPage() != nullptr); - - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutBuiltinPaste单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutBuiltinPaste) -{ - // 新建一个mainWindow - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - mainWindow->slotShortcutBuiltinPaste(); - //currentpage 粘贴 - EXPECT_TRUE(mainWindow->currentPage() != nullptr); - - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutFocusOut单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutFocusOut) -{ - // 新建一个mainWindow - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - mainWindow->slotShortcutFocusOut(); - //currentpage 失去焦点 - EXPECT_TRUE(mainWindow->currentPage() != nullptr); - - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutVerticalSplit单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutVerticalSplit) -{ - // 新建一个mainWindow - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - mainWindow->slotShortcutVerticalSplit(); - //当前窗口水平分屏 - EXPECT_TRUE(mainWindow->currentPage() != nullptr); - - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutHorizonzalSplit单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutHorizonzalSplit) -{ - // 新建一个mainWindow - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - mainWindow->slotShortcutHorizonzalSplit(); - //当前窗口垂直分屏 - EXPECT_TRUE(mainWindow->currentPage() != nullptr); - - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutNextTab单元测试 -*******************************************************************************/ - -bool ut_main_hasRunningProcess() -{ - return false; -} - -bool ut_main_isTabChangeColor() -{ - return true; -} - -TEST_F(UT_MainWindow_Test, slotShortcutNextTab) -{ - // 新建一个mainWindow - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - - const int tabCount = 3; - for (int i = 0; i < tabCount; i++) { - mainWindow->addTab(m_normalTermProperty); - } - - TabBar *tabBar = mainWindow->m_tabbar; - EXPECT_NE(tabBar, nullptr); - - Stub stub; - stub.set(ADDR(TermWidget, hasRunningProcess), ut_main_hasRunningProcess); - stub.set(ADDR(MainWindow, isTabChangeColor), ut_main_isTabChangeColor); - mainWindow->slotTabBarClicked(0, tabBar->identifier(0)); - - mainWindow->slotShortcutNextTab(); - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutPreviousTab单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutPreviousTab) -{ - // 新建一个mainWindow - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - - const int tabCount = 3; - for (int i = 0; i < tabCount; i++) { - mainWindow->addTab(m_normalTermProperty); - } - - TabBar *tabBar = mainWindow->m_tabbar; - EXPECT_NE(tabBar, nullptr); - - mainWindow->slotTabBarClicked(1, tabBar->identifier(0)); - - mainWindow->slotShortcutPreviousTab(); - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutSwitchFullScreen单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutSwitchFullScreen) -{ - // 新建一个mainWindow - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - mainWindow->slotShortcutSwitchFullScreen(); - //全屏 - EXPECT_TRUE(mainWindow->currentPage() != nullptr); - - delete mainWindow; -} - -TEST_F(UT_MainWindow_Test, slotTabAddRequested) -{ - // 新建一个mainWindow - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - mainWindow->m_ReferedAppStartTime = 1; - //初始化tab,剩余一个 - EXPECT_TRUE(mainWindow->m_tabbar->count() == 1); - - mainWindow->slotTabAddRequested(); - //添加一个tab,剩余两个 - EXPECT_TRUE(mainWindow->m_tabbar->count() == 2); - - //关闭一个tab,剩余一个 - mainWindow->slotTabCloseRequested(1); - EXPECT_TRUE(mainWindow->m_tabbar->count() == 1); - - //关于其他tab,剩余0个 - mainWindow->slotMenuCloseOtherTab("/"); - EXPECT_TRUE(mainWindow->m_tabbar->count() == 0); -// mainWindow->slotShowRenameTabDialog("name"); -// mainWindow->slotClickNewWindowTimeout(); - delete mainWindow; -} - -int ut_widgetCount() -{ - return 200; -} - -TEST_F(UT_MainWindow_Test, slotFileChanged) -{ - // 新建一个mainWindow - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - mainWindow->slotFileChanged(); - mainWindow->singleFlagMove(); - - Stub stub; - stub.set(ADDR(WindowsManager, widgetCount), ut_widgetCount); - - mainWindow->beginAddTab(); - //当前窗口开始添加tab - EXPECT_TRUE(mainWindow->currentPage() != nullptr); - - delete mainWindow; -} - -bool ut_beginAddTab() -{ - return true; -} - -TEST_F(UT_MainWindow_Test, addTabWithTermPage) -{ - // 新建一个mainWindow - Stub stub; - stub.set(ADDR(MainWindow, beginAddTab), ut_beginAddTab); - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - int oldTabCount = mainWindow->m_tabbar->count(); - TermWidgetPage *currPage = m_normalWindow->currentPage(); - mainWindow->addTabWithTermPage("name", true, false, currPage, -1); - //新增了一个tab - EXPECT_TRUE(1 == (mainWindow->m_tabbar->count() - oldTabCount)); - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutCloseOtherTabs单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutCloseOtherTabs) -{ - // 新建一个mainWindow - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - - //新增了3个后,一个共4个tab - const int tabCount = 3; - for (int i = 0; i < tabCount; i++) { - mainWindow->addTab(m_normalTermProperty); - } - EXPECT_TRUE(4 == mainWindow->m_tabbar->count()); - - //关闭其他后,剩余1个 - mainWindow->slotShortcutCloseOtherTabs(); - EXPECT_TRUE(1 == mainWindow->m_tabbar->count()); - - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutCloseTab单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutCloseTab) -{ - //默认一个tab - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - EXPECT_TRUE(1 == mainWindow->m_tabbar->count()); - - //关闭当前 - mainWindow->slotShortcutCloseTab(); - EXPECT_TRUE(0 == mainWindow->m_tabbar->count()); - - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutNewTab单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutNewTab) -{ - //默认一个tab - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - EXPECT_TRUE(1 == mainWindow->m_tabbar->count()); - - //新增一个 - mainWindow->slotShortcutNewTab(); - EXPECT_TRUE(2 == mainWindow->m_tabbar->count()); - - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutPaste单元测试 -*******************************************************************************/ -//TEST_F(UT_MainWindow_Test, slotShortcutPaste) -//{ -// //默认一个tab -// MainWindow *mainWindow = new NormalWindow(TermProperties("/")); -// EXPECT_TRUE(mainWindow->currentPage()); -// EXPECT_TRUE(mainWindow->currentPage()->currentTerminal()); - -// UT_STUB_QWIDGET_HASFOCUS_CREATE; -// mainWindow->slotShortcutPaste(); -// //m_terminalDisplay 触发hasFocus函数 -// EXPECT_TRUE(UT_STUB_QWIDGET_HASFOCUS_RESULT); -// mainWindow->deleteLater(); -//} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutCopy单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutCopy) -{ - //默认一个tab - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - ASSERT_TRUE(mainWindow->currentPage()); - ASSERT_TRUE(mainWindow->currentPage()->currentTerminal()); - TermWidget *w = mainWindow->currentPage()->currentTerminal(); - mainWindow->slotShortcutCopy(); - // - EXPECT_TRUE(w->selectedText() == qApp->clipboard()->text()); - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutZoomIn单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutZoomIn) -{ - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - ASSERT_TRUE(mainWindow->currentPage()); - ASSERT_TRUE(mainWindow->currentPage()->currentTerminal()); - TermWidget *w = mainWindow->currentPage()->currentTerminal(); - TerminalDisplay *display = w->findChild(); - - int oldFontSize = display->getVTFont().pointSize(); - mainWindow->slotShortcutZoomIn(); - int newFontSize = display->getVTFont().pointSize(); - EXPECT_TRUE((oldFontSize + 1) == newFontSize); - // - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutZoomOut单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutZoomOut) -{ - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - ASSERT_TRUE(mainWindow->currentPage()); - TermWidget *w = mainWindow->currentPage()->currentTerminal(); - TerminalDisplay *display = w->findChild(); - int oldFontSize = display->getVTFont().pointSize(); - mainWindow->slotShortcutZoomOut(); - int newFontSize = display->getVTFont().pointSize(); - EXPECT_TRUE((oldFontSize - 1) == newFontSize); - // - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutCloseWorkspace单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutCloseWorkspace) -{ - //默认一个tab - NormalWindow mainWindow(TermProperties("/")); - ASSERT_TRUE(mainWindow.currentPage()); - TermWidgetPage *page = mainWindow.currentPage(); - page->split(Qt::Horizontal); - EXPECT_TRUE(2 == page->getTerminalCount()); - mainWindow.slotShortcutCloseWorkspace(); - EXPECT_TRUE(1 == page->getTerminalCount()); -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutSelectLowerWorkspace单元测试 -*******************************************************************************/ -//bool QRect::contains(const QPoint &point, bool proper = false) const -static bool ut_rect_contain(const QPoint &, bool) -{ - return true; -} - -TEST_F(UT_MainWindow_Test, slotShortcutSelectLowerWorkspace) -{ - //默认一个tab - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - ASSERT_TRUE(mainWindow->currentPage()); - TermWidgetPage *page = mainWindow->currentPage(); - Stub stub; - stub.set((bool (QRect::*)(const QPoint &, bool) const)ADDR(QRect, contains), ut_rect_contain); - UT_STUB_QWIDGET_SETFOCUS_APPEND; - mainWindow->slotShortcutSelectLowerWorkspace(); - EXPECT_TRUE(UT_STUB_QWIDGET_SETFOCUS_RESULT); - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutSelectLeftWorkspace单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutSelectLeftWorkspace) -{ - //默认一个tab - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - ASSERT_TRUE(mainWindow->currentPage()); - TermWidgetPage *page = mainWindow->currentPage(); - Stub stub; - stub.set((bool (QRect::*)(const QPoint &, bool) const)ADDR(QRect, contains), ut_rect_contain); - UT_STUB_QWIDGET_SETFOCUS_APPEND; - - mainWindow->slotShortcutSelectLeftWorkspace(); - EXPECT_TRUE(UT_STUB_QWIDGET_SETFOCUS_RESULT); - - delete mainWindow; -} - -QString ut_getConfigWindowState_window_maximum() -{ - return "window_maximum"; -} - -QString ut_getConfigWindowState_fullscreen() -{ - return "fullscreen"; -} - -QString ut_getConfigWindowState_split_screen() -{ - return "split_screen"; -} - -QString ut_getConfigWindowState_window() -{ - return "window"; -} - -TEST_F(UT_MainWindow_Test, initWindowAttribute) -{ - // 新建一个mainWindow - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - Stub stub; - stub.set(ADDR(MainWindow, getConfigWindowState), ut_getConfigWindowState_window_maximum); - mainWindow->initWindowAttribute(); - //最大化 - EXPECT_TRUE(mainWindow->windowState() & Qt::WindowMaximized); - - stub.reset(ADDR(MainWindow, getConfigWindowState)); - stub.set(ADDR(MainWindow, getConfigWindowState), ut_getConfigWindowState_fullscreen); - mainWindow->initWindowAttribute(); - //全屏 - EXPECT_TRUE(mainWindow->windowState() & Qt::WindowFullScreen); - - stub.reset(ADDR(MainWindow, getConfigWindowState)); - stub.set(ADDR(MainWindow, getConfigWindowState), ut_getConfigWindowState_split_screen); - mainWindow->initWindowAttribute(); - //普通窗口 - EXPECT_TRUE(mainWindow->windowState() == Qt::WindowNoState); - - stub.reset(ADDR(MainWindow, getConfigWindowState)); - stub.set(ADDR(MainWindow, getConfigWindowState), ut_getConfigWindowState_window); - mainWindow->initWindowAttribute(); - //普通窗口 - EXPECT_TRUE(mainWindow->windowState() == Qt::WindowNoState); - - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-25 - 4. @说明: slotShortcutSelectRightWorkspace单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutSelectRightWorkspace) -{ - //默认一个tab - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - ASSERT_TRUE(mainWindow->currentPage()); - TermWidgetPage *page = mainWindow->currentPage(); - Stub stub; - stub.set((bool (QRect::*)(const QPoint &, bool) const)ADDR(QRect, contains), ut_rect_contain); - UT_STUB_QWIDGET_SETFOCUS_APPEND; - - mainWindow->slotShortcutSelectRightWorkspace(); - EXPECT_TRUE(UT_STUB_QWIDGET_SETFOCUS_RESULT); - - delete mainWindow; -} - -bool ut_isTabChangeColor() -{ - return true; -} - -TEST_F(UT_MainWindow_Test, updateTabStatus) -{ - // 新建一个mainWindow - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - Stub stub; - stub.set(ADDR(TermWidget, hasRunningProcess), ut_main_hasRunningProcess); - stub.set(ADDR(MainWindow, isTabVisited), ut_isTabVisited); - stub.set(ADDR(MainWindow, isTabChangeColor), ut_isTabChangeColor); - mainWindow->updateTabStatus(); - //更新窗口的闲置状态,并更新对应的map - EXPECT_TRUE(mainWindow->m_tabChangeColorMap.count() > 0); - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2021-2-22 - 4. @说明: slotShortcutSelectAll单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutSelectAll) -{ - //默认一个tab - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - ASSERT_TRUE(mainWindow->currentPage()); - ASSERT_TRUE(mainWindow->currentPage()->currentTerminal()); - - TermWidget *w = mainWindow->currentPage()->currentTerminal(); - ASSERT_TRUE(w); - - TerminalDisplay *display = w->findChild(); - ASSERT_TRUE(display); - - ScreenWindow *screen = display->_screenWindow; - ASSERT_TRUE(display); - - screen->_bufferNeedsUpdate = false; - - mainWindow->slotShortcutSelectAll(); - - //全选后,需要更新screen,update 为 true - EXPECT_TRUE(screen->_bufferNeedsUpdate); - - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2021-2-22 - 4. @说明: slotShortcutCustomCommand单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutCustomCommand) -{ - //默认一个tab - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - - QString resultName; - if (MainWindow::PLUGIN_TYPE_CUSTOMCOMMAND == mainWindow->m_CurrentShowPlugin) - resultName = MainWindow::PLUGIN_TYPE_NONE; - else - resultName = MainWindow::PLUGIN_TYPE_CUSTOMCOMMAND; - - mainWindow->slotShortcutCustomCommand(); - - EXPECT_TRUE(resultName == mainWindow->m_CurrentShowPlugin); - delete mainWindow; -} - -/******************************************************************************* - 1. @函数: MainWindow类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2021-2-22 - 4. @说明: slotShortcutRemoteManage单元测试 -*******************************************************************************/ -TEST_F(UT_MainWindow_Test, slotShortcutRemoteManage) -{ - //默认一个tab - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - - QString resultName; - if (MainWindow::PLUGIN_TYPE_REMOTEMANAGEMENT == mainWindow->m_CurrentShowPlugin) - resultName = MainWindow::PLUGIN_TYPE_NONE; - else - resultName = MainWindow::PLUGIN_TYPE_REMOTEMANAGEMENT; - - mainWindow->slotShortcutRemoteManage(); - - EXPECT_TRUE(resultName == mainWindow->m_CurrentShowPlugin); - - delete mainWindow; -} - -//MainWindow类的函数 -TEST_F(UT_MainWindow_Test, slotOptionButtonPressed) -{ - //默认一个tab - NormalWindow *mainWindow = new NormalWindow(TermProperties("/")); - EXPECT_TRUE(1 == mainWindow->m_tabbar->count()); - - mainWindow->slotOptionButtonPressed(); - - EXPECT_TRUE(MainWindow::PLUGIN_TYPE_NONE == mainWindow->m_CurrentShowPlugin); - - delete mainWindow; -} - -//MainWindow类的函数 -TEST_F(UT_MainWindow_Test, slotClickNewWindowTimeout) -{ - UT_STUB_QPROCESS_STARTDETACHED_CREATE; - - NormalWindow(TermProperties("/")).slotClickNewWindowTimeout(); - - EXPECT_TRUE(UT_STUB_QPROCESS_STARTDETACHED_RESULT); -} -//MainWindow类的函数 -TEST_F(UT_MainWindow_Test, slotShortcutSwitchActivated) -{ - NormalWindow *mainWindow = new NormalWindow(TermProperties("/")); - Stub stub; - stub.set(ADDR(QObject, sender), ut_shortcut_sender); - mainWindow->slotShortcutSwitchActivated(); - EXPECT_TRUE(0 == mainWindow->m_tabbar->currentIndex()); - mainWindow->deleteLater(); -} - -//MainWindow类的函数 -TEST_F(UT_MainWindow_Test, slotShortcutSelectUpperWorkspace) -{ - //默认一个tab - MainWindow *mainWindow = new NormalWindow(TermProperties("/")); - ASSERT_TRUE(mainWindow->currentPage()); - TermWidgetPage *page = mainWindow->currentPage(); - Stub stub; - stub.set((bool (QRect::*)(const QPoint &, bool) const)ADDR(QRect, contains), ut_rect_contain); - UT_STUB_QWIDGET_SETFOCUS_APPEND; - - mainWindow->slotShortcutSelectUpperWorkspace(); - EXPECT_TRUE(UT_STUB_QWIDGET_SETFOCUS_RESULT); - - delete mainWindow; -} - -//MainWindow类的函数 -TEST_F(UT_MainWindow_Test, slotShortcutFind) -{ - //默认一个tab - NormalWindow *mainWindow = new NormalWindow(TermProperties("/")); - mainWindow->slotShortcutFind(); - EXPECT_TRUE(MainWindow::PLUGIN_TYPE_SEARCHBAR == mainWindow->m_CurrentShowPlugin); - delete mainWindow; -} - -//调用一个新的进程,开启终端 -TEST_F(UT_MainWindow_Test, onCreateNewWindow) -{ - UT_STUB_QPROCESS_STARTDETACHED_CREATE; - NormalWindow(TermProperties("/")).onCreateNewWindow("/"); - EXPECT_TRUE(UT_STUB_QPROCESS_STARTDETACHED_RESULT); -} - -//MainWindow类的函数 -TEST_F(UT_MainWindow_Test, onShortcutSettingChanged) -{ - NormalWindow w(TermProperties("/")); - w.m_builtInShortcut["shortcuts.terminal.zoom_in"] = new QShortcut(QKeySequence("Ctrl+O"), &w); - w.onShortcutSettingChanged("shortcuts.terminal.zoom_in"); - EXPECT_TRUE(w.m_builtInShortcut.count() > 0); -} - -TEST_F(UT_MainWindow_Test, onCommandActionTriggered) -{ - //默认一个tab - NormalWindow *mainWindow = new NormalWindow(TermProperties("/")); - Stub stub; - stub.set(ADDR(QObject, sender), ut_action_sender); - stub.set(ADDR(QWidget, isActiveWindow), ut_widget_isActiveWindow); - - mainWindow->onCommandActionTriggered(); - ASSERT_TRUE(mainWindow->currentPage()); - ASSERT_TRUE(mainWindow->currentPage()->currentTerminal()); - EXPECT_TRUE(mainWindow->currentPage()->currentTerminal()->property("isSendByRemoteManage").isValid()); - delete mainWindow; -} - -TEST_F(UT_MainWindow_Test, pressCtrlAt) -{ - NormalWindow *mainWindow = new NormalWindow(TermProperties("/")); - Stub stub; - stub.set(ADDR(QWidget, focusWidget), ut_widget_focusWidget); - UT_STUB_QAPPLICATION_SENDEVENT_APPEND; - mainWindow->pressCtrlAt(); - //application sendevent被调用 - EXPECT_TRUE(UT_STUB_QAPPLICATION_SENDEVENT_RESULT); - mainWindow->deleteLater(); -} - -TEST_F(UT_MainWindow_Test, pressEnterKey) -{ - NormalWindow *mainWindow = new NormalWindow(TermProperties("/")); - Stub stub; - stub.set(ADDR(QWidget, focusWidget), ut_widget_focusWidget); - UT_STUB_QAPPLICATION_SENDEVENT_APPEND; - mainWindow->pressEnterKey(""); - //application sendevent被调用 - EXPECT_TRUE(UT_STUB_QAPPLICATION_SENDEVENT_RESULT); - mainWindow->deleteLater(); -} - -TEST_F(UT_MainWindow_Test, pressCtrlU) -{ - NormalWindow *mainWindow = new NormalWindow(TermProperties("/")); - Stub stub; - stub.set(ADDR(QWidget, focusWidget), ut_widget_focusWidget); - UT_STUB_QAPPLICATION_SENDEVENT_APPEND; - mainWindow->pressCtrlU(); - //application sendevent被调用 - EXPECT_TRUE(UT_STUB_QAPPLICATION_SENDEVENT_RESULT); - mainWindow->deleteLater(); -} - -TEST_F(UT_MainWindow_Test, sleep) -{ - NormalWindow *mainWindow = new NormalWindow(TermProperties("/")); - ASSERT_TRUE(mainWindow->currentPage()); - Stub stub; - stub.set(ADDR(TermWidget, onTermIsIdle), ut_termwidget_onTermIsIdle); - QElapsedTimer timer; - timer.start(); - mainWindow->sleep(1000); - //睡眠1000ms - qDebug() << timer.elapsed(); - EXPECT_TRUE(qFabs(timer.elapsed() - 1000) < 10); - mainWindow->deleteLater(); -} - -TEST_F(UT_MainWindow_Test, slotWorkAreaResized) -{ - QuakeWindow *mainWindow = new QuakeWindow(TermProperties({{WorkingDir, "/"}, {QuakeMode, true}})); - - mainWindow->slotWorkAreaResized(); - //雷神窗口的宽度为桌面宽度 - EXPECT_TRUE(QApplication::desktop()->availableGeometry().width() == mainWindow->width()); - mainWindow->deleteLater(); -} - - -#endif diff --git a/tests/src/main/ut_mainwindow_test.h b/tests/src/main/ut_mainwindow_test.h deleted file mode 100644 index fcac43bd6..000000000 --- a/tests/src/main/ut_mainwindow_test.h +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_MAINWINDOW_TEST_H -#define UT_MAINWINDOW_TEST_H - -#include "ut_defines.h" -#include "termproperties.h" - -#include - -class Service; -class MainWindow; -class SwitchThemeMenu; - -/******************************************************************************* - 1. @类名: SwitchThemeMenu - 2. @作者: ut000125 sunchengxi - 3. @日期: 2020-11-05 - 4. @说明: 主题菜单的快捷键项在鼠标离开悬浮时,触发主题还原测试类 -*******************************************************************************/ -class UT_SwitchThemeMenu_Test : public ::testing::Test -{ -public: - UT_SwitchThemeMenu_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - - SwitchThemeMenu *m_themeMenu = nullptr; -}; - - -class UT_MainWindow_Test : public ::testing::Test -{ -public: - UT_MainWindow_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - -public: - Service *m_service = nullptr; - - //普通窗口 - MainWindow *m_normalWindow = nullptr; - - //雷神窗口 - MainWindow *m_quakeWindow = nullptr; - - TermProperties m_normalTermProperty; - TermProperties m_quakeTermProperty; -}; - -#endif // UT_MAINWINDOW_TEST_H - diff --git a/tests/src/main/ut_service_test.cpp b/tests/src/main/ut_service_test.cpp deleted file mode 100644 index 7339bdb7b..000000000 --- a/tests/src/main/ut_service_test.cpp +++ /dev/null @@ -1,380 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_service_test.h" -#include "service.h" -#include "mainwindow.h" -#include "windowsmanager.h" -#include "dbusmanager.h" -#include "utils.h" -#include "customthemesettingdialog.h" -#include "../stub.h" -#include "ut_stub_defines.h" - -//DTK -#include -#include - -//Qt -#include -#include -#include - -//Google GTest 相关头文件 -#include - -UT_Service_Test::UT_Service_Test() -{ -} - -void UT_Service_Test::SetUp() -{ - m_service = Service::instance(); - m_service->m_settingOwner = new NormalWindow(TermProperties()); - m_service->m_settingShortcutConflictDialog = new DDialog; - m_service->m_customThemeSettingDialog = new CustomThemeSettingDialog; - if (!m_service->property("isServiceInit").toBool()) { - m_service->setProperty("isServiceInit", true); - } -} - -void UT_Service_Test::TearDown() -{ -} - -static bool ut_dtk_managerhelper_hasComposite() -{ - return false; -} - -static int ut_dbus_type() -{ - return QDBusMessage::InvalidMessage; -} - -static void ui_dialog_show() -{ - -} - -#ifdef UT_SERVICE_TEST - -TEST_F(UT_Service_Test, slotCustomThemeSettingDialogFinished) -{ - m_service->slotCustomThemeSettingDialogFinished(QDialog::Accepted); - //更新颜色方案 - EXPECT_TRUE(Settings::instance()->extendColorScheme() == Settings::instance()->m_configCustomThemePath); - -} - -int ut_window_widgetCount() -{ - return 200; -} - -TEST_F(UT_Service_Test, EntryTerminal) -{ - Stub stub; - stub.set(ADDR(WindowsManager,widgetCount),ut_window_widgetCount); - m_service->EntryTerminal(QStringList() << "1" << "2",true); - //启动新的终端 - EXPECT_TRUE(ut_window_widgetCount() > MAXWIDGETCOUNT); -} - -TEST_F(UT_Service_Test, isCountEnable) -{ - bool isCountEnable = m_service->isCountEnable(); - EXPECT_EQ(isCountEnable, true); -} - -TEST_F(UT_Service_Test, getsetIsDialogShow) -{ - EXPECT_EQ(m_service->getIsDialogShow(), false); - if(nullptr == WindowsManager::instance()->m_quakeWindow) { - TermProperties properties; - Utils::parseCommandLine({"deepin-terminal", "--quake-mode"}, properties); - WindowsManager::instance()->m_quakeWindow = new QuakeWindow(properties); - } - - m_service->setIsDialogShow(WindowsManager::instance()->getQuakeWindow(), true); - //运行雷神窗口 - EXPECT_TRUE(!WindowsManager::instance()->getQuakeWindow()->isEnabled()); -} - -TEST_F(UT_Service_Test, getEntryTime) -{ - qint64 entyTime = m_service->getEntryTime(); - EXPECT_GE(entyTime, 0); -} - -TEST_F(UT_Service_Test, showHideOpacityAndBlurOptions) -{ - m_service->m_settingDialog = new DSettingsDialog(); - m_service->m_settingDialog->widgetFactory()->registerWidget("fontcombobox", Settings::createFontComBoBoxHandle); - m_service->m_settingDialog->widgetFactory()->registerWidget("slider", Settings::createCustomSliderHandle); - m_service->m_settingDialog->widgetFactory()->registerWidget("spinbutton", Settings::createSpinButtonHandle); - m_service->m_settingDialog->widgetFactory()->registerWidget("shortcut", Settings::createShortcutEditOptionHandle); - - m_service->m_settingDialog->updateSettings(Settings::instance()->settings); - m_service->m_settingDialog->setWindowModality(Qt::NonModal); - m_service->m_settingDialog->setWindowFlags(Qt::Window | Qt::WindowCloseButtonHint); - - - - UT_STUB_QWIDGET_SETVISIBLE_CREATE; - m_service->showHideOpacityAndBlurOptions(true); - //会调用setvisible函数 - EXPECT_TRUE(UT_STUB_QWIDGET_SETVISIBLE_RESULT); - - UT_STUB_QWIDGET_SETVISIBLE_PREPARE; - m_service->showHideOpacityAndBlurOptions(false); - //会调用setvisible函数 - EXPECT_TRUE(UT_STUB_QWIDGET_SETVISIBLE_RESULT); - - - - QWidget *rightFrame = m_service->m_settingDialog->findChild("RightFrame"); - ASSERT_TRUE(rightFrame); - rightFrame->setObjectName("RightFrame1"); - UT_STUB_QWIDGET_SETVISIBLE_PREPARE; - m_service->showHideOpacityAndBlurOptions(true); - //会调用setvisible函数 - EXPECT_TRUE(!UT_STUB_QWIDGET_SETVISIBLE_RESULT); - rightFrame->setObjectName("RightFrame"); - - -} - -TEST_F(UT_Service_Test, isSettingDialogVisible) -{ - m_service->m_settingDialog = new DSettingsDialog(); - m_service->m_settingDialog->widgetFactory()->registerWidget("fontcombobox", Settings::createFontComBoBoxHandle); - m_service->m_settingDialog->widgetFactory()->registerWidget("slider", Settings::createCustomSliderHandle); - m_service->m_settingDialog->widgetFactory()->registerWidget("spinbutton", Settings::createSpinButtonHandle); - m_service->m_settingDialog->widgetFactory()->registerWidget("shortcut", Settings::createShortcutEditOptionHandle); - - m_service->m_settingDialog->updateSettings(Settings::instance()->settings); - m_service->m_settingDialog->setWindowModality(Qt::NonModal); - m_service->m_settingDialog->setWindowFlags(Qt::Window | Qt::WindowCloseButtonHint); - - m_service->m_settingDialog->show(); - EXPECT_EQ(m_service->isSettingDialogVisible(), true); - - m_service->m_settingDialog->close(); -} - -/******************************************************************************* - 1. @函数: init - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-04 - 4. @说明: 初始化设置框 -*******************************************************************************/ -TEST_F(UT_Service_Test, initSetting) -{ - DELETE_PTR(m_service->m_settingDialog); - // 初始化设置框 - m_service->initSetting(); - - DELETE_PTR(m_service->m_settingDialog); - // 初始化设置框 - Stub stub; - stub.set(ADDR(DWindowManagerHelper,hasComposite),ut_dtk_managerhelper_hasComposite); - m_service->initSetting(); - - // 判断设置框是否被初始化 - EXPECT_NE(m_service->m_settingDialog, nullptr); - // 获取刚刚生成的dialog - DSettingsDialog *settingDialog = m_service->m_settingDialog; - // 再次初始化 - m_service->initSetting(); - // 若已经初始化过,此时指针不变 - EXPECT_NE(m_service->m_settingDialog, nullptr); - EXPECT_EQ(m_service->m_settingDialog, settingDialog); -} - -/******************************************************************************* - 1. @函数: getShells - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-04 - 4. @说明: 获取可获取的shell名称和地址 -*******************************************************************************/ -TEST_F(UT_Service_Test, getShells) -{ - // 获取shell列表 - QMap shellMap = m_service->getShells(); - // 正常情况下若没有shell终端无法打开,所以map不为空 - EXPECT_EQ(shellMap.isEmpty(), false); - // 且m_shellsMap需要被赋值,内容不为空 - EXPECT_EQ(m_service->m_shellsMap.isEmpty(), false); -} - -/******************************************************************************* - 1. @函数: shellsMap - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-04 - 4. @说明: 获取当前的shellMap -*******************************************************************************/ -TEST_F(UT_Service_Test, shellsMap) -{ - // 清空map - m_service->m_shellsMap.clear(); - // 获取时候,应该是空的 - EXPECT_EQ(m_service->shellsMap().isEmpty(), true); - // 获取数据 - m_service->getShells(); - // 内容不为空 - EXPECT_EQ(m_service->shellsMap().isEmpty(), false); -} - -/******************************************************************************* - 1. @函数: Entry - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-04 - 4. @说明: Service进入接口 -*******************************************************************************/ -TEST_F(UT_Service_Test, Entry) -{ - // -q进入,启动雷神窗口 - m_service->Entry(QStringList() << "deepin-terminal" << "-q"); - // 雷神窗口不为空 - EXPECT_NE(WindowsManager::instance()->getQuakeWindow(), nullptr); - // 不带参数进入,启动普通窗口 - // 获取窗口数量 - int widgetCount = WindowsManager::instance()->widgetCount(); - m_service->Entry(QStringList() << ""); - EXPECT_EQ(WindowsManager::instance()->widgetCount(), widgetCount + 1); -} - -/******************************************************************************* - 1. @函数: isSettingDialogVisible - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-08 - 4. @说明: 设置框是否显示 -*******************************************************************************/ -TEST_F(UT_Service_Test, isSettingDialogVisible2) -{ - // 此时没有设置窗口新建,应该得到false - EXPECT_EQ(m_service->isSettingDialogVisible(), false); - - // 初始化设置窗口,但是没有show此时应该得到false - m_service->initSetting(); - EXPECT_EQ(m_service->isSettingDialogVisible(), false); - - // 此时显示设置框,应该得到true - m_service->m_settingDialog->show(); - EXPECT_EQ(m_service->isSettingDialogVisible(), true); -} - -/******************************************************************************* - 1. @函数: getSettingOwner - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-08 - 4. @说明: 验证获取设置框的所有者是否正确 -*******************************************************************************/ -TEST_F(UT_Service_Test, getSettingOwner) -{ - // 未设置时是空 - m_service->m_settingOwner = nullptr; - EXPECT_EQ(m_service->getSettingOwner(), nullptr); - - // 显示设置时会有父类 - MainWindow *window = new NormalWindow(TermProperties("/")); - m_service->showSettingDialog(window); - EXPECT_EQ(m_service->getSettingOwner(), window); - - // 重置设置框所有者 - m_service->resetSettingOwner(); - EXPECT_EQ(m_service->getSettingOwner(), nullptr); - // 删除临时变量 - delete window; -} - -/******************************************************************************* - 1. @函数: resetSettingOwner - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-08 - 4. @说明: 重置设置框的所有者 -*******************************************************************************/ -TEST_F(UT_Service_Test, resetSettingOwner) -{ - // 显示设置 - MainWindow *window = new NormalWindow(TermProperties("/")); - m_service->m_settingOwner = window; - EXPECT_EQ(m_service->getSettingOwner(), window); - // 重置设置框所有者 - m_service->resetSettingOwner(); - EXPECT_EQ(m_service->getSettingOwner(), nullptr); - // 删除临时变量 - delete window; -} - -/******************************************************************************* - 1. @函数: onDesktopWorkspaceSwitched - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-08 - 4. @说明: 桌面工作区切换 => 雷神窗口的显隐 -*******************************************************************************/ -TEST_F(UT_Service_Test, onDesktopWorkspaceSwitched) -{ - // 设置当前窗口1 - DBusManager::callKDESetCurrentDesktop(1); - // 关闭雷神 - if (WindowsManager::instance()->getQuakeWindow()) { - WindowsManager::instance()->getQuakeWindow()->closeAllTab(); - } - - // 关闭雷神窗口 没有雷神,没有任何影响,程序正常运行 - m_service->onDesktopWorkspaceSwitched(1, 2); - - TermProperties properties; - Utils::parseCommandLine(QStringList() << "deepin-terminal" << "-q", properties); - // 显示雷神 - WindowsManager::instance()->runQuakeWindow(properties); - - // 切换桌面1到桌面2 - m_service->onDesktopWorkspaceSwitched(1, 2); - - // 切换桌面雷神影藏 - EXPECT_EQ(WindowsManager::instance()->getQuakeWindow()->isHidden(), true); - // 切回 - m_service->onDesktopWorkspaceSwitched(2, WindowsManager::instance()->getQuakeWindow()->m_desktopIndex); - - // 雷神显示 - EXPECT_EQ(WindowsManager::instance()->getQuakeWindow()->isVisible(), true); - // 关闭雷神 - WindowsManager::instance()->getQuakeWindow()->closeAllTab(); -} - -TEST_F(UT_Service_Test, showShortcutConflictMsgbox) -{ - Stub sub; - sub.set(ADDR(DDialog, show), ui_dialog_show); - QString txt = ShortcutManager::instance()->m_mapReplaceText.keys().value(0); - //设置中心 - EXPECT_TRUE(m_service->m_settingDialog); - m_service->showShortcutConflictMsgbox(txt); - //显示快捷键冲突窗口 - EXPECT_TRUE(m_service->m_settingShortcutConflictDialog->title().count() > 0); -} - -TEST_F(UT_Service_Test, slotSettingShortcutConflictDialogFinished) -{ - m_service->slotSettingShortcutConflictDialogFinished(); - //关闭快捷键冲突窗口 - EXPECT_TRUE(!m_service->m_settingShortcutConflictDialog); -} - -TEST_F(UT_Service_Test, hideSettingDialog) -{ - if(nullptr == m_service->m_settingDialog) - m_service->m_settingDialog = new DSettingsDialog(); - - UT_STUB_QWIDGET_SETVISIBLE_CREATE; - m_service->hideSettingDialog(); - //会调用setvisible函数 - EXPECT_TRUE(UT_STUB_QWIDGET_SETVISIBLE_RESULT); -} - -#endif diff --git a/tests/src/main/ut_service_test.h b/tests/src/main/ut_service_test.h deleted file mode 100644 index e8592e5cf..000000000 --- a/tests/src/main/ut_service_test.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_SERVICE_TEST_H -#define UT_SERVICE_TEST_H - -#include "ut_defines.h" -#include "utils.h" - -#include - -class Service; - -class UT_Service_Test : public ::testing::Test -{ -public: - UT_Service_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - -private: - Service *m_service = nullptr; -}; - -#endif // UT_SERVICE_TEST_H - diff --git a/tests/src/main/ut_terminalapplication_test.cpp b/tests/src/main/ut_terminalapplication_test.cpp deleted file mode 100644 index 979beb581..000000000 --- a/tests/src/main/ut_terminalapplication_test.cpp +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_terminalapplication_test.h" - -#include "terminalapplication.h" -#include "../stub.h" - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include -#include - -UT_TerminalApplication_Test::UT_TerminalApplication_Test() -{ -} - -void UT_TerminalApplication_Test::SetUp() -{ -} - -void UT_TerminalApplication_Test::TearDown() -{ -} - -#ifdef UT_TERMINALAPPLICATION_TEST - -int ut_key() -{ - return Qt::Key_Enter; -} - -TEST_F(UT_TerminalApplication_Test, getsetStartTime) -{ - int argc = 0; - char **argv = nullptr; - TerminalApplication *app = new TerminalApplication(argc, argv); - Stub stub; - stub.set(ADDR(QKeyEvent,key),ut_key); - QtConcurrent::run([ = ]() { - QTimer timer; - timer.setSingleShot(true); - - QEventLoop *loop = new QEventLoop; - QObject::connect(&timer, &QTimer::timeout, [ = ]() { - loop->quit(); - app->quit(); - }); - - timer.start(1000); - loop->exec(); - - delete loop; - }); - - QTime useTime; - useTime.start(); - qint64 startTime = QDateTime::currentDateTime().toMSecsSinceEpoch(); - - app->setStartTime(startTime); - - qint64 getStartTime = app->getStartTime(); - EXPECT_EQ(startTime, getStartTime); - - app->exec(); -} - -TEST_F(UT_TerminalApplication_Test, notify) -{ - int argc = 0; - char **argv = nullptr; - TerminalApplication *app = new TerminalApplication(argc, argv); - - QtConcurrent::run([ = ]() { - QTimer timer; - DKeySequenceEdit* object = new DKeySequenceEdit(); - QEvent *event = new QEvent(QEvent::FocusOut); - - app->notify(object, event); - if (event) { - delete event; - } - timer.setSingleShot(true); - - QEventLoop *loop = new QEventLoop; - QObject::connect(&timer, &QTimer::timeout, [ = ]() { - loop->quit(); - app->quit(); - delete object; - delete loop; - }); - - timer.start(2000); - loop->exec(); - }); - - QTime useTime; - useTime.start(); - qint64 startTime = QDateTime::currentDateTime().toMSecsSinceEpoch(); - - app->setStartTime(startTime); - - qint64 getStartTime = app->getStartTime(); - EXPECT_EQ(startTime, getStartTime); - - app->exec(); -} - -#endif diff --git a/tests/src/main/ut_terminalapplication_test.h b/tests/src/main/ut_terminalapplication_test.h deleted file mode 100644 index a4aad829b..000000000 --- a/tests/src/main/ut_terminalapplication_test.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_TerminalApplication_Test_H -#define UT_TerminalApplication_Test_H - -#include "ut_defines.h" - -#include - -class Service; -class MainWindow; -class UT_TerminalApplication_Test : public ::testing::Test -{ -public: - UT_TerminalApplication_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); -}; - -#endif // UT_TerminalApplication_Test_H - diff --git a/tests/src/main/ut_termproperties_test.cpp b/tests/src/main/ut_termproperties_test.cpp deleted file mode 100644 index c4b7e830b..000000000 --- a/tests/src/main/ut_termproperties_test.cpp +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_termproperties_test.h" - -#include "termproperties.h" - -//Google GTest 相关头文件 -#include - -//Qt单元测试相关头文件 -#include - -UT_TermProperties_Test::UT_TermProperties_Test() -{ -} - -void UT_TermProperties_Test::SetUp() -{ -} - -void UT_TermProperties_Test::TearDown() -{ -} - -#ifdef UT_TERMPROPERTIES_TEST - -TEST_F(UT_TermProperties_Test, setWorkingDir) -{ - QString workingDir = ""; - TermProperties tp(workingDir); - workingDir = "/home/uos"; - tp.setWorkingDir(workingDir); - - EXPECT_EQ(tp.m_properties[TermProperty::WorkingDir], workingDir); -} - -TEST_F(UT_TermProperties_Test, contains) -{ - QString workingDir = "/home/uos"; - QString colorScheme = "someColorScheme"; - TermProperties tp(workingDir, colorScheme); - EXPECT_EQ(tp.contains(TermProperty::WorkingDir), true); - EXPECT_EQ(tp.contains(TermProperty::ColorScheme), true); -} - -TEST_F(UT_TermProperties_Test, setTermPropertyMap) -{ - QMap list; - TermProperties tp(list); - QString workingDir = "/home/uos"; - QString colorScheme = "someColorScheme"; - - list.insert(TermProperty::WorkingDir, workingDir); - list.insert(TermProperty::ColorScheme, colorScheme); - - tp.setTermPropertyMap(list); - - EXPECT_EQ(tp.m_properties, list); -} -#endif diff --git a/tests/src/main/ut_termproperties_test.h b/tests/src/main/ut_termproperties_test.h deleted file mode 100644 index 827aeb846..000000000 --- a/tests/src/main/ut_termproperties_test.h +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_TERMPROPERTIES_TEST_H -#define UT_TERMPROPERTIES_TEST_H - -#include "ut_defines.h" - -#include - -class UT_TermProperties_Test : public ::testing::Test -{ -public: - UT_TermProperties_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); -}; - -#endif // UT_TERMPROPERTIES_TEST_H - diff --git a/tests/src/main/ut_windowsmanager_test.cpp b/tests/src/main/ut_windowsmanager_test.cpp deleted file mode 100644 index ea22af558..000000000 --- a/tests/src/main/ut_windowsmanager_test.cpp +++ /dev/null @@ -1,225 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_windowsmanager_test.h" -#include "../stub.h" -#include "service.h" -#include "mainwindow.h" -#include "tabbar.h" -#include "termwidget.h" -#include "windowsmanager.h" - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include - -//Google GTest 相关头文件 -#include - -UI_WindowsManager_Test::UI_WindowsManager_Test() -{ -} - -void UI_WindowsManager_Test::SetUp() -{ - m_service = Service::instance(); - //Service的init初始化函数只能执行一次,否则会crash - if (!m_service->property("isServiceInit").toBool()) { - m_service->init(); - m_service->setProperty("isServiceInit", true); - } - - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - - m_quakeTermProperty[QuakeMode] = true; -} - -void UI_WindowsManager_Test::TearDown() -{ -} - -static int ut_quakeWindow_getDesktopIndex() -{ - return -1; -} - -static bool ut_service_getIsDialogShow() -{ - return false; -} -static bool ut_service_isSettingDialogVisible() -{ - return true; -} - -static MainWindow* ut_service_getSettingOwner() -{ - return WindowsManager::instance()->getQuakeWindow(); -} - -static bool ut_quakeWindow_isActiveWindow() -{ - return true; -} - -#ifdef UI_WINDOWSMANAGER_TEST - -TEST_F(UI_WindowsManager_Test, runQuakeWindow) -{ - WindowsManager *winManager = WindowsManager::instance(); - winManager->runQuakeWindow(m_quakeTermProperty); - EXPECT_EQ((winManager->m_quakeWindow != nullptr), true); -} - -TEST_F(UI_WindowsManager_Test, getQuakeWindow) -{ - WindowsManager *winManager = WindowsManager::instance(); - MainWindow *mainWin = winManager->getQuakeWindow(); - EXPECT_EQ((mainWin != nullptr), true); -} - -TEST_F(UI_WindowsManager_Test, createNormalWindow) -{ - WindowsManager *winManager = WindowsManager::instance(); - winManager->createNormalWindow(m_normalTermProperty); - - if(!WindowsManager::instance()->getNormalWindowList().isEmpty()) - WindowsManager::instance()->onMainwindowClosed(WindowsManager::instance()->getNormalWindowList().last()); - - EXPECT_EQ((winManager->m_normalWindowList.size() > 0), true); -} - -TEST_F(UI_WindowsManager_Test, terminalCountIncrease) -{ - WindowsManager *winManager = WindowsManager::instance(); - int widgetCount = winManager->widgetCount(); - winManager->terminalCountIncrease(); - EXPECT_EQ(winManager->widgetCount(), widgetCount + 1); -} - -TEST_F(UI_WindowsManager_Test, terminalCountReduce) -{ - WindowsManager *winManager = WindowsManager::instance(); - int widgetCount = winManager->widgetCount(); - winManager->terminalCountReduce(); - EXPECT_EQ(winManager->widgetCount(), widgetCount - 1); -} - -/******************************************************************************* - 1. @函数: runQuakeWindow - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-09 - 4. @说明: 运行雷神窗口的显隐测试 -*******************************************************************************/ -TEST_F(UI_WindowsManager_Test, runQuakeWindow2) -{ - // 若雷神还在就关闭 - if (WindowsManager::instance()->getQuakeWindow()) { - WindowsManager::instance()->getQuakeWindow()->closeAllTab(); - WindowsManager::instance()->m_quakeWindow = nullptr; - } - - // 启动雷神 - WindowsManager::instance()->runQuakeWindow(m_quakeTermProperty); - WindowsManager::instance()->m_quakeWindow->setAnimationFlag(true); - // 雷神存在 - EXPECT_NE(WindowsManager::instance()->getQuakeWindow(), nullptr); - // 相当于再次Alt+F2 - WindowsManager::instance()->runQuakeWindow(m_quakeTermProperty); - - // 关闭雷神窗口 - WindowsManager::instance()->getQuakeWindow()->closeAllTab(); - WindowsManager::instance()->m_quakeWindow = nullptr; -} - -/******************************************************************************* - 1. @函数: onMainwindowClosed - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-09 - 4. @说明: 测试窗口关闭 -*******************************************************************************/ -TEST_F(UI_WindowsManager_Test, onMainwindowClosed) -{ - // 新建一个窗口 - MainWindow *newWindow = new NormalWindow(m_normalTermProperty); - // 关闭当前的窗口 => 测试是否正常执行 - WindowsManager::instance()->onMainwindowClosed(newWindow); - - // 没有雷神窗口 - if (!WindowsManager::instance()->getQuakeWindow()) { - // 创建雷神窗口 - WindowsManager::instance()->runQuakeWindow(m_quakeTermProperty); - } - // 关闭雷神窗口 - WindowsManager::instance()->getQuakeWindow()->closeAllTab(); - if (WindowsManager::instance()->getQuakeWindow()) { - WindowsManager::instance()->onMainwindowClosed(WindowsManager::instance()->getQuakeWindow()); - } - EXPECT_EQ(WindowsManager::instance()->getQuakeWindow(), nullptr); -} - -//TEST_F(UI_WindowsManager_Test, quakeWindowShowOrHide) -//{ -// // 若雷神还在就关闭 -// if (WindowsManager::instance()->getQuakeWindow()) { -// WindowsManager::instance()->getQuakeWindow()->closeAllTab(); -// WindowsManager::instance()->m_quakeWindow = nullptr; -// } - -// // 启动雷神 -// WindowsManager::instance()->runQuakeWindow(m_quakeTermProperty); -// WindowsManager::instance()->m_quakeWindow->setAnimationFlag(true); -// // 雷神存在 -// EXPECT_NE(WindowsManager::instance()->getQuakeWindow(), nullptr); -// // 雷神显示 -// EXPECT_EQ(WindowsManager::instance()->getQuakeWindow()->isVisible(), true); -// WindowsManager::instance()->getQuakeWindow()->setVisible(false); -// WindowsManager::instance()->m_quakeWindow->hideQuakeWindow(); -// WindowsManager::instance()->quakeWindowShowOrHide(); - -// { -// Stub stub; -// stub.set(ADDR(QuakeWindow, getDesktopIndex), ut_quakeWindow_getDesktopIndex); -// WindowsManager::instance()->quakeWindowShowOrHide(); -// } - -// { -// Stub stub; -// stub.set(ADDR(Service, getIsDialogShow), ut_service_getIsDialogShow); -// stub.set(ADDR(Service, isSettingDialogVisible), ut_service_isSettingDialogVisible); -// stub.set(ADDR(Service, getSettingOwner), ut_service_getSettingOwner); -// WindowsManager::instance()->quakeWindowShowOrHide(); -// } -// { - -// Stub stub; -// stub.set(ADDR(Service, getIsDialogShow), ut_service_getIsDialogShow); -// stub.set(ADDR(QuakeWindow, isActiveWindow), ut_quakeWindow_isActiveWindow); -// WindowsManager::instance()->quakeWindowShowOrHide(); -// } - -// // 相当于再次Alt+F2 -// WindowsManager::instance()->runQuakeWindow(m_quakeTermProperty); -// // 雷神隐藏 => 又开始了新一轮的动画 -// EXPECT_EQ(WindowsManager::instance()->getQuakeWindow()->isNotAnimation, false); - -// // 关闭雷神窗口 -// WindowsManager::instance()->getQuakeWindow()->closeAllTab(); -// WindowsManager::instance()->m_quakeWindow = nullptr; -//} - -TEST_F(UI_WindowsManager_Test, getNormalWindowList) -{ - int oldCount = WindowsManager::instance()->getNormalWindowList().size(); - WindowsManager::instance()->createNormalWindow(TermProperties("/"), false); - //增加一个window - EXPECT_TRUE(WindowsManager::instance()->getNormalWindowList().size() == (oldCount + 1)); -} - -#endif diff --git a/tests/src/main/ut_windowsmanager_test.h b/tests/src/main/ut_windowsmanager_test.h deleted file mode 100644 index afad10ad6..000000000 --- a/tests/src/main/ut_windowsmanager_test.h +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UI_WINDOWSMANAGER_TEST_H -#define UI_WINDOWSMANAGER_TEST_H - -#include "ut_defines.h" -#include "termproperties.h" - -#include - -class Service; -class MainWindow; -class UI_WindowsManager_Test : public ::testing::Test -{ -public: - UI_WindowsManager_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - -public: - Service *m_service = nullptr; - - TermProperties m_normalTermProperty; - TermProperties m_quakeTermProperty; -}; - -#endif // UI_WINDOWSMANAGER_TEST_H - diff --git a/tests/src/remotemanage/ut_remotemanagementpanel_test.cpp b/tests/src/remotemanage/ut_remotemanagementpanel_test.cpp deleted file mode 100644 index 2e3f6c782..000000000 --- a/tests/src/remotemanage/ut_remotemanagementpanel_test.cpp +++ /dev/null @@ -1,378 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_remotemanagementpanel_test.h" -#include "remotemanagementpanel.h" -#include "utils.h" -#include "../stub.h" -#include "service.h" -#include "ut_stub_defines.h" - -//Qt -#include -#include -#include - -//Google GTest 相关头文件 -#include - -UT_RemoteManagementPanel_Test::UT_RemoteManagementPanel_Test() -{ -} -void stub_return() -{ - return; -} - -void UT_RemoteManagementPanel_Test::SetUp() -{ - //远程服务器管理 - m_serverConfigManager = ServerConfigManager::instance(); - // 初始化远程管理数据 - m_serverConfigManager->initServerConfig(); - - prepareData(); -} - -int UT_RemoteManagementPanel_Test::getServerConfigCount() -{ - QList serverConfigList; - QMap> severConfigs = ServerConfigManager::instance()->getServerConfigs(); - for (QMap>::iterator iter = severConfigs.begin(); iter != severConfigs.end(); ++iter) { - QList value = iter.value(); - for (int i = 0; i < value.size(); ++i) { - serverConfigList.append(value.at(i)); - } - } - - qDebug() << serverConfigList.count(); - return serverConfigList.count(); -} - -void UT_RemoteManagementPanel_Test::prepareData() -{ - ServerConfigManager *serverConfigManager = ServerConfigManager::instance(); - serverConfigManager->initServerConfig(); - - int serverConfigCount = getServerConfigCount(); - qDebug() << serverConfigCount << endl; - - QString groupName = QString("group_01"); - - qsrand(static_cast(time(nullptr))); - ServerConfig *config = new ServerConfig(); - config->m_serverName = QString("new_server_%1").arg(Utils::getRandString()); - config->m_address = QString("192.168.10.%1").arg(qrand() % 255); - config->m_userName = QString("zhangsan"); - config->m_password = QString("123"); - config->m_privateKey = QString(""); - config->m_port = QString(""); - config->m_group = groupName; - config->m_path = QString(""); - config->m_command = QString(""); - config->m_encoding = QString(""); - config->m_backspaceKey = QString(""); - config->m_deleteKey = QString(""); - - serverConfigManager->saveServerConfig(config); - EXPECT_EQ(getServerConfigCount(), serverConfigCount + 1); - - int serverCount = serverConfigManager->getServerCount(config->m_group); - - ServerConfig *currConfig = serverConfigManager->getServerConfig(config->m_serverName); - EXPECT_NE(currConfig, nullptr); - - qsrand(static_cast(time(nullptr))); - ServerConfig *newConfig = new ServerConfig(); - newConfig->m_serverName = QString("new_server_%1").arg(Utils::getRandString()); - newConfig->m_address = QString("192.168.10.%1").arg(qrand() % 255); - newConfig->m_userName = QString("uos"); - newConfig->m_password = QString("123456"); - newConfig->m_privateKey = QString(""); - newConfig->m_port = QString(""); - newConfig->m_group = groupName; - newConfig->m_path = QString(""); - newConfig->m_command = QString(""); - newConfig->m_encoding = QString(""); - newConfig->m_backspaceKey = QString(""); - newConfig->m_deleteKey = QString(""); - serverConfigManager->modifyServerConfig(newConfig, currConfig); - EXPECT_EQ(newConfig, serverConfigManager->getServerConfig(newConfig->m_serverName)); - - EXPECT_GE(serverCount, 1); - - serverConfigManager->delServerConfig(newConfig); - EXPECT_EQ(getServerConfigCount(), serverConfigCount); - - EXPECT_EQ(serverConfigManager->getServerCount(groupName), serverCount - 1); -} - -void UT_RemoteManagementPanel_Test::TearDown() -{ -} - -#ifdef UT_REMOTEMANAGEMENTPANEL_TEST -TEST_F(UT_RemoteManagementPanel_Test, refreshPanel) -{ - const int PANEL_WIDTH = 242; - const int PANEL_HEIGHT = 600; - RemoteManagementPanel panel; - panel.resize(PANEL_WIDTH, PANEL_HEIGHT); - panel.show(); - EXPECT_EQ(panel.size().width(), PANEL_WIDTH); - EXPECT_EQ(panel.size().height(), PANEL_HEIGHT); - - panel.refreshPanel(); - - -} - -TEST_F(UT_RemoteManagementPanel_Test, setFocusInPanel) -{ - const int PANEL_WIDTH = 242; - const int PANEL_HEIGHT = 600; - RemoteManagementPanel panel; - panel.resize(PANEL_WIDTH, PANEL_HEIGHT); - panel.show(); - EXPECT_EQ(panel.size().width(), PANEL_WIDTH); - EXPECT_EQ(panel.size().height(), PANEL_HEIGHT); - - panel.setFocusInPanel(); - int listIndex = panel.getListIndex(); - qDebug() << "listIndex:" << listIndex << endl; - EXPECT_EQ(listIndex, -1); - - // 最后一种情况 - panel.m_searchEdit->hide(); - panel.m_listWidget->hide(); - panel.setFocusInPanel(); - - -} - -TEST_F(UT_RemoteManagementPanel_Test, setFocusBack) -{ - const int PANEL_WIDTH = 242; - const int PANEL_HEIGHT = 600; - RemoteManagementPanel panel; - panel.resize(PANEL_WIDTH, PANEL_HEIGHT); - panel.show(); - EXPECT_EQ(panel.size().width(), PANEL_WIDTH); - EXPECT_EQ(panel.size().height(), PANEL_HEIGHT); - - // 创建分组 - ServerConfig groupConfig; - groupConfig.m_serverName = "group_item"; - groupConfig.m_address = "127.0.0.1"; - groupConfig.m_group = "group2020"; - groupConfig.m_userName = "dzw"; - groupConfig.m_port = "22"; - // 分组数据存储结构 - QList list; - list.append(&groupConfig); - // 数据存储结构 - ServerConfigManager::instance()->m_serverConfigs.insert("group2020", list); - // 刷新列表,填充数据 - panel.refreshPanel(); - - // 要焦点 - panel.m_listWidget->setFocusState(true); - panel.setFocusBack("group2020"); - int listIndex = panel.getListIndex(); - EXPECT_GE(listIndex, 0); - - // 找不到情况 - panel.setFocusBack("group1988"); - listIndex = panel.getListIndex(); - EXPECT_GE(listIndex, 0); - ServerConfigManager::instance()->m_serverConfigs.clear(); - -} - -TEST_F(UT_RemoteManagementPanel_Test, clearListFocus) -{ - const int PANEL_WIDTH = 242; - const int PANEL_HEIGHT = 600; - RemoteManagementPanel panel; - panel.resize(PANEL_WIDTH, PANEL_HEIGHT); - panel.show(); - EXPECT_EQ(panel.size().width(), PANEL_WIDTH); - EXPECT_EQ(panel.size().height(), PANEL_HEIGHT); - - panel.clearListFocus(); - EXPECT_EQ(panel.m_backButton->hasFocus(), false); - EXPECT_EQ(panel.m_listWidget->hasFocus(), false); - EXPECT_EQ(panel.m_searchEdit->hasFocus(), false); - EXPECT_EQ(panel.m_listWidget->currentIndex(), -1); -} - -TEST_F(UT_RemoteManagementPanel_Test, refreshSearchState) -{ - const int PANEL_WIDTH = 242; - const int PANEL_HEIGHT = 600; - RemoteManagementPanel panel; - panel.resize(PANEL_WIDTH, PANEL_HEIGHT); - panel.show(); - EXPECT_EQ(panel.size().width(), PANEL_WIDTH); - EXPECT_EQ(panel.size().height(), PANEL_HEIGHT); - ServerConfigManager::instance()->m_serverConfigs.clear(); - // 一个也没有,搜索框隐藏 - panel.refreshSearchState(); - //添加数据,显示搜索框 - ServerConfig config; - config.m_serverName = "test_item"; - config.m_address = "127.0.0.1"; - config.m_userName = "dzw"; - config.m_port = "22"; - ServerConfig config2; - config2.m_serverName = "test_item2"; - config2.m_address = "127.0.0.1"; - config2.m_userName = "dzw"; - config2.m_port = "22"; - // 分组数据存储结构 - QList list; - list.append(&config); - list.append(&config2); - // 数据存储结构 - ServerConfigManager::instance()->m_serverConfigs.insert("", list); - // 刷新列表,填充数据 - panel.refreshPanel(); - // 两个数据,搜索框显示 - panel.refreshSearchState(); - // list中数据的数量 - int count = panel.m_listWidget->count(); - EXPECT_EQ(count, 2); - ServerConfigManager::instance()->m_serverConfigs.clear(); -} - -/******************************************************************************* - 1. @函数: onItemClicked - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-22 - 4. @说明: 当前项被点击 -*******************************************************************************/ -//TEST_F(UT_RemoteManagementPanel_Test, onItemClicked) -//{ -// // 初始化一个panel -// RemoteManagementPanel remotePanel; -// remotePanel.show(); -// // 初始化一个可点击的数据 -// //添加数据,显示搜索框 -// ServerConfig config; -// config.m_serverName = "test_item"; -// config.m_address = "127.0.0.1"; -// config.m_userName = "dzw"; -// config.m_port = "22"; -// // 添加数据到列表中 -// // 分组数据存储结构 -// QList list; -// list.append(&config); -// // 数据存储结构 -// ServerConfigManager::instance()->m_serverConfigs.insert("", list); -// // 刷新列表,填充数据 - -// UT_STUB_QWIDGET_SETVISIBLE_CREATE; -// remotePanel.refreshPanel(); -// EXPECT_TRUE(remotePanel.m_searchEdit->text().isEmpty()); -// EXPECT_TRUE(remotePanel.m_listWidget->count() > 0); -// //刷新远程控制列表时,会触发setvisible函数 -// EXPECT_TRUE(UT_STUB_QWIDGET_SETVISIBLE_RESULT); - -// // 模拟数据被点击 -// // 传来被点击的key值 -// QSignalSpy spy(&remotePanel, &RemoteManagementPanel::doConnectServer); -// remotePanel.onItemClicked("test_item"); -// ASSERT_TRUE(ServerConfigManager::instance()->getServerConfig("test_item") != nullptr); -// //会emit doConnectServer -// EXPECT_TRUE(spy.count() == 1); - -// // 传来错误的值 -// remotePanel.onItemClicked("test_item2"); -// ASSERT_TRUE(ServerConfigManager::instance()->getServerConfig("test_item2") == nullptr); -// //不会 emit doConnectServer -// EXPECT_TRUE(spy.count() == 1); -// ServerConfigManager::instance()->m_serverConfigs.clear(); -//} - -/******************************************************************************* - 1. @函数: showCurSearchResult - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-22 - 4. @说明: 测试接口是否可以正常调用 -*******************************************************************************/ -TEST_F(UT_RemoteManagementPanel_Test, showCurSearchResult) -{ - // 没有搜索内容 - RemoteManagementPanel remotePanel; - remotePanel.show(); - remotePanel.m_searchEdit->setText(""); - remotePanel.showCurSearchResult(); - EXPECT_TRUE(remotePanel.m_searchEdit->text().isEmpty()); - // 有搜索内容 - remotePanel.m_searchEdit->setText("aaa"); - remotePanel.showCurSearchResult(); - EXPECT_TRUE(remotePanel.m_searchEdit->text() == "aaa"); -} - -/******************************************************************************* - 1. @函数: showAddServerConfigDlg - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-22 - 4. @说明: 弹出添加数据弹窗 -*******************************************************************************/ -TEST_F(UT_RemoteManagementPanel_Test, showAddServerConfigDlg) -{ - // 没有搜索内容 - RemoteManagementPanel *remotePanel = new RemoteManagementPanel; - remotePanel->show(); - // 打桩 - Stub s; - s.set(ADDR(Service, setIsDialogShow), stub_return); - - // 显示弹窗 - remotePanel->showAddServerConfigDlg(); - ServerConfigOptDlg *dialog = remotePanel->findChild(); - ASSERT_TRUE(dialog); - emit dialog->reject(); - - // 设置添加按钮有焦点 - UT_STUB_QWIDGET_SHOW_CREATE; - remotePanel->showAddServerConfigDlg(); - dialog = remotePanel->findChild(); - //会触发dialog show函数 - EXPECT_TRUE(UT_STUB_QWIDGET_SHOW_RESULT); - emit dialog->accept(); - - remotePanel->deleteLater(); -} - -/******************************************************************************* - 1. @函数: lambda - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-23 - 4. @说明: 测试部分lambda表达式是否正常响应信号 -*******************************************************************************/ -TEST_F(UT_RemoteManagementPanel_Test, lambda) -{ - // 初始化界面 - RemoteManagementPanel remotePanel; - remotePanel.show(); - remotePanel.m_isShow = true; - // 刷新界面 - emit ServerConfigManager::instance()->refreshList(); - - - // 焦点切入切出 - // 切出理由 - emit remotePanel.m_listWidget->focusOut(Qt::TabFocusReason); - - // 列表内没有index - EXPECT_EQ(remotePanel.m_listWidget->m_currentIndex, -1); - emit remotePanel.m_listWidget->focusOut(Qt::BacktabFocusReason); - - EXPECT_EQ(remotePanel.m_listWidget->m_currentIndex, -1); - -} -#endif diff --git a/tests/src/remotemanage/ut_remotemanagementpanel_test.h b/tests/src/remotemanage/ut_remotemanagementpanel_test.h deleted file mode 100644 index aa620123d..000000000 --- a/tests/src/remotemanage/ut_remotemanagementpanel_test.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_REMOTEMANAGEMENTPANEL_TEST_H -#define UT_REMOTEMANAGEMENTPANEL_TEST_H - -#include "ut_defines.h" -#include "serverconfigmanager.h" - -#include - -class UT_RemoteManagementPanel_Test : public ::testing::Test -{ -public: - UT_RemoteManagementPanel_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - - ServerConfigManager *m_serverConfigManager = nullptr; - -private: - int getServerConfigCount(); - - void prepareData(); -}; - -#endif // UT_REMOTEMANAGEMENTPANEL_TEST_H diff --git a/tests/src/remotemanage/ut_remotemanagementplugn_test.cpp b/tests/src/remotemanage/ut_remotemanagementplugn_test.cpp deleted file mode 100644 index 3d8674ef3..000000000 --- a/tests/src/remotemanage/ut_remotemanagementplugn_test.cpp +++ /dev/null @@ -1,205 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_remotemanagementplugn_test.h" - -#include "remotemanagementplugn.h" -#include "mainwindow.h" -#include "service.h" - -//Google GTest 相关头文件 -#include - -//Qt单元测试相关头文件 -#include -#include -#include - -class ServerConfigClass : public QObject{ -public: - explicit ServerConfigClass(QObject *parent); - virtual ~ServerConfigClass(); - ServerConfig config; -}; - -ServerConfigClass::ServerConfigClass(QObject *parent) : QObject(parent) -{ - -} - -ServerConfigClass::~ServerConfigClass() -{ - -} - -UT_RemoteManagementPlugin_Test::UT_RemoteManagementPlugin_Test() -{ -} - -void UT_RemoteManagementPlugin_Test::SetUp() -{ - if (!Service::instance()->property("isServiceInit").toBool()) { - Service::instance()->setProperty("isServiceInit", true); - } - - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); - m_normalWindow->resize(800, 600); - m_normalWindow->show(); -} - -void UT_RemoteManagementPlugin_Test::TearDown() -{ - delete m_normalWindow; -} - -#ifdef UT_REMOTEMANAGEMENTPLUGIN_TEST -TEST_F(UT_RemoteManagementPlugin_Test, setRemoteEncode) -{ - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_REMOTEMANAGEMENT); - - RemoteManagementPlugin *remotePlugin = m_normalWindow->findChild(); - RemoteManagementTopPanel *remoteTopPanel = remotePlugin->getRemoteManagementTopPanel(); - EXPECT_NE(remoteTopPanel, nullptr); - EXPECT_EQ(remoteTopPanel->isVisible(), true); - - remotePlugin->setRemoteEncode(QString("UTF-8")); -} - -TEST_F(UT_RemoteManagementPlugin_Test, setBackspaceKey) -{ - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_REMOTEMANAGEMENT); - - RemoteManagementPlugin *remotePlugin = m_normalWindow->findChild(); - RemoteManagementTopPanel *remoteTopPanel = remotePlugin->getRemoteManagementTopPanel(); - EXPECT_NE(remoteTopPanel, nullptr); - EXPECT_EQ(remoteTopPanel->isVisible(), true); - - TermWidget *termWidget = m_normalWindow->currentActivatedTerminal(); - remotePlugin->setBackspaceKey(termWidget, QString("control-h")); - remotePlugin->setBackspaceKey(termWidget, QString("auto")); - remotePlugin->setBackspaceKey(termWidget, QString("escape-sequence")); - remotePlugin->setBackspaceKey(termWidget, QString("ascii-del")); - remotePlugin->setBackspaceKey(termWidget, QString("tty")); -} - -TEST_F(UT_RemoteManagementPlugin_Test, setDeleteKey) -{ - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_REMOTEMANAGEMENT); - - RemoteManagementPlugin *remotePlugin = m_normalWindow->findChild(); - RemoteManagementTopPanel *remoteTopPanel = remotePlugin->getRemoteManagementTopPanel(); - EXPECT_NE(remoteTopPanel, nullptr); - EXPECT_EQ(remoteTopPanel->isVisible(), true); - - TermWidget *termWidget = m_normalWindow->currentActivatedTerminal(); - remotePlugin->setDeleteKey(termWidget, QString("control-h")); - remotePlugin->setDeleteKey(termWidget, QString("auto")); - remotePlugin->setDeleteKey(termWidget, QString("escape-sequence")); - remotePlugin->setDeleteKey(termWidget, QString("ascii-del")); - remotePlugin->setDeleteKey(termWidget, QString("tty")); -} - -TEST_F(UT_RemoteManagementPlugin_Test, createShellFile) -{ - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_REMOTEMANAGEMENT); - - RemoteManagementPlugin *remotePlugin = m_normalWindow->findChild(); - RemoteManagementTopPanel *remoteTopPanel = remotePlugin->getRemoteManagementTopPanel(); - EXPECT_NE(remoteTopPanel, nullptr); - EXPECT_EQ(remoteTopPanel->isVisible(), true); - - QString groupName = QString("group_01"); - - qsrand(static_cast(time(nullptr))); - ServerConfig *config = new ServerConfig(); - config->m_serverName = QString("new_server_%1").arg(Utils::getRandString()); - config->m_address = QString("192.168.10.%1").arg(qrand() % 255); - config->m_userName = QString("zhangsan"); - config->m_password = QString("123"); - config->m_privateKey = QString(""); - config->m_port = QString(""); - config->m_group = groupName; - config->m_path = QString(""); - config->m_command = QString(""); - config->m_encoding = QString(""); - config->m_backspaceKey = QString(""); - config->m_deleteKey = QString(""); - - QString shellFile = remotePlugin->createShellFile(config); - EXPECT_NE(shellFile.length(), 0); - delete config; -} - -/******************************************************************************* - 1. @函数: createShellFile - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-13 - 4. @说明: 测试创建脚本的各种情况 -*******************************************************************************/ -TEST_F(UT_RemoteManagementPlugin_Test, createShellFile2) -{ - RemoteManagementPlugin *pRemotePlugin = new RemoteManagementPlugin; - ServerConfig config; - config.m_userName = "root"; - config.m_address = "127.0.0.1"; - config.m_port = "22"; - // 密钥为空 - config.m_privateKey = ""; - config.m_password = "1"; - config.m_path = "/"; - config.m_command = "ls"; - // 生成配置文件执行位置及其参数 - QString command = pRemotePlugin->createShellFile(&config); - QStringList strList = command.split(" "); - QFile file(strList.first()); - // 文件存在 - EXPECT_EQ(file.exists(), true); - - // 密钥不为空 - config.m_privateKey = "/"; - command = pRemotePlugin->createShellFile(&config); - strList.clear(); - strList = command.split(" "); - file.setFileName(strList.first()); - // 文件存在 - EXPECT_EQ(file.exists(), true); - // 删除文件 - file.remove(); - - delete pRemotePlugin; -} - -TEST_F(UT_RemoteManagementPlugin_Test, doCennectServer) -{ - NormalWindow *normalWindow = new NormalWindow(TermProperties({{WorkingDir, "/"},{QuakeMode, false},{SingleFlag, true}}), nullptr); - ServerConfigClass *config = new ServerConfigClass(normalWindow); - RemoteManagementPlugin *pRemotePlugin = new RemoteManagementPlugin(normalWindow); - - config->config.m_userName = "root"; - config->config.m_address = "127.0.0.1"; - config->config.m_port = "22"; - // 密钥为空 - config->config.m_privateKey = ""; - config->config.m_password = "1"; - config->config.m_path = "/"; - config->config.m_command = "ls"; - pRemotePlugin->initPlugin(normalWindow); - pRemotePlugin->doCennectServer(&config->config); - //代码中有singleShot(100)的调用 - QTest::qWait(1000); - //连接请求发出后,会showPlugin - EXPECT_TRUE(normalWindow->m_CurrentShowPlugin == MainWindow::PLUGIN_TYPE_NONE); - normalWindow->deleteLater(); -} - -#endif diff --git a/tests/src/remotemanage/ut_remotemanagementplugn_test.h b/tests/src/remotemanage/ut_remotemanagementplugn_test.h deleted file mode 100644 index bc6b03b05..000000000 --- a/tests/src/remotemanage/ut_remotemanagementplugn_test.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_REMOTEMANAGEMENTPLUGIN_TEST_H -#define UT_REMOTEMANAGEMENTPLUGIN_TEST_H - -#include "ut_defines.h" -#include "termproperties.h" - -#include - -class MainWindow; -class UT_RemoteManagementPlugin_Test : public ::testing::Test -{ -public: - UT_RemoteManagementPlugin_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - -public: - //普通窗口 - MainWindow *m_normalWindow = nullptr; - - TermProperties m_normalTermProperty; -}; - -#endif // UT_REMOTEMANAGEMENTPLUGIN_TEST_H diff --git a/tests/src/remotemanage/ut_remotemanagementsearchpanel_test.cpp b/tests/src/remotemanage/ut_remotemanagementsearchpanel_test.cpp deleted file mode 100644 index d62b6e08d..000000000 --- a/tests/src/remotemanage/ut_remotemanagementsearchpanel_test.cpp +++ /dev/null @@ -1,289 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_remotemanagementsearchpanel_test.h" -#include "remotemanagementsearchpanel.h" -#include "service.h" -#include "mainwindow.h" -#include "../stub.h" -#include "ut_stub_defines.h" - -// DTK -#include - -//Qt单元测试相关头文件 -#include -#include -#include - -//Google GTest 相关头文件 -#include - -void stub_focusCurrentPage() -{ - return; -} - -UT_RemoteManagementSearchPanel_Test::UT_RemoteManagementSearchPanel_Test() -{ -} - -void UT_RemoteManagementSearchPanel_Test::SetUp() -{ - if (!Service::instance()->property("isServiceInit").toBool()) { - Service::instance()->setProperty("isServiceInit", true); - } - - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_REMOTEMANAGEMENT); -} - -void UT_RemoteManagementSearchPanel_Test::TearDown() -{ - if (m_normalWindow) { - delete m_normalWindow; - } -} - -#ifdef UT_REMOTEMANAGEMENTSEARCHPANEL_TEST - -/******************************************************************************* - 1. @函数: refreshDataByGroupAndFilter - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-22 - 4. @说明: 测试组内搜索 -*******************************************************************************/ -TEST_F(UT_RemoteManagementSearchPanel_Test, refreshDataByGroupAndFilter) -{ - RemoteManagementSearchPanel searchPanel; - ServerConfig groupConfig; - groupConfig.m_serverName = "group_item"; - groupConfig.m_address = "127.0.0.1"; - groupConfig.m_group = "group2020"; - groupConfig.m_userName = "dzw"; - groupConfig.m_port = "22"; - //添加数据 - ServerConfig config; - config.m_serverName = "test_item"; - config.m_address = "127.0.0.1"; - config.m_userName = "dzw"; - config.m_group = "group2020"; - config.m_port = "22"; - ServerConfig config2; - config2.m_serverName = "test_item2"; - config2.m_address = "127.0.0.1"; - config2.m_userName = "dzw"; - config2.m_port = "22"; - ServerConfigManager::instance()->m_serverConfigs.clear(); - // 分组数据存储结构 - QList list; - list.append(&groupConfig); - list.append(&config); - QList list2; - list2.append(&config2); - // 数据存储结构 - ServerConfigManager::instance()->m_serverConfigs.insert("group2020", list); - ServerConfigManager::instance()->m_serverConfigs.insert("", list2); - // 刷新列表,填充数据 - searchPanel.refreshDataByGroupAndFilter("group2020", "test_item"); - // 获取当前列表内的数据 - int count = searchPanel.m_listWidget->count(); - EXPECT_EQ(count, 1); - // 重新搜索 => 找不到的情况 - searchPanel.refreshDataByGroupAndFilter("group2020", "test_item2"); - count = searchPanel.m_listWidget->count(); - EXPECT_EQ(count, 0); - ServerConfigManager::instance()->m_serverConfigs.clear(); -} - -TEST_F(UT_RemoteManagementSearchPanel_Test, refreshDataByFilter) -{ - RemoteManagementSearchPanel searchPanel; - ServerConfig groupConfig; - groupConfig.m_serverName = "group_item"; - groupConfig.m_address = "127.0.0.1"; - groupConfig.m_group = "group2020"; - groupConfig.m_userName = "dzw"; - groupConfig.m_port = "22"; - //添加数据 - ServerConfig config; - config.m_serverName = "test_item"; - config.m_address = "127.0.0.1"; - config.m_userName = "dzw"; - config.m_group = "group2020"; - config.m_port = "22"; - ServerConfig config2; - config2.m_serverName = "test_item2"; - config2.m_address = "127.0.0.1"; - config2.m_userName = "dzw"; - config2.m_port = "22"; - ServerConfigManager::instance()->m_serverConfigs.clear(); - // 分组数据存储结构 - QList list; - list.append(&groupConfig); - list.append(&config); - QList list2; - list2.append(&config2); - // 数据存储结构 - ServerConfigManager::instance()->m_serverConfigs.insert("group2020", list); - ServerConfigManager::instance()->m_serverConfigs.insert("", list2); - // 刷新列表,填充数据 - searchPanel.refreshDataByFilter("item"); - int count = searchPanel.m_listWidget->count(); - EXPECT_EQ(count, 3); - searchPanel.refreshDataByFilter("group"); - count = searchPanel.m_listWidget->count(); - EXPECT_EQ(count, 2); - searchPanel.refreshDataByFilter("test_item2"); - count = searchPanel.m_listWidget->count(); - EXPECT_EQ(count, 1); - searchPanel.refreshDataByFilter("1988"); - count = searchPanel.m_listWidget->count(); - EXPECT_EQ(count, 0); - ServerConfigManager::instance()->m_serverConfigs.clear(); -} - -/******************************************************************************* - 1. @函数: clearAllFocus - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-23 - 4. @说明: 清除所有焦点 -*******************************************************************************/ -TEST_F(UT_RemoteManagementSearchPanel_Test, clearAllFocus) -{ - RemoteManagementSearchPanel searchPanel; - searchPanel.show(); - searchPanel.clearAllFocus(); - EXPECT_EQ(searchPanel.m_rebackButton->hasFocus(), false); - EXPECT_EQ(searchPanel.m_listWidget->hasFocus(), false); - EXPECT_EQ(searchPanel.m_label->hasFocus(), false); -} - -/******************************************************************************* - 1. @函数: setFocusBack - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-23 - 4. @说明: 返回设置 -*******************************************************************************/ -TEST_F(UT_RemoteManagementSearchPanel_Test, setFocusBack) -{ - Stub s; - s.set(ADDR(MainWindow, focusCurrentPage), stub_focusCurrentPage); - // 初始化界面 - RemoteManagementSearchPanel searchPanel; - searchPanel.show(); - // 新增服务器配置数据 - ServerConfig groupConfig; - groupConfig.m_serverName = "group_item"; - groupConfig.m_address = "127.0.0.1"; - groupConfig.m_group = "group2020"; - groupConfig.m_userName = "dzw"; - groupConfig.m_port = "22"; - // 分组数据存储结构 - QList list; - list.append(&groupConfig); - // 数据存储结构 - ServerConfigManager::instance()->m_serverConfigs.insert("group2020", list); - // 填充数据 - searchPanel.refreshDataByFilter("item"); - //当前检索对象为item - EXPECT_TRUE("item" == searchPanel.m_strFilter); - - // 返回分组,isFocusOn:false,无焦点不做操作 - searchPanel.setFocusBack("group2020", false, 0); - EXPECT_TRUE(searchPanel.m_listWidget->count() > 0); - - // 返回分组2,isFocusOn:false,更新列表,默认选择第一行 - searchPanel.setFocusBack("group2020", true, 0); - EXPECT_TRUE(searchPanel.m_listWidget->currentIndex() == 0); - - // 还原 - ServerConfigManager::instance()->m_serverConfigs.clear(); -} - -TEST_F(UT_RemoteManagementSearchPanel_Test, getListIndex) -{ - EXPECT_EQ(m_normalWindow->isVisible(), true); - - RemoteManagementPlugin *remotePlugin = m_normalWindow->findChild(); - RemoteManagementTopPanel *remoteTopPanel = remotePlugin->getRemoteManagementTopPanel(); - EXPECT_NE(remoteTopPanel, nullptr); - EXPECT_EQ(remoteTopPanel->isVisible(), true); - - RemoteManagementSearchPanel *searchPanel = remoteTopPanel->findChild(); - int listIndex = searchPanel->getListIndex(); - EXPECT_EQ(listIndex, -1); -} - -/******************************************************************************* - 1. @函数: onItemClicked - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-23 - 4. @说明: 点击事件 -*******************************************************************************/ -TEST_F(UT_RemoteManagementSearchPanel_Test, onItemClicked) -{ - // 初始化搜索界面 - RemoteManagementSearchPanel searchPanel; - searchPanel.show(); - - // 初始化数据 - ServerConfig config; - config.m_serverName = "test_item"; - config.m_address = "127.0.0.1"; - config.m_userName = "dzw"; - config.m_port = "22"; - // 添加数据到列表中 - // 分组数据存储结构 - QList list; - list.append(&config); - // 数据存储结构 - ServerConfigManager::instance()->m_serverConfigs.insert("", list); - // 刷新列表,填充数据,更新filter = item - searchPanel.refreshDataByFilter("item"); - EXPECT_TRUE("item" == searchPanel.m_strFilter); - - // 传来被点击的key值,触发emit - QSignalSpy spy(&searchPanel, &RemoteManagementSearchPanel::doConnectServer); - searchPanel.onItemClicked("test_item"); - EXPECT_TRUE(1 == spy.count()); - // 清空测试数据 - ServerConfigManager::instance()->m_serverConfigs.clear(); -} - -/******************************************************************************* - 1. @函数: lambda - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-23 - 4. @说明: 测试lambda表达式 -*******************************************************************************/ -//TEST_F(UT_RemoteManagementSearchPanel_Test, lambda) -//{ -// // 初始化界面 -// RemoteManagementSearchPanel searchPanel; -// searchPanel.show(); - -// // -// UT_STUB_QAPPLICATION_SENDEVENT_CREATE; -// searchPanel.handleListViewFocusOut(Qt::TabFocusReason); -// EXPECT_TRUE(UT_STUB_QAPPLICATION_SENDEVENT_RESULT); - -// searchPanel.handleListViewFocusOut(Qt::BacktabFocusReason); -// EXPECT_TRUE(-1 == searchPanel.m_listWidget->currentIndex()); - -// // 切换主题 -// searchPanel.handleThemeTypeChanged(DApplicationHelper::DarkType); -// DPalette p1 = searchPanel.m_label->palette(); -// searchPanel.handleThemeTypeChanged(DApplicationHelper::LightType); -// DPalette p2 = searchPanel.m_label->palette(); -// //一黑一白两个主题 -// EXPECT_TRUE(p1.brush(QPalette::Text).color() != p2.brush(QPalette::Text).color()); -//} -#endif diff --git a/tests/src/remotemanage/ut_remotemanagementsearchpanel_test.h b/tests/src/remotemanage/ut_remotemanagementsearchpanel_test.h deleted file mode 100644 index e319fa2a6..000000000 --- a/tests/src/remotemanage/ut_remotemanagementsearchpanel_test.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_REMOTEMANAGEMENTSEARCHPANEL_TEST_H -#define UT_REMOTEMANAGEMENTSEARCHPANEL_TEST_H - -#include "ut_defines.h" -#include "termproperties.h" - -#include - -class MainWindow; -class UT_RemoteManagementSearchPanel_Test : public ::testing::Test -{ -public: - UT_RemoteManagementSearchPanel_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - -public: - //普通窗口 - MainWindow *m_normalWindow = nullptr; - - TermProperties m_normalTermProperty; -}; - -#endif // UT_REMOTEMANAGEMENTSEARCHPANEL_TEST_H diff --git a/tests/src/remotemanage/ut_remotemanagementtoppanel_test.cpp b/tests/src/remotemanage/ut_remotemanagementtoppanel_test.cpp deleted file mode 100644 index b1d127959..000000000 --- a/tests/src/remotemanage/ut_remotemanagementtoppanel_test.cpp +++ /dev/null @@ -1,220 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_remotemanagementtoppanel_test.h" -#include "remotemanagementtoppanel.h" -#include "service.h" -#include "mainwindow.h" -#include "../stub.h" -#include "ut_stub_defines.h" - -//Qt单元测试相关头文件 -#include -#include - -//Google GTest 相关头文件 -#include - -void stub_focusCurrentPage_remote() -{ - return; -} - -bool stub_isFocusOnList() -{ - return true; -} - -UT_RemoteManagementTopPanel_Test::UT_RemoteManagementTopPanel_Test() -{ -} - -void UT_RemoteManagementTopPanel_Test::SetUp() -{ - if (!Service::instance()->property("isServiceInit").toBool()) { - Service::instance()->setProperty("isServiceInit", true); - } -} - -void UT_RemoteManagementTopPanel_Test::TearDown() -{ -} - -static void doDeleteLater(RemoteManagementTopPanel *obj) -{ - obj->deleteLater(); -} - -#ifdef UT_REMOTEMANAGEMENTTOPPANEL_TEST - -TEST_F(UT_RemoteManagementTopPanel_Test, setFocusInPanel) -{ - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_REMOTEMANAGEMENT); - - RemoteManagementPlugin *remotePlugin = m_normalWindow->findChild(); - RemoteManagementTopPanel *remoteTopPanel = remotePlugin->getRemoteManagementTopPanel(); - EXPECT_NE(remoteTopPanel, nullptr); - EXPECT_EQ(remoteTopPanel->isVisible(), true); - - remoteTopPanel->setFocusInPanel(); - m_normalWindow->close(); - delete m_normalWindow; -} - -TEST_F(UT_RemoteManagementTopPanel_Test, showSearchPanel) -{ - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_REMOTEMANAGEMENT); - - RemoteManagementPlugin *remotePlugin = m_normalWindow->findChild(); - RemoteManagementTopPanel *remoteTopPanel = remotePlugin->getRemoteManagementTopPanel(); - EXPECT_NE(remoteTopPanel, nullptr); - EXPECT_EQ(remoteTopPanel->isVisible(), true); - - remoteTopPanel->showSearchPanel("group"); - m_normalWindow->close(); - delete m_normalWindow; -} - -TEST_F(UT_RemoteManagementTopPanel_Test, showGroupPanel) -{ - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_REMOTEMANAGEMENT); - - RemoteManagementPlugin *remotePlugin = m_normalWindow->findChild(); - RemoteManagementTopPanel *remoteTopPanel = remotePlugin->getRemoteManagementTopPanel(); - EXPECT_NE(remoteTopPanel, nullptr); - EXPECT_EQ(remoteTopPanel->isVisible(), true); - - remoteTopPanel->showSearchPanel("group"); - - //显示前一个界面(返回) - remoteTopPanel->showPrevPanel(); - - m_normalWindow->close(); - delete m_normalWindow; -} - -/******************************************************************************* - 1. @函数: ShowSearchPanel - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-23 - 4. @说明: 显示搜索面板 => 组内搜索和无法搜索 -*******************************************************************************/ -TEST_F(UT_RemoteManagementTopPanel_Test, ShowSearchPanelTest) -{ - RemoteManagementTopPanel topPanel; - // 没数据的情况 - // 显示分组界面的搜索 - topPanel.m_currentPanelType = ServerConfigManager::PanelType_Group; - topPanel.m_group = "group"; - topPanel.showSearchPanel("1988"); - EXPECT_TRUE(topPanel.m_filterStack.contains("1988")); - - // 未知类型 - topPanel.m_currentPanelType = ServerConfigManager::PanelType_Search; - topPanel.showSearchPanel("1995"); - EXPECT_TRUE(topPanel.m_filterStack.contains("1995")); -} - -/******************************************************************************* - 1. @函数: showGroupPanel - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-23 - 4. @说明: 显示分组界面 -*******************************************************************************/ -TEST_F(UT_RemoteManagementTopPanel_Test, showGroupPanelTest) -{ - Stub s; - s.set(ADDR(MainWindow, focusCurrentPage), stub_focusCurrentPage_remote); - RemoteManagementTopPanel topPanel; - // 没数据的情况 - // 不用界面显示分组界面 - topPanel.m_currentPanelType = ServerConfigManager::PanelType_Manage; - topPanel.showGroupPanel("1988", false); - EXPECT_TRUE("1988" == topPanel.m_group); - EXPECT_TRUE("1988" == topPanel.m_serverConfigGroupPanel->m_groupName); - //item 1988不获取焦点 - EXPECT_TRUE(false == topPanel.m_prevPanelStack.value(topPanel.m_prevPanelStack.size() - 1).m_isFocusOn); - - - topPanel.m_currentPanelType = ServerConfigManager::PanelType_Manage; - topPanel.showGroupPanel("1988", true); - //item 1988获取焦点 - EXPECT_TRUE(true == topPanel.m_prevPanelStack.value(topPanel.m_prevPanelStack.size() - 1).m_isFocusOn); - - topPanel.m_currentPanelType = ServerConfigManager::PanelType_Search; - topPanel.showGroupPanel("1995", true); - EXPECT_TRUE("1995" == topPanel.m_group); - EXPECT_TRUE("1995" == topPanel.m_serverConfigGroupPanel->m_groupName); - //Search/item 1995获取焦点 - EXPECT_TRUE(true == topPanel.m_prevPanelStack.value(topPanel.m_prevPanelStack.size() - 1).m_isFocusOn); - - // 未知类型 - topPanel.m_currentPanelType = ServerConfigManager::PanelType_Group; - topPanel.showGroupPanel("1995", true); - EXPECT_TRUE("1995" == topPanel.m_group); - EXPECT_TRUE("1995" == topPanel.m_serverConfigGroupPanel->m_groupName); - //Group/item 1995获取焦点 - EXPECT_TRUE(true == topPanel.m_prevPanelStack.value(topPanel.m_prevPanelStack.size() - 1).m_isFocusOn); - -} - -/******************************************************************************* - 1. @函数: showPrePanel - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-23 - 4. @说明: 显示前一个界面 -*******************************************************************************/ -TEST_F(UT_RemoteManagementTopPanel_Test, showPrePanelTest) -{ - Stub s; - s.set(ADDR(MainWindow, isFocusOnList), stub_isFocusOnList); - // 清空堆栈 - QSharedPointer topPanel(new RemoteManagementTopPanel, doDeleteLater); - topPanel->m_prevPanelStack.clear(); - // 显示前一个窗口 - UT_STUB_QWIDGET_SHOW_CREATE; - topPanel->m_prevPanelStack << PanelState(); - topPanel->m_prevPanelStack.last().m_type = ServerConfigManager::PanelType_Manage; - topPanel->showPrevPanel(); - EXPECT_TRUE(UT_STUB_QWIDGET_SHOW_RESULT); - - // 搜索返回 - UT_STUB_QWIDGET_SHOW_PREPARE; - topPanel->m_prevPanelStack << PanelState(); - topPanel->m_prevPanelStack.last().m_type = ServerConfigManager::PanelType_Search; - topPanel->m_filterStack.push_back(QString("hello")); - topPanel->m_filterStack.push_back(QString("world")); - topPanel->showPrevPanel(); - EXPECT_TRUE(UT_STUB_QWIDGET_SHOW_RESULT); - - // 分组返回 - UT_STUB_QWIDGET_SHOW_PREPARE; - topPanel->m_prevPanelStack << PanelState(); - topPanel->m_prevPanelStack.last().m_type = ServerConfigManager::PanelType_Group; - topPanel->showPrevPanel(); - EXPECT_TRUE(UT_STUB_QWIDGET_SHOW_RESULT); -} -#endif diff --git a/tests/src/remotemanage/ut_remotemanagementtoppanel_test.h b/tests/src/remotemanage/ut_remotemanagementtoppanel_test.h deleted file mode 100644 index 14eb4fbff..000000000 --- a/tests/src/remotemanage/ut_remotemanagementtoppanel_test.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_REMOTEMANAGEMENTTOPPANEL_TEST_H -#define UT_REMOTEMANAGEMENTTOPPANEL_TEST_H - -#include "ut_defines.h" -#include "termproperties.h" - -#include - -class MainWindow; -class UT_RemoteManagementTopPanel_Test : public ::testing::Test -{ -public: - UT_RemoteManagementTopPanel_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - -public: - //普通窗口 - MainWindow *m_normalWindow = nullptr; - - TermProperties m_normalTermProperty; -}; - -#endif // UT_REMOTEMANAGEMENTTOPPANEL_TEST_H diff --git a/tests/src/remotemanage/ut_serverconfiggrouppanel_test.cpp b/tests/src/remotemanage/ut_serverconfiggrouppanel_test.cpp deleted file mode 100644 index 18f3b57fe..000000000 --- a/tests/src/remotemanage/ut_serverconfiggrouppanel_test.cpp +++ /dev/null @@ -1,248 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_serverconfiggrouppanel_test.h" -#include "serverconfiggrouppanel.h" -#include "service.h" -#include "mainwindow.h" -#include "ut_stub_defines.h" - -//Qt单元测试相关头文件 -#include -#include - -//Google GTest 相关头文件 -#include - -UT_ServerConfigGroupPanel_Test::UT_ServerConfigGroupPanel_Test() -{ -} - -void UT_ServerConfigGroupPanel_Test::SetUp() -{ - if (!Service::instance()->property("isServiceInit").toBool()) { - Service::instance()->setProperty("isServiceInit", true); - } - - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); - m_normalWindow->resize(800, 600); - m_normalWindow->show(); -} - -void UT_ServerConfigGroupPanel_Test::TearDown() -{ - delete m_normalWindow; -} - -#ifdef UT_SERVERCONFIGGROUPPANEL_TEST -TEST_F(UT_ServerConfigGroupPanel_Test, refreshData) -{ - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_REMOTEMANAGEMENT); - - RemoteManagementPlugin *remotePlugin = m_normalWindow->findChild(); - RemoteManagementTopPanel *remoteTopPanel = remotePlugin->getRemoteManagementTopPanel(); - EXPECT_NE(remoteTopPanel, nullptr); - EXPECT_EQ(remoteTopPanel->isVisible(), true); - - ServerConfigGroupPanel *groupPanel = remoteTopPanel->findChild(); - EXPECT_NE(groupPanel, nullptr); - groupPanel->refreshData("group01"); -} - -TEST_F(UT_ServerConfigGroupPanel_Test, setFocusBack) -{ - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_REMOTEMANAGEMENT); - - RemoteManagementPlugin *remotePlugin = m_normalWindow->findChild(); - RemoteManagementTopPanel *remoteTopPanel = remotePlugin->getRemoteManagementTopPanel(); - EXPECT_NE(remoteTopPanel, nullptr); - EXPECT_EQ(remoteTopPanel->isVisible(), true); - - ServerConfigGroupPanel *groupPanel = remoteTopPanel->findChild(); - EXPECT_NE(groupPanel, nullptr); - groupPanel->setFocusBack(); -} - -TEST_F(UT_ServerConfigGroupPanel_Test, clearAllFocus) -{ - EXPECT_EQ(m_normalWindow->isVisible(), true); - - m_normalWindow->showPlugin(MainWindow::PLUGIN_TYPE_REMOTEMANAGEMENT); - - RemoteManagementPlugin *remotePlugin = m_normalWindow->findChild(); - RemoteManagementTopPanel *remoteTopPanel = remotePlugin->getRemoteManagementTopPanel(); - EXPECT_NE(remoteTopPanel, nullptr); - EXPECT_EQ(remoteTopPanel->isVisible(), true); - - ServerConfigGroupPanel *groupPanel = remoteTopPanel->findChild(); - EXPECT_NE(groupPanel, nullptr); - groupPanel->clearAllFocus(); - - EXPECT_EQ(groupPanel->m_rebackButton->hasFocus(), false); - EXPECT_EQ(groupPanel->m_searchEdit->hasFocus(), false); - EXPECT_EQ(groupPanel->m_listWidget->hasFocus(), false); -} - -/******************************************************************************* - 1. @函数: refreshDataTest - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-24 - 4. @说明: 刷新列表 => 组内数据 -*******************************************************************************/ -TEST_F(UT_ServerConfigGroupPanel_Test, refreshDataTest) -{ - // 创建分组 - ServerConfig groupConfig; - groupConfig.m_serverName = "group_item"; - groupConfig.m_address = "127.0.0.1"; - groupConfig.m_group = "group2020"; - groupConfig.m_userName = "dzw"; - groupConfig.m_port = "22"; - // 分组数据存储结构 - QList list; - list.append(&groupConfig); - // 数据存储结构 - // 清空数据 - ServerConfigManager::instance()->m_serverConfigs.clear(); - // 装填数据 - ServerConfigManager::instance()->m_serverConfigs.insert("group2020", list); - - // 新建界面 - ServerConfigGroupPanel groupPanel; - // 刷新界面 - groupPanel.refreshData("group2020"); - // 界面下只有一个数据 - int count = groupPanel.m_listWidget->count(); - EXPECT_EQ(count, 1); - - // 不存在的组 - groupPanel.refreshData("group1988"); - count = groupPanel.m_listWidget->count(); - EXPECT_EQ(count, 0); - - // 清空数据 - ServerConfigManager::instance()->m_serverConfigs.clear(); -} - -/******************************************************************************* - 1. @函数: setFocusBackTest - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-24 - 4. @说明: 测试界面返回 -*******************************************************************************/ -TEST_F(UT_ServerConfigGroupPanel_Test, setFocusBackTest) -{ - // 创建分组 - ServerConfig groupConfig; - groupConfig.m_serverName = "group_item"; - groupConfig.m_address = "127.0.0.1"; - groupConfig.m_group = "group2020"; - groupConfig.m_userName = "dzw"; - groupConfig.m_port = "22"; - ServerConfig groupConfig2; - groupConfig2.m_serverName = "group_item2"; - groupConfig2.m_address = "127.0.0.1"; - groupConfig2.m_group = "group2020"; - groupConfig2.m_userName = "dzw"; - groupConfig2.m_port = "22"; - // 分组数据存储结构 - QList list; - list.append(&groupConfig); - list.append(&groupConfig); - // 数据存储结构 - // 清空数据 - ServerConfigManager::instance()->m_serverConfigs.clear(); - // 装填数据 - ServerConfigManager::instance()->m_serverConfigs.insert("group2020", list); - //添加group2020 - EXPECT_TRUE(ServerConfigManager::instance()->m_serverConfigs.contains("group2020")); - - // 新建界面 - ServerConfigGroupPanel groupPanel; - // 刷新界面 - groupPanel.refreshData("group2020"); - //当前group为group2020 - EXPECT_TRUE("group2020" == groupPanel.m_groupName); - // 刷新搜索框状态 - UT_STUB_QWIDGET_SETVISIBLE_CREATE; - groupPanel.refreshSearchState(); - //会触发setvisible函数 - EXPECT_TRUE(UT_STUB_QWIDGET_SETVISIBLE_RESULT); - - // 两个数据 => 有搜索框 - UT_STUB_QWIDGET_ISVISIBLE_APPEND; - UT_STUB_QWIDGET_SETFOCUS_APPEND; - groupPanel.setFocusBack(); - //会触发isvisible喊setFocus函数 - EXPECT_TRUE(UT_STUB_QWIDGET_ISVISIBLE_RESULT); - EXPECT_TRUE(UT_STUB_QWIDGET_SETFOCUS_RESULT); - - // 影藏搜索框 - groupPanel.m_searchEdit->hide(); - groupPanel.setFocusBack(); - - // 清空数据 - ServerConfigManager::instance()->m_serverConfigs.clear(); - // 刷新界面 - groupPanel.refreshData("group2020"); - groupPanel.setFocusBack(); -} - -/******************************************************************************* - 1. @函数: clearAllFocusTest - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-24 - 4. @说明: 测试清除焦点是否成功 -*******************************************************************************/ -TEST_F(UT_ServerConfigGroupPanel_Test, clearAllFocusTest) -{ - ServerConfigGroupPanel groupPanel; - groupPanel.show(); - groupPanel.refreshData("group2020"); - groupPanel.clearAllFocus(); - EXPECT_EQ(groupPanel.m_rebackButton->hasFocus(), false); - EXPECT_EQ(groupPanel.m_listWidget->hasFocus(), false); - EXPECT_EQ(groupPanel.m_searchEdit->hasFocus(), false); -} - -/******************************************************************************* - 1. @函数: lambda - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-24 - 4. @说明: 测试lambda表达式,是否会影响进程 -*******************************************************************************/ -TEST_F(UT_ServerConfigGroupPanel_Test, lambda) -{ - // 初始化界面 - ServerConfigGroupPanel groupPanel; - groupPanel.show(); - groupPanel.refreshData("group2020"); - groupPanel.m_isShow = true; - - groupPanel.onListViewFocusOut(Qt::OtherFocusReason); - //会选择第一行 - EXPECT_TRUE(groupPanel.m_listWidget->currentIndex() == -1); - - UT_STUB_QWIDGET_ISVISIBLE_CREATE; - groupPanel.onListViewFocusOut(Qt::BacktabFocusReason); - //会执行isVisible()函数 - EXPECT_TRUE(UT_STUB_QWIDGET_ISVISIBLE_RESULT); - - //没有焦点 - groupPanel.onListViewFocusOut(Qt::NoFocusReason); - EXPECT_TRUE(groupPanel.m_listWidget->currentIndex() == -1); - - - emit ServerConfigManager::instance()->refreshList(); - - -} -#endif diff --git a/tests/src/remotemanage/ut_serverconfiggrouppanel_test.h b/tests/src/remotemanage/ut_serverconfiggrouppanel_test.h deleted file mode 100644 index dcf07aac0..000000000 --- a/tests/src/remotemanage/ut_serverconfiggrouppanel_test.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_SERVERCONFIGGROUPPANEL_TEST_H -#define UT_SERVERCONFIGGROUPPANEL_TEST_H - -#include "ut_defines.h" -#include "termproperties.h" - -#include - -class MainWindow; -class UT_ServerConfigGroupPanel_Test : public ::testing::Test -{ -public: - UT_ServerConfigGroupPanel_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - -public: - //普通窗口 - MainWindow *m_normalWindow = nullptr; - - TermProperties m_normalTermProperty; -}; - -#endif // UT_SERVERCONFIGGROUPPANEL_TEST_H diff --git a/tests/src/remotemanage/ut_serverconfigmanager_test.cpp b/tests/src/remotemanage/ut_serverconfigmanager_test.cpp deleted file mode 100644 index 333031a40..000000000 --- a/tests/src/remotemanage/ut_serverconfigmanager_test.cpp +++ /dev/null @@ -1,225 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_serverconfigmanager_test.h" -#include "serverconfigmanager.h" -#include "service.h" -#include "mainwindow.h" -#include "serverconfigoptdlg.h" -#include "utils.h" -#include "ut_stub_defines.h" - -//Qt单元测试相关头文件 -#include -#include - -//Google GTest 相关头文件 -#include - -UT_ServerConfigManager_Test::UT_ServerConfigManager_Test() -{ -} - -void UT_ServerConfigManager_Test::SetUp() -{ -} - -void UT_ServerConfigManager_Test::TearDown() -{ -} - -int UT_ServerConfigManager_Test::getServerConfigCount() -{ - QList serverConfigList; - QMap> severConfigs = ServerConfigManager::instance()->getServerConfigs(); - for (QMap>::iterator iter = severConfigs.begin(); iter != severConfigs.end(); ++iter) { - QList value = iter.value(); - for (int i = 0; i < value.size(); ++i) { - serverConfigList.append(value.at(i)); - } - } - - qDebug() << serverConfigList.count(); - return serverConfigList.count(); -} - -#ifdef UT_SERVERCONFIGMANAGER_TEST -TEST_F(UT_ServerConfigManager_Test, ServerConfigManagerTest) -{ - ServerConfigManager *serverConfigManager = ServerConfigManager::instance(); - serverConfigManager->initServerConfig(); - - int serverConfigCount = getServerConfigCount(); - qDebug() << serverConfigCount << endl; - - QString groupName = QString("group_01"); - - qsrand(static_cast(time(nullptr))); - ServerConfig *config = new ServerConfig(); - config->m_serverName = QString("new_server_%1").arg(Utils::getRandString()); - config->m_address = QString("192.168.10.%1").arg(qrand() % 255); - config->m_userName = QString("zhangsan"); - config->m_password = QString("123"); - config->m_privateKey = QString(""); - config->m_port = QString(""); - config->m_group = groupName; - config->m_path = QString(""); - config->m_command = QString(""); - config->m_encoding = QString(""); - config->m_backspaceKey = QString(""); - config->m_deleteKey = QString(""); - - serverConfigManager->saveServerConfig(config); - EXPECT_TRUE(serverConfigManager->m_serverConfigs[groupName].contains(config)); - - serverConfigManager->getServerCount(config->m_group); - - ServerConfig *currConfig = serverConfigManager->getServerConfig(config->m_serverName); - - //替换conf - qsrand(static_cast(time(nullptr))); - ServerConfig *newConfig = new ServerConfig(); - newConfig->m_serverName = QString("new_server_%1").arg(Utils::getRandString()); - newConfig->m_address = QString("192.168.10.%1").arg(qrand() % 255); - newConfig->m_userName = QString("uos"); - newConfig->m_password = QString("123456"); - newConfig->m_privateKey = QString(""); - newConfig->m_port = QString(""); - newConfig->m_group = groupName; - newConfig->m_path = QString(""); - newConfig->m_command = QString(""); - newConfig->m_encoding = QString(""); - newConfig->m_backspaceKey = QString(""); - newConfig->m_deleteKey = QString(""); - serverConfigManager->modifyServerConfig(newConfig, currConfig); - //newConfig替换currConfig - EXPECT_TRUE(!serverConfigManager->m_serverConfigs[groupName].contains(currConfig)); - EXPECT_TRUE(serverConfigManager->m_serverConfigs[groupName].contains(newConfig)); - - //删除newConfig - serverConfigManager->delServerConfig(newConfig); - EXPECT_TRUE(!serverConfigManager->m_serverConfigs[groupName].contains(newConfig)); -} - -/******************************************************************************* - 1. @函数: initManager - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-25 - 4. @说明: 初始化Manager -*******************************************************************************/ -TEST_F(UT_ServerConfigManager_Test, initManager) -{ - // 将现在已有的instance删除 - //delete ServerConfigManager::m_instance; -// ServerConfigManager::m_instance = nullptr; - - // 初始化数据 - // 先将数据存入配置文件 - QString groupName1 = "group2020"; - ServerConfig *config1 = new ServerConfig; - config1->m_serverName = "group_item"; - config1->m_address = "127.0.0.1"; - config1->m_group = groupName1; - config1->m_userName = "dzw"; - config1->m_port = "22"; - QString groupName2 = "group2021"; - ServerConfig *config2 = new ServerConfig; - config2->m_serverName = "1988"; - config2->m_address = "127.0.0.1"; - config2->m_group = groupName2; - config2->m_userName = "dzw"; - config2->m_port = "22"; - // 保存数据 - ServerConfigManager::instance()->saveServerConfig(config1); - EXPECT_TRUE(ServerConfigManager::instance()->m_serverConfigs[groupName1].contains(config1)); - - ServerConfigManager::instance()->saveServerConfig(config2); - EXPECT_TRUE(ServerConfigManager::instance()->m_serverConfigs[groupName2].contains(config2)); - - //初始化数据 - ServerConfigManager::instance()->initServerConfig(); - // 删除数据 - ServerConfigManager::instance()->delServerConfig(config1); - EXPECT_TRUE(!ServerConfigManager::instance()->m_serverConfigs[groupName1].contains(config1)); - - ServerConfigManager::instance()->delServerConfig(config2); - EXPECT_TRUE(!ServerConfigManager::instance()->m_serverConfigs[groupName2].contains(config2)); -} - -/******************************************************************************* - 1. @函数: removeDialog - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-25 - 4. @说明: 远程管理弹窗操作 -*******************************************************************************/ -TEST_F(UT_ServerConfigManager_Test, removeDialog) -{ - // 初始化数据 - ServerConfig config; - config.m_serverName = "1988"; - config.m_address = "127.0.0.1"; - config.m_group = ""; - config.m_userName = "dzw"; - config.m_port = "22"; - - //初始化弹窗 - ServerConfigOptDlg *dlg = new ServerConfigOptDlg(ServerConfigOptDlg::SCT_MODIFY, &config, nullptr); - //构造dialog是会setObjectName - EXPECT_TRUE(dlg->objectName().count() > 0); - dlg->show(); - - // 将弹窗记录 - ServerConfigManager::instance()->setModifyDialog(config.m_serverName, dlg); - EXPECT_TRUE(ServerConfigManager::instance()->m_serverConfigDialogMap.contains(config.m_serverName)); - - // 删除弹窗 - ServerConfigManager::instance()->removeDialog(dlg); - EXPECT_TRUE(!ServerConfigManager::instance()->m_serverConfigDialogMap.contains(config.m_serverName)); -} - -/******************************************************************************* - 1. @函数: closeAllDialog - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-25 - 4. @说明: 关闭同类弹窗 -*******************************************************************************/ -TEST_F(UT_ServerConfigManager_Test, closeAllDialog) -{ - // 初始化数据 - ServerConfig config; - config.m_serverName = "1988"; - config.m_address = "127.0.0.1"; - config.m_group = ""; - config.m_userName = "dzw"; - config.m_port = "22"; - - // 打开多个同一种弹窗 - ServerConfigOptDlg *dlg1 = new ServerConfigOptDlg(ServerConfigOptDlg::SCT_MODIFY, &config, nullptr); - ServerConfigOptDlg *dlg2 = new ServerConfigOptDlg(ServerConfigOptDlg::SCT_MODIFY, &config, nullptr); - dlg1->show(); - dlg2->show(); - int oldMapcount = ServerConfigManager::instance()->m_serverConfigDialogMap.count(); - - // 将弹窗记录 - ServerConfigManager::instance()->setModifyDialog(config.m_serverName, dlg1); - ServerConfigManager::instance()->setModifyDialog(config.m_serverName, dlg2); - // 同一类弹窗 - int newMapcount = ServerConfigManager::instance()->m_serverConfigDialogMap.count(); - EXPECT_EQ(oldMapcount + 1, newMapcount); - // 弹窗数量 - int count = ServerConfigManager::instance()->m_serverConfigDialogMap[config.m_serverName].count(); - EXPECT_EQ(count, 2); - - // 将弹窗全部全部拒绝 => 拒绝后信号槽会自动删除弹窗 - ServerConfigManager::instance()->closeAllDialog(config.m_serverName); -} -TEST_F(UT_ServerConfigManager_Test, ConvertData) -{ - UT_STUB_QFILE_REMOVE_CREATE; - ServerConfigManager::instance()->ConvertData(); - EXPECT_TRUE(UT_STUB_QFILE_REMOVE_RESULT); -} - -#endif diff --git a/tests/src/remotemanage/ut_serverconfigmanager_test.h b/tests/src/remotemanage/ut_serverconfigmanager_test.h deleted file mode 100644 index 85f9f917e..000000000 --- a/tests/src/remotemanage/ut_serverconfigmanager_test.h +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_SERVERCONFIGMANAGER_TEST_H -#define UT_SERVERCONFIGMANAGER_TEST_H - -#include "ut_defines.h" - -#include - -class UT_ServerConfigManager_Test : public ::testing::Test -{ -public: - UT_ServerConfigManager_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - - int getServerConfigCount(); -}; - -#endif // UT_SERVERCONFIGMANAGER_TEST_H diff --git a/tests/src/remotemanage/ut_serverconfigoptdlg_test.cpp b/tests/src/remotemanage/ut_serverconfigoptdlg_test.cpp deleted file mode 100644 index d66651525..000000000 --- a/tests/src/remotemanage/ut_serverconfigoptdlg_test.cpp +++ /dev/null @@ -1,174 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_serverconfigoptdlg_test.h" -#include "serverconfigoptdlg.h" -#include "serverconfigmanager.h" -#include "utils.h" - -// DTK -#include - -//Qt单元测试相关头文件 -#include -#include -#include - -UT_ServerConfigOptDlg_Test::UT_ServerConfigOptDlg_Test() -{ -} - -void UT_ServerConfigOptDlg_Test::SetUp() -{ - ServerConfigManager *serverConfigManager = ServerConfigManager::instance(); - serverConfigManager->initServerConfig(); -} - -void UT_ServerConfigOptDlg_Test::TearDown() -{ -} - -#ifdef UT_SERVERCONFIGOPTDLG_TEST - -TEST_F(UT_ServerConfigOptDlg_Test, getCurServer) -{ - ServerConfigOptDlg serverCfgDlg; - serverCfgDlg.show(); - EXPECT_EQ(serverCfgDlg.isVisible(), true); - - ServerConfig *serverConfig = serverCfgDlg.getCurServer(); - EXPECT_EQ(serverConfig, nullptr); -} - -TEST_F(UT_ServerConfigOptDlg_Test, setDelServer) -{ - ServerConfigOptDlg serverCfgDlg; - serverCfgDlg.show(); - EXPECT_EQ(serverCfgDlg.isVisible(), true); - - serverCfgDlg.setDelServer(true); - EXPECT_EQ(serverCfgDlg.isDelServer(), true); - - serverCfgDlg.setDelServer(false); - EXPECT_EQ(serverCfgDlg.isDelServer(), false); -} - -TEST_F(UT_ServerConfigOptDlg_Test, getServerName) -{ - ServerConfigOptDlg serverCfgDlg; - serverCfgDlg.show(); - EXPECT_EQ(serverCfgDlg.isVisible(), true); - - QString serverName = serverCfgDlg.getServerName(); - EXPECT_EQ(serverName.isEmpty(), true); -} - -TEST_F(UT_ServerConfigOptDlg_Test, getData) -{ - ServerConfigOptDlg serverCfgDlg; - - ServerConfig serverConfig = serverCfgDlg.getData(); - EXPECT_EQ(serverConfig.m_serverName, serverCfgDlg.getServerName()); -} - -TEST_F(UT_ServerConfigOptDlg_Test, resetCurServer) -{ - ServerConfigOptDlg serverCfgDlg; - - ServerConfig serverConfig = serverCfgDlg.getData(); - serverCfgDlg.resetCurServer(&serverConfig); - - //替换curServer为serverConfig - EXPECT_TRUE(serverCfgDlg.m_curServer->m_serverName == serverConfig.m_serverName); -} - -/******************************************************************************* - 1. @函数: getDataTest - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-24 - 4. @说明: 测试带值初始化弹窗 -*******************************************************************************/ -TEST_F(UT_ServerConfigOptDlg_Test, getDataTest) -{ - // 初始化测试数据 - ServerConfig config; - config.m_serverName = "test_item"; - config.m_address = "127.0.0.1"; - config.m_userName = "dzw"; - config.m_port = "22"; - // 初始化弹窗 - ServerConfigOptDlg serverConfigDialog(ServerConfigOptDlg::SCT_MODIFY, &config); - - // 未改变数据前getData - // 指向的不是同一片空间,所以只能比较里面的值 - ServerConfig curConfig = serverConfigDialog.getData(); - EXPECT_EQ(curConfig.m_serverName, config.m_serverName); - - // 修改弹窗内服务器名称 - serverConfigDialog.m_serverName->setText("1988"); - curConfig = serverConfigDialog.getData(); - EXPECT_EQ(curConfig.m_serverName, "1988"); - - // 函数修改数据 => 还原数据 - serverConfigDialog.updataData(&config); - curConfig = serverConfigDialog.getData(); - EXPECT_EQ(curConfig.m_serverName, config.m_serverName); -} - -/******************************************************************************* - 1. @函数: resetCurServerTest - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-24 - 4. @说明: 尝试重新修改弹窗原数据 -*******************************************************************************/ -TEST_F(UT_ServerConfigOptDlg_Test, resetCurServerTest) -{ - // 初始化测试数据 - ServerConfig config; - config.m_serverName = "test_item"; - config.m_address = "127.0.0.1"; - config.m_userName = "dzw"; - config.m_port = "22"; - ServerConfig config2; - config2.m_serverName = "test_item2"; - config2.m_address = "127.0.0.1"; - config2.m_userName = "dzw"; - config2.m_port = "22"; - // 初始化弹窗 - ServerConfigOptDlg serverConfigDialog(ServerConfigOptDlg::SCT_MODIFY, &config); - - // 将数据传入弹窗,获取的指针和原数据指针应该一致 - ServerConfig *curConfig = serverConfigDialog.getCurServer(); - EXPECT_EQ(&config, curConfig); - - // 函数修改原数据 => 传入的临时数据不是指针,传入后被拷贝构造,所以还原后指针不一定相同 - // 只能对比数据是否还原 - serverConfigDialog.resetCurServer(&config2); - curConfig = serverConfigDialog.getCurServer(); - EXPECT_EQ(curConfig->m_serverName, config2.m_serverName); -} - -/******************************************************************************* - 1. @函数: lambda - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-24 - 4. @说明: 测试lambda表达式 -*******************************************************************************/ -TEST_F(UT_ServerConfigOptDlg_Test, lambda) -{ - // 初始化弹窗 - ServerConfigOptDlg serverConfigDialog(ServerConfigOptDlg::SCT_ADD, nullptr); - serverConfigDialog.show(); - - // 切换主题 - QSignalSpy signalpy1(DApplicationHelper::instance(), &DGuiApplicationHelper::themeTypeChanged); - EXPECT_TRUE(signalpy1.count() == 0); - - emit DApplicationHelper::instance()->themeTypeChanged(DApplicationHelper::DarkType); - emit DApplicationHelper::instance()->themeTypeChanged(DApplicationHelper::LightType); - signalpy1.wait(1000); - EXPECT_TRUE(signalpy1.count() == 2); -} -#endif diff --git a/tests/src/remotemanage/ut_serverconfigoptdlg_test.h b/tests/src/remotemanage/ut_serverconfigoptdlg_test.h deleted file mode 100644 index e0a1c3aff..000000000 --- a/tests/src/remotemanage/ut_serverconfigoptdlg_test.h +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_SERVERCONFIGOPTDLG_TEST_H -#define UT_SERVERCONFIGOPTDLG_TEST_H - -#include "ut_defines.h" - -#include - -class UT_ServerConfigOptDlg_Test : public ::testing::Test -{ -public: - UT_ServerConfigOptDlg_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); -}; - -#endif // UT_SERVERCONFIGOPTDLG_TEST_H diff --git a/tests/src/settings/ut_newdspinbox_test.cpp b/tests/src/settings/ut_newdspinbox_test.cpp deleted file mode 100644 index 431eefd0b..000000000 --- a/tests/src/settings/ut_newdspinbox_test.cpp +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_newdspinbox_test.h" -#include "ut_stub_defines.h" - -//dtk -#include - -//Qt单元测试相关头文件 -#include -#include -#include -#include - -DCORE_USE_NAMESPACE - -UT_NewDSpinBox_Test::UT_NewDSpinBox_Test() -{ -} - -void UT_NewDSpinBox_Test::SetUp() -{ -} - -void UT_NewDSpinBox_Test::TearDown() -{ -} - -#ifdef UT_NEWDSPINBOX_TEST - -TEST_F(UT_NewDSpinBox_Test, WheelEvent_Increase) -{ - UT_STUB_QWIDGET_HASFOCUS_CREATE; - NewDspinBox *spinBox = new NewDspinBox; - spinBox->setValue(20); - - QWheelEvent event(QPointF(63, 29), 120, Qt::NoButton, Qt::NoModifier); - QApplication::sendEvent(spinBox, &event); - - EXPECT_TRUE(spinBox->value() == 21); - spinBox->deleteLater(); -} - -TEST_F(UT_NewDSpinBox_Test, WheelEvent_Reduce) -{ - UT_STUB_QWIDGET_HASFOCUS_CREATE; - NewDspinBox *spinBox = new NewDspinBox; - spinBox->setValue(20); - - QWheelEvent event(QPointF(63, 29), -120, Qt::NoButton, Qt::NoModifier); - QApplication::sendEvent(spinBox, &event); - EXPECT_TRUE(spinBox->value() == 19); - spinBox->deleteLater(); -} - -TEST_F(UT_NewDSpinBox_Test, eventFilter_Key_Up) -{ - UT_STUB_QWIDGET_HASFOCUS_CREATE; - NewDspinBox *spinBox = new NewDspinBox; - spinBox->setValue(20); - QKeyEvent event(QEvent::KeyPress, Qt::Key_Up, Qt::NoModifier, QString("")); - QApplication::sendEvent(spinBox, &event); - EXPECT_TRUE(spinBox->value() == 21); - spinBox->deleteLater(); -} - -TEST_F(UT_NewDSpinBox_Test, eventFilter_Key_Down) -{ - UT_STUB_QWIDGET_HASFOCUS_CREATE; - NewDspinBox *spinBox = new NewDspinBox; - spinBox->setValue(20); - QKeyEvent event(QEvent::KeyPress, Qt::Key_Down, Qt::NoModifier, QString("")); - QApplication::sendEvent(spinBox, &event); - EXPECT_TRUE(spinBox->value() == 19); - spinBox->deleteLater(); -} - -#endif diff --git a/tests/src/settings/ut_newdspinbox_test.h b/tests/src/settings/ut_newdspinbox_test.h deleted file mode 100644 index 3faeaa96a..000000000 --- a/tests/src/settings/ut_newdspinbox_test.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_NEWDSPINBOX_TEST_H -#define UT_NEWDSPINBOX_TEST_H - -#include "ut_defines.h" -#include "utils.h" -#include "newdspinbox.h" - -#include - -class UT_NewDSpinBox_Test : public ::testing::Test -{ -public: - UT_NewDSpinBox_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); -}; - -#endif // UT_NEWDSPINBOX_TEST_H - diff --git a/tests/src/settings/ut_settings_test.cpp b/tests/src/settings/ut_settings_test.cpp deleted file mode 100644 index c7b248686..000000000 --- a/tests/src/settings/ut_settings_test.cpp +++ /dev/null @@ -1,230 +0,0 @@ -// Copyright (C) 2019 ~ 2023 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_defines.h" -#include "settings.h" -#include "../stub.h" -#include "ut_stub_defines.h" -#include "dbusmanager.h" - -//dtk -#include -#include - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include -#include - -//google test -#include - -DCORE_USE_NAMESPACE - -extern void GenerateSettingTranslate(); - - -class UT_Settings_Test : public ::testing::Test -{ -public: - UT_Settings_Test() {} - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp() {} - - //用于做一些清理操作 - virtual void TearDown() {} -}; - -static bool ut_file_exists() -{ - return false; -} - -static int ut_combobox_findText(const QString &, Qt::MatchFlags) -{ - return -1; -} - -static int ut_stringlist_size() -{ - return 0; -} - -static QString ut_variant_toString() -{ - return QString(); -} - -static void doDeleteLater(DSettingsOption *obj) -{ - obj->deleteLater(); -} - -#ifdef UT_SETTINGS_TEST - -TEST_F(UT_Settings_Test, SettingsTest) -{ - //测试场景:读取的settings的值 -// Settings::instance()->bSwitchTheme = true; - - UT_STUB_DSETTINGSOPTION_VALUE_CREATE; - Settings::instance()->opacity(); - EXPECT_TRUE(UT_STUB_DSETTINGSOPTION_VALUE_RESULT); - - UT_STUB_DSETTINGSOPTION_VALUE_PREPARE; - Settings::instance()->fontName(); - EXPECT_TRUE(UT_STUB_DSETTINGSOPTION_VALUE_RESULT); - - UT_STUB_DSETTINGSOPTION_VALUE_PREPARE; - Settings::instance()->fontSize(); - EXPECT_TRUE(UT_STUB_DSETTINGSOPTION_VALUE_RESULT); - - EXPECT_TRUE(Settings::instance()->encoding() == Settings::instance()->m_EncodeName); - - UT_STUB_DSETTINGSOPTION_VALUE_PREPARE; - Settings::instance()->cursorShape(); - EXPECT_TRUE(UT_STUB_DSETTINGSOPTION_VALUE_RESULT); - - UT_STUB_DSETTINGSOPTION_VALUE_PREPARE; - Settings::instance()->cursorBlink(); - EXPECT_TRUE(UT_STUB_DSETTINGSOPTION_VALUE_RESULT); - - UT_STUB_DSETTINGSOPTION_VALUE_PREPARE; - Settings::instance()->backgroundBlur(); - EXPECT_TRUE(UT_STUB_DSETTINGSOPTION_VALUE_RESULT); - - UT_STUB_DSETTINGSOPTION_VALUE_PREPARE; - Settings::instance()->colorScheme(); - EXPECT_TRUE(UT_STUB_DSETTINGSOPTION_VALUE_RESULT); - - UT_STUB_DSETTINGSOPTION_VALUE_PREPARE; - Settings::instance()->PressingScroll(); - EXPECT_TRUE(UT_STUB_DSETTINGSOPTION_VALUE_RESULT); - - UT_STUB_DSETTINGSOPTION_VALUE_PREPARE; - Settings::instance()->OutputtingScroll(); - EXPECT_TRUE(UT_STUB_DSETTINGSOPTION_VALUE_RESULT); -} - -TEST_F(UT_Settings_Test, GenerateSettingTranslate) -{ - UT_STUB_QTRANSLATE_TRANSLATE_CREATE; - GenerateSettingTranslate(); - EXPECT_TRUE(UT_STUB_QTRANSLATE_TRANSLATE_RESULT); -} - -TEST_F(UT_Settings_Test, createSpinButtonHandle) -{ - DSettingsOption option; - option.setData("min", QVariant(10)); - option.setData("max", QVariant(90)); - QPair pair = Settings::instance()->createSpinButtonHandle(&option); - EXPECT_TRUE(pair.second); -} - -TEST_F(UT_Settings_Test, createCustomSliderHandle) -{ - DSettingsOption option; - option.setData("min", QVariant(0)); - option.setData("max", QVariant(100)); - QPair pair = Settings::instance()->createCustomSliderHandle(&option); - EXPECT_TRUE(pair.second); -} - -TEST_F(UT_Settings_Test, createFontComBoBoxHandle) -{ - Stub stub; - stub.set((int (QStringList::*)() const)ADDR(QStringList, size), ut_stringlist_size); - UT_STUB_QDBUS_CALL_APPEND; - - DSettingsOption option; - QPair pair = Settings::instance()->createFontComBoBoxHandle(&option); - EXPECT_TRUE(pair.second); -} - -TEST_F(UT_Settings_Test, createShortcutEditOptionHandle) -{ - DSettingsOption option; - option.setValue(QVariant("Ctrl+Shift+A")); - QPair pair = Settings::instance()->createShortcutEditOptionHandle(&option); - ASSERT_TRUE(pair.second); - DKeySequenceEdit *w = qobject_cast(pair.second); - ASSERT_TRUE(w); - - QSignalSpy spy(w, &DKeySequenceEdit::editingFinished); - EXPECT_TRUE(spy.count() == 0); - - emit w->editingFinished(QKeySequence("Backspace")); - emit w->editingFinished(QKeySequence("Esc")); - emit w->editingFinished(QKeySequence("F4")); - emit w->editingFinished(QKeySequence("")); - - spy.wait(1000); - EXPECT_TRUE(spy.count() == 4); -} - -TEST_F(UT_Settings_Test, createShellConfigComboxOptionHandle) -{ - Stub stub; - stub.set((bool (QFile::*)() const)ADDR(QFile, exists), ut_file_exists); - - QSharedPointer option(new DSettingsOption, doDeleteLater); - option->setValue(QVariant("Ctrl+Shift+A")); - DComboBox *w = qobject_cast(Settings::instance()->createShellConfigComboxOptionHandle(option.data()).second); - ASSERT_TRUE(w); - - QSignalSpy spy(option.get(), &DSettingsOption::valueChanged); - EXPECT_TRUE(spy.count() == 0); - const QString DEFAULT_SHELL = "$SHELL"; - emit option->valueChanged(DEFAULT_SHELL); - emit option->valueChanged("sh"); - spy.wait(1000); - EXPECT_TRUE(spy.count() == 2); - - QSignalSpy spy2(w, &DComboBox::currentTextChanged); - EXPECT_TRUE(spy2.count() == 0); - emit w->currentTextChanged("zsh"); - spy2.wait(1000); - EXPECT_TRUE(spy2.count() >= 1); -} - -TEST_F(UT_Settings_Test, loadDefaultsWhenReinstall) -{ - UT_STUB_QDIR_EXISTS_CREATE; - Settings::instance()->loadDefaultsWhenReinstall(); - //会触发dir exists函数 - EXPECT_TRUE(UT_STUB_QDIR_EXISTS_RESULT); - - QSignalSpy spy(Settings::instance()->settings, &DSettings::valueChanged); - EXPECT_TRUE(spy.count() == 0); - emit Settings::instance()->settings->valueChanged("", ""); - spy.wait(1000); - EXPECT_TRUE(spy.count() == 1); -} - -static FontDataList ut_DBusManager_callAppearanceFont(QString) -{ - return FontDataList().appendValues({"Courier 10 Pitch", "DejaVu Sans Mono", "Hack", "Liberation Mono", "Linux Libertine Mono O", "Nimbus Mono L", "Nimbus Mono PS", "Noto Mono", "Noto Sans Mono", "Noto Sans Mono CJK JP", "Noto Sans Mono CJK KR", "Noto Sans Mono CJK SC", "Noto Sans Mono CJK TC", "等距更纱黑体 SC", "文泉驿等宽微米黑"}); -} - -TEST_F(UT_Settings_Test, handleWidthFont) -{ - Stub stub; - stub.set((int (QComboBox::*)(const QString &, Qt::MatchFlags) const)ADDR(DComboBox, findText), ut_combobox_findText); - - //获取等宽字体 - Settings::instance()->handleWidthFont(); - EXPECT_TRUE(Settings::instance()->comboBox->count() > 0); -} - - -#endif diff --git a/tests/src/settings/ut_shortcutmanager_test.cpp b/tests/src/settings/ut_shortcutmanager_test.cpp deleted file mode 100644 index 9b1c3fce1..000000000 --- a/tests/src/settings/ut_shortcutmanager_test.cpp +++ /dev/null @@ -1,136 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_shortcutmanager_test.h" -#include "service.h" -#include "shortcutmanager.h" -#include "../stub.h" - -//dtk -#include - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include - -DCORE_USE_NAMESPACE - -UT_ShortcutManager_Test::UT_ShortcutManager_Test() - : m_shortcutManager(nullptr) - , newAction(nullptr) -{ -} - -void UT_ShortcutManager_Test::SetUp() -{ - - //Service中默认已经初始化了ShortcutManager - if (!Service::instance()->property("isServiceInit").toBool()) { - Service::instance()->setProperty("isServiceInit", true); - } - - m_shortcutManager = ShortcutManager::instance(); - - QString key = QString(QChar('A')); - QString shortcutKey = QString("Ctrl+Shift+%1").arg(key); - QString cmdName = QString("cmd_001"); - newAction = new QAction; - newAction->setText(cmdName); - newAction->setShortcut(QKeySequence(shortcutKey)); -} - -void UT_ShortcutManager_Test::TearDown() -{ - delete newAction; -} - -#ifdef UT_SHORTCUTMANAGER_TEST - -TEST_F(UT_ShortcutManager_Test, getCustomCommandActionList) -{ - EXPECT_TRUE(m_shortcutManager->m_customCommandActionList == - m_shortcutManager->getCustomCommandActionList()); -} - - -TEST_F(UT_ShortcutManager_Test, addCustomCommand) -{ - m_shortcutManager->addCustomCommand(*newAction); - EXPECT_TRUE(m_shortcutManager->findActionByKey(newAction->text())); -} - -TEST_F(UT_ShortcutManager_Test, checkActionIsExist) -{ - if(!m_shortcutManager->findActionByKey(newAction->text())) - m_shortcutManager->addCustomCommand(*newAction); - EXPECT_TRUE(m_shortcutManager->checkActionIsExist(*newAction)); -} - - -TEST_F(UT_ShortcutManager_Test, checkActionIsExistForModify) -{ - if(!m_shortcutManager->findActionByKey(newAction->text())) - m_shortcutManager->addCustomCommand(*newAction); - EXPECT_TRUE(m_shortcutManager->checkActionIsExistForModify(*newAction)); -} - -TEST_F(UT_ShortcutManager_Test, findActionByKey) -{ - if(!m_shortcutManager->findActionByKey(newAction->text())) - m_shortcutManager->addCustomCommand(*newAction); - EXPECT_TRUE(m_shortcutManager->findActionByKey(newAction->text())); -} - - -TEST_F(UT_ShortcutManager_Test, isShortcutConflictInCustom) -{ - if(!m_shortcutManager->findActionByKey(newAction->text())) - m_shortcutManager->addCustomCommand(*newAction); - - //名字不相同,快捷键相同,会返回true:快捷键冲突 - EXPECT_TRUE(m_shortcutManager->isShortcutConflictInCustom(newAction->text() + "1", newAction->shortcut().toString())); -} - -bool stub_checkShortcutValid(const QString &Name, const QString &Key, QString &Reason) -{ - Q_UNUSED(Name) - Q_UNUSED(Key) - Q_UNUSED(Reason) - return false; -} - -bool stub_showShortcutConflictMsgbox(QString txt) -{ - Q_UNUSED(txt) - return true; -} - -TEST_F(UT_ShortcutManager_Test, isValidShortcut) -{ - Stub s; - s.set(ADDR(ShortcutManager, checkShortcutValid), stub_checkShortcutValid); - s.set(ADDR(Utils, showShortcutConflictMsgbox), stub_showShortcutConflictMsgbox); - - QString newCmdName = QString("cmd_new_%1").arg(Utils::getRandString()); - QString forCheckShortcutKey = QString("Ctrl+Alt+Shift+Tab+T"); - bool isValid = m_shortcutManager->isValidShortcut(newCmdName, forCheckShortcutKey); - //重复快捷键,无效 - EXPECT_TRUE(isValid == false); -} - -TEST_F(UT_ShortcutManager_Test, checkShortcutValid) -{ - if(!m_shortcutManager->findActionByKey(newAction->text())) - m_shortcutManager->addCustomCommand(*newAction); - //会冲突 - QString reason; - bool isValid = m_shortcutManager->checkShortcutValid(newAction->text(), newAction->shortcut().toString(), reason); - EXPECT_TRUE(isValid == false); -} - -#endif diff --git a/tests/src/settings/ut_shortcutmanager_test.h b/tests/src/settings/ut_shortcutmanager_test.h deleted file mode 100644 index a6efa7784..000000000 --- a/tests/src/settings/ut_shortcutmanager_test.h +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_SHORTCUTMANAGER_TEST_H -#define UT_SHORTCUTMANAGER_TEST_H - -#include "ut_defines.h" - -#include - -class QAction; -class ShortcutManager; -class UT_ShortcutManager_Test : public ::testing::Test -{ -public: - UT_ShortcutManager_Test(); - -public: - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - -private: - ShortcutManager *m_shortcutManager; - QAction *newAction; -}; - -#endif // UT_SHORTCUTMANAGER_TEST_H - diff --git a/tests/src/stub.h b/tests/src/stub.h deleted file mode 100644 index d5ce4d268..000000000 --- a/tests/src/stub.h +++ /dev/null @@ -1,295 +0,0 @@ -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef __STUB_H__ -#define __STUB_H__ - - -#ifdef _WIN32 -//windows -#include -#include -#else -//linux -#include -#include -#include -#endif -//c -#include -#include -//c++ -#include - - -#define ADDR(CLASS_NAME,MEMBER_NAME) (&CLASS_NAME::MEMBER_NAME) - -/********************************************************** - replace function -**********************************************************/ -#ifdef _WIN32 -#define CACHEFLUSH(addr, size) FlushInstructionCache(GetCurrentProcess(), addr, size) -#else -#define CACHEFLUSH(addr, size) __builtin___clear_cache(addr, addr + size) -#endif - -#if defined(__aarch64__) || defined(_M_ARM64) - #define CODESIZE 16U - #define CODESIZE_MIN 16U - #define CODESIZE_MAX CODESIZE - // ldr x9, +8 - // br x9 - // addr - #define REPLACE_FAR(t, fn, fn_stub)\ - ((uint32_t*)fn)[0] = 0x58000040 | 9;\ - ((uint32_t*)fn)[1] = 0xd61f0120 | (9 << 5);\ - *(long long *)(fn + 8) = (long long )fn_stub;\ - CACHEFLUSH((char *)fn, CODESIZE); - #define REPLACE_NEAR(t, fn, fn_stub) REPLACE_FAR(t, fn, fn_stub) -#elif defined(__arm__) || defined(_M_ARM) - #define CODESIZE 8U - #define CODESIZE_MIN 8U - #define CODESIZE_MAX CODESIZE - // ldr pc, [pc, #-4] - #define REPLACE_FAR(t, fn, fn_stub)\ - ((uint32_t*)fn)[0] = 0xe51ff004;\ - ((uint32_t*)fn)[1] = (uint32_t)fn_stub;\ - CACHEFLUSH((char *)fn, CODESIZE); - #define REPLACE_NEAR(t, fn, fn_stub) REPLACE_FAR(t, fn, fn_stub) -#elif defined(__thumb__) || defined(_M_THUMB) - #error "Thumb is not supported" -#else //__i386__ _x86_64__ - #define CODESIZE 13U - #define CODESIZE_MIN 5U - #define CODESIZE_MAX CODESIZE - //13 byte(jmp m16:64) - //movabs $0x102030405060708,%r11 - //jmpq *%r11 - #define REPLACE_FAR(t, fn, fn_stub)\ - *fn = 0x49;\ - *(fn + 1) = 0xbb;\ - *(long long *)(fn + 2) = (long long)fn_stub;\ - *(fn + 10) = 0x41;\ - *(fn + 11) = 0xff;\ - *(fn + 12) = 0xe3;\ - //CACHEFLUSH((char *)fn, CODESIZE); - - //5 byte(jmp rel32) - #define REPLACE_NEAR(t, fn, fn_stub)\ - *fn = 0xE9;\ - *(int *)(fn + 1) = (int)(fn_stub - fn - CODESIZE_MIN);\ - //CACHEFLUSH((char *)fn, CODESIZE); -#endif - -struct func_stub -{ - char *fn; - unsigned char code_buf[CODESIZE]; - bool far_jmp; -}; - -class Stub -{ -public: - Stub() - { -#ifdef _WIN32 - SYSTEM_INFO sys_info; - GetSystemInfo(&sys_info); - m_pagesize = sys_info.dwPageSize; -#else - m_pagesize = sysconf(_SC_PAGE_SIZE); -#endif - - if (m_pagesize < 0) - { - m_pagesize = 4096; - } - } - ~Stub() - { - std::map::iterator iter; - struct func_stub *pstub; - for(iter=m_result.begin(); iter != m_result.end(); iter++) - { - pstub = iter->second; -#ifdef _WIN32 - DWORD lpflOldProtect; - if(0 != VirtualProtect(pageof(pstub->fn), m_pagesize * 2, PAGE_EXECUTE_READWRITE, &lpflOldProtect)) -#else - if (0 == mprotect(pageof(pstub->fn), m_pagesize * 2, PROT_READ | PROT_WRITE | PROT_EXEC)) -#endif - { - - if(pstub->far_jmp) - { - std::memcpy(pstub->fn, pstub->code_buf, CODESIZE_MAX); - } - else - { - std::memcpy(pstub->fn, pstub->code_buf, CODESIZE_MIN); - } - -#ifdef _WIN32 - VirtualProtect(pageof(pstub->fn), m_pagesize * 2, PAGE_EXECUTE_READ, &lpflOldProtect); -#else - mprotect(pageof(pstub->fn), m_pagesize * 2, PROT_READ | PROT_EXEC); -#endif - } - - iter->second = NULL; - delete pstub; - } - - return; - } - template - void set(T addr, S addr_stub) - { - char * fn; - char * fn_stub; - fn = addrof(addr); - fn_stub = addrof(addr_stub); - struct func_stub *pstub; - pstub = new func_stub; - //start - pstub->fn = fn; - - if(distanceof(fn, fn_stub)) - { - pstub->far_jmp = true; - std::memcpy(pstub->code_buf, fn, CODESIZE_MAX); - } - else - { - pstub->far_jmp = false; - std::memcpy(pstub->code_buf, fn, CODESIZE_MIN); - } - -#ifdef _WIN32 - DWORD lpflOldProtect; - if(0 == VirtualProtect(pageof(pstub->fn), m_pagesize * 2, PAGE_EXECUTE_READWRITE, &lpflOldProtect)) -#else - if (-1 == mprotect(pageof(pstub->fn), m_pagesize * 2, PROT_READ | PROT_WRITE | PROT_EXEC)) -#endif - { - throw("stub set memory protect to w+r+x faild"); - } - - if(pstub->far_jmp) - { - REPLACE_FAR(this, fn, fn_stub); - } - else - { - REPLACE_NEAR(this, fn, fn_stub); - } - - -#ifdef _WIN32 - if(0 == VirtualProtect(pageof(pstub->fn), m_pagesize * 2, PAGE_EXECUTE_READ, &lpflOldProtect)) -#else - if (-1 == mprotect(pageof(pstub->fn), m_pagesize * 2, PROT_READ | PROT_EXEC)) -#endif - { - throw("stub set memory protect to r+x failed"); - } - m_result.insert(std::pair(fn,pstub)); - return; - } - - template - void reset(T addr) - { - char * fn; - fn = addrof(addr); - - std::map::iterator iter = m_result.find(fn); - - if (iter == m_result.end()) - { - return; - } - struct func_stub *pstub; - pstub = iter->second; - -#ifdef _WIN32 - DWORD lpflOldProtect; - if(0 == VirtualProtect(pageof(pstub->fn), m_pagesize * 2, PAGE_EXECUTE_READWRITE, &lpflOldProtect)) -#else - if (-1 == mprotect(pageof(pstub->fn), m_pagesize * 2, PROT_READ | PROT_WRITE | PROT_EXEC)) -#endif - { - throw("stub reset memory protect to w+r+x faild"); - } - - if(pstub->far_jmp) - { - std::memcpy(pstub->fn, pstub->code_buf, CODESIZE_MAX); - } - else - { - std::memcpy(pstub->fn, pstub->code_buf, CODESIZE_MIN); - } - - -#ifdef _WIN32 - if(0 == VirtualProtect(pageof(pstub->fn), m_pagesize * 2, PAGE_EXECUTE_READ, &lpflOldProtect)) -#else - if (-1 == mprotect(pageof(pstub->fn), m_pagesize * 2, PROT_READ | PROT_EXEC)) -#endif - { - throw("stub reset memory protect to r+x failed"); - } - m_result.erase(iter); - delete pstub; - - return; - } -private: - char *pageof(char* addr) - { -#ifdef _WIN32 - return (char *)((unsigned long long)addr & ~(m_pagesize - 1)); -#else - return (char *)((unsigned long)addr & ~(m_pagesize - 1)); -#endif - } - - template - char* addrof(T addr) - { - union - { - T _s; - char* _d; - }ut; - ut._s = addr; - return ut._d; - } - - bool distanceof(char* addr, char* addr_stub) - { - std::ptrdiff_t diff = addr_stub >= addr ? addr_stub - addr : addr - addr_stub; - if((sizeof(addr) > 4) && (((diff >> 31) - 1) > 0)) - { - return true; - } - return false; - } - -private: -#ifdef _WIN32 - //LLP64 - long long m_pagesize; -#else - //LP64 - long m_pagesize; -#endif - std::map m_result; - -}; - - -#endif diff --git a/tests/src/views/ut_customthemesettingdialog_test.cpp b/tests/src/views/ut_customthemesettingdialog_test.cpp deleted file mode 100644 index 9a83cb8a3..000000000 --- a/tests/src/views/ut_customthemesettingdialog_test.cpp +++ /dev/null @@ -1,357 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_customthemesettingdialog_test.h" -#include "customthemesettingdialog.h" -#include "../stub.h" -#include "settings.h" -#include "ut_stub_defines.h" - -// DTK -#include -#include -#include - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -DWIDGET_USE_NAMESPACE - -class UT_TitleStyleRadioButton_Test : public ::testing::Test -{ -public: - UT_TitleStyleRadioButton_Test(); - virtual void SetUp(); - virtual void TearDown(); -}; - - -UT_TitleStyleRadioButton_Test::UT_TitleStyleRadioButton_Test() -{ - -} -void UT_TitleStyleRadioButton_Test::SetUp() -{ -} - -void UT_TitleStyleRadioButton_Test::TearDown() -{ -} - -#ifdef UT_TITLE_STYLE_RADIOBUTTON_TEST - -TEST_F(UT_TitleStyleRadioButton_Test, keyPressEvent) -{ - TitleStyleRadioButton button("button"); - QTest::keyEvent(QTest::Click, button.window(), Qt::Key_Return); - //会选中按钮 - EXPECT_TRUE(button.isChecked()); -} - -#endif - - -class UT_ColorPushButton_Test : public ::testing::Test -{ -public: - UT_ColorPushButton_Test(); - virtual void SetUp(); - virtual void TearDown(); -}; - -UT_ColorPushButton_Test::UT_ColorPushButton_Test() -{ -} - -void UT_ColorPushButton_Test::SetUp() -{ -} - -void UT_ColorPushButton_Test::TearDown() -{ -} - -#ifdef UT_COLOR_PUSHBUTTON_TEST - -TEST_F(UT_ColorPushButton_Test, paintEvent) -{ - ColorPushButton colorPushBtn; - //触发paitevent函数 - EXPECT_TRUE(colorPushBtn.grab().isNull() == false); - - colorPushBtn.m_isFocus = true; - EXPECT_TRUE(colorPushBtn.grab().isNull() == false); -} - -/******************************************************************************* - 1. @函数: focusEvent - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-25 - 4. @说明: 测试焦点事件 -*******************************************************************************/ -TEST_F(UT_ColorPushButton_Test, focusEvent) -{ - // 初始化button - ColorPushButton colorPushBtn; - colorPushBtn.show(); - - // 焦点进入 - QFocusEvent focusIn(QEvent::FocusIn, Qt::TabFocusReason); - colorPushBtn.focusInEvent(&focusIn); - EXPECT_TRUE(colorPushBtn.m_isFocus); - - QFocusEvent focusIn1(QEvent::FocusIn, Qt::ActiveWindowFocusReason); - colorPushBtn.m_isFocus = true; - colorPushBtn.focusInEvent(&focusIn1); - EXPECT_TRUE(colorPushBtn.m_isFocus); - - // 焦点出 - QFocusEvent focusOut(QEvent::FocusOut, Qt::TabFocusReason); - colorPushBtn.focusOutEvent(&focusOut); - EXPECT_TRUE(colorPushBtn.m_isFocus == false); -} - -TEST_F(UT_ColorPushButton_Test, keyPressEvent) -{ - ColorPushButton button; - QTest::keyEvent(QTest::Click, button.window(), Qt::Key_Return); - //会更新焦点 - EXPECT_TRUE(button.m_isFocus); -} - -TEST_F(UT_ColorPushButton_Test, mousePressEvent) -{ - ColorPushButton button; - QSignalSpy signalpy(&button, &ColorPushButton::clearFocussSignal); - EXPECT_TRUE(signalpy.count() == 0); - QTest::mouseClick(button.window(), Qt::RightButton); - //会emit clearFocussSignal - EXPECT_TRUE(signalpy.count() == 1); -} -#endif - -UT_CustomThemeSettingDialog_Test::UT_CustomThemeSettingDialog_Test() -{ -} - -void UT_CustomThemeSettingDialog_Test::SetUp() -{ - dialog = new CustomThemeSettingDialog; -} - -void UT_CustomThemeSettingDialog_Test::TearDown() -{ - delete dialog; -} - -static void ut_colorDialog_setOptions(DColorDialog::ColorDialogOptions ) -{ - -} - -static void ut_colorDialog_setCurrentColor(const QColor &) -{ -} - -static QColor ut_colorDialog_selectedColor() -{ - return QColor("black"); -} - -static void ut_colorDialog_setWindowTitle(const QString &) -{ -} - -#ifdef UT_CUSTOMTHEMESETTINGDIALOG_TEST -/******************************************************************************* - 1. @函数: CustomThemeSettingDialog - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-25 - 4. @说明: 自定义主题设置弹窗初始化 -*******************************************************************************/ -TEST_F(UT_CustomThemeSettingDialog_Test, CustomThemeSettingDialog) -{ - // 标签有值 - EXPECT_EQ(dialog->m_titleText->text().isEmpty(), false); - - // 主题变化 => 弹窗字体颜色变化 - QSignalSpy signalpy(DApplicationHelper::instance(), &DGuiApplicationHelper::themeTypeChanged); - EXPECT_TRUE(signalpy.count() == 0); - - emit DApplicationHelper::instance()->themeTypeChanged(DApplicationHelper::DarkType); - emit DApplicationHelper::instance()->themeTypeChanged(DApplicationHelper::LightType); - signalpy.wait(1000); - EXPECT_TRUE(signalpy.count() == 2); - -} - -/******************************************************************************* - 1. @函数: resetFocusState - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-25 - 4. @说明: 测试reset后的焦点状态 -*******************************************************************************/ -TEST_F(UT_CustomThemeSettingDialog_Test, resetFocusState) -{ - dialog->resetFocusState(); - EXPECT_EQ(dialog->m_darkRadioButton->focusPolicy(), Qt::TabFocus); -} - -TEST_F(UT_CustomThemeSettingDialog_Test, clearFocussSlot) -{ - dialog->clearFocussSlot(); - EXPECT_TRUE(dialog->m_foregroundButton->m_isFocus == false); - EXPECT_TRUE(dialog->m_backgroundButton->m_isFocus == false); - EXPECT_TRUE(dialog->m_ps1Button->m_isFocus == false); - EXPECT_TRUE(dialog->m_ps2Button->m_isFocus == false); -} - -QStringList ut_toStringList(){ - return QStringList() << "1" << "2"; -} - -/******************************************************************************* - 1. @函数: loadConfiguration - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-25 - 4. @说明: 加载主题配置文件 -*******************************************************************************/ -TEST_F(UT_CustomThemeSettingDialog_Test, loadConfiguration) -{ - // 自定义主题弹窗 - dialog->show(); - - // 最好能重新设置配置文件然后再加载调用的函数 - // 重新加载配置文件 - Stub stub; - stub.set(ADDR(QVariant,toStringList),ut_toStringList); - dialog->loadConfiguration(); - EXPECT_TRUE(dialog->m_lightRadioButton->isChecked() == - ("Light" == Settings::instance()->themeSetting->value("CustomTheme/TitleStyle"))); - EXPECT_TRUE(dialog->m_darkRadioButton->isChecked() == - ("Dark" == Settings::instance()->themeSetting->value("CustomTheme/TitleStyle"))); - - dialog->update(); - EXPECT_TRUE(dialog->grab().isNull() == false); -} - -/******************************************************************************* - 1. @函数: keyPressEvent - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-25 - 4. @说明: 键盘事件 -*******************************************************************************/ -TEST_F(UT_CustomThemeSettingDialog_Test, keyPressEvent) -{ - CustomThemeSettingDialog button; - QTest::keyEvent(QTest::Click, button.window(), Qt::Key_Escape); - //会退出窗口 - EXPECT_TRUE(button.result() == QDialog::Rejected); -} - -/******************************************************************************* - 1. @函数: showEvent - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-25 - 4. @说明: 显示事件 -*******************************************************************************/ -TEST_F(UT_CustomThemeSettingDialog_Test, showEvent) -{ - QShowEvent event; - dialog->showEvent(&event); - - EXPECT_TRUE(dialog->m_foregroundButton->m_isFocus == false); - EXPECT_TRUE(dialog->m_backgroundButton->m_isFocus == false); - EXPECT_TRUE(dialog->m_ps1Button->m_isFocus == false); - EXPECT_TRUE(dialog->m_ps2Button->m_isFocus == false); -} - -/******************************************************************************* - 1. @函数: click - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-25 - 4. @说明: 测试部分点击事件 -*******************************************************************************/ -TEST_F(UT_CustomThemeSettingDialog_Test, click) -{ - // 测试点击事件 - QTest::mouseClick(dialog->m_darkRadioButton, Qt::LeftButton, Qt::NoModifier); - // 鼠标事件中true,lambda表达式中将true改为false - EXPECT_EQ(dialog->m_darkRadioButton->m_mouseClick, false); - QTest::mouseClick(dialog->m_lightRadioButton, Qt::LeftButton, Qt::NoModifier); - // 鼠标事件中true,lambda表达式中将true改为false - EXPECT_EQ(dialog->m_darkRadioButton->m_mouseClick, false); - - { - QSignalSpy signalpy(dialog->m_cancelBtn, &DPushButton::clicked); - EXPECT_TRUE(signalpy.count() == 0); - QTest::mouseClick(dialog->m_cancelBtn, Qt::LeftButton, Qt::NoModifier); - signalpy.wait(1000); - EXPECT_TRUE(signalpy.count() == 1); - } - { - QSignalSpy signalpy(dialog->m_confirmBtn, &DPushButton::clicked); - EXPECT_TRUE(signalpy.count() == 0); - QTest::mouseClick(dialog->m_confirmBtn, Qt::LeftButton, Qt::NoModifier); - signalpy.wait(1000); - EXPECT_TRUE(signalpy.count() == 1); - } -} - -static int ut_QEventLoop_exec(QEventLoop::ProcessEventsFlags) -{ - return 1; -} - -//static int ut_QDialog_exec(void*) -//{ -// return 1; -//} - -static QColor ut_qcolordialog_selectedcolor() -{ - return QColor("black"); -} - -static QObject *ut_dialog_qobject_sender(void * p) -{ - CustomThemeSettingDialog *dialog = static_cast(p); - return dialog->m_backgroundButton; -} - - -TEST_F(UT_CustomThemeSettingDialog_Test, onSelectColor) -{ - //QColorDialog的exec打桩失败,改用QEventLoop的exec打桩 - Stub stub; - typedef int (*ut_QEventLoop_exec_ptr)(QEventLoop::ProcessEventsFlags); - ut_QEventLoop_exec_ptr ptr = (ut_QEventLoop_exec_ptr)(&QEventLoop::exec); - stub.set(ptr, ut_QEventLoop_exec); - - //QDialog的打桩这里无效,暂时注释 -// typedef int (*ut_QDialog_exec_ptr)(void*); -// ut_QDialog_exec_ptr dptr = (ut_QDialog_exec_ptr)(&QDialog::exec); -// stub.set(dptr, ut_QDialog_exec); - - stub.set(ADDR(QColorDialog, selectedColor), ut_qcolordialog_selectedcolor); - stub.set(ADDR(QObject, sender), ut_dialog_qobject_sender); - dialog->onSelectColor(); - //会更新按钮的 m_color - EXPECT_TRUE(dialog->m_backgroundButton->m_color == ut_qcolordialog_selectedcolor()); -} - -#endif diff --git a/tests/src/views/ut_customthemesettingdialog_test.h b/tests/src/views/ut_customthemesettingdialog_test.h deleted file mode 100644 index e2a7e5c86..000000000 --- a/tests/src/views/ut_customthemesettingdialog_test.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_CUSTOMTHEMESETTINGDIALOG_TEST_H -#define UT_CUSTOMTHEMESETTINGDIALOG_TEST_H - -#include "ut_defines.h" - -#include - -class CustomThemeSettingDialog; -class QObject; - - -class UT_CustomThemeSettingDialog_Test : public ::testing::Test -{ -public: - UT_CustomThemeSettingDialog_Test(); - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - -public: - QObject *ut_object_sender_foregroundButton(); - - - CustomThemeSettingDialog *dialog = nullptr; -}; - -#endif // UT_CUSTOMTHEMESETTINGDIALOG_TEST_H diff --git a/tests/src/views/ut_focusframe_test.cpp b/tests/src/views/ut_focusframe_test.cpp deleted file mode 100644 index ddfbac5c0..000000000 --- a/tests/src/views/ut_focusframe_test.cpp +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_focusframe_test.h" -#include "focusframe.h" - -//dtk -#include - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include - -DWIDGET_USE_NAMESPACE - -UT_FocusFrame_Test::UT_FocusFrame_Test() -{ -} - -void UT_FocusFrame_Test::SetUp() -{ -} - -void UT_FocusFrame_Test::TearDown() -{ -} - -#ifdef UT_FOCUSFRAME_TEST - -TEST_F(UT_FocusFrame_Test, paintEvent) -{ - FocusFrame frame; - frame.resize(50, 50); - frame.m_isFocus = true; - EXPECT_TRUE(frame.grab().isNull() == false); - -} - -TEST_F(UT_FocusFrame_Test, enterEvent) -{ - FocusFrame frame; - frame.resize(50, 50); - QEvent *event = new QEvent(QEvent::Enter); - frame.enterEvent(event); - delete event; - - EXPECT_TRUE(frame.m_isHover); -} - -TEST_F(UT_FocusFrame_Test, leaveEvent) -{ - FocusFrame frame; - frame.resize(50, 50); - QEvent *event = new QEvent(QEvent::Leave); - frame.leaveEvent(event); - delete event; - - EXPECT_TRUE(frame.m_isHover == false); -} - -TEST_F(UT_FocusFrame_Test, focusInEvent) -{ - FocusFrame frame; - frame.resize(50, 50); - QFocusEvent *event = new QFocusEvent(QEvent::FocusIn); - frame.focusInEvent(event); - delete event; - - EXPECT_TRUE(frame.m_isFocus); -} - -TEST_F(UT_FocusFrame_Test, focusOutEvent) -{ - FocusFrame frame; - frame.resize(50, 50); - QFocusEvent *event = new QFocusEvent(QEvent::FocusOut); - frame.focusOutEvent(event); - delete event; - - EXPECT_TRUE(frame.m_isFocus == false); -} - -#endif diff --git a/tests/src/views/ut_focusframe_test.h b/tests/src/views/ut_focusframe_test.h deleted file mode 100644 index 47aa111af..000000000 --- a/tests/src/views/ut_focusframe_test.h +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_FOCUSFRAME_TEST_H -#define UT_FOCUSFRAME_TEST_H - -#include "ut_defines.h" - -#include - -class UT_FocusFrame_Test : public ::testing::Test -{ -public: - UT_FocusFrame_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); -}; - -#endif // UT_FOCUSFRAME_TEST_H - diff --git a/tests/src/views/ut_iconbutton_test.cpp b/tests/src/views/ut_iconbutton_test.cpp deleted file mode 100644 index f5b334b5e..000000000 --- a/tests/src/views/ut_iconbutton_test.cpp +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_iconbutton_test.h" -#include "iconbutton.h" - -//dtk -#include - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include -#include -#include -#include -#include "private/qfilesystemwatcher_p.h" -#include "private/qfilesystemengine_p.h" - -DWIDGET_USE_NAMESPACE - -UT_IconButton_Test::UT_IconButton_Test() -{ -} - -void UT_IconButton_Test::SetUp() -{ -} - -void UT_IconButton_Test::TearDown() -{ -} - -#ifdef UT_ICONBUTTON_TEST -TEST_F(UT_IconButton_Test, IconButton) -{ - IconButton *iconButton = new IconButton(nullptr); - EXPECT_NE(iconButton, nullptr); - - delete iconButton; -} - -/******************************************************************************* - 1. @函数: keyPressEvent - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-08 - 4. @说明: 测试函数是否正确执行 -*******************************************************************************/ -TEST_F(UT_IconButton_Test, keyPressEvent) -{ - // 创建iconbutton - IconButton *iconButton = new IconButton(nullptr); - // 右键 - QKeyEvent keyRigth(QEvent::KeyPress, Qt::Key_Right, Qt::NoModifier); - iconButton->keyPressEvent(&keyRigth); - EXPECT_TRUE(keyRigth.isAccepted() == false); - // 上键 - QKeyEvent keyUp(QEvent::KeyPress, Qt::Key_Up, Qt::NoModifier); - iconButton->keyPressEvent(&keyUp); - EXPECT_TRUE(keyUp.isAccepted() == false); - // 下键 - QKeyEvent keyDown(QEvent::KeyPress, Qt::Key_Down, Qt::NoModifier); - iconButton->keyPressEvent(&keyDown); - EXPECT_TRUE(keyDown.isAccepted() == false); - // 左键,会发射信号PreFocus - QSignalSpy spy(iconButton, &IconButton::preFocus); - EXPECT_TRUE(spy.count() == 0); - QKeyEvent keyLeft(QEvent::KeyPress, Qt::Key_Left, Qt::NoModifier); - iconButton->keyPressEvent(&keyLeft); - EXPECT_TRUE(spy.count() == 1); - // 其他按键 - QKeyEvent keyOther(QEvent::KeyPress, Qt::Key_W, Qt::NoModifier); - iconButton->keyPressEvent(&keyOther); - EXPECT_TRUE(keyOther.key() == Qt::Key_W); - - delete iconButton; -} - -/******************************************************************************* - 1. @函数: focusOutEvent - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-08 - 4. @说明: 焦点切出 -*******************************************************************************/ -TEST_F(UT_IconButton_Test, focusOutEvent) -{ - // 创建iconbutton - IconButton *iconButton = new IconButton(nullptr); - iconButton->show(); - - // 丢失焦点 - QFocusEvent foucsOut(QEvent::FocusOut, Qt::TabFocusReason); - iconButton->focusOutEvent(&foucsOut); - EXPECT_EQ(iconButton->hasFocus(), false); - - delete iconButton; -} - -#endif diff --git a/tests/src/views/ut_iconbutton_test.h b/tests/src/views/ut_iconbutton_test.h deleted file mode 100644 index f65f02e0f..000000000 --- a/tests/src/views/ut_iconbutton_test.h +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_ICONBUTTON_TEST_H -#define UT_ICONBUTTON_TEST_H - -#include "ut_defines.h" - -#include - -class UT_IconButton_Test : public ::testing::Test -{ -public: - UT_IconButton_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); -}; - -#endif // UT_ICONBUTTON_TEST_H - diff --git a/tests/src/views/ut_itemwidget_test.cpp b/tests/src/views/ut_itemwidget_test.cpp deleted file mode 100644 index 32a6e34fd..000000000 --- a/tests/src/views/ut_itemwidget_test.cpp +++ /dev/null @@ -1,365 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_itemwidget_test.h" -#include "itemwidget.h" -#include "ut_stub_defines.h" - -//Google GTest 相关头文件 -#include - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include -#include - -DWIDGET_USE_NAMESPACE - -UT_ItemWidget_Test::UT_ItemWidget_Test() -{ -} - -void UT_ItemWidget_Test::SetUp() -{ -} - -void UT_ItemWidget_Test::TearDown() -{ -} - -#ifdef UT_ITEMWIDGET_TEST - -TEST_F(UT_ItemWidget_Test, setIcon) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - itemWidget->setIcon("deepin-terminal"); - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, setFuncIcon) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - itemWidget->setFuncIcon(ItemFuncType::ItemFuncType_Group); - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, setText) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - QString firstText = "name"; - QString secondText = "content"; - itemWidget->setText(firstText, secondText); - - EXPECT_EQ(itemWidget->m_firstText, firstText); - EXPECT_EQ(itemWidget->m_secondText, secondText); - - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, isEqual) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - QString firstText = "isEqual"; - itemWidget->setText(firstText); - - bool isEqual = itemWidget->isEqual(ItemFuncType_Item, firstText); - EXPECT_EQ(isEqual, true); - - isEqual = itemWidget->isEqual(ItemFuncType_Group, firstText); - EXPECT_EQ(isEqual, false); - - firstText = "NotEqual"; - isEqual = itemWidget->isEqual(ItemFuncType_Group, firstText); - EXPECT_EQ(isEqual, false); - - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, getFocus) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - itemWidget->getFocus(); - - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, lostFocus) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - itemWidget->lostFocus(); - - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, setFont) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - itemWidget->setFont(itemWidget->m_firstline, DFontSizeManager::T7, ItemTextColor_Text); - EXPECT_EQ(itemWidget->m_firstline->font().pixelSize(), DFontSizeManager::instance()->fontPixelSize(DFontSizeManager::T7)); - - itemWidget->setFont(itemWidget->m_secondline, DFontSizeManager::T8, ItemTextColor_TextTips); - EXPECT_EQ(itemWidget->m_secondline->font().pixelSize(), DFontSizeManager::instance()->fontPixelSize(DFontSizeManager::T8)); - - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, setFontSize) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - itemWidget->setFontSize(itemWidget->m_firstline, DFontSizeManager::T6); - EXPECT_EQ(itemWidget->m_firstline->font().pixelSize(), DFontSizeManager::instance()->fontPixelSize(DFontSizeManager::T6)); - - itemWidget->setFontSize(itemWidget->m_secondline, DFontSizeManager::T9); - EXPECT_EQ(itemWidget->m_secondline->font().pixelSize(), DFontSizeManager::instance()->fontPixelSize(DFontSizeManager::T9)); - - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, setFontColor) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - itemWidget->setFontColor(itemWidget->m_firstline, ItemTextColor::ItemTextColor_Text); - DPalette firstPalette = DApplicationHelper::instance()->palette(itemWidget->m_firstline); - EXPECT_EQ(firstPalette.color(DPalette::Text), itemWidget->getColor(ItemTextColor::ItemTextColor_Text)); - - itemWidget->setFontColor(itemWidget->m_secondline, ItemTextColor::ItemTextColor_TextTips); - DPalette secondPalette = DApplicationHelper::instance()->palette(itemWidget->m_secondline); - EXPECT_EQ(secondPalette.color(DPalette::Text), itemWidget->getColor(ItemTextColor::ItemTextColor_TextTips)); - - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, getColor) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, onFuncButtonClicked) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - itemWidget->onFuncButtonClicked(); - - QObject *moveSource = new QObject(); - itemWidget->m_moveSource = moveSource; - itemWidget->onFuncButtonClicked(); - - itemWidget->m_functType = ItemFuncType_Item; - itemWidget->onFuncButtonClicked(); - - delete moveSource; - itemWidget->m_moveSource = nullptr; - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, slotThemeChange) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - itemWidget->slotThemeChange(DApplicationHelper::LightType); - - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, onIconButtonClicked) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - itemWidget->onIconButtonClicked(); - - QObject *moveSource = new QObject(); - itemWidget->m_moveSource = moveSource; - itemWidget->onIconButtonClicked(); - - itemWidget->m_functType = ItemFuncType_Item; - itemWidget->onIconButtonClicked(); - - delete moveSource; - itemWidget->m_moveSource = nullptr; - delete itemWidget; -} - -//TEST_F(UT_ItemWidget_Test, onItemClicked) -//{ -// ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); -// EXPECT_NE(itemWidget, nullptr); - -// itemWidget->onItemClicked(); - -// QObject *moveSource = new QObject(); -// itemWidget->m_moveSource = moveSource; - -// itemWidget->m_functType = ItemFuncType_Group; -// itemWidget->onItemClicked(); - -// itemWidget->m_functType = ItemFuncType_Item; -// itemWidget->onItemClicked(); - -// itemWidget->onFocusReback(); - -// delete moveSource; -// itemWidget->m_moveSource = nullptr; -// delete itemWidget; -//} - -TEST_F(UT_ItemWidget_Test, rightKeyPress) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - itemWidget->rightKeyPress(); - - itemWidget->m_functType = ItemFuncType_Item; - itemWidget->rightKeyPress(); - - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, paintEvent) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - itemWidget->resize(50, 50); - itemWidget->show(); - - QPaintEvent *event = new QPaintEvent(itemWidget->rect()); - itemWidget->paintEvent(event); - if (event) { - delete event; - } - - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, mousePressEvent) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - itemWidget->resize(50, 50); - itemWidget->show(); - - QMouseEvent *event = new QMouseEvent(QMouseEvent::MouseButtonPress, QPointF(5, 5), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier); - itemWidget->mousePressEvent(event); - if (event) { - delete event; - } - - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, mouseReleaseEvent) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - itemWidget->resize(50, 50); - itemWidget->show(); - - QMouseEvent *event = new QMouseEvent(QMouseEvent::MouseButtonPress, QPointF(5, 5), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier); - itemWidget->mousePressEvent(event); - if (event) { - delete event; - } - - event = new QMouseEvent(QMouseEvent::MouseButtonRelease, QPointF(5, 5), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier); - itemWidget->mouseReleaseEvent(event); - if (event) { - delete event; - } - - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, keyPressEvent) -{ - ItemWidget *itemWidget = new ItemWidget(ItemFuncType::ItemFuncType_Item, nullptr); - EXPECT_NE(itemWidget, nullptr); - - itemWidget->resize(50, 50); - itemWidget->show(); - - // 发送键盘按键 - // 右键 - QKeyEvent keyRight(QEvent::KeyPress, Qt::Key_Right, Qt::NoModifier); - itemWidget->keyPressEvent(&keyRight); - // Enter键 - QKeyEvent keyEnter(QEvent::KeyPress, Qt::Key_Enter, Qt::NoModifier); - itemWidget->keyPressEvent(&keyEnter); - // Return键 - QKeyEvent keyReturn(QEvent::KeyPress, Qt::Key_Return, Qt::NoModifier); - itemWidget->keyPressEvent(&keyReturn); - // Space键 - QKeyEvent keySpace(QEvent::KeyPress, Qt::Key_Space, Qt::NoModifier); - itemWidget->keyPressEvent(&keySpace); - // 其他按键 - QKeyEvent keyOther(QEvent::KeyPress, Qt::Key_A, Qt::NoModifier); - itemWidget->keyPressEvent(&keyOther); - - delete itemWidget; -} - -TEST_F(UT_ItemWidget_Test, onFocusOut) -{ - ItemWidget w(ItemFuncType::ItemFuncType_Item, nullptr); - - QSignalSpy signalpy(&w, &ItemWidget::focusOut); - EXPECT_TRUE(signalpy.count() == 0); - w.onFocusOut(Qt::TabFocusReason); - EXPECT_TRUE(signalpy.count() == 1); - - UT_STUB_QWIDGET_SETFOCUS_CREATE; - w.onFocusOut(Qt::ActiveWindowFocusReason); - EXPECT_TRUE(UT_STUB_QWIDGET_SETFOCUS_RESULT); -} - - -TEST_F(UT_ItemWidget_Test, enterEvent) -{ - QEvent e(QEvent::None); - ItemWidget w(ItemFuncType::ItemFuncType_Item, nullptr); - - UT_STUB_QWIDGET_SHOW_CREATE; - w.enterEvent(&e); - EXPECT_TRUE(UT_STUB_QWIDGET_SHOW_RESULT); - - w.leaveEvent(&e); - EXPECT_TRUE(ItemFuncType::ItemFuncType_Item == w.m_functType); - - QSignalSpy signalpy(&w, &ItemWidget::focusOut); - EXPECT_TRUE(signalpy.count() == 0); - QFocusEvent event(QEvent::FocusOut, Qt::TabFocusReason); - w.focusOutEvent(&event); - EXPECT_TRUE(signalpy.count() == 1); - -} - -#endif diff --git a/tests/src/views/ut_itemwidget_test.h b/tests/src/views/ut_itemwidget_test.h deleted file mode 100644 index 15adfc7e3..000000000 --- a/tests/src/views/ut_itemwidget_test.h +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_ITEMWIDGET_TEST_H -#define UT_ITEMWIDGET_TEST_H - -#include "ut_defines.h" - -#include - -class UT_ItemWidget_Test : public ::testing::Test -{ -public: - UT_ItemWidget_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); -}; - -#endif // UT_ITEMWIDGET_TEST_H - diff --git a/tests/src/views/ut_listview_test.cpp b/tests/src/views/ut_listview_test.cpp deleted file mode 100644 index edea6e235..000000000 --- a/tests/src/views/ut_listview_test.cpp +++ /dev/null @@ -1,326 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_listview_test.h" -#include "itemwidget.h" -#include "listview.h" -#include "customcommandpanel.h" -#include "remotemanagementpanel.h" -#include "utils.h" -#include "shortcutmanager.h" -#include "customcommandoptdlg.h" -#include "serverconfigmanager.h" -#include "service.h" -#include "../stub.h" -#include "ut_stub_defines.h" -#include "serverconfigoptdlg.h" - - -//Qt单元测试相关头文件 -#include -#include -#include -#include - - -UT_ListView_Test::UT_ListView_Test() -{ -} - -void UT_ListView_Test::SetUp() -{ -} - -void UT_ListView_Test::TearDown() -{ -} - -#ifdef UT_LISTVIEW_TEST - -TEST_F(UT_ListView_Test, CustomCommandListViewTest) -{ - ListView cmdListWidget(ListType_Custom, nullptr); - cmdListWidget.resize(242, 600); - cmdListWidget.show(); - - QList cmdActionList; - const int cmdCount = 10; - for (int i = 0; i <= cmdCount; i++) { - QString key = QString(QChar('A' + i)); - QAction *newAction = new QAction; - newAction->setText(QString("cmd_%1").arg(i)); - newAction->setShortcut(QKeySequence(QString("Ctrl+Shift+%1").arg(key))); - cmdListWidget.addItem(ItemFuncType_Item, newAction->text(), newAction->shortcut().toString()); - - cmdActionList.append(newAction); - ShortcutManager::instance()->addCustomCommand(*newAction); - } - - emit Service::instance()->refreshCommandPanel("", ""); - - EXPECT_EQ(cmdActionList.isEmpty(), false); - - QAction *firstAction = cmdActionList.first(); - QString firstCmdName = firstAction->text(); - EXPECT_EQ(firstCmdName, QString("cmd_%1").arg(0)); - - QAction *lastAction = cmdActionList.last(); - QString lastCmdName = lastAction->text(); - EXPECT_EQ(lastCmdName, QString("cmd_%1").arg(cmdCount)); - - cmdListWidget.removeItem(ItemFuncType_Item, firstCmdName); - EXPECT_EQ(cmdListWidget.count(), cmdActionList.size() - 1); - - QString updateCmdName = Utils::getRandString().toLower(); - cmdListWidget.updateItem(ItemFuncType_Item, lastCmdName, updateCmdName); - - QList itemWidgetList = cmdListWidget.m_itemList; - ItemWidget *lastItemWidget = itemWidgetList.last(); - - cmdListWidget.onCustomItemModify("cmd_0", false); - - cmdListWidget.onCustomItemModify("cmd_0", true); - - cmdListWidget.getWidgetIndex(lastItemWidget); - - //释放内存 - for (int i = 0; i < cmdActionList.size(); i++) { - QAction *action = cmdActionList.at(i); - delete action; - } -} - -TEST_F(UT_ListView_Test, onRemoteItemModify) -{ - ListView remoteListWidget(ListType_Custom, nullptr); - remoteListWidget.resize(242, 600); - remoteListWidget.show(); - - ServerConfigManager *serverConfigManager = ServerConfigManager::instance(); - QList remoteServerList; - const int remoteCount = 8; - const QString groupName = "001"; - for (int i = 0; i <= remoteCount; i++) { - - ServerConfig *config = new ServerConfig(); - config->m_serverName = QString("server_%1").arg(i); - config->m_address = QString("192.168.10.%1").arg(qrand() % 255); - config->m_userName = QString("%1").arg(Utils::getRandString()); - config->m_password = QString("123"); - config->m_privateKey = QString(""); - config->m_port = QString(""); - config->m_group = groupName; - config->m_path = QString(""); - config->m_command = QString(""); - config->m_encoding = QString(""); - config->m_backspaceKey = QString(""); - config->m_deleteKey = QString(""); - - serverConfigManager->saveServerConfig(config); - - //append item - int oldCount = remoteListWidget.count(); - remoteListWidget.addItem(ItemFuncType_Item, config->m_serverName, config->m_address); - EXPECT_TRUE(remoteListWidget.count() == (oldCount + 1)); - - remoteServerList.append(config); - } - - // - remoteListWidget.onRemoteItemModify("server_0", false); - EXPECT_TRUE(ServerConfigManager::instance()->m_serverConfigDialogMap.contains("server_0")); - - // 清理不用的数据 - for (ServerConfig *item : remoteServerList) { - ServerConfigManager::instance()->delServerConfig(item); - EXPECT_TRUE(ServerConfigManager::instance()->m_serverConfigs[groupName].contains(item) == false); - } -} - -TEST_F(UT_ListView_Test, setFocusFromeIndex) -{ - ListView listWidget(ListType_Custom, nullptr); - listWidget.resize(242, 600); - listWidget.show(); - - const int count = 11; - for (int i = 0; i < count; i++) { - QString key = QString(QChar('A' + i)); - QAction *newAction = new QAction; - newAction->setText(QString("cmd_%1").arg(i)); - newAction->setShortcut(QKeySequence(QString("Ctrl+Shift+%1").arg(key))); - listWidget.addItem(ItemFuncType_Item, newAction->text(), newAction->shortcut().toString()); - - ShortcutManager::instance()->addCustomCommand(*newAction); - } - EXPECT_TRUE(listWidget.count() == count); - - EXPECT_TRUE(ShortcutManager::instance()->m_customCommandActionList.count() >= count); - - listWidget.setFocusFromeIndex(0, ListFocusUp); - EXPECT_TRUE(listWidget.m_currentIndex == 0); - - listWidget.setFocusFromeIndex(0, ListFocusDown); - EXPECT_TRUE(listWidget.m_currentIndex == 1); - - listWidget.setFocusFromeIndex(0, ListFocusHome); - EXPECT_TRUE(listWidget.m_currentIndex == 0); - - listWidget.setFocusFromeIndex(0, ListFocusEnd); - qDebug() << __LINE__<< listWidget.count() << count; - EXPECT_TRUE(listWidget.m_currentIndex == (count - 1)); -} - -//为测试onCustomCommandOptDlgFinished打桩 -QAction *stub_getCurCustomCmd() -{ - return ShortcutManager::instance()->getCustomCommandActionList().first(); -} - -//为测试onCustomCommandOptDlgFinished打桩 -void stub_setIsDialogShow(QWidget *parent, bool isDialogShow) -{ - Q_UNUSED(parent) - Q_UNUSED(isDialogShow) -} - -bool stub_isDelCurCommand() -{ - return true; -} - -/******************************************************************************* - 1. @函数: onCustomCommandOptDlgFinished - 2. @作者: ut000438 王亮 - 3. @日期: 2021-02-09 - 4. @说明: onCustomCommandOptDlgFinished单元测试 -*******************************************************************************/ -TEST_F(UT_ListView_Test, onCustomCommandOptDlgFinished) -{ - ListView listWidget(ListType_Custom, nullptr); - - const int count = 4; - for (int i = 0; i < count; i++) { - QString key = QString(QChar('A' + i)); - QAction *newAction = new QAction; - newAction->setText(QString("cmd_%1").arg(i)); - newAction->setShortcut(QKeySequence(QString("Ctrl+Shift+%1").arg(key))); - listWidget.addItem(ItemFuncType_Item, newAction->text(), newAction->shortcut().toString()); - - ShortcutManager::instance()->addCustomCommand(*newAction); - } - EXPECT_TRUE(listWidget.count() == count); - - QAction *firstAction = ShortcutManager::instance()->getCustomCommandActionList().first(); - CustomCommandData itemData; - itemData.m_cmdName = firstAction->text() + "_modify"; - itemData.m_cmdText = firstAction->data().toString() + "_modify"; - itemData.m_cmdShortcut = firstAction->shortcut().toString() + "_modify"; - - Stub s; - s.set(ADDR(CustomCommandOptDlg, getCurCustomCmd), stub_getCurCustomCmd); - s.set(ADDR(Service, setIsDialogShow), stub_setIsDialogShow); - - //选中itemData所在行 - listWidget.m_focusState = true; - listWidget.m_pdlg = new CustomCommandOptDlg(CustomCommandOptDlg::CCT_MODIFY, &itemData, nullptr); - listWidget.onCustomCommandOptDlgFinished(QDialog::Accepted); - EXPECT_TRUE(listWidget.currentIndex() == listWidget.indexFromString(itemData.m_cmdName)); - - s.set(ADDR(CustomCommandOptDlg, isDelCurCommand), stub_isDelCurCommand); - - int old_index = listWidget.currentIndex(); - listWidget.onCustomCommandOptDlgFinished(QDialog::Rejected); - EXPECT_TRUE(listWidget.currentIndex() == old_index); - - - listWidget.onGroupClicked("/", false); - EXPECT_TRUE(listWidget.m_focusState == false); - EXPECT_TRUE(listWidget.currentIndex() == -1); -} - -ServerConfig* generateNewServerConfig() -{ - ServerConfig *config = new ServerConfig(); - config->m_serverName = QStringLiteral("new_server_listview_test"); - config->m_address = QStringLiteral("192.168.10.%1").arg(qrand() % 255); - config->m_userName = QStringLiteral("server_user"); - config->m_password = QStringLiteral("123456"); - config->m_privateKey = QStringLiteral(""); - config->m_port = QStringLiteral(""); - config->m_group = QStringLiteral("new group"); - config->m_path = QStringLiteral(""); - config->m_command = QStringLiteral(""); - config->m_encoding = QStringLiteral(""); - config->m_backspaceKey = QStringLiteral(""); - config->m_deleteKey = QStringLiteral(""); - - ServerConfigManager::instance()->saveServerConfig(config); - - ServerConfigManager::instance()->getServerCount(config->m_group); - - ServerConfig *currConfig = ServerConfigManager::instance()->getServerConfig(config->m_serverName); - return currConfig; -} - -//用于onServerConfigOptDlgFinished函数单元测试打桩 -void stub_focusCurrentPage_listview() -{ -} - -//用于onServerConfigOptDlgFinished函数单元测试打桩 -bool stub_isDelServer_true() -{ - return true; -} -//用于onServerConfigOptDlgFinished函数单元测试打桩 -bool stub_isDelServer_false() -{ - return false; -} - -TEST_F(UT_ListView_Test, onServerConfigOptDlgFinished) -{ - ListView listWidget(ListType_Custom, nullptr); - ServerConfig *curItemServer = generateNewServerConfig(); - QString itemServerName = curItemServer->m_serverName; - ASSERT_TRUE(curItemServer); - listWidget.m_configDialog = new ServerConfigOptDlg(ServerConfigOptDlg::SCT_MODIFY, curItemServer, &listWidget); - - { - //m_configDialog不在m_serverConfigDialogMap里,故不会删除 - Stub stub; - stub.set(ADDR(MainWindow, focusCurrentPage), stub_focusCurrentPage_listview); - listWidget.m_focusState == true; - listWidget.onServerConfigOptDlgFinished(ServerConfigOptDlg::Rejected); - EXPECT_TRUE(listWidget.currentIndex() == listWidget.indexFromString(curItemServer->m_serverName)); - } - - { - //m_configDialog不在m_serverConfigDialogMap里,故不会删除 - Stub stub; - stub.set(ADDR(MainWindow, focusCurrentPage), stub_focusCurrentPage_listview); - stub.set(ADDR(ServerConfigOptDlg, isDelServer), stub_isDelServer_false); - listWidget.m_focusState == true; - listWidget.onServerConfigOptDlgFinished(ServerConfigOptDlg::Accepted); - EXPECT_TRUE(listWidget.currentIndex() == listWidget.indexFromString(curItemServer->m_serverName)); - //随后listwidget会置空 - } - { - Stub stub; - stub.set(ADDR(MainWindow, focusCurrentPage), stub_focusCurrentPage_listview); - UT_STUB_QWIDGET_SHOW_APPEND; - listWidget.m_focusState = true; - listWidget.m_configDialog->m_bDelOpt = true; - listWidget.onServerConfigOptDlgFinished(ServerConfigOptDlg::Accepted); - EXPECT_TRUE(UT_STUB_QWIDGET_SHOW_RESULT); - } - - EXPECT_TRUE(!ServerConfigManager::instance()->m_serverConfigDialogMap.contains(itemServerName)); - - EXPECT_TRUE(listWidget.count() == 0); -} - -#endif diff --git a/tests/src/views/ut_listview_test.h b/tests/src/views/ut_listview_test.h deleted file mode 100644 index c188445ac..000000000 --- a/tests/src/views/ut_listview_test.h +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_LISTVIEW_TEST_H -#define UT_LISTVIEW_TEST_H - -#include "ut_defines.h" - -#include - -class UT_ListView_Test : public ::testing::Test -{ -public: - UT_ListView_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); -}; - -#endif // UT_LISTVIEW_TEST_H - diff --git a/tests/src/views/ut_pagesearchbar_test.cpp b/tests/src/views/ut_pagesearchbar_test.cpp deleted file mode 100644 index c16bf44e3..000000000 --- a/tests/src/views/ut_pagesearchbar_test.cpp +++ /dev/null @@ -1,131 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_pagesearchbar_test.h" - -#include "pagesearchbar.h" -#include "termwidgetpage.h" -#include "service.h" -#include "utils.h" -#include "ut_stub_defines.h" - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include - -UT_PageSearchBar_Test::UT_PageSearchBar_Test() -{ -} - -void UT_PageSearchBar_Test::SetUp() -{ - if (!Service::instance()->property("isServiceInit").toBool()) { - Service::instance()->setProperty("isServiceInit", true); - } - - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); -} - -void UT_PageSearchBar_Test::TearDown() -{ - delete m_normalWindow; -} - -#ifdef UT_PAGESEARCHBAR_TEST -TEST_F(UT_PageSearchBar_Test, PageSearchBarTest) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - TermWidgetPage *termPage = m_normalWindow->currentPage(); - EXPECT_EQ(termPage->isVisible(), true); - - termPage->sendTextToCurrentTerm("ls -al\n"); - - PageSearchBar *searchBar = termPage->m_findBar; - termPage->showSearchBar(SearchBar_State::SearchBar_Show); - EXPECT_EQ(searchBar->isVisible(), true); - - QString placeHolder = searchBar->m_originalPlaceHolder; - searchBar->saveOldHoldContent(); - EXPECT_EQ(searchBar->m_searchEdit->placeHolder(), searchBar->m_originalPlaceHolder); - searchBar->clearHoldContent(); - EXPECT_EQ(searchBar->m_searchEdit->placeHolder().length(), 0); - searchBar->recoveryHoldContent(); - EXPECT_EQ(searchBar->m_searchEdit->placeHolder(), searchBar->m_originalPlaceHolder); - - QString searchTxt = searchBar->searchKeytxt(); - EXPECT_EQ(searchTxt.length(), 0); - - QString searchCmd = QString("rw"); - searchBar->m_searchEdit->setText(searchCmd); - EXPECT_EQ(searchBar->m_searchEdit->text().length(), searchCmd.length()); - - const int findNextCount = 2; - //查找下一个'rw'字符串 - DIconButton *findNextButton = searchBar->m_findNextButton; - QPoint clickPoint(3, 3); - for (int i = 0; i < findNextCount; i++) { - QSignalSpy spyNext(findNextButton, SIGNAL(clicked())); - EXPECT_EQ(spyNext.count(), 0); - QTest::mouseClick(findNextButton, Qt::LeftButton, Qt::NoModifier, clickPoint); - EXPECT_EQ(spyNext.count(), 1); - } - - const int findPrevCount = 2; - //查找前一个rw - for (int i = 0; i < findPrevCount; i++) { - DIconButton *findPrevButton = searchBar->m_findPrevButton; - QSignalSpy spyPrev(findPrevButton, SIGNAL(clicked())); - EXPECT_EQ(spyPrev.count(), 0); - QTest::mouseClick(findPrevButton, Qt::LeftButton, Qt::NoModifier, clickPoint); - EXPECT_EQ(spyPrev.count(), 1); - } -} - -TEST_F(UT_PageSearchBar_Test, isFocus) -{ - TermWidgetPage *termPage = m_normalWindow->currentPage(); - ASSERT_TRUE(termPage); - PageSearchBar *searchBar = termPage->m_findBar; - ASSERT_TRUE(searchBar); - - UT_STUB_QWIDGET_HASFOCUS_CREATE; - searchBar->isFocus(); - EXPECT_TRUE(UT_STUB_QWIDGET_HASFOCUS_RESULT); - - //keyPress - UT_STUB_QWIDGET_HASFOCUS_PREPARE; - QTest::keyPress(searchBar->window(), Qt::Key_Enter, Qt::NoModifier, 100); - //lineEdit会判断hasFocus - EXPECT_TRUE(UT_STUB_QWIDGET_HASFOCUS_RESULT); - - QTest::keyPress(searchBar->window(), Qt::Key_A); -} - -TEST_F(UT_PageSearchBar_Test, keyPressEvent) -{ - TermWidgetPage *termPage = m_normalWindow->currentPage(); - ASSERT_TRUE(termPage); - PageSearchBar *searchBar = termPage->m_findBar; - ASSERT_TRUE(searchBar); - - UT_STUB_QWIDGET_HASFOCUS_CREATE; - //查找前一个 - QTest::keyRelease(searchBar->window(), Qt::Key_Enter, Qt::NoModifier, 100); - //查找下一个 - QTest::keyRelease(searchBar->window(), Qt::Key_Enter, Qt::ShiftModifier, 100); - //default - QTest::keyRelease(searchBar->window(), Qt::Key_A, Qt::NoModifier, 100); - - EXPECT_TRUE(UT_STUB_QWIDGET_HASFOCUS_RESULT); -} -#endif diff --git a/tests/src/views/ut_pagesearchbar_test.h b/tests/src/views/ut_pagesearchbar_test.h deleted file mode 100644 index 5efd22129..000000000 --- a/tests/src/views/ut_pagesearchbar_test.h +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_PageSearchBar_Test_H -#define UT_PageSearchBar_Test_H - -#include "ut_defines.h" -#include "termproperties.h" - -#include - -class MainWindow; -class UT_PageSearchBar_Test : public ::testing::Test -{ -public: - UT_PageSearchBar_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - -public: - //普通窗口 - MainWindow *m_normalWindow = nullptr; - - TermProperties m_normalTermProperty; -}; - -#endif // UT_PageSearchBar_Test_H - diff --git a/tests/src/views/ut_tabbar_test.cpp b/tests/src/views/ut_tabbar_test.cpp deleted file mode 100644 index a4285f85e..000000000 --- a/tests/src/views/ut_tabbar_test.cpp +++ /dev/null @@ -1,546 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_tabbar_test.h" -#include "tabbar.h" -#include "utils.h" -#include "../stub.h" -#include "termwidgetpage.h" -#include "termproperties.h" -#include "ut_stub_defines.h" -#include "windowsmanager.h" - -//dtk -#include - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include -#include - - -UT_Tabbar_Test::UT_Tabbar_Test() -{ -} - -void UT_Tabbar_Test::SetUp() -{ -} - -void UT_Tabbar_Test::TearDown() -{ -} - -QString UT_Tabbar_Test::generateUniqueId() -{ - return QUuid::createUuid().toString(); -} - -#ifdef UT_TABBAR_TEST -TEST_F(UT_Tabbar_Test, setTabHeight) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - int tabHeight = 36; - tabbar.setTabHeight(tabHeight); - EXPECT_EQ(tabbar.height(), 36); -} - -TEST_F(UT_Tabbar_Test, setTabItemMinWidth) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - int tabItemMinWidth = 110; - tabbar.setTabItemMinWidth(tabItemMinWidth); - EXPECT_EQ(tabbar.m_tabItemMinWidth, tabItemMinWidth); - -} - -TEST_F(UT_Tabbar_Test, setTabItemMaxWidth) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - int tabItemMaxWidth = 450; - tabbar.setTabItemMaxWidth(tabItemMaxWidth); - EXPECT_EQ(tabbar.m_tabItemMaxWidth, tabItemMaxWidth); -} - -TEST_F(UT_Tabbar_Test, addTab) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - QList tabIdList; - const int tabCount = 6; - for (int i = 0; i < tabCount; i++) { - QString tabName = QString("tab%1").arg(i); - QString tabIdentifier = generateUniqueId(); - tabbar.addTab(tabIdentifier, tabName); - tabIdList.append(tabIdentifier); - } - EXPECT_EQ(tabbar.count(), tabCount); -} - -TEST_F(UT_Tabbar_Test, insertTab) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - QList tabIdList; - const int tabCount = 6; - for (int i = 0; i < tabCount; i++) { - QString tabName = QString("tab%1").arg(i); - QString tabIdentifier = generateUniqueId(); - tabbar.insertTab(i, tabIdentifier, tabName); - tabIdList.append(tabIdentifier); - } - EXPECT_EQ(tabbar.count(), tabCount); -} - -TEST_F(UT_Tabbar_Test, removeTab) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - QObject::disconnect(&tabbar, &DTabBar::tabIsRemoved, nullptr, nullptr); - - QList tabIdList; - const int tabCount = 6; - for (int i = 0; i < tabCount; i++) { - QString tabName = QString("tab%1").arg(i); - QString tabIdentifier = generateUniqueId(); - tabbar.insertTab(i, tabIdentifier, tabName); - tabIdList.append(tabIdentifier); - } - EXPECT_EQ(tabbar.count(), tabCount); - - QString firstTabId = tabbar.identifier(0); - tabbar.removeTab(firstTabId); - - EXPECT_EQ(tabbar.count(), tabCount - 1); -} - - -TEST_F(UT_Tabbar_Test, identifier) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - QList tabIdList; - const int tabCount = 6; - for (int i = 0; i < tabCount; i++) { - QString tabName = QString("tab%1").arg(i); - QString tabIdentifier = generateUniqueId(); - tabbar.addTab(tabIdentifier, tabName); - tabIdList.append(tabIdentifier); - } - - int firstTabIndex = 0; - EXPECT_EQ(tabbar.identifier(firstTabIndex), tabIdList.first()); -} - -TEST_F(UT_Tabbar_Test, getIndexByIdentifier) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - QList tabIdList; - const int tabCount = 6; - for (int i = 0; i < tabCount; i++) { - QString tabName = QString("tab%1").arg(i); - QString tabIdentifier = generateUniqueId(); - tabbar.addTab(tabIdentifier, tabName); - tabIdList.append(tabIdentifier); - } - - int firstTabIndex = 0; - int tabIndex = tabbar.getIndexByIdentifier(tabIdList.first()); - EXPECT_EQ(tabIndex, firstTabIndex); -} - -TEST_F(UT_Tabbar_Test, setTabText) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - QList tabIdList; - const int tabCount = 6; - for (int i = 0; i < tabCount; i++) { - QString tabName = QString("tab%1").arg(i); - QString tabIdentifier = generateUniqueId(); - tabbar.addTab(tabIdentifier, tabName); - tabIdList.append(tabIdentifier); - } - - int firstTabIndex = 0; - QString tabText = QString("tab001"); - tabbar.setTabText(tabIdList.first(), tabText); - EXPECT_EQ(tabbar.tabText(firstTabIndex), tabText); -} - -TEST_F(UT_Tabbar_Test, getSessionIdTabIndexMap) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - QMap sessionIdTabIndexMap = tabbar.getSessionIdTabIndexMap(); - EXPECT_EQ(sessionIdTabIndexMap.isEmpty(), true); -} - -TEST_F(UT_Tabbar_Test, saveSessionIdWithTabIndex) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - const int mapSize = 5; - for (int i = 0; i < mapSize; i++) { - tabbar.saveSessionIdWithTabIndex(i + 1, i); - } - - QMap sessionIdTabIndexMap = tabbar.getSessionIdTabIndexMap(); - EXPECT_EQ((mapSize == sessionIdTabIndexMap.size()), true); -} - -TEST_F(UT_Tabbar_Test, saveSessionIdWithTabId) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - const int mapSize = 5; - for (int i = 0; i < mapSize; i++) { - tabbar.saveSessionIdWithTabId(i, generateUniqueId()); - } - - QMap sessionIdTabIdMap = tabbar.m_sessionIdTabIdMap; - EXPECT_EQ((mapSize == sessionIdTabIdMap.size()), true); -} - -TEST_F(UT_Tabbar_Test, queryIndexBySessionId) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - const int mapSize = 5; - for (int i = 0; i < mapSize; i++) { - tabbar.saveSessionIdWithTabIndex(i + 1, i); - } - - int queryIndex = tabbar.queryIndexBySessionId(0); - EXPECT_EQ((queryIndex == -1), true); -} - -TEST_F(UT_Tabbar_Test, setChangeTextColor) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - QList tabIdList; - const int tabCount = 6; - for (int i = 0; i < tabCount; i++) { - QString tabName = QString("tab%1").arg(i); - QString tabIdentifier = generateUniqueId(); - tabbar.addTab(tabIdentifier, tabName); - tabIdList.append(tabIdentifier); - } - EXPECT_TRUE(tabIdList.count() == tabCount); - - QString firstTabId = tabbar.identifier(0); - tabbar.setChangeTextColor(firstTabId); - EXPECT_TRUE(tabbar.m_tabStatusMap.contains(firstTabId)); -} - -TEST_F(UT_Tabbar_Test, setNeedChangeTextColor) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - QList tabIdList; - const int tabCount = 6; - for (int i = 0; i < tabCount; i++) { - QString tabName = QString("tab%1").arg(i); - QString tabIdentifier = generateUniqueId(); - tabbar.addTab(tabIdentifier, tabName); - tabIdList.append(tabIdentifier); - } - EXPECT_TRUE(tabIdList.count() == tabCount); - - QColor redColor = QColor(Qt::red); - QString firstTabId = tabbar.identifier(0); - tabbar.setNeedChangeTextColor(firstTabId, redColor); - EXPECT_TRUE(tabbar.isNeedChangeTextColor(firstTabId)); - EXPECT_TRUE(tabbar.m_tabChangedTextColor == redColor); -} - -TEST_F(UT_Tabbar_Test, removeNeedChangeTextColor) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - QList tabIdList; - const int tabCount = 6; - for (int i = 0; i < tabCount; i++) { - QString tabName = QString("tab%1").arg(i); - QString tabIdentifier = generateUniqueId(); - tabbar.addTab(tabIdentifier, tabName); - tabIdList.append(tabIdentifier); - } - EXPECT_TRUE(tabIdList.count() == tabCount); - - QString firstTabId = tabbar.identifier(0); - tabbar.setChangeTextColor(firstTabId); - EXPECT_TRUE(tabbar.m_tabStatusMap.contains(firstTabId)); - - tabbar.removeNeedChangeTextColor(firstTabId); - EXPECT_TRUE(tabbar.m_tabStatusMap.contains(firstTabId) == false); -} - -TEST_F(UT_Tabbar_Test, isNeedChangeTextColor) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - QList tabIdList; - const int tabCount = 6; - for (int i = 0; i < tabCount; i++) { - QString tabName = QString("tab%1").arg(i); - QString tabIdentifier = generateUniqueId(); - tabbar.addTab(tabIdentifier, tabName); - tabIdList.append(tabIdentifier); - } - EXPECT_TRUE(tabIdList.count() == tabCount); - - QColor redColor = QColor(Qt::red); - QString firstTabId = tabbar.identifier(0); - tabbar.setNeedChangeTextColor(firstTabId, redColor); - EXPECT_TRUE(tabbar.isNeedChangeTextColor(firstTabId)); - EXPECT_TRUE(tabbar.m_tabChangedTextColor == redColor); -} - -TEST_F(UT_Tabbar_Test, setClearTabColor) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - QList tabIdList; - const int tabCount = 6; - for (int i = 0; i < tabCount; i++) { - QString tabName = QString("tab%1").arg(i); - QString tabIdentifier = generateUniqueId(); - tabbar.addTab(tabIdentifier, tabName); - tabIdList.append(tabIdentifier); - } - EXPECT_TRUE(tabIdList.count() == tabCount); - - QString firstTabId = tabbar.identifier(0); - tabbar.setChangeTextColor(firstTabId); - EXPECT_TRUE(tabbar.m_tabStatusMap.value(firstTabId) == TabTextColorStatus_Changed); - - tabbar.setClearTabColor(firstTabId); - EXPECT_TRUE(tabbar.m_tabStatusMap.value(firstTabId) == TabTextColorStatus_Default); -} - -//用于createDragPixmapFromTab测试打桩 -TermWidgetPage *stub_getTermPage(const QString &identifier) -{ - Q_UNUSED(identifier) - - TermProperties properties; - TermWidgetPage *widgetPage = new TermWidgetPage(properties, nullptr); - widgetPage->resize(800, 600); - return widgetPage; -} - -//用于createDragPixmapFromTab测试打桩 -bool stub_hasComposite() -{ - return true; -} - -/******************************************************************************* - 1. @函数: Tabbar类的函数 - 2. @作者: ut000438 王亮 - 3. @日期: 2020-12-23 - 4. @说明: createDragPixmapFromTab单元测试 -*******************************************************************************/ -TEST_F(UT_Tabbar_Test, createDragPixmapFromTab) -{ - Stub s; - s.set(ADDR(MainWindow, getTermPage), stub_getTermPage); - - NormalWindow w(TermProperties("/")); - TabBar tabbar(&w); - QString tabName = QString("tab01"); - QString tabIdentifier = generateUniqueId(); - tabbar.addTab(tabIdentifier, tabName); -// EXPECT_TRUE(tabbar.m_tabIdentifierList.contains(tabIdentifier)); - - QStyleOptionTab styleOptionTab; - QPoint hotSpot = QPoint(1, 1); - EXPECT_TRUE(tabbar.createDragPixmapFromTab(0, styleOptionTab, &hotSpot).isNull() == false); - - s.set(ADDR(DWindowManagerHelper, hasComposite), stub_hasComposite); - EXPECT_TRUE(tabbar.createDragPixmapFromTab(0, styleOptionTab, &hotSpot).isNull() == false); -} - -static QWindow *ut_tablbar_dragIconWindow() -{ - static QWindow w; - return &w; -} - -static bool ut_window_setProperty(const char *, const QVariant &) -{ - return true; -} - -static QAction *stub_exec(const QPoint &, QAction *) -{ - return nullptr; -} - - -TEST_F(UT_Tabbar_Test, handleDragActionChanged) -{ - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - - Stub stub; - stub.set(ADDR(DTabBar, dragIconWindow), ut_tablbar_dragIconWindow); - stub.set(ADDR(QWindow, setProperty), ut_window_setProperty); - - qApp->setOverrideCursor(Qt::CrossCursor); - tabbar.handleDragActionChanged(Qt::IgnoreAction); - EXPECT_TRUE(qApp->overrideCursor()->shape() == Qt::ArrowCursor); - - tabbar.handleDragActionChanged(Qt::MoveAction); - qDebug() << qApp->overrideCursor(); - EXPECT_TRUE(qApp->overrideCursor()); -} - -TEST_F(UT_Tabbar_Test, handleMiddleButtonClick) -{ - NormalWindow *w = new NormalWindow(TermProperties("/")); - TabBar *tabbar = new TabBar(w); - tabbar->addTab(generateUniqueId(), "tab01"); - QSignalSpy spy(tabbar, &DTabBar::tabCloseRequested); - QMouseEvent mouseEvent(QEvent::MouseButtonRelease, tabbar->tabRect(0).center(), Qt::MidButton, Qt::NoButton, Qt::NoModifier); - tabbar->handleMiddleButtonClick(&mouseEvent); - qDebug() << spy.count(); - EXPECT_TRUE(1 == spy.count()); - - w->deleteLater(); -} - - -TEST_F(UT_Tabbar_Test, handleRightButtonClick) -{ - Stub stub; - stub.set((QAction * (QMenu::*)(const QPoint &, QAction *)) ADDR(QMenu, exec), stub_exec); - - NormalWindow *w = new NormalWindow(TermProperties("/")); - TabBar *tabbar = w->m_tabbar; - w->addTab(TermProperties("/")); - QMouseEvent mouseEvent(QEvent::MouseButtonRelease, tabbar->tabRect(0).center(), Qt::RightButton, Qt::NoButton, Qt::NoModifier); - EXPECT_TRUE(nullptr == tabbar->m_closeTabAction); - tabbar->handleRightButtonClick(&mouseEvent); - //首次点击时,会初始化m_closeTabAction - EXPECT_TRUE(tabbar->m_closeTabAction); - - w->deleteLater(); -} - -TEST_F(UT_Tabbar_Test, onCloseOtherTabActionTriggered) -{ - NormalWindow *w = new NormalWindow(TermProperties("/")); - TabBar *tabbar = w->m_tabbar; - w->addTab(TermProperties("/")); - w->addTab(TermProperties("/")); - w->addTab(TermProperties("/")); - - tabbar->m_rightClickTab = 0; - EXPECT_TRUE(4 == tabbar->count()); - tabbar->onCloseOtherTabActionTriggered(); - EXPECT_TRUE(1 == tabbar->count()); - qDebug() << tabbar->count(); - - tabbar->m_rightClickTab = 0; - QSignalSpy spy(tabbar, &TabBar::showRenameTabDialog); - tabbar->onRenameTabActionTriggered(); - qDebug() << spy.count(); - EXPECT_TRUE(1 == spy.count()); - - - w->deleteLater(); -} - -TEST_F(UT_Tabbar_Test, handleTabMoved) -{ - NormalWindow *w = new NormalWindow(TermProperties("/")); - TabBar *tabbar = w->m_tabbar; - w->addTab(TermProperties("/")); - w->addTab(TermProperties("/")); - w->addTab(TermProperties("/")); - w->addTab(TermProperties("/")); - - //只是交换TabBar中的保存的list,非DTabBar - QString id1 = tabbar->m_tabIdentifierList.value(1); - QString id2 = tabbar->m_tabIdentifierList.value(2); - tabbar->handleTabMoved(1, 2); - EXPECT_TRUE(tabbar->m_tabIdentifierList.value(1) == id2); - EXPECT_TRUE(tabbar->m_tabIdentifierList.value(2) == id1); - - //释放其中一个termwidget - EXPECT_TRUE(w->m_termStackWidget->count() == 5); - tabbar->handleTabReleased(0); - EXPECT_TRUE(w->m_termStackWidget->count() == 4); - - w->deleteLater(); -} - -TEST_F(UT_Tabbar_Test, createWindowFromTermPage) -{ - NormalWindow *w = new NormalWindow(TermProperties("/")); - TabBar *tabbar = w->m_tabbar; - w->addTab(TermProperties("/")); - w->addTab(TermProperties("/")); - w->addTab(TermProperties("/")); - w->addTab(TermProperties("/")); - - int oldcount = WindowsManager::instance()->getNormalWindowList().count(); - QString tab1 = tabbar->tabText(1); - tabbar->createWindowFromTermPage(tab1, w->currentPage(), true); - int curcount = WindowsManager::instance()->getNormalWindowList().count(); - EXPECT_TRUE(curcount == (oldcount + 1)); - - w->deleteLater(); -} - - -#endif diff --git a/tests/src/views/ut_tabbar_test.h b/tests/src/views/ut_tabbar_test.h deleted file mode 100644 index 74524085c..000000000 --- a/tests/src/views/ut_tabbar_test.h +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_TABBAR_TEST_H -#define UT_TABBAR_TEST_H - -#include "ut_defines.h" - -#include - -#include - -class UT_Tabbar_Test : public ::testing::Test -{ -public: - UT_Tabbar_Test(); - -public: - //这里的几个函数都会自动调用 - - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - - inline QString generateUniqueId(); -}; - -#endif // UT_TABBAR_TEST_H - diff --git a/tests/src/views/ut_tabrenamedlg_test.cpp b/tests/src/views/ut_tabrenamedlg_test.cpp deleted file mode 100644 index b9caaf526..000000000 --- a/tests/src/views/ut_tabrenamedlg_test.cpp +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_tabrenamedlg_test.h" -#include "mainwindow.h" - -//qt -#include - -Ut_TabRenameDlg_Test::Ut_TabRenameDlg_Test() -{ - m_renameDlg = new TabRenameDlg; -} - -Ut_TabRenameDlg_Test::~Ut_TabRenameDlg_Test() -{ - delete m_renameDlg; -} - -TEST_F(Ut_TabRenameDlg_Test, TesSetText) -{ - m_renameDlg->setText("first", "second"); - - QLineEdit *normalLineEdit = m_renameDlg->m_normalWidget->findChild(); - QLineEdit *remoteLineEdit = m_renameDlg->m_remoteWidget->findChild(); - - EXPECT_TRUE(normalLineEdit->text() == "first"); - EXPECT_TRUE(remoteLineEdit->text() == "second"); -} diff --git a/tests/src/views/ut_tabrenamedlg_test.h b/tests/src/views/ut_tabrenamedlg_test.h deleted file mode 100644 index 94484374a..000000000 --- a/tests/src/views/ut_tabrenamedlg_test.h +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_TABRENAMEDLG_TEST_H -#define UT_TABRENAMEDLG_TEST_H - -#include "termproperties.h" - -#include "tabrenamedlg.h" -#include "tabrenamewidget.h" - -//Google GTest 相关头文件 -#include - -#include -#include - -class Ut_TabRenameDlg_Test : public ::testing::Test -{ -public: - Ut_TabRenameDlg_Test(); - - ~Ut_TabRenameDlg_Test(); - -private: - TabRenameDlg *m_renameDlg = nullptr; - TermProperties m_normalTermProperty; -}; - -#endif // UT_TABRENAMEDLG_TEST_H diff --git a/tests/src/views/ut_tabrenamewidget_test.cpp b/tests/src/views/ut_tabrenamewidget_test.cpp deleted file mode 100644 index d9a14a812..000000000 --- a/tests/src/views/ut_tabrenamewidget_test.cpp +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_tabrenamewidget_test.h" - -//用于做一些初始化操作 -void Ut_TabRenameWidget_Test::SetUp() -{ - m_renameWidgetRS = new TabRenameWidget(true, true); -} - -//用于做一些清理操作 -void Ut_TabRenameWidget_Test::TearDown() -{ - delete m_renameWidgetRS; -} - -//远程 设置界面 -TEST_F(Ut_TabRenameWidget_Test, TestInitConnection) -{ - QList list = m_renameWidgetRS->m_choseMenu->findChildren(); - - QAction *firstAction = list.first(); - //取出action的text为空,信号发送后程序崩溃,只能重新设置action的文字 - //也反映出槽函数没有对特殊情况处理,需要的话可以修改 - if (firstAction->text().isNull()) { - firstAction->setText("username: %u"); - } - - m_renameWidgetRS->getInputedit()->clear(); - - emit m_renameWidgetRS->m_choseMenu->triggered(list.first()); - EXPECT_TRUE(m_renameWidgetRS->getInputedit()->text() == "%u"); - EXPECT_TRUE(m_renameWidgetRS->m_Label == nullptr); -} - - -//普通 设置界面 -TEST_F(Ut_TabRenameWidget_Test, TestNormalIsSeeting) -{ - TabRenameWidget *m_renameWidgetNS = nullptr; - m_renameWidgetNS = new TabRenameWidget(false, true); - - EXPECT_TRUE(m_renameWidgetNS->m_Label == nullptr); - - delete m_renameWidgetNS; -} - -//远程 对话框 -TEST_F(Ut_TabRenameWidget_Test, TestRemateNotSeeting) -{ - TabRenameWidget *m_renameWidgetRNS = nullptr; - m_renameWidgetRNS = new TabRenameWidget(true, false); - - EXPECT_TRUE(m_renameWidgetRNS->m_Label != nullptr); -// EXPECT_TRUE(m_renameWidgetRNS->m_Label->text() == "Remote tab title format"); - - delete m_renameWidgetRNS; -} - -//非远程 对话框 -TEST_F(Ut_TabRenameWidget_Test, TestNormaNotSeeting) -{ - TabRenameWidget *m_renameWidgetNNS = nullptr; - m_renameWidgetNNS = new TabRenameWidget(false, false); - - EXPECT_TRUE(m_renameWidgetNNS->m_Label != nullptr); -// EXPECT_TRUE(m_renameWidgetNNS->m_Label->text() == "Tab title format"); - - delete m_renameWidgetNNS; -} diff --git a/tests/src/views/ut_tabrenamewidget_test.h b/tests/src/views/ut_tabrenamewidget_test.h deleted file mode 100644 index 1fa9f1b59..000000000 --- a/tests/src/views/ut_tabrenamewidget_test.h +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_TABRENAMEWIDGET_TEST_H -#define UT_TABRENAMEWIDGET_TEST_H - -#include "tabrenamewidget.h" - -//Google GTest 相关头文件 -#include - -#include -#include - -class Ut_TabRenameWidget_Test : public ::testing::Test -{ -protected: - //用于做一些初始化操作 - virtual void SetUp(); - - //用于做一些清理操作 - virtual void TearDown(); - -private: - TabRenameWidget *m_renameWidgetRS = nullptr; -}; - -#endif // UT_TABRENAMEWIDGET_TEST_H diff --git a/tests/src/views/ut_termwidget_test.cpp b/tests/src/views/ut_termwidget_test.cpp deleted file mode 100644 index 7a43314ee..000000000 --- a/tests/src/views/ut_termwidget_test.cpp +++ /dev/null @@ -1,1002 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_termwidget_test.h" -#include "service.h" -#include "termwidget.h" -#include "termwidgetpage.h" -#include "qtermwidget.h" -#include "TerminalDisplay.h" -#include "../stub.h" -#include "tabbar.h" -#include "ut_stub_defines.h" - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include -#include -#include - -UT_TermWidget_Test::UT_TermWidget_Test() -{ - if (!Service::instance()->property("isServiceInit").toBool()) { - Service::instance()->setProperty("isServiceInit", true); - } - - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); -} - -UT_TermWidget_Test::~UT_TermWidget_Test() -{ - delete m_normalWindow; -} - -QStringList ut_TermWidget_toStringList(){ - return QStringList() << "1" << "2"; -} - -bool ut_contains() -{ - return true; -} - -#ifdef UT_TERMWIDGET_TEST -TEST_F(UT_TermWidget_Test, TermWidgetTest) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - EXPECT_EQ(currTermPage->isVisible(), true); - - Stub stub; - stub.set(ADDR(QVariant,toStringList),ut_TermWidget_toStringList); - stub.set(ADDR(TermProperties,contains),ut_contains); - - TermWidget *termWidget = currTermPage->m_currentTerm; - bool isInRemoteServer = termWidget->isInRemoteServer(); - EXPECT_EQ(isInRemoteServer, false); - - TermWidgetPage *termPage = termWidget->parentPage(); - EXPECT_NE(termPage, nullptr); - EXPECT_EQ(QString(termPage->metaObject()->className()), QString("TermWidgetPage")); - - termWidget->setEnterSzCommand(false); - EXPECT_EQ(termWidget->enterSzCommand(), false); - - termWidget->setEnterSzCommand(true); - EXPECT_EQ(termWidget->enterSzCommand(), true); - - //设置透明度 - for (qreal opacity = 0.01; opacity <= 1.0; opacity += 0.01) { - termWidget->setTermOpacity(opacity); - } - - QStringList fontFamilyList; - fontFamilyList << "Courier 10 Pitch" << "DejaVu Sans Mono" << "Liberation Mono" - << "Noto Mono" << "Noto Sans Mono" << "Noto Sans Mono CJK JP" - << "Noto Sans Mono CJK KR" << "Noto Sans Mono CJK SC" - << "Noto Sans Mono CJK TC"; - for (int i = 0; i < fontFamilyList.size(); i++) { - QString fontFamily = fontFamilyList.at(i); - termWidget->setTermFont(fontFamily); - QFont currFont = termWidget->getTerminalFont(); - EXPECT_EQ(currFont.family(), fontFamily); - } - - QString lastFontFamily = fontFamilyList.last(); - QFont currTermFont = termWidget->getTerminalFont(); - EXPECT_EQ(currTermFont.family(), lastFontFamily); - - //字体大小大于20时界面提示符显示会有异常 - //设置字体大小时会不停刷日志:Using a variable-width font in the terminal. This may cause performance degradation and display/alignment errors. - for (int fontSize = 5; fontSize <= 50; fontSize++) { - termWidget->setTermFontSize(fontSize); - QFont currFont = termWidget->getTerminalFont(); - EXPECT_EQ(currFont.pointSize(), fontSize); - } - -} - -TEST_F(UT_TermWidget_Test, getsetEncode) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - EXPECT_EQ(currTermPage->isVisible(), true); - - TermWidget *termWidget = currTermPage->m_currentTerm; - - QList encodeList; - encodeList << "UTF-8" << "GB18030" << "GB2312" << "GBK" /*简体中文*/ - << "BIG5" << "BIG5-HKSCS" //<< "EUC-TW" /*繁体中文*/ - << "EUC-JP" << "SHIFT_JIS" //<< "ISO-2022-JP"/*日语*/ - << "EUC-KR" //<< "ISO-2022-KR" //<< "UHC" /*韩语*/ - << "IBM864" << "ISO-8859-6" << "ARABIC" << "WINDOWS-1256" /*阿拉伯语*/ - << "ISO-8859-13" << "ISO-8859-4" << "WINDOWS-1257" /*波罗的海各国语*/ - << "ISO-8859-14" /*凯尔特语*/ - << "IBM-852" << "ISO-8859-2" << "x-mac-CE" << "WINDOWS-1250" /*中欧*/ - << "IBM855" << "ISO-8859-5" << "KOI8-R" << "MAC-CYRILLIC" << "WINDOWS-1251" //<< "ISO-IR-111" /*西里尔语*/ - << "CP866" /*西里尔语或俄语*/ - << "KOI8-U" << "x-MacUkraine" /*西里尔语或乌克兰语*/ - << "ISO-8859-7" << "x-mac-GREEK" << "WINDOWS-1253" /*希腊语*/ - << "IBM862" << "ISO-8859-8-I" << "WINDOWS-1255"//<< "x-mac-HEBREW" /*希伯来语*/ - << "ISO-8859-8" /*希伯来语*/ - << "ISO-8859-10" /*北欧语*/ - << "ISO-8859-3" /*西欧语*/ - << "TIS-620" /*泰语*/ - << "IBM857" << "ISO-8859-9" << "x-mac-TURKISH" << "WINDOWS-1254" /*土耳其语*/ - << "WINDOWS-1258" //<< "TCVN" << "VISCII" /*越南语*/ - << "IBM850" << "ISO-8859-1" << "ISO-8859-15" << "x-ROMAN8" << "WINDOWS-1252"; /*西方国家*/ - - for (int i = 0; i < encodeList.size(); i++) { - QString encode = QString(encodeList.at(i)); - termWidget->setEncode(encode); - EXPECT_EQ(termWidget->encode(), encode); - qDebug() << termWidget->encode(); - - termWidget->setRemoteEncode(encode); - EXPECT_EQ(termWidget->RemoteEncode(), encode); - qDebug() << termWidget->RemoteEncode(); - } -} - - -//用于customContextMenuCall测试打桩 -void stub_showPlugin(const QString &name) -{ - Q_UNUSED(name) -} - -//用于customContextMenuCall测试打桩 -void stub_addMenuActions(const QPoint &pos) -{ - Q_UNUSED(pos) -} - -//用于customContextMenuCall测试打桩 -QAction *stub_exec(const QPoint &pos, QAction *at = nullptr) -{ - Q_UNUSED(pos) - Q_UNUSED(at) - - return nullptr; -} - -TEST_F(UT_TermWidget_Test, customContextMenuCall) -{ - Stub s; - s.set(ADDR(MainWindow, showPlugin), stub_showPlugin); - s.set(ADDR(TermWidget, addMenuActions), stub_addMenuActions); - s.set((QAction *(QMenu::*)(const QPoint &, QAction *))ADDR(QMenu, exec), stub_exec); - - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - EXPECT_EQ(currTermPage->isVisible(), true); - - TermWidget *termWidget = currTermPage->m_currentTerm; - QPoint pos(50, 50); - termWidget->customContextMenuCall(pos); - - s.reset(ADDR(MainWindow, showPlugin)); - s.reset(ADDR(TermWidget, addMenuActions)); - s.reset((QAction *(QMenu::*)(const QPoint &, QAction *))ADDR(QMenu, exec)); -} - -TEST_F(UT_TermWidget_Test, addMenuActions) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - EXPECT_EQ(currTermPage->isVisible(), true); - - TermWidget *termWidget = currTermPage->m_currentTerm; - termWidget->m_menu = new DMenu(termWidget); - - QPoint pos(50, 50); - termWidget->addMenuActions(pos); -} - -TEST_F(UT_TermWidget_Test, onSetTerminalFont) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - EXPECT_EQ(currTermPage->isVisible(), true); - - TermWidget *termWidget = currTermPage->m_currentTerm; - termWidget->m_menu = new DMenu(termWidget); - - QPoint pos(50, 50); - termWidget->onSetTerminalFont(); -} - -TEST_F(UT_TermWidget_Test, onSettingValueChanged) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - EXPECT_EQ(currTermPage->isVisible(), true); - - TermWidget *termWidget = currTermPage->m_currentTerm; - termWidget->onSettingValueChanged("basic.interface.opacity"); - termWidget->onSettingValueChanged("basic.interface.font"); - termWidget->onSettingValueChanged("basic.interface.font_size"); - termWidget->onSettingValueChanged("advanced.cursor.cursor_shape"); - termWidget->onSettingValueChanged("advanced.cursor.cursor_blink"); - termWidget->onSettingValueChanged("advanced.scroll.scroll_on_key"); - termWidget->onSettingValueChanged("advanced.cursor.auto_copy_selection"); -} - -TEST_F(UT_TermWidget_Test, search) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - EXPECT_EQ(currTermPage->isVisible(), true); - - TermWidget *termWidget = currTermPage->m_currentTerm; - termWidget->search("~", true, false); - termWidget->search("~", false, true); -} - -TEST_F(UT_TermWidget_Test, onTermWidgetReceivedData) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - EXPECT_EQ(currTermPage->isVisible(), true); - - TermWidget *termWidget = currTermPage->m_currentTerm; - termWidget->onTermWidgetReceivedData("Permission denied"); - termWidget->onExitRemoteServer(); - termWidget->onUrlActivated(QUrl(""),true); - termWidget->onWindowEffectEnabled(true); - termWidget->onWindowEffectEnabled(false); -} - -TEST_F(UT_TermWidget_Test, onTouchPadSignal) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - EXPECT_EQ(currTermPage->isVisible(), true); - - TermWidget *termWidget = currTermPage->m_currentTerm; - termWidget->onTouchPadSignal("pinch", "in", 2); - termWidget->onTouchPadSignal("pinch", "out", 2); -} - -TEST_F(UT_TermWidget_Test, wheelEvent) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - EXPECT_EQ(currTermPage->isVisible(), true); - - TermWidget *termWidget = currTermPage->m_currentTerm; - - QWheelEvent event(QPointF(QPoint(0,0)),QPointF(QPoint(0,0)),0,0,0,Qt::Horizontal); - QCoreApplication::sendEvent(termWidget,&event); -} - -bool ut_process_startDetached() -{ - return false; -} - -TEST_F(UT_TermWidget_Test, getFormatFileName) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - EXPECT_EQ(currTermPage->isVisible(), true); - - TermWidget *termWidget = currTermPage->m_currentTerm; - termWidget->onShellMessage("",true); - termWidget->onShellMessage("",false); -} - -TEST_F(UT_TermWidget_Test, showFlowMessage) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - EXPECT_EQ(currTermPage->isVisible(), true); - - TermWidget *termWidget = currTermPage->m_currentTerm; - termWidget->showFlowMessage(true); - EXPECT_EQ(termWidget->m_flowMessage->isVisible(), true); -} - -/******************************************************************************* - 1. @函数: setRemoteTabFormat - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 验证是否能正确设置term中远程标签标题格式的值 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, setRemoteTabFormat) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *termWidget = currTermPage->m_currentTerm; - QString remoteFormat = "%U"; - termWidget->setRemoteTabFormat(remoteFormat); - // 验证远程标签标签标题是否正确 - EXPECT_EQ(termWidget->m_tabFormat.remoteTabFormat, remoteFormat); - EXPECT_EQ(termWidget->getRemoteTabTitleFormat(), remoteFormat); -} - -/******************************************************************************* - 1. @函数: setTabFormat - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 验证是否能正确设置term中标签标题格式的值 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, setTabFormat) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - QString tabFormat = "%w"; - term->setTabFormat(tabFormat); - // 验证标签标签标题是否正确 - EXPECT_EQ(term->m_tabFormat.currentTabFormat, tabFormat); - EXPECT_EQ(term->getTabTitleFormat(), tabFormat); - // 若没有连接远程 - if (!term->isConnectRemote()) { - EXPECT_EQ(term->getCurrentTabTitleFormat(), tabFormat); - } -} - -/******************************************************************************* - 1. @函数: renameTabFormat - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 测试重命名标签标题格式是否正确 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, renameTabFormat) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - QString tabFormat = "%D"; - QString remoteFormat = "%h"; - term->renameTabFormat(tabFormat, remoteFormat); - // 验证标签标签标题是否正确 - EXPECT_EQ(term->m_tabFormat.currentTabFormat, tabFormat); - EXPECT_EQ(term->getTabTitleFormat(), tabFormat); - // 若没有连接远程 - if (!term->isConnectRemote()) { - EXPECT_EQ(term->getCurrentTabTitleFormat(), tabFormat); - } - // 验证远程标签标题是否正确 - EXPECT_EQ(term->m_tabFormat.remoteTabFormat, remoteFormat); - EXPECT_EQ(term->getRemoteTabTitleFormat(), remoteFormat); - EXPECT_EQ(term->m_tabFormat.isGlobal, false); -} - -/******************************************************************************* - 1. @函数: getTabTitle - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 验证获取标签标题是否正确 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, getTabTitle) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - // 有内容 - QString tabFormat = "ut_test"; - term->setTabFormat(tabFormat); - // 验证的获取的标签标题是否是给定值 - EXPECT_EQ(term->getTabTitle(), tabFormat); - // 空标签 - tabFormat = ""; - term->setTabFormat(tabFormat); - EXPECT_EQ(term->getTabTitle(), "Terminal"); - - // 设置远程标题 - QString tabTitle = "remote_current_title"; - term->m_isConnectRemote = true; - term->setRemoteTabFormat(tabTitle); - EXPECT_EQ(term->getTabTitle(), tabTitle); - // 设置非远程标题 - tabTitle = "current_title"; - term->m_isConnectRemote = false; - term->setTabFormat(tabTitle); - EXPECT_EQ(term->getTabTitle(), tabTitle); -} - -/******************************************************************************* - 1. @函数: initTabTitleArgs - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 验证初始化标签标题参数列表是否正确 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, initTabTitleArgs) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - term->initTabTitleArgs(); - // 验证初始化标签标题参数列表是否正确 - // 标签标题 - QStringList strTabArgs = TAB_ARGS.split(" "); - EXPECT_EQ(strTabArgs.count(), term->m_tabArgs.count()); - // 填充标签标题参数 - for (QString arg : strTabArgs) { - EXPECT_EQ(term->m_tabArgs.contains(arg), true); - } - // 远程标签标题 - // 参数数量是否一致 - QStringList strRemoteTabArgs = REMOTE_ARGS.split(" "); - EXPECT_EQ(strRemoteTabArgs.count(), term->m_remoteTabArgs.count()); - for (QString arg : strRemoteTabArgs) { - EXPECT_EQ(term->m_remoteTabArgs.contains(arg), true); - } - -} - -/******************************************************************************* - 1. @函数: getCurrentTabTitleFormat - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 获取的当前标签标题格式 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, getCurrentTabTitleFormat) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - // 设置远程标题 - QString tabTitle = "remote_current_title"; - term->m_isConnectRemote = true; - term->setRemoteTabFormat(tabTitle); - EXPECT_EQ(term->getCurrentTabTitleFormat(), tabTitle); - // 设置非远程标题 - tabTitle = "current_title"; - term->m_isConnectRemote = false; - term->setTabFormat(tabTitle); - EXPECT_EQ(term->getCurrentTabTitleFormat(), tabTitle); -} - -/******************************************************************************* - 1. @函数: getTabTitleFormat - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 验证获取的标签标题格式 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, getTabTitleFormat) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - // 设置标签标题 - QString tabTitle = "tab_title"; - term->setTabFormat(tabTitle); - EXPECT_EQ(term->getTabTitleFormat(), tabTitle); -} - -/******************************************************************************* - 1. @函数: getRemoteTabTitleFormat - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 验证获取远程标签标题格式 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, getRemoteTabTitleFormat) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - // 设置远程标签标题 - QString remoteTabTitle = "remote_tab_title"; - term->setRemoteTabFormat(remoteTabTitle); - EXPECT_EQ(term->getRemoteTabTitleFormat(), remoteTabTitle); -} - -/******************************************************************************* - 1. @函数: showShellMessage - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 验证shell消息报错弹窗是否正常显示 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, showShellMessage) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - // 设置远程标签标题 - QString shellWarning = "shell message"; - term->showShellMessage(shellWarning); - // 获取DFloatingMessage - QList list = term->findChildren(); - QString strShellMessage; - // 获取label的提示信息 - for (DFloatingMessage *msg : list) { - QList lst = msg->findChildren(); - for (QLabel *label : lst) { - strShellMessage = label->text(); - } - } - EXPECT_EQ(strShellMessage, shellWarning); -} - -/******************************************************************************* - 1. @函数: setEncode - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 测试setEncode接口是否正常使用 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, setEncode) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - // 设置编码 - QString encode = "GBK"; - term->setEncode(encode); - EXPECT_EQ(term->encode(), encode); - EXPECT_EQ(term->m_encode, encode); - // 切换编码 - encode = "UTF-8"; - term->setEncode(encode); - EXPECT_EQ(term->encode(), encode); - EXPECT_EQ(term->m_encode, encode); -} - -/******************************************************************************* - 1. @函数: encode - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 测试获取encode接口是否获取争取的值 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, encode) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - // 测试函数修改是否获取正确的值 - QString encode = "GBK"; - term->setEncode(encode); - EXPECT_EQ(term->encode(), encode); - // 测试直接修改变量是否获取正确的值 - encode = "UTF-8"; - term->m_encode = encode; - EXPECT_EQ(term->encode(), encode); -} - -/******************************************************************************* - 1. @函数: setEncode - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 测试setRemoteEncode接口是否正常使用 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, setRemoteEncode) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - // 设置远程编码 - QString remoteEncode = "GBK"; - term->setRemoteEncode(remoteEncode); - EXPECT_EQ(term->RemoteEncode(), remoteEncode); - EXPECT_EQ(term->m_remoteEncode, remoteEncode); - // 切换编码 - remoteEncode = "UTF-8"; - term->setRemoteEncode(remoteEncode); - EXPECT_EQ(term->RemoteEncode(), remoteEncode); - EXPECT_EQ(term->m_remoteEncode, remoteEncode); -} - -/******************************************************************************* - 1. @函数: RemoteEncode - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 测试获取远程encode接口是否获取争取的值 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, RemoteEncode) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - // 测试函数修改是否获取正确的值 - QString remoteEncode = "GBK"; - term->setRemoteEncode(remoteEncode); - term->getFilePath("/"); - EXPECT_EQ(term->RemoteEncode(), remoteEncode); - // 测试直接修改变量是否获取正确的值 - remoteEncode = "UTF-8"; - term->m_remoteEncode = remoteEncode; - EXPECT_EQ(term->RemoteEncode(), remoteEncode); -} - -/******************************************************************************* - 1. @函数: modifyRemoteTabTitle - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 验证修改远程标签标题参数 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, modifyRemoteTabTitle) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - // 初始化测试数据 - ServerConfig serverConfig; - serverConfig.m_address = "127.0.0.1"; - serverConfig.m_userName = "uos"; - serverConfig.m_serverName = "ut_test"; - // 参数传入 - term->modifyRemoteTabTitle(serverConfig); - // 验证是否正确 - // 远程主机名 - EXPECT_EQ(term->m_remoteTabArgs[REMOTE_HOST_NAME], serverConfig.m_address); - // 用户名 %u - EXPECT_EQ(term->m_remoteTabArgs[USER_NAME], serverConfig.m_userName); - // 用户名@ %U - EXPECT_EQ(term->m_remoteTabArgs[USER_NAME_L], serverConfig.m_userName + QString("@")); -} - -/******************************************************************************* - 1. @函数: setIsConnectRemote - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 测试接口是否能够正确设置变量值 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, setIsConnectRemote) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - // 设置远程变量状态 - term->setIsConnectRemote(true); - // 验证是否正确 - EXPECT_EQ(term->isConnectRemote(), true); - EXPECT_EQ(term->m_isConnectRemote, true); - // 设置远程变量状态 - term->setIsConnectRemote(false); - // 验证是否正确 - EXPECT_EQ(term->isConnectRemote(), false); - EXPECT_EQ(term->m_isConnectRemote, false); -} - -/******************************************************************************* - 1. @函数: isConnectRemote - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 是否连接远程 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, isConnectRemote) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - // 通过函数设置远程变量状态 - term->setIsConnectRemote(true); - // 验证是否正确 - EXPECT_EQ(term->isConnectRemote(), true); - // 设置远程变量状态 - term->m_isConnectRemote = false; - // 验证是否正确 - EXPECT_EQ(term->isConnectRemote(), false); -} - -/******************************************************************************* - 1. @函数: selectEncode - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-03 - 4. @说明: 验证在连接远程和未连接远程状态下,修改编码是否正确 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, selectEncode) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - // 设置连接远程 - term->setIsConnectRemote(true); - // 编码变量 - QString encode = "GBK"; - // 设置编码 - term->selectEncode(encode); - // 此时远程编码应该和设置的编码一致 - EXPECT_EQ(term->RemoteEncode(), encode); - // 设置断开远程 - term->setIsConnectRemote(false); - // 改变编码 - encode = "BIG5"; - term->selectEncode(encode); - // 此时当前编码和设置的编码一致 - EXPECT_EQ(term->encode(), encode); -} - -/******************************************************************************* - 1. @函数: onTitleArgsChange - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-14 - 4. @说明: 测试标签标题变化 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, onTitleArgsChange) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - // %D %d - // 第一种情况 - term->onTitleArgsChange(DIR_L, "~"); - QString longDir = term->m_tabArgs[DIR_L]; - QString shortDir = term->m_tabArgs[DIR_S]; - EXPECT_EQ(longDir, "~"); - EXPECT_EQ(shortDir, QDir::homePath().split("/").last()); - // 第二种情况 - term->onTitleArgsChange(DIR_L, QDir::homePath()); - longDir = term->m_tabArgs[DIR_L]; - shortDir = term->m_tabArgs[DIR_S]; - EXPECT_EQ(longDir, "~"); - EXPECT_EQ(shortDir, QDir::homePath().split("/").last()); - // 第三种情况 - term->onTitleArgsChange(DIR_L, "/"); - longDir = term->m_tabArgs[DIR_L]; - shortDir = term->m_tabArgs[DIR_S]; - EXPECT_EQ(longDir, QString("/")); - EXPECT_EQ(shortDir, QString("/")); - // 一般情况 - term->onTitleArgsChange(DIR_L, "/home/777/aaa"); - longDir = term->m_tabArgs[DIR_L]; - shortDir = term->m_tabArgs[DIR_S]; - EXPECT_EQ(longDir, QString("/home/777/aaa")); - EXPECT_EQ(shortDir, QString("aaa")); - - // %h - term->onTitleArgsChange(LOCAL_HOST_NAME, "dzw"); - QString localHostName = term->m_tabArgs[LOCAL_HOST_NAME]; - EXPECT_EQ(localHostName, "dzw"); -} - -/******************************************************************************* - 1. @函数: onHostnameChanged - 2. @作者: ut000610 戴正文 - 3. @日期: 2020-12-14 - 4. @说明: 更新当前主机名 -*******************************************************************************/ -TEST_F(UT_TermWidget_Test, onHostnameChanged) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - // 获取当前主机名 - QString hostName = QHostInfo::localHostName(); - term->onHostnameChanged(); - QString result = term->m_tabArgs[LOCAL_HOST_NAME]; - EXPECT_EQ(hostName, result); -} - -TEST_F(UT_TermWidget_Test, onHorizontalSplit) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - int oldCount = currTermPage->getTerminalCount(); - term->onHorizontalSplit(); - QTest::qWait(1000); - EXPECT_TRUE(currTermPage->getTerminalCount() == (oldCount + 1)); -} - -TEST_F(UT_TermWidget_Test, onVerticalSplit) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - int oldCount = currTermPage->getTerminalCount(); - term->onVerticalSplit(); - QTest::qWait(1000); - EXPECT_TRUE(currTermPage->getTerminalCount() == (oldCount + 1)); -} - -TEST_F(UT_TermWidget_Test, onCloseCurrWorkSpace) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - term->onVerticalSplit(); - QTest::qWait(1000); - int oldCount = currTermPage->getTerminalCount(); - term->onCloseCurrWorkSpace(); - qDebug() << currTermPage->getTerminalCount() <getTerminalCount() < oldCount); -} - -TEST_F(UT_TermWidget_Test, onCloseOtherWorkSpaces) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - term->onCloseOtherWorkSpaces(); - EXPECT_TRUE(currTermPage->getTerminalCount() == 1); -} - -TEST_F(UT_TermWidget_Test, onCreateNewTab) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - ASSERT_TRUE(term->parentPage()); - ASSERT_TRUE(term->parentPage()->parentMainWindow()); - int oldCount = term->parentPage()->parentMainWindow()->m_tabbar->count(); - term->onCreateNewTab(); - int newCount = term->parentPage()->parentMainWindow()->m_tabbar->count(); - EXPECT_TRUE(newCount == (oldCount + 1)); -} - -TEST_F(UT_TermWidget_Test, onSwitchFullScreen) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - ASSERT_TRUE(term->parentPage()); - ASSERT_TRUE(term->parentPage()->parentMainWindow()); - - term->onSwitchFullScreen(); - EXPECT_TRUE(term->parentPage()->parentMainWindow()->windowState().testFlag(Qt::WindowFullScreen)); -} - -TEST_F(UT_TermWidget_Test, openBing) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - UT_STUB_QURL_ISVALID_CREATE; - term->openBing(); - EXPECT_TRUE(UT_STUB_QURL_ISVALID_RESULT); -} - -TEST_F(UT_TermWidget_Test, openBaidu) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - UT_STUB_QURL_ISVALID_CREATE; - term->openBaidu(); - EXPECT_TRUE(UT_STUB_QURL_ISVALID_RESULT); -} - -TEST_F(UT_TermWidget_Test, openGithub) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - UT_STUB_QURL_ISVALID_CREATE; - term->openGithub(); - EXPECT_TRUE(UT_STUB_QURL_ISVALID_RESULT); -} - -TEST_F(UT_TermWidget_Test, openStackOverflow) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - UT_STUB_QURL_ISVALID_CREATE; - term->openStackOverflow(); - EXPECT_TRUE(UT_STUB_QURL_ISVALID_RESULT); -} - - -TEST_F(UT_TermWidget_Test, onShowSearchBar) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - ASSERT_TRUE(term->parentPage()); - ASSERT_TRUE(term->parentPage()->parentMainWindow()); - term->onShowSearchBar(); - EXPECT_TRUE(term->parentPage()->parentMainWindow()->m_CurrentShowPlugin == MainWindow::PLUGIN_TYPE_SEARCHBAR); -} - -TEST_F(UT_TermWidget_Test, onShowEncoding) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - ASSERT_TRUE(term->parentPage()); - ASSERT_TRUE(term->parentPage()->parentMainWindow()); - term->onShowEncoding(); - EXPECT_TRUE(term->parentPage()->parentMainWindow()->m_CurrentShowPlugin == MainWindow::PLUGIN_TYPE_ENCODING); -} - -TEST_F(UT_TermWidget_Test, onShowCustomCommands) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - ASSERT_TRUE(term->parentPage()); - ASSERT_TRUE(term->parentPage()->parentMainWindow()); - term->onShowCustomCommands(); - EXPECT_TRUE(term->parentPage()->parentMainWindow()->m_CurrentShowPlugin == MainWindow::PLUGIN_TYPE_CUSTOMCOMMAND); -} - -TEST_F(UT_TermWidget_Test, onShowRemoteManagement) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - ASSERT_TRUE(term->parentPage()); - ASSERT_TRUE(term->parentPage()->parentMainWindow()); - term->onShowRemoteManagement(); - EXPECT_TRUE(term->parentPage()->parentMainWindow()->m_CurrentShowPlugin == MainWindow::PLUGIN_TYPE_REMOTEMANAGEMENT); -} - - -TEST_F(UT_TermWidget_Test, onUploadFile) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - ASSERT_TRUE(term->parentPage()); - ASSERT_TRUE(term->parentPage()->parentMainWindow()); - UT_STUB_QDIALOG_OPEN_CREATE; - term->onUploadFile(); - EXPECT_TRUE(UT_STUB_QDIALOG_OPEN_RESULT); -} - -TEST_F(UT_TermWidget_Test, onDownloadFile) -{ - // 获取当前term - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - TermWidget *term = currTermPage->m_currentTerm; - - ASSERT_TRUE(term->parentPage()); - ASSERT_TRUE(term->parentPage()->parentMainWindow()); - UT_STUB_QDIALOG_OPEN_CREATE; - term->onDownloadFile(); - EXPECT_TRUE(UT_STUB_QDIALOG_OPEN_RESULT); -} - -#endif diff --git a/tests/src/views/ut_termwidget_test.h b/tests/src/views/ut_termwidget_test.h deleted file mode 100644 index 36815c6e6..000000000 --- a/tests/src/views/ut_termwidget_test.h +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_TERMWIDGET_TEST_H -#define UT_TERMWIDGET_TEST_H - -#include "ut_defines.h" -#include "termproperties.h" - -#include - -class MainWindow; -class UT_TermWidget_Test : public ::testing::Test -{ -public: - UT_TermWidget_Test(); - - ~UT_TermWidget_Test(); - -private: - //普通窗口 - MainWindow *m_normalWindow = nullptr; - - TermProperties m_normalTermProperty; -}; - -#endif // UT_TERMWIDGET_TEST_H - diff --git a/tests/src/views/ut_termwidgetpage_test.cpp b/tests/src/views/ut_termwidgetpage_test.cpp deleted file mode 100644 index 7ce28fc30..000000000 --- a/tests/src/views/ut_termwidgetpage_test.cpp +++ /dev/null @@ -1,468 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_termwidgetpage_test.h" -#include "termwidgetpage.h" -#include "termwidget.h" -#include "service.h" -#include "TerminalDisplay.h" -#include "../stub.h" -#include "ut_stub_defines.h" -#include "ColorScheme.h" - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include -#include -#include -#include - -UT_TermWidgetPage_Test::UT_TermWidgetPage_Test() -{ - if (!Service::instance()->property("isServiceInit").toBool()) { - Service::instance()->setProperty("isServiceInit", true); - } - - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); -} - -UT_TermWidgetPage_Test::~UT_TermWidgetPage_Test() -{ - delete m_normalWindow; -} - -#ifdef UT_TERMWIDGETPAGE_TEST - -//void stub_toggleShowSearchBar() -//{ -//} - -void stub_focusCurrentPage_TermWidgetPage() -{ -} - -TEST_F(UT_TermWidgetPage_Test, TermWidgetPageTest) -{ - QMainWindow mainWin; - mainWin.resize(800, 600); - mainWin.setAttribute(Qt::WA_TranslucentBackground); - mainWin.show(); - - TermProperties termProperty; - termProperty[QuakeMode] = false; - termProperty[SingleFlag] = true; - - //需要将控件放在一个QMainWindow中,否则无法看到正确的透明度调节效果 - TermWidgetPage termWidgetPage(termProperty, &mainWin); - termWidgetPage.resize(mainWin.size().width(), mainWin.size().height()); - termWidgetPage.show(); - - TermWidget *currTermWidget = termWidgetPage.m_currentTerm; - EXPECT_NE(currTermWidget, nullptr); - - //设置透明度,提示符会出现异常,且显示2个光标 - for (qreal opacity = 0.01; opacity <= 1.0; opacity += 0.01) { - termWidgetPage.setTerminalOpacity(opacity); - } - - QStringList fontFamilyList; - fontFamilyList << "Courier 10 Pitch" << "DejaVu Sans Mono" << "Liberation Mono" - << "Noto Mono" << "Noto Sans Mono" << "Noto Sans Mono CJK JP" - << "Noto Sans Mono CJK KR" << "Noto Sans Mono CJK SC" - << "Noto Sans Mono CJK TC"; - for (int i = 0; i < fontFamilyList.size(); i++) { - QString fontFamily = fontFamilyList.at(i); - termWidgetPage.setFont(fontFamily); - QFont currFont = currTermWidget->getTerminalFont(); - EXPECT_EQ(currFont.family(), fontFamily); - } - - QString lastFontFamily = fontFamilyList.last(); - QFont currTermFont = currTermWidget->getTerminalFont(); - EXPECT_EQ(currTermFont.family(), lastFontFamily); - - //字体大小大于20时界面提示符显示会有异常 - //设置字体大小时会不停刷日志:Using a variable-width font in the terminal. This may cause performance degradation and display/alignment errors. - for (int fontSize = 5; fontSize <= 50; fontSize++) { - termWidgetPage.setFontSize(fontSize); - QFont currFont = currTermWidget->getTerminalFont(); - EXPECT_EQ(currFont.pointSize(), fontSize); - } -} - -TEST_F(UT_TermWidgetPage_Test, TermWidgetPageTest2) -{ - TermProperties termProperty; - termProperty[QuakeMode] = false; - termProperty[SingleFlag] = true; - - TermWidgetPage termWidgetPage(termProperty, nullptr); - termWidgetPage.resize(800, 600); - termWidgetPage.show(); - - TermWidget *currTermWidget = termWidgetPage.m_currentTerm; - EXPECT_NE(currTermWidget, nullptr); - - enum class KeyboardCursorShape { - BlockCursor = 0, - UnderlineCursor = 1, - IBeamCursor = 2 - }; - - Konsole::TerminalDisplay *termDisplay = currTermWidget->m_termDisplay; - EXPECT_NE(termDisplay, nullptr); - - //改光标形状 - Konsole::Emulation::KeyboardCursorShape blockShape = Konsole::Emulation::KeyboardCursorShape::BlockCursor; - Konsole::Emulation::KeyboardCursorShape underlineShape = Konsole::Emulation::KeyboardCursorShape::UnderlineCursor; - Konsole::Emulation::KeyboardCursorShape ibeamShape = Konsole::Emulation::KeyboardCursorShape::IBeamCursor; - - termWidgetPage.setcursorShape(static_cast(blockShape)); - EXPECT_EQ(blockShape, termDisplay->_cursorShape); - - termWidgetPage.setcursorShape(static_cast(underlineShape)); - EXPECT_EQ(underlineShape, termDisplay->_cursorShape); - - termWidgetPage.setcursorShape(static_cast(ibeamShape)); - EXPECT_EQ(ibeamShape, termDisplay->_cursorShape); - -} - -bool ut_term_hasRunningProcesses() -{ - return true; -} - -TEST_F(UT_TermWidgetPage_Test, TermWidgetPageTest3) -{ - NormalWindow w(TermProperties("/")); - TermWidgetPage *currTermPage = w.currentPage(); - - ASSERT_TRUE(currTermPage->getTerminalCount() == 1); - //测试分屏 - currTermPage->split(Qt::Orientation::Vertical); - EXPECT_TRUE(currTermPage->getTerminalCount() == 2); - //测试分屏 - currTermPage->split(Qt::Orientation::Horizontal); - EXPECT_TRUE(currTermPage->getTerminalCount() == 3); - //测试关闭分屏 - currTermPage->closeSplit(currTermPage->currentTerminal(), true); - EXPECT_TRUE(currTermPage->getTerminalCount() == 2); - - //关闭执行命令中的分屏,并且点取消 - Stub stub; - stub.set(ADDR(TermWidget,hasRunningProcess),ut_term_hasRunningProcesses); - UT_STUB_QWIDGET_SHOW_APPEND; - currTermPage->closeSplit(currTermPage->currentTerminal(), false); - EXPECT_TRUE(currTermPage->getTerminalCount() == 2); - EXPECT_TRUE(UT_STUB_QWIDGET_SHOW_RESULT); -} - -TEST_F(UT_TermWidgetPage_Test, showRenameTitleDialog) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - currTermPage->showRenameTitleDialog(); - - EXPECT_EQ((currTermPage->m_renameDlg != nullptr), true); -} - -TEST_F(UT_TermWidgetPage_Test, setParentMainWindow) -{ - TermProperties termProperty; - termProperty[QuakeMode] = false; - termProperty[SingleFlag] = true; - - TermWidgetPage termWidgetPage(termProperty, nullptr); - termWidgetPage.resize(800, 600); - termWidgetPage.show(); - - termWidgetPage.setParentMainWindow(m_normalWindow); - EXPECT_TRUE(termWidgetPage.m_MainWindow == m_normalWindow); -} - -bool ut_showExitUninstallConfirmDialog(){ - return false; -} - -TEST_F(UT_TermWidgetPage_Test, handleUninstallTerminal) -{ - TermProperties termProperty; - termProperty[QuakeMode] = false; - termProperty[SingleFlag] = true; - - TermWidgetPage termWidgetPage(termProperty, m_normalWindow); - termWidgetPage.resize(800, 600); - termWidgetPage.show(); - Stub stub; - stub.set(ADDR(MainWindow,hasRunningProcesses),ut_term_hasRunningProcesses); - stub.set(ADDR(Utils,showExitUninstallConfirmDialog),ut_showExitUninstallConfirmDialog); - EXPECT_TRUE(!termWidgetPage.handleUninstallTerminal("")); -} - -int ut_runningTerminalCount() -{ - return 5; -} - -TEST_F(UT_TermWidgetPage_Test, closeOtherTerminal) -{ - NormalWindow w(TermProperties("/")); - TermWidgetPage *currTermPage = w.currentPage(); - - ASSERT_TRUE(currTermPage->getTerminalCount() == 1); - //测试分屏 - currTermPage->split(Qt::Orientation::Vertical); - EXPECT_TRUE(currTermPage->getTerminalCount() == 2); - - Stub stub; - stub.set(ADDR(TermWidgetPage,runningTerminalCount),ut_runningTerminalCount); - currTermPage->closeOtherTerminal(true); - EXPECT_TRUE(currTermPage->getTerminalCount() == 1); -} - -static bool ut_terminalDisplay_update_hasRunned = false; -static void ut_terminalDisplay_update() -{ - ut_terminalDisplay_update_hasRunned = true; -} -TEST_F(UT_TermWidgetPage_Test, setColorScheme) -{ - TermProperties termProperty; - termProperty[QuakeMode] = false; - termProperty[SingleFlag] = true; - - TermWidgetPage termWidgetPage(termProperty, nullptr); - Stub stub; - stub.set((void (QWidget::*)())ADDR(QWidget, update), ut_terminalDisplay_update); - ut_terminalDisplay_update_hasRunned = false; - termWidgetPage.setColorScheme("Light"); - EXPECT_TRUE(ut_terminalDisplay_update_hasRunned); - - ut_terminalDisplay_update_hasRunned = false; - termWidgetPage.setColorScheme("Dark"); - EXPECT_TRUE(ut_terminalDisplay_update_hasRunned); -} - -bool ut_isQuakeMode() -{ - return true; -} - -int ut_height() -{ - return 200; -} - -TEST_F(UT_TermWidgetPage_Test, showSearchBar) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - ASSERT_TRUE(currTermPage); - - EXPECT_TRUE(currTermPage->m_findBar->isVisible() == false); - Stub stub; - stub.set(ADDR(MainWindow,isQuakeMode),ut_isQuakeMode); - currTermPage->showSearchBar(SearchBar_Show); - EXPECT_TRUE(currTermPage->m_findBar->isVisible()); - stub.set(ADDR(QWidget,height),ut_height); - currTermPage->showSearchBar(SearchBar_FocusOut); - EXPECT_TRUE(currTermPage->m_findBar->hasFocus() == false); - currTermPage->showSearchBar(SearchBar_Hide); - EXPECT_TRUE(currTermPage->m_findBar->isVisible() == false); -} - -bool ut_focusNavigation_contains() -{ - return true; -} - -TEST_F(UT_TermWidgetPage_Test, focusNavigation) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - - Stub stub; - stub.set((bool(QRect::*)(const QPoint &, bool) const)ADDR(QRect,contains),ut_focusNavigation_contains); - UT_STUB_QWIDGET_SETFOCUS_APPEND; - currTermPage->focusNavigation(Qt::TopEdge); - EXPECT_TRUE(UT_STUB_QWIDGET_SETFOCUS_RESULT); -} - -TEST_F(UT_TermWidgetPage_Test, setBlinkingCursor) -{ - TermProperties termProperty; - termProperty[QuakeMode] = false; - termProperty[SingleFlag] = true; - - TermWidgetPage termWidgetPage(termProperty, nullptr); - termWidgetPage.resize(800, 600); - termWidgetPage.show(); - - UT_STUB_QWIDGET_UPDATES_CREATE; - termWidgetPage.setBlinkingCursor(false); - EXPECT_TRUE(UT_STUB_QWIDGET_UPDATES_RESULT); - - UT_STUB_QWIDGET_UPDATES_PREPARE; - termWidgetPage.setBlinkingCursor(true); - EXPECT_TRUE(UT_STUB_QWIDGET_UPDATES_RESULT); -} - -TEST_F(UT_TermWidgetPage_Test, setPressingScroll) -{ - TermProperties termProperty; - termProperty[QuakeMode] = false; - termProperty[SingleFlag] = true; - - TermWidgetPage termWidgetPage(termProperty, nullptr); - termWidgetPage.resize(800, 600); - termWidgetPage.show(); - - TerminalDisplay *display = termWidgetPage.findChild(); - ASSERT_TRUE(display); - termWidgetPage.setPressingScroll(false); - EXPECT_TRUE(display->motionAfterPasting() == 0); - - termWidgetPage.setPressingScroll(true); - EXPECT_TRUE(display->motionAfterPasting() == 2); -} - -TEST_F(UT_TermWidgetPage_Test, handleTabRenameDlgFinished) -{ - TermProperties termProperty; - termProperty[QuakeMode] = false; - termProperty[SingleFlag] = true; - - TermWidgetPage termWidgetPage(termProperty, nullptr); - termWidgetPage.resize(800, 600); - termWidgetPage.show(); - - Stub s; - s.set(ADDR(MainWindow, focusCurrentPage), stub_focusCurrentPage_TermWidgetPage); - - termWidgetPage.handleTabRenameDlgFinished(); - EXPECT_TRUE(termWidgetPage.m_renameDlg == nullptr); -} - -TEST_F(UT_TermWidgetPage_Test, onTermRequestRenameTab) -{ - TermProperties termProperty; - termProperty[QuakeMode] = false; - termProperty[SingleFlag] = true; - - TermWidgetPage termWidgetPage(termProperty, nullptr); - termWidgetPage.resize(800, 600); - termWidgetPage.show(); - - termWidgetPage.onTermRequestRenameTab(QStringLiteral("")); - EXPECT_TRUE(termWidgetPage.property("TAB_CUSTOM_NAME_PROPERTY").toBool() == false); - - termWidgetPage.onTermRequestRenameTab(QStringLiteral("tab001")); - EXPECT_TRUE(termWidgetPage.property("TAB_CUSTOM_NAME_PROPERTY").toBool() == true); -} - -TEST_F(UT_TermWidgetPage_Test, onTermClosed) -{ - TermProperties termProperty; - termProperty[QuakeMode] = false; - termProperty[SingleFlag] = true; - - TermWidgetPage termWidgetPage(termProperty, nullptr); - termWidgetPage.resize(800, 600); - termWidgetPage.show(); - - int oldCount = termWidgetPage.getTerminalCount(); - //closeSplit在其他地方已经调用,此处仅仅实现sender = null的情况 - termWidgetPage.onTermClosed(); - EXPECT_TRUE(oldCount == termWidgetPage.getTerminalCount()); -} - -TermWidgetPage *stub_currentPage() -{ - return nullptr; -} - -static const QString ut_termwidgetpage_identifier() -{ - return ""; -} -TEST_F(UT_TermWidgetPage_Test, slotQuakeHidePlugin) -{ - Stub stub; - stub.set(ADDR(TermWidgetPage, identifier), ut_termwidgetpage_identifier); - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - emit m_normalWindow->quakeHidePlugin(); - QTest::qWait(1000); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - ASSERT_TRUE(currTermPage); - EXPECT_TRUE(currTermPage->m_findBar->isHidden()); -} - -TEST_F(UT_TermWidgetPage_Test, handleLeftMouseClick) -{ - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - - TermWidgetPage *currTermPage = m_normalWindow->currentPage(); - currTermPage->handleLeftMouseClick(); - EXPECT_TRUE(m_normalWindow->m_CurrentShowPlugin == MainWindow::PLUGIN_TYPE_NONE); -} - -TEST_F(UT_TermWidgetPage_Test, setTextCodec) -{ - TermProperties termProperty; - termProperty[QuakeMode] = false; - termProperty[SingleFlag] = true; - - TermWidgetPage termWidgetPage(termProperty, nullptr); - termWidgetPage.resize(800, 600); - termWidgetPage.show(); - - Session *session = termWidgetPage.findChild(); - ASSERT_TRUE(session); - ASSERT_TRUE(session->emulation()); - - termWidgetPage.setTextCodec(QTextCodec::codecForName("UTF-8")); - EXPECT_TRUE(session->emulation()->_codec->name() == "UTF-8"); -} - -#endif - -class UT_ThemePreviewArea_Test : public ::testing::Test -{ -public: - void SetUp() - { - m_area = new ThemePreviewArea; - } - void TearDown() - { - delete m_area; - } - ThemePreviewArea *m_area = nullptr; -}; - -TEST_F(UT_ThemePreviewArea_Test, ut_paintEvent) -{ - m_area->setPs1Color(Qt::red); - m_area->setPs2Color(Qt::red); - m_area->setBackgroundColor(Qt::red); - m_area->setForegroundgroundColor(Qt::red); - - EXPECT_TRUE(m_area->grab().isNull() == false); -} diff --git a/tests/src/views/ut_termwidgetpage_test.h b/tests/src/views/ut_termwidgetpage_test.h deleted file mode 100644 index 7ffede8bd..000000000 --- a/tests/src/views/ut_termwidgetpage_test.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_TERMWIDGETPAGE_TEST_H -#define UT_TERMWIDGETPAGE_TEST_H - -#include "ut_defines.h" -#include "termproperties.h" - -#include - -class Service; -class MainWindow; -class TermProperties; - -class UT_TermWidgetPage_Test : public ::testing::Test -{ -public: - UT_TermWidgetPage_Test(); - - ~UT_TermWidgetPage_Test(); - -private: - Service *m_service = nullptr; - - //普通窗口 - MainWindow *m_normalWindow = nullptr; - - TermProperties m_normalTermProperty; -}; - -#endif // UT_TERMWIDGETPAGE_TEST_H - diff --git a/tests/src/views/ut_titlebar_test.cpp b/tests/src/views/ut_titlebar_test.cpp deleted file mode 100644 index fc0949d5d..000000000 --- a/tests/src/views/ut_titlebar_test.cpp +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#include "ut_titlebar_test.h" - -#include "titlebar.h" -#include "tabbar.h" -#include "mainwindow.h" -#include "service.h" -#include "../stub.h" - -//Qt单元测试相关头文件 -#include -#include -#include -#include -#include -#include - -DWIDGET_USE_NAMESPACE - -UT_TitleBar_Test::UT_TitleBar_Test() -{ - if (!Service::instance()->property("isServiceInit").toBool()) { - Service::instance()->setProperty("isServiceInit", true); - } - - m_normalTermProperty[QuakeMode] = false; - m_normalTermProperty[SingleFlag] = true; - m_normalWindow = new NormalWindow(m_normalTermProperty, nullptr); -} - -UT_TitleBar_Test::~UT_TitleBar_Test() -{ - delete m_normalWindow; -} - -#ifdef UT_TITLEBAR_TEST - -bool ut_isDXcbPlatform() -{ - return true; -} - -TEST_F(UT_TitleBar_Test, TitleBarTest) -{ - Stub stub; - stub.set(ADDR(DApplication,isDXcbPlatform),ut_isDXcbPlatform); - TitleBar *bar = new TitleBar(nullptr); - delete bar; - m_normalWindow->resize(800, 600); - m_normalWindow->show(); - EXPECT_EQ(m_normalWindow->isVisible(), true); - - DTitlebar *dtkTitleBar = m_normalWindow->titlebar(); - TitleBar *titleBar = qobject_cast(dtkTitleBar->customWidget()); - EXPECT_NE(titleBar, nullptr); - EXPECT_EQ(titleBar->isVisible(), true); - - //清空titleBar布局 - QHBoxLayout *titleBarLayout = titleBar->m_layout; - QLayoutItem *child; - while ((child = titleBarLayout->takeAt(0)) != nullptr) { - if (child->widget()) { - child->widget()->setParent(nullptr); - } - delete child; - } - - TabBar tabbar; - tabbar.resize(800, 50); - tabbar.show(); - EXPECT_EQ(tabbar.isVisible(), true); - - int tabHeight = 36; - tabbar.setTabHeight(tabHeight); - EXPECT_EQ(tabbar.height(), 36); - - QString tabName = QString("TestTitleBar"); - QString tabIdentifier = Utils::getRandString().toLower(); - tabbar.addTab(tabIdentifier, tabName); - titleBar->setTabBar(&tabbar); - - int rightSpace = titleBar->rightSpace(); - EXPECT_EQ(rightSpace, titleBar->m_rightSpace); -} -#endif diff --git a/tests/src/views/ut_titlebar_test.h b/tests/src/views/ut_titlebar_test.h deleted file mode 100644 index c4d82da34..000000000 --- a/tests/src/views/ut_titlebar_test.h +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -// -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef UT_TITLEBAR_TEST_H -#define UT_TITLEBAR_TEST_H - -#include "ut_defines.h" -#include "termproperties.h" -#include - -class MainWindow; -class UT_TitleBar_Test : public ::testing::Test -{ -public: - UT_TitleBar_Test(); - ~UT_TitleBar_Test(); - -private: - //普通窗口 - MainWindow *m_normalWindow = nullptr; - - TermProperties m_normalTermProperty; -}; - -#endif // UT_TITLEBAR_TEST_H - diff --git a/tests/test-prj-running.sh b/tests/test-prj-running.sh deleted file mode 100644 index e29b4a744..000000000 --- a/tests/test-prj-running.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -# SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. -# -# SPDX-License-Identifier: GPL-3.0-or-later - -builddir=build -reportdir=build-ut -rm -r $builddir -rm -r ../$builddir -rm -r $reportdir -rm -r ../$reportdir -mkdir ../$builddir -mkdir ../$reportdir -cd ../$builddir -#编译 -cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_SAFETYTEST_ARG="CMAKE_SAFETYTEST_ARG_ON" .. -make -j8 -#生成asan日志和ut测试xml结果 -./tests/deepin-terminal-test --gtest_output=xml:./report/report_deepin-terminal.xml - -workdir=$(cd ../$(dirname $0)/$builddir; pwd) - -mkdir -p report -#统计代码覆盖率并生成html报告 -lcov -d $workdir -c -o ./coverage.info - -lcov --extract ./coverage.info '*/src/*' -o ./coverage.info - -lcov --remove ./coverage.info '*/tests/*' -o ./coverage.info - -genhtml -o ./html ./coverage.info - -mv ./html/index.html ./html/cov_deepin-terminal.html -#对asan、ut、代码覆盖率结果收集至指定文件夹 -cp -r html ../$reportdir/ -cp -r report ../$reportdir/ -cp -r asan*.log* ../$reportdir/asan_deepin-terminal.log - -exit 0 From 40d262e8c76a8f52192ea3156966fa0ff1ca25b8 Mon Sep 17 00:00:00 2001 From: zhangkun Date: Tue, 22 Oct 2024 15:05:44 +0800 Subject: [PATCH 03/13] feat: [UI] Adapt compact mode. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cherry-pick from c8fa8c922321aedf6b71124df11ea8fc4a688380 界面适配紧凑模式切换,涉及: 标签栏 侧边弹窗 查找控件 设置界面 设置弹窗 切换紧凑模式,变更字体大小动态适应. 通过宏 DTKWIDGET_CLASS_DSizeMode 切换是否编译, 兼容低版本 DTK(<5.6.4) Bug: https://pms.uniontech.com/bug-view-279709.html --- src/common/utils.h | 13 +++ src/customcommand/customcommandoptdlg.cpp | 90 +++++++++++++++---- src/customcommand/customcommandoptdlg.h | 17 +++- src/customcommand/customcommandpanel.cpp | 1 - .../customcommandsearchrstpanel.cpp | 2 +- src/encodeplugin/encodelistview.cpp | 23 +++-- src/remotemanage/remotemanagementpanel.cpp | 4 - .../remotemanagementsearchpanel.cpp | 2 +- src/remotemanage/serverconfiggrouppanel.cpp | 1 - src/remotemanage/serverconfigoptdlg.cpp | 53 ++++++++++- src/remotemanage/serverconfigoptdlg.h | 10 ++- src/views/commonpanel.cpp | 20 +++++ src/views/customthemesettingdialog.cpp | 61 +++++++++++-- src/views/customthemesettingdialog.h | 8 ++ src/views/focusframe.cpp | 11 ++- src/views/itemwidget.cpp | 30 +++++++ src/views/itemwidget.h | 5 ++ src/views/listview.cpp | 19 ++++ src/views/listview.h | 5 ++ src/views/pagesearchbar.cpp | 53 ++++++++++- src/views/pagesearchbar.h | 17 +++- src/views/rightpanel.cpp | 41 +++++++-- src/views/tabbar.cpp | 24 ++--- src/views/tabbar.h | 7 -- src/views/tabrenamedlg.cpp | 66 ++++++++++++-- src/views/tabrenamedlg.h | 9 +- src/views/tabrenamewidget.cpp | 5 -- src/views/termwidget.h | 2 + src/views/termwidgetpage.cpp | 10 ++- src/views/termwidgetpage.h | 3 +- src/views/titlebar.cpp | 16 +++- 31 files changed, 528 insertions(+), 100 deletions(-) diff --git a/src/common/utils.h b/src/common/utils.h index 146a04fab..a6948fdd6 100644 --- a/src/common/utils.h +++ b/src/common/utils.h @@ -48,10 +48,21 @@ extern __attribute__((visibility("default"))) int __maxFontSize; #define SPACEWIDTH 10 // 控件通用高度 #define COMMONHEIGHT 36 +#define COMMONHEIGHT_COMPACT 24 // 图标大小 #define ICONSIZE_50 50 #define ICONSIZE_36 36 #define ICONSIZE_20 20 +#define ICONSIZE_40_COMPACT 40 +#define ICON_CTX_SIZE_32 32 +#define ICON_CTX_SIZE_24 24 +// 竖向分割线高度 +#define VERTICAL_HEIGHT 28 +#define VERTICAL_WIDTH 3 +#define VERTICAL_HEIGHT_COMPACT 17 +#define VERTICAL_WIDTH_COMPACT 1 +// 设置框统一宽度 +#define SETTING_DIALOG_WIDTH 459 // limit font size #define DEFAULT_MIN_FONT_SZIE 5 @@ -71,6 +82,7 @@ extern __attribute__((visibility("default"))) int __maxFontSize; #define WINDOW_DEFAULT_SIZE QSize(WINDOW_DEFAULT_WIDTH, WINDOW_DEFAULT_HEIGHT) //终端窗口默认尺寸 #define ICON_EXIT_FULL_SIZE QSize(ICONSIZE_36, ICONSIZE_36) //退出全屏按钮尺寸 #define WIN_TITLE_BAR_HEIGHT 50 //标题栏高度 +#define WIN_TITLE_BAR_HEIGHT_COMPACT 40 //标题栏高度(紧凑模式) #define WINDOW_MIN_WIDTH 610 //终端窗口最小宽度 @@ -79,6 +91,7 @@ extern __attribute__((visibility("default"))) int __maxFontSize; //Encode Plugin #define ENCODE_ITEM_WIDTH 220 #define ENCODE_ITEM_HEIGHT 60 +#define ENCODE_ITEM_HEIGHT_COMPACT 50 //字体信息 struct FontData{ diff --git a/src/customcommand/customcommandoptdlg.cpp b/src/customcommand/customcommandoptdlg.cpp index a40991a8f..6657cc3d1 100644 --- a/src/customcommand/customcommandoptdlg.cpp +++ b/src/customcommand/customcommandoptdlg.cpp @@ -21,7 +21,6 @@ #include #include #include -#include #include #include @@ -136,17 +135,19 @@ void CustomCommandOptDlg::initUI() addContent(contentFrame); //判断是添加操作窗口还是修改操作窗口 if (CCT_ADD == m_type) { - setFixedSize(m_iFixedWidth, m_iFixedHeightAddSize); setTitle(tr("Add Command")); initCommandFromClipBoardText(); +#ifdef DTKWIDGET_CLASS_DSizeMode + getMainLayout()->addSpacing(m_iSpaceSizeSeven); +#else getMainLayout()->addSpacing(m_iSpaceSizeEighteen); +#endif } else { - setFixedSize(m_iFixedWidth, m_iFixedHeightEditSize); setTitle(tr("Edit Command")); - QWidget *deleteCmdWidget = new QWidget(this); - deleteCmdWidget->setFixedHeight(m_iFixedHeight); + m_deleteCmdWidget = new QWidget(this); + m_deleteCmdWidget->setFixedHeight(m_iFixedHeight); QHBoxLayout *deleteCmdLayout = new QHBoxLayout(); deleteCmdLayout->setSpacing(m_iSpaceSizeZero); @@ -158,9 +159,9 @@ void CustomCommandOptDlg::initUI() deleteCmdLayout->addStretch(); deleteCmdLayout->addWidget(deleteCmdBtn); deleteCmdLayout->addStretch(); - deleteCmdWidget->setLayout(deleteCmdLayout); + m_deleteCmdWidget->setLayout(deleteCmdLayout); - getMainLayout()->addWidget(deleteCmdWidget); + getMainLayout()->addWidget(m_deleteCmdWidget); connect(deleteCmdBtn, &DCommandLinkButton::clicked, this, &CustomCommandOptDlg::slotDelCurCustomCommand); @@ -183,6 +184,27 @@ void CustomCommandOptDlg::initUI() m_lastCmdShortcut = m_shortCutLineEdit->keySequence().toString(); connect(this, &CustomCommandOptDlg::confirmBtnClicked, this, &CustomCommandOptDlg::slotAddSaveButtonClicked); connect(m_shortCutLineEdit, &KeySequenceEdit::editingFinished, this, &CustomCommandOptDlg::slotShortCutLineEditingFinished); + +#ifdef DTKWIDGET_CLASS_DSizeMode + updateSizeMode(); + connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::sizeModeChanged, this, &CustomCommandOptDlg::updateSizeMode); + // 字体变更时更新布局 + connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::fontChanged, this, [this](){ + if (isVisible() && layout()) { + layout()->invalidate(); + updateGeometry(); + // 根据新界面布局,刷新界面大小 + QTimer::singleShot(0, this, [=](){ resize(SETTING_DIALOG_WIDTH, minimumSizeHint().height()); }); + } + }); + +#else + if (CCT_ADD == m_type) { + setFixedSize(m_iFixedWidth, m_iFixedHeightAddSize); + } else { + setFixedSize(m_iFixedWidth, m_iFixedHeightEditSize); + } +#endif } inline void CustomCommandOptDlg::slotNameLineEditingFinished() @@ -238,7 +260,7 @@ inline void CustomCommandOptDlg::slotShortCutLineEditingFinished(const QKeySeque void CustomCommandOptDlg::initUITitle() { QVBoxLayout *mainLayout = new QVBoxLayout(); - mainLayout->setSpacing(0); + mainLayout->setSpacing(SPACEHEIGHT); mainLayout->setContentsMargins(0, 0, 0, 10); QHBoxLayout *titleLayout = new QHBoxLayout(); @@ -475,14 +497,12 @@ void CustomCommandOptDlg::addCancelConfirmButtons() m_cancelBtn = new DPushButton(this); m_cancelBtn->setObjectName("CustomCancelButton");//Add by ut001000 renfeixiang 2020-08-13 m_cancelBtn->setFixedWidth(209); - m_cancelBtn->setFixedHeight(36); m_cancelBtn->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed); m_cancelBtn->setFont(btnFont); m_confirmBtn = new DSuggestButton(this); m_confirmBtn->setObjectName("CustomConfirmButton");//Add by ut001000 renfeixiang 2020-08-13 m_confirmBtn->setFixedWidth(209); - m_confirmBtn->setFixedHeight(36); m_confirmBtn->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed); m_confirmBtn->setFont(btnFont); @@ -491,17 +511,17 @@ void CustomCommandOptDlg::addCancelConfirmButtons() setTabOrder(m_confirmBtn, m_closeButton);//设置右上角关闭按钮的tab键控制顺序 - DVerticalLine *verticalLine = new DVerticalLine(this); - DPalette pa = DPaletteHelper::instance()->palette(verticalLine); + m_verticalLine = new DVerticalLine(this); + DPalette pa = DApplicationHelper::instance()->palette(m_verticalLine); QColor splitColor = pa.color(DPalette::ItemBackground); pa.setBrush(DPalette::Background, splitColor); - verticalLine->setPalette(pa); - verticalLine->setBackgroundRole(QPalette::Background); - verticalLine->setAutoFillBackground(true); - verticalLine->setFixedSize(3, 28); + m_verticalLine->setPalette(pa); + m_verticalLine->setBackgroundRole(QPalette::Background); + m_verticalLine->setAutoFillBackground(true); + m_verticalLine->setFixedSize(3, 28); buttonsLayout->addWidget(m_cancelBtn); - buttonsLayout->addWidget(verticalLine); + buttonsLayout->addWidget(m_verticalLine); buttonsLayout->addWidget(m_confirmBtn); /************************ Add by m000743 sunchengxi 2020-04-15:默认enter回车按下,走确认校验流程 Begin************************/ m_confirmBtn->setDefault(true); @@ -621,6 +641,42 @@ inline void CustomCommandOptDlg::slotSetShortCutLineEditFocus() m_shortCutLineEdit->setFocus(); } +/** + * @brief 接收 DGuiApplicationHelper::sizeModeChanged() 信号, 根据不同的布局模式调整 + * 当前界面的布局. 只能在界面创建完成后调用. + */ +void CustomCommandOptDlg::updateSizeMode() +{ +#ifdef DTKWIDGET_CLASS_DSizeMode + if (DGuiApplicationHelper::isCompactMode()) { + m_titleBar->setFixedHeight(WIN_TITLE_BAR_HEIGHT_COMPACT); + m_logoIcon->setFixedSize(QSize(ICONSIZE_40_COMPACT, ICONSIZE_40_COMPACT)); + m_closeButton->setIconSize(QSize(ICONSIZE_40_COMPACT, ICONSIZE_40_COMPACT)); + m_verticalLine->setFixedSize(VERTICAL_WIDTH_COMPACT, VERTICAL_HEIGHT_COMPACT); + if (m_deleteCmdWidget) { + m_deleteCmdWidget->setFixedHeight(m_iFixedHeightCompact); + } + + } else { + m_titleBar->setFixedHeight(WIN_TITLE_BAR_HEIGHT); + m_logoIcon->setFixedSize(QSize(ICONSIZE_50, ICONSIZE_50)); + m_closeButton->setIconSize(QSize(ICONSIZE_50, ICONSIZE_50)); + m_verticalLine->setFixedSize(VERTICAL_WIDTH, VERTICAL_HEIGHT); + if (m_deleteCmdWidget) { + m_deleteCmdWidget->setFixedHeight(m_iFixedHeight); + } + } + + if (layout()) { + layout()->invalidate(); + } + + updateGeometry(); + // 根据新界面布局,刷新界面大小 + QTimer::singleShot(0, this, [=](){ resize(SETTING_DIALOG_WIDTH, minimumSizeHint().height()); }); +#endif +} + void CustomCommandOptDlg::addContent(QWidget *content) { Q_ASSERT(nullptr != m_contentLayout); diff --git a/src/customcommand/customcommandoptdlg.h b/src/customcommand/customcommandoptdlg.h index f73638267..98fe32b40 100644 --- a/src/customcommand/customcommandoptdlg.h +++ b/src/customcommand/customcommandoptdlg.h @@ -24,6 +24,7 @@ #include #include #include +#include #include #include @@ -203,6 +204,11 @@ private slots: void slotSetShortCutLineEditFocus(); + /** + * @brief 根据布局模式(紧凑)变更更新界面布局 + */ + void updateSizeMode(); + private: /** * @brief 初始化自定义命令操作窗口界面布局 @@ -232,8 +238,11 @@ private slots: QVBoxLayout *m_contentLayout = nullptr; QVBoxLayout *m_mainLayout = nullptr; + QWidget *m_deleteCmdWidget = nullptr; + DPushButton *m_cancelBtn = nullptr; DSuggestButton *m_confirmBtn = nullptr; + DVerticalLine *m_verticalLine = nullptr; QDialog::DialogCode m_confirmResultCode; // 快捷键冲突弹窗 @@ -247,7 +256,14 @@ private slots: const int m_iLayoutRightSize = 30; const int m_iFixedWidth = 459; +#ifdef DTKWIDGET_CLASS_DSizeMode + const int m_iFixedHeight = 34; + const int m_iFixedHeightCompact = 24; + const int m_iSpaceSizeSeven = 7; +#else const int m_iFixedHeight = 54; + const int m_iSpaceSizeEighteen = 18; +#endif const int m_iFixedHeightAddSize = 262; const int m_iFixedHeightEditSize = 296; @@ -256,7 +272,6 @@ private slots: const int m_iSpaceSizeZero = 0; const int m_iSpaceSizeTen = 10; - const int m_iSpaceSizeEighteen = 18; const int m_iSingleShotTime = 30; diff --git a/src/customcommand/customcommandpanel.cpp b/src/customcommand/customcommandpanel.cpp index 6f181ae13..891085c58 100644 --- a/src/customcommand/customcommandpanel.cpp +++ b/src/customcommand/customcommandpanel.cpp @@ -193,7 +193,6 @@ void CustomCommandPanel::initUI() m_pushButton = new DPushButton(this); m_pushButton->setObjectName("CustomAddCommandButton");//Add by ut001000 renfeixiang 2020-08-13 - m_pushButton->setFixedHeight(36); m_pushButton->setText(tr("Add Command")); m_textLabel = new DLabel(this); diff --git a/src/customcommand/customcommandsearchrstpanel.cpp b/src/customcommand/customcommandsearchrstpanel.cpp index f0a1623eb..8b02875ce 100644 --- a/src/customcommand/customcommandsearchrstpanel.cpp +++ b/src/customcommand/customcommandsearchrstpanel.cpp @@ -38,7 +38,7 @@ void CustomCommandSearchRstPanel::initUI() m_rebackButton->setObjectName("CustomRebackButton"); m_backButton = m_rebackButton; m_backButton->setIcon(DStyle::StandardPixmap::SP_ArrowLeave); - m_backButton->setFixedSize(QSize(36, 36)); + m_backButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred); m_backButton->setFocusPolicy(Qt::TabFocus); m_label = new DLabel(this); diff --git a/src/encodeplugin/encodelistview.cpp b/src/encodeplugin/encodelistview.cpp index f5f145c1b..32980aa0b 100644 --- a/src/encodeplugin/encodelistview.cpp +++ b/src/encodeplugin/encodelistview.cpp @@ -43,9 +43,6 @@ EncodeListView::EncodeListView(QWidget *parent) : DListView(parent), m_encodeMod setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn); setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); - //add by ameng 设置属性,修复BUG#20074 - setItemSize(QSize(ENCODE_ITEM_WIDTH, ENCODE_ITEM_HEIGHT)); - /***add by ut001121 zhangmeng 20200628 设置视图边距,留出空间给滚动条显示 修复BUG35378***/ setViewportMargins(MARGINS_LEFT, MARGINS_TOP, MARGINS_RIGHT, MARGINS_BOTTOM); @@ -64,6 +61,16 @@ EncodeListView::EncodeListView(QWidget *parent) : DListView(parent), m_encodeMod /** add by ut001121 zhangmeng 20200811 for sp3 Touch screen interaction */ Service::instance()->setScrollerTouchGesture(this); + +#ifdef DTKWIDGET_CLASS_DSizeMode + setItemSize(QSize(ENCODE_ITEM_WIDTH, DGuiApplicationHelper::isCompactMode() ? ENCODE_ITEM_HEIGHT_COMPACT : ENCODE_ITEM_HEIGHT)); + connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::sizeModeChanged, this, [this](){ + setItemSize(QSize(ENCODE_ITEM_WIDTH, DGuiApplicationHelper::isCompactMode() ? ENCODE_ITEM_HEIGHT_COMPACT : ENCODE_ITEM_HEIGHT)); + }); +#else + //add by ameng 设置属性,修复BUG#20074 + setItemSize(QSize(ENCODE_ITEM_WIDTH, ENCODE_ITEM_HEIGHT)); +#endif } void EncodeListView::initEncodeItems() @@ -247,12 +254,13 @@ void EncodeDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opt, option.state = option.state & (~QStyle::State_Selected); initStyleOption(&option, index); + /// Note: 实际绘制的选项框相较设置值 -10px 以达到间距,没有采用 setSpacing() 设置,存疑 // 背景区域 QRect bgRect; bgRect.setX(option.rect.x() + 1/* + 10*/); bgRect.setY(option.rect.y() + 1/* + 10*/); bgRect.setWidth(option.rect.width() - 1); - bgRect.setHeight(option.rect.height() - 10); + bgRect.setHeight(option.rect.height() - 9); // 绘画路径 QPainterPath path; @@ -301,7 +309,7 @@ void EncodeDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opt, // 绘画文本 int checkIconSize = 16; QString strCmdName = index.data().toString(); - QRect cmdNameRect = QRect(10, bgRect.top(), bgRect.width() - checkIconSize, 50); + QRect cmdNameRect = QRect(10, bgRect.top(), bgRect.width() - checkIconSize, bgRect.height()); painter->drawText(cmdNameRect, Qt::AlignLeft | Qt::AlignVCenter, strCmdName); // 绘画边框 @@ -350,6 +358,11 @@ QSize EncodeDelegate::sizeHint(const QStyleOptionViewItem &option, { Q_UNUSED(index) +#ifdef DTKWIDGET_CLASS_DSizeMode + int height = DGuiApplicationHelper::isCompactMode() ? ENCODE_ITEM_HEIGHT_COMPACT : ENCODE_ITEM_HEIGHT; + return QSize(option.rect.width() - 100, height); +#else return QSize(option.rect.width() - 100, 60); +#endif } diff --git a/src/remotemanage/remotemanagementpanel.cpp b/src/remotemanage/remotemanagementpanel.cpp index 6f5f1d0ac..ea51b9bf4 100644 --- a/src/remotemanage/remotemanagementpanel.cpp +++ b/src/remotemanage/remotemanagementpanel.cpp @@ -205,12 +205,9 @@ void RemoteManagementPanel::initUI() m_pushButton = new DPushButton(this); m_pushButton->setObjectName("RemoteAddPushButton"); - m_searchEdit->setFixedHeight(COMMONHEIGHT); m_searchEdit->setClearButtonEnabled(true); - m_addGroupButton->setFixedHeight(COMMONHEIGHT); m_addGroupButton->setText(tr("Add Group")); - m_pushButton->setFixedHeight(COMMONHEIGHT); m_pushButton->setText(tr("Add Server")); m_textLabel = new DLabel(this); @@ -296,6 +293,5 @@ void RemoteManagementPanel::initUI() qInfo() << "set focus on add search edit"; } } - }); } diff --git a/src/remotemanage/remotemanagementsearchpanel.cpp b/src/remotemanage/remotemanagementsearchpanel.cpp index 66bb4bbc5..497532d81 100644 --- a/src/remotemanage/remotemanagementsearchpanel.cpp +++ b/src/remotemanage/remotemanagementsearchpanel.cpp @@ -31,7 +31,7 @@ void RemoteManagementSearchPanel::initUI() m_rebackButton = new IconButton(this); m_rebackButton->setObjectName("RemoteSearchRebackButton"); m_rebackButton->setIcon(DStyle::StandardPixmap::SP_ArrowLeave); - m_rebackButton->setFixedSize(QSize(ICONSIZE_36, ICONSIZE_36)); + m_rebackButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred); m_rebackButton->setFocusPolicy(Qt::TabFocus); m_listWidget = new ListView(ListType_Remote, this); diff --git a/src/remotemanage/serverconfiggrouppanel.cpp b/src/remotemanage/serverconfiggrouppanel.cpp index 5e7b5f886..f5f4a4cdf 100644 --- a/src/remotemanage/serverconfiggrouppanel.cpp +++ b/src/remotemanage/serverconfiggrouppanel.cpp @@ -38,7 +38,6 @@ void ServerConfigGroupPanel::initUI() m_listWidget->setObjectName("RemoteGroupListWidget");//Add by ut001000 renfeixiang 2020-08-14 m_rebackButton->setIcon(DStyle::StandardPixmap::SP_ArrowLeave); - m_rebackButton->setFixedSize(QSize(ICONSIZE_36, ICONSIZE_36)); m_rebackButton->setObjectName("RemoteGroupRebackButton"); m_searchEdit->setFixedWidth(GROUPSEARCHWIDTH); diff --git a/src/remotemanage/serverconfigoptdlg.cpp b/src/remotemanage/serverconfigoptdlg.cpp index f5e12d4c4..20ad47db3 100644 --- a/src/remotemanage/serverconfigoptdlg.cpp +++ b/src/remotemanage/serverconfigoptdlg.cpp @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -236,12 +235,12 @@ void ServerConfigOptDlg::initUI() pa.setBrush(DPalette::ButtonText, brush); pAddSaveButton->setPalette(pa); QHBoxLayout *pBtHbLayout = new QHBoxLayout(); - DVerticalLine *line = new DVerticalLine(); - line->setFixedSize(3, 28); + m_bottomVLine = new DVerticalLine(); + m_bottomVLine->setFixedSize(3, 28); pBtHbLayout->setContentsMargins(10, 0, 10, 0); pBtHbLayout->setSpacing(9); pBtHbLayout->addWidget(pCancelButton); - pBtHbLayout->addWidget(line); + pBtHbLayout->addWidget(m_bottomVLine); pBtHbLayout->addWidget(pAddSaveButton); m_VBoxLayout->addLayout(pBtHbLayout); setLayout(m_VBoxLayout); @@ -255,6 +254,17 @@ void ServerConfigOptDlg::initUI() // 设置焦点顺序 setTabOrder(pAddSaveButton, m_closeButton); + +#ifdef DTKWIDGET_CLASS_DSizeMode + updateSizeMode(); + connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::sizeModeChanged, this, &ServerConfigOptDlg::updateSizeMode); + // 仅在紧凑模式下处理,此模式下调整字体大小可能导致布局间距存在差异。 + connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::fontChanged, this, [this](){ + if (DGuiApplicationHelper::isCompactMode()) { + QTimer::singleShot(0, this, [=](){ resize(SETTING_DIALOG_WIDTH, sizeHint().height()); }); + } + }); +#endif } inline void ServerConfigOptDlg::handleThemeTypeChanged(DGuiApplicationHelper::ColorType themeType) @@ -271,6 +281,41 @@ inline void ServerConfigOptDlg::handleThemeTypeChanged(DGuiApplicationHelper::Co m_titleLabel->setPalette(palette); } +/** + * @brief 接收 DGuiApplicationHelper::sizeModeChanged() 信号, 根据不同的布局模式调整 + * 当前界面的布局. 只能在界面创建完成后调用. + * 在此界面中调整标题栏组件、文本Label的属性,调整后修改设置框界面大小。 + */ +void ServerConfigOptDlg::updateSizeMode() +{ +#ifdef DTKWIDGET_CLASS_DSizeMode + QList labelList = findChildren(); + + if (DGuiApplicationHelper::isCompactMode()) { + for (DLabel *label : labelList) { + label->setFixedHeight(COMMONHEIGHT_COMPACT); + } + + m_iconLabel->setFixedSize(ICONSIZE_40_COMPACT, ICONSIZE_40_COMPACT); + m_closeButton->setFixedWidth(ICONSIZE_40_COMPACT); + m_closeButton->setIconSize(QSize(ICONSIZE_40_COMPACT, ICONSIZE_40_COMPACT)); + m_bottomVLine->setFixedSize(VERTICAL_WIDTH_COMPACT, VERTICAL_HEIGHT_COMPACT); + } else { + for (DLabel *label : labelList) { + label->setMinimumHeight(COMMONHEIGHT); + } + + m_iconLabel->setFixedSize(ICONSIZE_50, ICONSIZE_50); + m_closeButton->setFixedWidth(ICONSIZE_50); + m_closeButton->setIconSize(QSize(ICONSIZE_50, ICONSIZE_50)); + m_bottomVLine->setFixedSize(VERTICAL_WIDTH, VERTICAL_HEIGHT); + } + + // 根据新界面布局,刷新界面大小 + QTimer::singleShot(0, this, [=](){ resize(SETTING_DIALOG_WIDTH, sizeHint().height()); }); +#endif +} + void ServerConfigOptDlg::initData() { QList groupList = ServerConfigManager::instance()->getServerConfigs().keys(); diff --git a/src/remotemanage/serverconfigoptdlg.h b/src/remotemanage/serverconfigoptdlg.h index 68729b63e..7c122a58a 100644 --- a/src/remotemanage/serverconfigoptdlg.h +++ b/src/remotemanage/serverconfigoptdlg.h @@ -30,8 +30,7 @@ #include #include #include -#include -#include +#include #include @@ -109,6 +108,11 @@ private slots: void slotFileChooseDialog(); void handleThemeTypeChanged(DGuiApplicationHelper::ColorType themeType); + /** + * @brief 根据布局模式(紧凑)变更更新界面布局 + */ + void updateSizeMode(); + private: ServerConfigOptType m_type; ServerConfig *m_curServer = nullptr; @@ -130,6 +134,7 @@ private slots: DComboBox *m_deleteKey = nullptr; bool m_bDelOpt = false; QGridLayout *m_pGridLayout = nullptr; + DVerticalLine *m_bottomVLine = nullptr; /** * @brief 服务器配置选项初始化UI界面 @@ -167,7 +172,6 @@ private slots: * @author m000714 戴正文 */ inline void setLabelStyle(DLabel *); - }; #endif // SERVERCONFIGOPTDLG_H diff --git a/src/views/commonpanel.cpp b/src/views/commonpanel.cpp index fe4df10c7..d751bd646 100644 --- a/src/views/commonpanel.cpp +++ b/src/views/commonpanel.cpp @@ -4,14 +4,34 @@ // SPDX-License-Identifier: GPL-3.0-or-later #include "commonpanel.h" +#include "utils.h" #include +#ifdef DTKWIDGET_CLASS_DSizeMode +#include +#endif #include #include CommonPanel::CommonPanel(QWidget *parent) : QFrame(parent) { +#ifdef DTKWIDGET_CLASS_DSizeMode + // 布局模式变更时,刷新当前界面的布局,主要是按钮等高度调整等导致的效果不一致 + connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::sizeModeChanged, this, [this](){ + QRect rect = geometry(); + // 50 - 40 = 10 px + constexpr int offset = WIN_TITLE_BAR_HEIGHT - WIN_TITLE_BAR_HEIGHT_COMPACT; + // 普通转紧凑模式时增加高度,反之则降低高度 + rect.setHeight(rect.height() + DSizeModeHelper::element(offset, -offset)); + setGeometry(rect); + + if (layout()) { + layout()->invalidate(); + updateGeometry(); + } + }); +#endif } void CommonPanel::clearSearchInfo() diff --git a/src/views/customthemesettingdialog.cpp b/src/views/customthemesettingdialog.cpp index 957019908..b452464ff 100644 --- a/src/views/customthemesettingdialog.cpp +++ b/src/views/customthemesettingdialog.cpp @@ -160,7 +160,23 @@ CustomThemeSettingDialog::CustomThemeSettingDialog(QWidget *parent) : DAbstractD initUITitle(); initUI(); initTitleConnections(); + +#ifdef DTKWIDGET_CLASS_DSizeMode + setFixedWidth(SETTING_DIALOG_WIDTH); + + updateSizeMode(); + connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::sizeModeChanged, this, &CustomThemeSettingDialog::updateSizeMode); + connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::fontChanged, this, [this](){ + if (isVisible() && layout()) { + layout()->invalidate(); + updateGeometry(); + // 根据新界面布局,刷新界面大小 + QTimer::singleShot(0, this, [=](){ resize(SETTING_DIALOG_WIDTH, minimumSizeHint().height()); }); + } + }); +#else setFixedSize(459, 378); +#endif } void CustomThemeSettingDialog::initUITitle() @@ -403,7 +419,6 @@ void CustomThemeSettingDialog::addCancelConfirmButtons() QFont btnFont; m_cancelBtn = new DPushButton(this); m_cancelBtn->setFixedWidth(209); - m_cancelBtn->setFixedHeight(36); m_cancelBtn->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed); m_cancelBtn->setFont(btnFont); m_cancelBtn->setText(tr("Cancel", "button")); @@ -411,7 +426,6 @@ void CustomThemeSettingDialog::addCancelConfirmButtons() m_confirmBtn = new DSuggestButton(this); m_confirmBtn->setFixedWidth(209); - m_confirmBtn->setFixedHeight(36); m_confirmBtn->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed); m_confirmBtn->setFont(btnFont); m_confirmBtn->setText(tr("Confirm", "button")); @@ -425,17 +439,17 @@ void CustomThemeSettingDialog::addCancelConfirmButtons() setTabOrder(m_confirmBtn, m_closeButton);//设置右上角关闭按钮的tab键控制顺序 - DVerticalLine *verticalLine = new DVerticalLine(this); - DPalette pa = DPaletteHelper::instance()->palette(verticalLine); + m_verticalLine = new DVerticalLine(this); + DPalette pa = DApplicationHelper::instance()->palette(m_verticalLine); QColor splitColor = pa.color(DPalette::ItemBackground); pa.setBrush(DPalette::Background, splitColor); - verticalLine->setPalette(pa); - verticalLine->setBackgroundRole(QPalette::Background); - verticalLine->setAutoFillBackground(true); - verticalLine->setFixedSize(3, 28); + m_verticalLine->setPalette(pa); + m_verticalLine->setBackgroundRole(QPalette::Background); + m_verticalLine->setAutoFillBackground(true); + m_verticalLine->setFixedSize(3, 28); buttonsLayout->addWidget(m_cancelBtn); - buttonsLayout->addWidget(verticalLine); + buttonsLayout->addWidget(m_verticalLine); buttonsLayout->addWidget(m_confirmBtn); m_confirmBtn->setDefault(true); @@ -514,6 +528,35 @@ void CustomThemeSettingDialog::clearFocussSlot() m_logoIcon->setFocus(); } +/** + * @brief 接收 DGuiApplicationHelper::sizeModeChanged() 信号, 根据不同的布局模式调整 + * 当前界面的布局. 只能在界面创建完成后调用. + */ +void CustomThemeSettingDialog::updateSizeMode() +{ +#ifdef DTKWIDGET_CLASS_DSizeMode + if (DGuiApplicationHelper::isCompactMode()) { + m_titleBar->setFixedHeight(WIN_TITLE_BAR_HEIGHT_COMPACT); + m_logoIcon->setFixedSize(QSize(ICONSIZE_40_COMPACT, ICONSIZE_40_COMPACT)); + m_closeButton->setIconSize(QSize(ICONSIZE_40_COMPACT, ICONSIZE_40_COMPACT)); + m_verticalLine->setFixedSize(VERTICAL_WIDTH_COMPACT, VERTICAL_HEIGHT_COMPACT); + + } else { + m_titleBar->setFixedHeight(WIN_TITLE_BAR_HEIGHT); + m_logoIcon->setFixedSize(QSize(ICONSIZE_50, ICONSIZE_50)); + m_closeButton->setIconSize(QSize(ICONSIZE_50, ICONSIZE_50)); + m_verticalLine->setFixedSize(VERTICAL_WIDTH, VERTICAL_HEIGHT); + } + + if (layout()) { + layout()->invalidate(); + } + updateGeometry(); + // 根据新界面布局,刷新界面大小 + QTimer::singleShot(0, this, [=](){ resize(SETTING_DIALOG_WIDTH, minimumSizeHint().height()); }); +#endif +} + void CustomThemeSettingDialog::loadConfiguration() { //重置单选按钮的tab焦点状态 diff --git a/src/views/customthemesettingdialog.h b/src/views/customthemesettingdialog.h index 6f2dd9648..fcc682d63 100644 --- a/src/views/customthemesettingdialog.h +++ b/src/views/customthemesettingdialog.h @@ -207,6 +207,12 @@ public slots: */ void clearFocussSlot(); +private: + /** + * @brief 根据布局模式(紧凑)切换更新界面布局 + */ + Q_SLOT void updateSizeMode(); + private: //标题栏 QWidget *m_titleBar = nullptr; @@ -226,6 +232,8 @@ public slots: DPushButton *m_cancelBtn = nullptr; //确认按钮 DSuggestButton *m_confirmBtn = nullptr; + //竖向分割线 + DVerticalLine *m_verticalLine = nullptr; //预览区域 ThemePreviewArea *m_themePreviewArea = nullptr; //深色主题风格单选按钮 diff --git a/src/views/focusframe.cpp b/src/views/focusframe.cpp index a4066ab19..9008af0f9 100644 --- a/src/views/focusframe.cpp +++ b/src/views/focusframe.cpp @@ -35,11 +35,14 @@ void FocusFrame::paintEvent(QPaintEvent *event) // 去锯齿 painter.setRenderHint(QPainter::SmoothPixmapTransform, true); painter.setRenderHint(QPainter::Antialiasing); + // 焦点若在,则画边框 if (m_isFocus) { // 边框 QPainterPath FramePath; - paintRoundedRect(FramePath, QRect(2, 2, m_isWideFrame ? 358 : 218, 58)); + // 效果和以下代码类似,兼容紧凑模式 + // 类似: paintRoundedRect(FramePath, QRect(2, 2, 218, 58)); + paintRoundedRect(FramePath, rect().adjusted(2, 2, 0, 0)); // 获取活动色 QPen pen(pa.color(DPalette::Highlight), 2); painter.setPen(pen); @@ -48,7 +51,8 @@ void FocusFrame::paintEvent(QPaintEvent *event) // 绘制背景 QPainterPath itemBackgroudPath; - paintRoundedRect(itemBackgroudPath, QRect(4, 4, m_isWideFrame ? 354 : 214, 54)); + // 类似: paintRoundedRect(itemBackgroudPath, QRect(4, 4, 214, 54)); + paintRoundedRect(FramePath, rect().adjusted(4, 4, -2, -2)); // 产品要有悬浮效果的 // painter.fillPath(itemBackgroudPath, QBrush(pa.color(DPalette::ObviousBackground))); // ui要有框,背景不变 @@ -57,7 +61,8 @@ void FocusFrame::paintEvent(QPaintEvent *event) // 焦点不在,不绘制 // 绘制背景 QPainterPath itemBackgroudPath; - paintRoundedRect(itemBackgroudPath, QRect(0, 0, m_isWideFrame ? 360 : 220, 60)); + // 类似: paintRoundedRect(itemBackgroudPath, QRect(0, 0, 220, 60)); + paintRoundedRect(itemBackgroudPath, rect().adjusted(0, 0, 1, 1)); // 产品要有悬浮效果的 // painter.fillPath(itemBackgroudPath, QBrush(pa.color(DPalette::ObviousBackground))); // ui要有框,背景不变 diff --git a/src/views/itemwidget.cpp b/src/views/itemwidget.cpp index 390bd6db3..b7fce749b 100644 --- a/src/views/itemwidget.cpp +++ b/src/views/itemwidget.cpp @@ -15,6 +15,12 @@ #include #include +// 不同布局模式配置 +const int s_ItemHeight = 60; +const QMargins s_ItemIconContentMargins = {8, 8, 8, 8}; +const int s_ItemHeightCompact = 52; +const QMargins s_ItemIconContentMarginsCompact = {4, 4, 4, 4}; + // 需要选择Item类型 ItemWidget::ItemWidget(ItemFuncType itemType, QWidget *parent) : FocusFrame(parent, ItemFuncType_UngroupedItem == itemType) @@ -280,6 +286,27 @@ void ItemWidget::onFocusOut(Qt::FocusReason type) } } +/** + * @brief 根据布局模式(紧凑)变更更新界面布局,ItemWidget 不绑定变更信号, + * 而是通过外部 ListView 处理。 + */ +void ItemWidget::updateSizeMode() +{ +#ifdef DTKWIDGET_CLASS_DSizeMode + if (DGuiApplicationHelper::isCompactMode()) { + m_iconLayout->setContentsMargins(s_ItemIconContentMarginsCompact); + setFixedSize(220, s_ItemHeightCompact); + setFont(m_firstline, DFontSizeManager::T6, ItemTextColor_Text); + setFont(m_secondline, DFontSizeManager::T7, ItemTextColor_TextTips); + } else { + m_iconLayout->setContentsMargins(s_ItemIconContentMargins); + setFixedSize(220, s_ItemHeight); + setFont(m_firstline, DFontSizeManager::T7, ItemTextColor_Text); + setFont(m_secondline, DFontSizeManager::T8, ItemTextColor_TextTips); + } +#endif +} + void ItemWidget::initUI() { if (m_functType != ItemFuncType_GroupLabel && m_functType != ItemFuncType_ItemLabel) @@ -366,6 +393,9 @@ void ItemWidget::initUI() } m_mainLayout->addStretch(); setLayout(m_mainLayout); + + // 根据不同布局初始化界面 + updateSizeMode(); } void ItemWidget::initConnections() diff --git a/src/views/itemwidget.h b/src/views/itemwidget.h index 2e45b4e95..c2360d6b3 100644 --- a/src/views/itemwidget.h +++ b/src/views/itemwidget.h @@ -164,6 +164,11 @@ public slots: */ void onFocusOut(Qt::FocusReason type); + /** + * @brief 根据布局模式(紧凑)切换更新界面布局, 将被外部 ListView 统一调用,为公共接口 + */ + void updateSizeMode(); + signals: // 功能按钮被点击 // 参数: item的名称 (数据的唯一值) diff --git a/src/views/listview.cpp b/src/views/listview.cpp index c82eafabe..00d07536c 100644 --- a/src/views/listview.cpp +++ b/src/views/listview.cpp @@ -427,6 +427,20 @@ void ListView::onCustomItemModify(const QString &key, bool isFocusOn) m_pdlg->show(); } +/** + * @brief 接收 DGuiApplicationHelper::sizeModeChanged() 信号, 根据不同的布局模式调整 + * 当前界面的布局. 只能在界面创建完成后调用. + */ +void ListView::updateSizeMode() +{ +#ifdef DTKWIDGET_CLASS_DSizeMode + // 遍历子项进行更新 + for (ItemWidget *item : m_itemList) { + item->updateSizeMode(); + } +#endif +} + inline void ListView::onCustomCommandOptDlgFinished(int result) { int tempResult = result; @@ -617,6 +631,11 @@ void ListView::initUI() m_mainWidget->setLayout(m_mainLayout); setWidget(m_mainWidget); + +#ifdef DTKWIDGET_CLASS_DSizeMode + updateSizeMode(); + connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::sizeModeChanged, this, &ListView::updateSizeMode); +#endif } void ListView::setItemIcon(ItemFuncType type, ItemWidget *item) diff --git a/src/views/listview.h b/src/views/listview.h index fe654afff..bdb3b1092 100644 --- a/src/views/listview.h +++ b/src/views/listview.h @@ -323,6 +323,11 @@ private slots: void onCustomItemModify(const QString &key, bool isFocusOn); void deleteItem(const QString &key, ItemFuncType type); + + /** + * @brief 根据布局模式(紧凑)变更更新界面布局 + */ + Q_SLOT void updateSizeMode(); }; #endif // LISTVIEW_H diff --git a/src/views/pagesearchbar.cpp b/src/views/pagesearchbar.cpp index dceb084e6..16caaf7dd 100644 --- a/src/views/pagesearchbar.cpp +++ b/src/views/pagesearchbar.cpp @@ -8,6 +8,10 @@ #include "mainwindow.h" #include +#include +#ifdef DTKWIDGET_CLASS_DSizeMode +#include +#endif #include #include @@ -21,7 +25,7 @@ PageSearchBar::PageSearchBar(QWidget *parent) : DFloatingWidget(parent) Utils::set_Object_Name(this); // Init hide(); - setFixedSize(barWidth, barHight + 12); + setFixedSize(barWidth, barHight); // 设置窗体透明度的,需求为100% QGraphicsOpacityEffect *opacityEffect = new QGraphicsOpacityEffect; setGraphicsEffect(opacityEffect); @@ -35,10 +39,16 @@ PageSearchBar::PageSearchBar(QWidget *parent) : DFloatingWidget(parent) QHBoxLayout *m_layout = new QHBoxLayout(); m_layout->setSpacing(widgetSpace); m_layout->setContentsMargins(layoutMargins, layoutMargins, layoutMargins, layoutMargins); + m_layout->setAlignment(Qt::AlignVCenter); m_layout->addWidget(m_searchEdit); m_layout->addWidget(m_findPrevButton); m_layout->addWidget(m_findNextButton); setLayout(m_layout); + +#ifdef DTKWIDGET_CLASS_DSizeMode + updateSizeMode(); + QObject::connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::sizeModeChanged, this, &PageSearchBar::updateSizeMode); +#endif } bool PageSearchBar::isFocus() @@ -156,7 +166,6 @@ void PageSearchBar::initSearchEdit() m_searchEdit->setFocusPolicy(Qt::StrongFocus); m_searchEdit->setFocusProxy(m_searchEdit->lineEdit()); m_searchEdit->setObjectName("PageSearchBarSearchEdit");//Add by ut001000 renfeixiang 2020-08-13 - m_searchEdit->lineEdit()->setMinimumHeight(widgetHight); // 保留原文字,图标 saveOldHoldContent(); @@ -188,6 +197,46 @@ void PageSearchBar::initSearchEdit() }); } +/** + * @brief 接收 DGuiApplicationHelper::sizeModeChanged() 信号, 根据不同的布局模式调整 + * 当前界面的布局. 只能在界面创建完成后调用. + */ +void PageSearchBar::updateSizeMode() +{ +#ifdef DTKWIDGET_CLASS_DSizeMode + DIconButton *searchIconBtn = m_searchEdit->findChild(); + + if (DGuiApplicationHelper::isCompactMode()) { + setFixedSize(barWidthCompact, barHeightCompact); + setContentsMargins(compactMarigin, compactMarigin, compactMarigin, compactMarigin); + m_findPrevButton->setFixedSize(btnWidthCompact, btnHeightCompact); + m_findNextButton->setFixedSize(btnWidthCompact, btnHeightCompact); + m_searchEdit->setFixedHeight(COMMONHEIGHT_COMPACT); + + if (searchIconBtn) { + searchIconBtn->setIconSize(QSize(ICON_CTX_SIZE_24, ICON_CTX_SIZE_24)); + } + } else { + setFixedSize(barWidth, barHight); + setContentsMargins(defaultMarigin, defaultMarigin, defaultMarigin, defaultMarigin); + m_findPrevButton->setFixedSize(widgetHight, widgetHight); + m_findNextButton->setFixedSize(widgetHight, widgetHight); + m_searchEdit->setFixedHeight(COMMONHEIGHT); + + if (searchIconBtn) { + searchIconBtn->setIconSize(QSize(ICON_CTX_SIZE_32, ICON_CTX_SIZE_32)); + } + } + + if (layout()) { + layout()->setContentsMargins(DSizeModeHelper::element(compactLayoutMarigins, defaultLayoutMarigins)); + layout()->setSpacing(DSizeModeHelper::element(9, widgetSpace)); + layout()->invalidate(); + update(); + } +#endif +} + void PageSearchBar::setNoMatchAlert(bool isAlert) { m_searchEdit->setAlert(isAlert); diff --git a/src/views/pagesearchbar.h b/src/views/pagesearchbar.h index 6230b5cbf..7e6eccf5f 100644 --- a/src/views/pagesearchbar.h +++ b/src/views/pagesearchbar.h @@ -103,12 +103,16 @@ class PageSearchBar : public DFloatingWidget * @author ut000610 daizhengwen */ void initSearchEdit(); + /** + * @brief 根据布局模式更新界面布局 + */ + Q_SLOT void updateSizeMode(); DIconButton *m_findNextButton = nullptr; DIconButton *m_findPrevButton = nullptr; DSearchEdit *m_searchEdit = nullptr; - const int barHight = 50; + const int barHight = 62; const int barWidth = 382; const int layoutMargins = 7; const int widgetHight = 36; @@ -117,10 +121,19 @@ class PageSearchBar : public DFloatingWidget const int iconHight = 6; const int iconWidth = 12; + // 紧凑模式下控件调整 + const int defaultMarigin = 6; + const int compactMarigin = 3; + const QMargins defaultLayoutMarigins = {7, 7, 7, 7}; + const QMargins compactLayoutMarigins = {11, 0, 10, 0}; + const int barWidthCompact = 358 + 5; + const int barHeightCompact = 40; + const int btnWidthCompact = 24; + const int btnHeightCompact = 22; + const qreal opacity = 0.9; QString m_originalPlaceHolder; //原文字 - // 方便性能测试,记住查找开始时间 qint64 m_searchStartTime = 0; }; diff --git a/src/views/rightpanel.cpp b/src/views/rightpanel.cpp index 8594b3a61..f195ff54c 100644 --- a/src/views/rightpanel.cpp +++ b/src/views/rightpanel.cpp @@ -11,6 +11,10 @@ #include #include +#ifdef DTKWIDGET_CLASS_DSizeMode +#include +#endif + //qt #include @@ -20,14 +24,25 @@ RightPanel::RightPanel(QWidget *parent) : QWidget(parent) { // hide by default. QWidget::hide(); - + // Init theme panel. setFixedWidth(240 + 2); - // Init theme panel. - // 插件不支持resize,下面代码不需要了 -// DAnchorsBase::setAnchor(this, Qt::AnchorTop, parent, Qt::AnchorTop); -// DAnchorsBase::setAnchor(this, Qt::AnchorBottom, parent, Qt::AnchorBottom); -// DAnchorsBase::setAnchor(this, Qt::AnchorRight, parent, Qt::AnchorRight); +#ifdef DTKWIDGET_CLASS_DSizeMode + // 布局模式变更时,刷新当前界面的布局,主要是按钮等高度调整等导致的效果不一致 + connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::sizeModeChanged, this, [this](){ + QRect rect = geometry(); + // 50 - 40 = 10 px + constexpr int offset = WIN_TITLE_BAR_HEIGHT - WIN_TITLE_BAR_HEIGHT_COMPACT; + // 普通转紧凑模式时增加高度,反之则降低高度 + rect.setHeight(rect.height() + DSizeModeHelper::element(offset, -offset)); + setGeometry(rect); + + if (layout()) { + layout()->invalidate(); + updateGeometry(); + } + }); +#endif } void RightPanel::showAnim() @@ -43,8 +58,13 @@ void RightPanel::showAnim() /***mod begin by ut001121 zhangmeng 20200918 修复BUG48374 全屏下插件被截断的问题***/ int panelHeight = windowRect.height(); MainWindow *w = Utils::getMainWindow(this); - if (w && w->titlebar()->isVisible()) + if (w && w->titlebar()->isVisible()) { +#ifdef DTKWIDGET_CLASS_DSizeMode + panelHeight -= DSizeModeHelper::element(WIN_TITLE_BAR_HEIGHT_COMPACT, WIN_TITLE_BAR_HEIGHT); +#else panelHeight -= WIN_TITLE_BAR_HEIGHT; +#endif + } animation->setStartValue(QRect(windowRect.width(), rect.y(), rect.width(), panelHeight)); animation->setEndValue(QRect(windowRect.width() - rect.width(), rect.y(), rect.width(), panelHeight)); @@ -66,8 +86,13 @@ void RightPanel::hideAnim() /***mod begin by ut001121 zhangmeng 20200918 修复BUG48374 全屏下插件被截断的问题***/ int panelHeight = windowRect.height(); MainWindow *w = Utils::getMainWindow(this); - if (w && w->titlebar()->isVisible()) + if (w && w->titlebar()->isVisible()) { +#ifdef DTKWIDGET_CLASS_DSizeMode + panelHeight -= DSizeModeHelper::element(WIN_TITLE_BAR_HEIGHT_COMPACT, WIN_TITLE_BAR_HEIGHT); +#else panelHeight -= WIN_TITLE_BAR_HEIGHT; +#endif + } animation->setStartValue(QRect(windowRect.width() - rect.width(), rect.y(), rect.width(), panelHeight)); animation->setEndValue(QRect(windowRect.width(), rect.y(), rect.width(), panelHeight)); diff --git a/src/views/tabbar.cpp b/src/views/tabbar.cpp index a87f02d9d..bfd08d30e 100644 --- a/src/views/tabbar.cpp +++ b/src/views/tabbar.cpp @@ -8,7 +8,6 @@ #include "termwidget.h" #include "termwidgetpage.h" #include "windowsmanager.h" -#include "terminalapplication.h" #include "private/qtabbar_p.h" #include @@ -27,6 +26,10 @@ #include #include +#ifdef DTKWIDGET_CLASS_DSizeMode +#include +#endif + //TermTabStyle类开始,该类用于设置tab标签样式 TermTabStyle::TermTabStyle() : m_tabCount(0) { @@ -162,7 +165,6 @@ TabBar::TabBar(QWidget *parent) : DTabBar(parent), m_rightClickTab(-1) setFocusPolicy(Qt::TabFocus); setStartDragDistance(40); - setTabHeight(36); setTabItemMinWidth(110); setTabItemMaxWidth(450); @@ -192,12 +194,6 @@ TabBar::~TabBar() delete m_termTabStyle; } -void TabBar::setTabHeight(int tabHeight) -{ - m_tabHeight = tabHeight; - setFixedHeight(tabHeight); -} - void TabBar::setTabItemMinWidth(int tabItemMinWidth) { m_tabItemMinWidth = tabItemMinWidth; @@ -829,13 +825,21 @@ void TabBar::handleTabDroped(int index, Qt::DropAction dropAction, QObject *targ QSize TabBar::minimumTabSizeHint(int index) const { Q_UNUSED(index) - return QSize(m_tabItemMinWidth, m_tabHeight); +#ifdef DTKWIDGET_CLASS_DSizeMode + return QSize(m_tabItemMinWidth, DSizeModeHelper::element(COMMONHEIGHT_COMPACT, COMMONHEIGHT)); +#else + return QSize(m_tabItemMinWidth, COMMONHEIGHT); +#endif } QSize TabBar::maximumTabSizeHint(int index) const { Q_UNUSED(index) - return QSize(m_tabItemMaxWidth, m_tabHeight); +#ifdef DTKWIDGET_CLASS_DSizeMode + return QSize(m_tabItemMaxWidth, DSizeModeHelper::element(COMMONHEIGHT_COMPACT, COMMONHEIGHT)); +#else + return QSize(m_tabItemMinWidth, COMMONHEIGHT); +#endif } void TabBar::setNeedChangeTextColor(const QString &tabIdentifier, const QColor &color) diff --git a/src/views/tabbar.h b/src/views/tabbar.h index c7230d755..93ed0e554 100644 --- a/src/views/tabbar.h +++ b/src/views/tabbar.h @@ -118,12 +118,6 @@ class TabBar : public DTabBar */ const QString identifier(int index) const; - /** - * @brief 设置标签高度 - * @author ut000610 daizhengwen - * @param tabHeight 标签高度 - */ - void setTabHeight(int tabHeight); /** * @brief 设置标签项最小宽度 * @author ut000610 daizhengwen @@ -454,7 +448,6 @@ private slots: DMenu *m_rightMenu = nullptr; int m_rightClickTab; - int m_tabHeight; int m_tabItemMinWidth; int m_tabItemMaxWidth; diff --git a/src/views/tabrenamedlg.cpp b/src/views/tabrenamedlg.cpp index c97f4a5fe..fbd31305a 100644 --- a/src/views/tabrenamedlg.cpp +++ b/src/views/tabrenamedlg.cpp @@ -6,11 +6,12 @@ #include "tabrenamedlg.h" #include "utils.h" -#include #include +#include #include #include +#include #include TabRenameDlg::TabRenameDlg(QWidget *parent) : DAbstractDialog(parent) @@ -24,7 +25,7 @@ void TabRenameDlg::initUi() { setWindowModality(Qt::ApplicationModal); // 设置最小值 => 以免一开始挤在一起 - setMinimumSize(456, 226); + setMinimumWidth(SETTING_DIALOG_WIDTH); setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); QVBoxLayout *mainLayout = new QVBoxLayout(); @@ -151,8 +152,14 @@ void TabRenameDlg::initContentWidget() // 添加控件 m_mainLayout->setSpacing(10); m_mainLayout->addWidget(m_titlelabel); - m_mainLayout->addWidget(m_normalWidget); - m_mainLayout->addWidget(m_remoteWidget); + + QVBoxLayout *contentLayout = new QVBoxLayout(); + contentLayout->setSpacing(10); + contentLayout->setContentsMargins(20, 0, 20, 10); + contentLayout->addWidget(m_normalWidget); + contentLayout->addWidget(m_remoteWidget); + m_mainLayout->addLayout(contentLayout); + m_mainLayout->addWidget(m_buttonWidget); contentwidget->setLayout(m_mainLayout); @@ -180,6 +187,20 @@ void TabRenameDlg::initConnections() connect(m_closeButton, &DPushButton::clicked, this, [ = ] { close(); }); + +#ifdef DTKWIDGET_CLASS_DSizeMode + updateSizeMode(); + connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::sizeModeChanged, this, &TabRenameDlg::updateSizeMode); + // 字体变更时进行重新布局 + connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::fontChanged, this, [this](){ + if (isVisible() && layout()) { + layout()->invalidate(); + // 根据新界面布局,刷新界面大小 + updateGeometry(); + QTimer::singleShot(0, this, [=](){ resize(SETTING_DIALOG_WIDTH, minimumSizeHint().height()); }); + } + }); +#endif } void TabRenameDlg::initTitleLabel() @@ -219,20 +240,47 @@ void TabRenameDlg::initButtonWidget() m_cancelButton = new DPushButton(QObject::tr("Cancel", "button")); Utils::setSpaceInWord(m_cancelButton); - m_cancelButton->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); DFontSizeManager::instance()->bind(m_cancelButton, DFontSizeManager::T6); m_confirmButton = new DSuggestButton(QObject::tr("Confirm", "button")); Utils::setSpaceInWord(m_confirmButton); - m_confirmButton->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); DFontSizeManager::instance()->bind(m_confirmButton, DFontSizeManager::T6); - DVerticalLine *verticalLine = new DVerticalLine; - verticalLine->setFixedSize(1, 28); + m_verticalLine = new DVerticalLine; + m_verticalLine->setFixedSize(1, 28); buttonTAbLayout->addWidget(m_cancelButton); - buttonTAbLayout->addWidget(verticalLine); + buttonTAbLayout->addWidget(m_verticalLine); buttonTAbLayout->addWidget(m_confirmButton); m_buttonWidget->setLayout(buttonTAbLayout); } + +/** + * @brief 接收 DGuiApplicationHelper::sizeModeChanged() 信号, 根据不同的布局模式调整 + * 当前界面的布局. 只能在界面创建完成后调用. + */ +void TabRenameDlg::updateSizeMode() +{ +#ifdef DTKWIDGET_CLASS_DSizeMode + if (DGuiApplicationHelper::isCompactMode()) { + m_titleBar->setFixedHeight(WIN_TITLE_BAR_HEIGHT_COMPACT); + m_logoIcon->setPixmap(QIcon::fromTheme("deepin-terminal").pixmap(QSize(ICON_CTX_SIZE_24, ICON_CTX_SIZE_24))); + m_closeButton->setIconSize(QSize(ICONSIZE_40_COMPACT, ICONSIZE_40_COMPACT)); + m_verticalLine->setFixedSize(1, VERTICAL_HEIGHT_COMPACT); + + } else { + m_titleBar->setFixedHeight(WIN_TITLE_BAR_HEIGHT); + m_logoIcon->setPixmap(QIcon::fromTheme("deepin-terminal").pixmap(QSize(ICON_CTX_SIZE_32, ICON_CTX_SIZE_32))); + m_closeButton->setIconSize(QSize(ICONSIZE_50, ICONSIZE_50)); + m_verticalLine->setFixedSize(1, VERTICAL_HEIGHT); + } + + if (layout()) { + layout()->invalidate(); + } + // 根据新界面布局,刷新界面大小 + updateGeometry(); + QTimer::singleShot(0, this, [=](){ resize(SETTING_DIALOG_WIDTH, minimumSizeHint().height()); }); +#endif +} diff --git a/src/views/tabrenamedlg.h b/src/views/tabrenamedlg.h index ff10315d0..970662ac1 100644 --- a/src/views/tabrenamedlg.h +++ b/src/views/tabrenamedlg.h @@ -15,6 +15,7 @@ #include #include #include +#include #include #include @@ -122,6 +123,12 @@ class TabRenameDlg : public DAbstractDialog Q_SIGNALS: void tabTitleFormatRename(const QString &tabTitleFormat, const QString &remoteTabTitleFormat); +private: + /** + * @brief 根据布局模式(紧凑)切换更新界面布局 + */ + Q_SLOT void updateSizeMode(); + private: QWidget *m_titleBar = nullptr; QWidget *m_content = nullptr; @@ -143,9 +150,9 @@ class TabRenameDlg : public DAbstractDialog DLabel *m_titlelabel = nullptr; DPushButton *m_cancelButton = nullptr; DSuggestButton *m_confirmButton = nullptr; + DVerticalLine *m_verticalLine = nullptr; DWindowCloseButton *m_closeButton = nullptr; - }; #endif // TABRENAMEDLG_H diff --git a/src/views/tabrenamewidget.cpp b/src/views/tabrenamewidget.cpp index 3f3d1aa86..0ffe91188 100644 --- a/src/views/tabrenamewidget.cpp +++ b/src/views/tabrenamewidget.cpp @@ -30,23 +30,18 @@ void TabRenameWidget::initUi() m_layout->setSpacing(10); // widet 自己设置0 0 0 0 this->setContentsMargins(0, 0, 0, 0); - this->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); // 内容输入框 m_inputedit = new DLineEdit(this); m_inputedit->setText("%n:%d"); - m_inputedit->setMinimumHeight(36); m_inputedit->setMaximumWidth(172); m_inputedit->setMinimumWidth(135); DFontSizeManager::instance()->bind(m_inputedit, DFontSizeManager::T6); // 插入按钮 m_choseButton = new DPushButton(tr("Insert"), this); - m_choseButton->setMinimumHeight(36); - m_choseButton->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Expanding); // 添加下拉菜单 m_choseButton->setMenu(m_choseMenu); - DFontSizeManager::instance()->bind(m_choseButton, DFontSizeManager::T6); m_choseButton->setAutoDefault(false); m_choseButton->setDefault(false); diff --git a/src/views/termwidget.h b/src/views/termwidget.h index 60831bca3..97536a1f8 100644 --- a/src/views/termwidget.h +++ b/src/views/termwidget.h @@ -6,6 +6,8 @@ #ifndef TERMWIDGET_H #define TERMWIDGET_H +#include + #include "qtermwidget.h" #include "termwidgetpage.h" diff --git a/src/views/termwidgetpage.cpp b/src/views/termwidgetpage.cpp index d26adc3e1..5363a2c69 100644 --- a/src/views/termwidgetpage.cpp +++ b/src/views/termwidgetpage.cpp @@ -73,9 +73,15 @@ TermWidgetPage::TermWidgetPage(const TermProperties &properties, QWidget *parent /******** Modify by nt001000 renfeixiang 2020-05-27:修改 增加参数区别remove和purge卸载命令 Begin***************/ m_currentTerm = w; + +#ifdef DTKWIDGET_CLASS_DSizeMode + connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::sizeModeChanged, this, [this](){ + m_findBar->move(width() - m_findBar->width(), 0); + }, Qt::QueuedConnection); +#endif } -inline void TermWidgetPage::handleKeywordChanged(QString keyword) +inline void TermWidgetPage::handleKeywordChanged(const QString &keyword) { handleUpdateSearchKeyword(keyword); } @@ -562,7 +568,7 @@ void TermWidgetPage::showSearchBar(int state) //Add by ut001000 renfeixiang 2020-12-02 在搜索框弹出时,添加设置Term的m_bHasSelect为false函数 if (m_currentTerm != nullptr) m_currentTerm->setNoHasSelect(); - m_findBar->move(width() - SEARCHBAR_RIGHT_MARGIN, 0); + m_findBar->move(width() - m_findBar->width(), 0); QTimer::singleShot(10, this, [ = ] { m_findBar->focus(); }); } else if (SearchBar_Hide == state) { m_findBar->hide(); diff --git a/src/views/termwidgetpage.h b/src/views/termwidgetpage.h index 61cc8154f..0a8ac9dc9 100644 --- a/src/views/termwidgetpage.h +++ b/src/views/termwidgetpage.h @@ -9,7 +9,6 @@ #include "define.h" #include "termproperties.h" #include "pagesearchbar.h" -#include "mainwindow.h" #include "utils.h" #include "tabrenamedlg.h" @@ -361,7 +360,7 @@ private slots: * @author ut000438 王亮 * @param keyword 搜索关键词 */ - void handleKeywordChanged(QString keyword); + void handleKeywordChanged(const QString &keyword); /** * @brief 处理主题变化的槽 * @author ut000438 王亮 diff --git a/src/views/titlebar.cpp b/src/views/titlebar.cpp index a882f7f65..a30c36ec6 100644 --- a/src/views/titlebar.cpp +++ b/src/views/titlebar.cpp @@ -14,6 +14,10 @@ #include #include +#ifdef DTKWIDGET_CLASS_DSizeMode +#include +#endif + static const int VER_RESIZED_ALLOWED_OFF = 3;//允许的垂直偏移量 static const int VER_RESIZED_MIN_HEIGHT = 30;//resize的最小高度 @@ -29,10 +33,18 @@ TitleBar::TitleBar(QWidget *parent) : QWidget(parent), m_layout(new QHBoxLayout( // this->setPalette(palette); this->setBackgroundRole(DPalette::Base); this->setAutoFillBackground(true); - // daizhengwen fix bug#22927 动画出的矩形框会 -50 设置标题栏为50 - this->setFixedHeight(WIN_TITLE_BAR_HEIGHT); /********************* Modify by m000714 daizhengwen End ************************/ m_layout->setContentsMargins(0, 0, 0, 0); + +#ifdef DTKWIDGET_CLASS_DSizeMode + setFixedHeight(DSizeModeHelper::element(WIN_TITLE_BAR_HEIGHT_COMPACT, WIN_TITLE_BAR_HEIGHT)); + QObject::connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::sizeModeChanged, this, [this](){ + setFixedHeight(DSizeModeHelper::element(WIN_TITLE_BAR_HEIGHT_COMPACT, WIN_TITLE_BAR_HEIGHT)); + }); +#else + // daizhengwen fix bug#22927 动画出的矩形框会 -50 设置标题栏为50 + this->setFixedHeight(WIN_TITLE_BAR_HEIGHT); +#endif } TitleBar::~TitleBar() From edb98c3a55daa24295a93ff9d89b42a0847a7e4f Mon Sep 17 00:00:00 2001 From: zhangkun Date: Fri, 25 Oct 2024 18:10:28 +0800 Subject: [PATCH 04/13] chore: bump version to 6.0.15 feat: [UI] Adapt compact mode.(https://pms.uniontech.com/bug-view-279709.html) Log: bump version to 6.0.15 --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 1cf8b7a06..642dd1978 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +deepin-terminal (6.0.15) unstable; urgency=medium + + * Release 6.0.15 + * feat: [UI] Adapt compact mode.(https://pms.uniontech.com/bug-view-279709.html) + + -- Zhang Kun Fri, 25 Oct 2024 18:09:30 +0800 + deepin-terminal (6.0.14) unstable; urgency=medium * chore: Update translation (#346) From 35daf3dfe87775f2451361298e0be77683c3af9c Mon Sep 17 00:00:00 2001 From: ArchieMeng Date: Tue, 19 Nov 2024 09:58:52 +0800 Subject: [PATCH 05/13] feat: Add debuginfod settings (#366) Allow user to enable/disable debuginfod environment variable Requirements: https://pms.uniontech.com/story-view-37445.html Log: Add debuginfod settings --- src/assets/other/default-config.json | 12 ++++++++++++ src/settings/settings.cpp | 10 ++++++++++ src/settings/settings.h | 5 +++++ src/settings/settings_translation.cpp | 2 ++ src/views/termwidget.cpp | 22 ++++++++++++++++++++++ 5 files changed, 51 insertions(+) diff --git a/src/assets/other/default-config.json b/src/assets/other/default-config.json index 50517fa4e..b41c094e1 100644 --- a/src/assets/other/default-config.json +++ b/src/assets/other/default-config.json @@ -419,6 +419,18 @@ "text": "Disable flow control using Ctrl+S, Ctrl+Q", "type": "checkbox", "default": "false" + }, + { + "key": "enable_debuginfod", + "text": "debuginfod", + "type": "checkbox", + "default": "true" + }, + { + "key": "debuginfod_urls", + "name": "debuginfod urls", + "type": "lineedit", + "default": "https://debuginfod.deepin.com" } ] } diff --git a/src/settings/settings.cpp b/src/settings/settings.cpp index 7e53a4bbd..ed22e8191 100644 --- a/src/settings/settings.cpp +++ b/src/settings/settings.cpp @@ -608,6 +608,16 @@ bool Settings::disableControlFlow(void) return settings->option("advanced.shell.disable_ctrl_flow")->value().toBool(); } +bool Settings::enableDebuginfod() +{ + return settings->option("advanced.shell.enable_debuginfod")->value().toBool(); +} + +QString Settings::debuginfodUrls() +{ + return settings->option("advanced.shell.debuginfod_urls")->value().toString(); +} + /******** Add by ut001000 renfeixiang 2020-06-15:增加 每次显示设置界面时,更新设置的等宽字体 End***************/ /******************************************************************************* diff --git a/src/settings/settings.h b/src/settings/settings.h index fe768e443..8cf9b24c6 100644 --- a/src/settings/settings.h +++ b/src/settings/settings.h @@ -213,6 +213,11 @@ class Settings : public QObject * @return */ bool disableControlFlow(void); + // 是否启用debuginfod:设置或取消DEBUGINFOD_URLS环境变量 + bool enableDebuginfod(); + // deepin-terminal设置的DEBUGINFOD_URLS环境变量值 + QString debuginfodUrls(); + /** * @brief 历史记录行数 * @author Archie Meng diff --git a/src/settings/settings_translation.cpp b/src/settings/settings_translation.cpp index e74e70e32..1d9abe5d9 100644 --- a/src/settings/settings_translation.cpp +++ b/src/settings/settings_translation.cpp @@ -150,4 +150,6 @@ void GenerateSettingTranslate() Q_UNUSED(include_special_characters_in_double_click_selectionisText); auto set_cursor_position = QObject::tr("Allow Ctrl + left mouse click to set cursor position"); Q_UNUSED(set_cursor_position); + auto debuginfod_urls = QObject::tr("debuginfod urls"); + Q_UNUSED(debuginfod_urls); } diff --git a/src/views/termwidget.cpp b/src/views/termwidget.cpp index 6828439bf..3845d1fff 100644 --- a/src/views/termwidget.cpp +++ b/src/views/termwidget.cpp @@ -52,6 +52,15 @@ TermWidget::TermWidget(const TermProperties &properties, QWidget *parent) : QTer setHistorySize(Settings::instance()->historySize()); setTerminalWordCharacters(Settings::instance()->wordCharacters()); + // 设置debuginfod + if (Settings::instance()->enableDebuginfod()) { + QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); + if (!env.contains("DEBUGINFOD_URLS")) { + env.insert("DEBUGINFOD_URLS", Settings::instance()->debuginfodUrls()); + setEnvironment(env.toStringList()); + } + } + QString strShellPath = Settings::instance()->shellPath(); // set shell program qInfo() << "set shell program : " << strShellPath; @@ -1179,6 +1188,19 @@ void TermWidget::onSettingValueChanged(const QString &keyName) return; } + if ("advanced.shell.enable_debuginfod" == keyName) { + if (!hasRunningProcess()) { + if (Settings::instance()->enableDebuginfod()) { + sendText(QString("test -z $DEBUGINFOD_URLS && export DEBUGINFOD_URLS=$1\n").arg(Settings::instance()->debuginfodUrls())); + } else { + sendText("test -z $DEBUGINFOD_URLS || unset DEBUGINFOD_URLS\n"); + } + } else { + // Todo(ArchieMeng): Should handle the situation when there is a running process. It should wait until all running processes being exited. + } + return; + } + qInfo() << "settingValue[" << keyName << "] changed is not effective"; } From adecc3dc0add5a120e08ac3e8c3739a46b2202a2 Mon Sep 17 00:00:00 2001 From: ArchieMeng Date: Thu, 21 Nov 2024 11:44:19 +0800 Subject: [PATCH 06/13] fix: Optimize debuginfod options (#368) Change debuginfod settings layout fix debuginfod urls value setting during shell runtime Hide debuginfod urls setting when debuginfod is disabled pms: BUG-288095 STORY-37445 Log: Optimize debuginfod options --- src/assets/other/default-config.json | 10 +- src/main/service.cpp | 48 +++ src/main/service.h | 4 + src/settings/settings.cpp | 6 +- src/settings/settings_translation.cpp | 4 +- src/views/termwidget.cpp | 4 +- translations/deepin-terminal.ts | 554 ++++++++++++------------ translations/deepin-terminal_zh_CN.ts | 344 +++++++-------- translations/deepin-terminal_zh_HK.ts | 592 ++++++++++++++------------ translations/deepin-terminal_zh_TW.ts | 592 ++++++++++++++------------ 10 files changed, 1154 insertions(+), 1004 deletions(-) diff --git a/src/assets/other/default-config.json b/src/assets/other/default-config.json index b41c094e1..fc036c460 100644 --- a/src/assets/other/default-config.json +++ b/src/assets/other/default-config.json @@ -419,10 +419,16 @@ "text": "Disable flow control using Ctrl+S, Ctrl+Q", "type": "checkbox", "default": "false" - }, + } + ] + }, + { + "key": "debuginfod", + "name": "debuginfod", + "options": [ { "key": "enable_debuginfod", - "text": "debuginfod", + "text": "The HTTP file server used for transmitting debugging information resources", "type": "checkbox", "default": "true" }, diff --git a/src/main/service.cpp b/src/main/service.cpp index 892e97c75..6d2239534 100644 --- a/src/main/service.cpp +++ b/src/main/service.cpp @@ -63,6 +63,7 @@ void Service::init() ServerConfigManager::instance()->initServerConfig(); // 主进程:首次赋值m_pShareMemoryInfo listenWindowEffectSwitcher(); + listenDebuginfodOption(); } void Service::releaseInstance() @@ -111,6 +112,8 @@ void Service::initSetting() //判断未开启窗口特效时,隐藏透明度/背景模糊选项 showHideOpacityAndBlurOptions(DWindowManagerHelper::instance()->hasComposite()); + // 根据是否开启debuginfod选项初始化debuginfod urls选项的显示与否 + showHideDebuginfodUrlsOptions(Settings::instance()->enableDebuginfod()); } void Service::slotSettingsDialogFinished(int result) @@ -192,6 +195,42 @@ void Service::showHideOpacityAndBlurOptions(bool isShow) } } +void Service::showHideDebuginfodUrlsOptions(bool isShow) +{ + QWidget *rightFrame = m_settingDialog->findChild("RightFrame"); + if (nullptr == rightFrame) { + qInfo() << "can not found RightFrame in QWidget"; + return; + } + + QList rightWidgetList = rightFrame->findChildren(); + for (int i = 0; i < rightWidgetList.size(); i++) { + QWidget *widget = rightWidgetList.at(i); + if (nullptr == widget) + continue; + + if (strcmp(widget->metaObject()->className(), "QLabel") == 0) { + QString text = (qobject_cast(widget))->text(); + if (QObject::tr("debuginfod urls") == text) { + QWidget *optionWidget = widget; + QWidget *parentWidget = widget->parentWidget(); + QWidget *wrapWidget = parentWidget ? parentWidget->parentWidget() : nullptr; + if (wrapWidget && strcmp(wrapWidget->metaObject()->className(), "QWidget") == 0) { + wrapWidget->setVisible(isShow); + } + + if (parentWidget && strcmp(parentWidget->metaObject()->className(), "Dtk::Widget::DFrame") == 0) + optionWidget = parentWidget; + + if (isShow) + optionWidget->show(); + else + optionWidget->hide(); + } + } + } +} + void Service::listenWindowEffectSwitcher() { connect(DWindowManagerHelper::instance(), &DWindowManagerHelper::hasCompositeChanged, this, [this]() { @@ -201,6 +240,15 @@ void Service::listenWindowEffectSwitcher() }); } +void Service::listenDebuginfodOption() +{ + connect(Settings::instance(), &Settings::terminalSettingChanged, this, [this] (const QString &keyName) { + if ("advanced.debuginfod.enable_debuginfod" == keyName) { + showHideDebuginfodUrlsOptions(Settings::instance()->enableDebuginfod()); + } + }); +} + qint64 Service::getEntryTime() { return m_entryTime; diff --git a/src/main/service.h b/src/main/service.h index a39956f7f..b226ae794 100644 --- a/src/main/service.h +++ b/src/main/service.h @@ -241,11 +241,15 @@ public slots: * @param isShow:显示 */ void showHideOpacityAndBlurOptions(bool isShow); + // 显示/隐藏debuginfod urls选项 + void showHideDebuginfodUrlsOptions(bool isShow); /** * @brief 监听窗口特效开关对应DBus信号,并实时显示/隐藏设置的透明度和背景模糊选项 */ void listenWindowEffectSwitcher(); + // 监听debuginfod勾选状态变化 + void listenDebuginfodOption(); /** * @brief 初始化 diff --git a/src/settings/settings.cpp b/src/settings/settings.cpp index ed22e8191..7c6c9fcfc 100644 --- a/src/settings/settings.cpp +++ b/src/settings/settings.cpp @@ -288,7 +288,7 @@ void Settings::initConnection() { connect(settings, &Dtk::Core::DSettings::valueChanged, this, [ = ](const QString & key, const QVariant & value) { Q_UNUSED(value) - if (key.contains("basic.interface.") || key.contains("advanced.cursor.") || key.contains("advanced.scroll.") || key.contains("advanced.shell.")) + if (key.contains("basic.interface.") || key.contains("advanced.cursor.") || key.contains("advanced.scroll.") || key.contains("advanced.shell.") || key.contains("advanced.debuginfod.")) emit terminalSettingChanged(key); else if (key.contains("shortcuts.")) emit shortcutSettingChanged(key); @@ -610,12 +610,12 @@ bool Settings::disableControlFlow(void) bool Settings::enableDebuginfod() { - return settings->option("advanced.shell.enable_debuginfod")->value().toBool(); + return settings->option("advanced.debuginfod.enable_debuginfod")->value().toBool(); } QString Settings::debuginfodUrls() { - return settings->option("advanced.shell.debuginfod_urls")->value().toString(); + return settings->option("advanced.debuginfod.debuginfod_urls")->value().toString(); } /******** Add by ut001000 renfeixiang 2020-06-15:增加 每次显示设置界面时,更新设置的等宽字体 End***************/ diff --git a/src/settings/settings_translation.cpp b/src/settings/settings_translation.cpp index 1d9abe5d9..0bc7c14b4 100644 --- a/src/settings/settings_translation.cpp +++ b/src/settings/settings_translation.cpp @@ -150,6 +150,6 @@ void GenerateSettingTranslate() Q_UNUSED(include_special_characters_in_double_click_selectionisText); auto set_cursor_position = QObject::tr("Allow Ctrl + left mouse click to set cursor position"); Q_UNUSED(set_cursor_position); - auto debuginfod_urls = QObject::tr("debuginfod urls"); - Q_UNUSED(debuginfod_urls); + auto enable_debuginfod = QObject::tr("The HTTP file server used for transmitting debugging information resources"); + Q_UNUSED(enable_debuginfod); } diff --git a/src/views/termwidget.cpp b/src/views/termwidget.cpp index 3845d1fff..d4e50b74e 100644 --- a/src/views/termwidget.cpp +++ b/src/views/termwidget.cpp @@ -1188,10 +1188,10 @@ void TermWidget::onSettingValueChanged(const QString &keyName) return; } - if ("advanced.shell.enable_debuginfod" == keyName) { + if ("advanced.debuginfod.enable_debuginfod" == keyName) { if (!hasRunningProcess()) { if (Settings::instance()->enableDebuginfod()) { - sendText(QString("test -z $DEBUGINFOD_URLS && export DEBUGINFOD_URLS=$1\n").arg(Settings::instance()->debuginfodUrls())); + sendText(QString("test -z $DEBUGINFOD_URLS && export DEBUGINFOD_URLS=\"%1\"\n").arg(Settings::instance()->debuginfodUrls())); } else { sendText("test -z $DEBUGINFOD_URLS || unset DEBUGINFOD_URLS\n"); } diff --git a/translations/deepin-terminal.ts b/translations/deepin-terminal.ts index 0ce2c0140..900fc19c5 100644 --- a/translations/deepin-terminal.ts +++ b/translations/deepin-terminal.ts @@ -21,67 +21,67 @@ - - + + Required - + Add Command - + Edit Command - + Delete Command - + Cancel button - + Add button - + Save button - + OK button - + Please enter a name - + Please enter a command - + The name already exists, - + please input another one. @@ -89,12 +89,12 @@ CustomCommandPanel - + Add Command - + No commands yet @@ -110,7 +110,7 @@ CustomCommandSearchRstPanel - + Search @@ -118,53 +118,53 @@ CustomThemeSettingDialog - + Custom Theme - + Style: - + Light - + Dark - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + Cancel button - + Confirm button @@ -173,42 +173,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel - + Add - + Save - + Please enter a group name - + The name should be no more than 30 characters @@ -216,28 +216,28 @@ ListView - + Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? @@ -245,35 +245,35 @@ MainWindow - - + + New window - + Settings - + Cancel button - + Close button - + Type path to download file - + Custom Theme @@ -307,364 +307,385 @@ - Hide Quake window after losing focus + Allow Ctrl+scrollwheel to zoom text size - Quake window animation speed + Hide Quake window after losing focus - - Blur background + Quake window animation speed - Use on starting + + Blur background - Font + Use on starting - Font size + Font - - Opacity + Font size - Advanced + + Opacity - Cursor + Advanced - Scroll + Cursor - Window + Scroll - Basic + Window - Interface + Basic - Shortcuts + Interface - - Others + Shortcuts + + Others + + + + - + + Terminal - + Workspace - - + + Custom commands - - + + Display shortcuts - - + + Remote management - - + + New tab - - + + Next tab - - + + Previous tab - - + + Select left workspace - - + + Select lower workspace - - + + Select right workspace - - + + Select upper workspace - + Tab titles - - + + Go to tab 1 - - + + Go to tab 2 - - + + Go to tab 3 - - + + Go to tab 4 - - + + Go to tab 5 - - + + Go to tab 6 - - + + Go to tab 7 - - + + Go to tab 8 - - + + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - - - - - Rename title + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + - - Fullscreen + + Rename title - - Copy + + Fullscreen - - Default size + + Copy - - Paste + + Default size - Search + + Paste - - Select all + Search - Jump to next command + + Select all - Jump to previous command + Jump to next command - - Zoom in + Jump to previous command - - Zoom out + + Zoom in - Close other windows + + Zoom out - - + Close other windows + + + + + + Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + Close window - - - + + + Close workspace - - + + Horizontal split - - + + Vertical split - - + + Find - - - + + debuginfod urls + + + + + + please set another one. @@ -674,46 +695,46 @@ - + Tabs - - + + Close tab - + Select tab - + Switch focus to "+" icon - - + + Select file to upload - - + + Upload - + Programs are still running in terminal - - + + Close this terminal? @@ -730,8 +751,8 @@ - - + + Close this window? @@ -742,119 +763,119 @@ - - + + Select a directory to save the file - + Are you sure you want to uninstall it? - - + + Are you sure you want to uninstall this application? - - + + You will not be able to use Terminal any longer. - - - - + + + + Cancel button - - + + OK button - + Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - - + + The name should be no more than 32 characters - - - + + + Select - + Select the private key file - - + + Tab title format - - + + Remote tab title format - - + + Close other tabs - + Delete button - - + + Confirm button @@ -863,17 +884,17 @@ RemoteManagementPanel - + Add Group - + Add Server - + No servers yet @@ -894,7 +915,7 @@ RemoteManagementSearchPanel - + Search @@ -962,80 +983,85 @@ - + + No Group + + + + Path: - + Command: - + Encoding: - + Backspace key: - + Delete key: - + Cancel button - + Add button - + Edit Server - + Save button - + Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. @@ -1043,7 +1069,7 @@ Service - + OK button @@ -1052,32 +1078,32 @@ Settings - + Split screen - + Fullscreen - + Normal window - + Maximum - + Fast - + Slow @@ -1101,55 +1127,55 @@ TabRenameWidget - + Insert - - + + username: %u - + username@: %U - + remote host: %h - - + + session number: %# - - + + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h @@ -1157,90 +1183,90 @@ TermWidget - + Copy - + Paste - + Open - + Open in file manager - - + + Horizontal split - - + + Vertical split - - + + New tab - + Exit fullscreen - + Fullscreen - + Find - + Search - + Encoding - + Custom commands - + Remote management - + Upload file - + Download file - + Settings @@ -1248,21 +1274,21 @@ Utils - - + + Cancel button - + Close button - - + + OK button diff --git a/translations/deepin-terminal_zh_CN.ts b/translations/deepin-terminal_zh_CN.ts index 017c1fc6a..6fdf613a7 100644 --- a/translations/deepin-terminal_zh_CN.ts +++ b/translations/deepin-terminal_zh_CN.ts @@ -21,66 +21,66 @@ - - + + Required 必填 - + Add Command 添加命令 - + Edit Command 编辑命令 - + Delete Command 删除命令 - + Cancel button 取 消 - + Add button 添 加 - + Save button 保 存 - + Please enter a name 请输入名称 - + Please enter a command 请输入命令 - + The name already exists, 该名称已存在, - + please input another one. 请重新输入 - + OK button 确 定 @@ -89,12 +89,12 @@ CustomCommandPanel - + Add Command 添加命令 - + No commands yet 未添加自定义命令 @@ -110,7 +110,7 @@ CustomCommandSearchRstPanel - + Search 搜索 @@ -118,53 +118,53 @@ CustomThemeSettingDialog - + Custom Theme 自定义主题 - + Style: 主题风格: - + Light 浅色 - + Dark 深色 - + Fore color: 前景色: - + Back color: 背景色: - + Prompt PS1: 提示符PS1: - + Prompt PS2: 提示符PS2: - + Cancel button 取 消 - + Confirm button 确 定 @@ -173,42 +173,42 @@ GroupConfigOptDlg - + Group Name(Required) 分组名称(必填) - + Add Group 添加分组 - + Edit Group 编辑分组 - + Cancel 取 消 - + Add 添 加 - + Save 保 存 - + Please enter a group name 请输入服务器组名称 - + The name should be no more than 30 characters 名称长度不得超过30个字符 @@ -216,28 +216,28 @@ ListView - + Delete Server 删除服务器 - + Delete Custom Command 删除自定义命令 - + Cancel Server Group 取消服务器组 - + Ungrouped servers will go back to server list! 取消分组后服务器将还原至服务器列表! - - + + Are you sure you want to delete %1? 您确定要删除 %1 吗? @@ -245,35 +245,35 @@ MainWindow - - + + New window 新建窗口 - + Settings 设置 - + Cancel button 取 消 - + Close button 关 闭 - + Type path to download file 请输入下载文件的路径 - + Custom Theme 自定义主题 @@ -281,90 +281,90 @@ QObject - - - + + + Cancel button 取 消 - + Delete button 删 除 - - + + Confirm button 确 定 - + - + Close workspace 关闭工作区 - + - + Close other workspaces 关闭其他工作区 - + Could not find "%1", starting "%2" instead. Please check your shell profile. 找不到 “%1”,已启动“%2”代替。请检查Shell配置。 - + Could not open "%1", unable to run it 打不开“%1”,无法正常使用 - + Could not find "%1", unable to run it 找不到“%1”,无法正常使用 - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. 已经按下Ctrl+S,输出被挂起。可以按下Ctrl+Q继续。 - + Tab title format 标签标题格式 - + Remote tab title format 远程标签标题格式 - - + + - + Rename title 重命名标题 - - + + Close tab 关闭标签页 - - + + Close other tabs 关闭其他标签页 @@ -410,7 +410,7 @@ - + Blur background 背景模糊 @@ -431,7 +431,7 @@ - + Opacity 透明度 @@ -472,15 +472,15 @@ - + Others 其他 - - + + Terminal 终端 @@ -491,43 +491,43 @@ - + Custom commands 自定义命令 - + Display shortcuts 显示快捷键 - + Remote management 远程管理 - + Fullscreen 全屏 - + Copy 复制 - + Default size 默认大小 - + Paste 粘贴 @@ -538,7 +538,7 @@ - + Select all 全选 @@ -554,13 +554,13 @@ - + Zoom in 放大 - + Zoom out 缩小 @@ -576,61 +576,61 @@ - + Horizontal split 横向分屏 - + New tab 新建标签页 - + Next tab 下一个标签页 - + Previous tab 上一个标签页 - + Select left workspace 选择左边的工作区 - + Select lower workspace 选择下面的工作区 - + Select right workspace 选择右边的工作区 - + Select upper workspace 选择上面的工作区 - + Vertical split 纵向分屏 - + Find 查找 @@ -641,55 +641,55 @@ - + Go to tab 1 切换到标签 1 - + Go to tab 2 切换到标签 2 - + Go to tab 3 切换到标签 3 - + Go to tab 4 切换到标签 4 - + Go to tab 5 切换到标签 5 - + Go to tab 6 切换到标签 6 - + Go to tab 7 切换到标签 7 - + Go to tab 8 切换到标签 8 - + Go to tab 9 切换到标签 9 @@ -719,19 +719,24 @@ 允许Ctrl+鼠标左键点击设置光标位置 - - + + The HTTP file server used for transmitting debugging information resources + 提供调试信息资源的http文件服务器 + + + + The name should be no more than 32 characters 名称长度不得超过32个字符 - + Select the private key file 选择私钥文件 - - + + Select 选择 @@ -742,41 +747,46 @@ 终端是一款集工作区、多窗口、远程管理、雷神模式等功能的高级终端模拟器。 - + Tabs 标签页 - + Switch focus to "+" icon 光标焦点切换至“+”图标 - + Select tab 选择标签页 - + Select file to upload 选择要上传的文件 - + Upload 上传 - + Select a directory to save the file 选择下载文件的保存目录 - - + + debuginfod urls + + + + + please set another one. 请重新设置 @@ -874,17 +884,17 @@ RemoteManagementPanel - + Add Group 添加分组 - + Add Server 添加服务器 - + No servers yet 未添加服务器 @@ -905,7 +915,7 @@ RemoteManagementSearchPanel - + Search 搜索 @@ -1034,32 +1044,32 @@ 保 存 - + Please enter a server name 请输入服务器名称 - + Please enter an IP address 请输入IP地址 - + Please enter a port 请输入端口 - + Please enter a username 请输入用户名 - + The server name already exists, 该服务器名已存在, - + please input another one. 请重新输入 @@ -1067,7 +1077,7 @@ Service - + OK button 确 定 @@ -1076,32 +1086,32 @@ Settings - + Normal window 正常窗口 - + Split screen 分屏 - + Maximum 最大化 - + Fullscreen 全屏 - + Fast - + Slow @@ -1125,55 +1135,55 @@ TabRenameWidget - + Insert 插入 - - + + username: %u 用户名:%u - + username@: %U 用户名@:%U - + remote host: %h 远程主机:%h - - + + session number: %# 会话编号:%# - - + + title set by shell: %w shell设定的窗口标题:%w - + program name: %n 程序名:%n - + current directory (short): %d 当前目录(短):%d - + current directory (long): %D 当前目录(长):%D - + local host: %h 本地主机:%h @@ -1181,90 +1191,90 @@ TermWidget - + Copy 复制 - + Paste 粘贴 - + Open 打开 - + Open in file manager 在文件管理器中打开 - - + + Horizontal split 横向分屏 - - + + Vertical split 纵向分屏 - - + + New tab 新建标签页 - + Exit fullscreen 退出全屏 - + Fullscreen 全屏 - + Find 查找 - + Search 搜索 - + Encoding 编码 - + Custom commands 自定义命令 - + Remote management 远程管理 - + Upload file 上传文件 - + Download file 下载文件 - + Settings 设置 diff --git a/translations/deepin-terminal_zh_HK.ts b/translations/deepin-terminal_zh_HK.ts index 00b4d3441..219dbd4a4 100644 --- a/translations/deepin-terminal_zh_HK.ts +++ b/translations/deepin-terminal_zh_HK.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -19,67 +21,67 @@ - - + + Required 必填 - + Add Command 添加命令 - + Edit Command 編輯命令 - + Delete Command 刪除命令 - + Cancel button 取 消 - + Add button 添 加 - + Save button 保 存 - + OK button 確 定 - + Please enter a name 請輸入名稱 - + Please enter a command 請輸入命令 - + The name already exists, 該名稱已存在, - + please input another one. 請重新輸入 @@ -87,12 +89,12 @@ CustomCommandPanel - + Add Command 添加命令 - + No commands yet 未添加自定義命令 @@ -108,7 +110,7 @@ CustomCommandSearchRstPanel - + Search 搜尋 @@ -116,53 +118,53 @@ CustomThemeSettingDialog - + Custom Theme 自定義主題 - + Style: 主題風格: - + Light 淺色 - + Dark 深色 - + Fore color: 前景色: - + Back color: 背景色: - + Prompt PS1: 提示符PS1: - + Prompt PS2: 提示符PS2: - + Cancel button 取 消 - + Confirm button 確 定 @@ -171,71 +173,71 @@ GroupConfigOptDlg - + Group Name(Required) - + - + Add Group - + - + Edit Group - + - + Cancel 取 消 - + Add 添 加 - + Save 保 存 - + Please enter a group name 請輸入用戶組名稱 - + The name should be no more than 30 characters - + 名稱長度不得超過32個字符 {30 ?} ListView - + Delete Server 刪除伺服器 - + Delete Custom Command - + - + Cancel Server Group - + - + Ungrouped servers will go back to server list! - + - - + + Are you sure you want to delete %1? 您確定要刪除 %1 嗎? @@ -243,35 +245,35 @@ MainWindow - - + + New window 新建視窗 - + Settings 設置 - + Cancel button 取 消 - + Close button 關 閉 - + Type path to download file 請輸入下載文件的路徑 - + Custom Theme 自定義主題 @@ -305,364 +307,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus 丟失焦點後隱藏雷神視窗 - + Quake window animation speed - + - - + + Blur background 背景模糊 - + Use on starting 啟動時使用 - + Font 字體 - + Font size 字體大小 - - + + Opacity 透明度 - + Advanced 高級設置 - + Cursor 鼠標 - + Scroll 滑鼠滾輪 - + Window 視窗 - + Basic 基本 - + Interface 接口 - + Shortcuts 快捷鍵 - - + + Others 其他 - + - + + Terminal 終端 - + Workspace 工作區 - - + + Custom commands 自定義命令 - - + + Display shortcuts 顯示快捷鍵 - - + + Remote management 遠程管理 - - + + New tab 新建標籤頁 - - + + Next tab 下一個標籤頁 - - + + Previous tab 上一個標籤頁 - - + + Select left workspace 選擇左邊的工作區 - - + + Select lower workspace 選擇下面的工作區 - - + + Select right workspace 選擇右邊的工作區 - - + + Select upper workspace 選擇上面的工作區 - + Tab titles 標籤標題 - - + + Go to tab 1 切換到標籤 1 - - + + Go to tab 2 切換到標籤 2 - - + + Go to tab 3 切換到標籤 3 - - + + Go to tab 4 切換到標籤 4 - - + + Go to tab 5 切換到標籤 5 - - + + Go to tab 6 切換到標籤 6 - - + + Go to tab 7 切換到標籤 7 - - + + Go to tab 8 切換到標籤 8 - - + + Go to tab 9 切換到標籤 9 - + Disable flow control using Ctrl+S, Ctrl+Q 禁用Ctrl+S和Ctrl+Q控制 - + Shell profile Shell配置 - + History size - + - + Include special character(s) in double click selections - + - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + 提供調試資訊資源的http檔案伺服器 + + + + + + Rename title 重命名標題 - - + + Fullscreen 全螢幕 - - + + Copy 複製 - - + + Default size 默認大小 - - + + Paste 貼上 - + Search 搜尋 - - + + Select all 選擇全部 - + Jump to next command 跳轉到下一個命令 - + Jump to previous command 跳轉到上一個命令 - - + + Zoom in 拉近 - - + + Zoom out 拉遠 - + Close other windows 關閉其他視窗 - - - + + + Close other workspaces 關閉其他工作區 - + Could not find "%1", starting "%2" instead. Please check your shell profile. 找不到 「%1」,已啟動「%2」代替。請檢查Shell配置。 - + Could not open "%1", unable to run it 打不開“%1”,無法正常使用 - + Could not find "%1", unable to run it 找不到「%1」,無法正常使用 - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. 已經按下Ctrl+S,輸出被掛起。可以按下Ctrl+Q繼續。 - + Close window 關閉視窗 - - - + + + Close workspace 關閉工作區 - - + + Horizontal split 橫向分屏 - - + + Vertical split 縱向分屏 - - + + Find 查找 - - - + + debuginfod urls + + + + + + please set another one. 請重新設置 @@ -672,46 +695,46 @@ 終端是⼀款集⼯作區、多視窗、遠程管理、雷神模式等功能的⾼級終端模擬器。 - + Tabs 標籤頁 - - + + Close tab 關閉標籤頁 - + Select tab 選擇標籤頁 - + Switch focus to "+" icon 光標焦點切換至「+」圖標 - - + + Select file to upload 選擇要上傳的文件 - - + + Upload 上傳 - + Programs are still running in terminal 終端仍然有程序在運行 - - + + Close this terminal? 關閉此終端? @@ -719,17 +742,17 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + - - + + Close this window? 關閉這個視窗? @@ -737,122 +760,122 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - - + + Select a directory to save the file 選擇下載文件的保存目錄 - + Are you sure you want to uninstall it? 你確定要解除安裝嗎? - - + + Are you sure you want to uninstall this application? 您確定要卸載終端嗎? - - + + You will not be able to use Terminal any longer. 卸載後將無法再使用該應用。 - - - - + + + + Cancel button 取 消 - - + + OK button 確 定 - + Execute a command in the terminal 在終端運行一個程序 - + Run script string in the terminal 在終端中允許腳本字符串 - + Set the work directory 設置終端的啟動目錄 - + Set the window mode on starting 設置終端開啟的模式 - + Run in quake mode 雷神模式 - + Keep terminal open when command finishes 設置終端顯示命令或腳本執行後的結果 - - + + The name should be no more than 32 characters 名稱長度不得超過32個字符 - - - + + + Select 選擇 - + Select the private key file 選擇私鑰文件 - - + + Tab title format 標籤標題格式 - - + + Remote tab title format 遠程標籤標題格式 - - + + Close other tabs 關閉其他標籤頁 - + Delete button 刪 除 - - + + Confirm button 確 定 @@ -861,17 +884,17 @@ RemoteManagementPanel - + Add Group - + - + Add Server 添加伺服器 - + No servers yet 未添加伺服器 @@ -892,7 +915,7 @@ RemoteManagementSearchPanel - + Search 搜尋 @@ -902,12 +925,12 @@ Groups - + Servers - + @@ -960,80 +983,85 @@ 分組: - + + No Group + + + + Path: 路徑: - + Command: 命令: - + Encoding: 編碼: - + Backspace key: 退格鍵: - + Delete key: 刪除鍵: - + Cancel button 取 消 - + Add button 添 加 - + Edit Server 編輯伺服器 - + Save button 保 存 - + Please enter a server name 請輸入伺服器名稱 - + Please enter an IP address 請輸入IP位址 - + Please enter a port 請輸入端口 - + Please enter a username 請輸入用戶名 - + The server name already exists, 該伺服器名已存在, - + please input another one. 請重新輸入 @@ -1041,7 +1069,7 @@ Service - + OK button 確 定 @@ -1050,32 +1078,32 @@ Settings - + Split screen 分屏 - + Fullscreen 全螢幕 - + Normal window 正常視窗 - + Maximum 最⼤化 - + Fast - + Slow @@ -1099,55 +1127,55 @@ TabRenameWidget - + Insert 插入 - - + + username: %u 用戶名:%u - + username@: %U 用戶名@:%U - + remote host: %h 遠程主機:%h - - + + session number: %# 會話編號:%# - - + + title set by shell: %w shell設定的窗口標題:%w - + program name: %n 程序名:%n - + current directory (short): %d 當前目錄(短):%d - + current directory (long): %D 當前目錄(長):%D - + local host: %h 本地主機:%h @@ -1155,90 +1183,90 @@ TermWidget - + Copy 複製 - + Paste 貼上 - + Open 開啟 - + Open in file manager 在文件管理器中打開 - - + + Horizontal split 橫向分屏 - - + + Vertical split 縱向分屏 - - + + New tab 新建標籤頁 - + Exit fullscreen 退出全螢幕 - + Fullscreen 全螢幕 - + Find 查找 - + Search 搜尋 - + Encoding 編碼 - + Custom commands 自定義命令 - + Remote management 遠程管理 - + Upload file 上傳文件 - + Download file 下載文件 - + Settings 設置 @@ -1246,24 +1274,24 @@ Utils - - + + Cancel button 取 消 - + Close button 關 閉 - - + + OK button 確 定 - \ No newline at end of file + diff --git a/translations/deepin-terminal_zh_TW.ts b/translations/deepin-terminal_zh_TW.ts index c8fac4e93..b081db641 100644 --- a/translations/deepin-terminal_zh_TW.ts +++ b/translations/deepin-terminal_zh_TW.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -19,67 +21,67 @@ - - + + Required 必須 - + Add Command 加入命令 - + Edit Command 編輯命令 - + Delete Command 刪除命令 - + Cancel button 取 消 - + Add button 添 加 - + Save button 儲 存 - + OK button 確 定 - + Please enter a name 請輸入名稱 - + Please enter a command 請輸入命令 - + The name already exists, 該名稱已存在, - + please input another one. 請重新輸入 @@ -87,12 +89,12 @@ CustomCommandPanel - + Add Command 加入命令 - + No commands yet 未添加自訂指令 @@ -108,7 +110,7 @@ CustomCommandSearchRstPanel - + Search 搜尋 @@ -116,53 +118,53 @@ CustomThemeSettingDialog - + Custom Theme 自訂主題 - + Style: 主題風格: - + Light 淺色 - + Dark 深色 - + Fore color: 前景色: - + Back color: 背景色: - + Prompt PS1: 提示符PS1: - + Prompt PS2: 提示符PS2: - + Cancel button 取 消 - + Confirm button 確 定 @@ -171,71 +173,71 @@ GroupConfigOptDlg - + Group Name(Required) - + - + Add Group - + - + Edit Group - + - + Cancel 取 消 - + Add 加 入 - + Save 儲 存 - + Please enter a group name 請輸入使用者群組名稱 - + The name should be no more than 30 characters - + 名稱長度不得超過32個字元 {30 ?} ListView - + Delete Server 刪除伺服器 - + Delete Custom Command - + - + Cancel Server Group - + - + Ungrouped servers will go back to server list! - + - - + + Are you sure you want to delete %1? 確定刪除 %1? @@ -243,35 +245,35 @@ MainWindow - - + + New window 新增視窗 - + Settings 設定 - + Cancel button 取 消 - + Close button 離 開 - + Type path to download file 輸入位置以下載檔案 - + Custom Theme 自訂主題 @@ -305,364 +307,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus 失去焦點時隱藏雷神視窗 - + Quake window animation speed - + - - + + Blur background 模糊背景 - + Use on starting 啟動時使用 - + Font 字體 - + Font size 字型大小 - - + + Opacity 不透明度 - + Advanced 進階 - + Cursor 游標 - + Scroll 捲動 - + Window 視窗 - + Basic 基本 - + Interface 界面 - + Shortcuts 快捷鍵 - - + + Others 其他 - + - + + Terminal 終端機 - + Workspace 工作區 - - + + Custom commands 自訂命令 - - + + Display shortcuts 顯示快捷鍵 - - + + Remote management 遠端管理 - - + + New tab 建立標籤頁 - - + + Next tab 下一個標籤頁 - - + + Previous tab 上一個標籤頁 - - + + Select left workspace 選擇左邊的工作區 - - + + Select lower workspace 選擇下面的工作區 - - + + Select right workspace 選擇右邊的工作區 - - + + Select upper workspace 選擇上面的工作區 - + Tab titles 標籤標題 - - + + Go to tab 1 切換到標籤 1 - - + + Go to tab 2 切換到標籤 2 - - + + Go to tab 3 切換到標籤 3 - - + + Go to tab 4 切換到標籤 4 - - + + Go to tab 5 切換到標籤 5 - - + + Go to tab 6 切換到標籤 6 - - + + Go to tab 7 切換到標籤 7 - - + + Go to tab 8 切換到標籤 8 - - + + Go to tab 9 切換到標籤 9 - + Disable flow control using Ctrl+S, Ctrl+Q 禁用Ctrl+S和Ctrl+Q控制 - + Shell profile Shell配置 - + History size - + - + Include special character(s) in double click selections - + - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + 提供調試資訊資源的http檔案伺服器 + + + + + + Rename title 重命名分頁 - - + + Fullscreen 全螢幕 - - + + Copy 複製 - - + + Default size 預設大小 - - + + Paste 貼上 - + Search 搜尋 - - + + Select all 全選 - + Jump to next command 跳到下個命令 - + Jump to previous command 跳到上個命令 - - + + Zoom in 放大 - - + + Zoom out 縮小 - + Close other windows 關閉其他視窗 - - - + + + Close other workspaces 關閉其他工作區 - + Could not find "%1", starting "%2" instead. Please check your shell profile. 找不到 「%1」,已啟動「%2」代替。請檢查Shell配置。 - + Could not open "%1", unable to run it 打不開“%1”,無法正常使用 - + Could not find "%1", unable to run it 找不到「%1」,無法正常使用 - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. 已經按下Ctrl+S,輸出被掛起。可以按下Ctrl+Q繼續。 - + Close window 關閉視窗 - - - + + + Close workspace 關閉工作區 - - + + Horizontal split 水平分割 - - + + Vertical split 垂直分割 - - + + Find 尋找 - - - + + debuginfod urls + + + + + + please set another one. 請重新設置 @@ -672,46 +695,46 @@ 終端機是個進階的終端模擬器,具備視窗切割、工作區、遠端管理、雷神模式等其他功能。 - + Tabs 標籤頁 - - + + Close tab 關閉標籤頁 - + Select tab 選擇標籤頁 - + Switch focus to "+" icon 光標焦點切換至「+」圖標 - - + + Select file to upload 選擇要上傳的檔案 - - + + Upload 上傳 - + Programs are still running in terminal 多個程式仍在執行 - - + + Close this terminal? 關閉此終端? @@ -719,17 +742,17 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + - - + + Close this window? 關閉這個窗口? @@ -737,122 +760,122 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - - + + Select a directory to save the file 選擇檔案儲存路徑 - + Are you sure you want to uninstall it? 您確定要卸載它嗎? - - + + Are you sure you want to uninstall this application? 您確定要卸載終端嗎? - - + + You will not be able to use Terminal any longer. 卸載後將無法再使用該應用。 - - - - + + + + Cancel button 取 消 - - + + OK button 確 定 - + Execute a command in the terminal 於終端機執行程式 - + Run script string in the terminal 在終端中允許腳本字符串 - + Set the work directory 設定終端機的啟動目錄 - + Set the window mode on starting 設置終端開啟的模式 - + Run in quake mode 以雷神模式執行終端機 - + Keep terminal open when command finishes 設置終端顯示命令或腳本執行後的結果 - - + + The name should be no more than 32 characters 名稱長度不得超過32個字元 - - - + + + Select 選擇 - + Select the private key file 選擇私鑰檔案 - - + + Tab title format 標籤標題格式 - - + + Remote tab title format 遠端標籤標題格式 - - + + Close other tabs 關閉其他標籤頁 - + Delete button 刪 除 - - + + Confirm button 確 定 @@ -861,17 +884,17 @@ RemoteManagementPanel - + Add Group - + - + Add Server 加入伺服器 - + No servers yet 未添加伺服器 @@ -892,7 +915,7 @@ RemoteManagementSearchPanel - + Search 搜尋 @@ -902,12 +925,12 @@ Groups - + Servers - + @@ -960,80 +983,85 @@ 分組: - + + No Group + + + + Path: 位置: - + Command: 命令: - + Encoding: 編碼: - + Backspace key: 退格鍵: - + Delete key: 刪除鍵: - + Cancel button 取 消 - + Add button 添 加 - + Edit Server 編輯伺服器 - + Save button 儲 存 - + Please enter a server name 請輸入伺服器名稱 - + Please enter an IP address 請輸入IP位址 - + Please enter a port 請輸入埠 - + Please enter a username 請輸入使用者名稱 - + The server name already exists, 該伺服器名已存在, - + please input another one. 請重新輸入 @@ -1041,7 +1069,7 @@ Service - + OK button 確 定 @@ -1050,32 +1078,32 @@ Settings - + Split screen 分屏 - + Fullscreen 全螢幕 - + Normal window 正常視窗 - + Maximum 最⼤化 - + Fast - + Slow @@ -1099,55 +1127,55 @@ TabRenameWidget - + Insert 插入 - - + + username: %u 使用者名稱:%u - + username@: %U 使用者名稱@:%U - + remote host: %h 遠端主機:%h - - + + session number: %# 工作階段編號:%# - - + + title set by shell: %w shell設定的視窗標題:%w - + program name: %n 程式名:%n - + current directory (short): %d 目前目錄(短):%d - + current directory (long): %D 目前目錄(長):%D - + local host: %h 本機主機:%h @@ -1155,90 +1183,90 @@ TermWidget - + Copy 複製 - + Paste 貼上 - + Open 開啟 - + Open in file manager 在檔案管理器中開啟 - - + + Horizontal split 水平分割 - - + + Vertical split 垂直分割 - - + + New tab 建立標籤頁 - + Exit fullscreen 退出全螢幕 - + Fullscreen 全螢幕 - + Find 尋找 - + Search 搜尋 - + Encoding 編碼 - + Custom commands 自訂命令 - + Remote management 遠端管理 - + Upload file 上傳檔案 - + Download file 下載檔案 - + Settings 設定 @@ -1246,24 +1274,24 @@ Utils - - + + Cancel button 取 消 - + Close button 離 開 - - + + OK button 確 定 - \ No newline at end of file + From 7a7605d728c4f9a538a178a98944e462a78d49dc Mon Sep 17 00:00:00 2001 From: ArchieMeng Date: Fri, 22 Nov 2024 14:27:09 +0800 Subject: [PATCH 07/13] chore: Update debuginfod namings (#369) Log: Update debuginfod namings --- src/assets/other/default-config.json | 4 ++-- src/main/service.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/assets/other/default-config.json b/src/assets/other/default-config.json index fc036c460..1453a5dcd 100644 --- a/src/assets/other/default-config.json +++ b/src/assets/other/default-config.json @@ -424,7 +424,7 @@ }, { "key": "debuginfod", - "name": "debuginfod", + "name": "Debuginfod", "options": [ { "key": "enable_debuginfod", @@ -434,7 +434,7 @@ }, { "key": "debuginfod_urls", - "name": "debuginfod urls", + "name": "debuginfod URLs", "type": "lineedit", "default": "https://debuginfod.deepin.com" } diff --git a/src/main/service.cpp b/src/main/service.cpp index 6d2239534..15f459a21 100644 --- a/src/main/service.cpp +++ b/src/main/service.cpp @@ -211,7 +211,7 @@ void Service::showHideDebuginfodUrlsOptions(bool isShow) if (strcmp(widget->metaObject()->className(), "QLabel") == 0) { QString text = (qobject_cast(widget))->text(); - if (QObject::tr("debuginfod urls") == text) { + if (QObject::tr("debuginfod URLs") == text) { QWidget *optionWidget = widget; QWidget *parentWidget = widget->parentWidget(); QWidget *wrapWidget = parentWidget ? parentWidget->parentWidget() : nullptr; From 5f50e24018b8c7eaa9049725360dc9353723c3c1 Mon Sep 17 00:00:00 2001 From: ArchieMeng Date: Fri, 22 Nov 2024 16:45:51 +0800 Subject: [PATCH 08/13] feat: Show warnings when changing debuginfod settings during running (#370) process pms: STORY-37445 Log: Show warnings when changing debuginfod settings during running process --- src/views/termwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/termwidget.cpp b/src/views/termwidget.cpp index d4e50b74e..1d82b7c5b 100644 --- a/src/views/termwidget.cpp +++ b/src/views/termwidget.cpp @@ -1197,6 +1197,7 @@ void TermWidget::onSettingValueChanged(const QString &keyName) } } else { // Todo(ArchieMeng): Should handle the situation when there is a running process. It should wait until all running processes being exited. + showShellMessage(tr("The debuginfod settings will be effective after restart")); } return; } From cb73ccdca4122466d3b5ca9ec7e7843ab43aa4da Mon Sep 17 00:00:00 2001 From: "transifex-integration[bot]" <43880903+transifex-integration[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 16:54:00 +0800 Subject: [PATCH 09/13] [deepin-terminal] Updates for project Deepin Terminal (#371) * [skip CI] Translate deepin-terminal.ts in el [Manual Sync] 61% of minimum 50% translated source file: 'deepin-terminal.ts' on 'el'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in tr [Manual Sync] 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'tr'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in bg [Manual Sync] 51% of minimum 50% translated source file: 'deepin-terminal.ts' on 'bg'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in fi [Manual Sync] 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'fi'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in he [Manual Sync] 82% of minimum 50% translated source file: 'deepin-terminal.ts' on 'he'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in it [Manual Sync] 91% of minimum 50% translated source file: 'deepin-terminal.ts' on 'it'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate desktop.ts in he [Manual Sync] 66% of minimum 50% translated source file: 'desktop.ts' on 'he'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pt [Manual Sync] 91% of minimum 50% translated source file: 'deepin-terminal.ts' on 'pt'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in ru [Manual Sync] 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'ru'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in br [Manual Sync] 66% of minimum 50% translated source file: 'deepin-terminal.ts' on 'br'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in az [Manual Sync] 91% of minimum 50% translated source file: 'deepin-terminal.ts' on 'az'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in bo [Manual Sync] 90% of minimum 50% translated source file: 'deepin-terminal.ts' on 'bo'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in sv [Manual Sync] 51% of minimum 50% translated source file: 'deepin-terminal.ts' on 'sv'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in sq [Manual Sync] 98% of minimum 50% translated source file: 'deepin-terminal.ts' on 'sq'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in ko [Manual Sync] 85% of minimum 50% translated source file: 'deepin-terminal.ts' on 'ko'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pt_BR [Manual Sync] 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'pt_BR'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in ug [Manual Sync] 90% of minimum 50% translated source file: 'deepin-terminal.ts' on 'ug'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in nl [Manual Sync] 100% translated source file: 'deepin-terminal.ts' on 'nl'. * [skip CI] Translate deepin-terminal.ts in lt [Manual Sync] 53% of minimum 50% translated source file: 'deepin-terminal.ts' on 'lt'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in fa [Manual Sync] 51% of minimum 50% translated source file: 'deepin-terminal.ts' on 'fa'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in fr [Manual Sync] 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'fr'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in de [Manual Sync] 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'de'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in es [Manual Sync] 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'es'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate terminalwidget.ts in pl [Manual Sync] 100% translated source file: 'terminalwidget.ts' on 'pl'. * [skip CI] Translate deepin-terminal.ts in ca [Manual Sync] 100% translated source file: 'deepin-terminal.ts' on 'ca'. * [skip CI] Translate deepin-terminal.ts in hi_IN [Manual Sync] 89% of minimum 50% translated source file: 'deepin-terminal.ts' on 'hi_IN'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in sl [Manual Sync] 50% of minimum 50% translated source file: 'deepin-terminal.ts' on 'sl'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in ro [Manual Sync] 69% of minimum 50% translated source file: 'deepin-terminal.ts' on 'ro'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in hr [Manual Sync] 79% of minimum 50% translated source file: 'deepin-terminal.ts' on 'hr'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in cs [Manual Sync] 91% of minimum 50% translated source file: 'deepin-terminal.ts' on 'cs'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in ms [Manual Sync] 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'ms'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in id [Manual Sync] 89% of minimum 50% translated source file: 'deepin-terminal.ts' on 'id'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in hu [Manual Sync] 100% translated source file: 'deepin-terminal.ts' on 'hu'. * [skip CI] Translate deepin-terminal.ts in da [Manual Sync] 52% of minimum 50% translated source file: 'deepin-terminal.ts' on 'da'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pl [Manual Sync] 100% translated source file: 'deepin-terminal.ts' on 'pl'. * [skip CI] Translate deepin-terminal.ts in gl_ES [Manual Sync] 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate terminalwidget.ts in hr [Manual Sync] 66% of minimum 50% translated source file: 'terminalwidget.ts' on 'hr'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in ar [Manual Sync] 75% of minimum 50% translated source file: 'deepin-terminal.ts' on 'ar'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate desktop.ts in pt_BR [Manual Sync] 100% translated source file: 'desktop.ts' on 'pt_BR'. * [skip CI] Translate deepin-terminal.ts in uk [Manual Sync] 100% translated source file: 'deepin-terminal.ts' on 'uk'. * [skip CI] Translate deepin-terminal.ts in sk [Manual Sync] 52% of minimum 50% translated source file: 'deepin-terminal.ts' on 'sk'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate terminalwidget.ts in sk [Manual Sync] 52% of minimum 50% translated source file: 'terminalwidget.ts' on 'sk'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in sr [Manual Sync] 89% of minimum 50% translated source file: 'deepin-terminal.ts' on 'sr'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in zh_TW [Manual Sync] 90% of minimum 50% translated source file: 'deepin-terminal.ts' on 'zh_TW'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in zh_HK [Manual Sync] 90% of minimum 50% translated source file: 'deepin-terminal.ts' on 'zh_HK'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format --------- Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com> --- .../lib/translations/terminalwidget_hr.ts | 4 +- .../lib/translations/terminalwidget_pl.ts | 2 +- .../lib/translations/terminalwidget_sk.ts | 123 ++++ translations/deepin-terminal_ar.ts | 554 +++++++++-------- translations/deepin-terminal_az.ts | 554 +++++++++-------- translations/deepin-terminal_bg.ts | 554 +++++++++-------- translations/deepin-terminal_bo.ts | 554 +++++++++-------- translations/deepin-terminal_br.ts | 554 +++++++++-------- translations/deepin-terminal_ca.ts | 554 +++++++++-------- translations/deepin-terminal_cs.ts | 554 +++++++++-------- translations/deepin-terminal_da.ts | 554 +++++++++-------- translations/deepin-terminal_de.ts | 554 +++++++++-------- translations/deepin-terminal_el.ts | 554 +++++++++-------- translations/deepin-terminal_es.ts | 556 +++++++++-------- translations/deepin-terminal_fa.ts | 554 +++++++++-------- translations/deepin-terminal_fi.ts | 554 +++++++++-------- translations/deepin-terminal_fr.ts | 554 +++++++++-------- translations/deepin-terminal_gl_ES.ts | 554 +++++++++-------- translations/deepin-terminal_he.ts | 554 +++++++++-------- translations/deepin-terminal_hi_IN.ts | 554 +++++++++-------- translations/deepin-terminal_hr.ts | 572 +++++++++-------- translations/deepin-terminal_hu.ts | 554 +++++++++-------- translations/deepin-terminal_id.ts | 554 +++++++++-------- translations/deepin-terminal_it.ts | 554 +++++++++-------- translations/deepin-terminal_ko.ts | 554 +++++++++-------- translations/deepin-terminal_lt.ts | 554 +++++++++-------- translations/deepin-terminal_ms.ts | 554 +++++++++-------- translations/deepin-terminal_nl.ts | 554 +++++++++-------- translations/deepin-terminal_pl.ts | 560 +++++++++-------- translations/deepin-terminal_pt.ts | 554 +++++++++-------- translations/deepin-terminal_pt_BR.ts | 582 +++++++++--------- translations/deepin-terminal_ro.ts | 554 +++++++++-------- translations/deepin-terminal_ru.ts | 582 +++++++++--------- translations/deepin-terminal_sk.ts | 554 +++++++++-------- translations/deepin-terminal_sl.ts | 554 +++++++++-------- translations/deepin-terminal_sq.ts | 554 +++++++++-------- translations/deepin-terminal_sr.ts | 554 +++++++++-------- translations/deepin-terminal_sv.ts | 554 +++++++++-------- translations/deepin-terminal_tr.ts | 582 +++++++++--------- translations/deepin-terminal_ug.ts | 554 +++++++++-------- translations/deepin-terminal_uk.ts | 582 +++++++++--------- translations/deepin-terminal_zh_HK.ts | 48 +- translations/deepin-terminal_zh_TW.ts | 48 +- translations/desktop/desktop_he.ts | 2 +- translations/desktop/desktop_pt_BR.ts | 2 +- 45 files changed, 11263 insertions(+), 10156 deletions(-) create mode 100644 3rdparty/terminalwidget/lib/translations/terminalwidget_sk.ts diff --git a/3rdparty/terminalwidget/lib/translations/terminalwidget_hr.ts b/3rdparty/terminalwidget/lib/translations/terminalwidget_hr.ts index 701872a5c..b05829764 100644 --- a/3rdparty/terminalwidget/lib/translations/terminalwidget_hr.ts +++ b/3rdparty/terminalwidget/lib/translations/terminalwidget_hr.ts @@ -64,12 +64,12 @@ Color Scheme Error - + Greška sheme boja Cannot load color scheme: %1 - + Ne mogu učitati shemu boja: %1 diff --git a/3rdparty/terminalwidget/lib/translations/terminalwidget_pl.ts b/3rdparty/terminalwidget/lib/translations/terminalwidget_pl.ts index b37709ab5..766e33145 100644 --- a/3rdparty/terminalwidget/lib/translations/terminalwidget_pl.ts +++ b/3rdparty/terminalwidget/lib/translations/terminalwidget_pl.ts @@ -36,7 +36,7 @@ Accessible Color Scheme - Paleta o zwiększonej przystępności + Przystępny schemat kolorów diff --git a/3rdparty/terminalwidget/lib/translations/terminalwidget_sk.ts b/3rdparty/terminalwidget/lib/translations/terminalwidget_sk.ts new file mode 100644 index 000000000..5a054bcf7 --- /dev/null +++ b/3rdparty/terminalwidget/lib/translations/terminalwidget_sk.ts @@ -0,0 +1,123 @@ + + + Konsole::TerminalDisplay + + + Size: XXX x XXX + Veľkosť: XXX x XXX + + + + Size: %1 x %2 + Veľkosť: %1 x %2 + + + + <qt>Output has been <a href="http://en.wikipedia.org/wiki/Flow_control">suspended</a> by pressing Ctrl+S. Press <b>Ctrl+Q</b> to resume.</qt> + + + + + Konsole::Vt102Emulation + + + No keyboard translator available. The information needed to convert key presses into characters to send to the terminal is missing. + + + + + QObject + + + + Un-named Color Scheme + + + + + Accessible Color Scheme + + + + + Open link + Otvoriť odkaz + + + + Copy link + Kopírovať odkaz + + + + Send email to... + Poslať email na... + + + + Copy email address + Kopírovať emailovú adresu + + + + QTermWidget + + + Color Scheme Error + + + + + Cannot load color scheme: %1 + + + + + SearchBar + + + Match case + + + + + Regular expression + + + + + Highlight all matches + + + + + SearchBar + + + + + X + X + + + + Find: + Hľadať: + + + + < + < + + + + > + > + + + + ... + ... + + + \ No newline at end of file diff --git a/translations/deepin-terminal_ar.ts b/translations/deepin-terminal_ar.ts index 51c1ea468..0ec02b0a2 100644 --- a/translations/deepin-terminal_ar.ts +++ b/translations/deepin-terminal_ar.ts @@ -19,67 +19,67 @@ - - + + Required مطلوب - + Add Command إضافة أمر - + Edit Command تعديل الأمر - + Delete Command حذف الأمر - + Cancel button إلغاء - + Add button إضافة - + Save button حفظ - + OK button حسنا - + Please enter a name الرجاء إدخال اسم - + Please enter a command الرجاء إدخال أمر - + The name already exists, الاسم موجود بالفعل، - + please input another one. الرجاء إدخال اسم آخر @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command إضافة أمر - + No commands yet لا توجد أوامر حتى الآن @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search بحث @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme سمة مخصصة - + Style: النمط: - + Light إضاءة - + Dark مظلم - + Fore color: - + Back color: اللون الخلفي - + Prompt PS1: - + Prompt PS2: - + Cancel button إلغاء - + Confirm button تأكيد @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel إلغاء - + Add إضافة - + Save حفظ - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server حذف الخادم - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? هل أنت متأكد من حذف %1؟ @@ -243,35 +243,35 @@ MainWindow - - + + New window نافذة جديدة - + Settings الإعدادات - + Cancel button إلغاء - + Close button إغلاق - + Type path to download file اكتب المسار لتنزيل الملف - + Custom Theme سمة مخصصة @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus إخفاء النافذة العائمة بعد فقدان التركيز - + Quake window animation speed - - + + Blur background خلفية ضبابية - + Use on starting - + Font الخط - + Font size حجم الخط - - + + Opacity التعتيم - + Advanced متقدم - + Cursor مؤشر - + Scroll تمرير - + Window النافذة - + Basic أساسي - + Interface الواجهة - + Shortcuts الإختصارات - - + + Others غير ذلك - + - + + Terminal الطرفية - + Workspace مساحة العمل - - + + Custom commands أوامر مخصصة - - + + Display shortcuts عرض الإختصارات - - + + Remote management الإدارة عن بعد - - + + New tab لسان جديد - - + + Next tab اللسان التالي - - + + Previous tab اللسان التالي - - + + Select left workspace - - + + Select lower workspace - - + + Select right workspace - - + + Select upper workspace - + Tab titles عنواين الألسنة - - + + Go to tab 1 الذهاب إلى اللسان رقم 1 - - + + Go to tab 2 الذهاب إلى اللسان رقم 2 - - + + Go to tab 3 الذهاب إلى اللسان رقم 3 - - + + Go to tab 4 الذهاب إلى اللسان رقم 4 - - + + Go to tab 5 الذهاب إلى اللسان رقم 5 - - + + Go to tab 6 الذهاب إلى اللسان رقم 6 - - + + Go to tab 7 الذهاب إلى اللسان رقم 7 - - + + Go to tab 8 الذهاب إلى اللسان رقم 8 - - + + Go to tab 9 الذهاب إلى اللسان رقم 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title إعادة تسمية العنوان - - + + Fullscreen ملء الشاشة - - + + Copy نسخ - - + + Default size الحجم الافتراضي - - + + Paste لصق - + Search بحث - - + + Select all تحديد الكل - + Jump to next command الانتقال إلى الأمر التالي - + Jump to previous command الانتقال إلى الأمر السابق - - + + Zoom in تكبير - - + + Zoom out تصغير - + Close other windows إغلاق النوافذ الأخرى - - - + + + Close other workspaces إغلاق مساحة العمل الأخرى - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + Close window إغلاق النافذة - - - + + + Close workspace إغلاق مساحة العمل - - + + Horizontal split تقسيم أفقي - - + + Vertical split تقسيم عمودي - - + + Find بحث - - - + + debuginfod urls + + + + + + please set another one. @@ -672,46 +693,46 @@ الطرفية عبارة عن محاكي مطور متقدم مزود بمساحة عمل ، ونوافذ متعددة ، والإدارة عن بعد ، ووضع متحول ، وغيرها من الميزات. - + Tabs الألسنة - - + + Close tab إغلاق اللسان - + Select tab اختيار اللسان - + Switch focus to "+" icon - - + + Select file to upload تحديد ملف للرفع - - + + Upload رفع - + Programs are still running in terminal لا تزال هناك برامج تعمل في الطرفية - - + + Close this terminal? هل تريد إغلاق الطرفية؟ @@ -728,8 +749,8 @@ - - + + Close this window? هل تريد إغلاق هذه النافذة؟ @@ -740,119 +761,119 @@ - - + + Select a directory to save the file اختيار المجلد لحفظ هذا الملف - + Are you sure you want to uninstall it? هل أنت متأكد من أنك تريد إلغاء تثبيته؟ - - + + Are you sure you want to uninstall this application? هل أنت متأكد من أنك تريد إلغاء تثبيت هذا التطبيق؟ - - + + You will not be able to use Terminal any longer. لن تتمكن من استخدام الطرفية بعد الآن. - - - - + + + + Cancel button إلغاء - - + + OK button موافق - + Execute a command in the terminal تنفيذ أمر في الطرفية - + Run script string in the terminal تشغيل النصي البرمجي في الطرفية - + Set the work directory تحديد مجلد العمل - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes إبقاء الطرفية مفتوحة عند الانتهاء من تنفيذ الأمر - - + + The name should be no more than 32 characters يجب ألا يزيد الاسم عن 32 حرفا - - - + + + Select اختيار - + Select the private key file تحديد ملف المفتاح الخاص - - + + Tab title format - - + + Remote tab title format - - + + Close other tabs إغلاق الألسنة الأخرى - + Delete button حذف - - + + Confirm button تأكيد @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server إضافة خادم - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search بحث @@ -960,80 +981,85 @@ مجموعة: - + + No Group + + + + Path: المسار: - + Command: أمر - + Encoding: التشفير: - + Backspace key: مفتاح backspace`: - + Delete key: مفتاح الحذف: - + Cancel button إلغاء - + Add button إضافة - + Edit Server تعديل الخادم - + Save button حفظ - + Please enter a server name الرجاء إدخال اسم الخادم - + Please enter an IP address - + Please enter a port الرجاء إدخال رقم المنفذ - + Please enter a username الرجاء إدخال اسم المستخدم - + The server name already exists, إسم الخادم موجود مسبقاً - + please input another one. الرجاء إدخال اسم آخر @@ -1041,7 +1067,7 @@ Service - + OK button حسنا @@ -1050,32 +1076,32 @@ Settings - + Split screen تقسيم الشاشة - + Fullscreen ملء الشاشة - + Normal window نافذة عادية - + Maximum تكبير - + Fast سريع - + Slow بطيء @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert إدراج - - + + username: %u - + username@: %U - + remote host: %h - - + + session number: %# - - + + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy نسخ - + Paste لصق - + Open فتح - + Open in file manager فتح في مدير الملفات - - + + Horizontal split تقسيم أفقي - - + + Vertical split تقسيم عمودي - - + + New tab لسان جديد - + Exit fullscreen خروج من ملء الشاشة - + Fullscreen ملء الشاشة - + Find بحث - + Search بحث - + Encoding الترميز - + Custom commands أوامر مخصصة - + Remote management الإدارة عن بعد - + Upload file رفع الملف - + Download file تحميل الملف - + Settings الإعدادات @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button إلغاء - + Close button إغلاق - - + + OK button موافق diff --git a/translations/deepin-terminal_az.ts b/translations/deepin-terminal_az.ts index 2034e2ca4..cc725bd0e 100644 --- a/translations/deepin-terminal_az.ts +++ b/translations/deepin-terminal_az.ts @@ -19,67 +19,67 @@ - - + + Required Tələb olunur - + Add Command Command əlavə et - + Edit Command Əmrə düzəliş - + Delete Command Əmri silmək - + Cancel button İmtina - + Add button Əlavə edin - + Save button Saxlayın - + OK button OK - + Please enter a name Ad daxil edin - + Please enter a command Əmr daxil edin - + The name already exists, Bu ad artıq var - + please input another one. lütfən başqasını seçin @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Command əlavə et - + No commands yet Hələki heç bir əmr yoxdur @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Axtar @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Fərdi mövzu - + Style: Tərz: - + Light İşıqlı - + Dark Tünd - + Fore color: Ön rəng: - + Back color: Arxa rəng: - + Prompt PS1: PS1 dəvəti: - + Prompt PS2: PS2 dəvəti: - + Cancel button İmtina - + Confirm button Təsdiqlə @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel İmtina - + Add Əlavə et - + Save Saxlayın - + Please enter a group name Qrup adını daxil edin - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server Serveri silmək - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? %1 silmək istədiyinizə əminsiniz? @@ -243,35 +243,35 @@ MainWindow - - + + New window Yeni pəncərə - + Settings Tənzimləmələr - + Cancel button İmtina - + Close button Bağla - + Type path to download file Fayl yüklənəcək yolu yazın - + Custom Theme Fərdi mövzu @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Fokus itirildikdən sonra Quake Terminalı gizlətmək - + Quake window animation speed Titrəyişli pəncərə animasiya sürəti - - + + Blur background Bulanıq arxa fon - + Use on starting Başlanğıcda istifadə etmək - + Font Şrift - + Font size Şrift ölçüsü - - + + Opacity Qeyri-şəffaflıq - + Advanced Təkmilləşmiş - + Cursor Kursor - + Scroll Sürüşdürmə - + Window Pəncərə - + Basic Əsas - + Interface İnterfeys - + Shortcuts Qısayollar - - + + Others Digəriləri - + - + + Terminal Terminal - + Workspace İş sahəsi - - + + Custom commands Fərdi əmrlər - - + + Display shortcuts Qısayolları göstərmək - - + + Remote management Uzaqdan idarəetmə - - + + New tab Yeni vərəq - - + + Next tab Növbəti vərəq - - + + Previous tab Əvvəlki vərəq - - + + Select left workspace Sol iş sahəsini seçmək - - + + Select lower workspace Aşağı iş sahəsini seçmək - - + + Select right workspace Sağ iş sahəsini seçmək - - + + Select upper workspace Yuxarı iş sahəsini seçmək - + Tab titles Vərəq başlıqları - - + + Go to tab 1 1 vərəqə keçid - - + + Go to tab 2 2 vərəqə keçid - - + + Go to tab 3 3 vərəqə keçid - - + + Go to tab 4 4 vərəqə keçid - - + + Go to tab 5 5 vərəqə keçid - - + + Go to tab 6 6 vərəqə keçid - - + + Go to tab 7 7 vərəqə keçid - - + + Go to tab 8 8 vərəqə keçid - - + + Go to tab 9 9 vərəqə keçid - + Disable flow control using Ctrl+S, Ctrl+Q Ctrl+S, Ctrl+Q istifadə edərək axını idarə edin - + Shell profile Üz qabığı profili - + History size Tarixçənin ölçüsü - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Başlığın adını dəyişmək - - + + Fullscreen Tam ekran - - + + Copy Kopyala - - + + Default size Standart ölçü - - + + Paste Əlavə et - + Search Axtar - - + + Select all Hamısını seçmək - + Jump to next command Sonra əmrə keçmək - + Jump to previous command Əvvəlki əmrə keçmək - - + + Zoom in Yaxınlaşdır - - + + Zoom out Uzaqlaşdır - + Close other windows Digər pəncərələri bağla - - - + + + Close other workspaces Başqa iş sahələrini bağlamaq - + Could not find "%1", starting "%2" instead. Please check your shell profile. "%1" tapılmadı, əvəzinə "%2" başladılır. Lütfən üz qabığı profilini yoxlayın. - + Could not open "%1", unable to run it "%1" açıla bilmədi, onu başlatmaq mümkün deyil - + Could not find "%1", unable to run it "%1" tapılmadı, onu başlatmaq mümkün olmadı - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Ctrl+S basmaqla çıxış dayandırıldı. Davam etmək üçün Ctrl+Q vurun. - + Close window Pəncərəni bağlamaq - - - + + + Close workspace İş sahəsini bağla - - + + Horizontal split Üfüqi bölünmə - - + + Vertical split Şaquli bölünmə - - + + Find Tapmaq - - - + + debuginfod urls + + + + + + please set another one. lütfən başqasını təyin edin. @@ -672,46 +693,46 @@ Terminal, iş sahələri, çoxsaylı pəncərələr, uzaqdan idarəetmə, sürüşüb açılma rejimi və digər xüsusiyyətləri ilə birlikdə təkmilləşdirilmiş terminaldır. - + Tabs Vərəqlər - - + + Close tab Vərəqi bağlamaq - + Select tab Vərəqi seçmək - + Switch focus to "+" icon Fokusu "+" nişanına dəyişmək - - + + Select file to upload Yükləmək üçün faylı seçin - - + + Upload Yükləmək - + Programs are still running in terminal Proqramlar hələ də terminalda işləyir - - + + Close this terminal? Bu terminal bağlanılsın? @@ -728,8 +749,8 @@ - - + + Close this window? Bu pəncərə baölansın? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file Fayl saxlanılacaq qovluğu seçin - + Are you sure you want to uninstall it? Bunu silmək istədiyinizə əminsiniz? - - + + Are you sure you want to uninstall this application? Bu tətbiqi silmək istədiyinizə əminsiniz? - - + + You will not be able to use Terminal any longer. Terminaldan artıq istifadə edə bilməyəcəksiniz. - - - - + + + + Cancel button İmtina - - + + OK button OK - + Execute a command in the terminal Əmri terminalda icra etmək - + Run script string in the terminal Skript sətrini terminalda başlatmaq - + Set the work directory İş qovluğunu təyin edin - + Set the window mode on starting Başlanğıcda pəncərə rejimini təyin etmək - + Run in quake mode Sürüşüb açılan rejimi işə salmaq - + Keep terminal open when command finishes Əmr başa çatdıqda terminalı açıq saxlamaq - - + + The name should be no more than 32 characters Ad 32 işarədən böyük olmamalıdır - - - + + + Select Seçmək - + Select the private key file Məxfi açar faylını seçmək - - + + Tab title format Vərəq başlığı formatı - - + + Remote tab title format Uzaq vərəq başlığı formatı - - + + Close other tabs Başqa vərəqləri bağlamaq - + Delete button Sil - - + + Confirm button Təsdiqlə @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server Server əlavə edin - + No servers yet Hələlik heç bir server yoxdur @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Axtar @@ -960,80 +981,85 @@ Qrup: - + + No Group + + + + Path: Yol: - + Command: Əmr: - + Encoding: Kodlaşma: - + Backspace key: Backspace düyməsi: - + Delete key: Açarı silmək: - + Cancel button İmtina - + Add button Əlavə edin - + Edit Server Serverə düzəliş - + Save button Saxlayın - + Please enter a server name Lütfən server adını daxil edin - + Please enter an IP address Lütfən İP ünvanını daxil edin - + Please enter a port Lütfən portu daxil edin - + Please enter a username Lütfən istifadıçi adını daxil edin - + The server name already exists, Server adı artıq mövcuddur, - + please input another one. lütfən başqasını daxil edin. @@ -1041,7 +1067,7 @@ Service - + OK button OK @@ -1050,32 +1076,32 @@ Settings - + Split screen Ekranı bölmək - + Fullscreen Tam ekran - + Normal window Normal pəncərə - + Maximum Maksimum - + Fast Sürətli - + Slow Zəif @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Yerləşdirmək - - + + username: %u istifadəçi_adı: %u - + username@: %U istifadəçi_adı@: %U - + remote host: %h uzaq host: %h - - + + session number: %# sesiya nömrəsi: %# - - + + title set by shell: %w üz qabığının təyin etdiyi başlıq: %w - + program name: %n proqramın adı: %n - + current directory (short): %d cari qovluq (qısa): %d - + current directory (long): %D cari qovluq (uzun): %D - + local host: %h lokal host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Kopyala - + Paste Əlavə et - + Open - + Open in file manager Fayl menecerində açmaq - - + + Horizontal split Üfüqi bölünmə - - + + Vertical split Şaquli bölünmə - - + + New tab Yeni vərəq - + Exit fullscreen Tam ekrandan çıx - + Fullscreen Tam ekran - + Find Tapmaq - + Search Axtar - + Encoding Kodlaşma: - + Custom commands Fərdi əmrlər - + Remote management Uzaqdan idarəetmə - + Upload file Fayl göndərmək - + Download file Fayl endirmək - + Settings Tənzimləmələr @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button İmtina - + Close button Bağla - - + + OK button OK diff --git a/translations/deepin-terminal_bg.ts b/translations/deepin-terminal_bg.ts index 0ff4ab148..f34f51765 100644 --- a/translations/deepin-terminal_bg.ts +++ b/translations/deepin-terminal_bg.ts @@ -19,67 +19,67 @@ - - + + Required Задължителен - + Add Command Добавяне на Команда - + Edit Command Команда за редактиране - + Delete Command - + Cancel button Отказ - + Add button Добави - + Save button Запазване - + OK button ОК - + Please enter a name - + Please enter a command - + The name already exists, - + please input another one. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Добавяне на Команда - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Търсене @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme - + Style: - + Light Светлина - + Dark - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + Cancel button Отказ - + Confirm button Потвърждение @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel Отказ - + Add Добави - + Save Запазване - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Наистина ли искате да изтривате %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Нов прозорец - + Settings Настройки - + Cancel button Отказ - + Close button Затваряне - + Type path to download file Въведете път на сваляния файл - + Custom Theme @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Скрий quake прозореца при загуба на фокус - + Quake window animation speed - - + + Blur background Размазване на фон - + Use on starting - + Font Шрифт - + Font size - - + + Opacity - + Advanced Разширени - + Cursor Курсор - + Scroll Превъртане - + Window Прозорец - + Basic Основен - + Interface Интерфейс - + Shortcuts Бързи клавиши - - + + Others Други - + - + + Terminal Терминал - + Workspace Работно място - - + + Custom commands Потребителски команди - - + + Display shortcuts Комбинации за екрана - - + + Remote management Отдалечено управление - - + + New tab - - + + Next tab - - + + Previous tab - - + + Select left workspace - - + + Select lower workspace - - + + Select right workspace - - + + Select upper workspace - + Tab titles - - + + Go to tab 1 - - + + Go to tab 2 - - + + Go to tab 3 - - + + Go to tab 4 - - + + Go to tab 5 - - + + Go to tab 6 - - + + Go to tab 7 - - + + Go to tab 8 - - + + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Преименуване на заглавие - - + + Fullscreen Цял екран - - + + Copy Копиране - - + + Default size Стандартен размер - - + + Paste Поставяне - + Search Търсене - - + + Select all Избери всички - + Jump to next command Скок към следваща команда - + Jump to previous command Скок към предишна команда - - + + Zoom in Увеличаване - - + + Zoom out Намаляване - + Close other windows Затвори другите прозорци - - - + + + Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + Close window Затваряне на прозореца - - - + + + Close workspace Затвори работното място - - + + Horizontal split Раздели хоризонтално - - + + Vertical split Вертикално разделяне - - + + Find Търси - - - + + debuginfod urls + + + + + + please set another one. @@ -672,46 +693,46 @@ - + Tabs - - + + Close tab - + Select tab - + Switch focus to "+" icon - - + + Select file to upload Изберете файл за качване - - + + Upload Качване - + Programs are still running in terminal Програни се извършват в теминала - - + + Close this terminal? @@ -728,8 +749,8 @@ - - + + Close this window? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file - + Are you sure you want to uninstall it? - - + + Are you sure you want to uninstall this application? - - + + You will not be able to use Terminal any longer. - - - - + + + + Cancel button Отказ - - + + OK button ОК - + Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - - + + The name should be no more than 32 characters - - - + + + Select Избери - + Select the private key file Избор на файл частен ключ - - + + Tab title format - - + + Remote tab title format - - + + Close other tabs - + Delete button Изтриване - - + + Confirm button Потвърждение @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server Добавяне на Сървър - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Търсене @@ -960,80 +981,85 @@ Група: - + + No Group + + + + Path: Път: - + Command: Команда: - + Encoding: Кодиране: - + Backspace key: Клавиш Backspace: - + Delete key: Клавиш за изтриване: - + Cancel button Отказ - + Add button Добави - + Edit Server Редакция сървър - + Save button Запазване - + Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. @@ -1041,7 +1067,7 @@ Service - + OK button ОК @@ -1050,32 +1076,32 @@ Settings - + Split screen - + Fullscreen Цял екран - + Normal window Нормален прозорец - + Maximum - + Fast Бързо - + Slow Бавно @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert - - + + username: %u - + username@: %U - + remote host: %h - - + + session number: %# - - + + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Копиране - + Paste Поставяне - + Open Отваряне - + Open in file manager Отвори във файловия мениджър - - + + Horizontal split Раздели хоризонтално - - + + Vertical split Вертикално разделяне - - + + New tab - + Exit fullscreen Изход от цял екран - + Fullscreen Цял екран - + Find Търси - + Search Търсене - + Encoding Кодировка - + Custom commands Потребителски команди - + Remote management Отдалечено управление - + Upload file Качване на файл - + Download file Файл за сваляне - + Settings Настройки @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Отказ - + Close button Затваряне - - + + OK button ОК diff --git a/translations/deepin-terminal_bo.ts b/translations/deepin-terminal_bo.ts index 36666d530..9a1947abb 100644 --- a/translations/deepin-terminal_bo.ts +++ b/translations/deepin-terminal_bo.ts @@ -19,67 +19,67 @@ - - + + Required ངེས་པར་འབྲི་དགོས། - + Add Command བཀའ་སྣོན་པ། - + Edit Command རྩོམ་སྒྲིག་བཀའ། - + Delete Command བཀའ་སུབ་པ། - + Cancel button འདོར་བ། - + Add button ཁ་སྣོན། - + Save button ཉར་གསོག་ - + OK button གཏན་ཁེལ། - + Please enter a name མིང་འཇུག་རོགས། - + Please enter a command བཀའ་འཇུག་རོགས། - + The name already exists, མིང་འདི་མིན་འདུག - + please input another one. ཡང་བསྐྱར་འཇུག་རོགས། @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command བཀའ་སྣོན་པ། - + No commands yet རང་སྒྲུབ་བཀའ་རྒྱ་སྣོན་མེད། @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search བཤེར་འཚོལ། @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme རང་སྒྲུབ་བརྗོད་གཞི། - + Style: བརྗོད་གཞིའི་ཁྱད་ཆོས། - + Light མདོག་ཧར་པོ། - + Dark མདོག་སྣུམ་་པོ། - + Fore color: མདུན་གྱི་ཚོས་གཞི། - + Back color: རྒྱབ་ཀྱི་ཚོས་གཞི། - + Prompt PS1: ཟུར་སྟོན་བརྡ་རྟགས། PS1 - + Prompt PS2: ཟུར་སྟོན་བརྡ་རྟགས། PS2 - + Cancel button འདོར་བ། - + Confirm button གཏན་ཁེལ། @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel འདོར་བ། - + Add ཁ་སྣོན། - + Save ཉར་གསོག་ - + Please enter a group name སྤྱོད་མཁན་ཚོ་ཆུང་གི་མིང་འཇུག་རོགས། - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server ཞབས་ཞུ་ཆས་སུབ་པ། - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? ཁྱོད་ཀྱིས་ %1སུབ་རྒྱུ་གཏན་ཁེལ་ལམ། @@ -243,35 +243,35 @@ MainWindow - - + + New window སྒེའུ་ཁུང་གསར་པ་བཟོ་བ། - + Settings སྒྲིག་འགོད། - + Cancel button འདོར་བ། - + Close button སྒོ་བརྒྱབ། - + Type path to download file ཕབ་ལེན་ཡིག་ཆའི་འགྲོ་ལམ་འཇུག་རོགས། - + Custom Theme རང་སྒྲུབ་བརྗོད་གཞི། @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus འདུ་གནས་བརླག་སྐབས་ཐོག་ལྷ་སྒེའུ་ཁུང་ཡིབ་སྲིད། - + Quake window animation speed - - + + Blur background རྒྱབ་ལྗོངས་མི་གསལ། - + Use on starting འགོ་སློང་དུས་སྤྱོད་རྒྱུ། - + Font ཡིག་གཟུགས། - + Font size ཡིག་གཟུགས་ཆེ་ཆུང་། - - + + Opacity གསལ་ཚད། - + Advanced མཐོ་རིམ་སྒྲིག་འགོད། - + Cursor འོད་རྟགས། - + Scroll འགུལ་བ། - + Window སྒེའུ་ཁུང་། - + Basic རྨང་གཞིའི་སྒྲིག་འགོད། - + Interface མཐུད་ཁ། - + Shortcuts མྱུར་མཐེབ། - - + + Others གཞན་དག - + - + + Terminal མཐའ་སྣེ། - + Workspace ལས་ཀ་བྱེད་ས། - - + + Custom commands རང་སྒྲུབ་བཀའ། - - + + Display shortcuts མྱུར་མཐེབ་མངོན་པ། - - + + Remote management རྒྱང་རིང་དོ་དམ། - - + + New tab གསར་བཟོས་གདོང་འཛར། - - + + Next tab གདོང་འཛར་ཤོག་ལྷེ་རྗེས་མ། - - + + Previous tab གདོང་འཛར་ཤོག་ལྷེ་གོང་མ། - - + + Select left workspace གཡོན་གྱི་ལས་ཀ་བྱེད་ཁུལ་འདེམས་པ། - - + + Select lower workspace གཤམ་གྱི་ལས་ཀ་བྱེད་ཁུལ་འདེམས་པ། - - + + Select right workspace གཡས་ཀྱི་ལས་ཀ་བྱེད་ཁུལ་འདེམས་པ། - - + + Select upper workspace གོང་གི་ལས་ཀ་བྱེད་ཁུལ་འདེམས་པ། - + Tab titles གདོང་འཛར་གྱི་ཁ་བྱང་། - - + + Go to tab 1 གདོང་འཛར་1བརྗེ་བ། - - + + Go to tab 2 གདོང་འཛར་2བརྗེ་བ། - - + + Go to tab 3 གདོང་འཛར་3བརྗེ་བ། - - + + Go to tab 4 གདོང་འཛར་4བརྗེ་བ། - - + + Go to tab 5 གདོང་འཛར་5བརྗེ་བ། - - + + Go to tab 6 གདོང་འཛར་6བརྗེ་བ། - - + + Go to tab 7 གདོང་འཛར་7བརྗེ་བ། - - + + Go to tab 8 གདོང་འཛར་8བརྗེ་བ། - - + + Go to tab 9 གདོང་འཛར་9བརྗེ་བ། - + Disable flow control using Ctrl+S, Ctrl+Q Ctrl+Sདང་Ctrl+Qསྤྱད་དེ་ཚོད་འཛིན་བྱེད་མི་ཆོག - + Shell profile Shellསྒྲིག་འགོད། - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title ཁ་བྱང་གི་མིང་བསྐྱར་འདོགས། - - + + Fullscreen ཡོལ་གང་། - - + + Copy མཁོ་ཕབ། - - + + Default size སོར་བཞག་ཆེ་ཆུང་། - - + + Paste སྦྱར་བ། - + Search བཤེར་འཚོལ། - - + + Select all ཡོངས་འདེམས། - + Jump to next command བཀའ་རྗེས་མར་མཆོང་བ། - + Jump to previous command བཀའ་སྔ་མར་མཆོང་བ། - - + + Zoom in ཆེར་གཏོང་། - - + + Zoom out ཝང་གཏོང་། - + Close other windows སྒེའུ་ཁུང་གཞན་ཁ་རྒྱག - - - + + + Close other workspaces ལས་ཀ་བྱེད་ཡུལ་གཞན་དག་ཁ་རྒྱག - + Could not find "%1", starting "%2" instead. Please check your shell profile. “%1”རྙེད་མེད་པས། “%2”ཚབ་བྱས་པ། Shellསྒྲིག་འགོད་ལ་ཞིབ་བཤེར་བྱེད། - + Could not open "%1", unable to run it "%1"ཕྱེ་མི་ཐུབ་པས། རྒྱུན་ལྡན་ལྟར་སྤྱོད་ཐབས་བྲལ། - + Could not find "%1", unable to run it “%1”རྙེད་མེད་པས། རྒྱུན་ལྡན་ལྟར་བེད་སྤྱོད་བྱ་ཐབས་བྲལ། - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Ctrl+Sམནན་ནས་བཀལ་ཟིན་པས། Ctrl+Qམནན་ན་མུ་མཐུད་བེད་སྤྱོད་བྱེད་ཆོག - + Close window སྒེའུ་ཁུང་བརྒྱབ་པ། - - - + + + Close workspace ལས་ཀྱ་བྱེད་ཡུལ་ཁ་རྒྱག - - + + Horizontal split བརྙན་ཡོལ་འཕྲེད་དུ་འབྱེད་པ། - - + + Vertical split བརྙན་ཡོལ་གཞུང་དུ་འབྱེད་པ། - - + + Find འཚོལ་བཤེར། - - - + + debuginfod urls + + + + + + please set another one. ཡང་བསྐྱར་སྒྲིག་འགོད་བྱེད་རོགས། @@ -672,46 +693,46 @@ མཐའ་སྣེ་ནི་ལས་ཀ་བྱེད་ཡུལ་དང་། སྒེའུ་ཁུང་མང་བ། རྒྱང་རིང་དོ་དམ། ཐོག་ལྷའི་དཔེ་རྣམ་སོགས་བྱེད་ནུས་འདུ་བའི་མཐའ་སྣེའི་དཔེ་ལད་ཆས་ཤིག་རེད། - + Tabs གདོང་འཛར་ཤོག་ངོས། - - + + Close tab གདོང་འཛར་ཤོག་ངོས་ཁ་རྒྱག་པ། - + Select tab གདོང་འཛར་ཤོག་ངོས་འདེམས་པ། - + Switch focus to "+" icon འོད་རྟགས་མདོ་ཚེག་པར་རིས་“+”ལ་བརྗེ་བ། - - + + Select file to upload སྐྱེལ་འཇོག་བྱེད་པའི་ཡིག་ཆ་འདེམས་རྒྱུ། - - + + Upload སྐྱེལ་འཇོག - + Programs are still running in terminal མཐའ་སྣེར་སྔར་བཞིན་བཀོལ་སྤྱོད་བྱེད་བཞིན་པའི་བྱ་རིམ་འདུག - - + + Close this terminal? མཐའ་སྣེ་འདི་ཁ་རྒྱག @@ -728,8 +749,8 @@ - - + + Close this window? སྒེའུ་ཁུང་འདི་ཁ་རྒྱག @@ -740,119 +761,119 @@ - - + + Select a directory to save the file ཕབ་ལེན་བྱས་པའི་ཡིག་ཆའི་ཉར་ཚགས་དཀར་ཆག་བྱ་ཡུལ་འདེམས་རྒྱུ། - + Are you sure you want to uninstall it? ཁྱེད་ཀྱིས་དེ་བཤིག་འདོན་བྱ་རྒྱུ་གཏན་ཁེལ་ལམ། - - + + Are you sure you want to uninstall this application? ཁྱེད་ཀྱིས་མཐའ་སྣེ་བཤིག་འདོན་བྱ་རྒྱུ་གཏན་ཁེལ་ལམ། - - + + You will not be able to use Terminal any longer. བཤིག་འདོན་བྱས་རྗེས་ཉེར་སྤྱོད་འདི་སྤྱོད་ཐབས་མེད། - - - - + + + + Cancel button འདོར་བ། - - + + OK button གཏན་ཁེལ། - + Execute a command in the terminal མཐའ་སྣེའི་ཁྲོད་དུ་བྱ་རིམ་ བཀོལ་བཞིན་ཡོད། - + Run script string in the terminal མཐའ་སྣེའི་ཁྲོད་འཁྲབ་དེབ་ཡིག་རྟགས་ཕྲེང་བ་ཡོད་ཆོག - + Set the work directory མཐའ་སྣེའི་འགོ་སློང་དཀར་ཆག་སྒྲིག་འགོད། - + Set the window mode on starting མཐའ་སྣེའི་འགོ་སློང་བའི་དཔེ་རྣམ་སྒྲིག་འགོད། - + Run in quake mode མཐའན་སྣེ་ཡིས་ཐོག་ལྷའི་དཔེ་རྣམ་ལྟར་འགོ་སློང་རྒྱུ་སྒྲིག་འགོད་བྱ་རྒྱུ། - + Keep terminal open when command finishes མཐའ་སྣེས་བཀའ་འམ་འཁྲབ་གཞུང་ལག་བསྟར་བྱས་རྗེས་ཀྱི་འབྲས་བུ་མངོན་རྒྱུ་སྒྲིག་འགོད་བྱ་རྒྱུ། - - + + The name should be no more than 32 characters མིང་གི་རིང་ཐུང་ཡིག་རྟགས་32ལས་བརྒལ་མི་རུང་། - - - + + + Select ཡིག་བརྙན་འདེམས་པ། - + Select the private key file སྒེར་གྱི་ཡིག་ཆ་འདེམས་རྒྱུ། - - + + Tab title format གདོང་འཛར་ཁ་བྱང་གི་རྣམ་གཞག - - + + Remote tab title format རྒྱང་སྦྲེལ་གདོང་འཛར་ཁ་བྱང་གི་རྣམ་གཞག - - + + Close other tabs གདོང་འཛར་ཤོག་ངོས་གཞན་དག་ཁ་རྒྱོབ། - + Delete button སུབ་པ། - - + + Confirm button གཏན་ཁེལ། @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server ཞབས་ཞུ་ཆས་སྣོན་པ། - + No servers yet ཞབས་ཞུ་འཕྲུལ་ཆས་སྣོན་མེད། @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search བཤེར་འཚོལ། @@ -960,80 +981,85 @@ ཚོ་བགོས། - + + No Group + + + + Path: ཡིག་ཆའི་འགྲོ་ལམ། - + Command: བཀའ། - + Encoding: ཨང་སྒྲིག - + Backspace key: ཕྱིར་བཤོལ་མཐེབ། - + Delete key: སུབ་པའི་མཐེབ། - + Cancel button འདོར་བ། - + Add button ཁ་སྣོན། - + Edit Server ཞབས་ཞུ་ཆས་རྩོམ་སྒྲིག - + Save button ཉར་གསོག་ - + Please enter a server name ཞབས་ཞུ་ཆས་ཀྱི་མིང་འཇུག་རོགས། - + Please enter an IP address IP གནས་ཡུལ་འཇུག་རོགས། - + Please enter a port མཐུད་ཁ་འཇུག་རོགས། - + Please enter a username སྤྱོད་མཁན་མིང་འཇུག་རོགས། - + The server name already exists, ཞབས་ཞུ་ཆས་འདིའི་མིང་མིན་འདུག - + please input another one. ཡང་བསྐྱར་འཇུག་རོགས། @@ -1041,7 +1067,7 @@ Service - + OK button གཏན་ཁེལ། @@ -1050,32 +1076,32 @@ Settings - + Split screen བརྙན་ཡོལ་འབྱེད་པ། - + Fullscreen ཡོལ་གང་། - + Normal window རྒྱུན་ཅན་སྒེའུ་ཁུང་། - + Maximum ཆེ་སྒྱུར། - + Fast མགྱོགས་པོ། - + Slow དལ་པོ། @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert བར་འཇུག - - + + username: %u སྤྱོད་མཁན་མིང་། %u - + username@: %U སྤྱོད་མཁན་མིང་། @ %u - + remote host: %h རྒྱང་སྦྲེལ་རྩིས་འཁོར་ཨ་མ། %h - - + + session number: %# བགྲོ་གླེང་ཨང་རྟགས། %# - - + + title set by shell: %w shellསྒྲིག་བཀོད་བྱས་པའི་སྒེའུ་ཁུང་གི་ཁ་བྱང་། %w - + program name: %n བྱ་རིམ་མིང་། %n - + current directory (short): %d མིག་སྔའི་དཀར་ཆག (ཐུང་ངུ་):%d - + current directory (long): %D མིག་སྔའི་དཀར་ཆག་(རིང་བ་):%D - + local host: %h རང་སའི་རྩིས་འཁོར་ཨ་མ། @@ -1155,90 +1181,90 @@ TermWidget - + Copy མཁོ་ཕབ། - + Paste སྦྱར་བ། - + Open ཁ་ཕྱེ་བ། - + Open in file manager ཡིག་ཆ་དོ་དམ་ཆས་ནང་དུ་ཁ་ཕྱེ། - - + + Horizontal split བརྙན་ཡོལ་འཕྲེད་དུ་འབྱེད་པ། - - + + Vertical split བརྙན་ཡོལ་གཞུང་དུ་འབྱེད་པ། - - + + New tab གསར་བཟོས་གདོང་འཛར། - + Exit fullscreen ཡོལ་གང་ལས་ཕྱིར་འཐེན་པ། - + Fullscreen ཡོལ་གང་། - + Find འཚོལ་བཤེར། - + Search བཤེར་འཚོལ། - + Encoding ཨང་སྒྲིག་བྱེད་སྟངས། - + Custom commands རང་སྒྲུབ་བཀའ། - + Remote management རྒྱང་སྦྲེལ་དོ་དམ། - + Upload file ཡིག་ཆ་སྐྱེལ་འཇོག - + Download file ཡིག་ཆ་ཕབ་ལེན། - + Settings སྒྲིག་འགོད། @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button འདོར་བ། - + Close button སྒོ་བརྒྱབ། - - + + OK button གཏན་ཁེལ། diff --git a/translations/deepin-terminal_br.ts b/translations/deepin-terminal_br.ts index fbe45291a..07217d0d2 100644 --- a/translations/deepin-terminal_br.ts +++ b/translations/deepin-terminal_br.ts @@ -19,67 +19,67 @@ - - + + Required Goulennet - + Add Command Ouzhpennañ un urzhiad - + Edit Command Aozañ an urzhiad - + Delete Command Dilemel an urzhiad - + Cancel button Nullañ - + Add button Ouzhpennañ - + Save button Enrollañ - + OK button Mat eo - + Please enter a name Ebarzhit un anv mar plij - + Please enter a command Ebarzhit un urzhiad mar plij - + The name already exists, An anv-mañ a zo anezhañ dija, - + please input another one. ebarzhit unan all mar plij. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Ouzhpennañ un urzhiad - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Klask @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme - + Style: - + Light - + Dark - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + Cancel button Nullañ - + Confirm button Kadarnaat @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel Nullañ - + Add Ouzhpennañ - + Save Enrollañ - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server Dilemel ar servijer - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Ha sur oc'h ho peus c'hoant dilemel %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Prenestr nevez - + Settings Arventennoù - + Cancel button Nullañ - + Close button Serriñ - + Type path to download file Skrivit an hent evit pellgargañ ar restr - + Custom Theme @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Kuzhat ar prenestr Quake ur wech kollet ar fokus gantañ - + Quake window animation speed - - + + Blur background Disteraat an drek-leur - + Use on starting Implijout el loc'hañ - + Font Skritur - + Font size Ment ar skritur - - + + Opacity Treuzwelusted - + Advanced Araokaet - + Cursor Reti - + Scroll Dibunañ - + Window Prenestr - + Basic Eeun - + Interface Etrefas - + Shortcuts Berradurioù - - + + Others Traoù all - + - + + Terminal Terminal - + Workspace Spas-labour - - + + Custom commands Urzhiadoù personnelaet - - + + Display shortcuts Diskouez ar berradurioù - - + + Remote management Kontrolliñ a-bell - - + + New tab - - + + Next tab - - + + Previous tab - - + + Select left workspace - - + + Select lower workspace - - + + Select right workspace - - + + Select upper workspace - + Tab titles - - + + Go to tab 1 - - + + Go to tab 2 - - + + Go to tab 3 - - + + Go to tab 4 - - + + Go to tab 5 - - + + Go to tab 6 - - + + Go to tab 7 - - + + Go to tab 8 - - + + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Adenvel an titl - - + + Fullscreen Skramm-leun - - + + Copy Eilañ - - + + Default size Ment dre ziouer - - + + Paste Pegañ - + Search Klask - - + + Select all Diuzañ pep-tra - + Jump to next command Mont d'an urzhiad da heul - + Jump to previous command Mont d'an urzhiad kent - - + + Zoom in Zoumañ - - + + Zoom out Dizoumañ - + Close other windows Serriñ ar prinistri all - - - + + + Close other workspaces Serriñ ar spasoù-labour all - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + Close window Serriñ ar prenestr - - - + + + Close workspace Serriñ ar spas-labour - - + + Horizontal split Rannañ a-blaen - - + + Vertical split Rannañ a-blom - - + + Find Kavout - - - + + debuginfod urls + + + + + + please set another one. termenit unan all mar plij. @@ -672,46 +693,46 @@ Deepin Terminal a zo un emulator terminal araokaet gant spasoù-labour, meur a brenestr, merañ a-bell, ur mod quake hag arc'hweladurioù ouzhpenn. - + Tabs - - + + Close tab - + Select tab - + Switch focus to "+" icon - - + + Select file to upload Diuzañ ar restr da bellgas - - + + Upload Pellgas - + Programs are still running in terminal Programmoù a zo war sekutiñ en terminal bepred - - + + Close this terminal? Serriñ an terminal? @@ -728,8 +749,8 @@ - - + + Close this window? Serriñ ar prenestr-mañ? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file Diuzit ur c'havlec'h evit enrollañ ar restr - + Are you sure you want to uninstall it? Ha sur oc'h da gaout c'hoant da zistaliañ an dra-mañ? - - + + Are you sure you want to uninstall this application? Ha sur oc'h ho peus c'hoant da zistaliañ an aplikasion-mañ? - - + + You will not be able to use Terminal any longer. Ne vo ket posupl deoc'h implijout Terminal ken. - - - - + + + + Cancel button Nullañ - - + + OK button Mat eo - + Execute a command in the terminal Sekutiñ un urzhiad en terminal - + Run script string in the terminal Sekutiñ chadenn ar skript en terminal - + Set the work directory Spisait ar c'havlec'h labour - + Set the window mode on starting Spisait mod prenestr el loc'hañ - + Run in quake mode Sekutiñ e mod Quake - + Keep terminal open when command finishes Mirout an terminal digoret pa echu an urzhiad - - + + The name should be no more than 32 characters N'hall ket bezañ hiroc'h an anv evit 32 arouezenn - - - + + + Select Diuzañ - + Select the private key file Diuzit ar restr alc'hwez prevez - - + + Tab title format - - + + Remote tab title format - - + + Close other tabs - + Delete button Dilemel - - + + Confirm button Kadarnaat @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server Ouzhpennañ ar servijer - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Klask @@ -960,80 +981,85 @@ Strollad: - + + No Group + + + + Path: Hent: - + Command: Urzhiad: - + Encoding: Enkodañ: - + Backspace key: Stokell souzañ: - + Delete key: Dilemel an alc'hwez: - + Cancel button Nullañ - + Add button Ouzhpennañ - + Edit Server Aozañ ar servijer - + Save button Enrollañ - + Please enter a server name Ebarzhit un anv-servijer mar plij - + Please enter an IP address Ebarzhit ur chomlec'h IP mar plij - + Please enter a port Ebarzhit ur porzh mar plij - + Please enter a username Ebarzhit un anv-implijader mar plij - + The server name already exists, An anv-servijer a zo anezhañ endeo, - + please input another one. ebarzhit unan all mar plij. @@ -1041,7 +1067,7 @@ Service - + OK button Mat eo @@ -1050,32 +1076,32 @@ Settings - + Split screen Skramm daouhanteret - + Fullscreen Skramm-leun - + Normal window Prenestr normal - + Maximum Maksimom - + Fast - + Slow @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert - - + + username: %u - + username@: %U - + remote host: %h - - + + session number: %# - - + + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Eilañ - + Paste Pegañ - + Open Digeriñ - + Open in file manager Digeriñ ar merer restroù - - + + Horizontal split Rannañ a-blaen - - + + Vertical split Rannañ a-blom - - + + New tab - + Exit fullscreen Kuitaat ar skramm-leun - + Fullscreen Skramm-leun - + Find Kavout - + Search Klask - + Encoding Enkodañ - + Custom commands Urzhiadoù personnelaet - + Remote management Kontrolliñ a-bell - + Upload file Pellgas ar restr - + Download file Pellgargañ ar restr - + Settings Arventennoù @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Nullañ - + Close button Serriñ - - + + OK button Mat eo diff --git a/translations/deepin-terminal_ca.ts b/translations/deepin-terminal_ca.ts index e98f6d60c..cbee924c0 100644 --- a/translations/deepin-terminal_ca.ts +++ b/translations/deepin-terminal_ca.ts @@ -19,67 +19,67 @@ - - + + Required Cal - + Add Command Afegeix una ordre - + Edit Command Edita l'ordre - + Delete Command Elimina l'ordre - + Cancel button Cancel·la - + Add button Afegeix - + Save button Desa - + OK button D'acord - + Please enter a name Si us plau, escriviu un nom. - + Please enter a command Si us plau, escriviu una ordre. - + The name already exists, El nom ja existeix; - + please input another one. si us plau, escriviu-ne un altre. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Afegeix una ordre - + No commands yet Encara no hi ha cap ordre. @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Cerca @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Tema personalitzat - + Style: Estil: - + Light Lleugera - + Dark Fosc - + Fore color: Color frontal: - + Back color: Color de fons: - + Prompt PS1: Indicador PS1: - + Prompt PS2: Indicador PS2: - + Cancel button Cancel·la - + Confirm button Confirmeu-ho @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) Nom del grup (obligatori) - + Add Group Afegeix un grup - + Edit Group Edita el grup - + Cancel Cancel·la - + Add Afegeix - + Save Desa - + Please enter a group name Introduïu un nom de grup. - + The name should be no more than 30 characters El nom no ha de superar els 30 caràcters. @@ -214,28 +214,28 @@ ListView - + Delete Server Elimina el servidor - + Delete Custom Command Suprimeix l'ordre personalitzada - + Cancel Server Group Cancel·la el grup de servidors - + Ungrouped servers will go back to server list! Els servidors desagrupats tornaran a la llista de servidors! - - + + Are you sure you want to delete %1? Segur que voleu eliminar %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Finestra nova - + Settings Configuració - + Cancel button Cancel·la - + Close button Tanca - + Type path to download file Escriviu el camí per baixar el fitxer. - + Custom Theme Tema personalitzat @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + Permet Ctrl + roda de desplaçament per ampliar la mida del text. + + + Hide Quake window after losing focus Oculta la finestra desplegable en perdre el focus. - + Quake window animation speed Velocitat de l'animació de la finestra del Quake - - + + Blur background Fons difuminat - + Use on starting Usa en iniciar - + Font Lletra - + Font size Mida de la lletra - - + + Opacity Opacitat - + Advanced Avançat - + Cursor Cursor - + Scroll Desplaçament - + Window Finestra - + Basic Bàsic - + Interface Interfície - + Shortcuts Dreceres - - + + Others Altres - + - + + Terminal Terminal - + Workspace Espai de treball - - + + Custom commands Ordres personalitzades - - + + Display shortcuts Mostra les dreceres - - + + Remote management Gestió remota - - + + New tab Pestanya nova - - + + Next tab Pestanya següent - - + + Previous tab Pestanya anterior - - + + Select left workspace Selecciona l'espai de treball de l'esquerra - - + + Select lower workspace Selecciona l'espai de treball de baix - - + + Select right workspace Selecciona l'espai de treball de la dreta - - + + Select upper workspace Selecciona l'espai de treball de dalt - + Tab titles Títols de les pestanyes - - + + Go to tab 1 Ves a la pestanya 1 - - + + Go to tab 2 Ves a la pestanya 2 - - + + Go to tab 3 Ves a la pestanya 3 - - + + Go to tab 4 Ves a la pestanya 4 - - + + Go to tab 5 Ves a la pestanya 5 - - + + Go to tab 6 Ves a la pestanya 6 - - + + Go to tab 7 Ves a la pestanya 7 - - + + Go to tab 8 Ves a la pestanya 8 - - + + Go to tab 9 Ves a la pestanya 9 - + Disable flow control using Ctrl+S, Ctrl+Q Inhabiliteu el control de flux amb Ctrl+S, Ctrl+Q. - + Shell profile Perfil de l'intèrpret - + History size Mida de l'historial - + Include special character(s) in double click selections Inclou caràcters especials a les seleccions de doble clic - - - - + + Allow Ctrl + left mouse click to set cursor position + Permet Ctrl + clic esquerre del ratolí per establir la posició del cursor. + + + + The HTTP file server used for transmitting debugging information resources + El servidor de fitxers HTTP usat per transmetre recursos d'informació de depuració + + + + + + Rename title Canvia'n el títol - - + + Fullscreen Pantalla completa - - + + Copy Copia - - + + Default size Mida per defecte - - + + Paste Enganxa - + Search Cerca - - + + Select all Selecciona-ho tot - + Jump to next command Salta a l'ordre següent - + Jump to previous command Salta a l'ordre anterior - - + + Zoom in Ampliació - - + + Zoom out Reducció - + Close other windows Tanca les altres finestres - - - + + + Close other workspaces Tanca altres espais de treball - + Could not find "%1", starting "%2" instead. Please check your shell profile. No s'ha pogut trobar "%1", s'inicia "%2". Si us plau, comproveu el perfil de l'intèrpret d'ordres. - + Could not open "%1", unable to run it No s'ha pogut obrir "%1". No es pot executar. - + Could not find "%1", unable to run it No s'ha pogut trobar "%1", no es pot executar. - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. La sortida s'ha suspès prement Ctrl+S. Premeu Ctrl+Q per reprendre-la. - + Close window Tanca la finestra - - - + + + Close workspace Tanca l'espai de treball - - + + Horizontal split Divisió horitzontal - - + + Vertical split Divisió vertical - - + + Find Troba - - - + + debuginfod urls + URL de la informació de depuració + + + + + please set another one. si us plau, establiu-ne un/a altre/a. @@ -672,46 +693,46 @@ El Terminal és un emulador de terminal avançat amb divisió de finestres, espais de treball, gestió remota, mode Quake i altres característiques. - + Tabs Pestanyes - - + + Close tab Tanca la pestanya - + Select tab Selecciona la pestanya - + Switch focus to "+" icon Canvia el focus a la icona "+" - - + + Select file to upload Seleccioneu el fitxer per carregar - - + + Upload Carrega - + Programs are still running in terminal Encara hi ha programes executant-se al terminal - - + + Close this terminal? Voleu tancar aquest terminal? @@ -728,8 +749,8 @@ Encara hi ha %1 processos que s'executen en aquest terminal. Tancar-lo els matarà tots. - - + + Close this window? Voleu tancar aquesta finestra? @@ -740,119 +761,119 @@ Encara hi ha processos que s'executen en aquesta finestra. Tancar-la els matarà tots. - - + + Select a directory to save the file Seleccioneu un directori per desar-hi el fitxer. - + Are you sure you want to uninstall it? Segur que voleu desinstal·lar-la? - - + + Are you sure you want to uninstall this application? Segur que voleu desinstal·lar aquesta aplicació? - - + + You will not be able to use Terminal any longer. Ja no podreu usar més el Terminal. - - - - + + + + Cancel button Cancel·la - - + + OK button D'acord - + Execute a command in the terminal Executa una ordre al terminal - + Run script string in the terminal Executa la cadena de script al terminal - + Set the work directory Establiu el directori de treball. - + Set the window mode on starting Establiu el mode de finestra a l'inici. - + Run in quake mode Execució en mode quake - + Keep terminal open when command finishes Mantén el terminal obert quan l'odre acabi. - - + + The name should be no more than 32 characters El nom no hauria de superar els 32 caràcters. - - - + + + Select Selecciona - + Select the private key file Selecciona el fitxer de clau privada - - + + Tab title format Format del títol de les pestanyes - - + + Remote tab title format Format remot del títol de les pestanyes - - + + Close other tabs Tanca les altres pestanyes - + Delete button Elimina - - + + Confirm button Confirmeu-ho @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group Afegeix un grup - + Add Server Afegeix un servidor - + No servers yet Encara no hi ha cap servidor. @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Cerca @@ -960,80 +981,85 @@ Grup: - + + No Group + Cap grup + + + Path: Camí: - + Command: Ordre: - + Encoding: Codificació: - + Backspace key: Tecla de retrocés: - + Delete key: Elimina la clau: - + Cancel button Cancel·la - + Add button Afegeix - + Edit Server Edita el servidor - + Save button Desa - + Please enter a server name Si us plau, escriviu un nom de servidor. - + Please enter an IP address Si us plau, escriviu una adreça IP. - + Please enter a port Si us plau, escriviu un port. - + Please enter a username Si us plau, escriviu un nom d'usuari. - + The server name already exists, El nom del servidor ja existeix; - + please input another one. si us plau, escriviu-ne un altre. @@ -1041,7 +1067,7 @@ Service - + OK button D'acord @@ -1050,32 +1076,32 @@ Settings - + Split screen Divideix la pantalla - + Fullscreen Pantalla completa - + Normal window Finestra normal - + Maximum Màxim - + Fast Ràpid - + Slow Lent @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Insereix - - + + username: %u nom d'usuari: %u - + username@: %U nom d'usuari@: %U - + remote host: %h amfitrió remot: %h - - + + session number: %# número de sessió: %# - - + + title set by shell: %w títol establert per l'intèrpret: %w - + program name: %n nom del programa: %n - + current directory (short): %d directori actual (breu): %d - + current directory (long): %D directori actual (extens): %D - + local host: %h amfitrió local: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Copia - + Paste Enganxa - + Open Obre - + Open in file manager Obre al gestor de fitxers - - + + Horizontal split Divisió horitzontal - - + + Vertical split Divisió vertical - - + + New tab Pestanya nova - + Exit fullscreen Surt de la pantalla completa - + Fullscreen Pantalla completa - + Find Troba - + Search Cerca - + Encoding Codificació - + Custom commands Ordres personalitzades - + Remote management Gestió remota - + Upload file Carrega un fitxer - + Download file Baixa el fitxer - + Settings Configuració @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Cancel·la - + Close button Tanca - - + + OK button D'acord diff --git a/translations/deepin-terminal_cs.ts b/translations/deepin-terminal_cs.ts index 43b3a4ff5..2e1bb1e99 100644 --- a/translations/deepin-terminal_cs.ts +++ b/translations/deepin-terminal_cs.ts @@ -19,67 +19,67 @@ - - + + Required Vyžadováno - + Add Command Přidat příkaz - + Edit Command Upravit příkaz - + Delete Command Smazat příkaz - + Cancel button Zrušit - + Add button Přidat - + Save button Uložit - + OK button OK - + Please enter a name Zadejte název - + Please enter a command Zadejte příkaz - + The name already exists, Tento název už existuje, - + please input another one. zadejte jiný. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Přidat příkaz - + No commands yet Zatím žádné příkazy @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Hledat @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Uživatelsky určený motiv vzhledu - + Style: Styl: - + Light Světlý - + Dark Tmavý - + Fore color: Barva popředí: - + Back color: Barva pozadí: - + Prompt PS1: Výzva PS1: - + Prompt PS2: Výzva PS2: - + Cancel button Zrušit - + Confirm button Potvrdit @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel Zrušit - + Add Přidat - + Save Uložit - + Please enter a group name Zadejte prosím název skupiny - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server Smazat záznam pro server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Opravdu chcete smazat %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Nové okno - + Settings Nastavení - + Cancel button Zrušit - + Close button Zavřít - + Type path to download file Pro jeho stažení, napište popis umístění souboru - + Custom Theme Uživatelsky určený motiv vzhledu @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Při ztrátě zaměření vysouvací okno skrýt - + Quake window animation speed Rychlost animace vysouvání okna - - + + Blur background Rozmazat pozadí - + Use on starting Použít při spouštění - + Font Písmo - + Font size Velikost písma - - + + Opacity Neprůhlednost - + Advanced Pokročilé - + Cursor Ukazatel - + Scroll Otáčet kolečkem myši - + Window Okno - + Basic Základní - + Interface Rozhraní - + Shortcuts Klávesové zkratky - - + + Others Ostatní - + - + + Terminal Terminál - + Workspace Pracovní plocha - - + + Custom commands Uživatelsky určené příkazy - - + + Display shortcuts Zobrazit klávesové zkratky - - + + Remote management Správa na dálku - - + + New tab Nová karta - - + + Next tab Další karta - - + + Previous tab Předchozí karta - - + + Select left workspace Vybrat pracovní plochu vlevo - - + + Select lower workspace Vybrat pracovní plochu níže - - + + Select right workspace Vybrat pracovní plochu vpravo - - + + Select upper workspace Vybrat pracovní plochu výše - + Tab titles Dlaždice karty - - + + Go to tab 1 Přejít na kartu 1 - - + + Go to tab 2 Přejít na kartu 2 - - + + Go to tab 3 Přejít na kartu 3 - - + + Go to tab 4 Přejít na kartu 4 - - + + Go to tab 5 Přejít na kartu 5 - - + + Go to tab 6 Přejít na kartu 6 - - + + Go to tab 7 Přejít na kartu 7 - - + + Go to tab 8 Přejít na kartu 8 - - + + Go to tab 9 Přejít na kartu 9 - + Disable flow control using Ctrl+S, Ctrl+Q Řízení toku vypnete pomocí Ctrl+S, Ctrl+Q - + Shell profile Profil shellu - + History size Hloubka historie - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Změnit titulek - - + + Fullscreen Celá obrazovka - - + + Copy Zkopírovat - - + + Default size Výchozí velikost - - + + Paste Vložit - + Search Hledat - - + + Select all Vybrat vše - + Jump to next command Skočit na další příkaz - + Jump to previous command Skočit na předchozí příkaz - - + + Zoom in Přiblížit - - + + Zoom out Oddálit - + Close other windows Zavřít další okna - - - + + + Close other workspaces Zavřít ostatní pracovní plochy - + Could not find "%1", starting "%2" instead. Please check your shell profile. „%1“ se nepodařilo najít. Náhradně se spouští „%2“. Zkontrolujte svůj profil pro shell. - + Could not open "%1", unable to run it Nepodařilo se otevřít „%1“, není možné ho spustit - + Could not find "%1", unable to run it „%1“ se nedaří najít, není možné ho spustit - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Výstup byl pozastaven stisknutím Ctrl+S. Pokud chcete pokračovat, stiskněte Ctrl+Q. - + Close window Zavřít okno - - - + + + Close workspace Zavřít pracovní plochu - - + + Horizontal split Vodorovné rozdělení - - + + Vertical split Svislé rozdělení - - + + Find Najít - - - + + debuginfod urls + + + + + + please set another one. nastavte jiné. @@ -672,46 +693,46 @@ Terminál je pokročilým emulátorem terminálu s pracovními plochami, vícero okny, správou na dálku, vysouvacím režimem (quake) a dalšími funkcemi. - + Tabs Karty - - + + Close tab Zavřít kartu - + Select tab Vybrat kartu - + Switch focus to "+" icon Přepnout zaměření na ikonu „+“ (plus) - - + + Select file to upload Vyberte soubor k nahrání - - + + Upload Nahrát - + Programs are still running in terminal V terminálu jsou ještě spuštěné programy - - + + Close this terminal? Zavřít tento terminál? @@ -728,8 +749,8 @@ - - + + Close this window? Zavřít toto okno? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file Vyberte složku pro uložení souboru - + Are you sure you want to uninstall it? Opravdu ho chcete odinstalovat? - - + + Are you sure you want to uninstall this application? Opravdu chcete tuto aplikaci odinstalovat? - - + + You will not be able to use Terminal any longer. Nadále už nebudete moci Terminál používat. - - - - + + + + Cancel button Zrušit - - + + OK button OK - + Execute a command in the terminal Vykonat příkaz v terminálu - + Run script string in the terminal Spustit řetězec skriptu v terminálu - + Set the work directory Nastavit pracovní složku - + Set the window mode on starting Nastavit režim okna při spouštění - + Run in quake mode Spustit ve vysouvacím (quake) režimu - + Keep terminal open when command finishes Ponechat terminál otevřený i po skončení příkazu - - + + The name should be no more than 32 characters Jméno by nemělo být delší než 32 znaků - - - + + + Select Vybrat - + Select the private key file Vybrat soubor se soukromým klíčem - - + + Tab title format Formát nadpisu karty - - + + Remote tab title format Formát nadpisu vzdálené karty - - + + Close other tabs Zavřít ostatní karty - + Delete button Smazat - - + + Confirm button Potvrdit @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server Přidat server - + No servers yet Zatím žádné servery @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Hledat @@ -960,80 +981,85 @@ Skupina: - + + No Group + + + + Path: Umístění: - + Command: Příkaz: - + Encoding: Kódování znaků: - + Backspace key: Klávesa Backspace: - + Delete key: Klávesa pro mazání: - + Cancel button Zrušit - + Add button Přidat - + Edit Server Upravit server - + Save button Uložit - + Please enter a server name Zadejte název serveru - + Please enter an IP address Zadejte IP adresu serveru - + Please enter a port Zadejte číslo portu - + Please enter a username Zadejte uživatelské jméno - + The server name already exists, Tento název serveru už tu existuje, - + please input another one. zadejte jiný. @@ -1041,7 +1067,7 @@ Service - + OK button OK @@ -1050,32 +1076,32 @@ Settings - + Split screen Rozdělit obrazovku - + Fullscreen Celá obrazovka - + Normal window Obyčejné okno - + Maximum Maximalizováno - + Fast Rychlá - + Slow Pomalá @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Vložit - - + + username: %u uživatelské jméno: %u - + username@: %U uživatelské jméno@: %U - + remote host: %h vzdálený stroj: %h - - + + session number: %# číslo relace: %# - - + + title set by shell: %w nadpis nastavený shellem: %w - + program name: %n název programu: %n - + current directory (short): %d stávající složka (krátce): %d - + current directory (long): %D stávající složka (dlouze): %d - + local host: %h tento stroj: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Zkopírovat - + Paste Vložit - + Open Otevřít - + Open in file manager Otevřít ve správci souborů - - + + Horizontal split Vodorovné rozdělení - - + + Vertical split Svislé rozdělení - - + + New tab Nová karta - + Exit fullscreen Opustit celou obrazovku - + Fullscreen Celá obrazovka - + Find Najít - + Search Hledat - + Encoding Kódování znaků - + Custom commands Uživatelsky určené příkazy - + Remote management Správa na dálku - + Upload file Nahrát soubor - + Download file Stáhnout soubor - + Settings Nastavení @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Zrušit - + Close button Zavřít - - + + OK button OK diff --git a/translations/deepin-terminal_da.ts b/translations/deepin-terminal_da.ts index 11121f4c8..a04cd02fa 100644 --- a/translations/deepin-terminal_da.ts +++ b/translations/deepin-terminal_da.ts @@ -19,67 +19,67 @@ - - + + Required Påkrævet - + Add Command Tilføj kommando - + Edit Command Rediger kommando - + Delete Command - + Cancel button Annuller - + Add button Tilføj - + Save button Gem - + OK button OK - + Please enter a name - + Please enter a command - + The name already exists, - + please input another one. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Tilføj kommando - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Søg @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme - + Style: - + Light Let - + Dark Mørkt - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + Cancel button Annuller - + Confirm button Bekræft @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel Annuller - + Add Tilføj - + Save Gem - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Er du sikker på, at du vil slette %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Nyt vindue - + Settings Indstillinger - + Cancel button Annuller - + Close button Luk - + Type path to download file Skriv stil for at downloade fil - + Custom Theme @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Skjul Quake-vindue efter fokus mistes - + Quake window animation speed - - + + Blur background Sløret baggrund - + Use on starting - + Font Skrifttype - + Font size - - + + Opacity - + Advanced Avanceret - + Cursor Markør - + Scroll Rulning - + Window Vindue - + Basic Grundlæggende - + Interface Grænseflade - + Shortcuts Genveje - - + + Others Andre - + - + + Terminal Terminal - + Workspace Arbejdsområde - - + + Custom commands Brugerdefinerede kommandoer - - + + Display shortcuts Vis genveje - - + + Remote management Fjern-håndtering - - + + New tab - - + + Next tab - - + + Previous tab - - + + Select left workspace - - + + Select lower workspace - - + + Select right workspace - - + + Select upper workspace - + Tab titles - - + + Go to tab 1 - - + + Go to tab 2 - - + + Go to tab 3 - - + + Go to tab 4 - - + + Go to tab 5 - - + + Go to tab 6 - - + + Go to tab 7 - - + + Go to tab 8 - - + + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Omdøb titel - - + + Fullscreen Fuldskærm - - + + Copy Kopiér - - + + Default size Standardstørrelse - - + + Paste Indsæt - + Search Søg - - + + Select all Vælg alle - + Jump to next command Hop til næste kommando - + Jump to previous command Hop til forrige kommando - - + + Zoom in Zoom ind - - + + Zoom out Zoom ud - + Close other windows Luk andre vinduer - - - + + + Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + Close window Luk vindue - - - + + + Close workspace Luk arbejdsområde - - + + Horizontal split Vandret opdeling - - + + Vertical split Lodret opdeling - - + + Find Find - - - + + debuginfod urls + + + + + + please set another one. @@ -672,46 +693,46 @@ Terminal er en avanceret terminalemulator med arbejdsområde, flere vinduer, fjern-håndtering, quake-tilstand og andre faciliteter. - + Tabs - - + + Close tab - + Select tab - + Switch focus to "+" icon - - + + Select file to upload Vælg til som skal uploades - - + + Upload Upload - + Programs are still running in terminal Programmer kører stadig i terminalen - - + + Close this terminal? @@ -728,8 +749,8 @@ - - + + Close this window? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file - + Are you sure you want to uninstall it? - - + + Are you sure you want to uninstall this application? - - + + You will not be able to use Terminal any longer. - - - - + + + + Cancel button Annuller - - + + OK button OK - + Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - - + + The name should be no more than 32 characters - - - + + + Select Vælg - + Select the private key file Vælg den private nøglefil - - + + Tab title format - - + + Remote tab title format - - + + Close other tabs - + Delete button Slet - - + + Confirm button Bekræft @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server Tilføj server - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Søg @@ -960,80 +981,85 @@ Gruppe: - + + No Group + + + + Path: Sti: - + Command: Kommando: - + Encoding: Kodning: - + Backspace key: Backspace-tast: - + Delete key: Slet-tast: - + Cancel button Annuller - + Add button Tilføj - + Edit Server Rediger server - + Save button Gem - + Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. @@ -1041,7 +1067,7 @@ Service - + OK button OK @@ -1050,32 +1076,32 @@ Settings - + Split screen - + Fullscreen Fuldskærm - + Normal window Normalt vindue - + Maximum - + Fast Hurtig - + Slow Langsom @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Indsæt - - + + username: %u - + username@: %U - + remote host: %h - - + + session number: %# - - + + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Kopiér - + Paste Indsæt - + Open Åbn - + Open in file manager Åbn i filhåndtering - - + + Horizontal split Vandret opdeling - - + + Vertical split Lodret opdeling - - + + New tab - + Exit fullscreen Forlad fuldskærm - + Fullscreen Fuldskærm - + Find Find - + Search Søg - + Encoding Kodning - + Custom commands Brugerdefinerede kommandoer - + Remote management Fjern-håndtering - + Upload file Upload fil - + Download file Download fil - + Settings Indstillinger @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Annuller - + Close button Luk - - + + OK button OK diff --git a/translations/deepin-terminal_de.ts b/translations/deepin-terminal_de.ts index d4db0d29a..aafb83274 100644 --- a/translations/deepin-terminal_de.ts +++ b/translations/deepin-terminal_de.ts @@ -19,67 +19,67 @@ - - + + Required Erforderlich - + Add Command Befehl hinzufügen - + Edit Command Befehl bearbeiten - + Delete Command Befehl löschen - + Cancel button Abbrechen - + Add button Hinzufügen - + Save button Speichern - + OK button OK - + Please enter a name Bitte einen Namen eingeben - + Please enter a command Bitte einen Befehl eingeben - + The name already exists, Der Name existiert bereits, - + please input another one. bitte einen anderen eingeben. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Befehl hinzufügen - + No commands yet Noch keine Befehle @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Suchen @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Benutzerdefiniertes Thema - + Style: Stil: - + Light Hell - + Dark Dunkel - + Fore color: Vordergrundfarbe: - + Back color: Hintergrundfarbe: - + Prompt PS1: Eingabeaufforderung PS1: - + Prompt PS2: Eingabeaufforderung PS2: - + Cancel button Abbrechen - + Confirm button Bestätigen @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) Gruppenname (erforderlich) - + Add Group Gruppe hinzufügen - + Edit Group Gruppe bearbeiten - + Cancel Abbrechen - + Add Hinzufügen - + Save Speichern - + Please enter a group name Bitte einen Gruppennamen eingeben - + The name should be no more than 30 characters Der Name sollte nicht länger als 30 Zeichen sein @@ -214,28 +214,28 @@ ListView - + Delete Server Server löschen - + Delete Custom Command Benutzerdefinierten Befehl löschen - + Cancel Server Group Server-Gruppierung abbrechen - + Ungrouped servers will go back to server list! Nicht-gruppierte Server erscheinen wieder in der Server-Liste - - + + Are you sure you want to delete %1? Sind Sie sicher, dass Sie %1 löschen möchten? @@ -243,35 +243,35 @@ MainWindow - - + + New window Neues Fenster - + Settings Einstellungen - + Cancel button Abbrechen - + Close button Schließen - + Type path to download file Geben Sie den Pfad zum Herunterladen der Datei ein - + Custom Theme Benutzerdefiniertes Thema @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Verstecke das Quake-Fenster, nachdem der Fokus verloren wurde - + Quake window animation speed Quake-Window-Animationsgeschwindigkeit - - + + Blur background Hintergrund weichzeichnen - + Use on starting Beim Startvorgang verwenden - + Font Schriftart - + Font size Schriftgröße - - + + Opacity Deckkraft - + Advanced Erweitert - + Cursor Mauszeiger - + Scroll Bildlauf - + Window Fenster - + Basic Basis - + Interface Schnittstelle - + Shortcuts Tastenkürzel - - + + Others Andere - + - + + Terminal Terminal - + Workspace Arbeitsfläche - - + + Custom commands Benutzerdefinierte Befehle - - + + Display shortcuts Tastenkürzel anzeigen - - + + Remote management Fernverwaltung - - + + New tab Neuer Tab - - + + Next tab Nächster Tab - - + + Previous tab Vorheriger Tab - - + + Select left workspace Linke Arbeitsfläche auswählen - - + + Select lower workspace Untere Arbeitsfläche auswählen - - + + Select right workspace Rechte Arbeitsfläche auswählen - - + + Select upper workspace Obere Arbeitsfläche auswählen - + Tab titles Tab-Titel - - + + Go to tab 1 Gehe zu Tab 1 - - + + Go to tab 2 Gehe zu Tab 2 - - + + Go to tab 3 Gehe zu Tab 3 - - + + Go to tab 4 Gehe zu Tab 4 - - + + Go to tab 5 Gehe zu Tab 5 - - + + Go to tab 6 Gehe zu Tab 6 - - + + Go to tab 7 Gehe zu Tab 7 - - + + Go to tab 8 Gehe zu Tab 8 - - + + Go to tab 9 Gehe zu Tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q Flusskontrolle mit Strg+S, Strg+Q deaktivieren - + Shell profile Shell-Profile - + History size Verlaufsgröße - + Include special character(s) in double click selections Sonderzeichen mit Doppelklick-Auswahl einbinden - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Titel umbenennen - - + + Fullscreen Vollbild - - + + Copy Kopieren - - + + Default size Standardgröße - - + + Paste Einfügen - + Search Suchen - - + + Select all Alles auswählen - + Jump to next command Zum nächsten Befehl springen - + Jump to previous command Zum vorherigen Befehl springen - - + + Zoom in Hineinzoomen: - - + + Zoom out Hinauszoomen: - + Close other windows Andere Fenster schließen - - - + + + Close other workspaces Andere Arbeitsflächen schließen - + Could not find "%1", starting "%2" instead. Please check your shell profile. Konnte "%1" nicht finden, starte stattdessen "%2". Bitte überprüfen Sie ihr Shell-Profil. - + Could not open "%1", unable to run it Konnte "%1" nicht öffnen und nicht starten - + Could not find "%1", unable to run it Konnte "%1" nicht finden und nicht starten - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Die Ausgabe wurde durch Drücken von Strg+S unterbrochen. Zum Fortsetzen Strg+Q drücken. - + Close window Fenster schließen - - - + + + Close workspace Arbeitsfläche schließen - - + + Horizontal split Horizontal teilen - - + + Vertical split Vertikal teilen - - + + Find Suchen - - - + + debuginfod urls + + + + + + please set another one. bitte einen anderen festlegen. @@ -672,46 +693,46 @@ Terminal ist ein fortschrittlicher Terminalemulator mit Arbeitsbereich, mehreren Fenstern, Fernverwaltung, Quake-Modus und anderen Funktionen. - + Tabs Tabs - - + + Close tab Tab schließen - + Select tab Tab auswählen - + Switch focus to "+" icon Fokus auf "+"-Icon legen - - + + Select file to upload Datei zum Hochladen auswählen - - + + Upload Hochladen - + Programs are still running in terminal Es werden noch Programme im Terminal ausgeführt - - + + Close this terminal? Dieses Terminal schließen? @@ -728,8 +749,8 @@ Es laufen noch %1 Prozesse in diesem Terminal. Das Schließen des Terminals wird alle Prozesse beenden. - - + + Close this window? Dieses Fenster schließen? @@ -740,119 +761,119 @@ Es laufen noch Prozesse in diesem Fenster. Das Schließen des Fensters wird alle Prozesse beenden. - - + + Select a directory to save the file Ein Verzeichnis zum Speichern der Datei auswählen - + Are you sure you want to uninstall it? Sind Sie sicher, dass Sie es deinstallieren möchten? - - + + Are you sure you want to uninstall this application? Sind Sie sicher, dass Sie diese Anwendung deinstallieren möchten? - - + + You will not be able to use Terminal any longer. Sie können das Terminal nicht länger verwenden. - - - - + + + + Cancel button Abbrechen - - + + OK button OK - + Execute a command in the terminal Einen Befehl im Terminal ausführen - + Run script string in the terminal Skriptzeichenfolge im Terminal ausführen - + Set the work directory Arbeitsverzeichnis festlegen - + Set the window mode on starting Fenstermodus beim Start festlegen - + Run in quake mode Im Quake-Modus ausführen - + Keep terminal open when command finishes Terminal offen lassen, wenn der Befehl abgeschlossen ist - - + + The name should be no more than 32 characters Der Name sollte nicht länger als 32 Zeichen sein - - - + + + Select Auswählen - + Select the private key file Private Schlüsseldatei auswählen - - + + Tab title format Tab-Titel-Format - - + + Remote tab title format Fernzugriffs-Tab-Titel-Format - - + + Close other tabs Andere Tabs schließen - + Delete button Löschen - - + + Confirm button Bestätigen @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group Gruppe hinzufügen - + Add Server Server hinzufügen - + No servers yet Noch keine Server @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Suchen @@ -960,80 +981,85 @@ Gruppe: - + + No Group + + + + Path: Pfad: - + Command: Befehl: - + Encoding: Kodierung: - + Backspace key: Rücklauftaste: - + Delete key: Taste löschen: - + Cancel button Abbrechen - + Add button Hinzufügen - + Edit Server Server bearbeiten - + Save button Speichern - + Please enter a server name Bitte einen Servername eingeben - + Please enter an IP address Bitte eine IP-Adresse eingeben - + Please enter a port Bitte einen Port eingeben - + Please enter a username Bitte einen Benutzernamen eingeben - + The server name already exists, Der Servername existiert bereits, - + please input another one. bitte einen anderen eingeben. @@ -1041,7 +1067,7 @@ Service - + OK button OK @@ -1050,32 +1076,32 @@ Settings - + Split screen Geteilter Bildschirm - + Fullscreen Vollbild - + Normal window Normales Fenster - + Maximum Maximum - + Fast Schnell - + Slow Langsam @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Einfügen - - + + username: %u Benutzername: %u - + username@: %U Benutzername@: %U - + remote host: %h entfernter Host: %h - - + + session number: %# Sitzungsnummer: %# - - + + title set by shell: %w Titel durch Shell festgelegt: %w - + program name: %n Programmname: %n - + current directory (short): %d aktuelles Verzeichnis (kurz): %d - + current directory (long): %D aktuelles Verzeichnis (lang): %D - + local host: %h lokaler Host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Kopieren - + Paste Einfügen - + Open Öffnen - + Open in file manager Im Dateimanager öffnen - - + + Horizontal split Horizontal teilen - - + + Vertical split Vertikal teilen - - + + New tab Neuer Tab - + Exit fullscreen Vollbild beenden - + Fullscreen Vollbild - + Find Suchen - + Search Suchen - + Encoding Kodierung - + Custom commands Benutzerdefinierte Befehle - + Remote management Fernverwaltung - + Upload file Datei hochladen - + Download file Datei herunterladen - + Settings Einstellungen @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Abbrechen - + Close button Schließen - - + + OK button OK diff --git a/translations/deepin-terminal_el.ts b/translations/deepin-terminal_el.ts index a5e870224..7a569430c 100644 --- a/translations/deepin-terminal_el.ts +++ b/translations/deepin-terminal_el.ts @@ -19,67 +19,67 @@ - - + + Required Απαιτείται - + Add Command Προσθήκη Εντολής - + Edit Command Επεξεργασία Εντολής - + Delete Command Διαγραφή Εντολής - + Cancel button Ακύρωση - + Add button Προσθήκη - + Save button Αποθήκευση - + OK button OK - + Please enter a name - + Please enter a command - + The name already exists, Το όνομα υπάρχει ήδη, - + please input another one. παρακαλώ εισάγετε άλλο κείμενο. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Προσθήκη Εντολής - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Αναζήτηση @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme - + Style: - + Light Ελαφριά - + Dark Σκούρο - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + Cancel button Ακύρωση - + Confirm button Επιβεβαίωση @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel Ακύρωση - + Add Προσθήκη - + Save Αποθήκευση - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server Διαγραφή διακομιστή - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Είστε βέβαιος ότι θέλετε να διαγράψετε %1; @@ -243,35 +243,35 @@ MainWindow - - + + New window Νέο παράθυρο - + Settings Ρυθμίσεις - + Cancel button Ακύρωση - + Close button Κλείσιμο - + Type path to download file Πληκτρολογήστε διαδρομή για το αρχείο λήψης - + Custom Theme @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Απόκρυψη παραθύρου "Quake" μετά από την απώλεια εστίασης - + Quake window animation speed - - + + Blur background Θωλό παρασκήνιο - + Use on starting Χρήση κατά την εκκίνηση - + Font Γραμματοσειρά - + Font size Μέγεθος γραμματοσειράς - - + + Opacity Αδιαφάνεια - + Advanced Προηγμένες - + Cursor Δρομέας - + Scroll Κύλιση - + Window Παράθυρο - + Basic Βασικές - + Interface Διεπαφή - + Shortcuts Συντομεύσεις - - + + Others Άλλα - + - + + Terminal Τερματικό - + Workspace Χώρος εργασίας - - + + Custom commands Προσαρμοσμένες εντολές - - + + Display shortcuts Προβολή συντομεύσεων - - + + Remote management Απομακρυσμένη διαχείριση - - + + New tab - - + + Next tab Επόμενη καρτέλα - - + + Previous tab - - + + Select left workspace - - + + Select lower workspace - - + + Select right workspace - - + + Select upper workspace - + Tab titles - - + + Go to tab 1 - - + + Go to tab 2 - - + + Go to tab 3 - - + + Go to tab 4 - - + + Go to tab 5 - - + + Go to tab 6 - - + + Go to tab 7 - - + + Go to tab 8 - - + + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Μετονομασία τίτλου - - + + Fullscreen Πλήρης οθόνη - - + + Copy Αντιγραφή - - + + Default size Προεπιλεγμένο μέγεθος - - + + Paste Επικόλληση - + Search Αναζήτηση - - + + Select all Επιλογή όλων - + Jump to next command Μετάβαση στην επόμενη εντολή - + Jump to previous command Μετάβαση στην προηγούμενη εντολή - - + + Zoom in Μεγέθυνση - - + + Zoom out Σμίκρυνση - + Close other windows Κλείσιμο άλλων παραθύρων - - - + + + Close other workspaces Κλείσιμο άλλων χώρων εργασίας - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + Close window Κλείσιμο παράθυρου - - - + + + Close workspace Κλείσιμο χώρου εργασίας - - + + Horizontal split Οριζόντια διαίρεση - - + + Vertical split Κάθετη διαίρεση - - + + Find Εύρεση - - - + + debuginfod urls + + + + + + please set another one. @@ -672,46 +693,46 @@ - + Tabs - - + + Close tab - + Select tab - + Switch focus to "+" icon - - + + Select file to upload Επιλογή αρχείου προς μεταφόρτωση - - + + Upload Μεταφόρτωση - + Programs are still running in terminal Εξακολουθούν να τρέχουν προγράμματα στο τερματικό - - + + Close this terminal? @@ -728,8 +749,8 @@ - - + + Close this window? Κλείσιμο τρέχοντος παραθύρου; @@ -740,119 +761,119 @@ - - + + Select a directory to save the file Επιλέξτε φάκελο για αποθήκευση του αρχείου - + Are you sure you want to uninstall it? Είστε σίγουροι ότι θέλετε να το απεγκαταστήσετε; - - + + Are you sure you want to uninstall this application? Είστε σίγουροι ότι θέλετε να απεγκαταστήσετε αυτή την εφαρμογή; - - + + You will not be able to use Terminal any longer. - - - - + + + + Cancel button Ακύρωση - - + + OK button OK - + Execute a command in the terminal Τρέξτε μια εντολή στο τερματικό - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - - + + The name should be no more than 32 characters To όνομα δεν πρέπει να είναι περισσότερο από 32 χαρακτήρες - - - + + + Select Επιλογή - + Select the private key file Επιλογή αρχείου ιδιωτικού κλειδιού - - + + Tab title format - - + + Remote tab title format - - + + Close other tabs - + Delete button Διαγραφή - - + + Confirm button Επιβεβαίωση @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server Προσθήκη Διακομιστή - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Αναζήτηση @@ -960,80 +981,85 @@ Ομάδα: - + + No Group + + + + Path: Διαδρομή: - + Command: Εντολή: - + Encoding: Κωδικοποίηση: - + Backspace key: Πλήκτρο Backspace: - + Delete key: Πλήκτρο Delete: - + Cancel button Ακύρωση - + Add button Προσθήκη - + Edit Server Επεξεργασία Διακομιστή - + Save button Αποθήκευση - + Please enter a server name Παρακαλούμε εισάγετε όνομα διακομιστή - + Please enter an IP address Παρακαλώ εισάγετε IP διεύθυνση - + Please enter a port Παρακαλούμε εισάγετε θύρα - + Please enter a username Παρακαλούμε εισάγετε όνομα χρήστη - + The server name already exists, Το όνομα του διακομιστή υπάρχει ήδη, - + please input another one. παρακαλώ εισάγετε άλλο. @@ -1041,7 +1067,7 @@ Service - + OK button OK @@ -1050,32 +1076,32 @@ Settings - + Split screen - + Fullscreen Πλήρης οθόνη - + Normal window Κανονικό παράθυρο - + Maximum - + Fast Γρήγορα - + Slow Αργά @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert - - + + username: %u - + username@: %U - + remote host: %h - - + + session number: %# - - + + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Αντιγραφή - + Paste Επικόλληση - + Open Άνοιγμα - + Open in file manager Άνοιγμα στη διαχείριση αρχείων - - + + Horizontal split Οριζόντια διαίρεση - - + + Vertical split Κάθετη διαίρεση - - + + New tab - + Exit fullscreen Έξοδος από πλήρη οθόνη - + Fullscreen Πλήρης οθόνη - + Find Εύρεση - + Search Αναζήτηση - + Encoding Κωδικοποίηση - + Custom commands Προσαρμοσμένες εντολές - + Remote management Απομακρυσμένη διαχείριση - + Upload file Μεταφόρτωση αρχείου - + Download file Λήψη αρχείου - + Settings Ρυθμίσεις @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Ακύρωση - + Close button Κλείσιμο - - + + OK button OK diff --git a/translations/deepin-terminal_es.ts b/translations/deepin-terminal_es.ts index adc020438..6abe3ded2 100644 --- a/translations/deepin-terminal_es.ts +++ b/translations/deepin-terminal_es.ts @@ -19,67 +19,67 @@ - - + + Required Requerido - + Add Command Añadir comando - + Edit Command Editar comando - + Delete Command Borrar comando - + Cancel button Cancelar - + Add button Añadir - + Save button Guardar - + OK button Aceptar - + Please enter a name Por favor introduzca un nombre - + Please enter a command Por favor introduzca un comando - + The name already exists, El nombre ya existe, - + please input another one. por favor ingrese otro. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Añadir comando - + No commands yet Aun no hay comandos @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Buscar @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Tema personalizado - + Style: Estilo: - + Light Claro - + Dark Oscuro - + Fore color: Color principal: - + Back color: Color de fondo: - + Prompt PS1: Prompt PS1: - + Prompt PS2: Prompt PS2: - + Cancel button Cancelar - + Confirm button Confirmar @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) Nombre del grupo (obligatorio) - + Add Group Añadir Grupo - + Edit Group Editar Grupo - + Cancel Cancelar - + Add Añadir - + Save Guardar - + Please enter a group name Por favor, introduzca un nombre del grupo - + The name should be no more than 30 characters El nombre no debe tener más de 30 caracteres. @@ -214,28 +214,28 @@ ListView - + Delete Server Borrar servidor - + Delete Custom Command Borrar comando personalizado - + Cancel Server Group Cancelar grupo de servidores - + Ungrouped servers will go back to server list! ¡Los servidores no agrupados volverán a la lista de servidores! - - + + Are you sure you want to delete %1? ¿Está seguro que quiere borrar %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Nueva ventana - + Settings Ajustes - + Cancel button Cancelar - + Close button Cerrar - + Type path to download file Escriba la ruta para descargar el archivo - + Custom Theme Tema personalizado @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Ocultar el modo Quake al cambiar de ventana - + Quake window animation speed Velocidad de animación de las ventanas de Quake - - + + Blur background Desenfoque del fondo - + Use on starting Iniciar con - + Font Fuente - + Font size Tamaño de fuente - - + + Opacity Opacidad - + Advanced Avanzado - + Cursor Cursor - + Scroll Desplazar - + Window Ventana - + Basic Básico - + Interface Interfaz - + Shortcuts Atajos - - + + Others Otros - + - + + Terminal Terminal - + Workspace Espacio de trabajo - - + + Custom commands Comandos personalizados - - + + Display shortcuts Mostrar atajos - - + + Remote management Conexiones remotas - - + + New tab Nueva pestaña - - + + Next tab Pestaña siguiente - - + + Previous tab Pestaña anterior - - + + Select left workspace Seleccionar espacio de trabajo de la izquierda - - + + Select lower workspace Seleccionar espacio de trabajo de abajo - - + + Select right workspace Seleccionar espacio de trabajo de la derecha - - + + Select upper workspace Seleccionar espacio de trabajo de arriba - + Tab titles Títulos de pestañas - - + + Go to tab 1 Ir a pestaña 1 - - + + Go to tab 2 Ir a pestaña 2 - - + + Go to tab 3 Ir a pestaña 3 - - + + Go to tab 4 Ir a pestaña 4 - - + + Go to tab 5 Ir a pestaña 5 - - + + Go to tab 6 Ir a pestaña 6 - - + + Go to tab 7 Ir a pestaña 7 - - + + Go to tab 8 Ir a pestaña 8 - - + + Go to tab 9 Ir a pestaña 9 - + Disable flow control using Ctrl+S, Ctrl+Q Desactivar el control de flujo usando Ctrl + S, Ctrl + Q - + Shell profile Perfil de shell - + History size Tamaño de la historia - + Include special character(s) in double click selections Incluir caracter(es) especiales en las selecciones de doble clic - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Renombrar título - - + + Fullscreen Pantalla completa - - + + Copy Copiar - - + + Default size Tamaño por defecto - - + + Paste Pegar - + Search Buscar - - + + Select all Seleccionar todo - + Jump to next command Saltar al siguiente comando - + Jump to previous command Saltar al comando anterior - - + + Zoom in Acercar - - + + Zoom out Alejar - + Close other windows Cerrar otras ventanas - - - + + + Close other workspaces Cerrar los otros espacios de trabajo - + Could not find "%1", starting "%2" instead. Please check your shell profile. No se encontró "%1", iniciando "%2" en su lugar. Por favor, verifique su perfil de shell. - + Could not open "%1", unable to run it - No se pudo abrir "% 1", no se pudo ejecutar + No se pudo abrir "%1", no se puede ejecutar - + Could not find "%1", unable to run it No se encontró "%1", no se puede ejecutar - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. La salida se ha suspendido presionando Ctrl + S. Presione Ctrl + Q para reanudar. - + Close window Cerrar ventana - - - + + + Close workspace Cerrar espacio de trabajo - - + + Horizontal split División horizontal - - + + Vertical split División vertical - - + + Find Buscar - - - + + debuginfod urls + + + + + + please set another one. por favor establezca otro. @@ -672,46 +693,46 @@ Terminal de Deepin es un emulador de terminal avanzado con espacios de trabajo, división de ventana, administración de conexiones remotas, modo Quake y otras características. - + Tabs Pestañas - - + + Close tab Cerrar pestaña - + Select tab Seleccionar pestaña - + Switch focus to "+" icon Cambiar el enfoque al icono "+" - - + + Select file to upload Seleccionar archivo para subir - - + + Upload Subir - + Programs are still running in terminal Aún hay programas ejecutándose en la terminal - - + + Close this terminal? ¿Cerrar esta terminal? @@ -728,8 +749,8 @@ Todavía hay %1 procesos ejecutándose en esta terminal. Al cerrar la terminal, se terminarán todos. - - + + Close this window? ¿Cerrar esta ventana? @@ -740,119 +761,119 @@ Todavía hay procesos en ejecución en esta ventana. Al cerrar la ventana, se terminarán todos. - - + + Select a directory to save the file Seleccione una carpeta para guardar el archivo - + Are you sure you want to uninstall it? ¿Está seguro que quiere desinstalarlo? - - + + Are you sure you want to uninstall this application? ¿Está seguro que quiere desinstalar esta aplicación? - - + + You will not be able to use Terminal any longer. Ya no podrá usar Terminal. - - - - + + + + Cancel button Cancelar - - + + OK button Aceptar - + Execute a command in the terminal Ejecutar un comando en la terminal - + Run script string in the terminal Ejecutar secuencia de comandos en la terminal - + Set the work directory Establecer carpeta de trabajo - + Set the window mode on starting Establecer el modo de ventana al iniciar - + Run in quake mode Ejecutar en modo Quake - + Keep terminal open when command finishes Mantener la terminal abierta cuando finalice el comando - - + + The name should be no more than 32 characters El nombre no debe tener más de 32 caracteres. - - - + + + Select Seleccionar - + Select the private key file Seleccione el archivo de clave privada - - + + Tab title format Formato de título de pestaña - - + + Remote tab title format Formato de título de pestaña remota - - + + Close other tabs Cerrar las otras pestañas - + Delete button Borrar - - + + Confirm button Confirmar @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group Añadir Grupo - + Add Server Añadir servidor - + No servers yet Aún no hay servidores @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Buscar @@ -960,80 +981,85 @@ Grupo: - + + No Group + + + + Path: Carpeta de inicio: - + Command: Comando: - + Encoding: Codificación: - + Backspace key: Tecla de retroceso: - + Delete key: Tecla suprimir: - + Cancel button Cancelar - + Add button Añadir - + Edit Server Editar servidor - + Save button Guardar - + Please enter a server name Por favor ingrese un nombre de servidor - + Please enter an IP address Por favor ingrese una dirección IP - + Please enter a port Por favor ingrese un puerto - + Please enter a username Por favor ingrese un nombre de usuario - + The server name already exists, El nombre del servidor ya existe, - + please input another one. por favor ingrese otro. @@ -1041,7 +1067,7 @@ Service - + OK button Aceptar @@ -1050,32 +1076,32 @@ Settings - + Split screen Dividir ventana - + Fullscreen Pantalla completa - + Normal window Ventana normal - + Maximum Ventana maximizada - + Fast Rápido - + Slow Lento @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Insertar - - + + username: %u nombre de usuario: %u - + username@: %U nombre de usuario@: %U - + remote host: %h host remoto: %h - - + + session number: %# numero de sesión: %# - - + + title set by shell: %w título establecido por shell: %w - + program name: %n nombre de programa: %n - + current directory (short): %d carpeta actual (corto): %d - + current directory (long): %D carpeta actual (largo): %D - + local host: %h host local: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Copiar - + Paste Pegar - + Open Abrir - + Open in file manager Abrir en administrador de archivo - - + + Horizontal split División horizontal - - + + Vertical split División vertical - - + + New tab Nueva pestaña - + Exit fullscreen Salir de pantalla completa - + Fullscreen Pantalla completa - + Find Buscar - + Search Buscar en Internet - + Encoding Codificación - + Custom commands Comandos personalizados - + Remote management Conexiones remotas - + Upload file Subir archivo - + Download file Descargar archivo - + Settings Ajustes @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Cancelar - + Close button Cerrar - - + + OK button Aceptar diff --git a/translations/deepin-terminal_fa.ts b/translations/deepin-terminal_fa.ts index 79cd3307a..cb4bb82e4 100644 --- a/translations/deepin-terminal_fa.ts +++ b/translations/deepin-terminal_fa.ts @@ -19,67 +19,67 @@ - - + + Required مورد نیاز - + Add Command اضافه کردن فرمان - + Edit Command ویرایش فرمان - + Delete Command - + Cancel button انصراف - + Add button اضافه کردن - + Save button ذخیره - + OK button تایید - + Please enter a name - + Please enter a command - + The name already exists, - + please input another one. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command اضافه کردن فرمان - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search جستجو @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme - + Style: - + Light روشن - + Dark تیره - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + Cancel button انصراف - + Confirm button تایید @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel انصراف - + Add اضافه کردن - + Save ذخیره - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? آیا شما ۱٪ از حذف اطمینان دارید؟ @@ -243,35 +243,35 @@ MainWindow - - + + New window پنجره جدید - + Settings تنظیمات - + Cancel button انصراف - + Close button بستن - + Type path to download file مسیردانلود فایل را تایپ کنید - + Custom Theme @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus پنجره Quake را پس از از دست دادن فوکوس مخفی کن - + Quake window animation speed - - + + Blur background پس زمینه تار - + Use on starting - + Font فونت - + Font size - - + + Opacity - + Advanced پیشرفته - + Cursor اشاره گر - + Scroll پیمایش - + Window پنجره - + Basic پایه ای - + Interface رابط - + Shortcuts میانبر - - + + Others غیره - + - + + Terminal ترمینال - + Workspace فضای کار - - + + Custom commands دستورات سفارشی - - + + Display shortcuts نمایش میانبرها - - + + Remote management مدیریت راه دور - - + + New tab - - + + Next tab - - + + Previous tab - - + + Select left workspace - - + + Select lower workspace - - + + Select right workspace - - + + Select upper workspace - + Tab titles - - + + Go to tab 1 - - + + Go to tab 2 - - + + Go to tab 3 - - + + Go to tab 4 - - + + Go to tab 5 - - + + Go to tab 6 - - + + Go to tab 7 - - + + Go to tab 8 - - + + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title تغییر نام عنوان - - + + Fullscreen تمام صفحه - - + + Copy کپی - - + + Default size اندازه پیش فرض - - + + Paste افزودن - + Search جستجو - - + + Select all انتخاب همه - + Jump to next command پرش به فرمان بعدی - + Jump to previous command پرش به فرمان قبلی - - + + Zoom in بزرگنمایی - - + + Zoom out کوچک نمایی - + Close other windows بستن پنجره های دیگر - - - + + + Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + Close window بستن پنجره - - - + + + Close workspace بستن فضای کار - - + + Horizontal split تقسیم افقی - - + + Vertical split تقسیم عمودی - - + + Find یافتن - - - + + debuginfod urls + + + + + + please set another one. @@ -672,46 +693,46 @@ - + Tabs - - + + Close tab - + Select tab - + Switch focus to "+" icon - - + + Select file to upload فایل را برای بارگذاری انتخاب کنید - - + + Upload آپلود - + Programs are still running in terminal برنامه ها هنوز در ترمینال در حال اجرا هستند - - + + Close this terminal? @@ -728,8 +749,8 @@ - - + + Close this window? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file - + Are you sure you want to uninstall it? - - + + Are you sure you want to uninstall this application? - - + + You will not be able to use Terminal any longer. - - - - + + + + Cancel button انصراف - - + + OK button تایید - + Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - - + + The name should be no more than 32 characters - - - + + + Select انتخاب - + Select the private key file انتخاب فایل کلید خصوصی - - + + Tab title format - - + + Remote tab title format - - + + Close other tabs - + Delete button حذف - - + + Confirm button تایید @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server اضافه کردن سرور - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search جستجو @@ -960,80 +981,85 @@ گروه: - + + No Group + + + + Path: آدرس: - + Command: دستور: - + Encoding: کدگذاری: - + Backspace key: کلید backspace : - + Delete key: کلید حذف: - + Cancel button انصراف - + Add button اضافه کردن - + Edit Server ویرایش سرور - + Save button ذخیره - + Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. @@ -1041,7 +1067,7 @@ Service - + OK button تایید @@ -1050,32 +1076,32 @@ Settings - + Split screen - + Fullscreen تمام صفحه - + Normal window پنجره معمولی - + Maximum - + Fast سریع - + Slow آهسته @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert - - + + username: %u - + username@: %U - + remote host: %h - - + + session number: %# - - + + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy کپی - + Paste افزودن - + Open باز کردن - + Open in file manager باز کردن در مدیر فایل - - + + Horizontal split تقسیم افقی - - + + Vertical split تقسیم عمودی - - + + New tab - + Exit fullscreen خروج از تمام صفحه - + Fullscreen تمام صفحه - + Find یافتن - + Search جستجو - + Encoding کدگذاری - + Custom commands دستورات سفارشی - + Remote management مدیریت راه دور - + Upload file آپلود فایل - + Download file دانلود فایل - + Settings تنظیمات @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button انصراف - + Close button بستن - - + + OK button تایید diff --git a/translations/deepin-terminal_fi.ts b/translations/deepin-terminal_fi.ts index f6a2fc10d..8d70d2424 100644 --- a/translations/deepin-terminal_fi.ts +++ b/translations/deepin-terminal_fi.ts @@ -19,67 +19,67 @@ - - + + Required Vaadittu - + Add Command Lisää komento - + Edit Command Muokkaa komentoa - + Delete Command Poista komento - + Cancel button Peruuta - + Add button Lisää - + Save button Tallenna - + OK button OK - + Please enter a name Kirjoita nimi - + Please enter a command Kirjoita komento - + The name already exists, Nimi on jo olemassa. - + please input another one. kirjoita toinen. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Lisää komento - + No commands yet Ei vielä komentoja @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Etsi @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Mukautettu teema - + Style: Tyyli: - + Light Vaalea - + Dark Tumma - + Fore color: Etuosan väri: - + Back color: Taustan väri: - + Prompt PS1: Kehote PS1: - + Prompt PS2: Kehote PS2: - + Cancel button Peruuta - + Confirm button Vahvista @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) Ryhmänimi (vaaditaan) - + Add Group Lisää ryhmä - + Edit Group Muokkaa ryhmää - + Cancel Peruuta - + Add Lisää - + Save Tallenna - + Please enter a group name Kirjoita ryhmän nimi - + The name should be no more than 30 characters Nimessä saa olla enintään 30 merkkiä @@ -214,28 +214,28 @@ ListView - + Delete Server Poista palvelin - + Delete Custom Command Poista mukautettu komento - + Cancel Server Group Peruuta palvelinryhmä - + Ungrouped servers will go back to server list! Ei ryhmittellyt palvelimet palaavat palvelinlistalle! - - + + Are you sure you want to delete %1? Haluatko varmasti poistaa %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Uusi ikkuna - + Settings Asetukset - + Cancel button Peruuta - + Close button Sulje - + Type path to download file Kirjoita ladattavan tiedoston polku - + Custom Theme Mukautettu teema @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Piilota quake-ikkuna kadotetun tarkennuksen jälkeen - + Quake window animation speed Quake-ikkunan animaation nopeus - - + + Blur background Sumea tausta - + Use on starting Käyttö käynnistettäessä - + Font Kirjasin - + Font size Kirjasimen koko - - + + Opacity Läpinäkyvyys - + Advanced Lisäasetukset - + Cursor Kursori - + Scroll Vieritä - + Window Ikkuna - + Basic Perusasetukset - + Interface Liitäntä - + Shortcuts Pikanäppäimet - - + + Others Muut - + - + + Terminal Pääte - + Workspace Välilehti - - + + Custom commands Mukautetut komennot - - + + Display shortcuts Näytä pikanäppäimet - - + + Remote management Etähallinta - - + + New tab Uusi välilehti - - + + Next tab Seuraava välilehti - - + + Previous tab Edellinen välilehti - - + + Select left workspace Valitse vasen työtila - - + + Select lower workspace Valitse alempi työtila - - + + Select right workspace Valitse oikea työtila - - + + Select upper workspace Valitse ylempi työtila - + Tab titles Välilehden otsikot - - + + Go to tab 1 Välilehteen 1 - - + + Go to tab 2 Välilehteen 2 - - + + Go to tab 3 Välilehteen 3 - - + + Go to tab 4 Välilehteen 4 - - + + Go to tab 5 Välilehteen 5 - - + + Go to tab 6 Välilehteen 6 - - + + Go to tab 7 Välilehteen 7 - - + + Go to tab 8 Välilehteen 8 - - + + Go to tab 9 Välilehteen 9 - + Disable flow control using Ctrl+S, Ctrl+Q Poista vuonohjaus käytöstä Ctrl+S, Ctrl+Q - + Shell profile Liittymän profiili - + History size Historian koko - + Include special character(s) in double click selections Sisällytä erikoismerki(t) painamalla kahdesti valintoja - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Nimeä välilehti - - + + Fullscreen Koko näyttö - - + + Copy Kopioi - - + + Default size Oletuskoko - - + + Paste Liitä - + Search Etsi - - + + Select all Valitse kaikki - + Jump to next command Siirry seuraavaan komentoon - + Jump to previous command Siirry edelliseen komentoon - - + + Zoom in Lähennä - - + + Zoom out Loitonna - + Close other windows Sulje paneelit - - - + + + Close other workspaces Sulje muut työtilat - + Could not find "%1", starting "%2" instead. Please check your shell profile. Ei lötynyt "%1", alkaa sen sijaan "%2". Tarkista liittymäsi profiili. - + Could not open "%1", unable to run it Tiedostoa "%1" ei voitu avata, eikä suorittaa - + Could not find "%1", unable to run it Ei löytynyt "%1", suoritus epäonnistui - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Tulostus on keskeytetty yhdistelmällä Ctrl+S. Jatka painamalla Ctrl+Q. - + Close window Sulje paneeli - - - + + + Close workspace Sulje välilehti - - + + Horizontal split Vaakasuora jako - - + + Vertical split Pystysuora jako - - + + Find Etsi - - - + + debuginfod urls + + + + + + please set another one. aseta toinen. @@ -672,46 +693,46 @@ Pääte on terminal-emulaattori, joka sisältää välilehdet, useita ikkunoita, etäyhteyden, quake-tilan ja useita muita ominaisuuksia. - + Tabs Välilehdet - - + + Close tab Sulje välilehti - + Select tab Valitse välilehti - + Switch focus to "+" icon Vaihda kohdistus "+" kuvakkeeseen - - + + Select file to upload Valitse lähetettävä tiedosto - - + + Upload Lähetä - + Programs are still running in terminal Ohjelmia on silti käynnissä päätteessä - - + + Close this terminal? Sulje tämä pääte? @@ -728,8 +749,8 @@ Tässä päätteessä on vielä %1 prosessia käynnissä. Sulkeminen lopettaa ne. - - + + Close this window? Sulje tämä ikkuna? @@ -740,119 +761,119 @@ Tässä ikkunassa on edelleen käynnissä prosesseja. Ikkunan sulkeminen tappaa ne kaikki. - - + + Select a directory to save the file Valitse kansio, johon tiedosto tallennetaan - + Are you sure you want to uninstall it? Haluatko varmasti poistaa sen asennuksen? - - + + Are you sure you want to uninstall this application? Haluatko varmasti poistaa tämän sovelluksen asennuksen? - - + + You will not be able to use Terminal any longer. Et voi enää jatkaa päätteen käyttöä. - - - - + + + + Cancel button Peruuta - - + + OK button OK - + Execute a command in the terminal Suorita komento päätteessä - + Run script string in the terminal Suorita komentosarja päätteessä - + Set the work directory Aseta työhakemisto - + Set the window mode on starting Ikkunatila käynnistyessä - + Run in quake mode Suorita quake-tilassa - + Keep terminal open when command finishes Pidä pääte auki, kun komento on valmis - - + + The name should be no more than 32 characters Nimessä saa olla enintään 32 merkkiä - - - + + + Select Valitse - + Select the private key file Valitse yksityinen avaintiedosto - - + + Tab title format Välilehden otsikon muoto - - + + Remote tab title format Etävälilehden otsikon muoto - - + + Close other tabs Sulje muut välilehdet - + Delete button Poista - - + + Confirm button Vahvista @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group Lisää ryhmä - + Add Server Lisää palvelin - + No servers yet Ei vielä palvelimia @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Etsi @@ -960,80 +981,85 @@ Ryhmä: - + + No Group + + + + Path: Polku: - + Command: Komento: - + Encoding: Koodaus: - + Backspace key: Askelpalautin: - + Delete key: Delete-näppäin: - + Cancel button Peruuta - + Add button Lisää - + Edit Server Muokkaa palvelinta - + Save button Tallenna - + Please enter a server name Kirjoita palvelimen nimi - + Please enter an IP address Kirjoita IP-osoite - + Please enter a port Anna portti - + Please enter a username Kirjoita käyttäjänimi - + The server name already exists, Palvelimen nimi on jo olemassa, - + please input another one. kirjoita toinen. @@ -1041,7 +1067,7 @@ Service - + OK button OK @@ -1050,32 +1076,32 @@ Settings - + Split screen Jaettu näyttö - + Fullscreen Koko näyttö - + Normal window Normaali ikkuna - + Maximum Kokoruutu - + Fast Nopea - + Slow Hidas @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Lisää - - + + username: %u käyttäjänimi: %u - + username@: %U käyttäjänimi@: %U - + remote host: %h etäpalvelin: %h - - + + session number: %# istunnon numero: %# - - + + title set by shell: %w shell asettanut otsikon: %w - + program name: %n ohjelman nimi: %n - + current directory (short): %d nykyinen hakemisto (lyhyt): %d - + current directory (long): %D nykyinen hakemisto (pitkä): %D - + local host: %h paikallinen palvelin: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Kopioi - + Paste Liitä - + Open Avaa - + Open in file manager Avaa tiedostonhallinnassa - - + + Horizontal split Vaakasuora jako - - + + Vertical split Pystysuora jako - - + + New tab Uusi välilehti - + Exit fullscreen Poistu koko näytöstä - + Fullscreen Koko näyttö - + Find Etsi - + Search Etsi - + Encoding Koodaus - + Custom commands Mukautetut komennot - + Remote management Etähallinta - + Upload file Lähetä tiedosto - + Download file Lataa tiedosto - + Settings Asetukset @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Peruuta - + Close button Sulje - - + + OK button OK diff --git a/translations/deepin-terminal_fr.ts b/translations/deepin-terminal_fr.ts index 65a0c715e..ff99c15fe 100644 --- a/translations/deepin-terminal_fr.ts +++ b/translations/deepin-terminal_fr.ts @@ -19,67 +19,67 @@ - - + + Required Requis - + Add Command Insérer une commande - + Edit Command Éditer la commande - + Delete Command Supprimer la commande - + Cancel button Annuler - + Add button Ajouter - + Save button Sauvegarder - + OK button OK - + Please enter a name Veuillez saisir un nom - + Please enter a command Veuillez saisir une commande - + The name already exists, Le nom existe déjà, - + please input another one. veuillez en saisir un autre. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Insérer une commande - + No commands yet Vous n'avez pas encore de commandes. @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Rechercher @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Thème personnalisé - + Style: Style : - + Light Clair - + Dark Sombre - + Fore color: Couleur de premier plan : - + Back color: Couleur de fond : - + Prompt PS1: Invite PS1 : - + Prompt PS2: Invite PS2 : - + Cancel button Annuler - + Confirm button Confirmer @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) Nom de Groupe (requis) - + Add Group Ajouter un groupe - + Edit Group Éditer un groupe - + Cancel Annuler - + Add Ajouter - + Save Enregistrer - + Please enter a group name SVP, entrez le nom d'un groupe - + The name should be no more than 30 characters Le nom ne doit pas comporter plus de 30 caractères @@ -214,28 +214,28 @@ ListView - + Delete Server Supprimer le serveur - + Delete Custom Command Supprimer une commande personnalisée - + Cancel Server Group Annuler le serveur de groupe - + Ungrouped servers will go back to server list! Les serveurs non alloués retournent dans la liste des serveurs - - + + Are you sure you want to delete %1? Voulez-vous vraiment supprimer %1 ? @@ -243,35 +243,35 @@ MainWindow - - + + New window Nouvelle fenêtre - + Settings Paramètres - + Cancel button Annuler - + Close button Fermer - + Type path to download file Taper le chemin pour télécharger le fichier - + Custom Theme Thème personnalisé @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Cacher la fenêtre Quake après avoir perdu le focus - + Quake window animation speed Vitesse d'animation de la fenêtre à la Quake - - + + Blur background Flou Arrière-plan - + Use on starting Utiliser au démarrage - + Font Polices - + Font size Taille de police - - + + Opacity Opacité - + Advanced Avancé - + Cursor Curseur - + Scroll Défiler - + Window Fenêtre - + Basic Basique - + Interface Interface - + Shortcuts Raccourcis - - + + Others Autres - + - + + Terminal Terminal - + Workspace Espace de travail - - + + Custom commands Commandes personnalisées - - + + Display shortcuts Afficher les raccourcis - - + + Remote management Contrôle à distance - - + + New tab Nouvel onglet - - + + Next tab Onglet suivant - - + + Previous tab Onglet précédent - - + + Select left workspace Sélectionner l'espace de travail de gauche - - + + Select lower workspace Sélectionner l'espace de travail inférieur - - + + Select right workspace Sélectionner l'espace de travail de droite - - + + Select upper workspace Sélectionner l'espace de travail supérieur - + Tab titles Titres des onglets - - + + Go to tab 1 Aller à l'onglet 1 - - + + Go to tab 2 Aller à l'onglet 2 - - + + Go to tab 3 Aller à l'onglet 3 - - + + Go to tab 4 Aller à l'onglet 4 - - + + Go to tab 5 Aller à l'onglet 5 - - + + Go to tab 6 Aller à l'onglet 6 - - + + Go to tab 7 Aller à l'onglet 7 - - + + Go to tab 8 Aller à l'onglet 8 - - + + Go to tab 9 Aller à l'onglet 9 - + Disable flow control using Ctrl+S, Ctrl+Q Désactiver le contrôle de flux à l'aide de Ctrl+S, Ctrl+Q - + Shell profile Profil Shell - + History size Taille de l'historique - + Include special character(s) in double click selections Inclure les caractères spéciaux dans les sélections avec le double-clic - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Renommer le titre - - + + Fullscreen Plein écran - - + + Copy Copier - - + + Default size Taille par défaut - - + + Paste Coller - + Search Rechercher - - + + Select all Tout sélectionner - + Jump to next command Commande suivante - + Jump to previous command Commande précédente - - + + Zoom in Zoom avant - - + + Zoom out Zoom arrière - + Close other windows Fermer les autres fenêtres - - - + + + Close other workspaces Fermer les autres espaces de travail - + Could not find "%1", starting "%2" instead. Please check your shell profile. Impossible de trouver "%1", démarrage de "%2" à la place. Veuillez vérifier votre profil shell. - + Could not open "%1", unable to run it L'ouverture de "%1" a échouée, impossible de l'exécuter - + Could not find "%1", unable to run it Impossible de trouver "%1", impossible de l'exécuter - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. La sortie a été suspendue en appuyant sur Ctrl+S. Appuyez sur Ctrl+Q pour reprendre. - + Close window Fermer la fenêtre - - - + + + Close workspace Fermer l'espace de travail - - + + Horizontal split Diviser horizontalement - - + + Vertical split Diviser verticalement - - + + Find Rechercher - - - + + debuginfod urls + + + + + + please set another one. veuillez en définir un autre. @@ -672,46 +693,46 @@ Terminal est un émulateur de terminal avancé avec espace de travail, fenêtres multiples, gestion à distance, un mode "Quake" et d'autres fonctionnalités. - + Tabs Onglets - - + + Close tab Fermer l'onglet - + Select tab Sélectionner l'onglet - + Switch focus to "+" icon Basculez le focus avec l'icône "+" - - + + Select file to upload Sélectionner le fichier à transférer - - + + Upload Transférer - + Programs are still running in terminal Des programmes sont toujours en cours d'exécution dans le terminal - - + + Close this terminal? Fermer ce terminal ? @@ -728,8 +749,8 @@ Il y a encore %1 processus en cours dans ce terminal, si vous le fermez vous mettrez fin à tous les processus - - + + Close this window? Fermer cette fenêtre ? @@ -740,119 +761,119 @@ Il y a encore des processus ouverts dans cette fenêtre, si vous la fermez vous mettrez fin à tous les processus - - + + Select a directory to save the file Sélectionnez un répertoire pour enregistrer le fichier - + Are you sure you want to uninstall it? Êtes-vous sûr de vouloir le désinstaller ? - - + + Are you sure you want to uninstall this application? Êtes-vous sûr de vouloir désinstaller cette application ? - - + + You will not be able to use Terminal any longer. Vous ne pourrez plus utiliser le Terminal. - - - - + + + + Cancel button Annuler - - + + OK button OK - + Execute a command in the terminal Exécuter une commande dans le terminal - + Run script string in the terminal Exécuter la chaîne de script dans le terminal - + Set the work directory Définir le répertoire de travail - + Set the window mode on starting Définir le mode de fenêtre au démarrage - + Run in quake mode Exécuter en mode tremblement - + Keep terminal open when command finishes Garder le terminal ouvert lorsque la commande se termine - - + + The name should be no more than 32 characters Le nom ne doit pas dépasser 32 caractères - - - + + + Select Sélectionner - + Select the private key file Sélectionner le fichier de clé privée - - + + Tab title format Format du titre de l'onglet - - + + Remote tab title format Format du titre de l'onglet distant - - + + Close other tabs Fermer les autres onglets - + Delete button Supprimer - - + + Confirm button Confirmer @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group Ajouter un groupe - + Add Server Ajouter un serveur - + No servers yet Vous n'avez pas encore de serveurs. @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Rechercher @@ -960,80 +981,85 @@ Groupe : - + + No Group + + + + Path: Chemin : - + Command: Commande : - + Encoding: Encodage : - + Backspace key: Touche retour arrière : - + Delete key: Supprimer la clé : - + Cancel button Annuler - + Add button Ajouter - + Edit Server Éditer le serveur - + Save button Sauvegarder - + Please enter a server name Veuillez saisir un nom de serveur - + Please enter an IP address Veuillez saisir une adresse IP - + Please enter a port Veuillez entrer un port - + Please enter a username Merci d'entrer un nom d'utilisateur - + The server name already exists, Le nom du serveur existe déjà, - + please input another one. veuillez en saisir un autre. @@ -1041,7 +1067,7 @@ Service - + OK button OK @@ -1050,32 +1076,32 @@ Settings - + Split screen Écran divisé - + Fullscreen Plein écran - + Normal window Fenêtre normale - + Maximum Maximum - + Fast Rapide - + Slow Lent @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Insérer - - + + username: %u nom d'utilisateur : %u - + username@: %U nom d'utilisateur@ : %U - + remote host: %h hôte distant : %h - - + + session number: %# numéro de session : %# - - + + title set by shell: %w titre défini par le shell : %w - + program name: %n nom du programme : %n - + current directory (short): %d répertoire actuel (court) : %d - + current directory (long): %D répertoire actuel (long) : %D - + local host: %h hôte local : %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Copier - + Paste Coller - + Open Ouvrir - + Open in file manager Ouvrir dans le gestionnaire de fichier - - + + Horizontal split Diviser horizontalement - - + + Vertical split Diviser verticalement - - + + New tab Nouvel onglet - + Exit fullscreen Quitter le plein écran - + Fullscreen Plein écran - + Find Trouver - + Search Rechercher - + Encoding Encodage - + Custom commands Commandes personnalisées - + Remote management Contrôle à distance - + Upload file Transférer un fichier - + Download file Télécharger un fichier - + Settings Paramètres @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Annuler - + Close button Fermer - - + + OK button OK diff --git a/translations/deepin-terminal_gl_ES.ts b/translations/deepin-terminal_gl_ES.ts index a93f88c45..65c7cabc6 100644 --- a/translations/deepin-terminal_gl_ES.ts +++ b/translations/deepin-terminal_gl_ES.ts @@ -19,67 +19,67 @@ - - + + Required Requirido - + Add Command Engadir Comando - + Edit Command Editar Comando - + Delete Command Eliminar comando - + Cancel button Cancelar - + Add button Engadir - + Save button Gardar - + OK button Aceptar - + Please enter a name Insira un nome - + Please enter a command Insira un comando - + The name already exists, O nome xa existe, - + please input another one. por favor, poña outro. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Engadir Comando - + No commands yet Aínda non hai comandos @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Buscar @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Tema personalizado - + Style: Estilo: - + Light Luz - + Dark Escuro - + Fore color: Cor dianteira: - + Back color: Cor traseira: - + Prompt PS1: Pregunta PS1: - + Prompt PS2: Pregunta PS2: - + Cancel button Cancelar - + Confirm button Confirmar @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) Nome do grupo (requerido) - + Add Group Engadir grupo - + Edit Group Editar grupo - + Cancel Cancelar - + Add Engadir - + Save Gardar - + Please enter a group name Insira un nome de grupo - + The name should be no more than 30 characters O nome non debe ter máis de 30 caracteres @@ -214,28 +214,28 @@ ListView - + Delete Server Eliminar servidor - + Delete Custom Command Eliminar comando personalizado - + Cancel Server Group Cancelar grupo de servidores - + Ungrouped servers will go back to server list! Os servidores desagrupados volverán á lista de servidores. - - + + Are you sure you want to delete %1? Estás seguro de que queres eliminar %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Nova xanela - + Settings Axustes - + Cancel button Cancelar - + Close button Pechar - + Type path to download file Tipo de ruta para descargar o ficheiro - + Custom Theme Tema personalizado @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Agochar a xanela Quake despois de perder o foco - + Quake window animation speed Velocidade de animación da xanela Quake - - + + Blur background Fondo desenfocado - + Use on starting Usar ao principio - + Font Fonte - + Font size Tamaño da fonte - - + + Opacity Opacidade - + Advanced Avanzado - + Cursor Cursor - + Scroll Desprazar - + Window Xanela - + Basic Básico - + Interface Interface - + Shortcuts Atallos - - + + Others Outros - + - + + Terminal Terminal - + Workspace Área de traballo - - + + Custom commands Comandos personalizados - - + + Display shortcuts Amosar atallos - - + + Remote management Xestión remota - - + + New tab Nova lapela - - + + Next tab Seguinte lapela - - + + Previous tab Lapela anterior - - + + Select left workspace Selecciona o espazo de traballo esquerdo - - + + Select lower workspace Selecciona o espazo de traballo inferior - - + + Select right workspace Selecciona o espazo de traballo dereito - - + + Select upper workspace Seleccione o espazo de traballo superior - + Tab titles Títulos das lapelas - - + + Go to tab 1 Ir á lapela 1 - - + + Go to tab 2 Ir á lapela 2 - - + + Go to tab 3 Ir á lapela 3 - - + + Go to tab 4 Ir á lapela 4 - - + + Go to tab 5 Ir á lapela 5 - - + + Go to tab 6 Ir á lapela 6 - - + + Go to tab 7 Ir á lapela 7 - - + + Go to tab 8 Ir á lapela 8 - - + + Go to tab 9 Ir á lapela 9 - + Disable flow control using Ctrl+S, Ctrl+Q Desactive o control de fluxo usando Ctrl+S, Ctrl+Q - + Shell profile Perfil de Shell - + History size Tamaño da historia - + Include special character(s) in double click selections Inclúe caractere(s) especiais nas seleccións de dobre clic - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Renomear título - - + + Fullscreen Pantalla completa - - + + Copy Copiar - - + + Default size Tamaño predefinido - - + + Paste Pegar - + Search Buscar - - + + Select all Seleccionar todo - + Jump to next command Ir ao comando seguinte - + Jump to previous command Ir ao comando anterior - - + + Zoom in Achegar - - + + Zoom out Afastar - + Close other windows Pechar outras xanelas - - - + + + Close other workspaces Pechar outros espazos de traballo - + Could not find "%1", starting "%2" instead. Please check your shell profile. Non foi posíbel atopar "% 1", comezando "% 2" no seu lugar. Comproba o teu perfil de shell. - + Could not open "%1", unable to run it Non foi posíbel abrir "% 1", non foi posíbel executalo - + Could not find "%1", unable to run it Non foi posíbel atopar "% 1", non foi posíbel executalo - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. A saída suspendeuse premendo Ctrl+S. Prema Ctrl+Q para retomar. - + Close window Pechar a xanela - - - + + + Close workspace Pechar o espazo de traballo - - + + Horizontal split División horizontal - - + + Vertical split División vertical - - + + Find Atopar - - - + + debuginfod urls + + + + + + please set another one. por favor, estableza outro @@ -672,46 +693,46 @@ O terminal é un emulador de termos avanzado con espazo de traballo, múltiples xanelas, xestión remota, modo de terremoto e outras funcións. - + Tabs Lapelas - - + + Close tab Pechar lapela - + Select tab Seleccionar lapela - + Switch focus to "+" icon Cambia o foco á icona "+". - - + + Select file to upload Seleccionar ficheiro a subir - - + + Upload Subir - + Programs are still running in terminal Aínda hai programas en execución no terminal - - + + Close this terminal? Pechar este terminal? @@ -728,8 +749,8 @@ Aínda hai %1 procesos en execución neste terminal. Pechar o terminal dará todos por finalizados. - - + + Close this window? Pechar esta xanela? @@ -740,119 +761,119 @@ Aínda hai procesos en execución nesta xanela. Ao pechar a xanela rematará con todos. - - + + Select a directory to save the file Seleccione un directorio para gardar o ficheiro - + Are you sure you want to uninstall it? Estás seguro de que queres desinstalalo? - - + + Are you sure you want to uninstall this application? Estás seguro de que queres desinstalar este aplicativo? - - + + You will not be able to use Terminal any longer. Xa non poderás usar Terminal. - - - - + + + + Cancel button Cancelar - - + + OK button Aceptar - + Execute a command in the terminal Executa un comando no terminal - + Run script string in the terminal Executa a cadea de guión no terminal - + Set the work directory Estableza o directorio de traballo - + Set the window mode on starting Estableza o modo da xanela ao comezo - + Run in quake mode Executa en modo terremoto - + Keep terminal open when command finishes Manteña o terminal aberto cando termine o comando - - + + The name should be no more than 32 characters O nome non debe ser superior a 32 caracteres - - - + + + Select Seleccionar - + Select the private key file Seleccionar o ficheiro de clave privada - - + + Tab title format Fomato do título da lapela - - + + Remote tab title format Formato de título da lapela remota - - + + Close other tabs Pechar outras lapelas - + Delete button Eliminar - - + + Confirm button Confirmar @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group Engadir grupo - + Add Server Engadir Servidor - + No servers yet Ainda non hai servidores @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Buscar @@ -960,80 +981,85 @@ Grupo: - + + No Group + + + + Path: Ruta: - + Command: Comando: - + Encoding: Codificación: - + Backspace key: Tecla retroceso: - + Delete key: Eliminar chave: - + Cancel button Cancelar - + Add button Engadir - + Edit Server Editar Servidor - + Save button Gardar - + Please enter a server name Insira o nome do servidor - + Please enter an IP address Insira un enderezo IP - + Please enter a port Insira un porto - + Please enter a username Insira un nome de usuario - + The server name already exists, O nome do servidor xa existe, - + please input another one. por favor, poña outro. @@ -1041,7 +1067,7 @@ Service - + OK button Aceptar @@ -1050,32 +1076,32 @@ Settings - + Split screen Dividir a pantalla - + Fullscreen Pantalla completa - + Normal window Xanela normal - + Maximum Máximo - + Fast Rápido - + Slow Lento @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Insirir - - + + username: %u nome de usuario: %u - + username@: %U nome de usuario/a: %U - + remote host: %h host remoto: %h - - + + session number: %# número de sesión: %# - - + + title set by shell: %w título definido por shell: %w - + program name: %n nome de programa: %n - + current directory (short): %d directorio actual (curto): %d - + current directory (long): %D directorio actual (longo): %D - + local host: %h host local: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Copiar - + Paste Pegar - + Open Abrir - + Open in file manager Abrir no xestor de ficheiros - - + + Horizontal split División horizontal - - + + Vertical split División vertical - - + + New tab Nova lapela - + Exit fullscreen Saír da pantalla completa - + Fullscreen Pantalla completa - + Find Atopar - + Search Buscar - + Encoding Codificación - + Custom commands Comandos personalizados - + Remote management Xestión remota - + Upload file Subir ficheiro - + Download file Descargar ficheiro - + Settings Axustes @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Cancelar - + Close button Pechar - - + + OK button Aceptar diff --git a/translations/deepin-terminal_he.ts b/translations/deepin-terminal_he.ts index a0ac9f004..5ae9360e1 100644 --- a/translations/deepin-terminal_he.ts +++ b/translations/deepin-terminal_he.ts @@ -19,67 +19,67 @@ - - + + Required נדרש - + Add Command הוספת פקודה - + Edit Command עריכת הפקודה - + Delete Command מחיקת הפקודה - + Cancel button ביטול - + Add button הוספה - + Save button שמירה - + OK button אישור - + Please enter a name נא להכניס שם - + Please enter a command נא להכניס פקודה - + The name already exists, השם כבר קיים, - + please input another one. נא להכניס אחד אחר. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command הוספת פקודה - + No commands yet אין פקודות עדיין @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search חיפוש @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme ערכת נושא מותאמת אישית - + Style: סגנון: - + Light מואר - + Dark כהה - + Fore color: צבע קדמי: - + Back color: צבע רקע: - + Prompt PS1: ראש אבויב PS1: - + Prompt PS2: ראש אבויב PS2: - + Cancel button ביטול - + Confirm button אימות @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel ביטול - + Add הוספה - + Save שמור - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server מחיקת השרת - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? האם אתה בטוח שברצונך למחוק את %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window חלון חדש - + Settings הגדרות - + Cancel button ביטול - + Close button סגירה - + Type path to download file הקלד נתיב לתיקיית הורדה - + Custom Theme ערכת נושא מותאמת אישית @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus הסתרת חלון Quake לאחר אובדן מיקוד - + Quake window animation speed מהירות אנימציה של חלון Quake - - + + Blur background טשטש את הרקע - + Use on starting שימוש בהפעלה - + Font גופן - + Font size גודל גופן - - + + Opacity אטימות - + Advanced מתקדם - + Cursor סמן - + Scroll גלגלת - + Window חלון - + Basic בסיסי - + Interface ממשק - + Shortcuts קיצורי מקשים - - + + Others אחרים - + - + + Terminal מסוף - + Workspace סביבת עבודה - - + + Custom commands פקודות בהתאמה אישית - - + + Display shortcuts הצג קיצור־דרך - - + + Remote management שליטה מרחוק - - + + New tab כרטיסייה חדשה - - + + Next tab הכרטיסייה הבאה - - + + Previous tab כרטיסייה קודמת - - + + Select left workspace בחר סביבת עבודה שמאלית - - + + Select lower workspace בחר סביבת עבודה תחתונה - - + + Select right workspace בחר סביבת עבודה ימנית - - + + Select upper workspace בחר סביבת עבודה עליונה - + Tab titles כותרות כרטיסייה - - + + Go to tab 1 לך לכרטיסייה 1 - - + + Go to tab 2 לך לכרטיסייה 2 - - + + Go to tab 3 לך לכרטיסייה 3 - - + + Go to tab 4 לך לכרטיסייה 4 - - + + Go to tab 5 לך לכרטיסייה 5 - - + + Go to tab 6 לך לכרטיסייה 6 - - + + Go to tab 7 לך לכרטיסייה 7 - - + + Go to tab 8 לך לכרטיסייה 8 - - + + Go to tab 9 לך לכרטיסייה 9 - + Disable flow control using Ctrl+S, Ctrl+Q ביטול השליטה על הזרימה באמצעות Ctrl+S, Ctrl+Q - + Shell profile פרופיל מעטפת - + History size גודל ההיסטוריה - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title שינוי שם הכותרת - - + + Fullscreen מסך מלא - - + + Copy העתקה - - + + Default size גודל ברירת מחדל - - + + Paste הדבקה - + Search חיפוש - - + + Select all בחירה בהכול - + Jump to next command קפיצה לפקודה הבאה - + Jump to previous command קפיצ לפקודה הקודמת - - + + Zoom in הגדלת התצוגה - - + + Zoom out הקטנת התצוגה - + Close other windows סגירת חלונות אחרים - - - + + + Close other workspaces סגירת סביבות עבודה אחרות - + Could not find "%1", starting "%2" instead. Please check your shell profile. לא ניתן למצוא "%1", מפעיל במקום זאת "%2". אנא בדוק את פרופיל המעטפת שלך. - + Could not open "%1", unable to run it לא ניתן לפתוח את "%1", אין אפשרות להריץ את זה - + Could not find "%1", unable to run it לא ניתן למצוא את "%1", אין אפשרות להריץ את זה - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. הפלט הושהה בשל לחיצה על Ctrl+S. לחץ על Ctrl+Q כדי להמשיך. - + Close window סגירת החלון - - - + + + Close workspace סגירת סביבת העבודה - - + + Horizontal split פיצול אופקי - - + + Vertical split פיצול אנכי - - + + Find חיפוש - - - + + debuginfod urls + + + + + + please set another one. אנא הגדר אחד אחר. @@ -672,46 +693,46 @@ Terminal הוא אמולטור מסוף מתקדם עם סביבת עבודה, חלונות מרובים, ניהול מרחוק, מצב Quake ותכונות נוספות. - + Tabs כרטיסיות - - + + Close tab סגירת הכרטיסייה - + Select tab בחירה בכרטיסייה - + Switch focus to "+" icon העבר מיקוד לאייקון "+" - - + + Select file to upload בחירה בקובץ להעלות - - + + Upload העלאה - + Programs are still running in terminal תוכניות עדיין רצות במסוף - - + + Close this terminal? האם לסגור את מסוף זה? @@ -728,8 +749,8 @@ - - + + Close this window? האם לסגור חלון זה? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file - + Are you sure you want to uninstall it? האם אתה בטוח שברצונך להסיר את ההתקנה של זה? - - + + Are you sure you want to uninstall this application? האם אתה בטוח שברצונך להסיר יישום זה? - - + + You will not be able to use Terminal any longer. לא תוכל להשתמש במסוף יותר - - - - + + + + Cancel button ביטול - - + + OK button אישור - + Execute a command in the terminal ביצוע פקודה במסוף - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes השאר את המסוף פתוח כשהפקודה תסתיים - - + + The name should be no more than 32 characters השם צריך להכיל עד 32 תווים - - - + + + Select בחר - + Select the private key file - - + + Tab title format - - + + Remote tab title format - - + + Close other tabs סגור כרטיסיות אחרות - + Delete button מחיקה - - + + Confirm button אימות @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server הוספת שרת - + No servers yet אין שרתים עדיין @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search חיפוש @@ -960,80 +981,85 @@ קבוצה: - + + No Group + + + + Path: נתיב: - + Command: פקודה: - + Encoding: - + Backspace key: - + Delete key: - + Cancel button ביטול - + Add button הוספה - + Edit Server עריכת השרת - + Save button שמירה - + Please enter a server name נא להכניס שם שרת - + Please enter an IP address נא להכניס כתובת IP - + Please enter a port - + Please enter a username נא להכניס שם משתמש - + The server name already exists, שם השרת כבר קיים, - + please input another one. @@ -1041,7 +1067,7 @@ Service - + OK button אישור @@ -1050,32 +1076,32 @@ Settings - + Split screen פיצול המסך - + Fullscreen מסך מלא - + Normal window חלון רגיל - + Maximum מקסימלי - + Fast מהיר - + Slow איטי @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert הכנסה - - + + username: %u שם משתמש: %u - + username@: %U @שם משתמש: %U - + remote host: %h - - + + session number: %# - - + + title set by shell: %w - + program name: %n שם תוכנה: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy העתקה - + Paste הדבקה - + Open פתיחה - + Open in file manager פתיחה במנהל הקבצים - - + + Horizontal split פיצול אופקי - - + + Vertical split פיצול אנכי - - + + New tab כרטיסייה חדשה - + Exit fullscreen יציאה ממסך מלא - + Fullscreen מסך מלא - + Find מציאה - + Search חיפוש - + Encoding קידוד - + Custom commands פקודות בהתאמה אישית - + Remote management שליטה מרחוק - + Upload file העלאת קובץ - + Download file הורדת קובץ - + Settings הגדרות @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button ביטול - + Close button סגירה - - + + OK button אישור diff --git a/translations/deepin-terminal_hi_IN.ts b/translations/deepin-terminal_hi_IN.ts index 2cdb6d556..b9afbcf1f 100644 --- a/translations/deepin-terminal_hi_IN.ts +++ b/translations/deepin-terminal_hi_IN.ts @@ -19,67 +19,67 @@ - - + + Required आवश्यक - + Add Command कमांड जोड़ें - + Edit Command कमांड संपादन - + Delete Command कमांड हटाएँ - + Cancel button रद्द करें - + Add button जोड़ें - + Save button संचित करें - + OK button ठीक है - + Please enter a name कृपया नाम दर्ज करें - + Please enter a command कृपया कमांड दर्ज करें - + The name already exists, नाम पहले से प्रयुक्त है, - + please input another one. कृपया अन्य दर्ज करें। @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command कमांड जोड़ें - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search खोजें @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme अनुकूलित थीम - + Style: शैली : - + Light हल्का - + Dark गहरा - + Fore color: फोरग्राउंड रंग : - + Back color: बैकग्राउंड रंग : - + Prompt PS1: सूचक PS1: - + Prompt PS2: सूचक PS2: - + Cancel button रद्द करें - + Confirm button पुष्टि करें @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel रद्द करें - + Add जोड़ें - + Save संचित करें - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server सर्वर हटाएँ - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? क्या आप स्पष्ट होकर %1 को हटाना चाहते हैं ? @@ -243,35 +243,35 @@ MainWindow - - + + New window नवीन विंडो - + Settings सेटिंग्स - + Cancel button रद्द करें - + Close button बंद करें - + Type path to download file फाइल डाउनलोड हेतु पथ दर्ज करें - + Custom Theme अनुकूलित थीम @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus उपयोक्ता द्वारा विंडो उपयोग न होने पर Quake विंडो अदृश्य करें - + Quake window animation speed - - + + Blur background बैकग्राउंड हेतु धुंध प्रभाव - + Use on starting आरंभ होने पर उपयोग करें - + Font मुद्रलिपि - + Font size मुद्रलिपि आकार - - + + Opacity अपारदर्शिता - + Advanced विस्तृत - + Cursor कर्सर - + Scroll स्क्रॉल - + Window विंडो - + Basic सामान्य - + Interface अंतरफलक - + Shortcuts शॉर्टकट - - + + Others अन्य - + - + + Terminal टर्मिनल - + Workspace कार्यस्थल - - + + Custom commands अनुकूलित कमांड - - + + Display shortcuts शॉर्टकट दिखाएँ - - + + Remote management दूरस्थ प्रबंधन - - + + New tab नवीन टैब - - + + Next tab अगला टैब - - + + Previous tab पिछला टैब - - + + Select left workspace बायां कार्यस्थल चुनें - - + + Select lower workspace निचला कार्यस्थल चुनें - - + + Select right workspace दायां कार्यस्थल चुनें - - + + Select upper workspace ऊपरी कार्यस्थल चुनें - + Tab titles टैब शीर्षक - - + + Go to tab 1 टैब 1 पर जाएँ - - + + Go to tab 2 टैब 2 पर जाएँ - - + + Go to tab 3 टैब 3 पर जाएँ - - + + Go to tab 4 टैब 4 पर जाएँ - - + + Go to tab 5 टैब 5 पर जाएँ - - + + Go to tab 6 टैब 6 पर जाएँ - - + + Go to tab 7 टैब 7 पर जाएँ - - + + Go to tab 8 टैब 8 पर जाएँ - - + + Go to tab 9 टैब 9 पर जाएँ - + Disable flow control using Ctrl+S, Ctrl+Q Ctrl+S, Ctrl+Q का उपयोग कर आउटपुट प्रवाह निष्क्रिय करें - + Shell profile शैल प्रोफाइल - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title शीर्षक बदलें - - + + Fullscreen पूर्ण स्क्रीन - - + + Copy कॉपी करें - - + + Default size डिफ़ॉल्ट आकार - - + + Paste पेस्ट करें - + Search खोजें - - + + Select all सभी चयनित करें - + Jump to next command अगली कमांड पर जाएँ - + Jump to previous command पिछली कमांड पर जाएँ - - + + Zoom in आकार बढ़ाएँ - - + + Zoom out आकार घटाएँ - + Close other windows अन्य विंडो बंद करें - - - + + + Close other workspaces अन्य कार्यस्थल बंद करें - + Could not find "%1", starting "%2" instead. Please check your shell profile. "%1" की प्राप्ति विफल होने के कारण उसके स्थान पर "%2" आरंभ होगा। कृपया अपना शैल प्रोफाइल देखें। - + Could not open "%1", unable to run it "%1" को खोलना विफल होने के कारण उसे निष्पादित करना संभव नहीं है - + Could not find "%1", unable to run it "%1" की प्राप्ति विफल होने के कारण उसे निष्पादित करना संभव नहीं है - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Ctrl+S कुंजी संयोजन दबाने के कारण आउटपुट स्थगित किया गया। पुनः जारी रखने हेतु Ctrl+Q दबाएँ। - + Close window विंडो बंद करें - - - + + + Close workspace कार्यस्थल बंद करें - - + + Horizontal split क्षैतिज विभाजन - - + + Vertical split लंबवत विभाजन - - + + Find खोज - - - + + debuginfod urls + + + + + + please set another one. कृपया अन्य सेट करें। @@ -672,46 +693,46 @@ टर्मिनल - कार्यस्थल, एकाधिक विंडो, दूरस्थ प्रबंधन, मोड व अन्य सुविधाओं युक्त एक सशक्त टर्मिनल अनुकरण प्रोग्राम है। - + Tabs टैब - - + + Close tab टैब बंद करें - + Select tab टैब चुनें - + Switch focus to "+" icon "+" आइकन पर केंद्रित करें - - + + Select file to upload अपलोड हेतु फाइल चुनें - - + + Upload अपलोड करें - + Programs are still running in terminal टर्मिनल में अभी भी प्रोग्राम कार्यरत हैं - - + + Close this terminal? यह टर्मिनल बंद करें? @@ -728,8 +749,8 @@ - - + + Close this window? यह विंडो बंद करें? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file फाइल संचय हेतु डायरेक्टरी चुनें - + Are you sure you want to uninstall it? क्या आप निश्चित ही इसे हटाना चाहते हैं? - - + + Are you sure you want to uninstall this application? क्या आप निश्चित यह अनुप्रयोग हटाना चाहते हैं? - - + + You will not be able to use Terminal any longer. अब आप टर्मिनल उपयोग नहीं कर सकेंगें। - - - - + + + + Cancel button रद्द करें - - + + OK button ठीक है - + Execute a command in the terminal टर्मिनल में कमांड निष्पादित करें - + Run script string in the terminal स्क्रिप्ट वाक्यांश टर्मिनल में निष्पादित करें - + Set the work directory कार्य डायरेक्टरी सेट करें - + Set the window mode on starting आरंभ होने पर विंडो मोड सेट करें - + Run in quake mode Quake मोड में निष्पादित करें - + Keep terminal open when command finishes कमांड पूर्ण होने तक टर्मिनल खुला रखें - - + + The name should be no more than 32 characters नाम में 32 से अधिक अक्षर नहीं होने चाहिए - - - + + + Select चुनें - + Select the private key file निजी कुंजी की फाइल चुनें - - + + Tab title format टैब शीर्षक प्रारूप - - + + Remote tab title format दूरस्थ टैब शीर्षक प्रारूप - - + + Close other tabs अन्य टैब बंद करें - + Delete button हटाएँ - - + + Confirm button पुष्टि करें @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server सर्वर जोड़ें - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search खोजें @@ -960,80 +981,85 @@ समूह : - + + No Group + + + + Path: पथ : - + Command: कमांड : - + Encoding: एन्कोडिंग : - + Backspace key: बैकस्पेस कुंजी : - + Delete key: कुंजी हटाएँ : - + Cancel button रद्द करें - + Add button जोड़ें - + Edit Server सर्वर संपादन - + Save button संचित करें - + Please enter a server name कृपया सर्वर नाम दर्ज करें - + Please enter an IP address कृपया आईपी पता दर्ज करें - + Please enter a port कृपया पोर्ट दर्ज करें - + Please enter a username कृपया उपयोक्ता नाम दर्ज करें - + The server name already exists, सर्वर नाम पहले से प्रयुक्त है, - + please input another one. कृपया अन्य दर्ज करें। @@ -1041,7 +1067,7 @@ Service - + OK button ठीक है @@ -1050,32 +1076,32 @@ Settings - + Split screen स्क्रीन विभाजन - + Fullscreen पूर्ण स्क्रीन - + Normal window सामान्य विंडो - + Maximum अधिकतम - + Fast तेज़ - + Slow धीमा @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert प्रविष्ट करें - - + + username: %u उपयोक्ता नाम : %u - + username@: %U उपयोक्ता नाम @: %U - + remote host: %h दूरस्थ होस्ट : %h - - + + session number: %# सत्र संख्या : %# - - + + title set by shell: %w शैल द्वारा सेट शीर्षक : %w - + program name: %n प्रोग्राम नाम : %n - + current directory (short): %d वर्तमान डायरेक्टरी (लघु): &d - + current directory (long): %D वर्तमान डायरेक्टरी (दीर्घ): &d - + local host: %h लोकल होस्ट : %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy कॉपी करें - + Paste पेस्ट करें - + Open खोलें - + Open in file manager फाइल प्रबंधक में खोलें - - + + Horizontal split क्षैतिज विभाजन - - + + Vertical split लंबवत विभाजन - - + + New tab नवीन टैब - + Exit fullscreen पूर्ण स्क्रीन बंद करें - + Fullscreen पूर्ण स्क्रीन - + Find खोज - + Search खोजें - + Encoding एन्कोडिंग - + Custom commands अनुकूलित कमांड - + Remote management दूरस्थ प्रबंधन - + Upload file फाइल अपलोड करें - + Download file फाइल डाउनलोड करें - + Settings सेटिंग्स @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button रद्द करें - + Close button बंद करें - - + + OK button ठीक है diff --git a/translations/deepin-terminal_hr.ts b/translations/deepin-terminal_hr.ts index 5b3220fc0..8f53a6aa0 100644 --- a/translations/deepin-terminal_hr.ts +++ b/translations/deepin-terminal_hr.ts @@ -19,67 +19,67 @@ - - + + Required Potrebno - + Add Command Dodaj naredbu - + Edit Command Uredi naredbu - + Delete Command Obriši naredbu - + Cancel button Otkaži - + Add button Dodaj - + Save button Spremi - + OK button U redu - + Please enter a name Molim unesite ime - + Please enter a command Molim unesite naredbu - + The name already exists, Ime već postoji, - + please input another one. molim unesite neko drugo. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Dodaj naredbu - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Traži @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Prilagođena tema - + Style: Stil: - + Light Svijetlo - + Dark Tamno - + Fore color: Prednja boja: - + Back color: Stražnja boja: - + Prompt PS1: - + Prompt PS2: - + Cancel button Otkaži - + Confirm button Potvrdi @@ -171,71 +171,71 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Dodaj grupu - + Edit Group - + Uredi grupu - + Cancel Otkaži - + Add Dodaj - + Save Spremi - + Please enter a group name - + Molim unesite ime grupe - + The name should be no more than 30 characters - + Ime ne bi trebalo biti veće od 30 znakova ListView - + Delete Server Obriši poslužitelj - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Jeste li sigurni da želite obrisati %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Novi prozor - + Settings Postavke - + Cancel button Otkaži - + Close button Zatvori - + Type path to download file Ukucajte putanju za preuzimanje datoteke - + Custom Theme Prilagođena tema @@ -305,364 +305,385 @@ - Hide Quake window after losing focus + Allow Ctrl+scrollwheel to zoom text size - Quake window animation speed + Hide Quake window after losing focus - + Quake window animation speed + + + + + Blur background Zamuti pozadinu - + Use on starting - + Font Font - + Font size Veličina fonta - - + + Opacity Neprozirnost - + Advanced Napredno - + Cursor Pokazivač - + Scroll Kliži - + Window Prozor - + Basic Osnovno - + Interface Sučelje - + Shortcuts Prečaci - - + + Others Ostalo - + - + + Terminal Terminal - + Workspace Radni prostor - - + + Custom commands Prilagođene naredbe - - + + Display shortcuts Prikaži prečace - - + + Remote management Udaljeno upravljanje - - + + New tab Nova kartica - - + + Next tab Slijedeća kartica - - + + Previous tab Prethodna kartica - - + + Select left workspace Odaberi lijevi radni prostor - - + + Select lower workspace Odaberi donji radni prostor - - + + Select right workspace Odaberi desni radni prostor - - + + Select upper workspace Odaberi gornji radni prostor - + Tab titles Naslovi kartice - - + + Go to tab 1 Idi na karticu 1 - - + + Go to tab 2 Idi na karticu 2 - - + + Go to tab 3 Idi na karticu 3 - - + + Go to tab 4 Idi na karticu 4 - - + + Go to tab 5 Idi na karticu 5 - - + + Go to tab 6 Idi na karticu 6 - - + + Go to tab 7 Idi na karticu 7 - - + + Go to tab 8 Idi na karticu 8 - - + + Go to tab 9 Idi na karticu 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Veličina povijesti - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Preimenuj naslov - - + + Fullscreen Cijeli zaslon - - + + Copy Kopiraj - - + + Default size Zadana veličina - - + + Paste Zalijepi - + Search Traži - - + + Select all Odaberi sve - + Jump to next command Skoči na slijedeću naredbu - + Jump to previous command Skoči na prethodnu naredbu - - + + Zoom in Povećaj - - + + Zoom out Smanji - + Close other windows Zatvori ostale prozore - - - + + + Close other workspaces Zatvore ostale radne prostore - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + Close window Zatvori prozor - - - + + + Close workspace Zatvori radni prostor - - + + Horizontal split Vodoravna podjela - - + + Vertical split Okomita podjela - - + + Find Traži - - - + + debuginfod urls + + + + + + please set another one. @@ -672,46 +693,46 @@ - + Tabs KArtice - - + + Close tab Zatvori karticu - + Select tab Odaberi karticu - + Switch focus to "+" icon - - + + Select file to upload Odaberite datoteku za slanje - - + + Upload Slanje - + Programs are still running in terminal Programi još rade u terminalu - - + + Close this terminal? Zatvoriti ovaj terminal? @@ -728,8 +749,8 @@ - - + + Close this window? Zatvoriti ovaj prozor? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file Odaberite direktorij za spremanje datoteke - + Are you sure you want to uninstall it? Jeste li sigurni da želite deinstalirati? - - + + Are you sure you want to uninstall this application? Jeste li sigurni da želite deinstalirati ovu aplikaciju? - - + + You will not be able to use Terminal any longer. Ne možete više koristiti Terminal. - - - - + + + + Cancel button Otkaži - - + + OK button U redu - + Execute a command in the terminal Izvrši naredbu u terminalu - + Run script string in the terminal - + Set the work directory Postavi radni direktorij - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - - + + The name should be no more than 32 characters - - - + + + Select Odaberi - + Select the private key file - - + + Tab title format - - + + Remote tab title format - - + + Close other tabs - + Zatvori ostale kartice - + Delete button Obriši - - + + Confirm button Potvrdi @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Dodaj grupu - + Add Server Dodaj poslužitelj - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Traži @@ -902,12 +923,12 @@ Groups - + Grupe Servers - + Poslužitelji @@ -960,80 +981,85 @@ Grupa: - + + No Group + + + + Path: Putanja: - + Command: Naredba: - + Encoding: Kodiranje: - + Backspace key: Backspace tipka: - + Delete key: Obriši tipku: - + Cancel button Otkaži - + Add button Dodaj - + Edit Server Uredi poslužitelj - + Save button Spremi - + Please enter a server name Molim unesite ime poslužitelja - + Please enter an IP address Molim unesite IP adresu - + Please enter a port Molim unesite port - + Please enter a username Molim unesite korisničko ime - + The server name already exists, Ime poslužitelja već postoji. - + please input another one. molim unesite neko drugo. @@ -1041,7 +1067,7 @@ Service - + OK button U redu @@ -1050,32 +1076,32 @@ Settings - + Split screen Razdjeli zaslon - + Fullscreen Cijeli zaslon - + Normal window Normalni prozor - + Maximum Maksimum - + Fast Brzo - + Slow Polako @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Umetni - - + + username: %u korisničko ime: %u - + username@: %U korisničko ime: %U - + remote host: %h - - + + session number: %# - - + + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Kopiraj - + Paste Zalijepi - + Open Otvori - + Open in file manager Otvori u upravitelju datotekama - - + + Horizontal split Vodoravna podjela - - + + Vertical split Okomita podjela - - + + New tab Nova kartica - + Exit fullscreen Izađi iz cijelog zaslona - + Fullscreen Cijeli zaslon - + Find Traži - + Search Traži - + Encoding Enkodiranje - + Custom commands Prilagođene naredbe - + Remote management Udaljeno upravljanje - + Upload file Slanje datoteke - + Download file Preuzmi datoteku - + Settings Postavke @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Otkaži - + Close button Zatvori - - + + OK button U redu diff --git a/translations/deepin-terminal_hu.ts b/translations/deepin-terminal_hu.ts index 8bd2b9ebe..64453e8e0 100644 --- a/translations/deepin-terminal_hu.ts +++ b/translations/deepin-terminal_hu.ts @@ -19,67 +19,67 @@ - - + + Required Kötelező - + Add Command Parancs hozzáadása - + Edit Command Parancs szerkesztése - + Delete Command Parancs törlése - + Cancel button Mégsem - + Add button Hozzáadás - + Save button Mentés - + OK button OK - + Please enter a name Kérjük adjon meg egy nevet - + Please enter a command Kérjük adjon meg egy parancsot - + The name already exists, Ez a név már létezik - + please input another one. Kérjük adjon meg egy másikat @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Parancs hozzáadása - + No commands yet Még nincs parancs @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Keresés @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Egyéni Téma - + Style: Stílus: - + Light Világos - + Dark Sötét - + Fore color: Elülső szín: - + Back color: Háttér szín: - + Prompt PS1: Felszólítás PS1: - + Prompt PS2: Felszólítás PS2: - + Cancel button Mégsem - + Confirm button Megerősítés @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) Csoportnév (Kötelező) - + Add Group Csoport hozzáadása - + Edit Group Csoport szerkesztése - + Cancel Mégsem - + Add Hozzáadás - + Save Mentés - + Please enter a group name Kérjük adja meg a csoport nevét - + The name should be no more than 30 characters A név legfeljebb 30 karakter lehet @@ -214,28 +214,28 @@ ListView - + Delete Server Szerver törlése - + Delete Custom Command Egyedi Parancs törlése - + Cancel Server Group Szervercsoport törlése - + Ungrouped servers will go back to server list! A csoportosítatlan szerverek visszakerülnek a szerverlistába! - - + + Are you sure you want to delete %1? Biztos, hogy törölni akarja a %1-t? @@ -243,35 +243,35 @@ MainWindow - - + + New window Új ablak - + Settings Beállítások - + Cancel button Mégsem - + Close button Bezárás - + Type path to download file Elérési útvonal a letöltött fájlokhoz - + Custom Theme Egyéni téma @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + Engedélyezze a Ctrl+görgőgombot a szöveg méretének nagyításához + + + Hide Quake window after losing focus Lebegő ablak elrejtése fókusz elvesztésekor - + Quake window animation speed Lebegő ablak animációjának sebessége - - + + Blur background Háttér elhomályosítása - + Use on starting Használja indításkor - + Font Betűtípus - + Font size Betűméret - - + + Opacity Áttetszőség - + Advanced Haladó - + Cursor Kurzor - + Scroll Görgetés - + Window Ablak - + Basic Alapvető - + Interface Felület - + Shortcuts Gyorsbillentyűk - - + + Others Egyebek - + - + + Terminal Terminál - + Workspace Munkaterület - - + + Custom commands Egyéni parancsok - - + + Display shortcuts Gyorsbillentyűk megjelenítése - - + + Remote management Távoli elérés - - + + New tab Új fül - - + + Next tab Következő fül - - + + Previous tab Előző fül - - + + Select left workspace Baloldali munkaterület kiválasztása - - + + Select lower workspace Alsó munkaterület kiválasztása - - + + Select right workspace Jobboldali munkaterület kiválasztása - - + + Select upper workspace Felső munkaterület kiválasztása - + Tab titles Fülek címei - - + + Go to tab 1 Ugrás az 1. fülre - - + + Go to tab 2 Ugrás az 2. fülre - - + + Go to tab 3 Ugrás az 3. fülre - - + + Go to tab 4 Ugrás az 4. fülre - - + + Go to tab 5 Ugrás az 5. fülre - - + + Go to tab 6 Ugrás az 6. fülre - - + + Go to tab 7 Ugrás az 7. fülre - - + + Go to tab 8 Ugrás az 8. fülre - - + + Go to tab 9 Ugrás az 9. fülre - + Disable flow control using Ctrl+S, Ctrl+Q A folyam vezérlése a Ctrl+S, Ctrl+Q billentyűkombinációkkal - + Shell profile Shell profil - + History size Előzmények mérete - + Include special character(s) in double click selections Speciális karakter(ek) szerepeltetése dupla kattintással - - - - + + Allow Ctrl + left mouse click to set cursor position + Engedélyezze a Ctrl + bal egérkattintást a kurzor pozíciójának beállításához + + + + The HTTP file server used for transmitting debugging information resources + A hibakeresési információs erőforrások továbbítására használt HTTP fájlszerver + + + + + + Rename title Cím átnevezése - - + + Fullscreen Teljes képernyő - - + + Copy Másolás - - + + Default size Alapértelmezett méret - - + + Paste Beillesztés - + Search Keresés - - + + Select all Összes kijelölése - + Jump to next command Ugrás a következő parancsra - + Jump to previous command Visszaugrás az előző parancsra - - + + Zoom in Nagyítás - - + + Zoom out Kicsinyítés - + Close other windows Egyéb ablakok bezárása - - - + + + Close other workspaces Egyéb munkaterületek bezárása - + Could not find "%1", starting "%2" instead. Please check your shell profile. Nem található a "%1", helyette a "%2" indul. Kérjük ellenőrizze a shell profilját. - + Could not open "%1", unable to run it Nem nyitható meg a "%1", nem tudja futtatni azt - + Could not find "%1", unable to run it Nem található a "%1", nem tudja futtatni azt - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. A kimenet a Ctrl+S billentyűkombináció megnyomásával felfüggesztésre kerül. A folytatáshoz nyomja meg a Ctrl+Q billentyűkombinációt. - + Close window Ablak bezárása - - - + + + Close workspace Munkaterület bezárása - - + + Horizontal split Kettéosztás vízszintesen - - + + Vertical split Függőleges elválasztás - - + + Find Találat - - - + + debuginfod urls + hibakeresési információs url-ek + + + + + please set another one. Kérjük állítson be egy másikat. @@ -672,46 +693,46 @@ A Terminál egy fejlett terminálemulátor munkaterülettel, több ablakkal, távkezeléssel, lebegő móddal és egyéb funkciókkal. - + Tabs Fülek - - + + Close tab Fül bezárása - + Select tab Fül kiválasztása - + Switch focus to "+" icon Váltson fókuszt a „+” ikonnal - - + + Select file to upload A feltöltendő fájl kiválasztása - - + + Upload Feltöltés - + Programs are still running in terminal Még futnak programok a terminál ablakban - - + + Close this terminal? Bezárja ezt a terminált? @@ -728,8 +749,8 @@ Még mindig fut a %1 folyamat ebben a terminálban. A terminál bezárása mindegyiket megszünteti. - - + + Close this window? Bezárja ezt az ablakot? @@ -740,119 +761,119 @@ Ebben az ablakban még fut egy folyamat. Az ablak bezárása megszünteti valamennyit. - - + + Select a directory to save the file Válasszon könyvtárat a fájl mentéséhez - + Are you sure you want to uninstall it? Biztosan el szeretné távolítani? - - + + Are you sure you want to uninstall this application? Biztosan el szeretné távolítani ezt az alkalmazást? - - + + You will not be able to use Terminal any longer. Nem használhatja tovább a terminált. - - - - + + + + Cancel button Mégsem - - + + OK button OK - + Execute a command in the terminal Parancs futtatása terminál ablakban - + Run script string in the terminal Szkript futtatása terminál ablakban - + Set the work directory Állítsa be a munkakönyvtár helyét - + Set the window mode on starting Ablakmód indítási beállítása - + Run in quake mode Futtatás lebegő módban - + Keep terminal open when command finishes A parancs befejezése után tartsa nyitva a terminál ablakot - - + + The name should be no more than 32 characters A név legfeljebb 32 karakter lehet - - - + + + Select Kiválasztás - + Select the private key file Privát kulcs fájl kiválasztása - - + + Tab title format Fül címének formátuma - - + + Remote tab title format Távoli fül címének formátuma - - + + Close other tabs Egyéb fülek bezárása - + Delete button Törlés - - + + Confirm button Megerősítés @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group Csoport hozzáadása - + Add Server Szerver hozzáadása - + No servers yet Még nincs szerver @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Keresés @@ -960,80 +981,85 @@ Csoport: - + + No Group + Nincs Csoport + + + Path: Elérési útvonal: - + Command: Parancs: - + Encoding: Kódolás: - + Backspace key: Backspace billentyű: - + Delete key: Törlés billentyű: - + Cancel button Mégsem - + Add button Hozzáadás - + Edit Server Szerver szerkesztése - + Save button Mentés - + Please enter a server name Kérjük adjon meg egy szerver nevet - + Please enter an IP address Kérjük adjon meg egy IP címet - + Please enter a port Kérjük adjon meg egy portot - + Please enter a username Kérjük adjon meg egy felhasználónevet - + The server name already exists, A szerver név már használatban van - + please input another one. Kérjük adjon meg egy másikat @@ -1041,7 +1067,7 @@ Service - + OK button OK @@ -1050,32 +1076,32 @@ Settings - + Split screen Osztott képernyő - + Fullscreen Teljes képernyő - + Normal window Normál ablak - + Maximum Maximum - + Fast Gyors - + Slow Lassú @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Beillesztés - - + + username: %u Felhasználónév: %u - + username@: %U Felhasználónév@: %U - + remote host: %h Távoli gazdagép: %h - - + + session number: %# Munkamenet száma: %# - - + + title set by shell: %w Shell által beállított cím: %w - + program name: %n Program neve: %n - + current directory (short): %d Jelenlegi mappa (rövid): %d - + current directory (long): %D Jelenlegi mappa (hosszú): %D - + local host: %h Helyi gazdagép: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Másolás - + Paste Beillesztés - + Open Megnyitás - + Open in file manager Megnyitás a fájlkezelőben - - + + Horizontal split Vízszintes felosztás - - + + Vertical split Függőleges felosztás - - + + New tab Új fül - + Exit fullscreen Kilépés a teljes képernyőből - + Fullscreen Teljes képernyő - + Find Találat - + Search Keresés - + Encoding Kódolás - + Custom commands Egyéni parancsok - + Remote management Távoli elérés - + Upload file Fájl feltöltése - + Download file Fájl letöltése - + Settings Beállítások @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Mégsem - + Close button Bezárás - - + + OK button OK diff --git a/translations/deepin-terminal_id.ts b/translations/deepin-terminal_id.ts index 67ce6962a..9848de7a1 100644 --- a/translations/deepin-terminal_id.ts +++ b/translations/deepin-terminal_id.ts @@ -19,67 +19,67 @@ - - + + Required Dibutuhkan - + Add Command Tambah perintah - + Edit Command Ubah perintah - + Delete Command Hapus Perintah - + Cancel button Batal - + Add button Tambah - + Save button Simpan - + OK button OK - + Please enter a name Masukkan nama - + Please enter a command Masukkan perintah - + The name already exists, Nama telah tersedia, - + please input another one. gunakan kata lainnya. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Tambah perintah - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Cari @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Tema Kustom - + Style: Gaya: - + Light Terang - + Dark Gelap - + Fore color: Warna depan: - + Back color: Warna belakang: - + Prompt PS1: Prompt PS1: - + Prompt PS2: Prompt PS2: - + Cancel button Batal - + Confirm button Konfirmasi @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel Batal - + Add Tambah - + Save Simpan - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server Hapus Peladen - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Anda yakin ingin menghapus %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Jendela baru - + Settings Pengaturan - + Cancel button Batal - + Close button Tutup - + Type path to download file Ketik jalur untuk berkas unduhan - + Custom Theme Tema Kustom @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Sembunyikan jendela Quake setelah hilang fokus - + Quake window animation speed - - + + Blur background Latar belakang buram - + Use on starting Gunakan saat mulai - + Font Fonta - + Font size Ukuran fonta - - + + Opacity Opacity - + Advanced Lanjutan - + Cursor Kursor - + Scroll Gulung - + Window Jendela - + Basic Dasar - + Interface Antarmuka - + Shortcuts Pintasan - - + + Others Lainnya - + - + + Terminal Terminal - + Workspace Ruang kerja - - + + Custom commands Perintah sesuaian - - + + Display shortcuts Tampilkan pintasan - - + + Remote management Manajemen jarak jauh - - + + New tab Tab baru - - + + Next tab Tab berikutnya - - + + Previous tab Tab sebelumnya - - + + Select left workspace Pilih ruang kerja kiri - - + + Select lower workspace Pilih ruang kerja bawah - - + + Select right workspace Pilih ruang kerja kanan - - + + Select upper workspace Pilih ruang kerja atas - + Tab titles Judul Tab - - + + Go to tab 1 Menuju Tab 1 - - + + Go to tab 2 Menuju Tab 2 - - + + Go to tab 3 Menuju Tab 3 - - + + Go to tab 4 Menuju Tab 4 - - + + Go to tab 5 Menuju Tab 5 - - + + Go to tab 6 Menuju Tab 6 - - + + Go to tab 7 Menuju Tab 7 - - + + Go to tab 8 Menuju Tab 8 - - + + Go to tab 9 Menuju Tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q Nonaktifkan kontrol aliran menggunakan Ctrl + S, Ctrl + Q - + Shell profile Profil shell - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Ubah judul - - + + Fullscreen Layar Penuh - - + + Copy Salin - - + + Default size Ukuran bawaan - - + + Paste Tempel - + Search Cari - - + + Select all Pilih semua - + Jump to next command Loncat ke perintah berikutnya - + Jump to previous command Loncat ke perintah sebelumnya - - + + Zoom in Perbesar - - + + Zoom out Perkecil - + Close other windows Tutup jendela lainnya - - - + + + Close other workspaces Tutup ruang kerja lainnya - + Could not find "%1", starting "%2" instead. Please check your shell profile. Tidak dapat menemukan "%1", dimulai "%2" sebagai gantinya. Silakan periksa profil shell Anda. - + Could not open "%1", unable to run it Tidak dapat membuka "%1", tidak dapat menjalankannya - + Could not find "%1", unable to run it Tidak dapat menemukan "%1", tidak dapat menjalankannya - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Output telah ditangguhkan dengan menekan Ctrl + S. Menekan Ctrl + Q untuk melanjutkan. - + Close window Tutup jendela - - - + + + Close workspace Tutup ruang kerja - - + + Horizontal split Bagi horizontal - - + + Vertical split Bagi vertikal - - + + Find Temukan - - - + + debuginfod urls + + + + + + please set another one. Silakan setel yang lainnya. @@ -672,46 +693,46 @@ Terminal adalah emulator terminal tingkat lanjut dengan ruang kerja, banyak jendela, manajemen jarak jauh, mode bergoyang, dan fitur lainnya. - + Tabs Tab - - + + Close tab Tutup Tab - + Select tab Pilih Tab - + Switch focus to "+" icon Alihkan fokus ke ikon "+" - - + + Select file to upload Pilih berkas untuk diunggah - - + + Upload Unggah - + Programs are still running in terminal Program masih berjalan dalam terminal - - + + Close this terminal? Tutup terminal ini? @@ -728,8 +749,8 @@ - - + + Close this window? Tutup jendela ini? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file Pilih direktori untuk menyimpan berkas - + Are you sure you want to uninstall it? Anda yakin ingin menghapusnya? - - + + Are you sure you want to uninstall this application? Apakah Anda yakin ingin menghapus aplikasi ini? - - + + You will not be able to use Terminal any longer. Anda tidak akan dapat menggunakan Terminal lagi. - - - - + + + + Cancel button Batal - - + + OK button OK - + Execute a command in the terminal Eksekusi perintah di terminal - + Run script string in the terminal Jalankan skrip di terminal - + Set the work directory Setel direktori kerja - + Set the window mode on starting Atur mode jendela ketika memulai - + Run in quake mode Jalankan dalam mode goyang - + Keep terminal open when command finishes Biarkan terminal tetap terbuka saat perintah selesai - - + + The name should be no more than 32 characters Nama tidak boleh lebih dari 32 karakter - - - + + + Select Pilih - + Select the private key file Pilih berkas kunci pribadi - - + + Tab title format Format judul tab - - + + Remote tab title format Format judul tab jarak jauh - - + + Close other tabs Tutup Tab lainnya - + Delete button Hapus - - + + Confirm button Konfirmasi @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server Tambah Peladen - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Cari @@ -960,80 +981,85 @@ Grup: - + + No Group + + + + Path: Jalur: - + Command: Perintah: - + Encoding: Menyandi: - + Backspace key: Kunci Backspace: - + Delete key: Hapus kunci: - + Cancel button Batal - + Add button Tambah - + Edit Server Ubah peladen - + Save button Simpan - + Please enter a server name Masukkan nama peladen - + Please enter an IP address Masukan alamat IP - + Please enter a port Masukkan porta - + Please enter a username Masukkan nama pengguna - + The server name already exists, Nama peladen telah ada, - + please input another one. silakan gunakan yang lain. @@ -1041,7 +1067,7 @@ Service - + OK button OK @@ -1050,32 +1076,32 @@ Settings - + Split screen Pisahkan layar - + Fullscreen Layar Penuh - + Normal window Jendela normal - + Maximum Maksimum - + Fast Cepat - + Slow Lambat @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Sisip - - + + username: %u nama pengguna: %u - + username@: %U nama pengguna@: %U - + remote host: %h hos jarak jauh: %h - - + + session number: %# nomor sesi: %# - - + + title set by shell: %w setel judul oleh terminal: %w - + program name: %n nama program: %n - + current directory (short): %d direktori saat ini (pendek): %d - + current directory (long): %D direktori saat ini (panjang): %D - + local host: %h hos lokal: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Salin - + Paste Tempel - + Open Buka - + Open in file manager Buka pada manajer berkas - - + + Horizontal split Bagi horizontal - - + + Vertical split Bagi vertikal - - + + New tab Tab baru - + Exit fullscreen Keluar layar penuh - + Fullscreen Layar Penuh - + Find Temukan - + Search Cari - + Encoding Menyandi - + Custom commands Perintah sesuaian - + Remote management Manajemen jarak jauh - + Upload file Unggah berkas - + Download file Unduh berkas - + Settings Pengaturan @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Batal - + Close button Tutup - - + + OK button OK diff --git a/translations/deepin-terminal_it.ts b/translations/deepin-terminal_it.ts index b8a35a2b7..60f380246 100644 --- a/translations/deepin-terminal_it.ts +++ b/translations/deepin-terminal_it.ts @@ -19,67 +19,67 @@ - - + + Required Richiesta - + Add Command Aggiungi Comando - + Edit Command Modifica Comando - + Delete Command Elimina comando - + Cancel button Annulla - + Add button Aggiungi - + Save button Salva - + OK button OK - + Please enter a name Inserisci un nome - + Please enter a command Inserisci un comando - + The name already exists, Il nome esiste già, - + please input another one. inseriscine un altro. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Aggiungi Comando - + No commands yet Nessun comando @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Cerca @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Tema personalizzato - + Style: Stile: - + Light Chiara - + Dark Scura - + Fore color: Colore anteriore: - + Back color: Colore posteriore: - + Prompt PS1: Prompt PS1: - + Prompt PS2: Prompt PS2: - + Cancel button Annulla - + Confirm button Conferma @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel Annulla - + Add Aggiungi - + Save Salva - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server Elimina Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Sicuro di voler eliminare %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Nuova finestra - + Settings Impostazioni - + Cancel button Annulla - + Close button Chiudi - + Type path to download file Digita il percorso per scaricare i file - + Custom Theme Tema personalizzato @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Nascondi Quake window dopo il movimento del mouse - + Quake window animation speed Velocità animazione quake window - - + + Blur background Sfondo Blur - + Use on starting Usa all'avvio - + Font Font - + Font size Dimensione font - - + + Opacity Opacità - + Advanced Avanzate - + Cursor Cursore - + Scroll Scroll - + Window Finestra - + Basic Base - + Interface Interfaccia - + Shortcuts Scorciatoie - - + + Others Altro - + - + + Terminal Terminale - + Workspace Spazio di lavoro - - + + Custom commands Comandi personalizzati - - + + Display shortcuts Visualizza scorciatoie - - + + Remote management Gestione remota - - + + New tab Nuova scheda - - + + Next tab Prossima scheda - - + + Previous tab Scheda precedente - - + + Select left workspace Seleziona lo spazio di lavoro a sinistra - - + + Select lower workspace Seleziona lo spazio di lavoro inferiore - - + + Select right workspace Seleziona lo spazio di lavoro a destra - - + + Select upper workspace Seleziona lo spazio di lavoro superiore - + Tab titles Titolo scheda - - + + Go to tab 1 Vai alla scheda 1 - - + + Go to tab 2 Vai alla scheda 2 - - + + Go to tab 3 Vai alla scheda 3 - - + + Go to tab 4 Vai alla scheda 4 - - + + Go to tab 5 Vai alla scheda 5 - - + + Go to tab 6 Vai alla scheda 6 - - + + Go to tab 7 Vai alla scheda 7 - - + + Go to tab 8 Vai alla scheda 8 - - + + Go to tab 9 Vai alla scheda 9 - + Disable flow control using Ctrl+S, Ctrl+Q Disattiva il controllo di flusso con Ctrl+S, Ctrl+Q - + Shell profile Profilo Shell - + History size Dimensioni cronologia - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Titolo rinominato - - + + Fullscreen Schermo intero - - + + Copy Copia - - + + Default size Dimensione di default - - + + Paste Incolla - + Search Cerca - - + + Select all Seleziona tutto - + Jump to next command Salta al comando successivo - + Jump to previous command Torna al comando precedente - - + + Zoom in Zoom più - - + + Zoom out Zoom meno - + Close other windows Chiudi le altre finestre - - - + + + Close other workspaces Chiudi altri spazi di lavoro - + Could not find "%1", starting "%2" instead. Please check your shell profile. Impossibile trovare "%1", inizia da "%2". Controlla il tuo profilo Shell. - + Could not open "%1", unable to run it Impossibile aprire ed eseguire "%1" - + Could not find "%1", unable to run it Impossibile trovare "%1", non è possibile eseguirlo - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. L'output è stato sospeso con Ctrl+S. Premi Ctrl+Q per riprendere. - + Close window Chiudi finestra - - - + + + Close workspace Chiudi spazio di lavoro - - + + Horizontal split Dividi orizzontalmente - - + + Vertical split Split verticale - - + + Find Trova - - - + + debuginfod urls + + + + + + please set another one. impostane un altro @@ -673,46 +694,46 @@ Localizzazione italiana a cura di Massimo A. Carofano - + Tabs Schede - - + + Close tab Chiudi scheda - + Select tab Seleziona scheda - + Switch focus to "+" icon Sposta il focus con l'icona "+" - - + + Select file to upload Seleziona il file da caricare - - + + Upload Carica - + Programs are still running in terminal Programmi in esecuzione nel terminale - - + + Close this terminal? Chiudere questo terminale? @@ -729,8 +750,8 @@ Localizzazione italiana a cura di Massimo A. Carofano - - + + Close this window? Chiudere questa finestra? @@ -741,119 +762,119 @@ Localizzazione italiana a cura di Massimo A. Carofano - - + + Select a directory to save the file Seleziona un percorso dove salvare il file - + Are you sure you want to uninstall it? Sicuro di voler disinstallarlo? - - + + Are you sure you want to uninstall this application? Sicuro di voler disinstallare questa applicazione? - - + + You will not be able to use Terminal any longer. Non sarà più possibile utilizzare il terminale. - - - - + + + + Cancel button Annulla - - + + OK button OK - + Execute a command in the terminal Esegui un comando nel terminale - + Run script string in the terminal Esegui script nel terminale - + Set the work directory Imposta il percorso di lavoro - + Set the window mode on starting Imposta la modalità finestra allavvio - + Run in quake mode Esegui in primo piano - + Keep terminal open when command finishes Fai in modo che il terminale rimanga aperto alla conclusione - - + + The name should be no more than 32 characters Il nome non dovrebbe eccedere i 32 caratteri - - - + + + Select Seleziona - + Select the private key file Seleziona il file di chiave privata - - + + Tab title format Formato titolo scheda - - + + Remote tab title format Formato titolo della scheda remota - - + + Close other tabs Chiudi le altre schede - + Delete button Elimina - - + + Confirm button Conferma @@ -862,17 +883,17 @@ Localizzazione italiana a cura di Massimo A. Carofano RemoteManagementPanel - + Add Group - + Add Server Aggiungi Server - + No servers yet Nessun server @@ -893,7 +914,7 @@ Localizzazione italiana a cura di Massimo A. Carofano RemoteManagementSearchPanel - + Search Cerca @@ -961,80 +982,85 @@ Localizzazione italiana a cura di Massimo A. Carofano Gruppo: - + + No Group + + + + Path: Percorso: - + Command: Comando: - + Encoding: Encoding: - + Backspace key: Tasto cancella: - + Delete key: Elimina chiave: - + Cancel button Annulla - + Add button Aggiungi - + Edit Server Modifica Server - + Save button Salva - + Please enter a server name Inserisci il nome del Server - + Please enter an IP address Inserisci l'indirizzo IP - + Please enter a port Inserisci la Porta - + Please enter a username Inserisci l'username - + The server name already exists, Il nome server esiste già, - + please input another one. inseriscine un altro. @@ -1042,7 +1068,7 @@ Localizzazione italiana a cura di Massimo A. Carofano Service - + OK button OK @@ -1051,32 +1077,32 @@ Localizzazione italiana a cura di Massimo A. Carofano Settings - + Split screen Dividi schermo - + Fullscreen Schermo intero - + Normal window Finestra normale - + Maximum Massimo - + Fast Veloce - + Slow Lenta @@ -1100,55 +1126,55 @@ Localizzazione italiana a cura di Massimo A. Carofano TabRenameWidget - + Insert Inserisci - - + + username: %u username: %u - + username@: %U username@: %U - + remote host: %h host remoto: %h - - + + session number: %# numero sessione: %# - - + + title set by shell: %w titolo impostato dal programma: %w - + program name: %n nome programma: %n - + current directory (short): %d percorso corrente (breve): %d - + current directory (long): %D percorso corrente (completo): %D - + local host: %h host locale: %h @@ -1156,90 +1182,90 @@ Localizzazione italiana a cura di Massimo A. Carofano TermWidget - + Copy Copia - + Paste Incolla - + Open Apri - + Open in file manager Apri nel file manager - - + + Horizontal split Dividi orizzontalmente - - + + Vertical split Split verticale - - + + New tab Nuova scheda - + Exit fullscreen Esci dalla modalità fullscreen - + Fullscreen Schermo intero - + Find Trova - + Search Cerca - + Encoding Encoding - + Custom commands Comandi personalizzati - + Remote management Gestione remota - + Upload file Carica file - + Download file Scarica file - + Settings Impostazioni @@ -1247,21 +1273,21 @@ Localizzazione italiana a cura di Massimo A. Carofano Utils - - + + Cancel button Annulla - + Close button Chiudi - - + + OK button OK diff --git a/translations/deepin-terminal_ko.ts b/translations/deepin-terminal_ko.ts index dba5c5a10..1488cacc4 100644 --- a/translations/deepin-terminal_ko.ts +++ b/translations/deepin-terminal_ko.ts @@ -19,67 +19,67 @@ - - + + Required 필수 항목 - + Add Command 명령 추가 - + Edit Command 명령 편집 - + Delete Command 명령 삭제 - + Cancel button 취소 - + Add button 추가 - + Save button 저장 - + OK button 확인 - + Please enter a name 이름을 입력하십시오 - + Please enter a command 명령을 입력하십시오 - + The name already exists, 이름이 이미 존재합니다 - + please input another one. 다른 이름을 입력하십시오 @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command 명령 추가 - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search 찾기 @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme 사용자 정의 테마 - + Style: 스타일 - + Light 가볍게 - + Dark 어두움 - + Fore color: - + Back color: 배경 색깔 - + Prompt PS1: 1차 명령 프롬프트 - + Prompt PS2: 2차 명령 프롬프트 - + Cancel button 취소 - + Confirm button 확인 @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel 취소 - + Add 추가 - + Save 저장 - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server 서버 삭제 - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? %1을(를) 삭제하시겠습니까? @@ -243,35 +243,35 @@ MainWindow - - + + New window 새 창 - + Settings 설정 - + Cancel button 취소 - + Close button 닫기 - + Type path to download file 파일을 다운로드할 경로 입력 - + Custom Theme 사용자 정의 테마 @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus 포커스를 잃은 후 진동 창 숨기기 - + Quake window animation speed - - + + Blur background 배경 흐림 - + Use on starting 시작시 사용 - + Font 글꼴 - + Font size 글꼴 크기 - - + + Opacity 불투명도 - + Advanced 고급 - + Cursor 커서 - + Scroll 스크롤 - + Window - + Basic 기본 설정 - + Interface 인터페이스 - + Shortcuts 단축키 - - + + Others 기타 - + - + + Terminal 터미널 - + Workspace 작업 공간 - - + + Custom commands 사용자 지정 명령 - - + + Display shortcuts 단축키 표시 - - + + Remote management 원격 관리 - - + + New tab 새 탭 - - + + Next tab 다음 탭 - - + + Previous tab 이전 탭 - - + + Select left workspace 왼쪽 작업공간 선택 - - + + Select lower workspace 하위 작업공간 선택 - - + + Select right workspace 오른쪽 작업공간 선택 - - + + Select upper workspace 상위 작업공간 선택 - + Tab titles 탭 제목 - - + + Go to tab 1 탭1로 가기 - - + + Go to tab 2 탭2로 가기 - - + + Go to tab 3 탭3으로 가기 - - + + Go to tab 4 탭4로 가기 - - + + Go to tab 5 탭5로 가기 - - + + Go to tab 6 탭6으로 가기 - - + + Go to tab 7 탭7로 가기 - - + + Go to tab 8 탭8로 가기 - - + + Go to tab 9 탭9로 가기 - + Disable flow control using Ctrl+S, Ctrl+Q Ctrl+S, Ctrl+Q를 사용하여 흐름 제어 비활성화 - + Shell profile - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title 제목 이름 변경 - - + + Fullscreen 전체화면 - - + + Copy 복사 - - + + Default size 기본 크기 - - + + Paste 붙여넣기 - + Search 찾기 - - + + Select all 전체 선택 - + Jump to next command 다음 명령으로 건너뛰기 - + Jump to previous command 이전 명령으로 건너뛰기 - - + + Zoom in 확대 - - + + Zoom out 축소 - + Close other windows 다른 창 닫기 - - - + + + Close other workspaces 다른 작업 공간 닫기 - + Could not find "%1", starting "%2" instead. Please check your shell profile. "%1"를 찾을 수 없습니다. 대신 "%2"를 시작합니다. 쉘 프로필을 확인하십시오. - + Could not open "%1", unable to run it "%1"을 열 수 없습니다. 실행할 수 없습니다 - + Could not find "%1", unable to run it "%1"을 찾을 수 없습니다. 실행할 수 없습니다. - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + Close window 창 닫기 - - - + + + Close workspace 작업공간 닫기 - - + + Horizontal split 수평 분할 - - + + Vertical split 수직 분할 - - + + Find 찾기 - - - + + debuginfod urls + + + + + + please set another one. 다른 것을 설정하십시오. @@ -672,46 +693,46 @@ 터미널은 작업 공간, 여러 창, 원격 관리, 지진 모드 및 기타 기능을 갖춘 고급 터미널 에뮬레이터입니다. - + Tabs - - + + Close tab 탭 닫기 - + Select tab 탭 선택 - + Switch focus to "+" icon 포커스를 "+" 아이콘으로 전환 - - + + Select file to upload 업로드할 파일 선택 - - + + Upload 업로드 - + Programs are still running in terminal 터미널에서 프로그램이 여전히 실행 중입니다 - - + + Close this terminal? 이 터미널을 닫으시겠습니까? @@ -728,8 +749,8 @@ - - + + Close this window? 이 창을 닫으시겠습니까? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file 파일을 저장할 디렉터리 선택 - + Are you sure you want to uninstall it? 제거하시겠습니까? - - + + Are you sure you want to uninstall this application? 이 응용프로그램을 제거하시겠습니까? - - + + You will not be able to use Terminal any longer. 더 이상 터미널을 사용할 수 없습니다. - - - - + + + + Cancel button 취소 - - + + OK button 확인 - + Execute a command in the terminal 터미널에서 명령 실행 - + Run script string in the terminal 터미널에서 스크립트 문자열 실행 - + Set the work directory 작업 디렉토리 지정하기 - + Set the window mode on starting 시작 시 윈도우 모드 지정하기 - + Run in quake mode 진동 모드에서 실행 - + Keep terminal open when command finishes 명령이 완료될 때 터미널 열기 유지하기 - - + + The name should be no more than 32 characters 이름은 32자 이하여야 합니다 - - - + + + Select 선택 - + Select the private key file 개인 키 파일 선택 - - + + Tab title format 탭 제목 형식 - - + + Remote tab title format 원격 탭 제목 형식 - - + + Close other tabs 다른 탭 닫기 - + Delete button 삭제 - - + + Confirm button 확인 @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server 서버 추가 - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search 찾기 @@ -960,80 +981,85 @@ 그룹: - + + No Group + + + + Path: 경로: - + Command: 명령: - + Encoding: 인코딩: - + Backspace key: 백스페이스 키: - + Delete key: 키 삭제: - + Cancel button 취소 - + Add button 추가 - + Edit Server 서버 편집 - + Save button 저장 - + Please enter a server name 서버 이름을 입력하십시오 - + Please enter an IP address IP 주소를 입력하십시오 - + Please enter a port 포트를 입력하십시오 - + Please enter a username 사용자 이름을 입력하십시오 - + The server name already exists, 서버 이름이 이미 존재합니다. - + please input another one. 다른 서버 이름을 입력하십시오. @@ -1041,7 +1067,7 @@ Service - + OK button 확인 @@ -1050,32 +1076,32 @@ Settings - + Split screen 분할 화면 - + Fullscreen 전체화면 - + Normal window 보통 창 - + Maximum 최대 - + Fast 빠르게 - + Slow 느리게 @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert 삽입 - - + + username: %u - + username@: %U - + remote host: %h - - + + session number: %# 세션 번호: %# - - + + title set by shell: %w - + program name: %n 프로그램 이름:% n - + current directory (short): %d 현재 디렉토리(short): %D - + current directory (long): %D 현재 디렉토리(long): %D - + local host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy 복사 - + Paste 붙여넣기 - + Open 열기 - + Open in file manager 파일 관리도구에서 열기 - - + + Horizontal split 수평 분할 - - + + Vertical split 수직 분할 - - + + New tab 새 탭 - + Exit fullscreen 전체화면 종료 - + Fullscreen 전체화면 - + Find 찾기 - + Search 찾기 - + Encoding 인코딩 - + Custom commands 사용자 지정 명령 - + Remote management 원격 관리 - + Upload file 파일 업로드 - + Download file 다운로드 파일 - + Settings 설정 @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button 취소 - + Close button 닫기 - - + + OK button 확인 diff --git a/translations/deepin-terminal_lt.ts b/translations/deepin-terminal_lt.ts index 3cd939bdb..66c9f421f 100644 --- a/translations/deepin-terminal_lt.ts +++ b/translations/deepin-terminal_lt.ts @@ -19,67 +19,67 @@ - - + + Required Būtina - + Add Command Pridėti komandą - + Edit Command Redaguoti komandą - + Delete Command - + Cancel button Atsisakyti - + Add button Pridėti - + Save button Įrašyti - + OK button Gerai - + Please enter a name - + Please enter a command - + The name already exists, - + please input another one. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Pridėti komandą - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Ieškoti @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme - + Style: - + Light Silpnas - + Dark Tamsi - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + Cancel button Atsisakyti - + Confirm button Patvirtinti @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel Atsisakyti - + Add Pridėti - + Save Įrašyti - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Ar tikrai norite ištrinti %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Naujas langas - + Settings Nustatymai - + Cancel button Atsisakyti - + Close button Užverti - + Type path to download file Įveskite kelią atsiunčiamam failui - + Custom Theme @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Slėpti Quake langą, jam praradus fokusavimą - + Quake window animation speed - - + + Blur background Sulieti foną - + Use on starting - + Font Šriftas - + Font size - - + + Opacity - + Advanced Išplėstinės - + Cursor Žymeklis - + Scroll Slinkimas - + Window Langas - + Basic Pagrindiniai - + Interface Sąsaja - + Shortcuts Trumpiniai - - + + Others Kita - + - + + Terminal Terminalas - + Workspace Darbo sritis - - + + Custom commands Tinkintos komandos - - + + Display shortcuts Rodyti sparčiuosius klavišus - - + + Remote management Nuotolinis administravimas - - + + New tab Nauja kortelė - - + + Next tab - - + + Previous tab - - + + Select left workspace - - + + Select lower workspace - - + + Select right workspace - - + + Select upper workspace - + Tab titles - - + + Go to tab 1 - - + + Go to tab 2 - - + + Go to tab 3 - - + + Go to tab 4 - - + + Go to tab 5 - - + + Go to tab 6 - - + + Go to tab 7 - - + + Go to tab 8 - - + + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Pervadinti pavadinimą - - + + Fullscreen Visas ekranas - - + + Copy Kopijuoti - - + + Default size Numatytasis dydis - - + + Paste Įdėti - + Search Ieškoti - - + + Select all Žymėti viską - + Jump to next command Pereiti prie kitos komandos - + Jump to previous command Pereiti prie ankstesnės komandos - - + + Zoom in Didinti - - + + Zoom out Mažinti - + Close other windows Užverti kitus langus - - - + + + Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + Close window Užverti langą - - - + + + Close workspace Užverti darbo sritį - - + + Horizontal split Horizontalus dalijimas - - + + Vertical split Vertikalus dalijimas - - + + Find Rasti - - - + + debuginfod urls + + + + + + please set another one. @@ -672,46 +693,46 @@ Terminalas yra išplėstinis terminalo emuliatorius su darbo sričių, kelių langų, nuotolinio administravimo, quake veiksenos ir kitomis ypatybėmis. - + Tabs - - + + Close tab - + Select tab - + Switch focus to "+" icon - - + + Select file to upload Pasirinkti failą įkėlimui - - + + Upload Įkelti - + Programs are still running in terminal Terminale yra vis dar veikiančių programų - - + + Close this terminal? @@ -728,8 +749,8 @@ - - + + Close this window? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file - + Are you sure you want to uninstall it? Ar tikrai norite ją pašalinti? - - + + Are you sure you want to uninstall this application? - - + + You will not be able to use Terminal any longer. - - - - + + + + Cancel button Atsisakyti - - + + OK button Gerai - + Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - - + + The name should be no more than 32 characters - - - + + + Select Pasirinkti - + Select the private key file Pasirinkite privačiojo rakto failą - - + + Tab title format - - + + Remote tab title format - - + + Close other tabs - + Delete button Ištrinti - - + + Confirm button Patvirtinti @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server Pridėti serverį - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Ieškoti @@ -960,80 +981,85 @@ Grupė: - + + No Group + + + + Path: Kelias: - + Command: Komanda: - + Encoding: Koduotė: - + Backspace key: Naikinimo klavišas: - + Delete key: Šalinimo klavišas: - + Cancel button Atsisakyti - + Add button Pridėti - + Edit Server Redaguoti serverį - + Save button Įrašyti - + Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. @@ -1041,7 +1067,7 @@ Service - + OK button Gerai @@ -1050,32 +1076,32 @@ Settings - + Split screen - + Fullscreen Visas ekranas - + Normal window Normalus langas - + Maximum - + Fast Greitas - + Slow Lėtas @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert - - + + username: %u - + username@: %U - + remote host: %h - - + + session number: %# - - + + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Kopijuoti - + Paste Įdėti - + Open Atverti - + Open in file manager Atverti failų tvarkytuvėje - - + + Horizontal split Horizontalus dalijimas - - + + Vertical split Vertikalus dalijimas - - + + New tab Nauja kortelė - + Exit fullscreen Išeiti iš viso ekrano - + Fullscreen Visas ekranas - + Find Rasti - + Search Ieškoti - + Encoding Koduotė - + Custom commands Tinkintos komandos - + Remote management Nuotolinis administravimas - + Upload file Įkelti failą - + Download file Atsisiųsti failą - + Settings Nustatymai @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Atsisakyti - + Close button Užverti - - + + OK button Gerai diff --git a/translations/deepin-terminal_ms.ts b/translations/deepin-terminal_ms.ts index 671222183..a5c7e9ddb 100644 --- a/translations/deepin-terminal_ms.ts +++ b/translations/deepin-terminal_ms.ts @@ -19,67 +19,67 @@ - - + + Required Diperlukan - + Add Command Tambah Perintah - + Edit Command Sunting Perintah - + Delete Command Padam Perintah - + Cancel button Batal - + Add button Tambah - + Save button Simpan - + OK button OK - + Please enter a name Sila masukkan satu nama - + Please enter a command Sila masukkan satu perintah - + The name already exists, Nama sudah wujud, - + please input another one. sila masukkan yang lain. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Tambah Perintah - + No commands yet Belum ada perintah @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Gelintar @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Tema Suai - + Style: Gaya: - + Light Ringan - + Dark Gelap - + Fore color: Warna hadapan: - + Back color: Warna belakang: - + Prompt PS1: Prom PS1: - + Prompt PS2: Prom PS2: - + Cancel button Batal - + Confirm button Sahkan @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) Nama Kumpulan(Diperlukan) - + Add Group Tambah Kumpulan - + Edit Group Sunting Kumpulan - + Cancel Batal - + Add Tambah - + Save Simpan - + Please enter a group name Sila masukkan nama kumpulan - + The name should be no more than 30 characters Nama seharusnya tidak lebih daripada 30 aksara @@ -214,28 +214,28 @@ ListView - + Delete Server Padam Pelayan - + Delete Custom Command Padam Perintah Suai - + Cancel Server Group Batal Kumpulan Pelayan - + Ungrouped servers will go back to server list! Pelayan tanpa kumpulan akan kembali ke senarai pelayan! - - + + Are you sure you want to delete %1? Anda pasti mahu memadam %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Tetingkap baharu - + Settings Tetapan - + Cancel button Batal - + Close button Tutup - + Type path to download file Taip laluan untuk muat turun fail - + Custom Theme Tema Suai @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Sembunyi tetingkap Quake setelah hilang fokus - + Quake window animation speed Kelajuan animasi tetingkap Quake - - + + Blur background Latar belakang kabur - + Use on starting Guna ketika permulaan - + Font Fon - + Font size Saiz fon - - + + Opacity Kelegapan - + Advanced Lanjutan - + Cursor Kursor - + Scroll Tatal - + Window Tetingkap - + Basic Asas - + Interface Antaramuka - + Shortcuts Pintasan - - + + Others Lain-lain - + - + + Terminal Terminal - + Workspace Ruang Kerja - - + + Custom commands Perintah suai - - + + Display shortcuts Papar pintasan - - + + Remote management Pengurusan jauh - - + + New tab Tab baharu - - + + Next tab Tab berikutnya - - + + Previous tab Tab terdahulu - - + + Select left workspace Pilih ruang kerja kiri - - + + Select lower workspace Pilih ruang kerja di bawah - - + + Select right workspace Pilih ruang kerja kanan - - + + Select upper workspace Pilih ruang kerja di atas - + Tab titles Tajuk tab - - + + Go to tab 1 Pergi ke tab 1 - - + + Go to tab 2 Pergi ke tab 2 - - + + Go to tab 3 Pergi ke tab 3 - - + + Go to tab 4 Pergi ke tab 4 - - + + Go to tab 5 Pergi ke tab 5 - - + + Go to tab 6 Pergi ke tab 6 - - + + Go to tab 7 Pergi ke tab 7 - - + + Go to tab 8 Pergi ke tab 8 - - + + Go to tab 9 Pergi ke tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q Lumpuhkan kawalan aliran menggunakan Ctrl+S, Ctrl+Q - + Shell profile Profil Shell - + History size Saiz sejarah - + Include special character(s) in double click selections Termasuklah aksara(s) khas dalam pemilihan dwi-klik - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Nama semula tajuk - - + + Fullscreen Skrin Penuh - - + + Copy Salin - - + + Default size Saiz lalai - - + + Paste Tampal - + Search Gelintar - - + + Select all Pilih semua - + Jump to next command Lompat ke perintah berikutnya - + Jump to previous command Lompat ke perintah terdahulu - - + + Zoom in Zum masuk - - + + Zoom out Zum keluar - + Close other windows Tutup tetingkap lain - - - + + + Close other workspaces Tutup ruang kerja lain - + Could not find "%1", starting "%2" instead. Please check your shell profile. Tidak dapat mencari "%1", memulakan "%2" sebagai ganti. Sila periksa profil shell anda. - + Could not open "%1", unable to run it Tidak dapat membuka "%1", gagal dijalankan - + Could not find "%1", unable to run it Tidak dapat mencari "%1", gagal dijalankan - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Output telah ditangguh dengan menekan Ctrl+S. Tekan Ctrl+Q untuk menyambung semula. - + Close window Tutup tetingkap - - - + + + Close workspace Tutup ruang kerja - - + + Horizontal split Pisah mengufuk - - + + Vertical split Pisah menegak - - + + Find Cari - - - + + debuginfod urls + + + + + + please set another one. sila tetapkan yang lain. @@ -672,46 +693,46 @@ Terminal ialah sebuah emulator terminal lanjutan dengan ruang kerja, tetingkap berbilang, pengurusan jauh, mod Quake dan lain-lain fitur. - + Tabs Tab - - + + Close tab Tutup tab - + Select tab Pilih tab - + Switch focus to "+" icon Tukar fokus ke ikon "+" - - + + Select file to upload Pilih fail untuk dimuat naik - - + + Upload Muat naik - + Programs are still running in terminal Program masih lagu berjalan di dalam terminal - - + + Close this terminal? Tutup terminal ini? @@ -728,8 +749,8 @@ Masih ada %1 proses berjalan dalam terminal ini. Menutup terminal akan mematikan kesemuanya. - - + + Close this window? Tutup tetingkap ini? @@ -740,119 +761,119 @@ Masih ada proses berjalan dalam tetingkap ini. Menutup tetingkap akan mematikan kesemuanya. - - + + Select a directory to save the file Pilih satu direktori untuk menyimpan fail - + Are you sure you want to uninstall it? Anda pasti mahu menyahpasangkannya? - - + + Are you sure you want to uninstall this application? Anda pasti mahu menyahpasang aplikasi ini? - - + + You will not be able to use Terminal any longer. Anda tidak dapat menggunakan Terminal lagi. - - - - + + + + Cancel button Batal - - + + OK button OK - + Execute a command in the terminal Lakukan satu perintah di dalam terminal - + Run script string in the terminal Jalankan rentetan skrip di dalam terminal - + Set the work directory Tetapkan direktori kerja - + Set the window mode on starting Tetapkan mod tetingkap ketika permulaan - + Run in quake mode Jalankan dalam mod quake - + Keep terminal open when command finishes Biarkan terminal terbuka walaupun perintah selesai - - + + The name should be no more than 32 characters Nama tidak lebih dari 32 aksara - - - + + + Select Pilih - + Select the private key file Pilih fail kunci persendirian - - + + Tab title format Format tajuk tab - - + + Remote tab title format Format tajuk tab jauh - - + + Close other tabs Tutup tab lain - + Delete button Padam - - + + Confirm button Sahkan @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group Tambah Kumpulan - + Add Server Tambah Pelayan - + No servers yet Belum ada pelayan @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Gelintar @@ -960,80 +981,85 @@ Kumpulan: - + + No Group + + + + Path: Laluan: - + Command: Perintah: - + Encoding: Pengekodan: - + Backspace key: Kekunci Backspace: - + Delete key: Kekunci delete: - + Cancel button Batal - + Add button Tambah - + Edit Server Sunting Pelayan - + Save button Simpan - + Please enter a server name Sila masukkan nama pelayan - + Please enter an IP address Sila masukkan alamat IP - + Please enter a port Sila masukkan port - + Please enter a username Sila masukkan nama pengguna - + The server name already exists, Nama pelayan sudah wujud, - + please input another one. sila masukkan yang lain. @@ -1041,7 +1067,7 @@ Service - + OK button OK @@ -1050,32 +1076,32 @@ Settings - + Split screen Pisah skrin - + Fullscreen Skrin Penuh - + Normal window Tetingkap biasa - + Maximum Maksimum - + Fast Pantas - + Slow Perlahan @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Sisip - - + + username: %u nama pengguna: %u - + username@: %U nama pengguna@: %U - + remote host: %h hos jauh: %h - - + + session number: %# nombor sesi: %# - - + + title set by shell: %w Set tajuk oleh shell: %w - + program name: %n nama program: %n - + current directory (short): %d direktori semasa (singkatan): %d - + current directory (long): %D direktori semasa (panjang): %D - + local host: %h hos setempat: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Salin - + Paste Tampal - + Open Buka - + Open in file manager Buka dalam pengurus fail - - + + Horizontal split Pisah mengufuk - - + + Vertical split Pisah menegak - - + + New tab Tab baharu - + Exit fullscreen Keluar dari skrin penuh - + Fullscreen Skrin Penuh - + Find Cari - + Search Gelintar - + Encoding Pengekodan - + Custom commands Perintah suai - + Remote management Pengurusan jauh - + Upload file Muat naik fail - + Download file Muat turun fail - + Settings Tetapan @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Batal - + Close button Tutup - - + + OK button OK diff --git a/translations/deepin-terminal_nl.ts b/translations/deepin-terminal_nl.ts index 8005d50a6..6abadc80c 100644 --- a/translations/deepin-terminal_nl.ts +++ b/translations/deepin-terminal_nl.ts @@ -19,67 +19,67 @@ - - + + Required Vereist - + Add Command Opdracht toevoegen - + Edit Command Opdracht bewerken - + Delete Command Opdracht verwijderen - + Cancel button Annuleren - + Add button Toevoegen - + Save button Opslaan - + OK button Oké - + Please enter a name Voer een naam in - + Please enter a command Voer een opdracht in - + The name already exists, Deze naam is al in gebruik; - + please input another one. kies een andere naam. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Opdracht toevoegen - + No commands yet Er zijn nog geen opdrachten @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Zoeken @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Eigen thema - + Style: Stijl: - + Light Licht - + Dark Donker - + Fore color: Voorgrondkleur: - + Back color: Achtergrondkleur: - + Prompt PS1: Vraag PS1: - + Prompt PS2: Vraag PS2: - + Cancel button Annuleren - + Confirm button Oké @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) Groepsnaam (vereist) - + Add Group Nieuwe groep - + Edit Group Groep bewerken - + Cancel Annuleren - + Add Toevoegen - + Save Opslaan - + Please enter a group name Geef de groep een naam - + The name should be no more than 30 characters De naam mag niet langer zijn dan 30 tekens @@ -214,28 +214,28 @@ ListView - + Delete Server Server verwijderen - + Delete Custom Command Aangepaste opdracht verwijderen - + Cancel Server Group Servergroep annuleren - + Ungrouped servers will go back to server list! Ongegroepeerde servers worden opgenomen op de serverlijst. - - + + Are you sure you want to delete %1? Weet je zeker dat je %1 wilt verwijderen? @@ -243,35 +243,35 @@ MainWindow - - + + New window Nieuw venster - + Settings Instellingen - + Cancel button Annuleren - + Close button Sluiten - + Type path to download file Geef de locatie op van het te downloaden bestand - + Custom Theme Eigen thema @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + Tekst vergroten met Ctrl+muiswiel + + + Hide Quake window after losing focus Quakevenster verbergen na veranderen van focus - + Quake window animation speed Animatiesnelheid van quakevenster - - + + Blur background Achtergrond vervagen - + Use on starting Opstartmodus - + Font Lettertype - + Font size Tekstgrootte - - + + Opacity Doorzichtigheid - + Advanced Geavanceerd - + Cursor Cursor - + Scroll Scrollen - + Window Venster - + Basic Algemeen - + Interface Uiterlijk - + Shortcuts Sneltoetsen - - + + Others Overig - + - + + Terminal Terminal - + Workspace Werkblad - - + + Custom commands Aangepaste opdrachten - - + + Display shortcuts Sneltoetsen tonen - - + + Remote management Beheer op afstand - - + + New tab Nieuw tabblad - - + + Next tab Volgend tabblad - - + + Previous tab Vorig tabblad - - + + Select left workspace Ga naar linkerwerkruimte - - + + Select lower workspace Ga naar onderste werkruimte - - + + Select right workspace Ga naar rechterwerkruimte - - + + Select upper workspace Ga naar bovenste werkruimte - + Tab titles Tabbladnamen - - + + Go to tab 1 Ga naar tabblad 1 - - + + Go to tab 2 Ga naar tabblad 2 - - + + Go to tab 3 Ga naar tabblad 3 - - + + Go to tab 4 Ga naar tabblad 4 - - + + Go to tab 5 Ga naar tabblad 5 - - + + Go to tab 6 Ga naar tabblad 6 - - + + Go to tab 7 Ga naar tabblad 7 - - + + Go to tab 8 Ga naar tabblad 8 - - + + Go to tab 9 Ga naar tabblad 9 - + Disable flow control using Ctrl+S, Ctrl+Q Uitvoer onderbreken/hervatten middels Ctrl+S en Ctrl+Q - + Shell profile Shellprofiel - + History size Geschiedenisomvang - + Include special character(s) in double click selections Speciale tekens opnemen in selecties - - - - + + Allow Ctrl + left mouse click to set cursor position + Cursor verplaatsen met Ctrl+linkermuisknop + + + + The HTTP file server used for transmitting debugging information resources + De http-bestandsserver voor het versturen van foutopsporingsinformatie + + + + + + Rename title Titelnaam wijzigen - - + + Fullscreen Schermvullende weergave - - + + Copy Klonen - - + + Default size Standaardgrootte - - + + Paste Plakken - + Search Zoeken - - + + Select all Alles selecteren - + Jump to next command Ga naar volgende opdracht - + Jump to previous command Ga naar vorige opdracht - - + + Zoom in Inzoomen - - + + Zoom out Uitzoomen - + Close other windows Andere vensters sluiten - - - + + + Close other workspaces Andere werkbladen sluiten - + Could not find "%1", starting "%2" instead. Please check your shell profile. “%1” is niet aangetroffen, dus wordt “%2” gestart. Controleer je shellprofiel. - + Could not open "%1", unable to run it “%1” kan niet worden geopend en worden gestart - + Could not find "%1", unable to run it “%1” is niet aangetroffen en kan daarom niet worden gestart - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Door het drukken op Ctrl+S is de uitvoer onderbroken. Druk op Ctrl+Q om te hervatten. - + Close window Venster sluiten - - - + + + Close workspace Werkblad sluiten - - + + Horizontal split Horizontaal splitsen - - + + Vertical split Verticaal splitsen - - + + Find Zoeken - - - + + debuginfod urls + debuginfod-url's + + + + + please set another one. kies een andere. @@ -672,46 +693,46 @@ Terminal is een geavanceerde terminalemulator met functies als werkbladen, meerdere vensters, beheer op afstand, quake-modus en nog veel meer. - + Tabs Tabbladen - - + + Close tab Tabblad sluiten - + Select tab Ga naar tabblad - + Switch focus to "+" icon Focussen op ‘+’-pictogram - - + + Select file to upload Kies het te uploaden bestand - - + + Upload Uploaden - + Programs are still running in terminal Er draaien nog programma's in de terminal - - + + Close this terminal? Wil je dit terminalvenster sluiten? @@ -728,8 +749,8 @@ Er zijn nog %1 processen actief in dit venster. Als je het venster sluit, worden ze afgebroken. - - + + Close this window? Wil je dit venster sluiten? @@ -740,119 +761,119 @@ Er zijn nog processen actief in dit venster. Als je het venster sluit, worden ze afgebroken. - - + + Select a directory to save the file Kies de map waarin het bestand moet worden opgeslagen - + Are you sure you want to uninstall it? Weet je zeker dat je het wilt deïnstalleren? - - + + Are you sure you want to uninstall this application? Weet je zeker dat je dit programma wilt deïnstalleren? - - + + You will not be able to use Terminal any longer. Je kunt Deepin Terminal dan niet meer gebruiken. - - - - + + + + Cancel button Annuleren - - + + OK button Oké - + Execute a command in the terminal Voer een opdracht uit in het terminalvenster - + Run script string in the terminal Script uitvoeren in terminalvenster - + Set the work directory Stel de werkmap in - + Set the window mode on starting Stel de standaard venstermodus in - + Run in quake mode Opstarten in quake-modus - + Keep terminal open when command finishes Terminal niet sluiten na afronden van opdracht - - + + The name should be no more than 32 characters De naam mag niet langer zijn dan 32 tekens - - - + + + Select Kiezen - + Select the private key file Kies het privésleutelbestand - - + + Tab title format Tabbladnaamopmaak - - + + Remote tab title format Tabbladnaamopmaak (beheer op afstand) - - + + Close other tabs Andere tabbladen sluiten - + Delete button Verwijderen - - + + Confirm button Oké @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group Nieuwe groep - + Add Server Server toevoegen - + No servers yet Er zijn nog geen servers @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Zoeken @@ -960,80 +981,85 @@ Groep: - + + No Group + Ongegroepeerd + + + Path: Pad: - + Command: Opdracht: - + Encoding: Versleuteling: - + Backspace key: Backspace-toets: - + Delete key: Toets verwijderen: - + Cancel button Annuleren - + Add button Toevoegen - + Edit Server Server bewerken - + Save button Opslaan - + Please enter a server name Voer een servernaam in - + Please enter an IP address Voer een ip-adres in - + Please enter a port Voer een poortnummer in - + Please enter a username Voer een gebruikersnaam in - + The server name already exists, Deze naam is al in gebruik; - + please input another one. kies een andere naam. @@ -1041,7 +1067,7 @@ Service - + OK button Oké @@ -1050,32 +1076,32 @@ Settings - + Split screen Gesplitst scherm - + Fullscreen Beeldvullende modus - + Normal window Normaal venster - + Maximum Maximaal - + Fast Snel - + Slow Traag @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Invoegen - - + + username: %u gebruikersnaam: %u - + username@: %U gebruikersnaam@: %u - + remote host: %h host op afstand: %h - - + + session number: %# sessienummer: %# - - + + title set by shell: %w naam ingesteld door shell: %w - + program name: %n programmanaam: %n - + current directory (short): %d huidige map (verkort): %d - + current directory (long): %D huidige map (volledig): %D - + local host: %h lokale host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Klonen - + Paste Plakken - + Open Openen - + Open in file manager Openen in bestandsbeheerder - - + + Horizontal split Horizontaal splitsen - - + + Vertical split Verticaal splitsen - - + + New tab Nieuw tabblad - + Exit fullscreen Schermvullende weergave verlaten - + Fullscreen Schermvullende weergave - + Find Zoeken - + Search Zoeken - + Encoding Versleuteling - + Custom commands Aangepaste opdrachten - + Remote management Beheer op afstand - + Upload file Bestand uploaden - + Download file Bestand downloaden - + Settings Instellingen @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Annuleren - + Close button Sluiten - - + + OK button Oké diff --git a/translations/deepin-terminal_pl.ts b/translations/deepin-terminal_pl.ts index 5a358cbcd..736747165 100644 --- a/translations/deepin-terminal_pl.ts +++ b/translations/deepin-terminal_pl.ts @@ -19,67 +19,67 @@ - - + + Required Wymagane - + Add Command Dodaj komendę - + Edit Command Edytuj komendę - + Delete Command Usuń komendę - + Cancel button Anuluj - + Add button Dodaj - + Save button Zapisz - + OK button OK - + Please enter a name Wprowadź nazwę - + Please enter a command Wprowadź komendę - + The name already exists, Taka nazwa już istnieje, - + please input another one. wprowadź inną. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Dodaj komendę - + No commands yet Brak komend @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Szukaj @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Własny motyw - + Style: Styl: - + Light Jasny - + Dark Ciemny - + Fore color: Kolor czcionki: - + Back color: Kolor tła: - + Prompt PS1: PS1: - + Prompt PS2: PS2: - + Cancel button Anuluj - + Confirm button Potwierdź @@ -171,71 +171,71 @@ GroupConfigOptDlg - + Group Name(Required) Nazwa grupy (Wymagane) - + Add Group Dodaj grupę - + Edit Group Edytuj grupę - + Cancel Anuluj - + Add Dodaj - + Save Zapisz - + Please enter a group name Wprowadź nazwę grupy - + The name should be no more than 30 characters - Nazwa nie powinna zawierać więcej niż 30 znaków + Nazwa nie powinna przekraczać 30 znaków ListView - + Delete Server Usuń serwer - + Delete Custom Command Usuń komendę niestandardową - + Cancel Server Group Anuluj grupowanie serwerów - + Ungrouped servers will go back to server list! Niepogrupowane serwery wrócą na listę serwerów! - - + + Are you sure you want to delete %1? Czy na pewno chcesz usunąć %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Nowe okno - + Settings Ustawienia - + Cancel button Anuluj - + Close button Zamknij - + Type path to download file Wpisz ścieżkę, aby pobrać plik - + Custom Theme Własny motyw @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + Zezwól na zmianę rozmiaru tekstu Ctrl + Scroll + + + Hide Quake window after losing focus Ukryj okno Quake po utracie zaznaczenia - + Quake window animation speed Szybkość animacji okna Quake - - + + Blur background Rozmycie tła - + Use on starting Przy uruchomieniu - + Font Czcionka - + Font size Rozmiar czcionki - - + + Opacity Nieprzezroczystość - + Advanced Zaawansowane - + Cursor Kursor - + Scroll Przewijanie - + Window Okno - + Basic Podstawowe - + Interface Interfejs - + Shortcuts Skróty - - + + Others Inne - + - + + Terminal Terminal - + Workspace Obszar roboczy - - + + Custom commands Komendy niestandardowe - - + + Display shortcuts Wyświetl skróty - - + + Remote management Zarządzanie zdalne - - + + New tab Nowa karta - - + + Next tab Następna karta - - + + Previous tab Poprzednia karta - - + + Select left workspace Zaznacz lewy obszar roboczy - - + + Select lower workspace Zaznacz dolny obszar roboczy - - + + Select right workspace Zaznacz prawy obszar roboczy - - + + Select upper workspace Zaznacz górny obszar roboczy - + Tab titles Nazwy kart - - + + Go to tab 1 Idź do karty 1 - - + + Go to tab 2 Idź do karty 2 - - + + Go to tab 3 Idź do karty 3 - - + + Go to tab 4 Idź do karty 4 - - + + Go to tab 5 Idź do karty 5 - - + + Go to tab 6 Idź do karty 6 - - + + Go to tab 7 Idź do karty 7 - - + + Go to tab 8 Idź do karty 8 - - + + Go to tab 9 Idź do karty 9 - + Disable flow control using Ctrl+S, Ctrl+Q Wyłącz kontrolę wyjścia danych skrótami Ctrl+S, Ctrl+Q - + Shell profile Profil powłoki - + History size Rozmiar historii - + Include special character(s) in double click selections - Uwzględniaj znaki specjalne przy zaznaczeniu podwójnym kliknięciem + Uwzględnij znaki specjalne zaznaczając podwójnym kliknięciem - - - - + + Allow Ctrl + left mouse click to set cursor position + Zezwól na ustawienie pozycji kursora skrótem Ctrl + Left mouse click + + + + The HTTP file server used for transmitting debugging information resources + Serwer plików HTTP jest wykorzystywany do przenoszenia informacji debug + + + + + + Rename title Zmień nazwę tytułu - - + + Fullscreen Pełny ekran - - + + Copy Kopiuj - - + + Default size Domyślny rozmiar - - + + Paste Wklej - + Search Szukaj - - + + Select all Zaznacz wszystko - + Jump to next command Przejdź do następnej komendy - + Jump to previous command Przejdź do poprzedniej komendy - - + + Zoom in Powiększ - - + + Zoom out Pomniejsz - + Close other windows Zamknij pozostałe okna - - - + + + Close other workspaces Zamknij pozostałe obszary robocze - + Could not find "%1", starting "%2" instead. Please check your shell profile. Nie udało się znaleźć „%1”, włączanie „%2”. Sprawdź swój profil powłoki. - + Could not open "%1", unable to run it Nie udało się otworzyć "%1", nie można uruchomić - + Could not find "%1", unable to run it Nie udało się znaleźć „%1”, nie można uruchomić - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Wyjście danych zostało zawieszone przez naciśnięcie Ctrl+S. Naciśnij Ctrl+Q, aby wznowić. - + Close window Zamknij okno - - - + + + Close workspace Zamknij obszar roboczy - - + + Horizontal split Podział poziomy - - + + Vertical split Podział pionowy - - + + Find Znajdź - - - + + debuginfod urls + debuginfod urls + + + + + please set another one. ustaw inną. @@ -672,46 +693,46 @@ Terminal to zaawansowany emulator terminala z obszarem roboczym, wieloma oknami, zarządzaniem zdalnym, trybem Quake i innymi przydatnymi funkcjami. - + Tabs Karty - - + + Close tab Zamknij kartę - + Select tab Zaznacz kartę - + Switch focus to "+" icon Przełącz zaznaczenie na ikonę „+” - - + + Select file to upload Wybierz plik do wysłania - - + + Upload Wyślij - + Programs are still running in terminal Niektóre programy są wciąż uruchomione w terminalu - - + + Close this terminal? Zamknąć ten terminal? @@ -728,8 +749,8 @@ W tym terminalu nadal są aktywne %1 procesy. Zamknięcie zakończy je wszystkie. - - + + Close this window? Zamknąć to okno? @@ -740,119 +761,119 @@ W tym oknie nadal są aktywne procesy. Zamknięcie zakończy je wszystkie. - - + + Select a directory to save the file Wybierz katalog, w którym chcesz zapisać plik - + Are you sure you want to uninstall it? Czy na pewno chcesz odinstalować? - - + + Are you sure you want to uninstall this application? Czy na pewno chcesz odinstalować tę aplikację? - - + + You will not be able to use Terminal any longer. Nie będziesz już mógł korzystać z terminala. - - - - + + + + Cancel button Anuluj - - + + OK button OK - + Execute a command in the terminal Wykonaj komendę w terminalu - + Run script string in the terminal Uruchom ciąg skryptu w terminalu - + Set the work directory Ustaw katalog roboczy - + Set the window mode on starting Ustaw tryb okna podczas uruchamiania - + Run in quake mode Uruchom w trybie quake - + Keep terminal open when command finishes Pozostaw terminal otwarty po zakończeniu komendy - - + + The name should be no more than 32 characters - Nazwa nie powinna mieć więcej niż 32 znaki + Nazwa nie powinna przekraczać 32 znaków - - - + + + Select Wybierz - + Select the private key file Wybierz plik klucza prywatnego - - + + Tab title format Format tytułu karty - - + + Remote tab title format Format tytułu zdalnej karty - - + + Close other tabs Zamknij pozostałe karty - + Delete button Usuń - - + + Confirm button Potwierdź @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group Dodaj grupę - + Add Server Dodaj serwer - + No servers yet Brak serwerów @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Szukaj @@ -960,80 +981,85 @@ Grupa: - + + No Group + Brak grupy + + + Path: Ścieżka: - + Command: Komenda: - + Encoding: Kodowanie: - + Backspace key: Przycisk Backspace: - + Delete key: Przycisk Delete: - + Cancel button Anuluj - + Add button Dodaj - + Edit Server Edytuj Serwer - + Save button Zapisz - + Please enter a server name Wprowadź nazwę serwera - + Please enter an IP address Wprowadź adres IP - + Please enter a port Wprowadź port - + Please enter a username Wprowadź nazwę użytkownika - + The server name already exists, Nazwa serwera już istnieje, - + please input another one. wprowadź inną. @@ -1041,7 +1067,7 @@ Service - + OK button OK @@ -1050,32 +1076,32 @@ Settings - + Split screen Podzielony ekran - + Fullscreen Pełny ekran - + Normal window Normalne okno - + Maximum Zmaksymalizowany - + Fast Szybka - + Slow Powolna @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Wstaw - - + + username: %u nazwa użytkownika: %u - + username@: %U nazwa użytkownika@: %U - + remote host: %h zdalny host: %h - - + + session number: %# numer sesji: %# - - + + title set by shell: %w tytuł ustawiony przez powłokę: %w - + program name: %n nazwa programu: %n - + current directory (short): %d bieżący katalog (krótka ścieżka): %d - + current directory (long): %D bieżący katalog (pełna ścieżka): %D - + local host: %h host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Kopiuj - + Paste Wklej - + Open Otwórz - + Open in file manager Otwórz w Menedżerze plików - - + + Horizontal split Podział poziomy - - + + Vertical split Podział pionowy - - + + New tab Nowa karta - + Exit fullscreen Opuść pełny ekran - + Fullscreen Pełny ekran - + Find Znajdź - + Search Szukaj - + Encoding Kodowanie - + Custom commands Komendy niestandardowe - + Remote management Zarządzanie zdalne - + Upload file Załaduj plik - + Download file Pobierz plik - + Settings Ustawienia @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Anuluj - + Close button Zamknij - - + + OK button OK diff --git a/translations/deepin-terminal_pt.ts b/translations/deepin-terminal_pt.ts index 40b849c3a..9ea96c24d 100644 --- a/translations/deepin-terminal_pt.ts +++ b/translations/deepin-terminal_pt.ts @@ -19,67 +19,67 @@ - - + + Required Obrigatório - + Add Command Adicionar comando - + Edit Command Editar comando - + Delete Command Comando eliminar - + Cancel button Cancelar - + Add button Adicionar - + Save button Guardar - + OK button Aceitar - + Please enter a name Introduza um nome - + Please enter a command Introduza um comando - + The name already exists, O nome de já existe, - + please input another one. introduza outro. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Adicionar comando - + No commands yet Ainda sem comandos @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Pesquisar @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Tema personalizado - + Style: Estilo: - + Light Claro - + Dark Escuro - + Fore color: Cor dianteira: - + Back color: Cor traseira: - + Prompt PS1: Prompt PS1: - + Prompt PS2: Prompt PS2: - + Cancel button Cancelar - + Confirm button Confirmar @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel Cancelar - + Add Adicionar - + Save Guardar - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server Eliminar servidor - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Tem a certeza que deseja eliminar %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Nova janela - + Settings Definições - + Cancel button Cancelar - + Close button Fechar - + Type path to download file Escreva o caminho para transferir o ficheiro - + Custom Theme Tema personalizado @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Ocultar a janela deslizante depois de perder o foco - + Quake window animation speed Velocidade de animação da janela deslizante - - + + Blur background Fundo desfocado - + Use on starting Utilizar ao iniciar - + Font Fonte - + Font size Tamanho da fonte - - + + Opacity Opacidade - + Advanced Avançado - + Cursor Cursor - + Scroll Rolar - + Window Janela - + Basic Básico - + Interface Interface - + Shortcuts Atalhos - - + + Others Outros - + - + + Terminal Terminal - + Workspace Área de trabalho - - + + Custom commands Comandos personalizados - - + + Display shortcuts Mostrar atalhos - - + + Remote management Gestão remota - - + + New tab Novo separador - - + + Next tab Separador seguinte - - + + Previous tab Separador anterior - - + + Select left workspace Selecionar a área de trabalho à esquerda - - + + Select lower workspace Selecionar a área de trabalho inferior - - + + Select right workspace Selecionar a área de trabalho à direita - - + + Select upper workspace Selecionar a área de trabalho superior - + Tab titles Títulos de separador - - + + Go to tab 1 Ir para separador 1 - - + + Go to tab 2 Ir para separador 2 - - + + Go to tab 3 Ir para separador 3 - - + + Go to tab 4 Ir para separador 4 - - + + Go to tab 5 Ir para separador 5 - - + + Go to tab 6 Ir para separador 6 - - + + Go to tab 7 Ir para separador 7 - - + + Go to tab 8 Ir para separador 8 - - + + Go to tab 9 Ir para separador 9 - + Disable flow control using Ctrl+S, Ctrl+Q Desativar o controlo de fluxo utilizando Ctrl+S, Ctrl+Q - + Shell profile Perfil da shell - + History size Histórico do tamanho - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Renomear título - - + + Fullscreen Ecrã inteiro - - + + Copy Copiar - - + + Default size Tamanho predefinido - - + + Paste Colar - + Search Pesquisar - - + + Select all Selecionar tudo - + Jump to next command Ir para o próximo comando - + Jump to previous command Ir para o comando anterior - - + + Zoom in Aumentar - - + + Zoom out Diminuir - + Close other windows Fechar outras janelas - - - + + + Close other workspaces Fechar outras áreas de trabalho - + Could not find "%1", starting "%2" instead. Please check your shell profile. Não foi possível localizar "%1", a iniciar "%2" ao invés. Verifique o seu perfil da shell. - + Could not open "%1", unable to run it Não foi possível abrir o "%1", incapaz de o executar - + Could not find "%1", unable to run it Não foi possível localizar "%1", incapaz de o executar - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. O resultado foi suspenso pressionando Ctrl+S. Pressionando Ctrl+Q para retomar. - + Close window Fechar janela - - - + + + Close workspace Fechar área de trabalho - - + + Horizontal split Dividir horizontalmente - - + + Vertical split Dividir verticalmente - - + + Find Localizar - - - + + debuginfod urls + + + + + + please set another one. defina outro. @@ -672,46 +693,46 @@ O Terminal é um emulador de terminal avançado com áreas de trabalho, várias janelas, gestão remota, modo deslizante e outros recursos. - + Tabs Separadores - - + + Close tab Fechar separador - + Select tab Selecionar separador - + Switch focus to "+" icon Mudar o foco para o ícone "+" - - + + Select file to upload Selecionar ficheiro para enviar - - + + Upload Enviar - + Programs are still running in terminal Os programas ainda estão em execução no terminal - - + + Close this terminal? Fechar este terminal? @@ -728,8 +749,8 @@ - - + + Close this window? Fechar esta janela? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file Selecionar um diretório para guardar o ficheiro - + Are you sure you want to uninstall it? Tem a certeza que deseja desinstalá-lo? - - + + Are you sure you want to uninstall this application? Tem a certeza de que deseja desinstalar esta aplicação? - - + + You will not be able to use Terminal any longer. Não poderá mais usar o Terminal. - - - - + + + + Cancel button Cancelar - - + + OK button Aceitar - + Execute a command in the terminal Executar um comando no terminal - + Run script string in the terminal Executar a sequência do script no terminal - + Set the work directory Defina o diretório de trabalho - + Set the window mode on starting Definir o modo janela ao iniciar - + Run in quake mode Executar em modo deslizante - + Keep terminal open when command finishes Mantenha o terminal aberto quando o comando terminar - - + + The name should be no more than 32 characters O nome não deve ter mais que 32 caracteres - - - + + + Select Selecionar - + Select the private key file Selecionar o ficheiro de chave privada - - + + Tab title format Formato do título do separador - - + + Remote tab title format Formato do título do separador remoto - - + + Close other tabs Fechar outros separadores - + Delete button Eliminar - - + + Confirm button Confirmar @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server Adicionar servidor - + No servers yet Ainda sem servidores @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Pesquisar @@ -960,80 +981,85 @@ Grupo: - + + No Group + + + + Path: Caminho: - + Command: Comando: - + Encoding: A codificar: - + Backspace key: Tecla backspace: - + Delete key: Tecla delete: - + Cancel button Cancelar - + Add button Adicionar - + Edit Server Editar servidor - + Save button Guardar - + Please enter a server name Introduza um nome de servidor - + Please enter an IP address Introduza um endereço de IP - + Please enter a port Introduza uma porta - + Please enter a username Introduza um nome de utilizador - + The server name already exists, O nome de servidor já existe, - + please input another one. introduza outro. @@ -1041,7 +1067,7 @@ Service - + OK button Aceitar @@ -1050,32 +1076,32 @@ Settings - + Split screen Ecrã dividido - + Fullscreen Ecrã inteiro - + Normal window Janela normal - + Maximum Maximizada - + Fast Rápido - + Slow Lento @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Inserir - - + + username: %u nome de utilizador: %u - + username@: %U nome de utilizador@: %U - + remote host: %h anfitrião remoto: %h - - + + session number: %# número da sessão: %# - - + + title set by shell: %w título definido pela shell: %w - + program name: %n nome do programa: %n - + current directory (short): %d diretório atual (curto): %d - + current directory (long): %D diretório atual (comprido): %D - + local host: %h anfitrião local: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Copiar - + Paste Colar - + Open Abrir - + Open in file manager Abrir no gestor de ficheiros - - + + Horizontal split Dividir horizontalmente - - + + Vertical split Dividir verticalmente - - + + New tab Novo separador - + Exit fullscreen Sair de ecrã inteiro - + Fullscreen Ecrã inteiro - + Find Localizar - + Search Pesquisar - + Encoding Codificação - + Custom commands Comandos personalizados - + Remote management Gestão remota - + Upload file Enviar ficheiro - + Download file Transferir ficheiro - + Settings Definições @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Cancelar - + Close button Fechar - - + + OK button Aceitar diff --git a/translations/deepin-terminal_pt_BR.ts b/translations/deepin-terminal_pt_BR.ts index 7bc582678..b0c4c9a70 100644 --- a/translations/deepin-terminal_pt_BR.ts +++ b/translations/deepin-terminal_pt_BR.ts @@ -19,67 +19,67 @@ - - + + Required Obrigatório - + Add Command - Adicionar Comando + Adicionar comando - + Edit Command - Editar Comando + Editar comando - + Delete Command - Comando Excluir + Excluir comando - + Cancel button Cancelar - + Add button Adicionar - + Save button Salvar - + OK button Ok - + Please enter a name Digite um nome - + Please enter a command Digite um comando - + The name already exists, O nome já existe, - + please input another one. insira outro. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command - Adicionar Comando + Adicionar comando - + No commands yet Nenhum comando @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Pesquisar @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Tema Personalizado - + Style: Estilo: - + Light Claro - + Dark Escuro - + Fore color: Cor de frente: - + Back color: Cor de fundo: - + Prompt PS1: Prompt PS1: - + Prompt PS2: Prompt PS2: - + Cancel button Cancelar - + Confirm button Confirmar @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) Nome do Grupo (Obrigatório) - + Add Group - Criar Grupo + Adicionar grupo - + Edit Group - Editar Grupo + Editar grupo - + Cancel Cancelar - + Add Adicionar - + Save Salvar - + Please enter a group name Insira um nome para o grupo - + The name should be no more than 30 characters O nome não deve ter mais de 30 caracteres @@ -214,28 +214,28 @@ ListView - + Delete Server - Excluir Servidor + Excluir servidor - + Delete Custom Command Apagar Comando Customizado - + Cancel Server Group Cancelar Grupo de Servidores - + Ungrouped servers will go back to server list! Servidores desagrupados voltarão para a lista de servidores! - - + + Are you sure you want to delete %1? Excluir %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Nova janela - + Settings Configurações - + Cancel button Cancelar - + Close button Fechar - + Type path to download file Digite o caminho para baixar o arquivo - + Custom Theme Tema Personalizado @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Ocultar a janela Quake após perder o foco - + Quake window animation speed Velocidade de animação da janela Quake - - + + Blur background Desfocar o fundo - + Use on starting Utilizar na inicialização - + Font Fonte - + Font size Tamanho da fonte - - + + Opacity Opacidade - + Advanced Avançado - + Cursor Cursor - + Scroll Rolagem - + Window Janela - + Basic Básico - + Interface Interface - + Shortcuts Atalhos - - + + Others Outros - + - + + Terminal Terminal - + Workspace Área de Trabalho - - + + Custom commands Comandos personalizados - - + + Display shortcuts Exibir atalhos - - + + Remote management Gerenciamento remoto - - + + New tab Nova aba - - + + Next tab Próxima aba - - + + Previous tab Aba anterior - - + + Select left workspace Selecionar o espaço de trabalho esquerdo - - + + Select lower workspace Selecionar o espaço de trabalho inferior - - + + Select right workspace Selecionar o espaço de trabalho direito - - + + Select upper workspace Selecionar o espaço de trabalho superior - + Tab titles Títulos das abas - - + + Go to tab 1 Ir para a aba 1 - - + + Go to tab 2 Ir para a aba 2 - - + + Go to tab 3 Ir para a aba 3 - - + + Go to tab 4 Ir para a aba 4 - - + + Go to tab 5 Ir para a aba 5 - - + + Go to tab 6 Ir para a aba 6 - - + + Go to tab 7 Ir para a aba 7 - - + + Go to tab 8 Ir para a aba 8 - - + + Go to tab 9 Ir para a aba 9 - + Disable flow control using Ctrl+S, Ctrl+Q Desative o controle de fluxo usando Ctrl+S, Ctrl+Q - + Shell profile Perfil do shell - + History size Tamanho do histórico - + Include special character(s) in double click selections Incluir caracteres especiais nas seleções de clique duplo - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Renomear título - - + + Fullscreen - Tela Cheia + Tela cheia - - + + Copy Copiar - - + + Default size Tamanho padrão - - + + Paste Colar - + Search Pesquisar - - + + Select all Selecionar tudo - + Jump to next command Ir para o próximo comando - + Jump to previous command Ir para o comando anterior - - + + Zoom in Aumentar zoom - - + + Zoom out Reduzir zoom - + Close other windows Fechar outras janelas - - - + + + Close other workspaces Fechar outros espaços de trabalho - + Could not find "%1", starting "%2" instead. Please check your shell profile. Impossível encontrar "%1", iniciando com "%2" em vez disso. Verifique o perfil do shell. - + Could not open "%1", unable to run it Impossível abrir "% 1", impossível executá-lo - + Could not find "%1", unable to run it Impossível localizar "% 1", não foi possível executá-lo - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. A saída foi suspensa ao pressionar Ctrl+S. Pressionando Ctrl+Q irá retomar. - + Close window Fechar janela - - - + + + Close workspace Fechar espaço de trabalho - - + + Horizontal split Dividir horizontalmente - - + + Vertical split Dividir verticalmente - - + + Find Localizar - - - + + debuginfod urls + + + + + + please set another one. Defina outro. @@ -672,46 +693,46 @@ O Terminal é um emulador de terminal avançado com espaço de trabalho, múltiplas janelas, gerenciamento remoto, modo quake e outros recursos. - + Tabs Abas - - + + Close tab Fechar aba - + Select tab Selecionar aba - + Switch focus to "+" icon Alterar o foco para o ícone "+" - - + + Select file to upload Selecionar arquivo para enviar - - + + Upload Upload - + Programs are still running in terminal Alguns programas estão sendo executados no terminal - - + + Close this terminal? Fechar este terminal? @@ -728,8 +749,8 @@ Ainda há %1 processos em execução neste terminal. Fechar o terminal encerrará todos eles. - - + + Close this window? Fechar esta janela? @@ -740,119 +761,119 @@ Ainda há processos em execução neste terminal janela. Fechar a janela encerrará todos eles. - - + + Select a directory to save the file Selecione um diretório para salvar o arquivo - + Are you sure you want to uninstall it? Desinstalá-lo? - - + + Are you sure you want to uninstall this application? Desinstalar este aplicativo? - - + + You will not be able to use Terminal any longer. Você não poderá mais usar o Terminal. - - - - + + + + Cancel button Cancelar - - + + OK button Ok - + Execute a command in the terminal Executar um comando no terminal - + Run script string in the terminal Executar o conjunto de scripts no terminal - + Set the work directory Definir o diretório de trabalho - + Set the window mode on starting Definir o modo de janela ao iniciar - + Run in quake mode Executar no modo quake - + Keep terminal open when command finishes Manter o terminal aberto quando o comando finalizar - - + + The name should be no more than 32 characters O nome não deve ter mais do que 32 caracteres - - - + + + Select Selecionar - + Select the private key file Selecionar o arquivo da chave privada - - + + Tab title format Formato do título da aba - - + + Remote tab title format Formato do título da aba remota - - + + Close other tabs Fechar as outras abas - + Delete button Excluir - - + + Confirm button Confirmar @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - Criar Grupo + Adicionar grupo - + Add Server - Adicionar Servidor + Adicionar servidor - + No servers yet Nenhum comando @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Pesquisar @@ -915,7 +936,7 @@ Add Server - Adicionar Servidor + Adicionar servidor @@ -942,7 +963,7 @@ Username: - Nome de Usuário: + Nome de usuário: @@ -960,80 +981,85 @@ Grupo: - + + No Group + + + + Path: Caminho: - + Command: Comando: - + Encoding: Codificação: - + Backspace key: Tecla backspace: - + Delete key: Excluir chave: - + Cancel button Cancelar - + Add button Adicionar - + Edit Server - Editar Servidor + Editar servidor - + Save button Salvar - + Please enter a server name Digite o nome do servidor - + Please enter an IP address Digite um endereço de IP - + Please enter a port Digite uma porta - + Please enter a username Digite um nome de usuário - + The server name already exists, O nome do servidor já existe, - + please input another one. insira outro. @@ -1041,7 +1067,7 @@ Service - + OK button Ok @@ -1050,32 +1076,32 @@ Settings - + Split screen Tela dividida - + Fullscreen - Tela Cheia + Tela cheia - + Normal window Janela normal - + Maximum Maximizado - + Fast Rápido - + Slow Lento @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Inserir - - + + username: %u nome de usuário: %u - + username@: %U nome de usuário@: %U - + remote host: %h host remoto: %h - - + + session number: %# número da sessão: %# - - + + title set by shell: %w título definido pelo shell: %w - + program name: %n nome do programa: %n - + current directory (short): %d diretório atual (abreviado): %d - + current directory (long): %D diretório atual (longo): %D - + local host: %h host local: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Copiar - + Paste Colar - + Open Abrir - + Open in file manager Abrir no Gerenciador de Arquivos - - + + Horizontal split Dividir horizontalmente - - + + Vertical split Dividir verticalmente - - + + New tab Nova aba - + Exit fullscreen Sair da tela cheia - + Fullscreen Tela cheia - + Find Localizar - + Search Pesquisar - + Encoding Codificação - + Custom commands Comandos personalizados - + Remote management Gerenciamento remoto - + Upload file Enviar arquivo - + Download file Baixar arquivo - + Settings Configurações @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Cancelar - + Close button Fechar - - + + OK button Ok diff --git a/translations/deepin-terminal_ro.ts b/translations/deepin-terminal_ro.ts index 8f1fb87a8..90b6814cd 100644 --- a/translations/deepin-terminal_ro.ts +++ b/translations/deepin-terminal_ro.ts @@ -19,67 +19,67 @@ - - + + Required Necesar - + Add Command Adaugă comandă - + Edit Command Modifică comanda - + Delete Command Șterge comanda - + Cancel button Anulează - + Add button Adaugă - + Save button Salvare - + OK button Ok - + Please enter a name Vă rugăm să introduceți un nume - + Please enter a command Vă rugăm să introduceți o comandă - + The name already exists, Numele acesta există deja, - + please input another one. vă rugăm să introduceți un alt nume. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Adaugă comandă - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Căutare @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme - + Style: - + Light Ușoară - + Dark Întunecat - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + Cancel button Anulează - + Confirm button Confirmare @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel Anulează - + Add Adaugă - + Save Salvare - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server Ștergere server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Sigur doriți să ștergeți% 1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Fereastră nouă - + Settings Configurări - + Cancel button Anulează - + Close button Închidere - + Type path to download file Introdu calea pentru a descărca fișierul - + Custom Theme @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Închide vederea Quake atunci când fereastra nu mai este în centrul atenției - + Quake window animation speed - - + + Blur background Încețoșează fundalul - + Use on starting Folosește la începere - + Font Fontul - + Font size Dimensiunea fontului - - + + Opacity Opacitate - + Advanced Avansat - + Cursor Cursor - + Scroll Derulare - + Window Fereastră - + Basic Simplu - + Interface Interfață - + Shortcuts Scurtături - - + + Others Altele - + - + + Terminal Terminal - + Workspace Spațiu de lucru - - + + Custom commands Comandă personalizată - - + + Display shortcuts Afișează scurtături - - + + Remote management Administrare de la distanță - - + + New tab Filă nouă - - + + Next tab - - + + Previous tab - - + + Select left workspace - - + + Select lower workspace - - + + Select right workspace - - + + Select upper workspace - + Tab titles - - + + Go to tab 1 - - + + Go to tab 2 - - + + Go to tab 3 - - + + Go to tab 4 - - + + Go to tab 5 - - + + Go to tab 6 - - + + Go to tab 7 - - + + Go to tab 8 - - + + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Redenumește titlul - - + + Fullscreen Redare ecran complet - - + + Copy Copiere - - + + Default size DImensiune implicită - - + + Paste Lipire - + Search Căutare - - + + Select all Selectează totul - + Jump to next command Sari la următoarea comandă - + Jump to previous command Sari la comanda anterioară - - + + Zoom in Mărește - - + + Zoom out Micșorează - + Close other windows Închide celelalte ferestre - - - + + + Close other workspaces Închide celelalte spații de lucru - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + Close window Închide fereastra - - - + + + Close workspace Închide spațiul de lucru - - + + Horizontal split Dedublare pe orizontală - - + + Vertical split Dedublare pe verticală - - + + Find Găsire - - - + + debuginfod urls + + + + + + please set another one. vă rugăm să introduceți altul. @@ -672,46 +693,46 @@ Terminal este un emulator avansat pentru linia de comandă cu spațiu de lucru, ferestre multiple, control de la distanță, mod „quake” și alte caracteristici. - + Tabs - - + + Close tab Închideți fila - + Select tab - + Switch focus to "+" icon - - + + Select file to upload Alege fișierul de încărcat - - + + Upload Încărcare - + Programs are still running in terminal Încă mai rulează programe în terminal - - + + Close this terminal? Închideți terminalul? @@ -728,8 +749,8 @@ - - + + Close this window? Închideți această fereastră? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file Alegeți un directór pentru salvarea fișierului. - + Are you sure you want to uninstall it? Sunteți sigur că doriți să îl dezinstalați? - - + + Are you sure you want to uninstall this application? Sunteți sigur că doriți să dezinstalați această aplicație? - - + + You will not be able to use Terminal any longer. Nu veți putea să mai utilizați terminalul de acum încolo. - - - - + + + + Cancel button Anulează - - + + OK button Ok - + Execute a command in the terminal Execută o comandă în terminal - + Run script string in the terminal Rulează un string script în terminal - + Set the work directory Stabilește directórul de lucru - + Set the window mode on starting Stabilește modul ferestrei la pornire - + Run in quake mode Rulează în modul Quake - + Keep terminal open when command finishes Păstrează terminalul deschis atunci când comanda termină de rulat - - + + The name should be no more than 32 characters Numele nu trebuie să aibă mai mult de 32 de caractere - - - + + + Select Selectare - + Select the private key file Alege fișierul cu cheia privată - - + + Tab title format - - + + Remote tab title format - - + + Close other tabs - + Delete button Ștergeți - - + + Confirm button Confirmare @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server Adaugă server - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Căutare @@ -960,80 +981,85 @@ Grup: - + + No Group + + + + Path: Cale fișier: - + Command: Comandă: - + Encoding: Încifrare: - + Backspace key: Tasta backspace: - + Delete key: Tasta delete: - + Cancel button Anulează - + Add button Adaugă - + Edit Server Modifică server - + Save button Salvare - + Please enter a server name Vă rugăm să introduceți un nume de server - + Please enter an IP address Vă rugăm să introduceți o adresă IP - + Please enter a port Vă rugăm să introduceți un port - + Please enter a username Vă rugăm să introduceți un nume de utilizator - + The server name already exists, Numele serverului există deja, - + please input another one. vă rugăm să introduceți un alt nume. @@ -1041,7 +1067,7 @@ Service - + OK button Ok @@ -1050,32 +1076,32 @@ Settings - + Split screen Dedublare ecran - + Fullscreen Redare ecran complet - + Normal window Fereastră normală - + Maximum Maxim - + Fast Repede - + Slow Încet @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert - - + + username: %u - + username@: %U - + remote host: %h - - + + session number: %# - - + + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Copiere - + Paste Lipire - + Open Deschide - + Open in file manager Deschidere în managerul de fișiere - - + + Horizontal split Dedublare pe orizontală - - + + Vertical split Dedublare pe verticală - - + + New tab Filă nouă - + Exit fullscreen Ieșire redare ecran complet - + Fullscreen Redare ecran complet - + Find Găsire - + Search Căutare - + Encoding Compresie - + Custom commands Comandă personalizată - + Remote management Administrare de la distanță - + Upload file Încarcă fișierul - + Download file Descarcă fișierul - + Settings Setări @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Anulează - + Close button Închidere - - + + OK button Ok diff --git a/translations/deepin-terminal_ru.ts b/translations/deepin-terminal_ru.ts index 4bad8543f..67d6c054e 100644 --- a/translations/deepin-terminal_ru.ts +++ b/translations/deepin-terminal_ru.ts @@ -19,67 +19,67 @@ - - + + Required Необходимо - + Add Command Добавить команду - + Edit Command Редактировать команду - + Delete Command Удалить команду - + Cancel button Отмена - + Add button Добавить - + Save button Сохранить - + OK button OK - + Please enter a name Пожалуйста, введите название - + Please enter a command Пожалуйста, введите комманду - + The name already exists, Имя уже существует, - + please input another one. пожалуйста, введите другое. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Добавить команду - + No commands yet Пока нет команд @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Поиск @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Пользовательская тема - + Style: Стиль: - + Light Светлый - + Dark Темный - + Fore color: Передний цвет: - + Back color: Задний цвет: - + Prompt PS1: Подсказка PS1: - + Prompt PS2: Подсказка PS2: - + Cancel button Отмена - + Confirm button Применить @@ -171,71 +171,71 @@ GroupConfigOptDlg - + Group Name(Required) - + Название группы (обязательно) - + Add Group - + Добавить группу - + Edit Group - + Править группу - + Cancel Отмена - + Add Добавить - + Save Сохранить - + Please enter a group name - + Пожалуйста, введите название группы - + The name should be no more than 30 characters - + Название должно состоять не более чем из 30 символов ListView - + Delete Server Удалить сервер - + Delete Custom Command - + Удалить пользовательскую команду - + Cancel Server Group - + Отменить серверную группу - + Ungrouped servers will go back to server list! - + Разгруппированные серверы вернутся в список серверов! - - + + Are you sure you want to delete %1? Вы уверены, что хотите удалить %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Новое окно - + Settings Настройки - + Cancel button Отмена - + Close button Закрыть - + Type path to download file Введите путь для загрузки файла - + Custom Theme Пользовательская тема @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Скрыть окно Выпадающего Терминала после потери фокуса - + Quake window animation speed Скорость анимации окон Quake - - + + Blur background Размытие фона - + Use on starting Использовать при запуске - + Font Шрифт - + Font size Размер шрифта - - + + Opacity Непрозрачность - + Advanced Дополнительные - + Cursor Курсор - + Scroll Прокрутка - + Window Окно - + Basic Основные - + Interface Интерфейс - + Shortcuts Сочетание клавиш - - + + Others Другое - + - + + Terminal Терминал - + Workspace Рабочая область - - + + Custom commands Пользовательские команды - - + + Display shortcuts Показать сочетания клавиш - - + + Remote management Удаленное управление - - + + New tab Новая вкладка - - + + Next tab Следующая вкладка - - + + Previous tab Предыдущая вкладка - - + + Select left workspace Выбрать левую рабочую область - - + + Select lower workspace Выбрать нижнюю рабочую область - - + + Select right workspace Выбрать правую рабочую область - - + + Select upper workspace Выбрать верхнюю рабочую область - + Tab titles Заголовки вкладок - - + + Go to tab 1 Перейти на вкладку 1 - - + + Go to tab 2 Перейти на вкладку 2 - - + + Go to tab 3 Перейти на вкладку 3 - - + + Go to tab 4 Перейти на вкладку 4 - - + + Go to tab 5 Перейти на вкладку 5 - - + + Go to tab 6 Перейти на вкладку 6 - - + + Go to tab 7 Перейти на вкладку 7 - - + + Go to tab 8 Перейти на вкладку 8 - - + + Go to tab 9 Перейти на вкладку 9 - + Disable flow control using Ctrl+S, Ctrl+Q Отключить управление потоком с помощью Ctrl+S, Ctrl+Q - + Shell profile Профиль оболочки - + History size Размер истории - + Include special character(s) in double click selections + Включать специальные символы в выделения двойным щелчком мыши + + + + Allow Ctrl + left mouse click to set cursor position - - - - + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Переименовать заголовок - - + + Fullscreen Полноэкранный режим - - + + Copy Копировать - - + + Default size Размер по умолчанию - - + + Paste Вставить - + Search Поиск - - + + Select all Выбрать всё - + Jump to next command Перейти к следующий команде - + Jump to previous command Перейти к предыдущей команде - - + + Zoom in Приблизить - - + + Zoom out Отдалить - + Close other windows Закрыть другие окна - - - + + + Close other workspaces Закрыть другие рабочие области - + Could not find "%1", starting "%2" instead. Please check your shell profile. Не удалось найти «%1», вместо этого начинается «%2». Пожалуйста, проверьте свой профиль оболочки. - + Could not open "%1", unable to run it Не удалось открыть «%1», невозможно запустить его - + Could not find "%1", unable to run it Не удалось найти «%1», невозможно его запустить - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Вывод был приостановлен нажатием Ctrl+S. Нажмите Ctrl+Q, чтобы продолжить. - + Close window Закрыть окно - - - + + + Close workspace Закрыть рабочую область - - + + Horizontal split Разделить по горизонтали - - + + Vertical split Разделить по вертикали - - + + Find Найти - - - + + debuginfod urls + + + + + + please set another one. пожалуйста, установите другой. @@ -672,46 +693,46 @@ Deepin Терминал является передовым эмулятором терминала с рабочими областями, многооконным интерфейсом, удаленным управлением, выпадающим режимом и другими функциями. - + Tabs Вкладки - - + + Close tab Закрыть вкладку - + Select tab Выбрать вкладку - + Switch focus to "+" icon Переключить фокус на значок "+" - - + + Select file to upload Выберите файл для загрузки - - + + Upload Загрузить - + Programs are still running in terminal Программы все еще работают в терминале - - + + Close this terminal? Закрыть этот терминал? @@ -719,17 +740,17 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + В этом терминале всё ещё запущен процесс. Закрытие терминала приведёт к его завершению. There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + В этом терминале всё ещё запущено %1 процессов. Закрытие терминала приведёт к их завершению. - - + + Close this window? Закрыть это окно? @@ -737,122 +758,122 @@ There are still processes running in this window. Closing the window will terminate all of them. - + В этом окне всё ещё запущены процессы. Закрытие окна приведёт к их завершению. - - + + Select a directory to save the file Выберите каталог для сохранения файла - + Are you sure you want to uninstall it? Вы действительно хотите его удалить? - - + + Are you sure you want to uninstall this application? Вы действительно хотите удалить это приложение? - - + + You will not be able to use Terminal any longer. Вы больше не сможете использовать Терминал. - - - - + + + + Cancel button Отмена - - + + OK button OK - + Execute a command in the terminal Выполнить команду в терминале - + Run script string in the terminal Запустить строку скрипта в терминале - + Set the work directory Установить рабочий каталог - + Set the window mode on starting Установить оконный режим при запуске - + Run in quake mode Запуск в выпадающем режиме - + Keep terminal open when command finishes Держать терминал открытым после завершения команды - - + + The name should be no more than 32 characters Имя должно быть не более 32 символов. - - - + + + Select Выбрать - + Select the private key file Выберите файл закрытого ключа - - + + Tab title format Формат заголовка вкладки - - + + Remote tab title format Формат заголовка удаленной вкладки - - + + Close other tabs Закрыть другие вкладки - + Delete button Удалить - - + + Confirm button Применить @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Добавить группу - + Add Server Добавить Сервер - + No servers yet Пока нет серверов @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Поиск @@ -902,12 +923,12 @@ Groups - + Группы Servers - + Серверы @@ -960,80 +981,85 @@ Группа: - + + No Group + + + + Path: Путь: - + Command: Команда: - + Encoding: Кодировка: - + Backspace key: Клавиша Backspace: - + Delete key: Удалить ключ: - + Cancel button Отмена - + Add button Добавить - + Edit Server Редактировать Сервер - + Save button Сохранить - + Please enter a server name Пожалуйста, введите имя сервера - + Please enter an IP address Пожалуйста, введите IP-адрес - + Please enter a port Пожалуйста, введите порт - + Please enter a username Пожалуйста введите имя пользователя - + The server name already exists, Имя сервера уже существует, - + please input another one. пожалуйста, введите другое. @@ -1041,7 +1067,7 @@ Service - + OK button OK @@ -1050,32 +1076,32 @@ Settings - + Split screen Разделенный экран - + Fullscreen Полноэкранный режим - + Normal window Обычное окно - + Maximum Максимум - + Fast Быстро - + Slow Медленно @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Вставить - - + + username: %u имя пользователя: %u - + username@: %U имя пользователя@: %U - + remote host: %h удаленный узел: %h - - + + session number: %# номер сеанса: %# - - + + title set by shell: %w заголовок установлен оболочкой: %w - + program name: %n название программы: %n - + current directory (short): %d текущий каталог (короткий): %d - + current directory (long): %D текущий каталог (длинный): %D - + local host: %h локальный хост: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Копировать - + Paste Вставить - + Open Открыть - + Open in file manager Открыть в файловом менеджере - - + + Horizontal split Разделить по горизонтали - - + + Vertical split Разделить по вертикали - - + + New tab Новая вкладка - + Exit fullscreen Выйти из полноэкранного режима - + Fullscreen Полноэкранный режим - + Find Найти - + Search Поиск - + Encoding Кодировка - + Custom commands Пользовательские команды - + Remote management Удаленное управление - + Upload file Загрузить файл - + Download file Скачать файл - + Settings Настройки @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Отмена - + Close button Закрыть - - + + OK button OK diff --git a/translations/deepin-terminal_sk.ts b/translations/deepin-terminal_sk.ts index fc91b6824..2a8bdcae9 100644 --- a/translations/deepin-terminal_sk.ts +++ b/translations/deepin-terminal_sk.ts @@ -19,67 +19,67 @@ - - + + Required Požadované - + Add Command Pridať príkaz - + Edit Command Upraviť príkaz - + Delete Command - + Cancel button Zrušiť - + Add button Pridať - + Save button Uložiť - + OK button OK - + Please enter a name - + Please enter a command - + The name already exists, - + please input another one. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Pridať príkaz - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Hľadať @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme - + Style: - + Light Light - + Dark - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + Cancel button Zrušiť - + Confirm button Potvrdiť @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel Zrušiť - + Add Pridať - + Save Uložiť - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Naozaj chcete vymazať %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Nové okno - + Settings Nastavenia - + Cancel button Zrušiť - + Close button Zavrieť - + Type path to download file Typ cesty k súboru na stiahnutie - + Custom Theme @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Skryť quake okno po rozostrení - + Quake window animation speed - - + + Blur background Rozostrené pozadie - + Use on starting - + Font Písmo - + Font size - - + + Opacity - + Advanced Pokročilé - + Cursor Kurzor - + Scroll Otočiť kolieskom myši - + Window Okno - + Basic Základné - + Interface Rozhranie - + Shortcuts Odkazy - - + + Others Iné - + - + + Terminal Terminál - + Workspace Pracovné prostredie - - + + Custom commands Vlastné príkazy - - + + Display shortcuts Zobraziť skratky - - + + Remote management Vzdialená správa - - + + New tab - - + + Next tab - - + + Previous tab - - + + Select left workspace - - + + Select lower workspace - - + + Select right workspace - - + + Select upper workspace - + Tab titles - - + + Go to tab 1 - - + + Go to tab 2 - - + + Go to tab 3 - - + + Go to tab 4 - - + + Go to tab 5 - - + + Go to tab 6 - - + + Go to tab 7 - - + + Go to tab 8 - - + + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Premenovať názov - - + + Fullscreen Celá obrazovka - - + + Copy Kopírovať - - + + Default size Predvolená veľkosť - - + + Paste Prilepiť - + Search Hľadať - - + + Select all Vybrať všetko - + Jump to next command Prejsť na ďalší príkaz - + Jump to previous command Prejsť na predchádzajúci príkaz - - + + Zoom in Priblížiť - - + + Zoom out Oddialiť - + Close other windows Zatvoriť ostatné okná - - - + + + Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + Close window Zatvoriť okno - - - + + + Close workspace Zatvoriť pracovné prostredie - - + + Horizontal split Horizontálne rozdelenie - - + + Vertical split Vertikálne rozdelenie - - + + Find Nájsť - - - + + debuginfod urls + + + + + + please set another one. @@ -672,46 +693,46 @@ Terminál je pokročilý emulátor terminálu s pracovným priestorom, viacerými oknami, vzdialenou správou, režimom quake a ďalšími funkciami. - + Tabs - - + + Close tab - + Select tab - + Switch focus to "+" icon - - + + Select file to upload Vyberte súbor, ktorý chcete nahrať - - + + Upload Nahrať - + Programs are still running in terminal Programy stále bežia v termináli - - + + Close this terminal? @@ -728,8 +749,8 @@ - - + + Close this window? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file - + Are you sure you want to uninstall it? Ste si istí, že ho chcete odinštalovať? - - + + Are you sure you want to uninstall this application? - - + + You will not be able to use Terminal any longer. - - - - + + + + Cancel button Zrušiť - - + + OK button OK - + Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - - + + The name should be no more than 32 characters - - - + + + Select Vybrať - + Select the private key file Vyberte súbor súkromného kľúča - - + + Tab title format - - + + Remote tab title format - - + + Close other tabs - + Delete button Vymazať - - + + Confirm button Potvrdiť @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server Pridať server - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Hľadať @@ -960,80 +981,85 @@ Skupina: - + + No Group + + + + Path: Cesta: - + Command: Príkaz: - + Encoding: Kódovanie: - + Backspace key: Backspace klávesa: - + Delete key: Vymazať kľúč: - + Cancel button Zrušiť - + Add button Pridať - + Edit Server Upraviť server - + Save button Uložiť - + Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. @@ -1041,7 +1067,7 @@ Service - + OK button OK @@ -1050,32 +1076,32 @@ Settings - + Split screen - + Fullscreen Celá obrazovka - + Normal window Normálne okno - + Maximum - + Fast Rýchlo - + Slow Pomaly @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert - - + + username: %u - + username@: %U - + remote host: %h - - + + session number: %# - - + + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Kopírovať - + Paste Prilepiť - + Open Otvoriť - + Open in file manager Otvoriť v správcovi súborov - - + + Horizontal split Horizontálne rozdelenie - - + + Vertical split Vertikálne rozdelenie - - + + New tab - + Exit fullscreen Zrušiť celú obrazovku - + Fullscreen Celá obrazovka - + Find Nájsť - + Search Hľadať - + Encoding Kódovanie - + Custom commands Vlastné príkazy - + Remote management Vzdialená správa - + Upload file Nahrať súbor - + Download file Stiahnuť súbor - + Settings Nastavenia @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Zrušiť - + Close button Zavrieť - - + + OK button OK diff --git a/translations/deepin-terminal_sl.ts b/translations/deepin-terminal_sl.ts index b707ff38b..aba6f4754 100644 --- a/translations/deepin-terminal_sl.ts +++ b/translations/deepin-terminal_sl.ts @@ -19,67 +19,67 @@ - - + + Required Zahtevano - + Add Command Dodaj Ukaz - + Edit Command Uredi ukaz - + Delete Command - + Cancel button Prekini - + Add button Dodaj - + Save button Shrani - + OK button V redu - + Please enter a name - + Please enter a command - + The name already exists, - + please input another one. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Dodaj Ukaz - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Išči @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme - + Style: - + Light majhna - + Dark Temno - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + Cancel button Prekini - + Confirm button Potrdi @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel Prekini - + Add Dodaj - + Save Shrani - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Ali ste prepričani, da želite izbrisati %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Novo okno - + Settings Nastavitve - + Cancel button Prekini - + Close button Zapri - + Type path to download file - + Custom Theme @@ -305,364 +305,385 @@ - Hide Quake window after losing focus + Allow Ctrl+scrollwheel to zoom text size - Quake window animation speed + Hide Quake window after losing focus - + Quake window animation speed + + + + + Blur background Zabriši ozadje - + Use on starting - + Font Pisava - + Font size - - + + Opacity - + Advanced Napredno - + Cursor Kurzor - + Scroll Miškin kolešček - + Window Okno - + Basic Osnove - + Interface Vmesnik - + Shortcuts Bližnjice - - + + Others Ostalo - + - + + Terminal Terminal - + Workspace Delovna površina - - + + Custom commands Ukazi po meri - - + + Display shortcuts Prikaži bližnjice - - + + Remote management Upravljanje na daljavo - - + + New tab - - + + Next tab - - + + Previous tab - - + + Select left workspace - - + + Select lower workspace - - + + Select right workspace - - + + Select upper workspace - + Tab titles - - + + Go to tab 1 - - + + Go to tab 2 - - + + Go to tab 3 - - + + Go to tab 4 - - + + Go to tab 5 - - + + Go to tab 6 - - + + Go to tab 7 - - + + Go to tab 8 - - + + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Preimenuj naslov - - + + Fullscreen Celozaslonski način - - + + Copy Kopiraj - - + + Default size Privzeta velikost - - + + Paste Prilepi - + Search Išči - - + + Select all Izberi vse - + Jump to next command Skoči na naslednji ukaz - + Jump to previous command Skoči na prejšnji ukaz - - + + Zoom in Povečaj - - + + Zoom out Pomanjšaj - + Close other windows Zapri druga okna - - - + + + Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + Close window Zapri okno - - - + + + Close workspace Zapri delovno površino - - + + Horizontal split Vodoravna razdelitev - - + + Vertical split Navpična razdelitev - - + + Find Najdi - - - + + debuginfod urls + + + + + + please set another one. @@ -672,46 +693,46 @@ - + Tabs - - + + Close tab - + Select tab - + Switch focus to "+" icon - - + + Select file to upload Izberi datoteko za nalaganje - - + + Upload Naloži - + Programs are still running in terminal Programi še tečejo v terminalu - - + + Close this terminal? @@ -728,8 +749,8 @@ - - + + Close this window? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file - + Are you sure you want to uninstall it? Ste prepričani, da želite to odstraniti? - - + + Are you sure you want to uninstall this application? - - + + You will not be able to use Terminal any longer. - - - - + + + + Cancel button Prekini - - + + OK button V redu - + Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - - + + The name should be no more than 32 characters - - - + + + Select Izberi - + Select the private key file Izberi zasebno datoteko s ključem - - + + Tab title format - - + + Remote tab title format - - + + Close other tabs - + Delete button Izbriši - - + + Confirm button Potrdi @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server Dodaj Strežnik - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Išči @@ -960,80 +981,85 @@ Skupina: - + + No Group + + + + Path: Pot: - + Command: Ukaz: - + Encoding: Encoding: - + Backspace key: Vračalka: - + Delete key: Izbriši ključ: - + Cancel button Prekini - + Add button Dodaj - + Edit Server Uredi strežnik - + Save button Shrani - + Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. @@ -1041,7 +1067,7 @@ Service - + OK button V redu @@ -1050,32 +1076,32 @@ Settings - + Split screen - + Fullscreen Celozaslonski način - + Normal window Normalno okno - + Maximum - + Fast Hitro - + Slow Počasi @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert - - + + username: %u - + username@: %U - + remote host: %h - - + + session number: %# - - + + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Kopiraj - + Paste Prilepi - + Open Odpri - + Open in file manager Odpri v upravitelju datotek - - + + Horizontal split Vodoravna razdelitev - - + + Vertical split Navpična razdelitev - - + + New tab - + Exit fullscreen Izhod iz celozaslonskega načina - + Fullscreen Celozaslonski način - + Find Najdi - + Search Išči - + Encoding Encoding - + Custom commands Ukazi po meri - + Remote management Upravljanje na daljavo - + Upload file Naloži datoteko - + Download file Prenesi datoteko - + Settings Nastavitve @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Prekini - + Close button Zapri - - + + OK button V redu diff --git a/translations/deepin-terminal_sq.ts b/translations/deepin-terminal_sq.ts index 9570a957d..90cda1e51 100644 --- a/translations/deepin-terminal_sq.ts +++ b/translations/deepin-terminal_sq.ts @@ -19,67 +19,67 @@ - - + + Required E domosdoshme - + Add Command Shtoni Urdhër - + Edit Command Përpunoni Urdhër - + Delete Command Fshije Urdhrin - + Cancel button Anuloje - + Add button Shtoje - + Save button Ruaje - + OK button OK - + Please enter a name Ju lutemi, jepni një emër - + Please enter a command Ju lutemi, jepni një urdhër - + The name already exists, Emri ekziston tashmë, - + please input another one. ju lutemi, jepni një tjetër. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Shtoni Urdhër - + No commands yet Ende pa urdhra @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Kërkim @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Temë Vetjake - + Style: Stil: - + Light E çelët - + Dark E errët - + Fore color: Ngjyrë përpara: - + Back color: Ngjyrë pas: - + Prompt PS1: Prompt PS1: - + Prompt PS2: Prompt PS2: - + Cancel button Anuloje - + Confirm button Ripohojeni @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) Emër Grupi(I domosdoshëm) - + Add Group Shtoni Grup - + Edit Group Përpunoni Grup - + Cancel Anuloje - + Add Shto - + Save Ruaje - + Please enter a group name Ju lutemi, jepni emër grupi - + The name should be no more than 30 characters Emri s’duhet të jetë më tepër se 30 shenja @@ -214,28 +214,28 @@ ListView - + Delete Server Fshije Shërbyesin - + Delete Custom Command Fshije Urdhrin Vetjak - + Cancel Server Group Anulo Grup Shërbyesish - + Ungrouped servers will go back to server list! Shërbyesit pa grup do të kalohen mbrapsht te lista e shërbyesve! - - + + Are you sure you want to delete %1? Jeni i sigurt se doni të fshihet %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Dritare e re - + Settings Rregullime - + Cancel button Anuloje - + Close button Mbylle - + Type path to download file Shtypni shteg për shkarkim kartele - + Custom Theme Temë Vetjake @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + Lejo Ctrl+rrëshqitje rrotëzes për zmadhim/zvogëlim madhësie teksti + + + Hide Quake window after losing focus Fshihe dritaren Quake pas humbjes së fokusit - + Quake window animation speed Shpejtësi animacioni dritareje Quake - - + + Blur background Turbulloje sfondin - + Use on starting Përdore gjatë nisjes - + Font Shkronja - + Font size Madhësi shkronjash - - + + Opacity Patejdukshmëri - + Advanced Të mëtejshme - + Cursor Kursor - + Scroll Rrëshqitje - + Window Dritare - + Basic Elementare - + Interface Ndërfaqe - + Shortcuts Shkurtore - - + + Others Të tjera - + - + + Terminal Terminal - + Workspace Hapësirë Pune - - + + Custom commands Urdhra vetjakë - - + + Display shortcuts Shfaq shkurtore - - + + Remote management Administrim së largëti - - + + New tab Skedë e re - - + + Next tab Skeda pasuese - - + + Previous tab Skeda e mëparshme - - + + Select left workspace Përzgjidhni hapësirën e punës majtas - - + + Select lower workspace Përzgjidhni hapësirën e poshtme të punës - - + + Select right workspace Përzgjidhni hapësirën e punës djathtas - - + + Select upper workspace Përzgjidhni hapësirën e sipërme të punës - + Tab titles Tituj skedash - - + + Go to tab 1 Shko te skeda 1 - - + + Go to tab 2 Kalo te skeda 2 - - + + Go to tab 3 Kalo te skeda 3 - - + + Go to tab 4 Kalo te skeda 4 - - + + Go to tab 5 Kalo te skeda 5 - - + + Go to tab 6 Kalo te skeda 6 - - + + Go to tab 7 Kalo te skeda 7 - - + + Go to tab 8 Kalo te skeda 8 - - + + Go to tab 9 Kalo te skeda 9 - + Disable flow control using Ctrl+S, Ctrl+Q Çaktivizoni kontroll rrjedhe duke përdorur Ctrl+S, Ctrl+Q - + Shell profile Profil shelli - + History size Madhësi historiku - + Include special character(s) in double click selections Përfshi shenjë(a) speciale në përzgjedhje me dyklikimin - - - - + + Allow Ctrl + left mouse click to set cursor position + Lejo Ctrl + klikim me butonin e majtë të miut për të caktuar pozicionin e kursorit + + + + The HTTP file server used for transmitting debugging information resources + Shërbyesi HTTP i kartelave i përdorur për të transmetuar burime informacionesh diagnostikimi + + + + + + Rename title Titull riemërtimi - - + + Fullscreen Sa krejt ekrani - - + + Copy Kopjoje - - + + Default size Madhësi parazgjedhje - - + + Paste Ngjite - + Search Kërkim - - + + Select all Përzgjidhi krejt - + Jump to next command Kalo te urdhri pasues - + Jump to previous command Kalo te urdhri i mëparshëm - - + + Zoom in Zmadhoje - - + + Zoom out Zvogëloje - + Close other windows Mbylli dritaret e tjera - - - + + + Close other workspaces Mbyll hapësira të tjera pune - + Could not find "%1", starting "%2" instead. Please check your shell profile. S’u gjet dot “%1”, në vend të tij po niset “%2”. Ju lutemi, kontrolloni profilin tuaj për shellin. - + Could not open "%1", unable to run it S’u hap dot “%1”, s’arrihet të xhirohet - + Could not find "%1", unable to run it S’u gjet dot “%1”, s’arrihet të xhirohet - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Shfaqja e përfundimit është pezulluar nga shtypja e tasteve Ctrl+S. Shtypni Ctrl+Q që të vazhdojë. - + Close window Mbylle dritaren - - - + + + Close workspace Mbylle hapësirën e punës - - + + Horizontal split Ndarje horizontale - - + + Vertical split Ndarje vertikale - - + + Find Gjej - - - + + debuginfod urls + + + + + + please set another one. ju lutemi, caktoni një tjetër. @@ -672,46 +693,46 @@ Terminali është një emulues i thelluar terminali, me hapësira pune, dritare të shumta, administrim së largëti, mënyrë Quake dhe veçori të tjera. - + Tabs Skeda - - + + Close tab Mbylle skedën - + Select tab Përzgjidhni skedë - + Switch focus to "+" icon Kaloje fokusin te ikona "+" - - + + Select file to upload Përzgjidhni kartelë për ngarkim - - + + Upload Ngarkim - + Programs are still running in terminal Ka ende programe që xhirojnë në terminal - - + + Close this terminal? Të mbyllet ky terminal? @@ -728,8 +749,8 @@ Ka ende %1 procese që xhirojnë në këtë terminal. Mbyllja e terminalit do t’i përfundojë krejt ata. - - + + Close this window? Të mbyllet dritarja? @@ -740,119 +761,119 @@ Ka ende procese që xhirojnë në këtë dritare. Mbyllja e dritares do t’i përfundojë krejt ata. - - + + Select a directory to save the file Përzgjidhni një drejtori ku të ruhet kartela - + Are you sure you want to uninstall it? Jeni i sigurt se doni të çinstalohet? - - + + Are you sure you want to uninstall this application? Jeni i sigurt se doni të çinstalohet ky aplikacion? - - + + You will not be able to use Terminal any longer. S’do të jeni më në gjendje të xhironi Terminal-in. - - - - + + + + Cancel button Anuloje - - + + OK button OK - + Execute a command in the terminal Ekzekutoni një urdhër te terminali - + Run script string in the terminal Xhironi te terminali varg programthi - + Set the work directory Caktoni drejtorinë e punës - + Set the window mode on starting Caktoni mënyrë dritareje kur hapet - + Run in quake mode Xhiroje nën mënyrën dridhje - + Keep terminal open when command finishes Kur urdhri përfundon, mbaje hapur terminalin - - + + The name should be no more than 32 characters Emri s’duhet të jetë më tepër se 32 shenja - - - + + + Select Përzgjidhe - + Select the private key file Përzgjidhni kartelën e kyçit privat - - + + Tab title format Format titulli skede - - + + Remote tab title format Format titulli skede të largët - - + + Close other tabs Mbylli skedat e tjera - + Delete button Fshije - - + + Confirm button Ripohojeni @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group Shtoni Grup - + Add Server Shtoni Shërbyes - + No servers yet Ende pa shërbyes @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Kërkim @@ -960,80 +981,85 @@ Grup: - + + No Group + Pa Grup + + + Path: Shteg: - + Command: Urdhër: - + Encoding: Kodim: - + Backspace key: Tasti Backspace: - + Delete key: Fshije tastin: - + Cancel button Anuloje - + Add button Shtoje - + Edit Server Përpunoni Shërbyes - + Save button Ruaje - + Please enter a server name Ju lutemi, jepni një emër shërbyesi - + Please enter an IP address Ju lutemi, jepni një adresë IP - + Please enter a port Ju lutemi, jepni një portë - + Please enter a username Ju lutemi, jepni një emër përdoruesi - + The server name already exists, Emri i shërbyesit ekziston tashmë, - + please input another one. ju lutemi, jepni një tjetër. @@ -1041,7 +1067,7 @@ Service - + OK button OK @@ -1050,32 +1076,32 @@ Settings - + Split screen Ndaje ekranin - + Fullscreen Sa krejt ekrani - + Normal window Dritare normale - + Maximum Maksimum - + Fast E shpejtë - + Slow E ngadaltë @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Futni - - + + username: %u emër përdoruesi: %u - + username@: %U emër_përdoruesi@: %U - + remote host: %h strehë e largët: %h - - + + session number: %# numër sesionesh: %# - - + + title set by shell: %w titull i caktuar nga shelli: %w - + program name: %n emër programi: %n - + current directory (short): %d drejtoria e tanishme (shkurt): %d - + current directory (long): %D drejtoria e tanishme (gjatë): %D - + local host: %h strehë vendore: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Kopjoje - + Paste Ngjite - + Open Hap - + Open in file manager Hape në përgjegjës kartelash - - + + Horizontal split Ndarje horizontale - - + + Vertical split Ndarje vertikale - - + + New tab Skedë e re - + Exit fullscreen Dil nga mënyra sa krejt ekrani - + Fullscreen Sa krejt ekrani - + Find Gjej - + Search Kërkim - + Encoding Kodim - + Custom commands Urdhra vetjakë - + Remote management Administrim së largëti - + Upload file Ngarkoni kartelë - + Download file Shkarkoje kartelën - + Settings Rregullime @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Anuloje - + Close button Mbylle - - + + OK button OK diff --git a/translations/deepin-terminal_sr.ts b/translations/deepin-terminal_sr.ts index 4f7248b0d..a2686ff77 100644 --- a/translations/deepin-terminal_sr.ts +++ b/translations/deepin-terminal_sr.ts @@ -19,67 +19,67 @@ - - + + Required Неопходно - + Add Command Додај команду - + Edit Command Уреди команду - + Delete Command Обриши команду - + Cancel button Откажи - + Add button Додај - + Save button Сачувај - + OK button У реду - + Please enter a name Унесите име - + Please enter a command Унесите команду - + The name already exists, Име већ постоји - + please input another one. Унесите друго име. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Додај команду - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Претражи @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Прилагођена тема - + Style: Стил: - + Light Светла - + Dark Тамна - + Fore color: Боја предњег плана: - + Back color: Боја позадине: - + Prompt PS1: Прозорче PS1: - + Prompt PS2: Прозорче PS2: - + Cancel button Откажи - + Confirm button Потврди @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel Откажи - + Add Додај - + Save Сачувај - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server Обриши сервер - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Заиста желите да обришете %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Нови прозор - + Settings Подeшавања - + Cancel button Откажи - + Close button Затвори - + Type path to download file Унеси путању за преузимање датотеке - + Custom Theme Прилагођена тема @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Сакриј спуштајући терминал када није у фокусу - + Quake window animation speed - - + + Blur background Замућена позадина - + Use on starting Користи при покретању - + Font Фонт - + Font size Величина фонта - - + + Opacity Прозирност - + Advanced Напредно - + Cursor Показивач - + Scroll Клизање - + Window Прозор - + Basic Основно - + Interface Сучеље - + Shortcuts Пречице - - + + Others Остало - + - + + Terminal Терминал - + Workspace Радни простор - - + + Custom commands Прилагођене команде - - + + Display shortcuts Прикажи пречице - - + + Remote management Даљинско управљање - - + + New tab Нова картица - - + + Next tab Следећа картица - - + + Previous tab Претходна картица - - + + Select left workspace Изабери леви радни простор - - + + Select lower workspace Изабери доњи радни простор - - + + Select right workspace Изабери десни радни простор - - + + Select upper workspace Изабери горњи радни простор - + Tab titles Наслов картице - - + + Go to tab 1 Иди на картицу 1 - - + + Go to tab 2 Иди на картицу 2 - - + + Go to tab 3 Иди на картицу 3 - - + + Go to tab 4 Иди на картицу 4 - - + + Go to tab 5 Иди на картицу 5 - - + + Go to tab 6 Иди на картицу 6 - - + + Go to tab 7 Иди на картицу 7 - - + + Go to tab 8 Иди на картицу 8 - - + + Go to tab 9 Иди на картицу 9 - + Disable flow control using Ctrl+S, Ctrl+Q Управљај протицањем користећи Ctrl+S, Ctrl+Q - + Shell profile Профил љуске - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Промени наслов - - + + Fullscreen Цео екран - - + + Copy Копирај - - + + Default size Подразумевана величина - - + + Paste Убаци - + Search Претражи - - + + Select all Изабери све - + Jump to next command Иди на следећу команду - + Jump to previous command Иди на претходну команду - - + + Zoom in Увеличај - - + + Zoom out Умањи - + Close other windows Затвори остале прозоре - - - + + + Close other workspaces Затвори остале радне просторе - + Could not find "%1", starting "%2" instead. Please check your shell profile. Није пронађено "%1", уместо тога покрећем "%2". Проверите ваш профил љуске. - + Could not open "%1", unable to run it Не могу да отворим "%1", покретање није могуће - + Could not find "%1", unable to run it Није пронађено "%1", покретање није могуће - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Испис је обустављен притиском на Ctrl+S. Притисни Ctrl+Q за наставак. - + Close window Затвори прозор - - - + + + Close workspace Затвори радни простор - - + + Horizontal split Хоризонтална подела - - + + Vertical split Вертикална подела - - + + Find Пронађи - - - + + debuginfod urls + + + + + + please set another one. молимо поставите другу @@ -672,46 +693,46 @@ Терминал је напредни емулатор терминала са дељивим прозорима, радним просторима, даљинским управљањем, спуштајућим режимом и другим функцијама. - + Tabs Картице - - + + Close tab Затвори картице - + Select tab Изабери картице - + Switch focus to "+" icon Пребаци фокус на "+" иконицу - - + + Select file to upload Изабери датотеку за отпремање - - + + Upload Отпреми - + Programs are still running in terminal Програми још раде у терминалу - - + + Close this terminal? Затворити овај терминал? @@ -728,8 +749,8 @@ - - + + Close this window? Затворити овај прозор? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file Изабери директоријум за чување датотеке - + Are you sure you want to uninstall it? Заиста желите да уклоните? - - + + Are you sure you want to uninstall this application? Заиста желите да уклоните овај програм? - - + + You will not be able to use Terminal any longer. Више нећете моћи да користите терминал. - - - - + + + + Cancel button Откажи - - + + OK button У реду - + Execute a command in the terminal Изврши команду у терминалу - + Run script string in the terminal Покрени скрипту у терминалу - + Set the work directory Постави радни директоријум - + Set the window mode on starting Подеси режим прозора при покретању - + Run in quake mode Покрени спуштајући режим - + Keep terminal open when command finishes Остави терминал отворен када је команда извршена - - + + The name should be no more than 32 characters Име не треба бити дуже од 32 карактера - - - + + + Select Изабери - + Select the private key file Изабери датотеку са приватним кључем - - + + Tab title format Формат наслова картице - - + + Remote tab title format Формат наслова удаљене картице - - + + Close other tabs Затвори остале картице - + Delete button Обриши - - + + Confirm button Потврди @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server Додај сервер - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Претражи @@ -960,80 +981,85 @@ Група: - + + No Group + + + + Path: Путања: - + Command: Команда: - + Encoding: Кодирање: - + Backspace key: Backspace тастер: - + Delete key: Delete тастер: - + Cancel button Откажи - + Add button Додај - + Edit Server Уреди сервер - + Save button Сачувај - + Please enter a server name Унесите име сервера - + Please enter an IP address Унесите ИП адресу - + Please enter a port Унесите прикључак - + Please enter a username Унесите корисничко име - + The server name already exists, Име сервера већ постоји, - + please input another one. Унесите друго име. @@ -1041,7 +1067,7 @@ Service - + OK button У реду @@ -1050,32 +1076,32 @@ Settings - + Split screen Подели екран - + Fullscreen Цео екран - + Normal window Нормалан прозор - + Maximum Максимум - + Fast Брзо - + Slow Споро @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Уметни - - + + username: %u корисничко име: %u - + username@: %U корисничко име@: %U - + remote host: %h удаљени домаћин: %h - - + + session number: %# број сесије: %# - - + + title set by shell: %w нслов задат од стране љуске: %w - + program name: %n име програма: %n - + current directory (short): %d тренутни директоријум (кратко): %d - + current directory (long): %D тренутни директоријум (дугачко): %D - + local host: %h локални домаћин: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Копирај - + Paste Убаци - + Open Покрени - + Open in file manager Отвори у управнику података - - + + Horizontal split Хоризонтална подела - - + + Vertical split Вертикална подела - - + + New tab Нова картица - + Exit fullscreen Напусти цео екран - + Fullscreen Цео екран - + Find Пронађи - + Search Претражи - + Encoding Кодирање - + Custom commands Прилагођене команде - + Remote management Даљинско управљање - + Upload file Отпреми датотеку - + Download file Преузми датотеку - + Settings Подeшавања @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Откажи - + Close button Затвори - - + + OK button У реду diff --git a/translations/deepin-terminal_sv.ts b/translations/deepin-terminal_sv.ts index 734022101..dc99df698 100644 --- a/translations/deepin-terminal_sv.ts +++ b/translations/deepin-terminal_sv.ts @@ -19,67 +19,67 @@ - - + + Required Krävs - + Add Command Lägg till kommando - + Edit Command Editera Kommando - + Delete Command - + Cancel button Avbryt - + Add button Lägg till - + Save button Spara - + OK button Okej - + Please enter a name - + Please enter a command - + The name already exists, - + please input another one. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Lägg till kommando - + No commands yet @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Sök @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme - + Style: - + Light Lätt - + Dark - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + Cancel button Avbryt - + Confirm button Bekräfta @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel Avbryt - + Add Lägg till - + Save Spara - + Please enter a group name - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? Är du säker du vill ta bort %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Nytt fönster - + Settings Inställningar - + Cancel button Avbryt - + Close button Stäng - + Type path to download file Skriv in sökväg för att ladda ner fil - + Custom Theme @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Göm Quake fönster efter tappad fokus - + Quake window animation speed - - + + Blur background Suddig bakgrund - + Use on starting - + Font Font - + Font size - - + + Opacity - + Advanced Avancerad - + Cursor Pil - + Scroll Skrolla - + Window Fönster - + Basic Grundläggande - + Interface Gränssnitt - + Shortcuts Kortkommandon - - + + Others Övrigt - + - + + Terminal Terminal - + Workspace Arbetsyta - - + + Custom commands Anpassade kommandon - - + + Display shortcuts Visa genvägar - - + + Remote management Fjärrhantering - - + + New tab - - + + Next tab - - + + Previous tab - - + + Select left workspace - - + + Select lower workspace - - + + Select right workspace - - + + Select upper workspace - + Tab titles - - + + Go to tab 1 - - + + Go to tab 2 - - + + Go to tab 3 - - + + Go to tab 4 - - + + Go to tab 5 - - + + Go to tab 6 - - + + Go to tab 7 - - + + Go to tab 8 - - + + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Ändra titel - - + + Fullscreen Fullskärm - - + + Copy Kopiera - - + + Default size Förvald storlek - - + + Paste Klistra in - + Search Sök - - + + Select all Välj alla - + Jump to next command Gå till nästa kommando - + Jump to previous command Gå till föregående kommando - - + + Zoom in Zooma in - - + + Zoom out Zooma ut - + Close other windows Stäng andra fönster - - - + + + Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + Close window Stäng fönster - - - + + + Close workspace Stäng arbetsyta - - + + Horizontal split Horisontell delning - - + + Vertical split Vertikal delning - - + + Find Hitta - - - + + debuginfod urls + + + + + + please set another one. @@ -672,46 +693,46 @@ - + Tabs - - + + Close tab - + Select tab - + Switch focus to "+" icon - - + + Select file to upload Välj fil att ladda upp - - + + Upload Ladda upp - + Programs are still running in terminal Program körs fortfarande i terminalen - - + + Close this terminal? @@ -728,8 +749,8 @@ - - + + Close this window? @@ -740,119 +761,119 @@ - - + + Select a directory to save the file - + Are you sure you want to uninstall it? - - + + Are you sure you want to uninstall this application? - - + + You will not be able to use Terminal any longer. - - - - + + + + Cancel button Avbryt - - + + OK button Okej - + Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - - + + The name should be no more than 32 characters - - - + + + Select Välj - + Select the private key file Välj en privat nyckelfil - - + + Tab title format - - + + Remote tab title format - - + + Close other tabs - + Delete button Radera - - + + Confirm button Bekräfta @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server Lägg till server - + No servers yet @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Sök @@ -960,80 +981,85 @@ Grupp: - + + No Group + + + + Path: Sökväg: - + Command: Kommando: - + Encoding: Kodning: - + Backspace key: Backspace tangent: - + Delete key: Radera nyckel: - + Cancel button Avbryt - + Add button Lägg till - + Edit Server Editera Server - + Save button Spara - + Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. @@ -1041,7 +1067,7 @@ Service - + OK button Okej @@ -1050,32 +1076,32 @@ Settings - + Split screen - + Fullscreen Fullskärm - + Normal window Normalt fönster - + Maximum - + Fast Snabb - + Slow Långsam @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert - - + + username: %u - + username@: %U - + remote host: %h - - + + session number: %# - - + + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Kopiera - + Paste Klistra in - + Open Öppna - + Open in file manager Öppna i filhanteraren - - + + Horizontal split Horisontell delning - - + + Vertical split Vertikal delning - - + + New tab - + Exit fullscreen Stäng fullskärm - + Fullscreen Fullskärm - + Find Hitta - + Search Sök - + Encoding Kodning - + Custom commands Anpassade kommandon - + Remote management Fjärrhantering - + Upload file Ladda upp fil - + Download file Ladda ner fil - + Settings Inställningar @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Avbryt - + Close button Stäng - - + + OK button Okej diff --git a/translations/deepin-terminal_tr.ts b/translations/deepin-terminal_tr.ts index 277e1e66e..43f653866 100644 --- a/translations/deepin-terminal_tr.ts +++ b/translations/deepin-terminal_tr.ts @@ -19,67 +19,67 @@ - - + + Required Gerekli - + Add Command Komut Ekle - + Edit Command Komut Düzenle - + Delete Command Komut Sil - + Cancel button İptal - + Add button Ekle - + Save button Kaydet - + OK button Tamam - + Please enter a name Lütfen bir ad gir - + Please enter a command Lütfen bir komut gir - + The name already exists, İsim zaten var, - + please input another one. lütfen başka bir tane gir. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Komut Ekle - + No commands yet Henüz komut yok @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Ara @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Özel Tema - + Style: Stil: - + Light Açık - + Dark Koyu - + Fore color: Ön renk: - + Back color: Zemin rengi: - + Prompt PS1: Komut İstemi PS1: - + Prompt PS2: Komut İstemi PS2: - + Cancel button İptal - + Confirm button Onayla @@ -171,71 +171,71 @@ GroupConfigOptDlg - + Group Name(Required) - + Grup Adı (Gerekli) - + Add Group - + Grup Ekle - + Edit Group - + Grubu Düzenle - + Cancel İptal - + Add Ekle - + Save Kaydet - + Please enter a group name - + Lütfen bir grup adı giriniz - + The name should be no more than 30 characters - + İsim 30 karakterden fazla olmamalıdır ListView - + Delete Server Sunucuyu Sil - + Delete Custom Command - + Özel komutu sil - + Cancel Server Group - + Sunucu grubunu iptal et - + Ungrouped servers will go back to server list! - + Gruplandırılmamış sunucular sunucu listesine geri gidecektir! - - + + Are you sure you want to delete %1? %1 ögesini silmek istediğinize emin misiniz? @@ -243,35 +243,35 @@ MainWindow - - + + New window Yeni pencere - + Settings Ayarlar - + Cancel button İptal - + Close button Kapat - + Type path to download file Dosyanın indirileceği yolu yazın - + Custom Theme Özel Tema @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Odakta olmadığında Quake penceresi gizle - + Quake window animation speed Quake penceresi animasyon hızı - - + + Blur background Arkaplanı bulanıklaştır - + Use on starting Başlangıçta kullan - + Font Yazı tipi - + Font size Yazı tipi boyutu - - + + Opacity Saydamlık - + Advanced Gelişmiş - + Cursor İmleç - + Scroll Kaydırma - + Window Pencere - + Basic Temel - + Interface Arayüz - + Shortcuts Kısayollar - - + + Others Diğerleri - + - + + Terminal Uçbirim - + Workspace Çalışma alanı - - + + Custom commands Özel komutlar - - + + Display shortcuts Kısayolları görüntüle - - + + Remote management Uzaktan yönetim - - + + New tab Yeni sekme - - + + Next tab Sonraki sekme - - + + Previous tab Önceki sekme - - + + Select left workspace Sol çalışma alanını seç - - + + Select lower workspace Alt çalışma alanını seç - - + + Select right workspace Sağ çalışma alanını seç - - + + Select upper workspace Üst çalışma alanını seç - + Tab titles Sekme başlıkları - - + + Go to tab 1 1. sekmeye git - - + + Go to tab 2 2. sekmeye git - - + + Go to tab 3 3. sekmeye git - - + + Go to tab 4 4. sekmeye git - - + + Go to tab 5 5. sekmeye git - - + + Go to tab 6 6. sekmeye git - - + + Go to tab 7 7. sekmeye git - - + + Go to tab 8 8. sekmeye git - - + + Go to tab 9 9. sekmeye git - + Disable flow control using Ctrl+S, Ctrl+Q Ctrl+S, Ctrl+Q kullanarak akış kontrolünü devre dışı bırakın - + Shell profile Kabuk profili - + History size Geçmiş boyutu - + Include special character(s) in double click selections + Çift tıklatma seçimlerine özel karakter(ler) ekleyin + + + + Allow Ctrl + left mouse click to set cursor position - - - - + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title Yeniden adlandır - - + + Fullscreen Tam ekran - - + + Copy Kopyala - - + + Default size Varsayılan boyut - - + + Paste Yapıştır - + Search Ara - - + + Select all Tümünü seç - + Jump to next command Sonraki komuta atla - + Jump to previous command Önceki komuta atla - - + + Zoom in Yakınlıştır - - + + Zoom out Uzaklaştır - + Close other windows Diğer pencereleri kapat - - - + + + Close other workspaces Diğer çalışma alanlarını kapat - + Could not find "%1", starting "%2" instead. Please check your shell profile. Onun yerine "%2" başlayarak "%1" bulunamadı. Lütfen kabuk profilinizi kontrol edin. - + Could not open "%1", unable to run it "%1" açılamadı, çalıştırılamıyor - + Could not find "%1", unable to run it "%1" bulunamadı, çalıştırılamıyor - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Çıkış, Ctrl+S tuşlarına basılarak askıya alındı. Devam etmek için Ctrl+Q tuşlarına basın. - + Close window Pencereyi kapat - - - + + + Close workspace Çalışma alanını kapat - - + + Horizontal split Yatay böl - - + + Vertical split Dikey böl - - + + Find Bul - - - + + debuginfod urls + + + + + + please set another one. lütfen başka bir tane ayarla. @@ -672,46 +693,46 @@ Uçbirim, çalışma alanı, çoklu pencere, uzaktan yönetim, hızlı kip ve diğer özelliklere sahip gelişmiş uçbirim emülatörüdür. - + Tabs Sekmeler - - + + Close tab Sekmeyi kapat - + Select tab Sekme seç - + Switch focus to "+" icon Odağı "+" simgesine getirin - - + + Select file to upload Yüklenecek dosyayı seç - - + + Upload Yükle - + Programs are still running in terminal Uçbirimde hala çalışan programlar var - - + + Close this terminal? Bu uçbirim kapatılsın mı? @@ -719,17 +740,17 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + Bu uçbirimde hala çalışan bir işlem var. Uçbirimi kapatmak bu işlemi sonlandıracaktır. There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Bu uçbirimde hala %1 işlem çalışıyor. Uçbirimi kapatmak hepsini sonlandıracaktır. - - + + Close this window? Bu pencereyi kapat? @@ -737,122 +758,122 @@ There are still processes running in this window. Closing the window will terminate all of them. - + Bu pencerede hala çalışan işlemler var. Pencereyi kapatmak hepsini sonlandıracaktır. - - + + Select a directory to save the file Dosyayı kaydetmek için bir dizin seç - + Are you sure you want to uninstall it? Kaldırmak istediğinizden emin misiniz? - - + + Are you sure you want to uninstall this application? Bu uygulamayı kaldırmak istediğinizden emin misiniz? - - + + You will not be able to use Terminal any longer. Artık Uçbirimi kullanamayacaksınız. - - - - + + + + Cancel button İptal - - + + OK button Tamam - + Execute a command in the terminal Uçbirimde bir komut yürüt - + Run script string in the terminal Uçbirimde kod dizesini çalıştır - + Set the work directory Çalışma dizinini ayarla - + Set the window mode on starting Başlangıçta pencere kipini ayarla - + Run in quake mode Quake kipinde çalıştır - + Keep terminal open when command finishes Komut bittiğinde uçbirimi açık tut - - + + The name should be no more than 32 characters İsim 32 karakterden fazla olmamalıdır - - - + + + Select Seç - + Select the private key file Özel anahtar dosyasını seç - - + + Tab title format Sekme başlık biçimi - - + + Remote tab title format Sekme başlık biçimini kaldır - - + + Close other tabs Diğer sekmeleri kapat - + Delete button Sil - - + + Confirm button Onayla @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Grup Ekle - + Add Server Sunucu Ekle - + No servers yet Henüz sunucu yok @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Ara @@ -902,12 +923,12 @@ Groups - + Gruplar Servers - + Sunucular @@ -960,80 +981,85 @@ Grup: - + + No Group + + + + Path: Yol: - + Command: Komut: - + Encoding: Kodlama: - + Backspace key: Geriye silme tuşu: - + Delete key: Anahtarı sil: - + Cancel button İptal - + Add button Ekle - + Edit Server Sunucuyu Düzenle - + Save button Kaydet - + Please enter a server name Lütfen bir sunucu adı gir - + Please enter an IP address Lütfen bir IP adresi gir - + Please enter a port Lütfen bir port gir - + Please enter a username Lütfen bir kullanıcı adı gir - + The server name already exists, Sunucu adı zaten var, - + please input another one. lütfen başka bir tane gir. @@ -1041,7 +1067,7 @@ Service - + OK button Tamam @@ -1050,32 +1076,32 @@ Settings - + Split screen Bölünmüş ekran - + Fullscreen Tam ekran - + Normal window Normal pencere - + Maximum Azami - + Fast Hızlı - + Slow Yavaş @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Ekle - - + + username: %u kullanıcı adı: %u - + username@: %U kullanıcıadı@: %U - + remote host: %h uzak makineyi kaldır: %h - - + + session number: %# oturum numarası: %# - - + + title set by shell: %w kabuğun belirlediği başlık: %w - + program name: %n program adı: %n - + current directory (short): %d mevcut dizin (kısa): %d - + current directory (long): %D mevcut dizin (uzun): %D - + local host: %h yerel makine: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Kopyala - + Paste Yapıştır - + Open - + Open in file manager Dosya yöneticisinde aç - - + + Horizontal split Yatay böl - - + + Vertical split Dikey böl - - + + New tab Yeni sekme - + Exit fullscreen Tam ekrandan çık - + Fullscreen Tam ekran - + Find Bul - + Search Ara - + Encoding Kodlama - + Custom commands Özel komutlar - + Remote management Uzaktan yönetim - + Upload file Dosya yükle - + Download file Dosya indir - + Settings Ayarlar @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button İptal - + Close button Kapat - - + + OK button Tamam diff --git a/translations/deepin-terminal_ug.ts b/translations/deepin-terminal_ug.ts index 024d929f9..14056fff4 100644 --- a/translations/deepin-terminal_ug.ts +++ b/translations/deepin-terminal_ug.ts @@ -19,67 +19,67 @@ - - + + Required زۆرۈر - + Add Command بۇيرۇق قوشۇش - + Edit Command بۇيرۇقنى تەھرىرلەش - + Delete Command بۇيرۇقنى ئۆچۈرۈش - + Cancel button بىكار قىلىش - + Add button قوشۇش - + Save button ساقلاش - + OK button جەزىملەشتۈرۈش - + Please enter a name نامىنى كىرگۈزۈڭ - + Please enter a command بۇيرۇقنى كىرگۈزۈڭ - + The name already exists, بۇ نام مەۋجۇت - + please input another one. قايتا كىرگۈزۈڭ @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command بۇيرۇق قوشۇش - + No commands yet بۇيرۇق قوشۇلمىغان @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search ئىزدەش @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme ئۇسلۇب بەلگىلەش - + Style: ئۇسلۇب خاسلىقى: - + Light سۇس رەڭ - + Dark قېنىق رەڭ - + Fore color: ئالدى تەگلىك رەڭگى: - + Back color: كەينى تەگلىك رەڭگى: - + Prompt PS1: ئەسكەرتىش بەلگىسىPS1: - + Prompt PS2: ئەسكەرتىش بەلگىسىPS2: - + Cancel button بىكار قىلىش - + Confirm button جەزملەشتۈرۈش @@ -171,42 +171,42 @@ GroupConfigOptDlg - + Group Name(Required) - + Add Group - + Edit Group - + Cancel بىكار قىلىش - + Add قوشۇش - + Save ساقلاش - + Please enter a group name ئىشلەتكۈچى گۇرۇپپىسىنىڭ نامىنى كىرگۈزۈڭ - + The name should be no more than 30 characters @@ -214,28 +214,28 @@ ListView - + Delete Server مۇلازىمىتېرنى ئۆچۈرۈش - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - - + + Are you sure you want to delete %1? %1 نى ئۆچۈرمەكچىمۇ؟ @@ -243,35 +243,35 @@ MainWindow - - + + New window يېڭىدىن كۆزنەك قۇرۇش - + Settings تەڭشەك - + Cancel button بىكار قىلىش - + Close button تاقاش - + Type path to download file ھۆججەت ئورنىنى كىرگۈزۈڭ - + Custom Theme ئۇسلۇب بەلگىلەش @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus فوكۇسنى يوقاتقاندىن كېيىن Quake كۆزنىكىنى يوشۇرسۇن - + Quake window animation speed - - + + Blur background ئارقا كۆرۈنۈش غۇۋا - + Use on starting قوزغالغاندا ئىشلىتىش - + Font خەت نۇسخىسى - + Font size خەت شەكلى چوڭلۇقى - - + + Opacity سۈزۈكلۈكى - + Advanced ئالىي - + Cursor نۇر بەلگە - + Scroll سىيرىلىش - + Window كۆزنەك - + Basic ئاساسىي ئۇچۇر - + Interface ئۇلىنىش ئېغىزى - + Shortcuts تىزلەتمە كۇنۇپكىلار - - + + Others باشقىلار - + - + + Terminal تېرمىنال - + Workspace خىزمەت رايونى - - + + Custom commands بۇيرۇق بەلگىلەش - - + + Display shortcuts تېزلەتمە كۆرسىتىش - - + + Remote management يىراقتىن باشقۇرۇش - - + + New tab يېڭى بەتكۈچ قۇرۇش - - + + Next tab كېيىنكى بەتكۈچ - - + + Previous tab ئالدىنقى بەتكۈچ - - + + Select left workspace سولدىكى خىزمەت رايونىنى تاللاش - - + + Select lower workspace ئاستىدىكى خىزمەت رايونىنى تاللاش - - + + Select right workspace ئوڭدىكى خىزمەت رايونىنى تاللاش - - + + Select upper workspace ئۈستىدىكى خىزمەت رايونىنى تاللاش - + Tab titles بەتكۈچ نامى - - + + Go to tab 1 بەتكۈچ 1 گە ئالماشتۇرۇش - - + + Go to tab 2 بەتكۈچ 2 گە ئالماشتۇرۇش - - + + Go to tab 3 بەتكۈچ 3 كە ئالماشتۇرۇش - - + + Go to tab 4 بەتكۈچ 4 كە ئالماشتۇرۇش - - + + Go to tab 5 بەتكۈچ 5 كە ئالماشتۇرۇش - - + + Go to tab 6 بەتكۈچ 6 گە ئالماشتۇرۇش - - + + Go to tab 7 بەتكۈچ 7 گە ئالماشتۇرۇش - - + + Go to tab 8 بەتكۈچ 8 گە ئالماشتۇرۇش - - + + Go to tab 9 بەتكۈچ 9 غا ئالماشتۇرۇش - + Disable flow control using Ctrl+S, Ctrl+Q Ctrl+S ۋە Ctrl+Q بىلەن كونتروللاشنى چەكلەش - + Shell profile Shell سەپلەش - + History size - + Include special character(s) in double click selections - - - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + + + Rename title تېمىغا قايتا نام قويۇش - - + + Fullscreen تولۇق ئېكران - - + + Copy كۆچۈرۈش - - + + Default size سۈكۈتتىكى سىغىمى - - + + Paste چاپلاش - + Search ئىزدەش - - + + Select all ھەممىنى تاللاش - + Jump to next command كېيىنكىسى - + Jump to previous command ئالدىنقىسى - - + + Zoom in چوڭايتىش - - + + Zoom out كىچىكلىتىش - + Close other windows باشقا كۆزنەكلەرنى تاقاش - - - + + + Close other workspaces باشقا خىزمەت رايونىنى تاقاش - + Could not find "%1", starting "%2" instead. Please check your shell profile. «%1”تېپىلمىغاچقا «%2» ئۇنىڭ ئورنىغا قوزغىتىلدى، Shell سەپلىمىسىنى تەكشۈرۈڭ. - + Could not open "%1", unable to run it «%1”» ئېچىلمىدى، نورمال ئىشلەتكى بولمايدۇ - + Could not find "%1", unable to run it «%1”» تېپىلمىدى، نورمال ئىشلەتكى بولمايدۇ - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Ctrl+S نى بېسىپ بولدىڭىز، چىقىرىش توختىتىلدى. Ctrl+Q نى بېسىپ داۋاملاشتۇرۇڭ - + Close window كۆزنەكنى تاقاش - - - + + + Close workspace خىزمەت رايونىنى تاقاش - - + + Horizontal split ئېكراننى توغرىسىغا بۆلۈش - - + + Vertical split تىك ھالەتتە ئېكراننى بۆلۈش - - + + Find ئىزدەش - - - + + debuginfod urls + + + + + + please set another one. قايتا تەڭشەش @@ -672,46 +693,46 @@ تېرمىنال بىر گەۋدىلەشتۈرۈلگەن خىزمەت رايونى، كۆپ كۆزنەك، يىراقتىن باشقۇرۇش ۋە quake ھالىتى قاتارلىق ئىقتىدارلىرى بار ئىلغار تېرمىنال تەقلىدلىگۈچىسى. - + Tabs بەتكۈچ - - + + Close tab بەتكۈچنى تاقاش - + Select tab بەتكۈچنى تاللاش - + Switch focus to "+" icon فوكۇسنى «+» سىنبەلگىسىگە ئالماشتۇرۇش - - + + Select file to upload يوللىماقچى بولغان ھۆججەتنى تاللاڭ - - + + Upload يوللاش - + Programs are still running in terminal تېرمىنالدا يەنىلا پروگراممىلار ئىجرا بولۇۋاتىدۇ - - + + Close this terminal? تېرمىنالنى تاقامسىز؟ @@ -728,8 +749,8 @@ - - + + Close this window? بۇ كۆزنەكنى تاقامسىز؟ @@ -740,119 +761,119 @@ - - + + Select a directory to save the file چۈشۈرۈلگەن ھۆججەتنى ساقلاش ئۈچۈن مۇندەرىجىنى تاللاڭ - + Are you sure you want to uninstall it? راستلا ئۆچۈرەمسىز؟ - - + + Are you sure you want to uninstall this application? تېرمىنالنى راستلا ئۆچۈرەمسىز؟ - - + + You will not be able to use Terminal any longer. ئۆچۈرسىڭىز بۇ ئىقتىدارنى ئىشلىتەلمەيسىز. - - - - + + + + Cancel button بىكار قىلىش - - + + OK button جەزىملەشتۈرۈش - + Execute a command in the terminal تېرمىنالدا پىروگرامما ئىجرا قىلىڭ - + Run script string in the terminal تېرمىنالدا قوليازما تىزىمىغا يول قويۇڭ - + Set the work directory تېرمىنالنىڭ قوزغىلىش مۇندەرىجىسىنى تەڭشەڭ - + Set the window mode on starting تېرمىنالنىڭ ئېچىلىش ھالىتىنى تەڭشەڭ - + Run in quake mode تېرمىنال quake ھالىتىدە قوزغالسۇن - + Keep terminal open when command finishes تېرمىنالنى بۇيرۇق ياكى قوليازما ئىجرا نەتىجىسىنى كۆرسىتىدىغان قىلىپ تەڭشەش - - + + The name should be no more than 32 characters ئىسىم 32 ھەرپتىن ئېشىپ كەتمەسلىكى كېرەك - - - + + + Select تاللاش - + Select the private key file شەخسىي ئاچقۇچ ھۆججىتىنى تاللاڭ - - + + Tab title format بەتكۈچ نامى فورماتى - - + + Remote tab title format يىراق مۇساپىلىك بەتكۈچ نامى فورماتى - - + + Close other tabs باشقا بەتكۈچلەرنى تاقاش - + Delete button ئۆچۈرۈش - - + + Confirm button جەزملەشتۈرۈش @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Add Server مۇلازىمىتېر قوشۇش - + No servers yet مۇلازىمىتېر قوشۇلمىغان @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search ئىزدەش @@ -960,80 +981,85 @@ گۇرۇپپا: - + + No Group + + + + Path: غول مۇندەرىجە: - + Command: بۇيرۇق: - + Encoding: كودلاش: - + Backspace key: كاتەكچە بويىچە چېكىنىش كۇنۇپكىسى: - + Delete key: ئۆچۈرۈش كۇنۇپكىسى: - + Cancel button بىكار قىلىش - + Add button قوشۇش - + Edit Server مۇلازىمىتېرنى تەھرىرلەش - + Save button ساقلاش - + Please enter a server name مۇلازىمىتېر نامىنى كىرگۈزۈڭ - + Please enter an IP address IP ئادرېسنى كىرگۈزۈڭ - + Please enter a port ئېغىزنى كىرگۈزۈڭ - + Please enter a username ئىشلەتكۈچى نامىنى كىرگۈزۈڭ - + The server name already exists, بۇ ئىسىم مۇلازىمىتېر مەۋجۇت - + please input another one. قايتا كىرگۈزۈڭ @@ -1041,7 +1067,7 @@ Service - + OK button جەزىملەشتۈرۈش @@ -1050,32 +1076,32 @@ Settings - + Split screen ئېكران بۆلۈش - + Fullscreen تولۇق ئېكران - + Normal window نورمال كۆزنەك - + Maximum چوڭايتىش - + Fast تېز - + Slow كۆرسىتىش @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert كىرگۈزۈش - - + + username: %u ئىشلەتكۈچى ئىسمى: %u - + username@: %U ئىشلەتكۈچى ئىسمى@: %U - + remote host: %h يىراق مۇساپىلىك باش ئاپپارات: %h - - + + session number: %# سۆزلىشىش نومۇرى: %# - - + + title set by shell: %w shell بەلگىلىگەن كۆزنەك نامى: %w - + program name: %n پىروگرامما نامى: %n - + current directory (short): %d نۆۋەتتىكى مۇندەرىجە(قىسقا): %d - + current directory (long): %D نۆۋەتتىكى مۇندەرىجە(ئۇزۇن): %D - + local host: %h يەرلىك باش ئاپپارات: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy كۆچۈرۈش - + Paste چاپلاش - + Open ئوچۇق - + Open in file manager ھۆججەت باشقۇرغۇچتا ئاچسۇن - - + + Horizontal split ئېكراننى توغرىسىغا بۆلۈش - - + + Vertical split تىك ھالەتتە ئېكراننى بۆلۈش - - + + New tab يېڭى بەتكۈچ قۇرۇش - + Exit fullscreen پۈتۈن ئېكراندىن چېكىنىش - + Fullscreen تولۇق ئېكران - + Find ئىزدەش - + Search ئىزدەش - + Encoding كودلاش - + Custom commands بۇيرۇق بەلگىلەش - + Remote management يىراقتىن باشقۇرۇش - + Upload file ھۆججەت يوللاش - + Download file ھۆججەت چۈشۈرۈش - + Settings تەڭشەك @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button بىكار قىلىش - + Close button تاقاش - - + + OK button جەزىملەشتۈرۈش diff --git a/translations/deepin-terminal_uk.ts b/translations/deepin-terminal_uk.ts index 56e8579c8..3b7f72b2a 100644 --- a/translations/deepin-terminal_uk.ts +++ b/translations/deepin-terminal_uk.ts @@ -19,67 +19,67 @@ - - + + Required Обов'язкова - + Add Command Додати команду - + Edit Command Редагувати команду - + Delete Command Вилучити команду - + Cancel button Скасувати - + Add button Додати - + Save button Зберегти - + OK button Гаразд - + Please enter a name Будь ласка, введіть назву - + Please enter a command Будь ласка, введіть команду - + The name already exists, Таку назву вже визначено, - + please input another one. будь ласка, введіть іншу. @@ -87,12 +87,12 @@ CustomCommandPanel - + Add Command Додати команду - + No commands yet Команд ще немає @@ -108,7 +108,7 @@ CustomCommandSearchRstPanel - + Search Пошук @@ -116,53 +116,53 @@ CustomThemeSettingDialog - + Custom Theme Нетипова тема - + Style: Стиль: - + Light Світла - + Dark Темна - + Fore color: Колір тексту: - + Back color: Колір тла: - + Prompt PS1: Запит PS1: - + Prompt PS2: Запит PS2: - + Cancel button Скасувати - + Confirm button Підтвердити @@ -171,71 +171,71 @@ GroupConfigOptDlg - + Group Name(Required) - + Назва групи (обов'язкова) - + Add Group - + Додати групу - + Edit Group - + Змінити групу - + Cancel Скасувати - + Add Додати - + Save Зберегти - + Please enter a group name Будь ласка, введіть назву групи - + The name should be no more than 30 characters - + Кількість символів у назві не повинна перевищувати 30 ListView - + Delete Server Вилучити сервер - + Delete Custom Command - + Вилучити нетипову команду - + Cancel Server Group - + Скасувати групування серверів - + Ungrouped servers will go back to server list! - + Незгруповані сервери буде повернуто до списку серверів! - - + + Are you sure you want to delete %1? Ви впевнені, що хочете видалити %1? @@ -243,35 +243,35 @@ MainWindow - - + + New window Нове вікно - + Settings Налаштування - + Cancel button Скасувати - + Close button Закрити - + Type path to download file Введіть шлях для завантаження файлу - + Custom Theme Нетипова тема @@ -305,364 +305,385 @@ + Allow Ctrl+scrollwheel to zoom text size + Дозволити Ctrl+коліщатко для масштабування розмірів тексту + + + Hide Quake window after losing focus Приховати вікно спадного термінала після втрати фокуса - + Quake window animation speed Швидкість анімації вікна спадного термінала - - + + Blur background Розмитий фон - + Use on starting Використовувати при запуску - + Font Шрифт - + Font size Розмір шрифту - - + + Opacity Непрозорість - + Advanced Додатково - + Cursor Курсор - + Scroll Прогорнути - + Window Вікно - + Basic Основний - + Interface Інтерфейс - + Shortcuts Поєднання клавіш - - + + Others Інше - + - + + Terminal Термінал - + Workspace Робоча область - - + + Custom commands Користувацькі команди - - + + Display shortcuts Показати ярлики - - + + Remote management Дистанційне керування - - + + New tab Нова вкладка - - + + Next tab Наступна вкладка - - + + Previous tab Попередня вкладка - - + + Select left workspace Вибрати лівий робочий простір - - + + Select lower workspace Вибрати нижній робочий простір - - + + Select right workspace Вибрати правий робочий простір - - + + Select upper workspace Вибрати верхній робочий простір - + Tab titles Заголовки вкладок - - + + Go to tab 1 Перейти до вкладки 1 - - + + Go to tab 2 Перейти до вкладки 2 - - + + Go to tab 3 Перейти до вкладки 3 - - + + Go to tab 4 Перейти до вкладки 4 - - + + Go to tab 5 Перейти до вкладки 5 - - + + Go to tab 6 Перейти до вкладки 6 - - + + Go to tab 7 Перейти до вкладки 7 - - + + Go to tab 8 Перейти до вкладки 8 - - + + Go to tab 9 Перейти до вкладки 9 - + Disable flow control using Ctrl+S, Ctrl+Q Вимкніть керування потоком даних за допомогою Ctrl+S, Ctrl+Q - + Shell profile Профіль оболонки - + History size Розмір журналу - + Include special character(s) in double click selections - + Включити спеціальні символи у позначене подвійним клацанням - - - - + + Allow Ctrl + left mouse click to set cursor position + Дозволити Ctrl + клацання лівою кнопкою для встановлення позиції курсора + + + + The HTTP file server used for transmitting debugging information resources + Файловий сервер HTTP, який буде використано для передавання ресурсів діагностичної інформації + + + + + + Rename title Перейменувати назву - - + + Fullscreen На весь екран - - + + Copy Копіювати - - + + Default size Стандартний розмір - - + + Paste Вставити - + Search Пошук - - + + Select all Вибрати все - + Jump to next command Перейти до наступної команди - + Jump to previous command Перейти до попередньої команди - - + + Zoom in Збільшити масштаб - - + + Zoom out Зменшити масштаб - + Close other windows Закрити інші вікна - - - + + + Close other workspaces Закрити інші робочі простори - + Could not find "%1", starting "%2" instead. Please check your shell profile. Не вдалося знайти «%1». Запускаємося замість нього із «%2». Будь ласка, перевірте, чи правильно вказано ваш профіль оболонки. - + Could not open "%1", unable to run it Не вдалося відкрити «%1». Не можемо його запустити. - + Could not find "%1", unable to run it Не вдалося знайти «%1». Не можемо його запустити. - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Виведення даних було призупинено натисканням Ctrl+S. Натисніть Ctrl+Q, щоб відновити його. - + Close window Закрити вікно - - - + + + Close workspace Закрити робочий простір - - + + Horizontal split Горизонтальний розподіл - - + + Vertical split Вертикальний розподіл - - + + Find Знайти - - - + + debuginfod urls + адреси debuginfod + + + + + please set another one. будь ласка, встановіть іншу. @@ -672,46 +693,46 @@ Термінал - це розширений емулятор терміналу з робочим простором, декількома вікнами, віддаленим керуванням, режимом тремтіння і іншими функціями. - + Tabs Вкладки - - + + Close tab Закрити вкладку - + Select tab Вибрати вкладку - + Switch focus to "+" icon Перемкнути фоку на піктограму «+» - - + + Select file to upload Вибрати файл для вивантаження - - + + Upload Вивантажити - + Programs are still running in terminal Програми все ще працюють у терміналі - - + + Close this terminal? Закрити цей термінал? @@ -719,17 +740,17 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + У цьому терміналі не завершено роботу одного з процесів. Закриття термінала призведе до примусового завершення роботи процесу. There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + У цьому терміналі не завершено роботу %1 процесів. Закриття термінала призведе до примусового завершення роботи усіх цих процесів. - - + + Close this window? Закрити це вікно? @@ -737,122 +758,122 @@ There are still processes running in this window. Closing the window will terminate all of them. - + У цьому терміналі не завершено роботу процесів. Закриття термінала призведе до примусового завершення роботи усіх цих процесів. - - + + Select a directory to save the file Виберіть каталог для зберігання файла - + Are you sure you want to uninstall it? Ви справді хочете її вилучити? - - + + Are you sure you want to uninstall this application? Ви справді хочете вилучити цю програму? - - + + You will not be able to use Terminal any longer. Після цього ви не зможете користуватися «Терміналом». - - - - + + + + Cancel button Скасувати - - + + OK button Гаразд - + Execute a command in the terminal Виконати команду у терміналі - + Run script string in the terminal Запустити рядок скрипту у терміналі - + Set the work directory Встановити робочий каталог - + Set the window mode on starting Встановити режим вікна після запуску - + Run in quake mode Запустити у режимі спадного термінала - + Keep terminal open when command finishes Не закривати термінал після завершення роботи команди - - + + The name should be no more than 32 characters Кількість символів у назві не повинна перевищувати 32 - - - + + + Select Обрати - + Select the private key file Вибрати файл приватного ключа - - + + Tab title format Формат заголовка вкладки - - + + Remote tab title format Формат заголовка віддаленої вкладки - - + + Close other tabs Закрити інші вкладки - + Delete button Видалити - - + + Confirm button Підтвердити @@ -861,17 +882,17 @@ RemoteManagementPanel - + Add Group - + Додати групу - + Add Server Додати сервер - + No servers yet Серверів ще немає @@ -892,7 +913,7 @@ RemoteManagementSearchPanel - + Search Пошук @@ -902,12 +923,12 @@ Groups - + Групи Servers - + Сервери @@ -960,80 +981,85 @@ Група: - + + No Group + Немає групи + + + Path: Шлях: - + Command: Команда: - + Encoding: Кодування: - + Backspace key: Клавіша Backspace: - + Delete key: Видалити ключ: - + Cancel button Скасувати - + Add button Додати - + Edit Server Редагувати сервер - + Save button Зберегти - + Please enter a server name Будь ласка, введіть назву сервера - + Please enter an IP address Будь ласка, введіть IP-адресу - + Please enter a port Будь ласка, введіть порт - + Please enter a username Будь ласка, введіть ім'я користувача - + The server name already exists, Сервер із такою назвою вже існує, - + please input another one. будь ласка, введіть іншу назву. @@ -1041,7 +1067,7 @@ Service - + OK button Гаразд @@ -1050,32 +1076,32 @@ Settings - + Split screen Розділити екран - + Fullscreen На весь екран - + Normal window Нормальне вікно - + Maximum Максимум - + Fast Швидко - + Slow Повільно @@ -1099,55 +1125,55 @@ TabRenameWidget - + Insert Вставити - - + + username: %u користувач: %u - + username@: %U користувач@: %U - + remote host: %h віддалений вузол: %h - - + + session number: %# номер сеансу: %# - - + + title set by shell: %w заголовок від командної оболонки: %w - + program name: %n назва програми: %n - + current directory (short): %d поточний каталог (скорочено): %d - + current directory (long): %D поточний каталог (повністю): %D - + local host: %h локальний вузол: %h @@ -1155,90 +1181,90 @@ TermWidget - + Copy Копіювати - + Paste Вставити - + Open Відкрити - + Open in file manager Відкрити у файловому менеджері - - + + Horizontal split Горизонтальний розподіл - - + + Vertical split Вертикальний розподіл - - + + New tab Нова вкладка - + Exit fullscreen Вийти з повноекранного режиму - + Fullscreen На весь екран - + Find Знайти - + Search Пошук - + Encoding Кодування - + Custom commands Користувацькі команди - + Remote management Дистанційне керування - + Upload file Вивантажити файл - + Download file Завантажити файл - + Settings Налаштування @@ -1246,21 +1272,21 @@ Utils - - + + Cancel button Скасувати - + Close button Закрити - - + + OK button Гаразд diff --git a/translations/deepin-terminal_zh_HK.ts b/translations/deepin-terminal_zh_HK.ts index 219dbd4a4..0094dfe73 100644 --- a/translations/deepin-terminal_zh_HK.ts +++ b/translations/deepin-terminal_zh_HK.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -210,7 +208,7 @@ The name should be no more than 30 characters - 名稱長度不得超過32個字符 {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -533,22 +531,22 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - 提供調試資訊資源的http檔案伺服器 + @@ -680,7 +678,7 @@ debuginfod urls - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -886,7 +884,7 @@ Add Group - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1294,4 +1292,4 @@ 確 定 - + \ No newline at end of file diff --git a/translations/deepin-terminal_zh_TW.ts b/translations/deepin-terminal_zh_TW.ts index b081db641..db0e01ea1 100644 --- a/translations/deepin-terminal_zh_TW.ts +++ b/translations/deepin-terminal_zh_TW.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -210,7 +208,7 @@ The name should be no more than 30 characters - 名稱長度不得超過32個字元 {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -533,22 +531,22 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - 提供調試資訊資源的http檔案伺服器 + @@ -680,7 +678,7 @@ debuginfod urls - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -886,7 +884,7 @@ Add Group - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1294,4 +1292,4 @@ 確 定 - + \ No newline at end of file diff --git a/translations/desktop/desktop_he.ts b/translations/desktop/desktop_he.ts index 3811a4107..65e34e959 100644 --- a/translations/desktop/desktop_he.ts +++ b/translations/desktop/desktop_he.ts @@ -1 +1 @@ -desktopDeepin Terminalמסוף DeepinNew WindowQuake TerminalTerminalמסוףUse the command lineהשתמש בשורת פקודהshell;prompt;command;commandline; \ No newline at end of file +desktopDeepin Terminalמסוף DeepinNew Windowחלון חדשQuake TerminalTerminalמסוףUse the command lineהשתמש בשורת פקודהshell;prompt;command;commandline; \ No newline at end of file diff --git a/translations/desktop/desktop_pt_BR.ts b/translations/desktop/desktop_pt_BR.ts index 05fd1a514..b37d52515 100644 --- a/translations/desktop/desktop_pt_BR.ts +++ b/translations/desktop/desktop_pt_BR.ts @@ -1 +1 @@ -desktopDeepin Terminaldeepin TerminalNew WindowNova JanelaQuake TerminalTerminal QuakeTerminalTerminalUse the command lineUsar a linha de comandoshell;prompt;command;commandline;shell;prompt;command;commandline; \ No newline at end of file +desktopDeepin TerminalTerminalNew WindowNova janelaQuake TerminalTerminal QuakeTerminalTerminalUse the command lineUsar a linha de comandoshell;prompt;command;commandline;shell;prompt;command;commandline; \ No newline at end of file From 0c7efd45301bbe3b4a1ca3ba66494b03f456aa57 Mon Sep 17 00:00:00 2001 From: ArchieMeng Date: Fri, 22 Nov 2024 17:20:59 +0800 Subject: [PATCH 10/13] chore: Update translation files (#372) Log: Update translation files --- translations/deepin-terminal.ts | 135 ++--- translations/deepin-terminal_ar.ts | 251 +++++---- translations/deepin-terminal_az.ts | 177 +++--- translations/deepin-terminal_bg.ts | 359 ++++++------ translations/deepin-terminal_bo.ts | 181 +++--- translations/deepin-terminal_br.ts | 291 +++++----- translations/deepin-terminal_ca.ts | 139 ++--- translations/deepin-terminal_cs.ts | 177 +++--- translations/deepin-terminal_da.ts | 353 ++++++------ translations/deepin-terminal_de.ts | 149 ++--- translations/deepin-terminal_el.ts | 313 +++++----- translations/deepin-terminal_en.ts | 669 +++++++++++++--------- translations/deepin-terminal_es.ts | 149 ++--- translations/deepin-terminal_fa.ts | 357 ++++++------ translations/deepin-terminal_fi.ts | 149 ++--- translations/deepin-terminal_fr.ts | 149 ++--- translations/deepin-terminal_gl_ES.ts | 149 ++--- translations/deepin-terminal_he.ts | 219 +++---- translations/deepin-terminal_hi_IN.ts | 187 +++--- translations/deepin-terminal_hr.ts | 233 ++++---- translations/deepin-terminal_hu.ts | 139 ++--- translations/deepin-terminal_id.ts | 187 +++--- translations/deepin-terminal_it.ts | 179 +++--- translations/deepin-terminal_ko.ts | 203 +++---- translations/deepin-terminal_lt.ts | 349 ++++++------ translations/deepin-terminal_ms.ts | 149 ++--- translations/deepin-terminal_nb.ts | 783 ++++++++++++++------------ translations/deepin-terminal_nl.ts | 139 ++--- translations/deepin-terminal_pl.ts | 139 ++--- translations/deepin-terminal_pt.ts | 179 +++--- translations/deepin-terminal_pt_BR.ts | 149 ++--- translations/deepin-terminal_ro.ts | 277 ++++----- translations/deepin-terminal_ru.ts | 149 ++--- translations/deepin-terminal_sk.ts | 355 ++++++------ translations/deepin-terminal_sl.ts | 361 ++++++------ translations/deepin-terminal_sq.ts | 145 ++--- translations/deepin-terminal_sr.ts | 187 +++--- translations/deepin-terminal_sv.ts | 359 ++++++------ translations/deepin-terminal_tr.ts | 149 ++--- translations/deepin-terminal_ug.ts | 181 +++--- translations/deepin-terminal_uk.ts | 139 ++--- translations/deepin-terminal_zh_CN.ts | 135 ++--- translations/deepin-terminal_zh_HK.ts | 181 +++--- translations/deepin-terminal_zh_TW.ts | 181 +++--- 44 files changed, 5320 insertions(+), 4860 deletions(-) diff --git a/translations/deepin-terminal.ts b/translations/deepin-terminal.ts index 900fc19c5..23cf53689 100644 --- a/translations/deepin-terminal.ts +++ b/translations/deepin-terminal.ts @@ -321,11 +321,16 @@ - + Blur background + + + debuginfod URLs + + Use on starting @@ -342,8 +347,8 @@ - + Opacity @@ -383,16 +388,16 @@ - + Others - - + + Terminal @@ -402,62 +407,62 @@ - + Custom commands - + Display shortcuts - + Remote management - + New tab - + Next tab - + Previous tab - + Select left workspace - + Select lower workspace - + Select right workspace - + Select upper workspace @@ -467,56 +472,56 @@ - + Go to tab 1 - + Go to tab 2 - + Go to tab 3 - + Go to tab 4 - + Go to tab 5 - + Go to tab 6 - + Go to tab 7 - + Go to tab 8 - + Go to tab 9 @@ -551,34 +556,34 @@ - - - + + + Rename title - + Fullscreen - + Copy - + Default size - + Paste @@ -588,8 +593,8 @@ - + Select all @@ -604,14 +609,14 @@ - + Zoom in - + Zoom out @@ -621,29 +626,29 @@ - - + + Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. @@ -653,39 +658,34 @@ - - + + Close workspace - + Horizontal split - + Vertical split - + Find - - debuginfod urls - - - - - + + please set another one. @@ -700,8 +700,8 @@ - + Close tab @@ -716,14 +716,14 @@ - + Select file to upload - + Upload @@ -763,8 +763,8 @@ - + Select a directory to save the file @@ -786,10 +786,10 @@ + - Cancel button @@ -832,15 +832,15 @@ - + The name should be no more than 32 characters - - + + Select @@ -850,20 +850,20 @@ - + Tab title format - + Remote tab title format - + Close other tabs @@ -1098,12 +1098,12 @@ - + Fast - + Slow @@ -1270,6 +1270,11 @@ Settings + + + The debuginfod settings will be effective after restart + + Utils diff --git a/translations/deepin-terminal_ar.ts b/translations/deepin-terminal_ar.ts index 0ec02b0a2..7ce0aa3ba 100644 --- a/translations/deepin-terminal_ar.ts +++ b/translations/deepin-terminal_ar.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -138,7 +140,7 @@ Fore color: - + @@ -148,12 +150,12 @@ Prompt PS1: - + Prompt PS2: - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + يجب ألا يزيد الاسم عن 32 حرفا {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,18 +318,23 @@ Quake window animation speed - + - + Blur background خلفية ضبابية + + + debuginfod URLs + + Use on starting - + @@ -340,8 +347,8 @@ حجم الخط - + Opacity التعتيم @@ -381,16 +388,16 @@ الإختصارات - + Others غير ذلك - - + + Terminal الطرفية @@ -400,64 +407,64 @@ مساحة العمل - + Custom commands أوامر مخصصة - + Display shortcuts عرض الإختصارات - + Remote management الإدارة عن بعد - + New tab لسان جديد - + Next tab اللسان التالي - + Previous tab اللسان التالي - + Select left workspace - + - + Select lower workspace - + - + Select right workspace - + - + Select upper workspace - + @@ -465,118 +472,118 @@ عنواين الألسنة - + Go to tab 1 الذهاب إلى اللسان رقم 1 - + Go to tab 2 الذهاب إلى اللسان رقم 2 - + Go to tab 3 الذهاب إلى اللسان رقم 3 - + Go to tab 4 الذهاب إلى اللسان رقم 4 - + Go to tab 5 الذهاب إلى اللسان رقم 5 - + Go to tab 6 الذهاب إلى اللسان رقم 6 - + Go to tab 7 الذهاب إلى اللسان رقم 7 - + Go to tab 8 الذهاب إلى اللسان رقم 8 - + Go to tab 9 الذهاب إلى اللسان رقم 9 Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title إعادة تسمية العنوان - + Fullscreen ملء الشاشة - + Copy نسخ - + Default size الحجم الافتراضي - + Paste لصق @@ -586,8 +593,8 @@ بحث - + Select all تحديد الكل @@ -602,14 +609,14 @@ الانتقال إلى الأمر السابق - + Zoom in تكبير - + Zoom out تصغير @@ -619,31 +626,31 @@ إغلاق النوافذ الأخرى - - + + Close other workspaces إغلاق مساحة العمل الأخرى - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + - + Could not open "%1", unable to run it - + - + Could not find "%1", unable to run it - + - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -651,41 +658,36 @@ إغلاق النافذة - - + + Close workspace إغلاق مساحة العمل - + Horizontal split تقسيم أفقي - + Vertical split تقسيم عمودي - + Find بحث - - debuginfod urls - - - - - + + please set another one. - + @@ -698,8 +700,8 @@ الألسنة - + Close tab إغلاق اللسان @@ -711,17 +713,17 @@ Switch focus to "+" icon - + - + Select file to upload تحديد ملف للرفع - + Upload رفع @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file اختيار المجلد لحفظ هذا الملف @@ -784,10 +786,10 @@ لن تتمكن من استخدام الطرفية بعد الآن. + - Cancel button إلغاء @@ -817,12 +819,12 @@ Set the window mode on starting - + Run in quake mode - + @@ -830,15 +832,15 @@ إبقاء الطرفية مفتوحة عند الانتهاء من تنفيذ الأمر - + The name should be no more than 32 characters يجب ألا يزيد الاسم عن 32 حرفا - - + + Select اختيار @@ -848,20 +850,20 @@ تحديد ملف المفتاح الخاص - + Tab title format - + - + Remote tab title format - + - + Close other tabs إغلاق الألسنة الأخرى @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -907,7 +909,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1041,7 +1043,7 @@ Please enter an IP address - + @@ -1096,12 +1098,12 @@ تكبير - + Fast سريع - + Slow بطيء @@ -1112,14 +1114,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1133,49 +1135,49 @@ username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1268,6 +1270,11 @@ Settings الإعدادات + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ موافق - \ No newline at end of file + diff --git a/translations/deepin-terminal_az.ts b/translations/deepin-terminal_az.ts index cc725bd0e..251d5b051 100644 --- a/translations/deepin-terminal_az.ts +++ b/translations/deepin-terminal_az.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -208,7 +210,7 @@ The name should be no more than 30 characters - + Ad 32 işarədən böyük olmamalıdır {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -319,11 +321,16 @@ Titrəyişli pəncərə animasiya sürəti - + Blur background Bulanıq arxa fon + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Şrift ölçüsü - + Opacity Qeyri-şəffaflıq @@ -381,16 +388,16 @@ Qısayollar - + Others Digəriləri - - + + Terminal Terminal @@ -400,62 +407,62 @@ İş sahəsi - + Custom commands Fərdi əmrlər - + Display shortcuts Qısayolları göstərmək - + Remote management Uzaqdan idarəetmə - + New tab Yeni vərəq - + Next tab Növbəti vərəq - + Previous tab Əvvəlki vərəq - + Select left workspace Sol iş sahəsini seçmək - + Select lower workspace Aşağı iş sahəsini seçmək - + Select right workspace Sağ iş sahəsini seçmək - + Select upper workspace Yuxarı iş sahəsini seçmək @@ -465,56 +472,56 @@ Vərəq başlıqları - + Go to tab 1 1 vərəqə keçid - + Go to tab 2 2 vərəqə keçid - + Go to tab 3 3 vərəqə keçid - + Go to tab 4 4 vərəqə keçid - + Go to tab 5 5 vərəqə keçid - + Go to tab 6 6 vərəqə keçid - + Go to tab 7 7 vərəqə keçid - + Go to tab 8 8 vərəqə keçid - + Go to tab 9 9 vərəqə keçid @@ -536,47 +543,47 @@ Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Başlığın adını dəyişmək - + Fullscreen Tam ekran - + Copy Kopyala - + Default size Standart ölçü - + Paste Əlavə et @@ -586,8 +593,8 @@ Axtar - + Select all Hamısını seçmək @@ -602,14 +609,14 @@ Əvvəlki əmrə keçmək - + Zoom in Yaxınlaşdır - + Zoom out Uzaqlaşdır @@ -619,29 +626,29 @@ Digər pəncərələri bağla - - + + Close other workspaces Başqa iş sahələrini bağlamaq - + Could not find "%1", starting "%2" instead. Please check your shell profile. "%1" tapılmadı, əvəzinə "%2" başladılır. Lütfən üz qabığı profilini yoxlayın. - + Could not open "%1", unable to run it "%1" açıla bilmədi, onu başlatmaq mümkün deyil - + Could not find "%1", unable to run it "%1" tapılmadı, onu başlatmaq mümkün olmadı - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Ctrl+S basmaqla çıxış dayandırıldı. Davam etmək üçün Ctrl+Q vurun. @@ -651,39 +658,34 @@ Pəncərəni bağlamaq - - + + Close workspace İş sahəsini bağla - + Horizontal split Üfüqi bölünmə - + Vertical split Şaquli bölünmə - + Find Tapmaq - - debuginfod urls - - - - - + + please set another one. lütfən başqasını təyin edin. @@ -698,8 +700,8 @@ Vərəqlər - + Close tab Vərəqi bağlamaq @@ -714,14 +716,14 @@ Fokusu "+" nişanına dəyişmək - + Select file to upload Yükləmək üçün faylı seçin - + Upload Yükləmək @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file Fayl saxlanılacaq qovluğu seçin @@ -784,10 +786,10 @@ Terminaldan artıq istifadə edə bilməyəcəksiniz. + - Cancel button İmtina @@ -830,15 +832,15 @@ Əmr başa çatdıqda terminalı açıq saxlamaq - + The name should be no more than 32 characters Ad 32 işarədən böyük olmamalıdır - - + + Select Seçmək @@ -848,20 +850,20 @@ Məxfi açar faylını seçmək - + Tab title format Vərəq başlığı formatı - + Remote tab title format Uzaq vərəq başlığı formatı - + Close other tabs Başqa vərəqləri bağlamaq @@ -884,7 +886,7 @@ Add Group - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Maksimum - + Fast Sürətli - + Slow Zəif @@ -1268,6 +1270,11 @@ Settings Tənzimləmələr + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_bg.ts b/translations/deepin-terminal_bg.ts index f34f51765..fd8f984c6 100644 --- a/translations/deepin-terminal_bg.ts +++ b/translations/deepin-terminal_bg.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -37,7 +39,7 @@ Delete Command - + @@ -66,22 +68,22 @@ Please enter a name - + Please enter a command - + The name already exists, - + please input another one. - + @@ -94,7 +96,7 @@ No commands yet - + @@ -118,12 +120,12 @@ Custom Theme - + Style: - + @@ -133,27 +135,27 @@ Dark - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + @@ -216,22 +218,22 @@ Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -273,7 +275,7 @@ Custom Theme - + @@ -291,7 +293,7 @@ Cursor style - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,18 +318,23 @@ Quake window animation speed - + - + Blur background Размазване на фон + + + debuginfod URLs + + Use on starting - + @@ -337,13 +344,13 @@ Font size - + - + Opacity - + @@ -381,16 +388,16 @@ Бързи клавиши - + Others Други - - + + Terminal Терминал @@ -400,183 +407,183 @@ Работно място - + Custom commands Потребителски команди - + Display shortcuts Комбинации за екрана - + Remote management Отдалечено управление - + New tab - + - + Next tab - + - + Previous tab - + - + Select left workspace - + - + Select lower workspace - + - + Select right workspace - + - + Select upper workspace - + Tab titles - + - + Go to tab 1 - + - + Go to tab 2 - + - + Go to tab 3 - + - + Go to tab 4 - + - + Go to tab 5 - + - + Go to tab 6 - + - + Go to tab 7 - + - + Go to tab 8 - + - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Преименуване на заглавие - + Fullscreen Цял екран - + Copy Копиране - + Default size Стандартен размер - + Paste Поставяне @@ -586,8 +593,8 @@ Търсене - + Select all Избери всички @@ -602,14 +609,14 @@ Скок към предишна команда - + Zoom in Увеличаване - + Zoom out Намаляване @@ -619,31 +626,31 @@ Затвори другите прозорци - - + + Close other workspaces - + - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + - + Could not open "%1", unable to run it - + - + Could not find "%1", unable to run it - + - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -651,77 +658,72 @@ Затваряне на прозореца - - + + Close workspace Затвори работното място - + Horizontal split Раздели хоризонтално - + Vertical split Вертикално разделяне - + Find Търси - - debuginfod urls - - - - - + + please set another one. - + Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. - + Tabs - + - + Close tab - + Select tab - + Switch focus to "+" icon - + - + Select file to upload Изберете файл за качване - + Upload Качване @@ -734,60 +736,60 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file - + Are you sure you want to uninstall it? - + Are you sure you want to uninstall this application? - + You will not be able to use Terminal any longer. - + + - Cancel button Отказ @@ -802,43 +804,43 @@ Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + - + The name should be no more than 32 characters - + - - + + Select Избери @@ -848,22 +850,22 @@ Избор на файл частен ключ - + Tab title format - + - + Remote tab title format - + - + Close other tabs - + @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -907,7 +909,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1036,32 +1038,32 @@ Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. - + @@ -1078,7 +1080,7 @@ Split screen - + @@ -1093,15 +1095,15 @@ Maximum - + - + Fast Бързо - + Slow Бавно @@ -1112,14 +1114,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1127,55 +1129,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1216,7 +1218,7 @@ New tab - + @@ -1268,6 +1270,11 @@ Settings Настройки + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ ОК - \ No newline at end of file + diff --git a/translations/deepin-terminal_bo.ts b/translations/deepin-terminal_bo.ts index 9a1947abb..ea6be7961 100644 --- a/translations/deepin-terminal_bo.ts +++ b/translations/deepin-terminal_bo.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -208,7 +210,7 @@ The name should be no more than 30 characters - + མིང་གི་རིང་ཐུང་ཡིག་རྟགས་32ལས་བརྒལ་མི་རུང་། {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,14 +318,19 @@ Quake window animation speed - + - + Blur background རྒྱབ་ལྗོངས་མི་གསལ། + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ ཡིག་གཟུགས་ཆེ་ཆུང་། - + Opacity གསལ་ཚད། @@ -381,16 +388,16 @@ མྱུར་མཐེབ། - + Others གཞན་དག - - + + Terminal མཐའ་སྣེ། @@ -400,62 +407,62 @@ ལས་ཀ་བྱེད་ས། - + Custom commands རང་སྒྲུབ་བཀའ། - + Display shortcuts མྱུར་མཐེབ་མངོན་པ། - + Remote management རྒྱང་རིང་དོ་དམ། - + New tab གསར་བཟོས་གདོང་འཛར། - + Next tab གདོང་འཛར་ཤོག་ལྷེ་རྗེས་མ། - + Previous tab གདོང་འཛར་ཤོག་ལྷེ་གོང་མ། - + Select left workspace གཡོན་གྱི་ལས་ཀ་བྱེད་ཁུལ་འདེམས་པ། - + Select lower workspace གཤམ་གྱི་ལས་ཀ་བྱེད་ཁུལ་འདེམས་པ། - + Select right workspace གཡས་ཀྱི་ལས་ཀ་བྱེད་ཁུལ་འདེམས་པ། - + Select upper workspace གོང་གི་ལས་ཀ་བྱེད་ཁུལ་འདེམས་པ། @@ -465,56 +472,56 @@ གདོང་འཛར་གྱི་ཁ་བྱང་། - + Go to tab 1 གདོང་འཛར་1བརྗེ་བ། - + Go to tab 2 གདོང་འཛར་2བརྗེ་བ། - + Go to tab 3 གདོང་འཛར་3བརྗེ་བ། - + Go to tab 4 གདོང་འཛར་4བརྗེ་བ། - + Go to tab 5 གདོང་འཛར་5བརྗེ་བ། - + Go to tab 6 གདོང་འཛར་6བརྗེ་བ། - + Go to tab 7 གདོང་འཛར་7བརྗེ་བ། - + Go to tab 8 གདོང་འཛར་8བརྗེ་བ། - + Go to tab 9 གདོང་འཛར་9བརྗེ་བ། @@ -531,52 +538,52 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title ཁ་བྱང་གི་མིང་བསྐྱར་འདོགས། - + Fullscreen ཡོལ་གང་། - + Copy མཁོ་ཕབ། - + Default size སོར་བཞག་ཆེ་ཆུང་། - + Paste སྦྱར་བ། @@ -586,8 +593,8 @@ བཤེར་འཚོལ། - + Select all ཡོངས་འདེམས། @@ -602,14 +609,14 @@ བཀའ་སྔ་མར་མཆོང་བ། - + Zoom in ཆེར་གཏོང་། - + Zoom out ཝང་གཏོང་། @@ -619,29 +626,29 @@ སྒེའུ་ཁུང་གཞན་ཁ་རྒྱག - - + + Close other workspaces ལས་ཀ་བྱེད་ཡུལ་གཞན་དག་ཁ་རྒྱག - + Could not find "%1", starting "%2" instead. Please check your shell profile. “%1”རྙེད་མེད་པས། “%2”ཚབ་བྱས་པ། Shellསྒྲིག་འགོད་ལ་ཞིབ་བཤེར་བྱེད། - + Could not open "%1", unable to run it "%1"ཕྱེ་མི་ཐུབ་པས། རྒྱུན་ལྡན་ལྟར་སྤྱོད་ཐབས་བྲལ། - + Could not find "%1", unable to run it “%1”རྙེད་མེད་པས། རྒྱུན་ལྡན་ལྟར་བེད་སྤྱོད་བྱ་ཐབས་བྲལ། - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Ctrl+Sམནན་ནས་བཀལ་ཟིན་པས། Ctrl+Qམནན་ན་མུ་མཐུད་བེད་སྤྱོད་བྱེད་ཆོག @@ -651,39 +658,34 @@ སྒེའུ་ཁུང་བརྒྱབ་པ། - - + + Close workspace ལས་ཀྱ་བྱེད་ཡུལ་ཁ་རྒྱག - + Horizontal split བརྙན་ཡོལ་འཕྲེད་དུ་འབྱེད་པ། - + Vertical split བརྙན་ཡོལ་གཞུང་དུ་འབྱེད་པ། - + Find འཚོལ་བཤེར། - - debuginfod urls - - - - - + + please set another one. ཡང་བསྐྱར་སྒྲིག་འགོད་བྱེད་རོགས། @@ -698,8 +700,8 @@ གདོང་འཛར་ཤོག་ངོས། - + Close tab གདོང་འཛར་ཤོག་ངོས་ཁ་རྒྱག་པ། @@ -714,14 +716,14 @@ འོད་རྟགས་མདོ་ཚེག་པར་རིས་“+”ལ་བརྗེ་བ། - + Select file to upload སྐྱེལ་འཇོག་བྱེད་པའི་ཡིག་ཆ་འདེམས་རྒྱུ། - + Upload སྐྱེལ་འཇོག @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file ཕབ་ལེན་བྱས་པའི་ཡིག་ཆའི་ཉར་ཚགས་དཀར་ཆག་བྱ་ཡུལ་འདེམས་རྒྱུ། @@ -784,10 +786,10 @@ བཤིག་འདོན་བྱས་རྗེས་ཉེར་སྤྱོད་འདི་སྤྱོད་ཐབས་མེད། + - Cancel button འདོར་བ། @@ -830,15 +832,15 @@ མཐའ་སྣེས་བཀའ་འམ་འཁྲབ་གཞུང་ལག་བསྟར་བྱས་རྗེས་ཀྱི་འབྲས་བུ་མངོན་རྒྱུ་སྒྲིག་འགོད་བྱ་རྒྱུ། - + The name should be no more than 32 characters མིང་གི་རིང་ཐུང་ཡིག་རྟགས་32ལས་བརྒལ་མི་རུང་། - - + + Select ཡིག་བརྙན་འདེམས་པ། @@ -848,20 +850,20 @@ སྒེར་གྱི་ཡིག་ཆ་འདེམས་རྒྱུ། - + Tab title format གདོང་འཛར་ཁ་བྱང་གི་རྣམ་གཞག - + Remote tab title format རྒྱང་སྦྲེལ་གདོང་འཛར་ཁ་བྱང་གི་རྣམ་གཞག - + Close other tabs གདོང་འཛར་ཤོག་ངོས་གཞན་དག་ཁ་རྒྱོབ། @@ -884,7 +886,7 @@ Add Group - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ ཆེ་སྒྱུར། - + Fast མགྱོགས་པོ། - + Slow དལ་པོ། @@ -1268,6 +1270,11 @@ Settings སྒྲིག་འགོད། + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ གཏན་ཁེལ། - \ No newline at end of file + diff --git a/translations/deepin-terminal_br.ts b/translations/deepin-terminal_br.ts index 07217d0d2..ff54c3630 100644 --- a/translations/deepin-terminal_br.ts +++ b/translations/deepin-terminal_br.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -94,7 +96,7 @@ No commands yet - + @@ -118,42 +120,42 @@ Custom Theme - + Style: - + Light - + Dark - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + N'hall ket bezañ hiroc'h an anv evit 32 arouezenn {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -273,7 +275,7 @@ Custom Theme - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,14 +318,19 @@ Quake window animation speed - + - + Blur background Disteraat an drek-leur + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Ment ar skritur - + Opacity Treuzwelusted @@ -381,16 +388,16 @@ Berradurioù - + Others Traoù all - - + + Terminal Terminal @@ -400,183 +407,183 @@ Spas-labour - + Custom commands Urzhiadoù personnelaet - + Display shortcuts Diskouez ar berradurioù - + Remote management Kontrolliñ a-bell - + New tab - + - + Next tab - + - + Previous tab - + - + Select left workspace - + - + Select lower workspace - + - + Select right workspace - + - + Select upper workspace - + Tab titles - + - + Go to tab 1 - + - + Go to tab 2 - + - + Go to tab 3 - + - + Go to tab 4 - + - + Go to tab 5 - + - + Go to tab 6 - + - + Go to tab 7 - + - + Go to tab 8 - + - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Adenvel an titl - + Fullscreen Skramm-leun - + Copy Eilañ - + Default size Ment dre ziouer - + Paste Pegañ @@ -586,8 +593,8 @@ Klask - + Select all Diuzañ pep-tra @@ -602,14 +609,14 @@ Mont d'an urzhiad kent - + Zoom in Zoumañ - + Zoom out Dizoumañ @@ -619,31 +626,31 @@ Serriñ ar prinistri all - - + + Close other workspaces Serriñ ar spasoù-labour all - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + - + Could not open "%1", unable to run it - + - + Could not find "%1", unable to run it - + - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -651,39 +658,34 @@ Serriñ ar prenestr - - + + Close workspace Serriñ ar spas-labour - + Horizontal split Rannañ a-blaen - + Vertical split Rannañ a-blom - + Find Kavout - - debuginfod urls - - - - - + + please set another one. termenit unan all mar plij. @@ -695,33 +697,33 @@ Tabs - + - + Close tab - + Select tab - + Switch focus to "+" icon - + - + Select file to upload Diuzañ ar restr da bellgas - + Upload Pellgas @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file Diuzit ur c'havlec'h evit enrollañ ar restr @@ -784,10 +786,10 @@ Ne vo ket posupl deoc'h implijout Terminal ken. + - Cancel button Nullañ @@ -830,15 +832,15 @@ Mirout an terminal digoret pa echu an urzhiad - + The name should be no more than 32 characters N'hall ket bezañ hiroc'h an anv evit 32 arouezenn - - + + Select Diuzañ @@ -848,22 +850,22 @@ Diuzit ar restr alc'hwez prevez - + Tab title format - + - + Remote tab title format - + - + Close other tabs - + @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1096,14 +1098,14 @@ Maksimom - + Fast - + - + Slow - + @@ -1127,55 +1129,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1216,7 +1218,7 @@ New tab - + @@ -1268,6 +1270,11 @@ Settings Arventennoù + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ Mat eo - \ No newline at end of file + diff --git a/translations/deepin-terminal_ca.ts b/translations/deepin-terminal_ca.ts index cbee924c0..a69821446 100644 --- a/translations/deepin-terminal_ca.ts +++ b/translations/deepin-terminal_ca.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -319,11 +321,16 @@ Velocitat de l'animació de la finestra del Quake - + Blur background Fons difuminat + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Mida de la lletra - + Opacity Opacitat @@ -381,16 +388,16 @@ Dreceres - + Others Altres - - + + Terminal Terminal @@ -400,62 +407,62 @@ Espai de treball - + Custom commands Ordres personalitzades - + Display shortcuts Mostra les dreceres - + Remote management Gestió remota - + New tab Pestanya nova - + Next tab Pestanya següent - + Previous tab Pestanya anterior - + Select left workspace Selecciona l'espai de treball de l'esquerra - + Select lower workspace Selecciona l'espai de treball de baix - + Select right workspace Selecciona l'espai de treball de la dreta - + Select upper workspace Selecciona l'espai de treball de dalt @@ -465,56 +472,56 @@ Títols de les pestanyes - + Go to tab 1 Ves a la pestanya 1 - + Go to tab 2 Ves a la pestanya 2 - + Go to tab 3 Ves a la pestanya 3 - + Go to tab 4 Ves a la pestanya 4 - + Go to tab 5 Ves a la pestanya 5 - + Go to tab 6 Ves a la pestanya 6 - + Go to tab 7 Ves a la pestanya 7 - + Go to tab 8 Ves a la pestanya 8 - + Go to tab 9 Ves a la pestanya 9 @@ -549,34 +556,34 @@ El servidor de fitxers HTTP usat per transmetre recursos d'informació de depuració - - - + + + Rename title Canvia'n el títol - + Fullscreen Pantalla completa - + Copy Copia - + Default size Mida per defecte - + Paste Enganxa @@ -586,8 +593,8 @@ Cerca - + Select all Selecciona-ho tot @@ -602,14 +609,14 @@ Salta a l'ordre anterior - + Zoom in Ampliació - + Zoom out Reducció @@ -619,29 +626,29 @@ Tanca les altres finestres - - + + Close other workspaces Tanca altres espais de treball - + Could not find "%1", starting "%2" instead. Please check your shell profile. No s'ha pogut trobar "%1", s'inicia "%2". Si us plau, comproveu el perfil de l'intèrpret d'ordres. - + Could not open "%1", unable to run it No s'ha pogut obrir "%1". No es pot executar. - + Could not find "%1", unable to run it No s'ha pogut trobar "%1", no es pot executar. - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. La sortida s'ha suspès prement Ctrl+S. Premeu Ctrl+Q per reprendre-la. @@ -651,39 +658,38 @@ Tanca la finestra - - + + Close workspace Tanca l'espai de treball - + Horizontal split Divisió horitzontal - + Vertical split Divisió vertical - + Find Troba - debuginfod urls - URL de la informació de depuració + URL de la informació de depuració - - + + please set another one. si us plau, establiu-ne un/a altre/a. @@ -698,8 +704,8 @@ Pestanyes - + Close tab Tanca la pestanya @@ -714,14 +720,14 @@ Canvia el focus a la icona "+" - + Select file to upload Seleccioneu el fitxer per carregar - + Upload Carrega @@ -761,8 +767,8 @@ Encara hi ha processos que s'executen en aquesta finestra. Tancar-la els matarà tots. - + Select a directory to save the file Seleccioneu un directori per desar-hi el fitxer. @@ -784,10 +790,10 @@ Ja no podreu usar més el Terminal. + - Cancel button Cancel·la @@ -830,15 +836,15 @@ Mantén el terminal obert quan l'odre acabi. - + The name should be no more than 32 characters El nom no hauria de superar els 32 caràcters. - - + + Select Selecciona @@ -848,20 +854,20 @@ Selecciona el fitxer de clau privada - + Tab title format Format del títol de les pestanyes - + Remote tab title format Format remot del títol de les pestanyes - + Close other tabs Tanca les altres pestanyes @@ -1096,12 +1102,12 @@ Màxim - + Fast Ràpid - + Slow Lent @@ -1268,6 +1274,11 @@ Settings Configuració + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1303,4 @@ D'acord - \ No newline at end of file + diff --git a/translations/deepin-terminal_cs.ts b/translations/deepin-terminal_cs.ts index 2e1bb1e99..d5754d51f 100644 --- a/translations/deepin-terminal_cs.ts +++ b/translations/deepin-terminal_cs.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -208,7 +210,7 @@ The name should be no more than 30 characters - + Jméno by nemělo být delší než 32 znaků {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -319,11 +321,16 @@ Rychlost animace vysouvání okna - + Blur background Rozmazat pozadí + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Velikost písma - + Opacity Neprůhlednost @@ -381,16 +388,16 @@ Klávesové zkratky - + Others Ostatní - - + + Terminal Terminál @@ -400,62 +407,62 @@ Pracovní plocha - + Custom commands Uživatelsky určené příkazy - + Display shortcuts Zobrazit klávesové zkratky - + Remote management Správa na dálku - + New tab Nová karta - + Next tab Další karta - + Previous tab Předchozí karta - + Select left workspace Vybrat pracovní plochu vlevo - + Select lower workspace Vybrat pracovní plochu níže - + Select right workspace Vybrat pracovní plochu vpravo - + Select upper workspace Vybrat pracovní plochu výše @@ -465,56 +472,56 @@ Dlaždice karty - + Go to tab 1 Přejít na kartu 1 - + Go to tab 2 Přejít na kartu 2 - + Go to tab 3 Přejít na kartu 3 - + Go to tab 4 Přejít na kartu 4 - + Go to tab 5 Přejít na kartu 5 - + Go to tab 6 Přejít na kartu 6 - + Go to tab 7 Přejít na kartu 7 - + Go to tab 8 Přejít na kartu 8 - + Go to tab 9 Přejít na kartu 9 @@ -536,47 +543,47 @@ Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Změnit titulek - + Fullscreen Celá obrazovka - + Copy Zkopírovat - + Default size Výchozí velikost - + Paste Vložit @@ -586,8 +593,8 @@ Hledat - + Select all Vybrat vše @@ -602,14 +609,14 @@ Skočit na předchozí příkaz - + Zoom in Přiblížit - + Zoom out Oddálit @@ -619,29 +626,29 @@ Zavřít další okna - - + + Close other workspaces Zavřít ostatní pracovní plochy - + Could not find "%1", starting "%2" instead. Please check your shell profile. „%1“ se nepodařilo najít. Náhradně se spouští „%2“. Zkontrolujte svůj profil pro shell. - + Could not open "%1", unable to run it Nepodařilo se otevřít „%1“, není možné ho spustit - + Could not find "%1", unable to run it „%1“ se nedaří najít, není možné ho spustit - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Výstup byl pozastaven stisknutím Ctrl+S. Pokud chcete pokračovat, stiskněte Ctrl+Q. @@ -651,39 +658,34 @@ Zavřít okno - - + + Close workspace Zavřít pracovní plochu - + Horizontal split Vodorovné rozdělení - + Vertical split Svislé rozdělení - + Find Najít - - debuginfod urls - - - - - + + please set another one. nastavte jiné. @@ -698,8 +700,8 @@ Karty - + Close tab Zavřít kartu @@ -714,14 +716,14 @@ Přepnout zaměření na ikonu „+“ (plus) - + Select file to upload Vyberte soubor k nahrání - + Upload Nahrát @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file Vyberte složku pro uložení souboru @@ -784,10 +786,10 @@ Nadále už nebudete moci Terminál používat. + - Cancel button Zrušit @@ -830,15 +832,15 @@ Ponechat terminál otevřený i po skončení příkazu - + The name should be no more than 32 characters Jméno by nemělo být delší než 32 znaků - - + + Select Vybrat @@ -848,20 +850,20 @@ Vybrat soubor se soukromým klíčem - + Tab title format Formát nadpisu karty - + Remote tab title format Formát nadpisu vzdálené karty - + Close other tabs Zavřít ostatní karty @@ -884,7 +886,7 @@ Add Group - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Maximalizováno - + Fast Rychlá - + Slow Pomalá @@ -1268,6 +1270,11 @@ Settings Nastavení + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_da.ts b/translations/deepin-terminal_da.ts index a04cd02fa..668bd4811 100644 --- a/translations/deepin-terminal_da.ts +++ b/translations/deepin-terminal_da.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -37,7 +39,7 @@ Delete Command - + @@ -66,22 +68,22 @@ Please enter a name - + Please enter a command - + The name already exists, - + please input another one. - + @@ -94,7 +96,7 @@ No commands yet - + @@ -118,12 +120,12 @@ Custom Theme - + Style: - + @@ -138,22 +140,22 @@ Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + @@ -216,22 +218,22 @@ Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -273,7 +275,7 @@ Custom Theme - + @@ -291,7 +293,7 @@ Cursor style - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,18 +318,23 @@ Quake window animation speed - + - + Blur background Sløret baggrund + + + debuginfod URLs + + Use on starting - + @@ -337,13 +344,13 @@ Font size - + - + Opacity - + @@ -381,16 +388,16 @@ Genveje - + Others Andre - - + + Terminal Terminal @@ -400,183 +407,183 @@ Arbejdsområde - + Custom commands Brugerdefinerede kommandoer - + Display shortcuts Vis genveje - + Remote management Fjern-håndtering - + New tab - + - + Next tab - + - + Previous tab - + - + Select left workspace - + - + Select lower workspace - + - + Select right workspace - + - + Select upper workspace - + Tab titles - + - + Go to tab 1 - + - + Go to tab 2 - + - + Go to tab 3 - + - + Go to tab 4 - + - + Go to tab 5 - + - + Go to tab 6 - + - + Go to tab 7 - + - + Go to tab 8 - + - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Omdøb titel - + Fullscreen Fuldskærm - + Copy Kopiér - + Default size Standardstørrelse - + Paste Indsæt @@ -586,8 +593,8 @@ Søg - + Select all Vælg alle @@ -602,14 +609,14 @@ Hop til forrige kommando - + Zoom in Zoom ind - + Zoom out Zoom ud @@ -619,31 +626,31 @@ Luk andre vinduer - - + + Close other workspaces - + - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + - + Could not open "%1", unable to run it - + - + Could not find "%1", unable to run it - + - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -651,41 +658,36 @@ Luk vindue - - + + Close workspace Luk arbejdsområde - + Horizontal split Vandret opdeling - + Vertical split Lodret opdeling - + Find Find - - debuginfod urls - - - - - + + please set another one. - + @@ -695,33 +697,33 @@ Tabs - + - + Close tab - + Select tab - + Switch focus to "+" icon - + - + Select file to upload Vælg til som skal uploades - + Upload Upload @@ -734,60 +736,60 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file - + Are you sure you want to uninstall it? - + Are you sure you want to uninstall this application? - + You will not be able to use Terminal any longer. - + + - Cancel button Annuller @@ -802,43 +804,43 @@ Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + - + The name should be no more than 32 characters - + - - + + Select Vælg @@ -848,22 +850,22 @@ Vælg den private nøglefil - + Tab title format - + - + Remote tab title format - + - + Close other tabs - + @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -907,7 +909,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1036,32 +1038,32 @@ Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. - + @@ -1078,7 +1080,7 @@ Split screen - + @@ -1093,15 +1095,15 @@ Maximum - + - + Fast Hurtig - + Slow Langsom @@ -1112,14 +1114,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1133,49 +1135,49 @@ username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1216,7 +1218,7 @@ New tab - + @@ -1268,6 +1270,11 @@ Settings Indstillinger + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_de.ts b/translations/deepin-terminal_de.ts index aafb83274..b9c2cc8df 100644 --- a/translations/deepin-terminal_de.ts +++ b/translations/deepin-terminal_de.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -319,11 +321,16 @@ Quake-Window-Animationsgeschwindigkeit - + Blur background Hintergrund weichzeichnen + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Schriftgröße - + Opacity Deckkraft @@ -381,16 +388,16 @@ Tastenkürzel - + Others Andere - - + + Terminal Terminal @@ -400,62 +407,62 @@ Arbeitsfläche - + Custom commands Benutzerdefinierte Befehle - + Display shortcuts Tastenkürzel anzeigen - + Remote management Fernverwaltung - + New tab Neuer Tab - + Next tab Nächster Tab - + Previous tab Vorheriger Tab - + Select left workspace Linke Arbeitsfläche auswählen - + Select lower workspace Untere Arbeitsfläche auswählen - + Select right workspace Rechte Arbeitsfläche auswählen - + Select upper workspace Obere Arbeitsfläche auswählen @@ -465,56 +472,56 @@ Tab-Titel - + Go to tab 1 Gehe zu Tab 1 - + Go to tab 2 Gehe zu Tab 2 - + Go to tab 3 Gehe zu Tab 3 - + Go to tab 4 Gehe zu Tab 4 - + Go to tab 5 Gehe zu Tab 5 - + Go to tab 6 Gehe zu Tab 6 - + Go to tab 7 Gehe zu Tab 7 - + Go to tab 8 Gehe zu Tab 8 - + Go to tab 9 Gehe zu Tab 9 @@ -541,42 +548,42 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Titel umbenennen - + Fullscreen Vollbild - + Copy Kopieren - + Default size Standardgröße - + Paste Einfügen @@ -586,8 +593,8 @@ Suchen - + Select all Alles auswählen @@ -602,14 +609,14 @@ Zum vorherigen Befehl springen - + Zoom in Hineinzoomen: - + Zoom out Hinauszoomen: @@ -619,29 +626,29 @@ Andere Fenster schließen - - + + Close other workspaces Andere Arbeitsflächen schließen - + Could not find "%1", starting "%2" instead. Please check your shell profile. Konnte "%1" nicht finden, starte stattdessen "%2". Bitte überprüfen Sie ihr Shell-Profil. - + Could not open "%1", unable to run it Konnte "%1" nicht öffnen und nicht starten - + Could not find "%1", unable to run it Konnte "%1" nicht finden und nicht starten - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Die Ausgabe wurde durch Drücken von Strg+S unterbrochen. Zum Fortsetzen Strg+Q drücken. @@ -651,39 +658,34 @@ Fenster schließen - - + + Close workspace Arbeitsfläche schließen - + Horizontal split Horizontal teilen - + Vertical split Vertikal teilen - + Find Suchen - - debuginfod urls - - - - - + + please set another one. bitte einen anderen festlegen. @@ -698,8 +700,8 @@ Tabs - + Close tab Tab schließen @@ -714,14 +716,14 @@ Fokus auf "+"-Icon legen - + Select file to upload Datei zum Hochladen auswählen - + Upload Hochladen @@ -761,8 +763,8 @@ Es laufen noch Prozesse in diesem Fenster. Das Schließen des Fensters wird alle Prozesse beenden. - + Select a directory to save the file Ein Verzeichnis zum Speichern der Datei auswählen @@ -784,10 +786,10 @@ Sie können das Terminal nicht länger verwenden. + - Cancel button Abbrechen @@ -830,15 +832,15 @@ Terminal offen lassen, wenn der Befehl abgeschlossen ist - + The name should be no more than 32 characters Der Name sollte nicht länger als 32 Zeichen sein - - + + Select Auswählen @@ -848,20 +850,20 @@ Private Schlüsseldatei auswählen - + Tab title format Tab-Titel-Format - + Remote tab title format Fernzugriffs-Tab-Titel-Format - + Close other tabs Andere Tabs schließen @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Maximum - + Fast Schnell - + Slow Langsam @@ -1268,6 +1270,11 @@ Settings Einstellungen + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_el.ts b/translations/deepin-terminal_el.ts index 7a569430c..a6f8b3c32 100644 --- a/translations/deepin-terminal_el.ts +++ b/translations/deepin-terminal_el.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -66,12 +68,12 @@ Please enter a name - + Please enter a command - + @@ -94,7 +96,7 @@ No commands yet - + @@ -118,12 +120,12 @@ Custom Theme - + Style: - + @@ -138,22 +140,22 @@ Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + To όνομα δεν πρέπει να είναι περισσότερο από 32 χαρακτήρες {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -273,7 +275,7 @@ Custom Theme - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,14 +318,19 @@ Quake window animation speed - + - + Blur background Θωλό παρασκήνιο + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Μέγεθος γραμματοσειράς - + Opacity Αδιαφάνεια @@ -381,16 +388,16 @@ Συντομεύσεις - + Others Άλλα - - + + Terminal Τερματικό @@ -400,183 +407,183 @@ Χώρος εργασίας - + Custom commands Προσαρμοσμένες εντολές - + Display shortcuts Προβολή συντομεύσεων - + Remote management Απομακρυσμένη διαχείριση - + New tab - + - + Next tab Επόμενη καρτέλα - + Previous tab - + - + Select left workspace - + - + Select lower workspace - + - + Select right workspace - + - + Select upper workspace - + Tab titles - + - + Go to tab 1 - + - + Go to tab 2 - + - + Go to tab 3 - + - + Go to tab 4 - + - + Go to tab 5 - + - + Go to tab 6 - + - + Go to tab 7 - + - + Go to tab 8 - + - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Μετονομασία τίτλου - + Fullscreen Πλήρης οθόνη - + Copy Αντιγραφή - + Default size Προεπιλεγμένο μέγεθος - + Paste Επικόλληση @@ -586,8 +593,8 @@ Αναζήτηση - + Select all Επιλογή όλων @@ -602,14 +609,14 @@ Μετάβαση στην προηγούμενη εντολή - + Zoom in Μεγέθυνση - + Zoom out Σμίκρυνση @@ -619,31 +626,31 @@ Κλείσιμο άλλων παραθύρων - - + + Close other workspaces Κλείσιμο άλλων χώρων εργασίας - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + - + Could not open "%1", unable to run it - + - + Could not find "%1", unable to run it - + - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -651,77 +658,72 @@ Κλείσιμο παράθυρου - - + + Close workspace Κλείσιμο χώρου εργασίας - + Horizontal split Οριζόντια διαίρεση - + Vertical split Κάθετη διαίρεση - + Find Εύρεση - - debuginfod urls - - - - - + + please set another one. - + Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. - + Tabs - + - + Close tab - + Select tab - + Switch focus to "+" icon - + - + Select file to upload Επιλογή αρχείου προς μεταφόρτωση - + Upload Μεταφόρτωση @@ -734,19 +736,19 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file Επιλέξτε φάκελο για αποθήκευση του αρχείου @@ -781,13 +783,13 @@ You will not be able to use Terminal any longer. - + + - Cancel button Ακύρωση @@ -807,38 +809,38 @@ Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + - + The name should be no more than 32 characters To όνομα δεν πρέπει να είναι περισσότερο από 32 χαρακτήρες - - + + Select Επιλογή @@ -848,22 +850,22 @@ Επιλογή αρχείου ιδιωτικού κλειδιού - + Tab title format - + - + Remote tab title format - + - + Close other tabs - + @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -907,7 +909,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1078,7 +1080,7 @@ Split screen - + @@ -1093,15 +1095,15 @@ Maximum - + - + Fast Γρήγορα - + Slow Αργά @@ -1112,14 +1114,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1127,55 +1129,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1216,7 +1218,7 @@ New tab - + @@ -1268,6 +1270,11 @@ Settings Ρυθμίσεις + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_en.ts b/translations/deepin-terminal_en.ts index 34480a496..e7b37bf03 100644 --- a/translations/deepin-terminal_en.ts +++ b/translations/deepin-terminal_en.ts @@ -21,66 +21,66 @@ - - + + Required Required - + Add Command Add Command - + Edit Command Edit Command - + Delete Command Delete Command - + Cancel button Cancel - + Add button Add - + Save button Save - + Please enter a name Please enter a name - + Please enter a command Please enter a command - + The name already exists, The name already exists, - + please input another one. please input another one. - + OK button OK @@ -89,12 +89,12 @@ CustomCommandPanel - + Add Command Add Command - + No commands yet No commands yet @@ -110,7 +110,7 @@ CustomCommandSearchRstPanel - + Search Search @@ -118,68 +118,126 @@ CustomThemeSettingDialog - + Custom Theme Custom Theme - + Style: Style: - + Light Light - + Dark Dark - + Fore color: Fore color: - + Back color: Back color: - + Prompt PS1: Prompt PS1: - + Prompt PS2: Prompt PS2: - + Cancel button Cancel - + Confirm button Confirm + + GroupConfigOptDlg + + + Group Name(Required) + + + + + Add Group + + + + + Edit Group + + + + + Cancel + Cancel + + + + Add + Add + + + + Save + Save + + + + Please enter a group name + + + + + The name should be no more than 30 characters + The name should be no more than 32 characters {30 ?} + + ListView - + Delete Server Delete Server - - + + Delete Custom Command + + + + + Cancel Server Group + + + + + Ungrouped servers will go back to server list! + + + + + Are you sure you want to delete %1? Are you sure you want to delete %1? @@ -187,35 +245,35 @@ MainWindow - - + + New window New window - + Settings Settings - + Cancel button Cancel - + Close button Close - + Type path to download file Type path to download file - + Custom Theme Custom Theme @@ -223,90 +281,90 @@ QObject - - - - + + + + Cancel button Cancel - + Delete button Delete - - + + Confirm button Confirm - - - + + + Close workspace Close workspace - - - + + + Close other workspaces Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it Could not open "%1", unable to run it - + Could not find "%1", unable to run it Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - - + + Tab title format Tab title format - - + + Remote tab title format Remote tab title format - - - - + + + + Rename title Rename title - - + + Close tab Close tab - - + + Close other tabs Close other tabs @@ -337,333 +395,354 @@ + Allow Ctrl+scrollwheel to zoom text size + + + + Hide Quake window after losing focus Hide Quake window after losing focus - + Quake window animation speed Quake window animation speed - - + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + Blur background Blur background - + + debuginfod URLs + + + + Use on starting Use on starting - + Font Font - + Font size Font size - - + + Opacity Opacity - + Advanced Advanced - + Cursor Cursor - + Scroll Scroll - + Window Window - + Basic Basic - + Interface Interface - + Shortcuts Shortcuts - - + + Others Others - + + - + Terminal Terminal - + Workspace Workspace - - + + Custom commands Custom commands - - + + Display shortcuts Display shortcuts - - + + Remote management Remote management - - + + Fullscreen Fullscreen - - + + Copy Copy - - + + Default size Default size - - + + Paste Paste - + Search Search - - + + Select all Select all - + Jump to next command Jump to next command - + Jump to previous command Jump to previous command - - + + Zoom in Zoom in - - + + Zoom out Zoom out - + Close other windows Close other windows - + Close window Close window - - + + Horizontal split Horizontal split - - + + New tab New tab - - + + Next tab Next tab - - + + Previous tab Previous tab - - + + Select left workspace Select left workspace - - + + Select lower workspace Select lower workspace - - + + Select right workspace Select right workspace - - + + Select upper workspace Select upper workspace - - + + Vertical split Vertical split - - + + Find Find - + Tab titles Tab titles - - + + Go to tab 1 Go to tab 1 - - + + Go to tab 2 Go to tab 2 - - + + Go to tab 3 Go to tab 3 - - + + Go to tab 4 Go to tab 4 - - + + Go to tab 5 Go to tab 5 - - + + Go to tab 6 Go to tab 6 - - + + Go to tab 7 Go to tab 7 - - + + Go to tab 8 Go to tab 8 - - + + Go to tab 9 Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile Shell profile - + History size History scrollback size - + Include special character(s) in double click selections - - + + The name should be no more than 32 characters The name should be no more than 32 characters - + Select the private key file Select the private key file - - - + + + Select Select @@ -673,131 +752,143 @@ Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. - + Tabs Tabs - + Switch focus to "+" icon Switch focus to "+" icon - + Select tab Select tab - - + + Select file to upload Select file to upload - - + + Upload Upload - - + + Select a directory to save the file Select a directory to save the file - - - + + + There is still a process running in this terminal. Closing the terminal will terminate it. + + + + + + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. + + + + + + There are still processes running in this window. Closing the window will terminate all of them. + + + + + + please set another one. please set another one. - - + + Close this terminal? Close this terminal? - - There is still a process running in this terminal. Closing the terminal will kill it. - There is still a process running in this terminal. Closing the terminal will kill it. + There is still a process running in this terminal. Closing the terminal will kill it. - - There are still %1 processes running in this terminal. Closing the terminal will kill all of them. - There are still %1 processes running in this terminal. Closing the terminal will kill all of them. + There are still %1 processes running in this terminal. Closing the terminal will kill all of them. - - + + Close this window? Close this window? - - There are still processes running in this window. Closing the window will kill all of them. - There are still processes running in this window. Closing the window will kill all of them. + There are still processes running in this window. Closing the window will kill all of them. - + Programs are still running in terminal Programs are still running in terminal - + Are you sure you want to uninstall it? Are you sure you want to uninstall it? - - + + Are you sure you want to uninstall this application? Are you sure you want to uninstall this application? - - + + You will not be able to use Terminal any longer. You will not be able to use Terminal any longer. - - + + OK button OK - + Set the work directory Set the work directory - + Set the window mode on starting Set the window mode on starting - + Execute a command in the terminal Execute a command in the terminal - + Run script string in the terminal Run script string in the terminal - + Run in quake mode Run in quake mode - + Keep terminal open when command finishes Keep terminal open when command finishes @@ -805,12 +896,17 @@ RemoteManagementPanel - + + Add Group + + + + Add Server Add Server - + No servers yet No servers yet @@ -831,145 +927,161 @@ RemoteManagementSearchPanel - + Search Search + + ServerConfigManager + + + Groups + + + + + Servers + + + ServerConfigOptDlg - Advanced options - Advanced options + Advanced options - + Add Server Add Server - + Server name: Server name: - - - + + + Required Required - + Address: Address: - + Port: Port: - + Username: Username: - + Password: Password: - + Certificate: Certificate: - + Group: Group: - + + No Group + + + + Path: Path: - + Command: Command: - + Encoding: Encoding: - + Backspace key: Backspace key: - + Delete key: Delete key: - Delete server - Delete server + Delete server - + Cancel button Cancel - + Add button Add - + Edit Server Edit Server - + Save button Save - + Please enter a server name Please enter a server name - + Please enter an IP address Please enter an IP address - + Please enter a port Please enter a port - + Please enter a username Please enter a username - + The server name already exists, The server name already exists, - + please input another one. please input another one. @@ -977,7 +1089,7 @@ Service - + OK button OK @@ -986,32 +1098,32 @@ Settings - + Normal window Normal window - + Split screen Split screen - + Maximum Maximum - + Fullscreen Fullscreen - + Fast Fast - + Slow Slow @@ -1035,55 +1147,55 @@ TabRenameWidget - + Insert Insert - - + + username: %u username: %u - + username@: %U username@: %U - + remote host: %h remote host: %h - - + + session number: %# session number: %# - - + + title set by shell: %w title set by shell: %w - + program name: %n program name: %n - + current directory (short): %d current directory (short): %d - + current directory (long): %D current directory (long): %D - + local host: %h local host: %h @@ -1091,112 +1203,117 @@ TermWidget - + Copy Copy - + Paste Paste - + Open Open - + Open in file manager Open in file manager - - + + Horizontal split Horizontal split - - + + Vertical split Vertical split - - + + New tab New tab - + Exit fullscreen Exit fullscreen - + Fullscreen Fullscreen - + Find Find - + Search Search - + Encoding Encoding - + Custom commands Custom commands - + Remote management Remote management - + Upload file Upload file - + Download file Download file - + Settings Settings + + + The debuginfod settings will be effective after restart + + Utils - - + + Cancel button Cancel - + Close button Close - - + + OK button OK diff --git a/translations/deepin-terminal_es.ts b/translations/deepin-terminal_es.ts index 6abe3ded2..a5f5cbc3f 100644 --- a/translations/deepin-terminal_es.ts +++ b/translations/deepin-terminal_es.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -319,11 +321,16 @@ Velocidad de animación de las ventanas de Quake - + Blur background Desenfoque del fondo + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Tamaño de fuente - + Opacity Opacidad @@ -381,16 +388,16 @@ Atajos - + Others Otros - - + + Terminal Terminal @@ -400,62 +407,62 @@ Espacio de trabajo - + Custom commands Comandos personalizados - + Display shortcuts Mostrar atajos - + Remote management Conexiones remotas - + New tab Nueva pestaña - + Next tab Pestaña siguiente - + Previous tab Pestaña anterior - + Select left workspace Seleccionar espacio de trabajo de la izquierda - + Select lower workspace Seleccionar espacio de trabajo de abajo - + Select right workspace Seleccionar espacio de trabajo de la derecha - + Select upper workspace Seleccionar espacio de trabajo de arriba @@ -465,56 +472,56 @@ Títulos de pestañas - + Go to tab 1 Ir a pestaña 1 - + Go to tab 2 Ir a pestaña 2 - + Go to tab 3 Ir a pestaña 3 - + Go to tab 4 Ir a pestaña 4 - + Go to tab 5 Ir a pestaña 5 - + Go to tab 6 Ir a pestaña 6 - + Go to tab 7 Ir a pestaña 7 - + Go to tab 8 Ir a pestaña 8 - + Go to tab 9 Ir a pestaña 9 @@ -541,42 +548,42 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Renombrar título - + Fullscreen Pantalla completa - + Copy Copiar - + Default size Tamaño por defecto - + Paste Pegar @@ -586,8 +593,8 @@ Buscar - + Select all Seleccionar todo @@ -602,14 +609,14 @@ Saltar al comando anterior - + Zoom in Acercar - + Zoom out Alejar @@ -619,29 +626,29 @@ Cerrar otras ventanas - - + + Close other workspaces Cerrar los otros espacios de trabajo - + Could not find "%1", starting "%2" instead. Please check your shell profile. No se encontró "%1", iniciando "%2" en su lugar. Por favor, verifique su perfil de shell. - + Could not open "%1", unable to run it No se pudo abrir "%1", no se puede ejecutar - + Could not find "%1", unable to run it No se encontró "%1", no se puede ejecutar - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. La salida se ha suspendido presionando Ctrl + S. Presione Ctrl + Q para reanudar. @@ -651,39 +658,34 @@ Cerrar ventana - - + + Close workspace Cerrar espacio de trabajo - + Horizontal split División horizontal - + Vertical split División vertical - + Find Buscar - - debuginfod urls - - - - - + + please set another one. por favor establezca otro. @@ -698,8 +700,8 @@ Pestañas - + Close tab Cerrar pestaña @@ -714,14 +716,14 @@ Cambiar el enfoque al icono "+" - + Select file to upload Seleccionar archivo para subir - + Upload Subir @@ -761,8 +763,8 @@ Todavía hay procesos en ejecución en esta ventana. Al cerrar la ventana, se terminarán todos. - + Select a directory to save the file Seleccione una carpeta para guardar el archivo @@ -784,10 +786,10 @@ Ya no podrá usar Terminal. + - Cancel button Cancelar @@ -830,15 +832,15 @@ Mantener la terminal abierta cuando finalice el comando - + The name should be no more than 32 characters El nombre no debe tener más de 32 caracteres. - - + + Select Seleccionar @@ -848,20 +850,20 @@ Seleccione el archivo de clave privada - + Tab title format Formato de título de pestaña - + Remote tab title format Formato de título de pestaña remota - + Close other tabs Cerrar las otras pestañas @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Ventana maximizada - + Fast Rápido - + Slow Lento @@ -1268,6 +1270,11 @@ Settings Ajustes + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ Aceptar - \ No newline at end of file + diff --git a/translations/deepin-terminal_fa.ts b/translations/deepin-terminal_fa.ts index cb4bb82e4..62c2c23d0 100644 --- a/translations/deepin-terminal_fa.ts +++ b/translations/deepin-terminal_fa.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -37,7 +39,7 @@ Delete Command - + @@ -66,22 +68,22 @@ Please enter a name - + Please enter a command - + The name already exists, - + please input another one. - + @@ -94,7 +96,7 @@ No commands yet - + @@ -118,12 +120,12 @@ Custom Theme - + Style: - + @@ -138,22 +140,22 @@ Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + @@ -216,22 +218,22 @@ Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -273,7 +275,7 @@ Custom Theme - + @@ -291,7 +293,7 @@ Cursor style - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,18 +318,23 @@ Quake window animation speed - + - + Blur background پس زمینه تار + + + debuginfod URLs + + Use on starting - + @@ -337,13 +344,13 @@ Font size - + - + Opacity - + @@ -381,16 +388,16 @@ میانبر - + Others غیره - - + + Terminal ترمینال @@ -400,183 +407,183 @@ فضای کار - + Custom commands دستورات سفارشی - + Display shortcuts نمایش میانبرها - + Remote management مدیریت راه دور - + New tab - + - + Next tab - + - + Previous tab - + - + Select left workspace - + - + Select lower workspace - + - + Select right workspace - + - + Select upper workspace - + Tab titles - + - + Go to tab 1 - + - + Go to tab 2 - + - + Go to tab 3 - + - + Go to tab 4 - + - + Go to tab 5 - + - + Go to tab 6 - + - + Go to tab 7 - + - + Go to tab 8 - + - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title تغییر نام عنوان - + Fullscreen تمام صفحه - + Copy کپی - + Default size اندازه پیش فرض - + Paste افزودن @@ -586,8 +593,8 @@ جستجو - + Select all انتخاب همه @@ -602,14 +609,14 @@ پرش به فرمان قبلی - + Zoom in بزرگنمایی - + Zoom out کوچک نمایی @@ -619,31 +626,31 @@ بستن پنجره های دیگر - - + + Close other workspaces - + - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + - + Could not open "%1", unable to run it - + - + Could not find "%1", unable to run it - + - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -651,77 +658,72 @@ بستن پنجره - - + + Close workspace بستن فضای کار - + Horizontal split تقسیم افقی - + Vertical split تقسیم عمودی - + Find یافتن - - debuginfod urls - - - - - + + please set another one. - + Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. - + Tabs - + - + Close tab - + Select tab - + Switch focus to "+" icon - + - + Select file to upload فایل را برای بارگذاری انتخاب کنید - + Upload آپلود @@ -734,60 +736,60 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file - + Are you sure you want to uninstall it? - + Are you sure you want to uninstall this application? - + You will not be able to use Terminal any longer. - + + - Cancel button انصراف @@ -802,43 +804,43 @@ Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + - + The name should be no more than 32 characters - + - - + + Select انتخاب @@ -848,22 +850,22 @@ انتخاب فایل کلید خصوصی - + Tab title format - + - + Remote tab title format - + - + Close other tabs - + @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -907,7 +909,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1036,32 +1038,32 @@ Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. - + @@ -1078,7 +1080,7 @@ Split screen - + @@ -1093,15 +1095,15 @@ Maximum - + - + Fast سریع - + Slow آهسته @@ -1112,14 +1114,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1127,55 +1129,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1216,7 +1218,7 @@ New tab - + @@ -1268,6 +1270,11 @@ Settings تنظیمات + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ تایید - \ No newline at end of file + diff --git a/translations/deepin-terminal_fi.ts b/translations/deepin-terminal_fi.ts index 8d70d2424..5e1d61110 100644 --- a/translations/deepin-terminal_fi.ts +++ b/translations/deepin-terminal_fi.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -319,11 +321,16 @@ Quake-ikkunan animaation nopeus - + Blur background Sumea tausta + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Kirjasimen koko - + Opacity Läpinäkyvyys @@ -381,16 +388,16 @@ Pikanäppäimet - + Others Muut - - + + Terminal Pääte @@ -400,62 +407,62 @@ Välilehti - + Custom commands Mukautetut komennot - + Display shortcuts Näytä pikanäppäimet - + Remote management Etähallinta - + New tab Uusi välilehti - + Next tab Seuraava välilehti - + Previous tab Edellinen välilehti - + Select left workspace Valitse vasen työtila - + Select lower workspace Valitse alempi työtila - + Select right workspace Valitse oikea työtila - + Select upper workspace Valitse ylempi työtila @@ -465,56 +472,56 @@ Välilehden otsikot - + Go to tab 1 Välilehteen 1 - + Go to tab 2 Välilehteen 2 - + Go to tab 3 Välilehteen 3 - + Go to tab 4 Välilehteen 4 - + Go to tab 5 Välilehteen 5 - + Go to tab 6 Välilehteen 6 - + Go to tab 7 Välilehteen 7 - + Go to tab 8 Välilehteen 8 - + Go to tab 9 Välilehteen 9 @@ -541,42 +548,42 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Nimeä välilehti - + Fullscreen Koko näyttö - + Copy Kopioi - + Default size Oletuskoko - + Paste Liitä @@ -586,8 +593,8 @@ Etsi - + Select all Valitse kaikki @@ -602,14 +609,14 @@ Siirry edelliseen komentoon - + Zoom in Lähennä - + Zoom out Loitonna @@ -619,29 +626,29 @@ Sulje paneelit - - + + Close other workspaces Sulje muut työtilat - + Could not find "%1", starting "%2" instead. Please check your shell profile. Ei lötynyt "%1", alkaa sen sijaan "%2". Tarkista liittymäsi profiili. - + Could not open "%1", unable to run it Tiedostoa "%1" ei voitu avata, eikä suorittaa - + Could not find "%1", unable to run it Ei löytynyt "%1", suoritus epäonnistui - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Tulostus on keskeytetty yhdistelmällä Ctrl+S. Jatka painamalla Ctrl+Q. @@ -651,39 +658,34 @@ Sulje paneeli - - + + Close workspace Sulje välilehti - + Horizontal split Vaakasuora jako - + Vertical split Pystysuora jako - + Find Etsi - - debuginfod urls - - - - - + + please set another one. aseta toinen. @@ -698,8 +700,8 @@ Välilehdet - + Close tab Sulje välilehti @@ -714,14 +716,14 @@ Vaihda kohdistus "+" kuvakkeeseen - + Select file to upload Valitse lähetettävä tiedosto - + Upload Lähetä @@ -761,8 +763,8 @@ Tässä ikkunassa on edelleen käynnissä prosesseja. Ikkunan sulkeminen tappaa ne kaikki. - + Select a directory to save the file Valitse kansio, johon tiedosto tallennetaan @@ -784,10 +786,10 @@ Et voi enää jatkaa päätteen käyttöä. + - Cancel button Peruuta @@ -830,15 +832,15 @@ Pidä pääte auki, kun komento on valmis - + The name should be no more than 32 characters Nimessä saa olla enintään 32 merkkiä - - + + Select Valitse @@ -848,20 +850,20 @@ Valitse yksityinen avaintiedosto - + Tab title format Välilehden otsikon muoto - + Remote tab title format Etävälilehden otsikon muoto - + Close other tabs Sulje muut välilehdet @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Kokoruutu - + Fast Nopea - + Slow Hidas @@ -1268,6 +1270,11 @@ Settings Asetukset + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_fr.ts b/translations/deepin-terminal_fr.ts index ff99c15fe..036e8b620 100644 --- a/translations/deepin-terminal_fr.ts +++ b/translations/deepin-terminal_fr.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -319,11 +321,16 @@ Vitesse d'animation de la fenêtre à la Quake - + Blur background Flou Arrière-plan + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Taille de police - + Opacity Opacité @@ -381,16 +388,16 @@ Raccourcis - + Others Autres - - + + Terminal Terminal @@ -400,62 +407,62 @@ Espace de travail - + Custom commands Commandes personnalisées - + Display shortcuts Afficher les raccourcis - + Remote management Contrôle à distance - + New tab Nouvel onglet - + Next tab Onglet suivant - + Previous tab Onglet précédent - + Select left workspace Sélectionner l'espace de travail de gauche - + Select lower workspace Sélectionner l'espace de travail inférieur - + Select right workspace Sélectionner l'espace de travail de droite - + Select upper workspace Sélectionner l'espace de travail supérieur @@ -465,56 +472,56 @@ Titres des onglets - + Go to tab 1 Aller à l'onglet 1 - + Go to tab 2 Aller à l'onglet 2 - + Go to tab 3 Aller à l'onglet 3 - + Go to tab 4 Aller à l'onglet 4 - + Go to tab 5 Aller à l'onglet 5 - + Go to tab 6 Aller à l'onglet 6 - + Go to tab 7 Aller à l'onglet 7 - + Go to tab 8 Aller à l'onglet 8 - + Go to tab 9 Aller à l'onglet 9 @@ -541,42 +548,42 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Renommer le titre - + Fullscreen Plein écran - + Copy Copier - + Default size Taille par défaut - + Paste Coller @@ -586,8 +593,8 @@ Rechercher - + Select all Tout sélectionner @@ -602,14 +609,14 @@ Commande précédente - + Zoom in Zoom avant - + Zoom out Zoom arrière @@ -619,29 +626,29 @@ Fermer les autres fenêtres - - + + Close other workspaces Fermer les autres espaces de travail - + Could not find "%1", starting "%2" instead. Please check your shell profile. Impossible de trouver "%1", démarrage de "%2" à la place. Veuillez vérifier votre profil shell. - + Could not open "%1", unable to run it L'ouverture de "%1" a échouée, impossible de l'exécuter - + Could not find "%1", unable to run it Impossible de trouver "%1", impossible de l'exécuter - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. La sortie a été suspendue en appuyant sur Ctrl+S. Appuyez sur Ctrl+Q pour reprendre. @@ -651,39 +658,34 @@ Fermer la fenêtre - - + + Close workspace Fermer l'espace de travail - + Horizontal split Diviser horizontalement - + Vertical split Diviser verticalement - + Find Rechercher - - debuginfod urls - - - - - + + please set another one. veuillez en définir un autre. @@ -698,8 +700,8 @@ Onglets - + Close tab Fermer l'onglet @@ -714,14 +716,14 @@ Basculez le focus avec l'icône "+" - + Select file to upload Sélectionner le fichier à transférer - + Upload Transférer @@ -761,8 +763,8 @@ Il y a encore des processus ouverts dans cette fenêtre, si vous la fermez vous mettrez fin à tous les processus - + Select a directory to save the file Sélectionnez un répertoire pour enregistrer le fichier @@ -784,10 +786,10 @@ Vous ne pourrez plus utiliser le Terminal. + - Cancel button Annuler @@ -830,15 +832,15 @@ Garder le terminal ouvert lorsque la commande se termine - + The name should be no more than 32 characters Le nom ne doit pas dépasser 32 caractères - - + + Select Sélectionner @@ -848,20 +850,20 @@ Sélectionner le fichier de clé privée - + Tab title format Format du titre de l'onglet - + Remote tab title format Format du titre de l'onglet distant - + Close other tabs Fermer les autres onglets @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Maximum - + Fast Rapide - + Slow Lent @@ -1268,6 +1270,11 @@ Settings Paramètres + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_gl_ES.ts b/translations/deepin-terminal_gl_ES.ts index 65c7cabc6..91c2ab968 100644 --- a/translations/deepin-terminal_gl_ES.ts +++ b/translations/deepin-terminal_gl_ES.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -319,11 +321,16 @@ Velocidade de animación da xanela Quake - + Blur background Fondo desenfocado + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Tamaño da fonte - + Opacity Opacidade @@ -381,16 +388,16 @@ Atallos - + Others Outros - - + + Terminal Terminal @@ -400,62 +407,62 @@ Área de traballo - + Custom commands Comandos personalizados - + Display shortcuts Amosar atallos - + Remote management Xestión remota - + New tab Nova lapela - + Next tab Seguinte lapela - + Previous tab Lapela anterior - + Select left workspace Selecciona o espazo de traballo esquerdo - + Select lower workspace Selecciona o espazo de traballo inferior - + Select right workspace Selecciona o espazo de traballo dereito - + Select upper workspace Seleccione o espazo de traballo superior @@ -465,56 +472,56 @@ Títulos das lapelas - + Go to tab 1 Ir á lapela 1 - + Go to tab 2 Ir á lapela 2 - + Go to tab 3 Ir á lapela 3 - + Go to tab 4 Ir á lapela 4 - + Go to tab 5 Ir á lapela 5 - + Go to tab 6 Ir á lapela 6 - + Go to tab 7 Ir á lapela 7 - + Go to tab 8 Ir á lapela 8 - + Go to tab 9 Ir á lapela 9 @@ -541,42 +548,42 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Renomear título - + Fullscreen Pantalla completa - + Copy Copiar - + Default size Tamaño predefinido - + Paste Pegar @@ -586,8 +593,8 @@ Buscar - + Select all Seleccionar todo @@ -602,14 +609,14 @@ Ir ao comando anterior - + Zoom in Achegar - + Zoom out Afastar @@ -619,29 +626,29 @@ Pechar outras xanelas - - + + Close other workspaces Pechar outros espazos de traballo - + Could not find "%1", starting "%2" instead. Please check your shell profile. Non foi posíbel atopar "% 1", comezando "% 2" no seu lugar. Comproba o teu perfil de shell. - + Could not open "%1", unable to run it Non foi posíbel abrir "% 1", non foi posíbel executalo - + Could not find "%1", unable to run it Non foi posíbel atopar "% 1", non foi posíbel executalo - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. A saída suspendeuse premendo Ctrl+S. Prema Ctrl+Q para retomar. @@ -651,39 +658,34 @@ Pechar a xanela - - + + Close workspace Pechar o espazo de traballo - + Horizontal split División horizontal - + Vertical split División vertical - + Find Atopar - - debuginfod urls - - - - - + + please set another one. por favor, estableza outro @@ -698,8 +700,8 @@ Lapelas - + Close tab Pechar lapela @@ -714,14 +716,14 @@ Cambia o foco á icona "+". - + Select file to upload Seleccionar ficheiro a subir - + Upload Subir @@ -761,8 +763,8 @@ Aínda hai procesos en execución nesta xanela. Ao pechar a xanela rematará con todos. - + Select a directory to save the file Seleccione un directorio para gardar o ficheiro @@ -784,10 +786,10 @@ Xa non poderás usar Terminal. + - Cancel button Cancelar @@ -830,15 +832,15 @@ Manteña o terminal aberto cando termine o comando - + The name should be no more than 32 characters O nome non debe ser superior a 32 caracteres - - + + Select Seleccionar @@ -848,20 +850,20 @@ Seleccionar o ficheiro de clave privada - + Tab title format Fomato do título da lapela - + Remote tab title format Formato de título da lapela remota - + Close other tabs Pechar outras lapelas @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Máximo - + Fast Rápido - + Slow Lento @@ -1268,6 +1270,11 @@ Settings Axustes + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ Aceptar - \ No newline at end of file + diff --git a/translations/deepin-terminal_he.ts b/translations/deepin-terminal_he.ts index 5ae9360e1..24289d3be 100644 --- a/translations/deepin-terminal_he.ts +++ b/translations/deepin-terminal_he.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + השם צריך להכיל עד 32 תווים {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -319,11 +321,16 @@ מהירות אנימציה של חלון Quake - + Blur background טשטש את הרקע + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ גודל גופן - + Opacity אטימות @@ -381,16 +388,16 @@ קיצורי מקשים - + Others אחרים - - + + Terminal מסוף @@ -400,62 +407,62 @@ סביבת עבודה - + Custom commands פקודות בהתאמה אישית - + Display shortcuts הצג קיצור־דרך - + Remote management שליטה מרחוק - + New tab כרטיסייה חדשה - + Next tab הכרטיסייה הבאה - + Previous tab כרטיסייה קודמת - + Select left workspace בחר סביבת עבודה שמאלית - + Select lower workspace בחר סביבת עבודה תחתונה - + Select right workspace בחר סביבת עבודה ימנית - + Select upper workspace בחר סביבת עבודה עליונה @@ -465,56 +472,56 @@ כותרות כרטיסייה - + Go to tab 1 לך לכרטיסייה 1 - + Go to tab 2 לך לכרטיסייה 2 - + Go to tab 3 לך לכרטיסייה 3 - + Go to tab 4 לך לכרטיסייה 4 - + Go to tab 5 לך לכרטיסייה 5 - + Go to tab 6 לך לכרטיסייה 6 - + Go to tab 7 לך לכרטיסייה 7 - + Go to tab 8 לך לכרטיסייה 8 - + Go to tab 9 לך לכרטיסייה 9 @@ -536,47 +543,47 @@ Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title שינוי שם הכותרת - + Fullscreen מסך מלא - + Copy העתקה - + Default size גודל ברירת מחדל - + Paste הדבקה @@ -586,8 +593,8 @@ חיפוש - + Select all בחירה בהכול @@ -602,14 +609,14 @@ קפיצ לפקודה הקודמת - + Zoom in הגדלת התצוגה - + Zoom out הקטנת התצוגה @@ -619,29 +626,29 @@ סגירת חלונות אחרים - - + + Close other workspaces סגירת סביבות עבודה אחרות - + Could not find "%1", starting "%2" instead. Please check your shell profile. לא ניתן למצוא "%1", מפעיל במקום זאת "%2". אנא בדוק את פרופיל המעטפת שלך. - + Could not open "%1", unable to run it לא ניתן לפתוח את "%1", אין אפשרות להריץ את זה - + Could not find "%1", unable to run it לא ניתן למצוא את "%1", אין אפשרות להריץ את זה - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. הפלט הושהה בשל לחיצה על Ctrl+S. לחץ על Ctrl+Q כדי להמשיך. @@ -651,39 +658,34 @@ סגירת החלון - - + + Close workspace סגירת סביבת העבודה - + Horizontal split פיצול אופקי - + Vertical split פיצול אנכי - + Find חיפוש - - debuginfod urls - - - - - + + please set another one. אנא הגדר אחד אחר. @@ -698,8 +700,8 @@ כרטיסיות - + Close tab סגירת הכרטיסייה @@ -714,14 +716,14 @@ העבר מיקוד לאייקון "+" - + Select file to upload בחירה בקובץ להעלות - + Upload העלאה @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,13 +760,13 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file - + @@ -784,10 +786,10 @@ לא תוכל להשתמש במסוף יותר + - Cancel button ביטול @@ -807,22 +809,22 @@ Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + @@ -830,38 +832,38 @@ השאר את המסוף פתוח כשהפקודה תסתיים - + The name should be no more than 32 characters השם צריך להכיל עד 32 תווים - - + + Select בחר Select the private key file - + - + Tab title format - + - + Remote tab title format - + - + Close other tabs סגור כרטיסיות אחרות @@ -884,7 +886,7 @@ Add Group - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -958,7 +960,7 @@ Port: - + @@ -983,7 +985,7 @@ No Group - + @@ -998,17 +1000,17 @@ Encoding: - + Backspace key: - + Delete key: - + @@ -1046,7 +1048,7 @@ Please enter a port - + @@ -1061,7 +1063,7 @@ please input another one. - + @@ -1096,12 +1098,12 @@ מקסימלי - + Fast מהיר - + Slow איטי @@ -1143,19 +1145,19 @@ remote host: %h - + session number: %# - + title set by shell: %w - + @@ -1165,17 +1167,17 @@ current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1268,6 +1270,11 @@ Settings הגדרות + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ אישור - \ No newline at end of file + diff --git a/translations/deepin-terminal_hi_IN.ts b/translations/deepin-terminal_hi_IN.ts index b9afbcf1f..8c142010d 100644 --- a/translations/deepin-terminal_hi_IN.ts +++ b/translations/deepin-terminal_hi_IN.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -94,7 +96,7 @@ No commands yet - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + नाम में 32 से अधिक अक्षर नहीं होने चाहिए {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,14 +318,19 @@ Quake window animation speed - + - + Blur background बैकग्राउंड हेतु धुंध प्रभाव + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ मुद्रलिपि आकार - + Opacity अपारदर्शिता @@ -381,16 +388,16 @@ शॉर्टकट - + Others अन्य - - + + Terminal टर्मिनल @@ -400,62 +407,62 @@ कार्यस्थल - + Custom commands अनुकूलित कमांड - + Display shortcuts शॉर्टकट दिखाएँ - + Remote management दूरस्थ प्रबंधन - + New tab नवीन टैब - + Next tab अगला टैब - + Previous tab पिछला टैब - + Select left workspace बायां कार्यस्थल चुनें - + Select lower workspace निचला कार्यस्थल चुनें - + Select right workspace दायां कार्यस्थल चुनें - + Select upper workspace ऊपरी कार्यस्थल चुनें @@ -465,56 +472,56 @@ टैब शीर्षक - + Go to tab 1 टैब 1 पर जाएँ - + Go to tab 2 टैब 2 पर जाएँ - + Go to tab 3 टैब 3 पर जाएँ - + Go to tab 4 टैब 4 पर जाएँ - + Go to tab 5 टैब 5 पर जाएँ - + Go to tab 6 टैब 6 पर जाएँ - + Go to tab 7 टैब 7 पर जाएँ - + Go to tab 8 टैब 8 पर जाएँ - + Go to tab 9 टैब 9 पर जाएँ @@ -531,52 +538,52 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title शीर्षक बदलें - + Fullscreen पूर्ण स्क्रीन - + Copy कॉपी करें - + Default size डिफ़ॉल्ट आकार - + Paste पेस्ट करें @@ -586,8 +593,8 @@ खोजें - + Select all सभी चयनित करें @@ -602,14 +609,14 @@ पिछली कमांड पर जाएँ - + Zoom in आकार बढ़ाएँ - + Zoom out आकार घटाएँ @@ -619,29 +626,29 @@ अन्य विंडो बंद करें - - + + Close other workspaces अन्य कार्यस्थल बंद करें - + Could not find "%1", starting "%2" instead. Please check your shell profile. "%1" की प्राप्ति विफल होने के कारण उसके स्थान पर "%2" आरंभ होगा। कृपया अपना शैल प्रोफाइल देखें। - + Could not open "%1", unable to run it "%1" को खोलना विफल होने के कारण उसे निष्पादित करना संभव नहीं है - + Could not find "%1", unable to run it "%1" की प्राप्ति विफल होने के कारण उसे निष्पादित करना संभव नहीं है - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Ctrl+S कुंजी संयोजन दबाने के कारण आउटपुट स्थगित किया गया। पुनः जारी रखने हेतु Ctrl+Q दबाएँ। @@ -651,39 +658,34 @@ विंडो बंद करें - - + + Close workspace कार्यस्थल बंद करें - + Horizontal split क्षैतिज विभाजन - + Vertical split लंबवत विभाजन - + Find खोज - - debuginfod urls - - - - - + + please set another one. कृपया अन्य सेट करें। @@ -698,8 +700,8 @@ टैब - + Close tab टैब बंद करें @@ -714,14 +716,14 @@ "+" आइकन पर केंद्रित करें - + Select file to upload अपलोड हेतु फाइल चुनें - + Upload अपलोड करें @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file फाइल संचय हेतु डायरेक्टरी चुनें @@ -784,10 +786,10 @@ अब आप टर्मिनल उपयोग नहीं कर सकेंगें। + - Cancel button रद्द करें @@ -830,15 +832,15 @@ कमांड पूर्ण होने तक टर्मिनल खुला रखें - + The name should be no more than 32 characters नाम में 32 से अधिक अक्षर नहीं होने चाहिए - - + + Select चुनें @@ -848,20 +850,20 @@ निजी कुंजी की फाइल चुनें - + Tab title format टैब शीर्षक प्रारूप - + Remote tab title format दूरस्थ टैब शीर्षक प्रारूप - + Close other tabs अन्य टैब बंद करें @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ अधिकतम - + Fast तेज़ - + Slow धीमा @@ -1268,6 +1270,11 @@ Settings सेटिंग्स + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ ठीक है - \ No newline at end of file + diff --git a/translations/deepin-terminal_hr.ts b/translations/deepin-terminal_hr.ts index 8f53a6aa0..e2f654bd8 100644 --- a/translations/deepin-terminal_hr.ts +++ b/translations/deepin-terminal_hr.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -94,7 +96,7 @@ No commands yet - + @@ -148,12 +150,12 @@ Prompt PS1: - + Prompt PS2: - + @@ -173,7 +175,7 @@ Group Name(Required) - + @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -296,38 +298,43 @@ Scroll on keystroke - + Scroll on output - + Allow Ctrl+scrollwheel to zoom text size - + Hide Quake window after losing focus - + Quake window animation speed - + - + Blur background Zamuti pozadinu + + + debuginfod URLs + + Use on starting - + @@ -340,8 +347,8 @@ Veličina fonta - + Opacity Neprozirnost @@ -381,16 +388,16 @@ Prečaci - + Others Ostalo - - + + Terminal Terminal @@ -400,62 +407,62 @@ Radni prostor - + Custom commands Prilagođene naredbe - + Display shortcuts Prikaži prečace - + Remote management Udaljeno upravljanje - + New tab Nova kartica - + Next tab Slijedeća kartica - + Previous tab Prethodna kartica - + Select left workspace Odaberi lijevi radni prostor - + Select lower workspace Odaberi donji radni prostor - + Select right workspace Odaberi desni radni prostor - + Select upper workspace Odaberi gornji radni prostor @@ -465,68 +472,68 @@ Naslovi kartice - + Go to tab 1 Idi na karticu 1 - + Go to tab 2 Idi na karticu 2 - + Go to tab 3 Idi na karticu 3 - + Go to tab 4 Idi na karticu 4 - + Go to tab 5 Idi na karticu 5 - + Go to tab 6 Idi na karticu 6 - + Go to tab 7 Idi na karticu 7 - + Go to tab 8 Idi na karticu 8 - + Go to tab 9 Idi na karticu 9 Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + @@ -536,47 +543,47 @@ Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Preimenuj naslov - + Fullscreen Cijeli zaslon - + Copy Kopiraj - + Default size Zadana veličina - + Paste Zalijepi @@ -586,8 +593,8 @@ Traži - + Select all Odaberi sve @@ -602,14 +609,14 @@ Skoči na prethodnu naredbu - + Zoom in Povećaj - + Zoom out Smanji @@ -619,31 +626,31 @@ Zatvori ostale prozore - - + + Close other workspaces Zatvore ostale radne prostore - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + - + Could not open "%1", unable to run it - + - + Could not find "%1", unable to run it - + - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -651,46 +658,41 @@ Zatvori prozor - - + + Close workspace Zatvori radni prostor - + Horizontal split Vodoravna podjela - + Vertical split Okomita podjela - + Find Traži - - debuginfod urls - - - - - + + please set another one. - + Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. - + @@ -698,8 +700,8 @@ KArtice - + Close tab Zatvori karticu @@ -711,17 +713,17 @@ Switch focus to "+" icon - + - + Select file to upload Odaberite datoteku za slanje - + Upload Slanje @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file Odaberite direktorij za spremanje datoteke @@ -784,10 +786,10 @@ Ne možete više koristiti Terminal. + - Cancel button Otkaži @@ -807,7 +809,7 @@ Run script string in the terminal - + @@ -817,51 +819,51 @@ Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + - + The name should be no more than 32 characters - + Ime ne bi trebalo biti veće od 30 znakova {32 ?} - - + + Select Odaberi Select the private key file - + - + Tab title format - + - + Remote tab title format - + - + Close other tabs Zatvori ostale kartice @@ -894,7 +896,7 @@ No servers yet - + @@ -907,7 +909,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Maksimum - + Fast Brzo - + Slow Polako @@ -1143,39 +1145,39 @@ remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1268,6 +1270,11 @@ Settings Postavke + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ U redu - \ No newline at end of file + diff --git a/translations/deepin-terminal_hu.ts b/translations/deepin-terminal_hu.ts index 64453e8e0..27cae339b 100644 --- a/translations/deepin-terminal_hu.ts +++ b/translations/deepin-terminal_hu.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -319,11 +321,16 @@ Lebegő ablak animációjának sebessége - + Blur background Háttér elhomályosítása + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Betűméret - + Opacity Áttetszőség @@ -381,16 +388,16 @@ Gyorsbillentyűk - + Others Egyebek - - + + Terminal Terminál @@ -400,62 +407,62 @@ Munkaterület - + Custom commands Egyéni parancsok - + Display shortcuts Gyorsbillentyűk megjelenítése - + Remote management Távoli elérés - + New tab Új fül - + Next tab Következő fül - + Previous tab Előző fül - + Select left workspace Baloldali munkaterület kiválasztása - + Select lower workspace Alsó munkaterület kiválasztása - + Select right workspace Jobboldali munkaterület kiválasztása - + Select upper workspace Felső munkaterület kiválasztása @@ -465,56 +472,56 @@ Fülek címei - + Go to tab 1 Ugrás az 1. fülre - + Go to tab 2 Ugrás az 2. fülre - + Go to tab 3 Ugrás az 3. fülre - + Go to tab 4 Ugrás az 4. fülre - + Go to tab 5 Ugrás az 5. fülre - + Go to tab 6 Ugrás az 6. fülre - + Go to tab 7 Ugrás az 7. fülre - + Go to tab 8 Ugrás az 8. fülre - + Go to tab 9 Ugrás az 9. fülre @@ -549,34 +556,34 @@ A hibakeresési információs erőforrások továbbítására használt HTTP fájlszerver - - - + + + Rename title Cím átnevezése - + Fullscreen Teljes képernyő - + Copy Másolás - + Default size Alapértelmezett méret - + Paste Beillesztés @@ -586,8 +593,8 @@ Keresés - + Select all Összes kijelölése @@ -602,14 +609,14 @@ Visszaugrás az előző parancsra - + Zoom in Nagyítás - + Zoom out Kicsinyítés @@ -619,29 +626,29 @@ Egyéb ablakok bezárása - - + + Close other workspaces Egyéb munkaterületek bezárása - + Could not find "%1", starting "%2" instead. Please check your shell profile. Nem található a "%1", helyette a "%2" indul. Kérjük ellenőrizze a shell profilját. - + Could not open "%1", unable to run it Nem nyitható meg a "%1", nem tudja futtatni azt - + Could not find "%1", unable to run it Nem található a "%1", nem tudja futtatni azt - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. A kimenet a Ctrl+S billentyűkombináció megnyomásával felfüggesztésre kerül. A folytatáshoz nyomja meg a Ctrl+Q billentyűkombinációt. @@ -651,39 +658,38 @@ Ablak bezárása - - + + Close workspace Munkaterület bezárása - + Horizontal split Kettéosztás vízszintesen - + Vertical split Függőleges elválasztás - + Find Találat - debuginfod urls - hibakeresési információs url-ek + hibakeresési információs url-ek - - + + please set another one. Kérjük állítson be egy másikat. @@ -698,8 +704,8 @@ Fülek - + Close tab Fül bezárása @@ -714,14 +720,14 @@ Váltson fókuszt a „+” ikonnal - + Select file to upload A feltöltendő fájl kiválasztása - + Upload Feltöltés @@ -761,8 +767,8 @@ Ebben az ablakban még fut egy folyamat. Az ablak bezárása megszünteti valamennyit. - + Select a directory to save the file Válasszon könyvtárat a fájl mentéséhez @@ -784,10 +790,10 @@ Nem használhatja tovább a terminált. + - Cancel button Mégsem @@ -830,15 +836,15 @@ A parancs befejezése után tartsa nyitva a terminál ablakot - + The name should be no more than 32 characters A név legfeljebb 32 karakter lehet - - + + Select Kiválasztás @@ -848,20 +854,20 @@ Privát kulcs fájl kiválasztása - + Tab title format Fül címének formátuma - + Remote tab title format Távoli fül címének formátuma - + Close other tabs Egyéb fülek bezárása @@ -1096,12 +1102,12 @@ Maximum - + Fast Gyors - + Slow Lassú @@ -1268,6 +1274,11 @@ Settings Beállítások + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1303,4 @@ OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_id.ts b/translations/deepin-terminal_id.ts index 9848de7a1..0eb818b51 100644 --- a/translations/deepin-terminal_id.ts +++ b/translations/deepin-terminal_id.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -94,7 +96,7 @@ No commands yet - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + Nama tidak boleh lebih dari 32 karakter {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,14 +318,19 @@ Quake window animation speed - + - + Blur background Latar belakang buram + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Ukuran fonta - + Opacity Opacity @@ -381,16 +388,16 @@ Pintasan - + Others Lainnya - - + + Terminal Terminal @@ -400,62 +407,62 @@ Ruang kerja - + Custom commands Perintah sesuaian - + Display shortcuts Tampilkan pintasan - + Remote management Manajemen jarak jauh - + New tab Tab baru - + Next tab Tab berikutnya - + Previous tab Tab sebelumnya - + Select left workspace Pilih ruang kerja kiri - + Select lower workspace Pilih ruang kerja bawah - + Select right workspace Pilih ruang kerja kanan - + Select upper workspace Pilih ruang kerja atas @@ -465,56 +472,56 @@ Judul Tab - + Go to tab 1 Menuju Tab 1 - + Go to tab 2 Menuju Tab 2 - + Go to tab 3 Menuju Tab 3 - + Go to tab 4 Menuju Tab 4 - + Go to tab 5 Menuju Tab 5 - + Go to tab 6 Menuju Tab 6 - + Go to tab 7 Menuju Tab 7 - + Go to tab 8 Menuju Tab 8 - + Go to tab 9 Menuju Tab 9 @@ -531,52 +538,52 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Ubah judul - + Fullscreen Layar Penuh - + Copy Salin - + Default size Ukuran bawaan - + Paste Tempel @@ -586,8 +593,8 @@ Cari - + Select all Pilih semua @@ -602,14 +609,14 @@ Loncat ke perintah sebelumnya - + Zoom in Perbesar - + Zoom out Perkecil @@ -619,29 +626,29 @@ Tutup jendela lainnya - - + + Close other workspaces Tutup ruang kerja lainnya - + Could not find "%1", starting "%2" instead. Please check your shell profile. Tidak dapat menemukan "%1", dimulai "%2" sebagai gantinya. Silakan periksa profil shell Anda. - + Could not open "%1", unable to run it Tidak dapat membuka "%1", tidak dapat menjalankannya - + Could not find "%1", unable to run it Tidak dapat menemukan "%1", tidak dapat menjalankannya - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Output telah ditangguhkan dengan menekan Ctrl + S. Menekan Ctrl + Q untuk melanjutkan. @@ -651,39 +658,34 @@ Tutup jendela - - + + Close workspace Tutup ruang kerja - + Horizontal split Bagi horizontal - + Vertical split Bagi vertikal - + Find Temukan - - debuginfod urls - - - - - + + please set another one. Silakan setel yang lainnya. @@ -698,8 +700,8 @@ Tab - + Close tab Tutup Tab @@ -714,14 +716,14 @@ Alihkan fokus ke ikon "+" - + Select file to upload Pilih berkas untuk diunggah - + Upload Unggah @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file Pilih direktori untuk menyimpan berkas @@ -784,10 +786,10 @@ Anda tidak akan dapat menggunakan Terminal lagi. + - Cancel button Batal @@ -830,15 +832,15 @@ Biarkan terminal tetap terbuka saat perintah selesai - + The name should be no more than 32 characters Nama tidak boleh lebih dari 32 karakter - - + + Select Pilih @@ -848,20 +850,20 @@ Pilih berkas kunci pribadi - + Tab title format Format judul tab - + Remote tab title format Format judul tab jarak jauh - + Close other tabs Tutup Tab lainnya @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Maksimum - + Fast Cepat - + Slow Lambat @@ -1268,6 +1270,11 @@ Settings Pengaturan + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_it.ts b/translations/deepin-terminal_it.ts index 60f380246..5900d4f6c 100644 --- a/translations/deepin-terminal_it.ts +++ b/translations/deepin-terminal_it.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + Il nome non dovrebbe eccedere i 32 caratteri {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -319,11 +321,16 @@ Velocità animazione quake window - + Blur background Sfondo Blur + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Dimensione font - + Opacity Opacità @@ -381,16 +388,16 @@ Scorciatoie - + Others Altro - - + + Terminal Terminale @@ -400,62 +407,62 @@ Spazio di lavoro - + Custom commands Comandi personalizzati - + Display shortcuts Visualizza scorciatoie - + Remote management Gestione remota - + New tab Nuova scheda - + Next tab Prossima scheda - + Previous tab Scheda precedente - + Select left workspace Seleziona lo spazio di lavoro a sinistra - + Select lower workspace Seleziona lo spazio di lavoro inferiore - + Select right workspace Seleziona lo spazio di lavoro a destra - + Select upper workspace Seleziona lo spazio di lavoro superiore @@ -465,56 +472,56 @@ Titolo scheda - + Go to tab 1 Vai alla scheda 1 - + Go to tab 2 Vai alla scheda 2 - + Go to tab 3 Vai alla scheda 3 - + Go to tab 4 Vai alla scheda 4 - + Go to tab 5 Vai alla scheda 5 - + Go to tab 6 Vai alla scheda 6 - + Go to tab 7 Vai alla scheda 7 - + Go to tab 8 Vai alla scheda 8 - + Go to tab 9 Vai alla scheda 9 @@ -536,47 +543,47 @@ Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Titolo rinominato - + Fullscreen Schermo intero - + Copy Copia - + Default size Dimensione di default - + Paste Incolla @@ -586,8 +593,8 @@ Cerca - + Select all Seleziona tutto @@ -602,14 +609,14 @@ Torna al comando precedente - + Zoom in Zoom più - + Zoom out Zoom meno @@ -619,29 +626,29 @@ Chiudi le altre finestre - - + + Close other workspaces Chiudi altri spazi di lavoro - + Could not find "%1", starting "%2" instead. Please check your shell profile. Impossibile trovare "%1", inizia da "%2". Controlla il tuo profilo Shell. - + Could not open "%1", unable to run it Impossibile aprire ed eseguire "%1" - + Could not find "%1", unable to run it Impossibile trovare "%1", non è possibile eseguirlo - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. L'output è stato sospeso con Ctrl+S. Premi Ctrl+Q per riprendere. @@ -651,39 +658,34 @@ Chiudi finestra - - + + Close workspace Chiudi spazio di lavoro - + Horizontal split Dividi orizzontalmente - + Vertical split Split verticale - + Find Trova - - debuginfod urls - - - - - + + please set another one. impostane un altro @@ -699,8 +701,8 @@ Localizzazione italiana a cura di Massimo A. Carofano Schede - + Close tab Chiudi scheda @@ -715,14 +717,14 @@ Localizzazione italiana a cura di Massimo A. Carofano Sposta il focus con l'icona "+" - + Select file to upload Seleziona il file da caricare - + Upload Carica @@ -741,13 +743,13 @@ Localizzazione italiana a cura di Massimo A. Carofano There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -759,11 +761,11 @@ Localizzazione italiana a cura di Massimo A. Carofano There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file Seleziona un percorso dove salvare il file @@ -785,10 +787,10 @@ Localizzazione italiana a cura di Massimo A. Carofano Non sarà più possibile utilizzare il terminale. + - Cancel button Annulla @@ -831,15 +833,15 @@ Localizzazione italiana a cura di Massimo A. Carofano Fai in modo che il terminale rimanga aperto alla conclusione - + The name should be no more than 32 characters Il nome non dovrebbe eccedere i 32 caratteri - - + + Select Seleziona @@ -849,20 +851,20 @@ Localizzazione italiana a cura di Massimo A. Carofano Seleziona il file di chiave privata - + Tab title format Formato titolo scheda - + Remote tab title format Formato titolo della scheda remota - + Close other tabs Chiudi le altre schede @@ -885,7 +887,7 @@ Localizzazione italiana a cura di Massimo A. Carofano Add Group - + @@ -924,12 +926,12 @@ Localizzazione italiana a cura di Massimo A. Carofano Groups - + Servers - + @@ -984,7 +986,7 @@ Localizzazione italiana a cura di Massimo A. Carofano No Group - + @@ -1097,12 +1099,12 @@ Localizzazione italiana a cura di Massimo A. Carofano Massimo - + Fast Veloce - + Slow Lenta @@ -1269,6 +1271,11 @@ Localizzazione italiana a cura di Massimo A. Carofano Settings Impostazioni + + + The debuginfod settings will be effective after restart + + Utils @@ -1293,4 +1300,4 @@ Localizzazione italiana a cura di Massimo A. Carofano OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_ko.ts b/translations/deepin-terminal_ko.ts index 1488cacc4..89f9b4eaa 100644 --- a/translations/deepin-terminal_ko.ts +++ b/translations/deepin-terminal_ko.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -94,7 +96,7 @@ No commands yet - + @@ -138,7 +140,7 @@ Fore color: - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + 이름은 32자 이하여야 합니다 {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,14 +318,19 @@ Quake window animation speed - + - + Blur background 배경 흐림 + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ 글꼴 크기 - + Opacity 불투명도 @@ -381,16 +388,16 @@ 단축키 - + Others 기타 - - + + Terminal 터미널 @@ -400,62 +407,62 @@ 작업 공간 - + Custom commands 사용자 지정 명령 - + Display shortcuts 단축키 표시 - + Remote management 원격 관리 - + New tab 새 탭 - + Next tab 다음 탭 - + Previous tab 이전 탭 - + Select left workspace 왼쪽 작업공간 선택 - + Select lower workspace 하위 작업공간 선택 - + Select right workspace 오른쪽 작업공간 선택 - + Select upper workspace 상위 작업공간 선택 @@ -465,56 +472,56 @@ 탭 제목 - + Go to tab 1 탭1로 가기 - + Go to tab 2 탭2로 가기 - + Go to tab 3 탭3으로 가기 - + Go to tab 4 탭4로 가기 - + Go to tab 5 탭5로 가기 - + Go to tab 6 탭6으로 가기 - + Go to tab 7 탭7로 가기 - + Go to tab 8 탭8로 가기 - + Go to tab 9 탭9로 가기 @@ -526,57 +533,57 @@ Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title 제목 이름 변경 - + Fullscreen 전체화면 - + Copy 복사 - + Default size 기본 크기 - + Paste 붙여넣기 @@ -586,8 +593,8 @@ 찾기 - + Select all 전체 선택 @@ -602,14 +609,14 @@ 이전 명령으로 건너뛰기 - + Zoom in 확대 - + Zoom out 축소 @@ -619,31 +626,31 @@ 다른 창 닫기 - - + + Close other workspaces 다른 작업 공간 닫기 - + Could not find "%1", starting "%2" instead. Please check your shell profile. "%1"를 찾을 수 없습니다. 대신 "%2"를 시작합니다. 쉘 프로필을 확인하십시오. - + Could not open "%1", unable to run it "%1"을 열 수 없습니다. 실행할 수 없습니다 - + Could not find "%1", unable to run it "%1"을 찾을 수 없습니다. 실행할 수 없습니다. - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -651,39 +658,34 @@ 창 닫기 - - + + Close workspace 작업공간 닫기 - + Horizontal split 수평 분할 - + Vertical split 수직 분할 - + Find 찾기 - - debuginfod urls - - - - - + + please set another one. 다른 것을 설정하십시오. @@ -698,8 +700,8 @@ - + Close tab 탭 닫기 @@ -714,14 +716,14 @@ 포커스를 "+" 아이콘으로 전환 - + Select file to upload 업로드할 파일 선택 - + Upload 업로드 @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file 파일을 저장할 디렉터리 선택 @@ -784,10 +786,10 @@ 더 이상 터미널을 사용할 수 없습니다. + - Cancel button 취소 @@ -830,15 +832,15 @@ 명령이 완료될 때 터미널 열기 유지하기 - + The name should be no more than 32 characters 이름은 32자 이하여야 합니다 - - + + Select 선택 @@ -848,20 +850,20 @@ 개인 키 파일 선택 - + Tab title format 탭 제목 형식 - + Remote tab title format 원격 탭 제목 형식 - + Close other tabs 다른 탭 닫기 @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ 최대 - + Fast 빠르게 - + Slow 느리게 @@ -1133,17 +1135,17 @@ username: %u - + username@: %U - + remote host: %h - + @@ -1155,7 +1157,7 @@ title set by shell: %w - + @@ -1175,7 +1177,7 @@ local host: %h - + @@ -1268,6 +1270,11 @@ Settings 설정 + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ 확인 - \ No newline at end of file + diff --git a/translations/deepin-terminal_lt.ts b/translations/deepin-terminal_lt.ts index 66c9f421f..ad33b303d 100644 --- a/translations/deepin-terminal_lt.ts +++ b/translations/deepin-terminal_lt.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -37,7 +39,7 @@ Delete Command - + @@ -66,22 +68,22 @@ Please enter a name - + Please enter a command - + The name already exists, - + please input another one. - + @@ -94,7 +96,7 @@ No commands yet - + @@ -118,12 +120,12 @@ Custom Theme - + Style: - + @@ -138,22 +140,22 @@ Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + @@ -216,22 +218,22 @@ Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -273,7 +275,7 @@ Custom Theme - + @@ -291,7 +293,7 @@ Cursor style - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,18 +318,23 @@ Quake window animation speed - + - + Blur background Sulieti foną + + + debuginfod URLs + + Use on starting - + @@ -337,13 +344,13 @@ Font size - + - + Opacity - + @@ -381,16 +388,16 @@ Trumpiniai - + Others Kita - - + + Terminal Terminalas @@ -400,183 +407,183 @@ Darbo sritis - + Custom commands Tinkintos komandos - + Display shortcuts Rodyti sparčiuosius klavišus - + Remote management Nuotolinis administravimas - + New tab Nauja kortelė - + Next tab - + - + Previous tab - + - + Select left workspace - + - + Select lower workspace - + - + Select right workspace - + - + Select upper workspace - + Tab titles - + - + Go to tab 1 - + - + Go to tab 2 - + - + Go to tab 3 - + - + Go to tab 4 - + - + Go to tab 5 - + - + Go to tab 6 - + - + Go to tab 7 - + - + Go to tab 8 - + - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Pervadinti pavadinimą - + Fullscreen Visas ekranas - + Copy Kopijuoti - + Default size Numatytasis dydis - + Paste Įdėti @@ -586,8 +593,8 @@ Ieškoti - + Select all Žymėti viską @@ -602,14 +609,14 @@ Pereiti prie ankstesnės komandos - + Zoom in Didinti - + Zoom out Mažinti @@ -619,31 +626,31 @@ Užverti kitus langus - - + + Close other workspaces - + - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + - + Could not open "%1", unable to run it - + - + Could not find "%1", unable to run it - + - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -651,41 +658,36 @@ Užverti langą - - + + Close workspace Užverti darbo sritį - + Horizontal split Horizontalus dalijimas - + Vertical split Vertikalus dalijimas - + Find Rasti - - debuginfod urls - - - - - + + please set another one. - + @@ -695,33 +697,33 @@ Tabs - + - + Close tab - + Select tab - + Switch focus to "+" icon - + - + Select file to upload Pasirinkti failą įkėlimui - + Upload Įkelti @@ -734,37 +736,37 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file - + @@ -775,19 +777,19 @@ Are you sure you want to uninstall this application? - + You will not be able to use Terminal any longer. - + + - Cancel button Atsisakyti @@ -802,43 +804,43 @@ Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + - + The name should be no more than 32 characters - + - - + + Select Pasirinkti @@ -848,22 +850,22 @@ Pasirinkite privačiojo rakto failą - + Tab title format - + - + Remote tab title format - + - + Close other tabs - + @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -907,7 +909,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1036,32 +1038,32 @@ Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. - + @@ -1078,7 +1080,7 @@ Split screen - + @@ -1093,15 +1095,15 @@ Maximum - + - + Fast Greitas - + Slow Lėtas @@ -1112,14 +1114,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1127,55 +1129,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1268,6 +1270,11 @@ Settings Nustatymai + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ Gerai - \ No newline at end of file + diff --git a/translations/deepin-terminal_ms.ts b/translations/deepin-terminal_ms.ts index a5c7e9ddb..72d954b82 100644 --- a/translations/deepin-terminal_ms.ts +++ b/translations/deepin-terminal_ms.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -319,11 +321,16 @@ Kelajuan animasi tetingkap Quake - + Blur background Latar belakang kabur + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Saiz fon - + Opacity Kelegapan @@ -381,16 +388,16 @@ Pintasan - + Others Lain-lain - - + + Terminal Terminal @@ -400,62 +407,62 @@ Ruang Kerja - + Custom commands Perintah suai - + Display shortcuts Papar pintasan - + Remote management Pengurusan jauh - + New tab Tab baharu - + Next tab Tab berikutnya - + Previous tab Tab terdahulu - + Select left workspace Pilih ruang kerja kiri - + Select lower workspace Pilih ruang kerja di bawah - + Select right workspace Pilih ruang kerja kanan - + Select upper workspace Pilih ruang kerja di atas @@ -465,56 +472,56 @@ Tajuk tab - + Go to tab 1 Pergi ke tab 1 - + Go to tab 2 Pergi ke tab 2 - + Go to tab 3 Pergi ke tab 3 - + Go to tab 4 Pergi ke tab 4 - + Go to tab 5 Pergi ke tab 5 - + Go to tab 6 Pergi ke tab 6 - + Go to tab 7 Pergi ke tab 7 - + Go to tab 8 Pergi ke tab 8 - + Go to tab 9 Pergi ke tab 9 @@ -541,42 +548,42 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Nama semula tajuk - + Fullscreen Skrin Penuh - + Copy Salin - + Default size Saiz lalai - + Paste Tampal @@ -586,8 +593,8 @@ Gelintar - + Select all Pilih semua @@ -602,14 +609,14 @@ Lompat ke perintah terdahulu - + Zoom in Zum masuk - + Zoom out Zum keluar @@ -619,29 +626,29 @@ Tutup tetingkap lain - - + + Close other workspaces Tutup ruang kerja lain - + Could not find "%1", starting "%2" instead. Please check your shell profile. Tidak dapat mencari "%1", memulakan "%2" sebagai ganti. Sila periksa profil shell anda. - + Could not open "%1", unable to run it Tidak dapat membuka "%1", gagal dijalankan - + Could not find "%1", unable to run it Tidak dapat mencari "%1", gagal dijalankan - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Output telah ditangguh dengan menekan Ctrl+S. Tekan Ctrl+Q untuk menyambung semula. @@ -651,39 +658,34 @@ Tutup tetingkap - - + + Close workspace Tutup ruang kerja - + Horizontal split Pisah mengufuk - + Vertical split Pisah menegak - + Find Cari - - debuginfod urls - - - - - + + please set another one. sila tetapkan yang lain. @@ -698,8 +700,8 @@ Tab - + Close tab Tutup tab @@ -714,14 +716,14 @@ Tukar fokus ke ikon "+" - + Select file to upload Pilih fail untuk dimuat naik - + Upload Muat naik @@ -761,8 +763,8 @@ Masih ada proses berjalan dalam tetingkap ini. Menutup tetingkap akan mematikan kesemuanya. - + Select a directory to save the file Pilih satu direktori untuk menyimpan fail @@ -784,10 +786,10 @@ Anda tidak dapat menggunakan Terminal lagi. + - Cancel button Batal @@ -830,15 +832,15 @@ Biarkan terminal terbuka walaupun perintah selesai - + The name should be no more than 32 characters Nama tidak lebih dari 32 aksara - - + + Select Pilih @@ -848,20 +850,20 @@ Pilih fail kunci persendirian - + Tab title format Format tajuk tab - + Remote tab title format Format tajuk tab jauh - + Close other tabs Tutup tab lain @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Maksimum - + Fast Pantas - + Slow Perlahan @@ -1268,6 +1270,11 @@ Settings Tetapan + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_nb.ts b/translations/deepin-terminal_nb.ts index 9811289db..8a3c9287e 100644 --- a/translations/deepin-terminal_nb.ts +++ b/translations/deepin-terminal_nb.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -19,82 +21,82 @@ - - + + Required Påkrevd - + Add Command Legg til kommando - + Edit Command Rediger Kommando - + Delete Command - + - + Cancel button Avbryt - + Add button Legg til - + Save button Lagre - + OK button OK - + Please enter a name - + - + Please enter a command - + - + The name already exists, - + - + please input another one. - + CustomCommandPanel - + Add Command Legg til kommando - + No commands yet - + @@ -108,7 +110,7 @@ CustomCommandSearchRstPanel - + Search Søk @@ -116,53 +118,53 @@ CustomThemeSettingDialog - + Custom Theme - + - + Style: - + - + Light Lys - + Dark - + - + Fore color: - + - + Back color: - + - + Prompt PS1: - + - + Prompt PS2: - + - + Cancel button Avbryt - + Confirm button Bekreft @@ -171,109 +173,109 @@ GroupConfigOptDlg - + Group Name(Required) - + - + Add Group - + - + Edit Group - + - + Cancel Avbryt - + Add Legg til - + Save Lagre - + Please enter a group name - + - + The name should be no more than 30 characters - + ListView - + Delete Server - + - + Delete Custom Command - + - + Cancel Server Group - + - + Ungrouped servers will go back to server list! - + - - + + Are you sure you want to delete %1? - + MainWindow - - + + New window Nytt vindu - + Settings Instillinger - + Cancel button Avbryt - + Close button Lukk - + Type path to download file - + - + Custom Theme - + @@ -281,7 +283,7 @@ Copy on select - + @@ -291,7 +293,7 @@ Cursor style - + @@ -305,554 +307,575 @@ - Hide Quake window after losing focus - + Allow Ctrl+scrollwheel to zoom text size + - Quake window animation speed - + Hide Quake window after losing focus + - + Quake window animation speed + + + + + Allow Ctrl + left mouse click to set cursor position + + + + + The HTTP file server used for transmitting debugging information resources + + + + + Blur background Uklar bakgrunn - - Use on starting - + + debuginfod URLs + + Use on starting + + + + Font Skrifttype - + Font size - + - - + + Opacity - + - + Advanced Avansert - + Cursor Markør - + Scroll Rull - + Window Vindu - + Basic Grunnleggende - + Interface Grensesnitt - + Shortcuts Hurtigtaster - - + + Others Annet - + + - + Terminal Terminal - + Workspace Arbeidsområde - - + + Custom commands Egendefinterte kommandoer - - + + Display shortcuts Vis hurtigtaster - - + + Remote management Fjernstyring - - + + New tab - + - - + + Next tab - + - - + + Previous tab - + - - + + Select left workspace - + - - + + Select lower workspace - + - - + + Select right workspace - + - - + + Select upper workspace - + - + Tab titles - + - - + + Go to tab 1 - + - - + + Go to tab 2 - + - - + + Go to tab 3 - + - - + + Go to tab 4 - + - - + + Go to tab 5 - + - - + + Go to tab 6 - + - - + + Go to tab 7 - + - - + + Go to tab 8 - + - - + + Go to tab 9 - + - + Disable flow control using Ctrl+S, Ctrl+Q - + - + Shell profile - + - + History size - + - + Include special character(s) in double click selections - + - - - - + + + + Rename title Endre tittel - - + + Fullscreen Fullskjerm - - + + Copy Kopier - - + + Default size Standard størrelse - - + + Paste Lim inn - + Search Søk - - + + Select all Velg alle - + Jump to next command Hopp til neste kommando - + Jump to previous command Hopp til forrige kommando - - + + Zoom in Zoom inn - - + + Zoom out Zoom ut - + Close other windows Lukk andre vinduer - - - + + + Close other workspaces - + - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + - + Could not open "%1", unable to run it - + - + Could not find "%1", unable to run it - + - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + - + Close window Lukk vindu - - - + + + Close workspace Lukk arbeidsområde - - + + Horizontal split Horisontal splitt - - + + Vertical split Vertikal splitt - - + + Find Finn - - - + + + please set another one. - + Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. - + - + Tabs - + - - + + Close tab - + - + Select tab - + - + Switch focus to "+" icon - + - - + + Select file to upload Velg en fil å laste op - - + + Upload Last opp - + Programs are still running in terminal Programmer kjører forsatt i terminalen - - + + Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + - - + + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + - - + + Select a directory to save the file - + - + Are you sure you want to uninstall it? - + - - + + Are you sure you want to uninstall this application? - + - - + + You will not be able to use Terminal any longer. - + - - - - + + + + Cancel button Avbryt - - + + OK button OK - + Execute a command in the terminal - + - + Run script string in the terminal - + - + Set the work directory - + - + Set the window mode on starting - + - + Run in quake mode - + - + Keep terminal open when command finishes - + - - + + The name should be no more than 32 characters - + - - - + + + Select Velg - + Select the private key file Velg den private nøkkelfila - - + + Tab title format - + - - + + Remote tab title format - + - - + + Close other tabs - + - + Delete button Slett - - + + Confirm button Bekreft @@ -861,19 +884,19 @@ RemoteManagementPanel - + Add Group - + - + Add Server Legg til server - + No servers yet - + @@ -886,13 +909,13 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + RemoteManagementSearchPanel - + Search Søk @@ -902,12 +925,12 @@ Groups - + Servers - + @@ -960,88 +983,93 @@ Gruppe: - + + No Group + + + + Path: Sti: - + Command: Kommando: - + Encoding: Enkoding: - + Backspace key: Backspace knappen: - + Delete key: Sletteknapp: - + Cancel button Avbryt - + Add button Legg til - + Edit Server Rediger Tjener - + Save button Lagre - + Please enter a server name - + - + Please enter an IP address - + - + Please enter a port - + - + Please enter a username - + - + The server name already exists, - + - + please input another one. - + Service - + OK button OK @@ -1050,32 +1078,32 @@ Settings - + Split screen - + - + Fullscreen Fullskjerm - + Normal window Normalt vindu - + Maximum - + - + Fast Fort - + Slow Sakte @@ -1086,184 +1114,189 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + TabRenameWidget - + Insert - + - - + + username: %u - + - + username@: %U - + - + remote host: %h - + - - + + session number: %# - + - - + + title set by shell: %w - + - + program name: %n - + - + current directory (short): %d - + - + current directory (long): %D - + - + local host: %h - + TermWidget - + Copy Kopier - + Paste Lim inn - + Open Åpne - + Open in file manager Åpne i filbehandleren - - + + Horizontal split Horisontal splitt - - + + Vertical split Vertikal splitt - - + + New tab - + - + Exit fullscreen Lukk fullskjerm - + Fullscreen Fullskjerm - + Find Finn - + Search Søk - + Encoding Enkoding - + Custom commands Egendefinterte kommandoer - + Remote management Fjernstyring - + Upload file Last opp fila - + Download file Last ned fil - + Settings Instillinger + + + The debuginfod settings will be effective after restart + + Utils - - + + Cancel button Avbryt - + Close button Lukk - - + + OK button OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_nl.ts b/translations/deepin-terminal_nl.ts index 6abadc80c..6fcdbcf3b 100644 --- a/translations/deepin-terminal_nl.ts +++ b/translations/deepin-terminal_nl.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -319,11 +321,16 @@ Animatiesnelheid van quakevenster - + Blur background Achtergrond vervagen + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Tekstgrootte - + Opacity Doorzichtigheid @@ -381,16 +388,16 @@ Sneltoetsen - + Others Overig - - + + Terminal Terminal @@ -400,62 +407,62 @@ Werkblad - + Custom commands Aangepaste opdrachten - + Display shortcuts Sneltoetsen tonen - + Remote management Beheer op afstand - + New tab Nieuw tabblad - + Next tab Volgend tabblad - + Previous tab Vorig tabblad - + Select left workspace Ga naar linkerwerkruimte - + Select lower workspace Ga naar onderste werkruimte - + Select right workspace Ga naar rechterwerkruimte - + Select upper workspace Ga naar bovenste werkruimte @@ -465,56 +472,56 @@ Tabbladnamen - + Go to tab 1 Ga naar tabblad 1 - + Go to tab 2 Ga naar tabblad 2 - + Go to tab 3 Ga naar tabblad 3 - + Go to tab 4 Ga naar tabblad 4 - + Go to tab 5 Ga naar tabblad 5 - + Go to tab 6 Ga naar tabblad 6 - + Go to tab 7 Ga naar tabblad 7 - + Go to tab 8 Ga naar tabblad 8 - + Go to tab 9 Ga naar tabblad 9 @@ -549,34 +556,34 @@ De http-bestandsserver voor het versturen van foutopsporingsinformatie - - - + + + Rename title Titelnaam wijzigen - + Fullscreen Schermvullende weergave - + Copy Klonen - + Default size Standaardgrootte - + Paste Plakken @@ -586,8 +593,8 @@ Zoeken - + Select all Alles selecteren @@ -602,14 +609,14 @@ Ga naar vorige opdracht - + Zoom in Inzoomen - + Zoom out Uitzoomen @@ -619,29 +626,29 @@ Andere vensters sluiten - - + + Close other workspaces Andere werkbladen sluiten - + Could not find "%1", starting "%2" instead. Please check your shell profile. “%1” is niet aangetroffen, dus wordt “%2” gestart. Controleer je shellprofiel. - + Could not open "%1", unable to run it “%1” kan niet worden geopend en worden gestart - + Could not find "%1", unable to run it “%1” is niet aangetroffen en kan daarom niet worden gestart - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Door het drukken op Ctrl+S is de uitvoer onderbroken. Druk op Ctrl+Q om te hervatten. @@ -651,39 +658,38 @@ Venster sluiten - - + + Close workspace Werkblad sluiten - + Horizontal split Horizontaal splitsen - + Vertical split Verticaal splitsen - + Find Zoeken - debuginfod urls - debuginfod-url's + debuginfod-url's - - + + please set another one. kies een andere. @@ -698,8 +704,8 @@ Tabbladen - + Close tab Tabblad sluiten @@ -714,14 +720,14 @@ Focussen op ‘+’-pictogram - + Select file to upload Kies het te uploaden bestand - + Upload Uploaden @@ -761,8 +767,8 @@ Er zijn nog processen actief in dit venster. Als je het venster sluit, worden ze afgebroken. - + Select a directory to save the file Kies de map waarin het bestand moet worden opgeslagen @@ -784,10 +790,10 @@ Je kunt Deepin Terminal dan niet meer gebruiken. + - Cancel button Annuleren @@ -830,15 +836,15 @@ Terminal niet sluiten na afronden van opdracht - + The name should be no more than 32 characters De naam mag niet langer zijn dan 32 tekens - - + + Select Kiezen @@ -848,20 +854,20 @@ Kies het privésleutelbestand - + Tab title format Tabbladnaamopmaak - + Remote tab title format Tabbladnaamopmaak (beheer op afstand) - + Close other tabs Andere tabbladen sluiten @@ -1096,12 +1102,12 @@ Maximaal - + Fast Snel - + Slow Traag @@ -1268,6 +1274,11 @@ Settings Instellingen + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1303,4 @@ Oké - \ No newline at end of file + diff --git a/translations/deepin-terminal_pl.ts b/translations/deepin-terminal_pl.ts index 736747165..dbd33576f 100644 --- a/translations/deepin-terminal_pl.ts +++ b/translations/deepin-terminal_pl.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -319,11 +321,16 @@ Szybkość animacji okna Quake - + Blur background Rozmycie tła + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Rozmiar czcionki - + Opacity Nieprzezroczystość @@ -381,16 +388,16 @@ Skróty - + Others Inne - - + + Terminal Terminal @@ -400,62 +407,62 @@ Obszar roboczy - + Custom commands Komendy niestandardowe - + Display shortcuts Wyświetl skróty - + Remote management Zarządzanie zdalne - + New tab Nowa karta - + Next tab Następna karta - + Previous tab Poprzednia karta - + Select left workspace Zaznacz lewy obszar roboczy - + Select lower workspace Zaznacz dolny obszar roboczy - + Select right workspace Zaznacz prawy obszar roboczy - + Select upper workspace Zaznacz górny obszar roboczy @@ -465,56 +472,56 @@ Nazwy kart - + Go to tab 1 Idź do karty 1 - + Go to tab 2 Idź do karty 2 - + Go to tab 3 Idź do karty 3 - + Go to tab 4 Idź do karty 4 - + Go to tab 5 Idź do karty 5 - + Go to tab 6 Idź do karty 6 - + Go to tab 7 Idź do karty 7 - + Go to tab 8 Idź do karty 8 - + Go to tab 9 Idź do karty 9 @@ -549,34 +556,34 @@ Serwer plików HTTP jest wykorzystywany do przenoszenia informacji debug - - - + + + Rename title Zmień nazwę tytułu - + Fullscreen Pełny ekran - + Copy Kopiuj - + Default size Domyślny rozmiar - + Paste Wklej @@ -586,8 +593,8 @@ Szukaj - + Select all Zaznacz wszystko @@ -602,14 +609,14 @@ Przejdź do poprzedniej komendy - + Zoom in Powiększ - + Zoom out Pomniejsz @@ -619,29 +626,29 @@ Zamknij pozostałe okna - - + + Close other workspaces Zamknij pozostałe obszary robocze - + Could not find "%1", starting "%2" instead. Please check your shell profile. Nie udało się znaleźć „%1”, włączanie „%2”. Sprawdź swój profil powłoki. - + Could not open "%1", unable to run it Nie udało się otworzyć "%1", nie można uruchomić - + Could not find "%1", unable to run it Nie udało się znaleźć „%1”, nie można uruchomić - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Wyjście danych zostało zawieszone przez naciśnięcie Ctrl+S. Naciśnij Ctrl+Q, aby wznowić. @@ -651,39 +658,38 @@ Zamknij okno - - + + Close workspace Zamknij obszar roboczy - + Horizontal split Podział poziomy - + Vertical split Podział pionowy - + Find Znajdź - debuginfod urls - debuginfod urls + debuginfod urls - - + + please set another one. ustaw inną. @@ -698,8 +704,8 @@ Karty - + Close tab Zamknij kartę @@ -714,14 +720,14 @@ Przełącz zaznaczenie na ikonę „+” - + Select file to upload Wybierz plik do wysłania - + Upload Wyślij @@ -761,8 +767,8 @@ W tym oknie nadal są aktywne procesy. Zamknięcie zakończy je wszystkie. - + Select a directory to save the file Wybierz katalog, w którym chcesz zapisać plik @@ -784,10 +790,10 @@ Nie będziesz już mógł korzystać z terminala. + - Cancel button Anuluj @@ -830,15 +836,15 @@ Pozostaw terminal otwarty po zakończeniu komendy - + The name should be no more than 32 characters Nazwa nie powinna przekraczać 32 znaków - - + + Select Wybierz @@ -848,20 +854,20 @@ Wybierz plik klucza prywatnego - + Tab title format Format tytułu karty - + Remote tab title format Format tytułu zdalnej karty - + Close other tabs Zamknij pozostałe karty @@ -1096,12 +1102,12 @@ Zmaksymalizowany - + Fast Szybka - + Slow Powolna @@ -1268,6 +1274,11 @@ Settings Ustawienia + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1303,4 @@ OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_pt.ts b/translations/deepin-terminal_pt.ts index 9ea96c24d..997e503f0 100644 --- a/translations/deepin-terminal_pt.ts +++ b/translations/deepin-terminal_pt.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + O nome não deve ter mais que 32 caracteres {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -319,11 +321,16 @@ Velocidade de animação da janela deslizante - + Blur background Fundo desfocado + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Tamanho da fonte - + Opacity Opacidade @@ -381,16 +388,16 @@ Atalhos - + Others Outros - - + + Terminal Terminal @@ -400,62 +407,62 @@ Área de trabalho - + Custom commands Comandos personalizados - + Display shortcuts Mostrar atalhos - + Remote management Gestão remota - + New tab Novo separador - + Next tab Separador seguinte - + Previous tab Separador anterior - + Select left workspace Selecionar a área de trabalho à esquerda - + Select lower workspace Selecionar a área de trabalho inferior - + Select right workspace Selecionar a área de trabalho à direita - + Select upper workspace Selecionar a área de trabalho superior @@ -465,56 +472,56 @@ Títulos de separador - + Go to tab 1 Ir para separador 1 - + Go to tab 2 Ir para separador 2 - + Go to tab 3 Ir para separador 3 - + Go to tab 4 Ir para separador 4 - + Go to tab 5 Ir para separador 5 - + Go to tab 6 Ir para separador 6 - + Go to tab 7 Ir para separador 7 - + Go to tab 8 Ir para separador 8 - + Go to tab 9 Ir para separador 9 @@ -536,47 +543,47 @@ Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Renomear título - + Fullscreen Ecrã inteiro - + Copy Copiar - + Default size Tamanho predefinido - + Paste Colar @@ -586,8 +593,8 @@ Pesquisar - + Select all Selecionar tudo @@ -602,14 +609,14 @@ Ir para o comando anterior - + Zoom in Aumentar - + Zoom out Diminuir @@ -619,29 +626,29 @@ Fechar outras janelas - - + + Close other workspaces Fechar outras áreas de trabalho - + Could not find "%1", starting "%2" instead. Please check your shell profile. Não foi possível localizar "%1", a iniciar "%2" ao invés. Verifique o seu perfil da shell. - + Could not open "%1", unable to run it Não foi possível abrir o "%1", incapaz de o executar - + Could not find "%1", unable to run it Não foi possível localizar "%1", incapaz de o executar - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. O resultado foi suspenso pressionando Ctrl+S. Pressionando Ctrl+Q para retomar. @@ -651,39 +658,34 @@ Fechar janela - - + + Close workspace Fechar área de trabalho - + Horizontal split Dividir horizontalmente - + Vertical split Dividir verticalmente - + Find Localizar - - debuginfod urls - - - - - + + please set another one. defina outro. @@ -698,8 +700,8 @@ Separadores - + Close tab Fechar separador @@ -714,14 +716,14 @@ Mudar o foco para o ícone "+" - + Select file to upload Selecionar ficheiro para enviar - + Upload Enviar @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file Selecionar um diretório para guardar o ficheiro @@ -784,10 +786,10 @@ Não poderá mais usar o Terminal. + - Cancel button Cancelar @@ -830,15 +832,15 @@ Mantenha o terminal aberto quando o comando terminar - + The name should be no more than 32 characters O nome não deve ter mais que 32 caracteres - - + + Select Selecionar @@ -848,20 +850,20 @@ Selecionar o ficheiro de chave privada - + Tab title format Formato do título do separador - + Remote tab title format Formato do título do separador remoto - + Close other tabs Fechar outros separadores @@ -884,7 +886,7 @@ Add Group - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Maximizada - + Fast Rápido - + Slow Lento @@ -1268,6 +1270,11 @@ Settings Definições + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ Aceitar - \ No newline at end of file + diff --git a/translations/deepin-terminal_pt_BR.ts b/translations/deepin-terminal_pt_BR.ts index b0c4c9a70..71014627a 100644 --- a/translations/deepin-terminal_pt_BR.ts +++ b/translations/deepin-terminal_pt_BR.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -319,11 +321,16 @@ Velocidade de animação da janela Quake - + Blur background Desfocar o fundo + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Tamanho da fonte - + Opacity Opacidade @@ -381,16 +388,16 @@ Atalhos - + Others Outros - - + + Terminal Terminal @@ -400,62 +407,62 @@ Área de Trabalho - + Custom commands Comandos personalizados - + Display shortcuts Exibir atalhos - + Remote management Gerenciamento remoto - + New tab Nova aba - + Next tab Próxima aba - + Previous tab Aba anterior - + Select left workspace Selecionar o espaço de trabalho esquerdo - + Select lower workspace Selecionar o espaço de trabalho inferior - + Select right workspace Selecionar o espaço de trabalho direito - + Select upper workspace Selecionar o espaço de trabalho superior @@ -465,56 +472,56 @@ Títulos das abas - + Go to tab 1 Ir para a aba 1 - + Go to tab 2 Ir para a aba 2 - + Go to tab 3 Ir para a aba 3 - + Go to tab 4 Ir para a aba 4 - + Go to tab 5 Ir para a aba 5 - + Go to tab 6 Ir para a aba 6 - + Go to tab 7 Ir para a aba 7 - + Go to tab 8 Ir para a aba 8 - + Go to tab 9 Ir para a aba 9 @@ -541,42 +548,42 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Renomear título - + Fullscreen Tela cheia - + Copy Copiar - + Default size Tamanho padrão - + Paste Colar @@ -586,8 +593,8 @@ Pesquisar - + Select all Selecionar tudo @@ -602,14 +609,14 @@ Ir para o comando anterior - + Zoom in Aumentar zoom - + Zoom out Reduzir zoom @@ -619,29 +626,29 @@ Fechar outras janelas - - + + Close other workspaces Fechar outros espaços de trabalho - + Could not find "%1", starting "%2" instead. Please check your shell profile. Impossível encontrar "%1", iniciando com "%2" em vez disso. Verifique o perfil do shell. - + Could not open "%1", unable to run it Impossível abrir "% 1", impossível executá-lo - + Could not find "%1", unable to run it Impossível localizar "% 1", não foi possível executá-lo - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. A saída foi suspensa ao pressionar Ctrl+S. Pressionando Ctrl+Q irá retomar. @@ -651,39 +658,34 @@ Fechar janela - - + + Close workspace Fechar espaço de trabalho - + Horizontal split Dividir horizontalmente - + Vertical split Dividir verticalmente - + Find Localizar - - debuginfod urls - - - - - + + please set another one. Defina outro. @@ -698,8 +700,8 @@ Abas - + Close tab Fechar aba @@ -714,14 +716,14 @@ Alterar o foco para o ícone "+" - + Select file to upload Selecionar arquivo para enviar - + Upload Upload @@ -761,8 +763,8 @@ Ainda há processos em execução neste terminal janela. Fechar a janela encerrará todos eles. - + Select a directory to save the file Selecione um diretório para salvar o arquivo @@ -784,10 +786,10 @@ Você não poderá mais usar o Terminal. + - Cancel button Cancelar @@ -830,15 +832,15 @@ Manter o terminal aberto quando o comando finalizar - + The name should be no more than 32 characters O nome não deve ter mais do que 32 caracteres - - + + Select Selecionar @@ -848,20 +850,20 @@ Selecionar o arquivo da chave privada - + Tab title format Formato do título da aba - + Remote tab title format Formato do título da aba remota - + Close other tabs Fechar as outras abas @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Maximizado - + Fast Rápido - + Slow Lento @@ -1268,6 +1270,11 @@ Settings Configurações + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ Ok - \ No newline at end of file + diff --git a/translations/deepin-terminal_ro.ts b/translations/deepin-terminal_ro.ts index 90b6814cd..03904d114 100644 --- a/translations/deepin-terminal_ro.ts +++ b/translations/deepin-terminal_ro.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -94,7 +96,7 @@ No commands yet - + @@ -118,12 +120,12 @@ Custom Theme - + Style: - + @@ -138,22 +140,22 @@ Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + Numele nu trebuie să aibă mai mult de 32 de caractere {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -273,7 +275,7 @@ Custom Theme - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,14 +318,19 @@ Quake window animation speed - + - + Blur background Încețoșează fundalul + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Dimensiunea fontului - + Opacity Opacitate @@ -381,16 +388,16 @@ Scurtături - + Others Altele - - + + Terminal Terminal @@ -400,183 +407,183 @@ Spațiu de lucru - + Custom commands Comandă personalizată - + Display shortcuts Afișează scurtături - + Remote management Administrare de la distanță - + New tab Filă nouă - + Next tab - + - + Previous tab - + - + Select left workspace - + - + Select lower workspace - + - + Select right workspace - + - + Select upper workspace - + Tab titles - + - + Go to tab 1 - + - + Go to tab 2 - + - + Go to tab 3 - + - + Go to tab 4 - + - + Go to tab 5 - + - + Go to tab 6 - + - + Go to tab 7 - + - + Go to tab 8 - + - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Redenumește titlul - + Fullscreen Redare ecran complet - + Copy Copiere - + Default size DImensiune implicită - + Paste Lipire @@ -586,8 +593,8 @@ Căutare - + Select all Selectează totul @@ -602,14 +609,14 @@ Sari la comanda anterioară - + Zoom in Mărește - + Zoom out Micșorează @@ -619,31 +626,31 @@ Închide celelalte ferestre - - + + Close other workspaces Închide celelalte spații de lucru - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + - + Could not open "%1", unable to run it - + - + Could not find "%1", unable to run it - + - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -651,39 +658,34 @@ Închide fereastra - - + + Close workspace Închide spațiul de lucru - + Horizontal split Dedublare pe orizontală - + Vertical split Dedublare pe verticală - + Find Găsire - - debuginfod urls - - - - - + + please set another one. vă rugăm să introduceți altul. @@ -695,33 +697,33 @@ Tabs - + - + Close tab Închideți fila Select tab - + Switch focus to "+" icon - + - + Select file to upload Alege fișierul de încărcat - + Upload Încărcare @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file Alegeți un directór pentru salvarea fișierului. @@ -784,10 +786,10 @@ Nu veți putea să mai utilizați terminalul de acum încolo. + - Cancel button Anulează @@ -830,15 +832,15 @@ Păstrează terminalul deschis atunci când comanda termină de rulat - + The name should be no more than 32 characters Numele nu trebuie să aibă mai mult de 32 de caractere - - + + Select Selectare @@ -848,22 +850,22 @@ Alege fișierul cu cheia privată - + Tab title format - + - + Remote tab title format - + - + Close other tabs - + @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Maxim - + Fast Repede - + Slow Încet @@ -1127,55 +1129,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1268,6 +1270,11 @@ Settings Setări + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ Ok - \ No newline at end of file + diff --git a/translations/deepin-terminal_ru.ts b/translations/deepin-terminal_ru.ts index 67d6c054e..711a70833 100644 --- a/translations/deepin-terminal_ru.ts +++ b/translations/deepin-terminal_ru.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -319,11 +321,16 @@ Скорость анимации окон Quake - + Blur background Размытие фона + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Размер шрифта - + Opacity Непрозрачность @@ -381,16 +388,16 @@ Сочетание клавиш - + Others Другое - - + + Terminal Терминал @@ -400,62 +407,62 @@ Рабочая область - + Custom commands Пользовательские команды - + Display shortcuts Показать сочетания клавиш - + Remote management Удаленное управление - + New tab Новая вкладка - + Next tab Следующая вкладка - + Previous tab Предыдущая вкладка - + Select left workspace Выбрать левую рабочую область - + Select lower workspace Выбрать нижнюю рабочую область - + Select right workspace Выбрать правую рабочую область - + Select upper workspace Выбрать верхнюю рабочую область @@ -465,56 +472,56 @@ Заголовки вкладок - + Go to tab 1 Перейти на вкладку 1 - + Go to tab 2 Перейти на вкладку 2 - + Go to tab 3 Перейти на вкладку 3 - + Go to tab 4 Перейти на вкладку 4 - + Go to tab 5 Перейти на вкладку 5 - + Go to tab 6 Перейти на вкладку 6 - + Go to tab 7 Перейти на вкладку 7 - + Go to tab 8 Перейти на вкладку 8 - + Go to tab 9 Перейти на вкладку 9 @@ -541,42 +548,42 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Переименовать заголовок - + Fullscreen Полноэкранный режим - + Copy Копировать - + Default size Размер по умолчанию - + Paste Вставить @@ -586,8 +593,8 @@ Поиск - + Select all Выбрать всё @@ -602,14 +609,14 @@ Перейти к предыдущей команде - + Zoom in Приблизить - + Zoom out Отдалить @@ -619,29 +626,29 @@ Закрыть другие окна - - + + Close other workspaces Закрыть другие рабочие области - + Could not find "%1", starting "%2" instead. Please check your shell profile. Не удалось найти «%1», вместо этого начинается «%2». Пожалуйста, проверьте свой профиль оболочки. - + Could not open "%1", unable to run it Не удалось открыть «%1», невозможно запустить его - + Could not find "%1", unable to run it Не удалось найти «%1», невозможно его запустить - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Вывод был приостановлен нажатием Ctrl+S. Нажмите Ctrl+Q, чтобы продолжить. @@ -651,39 +658,34 @@ Закрыть окно - - + + Close workspace Закрыть рабочую область - + Horizontal split Разделить по горизонтали - + Vertical split Разделить по вертикали - + Find Найти - - debuginfod urls - - - - - + + please set another one. пожалуйста, установите другой. @@ -698,8 +700,8 @@ Вкладки - + Close tab Закрыть вкладку @@ -714,14 +716,14 @@ Переключить фокус на значок "+" - + Select file to upload Выберите файл для загрузки - + Upload Загрузить @@ -761,8 +763,8 @@ В этом окне всё ещё запущены процессы. Закрытие окна приведёт к их завершению. - + Select a directory to save the file Выберите каталог для сохранения файла @@ -784,10 +786,10 @@ Вы больше не сможете использовать Терминал. + - Cancel button Отмена @@ -830,15 +832,15 @@ Держать терминал открытым после завершения команды - + The name should be no more than 32 characters Имя должно быть не более 32 символов. - - + + Select Выбрать @@ -848,20 +850,20 @@ Выберите файл закрытого ключа - + Tab title format Формат заголовка вкладки - + Remote tab title format Формат заголовка удаленной вкладки - + Close other tabs Закрыть другие вкладки @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Максимум - + Fast Быстро - + Slow Медленно @@ -1268,6 +1270,11 @@ Settings Настройки + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_sk.ts b/translations/deepin-terminal_sk.ts index 2a8bdcae9..d8b4ea831 100644 --- a/translations/deepin-terminal_sk.ts +++ b/translations/deepin-terminal_sk.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -37,7 +39,7 @@ Delete Command - + @@ -66,22 +68,22 @@ Please enter a name - + Please enter a command - + The name already exists, - + please input another one. - + @@ -94,7 +96,7 @@ No commands yet - + @@ -118,12 +120,12 @@ Custom Theme - + Style: - + @@ -133,27 +135,27 @@ Dark - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + @@ -216,22 +218,22 @@ Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -273,7 +275,7 @@ Custom Theme - + @@ -291,7 +293,7 @@ Cursor style - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,18 +318,23 @@ Quake window animation speed - + - + Blur background Rozostrené pozadie + + + debuginfod URLs + + Use on starting - + @@ -337,13 +344,13 @@ Font size - + - + Opacity - + @@ -381,16 +388,16 @@ Odkazy - + Others Iné - - + + Terminal Terminál @@ -400,183 +407,183 @@ Pracovné prostredie - + Custom commands Vlastné príkazy - + Display shortcuts Zobraziť skratky - + Remote management Vzdialená správa - + New tab - + - + Next tab - + - + Previous tab - + - + Select left workspace - + - + Select lower workspace - + - + Select right workspace - + - + Select upper workspace - + Tab titles - + - + Go to tab 1 - + - + Go to tab 2 - + - + Go to tab 3 - + - + Go to tab 4 - + - + Go to tab 5 - + - + Go to tab 6 - + - + Go to tab 7 - + - + Go to tab 8 - + - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Premenovať názov - + Fullscreen Celá obrazovka - + Copy Kopírovať - + Default size Predvolená veľkosť - + Paste Prilepiť @@ -586,8 +593,8 @@ Hľadať - + Select all Vybrať všetko @@ -602,14 +609,14 @@ Prejsť na predchádzajúci príkaz - + Zoom in Priblížiť - + Zoom out Oddialiť @@ -619,31 +626,31 @@ Zatvoriť ostatné okná - - + + Close other workspaces - + - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + - + Could not open "%1", unable to run it - + - + Could not find "%1", unable to run it - + - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -651,41 +658,36 @@ Zatvoriť okno - - + + Close workspace Zatvoriť pracovné prostredie - + Horizontal split Horizontálne rozdelenie - + Vertical split Vertikálne rozdelenie - + Find Nájsť - - debuginfod urls - - - - - + + please set another one. - + @@ -695,33 +697,33 @@ Tabs - + - + Close tab - + Select tab - + Switch focus to "+" icon - + - + Select file to upload Vyberte súbor, ktorý chcete nahrať - + Upload Nahrať @@ -734,37 +736,37 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file - + @@ -775,19 +777,19 @@ Are you sure you want to uninstall this application? - + You will not be able to use Terminal any longer. - + + - Cancel button Zrušiť @@ -802,43 +804,43 @@ Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + - + The name should be no more than 32 characters - + - - + + Select Vybrať @@ -848,22 +850,22 @@ Vyberte súbor súkromného kľúča - + Tab title format - + - + Remote tab title format - + - + Close other tabs - + @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -907,7 +909,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1036,32 +1038,32 @@ Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. - + @@ -1078,7 +1080,7 @@ Split screen - + @@ -1093,15 +1095,15 @@ Maximum - + - + Fast Rýchlo - + Slow Pomaly @@ -1112,14 +1114,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1127,55 +1129,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1216,7 +1218,7 @@ New tab - + @@ -1268,6 +1270,11 @@ Settings Nastavenia + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_sl.ts b/translations/deepin-terminal_sl.ts index aba6f4754..d0a19487d 100644 --- a/translations/deepin-terminal_sl.ts +++ b/translations/deepin-terminal_sl.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -37,7 +39,7 @@ Delete Command - + @@ -66,22 +68,22 @@ Please enter a name - + Please enter a command - + The name already exists, - + please input another one. - + @@ -94,7 +96,7 @@ No commands yet - + @@ -118,12 +120,12 @@ Custom Theme - + Style: - + @@ -138,22 +140,22 @@ Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + @@ -216,22 +218,22 @@ Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -268,12 +270,12 @@ Type path to download file - + Custom Theme - + @@ -281,7 +283,7 @@ Copy on select - + @@ -291,7 +293,7 @@ Cursor style - + @@ -306,28 +308,33 @@ Allow Ctrl+scrollwheel to zoom text size - + Hide Quake window after losing focus - + Quake window animation speed - + - + Blur background Zabriši ozadje + + + debuginfod URLs + + Use on starting - + @@ -337,13 +344,13 @@ Font size - + - + Opacity - + @@ -381,16 +388,16 @@ Bližnjice - + Others Ostalo - - + + Terminal Terminal @@ -400,183 +407,183 @@ Delovna površina - + Custom commands Ukazi po meri - + Display shortcuts Prikaži bližnjice - + Remote management Upravljanje na daljavo - + New tab - + - + Next tab - + - + Previous tab - + - + Select left workspace - + - + Select lower workspace - + - + Select right workspace - + - + Select upper workspace - + Tab titles - + - + Go to tab 1 - + - + Go to tab 2 - + - + Go to tab 3 - + - + Go to tab 4 - + - + Go to tab 5 - + - + Go to tab 6 - + - + Go to tab 7 - + - + Go to tab 8 - + - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Preimenuj naslov - + Fullscreen Celozaslonski način - + Copy Kopiraj - + Default size Privzeta velikost - + Paste Prilepi @@ -586,8 +593,8 @@ Išči - + Select all Izberi vse @@ -602,14 +609,14 @@ Skoči na prejšnji ukaz - + Zoom in Povečaj - + Zoom out Pomanjšaj @@ -619,31 +626,31 @@ Zapri druga okna - - + + Close other workspaces - + - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + - + Could not open "%1", unable to run it - + - + Could not find "%1", unable to run it - + - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -651,77 +658,72 @@ Zapri okno - - + + Close workspace Zapri delovno površino - + Horizontal split Vodoravna razdelitev - + Vertical split Navpična razdelitev - + Find Najdi - - debuginfod urls - - - - - + + please set another one. - + Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. - + Tabs - + - + Close tab - + Select tab - + Switch focus to "+" icon - + - + Select file to upload Izberi datoteko za nalaganje - + Upload Naloži @@ -734,37 +736,37 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file - + @@ -775,19 +777,19 @@ Are you sure you want to uninstall this application? - + You will not be able to use Terminal any longer. - + + - Cancel button Prekini @@ -802,43 +804,43 @@ Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + - + The name should be no more than 32 characters - + - - + + Select Izberi @@ -848,22 +850,22 @@ Izberi zasebno datoteko s ključem - + Tab title format - + - + Remote tab title format - + - + Close other tabs - + @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -907,7 +909,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1036,32 +1038,32 @@ Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. - + @@ -1078,7 +1080,7 @@ Split screen - + @@ -1093,15 +1095,15 @@ Maximum - + - + Fast Hitro - + Slow Počasi @@ -1112,14 +1114,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1127,55 +1129,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1216,7 +1218,7 @@ New tab - + @@ -1268,6 +1270,11 @@ Settings Nastavitve + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ V redu - \ No newline at end of file + diff --git a/translations/deepin-terminal_sq.ts b/translations/deepin-terminal_sq.ts index 90cda1e51..8a73ddec2 100644 --- a/translations/deepin-terminal_sq.ts +++ b/translations/deepin-terminal_sq.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -296,12 +298,12 @@ Scroll on keystroke - + Scroll on output - + @@ -319,11 +321,16 @@ Shpejtësi animacioni dritareje Quake - + Blur background Turbulloje sfondin + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Madhësi shkronjash - + Opacity Patejdukshmëri @@ -381,16 +388,16 @@ Shkurtore - + Others Të tjera - - + + Terminal Terminal @@ -400,62 +407,62 @@ Hapësirë Pune - + Custom commands Urdhra vetjakë - + Display shortcuts Shfaq shkurtore - + Remote management Administrim së largëti - + New tab Skedë e re - + Next tab Skeda pasuese - + Previous tab Skeda e mëparshme - + Select left workspace Përzgjidhni hapësirën e punës majtas - + Select lower workspace Përzgjidhni hapësirën e poshtme të punës - + Select right workspace Përzgjidhni hapësirën e punës djathtas - + Select upper workspace Përzgjidhni hapësirën e sipërme të punës @@ -465,56 +472,56 @@ Tituj skedash - + Go to tab 1 Shko te skeda 1 - + Go to tab 2 Kalo te skeda 2 - + Go to tab 3 Kalo te skeda 3 - + Go to tab 4 Kalo te skeda 4 - + Go to tab 5 Kalo te skeda 5 - + Go to tab 6 Kalo te skeda 6 - + Go to tab 7 Kalo te skeda 7 - + Go to tab 8 Kalo te skeda 8 - + Go to tab 9 Kalo te skeda 9 @@ -549,34 +556,34 @@ Shërbyesi HTTP i kartelave i përdorur për të transmetuar burime informacionesh diagnostikimi - - - + + + Rename title Titull riemërtimi - + Fullscreen Sa krejt ekrani - + Copy Kopjoje - + Default size Madhësi parazgjedhje - + Paste Ngjite @@ -586,8 +593,8 @@ Kërkim - + Select all Përzgjidhi krejt @@ -602,14 +609,14 @@ Kalo te urdhri i mëparshëm - + Zoom in Zmadhoje - + Zoom out Zvogëloje @@ -619,29 +626,29 @@ Mbylli dritaret e tjera - - + + Close other workspaces Mbyll hapësira të tjera pune - + Could not find "%1", starting "%2" instead. Please check your shell profile. S’u gjet dot “%1”, në vend të tij po niset “%2”. Ju lutemi, kontrolloni profilin tuaj për shellin. - + Could not open "%1", unable to run it S’u hap dot “%1”, s’arrihet të xhirohet - + Could not find "%1", unable to run it S’u gjet dot “%1”, s’arrihet të xhirohet - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Shfaqja e përfundimit është pezulluar nga shtypja e tasteve Ctrl+S. Shtypni Ctrl+Q që të vazhdojë. @@ -651,39 +658,34 @@ Mbylle dritaren - - + + Close workspace Mbylle hapësirën e punës - + Horizontal split Ndarje horizontale - + Vertical split Ndarje vertikale - + Find Gjej - - debuginfod urls - - - - - + + please set another one. ju lutemi, caktoni një tjetër. @@ -698,8 +700,8 @@ Skeda - + Close tab Mbylle skedën @@ -714,14 +716,14 @@ Kaloje fokusin te ikona "+" - + Select file to upload Përzgjidhni kartelë për ngarkim - + Upload Ngarkim @@ -761,8 +763,8 @@ Ka ende procese që xhirojnë në këtë dritare. Mbyllja e dritares do t’i përfundojë krejt ata. - + Select a directory to save the file Përzgjidhni një drejtori ku të ruhet kartela @@ -784,10 +786,10 @@ S’do të jeni më në gjendje të xhironi Terminal-in. + - Cancel button Anuloje @@ -830,15 +832,15 @@ Kur urdhri përfundon, mbaje hapur terminalin - + The name should be no more than 32 characters Emri s’duhet të jetë më tepër se 32 shenja - - + + Select Përzgjidhe @@ -848,20 +850,20 @@ Përzgjidhni kartelën e kyçit privat - + Tab title format Format titulli skede - + Remote tab title format Format titulli skede të largët - + Close other tabs Mbylli skedat e tjera @@ -1096,12 +1098,12 @@ Maksimum - + Fast E shpejtë - + Slow E ngadaltë @@ -1268,6 +1270,11 @@ Settings Rregullime + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ OK - \ No newline at end of file + diff --git a/translations/deepin-terminal_sr.ts b/translations/deepin-terminal_sr.ts index a2686ff77..446e2a286 100644 --- a/translations/deepin-terminal_sr.ts +++ b/translations/deepin-terminal_sr.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -94,7 +96,7 @@ No commands yet - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + Име не треба бити дуже од 32 карактера {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,14 +318,19 @@ Quake window animation speed - + - + Blur background Замућена позадина + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Величина фонта - + Opacity Прозирност @@ -381,16 +388,16 @@ Пречице - + Others Остало - - + + Terminal Терминал @@ -400,62 +407,62 @@ Радни простор - + Custom commands Прилагођене команде - + Display shortcuts Прикажи пречице - + Remote management Даљинско управљање - + New tab Нова картица - + Next tab Следећа картица - + Previous tab Претходна картица - + Select left workspace Изабери леви радни простор - + Select lower workspace Изабери доњи радни простор - + Select right workspace Изабери десни радни простор - + Select upper workspace Изабери горњи радни простор @@ -465,56 +472,56 @@ Наслов картице - + Go to tab 1 Иди на картицу 1 - + Go to tab 2 Иди на картицу 2 - + Go to tab 3 Иди на картицу 3 - + Go to tab 4 Иди на картицу 4 - + Go to tab 5 Иди на картицу 5 - + Go to tab 6 Иди на картицу 6 - + Go to tab 7 Иди на картицу 7 - + Go to tab 8 Иди на картицу 8 - + Go to tab 9 Иди на картицу 9 @@ -531,52 +538,52 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Промени наслов - + Fullscreen Цео екран - + Copy Копирај - + Default size Подразумевана величина - + Paste Убаци @@ -586,8 +593,8 @@ Претражи - + Select all Изабери све @@ -602,14 +609,14 @@ Иди на претходну команду - + Zoom in Увеличај - + Zoom out Умањи @@ -619,29 +626,29 @@ Затвори остале прозоре - - + + Close other workspaces Затвори остале радне просторе - + Could not find "%1", starting "%2" instead. Please check your shell profile. Није пронађено "%1", уместо тога покрећем "%2". Проверите ваш профил љуске. - + Could not open "%1", unable to run it Не могу да отворим "%1", покретање није могуће - + Could not find "%1", unable to run it Није пронађено "%1", покретање није могуће - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Испис је обустављен притиском на Ctrl+S. Притисни Ctrl+Q за наставак. @@ -651,39 +658,34 @@ Затвори прозор - - + + Close workspace Затвори радни простор - + Horizontal split Хоризонтална подела - + Vertical split Вертикална подела - + Find Пронађи - - debuginfod urls - - - - - + + please set another one. молимо поставите другу @@ -698,8 +700,8 @@ Картице - + Close tab Затвори картице @@ -714,14 +716,14 @@ Пребаци фокус на "+" иконицу - + Select file to upload Изабери датотеку за отпремање - + Upload Отпреми @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file Изабери директоријум за чување датотеке @@ -784,10 +786,10 @@ Више нећете моћи да користите терминал. + - Cancel button Откажи @@ -830,15 +832,15 @@ Остави терминал отворен када је команда извршена - + The name should be no more than 32 characters Име не треба бити дуже од 32 карактера - - + + Select Изабери @@ -848,20 +850,20 @@ Изабери датотеку са приватним кључем - + Tab title format Формат наслова картице - + Remote tab title format Формат наслова удаљене картице - + Close other tabs Затвори остале картице @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Максимум - + Fast Брзо - + Slow Споро @@ -1268,6 +1270,11 @@ Settings Подeшавања + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ У реду - \ No newline at end of file + diff --git a/translations/deepin-terminal_sv.ts b/translations/deepin-terminal_sv.ts index dc99df698..7ac1fafe8 100644 --- a/translations/deepin-terminal_sv.ts +++ b/translations/deepin-terminal_sv.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -37,7 +39,7 @@ Delete Command - + @@ -66,22 +68,22 @@ Please enter a name - + Please enter a command - + The name already exists, - + please input another one. - + @@ -94,7 +96,7 @@ No commands yet - + @@ -118,12 +120,12 @@ Custom Theme - + Style: - + @@ -133,27 +135,27 @@ Dark - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -203,12 +205,12 @@ Please enter a group name - + The name should be no more than 30 characters - + @@ -216,22 +218,22 @@ Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -273,7 +275,7 @@ Custom Theme - + @@ -291,7 +293,7 @@ Cursor style - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,18 +318,23 @@ Quake window animation speed - + - + Blur background Suddig bakgrund + + + debuginfod URLs + + Use on starting - + @@ -337,13 +344,13 @@ Font size - + - + Opacity - + @@ -381,16 +388,16 @@ Kortkommandon - + Others Övrigt - - + + Terminal Terminal @@ -400,183 +407,183 @@ Arbetsyta - + Custom commands Anpassade kommandon - + Display shortcuts Visa genvägar - + Remote management Fjärrhantering - + New tab - + - + Next tab - + - + Previous tab - + - + Select left workspace - + - + Select lower workspace - + - + Select right workspace - + - + Select upper workspace - + Tab titles - + - + Go to tab 1 - + - + Go to tab 2 - + - + Go to tab 3 - + - + Go to tab 4 - + - + Go to tab 5 - + - + Go to tab 6 - + - + Go to tab 7 - + - + Go to tab 8 - + - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Ändra titel - + Fullscreen Fullskärm - + Copy Kopiera - + Default size Förvald storlek - + Paste Klistra in @@ -586,8 +593,8 @@ Sök - + Select all Välj alla @@ -602,14 +609,14 @@ Gå till föregående kommando - + Zoom in Zooma in - + Zoom out Zooma ut @@ -619,31 +626,31 @@ Stäng andra fönster - - + + Close other workspaces - + - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + - + Could not open "%1", unable to run it - + - + Could not find "%1", unable to run it - + - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -651,77 +658,72 @@ Stäng fönster - - + + Close workspace Stäng arbetsyta - + Horizontal split Horisontell delning - + Vertical split Vertikal delning - + Find Hitta - - debuginfod urls - - - - - + + please set another one. - + Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. - + Tabs - + - + Close tab - + Select tab - + Switch focus to "+" icon - + - + Select file to upload Välj fil att ladda upp - + Upload Ladda upp @@ -734,60 +736,60 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file - + Are you sure you want to uninstall it? - + Are you sure you want to uninstall this application? - + You will not be able to use Terminal any longer. - + + - Cancel button Avbryt @@ -802,43 +804,43 @@ Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + - + The name should be no more than 32 characters - + - - + + Select Välj @@ -848,22 +850,22 @@ Välj en privat nyckelfil - + Tab title format - + - + Remote tab title format - + - + Close other tabs - + @@ -884,7 +886,7 @@ Add Group - + @@ -894,7 +896,7 @@ No servers yet - + @@ -907,7 +909,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1036,32 +1038,32 @@ Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. - + @@ -1078,7 +1080,7 @@ Split screen - + @@ -1093,15 +1095,15 @@ Maximum - + - + Fast Snabb - + Slow Långsam @@ -1112,14 +1114,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1127,55 +1129,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1216,7 +1218,7 @@ New tab - + @@ -1268,6 +1270,11 @@ Settings Inställningar + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ Okej - \ No newline at end of file + diff --git a/translations/deepin-terminal_tr.ts b/translations/deepin-terminal_tr.ts index 43f653866..fc52ec009 100644 --- a/translations/deepin-terminal_tr.ts +++ b/translations/deepin-terminal_tr.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -319,11 +321,16 @@ Quake penceresi animasyon hızı - + Blur background Arkaplanı bulanıklaştır + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Yazı tipi boyutu - + Opacity Saydamlık @@ -381,16 +388,16 @@ Kısayollar - + Others Diğerleri - - + + Terminal Uçbirim @@ -400,62 +407,62 @@ Çalışma alanı - + Custom commands Özel komutlar - + Display shortcuts Kısayolları görüntüle - + Remote management Uzaktan yönetim - + New tab Yeni sekme - + Next tab Sonraki sekme - + Previous tab Önceki sekme - + Select left workspace Sol çalışma alanını seç - + Select lower workspace Alt çalışma alanını seç - + Select right workspace Sağ çalışma alanını seç - + Select upper workspace Üst çalışma alanını seç @@ -465,56 +472,56 @@ Sekme başlıkları - + Go to tab 1 1. sekmeye git - + Go to tab 2 2. sekmeye git - + Go to tab 3 3. sekmeye git - + Go to tab 4 4. sekmeye git - + Go to tab 5 5. sekmeye git - + Go to tab 6 6. sekmeye git - + Go to tab 7 7. sekmeye git - + Go to tab 8 8. sekmeye git - + Go to tab 9 9. sekmeye git @@ -541,42 +548,42 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title Yeniden adlandır - + Fullscreen Tam ekran - + Copy Kopyala - + Default size Varsayılan boyut - + Paste Yapıştır @@ -586,8 +593,8 @@ Ara - + Select all Tümünü seç @@ -602,14 +609,14 @@ Önceki komuta atla - + Zoom in Yakınlıştır - + Zoom out Uzaklaştır @@ -619,29 +626,29 @@ Diğer pencereleri kapat - - + + Close other workspaces Diğer çalışma alanlarını kapat - + Could not find "%1", starting "%2" instead. Please check your shell profile. Onun yerine "%2" başlayarak "%1" bulunamadı. Lütfen kabuk profilinizi kontrol edin. - + Could not open "%1", unable to run it "%1" açılamadı, çalıştırılamıyor - + Could not find "%1", unable to run it "%1" bulunamadı, çalıştırılamıyor - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Çıkış, Ctrl+S tuşlarına basılarak askıya alındı. Devam etmek için Ctrl+Q tuşlarına basın. @@ -651,39 +658,34 @@ Pencereyi kapat - - + + Close workspace Çalışma alanını kapat - + Horizontal split Yatay böl - + Vertical split Dikey böl - + Find Bul - - debuginfod urls - - - - - + + please set another one. lütfen başka bir tane ayarla. @@ -698,8 +700,8 @@ Sekmeler - + Close tab Sekmeyi kapat @@ -714,14 +716,14 @@ Odağı "+" simgesine getirin - + Select file to upload Yüklenecek dosyayı seç - + Upload Yükle @@ -761,8 +763,8 @@ Bu pencerede hala çalışan işlemler var. Pencereyi kapatmak hepsini sonlandıracaktır. - + Select a directory to save the file Dosyayı kaydetmek için bir dizin seç @@ -784,10 +786,10 @@ Artık Uçbirimi kullanamayacaksınız. + - Cancel button İptal @@ -830,15 +832,15 @@ Komut bittiğinde uçbirimi açık tut - + The name should be no more than 32 characters İsim 32 karakterden fazla olmamalıdır - - + + Select Seç @@ -848,20 +850,20 @@ Özel anahtar dosyasını seç - + Tab title format Sekme başlık biçimi - + Remote tab title format Sekme başlık biçimini kaldır - + Close other tabs Diğer sekmeleri kapat @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ Azami - + Fast Hızlı - + Slow Yavaş @@ -1268,6 +1270,11 @@ Settings Ayarlar + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ Tamam - \ No newline at end of file + diff --git a/translations/deepin-terminal_ug.ts b/translations/deepin-terminal_ug.ts index 14056fff4..0296bb5e7 100644 --- a/translations/deepin-terminal_ug.ts +++ b/translations/deepin-terminal_ug.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -208,7 +210,7 @@ The name should be no more than 30 characters - + ئىسىم 32 ھەرپتىن ئېشىپ كەتمەسلىكى كېرەك {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,14 +318,19 @@ Quake window animation speed - + - + Blur background ئارقا كۆرۈنۈش غۇۋا + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ خەت شەكلى چوڭلۇقى - + Opacity سۈزۈكلۈكى @@ -381,16 +388,16 @@ تىزلەتمە كۇنۇپكىلار - + Others باشقىلار - - + + Terminal تېرمىنال @@ -400,62 +407,62 @@ خىزمەت رايونى - + Custom commands بۇيرۇق بەلگىلەش - + Display shortcuts تېزلەتمە كۆرسىتىش - + Remote management يىراقتىن باشقۇرۇش - + New tab يېڭى بەتكۈچ قۇرۇش - + Next tab كېيىنكى بەتكۈچ - + Previous tab ئالدىنقى بەتكۈچ - + Select left workspace سولدىكى خىزمەت رايونىنى تاللاش - + Select lower workspace ئاستىدىكى خىزمەت رايونىنى تاللاش - + Select right workspace ئوڭدىكى خىزمەت رايونىنى تاللاش - + Select upper workspace ئۈستىدىكى خىزمەت رايونىنى تاللاش @@ -465,56 +472,56 @@ بەتكۈچ نامى - + Go to tab 1 بەتكۈچ 1 گە ئالماشتۇرۇش - + Go to tab 2 بەتكۈچ 2 گە ئالماشتۇرۇش - + Go to tab 3 بەتكۈچ 3 كە ئالماشتۇرۇش - + Go to tab 4 بەتكۈچ 4 كە ئالماشتۇرۇش - + Go to tab 5 بەتكۈچ 5 كە ئالماشتۇرۇش - + Go to tab 6 بەتكۈچ 6 گە ئالماشتۇرۇش - + Go to tab 7 بەتكۈچ 7 گە ئالماشتۇرۇش - + Go to tab 8 بەتكۈچ 8 گە ئالماشتۇرۇش - + Go to tab 9 بەتكۈچ 9 غا ئالماشتۇرۇش @@ -531,52 +538,52 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title تېمىغا قايتا نام قويۇش - + Fullscreen تولۇق ئېكران - + Copy كۆچۈرۈش - + Default size سۈكۈتتىكى سىغىمى - + Paste چاپلاش @@ -586,8 +593,8 @@ ئىزدەش - + Select all ھەممىنى تاللاش @@ -602,14 +609,14 @@ ئالدىنقىسى - + Zoom in چوڭايتىش - + Zoom out كىچىكلىتىش @@ -619,29 +626,29 @@ باشقا كۆزنەكلەرنى تاقاش - - + + Close other workspaces باشقا خىزمەت رايونىنى تاقاش - + Could not find "%1", starting "%2" instead. Please check your shell profile. «%1”تېپىلمىغاچقا «%2» ئۇنىڭ ئورنىغا قوزغىتىلدى، Shell سەپلىمىسىنى تەكشۈرۈڭ. - + Could not open "%1", unable to run it «%1”» ئېچىلمىدى، نورمال ئىشلەتكى بولمايدۇ - + Could not find "%1", unable to run it «%1”» تېپىلمىدى، نورمال ئىشلەتكى بولمايدۇ - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Ctrl+S نى بېسىپ بولدىڭىز، چىقىرىش توختىتىلدى. Ctrl+Q نى بېسىپ داۋاملاشتۇرۇڭ @@ -651,39 +658,34 @@ كۆزنەكنى تاقاش - - + + Close workspace خىزمەت رايونىنى تاقاش - + Horizontal split ئېكراننى توغرىسىغا بۆلۈش - + Vertical split تىك ھالەتتە ئېكراننى بۆلۈش - + Find ئىزدەش - - debuginfod urls - - - - - + + please set another one. قايتا تەڭشەش @@ -698,8 +700,8 @@ بەتكۈچ - + Close tab بەتكۈچنى تاقاش @@ -714,14 +716,14 @@ فوكۇسنى «+» سىنبەلگىسىگە ئالماشتۇرۇش - + Select file to upload يوللىماقچى بولغان ھۆججەتنى تاللاڭ - + Upload يوللاش @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file چۈشۈرۈلگەن ھۆججەتنى ساقلاش ئۈچۈن مۇندەرىجىنى تاللاڭ @@ -784,10 +786,10 @@ ئۆچۈرسىڭىز بۇ ئىقتىدارنى ئىشلىتەلمەيسىز. + - Cancel button بىكار قىلىش @@ -830,15 +832,15 @@ تېرمىنالنى بۇيرۇق ياكى قوليازما ئىجرا نەتىجىسىنى كۆرسىتىدىغان قىلىپ تەڭشەش - + The name should be no more than 32 characters ئىسىم 32 ھەرپتىن ئېشىپ كەتمەسلىكى كېرەك - - + + Select تاللاش @@ -848,20 +850,20 @@ شەخسىي ئاچقۇچ ھۆججىتىنى تاللاڭ - + Tab title format بەتكۈچ نامى فورماتى - + Remote tab title format يىراق مۇساپىلىك بەتكۈچ نامى فورماتى - + Close other tabs باشقا بەتكۈچلەرنى تاقاش @@ -884,7 +886,7 @@ Add Group - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ چوڭايتىش - + Fast تېز - + Slow كۆرسىتىش @@ -1268,6 +1270,11 @@ Settings تەڭشەك + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ جەزىملەشتۈرۈش - \ No newline at end of file + diff --git a/translations/deepin-terminal_uk.ts b/translations/deepin-terminal_uk.ts index 3b7f72b2a..e63913290 100644 --- a/translations/deepin-terminal_uk.ts +++ b/translations/deepin-terminal_uk.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -319,11 +321,16 @@ Швидкість анімації вікна спадного термінала - + Blur background Розмитий фон + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ Розмір шрифту - + Opacity Непрозорість @@ -381,16 +388,16 @@ Поєднання клавіш - + Others Інше - - + + Terminal Термінал @@ -400,62 +407,62 @@ Робоча область - + Custom commands Користувацькі команди - + Display shortcuts Показати ярлики - + Remote management Дистанційне керування - + New tab Нова вкладка - + Next tab Наступна вкладка - + Previous tab Попередня вкладка - + Select left workspace Вибрати лівий робочий простір - + Select lower workspace Вибрати нижній робочий простір - + Select right workspace Вибрати правий робочий простір - + Select upper workspace Вибрати верхній робочий простір @@ -465,56 +472,56 @@ Заголовки вкладок - + Go to tab 1 Перейти до вкладки 1 - + Go to tab 2 Перейти до вкладки 2 - + Go to tab 3 Перейти до вкладки 3 - + Go to tab 4 Перейти до вкладки 4 - + Go to tab 5 Перейти до вкладки 5 - + Go to tab 6 Перейти до вкладки 6 - + Go to tab 7 Перейти до вкладки 7 - + Go to tab 8 Перейти до вкладки 8 - + Go to tab 9 Перейти до вкладки 9 @@ -549,34 +556,34 @@ Файловий сервер HTTP, який буде використано для передавання ресурсів діагностичної інформації - - - + + + Rename title Перейменувати назву - + Fullscreen На весь екран - + Copy Копіювати - + Default size Стандартний розмір - + Paste Вставити @@ -586,8 +593,8 @@ Пошук - + Select all Вибрати все @@ -602,14 +609,14 @@ Перейти до попередньої команди - + Zoom in Збільшити масштаб - + Zoom out Зменшити масштаб @@ -619,29 +626,29 @@ Закрити інші вікна - - + + Close other workspaces Закрити інші робочі простори - + Could not find "%1", starting "%2" instead. Please check your shell profile. Не вдалося знайти «%1». Запускаємося замість нього із «%2». Будь ласка, перевірте, чи правильно вказано ваш профіль оболонки. - + Could not open "%1", unable to run it Не вдалося відкрити «%1». Не можемо його запустити. - + Could not find "%1", unable to run it Не вдалося знайти «%1». Не можемо його запустити. - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. Виведення даних було призупинено натисканням Ctrl+S. Натисніть Ctrl+Q, щоб відновити його. @@ -651,39 +658,38 @@ Закрити вікно - - + + Close workspace Закрити робочий простір - + Horizontal split Горизонтальний розподіл - + Vertical split Вертикальний розподіл - + Find Знайти - debuginfod urls - адреси debuginfod + адреси debuginfod - - + + please set another one. будь ласка, встановіть іншу. @@ -698,8 +704,8 @@ Вкладки - + Close tab Закрити вкладку @@ -714,14 +720,14 @@ Перемкнути фоку на піктограму «+» - + Select file to upload Вибрати файл для вивантаження - + Upload Вивантажити @@ -761,8 +767,8 @@ У цьому терміналі не завершено роботу процесів. Закриття термінала призведе до примусового завершення роботи усіх цих процесів. - + Select a directory to save the file Виберіть каталог для зберігання файла @@ -784,10 +790,10 @@ Після цього ви не зможете користуватися «Терміналом». + - Cancel button Скасувати @@ -830,15 +836,15 @@ Не закривати термінал після завершення роботи команди - + The name should be no more than 32 characters Кількість символів у назві не повинна перевищувати 32 - - + + Select Обрати @@ -848,20 +854,20 @@ Вибрати файл приватного ключа - + Tab title format Формат заголовка вкладки - + Remote tab title format Формат заголовка віддаленої вкладки - + Close other tabs Закрити інші вкладки @@ -1096,12 +1102,12 @@ Максимум - + Fast Швидко - + Slow Повільно @@ -1268,6 +1274,11 @@ Settings Налаштування + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1303,4 @@ Гаразд - \ No newline at end of file + diff --git a/translations/deepin-terminal_zh_CN.ts b/translations/deepin-terminal_zh_CN.ts index 6fdf613a7..a43f81338 100644 --- a/translations/deepin-terminal_zh_CN.ts +++ b/translations/deepin-terminal_zh_CN.ts @@ -281,10 +281,10 @@ QObject + - Cancel button 取 消 @@ -303,68 +303,68 @@ 确 定 - - + + Close workspace 关闭工作区 - - + + Close other workspaces 关闭其他工作区 - + Could not find "%1", starting "%2" instead. Please check your shell profile. 找不到 “%1”,已启动“%2”代替。请检查Shell配置。 - + Could not open "%1", unable to run it 打不开“%1”,无法正常使用 - + Could not find "%1", unable to run it 找不到“%1”,无法正常使用 - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. 已经按下Ctrl+S,输出被挂起。可以按下Ctrl+Q继续。 - + Tab title format 标签标题格式 - + Remote tab title format 远程标签标题格式 - - - + + + Rename title 重命名标题 - + Close tab 关闭标签页 - + Close other tabs 关闭其他标签页 @@ -409,11 +409,16 @@ 雷神窗口动画速度 - + Blur background 背景模糊 + + + debuginfod URLs + + Use on starting @@ -430,8 +435,8 @@ 字体大小 - + Opacity 透明度 @@ -471,16 +476,16 @@ 快捷键 - + Others 其他 - - + + Terminal 终端 @@ -490,44 +495,44 @@ 工作区 - + Custom commands 自定义命令 - + Display shortcuts 显示快捷键 - + Remote management 远程管理 - + Fullscreen 全屏 - + Copy 复制 - + Default size 默认大小 - + Paste 粘贴 @@ -537,8 +542,8 @@ 搜索 - + Select all 全选 @@ -553,14 +558,14 @@ 跳转到上一个命令 - + Zoom in 放大 - + Zoom out 缩小 @@ -575,62 +580,62 @@ 关闭窗口 - + Horizontal split 横向分屏 - + New tab 新建标签页 - + Next tab 下一个标签页 - + Previous tab 上一个标签页 - + Select left workspace 选择左边的工作区 - + Select lower workspace 选择下面的工作区 - + Select right workspace 选择右边的工作区 - + Select upper workspace 选择上面的工作区 - + Vertical split 纵向分屏 - + Find 查找 @@ -640,56 +645,56 @@ 标签标题 - + Go to tab 1 切换到标签 1 - + Go to tab 2 切换到标签 2 - + Go to tab 3 切换到标签 3 - + Go to tab 4 切换到标签 4 - + Go to tab 5 切换到标签 5 - + Go to tab 6 切换到标签 6 - + Go to tab 7 切换到标签 7 - + Go to tab 8 切换到标签 8 - + Go to tab 9 切换到标签 9 @@ -724,8 +729,8 @@ 提供调试信息资源的http文件服务器 - + The name should be no more than 32 characters 名称长度不得超过32个字符 @@ -735,9 +740,9 @@ 选择私钥文件 - - + + Select 选择 @@ -762,32 +767,27 @@ 选择标签页 - + Select file to upload 选择要上传的文件 - + Upload 上传 - + Select a directory to save the file 选择下载文件的保存目录 - - debuginfod urls - - - - - + + please set another one. 请重新设置 @@ -1106,12 +1106,12 @@ 全屏 - + Fast - + Slow @@ -1278,6 +1278,11 @@ Settings 设置 + + + The debuginfod settings will be effective after restart + + Utils diff --git a/translations/deepin-terminal_zh_HK.ts b/translations/deepin-terminal_zh_HK.ts index 0094dfe73..59686d4da 100644 --- a/translations/deepin-terminal_zh_HK.ts +++ b/translations/deepin-terminal_zh_HK.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -208,7 +210,7 @@ The name should be no more than 30 characters - + 名稱長度不得超過32個字符 {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,14 +318,19 @@ Quake window animation speed - + - + Blur background 背景模糊 + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ 字體大小 - + Opacity 透明度 @@ -381,16 +388,16 @@ 快捷鍵 - + Others 其他 - - + + Terminal 終端 @@ -400,62 +407,62 @@ 工作區 - + Custom commands 自定義命令 - + Display shortcuts 顯示快捷鍵 - + Remote management 遠程管理 - + New tab 新建標籤頁 - + Next tab 下一個標籤頁 - + Previous tab 上一個標籤頁 - + Select left workspace 選擇左邊的工作區 - + Select lower workspace 選擇下面的工作區 - + Select right workspace 選擇右邊的工作區 - + Select upper workspace 選擇上面的工作區 @@ -465,56 +472,56 @@ 標籤標題 - + Go to tab 1 切換到標籤 1 - + Go to tab 2 切換到標籤 2 - + Go to tab 3 切換到標籤 3 - + Go to tab 4 切換到標籤 4 - + Go to tab 5 切換到標籤 5 - + Go to tab 6 切換到標籤 6 - + Go to tab 7 切換到標籤 7 - + Go to tab 8 切換到標籤 8 - + Go to tab 9 切換到標籤 9 @@ -531,52 +538,52 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title 重命名標題 - + Fullscreen 全螢幕 - + Copy 複製 - + Default size 默認大小 - + Paste 貼上 @@ -586,8 +593,8 @@ 搜尋 - + Select all 選擇全部 @@ -602,14 +609,14 @@ 跳轉到上一個命令 - + Zoom in 拉近 - + Zoom out 拉遠 @@ -619,29 +626,29 @@ 關閉其他視窗 - - + + Close other workspaces 關閉其他工作區 - + Could not find "%1", starting "%2" instead. Please check your shell profile. 找不到 「%1」,已啟動「%2」代替。請檢查Shell配置。 - + Could not open "%1", unable to run it 打不開“%1”,無法正常使用 - + Could not find "%1", unable to run it 找不到「%1」,無法正常使用 - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. 已經按下Ctrl+S,輸出被掛起。可以按下Ctrl+Q繼續。 @@ -651,39 +658,34 @@ 關閉視窗 - - + + Close workspace 關閉工作區 - + Horizontal split 橫向分屏 - + Vertical split 縱向分屏 - + Find 查找 - - debuginfod urls - - - - - + + please set another one. 請重新設置 @@ -698,8 +700,8 @@ 標籤頁 - + Close tab 關閉標籤頁 @@ -714,14 +716,14 @@ 光標焦點切換至「+」圖標 - + Select file to upload 選擇要上傳的文件 - + Upload 上傳 @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file 選擇下載文件的保存目錄 @@ -784,10 +786,10 @@ 卸載後將無法再使用該應用。 + - Cancel button 取 消 @@ -830,15 +832,15 @@ 設置終端顯示命令或腳本執行後的結果 - + The name should be no more than 32 characters 名稱長度不得超過32個字符 - - + + Select 選擇 @@ -848,20 +850,20 @@ 選擇私鑰文件 - + Tab title format 標籤標題格式 - + Remote tab title format 遠程標籤標題格式 - + Close other tabs 關閉其他標籤頁 @@ -884,7 +886,7 @@ Add Group - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ 最⼤化 - + Fast - + Slow @@ -1268,6 +1270,11 @@ Settings 設置 + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ 確 定 - \ No newline at end of file + diff --git a/translations/deepin-terminal_zh_TW.ts b/translations/deepin-terminal_zh_TW.ts index db0e01ea1..8b77af4b9 100644 --- a/translations/deepin-terminal_zh_TW.ts +++ b/translations/deepin-terminal_zh_TW.ts @@ -1,4 +1,6 @@ - + + + CustomCommandOptDlg @@ -173,17 +175,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -208,7 +210,7 @@ The name should be no more than 30 characters - + 名稱長度不得超過32個字元 {30 ?} @@ -221,17 +223,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -306,7 +308,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -316,14 +318,19 @@ Quake window animation speed - + - + Blur background 模糊背景 + + + debuginfod URLs + + Use on starting @@ -340,8 +347,8 @@ 字型大小 - + Opacity 不透明度 @@ -381,16 +388,16 @@ 快捷鍵 - + Others 其他 - - + + Terminal 終端機 @@ -400,62 +407,62 @@ 工作區 - + Custom commands 自訂命令 - + Display shortcuts 顯示快捷鍵 - + Remote management 遠端管理 - + New tab 建立標籤頁 - + Next tab 下一個標籤頁 - + Previous tab 上一個標籤頁 - + Select left workspace 選擇左邊的工作區 - + Select lower workspace 選擇下面的工作區 - + Select right workspace 選擇右邊的工作區 - + Select upper workspace 選擇上面的工作區 @@ -465,56 +472,56 @@ 標籤標題 - + Go to tab 1 切換到標籤 1 - + Go to tab 2 切換到標籤 2 - + Go to tab 3 切換到標籤 3 - + Go to tab 4 切換到標籤 4 - + Go to tab 5 切換到標籤 5 - + Go to tab 6 切換到標籤 6 - + Go to tab 7 切換到標籤 7 - + Go to tab 8 切換到標籤 8 - + Go to tab 9 切換到標籤 9 @@ -531,52 +538,52 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + - - - + + + Rename title 重命名分頁 - + Fullscreen 全螢幕 - + Copy 複製 - + Default size 預設大小 - + Paste 貼上 @@ -586,8 +593,8 @@ 搜尋 - + Select all 全選 @@ -602,14 +609,14 @@ 跳到上個命令 - + Zoom in 放大 - + Zoom out 縮小 @@ -619,29 +626,29 @@ 關閉其他視窗 - - + + Close other workspaces 關閉其他工作區 - + Could not find "%1", starting "%2" instead. Please check your shell profile. 找不到 「%1」,已啟動「%2」代替。請檢查Shell配置。 - + Could not open "%1", unable to run it 打不開“%1”,無法正常使用 - + Could not find "%1", unable to run it 找不到「%1」,無法正常使用 - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. 已經按下Ctrl+S,輸出被掛起。可以按下Ctrl+Q繼續。 @@ -651,39 +658,34 @@ 關閉視窗 - - + + Close workspace 關閉工作區 - + Horizontal split 水平分割 - + Vertical split 垂直分割 - + Find 尋找 - - debuginfod urls - - - - - + + please set another one. 請重新設置 @@ -698,8 +700,8 @@ 標籤頁 - + Close tab 關閉標籤頁 @@ -714,14 +716,14 @@ 光標焦點切換至「+」圖標 - + Select file to upload 選擇要上傳的檔案 - + Upload 上傳 @@ -740,13 +742,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -758,11 +760,11 @@ There are still processes running in this window. Closing the window will terminate all of them. - + - + Select a directory to save the file 選擇檔案儲存路徑 @@ -784,10 +786,10 @@ 卸載後將無法再使用該應用。 + - Cancel button 取 消 @@ -830,15 +832,15 @@ 設置終端顯示命令或腳本執行後的結果 - + The name should be no more than 32 characters 名稱長度不得超過32個字元 - - + + Select 選擇 @@ -848,20 +850,20 @@ 選擇私鑰檔案 - + Tab title format 標籤標題格式 - + Remote tab title format 遠端標籤標題格式 - + Close other tabs 關閉其他標籤頁 @@ -884,7 +886,7 @@ Add Group - + @@ -923,12 +925,12 @@ Groups - + Servers - + @@ -983,7 +985,7 @@ No Group - + @@ -1096,12 +1098,12 @@ 最⼤化 - + Fast - + Slow @@ -1268,6 +1270,11 @@ Settings 設定 + + + The debuginfod settings will be effective after restart + + Utils @@ -1292,4 +1299,4 @@ 確 定 - \ No newline at end of file + From acb6da24d1ca3fbb66764915803a1ebf1f0e2071 Mon Sep 17 00:00:00 2001 From: "transifex-integration[bot]" <43880903+transifex-integration[bot]@users.noreply.github.com> Date: Sat, 23 Nov 2024 11:17:10 +0800 Subject: [PATCH 11/13] [deepin-terminal] Updates for project Deepin Terminal (#373) * [skip CI] Translate deepin-terminal.ts in az 91% of minimum 50% translated source file: 'deepin-terminal.ts' on 'az'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in fa 51% of minimum 50% translated source file: 'deepin-terminal.ts' on 'fa'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in he 81% of minimum 50% translated source file: 'deepin-terminal.ts' on 'he'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in es 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'es'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in cs 91% of minimum 50% translated source file: 'deepin-terminal.ts' on 'cs'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in de 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'de'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in da 52% of minimum 50% translated source file: 'deepin-terminal.ts' on 'da'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in br 66% of minimum 50% translated source file: 'deepin-terminal.ts' on 'br'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in hu 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'hu'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in ko 85% of minimum 50% translated source file: 'deepin-terminal.ts' on 'ko'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in zh_TW 90% of minimum 50% translated source file: 'deepin-terminal.ts' on 'zh_TW'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in sl 50% of minimum 50% translated source file: 'deepin-terminal.ts' on 'sl'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in bo 90% of minimum 50% translated source file: 'deepin-terminal.ts' on 'bo'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in ar 74% of minimum 50% translated source file: 'deepin-terminal.ts' on 'ar'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in ca 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'ca'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in ru 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'ru'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in nl 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'nl'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pt 90% of minimum 50% translated source file: 'deepin-terminal.ts' on 'pt'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in hr 78% of minimum 50% translated source file: 'deepin-terminal.ts' on 'hr'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in sk 51% of minimum 50% translated source file: 'deepin-terminal.ts' on 'sk'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in hi_IN 88% of minimum 50% translated source file: 'deepin-terminal.ts' on 'hi_IN'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in lt 53% of minimum 50% translated source file: 'deepin-terminal.ts' on 'lt'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in id 88% of minimum 50% translated source file: 'deepin-terminal.ts' on 'id'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in ro 69% of minimum 50% translated source file: 'deepin-terminal.ts' on 'ro'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in fi 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'fi'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in gl_ES 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'gl_ES'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in sv 51% of minimum 50% translated source file: 'deepin-terminal.ts' on 'sv'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in el 61% of minimum 50% translated source file: 'deepin-terminal.ts' on 'el'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in zh_HK 90% of minimum 50% translated source file: 'deepin-terminal.ts' on 'zh_HK'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in ms 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'ms'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in fr 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'fr'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in uk 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'uk'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in tr 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'tr'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pl 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'pl'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in ug 90% of minimum 50% translated source file: 'deepin-terminal.ts' on 'ug'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pt_BR 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'pt_BR'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in bg 51% of minimum 50% translated source file: 'deepin-terminal.ts' on 'bg'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in sq 98% of minimum 50% translated source file: 'deepin-terminal.ts' on 'sq'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in it 90% of minimum 50% translated source file: 'deepin-terminal.ts' on 'it'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in sr 88% of minimum 50% translated source file: 'deepin-terminal.ts' on 'sr'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in zh_CN 67% of minimum 50% translated source file: 'deepin-terminal.ts' on 'zh_CN'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in zh_CN 90% of minimum 50% translated source file: 'deepin-terminal.ts' on 'zh_CN'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in zh_CN 90% of minimum 50% translated source file: 'deepin-terminal.ts' on 'zh_CN'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in zh_CN 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'zh_CN'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in zh_CN 100% translated source file: 'deepin-terminal.ts' on 'zh_CN'. * [skip CI] Translate deepin-terminal.ts in ca 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'ca'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in ca 100% translated source file: 'deepin-terminal.ts' on 'ca'. * [skip CI] Translate deepin-terminal.ts in uk 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'uk'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in uk 100% translated source file: 'deepin-terminal.ts' on 'uk'. * [skip CI] Translate deepin-terminal.ts in sq 98% of minimum 50% translated source file: 'deepin-terminal.ts' on 'sq'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in hu 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'hu'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in hu 100% translated source file: 'deepin-terminal.ts' on 'hu'. * [skip CI] Translate deepin-terminal.ts in hu 100% translated source file: 'deepin-terminal.ts' on 'hu'. * [skip CI] Translate deepin-terminal.ts in nl 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'nl'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in nl 100% translated source file: 'deepin-terminal.ts' on 'nl'. * [skip CI] Translate deepin-terminal.ts in pl 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'pl'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pl 100% translated source file: 'deepin-terminal.ts' on 'pl'. * [skip CI] Translate deepin-terminal.ts in pl 100% translated source file: 'deepin-terminal.ts' on 'pl'. --------- Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com> --- translations/deepin-terminal_ar.ts | 120 ++++--- translations/deepin-terminal_az.ts | 46 ++- translations/deepin-terminal_bg.ts | 228 +++++++------ translations/deepin-terminal_bo.ts | 50 ++- translations/deepin-terminal_br.ts | 160 +++++---- translations/deepin-terminal_ca.ts | 14 +- translations/deepin-terminal_cs.ts | 46 ++- translations/deepin-terminal_da.ts | 222 ++++++------ translations/deepin-terminal_de.ts | 18 +- translations/deepin-terminal_el.ts | 182 +++++----- translations/deepin-terminal_es.ts | 18 +- translations/deepin-terminal_fa.ts | 226 ++++++------- translations/deepin-terminal_fi.ts | 18 +- translations/deepin-terminal_fr.ts | 18 +- translations/deepin-terminal_gl_ES.ts | 18 +- translations/deepin-terminal_he.ts | 88 +++-- translations/deepin-terminal_hi_IN.ts | 56 ++- translations/deepin-terminal_hr.ts | 102 +++--- translations/deepin-terminal_hu.ts | 14 +- translations/deepin-terminal_id.ts | 56 ++- translations/deepin-terminal_it.ts | 48 ++- translations/deepin-terminal_ko.ts | 72 ++-- translations/deepin-terminal_lt.ts | 218 ++++++------ translations/deepin-terminal_ms.ts | 18 +- translations/deepin-terminal_nl.ts | 14 +- translations/deepin-terminal_pl.ts | 14 +- translations/deepin-terminal_pt.ts | 48 ++- translations/deepin-terminal_pt_BR.ts | 18 +- translations/deepin-terminal_ro.ts | 146 ++++---- translations/deepin-terminal_ru.ts | 18 +- translations/deepin-terminal_sk.ts | 224 ++++++------ translations/deepin-terminal_sl.ts | 230 +++++++------ translations/deepin-terminal_sq.ts | 14 +- translations/deepin-terminal_sr.ts | 56 ++- translations/deepin-terminal_sv.ts | 228 +++++++------ translations/deepin-terminal_tr.ts | 18 +- translations/deepin-terminal_ug.ts | 50 ++- translations/deepin-terminal_uk.ts | 14 +- translations/deepin-terminal_zh_CN.ts | 470 +++++++++++++------------- translations/deepin-terminal_zh_HK.ts | 50 ++- translations/deepin-terminal_zh_TW.ts | 50 ++- 41 files changed, 1804 insertions(+), 1914 deletions(-) diff --git a/translations/deepin-terminal_ar.ts b/translations/deepin-terminal_ar.ts index 7ce0aa3ba..2b2e97aaf 100644 --- a/translations/deepin-terminal_ar.ts +++ b/translations/deepin-terminal_ar.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -140,7 +138,7 @@ Fore color: - + @@ -150,12 +148,12 @@ Prompt PS1: - + Prompt PS2: - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - يجب ألا يزيد الاسم عن 32 حرفا {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,12 +327,12 @@ debuginfod URLs - + Use on starting - + @@ -446,25 +444,25 @@ Select left workspace - + Select lower workspace - + Select right workspace - + Select upper workspace - + @@ -528,32 +526,32 @@ Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -635,22 +633,22 @@ Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -687,7 +685,7 @@ please set another one. - + @@ -713,7 +711,7 @@ Switch focus to "+" icon - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -819,12 +817,12 @@ Set the window mode on starting - + Run in quake mode - + @@ -853,13 +851,13 @@ Tab title format - + Remote tab title format - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -909,7 +907,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1043,7 +1041,7 @@ Please enter an IP address - + @@ -1114,14 +1112,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1135,49 +1133,49 @@ username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ موافق - + \ No newline at end of file diff --git a/translations/deepin-terminal_az.ts b/translations/deepin-terminal_az.ts index 251d5b051..6f7c87b38 100644 --- a/translations/deepin-terminal_az.ts +++ b/translations/deepin-terminal_az.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -210,7 +208,7 @@ The name should be no more than 30 characters - Ad 32 işarədən böyük olmamalıdır {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -543,17 +541,17 @@ Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -886,7 +884,7 @@ Add Group - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_bg.ts b/translations/deepin-terminal_bg.ts index fd8f984c6..7723f6ff9 100644 --- a/translations/deepin-terminal_bg.ts +++ b/translations/deepin-terminal_bg.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -39,7 +37,7 @@ Delete Command - + @@ -68,22 +66,22 @@ Please enter a name - + Please enter a command - + The name already exists, - + please input another one. - + @@ -96,7 +94,7 @@ No commands yet - + @@ -120,12 +118,12 @@ Custom Theme - + Style: - + @@ -135,27 +133,27 @@ Dark - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - + @@ -218,22 +216,22 @@ Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -275,7 +273,7 @@ Custom Theme - + @@ -293,7 +291,7 @@ Cursor style - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,12 +327,12 @@ debuginfod URLs - + Use on starting - + @@ -344,13 +342,13 @@ Font size - + Opacity - + @@ -428,132 +426,132 @@ New tab - + Next tab - + Previous tab - + Select left workspace - + Select lower workspace - + Select right workspace - + Select upper workspace - + Tab titles - + Go to tab 1 - + Go to tab 2 - + Go to tab 3 - + Go to tab 4 - + Go to tab 5 - + Go to tab 6 - + Go to tab 7 - + Go to tab 8 - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -630,27 +628,27 @@ Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -687,33 +685,33 @@ please set another one. - + Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. - + Tabs - + Close tab - + Select tab - + Switch focus to "+" icon - + @@ -736,54 +734,54 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + Select a directory to save the file - + Are you sure you want to uninstall it? - + Are you sure you want to uninstall this application? - + You will not be able to use Terminal any longer. - + @@ -804,38 +802,38 @@ Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + The name should be no more than 32 characters - + @@ -853,19 +851,19 @@ Tab title format - + Remote tab title format - + Close other tabs - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -909,7 +907,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1038,32 +1036,32 @@ Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. - + @@ -1080,7 +1078,7 @@ Split screen - + @@ -1095,7 +1093,7 @@ Maximum - + @@ -1114,14 +1112,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1129,55 +1127,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1218,7 +1216,7 @@ New tab - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ ОК - + \ No newline at end of file diff --git a/translations/deepin-terminal_bo.ts b/translations/deepin-terminal_bo.ts index ea6be7961..b486a770c 100644 --- a/translations/deepin-terminal_bo.ts +++ b/translations/deepin-terminal_bo.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -210,7 +208,7 @@ The name should be no more than 30 characters - མིང་གི་རིང་ཐུང་ཡིག་རྟགས་32ལས་བརྒལ་མི་རུང་། {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -538,22 +536,22 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -886,7 +884,7 @@ Add Group - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ གཏན་ཁེལ། - + \ No newline at end of file diff --git a/translations/deepin-terminal_br.ts b/translations/deepin-terminal_br.ts index ff54c3630..79a3d4f6c 100644 --- a/translations/deepin-terminal_br.ts +++ b/translations/deepin-terminal_br.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -96,7 +94,7 @@ No commands yet - + @@ -120,42 +118,42 @@ Custom Theme - + Style: - + Light - + Dark - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - N'hall ket bezañ hiroc'h an anv evit 32 arouezenn {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -275,7 +273,7 @@ Custom Theme - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -428,132 +426,132 @@ New tab - + Next tab - + Previous tab - + Select left workspace - + Select lower workspace - + Select right workspace - + Select upper workspace - + Tab titles - + Go to tab 1 - + Go to tab 2 - + Go to tab 3 - + Go to tab 4 - + Go to tab 5 - + Go to tab 6 - + Go to tab 7 - + Go to tab 8 - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -635,22 +633,22 @@ Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -697,23 +695,23 @@ Tabs - + Close tab - + Select tab - + Switch focus to "+" icon - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -853,19 +851,19 @@ Tab title format - + Remote tab title format - + Close other tabs - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1100,12 +1098,12 @@ Fast - + Slow - + @@ -1129,55 +1127,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1218,7 +1216,7 @@ New tab - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ Mat eo - + \ No newline at end of file diff --git a/translations/deepin-terminal_ca.ts b/translations/deepin-terminal_ca.ts index a69821446..1d2abca72 100644 --- a/translations/deepin-terminal_ca.ts +++ b/translations/deepin-terminal_ca.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -329,7 +327,7 @@ debuginfod URLs - + URLs de la informació de depuració @@ -682,10 +680,6 @@ Find Troba - - debuginfod urls - URL de la informació de depuració - @@ -1277,7 +1271,7 @@ The debuginfod settings will be effective after restart - + La configuració de la informació de depuració serà efectiva després del reinici. @@ -1303,4 +1297,4 @@ D'acord - + \ No newline at end of file diff --git a/translations/deepin-terminal_cs.ts b/translations/deepin-terminal_cs.ts index d5754d51f..afb1499c7 100644 --- a/translations/deepin-terminal_cs.ts +++ b/translations/deepin-terminal_cs.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -210,7 +208,7 @@ The name should be no more than 30 characters - Jméno by nemělo být delší než 32 znaků {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -543,17 +541,17 @@ Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -886,7 +884,7 @@ Add Group - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_da.ts b/translations/deepin-terminal_da.ts index 668bd4811..ffdd6bd8d 100644 --- a/translations/deepin-terminal_da.ts +++ b/translations/deepin-terminal_da.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -39,7 +37,7 @@ Delete Command - + @@ -68,22 +66,22 @@ Please enter a name - + Please enter a command - + The name already exists, - + please input another one. - + @@ -96,7 +94,7 @@ No commands yet - + @@ -120,12 +118,12 @@ Custom Theme - + Style: - + @@ -140,22 +138,22 @@ Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - + @@ -218,22 +216,22 @@ Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -275,7 +273,7 @@ Custom Theme - + @@ -293,7 +291,7 @@ Cursor style - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,12 +327,12 @@ debuginfod URLs - + Use on starting - + @@ -344,13 +342,13 @@ Font size - + Opacity - + @@ -428,132 +426,132 @@ New tab - + Next tab - + Previous tab - + Select left workspace - + Select lower workspace - + Select right workspace - + Select upper workspace - + Tab titles - + Go to tab 1 - + Go to tab 2 - + Go to tab 3 - + Go to tab 4 - + Go to tab 5 - + Go to tab 6 - + Go to tab 7 - + Go to tab 8 - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -630,27 +628,27 @@ Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -687,7 +685,7 @@ please set another one. - + @@ -697,23 +695,23 @@ Tabs - + Close tab - + Select tab - + Switch focus to "+" icon - + @@ -736,54 +734,54 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + Select a directory to save the file - + Are you sure you want to uninstall it? - + Are you sure you want to uninstall this application? - + You will not be able to use Terminal any longer. - + @@ -804,38 +802,38 @@ Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + The name should be no more than 32 characters - + @@ -853,19 +851,19 @@ Tab title format - + Remote tab title format - + Close other tabs - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -909,7 +907,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1038,32 +1036,32 @@ Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. - + @@ -1080,7 +1078,7 @@ Split screen - + @@ -1095,7 +1093,7 @@ Maximum - + @@ -1114,14 +1112,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1135,49 +1133,49 @@ username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1218,7 +1216,7 @@ New tab - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_de.ts b/translations/deepin-terminal_de.ts index b9c2cc8df..5033cc4e1 100644 --- a/translations/deepin-terminal_de.ts +++ b/translations/deepin-terminal_de.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -548,12 +546,12 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_el.ts b/translations/deepin-terminal_el.ts index a6f8b3c32..61acc38e4 100644 --- a/translations/deepin-terminal_el.ts +++ b/translations/deepin-terminal_el.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -68,12 +66,12 @@ Please enter a name - + Please enter a command - + @@ -96,7 +94,7 @@ No commands yet - + @@ -120,12 +118,12 @@ Custom Theme - + Style: - + @@ -140,22 +138,22 @@ Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - To όνομα δεν πρέπει να είναι περισσότερο από 32 χαρακτήρες {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -275,7 +273,7 @@ Custom Theme - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -428,7 +426,7 @@ New tab - + @@ -440,120 +438,120 @@ Previous tab - + Select left workspace - + Select lower workspace - + Select right workspace - + Select upper workspace - + Tab titles - + Go to tab 1 - + Go to tab 2 - + Go to tab 3 - + Go to tab 4 - + Go to tab 5 - + Go to tab 6 - + Go to tab 7 - + Go to tab 8 - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -635,22 +633,22 @@ Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -687,33 +685,33 @@ please set another one. - + Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. - + Tabs - + Close tab - + Select tab - + Switch focus to "+" icon - + @@ -736,19 +734,19 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -783,7 +781,7 @@ You will not be able to use Terminal any longer. - + @@ -809,27 +807,27 @@ Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + @@ -853,19 +851,19 @@ Tab title format - + Remote tab title format - + Close other tabs - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -909,7 +907,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1080,7 +1078,7 @@ Split screen - + @@ -1095,7 +1093,7 @@ Maximum - + @@ -1114,14 +1112,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1129,55 +1127,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1218,7 +1216,7 @@ New tab - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_es.ts b/translations/deepin-terminal_es.ts index a5f5cbc3f..494ae7c6c 100644 --- a/translations/deepin-terminal_es.ts +++ b/translations/deepin-terminal_es.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -548,12 +546,12 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ Aceptar - + \ No newline at end of file diff --git a/translations/deepin-terminal_fa.ts b/translations/deepin-terminal_fa.ts index 62c2c23d0..8e1e4c532 100644 --- a/translations/deepin-terminal_fa.ts +++ b/translations/deepin-terminal_fa.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -39,7 +37,7 @@ Delete Command - + @@ -68,22 +66,22 @@ Please enter a name - + Please enter a command - + The name already exists, - + please input another one. - + @@ -96,7 +94,7 @@ No commands yet - + @@ -120,12 +118,12 @@ Custom Theme - + Style: - + @@ -140,22 +138,22 @@ Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - + @@ -218,22 +216,22 @@ Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -275,7 +273,7 @@ Custom Theme - + @@ -293,7 +291,7 @@ Cursor style - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,12 +327,12 @@ debuginfod URLs - + Use on starting - + @@ -344,13 +342,13 @@ Font size - + Opacity - + @@ -428,132 +426,132 @@ New tab - + Next tab - + Previous tab - + Select left workspace - + Select lower workspace - + Select right workspace - + Select upper workspace - + Tab titles - + Go to tab 1 - + Go to tab 2 - + Go to tab 3 - + Go to tab 4 - + Go to tab 5 - + Go to tab 6 - + Go to tab 7 - + Go to tab 8 - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -630,27 +628,27 @@ Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -687,33 +685,33 @@ please set another one. - + Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. - + Tabs - + Close tab - + Select tab - + Switch focus to "+" icon - + @@ -736,54 +734,54 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + Select a directory to save the file - + Are you sure you want to uninstall it? - + Are you sure you want to uninstall this application? - + You will not be able to use Terminal any longer. - + @@ -804,38 +802,38 @@ Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + The name should be no more than 32 characters - + @@ -853,19 +851,19 @@ Tab title format - + Remote tab title format - + Close other tabs - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -909,7 +907,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1038,32 +1036,32 @@ Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. - + @@ -1080,7 +1078,7 @@ Split screen - + @@ -1095,7 +1093,7 @@ Maximum - + @@ -1114,14 +1112,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1129,55 +1127,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1218,7 +1216,7 @@ New tab - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ تایید - + \ No newline at end of file diff --git a/translations/deepin-terminal_fi.ts b/translations/deepin-terminal_fi.ts index 5e1d61110..20777500d 100644 --- a/translations/deepin-terminal_fi.ts +++ b/translations/deepin-terminal_fi.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -548,12 +546,12 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_fr.ts b/translations/deepin-terminal_fr.ts index 036e8b620..53d76b93a 100644 --- a/translations/deepin-terminal_fr.ts +++ b/translations/deepin-terminal_fr.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -548,12 +546,12 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_gl_ES.ts b/translations/deepin-terminal_gl_ES.ts index 91c2ab968..c106dfbb7 100644 --- a/translations/deepin-terminal_gl_ES.ts +++ b/translations/deepin-terminal_gl_ES.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -548,12 +546,12 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ Aceptar - + \ No newline at end of file diff --git a/translations/deepin-terminal_he.ts b/translations/deepin-terminal_he.ts index 24289d3be..45a097cc5 100644 --- a/translations/deepin-terminal_he.ts +++ b/translations/deepin-terminal_he.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - השם צריך להכיל עד 32 תווים {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -543,17 +541,17 @@ Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,13 +758,13 @@ There are still processes running in this window. Closing the window will terminate all of them. - + Select a directory to save the file - + @@ -809,22 +807,22 @@ Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + @@ -847,19 +845,19 @@ Select the private key file - + Tab title format - + Remote tab title format - + @@ -886,7 +884,7 @@ Add Group - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -960,7 +958,7 @@ Port: - + @@ -985,7 +983,7 @@ No Group - + @@ -1000,17 +998,17 @@ Encoding: - + Backspace key: - + Delete key: - + @@ -1048,7 +1046,7 @@ Please enter a port - + @@ -1063,7 +1061,7 @@ please input another one. - + @@ -1145,19 +1143,19 @@ remote host: %h - + session number: %# - + title set by shell: %w - + @@ -1167,17 +1165,17 @@ current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ אישור - + \ No newline at end of file diff --git a/translations/deepin-terminal_hi_IN.ts b/translations/deepin-terminal_hi_IN.ts index 8c142010d..6dfd39e2d 100644 --- a/translations/deepin-terminal_hi_IN.ts +++ b/translations/deepin-terminal_hi_IN.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -96,7 +94,7 @@ No commands yet - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - नाम में 32 से अधिक अक्षर नहीं होने चाहिए {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -538,22 +536,22 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ ठीक है - + \ No newline at end of file diff --git a/translations/deepin-terminal_hr.ts b/translations/deepin-terminal_hr.ts index e2f654bd8..50dc2540b 100644 --- a/translations/deepin-terminal_hr.ts +++ b/translations/deepin-terminal_hr.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -96,7 +94,7 @@ No commands yet - + @@ -150,12 +148,12 @@ Prompt PS1: - + Prompt PS2: - + @@ -175,7 +173,7 @@ Group Name(Required) - + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -298,27 +296,27 @@ Scroll on keystroke - + Scroll on output - + Allow Ctrl+scrollwheel to zoom text size - + Hide Quake window after losing focus - + Quake window animation speed - + @@ -329,12 +327,12 @@ debuginfod URLs - + Use on starting - + @@ -528,12 +526,12 @@ Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + @@ -543,17 +541,17 @@ Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -635,22 +633,22 @@ Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -687,12 +685,12 @@ please set another one. - + Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. - + @@ -713,7 +711,7 @@ Switch focus to "+" icon - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -809,7 +807,7 @@ Run script string in the terminal - + @@ -819,23 +817,23 @@ Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + The name should be no more than 32 characters - Ime ne bi trebalo biti veće od 30 znakova {32 ?} + @@ -847,19 +845,19 @@ Select the private key file - + Tab title format - + Remote tab title format - + @@ -896,7 +894,7 @@ No servers yet - + @@ -909,7 +907,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -985,7 +983,7 @@ No Group - + @@ -1145,39 +1143,39 @@ remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ U redu - + \ No newline at end of file diff --git a/translations/deepin-terminal_hu.ts b/translations/deepin-terminal_hu.ts index 27cae339b..7dc8ad5d3 100644 --- a/translations/deepin-terminal_hu.ts +++ b/translations/deepin-terminal_hu.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -329,7 +327,7 @@ debuginfod URLs - + hibakeresési információs URL-ek @@ -682,10 +680,6 @@ Find Találat - - debuginfod urls - hibakeresési információs url-ek - @@ -1277,7 +1271,7 @@ The debuginfod settings will be effective after restart - + A hibakeresési információs beállítások az újraindítás után lépnek életbe @@ -1303,4 +1297,4 @@ OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_id.ts b/translations/deepin-terminal_id.ts index 0eb818b51..4ba8a461e 100644 --- a/translations/deepin-terminal_id.ts +++ b/translations/deepin-terminal_id.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -96,7 +94,7 @@ No commands yet - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - Nama tidak boleh lebih dari 32 karakter {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -538,22 +536,22 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_it.ts b/translations/deepin-terminal_it.ts index 5900d4f6c..090106e3b 100644 --- a/translations/deepin-terminal_it.ts +++ b/translations/deepin-terminal_it.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - Il nome non dovrebbe eccedere i 32 caratteri {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -543,17 +541,17 @@ Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -743,13 +741,13 @@ Localizzazione italiana a cura di Massimo A. Carofano There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -761,7 +759,7 @@ Localizzazione italiana a cura di Massimo A. Carofano There are still processes running in this window. Closing the window will terminate all of them. - + @@ -887,7 +885,7 @@ Localizzazione italiana a cura di Massimo A. Carofano Add Group - + @@ -926,12 +924,12 @@ Localizzazione italiana a cura di Massimo A. Carofano Groups - + Servers - + @@ -986,7 +984,7 @@ Localizzazione italiana a cura di Massimo A. Carofano No Group - + @@ -1274,7 +1272,7 @@ Localizzazione italiana a cura di Massimo A. Carofano The debuginfod settings will be effective after restart - + @@ -1300,4 +1298,4 @@ Localizzazione italiana a cura di Massimo A. Carofano OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_ko.ts b/translations/deepin-terminal_ko.ts index 89f9b4eaa..984c81a16 100644 --- a/translations/deepin-terminal_ko.ts +++ b/translations/deepin-terminal_ko.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -96,7 +94,7 @@ No commands yet - + @@ -140,7 +138,7 @@ Fore color: - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - 이름은 32자 이하여야 합니다 {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -533,27 +531,27 @@ Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -650,7 +648,7 @@ Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1135,17 +1133,17 @@ username: %u - + username@: %U - + remote host: %h - + @@ -1157,7 +1155,7 @@ title set by shell: %w - + @@ -1177,7 +1175,7 @@ local host: %h - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ 확인 - + \ No newline at end of file diff --git a/translations/deepin-terminal_lt.ts b/translations/deepin-terminal_lt.ts index ad33b303d..0ef9908d9 100644 --- a/translations/deepin-terminal_lt.ts +++ b/translations/deepin-terminal_lt.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -39,7 +37,7 @@ Delete Command - + @@ -68,22 +66,22 @@ Please enter a name - + Please enter a command - + The name already exists, - + please input another one. - + @@ -96,7 +94,7 @@ No commands yet - + @@ -120,12 +118,12 @@ Custom Theme - + Style: - + @@ -140,22 +138,22 @@ Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - + @@ -218,22 +216,22 @@ Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -275,7 +273,7 @@ Custom Theme - + @@ -293,7 +291,7 @@ Cursor style - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,12 +327,12 @@ debuginfod URLs - + Use on starting - + @@ -344,13 +342,13 @@ Font size - + Opacity - + @@ -434,126 +432,126 @@ Next tab - + Previous tab - + Select left workspace - + Select lower workspace - + Select right workspace - + Select upper workspace - + Tab titles - + Go to tab 1 - + Go to tab 2 - + Go to tab 3 - + Go to tab 4 - + Go to tab 5 - + Go to tab 6 - + Go to tab 7 - + Go to tab 8 - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -630,27 +628,27 @@ Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -687,7 +685,7 @@ please set another one. - + @@ -697,23 +695,23 @@ Tabs - + Close tab - + Select tab - + Switch focus to "+" icon - + @@ -736,37 +734,37 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + Select a directory to save the file - + @@ -777,13 +775,13 @@ Are you sure you want to uninstall this application? - + You will not be able to use Terminal any longer. - + @@ -804,38 +802,38 @@ Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + The name should be no more than 32 characters - + @@ -853,19 +851,19 @@ Tab title format - + Remote tab title format - + Close other tabs - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -909,7 +907,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1038,32 +1036,32 @@ Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. - + @@ -1080,7 +1078,7 @@ Split screen - + @@ -1095,7 +1093,7 @@ Maximum - + @@ -1114,14 +1112,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1129,55 +1127,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ Gerai - + \ No newline at end of file diff --git a/translations/deepin-terminal_ms.ts b/translations/deepin-terminal_ms.ts index 72d954b82..40ae2e299 100644 --- a/translations/deepin-terminal_ms.ts +++ b/translations/deepin-terminal_ms.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -548,12 +546,12 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_nl.ts b/translations/deepin-terminal_nl.ts index 6fcdbcf3b..daa2a13e9 100644 --- a/translations/deepin-terminal_nl.ts +++ b/translations/deepin-terminal_nl.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -329,7 +327,7 @@ debuginfod URLs - + debuginfod-url's @@ -682,10 +680,6 @@ Find Zoeken - - debuginfod urls - debuginfod-url's - @@ -1277,7 +1271,7 @@ The debuginfod settings will be effective after restart - + Herstart om de wijzigingen toe te passen @@ -1303,4 +1297,4 @@ Oké - + \ No newline at end of file diff --git a/translations/deepin-terminal_pl.ts b/translations/deepin-terminal_pl.ts index dbd33576f..d581509c6 100644 --- a/translations/deepin-terminal_pl.ts +++ b/translations/deepin-terminal_pl.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -329,7 +327,7 @@ debuginfod URLs - + Adresy URL debuginfod @@ -682,10 +680,6 @@ Find Znajdź - - debuginfod urls - debuginfod urls - @@ -1277,7 +1271,7 @@ The debuginfod settings will be effective after restart - + Ustawienia debuginfod zostaną zastosowane po restarcie @@ -1303,4 +1297,4 @@ OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_pt.ts b/translations/deepin-terminal_pt.ts index 997e503f0..ed073f190 100644 --- a/translations/deepin-terminal_pt.ts +++ b/translations/deepin-terminal_pt.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - O nome não deve ter mais que 32 caracteres {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -543,17 +541,17 @@ Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -886,7 +884,7 @@ Add Group - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ Aceitar - + \ No newline at end of file diff --git a/translations/deepin-terminal_pt_BR.ts b/translations/deepin-terminal_pt_BR.ts index 71014627a..b1077852a 100644 --- a/translations/deepin-terminal_pt_BR.ts +++ b/translations/deepin-terminal_pt_BR.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -548,12 +546,12 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ Ok - + \ No newline at end of file diff --git a/translations/deepin-terminal_ro.ts b/translations/deepin-terminal_ro.ts index 03904d114..7de5fbf4b 100644 --- a/translations/deepin-terminal_ro.ts +++ b/translations/deepin-terminal_ro.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -96,7 +94,7 @@ No commands yet - + @@ -120,12 +118,12 @@ Custom Theme - + Style: - + @@ -140,22 +138,22 @@ Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - Numele nu trebuie să aibă mai mult de 32 de caractere {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -275,7 +273,7 @@ Custom Theme - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -434,126 +432,126 @@ Next tab - + Previous tab - + Select left workspace - + Select lower workspace - + Select right workspace - + Select upper workspace - + Tab titles - + Go to tab 1 - + Go to tab 2 - + Go to tab 3 - + Go to tab 4 - + Go to tab 5 - + Go to tab 6 - + Go to tab 7 - + Go to tab 8 - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -635,22 +633,22 @@ Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -697,7 +695,7 @@ Tabs - + @@ -708,12 +706,12 @@ Select tab - + Switch focus to "+" icon - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -853,19 +851,19 @@ Tab title format - + Remote tab title format - + Close other tabs - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1129,55 +1127,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ Ok - + \ No newline at end of file diff --git a/translations/deepin-terminal_ru.ts b/translations/deepin-terminal_ru.ts index 711a70833..f2e049695 100644 --- a/translations/deepin-terminal_ru.ts +++ b/translations/deepin-terminal_ru.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -548,12 +546,12 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_sk.ts b/translations/deepin-terminal_sk.ts index d8b4ea831..df3594bcb 100644 --- a/translations/deepin-terminal_sk.ts +++ b/translations/deepin-terminal_sk.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -39,7 +37,7 @@ Delete Command - + @@ -68,22 +66,22 @@ Please enter a name - + Please enter a command - + The name already exists, - + please input another one. - + @@ -96,7 +94,7 @@ No commands yet - + @@ -120,12 +118,12 @@ Custom Theme - + Style: - + @@ -135,27 +133,27 @@ Dark - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - + @@ -218,22 +216,22 @@ Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -275,7 +273,7 @@ Custom Theme - + @@ -293,7 +291,7 @@ Cursor style - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,12 +327,12 @@ debuginfod URLs - + Use on starting - + @@ -344,13 +342,13 @@ Font size - + Opacity - + @@ -428,132 +426,132 @@ New tab - + Next tab - + Previous tab - + Select left workspace - + Select lower workspace - + Select right workspace - + Select upper workspace - + Tab titles - + Go to tab 1 - + Go to tab 2 - + Go to tab 3 - + Go to tab 4 - + Go to tab 5 - + Go to tab 6 - + Go to tab 7 - + Go to tab 8 - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -630,27 +628,27 @@ Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -687,7 +685,7 @@ please set another one. - + @@ -697,23 +695,23 @@ Tabs - + Close tab - + Select tab - + Switch focus to "+" icon - + @@ -736,37 +734,37 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + Select a directory to save the file - + @@ -777,13 +775,13 @@ Are you sure you want to uninstall this application? - + You will not be able to use Terminal any longer. - + @@ -804,38 +802,38 @@ Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + The name should be no more than 32 characters - + @@ -853,19 +851,19 @@ Tab title format - + Remote tab title format - + Close other tabs - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -909,7 +907,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1038,32 +1036,32 @@ Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. - + @@ -1080,7 +1078,7 @@ Split screen - + @@ -1095,7 +1093,7 @@ Maximum - + @@ -1114,14 +1112,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1129,55 +1127,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1218,7 +1216,7 @@ New tab - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_sl.ts b/translations/deepin-terminal_sl.ts index d0a19487d..dfd893a58 100644 --- a/translations/deepin-terminal_sl.ts +++ b/translations/deepin-terminal_sl.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -39,7 +37,7 @@ Delete Command - + @@ -68,22 +66,22 @@ Please enter a name - + Please enter a command - + The name already exists, - + please input another one. - + @@ -96,7 +94,7 @@ No commands yet - + @@ -120,12 +118,12 @@ Custom Theme - + Style: - + @@ -140,22 +138,22 @@ Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - + @@ -218,22 +216,22 @@ Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -270,12 +268,12 @@ Type path to download file - + Custom Theme - + @@ -283,7 +281,7 @@ Copy on select - + @@ -293,7 +291,7 @@ Cursor style - + @@ -308,17 +306,17 @@ Allow Ctrl+scrollwheel to zoom text size - + Hide Quake window after losing focus - + Quake window animation speed - + @@ -329,12 +327,12 @@ debuginfod URLs - + Use on starting - + @@ -344,13 +342,13 @@ Font size - + Opacity - + @@ -428,132 +426,132 @@ New tab - + Next tab - + Previous tab - + Select left workspace - + Select lower workspace - + Select right workspace - + Select upper workspace - + Tab titles - + Go to tab 1 - + Go to tab 2 - + Go to tab 3 - + Go to tab 4 - + Go to tab 5 - + Go to tab 6 - + Go to tab 7 - + Go to tab 8 - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -630,27 +628,27 @@ Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -687,33 +685,33 @@ please set another one. - + Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. - + Tabs - + Close tab - + Select tab - + Switch focus to "+" icon - + @@ -736,37 +734,37 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + Select a directory to save the file - + @@ -777,13 +775,13 @@ Are you sure you want to uninstall this application? - + You will not be able to use Terminal any longer. - + @@ -804,38 +802,38 @@ Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + The name should be no more than 32 characters - + @@ -853,19 +851,19 @@ Tab title format - + Remote tab title format - + Close other tabs - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -909,7 +907,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1038,32 +1036,32 @@ Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. - + @@ -1080,7 +1078,7 @@ Split screen - + @@ -1095,7 +1093,7 @@ Maximum - + @@ -1114,14 +1112,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1129,55 +1127,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1218,7 +1216,7 @@ New tab - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ V redu - + \ No newline at end of file diff --git a/translations/deepin-terminal_sq.ts b/translations/deepin-terminal_sq.ts index 8a73ddec2..2d3789aee 100644 --- a/translations/deepin-terminal_sq.ts +++ b/translations/deepin-terminal_sq.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -298,12 +296,12 @@ Scroll on keystroke - + Scroll on output - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + Rregullimet për debuginfo do të jenë efektive pas rinisjes @@ -1299,4 +1297,4 @@ OK - + \ No newline at end of file diff --git a/translations/deepin-terminal_sr.ts b/translations/deepin-terminal_sr.ts index 446e2a286..17a5b552b 100644 --- a/translations/deepin-terminal_sr.ts +++ b/translations/deepin-terminal_sr.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -96,7 +94,7 @@ No commands yet - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - Име не треба бити дуже од 32 карактера {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -538,22 +536,22 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ У реду - + \ No newline at end of file diff --git a/translations/deepin-terminal_sv.ts b/translations/deepin-terminal_sv.ts index 7ac1fafe8..b4ef6ce6d 100644 --- a/translations/deepin-terminal_sv.ts +++ b/translations/deepin-terminal_sv.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -39,7 +37,7 @@ Delete Command - + @@ -68,22 +66,22 @@ Please enter a name - + Please enter a command - + The name already exists, - + please input another one. - + @@ -96,7 +94,7 @@ No commands yet - + @@ -120,12 +118,12 @@ Custom Theme - + Style: - + @@ -135,27 +133,27 @@ Dark - + Fore color: - + Back color: - + Prompt PS1: - + Prompt PS2: - + @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -205,12 +203,12 @@ Please enter a group name - + The name should be no more than 30 characters - + @@ -218,22 +216,22 @@ Delete Server - + Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -275,7 +273,7 @@ Custom Theme - + @@ -293,7 +291,7 @@ Cursor style - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,12 +327,12 @@ debuginfod URLs - + Use on starting - + @@ -344,13 +342,13 @@ Font size - + Opacity - + @@ -428,132 +426,132 @@ New tab - + Next tab - + Previous tab - + Select left workspace - + Select lower workspace - + Select right workspace - + Select upper workspace - + Tab titles - + Go to tab 1 - + Go to tab 2 - + Go to tab 3 - + Go to tab 4 - + Go to tab 5 - + Go to tab 6 - + Go to tab 7 - + Go to tab 8 - + Go to tab 9 - + Disable flow control using Ctrl+S, Ctrl+Q - + Shell profile - + History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -630,27 +628,27 @@ Close other workspaces - + Could not find "%1", starting "%2" instead. Please check your shell profile. - + Could not open "%1", unable to run it - + Could not find "%1", unable to run it - + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - + @@ -687,33 +685,33 @@ please set another one. - + Terminal is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. - + Tabs - + Close tab - + Select tab - + Switch focus to "+" icon - + @@ -736,54 +734,54 @@ Close this terminal? - + There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + Close this window? - + There are still processes running in this window. Closing the window will terminate all of them. - + Select a directory to save the file - + Are you sure you want to uninstall it? - + Are you sure you want to uninstall this application? - + You will not be able to use Terminal any longer. - + @@ -804,38 +802,38 @@ Execute a command in the terminal - + Run script string in the terminal - + Set the work directory - + Set the window mode on starting - + Run in quake mode - + Keep terminal open when command finishes - + The name should be no more than 32 characters - + @@ -853,19 +851,19 @@ Tab title format - + Remote tab title format - + Close other tabs - + @@ -886,7 +884,7 @@ Add Group - + @@ -896,7 +894,7 @@ No servers yet - + @@ -909,7 +907,7 @@ Make sure that rz and sz commands have been installed in the server before right clicking to upload and download files. - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1038,32 +1036,32 @@ Please enter a server name - + Please enter an IP address - + Please enter a port - + Please enter a username - + The server name already exists, - + please input another one. - + @@ -1080,7 +1078,7 @@ Split screen - + @@ -1095,7 +1093,7 @@ Maximum - + @@ -1114,14 +1112,14 @@ The shortcut %1 is invalid, - + The shortcut %1 was already in use, - + @@ -1129,55 +1127,55 @@ Insert - + username: %u - + username@: %U - + remote host: %h - + session number: %# - + title set by shell: %w - + program name: %n - + current directory (short): %d - + current directory (long): %D - + local host: %h - + @@ -1218,7 +1216,7 @@ New tab - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ Okej - + \ No newline at end of file diff --git a/translations/deepin-terminal_tr.ts b/translations/deepin-terminal_tr.ts index fc52ec009..6401f746c 100644 --- a/translations/deepin-terminal_tr.ts +++ b/translations/deepin-terminal_tr.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -548,12 +546,12 @@ Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ Tamam - + \ No newline at end of file diff --git a/translations/deepin-terminal_ug.ts b/translations/deepin-terminal_ug.ts index 0296bb5e7..03e3b8a7e 100644 --- a/translations/deepin-terminal_ug.ts +++ b/translations/deepin-terminal_ug.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -210,7 +208,7 @@ The name should be no more than 30 characters - ئىسىم 32 ھەرپتىن ئېشىپ كەتمەسلىكى كېرەك {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -538,22 +536,22 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -886,7 +884,7 @@ Add Group - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ جەزىملەشتۈرۈش - + \ No newline at end of file diff --git a/translations/deepin-terminal_uk.ts b/translations/deepin-terminal_uk.ts index e63913290..2888484d2 100644 --- a/translations/deepin-terminal_uk.ts +++ b/translations/deepin-terminal_uk.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -329,7 +327,7 @@ debuginfod URLs - + адреси debuginfod @@ -682,10 +680,6 @@ Find Знайти - - debuginfod urls - адреси debuginfod - @@ -1277,7 +1271,7 @@ The debuginfod settings will be effective after restart - + Параметри debuginfod набудуть чинності після перезапуску @@ -1303,4 +1297,4 @@ Гаразд - + \ No newline at end of file diff --git a/translations/deepin-terminal_zh_CN.ts b/translations/deepin-terminal_zh_CN.ts index a43f81338..14e0bba60 100644 --- a/translations/deepin-terminal_zh_CN.ts +++ b/translations/deepin-terminal_zh_CN.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -59,6 +57,12 @@ button 保 存 + + + OK + button + 确 定 + Please enter a name @@ -79,12 +83,6 @@ please input another one. 请重新输入 - - - OK - button - 确 定 - CustomCommandPanel @@ -280,94 +278,6 @@ QObject - - - - - - Cancel - button - 取 消 - - - - Delete - button - 删 除 - - - - - Confirm - button - 确 定 - - - - - - Close workspace - 关闭工作区 - - - - - - Close other workspaces - 关闭其他工作区 - - - - Could not find "%1", starting "%2" instead. Please check your shell profile. - 找不到 “%1”,已启动“%2”代替。请检查Shell配置。 - - - - Could not open "%1", unable to run it - 打不开“%1”,无法正常使用 - - - - Could not find "%1", unable to run it - 找不到“%1”,无法正常使用 - - - - Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. - 已经按下Ctrl+S,输出被挂起。可以按下Ctrl+Q继续。 - - - - - Tab title format - 标签标题格式 - - - - - Remote tab title format - 远程标签标题格式 - - - - - - - Rename title - 重命名标题 - - - - - Close tab - 关闭标签页 - - - - - Close other tabs - 关闭其他标签页 - Copy on select @@ -417,7 +327,7 @@ debuginfod URLs - + debuginfod URLs @@ -512,79 +422,6 @@ Remote management 远程管理 - - - - Fullscreen - 全屏 - - - - - Copy - 复制 - - - - - Default size - 默认大小 - - - - - Paste - 粘贴 - - - - Search - 搜索 - - - - - Select all - 全选 - - - - Jump to next command - 跳转到下一个命令 - - - - Jump to previous command - 跳转到上一个命令 - - - - - Zoom in - 放大 - - - - - Zoom out - 缩小 - - - - Close other windows - 关闭其他窗口 - - - - Close window - 关闭窗口 - - - - - Horizontal split - 横向分屏 - @@ -627,18 +464,6 @@ Select upper workspace 选择上面的工作区 - - - - Vertical split - 纵向分屏 - - - - - Find - 查找 - Tab titles @@ -729,22 +554,138 @@ 提供调试信息资源的http文件服务器 - - - The name should be no more than 32 characters - 名称长度不得超过32个字符 + + + + + Rename title + 重命名标题 - - Select the private key file - 选择私钥文件 + + + Fullscreen + 全屏 - - - - Select - 选择 + + + Copy + 复制 + + + + + Default size + 默认大小 + + + + + Paste + 粘贴 + + + + Search + 搜索 + + + + + Select all + 全选 + + + + Jump to next command + 跳转到下一个命令 + + + + Jump to previous command + 跳转到上一个命令 + + + + + Zoom in + 放大 + + + + + Zoom out + 缩小 + + + + Close other windows + 关闭其他窗口 + + + + + + Close other workspaces + 关闭其他工作区 + + + + Could not find "%1", starting "%2" instead. Please check your shell profile. + 找不到 “%1”,已启动“%2”代替。请检查Shell配置。 + + + + Could not open "%1", unable to run it + 打不开“%1”,无法正常使用 + + + + Could not find "%1", unable to run it + 找不到“%1”,无法正常使用 + + + + Output has been suspended by pressing Ctrl+S. Pressing Ctrl+Q to resume. + 已经按下Ctrl+S,输出被挂起。可以按下Ctrl+Q继续。 + + + + Close window + 关闭窗口 + + + + + + Close workspace + 关闭工作区 + + + + + Horizontal split + 横向分屏 + + + + + Vertical split + 纵向分屏 + + + + + Find + 查找 + + + + + + please set another one. + 请重新设置 @@ -757,15 +698,21 @@ 标签页 - - Switch focus to "+" icon - 光标焦点切换至“+”图标 + + + Close tab + 关闭标签页 Select tab 选择标签页 + + + Switch focus to "+" icon + 光标焦点切换至“+”图标 + @@ -779,17 +726,9 @@ 上传 - - - Select a directory to save the file - 选择下载文件的保存目录 - - - - - - please set another one. - 请重新设置 + + Programs are still running in terminal + 终端仍然有程序在运行 @@ -822,9 +761,10 @@ 窗口内一些终端仍然有进程在运行,关闭窗口会终止所有进程。 - - Programs are still running in terminal - 终端仍然有程序在运行 + + + Select a directory to save the file + 选择下载文件的保存目录 @@ -843,6 +783,15 @@ You will not be able to use Terminal any longer. 卸载后将无法再使用该应用。 + + + + + + Cancel + button + 取 消 + @@ -850,16 +799,6 @@ button 确 定 - - - Set the work directory - 设置终端的启动目录 - - - - Set the window mode on starting - 设置终端开启的模式 - Execute a command in the terminal @@ -870,6 +809,16 @@ Run script string in the terminal 在终端中允许脚本字符串 + + + Set the work directory + 设置终端的启动目录 + + + + Set the window mode on starting + 设置终端开启的模式 + Run in quake mode @@ -880,6 +829,55 @@ Keep terminal open when command finishes 设置终端显示命令或脚本执行后的结果 + + + + The name should be no more than 32 characters + 名称长度不得超过32个字符 + + + + + + Select + 选择 + + + + Select the private key file + 选择私钥文件 + + + + + Tab title format + 标签标题格式 + + + + + Remote tab title format + 远程标签标题格式 + + + + + Close other tabs + 关闭其他标签页 + + + + Delete + button + 删 除 + + + + + Confirm + button + 确 定 + RemoteManagementPanel @@ -935,10 +933,6 @@ ServerConfigOptDlg - - Advanced options - 高级选项 - Add Server @@ -1016,10 +1010,6 @@ Delete key: 删除键: - - Delete server - 删除服务器 - Cancel @@ -1087,23 +1077,23 @@ Settings - Normal window - 正常窗口 + Split screen + 分屏 - Split screen - 分屏 + Fullscreen + 全屏 - Maximum - 最大化 + Normal window + 正常窗口 - Fullscreen - 全屏 + Maximum + 最大化 @@ -1281,7 +1271,7 @@ The debuginfod settings will be effective after restart - + debuginfod设置,重启终端后生效 @@ -1307,4 +1297,4 @@ 确 定 - + \ No newline at end of file diff --git a/translations/deepin-terminal_zh_HK.ts b/translations/deepin-terminal_zh_HK.ts index 59686d4da..4a887aabc 100644 --- a/translations/deepin-terminal_zh_HK.ts +++ b/translations/deepin-terminal_zh_HK.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -210,7 +208,7 @@ The name should be no more than 30 characters - 名稱長度不得超過32個字符 {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -538,22 +536,22 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -886,7 +884,7 @@ Add Group - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ 確 定 - + \ No newline at end of file diff --git a/translations/deepin-terminal_zh_TW.ts b/translations/deepin-terminal_zh_TW.ts index 8b77af4b9..5a90cd1ee 100644 --- a/translations/deepin-terminal_zh_TW.ts +++ b/translations/deepin-terminal_zh_TW.ts @@ -1,6 +1,4 @@ - - - + CustomCommandOptDlg @@ -175,17 +173,17 @@ Group Name(Required) - + Add Group - + Edit Group - + @@ -210,7 +208,7 @@ The name should be no more than 30 characters - 名稱長度不得超過32個字元 {30 ?} + @@ -223,17 +221,17 @@ Delete Custom Command - + Cancel Server Group - + Ungrouped servers will go back to server list! - + @@ -308,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + @@ -318,7 +316,7 @@ Quake window animation speed - + @@ -329,7 +327,7 @@ debuginfod URLs - + @@ -538,22 +536,22 @@ History size - + Include special character(s) in double click selections - + Allow Ctrl + left mouse click to set cursor position - + The HTTP file server used for transmitting debugging information resources - + @@ -742,13 +740,13 @@ There is still a process running in this terminal. Closing the terminal will terminate it. - + There are still %1 processes running in this terminal. Closing the terminal will terminate all of them. - + @@ -760,7 +758,7 @@ There are still processes running in this window. Closing the window will terminate all of them. - + @@ -886,7 +884,7 @@ Add Group - + @@ -925,12 +923,12 @@ Groups - + Servers - + @@ -985,7 +983,7 @@ No Group - + @@ -1273,7 +1271,7 @@ The debuginfod settings will be effective after restart - + @@ -1299,4 +1297,4 @@ 確 定 - + \ No newline at end of file From 7a847334d0f4e18698c126b91a66b61bb1e1bc5c Mon Sep 17 00:00:00 2001 From: "transifex-integration[bot]" <43880903+transifex-integration[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 11:37:17 +0800 Subject: [PATCH 12/13] [deepin-terminal] Updates for project Deepin Terminal (#374) * [skip CI] Translate deepin-terminal.ts in fi 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'fi'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in fi 98% of minimum 50% translated source file: 'deepin-terminal.ts' on 'fi'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in fi 98% of minimum 50% translated source file: 'deepin-terminal.ts' on 'fi'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in fi 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'fi'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in fi 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'fi'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in fi 100% translated source file: 'deepin-terminal.ts' on 'fi'. * [skip CI] Translate deepin-terminal.ts in lt 53% of minimum 50% translated source file: 'deepin-terminal.ts' on 'lt'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in lt 53% of minimum 50% translated source file: 'deepin-terminal.ts' on 'lt'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in lt 54% of minimum 50% translated source file: 'deepin-terminal.ts' on 'lt'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in lt 55% of minimum 50% translated source file: 'deepin-terminal.ts' on 'lt'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in lt 55% of minimum 50% translated source file: 'deepin-terminal.ts' on 'lt'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pt_BR 97% of minimum 50% translated source file: 'deepin-terminal.ts' on 'pt_BR'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pt_BR 98% of minimum 50% translated source file: 'deepin-terminal.ts' on 'pt_BR'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pt_BR 98% of minimum 50% translated source file: 'deepin-terminal.ts' on 'pt_BR'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pt_BR 98% of minimum 50% translated source file: 'deepin-terminal.ts' on 'pt_BR'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pt_BR 98% of minimum 50% translated source file: 'deepin-terminal.ts' on 'pt_BR'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pt_BR 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'pt_BR'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pt_BR 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'pt_BR'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pt_BR 99% of minimum 50% translated source file: 'deepin-terminal.ts' on 'pt_BR'. Sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format * [skip CI] Translate deepin-terminal.ts in pt_BR 100% translated source file: 'deepin-terminal.ts' on 'pt_BR'. * [skip CI] Translate deepin-terminal.ts in pt_BR 100% translated source file: 'deepin-terminal.ts' on 'pt_BR'. --------- Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com> --- translations/deepin-terminal_fi.ts | 12 ++++++------ translations/deepin-terminal_lt.ts | 14 +++++++------- translations/deepin-terminal_pt_BR.ts | 12 ++++++------ 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/translations/deepin-terminal_fi.ts b/translations/deepin-terminal_fi.ts index 20777500d..54fcf1678 100644 --- a/translations/deepin-terminal_fi.ts +++ b/translations/deepin-terminal_fi.ts @@ -306,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + Salli Ctrl+rulla vaihtamaan tekstin kokoa @@ -327,7 +327,7 @@ debuginfod URLs - + viankorjaustiedot URL @@ -546,12 +546,12 @@ Allow Ctrl + left mouse click to set cursor position - + Salli Ctrl + hiiren vasen asettaa kohdistimen paikan The HTTP file server used for transmitting debugging information resources - + HTTP-tiedostopalvelin, käytetään virhetietojen lähettämiseen @@ -983,7 +983,7 @@ No Group - + Ei ryhmää @@ -1271,7 +1271,7 @@ The debuginfod settings will be effective after restart - + Debuginfod-asetukset tulevat voimaan käynnistyksen jälkeen diff --git a/translations/deepin-terminal_lt.ts b/translations/deepin-terminal_lt.ts index 0ef9908d9..3060bee71 100644 --- a/translations/deepin-terminal_lt.ts +++ b/translations/deepin-terminal_lt.ts @@ -32,12 +32,12 @@ Edit Command - Redaguoti komandą + Taisyti komandą Delete Command - + Ištrinti komandą @@ -178,12 +178,12 @@ Add Group - + Pridėti grupę Edit Group - + Taisyti grupę @@ -203,7 +203,7 @@ Please enter a group name - + Įveskite grupės pavadinimą @@ -216,7 +216,7 @@ Delete Server - + Ištrinti serverį @@ -884,7 +884,7 @@ Add Group - + Pridėti grupę diff --git a/translations/deepin-terminal_pt_BR.ts b/translations/deepin-terminal_pt_BR.ts index b1077852a..be9a2c133 100644 --- a/translations/deepin-terminal_pt_BR.ts +++ b/translations/deepin-terminal_pt_BR.ts @@ -306,7 +306,7 @@ Allow Ctrl+scrollwheel to zoom text size - + Permiti que Ctrl + Scroll amplie o tamanho do texto @@ -327,7 +327,7 @@ debuginfod URLs - + URLs do debuginfod @@ -546,12 +546,12 @@ Allow Ctrl + left mouse click to set cursor position - + Permitir que Ctrl + Botão Esquerdo do Mouse defina a posição do cursor The HTTP file server used for transmitting debugging information resources - + O servidor de arquivos HTTP usado para transmitir recursos de informações de depuração @@ -983,7 +983,7 @@ No Group - + Não há grupo @@ -1271,7 +1271,7 @@ The debuginfod settings will be effective after restart - + As configurações do debuginfod serão aplicadas após a reinicialização From 9d2f4fe547ccc9b15caf7f9806fbb0425ad063da Mon Sep 17 00:00:00 2001 From: Yutao Meng Date: Tue, 19 Nov 2024 10:06:21 +0800 Subject: [PATCH 13/13] chore: Bump version to 6.0.16 Log: Version 6.0.16 --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 642dd1978..c345f01c6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +deepin-terminal (6.0.16) unstable; urgency=medium + + * feat: Add debuginfod settings (#366) + + -- Yutao Meng Tue, 19 Nov 2024 10:05:41 +0800 + deepin-terminal (6.0.15) unstable; urgency=medium * Release 6.0.15