From 457b53b95ca52cfc08d730d41a9c78f7cb34fc94 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Sun, 22 Jan 2023 19:47:45 +0100 Subject: FakeVim: Tr::tr Change-Id: Idca64705f2058d22480da6a624008971c8d8aab4 Reviewed-by: hjk --- share/qtcreator/translations/qtcreator_cs.ts | 130 +------------- share/qtcreator/translations/qtcreator_da.ts | 3 - share/qtcreator/translations/qtcreator_es.ts | 14 +- share/qtcreator/translations/qtcreator_fr.ts | 131 +------------- share/qtcreator/translations/qtcreator_hr.ts | 2 +- share/qtcreator/translations/qtcreator_hu.ts | 20 +-- share/qtcreator/translations/qtcreator_it.ts | 14 +- share/qtcreator/translations/qtcreator_ja.ts | 2 +- share/qtcreator/translations/qtcreator_pl.ts | 2 +- share/qtcreator/translations/qtcreator_ru.ts | 3 - share/qtcreator/translations/qtcreator_sl.ts | 37 +--- share/qtcreator/translations/qtcreator_uk.ts | 219 +----------------------- share/qtcreator/translations/qtcreator_zh_TW.ts | 32 +--- src/plugins/fakevim/fakevimactions.cpp | 75 ++++---- src/plugins/fakevim/fakevimactions.h | 2 - 15 files changed, 59 insertions(+), 627 deletions(-) diff --git a/share/qtcreator/translations/qtcreator_cs.ts b/share/qtcreator/translations/qtcreator_cs.ts index 5228208433..5905b0a89f 100644 --- a/share/qtcreator/translations/qtcreator_cs.ts +++ b/share/qtcreator/translations/qtcreator_cs.ts @@ -4894,7 +4894,7 @@ Důvod: %3 - FakeVim::Internal + ::FakeVim Toggle vim-style editing Přepnout úpravy do režimu vim @@ -4915,9 +4915,6 @@ Důvod: %3 Path to .vimrc Cesta k .vimrc - - - FakeVim::Internal::FakeVimHandler Not implemented in FakeVim Neprovedeno v FakeVim @@ -5140,9 +5137,6 @@ Důvod: %3 Argument must be positive: %1=%2 Argument musí být kladný: %1=%2 - - - FakeVim::Internal::FakeVimOptionPage General Obecné @@ -5159,10 +5153,6 @@ Důvod: %3 Use FakeVim Používat FakeVim - - Read .vimrc - Číst .vimrc - Vim Behavior Chování Vim @@ -5219,10 +5209,6 @@ Důvod: %3 Vim tabstop option Nastavení tabulátorů Vim - - Tabulator size: - Šířka tabulátoru: - Backspace: Zpětná klávesa: @@ -5304,9 +5290,6 @@ Důvod: %3 Vim tabstop option. Nastavení tabulátorů Vim. - - - FakeVim::Internal::FakeVimPluginPrivate Switch to next file Přejít k dalšímu souboru @@ -5355,21 +5338,10 @@ Důvod: %3 %n souborů nebylo uloženo - - Not an editor command: %1 - Není příkazem editoru: %1 - FakeVim Information Informace k FakeVim - - - FakeVimOptionPage - - Use FakeVim - Používat FakeVim - Vim style settings Nastavení pro styl Vim @@ -5386,10 +5358,6 @@ Důvod: %3 Highlight search results: Zvýraznit výsledky hledání: - - Shift width: - Odsazení: - Smart tabulators: Režim chytrých zarážek: @@ -5404,11 +5372,7 @@ Důvod: %3 Tabulator size: - Šířka zarážky: - - - Backspace: - Zpětná klávesa: + Šířka zarážky: VIM's "autoindent" option @@ -5434,78 +5398,6 @@ Důvod: %3 Incremental search: Přírůstkové hledání: - - Read .vimrc - Číst .vimrc - - - Vim Behavior - Chování Vim - - - Automatic indentation - Automatické odsazení - - - Start of line - Začátek řádku - - - Smart indentation - Chytré odsazování - - - Use search dialog - Použít dialog pro hledání - - - Expand tabulators - Rozbalit zarážky - - - Show position of text marks - Ukázat polohu textových značek - - - Smart tabulators - Režim chytrých zarážek - - - Highlight search results - Zvýraznit výsledky hledání - - - Incremental search - Přírůstkové hledání - - - Keyword characters: - Znaky klíčového slova: - - - Copy Text Editor Settings - Kopírovat nastavení textového editoru - - - Set Qt Style - Nastavit styl Qt - - - Set Plain Style - Nastavit prostý styl - - - Pass key sequences like Ctrl-S to Qt Creator core instead of interpreting them in FakeVim. This gives easier access to Qt Creator core functionality at the price of losing some features of FakeVim. - Způsobí, že s určitými klávesovými zkratkami jako je Ctrl-S se nezachází v FakeVim, nýbrž jsou postoupeny Qt Creatoru. Toto usnadňuje přístup k základním funkcím Qt Creatoru za cenu ztráty některých funkcí FakeVimu. - - - Pass control key - Postoupit klávesu Ctrl - - - Vim tabstop option - Nastavení zarážek Vim - FilterNameDialogClass @@ -22697,7 +22589,7 @@ Proces Pdb po určité době od úspěšného spuštění spadl. - FakeVim::Internal::FakeVimHandler::Private + ::FakeVim Recursive mapping Rekurzivní přiřazení @@ -22714,17 +22606,10 @@ Proces Pdb po určité době od úspěšného spuštění spadl. Not an editor command: %1 Není příkazem editoru: %1 - - - FakeVim::Internal::FakeVimExCommandsPage Ex Command Mapping Přiřazení příkazů pro Ex - - FakeVim - FakeVim - Ex Trigger Expression Příkaz @@ -32026,7 +31911,7 @@ Má se to zkusit ještě jednou? - FakeVim::Internal::FakeVimUserCommandsModel + ::FakeVim Action Úkon @@ -32039,17 +31924,10 @@ Má se to zkusit ještě jednou? User command #%1 Uživatelský příkaz #%1 - - - FakeVim::Internal::FakeVimUserCommandsPage User Command Mapping Přiřazení příkazů - - FakeVim - FakeVim - ::GenericProjectManager diff --git a/share/qtcreator/translations/qtcreator_da.ts b/share/qtcreator/translations/qtcreator_da.ts index beb39af15f..ee41ac7ef5 100644 --- a/share/qtcreator/translations/qtcreator_da.ts +++ b/share/qtcreator/translations/qtcreator_da.ts @@ -14871,9 +14871,6 @@ vil også deaktiverer følgende plugins: %n filer ikke gemt - - - FakeVim::Internal::FakeVimOptionPage Use FakeVim Brug FakeVim diff --git a/share/qtcreator/translations/qtcreator_es.ts b/share/qtcreator/translations/qtcreator_es.ts index 7c6075cdab..058f7e4da1 100644 --- a/share/qtcreator/translations/qtcreator_es.ts +++ b/share/qtcreator/translations/qtcreator_es.ts @@ -4482,7 +4482,7 @@ Razón: %3 - FakeVim::Internal + ::FakeVim Toggle vim-style editing Activar/desactivar edición al estilo Vim @@ -4491,9 +4491,6 @@ Razón: %3 FakeVim properties... Ajustes de FakeVim... - - - FakeVim::Internal::FakeVimHandler Not implemented in FakeVim No implementado en FakeVim @@ -4577,9 +4574,6 @@ Razón: %3 Already at newest change Ya está en el cambio mas reciente - - - FakeVim::Internal::FakeVimOptionPage General @@ -4588,9 +4582,6 @@ Razón: %3 FakeVim - - - FakeVim::Internal::FakeVimPluginPrivate Quit FakeVim Salir de FakeVim @@ -4614,9 +4605,6 @@ Razón: %3 FakeVim Information Información sobre FakeVim - - - FakeVimOptionPage Use FakeVim Usar FakeVim diff --git a/share/qtcreator/translations/qtcreator_fr.ts b/share/qtcreator/translations/qtcreator_fr.ts index 8f95477b3c..e502dce061 100644 --- a/share/qtcreator/translations/qtcreator_fr.ts +++ b/share/qtcreator/translations/qtcreator_fr.ts @@ -5665,7 +5665,7 @@ Raison : %3 - FakeVim::Internal + ::FakeVim Toggle vim-style editing Activer/désactiver l'édition en mode vim @@ -5686,9 +5686,6 @@ Raison : %3 Path to .vimrc Chemin vers .vimrc - - - FakeVim::Internal::FakeVimHandler Not implemented in FakeVim Pas implémenté dans FakeVim @@ -5894,9 +5891,6 @@ Raison : %3 Argument must be positive: %1=%2 L'argument doit être positif : %1 = %2 - - - FakeVim::Internal::FakeVimOptionPage General Général @@ -5913,10 +5907,6 @@ Raison : %3 Use FakeVim Utiliser FakeVim - - Read .vimrc - prendre en compte .vimrc - Vim Behavior Comportement Vim @@ -6037,9 +6027,6 @@ Raison : %3 Browse... Parcourir... - - - FakeVim::Internal::FakeVimPluginPrivate Switch to next file Passer au fichier suivant @@ -6087,21 +6074,10 @@ Raison : %3 %n fichiers n'ont pas pu être enregistré - - Not an editor command: %1 - Pas une commande de l'éditeur : %1 - FakeVim Information Information sur FakeVim - - - FakeVimOptionPage - - Use FakeVim - Utiliser FakeVim - Vim style settings Paramètres de l'édition de type vim @@ -6118,10 +6094,6 @@ Raison : %3 Highlight search results: Surligner les résultats de recherche : - - Shift width: - Largeur d'indentation : - Smart tabulators: Tabulation intelligente : @@ -6134,14 +6106,6 @@ Raison : %3 vim's "tabstop" option option "tabstop" de vim - - Tabulator size: - Taille des tabulations : - - - Backspace: - Touche retour : - VIM's "autoindent" option option "autoindent" de vim @@ -6166,85 +6130,10 @@ Raison : %3 Set plain style Définir le style plein - - Read .vimrc - J'aurais proposer "lire les .vimrc" non ? -pierre: ouaip, je trouvais ça plus clair avec "prendre en compte" puisque pour le coup c'est des préférences -Francis : en effet, je n'avais pas pris en compte le contexte. - prendre en compte .vimrc - - - Vim Behavior - Comportement Vim - - - Automatic indentation - Indentation automatique - - - Start of line - Début de ligne - - - Smart indentation - Indentation intelligente - - - Use search dialog - Utiliser la fenêtre de recherche - - - Expand tabulators - Étendre les tabulations - - - Show position of text marks - Afficher la position des marques textuelles - - - Smart tabulators - Tabulation intelligente - - - Highlight search results - Surligner les résultats de recherche - - - Incremental search - Recherche incrémentale - - - Keyword characters: - Caractères mot-clés : - - - Copy Text Editor Settings - Copier les paramètres de l'éditeur de texte - - - Set Qt Style - Utiliser le style Qt - - - Set Plain Style - Utiliser le style simple - Checking this box passes key sequences like Ctrl-S to the Creator core instead of interpreting them in FakeVim. This gives easier access to Creator core functionality at the price of losing some features of FakeVim. Cocher cette case passe des séquences comme Ctrl+S au coeur de Creator au lieu de les interpréter dans FakeVim. Ceci donne un accès plus facile aux fonctionnalités du coeur de Creator, au prix de la perte de quelques fonctionnalités de FakeVim. - - Pass control key - Passer la clé de contrôle - - - Vim tabstop option - Option tabstop de Vim - - - Pass key sequences like Ctrl-S to Qt Creator core instead of interpreting them in FakeVim. This gives easier access to Qt Creator core functionality at the price of losing some features of FakeVim. - Passer les séquences de touches comme Ctrl-S à Qt Creator au lieu de les interpréter dans FakeVim. Ceci donne un accès plus facile aux fonctionnalités de base de Qt Creator au prix de la perte de certaines fonctionnalités de FakeVim. - FilterNameDialogClass @@ -21786,7 +21675,7 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. - FakeVim::Internal::FakeVimHandler::Private + ::FakeVim Recursive mapping Construction de correspondance récursif @@ -21803,17 +21692,10 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. Not an editor command: %1 Pas une commande de l'éditeur : %1 - - - FakeVim::Internal::FakeVimExCommandsPage Ex Command Mapping Mappage des commandes Ex - - FakeVim - FakeVim - Ex Trigger Expression Expression d'activation Ex @@ -34278,7 +34160,7 @@ Would you like to overwrite them? - FakeVim::Internal::FakeVimUserCommandsModel + ::FakeVim Action Action @@ -34291,17 +34173,10 @@ Would you like to overwrite them? User command #%1 Commande utilisateur #%1 - - - FakeVim::Internal::FakeVimUserCommandsPage User Command Mapping Correspondance des commandes utilisateur - - FakeVim - FakeVim - ::GenericProjectManager diff --git a/share/qtcreator/translations/qtcreator_hr.ts b/share/qtcreator/translations/qtcreator_hr.ts index 85f20ac0da..feca10cf07 100644 --- a/share/qtcreator/translations/qtcreator_hr.ts +++ b/share/qtcreator/translations/qtcreator_hr.ts @@ -3463,7 +3463,7 @@ Ti se predznaci koriste kao dodatak trenutačnom direktoriju na Switch zaglavlju - FakeVim::Internal::FakeVimOptionPage + ::FakeVim Use FakeVim Koristi FakeVim diff --git a/share/qtcreator/translations/qtcreator_hu.ts b/share/qtcreator/translations/qtcreator_hu.ts index 68e0545a09..d3f5493406 100644 --- a/share/qtcreator/translations/qtcreator_hu.ts +++ b/share/qtcreator/translations/qtcreator_hu.ts @@ -5980,7 +5980,7 @@ Ok: %3 - FakeVim::0 + ::FakeVim Toggle vim-style editing Vim stílusú szerkesztés kapcsolgatása @@ -5989,9 +5989,6 @@ Ok: %3 FakeVim properties... Vim utánzat beállítások... - - - FakeVim::Internal Toggle vim-style editing Vim stílusú szerkesztés kapcsolgatása @@ -6000,9 +5997,6 @@ Ok: %3 FakeVim properties... Vim utánzat beállítások... - - - FakeVim::Internal::0 %1,%2 %1,%2 @@ -6091,9 +6085,6 @@ Ok: %3 FakeVim Information Vim utánzat információ - - - FakeVim::Internal::FakeVimHandler E20: Mark '%1' not set E20: %1'-es megjelölés nincsen beállítva @@ -6164,9 +6155,6 @@ Ok: %3 Already at newest change Ez már a legújabb változat - - - FakeVim::Internal::FakeVimOptionPage General Általános @@ -6175,9 +6163,6 @@ Ok: %3 FakeVim Vim utánzat - - - FakeVim::Internal::FakeVimPluginPrivate Quit FakeVim Kilépés a Vim utánzatból @@ -6199,9 +6184,6 @@ Ok: %3 FakeVim Information Vim utánzat információ - - - FakeVimOptionPage Use FakeVim Vim utánzat használata diff --git a/share/qtcreator/translations/qtcreator_it.ts b/share/qtcreator/translations/qtcreator_it.ts index b46d75d19d..403b578928 100644 --- a/share/qtcreator/translations/qtcreator_it.ts +++ b/share/qtcreator/translations/qtcreator_it.ts @@ -4375,7 +4375,7 @@ Causa: %3 - FakeVim::Internal + ::FakeVim Toggle vim-style editing Commuta l'editor vim-style @@ -4384,9 +4384,6 @@ Causa: %3 FakeVim properties... Proprietà di FakeVim... - - - FakeVim::Internal::FakeVimHandler %1,%2 %1,%2 @@ -4477,9 +4474,6 @@ Causa: %3 Already at newest change Già alla modifica più recente - - - FakeVim::Internal::FakeVimOptionPage General Generale @@ -4488,9 +4482,6 @@ Causa: %3 FakeVim FakeVim - - - FakeVim::Internal::FakeVimPluginPrivate Quit FakeVim Esci da FakeVim @@ -4514,9 +4505,6 @@ Causa: %3 FakeVim Information Informazioni su FakeVim - - - FakeVimOptionPage Use FakeVim Usa FakeVim diff --git a/share/qtcreator/translations/qtcreator_ja.ts b/share/qtcreator/translations/qtcreator_ja.ts index a47e9842ba..c5004714e1 100644 --- a/share/qtcreator/translations/qtcreator_ja.ts +++ b/share/qtcreator/translations/qtcreator_ja.ts @@ -2575,7 +2575,7 @@ These prefixes are used in addition to current file name on Switch Header/Source - FakeVim::Internal::FakeVimOptionPage + ::FakeVim Use FakeVim FakeVim を使用する diff --git a/share/qtcreator/translations/qtcreator_pl.ts b/share/qtcreator/translations/qtcreator_pl.ts index 10e94697ba..f09dfe8332 100644 --- a/share/qtcreator/translations/qtcreator_pl.ts +++ b/share/qtcreator/translations/qtcreator_pl.ts @@ -5198,7 +5198,7 @@ Przebudowanie projektu może pomóc w ich odnalezieniu. - FakeVim::Internal::FakeVimOptionPage + ::FakeVim Use FakeVim Używaj FakeVim diff --git a/share/qtcreator/translations/qtcreator_ru.ts b/share/qtcreator/translations/qtcreator_ru.ts index 899a2893a8..b6e1bdba94 100644 --- a/share/qtcreator/translations/qtcreator_ru.ts +++ b/share/qtcreator/translations/qtcreator_ru.ts @@ -18518,9 +18518,6 @@ will also disable the following plugins: не сохранено %n файлов - - - FakeVim::Internal::FakeVimOptionPage Use FakeVim Использовать FakeVim diff --git a/share/qtcreator/translations/qtcreator_sl.ts b/share/qtcreator/translations/qtcreator_sl.ts index 197db14d4e..c6a765360e 100644 --- a/share/qtcreator/translations/qtcreator_sl.ts +++ b/share/qtcreator/translations/qtcreator_sl.ts @@ -4123,7 +4123,7 @@ Razlog: %3 - FakeVim::Internal + ::FakeVim Use Vim-style Editing Uporabi urejanje v slogu Vim-a @@ -4132,9 +4132,6 @@ Razlog: %3 Read .vimrc Preberi .vimrc - - - FakeVim::Internal::FakeVimHandler Not implemented in FakeVim Ni implementirano v FakeVim @@ -4225,9 +4222,6 @@ Razlog: %3 Can't open file %1 Datoteke %1 ni moč odpreti - - - FakeVim::Internal::FakeVimOptionPage General Splošno @@ -4236,9 +4230,6 @@ Razlog: %3 FakeVim FakeVim - - - FakeVim::Internal::FakeVimPluginPrivate File not saved Datoteka ni shranjena @@ -4272,9 +4263,6 @@ Razlog: %3 Quit FakeVim Končaj FakeVim - - - FakeVimOptionPage Use FakeVim Uporabi FakeVim @@ -4294,11 +4282,6 @@ Razlog: %3 Backspace: Vračalka: - - - Read .vimrc - Preberi .vimrc - Vim Behavior @@ -15099,7 +15082,7 @@ Desetiška predznačena vrednost (najprej veliki konec): %4 - FakeVim::Internal::FakeVimHandler::Private + ::FakeVim [New] [novo] @@ -15108,17 +15091,10 @@ Desetiška predznačena vrednost (najprej veliki konec): %4 Not an editor command: %1 Ni ukaz urejevalnika: %1 - - - FakeVim::Internal::FakeVimExCommandsPage Ex Command Mapping Preslikava ukazov - - FakeVim - FakeVim - Ex Trigger Expression Sprožilni izraz @@ -23128,7 +23104,7 @@ Ali želite poskusiti znova? - FakeVim::Internal::FakeVimUserCommandsModel + ::FakeVim Action Dejanje @@ -23141,17 +23117,10 @@ Ali želite poskusiti znova? User command #%1 %1. uporabniški ukaz - - - FakeVim::Internal::FakeVimUserCommandsPage User Command Mapping Preslikava uporabniških ukazov - - FakeVim - FakeVim - ::GenericProjectManager diff --git a/share/qtcreator/translations/qtcreator_uk.ts b/share/qtcreator/translations/qtcreator_uk.ts index fc3b72068f..62940954eb 100644 --- a/share/qtcreator/translations/qtcreator_uk.ts +++ b/share/qtcreator/translations/qtcreator_uk.ts @@ -7643,163 +7643,11 @@ will also disable the following plugins: - FakeVim::Internal - - Use Vim-style Editing - Використовувати редагування в стилі Vim - - - Read .vimrc - Читати .vimrc - - - Path to .vimrc - Шлях до .vimrc - - - - FakeVim::Internal::FakeVimExCommandsPage - - Ex Command Mapping - Розширене відображення команд - - - FakeVim - FakeVim - - - Regular expression: - Регулярний вираз: - - - Ex Command - Розширена команда - - - - FakeVim::Internal::FakeVimHandler - - %1%2% - %1%2% - - - %1All - %1Все - - - Not implemented in FakeVim. - Не реалізовано в FakeVim. - + ::FakeVim Unknown option: Невідома опція: - - Unknown option: - Невідома опція: - - - Invalid argument: - Неправильний аргумент: - - - %n lines moved. - - %n рядок пересунуто. - %n рядки пересунуто. - %n рядків пересунуто. - - - - File "%1" exists (add ! to override) - Файл "%1" існує (додайте ! для перезапису) - - - Cannot open file "%1" for writing - Неможливо відкрити файл %1 для запису - - - "%1" %2 %3L, %4C written. - "%1" %2 %3L, %4C записано. - - - Search hit BOTTOM, continuing at TOP. - Пошук дійшов до НИЗУ, продовжуємо ЗГОРИ. - - - Search hit TOP, continuing at BOTTOM. - Пошук дійшов до ГОРИ, продовжуємо ЗНИЗУ. - - - Search hit BOTTOM without match for: %1 - Пошук дійшов до НИЗУ, не знайдено збігів для: %1 - - - Search hit TOP without match for: %1 - Пошук дійшов до ГОРИ, не знайдено збігів для: %1 - - - "%1" %2 %3L, %4C written - "%1" %2 %3L, %4C записано - - - Cannot open file "%1" for reading - Неможливо відкрити файл %1 для читання - - - "%1" %2L, %3C - "%1" %2L, %3C - - - Cannot open file %1 - Неможливо відкрити %1! {1?} - - - Pattern not found: %1 - Зразок не знайдено: %1 - - - Invalid regular expression: %1 - Неправильний регулярний вираз: %1 - - - Unknown option: %1 - Невідома опція %1 - - - Argument must be positive: %1=%2 - Аргумент повинен бути додатнім: %1=%2 - - - - FakeVim::Internal::FakeVimHandler::Private - - Type Alt-V, Alt-V to quit FakeVim mode. - Натисніть Alt-V, Alt-V, щоб вийти з режиму FakeVim. - - - [New] - [Новий] - - - Not an editor command: %1 - Не команда редактора: %1 - - - - FakeVim::Internal::FakeVimOptionPage - - General - Загальне - - - FakeVim - FakeVim - - - Default: %1 - Типово: %1 - Use FakeVim Застосувати FakeVim @@ -7904,10 +7752,6 @@ will also disable the following plugins: Scroll offset: - - Keep empty to use the default path, i.e. %USERPROFILE%\_vimrc on Windows, ~/.vimrc otherwise. - Залишіть порожнім, щоб використати типовий шлях (напр., %USERPROFILE%\_vimrc під Windows та ~/.vimrc на інших системах). - Browse... Огляд... @@ -7936,72 +7780,19 @@ will also disable the following plugins: Vim tabstop option. - - - FakeVim::Internal::FakeVimPluginPrivate Meta+V,Meta+V Meta+V,Meta+V - - Alt+V,Alt+V - Alt+V,Alt+V - Meta+V,%1 Meta+V,%1 - - Alt+V,%1 - Alt+V,%1 - - - File not saved - Файл не збережено - - - Saving succeeded - Успішне збереження - - - %n files not saved - - %n файл не збережено - %n файли не збережено - %n файлів не збережено - - FakeVim Information Інформація про FakeVim - - FakeVim::Internal::FakeVimUserCommandsModel - - Action - Дія - - - Command - Команда - - - User command #%1 - Команда користувача #%1 - - - - FakeVim::Internal::FakeVimUserCommandsPage - - User Command Mapping - Відображення команд користувача - - - FakeVim - FakeVim - - FileWidget @@ -39642,10 +39433,6 @@ Preselects a desktop Qt for building the application if available. User command #%1 Команда користувача #%1 - - Meta+V,Meta+V - Meta+V,Meta+V - Alt+V,Alt+V Alt+V,Alt+V @@ -39658,10 +39445,6 @@ Preselects a desktop Qt for building the application if available. Execute User Action #%1 Виконати дію користувача #%1 - - Meta+V,%1 - Meta+V,%1 - Alt+V,%1 Alt+V,%1 diff --git a/share/qtcreator/translations/qtcreator_zh_TW.ts b/share/qtcreator/translations/qtcreator_zh_TW.ts index 9e14c4e0b7..6e80d0e8b5 100644 --- a/share/qtcreator/translations/qtcreator_zh_TW.ts +++ b/share/qtcreator/translations/qtcreator_zh_TW.ts @@ -4206,7 +4206,7 @@ Reason: %3 - FakeVim::Internal + ::FakeVim Use Vim-style Editing 使用 Vim 風格編輯 @@ -4215,9 +4215,6 @@ Reason: %3 Read .vimrc 讀取 .vimrc - - - FakeVim::Internal::FakeVimHandler Not implemented in FakeVim 在 FakeVim 中尚未實作 @@ -4306,9 +4303,6 @@ Reason: %3 Argument must be positive: %1=%2 參數必須為正值:%1=%2 - - - FakeVim::Internal::FakeVimOptionPage General 一般 @@ -4321,10 +4315,6 @@ Reason: %3 Use FakeVim 使用 FakeVim - - Read .vimrc - 讀取 .vimrc - Vim Behavior Vim 行為 @@ -4409,9 +4399,6 @@ Reason: %3 Use smartcase - - - FakeVim::Internal::FakeVimPluginPrivate Meta+V,Meta+V @@ -12533,15 +12520,11 @@ For qmlproject projects, use the importPaths property to add import paths. - FakeVim::Internal::FakeVimExCommandsPage + ::FakeVim Ex Command Mapping Ex 指令映射 - - FakeVim - FakeVim - Ex Trigger Expression Ex 觸發表示式 @@ -14780,7 +14763,7 @@ Ids must begin with a lowercase letter. - FakeVim::Internal::FakeVimHandler::Private + ::FakeVim [New] [新增] @@ -21240,7 +21223,7 @@ Would you like to overwrite them? - FakeVim::Internal::FakeVimUserCommandsModel + ::FakeVim Action 動作 @@ -21253,17 +21236,10 @@ Would you like to overwrite them? User command #%1 使用者指令 #%1 - - - FakeVim::Internal::FakeVimUserCommandsPage User Command Mapping 使用者指令映射 - - FakeVim - FakeVim - ::GenericProjectManager diff --git a/src/plugins/fakevim/fakevimactions.cpp b/src/plugins/fakevim/fakevimactions.cpp index f72ef44a38..7f7c44baf4 100644 --- a/src/plugins/fakevim/fakevimactions.cpp +++ b/src/plugins/fakevim/fakevimactions.cpp @@ -3,6 +3,7 @@ #include "fakevimactions.h" #include "fakevimhandler.h" +#include "fakevimtr.h" // Please do not add any direct dependencies to other Qt Creator code here. // Instead emit signals and let the FakeVimPlugin channel the information to @@ -66,40 +67,40 @@ FakeVimSettings::FakeVimSettings() setAutoApply(false); #ifndef FAKEVIM_STANDALONE - setup(&useFakeVim, false, "UseFakeVim", {}, tr("Use FakeVim")); + setup(&useFakeVim, false, "UseFakeVim", {}, Tr::tr("Use FakeVim")); #endif // Specific FakeVim settings - setup(&readVimRc, false, "ReadVimRc", {}, tr("Read .vimrc from location:")); - setup(&vimRcPath, QString(), "VimRcPath", {}, {}); // tr("Path to .vimrc") - setup(&showMarks, false, "ShowMarks", "sm", tr("Show position of text marks")); - setup(&passControlKey, false, "PassControlKey", "pck", tr("Pass control keys")); - setup(&passKeys, true, "PassKeys", "pk", tr("Pass keys in insert mode")); + setup(&readVimRc, false, "ReadVimRc", {}, Tr::tr("Read .vimrc from location:")); + setup(&vimRcPath, QString(), "VimRcPath", {}, {}); // Tr::tr("Path to .vimrc") + setup(&showMarks, false, "ShowMarks", "sm", Tr::tr("Show position of text marks")); + setup(&passControlKey, false, "PassControlKey", "pck", Tr::tr("Pass control keys")); + setup(&passKeys, true, "PassKeys", "pk", Tr::tr("Pass keys in insert mode")); // Emulated Vsetting - setup(&startOfLine, true, "StartOfLine", "sol", tr("Start of line")); - setup(&tabStop, 8, "TabStop", "ts", tr("Tabulator size:")); - setup(&smartTab, false, "SmartTab", "sta", tr("Smart tabulators")); - setup(&hlSearch, true, "HlSearch", "hls", tr("Highlight search results")); - setup(&shiftWidth, 8, "ShiftWidth", "sw", tr("Shift width:")); - setup(&expandTab, false, "ExpandTab", "et", tr("Expand tabulators")); - setup(&autoIndent, false, "AutoIndent", "ai", tr("Automatic indentation")); - setup(&smartIndent, false, "SmartIndent", "si", tr("Smart indentation")); - setup(&incSearch, true, "IncSearch", "is", tr("Incremental search")); - setup(&useCoreSearch, false, "UseCoreSearch", "ucs", tr("Use search dialog")); - setup(&smartCase, false, "SmartCase", "scs", tr("Use smartcase")); - setup(&ignoreCase, false, "IgnoreCase", "ic", tr("Use ignorecase")); - setup(&wrapScan, true, "WrapScan", "ws", tr("Use wrapscan")); - setup(&tildeOp, false, "TildeOp", "top", tr("Use tildeop")); - setup(&showCmd, true, "ShowCmd", "sc", tr("Show partial command")); - setup(&relativeNumber, false, "RelativeNumber", "rnu", tr("Show line numbers relative to cursor")); - setup(&blinkingCursor, false, "BlinkingCursor", "bc", tr("Blinking cursor")); - setup(&scrollOff, 0, "ScrollOff", "so", tr("Scroll offset:")); + setup(&startOfLine, true, "StartOfLine", "sol", Tr::tr("Start of line")); + setup(&tabStop, 8, "TabStop", "ts", Tr::tr("Tabulator size:")); + setup(&smartTab, false, "SmartTab", "sta", Tr::tr("Smart tabulators")); + setup(&hlSearch, true, "HlSearch", "hls", Tr::tr("Highlight search results")); + setup(&shiftWidth, 8, "ShiftWidth", "sw", Tr::tr("Shift width:")); + setup(&expandTab, false, "ExpandTab", "et", Tr::tr("Expand tabulators")); + setup(&autoIndent, false, "AutoIndent", "ai", Tr::tr("Automatic indentation")); + setup(&smartIndent, false, "SmartIndent", "si", Tr::tr("Smart indentation")); + setup(&incSearch, true, "IncSearch", "is", Tr::tr("Incremental search")); + setup(&useCoreSearch, false, "UseCoreSearch", "ucs", Tr::tr("Use search dialog")); + setup(&smartCase, false, "SmartCase", "scs", Tr::tr("Use smartcase")); + setup(&ignoreCase, false, "IgnoreCase", "ic", Tr::tr("Use ignorecase")); + setup(&wrapScan, true, "WrapScan", "ws", Tr::tr("Use wrapscan")); + setup(&tildeOp, false, "TildeOp", "top", Tr::tr("Use tildeop")); + setup(&showCmd, true, "ShowCmd", "sc", Tr::tr("Show partial command")); + setup(&relativeNumber, false, "RelativeNumber", "rnu", Tr::tr("Show line numbers relative to cursor")); + setup(&blinkingCursor, false, "BlinkingCursor", "bc", Tr::tr("Blinking cursor")); + setup(&scrollOff, 0, "ScrollOff", "so", Tr::tr("Scroll offset:")); setup(&backspace, "indent,eol,start", - "Backspace", "bs", tr("Backspace:")); + "Backspace", "bs", Tr::tr("Backspace:")); setup(&isKeyword, "@,48-57,_,192-255,a-z,A-Z", - "IsKeyword", "isk", tr("Keyword characters:")); - setup(&clipboard, {}, "Clipboard", "cb", tr("")); - setup(&formatOptions, {}, "formatoptions", "fo", tr("")); + "IsKeyword", "isk", Tr::tr("Keyword characters:")); + setup(&clipboard, {}, "Clipboard", "cb", Tr::tr("")); + setup(&formatOptions, {}, "formatoptions", "fo", Tr::tr("")); // Emulated plugins setup(&emulateVimCommentary, false, "commentary", {}, "vim-commentary"); @@ -109,19 +110,19 @@ FakeVimSettings::FakeVimSettings() setup(&emulateSurround, false, "surround", {}, "vim-surround"); // Some polish - useFakeVim.setDisplayName(tr("Use Vim-style Editing")); + useFakeVim.setDisplayName(Tr::tr("Use Vim-style Editing")); - relativeNumber.setToolTip(tr("Displays line numbers relative to the line containing " + relativeNumber.setToolTip(Tr::tr("Displays line numbers relative to the line containing " "text cursor.")); - passControlKey.setToolTip(tr("Does not interpret key sequences like Ctrl-S in FakeVim " + passControlKey.setToolTip(Tr::tr("Does not interpret key sequences like Ctrl-S in FakeVim " "but handles them as regular shortcuts. This gives easier access to core functionality " "at the price of losing some features of FakeVim.")); - passKeys.setToolTip(tr("Does not interpret some key presses in insert mode so that " + passKeys.setToolTip(Tr::tr("Does not interpret some key presses in insert mode so that " "code can be properly completed and expanded.")); - tabStop.setToolTip(tr("Vim tabstop option.")); + tabStop.setToolTip(Tr::tr("Vim tabstop option.")); #ifndef FAKEVIM_STANDALONE backspace.setDisplayStyle(FvStringAspect::LineEditDisplay); @@ -130,9 +131,9 @@ FakeVimSettings::FakeVimSettings() const QString vimrcDefault = QLatin1String(HostOsInfo::isAnyUnixHost() ? "$HOME/.vimrc" : "%USERPROFILE%\\_vimrc"); vimRcPath.setExpectedKind(PathChooser::File); - vimRcPath.setToolTip(tr("Keep empty to use the default path, i.e. " + vimRcPath.setToolTip(Tr::tr("Keep empty to use the default path, i.e. " "%USERPROFILE%\\_vimrc on Windows, ~/.vimrc otherwise.")); - vimRcPath.setPlaceHolderText(tr("Default: %1").arg(vimrcDefault)); + vimRcPath.setPlaceHolderText(Tr::tr("Default: %1").arg(vimrcDefault)); vimRcPath.setDisplayStyle(FvStringAspect::PathChooserDisplay); #endif } @@ -148,10 +149,10 @@ QString FakeVimSettings::trySetValue(const QString &name, const QString &value) { FvBaseAspect *aspect = m_nameToAspect.value(name, nullptr); if (!aspect) - return tr("Unknown option: %1").arg(name); + return Tr::tr("Unknown option: %1").arg(name); if (aspect == &tabStop || aspect == &shiftWidth) { if (value.toInt() <= 0) - return tr("Argument must be positive: %1=%2") + return Tr::tr("Argument must be positive: %1=%2") .arg(name).arg(value); } aspect->setValue(value); diff --git a/src/plugins/fakevim/fakevimactions.h b/src/plugins/fakevim/fakevimactions.h index a959b284e6..6f7e303f0f 100644 --- a/src/plugins/fakevim/fakevimactions.h +++ b/src/plugins/fakevim/fakevimactions.h @@ -75,8 +75,6 @@ using FvStringAspect = Utils::StringAspect; class FakeVimSettings final : public FvAspectContainer { - Q_DECLARE_TR_FUNCTIONS(FakeVim) - public: FakeVimSettings(); ~FakeVimSettings(); -- cgit v1.2.3