diff --git a/share/qtcreator/translations/qtcreator_cs.ts b/share/qtcreator/translations/qtcreator_cs.ts
index 375fd0d97ba..31bbd36f7af 100644
--- a/share/qtcreator/translations/qtcreator_cs.ts
+++ b/share/qtcreator/translations/qtcreator_cs.ts
@@ -527,7 +527,7 @@
- CodePaster::CodepasterPlugin
+ CodePaster
&Code Pasting
&Vkládání kódu
@@ -576,25 +576,6 @@
Empty snippet received for "%1".
Přijat prázdný úryvek pro "%1".
-
- This protocol supports no listing
- Tento protokol nepodporuje výpisy
-
-
- Waiting for items
- Čeká se na data
-
-
-
- CodePaster::PasteSelectDialog
-
- Paste:
- Vložit:
-
-
- Protocol:
- Protokol:
-
Refresh
Obnovit
@@ -607,13 +588,6 @@
This protocol does not support listing
Tento protokol nepodporuje výpisy
-
-
- CodePaster::SettingsPage
-
- Username:
- Uživatelské jméno:
-
Copy Paste URL to clipboard
Kopírovat URL do schránky
@@ -626,38 +600,6 @@
General
Obecné
-
- CodePaster
- CodePaster
-
-
- Default Protocol:
- Výchozí protokol:
-
-
- Pastebin.ca
- Pastebin.ca
-
-
- Pastebin.com
- Pastebin.com
-
-
- Code Pasting
- Vkládání kódu
-
-
- Display Output pane after sending a post
- Po odeslání ukázat výstupní tabulku
-
-
- Copy-paste URL to clipboard
- Kopírovat URL do schránky
-
-
- Default protocol:
- Výchozí protokol:
-
CommonOptionsPage
@@ -18431,7 +18373,7 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás
- CodePaster::CodePasterProtocol
+ CodePaster
No Server defined in the CodePaster preferences.
V nastavení ke CodePaster nebyl stanoven žádný server.
@@ -18444,9 +18386,6 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás
No such paste
Požadované vložení neexistuje
-
-
- CodePaster::CodePasterSettingsPage
CodePaster
CodePaster
@@ -18455,10 +18394,6 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás
<i>Note: Specify the host name for the CodePaster service without any protocol prepended (e.g. codepaster.mycompany.com).</i>
<i>Poznámka: Zadejte název hostitelského počítače (serveru) pro službu CodePaster bez protokolové předpony (například: codepaster.mycompany.com).</i>
-
- Code Pasting
- Vkládání kódu
-
Server:
Server:
@@ -21153,25 +21088,6 @@ S60 emulator run configuration default display name, %1 is base pro-File nameNastavit znovu výchozí
-
- CodePaster::FileShareProtocolSettingsWidget
-
- Form
- Formulář
-
-
- &Display:
- &Zobrazit:
-
-
- entries
- Záznamy
-
-
- The fileshare-based paster protocol allows for sharing code snippets using simple files on a shared network drive. Files are never deleted.
- Protokol vložení založený na sdílení souborů umožňuje sdílení kousků kódu pomocí jednoduchých souborů na sdílené síťové diskové jednotce. Soubory nejsou nikdy mazány.
-
-
Git::Internal::StashDialog
@@ -24218,9 +24134,6 @@ heslem, jež můžete zadat níže.
Code Pasting
Úryvky kódu
-
-
- CodePaster::FileShareProtocol
Cannot open %1: %2
Nelze otevřít soubor '%1': %2
@@ -24245,23 +24158,10 @@ heslem, jež můžete zadat níže.
Pasted: %1
Vloženo: %1
-
-
- CodePaster::FileShareProtocolSettingsPage
Fileshare
Sdílení souboru
-
-
- CodePaster::PasteBinDotComSettings
-
- Pastebin.com
- Pastebin.com
-
-
-
- CodePaster::PasteView
<Comment>
<Poznámka>
@@ -24270,9 +24170,6 @@ heslem, jež můžete zadat níže.
Paste
Vložit
-
-
- CodePaster::Protocol
%1 - Configuration Error
%1 - Chyba v nastavení
@@ -33553,15 +33450,12 @@ správy verzí (%2)
- CodePaster::PasteBinDotComProtocol
+ CodePaster
<Unknown>
Unknown user of paste.
<Neznámý>
-
-
- CodePaster::NetworkProtocol
Checking connection
Ověření spojení
@@ -44369,7 +44263,7 @@ p, li { white-space: pre-wrap; }
- CodePaster::Internal::FileShareProtocolSettingsWidget
+ CodePaster
Form
Formulář
@@ -44390,13 +44284,6 @@ p, li { white-space: pre-wrap; }
entries
záznamů
-
-
- CodePaster::Internal::PasteBinComSettingsWidget
-
- Form
- Formulář
-
<a href="http://pastebin.com">pastebin.com</a> allows for sending posts to custom subdomains (eg. creator.pastebin.com). Fill in the desired prefix.
<a href="http://pastebin.com">pastebin.com</a> dovoluje posílání uživatelsky stanovených subdomén (například creator.pastebin.com). Zadejte požadovanou předponu.
@@ -44409,9 +44296,6 @@ p, li { white-space: pre-wrap; }
<i>Note: The plugin will use this for posting as well as fetching.</i>
<i>Poznámka: Přídavný modul toto použije pro posílání a stejně tak natahování.</i>
-
-
- CodePaster::Internal::PasteSelectDialog
Protocol:
Protokol:
@@ -44420,17 +44304,10 @@ p, li { white-space: pre-wrap; }
Paste:
Vložení:
-
-
- CodePaster::Internal::ViewDialog
Send to Codepaster
Poslat na CodePaster
-
- Protocol:
- Protokol:
-
&Username:
&Uživatelské jméno:
@@ -44479,9 +44356,6 @@ p, li { white-space: pre-wrap; }
&Expires after:
&Vyprší po:
-
-
- CodePaster::Internal::SettingsPage
Display Output pane after sending a post
Po odeslání ukázat výstupní tabulku
@@ -44498,14 +44372,6 @@ p, li { white-space: pre-wrap; }
Default protocol:
Výchozí protokol:
-
- &Expires after:
- &Vyprší po:
-
-
- Days
- dnech
-
CppTools::Internal::CppFileSettingsPage
diff --git a/share/qtcreator/translations/qtcreator_da.ts b/share/qtcreator/translations/qtcreator_da.ts
index c58c2cb9f8f..d1484ae1368 100644
--- a/share/qtcreator/translations/qtcreator_da.ts
+++ b/share/qtcreator/translations/qtcreator_da.ts
@@ -5610,9 +5610,6 @@ Men brug af de afslappede og udvidet regler betyder også at der ikke kan levere
Code Pasting
Kodeindsætning
-
-
- CodePaster::AuthenticationDialog
Username:
Brugernavn:
@@ -5621,9 +5618,6 @@ Men brug af de afslappede og udvidet regler betyder også at der ikke kan levere
Password:
Adgangskode:
-
-
- CodePaster::CodepasterPlugin
&Code Pasting
&Kodeindsætning
@@ -5668,9 +5662,6 @@ Men brug af de afslappede og udvidet regler betyder også at der ikke kan levere
Empty snippet received for "%1".
Tom snippet modtaget fra "%1".
-
-
- CodePaster::FileShareProtocol
Cannot open %1: %2
Kan ikke åbne %1: %2
@@ -5691,16 +5682,10 @@ Men brug af de afslappede og udvidet regler betyder også at der ikke kan levere
Pasted: %1
Indsatte: %1
-
-
- CodePaster::FileShareProtocolSettingsPage
Fileshare
Fildeling
-
-
- CodePaster::Internal::FileShareProtocolSettingsWidget
The fileshare-based paster protocol allows for sharing code snippets using simple files on a shared network drive. Files are never deleted.
Den fildelingsbaseret indsætter-protokol giver mulighed for at dele kode-snippets ved brug af simple filer på et delt netværksdrev. Filer slettes aldrig.
@@ -5717,9 +5702,6 @@ Men brug af de afslappede og udvidet regler betyder også at der ikke kan levere
entries
poster
-
-
- CodePaster::Internal::PasteBinComSettingsWidget
<a href="http://pastebin.com">pastebin.com</a> allows for sending posts to custom subdomains (eg. creator.pastebin.com). Fill in the desired prefix.
<a href="http://pastebin.com">pastebin.com</a> giver mulighed for at sende poster til brugerdefineret underdomæner (f.eks. creator.pastebin.com). Udfyld det ønsket præfiks.
@@ -5732,9 +5714,6 @@ Men brug af de afslappede og udvidet regler betyder også at der ikke kan levere
<i>Note: The plugin will use this for posting as well as fetching.</i>
<i>Bemærk: pluginet bruger dette til både at sende og hente.</i>
-
-
- CodePaster::Internal::PasteSelectDialog
Protocol:
Protokol:
@@ -5743,9 +5722,6 @@ Men brug af de afslappede og udvidet regler betyder også at der ikke kan levere
Paste:
Indsæt:
-
-
- CodePaster::Internal::SettingsPage
Copy-paste URL to clipboard
Kopiér-indsæt URL til udklipsholder
@@ -5762,25 +5738,14 @@ Men brug af de afslappede og udvidet regler betyder også at der ikke kan levere
Display Output pane after sending a post
Vis outputrude efter afsendelse af en post
-
- Username:
- Brugernavn:
-
Days
dag(e)
-
-
- CodePaster::Internal::ViewDialog
Send to Codepaster
Send til kodeindsætter
-
- Protocol:
- Protokol:
-
&Username:
&Brugernavn:
@@ -5797,14 +5762,6 @@ Men brug af de afslappede og udvidet regler betyder også at der ikke kan levere
<Description>
<beskrivelse>
-
- Days
- dag(e)
-
-
- &Expires after:
- &Udløber efter:
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
@@ -5829,9 +5786,6 @@ p, li { white-space: pre-wrap; }
Patch 2
Patch 2
-
-
- CodePaster::KdePasteProtocol
Pasting to KDE paster needs authentication.<br/>Enter your KDE Identity credentials to continue.
Indsætning til KDE-indsætter kræver autentifikation.<br/>Indtast din KDE-identitetslegitimationsoplysninger for at fortsætte.
@@ -5840,9 +5794,6 @@ p, li { white-space: pre-wrap; }
Login failed
Indlogning mislykkedes
-
-
- CodePaster::NetworkProtocol
Pasting needs authentication.<br/>Enter your identity credentials to continue.
Indsætning kræver autentifikation.<br/>Indtast din identitetslegitimationsoplysninger for at fortsætte.
@@ -5859,9 +5810,6 @@ p, li { white-space: pre-wrap; }
Connecting to %1...
Opretter forbindelse til %1...
-
-
- CodePaster::PasteSelectDialog
Refresh
Genindlæs
@@ -5874,9 +5822,6 @@ p, li { white-space: pre-wrap; }
This protocol does not support listing
Denne protokol understøtter ikke visning
-
-
- CodePaster::PasteView
<Comment>
<kommentar>
@@ -5885,16 +5830,10 @@ p, li { white-space: pre-wrap; }
Paste
Indsæt
-
-
- CodePaster::Protocol
%1 - Configuration Error
%1 - konfigurationsfejl
-
-
- CodePaster::SettingsPage
General
Generelt
diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts
index baa5290a67b..3f62d54795a 100644
--- a/share/qtcreator/translations/qtcreator_de.ts
+++ b/share/qtcreator/translations/qtcreator_de.ts
@@ -586,7 +586,7 @@
- CodePaster::CodepasterPlugin
+ CodePaster
&Code Pasting
&Code Pasting
@@ -631,9 +631,6 @@
Empty snippet received for "%1".
Leeren Text für "%1" erhalten.
-
-
- CodePaster::PasteSelectDialog
Refresh
Aktualisieren
@@ -646,9 +643,6 @@
This protocol does not support listing
Dieses Protokoll stellt keine Liste zur Verfügung
-
-
- CodePaster::SettingsPage
General
Allgemein
@@ -10575,7 +10569,7 @@ Für CMake-Projekte stellen Sie sicher, dass die Variable QML_IMPORT_PATH in CMa
- CodePaster::PasteView
+ CodePaster
<Comment>
<Kommentar>
@@ -10733,7 +10727,7 @@ Für CMake-Projekte stellen Sie sicher, dass die Variable QML_IMPORT_PATH in CMa
- CodePaster::FileShareProtocol
+ CodePaster
Cannot open %1: %2
Die Datei %1 kann nicht geöffnet werden: %2
@@ -10754,16 +10748,10 @@ Für CMake-Projekte stellen Sie sicher, dass die Variable QML_IMPORT_PATH in CMa
Pasted: %1
Ausschnitt: %1
-
-
- CodePaster::FileShareProtocolSettingsPage
Fileshare
Dateibasiert
-
-
- CodePaster::Protocol
%1 - Configuration Error
%1 - Konfigurationsfehler
@@ -11394,7 +11382,7 @@ IDs müssen außerdem mit einem Kleinbuchstaben beginnen.
- CodePaster::NetworkProtocol
+ CodePaster
Checking connection
Prüfe Verbindung
@@ -17112,7 +17100,7 @@ Außer: %3
- CodePaster::Internal::FileShareProtocolSettingsWidget
+ CodePaster
The fileshare-based paster protocol allows for sharing code snippets using simple files on a shared network drive. Files are never deleted.
Das dateibasierte Paster-Protokoll dient zum Austausch von Textauschnitten mittels einfacher Dateien auf einem Netzlaufwerk. Die Dateien werden nicht gelöscht.
@@ -17129,9 +17117,6 @@ Außer: %3
entries
Einträge
-
-
- CodePaster::Internal::PasteBinComSettingsWidget
<a href="http://pastebin.com">pastebin.com</a> allows for sending posts to custom subdomains (eg. creator.pastebin.com). Fill in the desired prefix.
<a href="http://pastebin.com">pastebin.com</a> erlaubt das Senden an benutzerdefinierte Subdomänen (zum Beispiel creator.pastebin.com). Geben Sie das gewünschte Präfix an.
@@ -17144,9 +17129,6 @@ Außer: %3
<i>Note: The plugin will use this for posting as well as fetching.</i>
<i>Hinweis: Es wird sowohl zum Senden als auch zum Abholen verwendet.</i>
-
-
- CodePaster::Internal::PasteSelectDialog
Protocol:
Protokoll:
@@ -17155,17 +17137,10 @@ Außer: %3
Paste:
Ausschnitt:
-
-
- CodePaster::Internal::ViewDialog
Send to Codepaster
An CodePaster senden
-
- Protocol:
- Protokoll:
-
&Username:
&Nutzername:
@@ -17218,9 +17193,6 @@ p, li { white-space: pre-wrap; }
Make public:
Öffentlich machen:
-
-
- CodePaster::Internal::SettingsPage
Display Output pane after sending a post
Ausgabebereich nach Senden anzeigen
@@ -17237,14 +17209,6 @@ p, li { white-space: pre-wrap; }
Default protocol:
Vorgabeprotokoll:
-
- &Expires after:
- &Verfällt nach:
-
-
- Days
- Tagen
-
Make pasted content public by default
Hochgeladene Inhalte standardmäßig öffentlich machen
@@ -48802,7 +48766,7 @@ Wenn Sie noch keinen privaten Schlüssel besitzen, können Sie hier auch einen e
- CodePaster::DPasteDotComProtocol
+ CodePaster
%1: %2
%1: %2
diff --git a/share/qtcreator/translations/qtcreator_es.ts b/share/qtcreator/translations/qtcreator_es.ts
index 0f54c51e6d9..87c605a567b 100644
--- a/share/qtcreator/translations/qtcreator_es.ts
+++ b/share/qtcreator/translations/qtcreator_es.ts
@@ -513,7 +513,7 @@
- CodePaster::CodepasterPlugin
+ CodePaster
&CodePaster
@@ -542,9 +542,6 @@
Waiting for items
Esperando items
-
-
- CodePaster::CustomFetcher
CodePaster Error
Error de CodePaster
@@ -553,20 +550,10 @@
Could not fetch code
No se pudo obtener el código
-
-
- CodePaster::CustomPoster
-
- CodePaster Error
- Error de CodePaster
-
Some error occured while posting
Ocurrió algún error mientras se enviaba el código
-
-
- CodePaster::PasteSelectDialog
Paste:
Pegar:
@@ -576,9 +563,6 @@
Protocol:
-
-
- CodePaster::SettingsPage
CodePaster Server:
Servidor CodePaster:
@@ -12128,14 +12112,11 @@ p, li { white-space: pre-wrap; }
- CodePaster::CodePasterProtocol
+ CodePaster
No such paste
-
-
- CodePaster::CodePasterSettingsPage
CodePaster
diff --git a/share/qtcreator/translations/qtcreator_fr.ts b/share/qtcreator/translations/qtcreator_fr.ts
index e52782e72ca..477a51b6798 100644
--- a/share/qtcreator/translations/qtcreator_fr.ts
+++ b/share/qtcreator/translations/qtcreator_fr.ts
@@ -559,7 +559,7 @@
- CodePaster::CodepasterPlugin
+ CodePaster
&CodePaster
&CodePaster
@@ -617,13 +617,6 @@
This protocol supports no listing
Ce protocole ne prend en charge le listage
-
- Waiting for items
- En attente des éléments
-
-
-
- CodePaster::CustomFetcher
CodePaster Error
Erreur dans CodePaster
@@ -632,29 +625,10 @@
Could not fetch code
Impossible de récuperer le code
-
-
- CodePaster::CustomPoster
-
- CodePaster Error
- Erreur dans CodePaster
-
Some error occured while posting
Une erreur s'est produite lors de la publication
-
-
- CodePaster::PasteSelectDialog
-
- Paste:
- quelque chose de plus français pour la référence de paste?
- Collage :
-
-
- Protocol:
- Protocole :
-
Refresh
Rafraîchir
@@ -667,61 +641,10 @@
This protocol does not support listing
Ce protocole ne prend en charge le listage
-
-
- CodePaster::SettingsPage
General
Général
-
- CodePaster Server:
- Serveur CodePaster :
-
-
- Username:
- Nom d'utilisateur :
-
-
- Copy Paste URL to clipboard
- Copier l'URL dans le presse papier
-
-
- Display Output Pane after sending a post
- Afficher le résultat après publication
-
-
- CodePaster
- CodePaster
-
-
- Default Protocol:
- Protocole par défaut :
-
-
- Pastebin.ca
- Pastebin.ca
-
-
- Pastebin.com
- Pastebin.com
-
-
- Code Pasting
- Collage de code
-
-
- Display Output pane after sending a post
- Afficher le résultat après publication
-
-
- Copy-paste URL to clipboard
- Copier l'URL dans le presse papier
-
-
- Default protocol:
- Protocole par défaut :
-
CompletionSettingsPage
@@ -19088,7 +19011,7 @@ p, li { white-space: pre-wrap; }
- CodePaster::CodePasterProtocol
+ CodePaster
No Server defined in the CodePaster preferences!
Aucun serveur définit dans les préférences CodePaster !
@@ -19109,9 +19032,6 @@ p, li { white-space: pre-wrap; }
No such paste
Aucun collage de ce type
-
-
- CodePaster::CodePasterSettingsPage
CodePaster
CodePaster
@@ -19120,10 +19040,6 @@ p, li { white-space: pre-wrap; }
<i>Note: Specify the host name for the CodePaster service without any protocol prepended (e.g. codepaster.mycompany.com).</i>
<i>Note : spécifier le nom d'hôte pour le service CodePaster sans aucun protocole (par exemple, codepaster.mycompany.com).</i>
-
- Code Pasting
- Collage de code
-
Server:
Serveur :
@@ -21364,31 +21280,6 @@ S60 emulator run configuration default display name, %1 is base pro-File nameRestaurer les paramètres par défaut
-
- CodePaster::FileShareProtocolSettingsWidget
-
- Form
- Formulaire
-
-
- &Path:
- Che&min :
-
-
- &Display:
- &Afficher :
-
-
- entries
- Entrées
-
-
- The fileshare-based paster protocol allows for sharing code snippets using simple files on a shared network drive. Files are never deleted.
- J'ai traduis "fileshare". Mais la phrase me semble lourde...
-cédric : je pense qu'il faut laisser comme ça moi ou alors carrément enlever "basé sur le partage de fichiers" mais du coup on en perd en route ... (j'ai changé "Les fichiers" en "Ces fichiers", je trouve que ça fait moins pompeux.
- Le protocole de collage basé sur le partage de fichier permet de partager des fragments de code en utilisant de simples fichiers sur un disque réseau partagé. Ces fichiers ne sont jamais effacés.
-
-
Git::Internal::StashDialog
@@ -24343,9 +24234,6 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus.
Code Pasting
Collage de code
-
-
- CodePaster::FileShareProtocol
Cannot open %1: %2
Imposible d'ouvrir %1 : %2
@@ -24370,23 +24258,10 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus.
Pasted: %1
Copié : %1
-
-
- CodePaster::FileShareProtocolSettingsPage
Fileshare
Fileshare
-
-
- CodePaster::PasteBinDotComSettings
-
- Pastebin.com
- Pastebin.com
-
-
-
- CodePaster::PasteView
<Comment>
<Commentaire>
@@ -24395,9 +24270,6 @@ avec un mot de passe, que vous pouvez renseigner ci-dessus.
Paste
Coller
-
-
- CodePaster::Protocol
%1 - Configuration Error
%1 - Erreur de configuration
@@ -29168,7 +29040,7 @@ La liste du serveur était %2.
- CodePaster::NetworkProtocol
+ CodePaster
Checking connection
Vérification de la connexion
@@ -38770,7 +38642,7 @@ Would you like to overwrite them?
- CodePaster::PasteBinDotComProtocol
+ CodePaster
<Unknown>
Unknown user of paste.
@@ -43082,7 +42954,7 @@ Filtre : %2
- CodePaster::Internal::FileShareProtocolSettingsWidget
+ CodePaster
Form
Formulaire
@@ -43103,13 +42975,6 @@ Filtre : %2
entries
Entrées
-
-
- CodePaster::Internal::PasteBinComSettingsWidget
-
- Form
- Formulaire
-
<a href="http://pastebin.com">pastebin.com</a> allows for sending posts to custom subdomains (eg. creator.pastebin.com). Fill in the desired prefix.
<a href="http://pastebin.com">pastebin.com</a> permet d'envoyer d'envoyer des messages à des sous-domaines personnalisés (comme creator.pastebin.com). Remplissez le préfixe désiré.
@@ -43122,9 +42987,6 @@ Filtre : %2
<i>Note: The plugin will use this for posting as well as fetching.</i>
<i>Note : le plug-in utilisera ceci pour poster et récupérer. </i>
-
-
- CodePaster::Internal::PasteSelectDialog
Protocol:
Protocole :
@@ -43133,17 +42995,10 @@ Filtre : %2
Paste:
Collage :
-
-
- CodePaster::Internal::ViewDialog
Send to Codepaster
Envoyer sur Codepaster
-
- Protocol:
- Protocole :
-
&Username:
&Utilisateur :
@@ -43192,9 +43047,6 @@ p, li { white-space: pre-wrap; }
&Expires after:
&Expire après :
-
-
- CodePaster::Internal::SettingsPage
Display Output pane after sending a post
Afficher le résultat après publication
@@ -43211,14 +43063,6 @@ p, li { white-space: pre-wrap; }
Default protocol:
Protocole par défaut :
-
- &Expires after:
- &Expire après :
-
-
- Days
- Jours
-
CppTools::Internal::CppFileSettingsPage
diff --git a/share/qtcreator/translations/qtcreator_hr.ts b/share/qtcreator/translations/qtcreator_hr.ts
index 6ec3f67dd44..aa0101eeb40 100644
--- a/share/qtcreator/translations/qtcreator_hr.ts
+++ b/share/qtcreator/translations/qtcreator_hr.ts
@@ -2939,7 +2939,7 @@ Za to upiši ovaj prečac i jedan razmak u polje za unos mjesta, a zatim riječ
- CodePaster::Internal::FileShareProtocolSettingsWidget
+ CodePaster
The fileshare-based paster protocol allows for sharing code snippets using simple files on a shared network drive. Files are never deleted.
Protokol lijepljenja temeljen na programu za zajedničko korištenje datoteka, omogućuje dijeljenje isječaka kȏda pomoću jednostavnih datoteka na zajedničkom mrežnom pogonu. Datoteke se nikad ne brišu.
@@ -2956,9 +2956,6 @@ Za to upiši ovaj prečac i jedan razmak u polje za unos mjesta, a zatim riječ
entries
unosa
-
-
- CodePaster::Internal::PasteBinComSettingsWidget
<a href="http://pastebin.com">pastebin.com</a> allows for sending posts to custom subdomains (eg. creator.pastebin.com). Fill in the desired prefix.
<a href="http://pastebin.com">pastebin.com</a> omogućuje slanje članaka na prilagođene poddomene (npr. creator.pastebin.com). Unesi željeni prefiks.
@@ -2971,9 +2968,6 @@ Za to upiši ovaj prečac i jedan razmak u polje za unos mjesta, a zatim riječ
<i>Note: The plugin will use this for posting as well as fetching.</i>
<i>Napomena: Dodatak će koristiti prefiks za slanje i za dohvaćanje.</i>
-
-
- CodePaster::Internal::PasteSelectDialog
Protocol:
Protokol:
@@ -2982,17 +2976,10 @@ Za to upiši ovaj prečac i jedan razmak u polje za unos mjesta, a zatim riječ
Paste:
Zalijepi:
-
-
- CodePaster::Internal::ViewDialog
Send to Codepaster
Pošalji na Codepaster
-
- Protocol:
- Protokol:
-
&Username:
&Korisničko ime:
@@ -3041,9 +3028,6 @@ p, li { white-space: pre-wrap; }
Patch 2
Zakrpa 2
-
-
- CodePaster::Internal::SettingsPage
Copy-paste URL to clipboard
Kopiraj-zalijepi URL u međuspremnik
@@ -3052,10 +3036,6 @@ p, li { white-space: pre-wrap; }
Default protocol:
Zadani protokol:
-
- &Expires after:
- &Isteći će nakon:
-
Display Output pane after sending a post
Pirkaži ploču izrade nakon slanja članka
@@ -3064,10 +3044,6 @@ p, li { white-space: pre-wrap; }
Username:
Korisničko ime:
-
- Days
- dana
-
CppCodeModelInspectorDialog
@@ -20454,18 +20430,11 @@ u kontrolu verzija (%2)
- CodePaster::AuthenticationDialog
-
- Username:
- Korisničko ime:
-
+ CodePaster
Password:
Lozinka:
-
-
- CodePaster::CodepasterPlugin
&Code Pasting
&Lijepljenje kȏda
@@ -20510,9 +20479,6 @@ u kontrolu verzija (%2)
Empty snippet received for "%1".
Dobiven je prazan isječak za "%1".
-
-
- CodePaster::FileShareProtocol
Cannot open %1: %2
Nije moguće otvoriti %1: %2
@@ -20533,16 +20499,10 @@ u kontrolu verzija (%2)
Pasted: %1
Zalijepljeno: %1
-
-
- CodePaster::FileShareProtocolSettingsPage
Fileshare
Dijeljenje datoteka
-
-
- CodePaster::KdePasteProtocol
Pasting to KDE paster needs authentication.<br/>Enter your KDE Identity credentials to continue.
Za lijepljenje u KDE paster je potrebna autenticikacija.<br/>Upiši tvoje podatke za KDE identifikaciju za nastavljanje.
@@ -20551,16 +20511,10 @@ u kontrolu verzija (%2)
Login failed
Neuspjela prijava
-
-
- CodePaster::PasteCodeDotXyzProtocol
%1: %2
%1: %2
-
-
- CodePaster::PasteSelectDialog
Refresh
Aktualiziraj
@@ -20573,9 +20527,6 @@ u kontrolu verzija (%2)
This protocol does not support listing
Ovaj protokol ne podržava popis
-
-
- CodePaster::PasteView
<Comment>
<Komentar>
@@ -20584,16 +20535,10 @@ u kontrolu verzija (%2)
Paste
Zalijepi
-
-
- CodePaster::Protocol
%1 - Configuration Error
%1 – Greška u konfiguraciji
-
-
- CodePaster::NetworkProtocol
Pasting needs authentication.<br/>Enter your identity credentials to continue.
Za lijepljenje je potrebna autenticikacija.<br/>Upiši tvoje podatke za identifikaciju za nastavljanje.
@@ -20610,16 +20555,10 @@ u kontrolu verzija (%2)
Connecting to %1...
Povezivanje na %1 …
-
-
- CodePaster::SettingsPage
General
Opće
-
-
- CodePaster
Code Pasting
Lijepljenje kȏda
diff --git a/share/qtcreator/translations/qtcreator_hu.ts b/share/qtcreator/translations/qtcreator_hu.ts
index 3a476f8ef75..191fbb524f5 100644
--- a/share/qtcreator/translations/qtcreator_hu.ts
+++ b/share/qtcreator/translations/qtcreator_hu.ts
@@ -853,7 +853,7 @@
- CodePaster::0
+ CodePaster
&CodePaster
&KódBeillesztő
@@ -918,9 +918,6 @@
CodePaster
KódBeillesztés
-
-
- CodePaster::CodePasterProtocol
No Server defined in the CodePaster preferences.
Nincsen szerver definiálva a KódBeillesztő beállításokban.
@@ -933,9 +930,6 @@
No such paste
Nincs ilyen beillesztés
-
-
- CodePaster::CodePasterSettingsPage
CodePaster
KódBeillesztés
@@ -952,9 +946,6 @@
Note: Specify the host name for the CodePaster service without any protocol prepended (e.g. codepaster.mycompany.com).
Megjegyzés: Határozza meg a hosz nevet a KódBeillesztő szolgáltatás számára. (például codepaster.mycompany.com).
-
-
- CodePaster::CodepasterPlugin
&Code Pasting
&Kód beillesztés
@@ -983,9 +974,6 @@
Waiting for items
Elemekre várakozás
-
-
- CodePaster::PasteSelectDialog
Protocol:
Protokoll:
@@ -994,9 +982,6 @@
Paste:
Beillesztés:
-
-
- CodePaster::SettingsPage
General
Általános
@@ -1005,10 +990,6 @@
Default Protocol:
Alapértelmezett protokoll:
-
- CodePaster
- KódBeillesztés
-
Pastebin.ca
Pastebin.ca
@@ -1029,10 +1010,6 @@
Display Output Pane after sending a post
Kimeneti panel kijelzése egy küldés után
-
- Code Pasting
- Kód beillesztés
-
CommonOptionsPage
diff --git a/share/qtcreator/translations/qtcreator_it.ts b/share/qtcreator/translations/qtcreator_it.ts
index 89996eb4c86..98c5e2e5c14 100644
--- a/share/qtcreator/translations/qtcreator_it.ts
+++ b/share/qtcreator/translations/qtcreator_it.ts
@@ -531,7 +531,7 @@
- CodePaster::CodepasterPlugin
+ CodePaster
&CodePaster
&CodePaster
@@ -560,9 +560,6 @@
Waiting for items
Sto aspettando gli elementi
-
-
- CodePaster::CustomFetcher
CodePaster Error
Errore CodePaster
@@ -571,20 +568,10 @@
Could not fetch code
Non riesco a caricare il codice
-
-
- CodePaster::CustomPoster
-
- CodePaster Error
- Errore CodePaster
-
Some error occured while posting
C'è stato un errore nella spedizione
-
-
- CodePaster::PasteSelectDialog
Paste:
Incolla:
@@ -594,9 +581,6 @@
Protocol:
-
-
- CodePaster::SettingsPage
CodePaster Server:
Server CodePaster:
@@ -11981,14 +11965,11 @@ p, li { white-space: pre-wrap; }
- CodePaster::CodePasterProtocol
+ CodePaster
No such paste
-
-
- CodePaster::CodePasterSettingsPage
CodePaster
CodePaster
diff --git a/share/qtcreator/translations/qtcreator_ja.ts b/share/qtcreator/translations/qtcreator_ja.ts
index fe955d4fdd7..3c5af372adc 100644
--- a/share/qtcreator/translations/qtcreator_ja.ts
+++ b/share/qtcreator/translations/qtcreator_ja.ts
@@ -1814,7 +1814,7 @@ Local pulls are not applied to the master branch.
- CodePaster::Internal::FileShareProtocolSettingsWidget
+ CodePaster
Form
フォーム
@@ -1835,13 +1835,6 @@ Local pulls are not applied to the master branch.
entries
エントリ
-
-
- CodePaster::Internal::PasteBinComSettingsWidget
-
- Form
- フォーム
-
<a href="http://pastebin.com">pastebin.com</a> allows for sending posts to custom subdomains (eg. creator.pastebin.com). Fill in the desired prefix.
<a href="http://pastebin.com">pastebin.com</a> は、独自のサブドメイン(例:creator.pastebin.com)に送信する事もできます。希望するプレフィックスを入力してください。
@@ -1854,9 +1847,6 @@ Local pulls are not applied to the master branch.
<i>Note: The plugin will use this for posting as well as fetching.</i>
<i>注意: プラグインは受信時だけでなく送信時にも、この設定を使用します。</i>
-
-
- CodePaster::Internal::PasteSelectDialog
Protocol:
プロトコル:
@@ -1865,17 +1855,10 @@ Local pulls are not applied to the master branch.
Paste:
貼り付け:
-
-
- CodePaster::Internal::ViewDialog
Send to Codepaster
Codepaster に送る
-
- Protocol:
- プロトコル:
-
&Username:
ユーザー名(&U):
@@ -1928,9 +1911,6 @@ p, li { white-space: pre-wrap; }
Make public:
公開する:
-
-
- CodePaster::Internal::SettingsPage
Copy-paste URL to clipboard
貼り付けた URL をクリップボードにコピーする
@@ -1939,10 +1919,6 @@ p, li { white-space: pre-wrap; }
Default protocol:
既定のプロトコル:
-
- &Expires after:
- 有効期間(&E):
-
Display Output pane after sending a post
送信後にアウトプットペインを表示する
@@ -1951,10 +1927,6 @@ p, li { white-space: pre-wrap; }
Username:
ユーザー名:
-
- Days
- 日
-
Make pasted content public by default
貼り付けたコンテンツをデフォルトで公開
@@ -14827,9 +14799,6 @@ to version control (%2)
Code Pasting
コード貼り付け
-
-
- CodePaster::CodepasterPlugin
&Code Pasting
コード貼り付け(&C)
@@ -14874,9 +14843,6 @@ to version control (%2)
Empty snippet received for "%1".
"%1" から空のテンプレートを受信しました。
-
-
- CodePaster::FileShareProtocol
Cannot open %1: %2
%1 を開けません: %2
@@ -14897,16 +14863,10 @@ to version control (%2)
Pasted: %1
貼り付け: %1
-
-
- CodePaster::FileShareProtocolSettingsPage
Fileshare
Fileshare
-
-
- CodePaster::PasteSelectDialog
Refresh
更新
@@ -14919,9 +14879,6 @@ to version control (%2)
This protocol does not support listing
このプロトコルは一覧表示をサポートしていません
-
-
- CodePaster::PasteView
<Comment>
<コメント>
@@ -14930,16 +14887,10 @@ to version control (%2)
Paste
貼り付け
-
-
- CodePaster::Protocol
%1 - Configuration Error
%1 - 設定エラー
-
-
- CodePaster::NetworkProtocol
Checking connection
接続の確認
@@ -14948,9 +14899,6 @@ to version control (%2)
Connecting to %1...
%1 に接続中...
-
-
- CodePaster::SettingsPage
General
一般
diff --git a/share/qtcreator/translations/qtcreator_pl.ts b/share/qtcreator/translations/qtcreator_pl.ts
index 01f3e91bd11..23080705b2f 100644
--- a/share/qtcreator/translations/qtcreator_pl.ts
+++ b/share/qtcreator/translations/qtcreator_pl.ts
@@ -317,7 +317,7 @@
- CodePaster::PasteSelectDialog
+ CodePaster
Refresh
Odśwież
@@ -330,9 +330,6 @@
This protocol does not support listing
Ten protokół nie obsługuje wyświetlania zawartości
-
-
- CodePaster::SettingsPage
General
Ogólne
@@ -2766,7 +2763,7 @@ Kontynuować?
- CodePaster::CodepasterPlugin
+ CodePaster
&Code Pasting
Wklejanie &kodu
@@ -10989,9 +10986,6 @@ Dla projektów CMake, upewnij się, że zmienna QML_IMPORT_PATH jest obecna w CM
Code Pasting
Wklejanie kodu
-
-
- CodePaster::PasteView
<Comment>
<Komentarz>
@@ -12316,7 +12310,7 @@ które można ustawić poniżej.
- CodePaster::FileShareProtocol
+ CodePaster
Cannot open %1: %2
Nie można otworzyć %1: %2
@@ -12337,16 +12331,10 @@ które można ustawić poniżej.
Pasted: %1
Wklejono: %1
-
-
- CodePaster::FileShareProtocolSettingsPage
Fileshare
Fileshare
-
-
- CodePaster::Protocol
%1 - Configuration Error
%1 - Błąd konfiguracji
@@ -13127,7 +13115,7 @@ Lista serwera: %2.
- CodePaster::NetworkProtocol
+ CodePaster
Checking connection
Sprawdzanie połączenia
@@ -19398,7 +19386,7 @@ Wykluczenia: %3
- CodePaster::Internal::FileShareProtocolSettingsWidget
+ CodePaster
Form
Formularz
@@ -19419,13 +19407,6 @@ Wykluczenia: %3
entries
wpisów
-
-
- CodePaster::Internal::PasteBinComSettingsWidget
-
- Form
- Formularz
-
<a href="http://pastebin.com">pastebin.com</a> allows for sending posts to custom subdomains (eg. creator.pastebin.com). Fill in the desired prefix.
<a href="http://pastebin.com">pastebin.com</a> pozwala wysyłać fragmenty kodu do własnych poddomen (np. creator.pastebin.com). Podaj przedrostek serwera.
@@ -19438,9 +19419,6 @@ Wykluczenia: %3
<i>Note: The plugin will use this for posting as well as fetching.</i>
<i>Uwaga: wtyczka użyje go zarówno do wysyłania jak i pobierania fragmentów kodu.</i>
-
-
- CodePaster::Internal::PasteSelectDialog
Protocol:
Protokół:
@@ -19449,17 +19427,10 @@ Wykluczenia: %3
Paste:
Wklej:
-
-
- CodePaster::Internal::ViewDialog
Send to Codepaster
Wyślij do Codepaster
-
- Protocol:
- Protokół:
-
&Username:
Nazwa &użytkownika:
@@ -19508,9 +19479,6 @@ p, li { white-space: pre-wrap; }
Days
Dni
-
-
- CodePaster::Internal::SettingsPage
Display Output pane after sending a post
Pokazuj panel z komunikatami po wysłaniu kodu
@@ -19527,14 +19495,6 @@ p, li { white-space: pre-wrap; }
Default protocol:
Domyślny protokół:
-
- &Expires after:
- Okr&es ważności:
-
-
- Days
- Dni
-
CppTools::Internal::CppFileSettingsPage
@@ -41850,18 +41810,11 @@ Błąd: %2
- CodePaster::AuthenticationDialog
-
- Username:
- Nazwa użytkownika:
-
+ CodePaster
Password:
Hasło:
-
-
- CodePaster::KdePasteProtocol
Pasting to KDE paster needs authentication.<br/>Enter your KDE Identity credentials to continue.
diff --git a/share/qtcreator/translations/qtcreator_ru.ts b/share/qtcreator/translations/qtcreator_ru.ts
index e57961385d6..f98f65589d6 100644
--- a/share/qtcreator/translations/qtcreator_ru.ts
+++ b/share/qtcreator/translations/qtcreator_ru.ts
@@ -8351,9 +8351,6 @@ Set a valid executable first.
Code Pasting
Вставка кода
-
-
- CodePaster::CodepasterPlugin
&Code Pasting
Вставка &Кода
@@ -8398,16 +8395,10 @@ Set a valid executable first.
Empty snippet received for "%1".
Для «%1» получен пустой фрагмент.
-
-
- CodePaster::DPasteDotComProtocol
%1: %2
%1: %2
-
-
- CodePaster::FileShareProtocol
Cannot open %1: %2
Не удалось открыть %1: %2
@@ -8428,16 +8419,10 @@ Set a valid executable first.
Pasted: %1
Вставлен: %1
-
-
- CodePaster::FileShareProtocolSettingsPage
Fileshare
Общие файлы
-
-
- CodePaster::Internal::FileShareProtocolSettingsWidget
The fileshare-based paster protocol allows for sharing code snippets using simple files on a shared network drive. Files are never deleted.
Протокол на базе общих файлов позволяет публиковать фрагменты кода используя обычные файлы на общем сетевом диске. Файлы никогда не удаляются.
@@ -8454,9 +8439,6 @@ Set a valid executable first.
entries
записей
-
-
- CodePaster::Internal::PasteBinComSettingsWidget
<a href="http://pastebin.com">pastebin.com</a> allows for sending posts to custom subdomains (eg. creator.pastebin.com). Fill in the desired prefix.
<a href="http://pastebin.com">pastebin.com</a> позволяет отправлять данные на пользовательские субдомены (например, creator.pastebin.com). Поэтому укажите желаемый префикс.
@@ -8469,9 +8451,6 @@ Set a valid executable first.
<i>Note: The plugin will use this for posting as well as fetching.</i>
<i>Модуль будет использовать префикс, как для отправки, так и для получения.</i>
-
-
- CodePaster::Internal::PasteSelectDialog
Protocol:
Протокол:
@@ -8480,9 +8459,6 @@ Set a valid executable first.
Paste:
Вставить:
-
-
- CodePaster::Internal::SettingsPage
Display Output pane after sending a post
Отправив данные, показать окно вывода
@@ -8511,17 +8487,10 @@ Set a valid executable first.
Make pasted content public by default
По умолчанию публиковать вставляемую информацию
-
-
- CodePaster::Internal::ViewDialog
Send to Codepaster
Отправить в Codepaster
-
- Protocol:
- Протокол:
-
&Username:
&Пользователь:
@@ -8560,21 +8529,10 @@ p, li { white-space: pre-wrap; }
Patch 2
-
- &Expires after:
- &Истекает через:
-
-
- Days
- дней
-
Make public:
Публиковать:
-
-
- CodePaster::NetworkProtocol
Checking connection
Проверка соединения
@@ -8583,9 +8541,6 @@ p, li { white-space: pre-wrap; }
Connecting to %1...
Подключение к %1...
-
-
- CodePaster::PasteSelectDialog
Refresh
Обновить
@@ -8598,9 +8553,6 @@ p, li { white-space: pre-wrap; }
This protocol does not support listing
Данный протокол не поддерживает получение списка
-
-
- CodePaster::PasteView
Paste
Вставить
@@ -8609,16 +8561,10 @@ p, li { white-space: pre-wrap; }
<Comment>
<Комментарий>
-
-
- CodePaster::Protocol
%1 - Configuration Error
%1 - ошибка конфигурации
-
-
- CodePaster::SettingsPage
General
Основное
diff --git a/share/qtcreator/translations/qtcreator_sl.ts b/share/qtcreator/translations/qtcreator_sl.ts
index d84625d9ddc..da207332c60 100644
--- a/share/qtcreator/translations/qtcreator_sl.ts
+++ b/share/qtcreator/translations/qtcreator_sl.ts
@@ -467,7 +467,7 @@
- CodePaster::CodepasterPlugin
+ CodePaster
&Code Pasting
&Lepljenje kode
@@ -496,9 +496,6 @@
Empty snippet received for "%1".
Za »%1« je bil prejet prazen izrezek.
-
-
- CodePaster::PasteSelectDialog
Paste:
Prilepi:
@@ -520,9 +517,6 @@
This protocol does not support listing
Protokol ne podpira izpisa seznama
-
-
- CodePaster::SettingsPage
Username:
Uporabniško ime:
@@ -12253,7 +12247,7 @@ Za uporabo v polje Iskalnika vtipkajte to bližnjico in presledek ter nato iskan
- CodePaster::CodePasterProtocol
+ CodePaster
No Server defined in the CodePaster preferences.
V nastavitvah za CodePaster ni določenega nobenega strežnika.
@@ -12266,9 +12260,6 @@ Za uporabo v polje Iskalnika vtipkajte to bližnjico in presledek ter nato iskan
No such paste
Tak prilepek ne obstaja
-
-
- CodePaster::CodePasterSettingsPage
CodePaster
CodePaster
@@ -13605,7 +13596,7 @@ Razlog: %2
- CodePaster::FileShareProtocolSettingsWidget
+ CodePaster
Form
Obrazec
@@ -15641,9 +15632,6 @@ Desetiška predznačena vrednost (najprej veliki konec): %4
Code Pasting
Prilepljanje kode
-
-
- CodePaster::FileShareProtocol
Cannot open %1: %2
Ni moč odpreti %1: %2
@@ -15668,23 +15656,14 @@ Desetiška predznačena vrednost (najprej veliki konec): %4
Unable to open a file for writing in %1: %2
Datoteke ni moč odpreti za pisanje v %1: %2
-
-
- CodePaster::FileShareProtocolSettingsPage
Fileshare
Fileshare
-
-
- CodePaster::PasteBinDotComSettings
Pastebin.com
Pastebin.com
-
-
- CodePaster::PasteView
<Comment>
<komentar>
@@ -15693,9 +15672,6 @@ Desetiška predznačena vrednost (najprej veliki konec): %4
Paste
Prilepi
-
-
- CodePaster::Protocol
%1 - Configuration Error
%1 - Napaka pri nastavitvi
@@ -23045,16 +23021,13 @@ Vedite: to lahko odstrani krajevno datoteko.
- CodePaster::PasteBinDotComProtocol
+ CodePaster
<Unknown>
Unknown user of paste.
<neznano>
-
-
- CodePaster::NetworkProtocol
Checking connection
Preverjanje povezave
diff --git a/share/qtcreator/translations/qtcreator_uk.ts b/share/qtcreator/translations/qtcreator_uk.ts
index 8540a1e01ac..d1eac66034b 100644
--- a/share/qtcreator/translations/qtcreator_uk.ts
+++ b/share/qtcreator/translations/qtcreator_uk.ts
@@ -1314,9 +1314,6 @@ Local pulls are not applied to the master branch.
Code Pasting
Вставка коду
-
-
- CodePaster::CodePasterProtocol
No Server defined in the CodePaster preferences.
Не вказано сервер в налаштуваннях CodePaster.
@@ -1329,9 +1326,6 @@ Local pulls are not applied to the master branch.
No such paste
Немає такої вставки
-
-
- CodePaster::CodePasterSettingsPage
CodePaster
CodePaster
@@ -1344,9 +1338,6 @@ Local pulls are not applied to the master branch.
<i>Note: Specify the host name for the CodePaster service without any protocol prepended (e.g. codepaster.mycompany.com).</i>
<i>Примітка: Задайте назву вузла сервісу, не вказуючи протокол (наприклад. codepaster.mycompany.com).</i>
-
-
- CodePaster::CodepasterPlugin
&Code Pasting
Вставка &коду
@@ -1395,9 +1386,6 @@ Local pulls are not applied to the master branch.
Empty snippet received for "%1".
Отримано порожній фрагмент для "%1".
-
-
- CodePaster::FileShareProtocol
Cannot open %1: %2
Неможливо відкрити %1: %2
@@ -1418,16 +1406,10 @@ Local pulls are not applied to the master branch.
Pasted: %1
Вставлено: %1
-
-
- CodePaster::FileShareProtocolSettingsPage
Fileshare
Fileshare
-
-
- CodePaster::NetworkProtocol
Checking connection
Перевірка підключення
@@ -1436,9 +1418,6 @@ Local pulls are not applied to the master branch.
Connecting to %1...
Підключення до %1...
-
-
- CodePaster::PasteSelectDialog
Refresh
Оновити
@@ -1451,9 +1430,6 @@ Local pulls are not applied to the master branch.
This protocol does not support listing
Цей протокол не підтримує отримання списку
-
-
- CodePaster::PasteView
<Comment>
<Коментар>
@@ -1462,9 +1438,6 @@ Local pulls are not applied to the master branch.
Paste
Вставити
-
-
- CodePaster::Protocol
%1 - Configuration Error
%1 - помилка конфігурації
@@ -1473,9 +1446,6 @@ Local pulls are not applied to the master branch.
Settings...
Налаштування...
-
-
- CodePaster::SettingsPage
General
Загальне
@@ -24729,7 +24699,7 @@ With cache simulation, further event counters are enabled:
- CodePaster::Internal::FileShareProtocolSettingsWidget
+ CodePaster
Form
Форма
@@ -24750,13 +24720,6 @@ With cache simulation, further event counters are enabled:
entries
елементів
-
-
- CodePaster::Internal::PasteBinComSettingsWidget
-
- Form
- Форма
-
<a href="http://pastebin.com">pastebin.com</a> allows for sending posts to custom subdomains (eg. creator.pastebin.com). Fill in the desired prefix.
<a href="http://pastebin.com">pastebin.com</a> дозволяє надсилати дані до піддоменів користувача (наприклад. creator.pastebin.com). Вкажіть бажаний префікс.
@@ -24769,9 +24732,6 @@ With cache simulation, further event counters are enabled:
<i>Note: The plugin will use this for posting as well as fetching.</i>
<i>Примітка: Додаток буде використовувати цей префікс і для отримання даних.</i>
-
-
- CodePaster::Internal::PasteSelectDialog
Protocol:
Протокол:
@@ -24780,17 +24740,10 @@ With cache simulation, further event counters are enabled:
Paste:
Вставка:
-
-
- CodePaster::Internal::ViewDialog
Send to Codepaster
Надіслати до Codepaster
-
- Protocol:
- Протокол:
-
&Username:
&Ім'я користувача:
@@ -24843,9 +24796,6 @@ p, li { white-space: pre-wrap; }
Days
днів
-
-
- CodePaster::Internal::SettingsPage
Display Output pane after sending a post
Показати панель виведення після надсилання
@@ -24862,18 +24812,6 @@ p, li { white-space: pre-wrap; }
Default protocol:
Типовий протокол:
-
- &Expires after:
- &Застаріє через:
-
-
- Days
- днів
-
-
- Days
- днів
-
CppTools::Internal::CppFileSettingsPage
diff --git a/share/qtcreator/translations/qtcreator_zh_CN.ts b/share/qtcreator/translations/qtcreator_zh_CN.ts
index da0ac9eea7e..9c5aea526b5 100644
--- a/share/qtcreator/translations/qtcreator_zh_CN.ts
+++ b/share/qtcreator/translations/qtcreator_zh_CN.ts
@@ -622,7 +622,7 @@
- CodePaster::CodepasterPlugin
+ CodePaster
&Code Pasting
粘贴代码(&C)
@@ -671,25 +671,6 @@
Empty snippet received for "%1".
"%1"接收到空的片段。
-
- This protocol supports no listing
- 此协议不支持listing
-
-
- Waiting for items
- 等待数据项
-
-
-
- CodePaster::PasteSelectDialog
-
- Paste:
- 粘贴:
-
-
- Protocol:
- 协议:
-
Refresh
刷新
@@ -702,13 +683,6 @@
This protocol does not support listing
此协议不支持列表
-
-
- CodePaster::SettingsPage
-
- Username:
- 用户名:
-
Copy Paste URL to clipboard
复制URL到剪贴板
@@ -721,30 +695,6 @@
General
概要
-
- CodePaster
- CodePaster
-
-
- Default Protocol:
- 默认协议:
-
-
- Code Pasting
- 代码粘贴
-
-
- Default protocol:
- 默认协议:
-
-
- Display Output pane after sending a post
- 发送后显示输出对话框
-
-
- Copy-paste URL to clipboard
- 复制/粘帖URL到剪贴板
-
CompletionSettingsPage
@@ -17629,7 +17579,7 @@ Will not be applied to whitespace in comments and strings.
- CodePaster::CodePasterProtocol
+ CodePaster
No Server defined in the CodePaster preferences.
在CodePaster首选项中没有定义服务器。
@@ -17642,9 +17592,6 @@ Will not be applied to whitespace in comments and strings.
No such paste
没有相关粘贴
-
-
- CodePaster::CodePasterSettingsPage
CodePaster
CodePaster
@@ -17653,10 +17600,6 @@ Will not be applied to whitespace in comments and strings.
<i>Note: Specify the host name for the CodePaster service without any protocol prepended (e.g. codepaster.mycompany.com).</i>
<i>注意: 为CodePaster服务指定主机名,不包括任何协议前缀。(如 codepaster.mycompany.com).</i>
-
- Code Pasting
- 代码粘贴
-
Server:
服务器:
@@ -22262,14 +22205,11 @@ Previous decimal signed value (big endian): %4
- CodePaster::PasteBinDotComSettings
+ CodePaster
Pastebin.com
Pastebin.com
-
-
- CodePaster::PasteView
<Comment>
<注释>
@@ -25493,30 +25433,6 @@ Preselects Qt for Simulator and mobile targets if available
关于Bauhaus
-
- CodePaster::FileShareProtocolSettingsWidget
-
- Form
- 界面
-
-
- &Path:
- 路径(&P):
-
-
- &Display:
- 显示(&D):
-
-
- entries
- 项
-
-
- The fileshare-based paster protocol allows for sharing code snippets using simple files on a shared network drive. Files are never deleted.
- 文件共享剪贴板允许在共享的驱动器上共享代码片段.
-文件永远不会被删除.
-
-
StartExternalQmlDialog
@@ -25757,7 +25673,7 @@ with a password, which you can enter below.
- CodePaster::FileShareProtocol
+ CodePaster
Cannot open %1: %2
无法打开%1 : %2
@@ -25782,16 +25698,10 @@ with a password, which you can enter below.
Pasted: %1
粘贴了 "%1"
-
-
- CodePaster::FileShareProtocolSettingsPage
Fileshare
文件共享
-
-
- CodePaster::Protocol
%1 - Configuration Error
%1 - 配置错误
@@ -27839,7 +27749,7 @@ Server list was %2.
- CodePaster::NetworkProtocol
+ CodePaster
Checking connection
正在检查连接
@@ -38744,7 +38654,7 @@ stderr was: %1
- CodePaster::PasteBinDotComProtocol
+ CodePaster
<Unknown>
Unknown user of paste.
@@ -41705,7 +41615,7 @@ This option is useful when you want to try your application on devices which don
- CodePaster::Internal::FileShareProtocolSettingsWidget
+ CodePaster
Form
界面
@@ -41726,13 +41636,6 @@ This option is useful when you want to try your application on devices which don
entries
项
-
-
- CodePaster::Internal::PasteBinComSettingsWidget
-
- Form
- 界面
-
<a href="http://pastebin.com">pastebin.com</a> allows for sending posts to custom subdomains (eg. creator.pastebin.com). Fill in the desired prefix.
<a href="http://pastebin.com">pastebin.com</a> 允许发送主题到自定义子域名,(比如. creator.pastebin.com),请输入您希望的前缀。
@@ -41745,9 +41648,6 @@ This option is useful when you want to try your application on devices which don
<i>Note: The plugin will use this for posting as well as fetching.</i>
<i>注意: 插件将会使用它来获取和发布。</i>
-
-
- CodePaster::Internal::PasteSelectDialog
Protocol:
协议:
@@ -41756,17 +41656,10 @@ This option is useful when you want to try your application on devices which don
Paste:
粘贴:
-
-
- CodePaster::Internal::ViewDialog
Send to Codepaster
发送到CodePaster
-
- Protocol:
- 协议:
-
&Username:
用户名(&U):
@@ -41807,9 +41700,6 @@ p, li { white-space: pre-wrap; }
Patch 2
Patch 2
-
-
- CodePaster::Internal::SettingsPage
Display Output pane after sending a post
发送后显示输出对话框
diff --git a/share/qtcreator/translations/qtcreator_zh_TW.ts b/share/qtcreator/translations/qtcreator_zh_TW.ts
index 772519edca7..0cff87067cb 100644
--- a/share/qtcreator/translations/qtcreator_zh_TW.ts
+++ b/share/qtcreator/translations/qtcreator_zh_TW.ts
@@ -346,7 +346,7 @@
- CodePaster::CodepasterPlugin
+ CodePaster
&Code Pasting
貼上代碼(&C)
@@ -395,9 +395,6 @@
Empty snippet received for "%1".
接收到 "%1" 的空片段。
-
-
- CodePaster::PasteSelectDialog
Refresh
刷新
@@ -410,9 +407,6 @@
This protocol does not support listing
此協定不支援列表
-
-
- CodePaster::SettingsPage
General
一般
@@ -10709,7 +10703,7 @@ Will not be applied to whitespace in comments and strings.
- CodePaster::CodePasterProtocol
+ CodePaster
No Server defined in the CodePaster preferences.
在 CodePaster 喜好設定中沒有定義伺服器。
@@ -10722,9 +10716,6 @@ Will not be applied to whitespace in comments and strings.
No such paste
沒有相關貼上內容
-
-
- CodePaster::CodePasterSettingsPage
CodePaster
CodePaster
@@ -13034,7 +13025,7 @@ For qmlproject projects, use the importPaths property to add import paths.
- CodePaster::PasteView
+ CodePaster
<Comment>
<註解>
@@ -14698,7 +14689,7 @@ with a password, which you can enter below.
- CodePaster::FileShareProtocol
+ CodePaster
Cannot open %1: %2
無法開啟 %1:%2
@@ -14719,16 +14710,10 @@ with a password, which you can enter below.
Pasted: %1
已貼上:%1
-
-
- CodePaster::FileShareProtocolSettingsPage
Fileshare
檔案共享
-
-
- CodePaster::Protocol
%1 - Configuration Error
%1 - 設置錯誤
@@ -16062,7 +16047,7 @@ Server list was %2.
- CodePaster::NetworkProtocol
+ CodePaster
Checking connection
正在檢查連線
@@ -26305,7 +26290,7 @@ Filter: %2
- CodePaster::Internal::FileShareProtocolSettingsWidget
+ CodePaster
Form
表單
@@ -26327,13 +26312,6 @@ Filter: %2
entries
條目
-
-
- CodePaster::Internal::PasteBinComSettingsWidget
-
- Form
- 表單
-
<a href="http://pastebin.com">pastebin.com</a> allows for sending posts to custom subdomains (eg. creator.pastebin.com). Fill in the desired prefix.
<a href="http://pastebin.com">pastebin.com</a> 允許傳送主題到自定義子域名,(比如. creator.pastebin.com). 輸入你希望的前綴.
@@ -26346,9 +26324,6 @@ Filter: %2
<i>Note: The plugin will use this for posting as well as fetching.</i>
<i>注意:外掛程式將會使用此項來發佈與抓取。</i>
-
-
- CodePaster::Internal::PasteSelectDialog
Protocol:
協定:
@@ -26357,17 +26332,10 @@ Filter: %2
Paste:
貼上:
-
-
- CodePaster::Internal::ViewDialog
Send to Codepaster
傳送至 CodePaster
-
- Protocol:
- 協定:
-
&Username:
使用者名稱(&U):
@@ -26408,9 +26376,6 @@ p, li { white-space: pre-wrap; }
Patch 2
Patch 2
-
-
- CodePaster::Internal::SettingsPage
Display Output pane after sending a post
發送後顯示輸出窗格
diff --git a/src/plugins/cpaster/cpasterplugin.cpp b/src/plugins/cpaster/cpasterplugin.cpp
index eaeb1e5c302..edc3913ccdc 100644
--- a/src/plugins/cpaster/cpasterplugin.cpp
+++ b/src/plugins/cpaster/cpasterplugin.cpp
@@ -3,6 +3,7 @@
#include "cpasterplugin.h"
+#include "cpastertr.h"
#include "dpastedotcomprotocol.h"
#include "fileshareprotocol.h"
#include "pastebindotcomprotocol.h"
@@ -44,8 +45,6 @@ namespace CodePaster {
class CodePasterPluginPrivate : public QObject
{
- Q_DECLARE_TR_FUNCTIONS(CodePaster::CodepasterPlugin)
-
public:
CodePasterPluginPrivate();
@@ -149,24 +148,24 @@ CodePasterPluginPrivate::CodePasterPluginPrivate()
ActionContainer *toolsContainer = ActionManager::actionContainer(Core::Constants::M_TOOLS);
ActionContainer *cpContainer = ActionManager::createMenu("CodePaster");
- cpContainer->menu()->setTitle(tr("&Code Pasting"));
+ cpContainer->menu()->setTitle(Tr::tr("&Code Pasting"));
toolsContainer->addMenu(cpContainer);
Command *command;
- m_postEditorAction = new QAction(tr("Paste Snippet..."), this);
+ m_postEditorAction = new QAction(Tr::tr("Paste Snippet..."), this);
command = ActionManager::registerAction(m_postEditorAction, "CodePaster.Post");
- command->setDefaultKeySequence(QKeySequence(useMacShortcuts ? tr("Meta+C,Meta+P") : tr("Alt+C,Alt+P")));
+ command->setDefaultKeySequence(QKeySequence(useMacShortcuts ? Tr::tr("Meta+C,Meta+P") : Tr::tr("Alt+C,Alt+P")));
connect(m_postEditorAction, &QAction::triggered, this, &CodePasterPluginPrivate::pasteSnippet);
cpContainer->addAction(command);
- m_fetchAction = new QAction(tr("Fetch Snippet..."), this);
+ m_fetchAction = new QAction(Tr::tr("Fetch Snippet..."), this);
command = ActionManager::registerAction(m_fetchAction, "CodePaster.Fetch");
- command->setDefaultKeySequence(QKeySequence(useMacShortcuts ? tr("Meta+C,Meta+F") : tr("Alt+C,Alt+F")));
+ command->setDefaultKeySequence(QKeySequence(useMacShortcuts ? Tr::tr("Meta+C,Meta+F") : Tr::tr("Alt+C,Alt+F")));
connect(m_fetchAction, &QAction::triggered, this, &CodePasterPluginPrivate::fetch);
cpContainer->addAction(command);
- m_fetchUrlAction = new QAction(tr("Fetch from URL..."), this);
+ m_fetchUrlAction = new QAction(Tr::tr("Fetch from URL..."), this);
command = ActionManager::registerAction(m_fetchUrlAction, "CodePaster.FetchUrl");
connect(m_fetchUrlAction, &QAction::triggered, this, &CodePasterPluginPrivate::fetchUrl);
cpContainer->addAction(command);
@@ -268,7 +267,7 @@ void CodePasterPluginPrivate::fetchUrl()
QUrl url;
do {
bool ok = true;
- url = QUrl(QInputDialog::getText(ICore::dialogParent(), tr("Fetch from URL"), tr("Enter URL:"), QLineEdit::Normal, QString(), &ok));
+ url = QUrl(QInputDialog::getText(ICore::dialogParent(), Tr::tr("Fetch from URL"), Tr::tr("Enter URL:"), QLineEdit::Normal, QString(), &ok));
if (!ok)
return;
} while (!url.isValid());
@@ -357,7 +356,7 @@ void CodePasterPluginPrivate::finishFetch(const QString &titleDescription,
}
if (content.isEmpty()) {
MessageManager::writeDisrupting(
- tr("Empty snippet received for \"%1\".").arg(titleDescription));
+ Tr::tr("Empty snippet received for \"%1\".").arg(titleDescription));
return;
}
// If the mime type has a preferred suffix (cpp/h/patch...), use that for
diff --git a/src/plugins/cpaster/dpastedotcomprotocol.cpp b/src/plugins/cpaster/dpastedotcomprotocol.cpp
index 3f87884e652..107343f8236 100644
--- a/src/plugins/cpaster/dpastedotcomprotocol.cpp
+++ b/src/plugins/cpaster/dpastedotcomprotocol.cpp
@@ -3,6 +3,8 @@
#include "dpastedotcomprotocol.h"
+#include "cpastertr.h"
+
#include
#include
@@ -124,8 +126,8 @@ bool DPasteDotComProtocol::checkConfiguration(QString * /*errorMessage*/)
void DPasteDotComProtocol::reportError(const QString &message)
{
- const QString fullMessage = tr("%1: %2").arg(protocolName(), message);
+ const QString fullMessage = Tr::tr("%1: %2").arg(protocolName(), message);
Core::MessageManager::writeDisrupting(fullMessage);
}
-} // namespace CodePaster
+} // CodePaster
diff --git a/src/plugins/cpaster/dpastedotcomprotocol.h b/src/plugins/cpaster/dpastedotcomprotocol.h
index 34842dda877..88662243a60 100644
--- a/src/plugins/cpaster/dpastedotcomprotocol.h
+++ b/src/plugins/cpaster/dpastedotcomprotocol.h
@@ -9,7 +9,6 @@ namespace CodePaster {
class DPasteDotComProtocol : public NetworkProtocol
{
- Q_OBJECT
public:
static QString protocolName();
@@ -30,4 +29,4 @@ private:
static void reportError(const QString &message);
};
-} // namespace CodePaster
+} // CodePaster
diff --git a/src/plugins/cpaster/fileshareprotocol.cpp b/src/plugins/cpaster/fileshareprotocol.cpp
index 0212924c932..5251c18538b 100644
--- a/src/plugins/cpaster/fileshareprotocol.cpp
+++ b/src/plugins/cpaster/fileshareprotocol.cpp
@@ -2,6 +2,8 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "fileshareprotocol.h"
+
+#include "cpastertr.h"
#include "fileshareprotocolsettingspage.h"
#include
@@ -74,7 +76,7 @@ static bool parse(const QString &fileName,
QFile file(fileName);
if (!file.open(QIODevice::ReadOnly|QIODevice::Text)) {
- *errorMessage = FileShareProtocol::tr("Cannot open %1: %2").arg(fileName, file.errorString());
+ *errorMessage = Tr::tr("Cannot open %1: %2").arg(fileName, file.errorString());
return false;
}
QXmlStreamReader reader(&file);
@@ -83,7 +85,7 @@ static bool parse(const QString &fileName,
const auto elementName = reader.name();
// Check start element
if (elementCount == 0 && elementName != QLatin1String(pasterElementC)) {
- *errorMessage = FileShareProtocol::tr("%1 does not appear to be a paster file.").arg(fileName);
+ *errorMessage = Tr::tr("%1 does not appear to be a paster file.").arg(fileName);
return false;
}
// Parse elements
@@ -97,7 +99,7 @@ static bool parse(const QString &fileName,
}
}
if (reader.hasError()) {
- *errorMessage = FileShareProtocol::tr("Error in %1 at %2: %3")
+ *errorMessage = Tr::tr("Error in %1 at %2: %3")
.arg(fileName).arg(reader.lineNumber()).arg(reader.errorString());
return false;
}
@@ -108,7 +110,7 @@ bool FileShareProtocol::checkConfiguration(QString *errorMessage)
{
if (m_settings.path.value().isEmpty()) {
if (errorMessage)
- *errorMessage = tr("Please configure a path.");
+ *errorMessage = Tr::tr("Please configure a path.");
return false;
}
return true;
diff --git a/src/plugins/cpaster/fileshareprotocol.h b/src/plugins/cpaster/fileshareprotocol.h
index 00820122cfe..262a8f77c58 100644
--- a/src/plugins/cpaster/fileshareprotocol.h
+++ b/src/plugins/cpaster/fileshareprotocol.h
@@ -15,8 +15,6 @@ class FileShareProtocolSettingsPage;
class FileShareProtocol : public Protocol
{
- Q_OBJECT
-
public:
FileShareProtocol();
~FileShareProtocol() override;
@@ -40,4 +38,4 @@ private:
FileShareProtocolSettingsPage *m_settingsPage;
};
-} // namespace CodePaster
+} // CodePaster
diff --git a/src/plugins/cpaster/fileshareprotocolsettingspage.cpp b/src/plugins/cpaster/fileshareprotocolsettingspage.cpp
index 3661f6d9e28..dbbdbb862b7 100644
--- a/src/plugins/cpaster/fileshareprotocolsettingspage.cpp
+++ b/src/plugins/cpaster/fileshareprotocolsettingspage.cpp
@@ -2,6 +2,8 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "fileshareprotocolsettingspage.h"
+
+#include "cpastertr.h"
#include "cpasterconstants.h"
#include
@@ -21,13 +23,13 @@ FileShareProtocolSettings::FileShareProtocolSettings()
path.setDisplayStyle(StringAspect::PathChooserDisplay);
path.setExpectedKind(PathChooser::ExistingDirectory);
path.setDefaultValue(TemporaryDirectory::masterDirectoryPath());
- path.setLabelText(tr("&Path:"));
+ path.setLabelText(Tr::tr("&Path:"));
registerAspect(&displayCount);
displayCount.setSettingsKey("DisplayCount");
displayCount.setDefaultValue(10);
- displayCount.setSuffix(' ' + tr("entries"));
- displayCount.setLabelText(tr("&Display:"));
+ displayCount.setSuffix(' ' + Tr::tr("entries"));
+ displayCount.setLabelText(Tr::tr("&Display:"));
}
// Settings page
@@ -35,14 +37,14 @@ FileShareProtocolSettings::FileShareProtocolSettings()
FileShareProtocolSettingsPage::FileShareProtocolSettingsPage(FileShareProtocolSettings *settings)
{
setId("X.CodePaster.FileSharePaster");
- setDisplayName(FileShareProtocolSettings::tr("Fileshare"));
+ setDisplayName(Tr::tr("Fileshare"));
setCategory(Constants::CPASTER_SETTINGS_CATEGORY);
setSettings(settings);
setLayouter([&s = *settings](QWidget *widget) {
using namespace Layouting;
- auto label = new QLabel(FileShareProtocolSettings::tr(
+ auto label = new QLabel(Tr::tr(
"The fileshare-based paster protocol allows for sharing code snippets using "
"simple files on a shared network drive. Files are never deleted."));
label->setWordWrap(true);
diff --git a/src/plugins/cpaster/fileshareprotocolsettingspage.h b/src/plugins/cpaster/fileshareprotocolsettingspage.h
index 78197f75e09..625d8ac071d 100644
--- a/src/plugins/cpaster/fileshareprotocolsettingspage.h
+++ b/src/plugins/cpaster/fileshareprotocolsettingspage.h
@@ -11,8 +11,6 @@ namespace CodePaster {
class FileShareProtocolSettings : public Utils::AspectContainer
{
- Q_DECLARE_TR_FUNCTIONS(CodePaster::FileShareProtocolSettings)
-
public:
FileShareProtocolSettings();
@@ -26,4 +24,4 @@ public:
explicit FileShareProtocolSettingsPage(FileShareProtocolSettings *settings);
};
-} // namespace CodePaster
+} // CodePaster
diff --git a/src/plugins/cpaster/pastebindotcomprotocol.cpp b/src/plugins/cpaster/pastebindotcomprotocol.cpp
index 852f41188e6..9aef023ec88 100644
--- a/src/plugins/cpaster/pastebindotcomprotocol.cpp
+++ b/src/plugins/cpaster/pastebindotcomprotocol.cpp
@@ -14,17 +14,17 @@
enum { debug = 0 };
-static const char PASTEBIN_BASE[]="https://pastebin.com/";
-static const char PASTEBIN_API[]="api/api_post.php";
-static const char PASTEBIN_RAW[]="raw/";
-static const char PASTEBIN_ARCHIVE[]="archive";
-
-static const char API_KEY[]="api_dev_key=516686fc461fb7f9341fd7cf2af6f829&"; // user: qtcreator_apikey
-
-static const char PROTOCOL_NAME[] = "Pastebin.Com";
-
namespace CodePaster {
+const char PASTEBIN_BASE[]="https://pastebin.com/";
+const char PASTEBIN_API[]="api/api_post.php";
+const char PASTEBIN_RAW[]="raw/";
+const char PASTEBIN_ARCHIVE[]="archive";
+
+const char API_KEY[]="api_dev_key=516686fc461fb7f9341fd7cf2af6f829&"; // user: qtcreator_apikey
+
+const char PROTOCOL_NAME[] = "Pastebin.Com";
+
QString PasteBinDotComProtocol::protocolName()
{
return QLatin1String(PROTOCOL_NAME);
@@ -470,4 +470,4 @@ void PasteBinDotComProtocol::listFinished()
m_listReply = nullptr;
}
-} // namespace CodePaster
+} // CodePaster
diff --git a/src/plugins/cpaster/pastebindotcomprotocol.h b/src/plugins/cpaster/pastebindotcomprotocol.h
index 658b26a2812..740fbca7447 100644
--- a/src/plugins/cpaster/pastebindotcomprotocol.h
+++ b/src/plugins/cpaster/pastebindotcomprotocol.h
@@ -9,7 +9,6 @@ namespace CodePaster {
class PasteBinDotComProtocol : public NetworkProtocol
{
- Q_OBJECT
public:
static QString protocolName();
QString name() const override { return protocolName(); }
@@ -39,4 +38,4 @@ private:
bool m_hostChecked = false;
};
-} // namespace CodePaster
+} // CodePaster
diff --git a/src/plugins/cpaster/pasteselectdialog.cpp b/src/plugins/cpaster/pasteselectdialog.cpp
index 9c7fc6ae058..3454824fbf4 100644
--- a/src/plugins/cpaster/pasteselectdialog.cpp
+++ b/src/plugins/cpaster/pasteselectdialog.cpp
@@ -3,6 +3,7 @@
#include "pasteselectdialog.h"
+#include "cpastertr.h"
#include "protocol.h"
#include
@@ -37,7 +38,7 @@ PasteSelectDialog::PasteSelectDialog(const QList &protocols, QWidget
auto buttons = new QDialogButtonBox(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
- m_refreshButton = buttons->addButton(tr("Refresh"), QDialogButtonBox::ActionRole);
+ m_refreshButton = buttons->addButton(Tr::tr("Refresh"), QDialogButtonBox::ActionRole);
m_listWidget->setSelectionMode(QAbstractItemView::SingleSelection);
if (!Utils::HostOsInfo::isMacHost())
@@ -52,8 +53,8 @@ PasteSelectDialog::PasteSelectDialog(const QList &protocols, QWidget
using namespace Utils::Layouting;
Column {
Form {
- tr("Protocol:"), m_protocolBox, br,
- tr("Paste:"), m_pasteEdit
+ Tr::tr("Protocol:"), m_protocolBox, br,
+ Tr::tr("Paste:"), m_pasteEdit
},
m_listWidget,
buttons
@@ -126,7 +127,7 @@ void PasteSelectDialog::list()
m_listWidget->clear();
if (Protocol::ensureConfiguration(protocol, this)) {
- m_listWidget->addItem(new QListWidgetItem(tr("Waiting for items")));
+ m_listWidget->addItem(new QListWidgetItem(Tr::tr("Waiting for items")));
protocol->list();
}
}
@@ -139,7 +140,8 @@ void PasteSelectDialog::protocolChanged(int i)
list();
} else {
m_listWidget->clear();
- m_listWidget->addItem(new QListWidgetItem(tr("This protocol does not support listing")));
+ m_listWidget->addItem(new QListWidgetItem(Tr::tr("This protocol does not support listing")));
}
}
-} // namespace CodePaster
+
+} // CodePaster
diff --git a/src/plugins/cpaster/pasteselectdialog.h b/src/plugins/cpaster/pasteselectdialog.h
index caf4f581e96..8c82adbe4ac 100644
--- a/src/plugins/cpaster/pasteselectdialog.h
+++ b/src/plugins/cpaster/pasteselectdialog.h
@@ -19,7 +19,6 @@ class Protocol;
class PasteSelectDialog : public QDialog
{
- Q_OBJECT
public:
explicit PasteSelectDialog(const QList &protocols,
QWidget *parent = nullptr);
diff --git a/src/plugins/cpaster/pasteview.cpp b/src/plugins/cpaster/pasteview.cpp
index e75ee805dab..5d3d9816ef9 100644
--- a/src/plugins/cpaster/pasteview.cpp
+++ b/src/plugins/cpaster/pasteview.cpp
@@ -4,6 +4,7 @@
#include "pasteview.h"
#include "columnindicatortextedit.h"
+#include "cpastertr.h"
#include "protocol.h"
#include
@@ -26,36 +27,36 @@
#include
#include
+namespace CodePaster {
+
const char groupC[] = "CPaster";
const char heightKeyC[] = "PasteViewHeight";
const char widthKeyC[] = "PasteViewWidth";
-namespace CodePaster {
-
PasteView::PasteView(const QList &protocols,
const QString &mt,
QWidget *parent) :
QDialog(parent),
m_protocols(protocols),
- m_commentPlaceHolder(tr("")),
+ m_commentPlaceHolder(Tr::tr("")),
m_mimeType(mt)
{
resize(670, 678);
- setWindowTitle(tr("Send to Codepaster"));
+ setWindowTitle(Tr::tr("Send to Codepaster"));
m_protocolBox = new QComboBox;
for (const Protocol *p : protocols)
m_protocolBox->addItem(p->name());
m_expirySpinBox = new QSpinBox;
- m_expirySpinBox->setSuffix(tr(" Days"));
+ m_expirySpinBox->setSuffix(Tr::tr(" Days"));
m_expirySpinBox->setRange(1, 365);
m_uiUsername = new QLineEdit(this);
- m_uiUsername->setPlaceholderText(tr(""));
+ m_uiUsername->setPlaceholderText(Tr::tr(""));
m_uiDescription = new QLineEdit(this);
- m_uiDescription->setPlaceholderText(tr(""));
+ m_uiDescription->setPlaceholderText(Tr::tr(""));
QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
@@ -78,7 +79,7 @@ PasteView::PasteView(const QList &protocols,
m_uiPatchView->setFont(font);
m_uiPatchView->setReadOnly(true);
- auto groupBox = new QGroupBox(tr("Parts to Send to Server"));
+ auto groupBox = new QGroupBox(Tr::tr("Parts to Send to Server"));
groupBox->setFlat(true);
m_plainTextEdit = new QPlainTextEdit;
@@ -89,7 +90,7 @@ PasteView::PasteView(const QList &protocols,
m_stackedWidget->setCurrentIndex(0);
auto buttonBox = new QDialogButtonBox(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
- buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Paste"));
+ buttonBox->button(QDialogButtonBox::Ok)->setText(Tr::tr("Paste"));
const bool __sortingEnabled = m_uiPatchList->isSortingEnabled();
m_uiPatchList->setSortingEnabled(false);
@@ -104,10 +105,10 @@ PasteView::PasteView(const QList &protocols,
Column {
Form {
- tr("Protocol:"), m_protocolBox, br,
- tr("&Expires after:"), m_expirySpinBox, br,
- tr("&Username:"), m_uiUsername, br,
- tr("&Description:"), m_uiDescription,
+ Tr::tr("Protocol:"), m_protocolBox, br,
+ Tr::tr("&Expires after:"), m_expirySpinBox, br,
+ Tr::tr("&Username:"), m_uiUsername, br,
+ Tr::tr("&Description:"), m_uiDescription,
},
m_uiComment,
m_stackedWidget,
diff --git a/src/plugins/cpaster/pasteview.h b/src/plugins/cpaster/pasteview.h
index 108e8881515..e6c11763857 100644
--- a/src/plugins/cpaster/pasteview.h
+++ b/src/plugins/cpaster/pasteview.h
@@ -24,8 +24,6 @@ class Protocol;
class PasteView : public QDialog
{
- Q_OBJECT
-
public:
enum Mode
{
@@ -83,4 +81,4 @@ private:
Mode m_mode = DiffChunkMode;
};
-} // namespace CodePaster
+} // CodePaster
diff --git a/src/plugins/cpaster/protocol.cpp b/src/plugins/cpaster/protocol.cpp
index 4e0ca214652..7f76f0d81bc 100644
--- a/src/plugins/cpaster/protocol.cpp
+++ b/src/plugins/cpaster/protocol.cpp
@@ -3,6 +3,8 @@
#include "protocol.h"
+#include "cpastertr.h"
+
#include
#include
@@ -13,18 +15,16 @@
#include
#include
+#include
+#include
+#include
#include
#include
-#include
#include
-
-#include
-#include
-#include
-
-#include
-#include
+#include
#include
+#include
+#include
#include
@@ -140,7 +140,7 @@ bool Protocol::showConfigurationError(const Protocol *p,
if (!parent)
parent = Core::ICore::dialogParent();
- const QString title = tr("%1 - Configuration Error").arg(p->name());
+ const QString title = Tr::tr("%1 - Configuration Error").arg(p->name());
QMessageBox mb(QMessageBox::Warning, title, message, QMessageBox::Cancel, parent);
QPushButton *settingsButton = nullptr;
if (showConfig)
@@ -197,8 +197,8 @@ bool NetworkProtocol::httpStatus(QString url, QString *errorMessage, bool useHtt
}
std::unique_ptr reply(httpGet(url));
QMessageBox box(QMessageBox::Information,
- tr("Checking connection"),
- tr("Connecting to %1...").arg(url),
+ Tr::tr("Checking connection"),
+ Tr::tr("Connecting to %1...").arg(url),
QMessageBox::Cancel,
Core::ICore::dialogParent());
connect(reply.get(), &QNetworkReply::finished, &box, &QWidget::close);
@@ -219,4 +219,4 @@ bool NetworkProtocol::httpStatus(QString url, QString *errorMessage, bool useHtt
return false;
}
-} //namespace CodePaster
+} // CodePaster
diff --git a/src/plugins/cpaster/protocol.h b/src/plugins/cpaster/protocol.h
index d4f0db9b396..f5e15dbf3e2 100644
--- a/src/plugins/cpaster/protocol.h
+++ b/src/plugins/cpaster/protocol.h
@@ -82,8 +82,6 @@ protected:
class NetworkProtocol : public Protocol
{
- Q_OBJECT
-
public:
NetworkProtocol() = default;
diff --git a/src/plugins/cpaster/settings.cpp b/src/plugins/cpaster/settings.cpp
index b9046d1b526..f86c62029d8 100644
--- a/src/plugins/cpaster/settings.cpp
+++ b/src/plugins/cpaster/settings.cpp
@@ -4,6 +4,7 @@
#include "settings.h"
#include "cpasterconstants.h"
+#include "cpastertr.h"
#include
@@ -19,12 +20,12 @@ Settings::Settings()
registerAspect(&username);
username.setDisplayStyle(StringAspect::LineEditDisplay);
username.setSettingsKey("UserName");
- username.setLabelText(tr("Username:"));
+ username.setLabelText(Tr::tr("Username:"));
registerAspect(&protocols);
protocols.setSettingsKey("DefaultProtocol");
protocols.setDisplayStyle(SelectionAspect::DisplayStyle::ComboBox);
- protocols.setLabelText(tr("Default protocol:"));
+ protocols.setLabelText(Tr::tr("Default protocol:"));
protocols.setToSettingsTransformation([this](const QVariant &val) {
return protocols.displayForIndex(val.toInt());
});
@@ -35,18 +36,18 @@ Settings::Settings()
registerAspect(&expiryDays);
expiryDays.setSettingsKey("ExpiryDays");
expiryDays.setDefaultValue(1);
- expiryDays.setSuffix(tr(" Days"));
- expiryDays.setLabelText(tr("&Expires after:"));
+ expiryDays.setSuffix(Tr::tr(" Days"));
+ expiryDays.setLabelText(Tr::tr("&Expires after:"));
registerAspect(©ToClipboard);
copyToClipboard.setSettingsKey("CopyToClipboard");
copyToClipboard.setDefaultValue(true);
- copyToClipboard.setLabelText(tr("Copy-paste URL to clipboard"));
+ copyToClipboard.setLabelText(Tr::tr("Copy-paste URL to clipboard"));
registerAspect(&displayOutput);
displayOutput.setSettingsKey("DisplayOutput");
displayOutput.setDefaultValue(true);
- displayOutput.setLabelText(tr("Display General Messages after sending a post"));
+ displayOutput.setLabelText(Tr::tr("Display General Messages after sending a post"));
}
// SettingsPage
@@ -54,9 +55,9 @@ Settings::Settings()
SettingsPage::SettingsPage(Settings *settings)
{
setId("A.CodePaster.General");
- setDisplayName(Settings::tr("General"));
+ setDisplayName(Tr::tr("General"));
setCategory(Constants::CPASTER_SETTINGS_CATEGORY);
- setDisplayCategory(Settings::tr("Code Pasting"));
+ setDisplayCategory(Tr::tr("Code Pasting"));
setCategoryIconPath(":/cpaster/images/settingscategory_cpaster.png");
setSettings(settings);
@@ -77,4 +78,4 @@ SettingsPage::SettingsPage(Settings *settings)
});
}
-} // namespace CodePaster
+} // CodePaster
diff --git a/src/plugins/cpaster/settings.h b/src/plugins/cpaster/settings.h
index 17184d45580..1e37f6f8126 100644
--- a/src/plugins/cpaster/settings.h
+++ b/src/plugins/cpaster/settings.h
@@ -11,8 +11,6 @@ namespace CodePaster {
class Settings : public Utils::AspectContainer
{
- Q_DECLARE_TR_FUNCTIONS(CodePaster::Settings)
-
public:
Settings();
@@ -29,4 +27,4 @@ public:
SettingsPage(Settings *settings);
};
-} // namespace CodePaster
+} // CodePaster
diff --git a/src/plugins/cpaster/stickynotespasteprotocol.cpp b/src/plugins/cpaster/stickynotespasteprotocol.cpp
index a48a419ed1d..3d7edd41cd1 100644
--- a/src/plugins/cpaster/stickynotespasteprotocol.cpp
+++ b/src/plugins/cpaster/stickynotespasteprotocol.cpp
@@ -2,8 +2,8 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "stickynotespasteprotocol.h"
-#ifdef CPASTER_PLUGIN_GUI
-#endif
+
+#include "cpastertr.h"
#include
#include
@@ -21,7 +21,9 @@
enum { debug = 0 };
-static inline QByteArray expiryParameter(int daysRequested)
+namespace CodePaster {
+
+static QByteArray expiryParameter(int daysRequested)
{
// Obtained by 'pastebin.kde.org/api/json/parameter/expire' on 26.03.2014
static const int expiryTimesSec[] = {1800, 21600, 86400, 604800, 2592000, 31536000};
@@ -31,8 +33,6 @@ static inline QByteArray expiryParameter(int daysRequested)
return QByteArray("expire=") + QByteArray::number(*match);
}
-namespace CodePaster {
-
void StickyNotesPasteProtocol::setHostUrl(const QString &hostUrl)
{
m_hostUrl = hostUrl;
@@ -246,5 +246,4 @@ void StickyNotesPasteProtocol::listFinished()
m_listReply = nullptr;
}
-
-} // namespace CodePaster
+} // CodePaster
diff --git a/src/plugins/cpaster/stickynotespasteprotocol.h b/src/plugins/cpaster/stickynotespasteprotocol.h
index 264be22fd06..e497fac2d8d 100644
--- a/src/plugins/cpaster/stickynotespasteprotocol.h
+++ b/src/plugins/cpaster/stickynotespasteprotocol.h
@@ -9,7 +9,6 @@ namespace CodePaster {
class StickyNotesPasteProtocol : public NetworkProtocol
{
- Q_OBJECT
public:
unsigned capabilities() const override;
@@ -22,15 +21,12 @@ public:
const QString &description = QString()) override;
void list() override;
-
-
QString hostUrl() const { return m_hostUrl; }
void setHostUrl(const QString &hostUrl);
-protected:
+private:
bool checkConfiguration(QString *errorMessage = nullptr) override;
-private:
void fetchFinished();
void pasteFinished();
void listFinished();
@@ -46,4 +42,4 @@ private:
bool m_hostChecked = false;
};
-} // namespace CodePaster
+} // CodePaster
diff --git a/src/plugins/cpaster/urlopenprotocol.cpp b/src/plugins/cpaster/urlopenprotocol.cpp
index 39d1a3beb65..64c2029cabd 100644
--- a/src/plugins/cpaster/urlopenprotocol.cpp
+++ b/src/plugins/cpaster/urlopenprotocol.cpp
@@ -7,7 +7,7 @@
#include
-using namespace CodePaster;
+namespace CodePaster {
QString UrlOpenProtocol::name() const
{
@@ -45,3 +45,5 @@ void UrlOpenProtocol::paste(const QString &, ContentType, int, const QString &,
const QString &, const QString &)
{
}
+
+} // CodePaster
diff --git a/src/plugins/cpaster/urlopenprotocol.h b/src/plugins/cpaster/urlopenprotocol.h
index d6d16e56b11..8bc5695b018 100644
--- a/src/plugins/cpaster/urlopenprotocol.h
+++ b/src/plugins/cpaster/urlopenprotocol.h
@@ -9,7 +9,6 @@ namespace CodePaster {
class UrlOpenProtocol : public NetworkProtocol
{
- Q_OBJECT
public:
QString name() const override;
unsigned capabilities() const override;
@@ -22,4 +21,4 @@ private:
QNetworkReply *m_fetchReply = nullptr;
};
-} // namespace CodePaster
+} // CodePaster