diff --git a/share/qtcreator/translations/qtcreator_cs.ts b/share/qtcreator/translations/qtcreator_cs.ts index 2cbab15a01c..8ba3dd26030 100644 --- a/share/qtcreator/translations/qtcreator_cs.ts +++ b/share/qtcreator/translations/qtcreator_cs.ts @@ -14799,13 +14799,6 @@ Nepoužije se na mezeru v poznámkách a řetězcích. Project from Version Control Projekt ze systému na správu verzí - - - VcsBase::Internal::NickNameDialog - - Name - Jméno - E-mail E-mailová adresa @@ -14826,9 +14819,6 @@ Nepoužije se na mezeru v poznámkách a řetězcích. Nicknames Přezdívky - - - VcsBase::SubmitFileModel State Stav @@ -14837,24 +14827,10 @@ Nepoužije se na mezeru v poznámkách a řetězcích. File Soubor - - - VcsBase::VcsBaseEditor - - Annotate "%1" - Opatřit vysvětlivkami "%1" - - - Copy "%1" - Kopírovat "%1" - Describe change %1 Ukázat podrobnosti ke změně %1 - - - VcsBase::VcsBaseSubmitEditor Check message Ověřit popis @@ -14919,50 +14895,6 @@ Nepoužije se na mezeru v poznámkách a řetězcích. The check script returned exit code %1. Skript pro ověření byl ukončen. Vrácená hodnota %1. - - - VcsBaseSettingsPage - - Common - Společné - - - Wrap submit message at: - Zalomit popis předložení na: - - - An executable which is called with the submit message in a temporary file as first argument. It should return with an exit != 0 and a message on standard error to indicate failure. - Spustitelný soubor, který je zavolán s popisem předložení v dočasném souboru jako první argument příkazového řádku. Při neúspěchu by měl vrátit zpět hodnotu rozdílnou od nuly (!= 0) a odpovídající zprávu o obvyklé chybě kvůli poukázání na selhání. - - - Submit message check script: - Skript k ověření popisu předložení: - - - A file listing user names and email addresses in a 4-column mailmap format: -name <email> alias <email> - Soubor, který obsahuje jména uživatelů a e-mailové adresy ve čtyřsloupcovém formátu (mailmap): -Jméno <E-mail> Přezdívka <E-mail> - - - User/alias configuration file: - Soubor s nastavením uživatele/přezdívky: - - - A simple file containing lines with field names like "Reviewed-By:" which will be added below the submit editor. - Soubor, který obsahuje řádky s názvy polí (například "Reviewed-By:"), který bude bude přidán pod okno editoru předložení. - - - User fields configuration file: - Soubor s nastavením polí uživatele: - - - - VcsManager - - Version Control - Ověření verzí - Would you like to remove this file from the version control system (%1)? Note: This might remove the local file. @@ -16391,61 +16323,6 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás Smazat pozadí. - - VcsBase::BaseCheckoutWizardPage - - WizardPage - WizardPage - - - Checkout Directory: - Adresář pro přezkoušení (checkout; dostat kopii): - - - Repository - Skladiště - - - The remote repository to check out. - Vzdálené skladiště ke stažení. - - - Branch: - Větev: - - - The development branch in the remote repository to check out. - Vývojářská větev ve vzdáleném skladišti ke stažení. - - - Retrieve list of branches in repository. - Získat seznam větví ve skladišti. - - - ... - ... - - - Working Copy - Pracovní kopie - - - The path in which the directory containing the checkout will be created. - Cesta, ve které bude vytvořen adresář obsahující stažené. - - - Checkout path: - Cesta ke staženému: - - - The local directory that will contain the code after the checkout. - Místní adresář, který bude po stažení obsahovat kód. - - - Checkout directory: - Adresář se stažením: - - ::Welcome @@ -19040,7 +18917,7 @@ S60 emulator run configuration default display name, %1 is base pro-File name - VcsBase::BaseCheckoutWizard + ::VcsBase Cannot Open Project Chyba při otevírání projektu @@ -19065,9 +18942,6 @@ S60 emulator run configuration default display name, %1 is base pro-File nameUnable to open the project '%1'. Projekt '%1' se nepodařilo otevřít. - - - VcsBase::ProcessCheckoutJob Unable to start %1: %2 Nelze spustit %1: %2 @@ -19088,9 +18962,6 @@ S60 emulator run configuration default display name, %1 is base pro-File nameStopping... Zastavuje se... - - - VcsBase::Internal::CheckoutProgressWizardPage Checkout Příkaz checkout @@ -19111,9 +18982,6 @@ S60 emulator run configuration default display name, %1 is base pro-File nameSucceeded. Mělo úspěch. - - - VcsBase::VcsBaseOutputWindow Open "%1" Otevřít "%1" @@ -19122,10 +18990,6 @@ S60 emulator run configuration default display name, %1 is base pro-File nameClear Smazat - - Version Control - Správa verzí - Executing: %1 %2 Provádí se: %1 %2 @@ -20925,11 +20789,7 @@ a předpokladem je, že vzdálený spustitelný soubor bude v adresáři zmiňov - VcsBase::CleanDialog - - Clean Repository - Uklidit skladiště - + ::VcsBase The directory %1 could not be deleted. Adresář %1 se nepodařilo smazat. @@ -22658,7 +22518,7 @@ heslem, jež můžete zadat níže. - VCS + ::VcsBase CVS Commit Editor Editor odevzdání (commit) pro CVS @@ -26206,11 +26066,7 @@ Vybere pro napodobovatele a přenosné cíle vhodné verze Qt, jsou-li dostupné - VcsBase::VcsBasePlugin - - Version Control - Správa verzí - + ::VcsBase The file '%1' could not be deleted. Soubor '%1' se nepodařilo smazat. @@ -28994,7 +28850,7 @@ With cache simulation, further event counters are enabled: - VcsBase::VcsConfigurationPage + ::VcsBase Configure Nastavit @@ -38258,7 +38114,7 @@ Prověřte, prosím, oprávnění pro přístup k adresáři. - VcsBase::Internal::CommonSettingsWidget + ::VcsBase Command used for reverting diff chunks Příkaz používaný pro vrácení jednotlivých změn @@ -38267,9 +38123,6 @@ Prověřte, prosím, oprávnění pro přístup k adresáři. Command used for reverting diff chunks. Příkaz používaný pro vrácení jednotlivých změn. - - - VcsBase::VcsBaseClient Unable to start process '%1': %2 Proces '%1' nelze spustit: %2 @@ -38282,9 +38135,6 @@ Prověřte, prosím, oprávnění pro přístup k adresáři. Working... Pracuje... - - - VcsBase::VcsBaseEditorWidget Annotate "%1" Opatřit anotacemi "%1" @@ -38293,10 +38143,6 @@ Prověřte, prosím, oprávnění pro přístup k adresáři. Copy "%1" Kopírovat "%1" - - Describe change %1 - Ukázat podrobnosti ke změně %1 - Describe Change %1 Ukázat podrobnosti ke změně %1 @@ -38342,17 +38188,6 @@ Prověřte, prosím, oprávnění pro přístup k adresáři. Chcete použít tuto změnu? - - VcsBase::VcsJobRunner - - Unable to start process '%1': %2 - Proces '%1' nelze spustit: %2 - - - Timed out after %1s waiting for the process %2 to finish. - Překročení časového omezení %1s při čekání na ukončení %2. - - ::Welcome @@ -40063,7 +39898,7 @@ Filtr: %2 - VcsCommand + ::VcsBase '%1' failed (exit code %2). @@ -40080,9 +39915,6 @@ Filtr: %2 '%1' úspěšně proveden (vrácená hodnota %2). - - - VcsBase::Command Error: VCS timed out after %1s. Chyba: Překročení času u správy verzí po %1s. @@ -40091,10 +39923,6 @@ Filtr: %2 Unable to start process, binary is empty Nepodařilo se spustit proces, protože nebyl zadán žádný spustitelný soubor - - Error: Executable timed out after %1s. - Chyba: Překročení času po %1s. - Utils::SshKeyCreationDialog @@ -42633,7 +42461,7 @@ Určuje chování odsazení se zřetelem k navazujícím řádkům. - VcsBase::Internal::BaseCheckoutWizardPage + ::VcsBase WizardPage WizardPage @@ -42690,9 +42518,6 @@ Určuje chování odsazení se zřetelem k navazujícím řádkům. Directory: Adresář: - - - VcsBase::Internal::CleanDialog Clean Repository Uklidit skladiště @@ -42701,9 +42526,6 @@ Určuje chování odsazení se zřetelem k navazujícím řádkům. Select All Vybrat vše - - - VcsBase::Internal::CommonSettingsPage Wrap submit message at: Zalomit popis revize na: @@ -42765,13 +42587,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Jméno <E-mail> alias <E-mail>. - - VcsBase::Internal::VcsConfigurationPage - - Configure... - Nastavení... - - develop @@ -46095,7 +45910,7 @@ Je zapotřebí mít nějakou verzi Qt a sadu nástrojů, aby modely kódu C++ a - VcsBase::Internal::UrlTextCursorHandler + ::VcsBase Open URL in browser... Otevřít adresu (URL) v prohlížeči... @@ -46112,9 +45927,6 @@ Je zapotřebí mít nějakou verzi Qt a sadu nástrojů, aby modely kódu C++ a Copy URL Location Kopírovat umístění adresy (URL) - - - VcsBase::Internal::EmailTextCursorHandler Send email to... Poslat e-mail... @@ -50165,7 +49977,7 @@ nelze najít v cestě. - VcsBase::SubmitEditorWidget + ::VcsBase Subversion Submit Odeslání Subversion @@ -57383,7 +57195,7 @@ Tento průvodce vás provede základními kroky, které jsou nutné pro nasazen - VcsBase::Internal::VcsPlugin + ::VcsBase Name of the version control system in use by the current project. Název verzovacího systému používaného nynějším projektem. diff --git a/share/qtcreator/translations/qtcreator_da.ts b/share/qtcreator/translations/qtcreator_da.ts index a2938b4ad8a..35c86e3268c 100644 --- a/share/qtcreator/translations/qtcreator_da.ts +++ b/share/qtcreator/translations/qtcreator_da.ts @@ -37509,7 +37509,7 @@ Put dens navn på en linje for sig selv, for at rydde en variabel. - VCS + ::VcsBase Bazaar Commit Log Editor Bazaar commit-log-redigering @@ -38564,9 +38564,6 @@ Med mellemlager-simulation aktiveres begivenhedstællere: General Generelt - - - VcsBase::CleanDialog The directory %1 could not be deleted. Mappen %1 kunne ikke slettes. @@ -38613,20 +38610,10 @@ Med mellemlager-simulation aktiveres begivenhedstællere: Cleaning "%1" Renser "%1" - - - VcsBase::Internal::CleanDialog Clean Repository Rens repository - - Select All - Markér alt - - - - VcsBase::Internal::CommonSettingsPage Wrap submit message at: Ombryd submit-meddelelse ved: @@ -38679,9 +38666,6 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o Reset VCS Cache Nulstil VCS-mellemlager - - - VcsBase::Internal::EmailTextCursorHandler Send Email To... Send e-mail til... @@ -38690,17 +38674,10 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o Copy Email Address Kopiér e-mailadresse - - - VcsBase::Internal::NickNameDialog Nicknames Kaldenavne - - Name - Navn - Email E-mail @@ -38713,9 +38690,6 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o Alias email Alias e-mail - - - VcsBase::Internal::UrlTextCursorHandler Open URL in Browser... Åbn URL i browser... @@ -38724,9 +38698,6 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o Copy URL Location Kopiér URL-adresse - - - VcsBase::Internal::VcsCommandPage "data" is no JSON object in "VcsCommand" page. "data" har intet JSON-objekt på "VcsCommand"-side. @@ -38759,9 +38730,6 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o Checkout Checkout - - - VcsBase::Internal::VcsPlugin Name of the version control system in use by the current project. Navn på versionsstyringssystemet i brug af det aktuelle projekt. @@ -38774,9 +38742,6 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o The top level path to the repository the current project is in. Top-niveau stien til repository'et det akuelt brugte projekt. - - - VcsBase::SubmitEditorWidget Subversion Submit Subversion submit @@ -38814,9 +38779,6 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o Uncheck all for submit Fravælg alle - - - VcsBase::SubmitFileModel State Tilstand @@ -38825,23 +38787,14 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o File Fil - - - VcsBase::VcsBaseClientImpl Working... Arbejder... - - - VcsBase::VcsBaseDiffEditorController Processing diff Behandler diff - - - VcsBase::VcsBaseEditorWidget &Describe Change %1 &Beskriv ændring %1 @@ -38886,9 +38839,6 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o Would you like to apply the chunk? Vil du anvende bidden? - - - VcsBase::VcsBasePlugin commit name of "commit" action of the VCS. @@ -38898,10 +38848,6 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o Save before %1? Gem inden %1? - - Version Control - Versionsstyring - The file "%1" could not be deleted. Filen "%1" kunne ikke slettes. @@ -38934,9 +38880,6 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o A version control repository could not be created in %1. Et versionsstyringsrepository kunne ikke oprettes i %1. - - - VcsBase::VcsBaseSubmitEditor Check Message Tjekmeddelelse @@ -38977,9 +38920,6 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o The check script returned exit code %1. Tjek-scriptet returnerede afslutningskode %1. - - - VcsBase::VcsCommandPage "%1" (%2) not found. "%1" (%2) ikke fundet. @@ -39000,9 +38940,6 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o "%1" (%2) does not exist. "%1" (%2) findes ikke. - - - VcsBase::VcsConfigurationPage Configuration Konfiguration @@ -39025,9 +38962,6 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o No known version control selected. Ingen kendt versionsstyring valgt. - - - VcsBase::VcsOutputWindow Open "%1" Åbn "%1" @@ -39036,10 +38970,6 @@ skal være et repository krævet SSH-autentifikation (se dokumentation på SSH o Clear Ryd - - Version Control - Versionsstyring - Running: %1 %2 Kører: %1 %2 diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts index 543e80a1f26..1ad645c7267 100644 --- a/share/qtcreator/translations/qtcreator_de.ts +++ b/share/qtcreator/translations/qtcreator_de.ts @@ -12376,9 +12376,6 @@ Werte kleiner als 100% können überlappende und falsch ausgerichtete Darstellun General Allgemein - - - VcsBase::Internal::NickNameDialog Name Name @@ -12395,9 +12392,6 @@ Werte kleiner als 100% können überlappende und falsch ausgerichtete Darstellun Alias Alias - - - VcsBase::SubmitFileModel State Status @@ -12406,9 +12400,6 @@ Werte kleiner als 100% können überlappende und falsch ausgerichtete Darstellun File Datei - - - VcsBase::VcsBaseSubmitEditor Check Message Beschreibung prüfen @@ -13214,7 +13205,7 @@ Was möchten Sie tun? - VCS + ::VcsBase CVS Commit Editor CVS Commit-Editor @@ -14700,7 +14691,7 @@ Locked components cannot be modified or selected. - VcsBase::CleanDialog + ::VcsBase The directory %1 could not be deleted. Das Verzeichnis %1 konnte nicht gelöscht werden. @@ -14717,18 +14708,10 @@ Locked components cannot be modified or selected. Clean Repository Repository bereinigen - - Select All - - Delete... Löschen... - - Name - Name - Repository: %1 Repository: %1 @@ -17369,7 +17352,7 @@ Aktivieren Sie dies, wenn Sie 32bit-x86-Binärdateien erstellen wollen, ohne ein - VcsBase::VcsBaseEditorWidget + ::VcsBase Annotate "%1" Annotation für "%1" @@ -19135,7 +19118,7 @@ Speichern fehlgeschlagen. - VcsBase::VcsConfigurationPage + ::VcsBase Configuration Konfiguration @@ -24621,7 +24604,7 @@ the manifest file by overriding your settings. Allow override? - VcsBase::Internal::UrlTextCursorHandler + ::VcsBase Open URL in Browser... URL in Browser öffnen... @@ -24630,9 +24613,6 @@ the manifest file by overriding your settings. Allow override? Copy URL Location URL kopieren - - - VcsBase::Internal::EmailTextCursorHandler Send Email To... Sende E-Mail an... @@ -25962,7 +25942,7 @@ wirklich löschen? - VcsBase::SubmitEditorWidget + ::VcsBase Subversion Submit Subversion Submit @@ -30812,7 +30792,7 @@ Möchten Sie es beenden? - VcsBase::Internal::VcsPlugin + ::VcsBase Name of the version control system in use by the current project. Name des im aktuellen Projekt verwendeten Versionskontrollsystems. @@ -34274,7 +34254,7 @@ Benutzen Sie dies nur für Prototypen. Sie können damit keine vollständige Anw - VcsBase::VcsOutputWindow + ::VcsBase Open "%1" "%1" öffnen @@ -34283,10 +34263,6 @@ Benutzen Sie dies nur für Prototypen. Sie können damit keine vollständige Anw Clear Löschen - - Version Control - Versionskontrolle - Running: %1 Führe aus: %1 @@ -35957,7 +35933,7 @@ Error: - VcsBase::VcsBaseClientImpl + ::VcsBase Failed to retrieve data. Es konnten keine Daten empfangen werden. @@ -35966,9 +35942,6 @@ Error: Working... Arbeite... - - - VcsBase::Internal::VcsCommandPage "data" is no JSON object in "VcsCommand" page. "data" ist kein JSON-Objekt auf der "VcsCommand"-Seite. @@ -36017,9 +35990,6 @@ Error: Failed. Fehlgeschlagen. - - - VcsBase::VcsCommandPage "%1" (%2) not found. "%1" (%2) nicht gefunden. @@ -40896,7 +40866,7 @@ Außer Leerzeichen innerhalb von Kommentaren und Zeichenketten. - VcsBase::VcsBaseDiffEditorController + ::VcsBase Processing diff Verarbeite Unterschiede @@ -42206,7 +42176,7 @@ Was soll %1 tun? - VcsBase::VcsSubmitEditorFactory + ::VcsBase &Undo &Rückgängig @@ -46016,14 +45986,11 @@ Do you want to display them anyway? - VcsBase::VcsBaseEditorConfig + ::VcsBase Reload Neu laden - - - VcsBase::VcsBasePluginPrivate Commit name of "commit" action of the VCS. @@ -46033,10 +46000,6 @@ Do you want to display them anyway? Save before %1? Vor dem %1 speichern? - - Version Control - Versionskontrolle - The file "%1" could not be deleted. Die Datei "%1" konnte nicht gelöscht werden. @@ -56090,7 +56053,7 @@ Failed to open file "%1" - VcsBase::Internal::CommonVcsSettings + ::VcsBase User/&alias configuration file: Nutzer/&Alias-Konfigurationsdatei: @@ -56143,9 +56106,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Reset information about which version control system handles which directory. Die Zuordnung, welches Versionsverwaltungssystem welches Verzeichnis behandelt, zurücksetzen. - - - VcsBase::VcsBaseSettings Log count: Log-Anzeige beschränken auf: @@ -56162,16 +56122,10 @@ should a repository require SSH-authentication (see documentation on SSH and the s s - - - VcsBase::VcsCommand UNKNOWN UNBEKANNT - - - VcsBase::VcsOutputLineParser &Open "%1" diff --git a/share/qtcreator/translations/qtcreator_es.ts b/share/qtcreator/translations/qtcreator_es.ts index 89779ab97e3..4030a0f7dfb 100644 --- a/share/qtcreator/translations/qtcreator_es.ts +++ b/share/qtcreator/translations/qtcreator_es.ts @@ -10395,9 +10395,6 @@ The following encodings are likely to fit: Common Común - - - VcsBase::Internal::NickNameDialog Name Nombre @@ -10418,9 +10415,6 @@ The following encodings are likely to fit: Cannot open '%1': %2 No se pudo abrir '%1': %2 - - - VcsBase::SubmitFileModel State Estado @@ -10429,16 +10423,10 @@ The following encodings are likely to fit: File Archivo - - - VcsBase::VcsBaseEditor Describe change %1 Describa modificaciones %1 - - - VcsBase::VcsBaseSubmitEditor Check message Mensaje para la revisión @@ -10471,17 +10459,10 @@ The following encodings are likely to fit: The check script returned exit code %1. El script de comprobación retornó el valor %1. - - - VcsBaseSettingsPage Prompt to submit Preguntar antes de enviar - - Common - Común - Wrap submit message at: @@ -10519,13 +10500,6 @@ nombre <email> alias <email> User fields configuration file: Archivo de configuración de campos de usuario: - - - VcsManager - - Version Control - Control de versiones - Would you like to remove this file from the version control system (%1)? Note: This might remove the local file. @@ -11478,7 +11452,7 @@ p, li { white-space: pre-wrap; } - VcsBase::BaseCheckoutWizardPage + ::VcsBase WizardPage @@ -12716,7 +12690,7 @@ Check if the phone is connected and the TRK application is running. - VcsBase::BaseCheckoutWizard + ::VcsBase Cannot Open Project @@ -12741,9 +12715,6 @@ Check if the phone is connected and the TRK application is running. Unable to open the project '%1'. - - - VcsBase::ProcessCheckoutJob The process terminated with exit code %1. @@ -12760,9 +12731,6 @@ Check if the phone is connected and the TRK application is running. Stopping... - - - VcsBase::Internal::CheckoutProgressWizardPage Checkout started... @@ -12775,9 +12743,6 @@ Check if the phone is connected and the TRK application is running. Succeeded. - - - VcsBase::VcsBaseOutputWindow Clear Limpiar diff --git a/share/qtcreator/translations/qtcreator_fr.ts b/share/qtcreator/translations/qtcreator_fr.ts index 21538ddfad4..393126d4f26 100644 --- a/share/qtcreator/translations/qtcreator_fr.ts +++ b/share/qtcreator/translations/qtcreator_fr.ts @@ -15126,9 +15126,6 @@ Ne sera pas appliquée aux espaces dans les commentaires et les chaînes.Project from Version Control Projet d'un gestionnaire de versions - - - VcsBase::Internal::NickNameDialog Name Nom @@ -15154,9 +15151,6 @@ Ne sera pas appliquée aux espaces dans les commentaires et les chaînes.Nicknames Surnoms - - - VcsBase::SubmitFileModel State État @@ -15165,32 +15159,6 @@ Ne sera pas appliquée aux espaces dans les commentaires et les chaînes.File Fichier - - - VcsBase::VcsBaseEditor - - Annotate "%1" - Annoter "%1" - - - Copy "%1" - Copier "%1" - - - Describe change %1 - Decrivez le changement %1 - - - - VcsBase::VcsBaseSubmitEditor - - Check message - Contrôle du message - - - Insert name... - Inserez le nom... - Prompt to submit Invite lors du submit @@ -15247,50 +15215,6 @@ Ne sera pas appliquée aux espaces dans les commentaires et les chaînes.The check script returned exit code %1. Le script de vérification a retourné le code %1. - - - VcsBaseSettingsPage - - Common - Commun - - - Wrap submit message at: - Limiter la largeur du message à : - - - An executable which is called with the submit message in a temporary file as first argument. It should return with an exit != 0 and a message on standard error to indicate failure. - Un fichier exécutable qui est appelé avec comme premier argument le message dans un fichier temporaire. Pour indiquer une erreur, il doit se terminer avec un code != 0 et un message sur la sortie d'erreur standard. - - - Submit message check script: - Script de vérification du message : - - - A file listing user names and email addresses in a 4-column mailmap format: -name <email> alias <email> - Un fichier listant les noms d'utilisateur et leur adresse email dans le format 4 colonnes de mailmap : -nom <email> alias <email> - - - User/alias configuration file: - Fichier de configuration des alias utilisateur : - - - A simple file containing lines with field names like "Reviewed-By:" which will be added below the submit editor. - Un fichier texte contenant des lignes telles que "Reviewed-By:", qui seront ajoutées à la fin dans l'éditeur de message. - - - User fields configuration file: - Fichier de configuration des champs utilisateurs : - - - - VcsManager - - Version Control - Gestion de versions - Would you like to remove this file from the version control system (%1)? Note: This might remove the local file. @@ -16359,71 +16283,6 @@ p, li { white-space: pre-wrap; } Effacer le premier plan - - VcsBase::BaseCheckoutWizardPage - - WizardPage - WizardPage - - - Checkout Directory: - checkout should stay in English? - Répertoire d'import : - - - Path: - Chemin : - - - Repository - Dépôt - - - The remote repository to check out. - check out ? - Le dépôt distant à importer. - - - Branch: - Branche : - - - The development branch in the remote repository to check out. - La branche de développement du dépôt distant à importer. - - - Retrieve list of branches in repository. - Récupérer la liste des branches du dépôt. - - - ... - ... - - - Working Copy - Copie de travail - - - The path in which the directory containing the checkout will be created. - Le chemin dans lequel le répertoire contenant l'import sera effectué. - - - Checkout Path: - Chemin d'import : - - - The local directory that will contain the code after the checkout. - Le répertoire local qui contiendra le code après l'importation. - - - Checkout path: - Chemin d'import : - - - Checkout directory: - Répertoire d'import : - - ::Welcome @@ -18084,7 +17943,7 @@ S60 emulator run configuration default display name, %1 is base pro-File name - VcsBase::BaseCheckoutWizard + ::VcsBase Cannot Open Project Impossible d'ouvrir le projet @@ -18109,9 +17968,6 @@ S60 emulator run configuration default display name, %1 is base pro-File nameUnable to open the project '%1'. Impossible d'ouvrir le projet "%1". - - - VcsBase::ProcessCheckoutJob Unable to start %1: %2 Impossible de démarrer "%1" : %2 @@ -18132,9 +17988,6 @@ S60 emulator run configuration default display name, %1 is base pro-File nameStopping... Arrêt... - - - VcsBase::Internal::CheckoutProgressWizardPage Checkout Import @@ -18155,9 +18008,6 @@ S60 emulator run configuration default display name, %1 is base pro-File nameSucceeded. Réussi. - - - VcsBase::VcsBaseOutputWindow Open "%1" Ouvrir "%1" @@ -18166,10 +18016,6 @@ S60 emulator run configuration default display name, %1 is base pro-File nameClear Effacer - - Version Control - Gestion de versions - Executing: %1 %2 Exécution de : %1 %2 @@ -20106,11 +19952,7 @@ Vous pouvez choisir entre mettre les changements dans une remise ou de les aband - VcsBase::CleanDialog - - Clean Repository - Nettoyer le dépôt - + ::VcsBase The directory %1 could not be deleted. Le répertoire %1 ne peut pas être supprimer. @@ -20127,10 +19969,6 @@ Vous pouvez choisir entre mettre les changements dans une remise ou de les aband Delete... Supprimer… - - Name - Nom - Repository: %1 Dépôt : %1 @@ -21808,7 +21646,7 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus. - VCS + ::VcsBase CVS Commit Editor Éditeur de commit pour CVS @@ -25243,11 +25081,7 @@ Preselects Qt for Simulator and mobile targets if available - VcsBase::VcsBasePlugin - - Version Control - Gestion de versions - + ::VcsBase The file '%1' could not be deleted. Le fichier "%1' n"a pas pu être supprimé. @@ -32668,7 +32502,7 @@ Voys pouvez compiler l'application et la déployer sur desktop et mobile. P - VcsBase::VcsBaseClient + ::VcsBase Unable to start process '%1': %2 Impossible de démarrer le processus "%1" : %2 @@ -32681,9 +32515,6 @@ Voys pouvez compiler l'application et la déployer sur desktop et mobile. P Working... Travail en cours... - - - VcsBase::VcsBaseEditorWidget Annotate "%1" Annoter "%1" @@ -32692,10 +32523,6 @@ Voys pouvez compiler l'application et la déployer sur desktop et mobile. P Copy "%1" Copier "%1" - - Describe change %1 - Décrire le changement %1 - Describe Change %1 Décrivez le changement %1 @@ -32741,17 +32568,6 @@ Voys pouvez compiler l'application et la déployer sur desktop et mobile. P Souhaitez-vous appliquer le morceau ? - - VcsBase::VcsJobRunner - - Unable to start process '%1': %2 - Impossible de démarrer le processus "%1" : %2 - - - Timed out after %1s waiting for the process %2 to finish. - Après %1 secondes d'attente, le processus %2 a été terminé. - - SymbianUtils::VirtualSerialDevice @@ -33856,7 +33672,7 @@ Avec la simulation de cache, d'autres compteurs d'événements sont ac - VcsBase::VcsConfigurationPage + ::VcsBase Configure Configurer @@ -37215,7 +37031,7 @@ Remote error output was: %1 - VcsBase::Internal::CommonSettingsWidget + ::VcsBase Command used for reverting diff chunks ?? @@ -38671,7 +38487,7 @@ Filtre : %2 - VcsCommand + ::VcsBase '%1' failed (exit code %2). @@ -38688,9 +38504,6 @@ Filtre : %2 '%1' terminé (code de retour %2). - - - VcsBase::Command Error: VCS timed out after %1s. Erreur : le délai d'attente du serveur de contrôle de donnée a expiré après %1s. @@ -38699,10 +38512,6 @@ Filtre : %2 Unable to start process, binary is empty Impossible de démarrer le processus, le binaire est vide - - Error: Executable timed out after %1s. - Erreur : l'exécutable est arrivé à échéance après %1 s. - Analyzer::Internal::StartRemoteDialog @@ -39944,7 +39753,7 @@ Influence l'indentation des lignes de continuation. - VcsBase::Internal::BaseCheckoutWizardPage + ::VcsBase WizardPage WizardPage @@ -40001,9 +39810,6 @@ Influence l'indentation des lignes de continuation. Directory: Répertoire : - - - VcsBase::Internal::CleanDialog Clean Repository Nettoyer le dépôt @@ -40012,9 +39818,6 @@ Influence l'indentation des lignes de continuation. Select All Tout sélectionner - - - VcsBase::Internal::CommonSettingsPage Wrap submit message at: Limiter la largeur du message à : @@ -40070,13 +39873,6 @@ should a repository require SSH-authentication (see documentation on SSH and the si un dépôt requiert une authentification SSH (voir la documentation sur SSH et la variable d'environnement SSH_ASKPASS). - - VcsBase::Internal::VcsConfigurationPage - - Configure... - Configurer... - - examples @@ -41674,7 +41470,7 @@ Les modèles de code C++ et QML ont besoin d'une version de Qt et d'un - VcsBase::Internal::UrlTextCursorHandler + ::VcsBase Open URL in browser... Ouvrir l'URL dans le navigateur... @@ -41691,9 +41487,6 @@ Les modèles de code C++ et QML ont besoin d'une version de Qt et d'un Copy URL Location Copier l'URL - - - VcsBase::Internal::EmailTextCursorHandler Send email to... Envoyer un email à... @@ -47671,7 +47464,7 @@ Les noms partiels peuvent êtres utilisé s'ils ne sont pas ambigües. - VcsBase::SubmitEditorWidget + ::VcsBase Subversion Submit Soumission Subversion diff --git a/share/qtcreator/translations/qtcreator_hr.ts b/share/qtcreator/translations/qtcreator_hr.ts index 4309fc8075d..fdc5b41a3d6 100644 --- a/share/qtcreator/translations/qtcreator_hr.ts +++ b/share/qtcreator/translations/qtcreator_hr.ts @@ -8797,18 +8797,11 @@ With cache simulation, further event counters are enabled: - VcsBase::Internal::CleanDialog + ::VcsBase Clean Repository Počisti spremište - - Select All - Odaberi sve - - - - VcsBase::Internal::CommonSettingsPage Wrap submit message at: Prelomi poruku pri: @@ -8860,17 +8853,10 @@ should a repository require SSH-authentication (see documentation on SSH and the Reset VCS Cache Resetiraj VCS privremenu memoriju - - - VcsBase::Internal::NickNameDialog Nicknames Nadimci - - Name - Ime - Email E-pošta: @@ -8883,9 +8869,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Alias email E-pošta aliasa - - - VcsBase::SubmitEditorWidget Subversion Submit Slanje podverzije @@ -15237,7 +15220,7 @@ Check the test environment. - VCS + ::VcsBase Bazaar Commit Log Editor @@ -36541,7 +36524,7 @@ When a problem is detected, the application is interrupted and can be debugged.< - VcsBase::VcsSubmitEditorFactory + ::VcsBase &Undo &Poništi @@ -36554,9 +36537,6 @@ When a problem is detected, the application is interrupted and can be debugged.< Diff &Selected Files Razlike između &odabranih datoteka - - - VcsBase::CleanDialog The directory %1 could not be deleted. Nije bilo moguće ukloniti direktorij %1. @@ -36605,9 +36585,6 @@ When a problem is detected, the application is interrupted and can be debugged.< Cleaning "%1" Čišćenje "%1" - - - VcsBase::SubmitFileModel State Stanje @@ -36616,34 +36593,18 @@ When a problem is detected, the application is interrupted and can be debugged.< File Datoteka - - - VcsBase::VcsBaseClientImpl Working... Obrađuje se … - - - ::VcsBase General Opće - - Version Control - Kontrola verzija - - - - VcsBase::VcsBaseDiffEditorController Processing diff Obrađivanje razlika - - - VcsBase::VcsBaseEditorWidget &Describe Change %1 &Opiši promjenu %1 @@ -36688,9 +36649,6 @@ When a problem is detected, the application is interrupted and can be debugged.< Would you like to apply the chunk? Želiš li primijeniti komad? - - - VcsBase::Internal::UrlTextCursorHandler Open URL in Browser... Otvori URL u pregledniku … @@ -36699,9 +36657,6 @@ When a problem is detected, the application is interrupted and can be debugged.< Copy URL Location Kopiraj URL lokaciju - - - VcsBase::Internal::EmailTextCursorHandler Send Email To... Pošalji e-poštu … @@ -36710,9 +36665,6 @@ When a problem is detected, the application is interrupted and can be debugged.< Copy Email Address Kopiraj e-adresu - - - VcsBase::VcsBasePlugin Commit name of "commit" action of the VCS. @@ -36722,10 +36674,6 @@ When a problem is detected, the application is interrupted and can be debugged.< Save before %1? - - Version Control - - The file "%1" could not be deleted. @@ -36758,9 +36706,6 @@ When a problem is detected, the application is interrupted and can be debugged.< A version control repository could not be created in %1. - - - VcsBase::VcsBaseSubmitEditor Check Message @@ -36823,9 +36768,6 @@ What do you want to do? The check script returned exit code %1. - - - VcsBase::VcsOutputWindow Open "%1" Otvori "%1" @@ -36846,9 +36788,6 @@ What do you want to do? Running in %1: %2 %3 Radi u %1: %2 %3 - - - VcsBase::Internal::VcsPlugin Name of the version control system in use by the current project. Naziv korištenog sustava kontrole verzija u ovom projektu. @@ -36861,9 +36800,6 @@ What do you want to do? The top level path to the repository the current project is in. Staza najviše razine do spremišta u kojem se nalazi trenutačni projekt. - - - VcsBase::Internal::VcsCommandPage "data" is no JSON object in "VcsCommand" page. @@ -36896,9 +36832,6 @@ What do you want to do? Checkout - - - VcsBase::VcsCommandPage "%1" (%2) not found. "%1" (%2) nije nađena. @@ -36919,9 +36852,6 @@ What do you want to do? "%1" (%2) does not exist. "%1" (%2) ne postoji. - - - VcsBase::VcsConfigurationPage Configuration Konfiguracija diff --git a/share/qtcreator/translations/qtcreator_hu.ts b/share/qtcreator/translations/qtcreator_hu.ts index 03aee2ac615..6151a2141b4 100644 --- a/share/qtcreator/translations/qtcreator_hu.ts +++ b/share/qtcreator/translations/qtcreator_hu.ts @@ -17399,9 +17399,6 @@ A következő kódolás valószínűleg erre illik: Common Közös - - - VcsBase::0 State Státusz @@ -17442,9 +17439,6 @@ A következő kódolás valószínűleg erre illik: The check script returned exit code %1. Das Skript zur Überprüfung wurde beendet, Rückgabewert %1. - - - VcsBase::BaseCheckoutWizard Cannot Open Project Nem lehet megnyitni a Projektet @@ -17469,9 +17463,6 @@ A következő kódolás valószínűleg erre illik: Unable to open the project '%1'. Nem lehet megnyitni a(z) '%1' projektet. - - - VcsBase::BaseCheckoutWizardPage WizardPage Varázsló lap @@ -17484,9 +17475,6 @@ A következő kódolás valószínűleg erre illik: Path: Útvonal: - - - VcsBase::Internal::0 Name Név @@ -17507,9 +17495,6 @@ A következő kódolás valószínűleg erre illik: Cannot open '%1': %2 Nem sikerült megnyitni '%1': %2 - - - VcsBase::Internal::CheckoutProgressWizardPage Checkout started... Megnézés elindítva... @@ -17522,9 +17507,6 @@ A következő kódolás valószínűleg erre illik: Succeeded. Sikerült. - - - VcsBase::Internal::NickNameDialog Name Név @@ -17545,9 +17527,6 @@ A következő kódolás valószínűleg erre illik: Cannot open '%1': %2 Nem sikerült megnyitni '%1': %2 - - - VcsBase::ProcessCheckoutJob Unable to start %1: %2 Nem lehet elindítani a(z) %1-t: %2 @@ -17568,9 +17547,6 @@ A következő kódolás valószínűleg erre illik: Stopping... Leállítás... - - - VcsBase::SubmitFileModel State Státusz @@ -17579,27 +17555,14 @@ A következő kódolás valószínűleg erre illik: File Fájl - - - VcsBase::VcsBaseEditor Describe change %1 %1 változtatás leírása - - - VcsBase::VcsBaseOutputWindow Clear Kiürítés - - Version Control - Verzió követő - - - - VcsBase::VcsBaseSubmitEditor Check message Üzenet ellenőrzése @@ -17632,13 +17595,6 @@ A következő kódolás valószínűleg erre illik: The check script returned exit code %1. Das Skript zur Überprüfung wurde beendet, Rückgabewert %1. - - - VcsBaseSettingsPage - - Common - Közös - Wrap submit message at: Feltöltési üzenet megtördelése: @@ -17669,13 +17625,6 @@ név <email> álnév <email> User fields configuration file: Felhasználói mező konfigurációs fájl: - - - VcsManager - - Version Control - Verzió követő - Would you like to remove this file from the version control system (%1)? Note: This might remove the local file. diff --git a/share/qtcreator/translations/qtcreator_it.ts b/share/qtcreator/translations/qtcreator_it.ts index e5e2e4e6e22..5d1370716dd 100644 --- a/share/qtcreator/translations/qtcreator_it.ts +++ b/share/qtcreator/translations/qtcreator_it.ts @@ -10272,9 +10272,6 @@ Queste codifiche dovrebbero andare bene: Common Comune - - - VcsBase::Internal::NickNameDialog Name Nome @@ -10295,9 +10292,6 @@ Queste codifiche dovrebbero andare bene: Cannot open '%1': %2 Impossibile aprire '%1': %2 - - - VcsBase::SubmitFileModel State Stato @@ -10306,16 +10300,10 @@ Queste codifiche dovrebbero andare bene: File File - - - VcsBase::VcsBaseEditor Describe change %1 Descrivi la modifica %1 - - - VcsBase::VcsBaseSubmitEditor Check message Controlla il messaggio @@ -10348,17 +10336,10 @@ Queste codifiche dovrebbero andare bene: The check script returned exit code %1. Lo script di verifica è uscito con il codice %1. - - - VcsBaseSettingsPage Prompt to submit Prompt del submit - - Common - Comune - Wrap submit message at: @@ -10396,13 +10377,6 @@ nome <email> alias <email> User fields configuration file: File di configurazione dei campi utente: - - - VcsManager - - Version Control - Controllo di Revisione - Would you like to remove this file from the version control system (%1)? Note: This might remove the local file. @@ -11308,7 +11282,7 @@ p, li { white-space: pre-wrap; } - VcsBase::BaseCheckoutWizardPage + ::VcsBase WizardPage @@ -12472,7 +12446,7 @@ Check if the phone is connected and the TRK application is running. - VcsBase::BaseCheckoutWizard + ::VcsBase Cannot Open Project @@ -12497,9 +12471,6 @@ Check if the phone is connected and the TRK application is running. Unable to open the project '%1'. - - - VcsBase::ProcessCheckoutJob The process terminated with exit code %1. Il processo è terminato con il codice di uscita %1. @@ -12516,9 +12487,6 @@ Check if the phone is connected and the TRK application is running. Stopping... - - - VcsBase::Internal::CheckoutProgressWizardPage Checkout started... @@ -12531,9 +12499,6 @@ Check if the phone is connected and the TRK application is running. Succeeded. - - - VcsBase::VcsBaseOutputWindow Clear Cancella diff --git a/share/qtcreator/translations/qtcreator_ja.ts b/share/qtcreator/translations/qtcreator_ja.ts index cac10f8aa32..1c84aa50809 100644 --- a/share/qtcreator/translations/qtcreator_ja.ts +++ b/share/qtcreator/translations/qtcreator_ja.ts @@ -7020,18 +7020,11 @@ With cache simulation, further event counters are enabled: - VcsBase::Internal::CleanDialog + ::VcsBase Clean Repository リポジトリをクリーン - - Select All - すべてを選択 - - - - VcsBase::Internal::CommonSettingsPage Wrap submit message at: コミット時のメッセージを折り返す: @@ -7084,9 +7077,6 @@ SSH 認証が必要とされるリポジトリで使用されます(SSH の SSH_ Reset VCS Cache バージョン管理システムキャッシュのリセット - - - VcsBase::Internal::NickNameDialog Nicknames ニックネーム @@ -7107,9 +7097,6 @@ SSH 認証が必要とされるリポジトリで使用されます(SSH の SSH_ Alias エイリアス - - - VcsBase::SubmitEditorWidget Subversion Submit Subversion コミット @@ -12193,7 +12180,7 @@ in the system's browser for manual download. - VCS + ::VcsBase Bazaar File Log Editor Bazaar ファイルログエディタ @@ -31208,7 +31195,7 @@ When a problem is detected, the application is interrupted and can be debugged.< - VcsBase::CleanDialog + ::VcsBase The directory %1 could not be deleted. ディレクトリ %1 を削除できませんでした。 @@ -31225,10 +31212,6 @@ When a problem is detected, the application is interrupted and can be debugged.< Delete... 削除... - - Name - 名前 - Repository: %1 リポジトリ: %1 @@ -31253,9 +31236,6 @@ When a problem is detected, the application is interrupted and can be debugged.< Cleaning "%1" "%1" をクリーニング中 - - - VcsBase::SubmitFileModel State 状態 @@ -31264,9 +31244,6 @@ When a problem is detected, the application is interrupted and can be debugged.< File ファイル - - - ::VcsBase Version Control バージョン管理システム @@ -31275,9 +31252,6 @@ When a problem is detected, the application is interrupted and can be debugged.< General 一般 - - - VcsBase::VcsBaseEditorWidget &Describe Change %1 変更 %1 の説明(&D) @@ -31322,9 +31296,6 @@ When a problem is detected, the application is interrupted and can be debugged.< Would you like to apply the chunk? チャンクを適用しますか? - - - VcsBase::Internal::UrlTextCursorHandler Open URL in Browser... ブラウザで URL を開く... @@ -31333,9 +31304,6 @@ When a problem is detected, the application is interrupted and can be debugged.< Copy URL Location URL をコピー - - - VcsBase::Internal::EmailTextCursorHandler Send Email To... メールを送信... @@ -31344,13 +31312,6 @@ When a problem is detected, the application is interrupted and can be debugged.< Copy Email Address メールアドレスをコピー - - - VcsBase::VcsBasePlugin - - Version Control - バージョン管理 - Choose Repository Directory リポジトリディレクトリを選択してください @@ -31383,9 +31344,6 @@ When a problem is detected, the application is interrupted and can be debugged.< A version control repository could not be created in %1. %1 にバージョン管理リポジトリを作成できませんでした。 - - - VcsBase::VcsBaseSubmitEditor Check Message メッセージをチェック @@ -31430,9 +31388,6 @@ When a problem is detected, the application is interrupted and can be debugged.< The check script returned exit code %1. チェックスクリプトの終了コードは %1 です。 - - - VcsBase::VcsConfigurationPage Configuration 設定 @@ -32745,7 +32700,7 @@ kill しますか? - VcsBase::Internal::VcsPlugin + ::VcsBase Name of the version control system in use by the current project. 現在のプロジェクトで使用するバージョン管理システムの名前です。 @@ -42012,14 +41967,11 @@ Android パッケージソースディレクトリのファイルはビルドデ - VcsBase::VcsBaseClientImpl + ::VcsBase Working... 作業中... - - - VcsBase::VcsOutputWindow Open "%1" "%1" を開く @@ -42028,10 +41980,6 @@ Android パッケージソースディレクトリのファイルはビルドデ Clear クリア - - Version Control - バージョン管理 - Executing: %1 %2 実行中: %1 %2 @@ -42040,9 +41988,6 @@ Android パッケージソースディレクトリのファイルはビルドデ Executing in %1: %2 %3 %1 で実行中: %2 %3 - - - VcsBase::Internal::VcsCommandPage "data" is no JSON object in "VcsCommand" page. "VcsCommand" ページの "data" は JSON オブジェクトである必要があります。 @@ -42075,9 +42020,6 @@ Android パッケージソースディレクトリのファイルはビルドデ Checkout チェックアウト - - - VcsBase::VcsCommandPage "%1" (%2) not found. %1(%2) が見つかりません。 @@ -49099,7 +49041,7 @@ Row: %4, Column: %5 - VcsBase::VcsSubmitEditorFactory + ::VcsBase &Undo 元に戻す(&U) @@ -49108,49 +49050,11 @@ Row: %4, Column: %5 &Redo やり直す(&R) - - - VcsBase::VcsBaseEditorConfig Reload 再読込 - - VcsBase::VcsBasePluginPrivate - - The file "%1" could not be deleted. - ファイル "%1" は削除できませんでした。 - - - Choose Repository Directory - リポジトリディレクトリを選択してください - - - The directory "%1" is already managed by a version control system (%2). Would you like to specify another directory? - ディレクトリ "%1" は既にバージョン管理システム (%2) によって管理されています。別のディレクトリを指定しますか? - - - Repository already under version control - リポジトリは既にバージョン管理されています - - - Repository Created - リポジトリを作成しました - - - A version control repository has been created in %1. - %1 にバージョン管理リポジトリを作成しました。 - - - Repository Creation Failed - リポジトリの作成に失敗しました - - - A version control repository could not be created in %1. - %1 にバージョン管理リポジトリを作成できませんでした。 - - ::Welcome diff --git a/share/qtcreator/translations/qtcreator_pl.ts b/share/qtcreator/translations/qtcreator_pl.ts index 63db34ffd76..ba269890a45 100644 --- a/share/qtcreator/translations/qtcreator_pl.ts +++ b/share/qtcreator/translations/qtcreator_pl.ts @@ -9500,11 +9500,7 @@ Nie zostanie zastosowane do białych znaków w komentarzach i ciągach znakowych - VcsBase::Internal::NickNameDialog - - Name - Imię - + ::VcsBase Email E-mail @@ -9521,9 +9517,6 @@ Nie zostanie zastosowane do białych znaków w komentarzach i ciągach znakowych Nicknames Przydomki - - - VcsBase::SubmitFileModel State Stan @@ -9532,9 +9525,6 @@ Nie zostanie zastosowane do białych znaków w komentarzach i ciągach znakowych File Plik - - - ::VcsBase Version Control System kontroli wersji @@ -9543,9 +9533,6 @@ Nie zostanie zastosowane do białych znaków w komentarzach i ciągach znakowych General Ogólne - - - VcsBase::VcsBaseSubmitEditor Prompt to submit Pytaj o potwierdzenie przed utworzeniem poprawki @@ -10191,7 +10178,7 @@ Możesz odłożyć zmiany lub je porzucić. - VcsBase::CleanDialog + ::VcsBase The directory %1 could not be deleted. Nie można usunąć katalogu "%1". @@ -10598,7 +10585,7 @@ Dla projektów CMake, upewnij się, że zmienna QML_IMPORT_PATH jest obecna w CM - VCS + ::VcsBase CVS Commit Editor Edytor poprawek CVS @@ -11665,11 +11652,7 @@ Dla projektów CMake, upewnij się, że zmienna QML_IMPORT_PATH jest obecna w CM - VcsBase::VcsBasePlugin - - Version Control - System kontroli wersji - + ::VcsBase Choose Repository Directory Wybierz katalog repozytorium @@ -15470,7 +15453,7 @@ Ponowić próbę? - VcsBase::VcsBaseEditorWidget + ::VcsBase Annotate "%1" Dołącz adnotację do "%1" @@ -16048,7 +16031,7 @@ With cache simulation, further event counters are enabled: - VcsBase::VcsConfigurationPage + ::VcsBase Configuration Konfiguracja @@ -19771,18 +19754,11 @@ Wpływa na wcięcia przeniesionych linii. - VcsBase::Internal::CleanDialog + ::VcsBase Clean Repository Wyczyść repozytorium - - Select All - Zaznacz wszystko - - - - VcsBase::Internal::CommonSettingsPage Wrap submit message at: Zawijaj opisy poprawek po: @@ -21749,7 +21725,7 @@ poinstruuje Qt Creatora o URI. - VcsBase::Internal::UrlTextCursorHandler + ::VcsBase Open URL in Browser... Otwórz URL w przeglądarce... @@ -21758,9 +21734,6 @@ poinstruuje Qt Creatora o URI. Copy URL Location Skopiuj położenie URL - - - VcsBase::Internal::EmailTextCursorHandler Send Email To... Wyślij e-mail do... @@ -23357,7 +23330,7 @@ Można używać nazw częściowych, jeśli są one unikalne. - VcsBase::SubmitEditorWidget + ::VcsBase Subversion Submit Utwórz poprawkę w Subversion @@ -27858,7 +27831,7 @@ Czy przerwać ją? - VcsBase::Internal::VcsPlugin + ::VcsBase Name of the version control system in use by the current project. Nazwa systemu kontroli wersji używana w bieżącym projekcie. @@ -31744,7 +31717,7 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan - VcsBase::VcsOutputWindow + ::VcsBase Open "%1" Otwórz "%1" @@ -31753,10 +31726,6 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan Clear Wyczyść - - Version Control - System kontroli wersji - Running: %1 %2 Uruchamianie: %1 %2 @@ -33459,14 +33428,11 @@ Ustawianie pułapek w liniach plików może się nie udać. - VcsBase::VcsBaseClientImpl + ::VcsBase Working... Przetwarzanie... - - - VcsBase::Internal::VcsCommandPage "data" is no JSON object in "VcsCommand" page. "data" nie jest obiektem JSON na stronie "VcsCommand". @@ -33499,9 +33465,6 @@ Ustawianie pułapek w liniach plików może się nie udać. Checkout Kopia robocza - - - VcsBase::VcsCommandPage "%1" (%2) not found. "%1" brak (%2). @@ -40680,7 +40643,7 @@ Błąd: %5 - VcsBase::VcsBaseDiffEditorControllerPrivate + ::VcsBase Processing diff Przetwarzanie różnic diff --git a/share/qtcreator/translations/qtcreator_ru.ts b/share/qtcreator/translations/qtcreator_ru.ts index 1980d578604..56b735bf3f2 100644 --- a/share/qtcreator/translations/qtcreator_ru.ts +++ b/share/qtcreator/translations/qtcreator_ru.ts @@ -47481,7 +47481,7 @@ To disable a variable, prefix the line with "#". - VCS + ::VcsBase CVS Commit Editor Редактор фиксаций CVS @@ -48546,9 +48546,6 @@ With cache simulation, further event counters are enabled: General Общее - - - VcsBase::CleanDialog The directory %1 could not be deleted. Невозможно удалить каталог %1. @@ -48597,20 +48594,10 @@ With cache simulation, further event counters are enabled: Cleaning "%1" Очистка «%1» - - - VcsBase::Internal::CleanDialog Clean Repository Очистить хранилище - - Select All - Выбрать все - - - - VcsBase::Internal::CommonSettingsPage Wrap submit message at: Ограничить длину строки до: @@ -48663,9 +48650,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Reset VCS Cache Сбросить кэш VCS - - - VcsBase::Internal::EmailTextCursorHandler Send Email To... Отправить письмо... @@ -48674,13 +48658,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Copy Email Address Скопировать почтовый адрес - - - VcsBase::Internal::NickNameDialog - - Name - Имя - Email Email @@ -48697,9 +48674,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Nicknames Ники - - - VcsBase::Internal::UrlTextCursorHandler Open URL in Browser... Открыть ссылку в браузере... @@ -48708,9 +48682,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Copy URL Location Скопировать адрес ссылки - - - VcsBase::Internal::VcsCommandPage "data" is no JSON object in "VcsCommand" page. «data» должна быть объектом JSON для страницы «VcsCommand». @@ -48743,9 +48714,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Checkout Извлечение - - - VcsBase::Internal::VcsPlugin Name of the version control system in use by the current project. Система контроля версий, используемая в данном проекте. @@ -48758,9 +48726,6 @@ should a repository require SSH-authentication (see documentation on SSH and the The top level path to the repository the current project is in. Путь верхнего уровня к хранилищу, в котором размещён текущий проект. - - - VcsBase::SubmitEditorWidget Subversion Submit Фиксация Subversion @@ -48811,9 +48776,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Select a&ll В&ыбрать все - - - VcsBase::SubmitFileModel State Состояние @@ -48822,30 +48784,18 @@ should a repository require SSH-authentication (see documentation on SSH and the File Файл - - - VcsBase::VcsBaseClientImpl Working... Выполнение... - - - VcsBase::VcsBaseDiffEditorController Processing diff Обработка отличий - - - VcsBase::VcsBaseEditorConfig Reload Перезагрузить - - - VcsBase::VcsBaseEditorWidget Annotate "%1" Аннотация «%1» @@ -48890,9 +48840,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Would you like to apply the chunk? Применить фрагмент? - - - VcsBase::VcsBasePluginPrivate Commit name of "commit" action of the VCS. @@ -48902,10 +48849,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Save before %1? Сохранить перед тем, как %1? - - Version Control - Контроль версий - The file "%1" could not be deleted. Не удалось удалить файл «%1». @@ -48938,9 +48881,6 @@ should a repository require SSH-authentication (see documentation on SSH and the A version control repository could not be created in %1. Не удалось создать хранилище контроля версий в %1. - - - VcsBase::VcsBaseSubmitEditor Check Message Проверить сообщение @@ -49005,9 +48945,6 @@ What do you want to do? The check script returned exit code %1. Скрипт проверки вернул код %1. - - - VcsBase::VcsCommandPage "%1" (%2) not found. «%1» (%2) не найден. @@ -49028,9 +48965,6 @@ What do you want to do? "%1" (%2) does not exist. «%1» (%2) не существует. - - - VcsBase::VcsConfigurationPage Configuration Настройка @@ -49053,16 +48987,10 @@ What do you want to do? No known version control selected. Ни одна известная система контроля версий не выбрана. - - - VcsBase::VcsOutputLineParser &Open "%1" &Открыть «%1» - - - VcsBase::VcsOutputWindow Open "%1" Открыть «%1» @@ -49071,10 +48999,6 @@ What do you want to do? Clear Очистить - - Version Control - Контроль версий - Running: %1 %2 Исполнение: %1 %2 @@ -49083,9 +49007,6 @@ What do you want to do? Running in %1: %2 %3 Исполнение в %1: %2 %3 - - - VcsBase::VcsSubmitEditorFactory &Undo &Отменить diff --git a/share/qtcreator/translations/qtcreator_sl.ts b/share/qtcreator/translations/qtcreator_sl.ts index af4f676144f..c656bcfa4d5 100644 --- a/share/qtcreator/translations/qtcreator_sl.ts +++ b/share/qtcreator/translations/qtcreator_sl.ts @@ -9957,9 +9957,6 @@ Naslednji nabori znakov so verjetno ustrezni: Project from Version Control Projekt iz sistema za nadzor različic - - - VcsBase::Internal::NickNameDialog Name Ime @@ -9980,9 +9977,6 @@ Naslednji nabori znakov so verjetno ustrezni: Cannot open '%1': %2 Ni moč odpreti »%1«: %2 - - - VcsBase::SubmitFileModel State Stanje @@ -9991,9 +9985,6 @@ Naslednji nabori znakov so verjetno ustrezni: File Datoteka - - - VcsBase::VcsBaseSubmitEditor Prompt to submit Vprašaj o pošiljanju @@ -11101,7 +11092,7 @@ Za uporabo v polje Iskalnika vtipkajte to bližnjico in presledek ter nato iskan - VcsBase::BaseCheckoutWizardPage + ::VcsBase WizardPage StranČarovnika @@ -12649,7 +12640,7 @@ Razlog: %2 - VcsBase::BaseCheckoutWizard + ::VcsBase Cannot Open Project Ni moč odpreti projekta @@ -12674,9 +12665,6 @@ Razlog: %2 Unable to open the project '%1'. Ni moč odpreti projekta »%1«. - - - VcsBase::ProcessCheckoutJob Unable to start %1: %2 Ni moč zagnati »%1«: %2 @@ -12697,9 +12685,6 @@ Razlog: %2 Stopping... Ustavljanje … - - - VcsBase::Internal::CheckoutProgressWizardPage Checkout Prevzem @@ -12716,9 +12701,6 @@ Razlog: %2 Succeeded. Uspeh. - - - VcsBase::VcsBaseOutputWindow Open "%1" Odpri »%1« @@ -12727,10 +12709,6 @@ Razlog: %2 Clear Počisti - - Version Control - Nadzor različic - Executing: %1 %2 @@ -13643,7 +13621,7 @@ Spremembe lahko zapišete na stran ali pa jih zavržete. - VcsBase::CleanDialog + ::VcsBase Clean Repository Počisti skladišče @@ -13664,10 +13642,6 @@ Spremembe lahko zapišete na stran ali pa jih zavržete. Delete... Izbriši … - - Name - Ime - Repository: %1 Skladišče: %1 @@ -14970,7 +14944,7 @@ Desetiška predznačena vrednost (najprej veliki konec): %4 - VCS + ::VcsBase CVS Commit Editor Urejevalnik zapisov za CVS @@ -16924,11 +16898,7 @@ Projekte programov QML izvede pregledovalnik QML in jih ni potrebno zgraditi. - VcsBase::VcsBasePlugin - - Version Control - Nadzor različic - + ::VcsBase The file '%1' could not be deleted. Datoteke »%1« ni bilo moč izbrisati. @@ -20382,7 +20352,7 @@ S simulacijo predpomnilnika so omogočeni dodatni števci dogodkov: - VcsBase::VcsConfigurationPage + ::VcsBase Configure Nastavi ... @@ -28433,21 +28403,15 @@ Preverite pravice za dostop do mape. - VcsBase::Internal::CommonSettingsWidget + ::VcsBase Command used for reverting diff chunks Ukaz za povračanje delčkov razlik - - - VcsBase::VcsBaseClient Working... Izvajanje ... - - - VcsBase::VcsBaseEditorWidget Annotate "%1" Dodaj opombo za »%1« @@ -28484,9 +28448,6 @@ Preverite pravice za dostop do mape. Would you like to revert the chunk? Ali želite povrniti delček? - - - VcsBase::VcsJobRunner Unable to start process '%1': %2 Procesa »%1« ni moč zagnati: %2 @@ -29360,26 +29321,7 @@ p, li { white-space: pre-wrap; } - VcsBase::VcsBaseEditor - - Annotate "%1" - Dodaj opombo za »%1« - - - Copy "%1" - Skopiraj »%1« - - - Describe change %1 - Opis spremembe %1 - - - - VcsManager - - Version Control - Nadzor različic - + ::VcsBase Would you like to remove this file from the version control system (%1)? Note: This might remove the local file. diff --git a/share/qtcreator/translations/qtcreator_uk.ts b/share/qtcreator/translations/qtcreator_uk.ts index 5af0c73a8e1..3e569406bc6 100644 --- a/share/qtcreator/translations/qtcreator_uk.ts +++ b/share/qtcreator/translations/qtcreator_uk.ts @@ -20994,7 +20994,7 @@ Will not be applied to whitespace in comments and strings. - VCS + ::VcsBase CVS Commit Editor @@ -21710,7 +21710,7 @@ With cache simulation, further event counters are enabled: - VcsCommand + ::VcsBase '%1' failed (exit code %2). @@ -22943,7 +22943,7 @@ Influences the indentation of continuation lines. - VcsBase::Internal::BaseCheckoutWizardPage + ::VcsBase WizardPage Сторінка майстра @@ -22976,20 +22976,10 @@ Influences the indentation of continuation lines. Directory: Тека: - - - VcsBase::Internal::CleanDialog Clean Repository Очистити сховище - - Select All - Виділити все - - - - VcsBase::Internal::CommonSettingsPage Wrap submit message at: @@ -23040,9 +23030,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Reset VCS Cache - - - VcsBase::Internal::NickNameDialog Nicknames Псевдоніми @@ -24304,7 +24291,7 @@ should a repository require SSH-authentication (see documentation on SSH and the - VcsBase::BaseCheckoutWizard + ::VcsBase Cannot Open Project Неможливо відкрити проект @@ -24325,9 +24312,6 @@ should a repository require SSH-authentication (see documentation on SSH and the '%1' does not exist. '%1' не існує. - - - VcsBase::ProcessCheckoutJob Unable to start %1: %2 Неможливо запустити %1: %2 @@ -24348,9 +24332,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Stopping... Зупиняється... - - - VcsBase::Internal::CheckoutProgressWizardPage Failed. Збій. @@ -24359,9 +24340,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Succeeded. Успішно. - - - VcsBase::CleanDialog The directory %1 could not be deleted. Не вдалось видалити теку %1. @@ -24378,10 +24356,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Delete... Видалити... - - Name - Назва - Repository: %1 Сховище: %1 @@ -24422,9 +24396,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Cleaning %1 Очищення %1 - - - VcsBase::Command Error: VCS timed out after %1s. Помилка: Час очікування VCS вичерпано після %1 с. @@ -24437,9 +24408,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Error: Executable timed out after %1s. Помилка: Час очікування на виконуваний модуль вичерпано після %1 с. - - - VcsBase::SubmitFileModel State Стан @@ -24448,9 +24416,6 @@ should a repository require SSH-authentication (see documentation on SSH and the File Файл - - - VcsBase::VcsBaseClient Unable to start process '%1': %2 Неможливо запустити процес '%1': %2 @@ -24463,13 +24428,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Timed out after %1s waiting for the process %2 to finish. Вичерпано час очікування (%1 с) завершення процесу %2. - - Working... - Виконання... - - - - ::VcsBase Version Control Контроль версій @@ -24478,9 +24436,6 @@ should a repository require SSH-authentication (see documentation on SSH and the General Загальне - - - VcsBase::VcsBaseEditorWidget &Describe Change %1 @@ -24533,36 +24488,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Would you like to apply the chunk? Бажаєте накласти частину латки? - - - VcsBase::VcsBaseOutputWindow - - Open "%1" - Відкрити "%1" - - - Clear - Очистити - - - Version Control - Контроль версій - - - Executing: %1 %2 - Виконання: %1 %2 - - - Executing in %1: %2 %3 - Виконання в %1: %2 %3 - - - - VcsBase::VcsBasePlugin - - Version Control - Контроль версій - Choose Repository Directory Оберіть теку сховища @@ -24599,9 +24524,6 @@ should a repository require SSH-authentication (see documentation on SSH and the '%1' crashed. '%1' завершився аварійно. - - - VcsBase::VcsBaseSubmitEditor Check Message @@ -24642,9 +24564,6 @@ should a repository require SSH-authentication (see documentation on SSH and the The check script returned exit code %1. - - - VcsBase::VcsConfigurationPage Configuration Конфігурація @@ -29215,7 +29134,7 @@ cannot be found in the path. - VcsBase::Internal::UrlTextCursorHandler + ::VcsBase Open URL in Browser... Відкрити URL переглядачі... @@ -29224,9 +29143,6 @@ cannot be found in the path. Copy URL Location Скопіювати адресу URL - - - VcsBase::Internal::EmailTextCursorHandler Send Email To... Надіслати лист до... @@ -29801,7 +29717,7 @@ cannot be found in the path. - VcsBase::SubmitEditorWidget + ::VcsBase Subversion Submit @@ -36657,7 +36573,7 @@ This wizard will guide you through the essential steps to deploy a ready-to-go d - VcsBase::Internal::VcsPlugin + ::VcsBase Name of the version control system in use by the current project. Назва системи контролю версії, що використовується в поточному проекті. @@ -38004,11 +37920,7 @@ Install an SDK of at least API version %1. - VcsBase::BaseCheckoutWizardFactory - - Cannot Open Project - Неможливо відкрити проект - + ::VcsBase Failed to open project in "%1". Збій відкриття проекту в "%1". @@ -40939,18 +40851,7 @@ The files in the Android package source directory are copied to the build direct - VcsBase::VcsCommand - - Unable to start process, binary is empty - Неможливо запустити процес, виконуваний файл порожній - - - Error: Executable timed out after %1s. - Помилка: Час очікування на виконуваний модуль вичерпано після %1 с. - - - - VcsBase::VcsOutputWindow + ::VcsBase Open "%1" Відкрити "%1" @@ -40959,10 +40860,6 @@ The files in the Android package source directory are copied to the build direct Clear Очистити - - Version Control - Контроль версій - Executing: %1 %2 Виконання: %1 %2 @@ -43211,14 +43108,11 @@ Output: - VcsBase::VcsBaseClientImpl + ::VcsBase Working... Виконання... - - - VcsBase::Internal::VcsCommandPage "data" is no JSON object in "VcsCommand" page. @@ -43251,9 +43145,6 @@ Output: Checkout - - - VcsBase::VcsCommandPage "%1" (%2) not found. Не знайдено "%1" (%2). diff --git a/share/qtcreator/translations/qtcreator_zh_CN.ts b/share/qtcreator/translations/qtcreator_zh_CN.ts index 88ab78e9cb0..e287cb18785 100644 --- a/share/qtcreator/translations/qtcreator_zh_CN.ts +++ b/share/qtcreator/translations/qtcreator_zh_CN.ts @@ -46748,7 +46748,7 @@ To disable a variable, prefix the line with "#". - VCS + ::VcsBase CVS Commit Editor CVS提交编辑器 @@ -47745,9 +47745,6 @@ With cache simulation, further event counters are enabled: General 概要 - - - VcsBase::CleanDialog The directory %1 could not be deleted. 目录 %1 无法被删除。 @@ -47764,10 +47761,6 @@ With cache simulation, further event counters are enabled: Delete... 删除... - - Name - 名称 - Repository: %1 仓库: %1 @@ -47786,10 +47779,6 @@ With cache simulation, further event counters are enabled: Clean Repository 清空代码库 - - Select All - 全选 - %n bytes, last modified %1. @@ -47800,9 +47789,6 @@ With cache simulation, further event counters are enabled: Cleaning "%1" - - - VcsBase::Internal::CommonVcsSettings User/&alias configuration file: 用户/别名配置文件(&A): @@ -47853,9 +47839,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Reset information about which version control system handles which directory. - - - VcsBase::Internal::EmailTextCursorHandler Send Email To... 发送Email到... @@ -47864,9 +47847,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Copy Email Address 复制Email地址 - - - VcsBase::Internal::NickNameDialog Name 姓名 @@ -47883,9 +47863,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Alias email - - - VcsBase::Internal::UrlTextCursorHandler Open URL in Browser... 在浏览器中打开URL... @@ -47894,9 +47871,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Copy URL Location 复制URL位置 - - - VcsBase::Internal::VcsCommandPage "data" is no JSON object in "VcsCommand" page. @@ -47945,9 +47919,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Failed. 失败. - - - VcsBase::Internal::VcsPlugin Name of the version control system in use by the current project. @@ -47960,9 +47931,6 @@ should a repository require SSH-authentication (see documentation on SSH and the The top level path to the repository the current project is in. - - - VcsBase::SubmitEditorWidget Subversion Submit Subversion提交 @@ -48033,9 +48001,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Uncheck all for submit - - - VcsBase::SubmitFileModel State 状态 @@ -48044,9 +48009,6 @@ should a repository require SSH-authentication (see documentation on SSH and the File 文件 - - - VcsBase::VcsBaseClientImpl Failed to retrieve data. @@ -48055,23 +48017,14 @@ should a repository require SSH-authentication (see documentation on SSH and the Working... 工作中... - - - VcsBase::VcsBaseDiffEditorController Processing diff - - - VcsBase::VcsBaseEditorConfig Reload 重新载入 - - - VcsBase::VcsBaseEditorWidget Annotate "%1" Annotate "%1" @@ -48096,9 +48049,6 @@ should a repository require SSH-authentication (see documentation on SSH and the &Describe Change %1 - - - VcsBase::VcsBasePluginPrivate Commit name of "commit" action of the VCS. @@ -48108,10 +48058,6 @@ should a repository require SSH-authentication (see documentation on SSH and the Save before %1? - - Version Control - 版本控制 - The file "%1" could not be deleted. @@ -48144,9 +48090,6 @@ should a repository require SSH-authentication (see documentation on SSH and the A version control repository could not be created in %1. 在%1处版本控制仓库无法被创建。 - - - VcsBase::VcsBaseSettings Log count: @@ -48163,9 +48106,6 @@ should a repository require SSH-authentication (see documentation on SSH and the s - - - VcsBase::VcsBaseSubmitEditor Check Message 检查消息 @@ -48213,16 +48153,10 @@ What do you want to do? &Keep Editing - - - VcsBase::VcsCommand UNKNOWN - - - VcsBase::VcsCommandPage "%1" (%2) not found. @@ -48243,9 +48177,6 @@ What do you want to do? "%1" (%2) does not exist. - - - VcsBase::VcsConfigurationPage Configuration 配置 @@ -48268,9 +48199,6 @@ What do you want to do? No known version control selected. - - - VcsBase::VcsOutputLineParser &Open "%1" @@ -48279,9 +48207,6 @@ What do you want to do? &Copy to clipboard: "%1" - - - VcsBase::VcsOutputWindow Open "%1" 打开 "%1" @@ -48290,10 +48215,6 @@ What do you want to do? Clear - - Version Control - 版本控制 - Running: %1 @@ -48302,9 +48223,6 @@ What do you want to do? Running in %1: %2 - - - VcsBase::VcsSubmitEditorFactory &Undo 撤销(&U) diff --git a/share/qtcreator/translations/qtcreator_zh_TW.ts b/share/qtcreator/translations/qtcreator_zh_TW.ts index 11910f228c9..7f3d9414168 100644 --- a/share/qtcreator/translations/qtcreator_zh_TW.ts +++ b/share/qtcreator/translations/qtcreator_zh_TW.ts @@ -9601,9 +9601,6 @@ Will not be applied to whitespace in comments and strings. Common 共同 - - - VcsBase::Internal::NickNameDialog Name 名稱 @@ -9624,9 +9621,6 @@ Will not be applied to whitespace in comments and strings. Nicknames 暱稱 - - - VcsBase::SubmitFileModel State 狀態 @@ -9635,9 +9629,6 @@ Will not be applied to whitespace in comments and strings. File 檔案 - - - VcsBase::VcsBaseSubmitEditor Prompt to submit 提交時彈出提示 @@ -11008,7 +10999,7 @@ Reason: %2 - VcsBase::BaseCheckoutWizard + ::VcsBase Cannot Open Project 無法開啟專案 @@ -11029,9 +11020,6 @@ Reason: %2 '%1' does not exist. '%1' 不存在。 - - - VcsBase::ProcessCheckoutJob Unable to start %1: %2 無法啟動 %1:%2 @@ -11052,9 +11040,6 @@ Reason: %2 Stopping... 正在停止... - - - VcsBase::Internal::CheckoutProgressWizardPage Checkout 取出 @@ -11075,9 +11060,6 @@ Reason: %2 Succeeded. 成功。 - - - VcsBase::VcsBaseOutputWindow Open "%1" 開啟 "%1" @@ -11086,10 +11068,6 @@ Reason: %2 Clear 清除 - - Version Control - 版本控制 - Executing: %1 %2 @@ -12120,7 +12098,7 @@ You can choose between stashing the changes or discarding them. - VcsBase::CleanDialog + ::VcsBase The directory %1 could not be deleted. 目錄 %1 無法被刪除。 @@ -12137,10 +12115,6 @@ You can choose between stashing the changes or discarding them. Delete... 刪除... - - Name - 名稱 - Repository: %1 主目錄:%1 @@ -12447,7 +12421,7 @@ For qmlproject projects, use the importPaths property to add import paths. - VCS + ::VcsBase CVS Commit Editor CVS 提交編輯器 @@ -13946,11 +13920,7 @@ Requires <b>Qt 4.7.4</b> or newer. - VcsBase::VcsBasePlugin - - Version Control - 版本控制 - + ::VcsBase The file '%1' could not be deleted. 檔案 '%1' 無法被刪除。 @@ -20465,7 +20435,7 @@ You can build the application and deploy it on desktop and mobile target platfor - VcsBase::VcsBaseClient + ::VcsBase Unable to start process '%1': %2 無法啟動行程 '%1':%2 @@ -20478,9 +20448,6 @@ You can build the application and deploy it on desktop and mobile target platfor Working... 工作中... - - - VcsBase::VcsBaseEditorWidget Annotate "%1" 最後註記 "%1" @@ -21180,7 +21147,7 @@ With cache simulation, further event counters are enabled: - VcsBase::VcsConfigurationPage + ::VcsBase Configuration 設置 @@ -21189,10 +21156,6 @@ With cache simulation, further event counters are enabled: Please configure <b>%1</b> now. 請現在設置 <b>%1</b>。 - - Configure... - 設置... - Utils::FileUtils @@ -23171,7 +23134,7 @@ In addition, device connectivity will be tested. - VcsBase::Internal::CommonSettingsWidget + ::VcsBase Command used for reverting diff chunks 回復差異區塊的指令 @@ -25102,7 +25065,7 @@ Filter: %2 - VcsCommand + ::VcsBase '%1' failed (exit code %2). @@ -25119,9 +25082,6 @@ Filter: %2 '%1' 已完成 (離開代碼 %2)。 - - - VcsBase::Command Error: VCS timed out after %1s. 錯誤:VCS 在 %1 秒後逾時。 @@ -26331,7 +26291,7 @@ Influences the indentation of continuation lines. - VcsBase::Internal::BaseCheckoutWizardPage + ::VcsBase WizardPage 精靈頁面 @@ -26380,16 +26340,10 @@ Influences the indentation of continuation lines. Checkout directory: 取出目錄: - - - VcsBase::Internal::CleanDialog Clean Repository 清除主目錄 - - - VcsBase::Internal::CommonSettingsPage Wrap submit message at: 提交訊息折行在: @@ -26438,9 +26392,6 @@ should a repository require SSH-authentication (see documentation on SSH and the &SSH prompt command: SSH 提示指令(&S): - - - VcsBase::Internal::VcsConfigurationPage Configure... 設置... @@ -27775,7 +27726,7 @@ references to elements in other files, loops, etc.) - VcsBase::Internal::UrlTextCursorHandler + ::VcsBase Open URL in browser... 在瀏覽器中打開網址... @@ -27792,9 +27743,6 @@ references to elements in other files, loops, etc.) Copy URL Location - - - VcsBase::Internal::EmailTextCursorHandler Send email to... 傳送電子郵件至... diff --git a/src/plugins/bazaar/bazaarplugin.cpp b/src/plugins/bazaar/bazaarplugin.cpp index 92f84c61d73..c00b9b198d9 100644 --- a/src/plugins/bazaar/bazaarplugin.cpp +++ b/src/plugins/bazaar/bazaarplugin.cpp @@ -64,7 +64,7 @@ namespace Bazaar::Internal { // Submit editor parameters const char COMMIT_ID[] = "Bazaar Commit Log Editor"; -const char COMMIT_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Bazaar Commit Log Editor"); +const char COMMIT_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Bazaar Commit Log Editor"); const char COMMITMIMETYPE[] = "text/vnd.qtcreator.bazaar.commit"; // Menu items diff --git a/src/plugins/bazaar/constants.h b/src/plugins/bazaar/constants.h index bac6aeb89b5..d51359a1234 100644 --- a/src/plugins/bazaar/constants.h +++ b/src/plugins/bazaar/constants.h @@ -23,15 +23,15 @@ const char ANNOTATE_CHANGESET_ID[] = "([.0-9]+)"; // Base editor parameters const char FILELOG_ID[] = "Bazaar File Log Editor"; -const char FILELOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Bazaar File Log Editor"); +const char FILELOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Bazaar File Log Editor"); const char LOGAPP[] = "text/vnd.qtcreator.bazaar.log"; const char ANNOTATELOG_ID[] = "Bazaar Annotation Editor"; -const char ANNOTATELOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Bazaar Annotation Editor"); +const char ANNOTATELOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Bazaar Annotation Editor"); const char ANNOTATEAPP[] = "text/vnd.qtcreator.bazaar.annotation"; const char DIFFLOG_ID[] = "Bazaar Diff Editor"; -const char DIFFLOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Bazaar Diff Editor"); +const char DIFFLOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Bazaar Diff Editor"); const char DIFFAPP[] = "text/x-patch"; // File status hint diff --git a/src/plugins/clearcase/clearcaseconstants.h b/src/plugins/clearcase/clearcaseconstants.h index 06c5ac24854..bcf93a149c0 100644 --- a/src/plugins/clearcase/clearcaseconstants.h +++ b/src/plugins/clearcase/clearcaseconstants.h @@ -11,7 +11,7 @@ namespace Constants { const char VCS_ID_CLEARCASE[] = "E.ClearCase"; const char CLEARCASE_SUBMIT_MIMETYPE[] = "text/vnd.qtcreator.clearcase.submit"; const char CLEARCASECHECKINEDITOR_ID[] = "ClearCase Check In Editor"; -const char CLEARCASECHECKINEDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "ClearCase Check In Editor"); +const char CLEARCASECHECKINEDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "ClearCase Check In Editor"); const char TASK_INDEX[] = "ClearCase.Task.Index"; const char KEEP_ACTIVITY[] = "__KEEP__"; enum { debug = 0 }; diff --git a/src/plugins/clearcase/clearcaseplugin.cpp b/src/plugins/clearcase/clearcaseplugin.cpp index f1e33527c9f..8abb45104d3 100644 --- a/src/plugins/clearcase/clearcaseplugin.cpp +++ b/src/plugins/clearcase/clearcaseplugin.cpp @@ -105,21 +105,21 @@ const char CMD_ID_STATUS[] = "ClearCase.Status"; const VcsBaseEditorParameters logEditorParameters { LogOutput, "ClearCase File Log Editor", // id - QT_TRANSLATE_NOOP("VCS", "ClearCase File Log Editor"), // display_name + QT_TRANSLATE_NOOP("::VcsBase", "ClearCase File Log Editor"), // display_name "text/vnd.qtcreator.clearcase.log" }; const VcsBaseEditorParameters annotateEditorParameters { AnnotateOutput, "ClearCase Annotation Editor", // id - QT_TRANSLATE_NOOP("VCS", "ClearCase Annotation Editor"), // display_name + QT_TRANSLATE_NOOP("::VcsBase", "ClearCase Annotation Editor"), // display_name "text/vnd.qtcreator.clearcase.annotation" }; const VcsBaseEditorParameters diffEditorParameters { DiffOutput, "ClearCase Diff Editor", // id - QT_TRANSLATE_NOOP("VCS", "ClearCase Diff Editor"), // display_name + QT_TRANSLATE_NOOP("::VcsBase", "ClearCase Diff Editor"), // display_name "text/x-patch" }; diff --git a/src/plugins/cvs/cvsplugin.cpp b/src/plugins/cvs/cvsplugin.cpp index 246bb9ceef9..7d659f9fbc8 100644 --- a/src/plugins/cvs/cvsplugin.cpp +++ b/src/plugins/cvs/cvsplugin.cpp @@ -90,7 +90,7 @@ const char CMD_ID_REPOSITORYUPDATE[] = "CVS.RepositoryUpdate"; const char CVS_SUBMIT_MIMETYPE[] = "text/vnd.qtcreator.cvs.submit"; const char CVSCOMMITEDITOR_ID[] = "CVS Commit Editor"; -const char CVSCOMMITEDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "CVS Commit Editor"); +const char CVSCOMMITEDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "CVS Commit Editor"); const VcsBaseSubmitEditorParameters submitParameters { CVS_SUBMIT_MIMETYPE, @@ -102,28 +102,28 @@ const VcsBaseSubmitEditorParameters submitParameters { const VcsBaseEditorParameters commandLogEditorParameters { OtherContent, "CVS Command Log Editor", // id - QT_TRANSLATE_NOOP("VCS", "CVS Command Log Editor"), // display name + QT_TRANSLATE_NOOP("::VcsBase", "CVS Command Log Editor"), // display name "text/vnd.qtcreator.cvs.commandlog" }; const VcsBaseEditorParameters logEditorParameters { LogOutput, "CVS File Log Editor", // id - QT_TRANSLATE_NOOP("VCS", "CVS File Log Editor"), // display name + QT_TRANSLATE_NOOP("::VcsBase", "CVS File Log Editor"), // display name "text/vnd.qtcreator.cvs.log" }; const VcsBaseEditorParameters annotateEditorParameters { AnnotateOutput, "CVS Annotation Editor", // id - QT_TRANSLATE_NOOP("VCS", "CVS Annotation Editor"), // display name + QT_TRANSLATE_NOOP("::VcsBase", "CVS Annotation Editor"), // display name "text/vnd.qtcreator.cvs.annotation" }; const VcsBaseEditorParameters diffEditorParameters { DiffOutput, "CVS Diff Editor", // id - QT_TRANSLATE_NOOP("VCS", "CVS Diff Editor"), // display name + QT_TRANSLATE_NOOP("::VcsBase", "CVS Diff Editor"), // display name "text/x-patch" }; diff --git a/src/plugins/git/gitconstants.h b/src/plugins/git/gitconstants.h index fd460293c3e..6263ea28acb 100644 --- a/src/plugins/git/gitconstants.h +++ b/src/plugins/git/gitconstants.h @@ -11,22 +11,22 @@ namespace Constants { const char GIT_PLUGIN[] = "GitPlugin"; const char GIT_SVN_LOG_EDITOR_ID[] = "Git SVN Log Editor"; -const char GIT_SVN_LOG_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Git SVN Log Editor"); +const char GIT_SVN_LOG_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Git SVN Log Editor"); const char GIT_LOG_EDITOR_ID[] = "Git Log Editor"; -const char GIT_LOG_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Git Log Editor"); +const char GIT_LOG_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Git Log Editor"); const char GIT_REFLOG_EDITOR_ID[] = "Git Reflog Editor"; -const char GIT_REFLOG_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Git Reflog Editor"); +const char GIT_REFLOG_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Git Reflog Editor"); const char GIT_BLAME_EDITOR_ID[] = "Git Annotation Editor"; -const char GIT_BLAME_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Git Annotation Editor"); +const char GIT_BLAME_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Git Annotation Editor"); const char GIT_COMMIT_TEXT_EDITOR_ID[] = "Git Commit Editor"; -const char GIT_COMMIT_TEXT_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Git Commit Editor"); +const char GIT_COMMIT_TEXT_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Git Commit Editor"); const char GIT_REBASE_EDITOR_ID[] = "Git Rebase Editor"; -const char GIT_REBASE_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Git Rebase Editor"); +const char GIT_REBASE_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Git Rebase Editor"); const char GIT_BRANCH_VIEW_ID[] = "Git Branches"; const char GIT_CONTEXT[] = "Git Context"; const char GITSUBMITEDITOR_ID[] = "Git Submit Editor"; -const char GITSUBMITEDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Git Submit Editor"); +const char GITSUBMITEDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Git Submit Editor"); const char SUBMIT_MIMETYPE[] = "text/vnd.qtcreator.git.submit"; const char C_GITEDITORID[] = "Git Editor"; diff --git a/src/plugins/mercurial/constants.h b/src/plugins/mercurial/constants.h index 00f48cf05f5..6ec215db4a8 100644 --- a/src/plugins/mercurial/constants.h +++ b/src/plugins/mercurial/constants.h @@ -23,20 +23,20 @@ const char DIFFIDENTIFIER[] = "^(?:diff --git a/|[+-]{3} (?:/dev/null|[ab]/(.+$) // Base editor parameters const char FILELOG_ID[] = "Mercurial File Log Editor"; -const char FILELOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Mercurial File Log Editor"); +const char FILELOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Mercurial File Log Editor"); const char LOGAPP[] = "text/vnd.qtcreator.mercurial.log"; const char ANNOTATELOG_ID[] = "Mercurial Annotation Editor"; -const char ANNOTATELOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Mercurial Annotation Editor"); +const char ANNOTATELOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Mercurial Annotation Editor"); const char ANNOTATEAPP[] = "text/vnd.qtcreator.mercurial.annotation"; const char DIFFLOG_ID[] = "Mercurial Diff Editor"; -const char DIFFLOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Mercurial Diff Editor"); +const char DIFFLOG_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Mercurial Diff Editor"); const char DIFFAPP[] = "text/x-patch"; // Submit editor parameters const char COMMIT_ID[] = "Mercurial Commit Log Editor"; -const char COMMIT_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Mercurial Commit Log Editor"); +const char COMMIT_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Mercurial Commit Log Editor"); const char COMMITMIMETYPE[] = "text/vnd.qtcreator.mercurial.commit"; // File menu actions diff --git a/src/plugins/perforce/perforceplugin.cpp b/src/plugins/perforce/perforceplugin.cpp index 142b88b6744..a4cb0f913eb 100644 --- a/src/plugins/perforce/perforceplugin.cpp +++ b/src/plugins/perforce/perforceplugin.cpp @@ -64,16 +64,16 @@ const char SUBMIT_MIMETYPE[] = "text/vnd.qtcreator.p4.submit"; const char PERFORCE_CONTEXT[] = "Perforce Context"; const char PERFORCE_SUBMIT_EDITOR_ID[] = "Perforce.SubmitEditor"; -const char PERFORCE_SUBMIT_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Perforce.SubmitEditor"); +const char PERFORCE_SUBMIT_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Perforce.SubmitEditor"); const char PERFORCE_LOG_EDITOR_ID[] = "Perforce.LogEditor"; -const char PERFORCE_LOG_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Perforce Log Editor"); +const char PERFORCE_LOG_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Perforce Log Editor"); const char PERFORCE_DIFF_EDITOR_ID[] = "Perforce.DiffEditor"; -const char PERFORCE_DIFF_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Perforce Diff Editor"); +const char PERFORCE_DIFF_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Perforce Diff Editor"); const char PERFORCE_ANNOTATION_EDITOR_ID[] = "Perforce.AnnotationEditor"; -const char PERFORCE_ANNOTATION_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Perforce Annotation Editor"); +const char PERFORCE_ANNOTATION_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Perforce Annotation Editor"); // Ensure adding "..." to relative paths which is p4's convention // for the current directory diff --git a/src/plugins/subversion/subversionconstants.h b/src/plugins/subversion/subversionconstants.h index b7e52a4fbf5..c2bbf07c2e4 100644 --- a/src/plugins/subversion/subversionconstants.h +++ b/src/plugins/subversion/subversionconstants.h @@ -16,15 +16,15 @@ enum { debug = 0 }; const char SUBVERSION_CONTEXT[] = "Subversion Context"; const char SUBVERSION_COMMIT_EDITOR_ID[] = "Subversion Commit Editor"; -const char SUBVERSION_COMMIT_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Subversion Commit Editor"); +const char SUBVERSION_COMMIT_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Subversion Commit Editor"); const char SUBVERSION_SUBMIT_MIMETYPE[] = "text/vnd.qtcreator.svn.submit"; const char SUBVERSION_LOG_EDITOR_ID[] = "Subversion File Log Editor"; -const char SUBVERSION_LOG_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Subversion File Log Editor"); +const char SUBVERSION_LOG_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Subversion File Log Editor"); const char SUBVERSION_LOG_MIMETYPE[] = "text/vnd.qtcreator.svn.log"; const char SUBVERSION_BLAME_EDITOR_ID[] = "Subversion Annotation Editor"; -const char SUBVERSION_BLAME_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "Subversion Annotation Editor"); +const char SUBVERSION_BLAME_EDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "Subversion Annotation Editor"); const char SUBVERSION_BLAME_MIMETYPE[] = "text/vnd.qtcreator.svn.annotation"; } // namespace Constants diff --git a/src/plugins/vcsbase/basevcseditorfactory.cpp b/src/plugins/vcsbase/basevcseditorfactory.cpp index 0e887671197..463202f87bd 100644 --- a/src/plugins/vcsbase/basevcseditorfactory.cpp +++ b/src/plugins/vcsbase/basevcseditorfactory.cpp @@ -33,7 +33,7 @@ VcsEditorFactory::VcsEditorFactory(const VcsBaseEditorParameters *parameters, std::function describeFunc) { setId(parameters->id); - setDisplayName(QCoreApplication::translate("VCS", parameters->displayName)); + setDisplayName(QCoreApplication::translate("::VcsBase", parameters->displayName)); if (QLatin1String(parameters->mimeType) != QLatin1String(DiffEditor::Constants::DIFF_EDITOR_MIMETYPE)) addMimeType(QLatin1String(parameters->mimeType)); diff --git a/src/plugins/vcsbase/basevcssubmiteditorfactory.cpp b/src/plugins/vcsbase/basevcssubmiteditorfactory.cpp index 5b5df7401b4..af46903b38a 100644 --- a/src/plugins/vcsbase/basevcssubmiteditorfactory.cpp +++ b/src/plugins/vcsbase/basevcssubmiteditorfactory.cpp @@ -4,6 +4,7 @@ #include "basevcssubmiteditorfactory.h" #include "vcsbaseplugin.h" +#include "vcsbasetr.h" #include "vcsbasesubmiteditor.h" #include @@ -33,10 +34,10 @@ VcsSubmitEditorFactory::VcsSubmitEditorFactory }); Context context(parameters.id); - m_undoAction.setText(tr("&Undo")); + m_undoAction.setText(Tr::tr("&Undo")); ActionManager::registerAction(&m_undoAction, Core::Constants::UNDO, context); - m_redoAction.setText(tr("&Redo")); + m_redoAction.setText(Tr::tr("&Redo")); ActionManager::registerAction(&m_redoAction, Core::Constants::REDO, context); QTC_ASSERT(plugin, return); @@ -48,7 +49,7 @@ VcsSubmitEditorFactory::VcsSubmitEditorFactory QObject::connect(&m_submitAction, &QAction::triggered, plugin, &VcsBasePluginPrivate::commitFromEditor); m_diffAction.setIcon(VcsBaseSubmitEditor::diffIcon()); - m_diffAction.setText(tr("Diff &Selected Files")); + m_diffAction.setText(Tr::tr("Diff &Selected Files")); ActionManager::registerAction(&m_diffAction, DIFF_SELECTED, context); } diff --git a/src/plugins/vcsbase/basevcssubmiteditorfactory.h b/src/plugins/vcsbase/basevcssubmiteditorfactory.h index 1011bb7fd76..a7e30bb5a92 100644 --- a/src/plugins/vcsbase/basevcssubmiteditorfactory.h +++ b/src/plugins/vcsbase/basevcssubmiteditorfactory.h @@ -9,7 +9,6 @@ #include #include -#include namespace VcsBase { @@ -22,8 +21,6 @@ class VcsBasePluginPrivate; class VCSBASE_EXPORT VcsSubmitEditorFactory : public Core::IEditorFactory { - Q_DECLARE_TR_FUNCTIONS(VcsBase::VcsSubmitEditorFactory) - public: typedef std::function EditorCreator; diff --git a/src/plugins/vcsbase/cleandialog.cpp b/src/plugins/vcsbase/cleandialog.cpp index 106f49cea21..bc5ddafe66d 100644 --- a/src/plugins/vcsbase/cleandialog.cpp +++ b/src/plugins/vcsbase/cleandialog.cpp @@ -3,6 +3,7 @@ #include "cleandialog.h" +#include "vcsbasetr.h" #include "vcsoutputwindow.h" #include @@ -53,15 +54,15 @@ static void removeFileRecursion(QFutureInterface &futureInterface, removeFileRecursion(futureInterface, fi, errorMessage); QDir parent = f.absoluteDir(); if (!parent.rmdir(f.fileName())) - errorMessage->append(VcsBase::CleanDialog::tr("The directory %1 could not be deleted."). - arg(QDir::toNativeSeparators(f.absoluteFilePath()))); + errorMessage->append(Tr::tr("The directory %1 could not be deleted.") + .arg(QDir::toNativeSeparators(f.absoluteFilePath()))); return; } if (!QFile::remove(f.absoluteFilePath())) { if (!errorMessage->isEmpty()) errorMessage->append(QLatin1Char('\n')); - errorMessage->append(VcsBase::CleanDialog::tr("The file %1 could not be deleted."). - arg(QDir::toNativeSeparators(f.absoluteFilePath()))); + errorMessage->append(Tr::tr("The file %1 could not be deleted.") + .arg(QDir::toNativeSeparators(f.absoluteFilePath()))); } } @@ -81,8 +82,8 @@ static void runCleanFiles(QFutureInterface &futureInterface, } if (!errorMessage.isEmpty()) { // Format and emit error. - const QString msg = CleanDialog::tr("There were errors when cleaning the repository %1:"). - arg(repository.toUserOutput()); + const QString msg = Tr::tr("There were errors when cleaning the repository %1:") + .arg(repository.toUserOutput()); errorMessage.insert(0, QLatin1Char('\n')); errorMessage.insert(0, msg); errorHandler(errorMessage); @@ -134,16 +135,16 @@ CleanDialog::CleanDialog(QWidget *parent) : { setModal(true); resize(682, 659); - setWindowTitle(tr("Clean Repository")); + setWindowTitle(Tr::tr("Clean Repository")); d->m_groupBox = new QGroupBox(this); - d->m_selectAllCheckBox = new QCheckBox(tr("Select All")); + d->m_selectAllCheckBox = new QCheckBox(Tr::tr("Select All")); auto buttonBox = new QDialogButtonBox(QDialogButtonBox::Cancel); - buttonBox->addButton(tr("Delete..."), QDialogButtonBox::AcceptRole); + buttonBox->addButton(Tr::tr("Delete..."), QDialogButtonBox::AcceptRole); - d->m_filesModel->setHorizontalHeaderLabels(QStringList(tr("Name"))); + d->m_filesModel->setHorizontalHeaderLabels(QStringList(Tr::tr("Name"))); d->m_filesTreeView = new QTreeView; d->m_filesTreeView->setModel(d->m_filesModel); @@ -184,7 +185,7 @@ void CleanDialog::setFileList(const FilePath &workingDirectory, const QStringLis const QStringList &ignoredFiles) { d->m_workingDirectory = workingDirectory; - d->m_groupBox->setTitle(tr("Repository: %1").arg(workingDirectory.toUserOutput())); + d->m_groupBox->setTitle(Tr::tr("Repository: %1").arg(workingDirectory.toUserOutput())); if (const int oldRowCount = d->m_filesModel->rowCount()) d->m_filesModel->removeRows(0, oldRowCount); @@ -219,8 +220,8 @@ void CleanDialog::addFile(const FilePath &workingDirectory, const QString &fileN if (fullPath.isFile()) { const QString lastModified = QLocale::system().toString(fullPath.lastModified(), QLocale::ShortFormat); - nameItem->setToolTip(tr("%n bytes, last modified %1.", nullptr, - fullPath.fileSize()).arg(lastModified)); + nameItem->setToolTip(Tr::tr("%n bytes, last modified %1.", nullptr, + fullPath.fileSize()).arg(lastModified)); } d->m_filesModel->appendRow(nameItem); } @@ -251,8 +252,8 @@ bool CleanDialog::promptToDelete() if (selectedFiles.isEmpty()) return true; - if (QMessageBox::question(this, tr("Delete"), - tr("Do you want to delete %n files?", nullptr, selectedFiles.size()), + if (QMessageBox::question(this, Tr::tr("Delete"), + Tr::tr("Do you want to delete %n files?", nullptr, selectedFiles.size()), QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes) != QMessageBox::Yes) return false; @@ -260,7 +261,7 @@ bool CleanDialog::promptToDelete() QFuture task = runAsync(Internal::runCleanFiles, d->m_workingDirectory, selectedFiles, Internal::handleError); - const QString taskName = tr("Cleaning \"%1\"").arg(d->m_workingDirectory.toUserOutput()); + const QString taskName = Tr::tr("Cleaning \"%1\"").arg(d->m_workingDirectory.toUserOutput()); Core::ProgressManager::addTask(task, taskName, "VcsBase.cleanRepository"); return true; } diff --git a/src/plugins/vcsbase/commonvcssettings.cpp b/src/plugins/vcsbase/commonvcssettings.cpp index a5d56a99459..160095d38dc 100644 --- a/src/plugins/vcsbase/commonvcssettings.cpp +++ b/src/plugins/vcsbase/commonvcssettings.cpp @@ -44,8 +44,8 @@ CommonVcsSettings::CommonVcsSettings() nickNameMailMap.setDisplayStyle(StringAspect::PathChooserDisplay); nickNameMailMap.setExpectedKind(PathChooser::File); nickNameMailMap.setHistoryCompleter("Vcs.NickMap.History"); - nickNameMailMap.setLabelText(tr("User/&alias configuration file:")); - nickNameMailMap.setToolTip(tr("A file listing nicknames in a 4-column mailmap format:\n" + nickNameMailMap.setLabelText(Tr::tr("User/&alias configuration file:")); + nickNameMailMap.setToolTip(Tr::tr("A file listing nicknames in a 4-column mailmap format:\n" "'name alias '.")); registerAspect(&nickNameFieldListFile); @@ -53,8 +53,8 @@ CommonVcsSettings::CommonVcsSettings() nickNameFieldListFile.setDisplayStyle(StringAspect::PathChooserDisplay); nickNameFieldListFile.setExpectedKind(PathChooser::File); nickNameFieldListFile.setHistoryCompleter("Vcs.NickFields.History"); - nickNameFieldListFile.setLabelText(tr("User &fields configuration file:")); - nickNameFieldListFile.setToolTip(tr("A simple file containing lines with field names like " + nickNameFieldListFile.setLabelText(Tr::tr("User &fields configuration file:")); + nickNameFieldListFile.setToolTip(Tr::tr("A simple file containing lines with field names like " "\"Reviewed-By:\" which will be added below the submit editor.")); registerAspect(&submitMessageCheckScript); @@ -62,8 +62,8 @@ CommonVcsSettings::CommonVcsSettings() submitMessageCheckScript.setDisplayStyle(StringAspect::PathChooserDisplay); submitMessageCheckScript.setExpectedKind(PathChooser::ExistingCommand); submitMessageCheckScript.setHistoryCompleter("Vcs.MessageCheckScript.History"); - submitMessageCheckScript.setLabelText(tr("Submit message &check script:")); - submitMessageCheckScript.setToolTip(tr("An executable which is called with the submit message " + submitMessageCheckScript.setLabelText(Tr::tr("Submit message &check script:")); + submitMessageCheckScript.setToolTip(Tr::tr("An executable which is called with the submit message " "in a temporary file as first argument. It should return with an exit != 0 and a message " "on standard error to indicate failure.")); @@ -73,19 +73,19 @@ CommonVcsSettings::CommonVcsSettings() sshPasswordPrompt.setExpectedKind(PathChooser::ExistingCommand); sshPasswordPrompt.setHistoryCompleter("Vcs.SshPrompt.History"); sshPasswordPrompt.setDefaultValue(sshPasswordPromptDefault()); - sshPasswordPrompt.setLabelText(tr("&SSH prompt command:")); - sshPasswordPrompt.setToolTip(tr("Specifies a command that is executed to graphically prompt " + sshPasswordPrompt.setLabelText(Tr::tr("&SSH prompt command:")); + sshPasswordPrompt.setToolTip(Tr::tr("Specifies a command that is executed to graphically prompt " "for a password,\nshould a repository require SSH-authentication " "(see documentation on SSH and the environment variable SSH_ASKPASS).")); registerAspect(&lineWrap); lineWrap.setSettingsKey("LineWrap"); lineWrap.setDefaultValue(true); - lineWrap.setLabelText(tr("Wrap submit message at:")); + lineWrap.setLabelText(Tr::tr("Wrap submit message at:")); registerAspect(&lineWrapWidth); lineWrapWidth.setSettingsKey("LineWrapWidth"); - lineWrapWidth.setSuffix(tr(" characters")); + lineWrapWidth.setSuffix(Tr::tr(" characters")); lineWrapWidth.setDefaultValue(72); } @@ -109,8 +109,8 @@ CommonSettingsWidget::CommonSettingsWidget(CommonOptionsPage *page) { CommonVcsSettings &s = m_page->settings(); - auto cacheResetButton = new QPushButton(CommonVcsSettings::tr("Reset VCS Cache")); - cacheResetButton->setToolTip(CommonVcsSettings::tr("Reset information about which " + auto cacheResetButton = new QPushButton(Tr::tr("Reset VCS Cache")); + cacheResetButton->setToolTip(Tr::tr("Reset information about which " "version control system handles which directory.")); updatePath(); diff --git a/src/plugins/vcsbase/commonvcssettings.h b/src/plugins/vcsbase/commonvcssettings.h index 327571737c8..8d781a45d72 100644 --- a/src/plugins/vcsbase/commonvcssettings.h +++ b/src/plugins/vcsbase/commonvcssettings.h @@ -12,8 +12,6 @@ namespace Internal { class CommonVcsSettings : public Utils::AspectContainer { - Q_DECLARE_TR_FUNCTIONS(VcsBase::Internal::CommonVcsSettings) - public: CommonVcsSettings(); diff --git a/src/plugins/vcsbase/nicknamedialog.cpp b/src/plugins/vcsbase/nicknamedialog.cpp index 8b391a53c14..40d77dee545 100644 --- a/src/plugins/vcsbase/nicknamedialog.cpp +++ b/src/plugins/vcsbase/nicknamedialog.cpp @@ -3,6 +3,8 @@ #include "nicknamedialog.h" +#include "vcsbasetr.h" + #include #include #include @@ -219,9 +221,7 @@ QString NickNameDialog::nickName() const QStandardItemModel *NickNameDialog::createModel(QObject *parent) { auto model = new QStandardItemModel(parent); - QStringList headers; - headers << tr("Name") << tr("Email") - << tr("Alias") << tr("Alias email"); + QStringList headers = {Tr::tr("Name"), Tr::tr("Email"), Tr::tr("Alias"), Tr::tr("Alias email")}; model->setHorizontalHeaderLabels(headers); return model; } diff --git a/src/plugins/vcsbase/submiteditorwidget.cpp b/src/plugins/vcsbase/submiteditorwidget.cpp index 79ac27f1723..7a67a67bb21 100644 --- a/src/plugins/vcsbase/submiteditorwidget.cpp +++ b/src/plugins/vcsbase/submiteditorwidget.cpp @@ -2,8 +2,10 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "submiteditorwidget.h" + #include "submitfieldwidget.h" #include "submitfilemodel.h" +#include "vcsbasetr.h" #include "vcsbaseconstants.h" #include @@ -16,7 +18,6 @@ #include #include -#include #include #include #include @@ -128,13 +129,13 @@ SubmitEditorWidget::SubmitEditorWidget() : { resize(507, 419); setMinimumSize(QSize(0, 0)); - setWindowTitle(tr("Subversion Submit")); + setWindowTitle(Tr::tr("Subversion Submit")); auto scrollAreaWidgetContents = new QWidget(); scrollAreaWidgetContents->setGeometry(QRect(0, 0, 505, 417)); scrollAreaWidgetContents->setMinimumSize(QSize(400, 400)); - d->descriptionBox = new QGroupBox(tr("Descriptio&n")); + d->descriptionBox = new QGroupBox(Tr::tr("Descriptio&n")); d->descriptionBox->setObjectName("descriptionBox"); d->descriptionBox->setFlat(true); @@ -158,11 +159,11 @@ SubmitEditorWidget::SubmitEditorWidget() : connect(&d->delayedVerifyDescriptionTimer, &QTimer::timeout, this, &SubmitEditorWidget::verifyDescription); - auto groupBox = new QGroupBox(tr("F&iles")); + auto groupBox = new QGroupBox(Tr::tr("F&iles")); groupBox->setObjectName("groupBox"); groupBox->setFlat(true); - d->checkAllCheckBox = new QCheckBox(tr("Select a&ll")); + d->checkAllCheckBox = new QCheckBox(Tr::tr("Select a&ll")); d->checkAllCheckBox->setObjectName("checkAllCheckBox"); d->checkAllCheckBox->setTristate(false); @@ -187,7 +188,7 @@ SubmitEditorWidget::SubmitEditorWidget() : d->buttonLayout->setContentsMargins(0, -1, -1, -1); QToolButton *openSettingsButton = new QToolButton; openSettingsButton->setIcon(Utils::Icons::SETTINGS.icon()); - openSettingsButton->setToolTip(tr("Open Settings Page...")); + openSettingsButton->setToolTip(Tr::tr("Open Settings Page...")); connect(openSettingsButton, &QToolButton::clicked, this, [] { Core::ICore::showOptionsDialog(Constants::VCS_COMMON_SETTINGS_ID); }); @@ -493,7 +494,7 @@ void SubmitEditorWidget::updateSubmitAction() // Update button text. const int fileCount = d->fileView->model()->rowCount(); const QString msg = checkedCount ? - tr("%1 %2/%n File(s)", nullptr, fileCount) + Tr::tr("%1 %2/%n File(s)", nullptr, fileCount) .arg(commitName()).arg(checkedCount) : commitName(); emit submitActionTextChanged(msg); @@ -606,28 +607,28 @@ void SubmitEditorWidget::verifyDescription() enum { MinSubjectLength = 20, MaxSubjectLength = 72, WarningSubjectLength = 55 }; QStringList hints; if (0 < subjectLength && subjectLength < MinSubjectLength) - hints.append(warning + tr("Warning: The commit subject is very short.")); + hints.append(warning + Tr::tr("Warning: The commit subject is very short.")); if (subjectLength > MaxSubjectLength) - hints.append(warning + tr("Warning: The commit subject is too long.")); + hints.append(warning + Tr::tr("Warning: The commit subject is too long.")); else if (subjectLength > WarningSubjectLength) - hints.append(hint + tr("Hint: Aim for a shorter commit subject.")); + hints.append(hint + Tr::tr("Hint: Aim for a shorter commit subject.")); if (secondLineLength > 0) - hints.append(hint + tr("Hint: The second line of a commit message should be empty.")); + hints.append(hint + Tr::tr("Hint: The second line of a commit message should be empty.")); d->descriptionHint->setText(hints.join("
")); if (!d->descriptionHint->text().isEmpty()) { d->descriptionHint->setToolTip( - tr("

Writing good commit messages

" - "
    " - "
  • Avoid very short commit messages.
  • " - "
  • Consider the first line as subject (like in email) " - "and keep it shorter than %n characters.
  • " - "
  • After an empty second line, a longer description can be added.
  • " - "
  • Describe why the change was done, not how it was done.
  • " - "
", nullptr, MaxSubjectLength)); - } + Tr::tr("

Writing good commit messages

" + "
    " + "
  • Avoid very short commit messages.
  • " + "
  • Consider the first line as subject (like in email) " + "and keep it shorter than %n characters.
  • " + "
  • After an empty second line, a longer description can be added.
  • " + "
  • Describe why the change was done, not how it was done.
  • " + "
", nullptr, MaxSubjectLength)); + } } void SubmitEditorWidget::descriptionTextChanged() @@ -646,18 +647,18 @@ bool SubmitEditorWidget::canSubmit(QString *whyNot) const { if (d->m_updateInProgress) { if (whyNot) - *whyNot = tr("Update in progress"); + *whyNot = Tr::tr("Update in progress"); return false; } if (isDescriptionMandatory() && d->m_description.trimmed().isEmpty()) { if (whyNot) - *whyNot = tr("Description is empty"); + *whyNot = Tr::tr("Description is empty"); return false; } const unsigned checkedCount = checkedFilesCount(); const bool res = d->m_emptyFileListEnabled || checkedCount > 0; if (!res && whyNot) - *whyNot = tr("No files checked"); + *whyNot = Tr::tr("No files checked"); return res; } @@ -695,7 +696,7 @@ void SubmitEditorWidget::setSelectedRows(const QList &rows) QString SubmitEditorWidget::commitName() const { - return tr("&Commit"); + return Tr::tr("&Commit"); } void SubmitEditorWidget::addSubmitFieldWidget(SubmitFieldWidget *f) @@ -760,9 +761,9 @@ void SubmitEditorWidget::fileListCustomContextMenuRequested(const QPoint & pos) // Execute menu offering to check/uncheck all QMenu menu; //: Check all for submit - QAction *checkAllAction = menu.addAction(tr("Select All")); + QAction *checkAllAction = menu.addAction(Tr::tr("Select All")); //: Uncheck all for submit - QAction *uncheckAllAction = menu.addAction(tr("Unselect All")); + QAction *uncheckAllAction = menu.addAction(Tr::tr("Unselect All")); QAction *action = menu.exec(d->fileView->mapToGlobal(pos)); if (action == checkAllAction) { fileModel()->setAllChecked(true);; diff --git a/src/plugins/vcsbase/submitfilemodel.cpp b/src/plugins/vcsbase/submitfilemodel.cpp index 33812de8daa..4ee4b35f3cf 100644 --- a/src/plugins/vcsbase/submitfilemodel.cpp +++ b/src/plugins/vcsbase/submitfilemodel.cpp @@ -3,6 +3,8 @@ #include "submitfilemodel.h" +#include "vcsbasetr.h" + #include #include #include @@ -92,7 +94,7 @@ static QList createFileRow(const FilePath &repositoryRoot, SubmitFileModel::SubmitFileModel(QObject *parent) : QStandardItemModel(0, 2, parent) { - setHorizontalHeaderLabels({tr("State"), tr("File")}); + setHorizontalHeaderLabels({Tr::tr("State"), Tr::tr("File")}); } const FilePath &SubmitFileModel::repositoryRoot() const diff --git a/src/plugins/vcsbase/vcsbaseclient.cpp b/src/plugins/vcsbase/vcsbaseclient.cpp index 8493955cd15..f152e8d549e 100644 --- a/src/plugins/vcsbase/vcsbaseclient.cpp +++ b/src/plugins/vcsbase/vcsbaseclient.cpp @@ -2,10 +2,12 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "vcsbaseclient.h" + #include "vcsbaseclientsettings.h" #include "vcsbaseeditor.h" #include "vcsbaseeditorconfig.h" #include "vcsbaseplugin.h" +#include "vcsbasetr.h" #include "vcscommand.h" #include "vcsoutputwindow.h" @@ -79,7 +81,7 @@ VcsCommand *VcsBaseClientImpl::createCommand(const FilePath &workingDirectory, editor->setCommand(cmd); connect(cmd, &VcsCommand::done, editor, [editor, cmd] { if (cmd->result() != ProcessResult::FinishedWithSuccess) { - editor->textDocument()->setPlainText(tr("Failed to retrieve data.")); + editor->textDocument()->setPlainText(Tr::tr("Failed to retrieve data.")); return; } editor->setPlainText(cmd->cleanedStdOut()); @@ -208,7 +210,7 @@ VcsBaseEditorWidget *VcsBaseClientImpl::createVcsEditor(Id kind, QString title, { VcsBaseEditorWidget *baseEditor = nullptr; IEditor *outputEditor = locateEditor(registerDynamicProperty, dynamicPropertyValue); - const QString progressMsg = tr("Working..."); + const QString progressMsg = Tr::tr("Working..."); if (outputEditor) { // Exists already outputEditor->document()->setContents(progressMsg.toUtf8()); diff --git a/src/plugins/vcsbase/vcsbaseclientsettings.cpp b/src/plugins/vcsbase/vcsbaseclientsettings.cpp index 04c185fbbf1..7dfd8b3760b 100644 --- a/src/plugins/vcsbase/vcsbaseclientsettings.cpp +++ b/src/plugins/vcsbase/vcsbaseclientsettings.cpp @@ -3,6 +3,8 @@ #include "vcsbaseclientsettings.h" +#include "vcsbasetr.h" + #include #include #include @@ -35,7 +37,7 @@ VcsBaseSettings::VcsBaseSettings() logCount.setSettingsKey("LogCount"); logCount.setRange(0, 1000 * 1000); logCount.setDefaultValue(100); - logCount.setLabelText(tr("Log count:")); + logCount.setLabelText(Tr::tr("Log count:")); registerAspect(&path); path.setSettingsKey("Path"); @@ -44,8 +46,8 @@ VcsBaseSettings::VcsBaseSettings() timeout.setSettingsKey("Timeout"); timeout.setRange(0, 3600 * 24 * 365); timeout.setDefaultValue(30); - timeout.setLabelText(tr("Timeout:")); - timeout.setSuffix(tr("s")); + timeout.setLabelText(Tr::tr("Timeout:")); + timeout.setSuffix(Tr::tr("s")); } VcsBaseSettings::~VcsBaseSettings() = default; diff --git a/src/plugins/vcsbase/vcsbaseclientsettings.h b/src/plugins/vcsbase/vcsbaseclientsettings.h index 0be6b45057a..87835755ca0 100644 --- a/src/plugins/vcsbase/vcsbaseclientsettings.h +++ b/src/plugins/vcsbase/vcsbaseclientsettings.h @@ -11,8 +11,6 @@ namespace VcsBase { class VCSBASE_EXPORT VcsBaseSettings : public Utils::AspectContainer { - Q_DECLARE_TR_FUNCTIONS(VcsBase::VcsBaseSettings) - public: VcsBaseSettings(); ~VcsBaseSettings(); diff --git a/src/plugins/vcsbase/vcsbaseeditor.cpp b/src/plugins/vcsbase/vcsbaseeditor.cpp index b22db1236a7..a03b696a529 100644 --- a/src/plugins/vcsbase/vcsbaseeditor.cpp +++ b/src/plugins/vcsbase/vcsbaseeditor.cpp @@ -8,6 +8,7 @@ #include "diffandloghighlighter.h" #include "vcsbaseeditorconfig.h" #include "vcsbaseplugin.h" +#include "vcsbasetr.h" #include "vcscommand.h" #include @@ -307,7 +308,7 @@ void ChangeTextCursorHandler::slotCopyRevision() void ChangeTextCursorHandler::addDescribeAction(QMenu *menu, const QString &change) const { - auto a = new QAction(VcsBaseEditorWidget::tr("&Describe Change %1").arg(change), nullptr); + auto a = new QAction(Tr::tr("&Describe Change %1").arg(change), nullptr); connect(a, &QAction::triggered, this, &ChangeTextCursorHandler::slotDescribe); menu->addAction(a); menu->setDefaultAction(a); @@ -330,7 +331,7 @@ QAction *ChangeTextCursorHandler::createAnnotateAction(const QString &change, bo QAction *ChangeTextCursorHandler::createCopyRevisionAction(const QString &change) const { - auto a = new QAction(VcsBaseEditorWidget::tr("Copy \"%1\"").arg(change), nullptr); + auto a = new QAction(Tr::tr("Copy \"%1\"").arg(change), nullptr); a->setData(change); connect(a, &QAction::triggered, this, &ChangeTextCursorHandler::slotCopyRevision); return a; @@ -436,8 +437,8 @@ void UrlTextCursorHandler::fillContextMenu(QMenu *menu, EditorContentType type) { Q_UNUSED(type) menu->addSeparator(); - menu->addAction(createOpenUrlAction(tr("Open URL in Browser..."))); - menu->addAction(createCopyUrlAction(tr("Copy URL Location"))); + menu->addAction(createOpenUrlAction(Tr::tr("Open URL in Browser..."))); + menu->addAction(createCopyUrlAction(Tr::tr("Copy URL Location"))); } QString UrlTextCursorHandler::currentContents() const @@ -503,8 +504,8 @@ void EmailTextCursorHandler::fillContextMenu(QMenu *menu, EditorContentType type { Q_UNUSED(type) menu->addSeparator(); - menu->addAction(createOpenUrlAction(tr("Send Email To..."))); - menu->addAction(createCopyUrlAction(tr("Copy Email Address"))); + menu->addAction(createOpenUrlAction(Tr::tr("Send Email To..."))); + menu->addAction(createCopyUrlAction(Tr::tr("Copy Email Address"))); } void EmailTextCursorHandler::slotOpenUrl() @@ -551,7 +552,7 @@ private: VcsBaseEditorWidgetPrivate::VcsBaseEditorWidgetPrivate(VcsBaseEditorWidget *editorWidget) : q(editorWidget), - m_annotateRevisionTextFormat(VcsBaseEditorWidget::tr("Annotate \"%1\"")) + m_annotateRevisionTextFormat(Tr::tr("Annotate \"%1\"")) { m_textCursorHandlers.append(new ChangeTextCursorHandler(editorWidget)); m_textCursorHandlers.append(new UrlTextCursorHandler(editorWidget)); @@ -963,7 +964,7 @@ void VcsBaseEditorWidget::contextMenuEvent(QContextMenuEvent *e) if (ExtensionSystem::PluginManager::getObject()) { // optional code pasting service menu->addSeparator(); - connect(menu->addAction(tr("Send to CodePaster...")), &QAction::triggered, + connect(menu->addAction(Tr::tr("Send to CodePaster...")), &QAction::triggered, this, &VcsBaseEditorWidget::slotPaste); } menu->addSeparator(); @@ -976,12 +977,12 @@ void VcsBaseEditorWidget::contextMenuEvent(QContextMenuEvent *e) // directory matches that of the patch (see findDiffFile()). In addition, // the user has "Open With" and choose the right diff editor so that // fileNameFromDiffSpecification() works. - QAction *applyAction = menu->addAction(tr("Apply Chunk...")); + QAction *applyAction = menu->addAction(Tr::tr("Apply Chunk...")); connect(applyAction, &QAction::triggered, this, [this, chunk] { slotApplyDiffChunk(chunk, PatchAction::Apply); }); // Revert a chunk from a VCS diff, which might be linked to reloading the diff. - QAction *revertAction = menu->addAction(tr("Revert Chunk...")); + QAction *revertAction = menu->addAction(Tr::tr("Revert Chunk...")); connect(revertAction, &QAction::triggered, this, [this, chunk] { slotApplyDiffChunk(chunk, PatchAction::Revert); }); diff --git a/src/plugins/vcsbase/vcsbaseeditorconfig.cpp b/src/plugins/vcsbase/vcsbaseeditorconfig.cpp index efbbb14f925..fdf8542ab32 100644 --- a/src/plugins/vcsbase/vcsbaseeditorconfig.cpp +++ b/src/plugins/vcsbase/vcsbaseeditorconfig.cpp @@ -3,6 +3,8 @@ #include "vcsbaseeditorconfig.h" +#include "vcsbasetr.h" + #include #include @@ -129,7 +131,7 @@ void VcsBaseEditorConfig::setBaseArguments(const QStringList &b) QAction *VcsBaseEditorConfig::addReloadButton() { - auto action = new QAction(Utils::Icons::RELOAD_TOOLBAR.icon(), tr("Reload"), d->m_toolBar); + auto action = new QAction(Icons::RELOAD_TOOLBAR.icon(), Tr::tr("Reload"), d->m_toolBar); connect(action, &QAction::triggered, this, &VcsBaseEditorConfig::argumentsChanged); addAction(action); return action; diff --git a/src/plugins/vcsbase/vcsbaseplugin.cpp b/src/plugins/vcsbase/vcsbaseplugin.cpp index 8ff6a8eb3d9..48af9bf8e08 100644 --- a/src/plugins/vcsbase/vcsbaseplugin.cpp +++ b/src/plugins/vcsbase/vcsbaseplugin.cpp @@ -5,6 +5,7 @@ #include "commonvcssettings.h" #include "vcsbasesubmiteditor.h" +#include "vcsbasetr.h" #include "vcsplugin.h" #include @@ -590,7 +591,7 @@ bool VcsBasePluginPrivate::enableMenuAction(ActionState as, QAction *menuAction) QString VcsBasePluginPrivate::commitDisplayName() const { - return tr("Commit", "name of \"commit\" action of the VCS."); + return Tr::tr("Commit", "name of \"commit\" action of the VCS."); } void VcsBasePluginPrivate::commitFromEditor() @@ -601,7 +602,7 @@ void VcsBasePluginPrivate::commitFromEditor() bool VcsBasePluginPrivate::promptBeforeCommit() { - return DocumentManager::saveAllModifiedDocuments(tr("Save before %1?") + return DocumentManager::saveAllModifiedDocuments(Tr::tr("Save before %1?") .arg(commitDisplayName().toLower())); } @@ -611,8 +612,8 @@ void VcsBasePluginPrivate::promptToDeleteCurrentFile() QTC_ASSERT(state.hasFile(), return); const bool rc = VcsManager::promptToDelete(this, state.currentFile()); if (!rc) - QMessageBox::warning(ICore::dialogParent(), tr("Version Control"), - tr("The file \"%1\" could not be deleted."). + QMessageBox::warning(ICore::dialogParent(), Tr::tr("Version Control"), + Tr::tr("The file \"%1\" could not be deleted."). arg(QDir::toNativeSeparators(state.currentFile())), QMessageBox::Ok); } @@ -634,29 +635,29 @@ void VcsBasePluginPrivate::createRepository() // Prompt for a directory that is not under version control yet QWidget *mw = ICore::dialogParent(); do { - directory = FileUtils::getExistingDirectory(nullptr, tr("Choose Repository Directory"), directory); + directory = FileUtils::getExistingDirectory(nullptr, Tr::tr("Choose Repository Directory"), directory); if (directory.isEmpty()) return; const IVersionControl *managingControl = VcsManager::findVersionControlForDirectory(directory); if (managingControl == nullptr) break; - const QString question = tr("The directory \"%1\" is already managed by a version control system (%2)." - " Would you like to specify another directory?") - .arg(directory.toUserOutput(), managingControl->displayName()); + const QString question = Tr::tr("The directory \"%1\" is already managed by a version control system (%2)." + " Would you like to specify another directory?") + .arg(directory.toUserOutput(), managingControl->displayName()); - if (!ask(mw, tr("Repository already under version control"), question)) + if (!ask(mw, Tr::tr("Repository already under version control"), question)) return; } while (true); // Create const bool rc = vcsCreateRepository(directory); const QString nativeDir = directory.toUserOutput(); if (rc) { - QMessageBox::information(mw, tr("Repository Created"), - tr("A version control repository has been created in %1."). + QMessageBox::information(mw, Tr::tr("Repository Created"), + Tr::tr("A version control repository has been created in %1."). arg(nativeDir)); } else { - QMessageBox::warning(mw, tr("Repository Creation Failed"), - tr("A version control repository could not be created in %1."). + QMessageBox::warning(mw, Tr::tr("Repository Creation Failed"), + Tr::tr("A version control repository could not be created in %1."). arg(nativeDir)); } } diff --git a/src/plugins/vcsbase/vcsbasesubmiteditor.cpp b/src/plugins/vcsbase/vcsbasesubmiteditor.cpp index 5a64289b1da..282609c0f71 100644 --- a/src/plugins/vcsbase/vcsbasesubmiteditor.cpp +++ b/src/plugins/vcsbase/vcsbasesubmiteditor.cpp @@ -10,6 +10,7 @@ #include "submitfieldwidget.h" #include "submitfilemodel.h" #include "vcsbaseplugin.h" +#include "vcsbasetr.h" #include "vcsoutputwindow.h" #include "vcsplugin.h" @@ -150,7 +151,7 @@ void VcsBaseSubmitEditor::setParameters(const VcsBaseSubmitEditorParameters &par d->m_file.setMimeType(QLatin1String(parameters.mimeType)); setWidget(d->m_widget); - document()->setPreferredDisplayName(QCoreApplication::translate("VCS", d->m_parameters.displayName)); + document()->setPreferredDisplayName(QCoreApplication::translate("::VcsBase", d->m_parameters.displayName)); // Message font according to settings CompletingTextEdit *descriptionEdit = d->m_widget->descriptionEdit(); @@ -184,14 +185,14 @@ void VcsBaseSubmitEditor::setParameters(const VcsBaseSubmitEditorParameters &par d->m_widget->addDescriptionEditContextMenuAction(sep); // Run check action if (!settings.submitMessageCheckScript.value().isEmpty()) { - auto checkAction = new QAction(tr("Check Message"), this); + auto checkAction = new QAction(Tr::tr("Check Message"), this); connect(checkAction, &QAction::triggered, this, &VcsBaseSubmitEditor::slotCheckSubmitMessage); d->m_widget->addDescriptionEditContextMenuAction(checkAction); } // Insert nick if (!settings.nickNameMailMap.value().isEmpty()) { - auto insertAction = new QAction(tr("Insert Name..."), this); + auto insertAction = new QAction(Tr::tr("Insert Name..."), this); connect(insertAction, &QAction::triggered, this, &VcsBaseSubmitEditor::slotInsertNickName); d->m_widget->addDescriptionEditContextMenuAction(insertAction); } @@ -453,7 +454,7 @@ void VcsBaseSubmitEditor::accept(VcsBasePluginPrivate *plugin) const bool canCommit = checkSubmitMessage(&errorMessage) && submitWidget->canSubmit(&errorMessage); if (!canCommit) { VcsOutputWindow::appendError( - tr("Cannot %1%2.", + Tr::tr("Cannot %1%2.", "%2 is an optional error message with ': ' prefix. Don't add space in front.") .arg(plugin->commitDisplayName().toLower(), errorMessage.isEmpty() ? errorMessage : ": " + errorMessage)); @@ -481,8 +482,8 @@ bool VcsBaseSubmitEditor::promptSubmit(VcsBasePluginPrivate *plugin) const QString commitName = plugin->commitDisplayName(); return QMessageBox::question(Core::ICore::dialogParent(), - tr("Close %1 %2 Editor").arg(plugin->displayName(), commitName), - tr("Closing this editor will abort the %1. Are you sure?") + Tr::tr("Close %1 %2 Editor").arg(plugin->displayName(), commitName), + Tr::tr("Closing this editor will abort the %1. Are you sure?") .arg(commitName.toLower())) == QMessageBox::Yes; } @@ -515,7 +516,7 @@ void VcsBaseSubmitEditor::slotCheckSubmitMessage() { QString errorMessage; if (!checkSubmitMessage(&errorMessage)) { - QMessageBox msgBox(QMessageBox::Warning, tr("Submit Message Check Failed"), + QMessageBox msgBox(QMessageBox::Warning, Tr::tr("Submit Message Check Failed"), errorMessage, QMessageBox::Ok, d->m_widget); msgBox.setMinimumWidth(checkDialogMinimumWidth); msgBox.exec(); @@ -537,8 +538,8 @@ static QString msgCheckScript(const FilePath &workingDir, const QString &cmd) { const QString nativeCmd = QDir::toNativeSeparators(cmd); return workingDir.isEmpty() ? - VcsBaseSubmitEditor::tr("Executing %1").arg(nativeCmd) : - VcsBaseSubmitEditor::tr("Executing [%1] %2"). + Tr::tr("Executing %1").arg(nativeCmd) : + Tr::tr("Executing [%1] %2"). arg(workingDir.toUserOutput(), nativeCmd); } diff --git a/src/plugins/vcsbase/vcsoutputformatter.cpp b/src/plugins/vcsbase/vcsoutputformatter.cpp index ddb71c92c13..512f7790d4f 100644 --- a/src/plugins/vcsbase/vcsoutputformatter.cpp +++ b/src/plugins/vcsbase/vcsoutputformatter.cpp @@ -3,6 +3,8 @@ #include "vcsoutputformatter.h" +#include "vcsbasetr.h" + #include #include #include @@ -72,12 +74,11 @@ void VcsOutputLineParser::fillLinkContextMenu( { QTC_ASSERT(!href.isEmpty(), return); if (href.startsWith("http://") || href.startsWith("https://")) { - QAction *action = menu->addAction( - tr("&Open \"%1\"").arg(href), - [href] { QDesktopServices::openUrl(QUrl(href)); }); + QAction *action = menu->addAction(Tr::tr("&Open \"%1\"").arg(href), + [href] { QDesktopServices::openUrl(QUrl(href)); }); menu->setDefaultAction(action); - menu->addAction(tr("&Copy to clipboard: \"%1\"").arg(href), - [href] { setClipboardAndSelection(href); }); + menu->addAction(Tr::tr("&Copy to clipboard: \"%1\"").arg(href), + [href] { setClipboardAndSelection(href); }); return; } if (Core::IVersionControl *vcs = Core::VcsManager::findVersionControlForDirectory(workingDirectory)) diff --git a/src/plugins/vcsbase/vcsoutputwindow.cpp b/src/plugins/vcsbase/vcsoutputwindow.cpp index 5916249ac34..245de851346 100644 --- a/src/plugins/vcsbase/vcsoutputwindow.cpp +++ b/src/plugins/vcsbase/vcsoutputwindow.cpp @@ -3,6 +3,7 @@ #include "vcsoutputwindow.h" +#include "vcsbasetr.h" #include "vcsoutputformatter.h" #include @@ -12,14 +13,12 @@ #include #include -#include +#include #include #include #include #include -#include -#include #include #include #include @@ -162,7 +161,7 @@ void OutputWindowPlainTextEdit::contextMenuEvent(QContextMenuEvent *event) repo = repo.pathAppended(token); if (repo.isFile()) { menu->addSeparator(); - openAction = menu->addAction(VcsOutputWindow::tr("Open \"%1\"").arg(repo.nativePath())); + openAction = menu->addAction(Tr::tr("Open \"%1\"").arg(repo.nativePath())); openAction->setData(repo.absoluteFilePath().toVariant()); } } @@ -170,7 +169,7 @@ void OutputWindowPlainTextEdit::contextMenuEvent(QContextMenuEvent *event) if (href.isEmpty()) { // Add 'clear' menu->addSeparator(); - clearAction = menu->addAction(VcsOutputWindow::tr("Clear")); + clearAction = menu->addAction(Tr::tr("Clear")); } // Run @@ -330,7 +329,7 @@ QWidget *VcsOutputWindow::outputWidget(QWidget *parent) QString VcsOutputWindow::displayName() const { - return tr("Version Control"); + return Tr::tr("Version Control"); } int VcsOutputWindow::priorityInStatusBar() const @@ -444,8 +443,8 @@ QString VcsOutputWindow::msgExecutionLogEntry(const FilePath &workingDir, const const QString maskedCmdline = ProcessArgs::quoteArg(command.executable().toUserOutput()) + ' ' + formatArguments(command.splitArguments()); if (workingDir.isEmpty()) - return tr("Running: %1").arg(maskedCmdline) + '\n'; - return tr("Running in %1: %2").arg(workingDir.toUserOutput(), maskedCmdline) + '\n'; + return Tr::tr("Running: %1").arg(maskedCmdline) + '\n'; + return Tr::tr("Running in %1: %2").arg(workingDir.toUserOutput(), maskedCmdline) + '\n'; } void VcsOutputWindow::appendShellCommandLine(const QString &text) diff --git a/src/plugins/vcsbase/vcsplugin.cpp b/src/plugins/vcsbase/vcsplugin.cpp index 48c534c4457..da1740d6912 100644 --- a/src/plugins/vcsbase/vcsplugin.cpp +++ b/src/plugins/vcsbase/vcsplugin.cpp @@ -7,6 +7,7 @@ #include "nicknamedialog.h" #include "vcsbaseconstants.h" #include "vcsbasesubmiteditor.h" +#include "vcsbasetr.h" #include "vcsoutputwindow.h" #include "wizard/vcscommandpage.h" #include "wizard/vcsconfigurationpage.h" @@ -85,7 +86,7 @@ bool VcsPlugin::initialize(const QStringList &arguments, QString *errorMessage) MacroExpander *expander = globalMacroExpander(); expander->registerVariable(Constants::VAR_VCS_NAME, - tr("Name of the version control system in use by the current project."), + Tr::tr("Name of the version control system in use by the current project."), []() -> QString { IVersionControl *vc = nullptr; if (Project *project = ProjectTree::currentProject()) @@ -94,7 +95,7 @@ bool VcsPlugin::initialize(const QStringList &arguments, QString *errorMessage) }); expander->registerVariable(Constants::VAR_VCS_TOPIC, - tr("The current version control topic (branch or tag) identification of the current project."), + Tr::tr("The current version control topic (branch or tag) identification of the current project."), []() -> QString { IVersionControl *vc = nullptr; FilePath topLevel; @@ -104,7 +105,7 @@ bool VcsPlugin::initialize(const QStringList &arguments, QString *errorMessage) }); expander->registerVariable(Constants::VAR_VCS_TOPLEVELPATH, - tr("The top level path to the repository the current project is in."), + Tr::tr("The top level path to the repository the current project is in."), []() -> QString { if (Project *project = ProjectTree::currentProject()) return VcsManager::findTopLevelForDirectory(project->projectDirectory()).toString(); diff --git a/src/plugins/vcsbase/wizard/vcscommandpage.cpp b/src/plugins/vcsbase/wizard/vcscommandpage.cpp index 52475ba13f9..1fef5540f40 100644 --- a/src/plugins/vcsbase/wizard/vcscommandpage.cpp +++ b/src/plugins/vcsbase/wizard/vcscommandpage.cpp @@ -5,6 +5,7 @@ #include "../vcsbaseplugin.h" #include "../vcscommand.h" +#include "../vcsbasetr.h" #include @@ -127,63 +128,63 @@ bool VcsCommandPageFactory::validateData(Id typeId, const QVariant &data, QStrin QString em; if (data.type() != QVariant::Map) - em = tr("\"data\" is no JSON object in \"VcsCommand\" page."); + em = Tr::tr("\"data\" is no JSON object in \"VcsCommand\" page."); if (em.isEmpty()) { const QVariantMap tmp = data.toMap(); QString str = tmp.value(QLatin1String(VCSCOMMAND_VCSID)).toString(); if (str.isEmpty()) { - em = tr("\"%1\" not set in \"data\" section of \"VcsCommand\" page.") + em = Tr::tr("\"%1\" not set in \"data\" section of \"VcsCommand\" page.") .arg(QLatin1String(VCSCOMMAND_VCSID)); } str = tmp.value(QLatin1String(VCSCOMMAND_REPO)).toString(); if (str.isEmpty()) { - em = tr("\"%1\" not set in \"data\" section of \"VcsCommand\" page.") + em = Tr::tr("\"%1\" not set in \"data\" section of \"VcsCommand\" page.") .arg(QLatin1String(VCSCOMMAND_REPO)); } str = tmp.value(QLatin1String(VCSCOMMAND_DIR)).toString(); if (str.isEmpty()) { - em = tr("\"%1\" not set in \"data\" section of \"VcsCommand\" page.") + em = Tr::tr("\"%1\" not set in \"data\" section of \"VcsCommand\" page.") .arg(QLatin1String(VCSCOMMAND_DIR));; } str = tmp.value(QLatin1String(VCSCOMMAND_CHECKOUTNAME)).toString(); if (str.isEmpty()) { - em = tr("\"%1\" not set in \"data\" section of \"VcsCommand\" page.") + em = Tr::tr("\"%1\" not set in \"data\" section of \"VcsCommand\" page.") .arg(QLatin1String(VCSCOMMAND_CHECKOUTNAME)); } str = tmp.value(QLatin1String(VCSCOMMAND_RUN_MESSAGE)).toString(); if (str.isEmpty()) { - em = tr("\"%1\" not set in \"data\" section of \"VcsCommand\" page.") + em = Tr::tr("\"%1\" not set in \"data\" section of \"VcsCommand\" page.") .arg(QLatin1String(VCSCOMMAND_RUN_MESSAGE)); } const QVariant extra = tmp.value(QLatin1String(VCSCOMMAND_EXTRA_ARGS)); if (!extra.isNull() && extra.type() != QVariant::String && extra.type() != QVariant::List) { - em = tr("\"%1\" in \"data\" section of \"VcsCommand\" page has unexpected type (unset, String or List).") + em = Tr::tr("\"%1\" in \"data\" section of \"VcsCommand\" page has unexpected type (unset, String or List).") .arg(QLatin1String(VCSCOMMAND_EXTRA_ARGS)); } const QVariant jobs = tmp.value(QLatin1String(VCSCOMMAND_JOBS)); if (!jobs.isNull() && extra.type() != QVariant::List) { - em = tr("\"%1\" in \"data\" section of \"VcsCommand\" page has unexpected type (unset or List).") + em = Tr::tr("\"%1\" in \"data\" section of \"VcsCommand\" page has unexpected type (unset or List).") .arg(QLatin1String(VCSCOMMAND_JOBS)); } const QVariantList jobList = jobs.toList(); for (const QVariant &j : jobList) { if (j.isNull()) { - em = tr("Job in \"VcsCommand\" page is empty."); + em = Tr::tr("Job in \"VcsCommand\" page is empty."); break; } if (j.type() != QVariant::Map) { - em = tr("Job in \"VcsCommand\" page is not an object."); + em = Tr::tr("Job in \"VcsCommand\" page is not an object."); break; } const QVariantMap &details = j.toMap(); if (details.value(QLatin1String(JOB_COMMAND)).isNull()) { - em = tr("Job in \"VcsCommand\" page has no \"%1\" set.").arg(QLatin1String(JOB_COMMAND)); + em = Tr::tr("Job in \"VcsCommand\" page has no \"%1\" set.").arg(QLatin1String(JOB_COMMAND)); break; } } @@ -209,7 +210,7 @@ bool VcsCommandPageFactory::validateData(Id typeId, const QVariant &data, QStrin */ VcsCommandPage::VcsCommandPage() - : m_startedStatus(tr("Command started...")) + : m_startedStatus(Tr::tr("Command started...")) { resize(264, 200); auto verticalLayout = new QVBoxLayout(this); @@ -222,7 +223,7 @@ VcsCommandPage::VcsCommandPage() m_statusLabel = new QLabel; verticalLayout->addWidget(m_statusLabel); - setTitle(tr("Checkout")); + setTitle(Tr::tr("Checkout")); } VcsCommandPage::~VcsCommandPage() @@ -263,44 +264,38 @@ void VcsCommandPage::delayedInitialize() VcsBasePluginPrivate *vc = static_cast( VcsManager::versionControl(Id::fromString(vcsId))); if (!vc) { - qWarning() << QCoreApplication::translate("VcsBase::VcsCommandPage", - "\"%1\" (%2) not found.") - .arg(QLatin1String(VCSCOMMAND_VCSID), vcsId); + qWarning() << Tr::tr("\"%1\" (%2) not found.") + .arg(QLatin1String(VCSCOMMAND_VCSID), vcsId); return; } if (!vc->isConfigured()) { - qWarning() << QCoreApplication::translate("VcsBase::VcsCommandPage", - "Version control \"%1\" is not configured.") - .arg(vcsId); + qWarning() << Tr::tr("Version control \"%1\" is not configured.") + .arg(vcsId); return; } if (!vc->supportsOperation(IVersionControl::InitialCheckoutOperation)) { - qWarning() << QCoreApplication::translate("VcsBase::VcsCommandPage", - "Version control \"%1\" does not support initial checkouts.") - .arg(vcsId); + qWarning() << Tr::tr("Version control \"%1\" does not support initial checkouts.") + .arg(vcsId); return; } const QString repo = wiz->expander()->expand(m_repository); if (repo.isEmpty()) { - qWarning() << QCoreApplication::translate("VcsBase::VcsCommandPage", - "\"%1\" is empty when trying to run checkout.") + qWarning() << Tr::tr("\"%1\" is empty when trying to run checkout.") .arg(QLatin1String(VCSCOMMAND_REPO)); return; } const QString base = wiz->expander()->expand(m_directory); if (!QDir(base).exists()) { - qWarning() << QCoreApplication::translate("VcsBase::VcsCommandPage", - "\"%1\" (%2) does not exist.") + qWarning() << Tr::tr("\"%1\" (%2) does not exist.") .arg(QLatin1String(VCSCOMMAND_DIR), base); return; } const QString name = wiz->expander()->expand(m_name); if (name.isEmpty()) { - qWarning() << QCoreApplication::translate("VcsBase::VcsCommandPage", - "\"%1\" is empty when trying to run checkout.") + qWarning() << Tr::tr("\"%1\" is empty when trying to run checkout.") .arg(QLatin1String(VCSCOMMAND_CHECKOUTNAME)); return; } @@ -352,7 +347,7 @@ void VcsCommandPage::delayedInitialize() void VcsCommandPage::start(VcsCommand *command) { if (!command) { - m_logPlainTextEdit->setPlainText(tr("No job running, please abort.")); + m_logPlainTextEdit->setPlainText(Tr::tr("No job running, please abort.")); return; } @@ -388,11 +383,11 @@ void VcsCommandPage::finished(bool success) if (success) { m_state = Succeeded; - message = tr("Succeeded."); + message = Tr::tr("Succeeded."); palette.setColor(QPalette::WindowText, creatorTheme()->color(Theme::TextColorNormal).name()); } else { m_state = Failed; - message = tr("Failed."); + message = Tr::tr("Failed."); palette.setColor(QPalette::WindowText, creatorTheme()->color(Theme::TextColorError).name()); } diff --git a/src/plugins/vcsbase/wizard/vcscommandpage.h b/src/plugins/vcsbase/wizard/vcscommandpage.h index 8fd9953bfa3..c36e3a76c19 100644 --- a/src/plugins/vcsbase/wizard/vcscommandpage.h +++ b/src/plugins/vcsbase/wizard/vcscommandpage.h @@ -3,15 +3,11 @@ #pragma once -#include "../vcsbase_global.h" - #include #include #include -#include - QT_BEGIN_NAMESPACE class QPlainTextEdit; class QLabel; @@ -27,8 +23,6 @@ namespace Internal { class VcsCommandPageFactory : public ProjectExplorer::JsonWizardPageFactory { - Q_DECLARE_TR_FUNCTIONS(VcsBase::Internal::VcsCommandPage) - public: VcsCommandPageFactory(); diff --git a/src/plugins/vcsbase/wizard/vcsconfigurationpage.cpp b/src/plugins/vcsbase/wizard/vcsconfigurationpage.cpp index e3bb3b3a0fd..2de42975635 100644 --- a/src/plugins/vcsbase/wizard/vcsconfigurationpage.cpp +++ b/src/plugins/vcsbase/wizard/vcsconfigurationpage.cpp @@ -3,15 +3,18 @@ #include "vcsconfigurationpage.h" -#include "../vcsbaseconstants.h" +#include "../vcsbasetr.h" #include #include #include + +#include + +#include #include #include -#include #include #include @@ -55,8 +58,7 @@ bool VcsConfigurationPageFactory::validateData(Id typeId, const QVariant &data, if (data.isNull() || data.type() != QVariant::Map) { //: Do not translate "VcsConfiguration", because it is the id of a page. - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", - "\"data\" must be a JSON object for \"VcsConfiguration\" pages."); + *errorMessage = ProjectExplorer::Tr::tr("\"data\" must be a JSON object for \"VcsConfiguration\" pages."); return false; } @@ -64,8 +66,7 @@ bool VcsConfigurationPageFactory::validateData(Id typeId, const QVariant &data, const QString vcsId = tmp.value(QLatin1String("vcsId")).toString(); if (vcsId.isEmpty()) { //: Do not translate "VcsConfiguration", because it is the id of a page. - *errorMessage = QCoreApplication::translate("ProjectExplorer::JsonWizard", - "\"VcsConfiguration\" page requires a \"vcsId\" set."); + *errorMessage = ProjectExplorer::Tr::tr("\"VcsConfiguration\" page requires a \"vcsId\" set."); return false; } return true; @@ -83,7 +84,7 @@ public: VcsConfigurationPage::VcsConfigurationPage() : d(new Internal::VcsConfigurationPagePrivate) { - setTitle(tr("Configuration")); + setTitle(Tr::tr("Configuration")); d->m_versionControl = nullptr; d->m_configureButton = new QPushButton(ICore::msgShowOptionsDialog(), this); @@ -126,7 +127,7 @@ void VcsConfigurationPage::initializePage() auto jw = qobject_cast(wizard()); if (!jw) { //: Do not translate "VcsConfiguration", because it is the id of a page. - emit reportError(tr("No version control set on \"VcsConfiguration\" page.")); + emit reportError(Tr::tr("No version control set on \"VcsConfiguration\" page.")); } const QString vcsId = jw ? jw->expander()->expand(d->m_versionControlId) : d->m_versionControlId; @@ -136,8 +137,8 @@ void VcsConfigurationPage::initializePage() const QString values = Utils::transform(VcsManager::versionControls(), [](const IVersionControl *vc) { return vc->id().toString(); }).join(", "); //: Do not translate "VcsConfiguration", because it is the id of a page. - emit reportError(tr("\"vcsId\" (\"%1\") is invalid for \"VcsConfiguration\" page. " - "Possible values are: %2.").arg(vcsId, values)); + emit reportError(Tr::tr("\"vcsId\" (\"%1\") is invalid for \"VcsConfiguration\" page. " + "Possible values are: %2.").arg(vcsId, values)); } } @@ -146,9 +147,9 @@ void VcsConfigurationPage::initializePage() d->m_configureButton->setEnabled(d->m_versionControl); if (d->m_versionControl) - setSubTitle(tr("Please configure %1 now.").arg(d->m_versionControl->displayName())); + setSubTitle(Tr::tr("Please configure %1 now.").arg(d->m_versionControl->displayName())); else - setSubTitle(tr("No known version control selected.")); + setSubTitle(Tr::tr("No known version control selected.")); } bool VcsConfigurationPage::isComplete() const