forked from qt-creator/qt-creator
Beautifier: Tr::tr
Change-Id: I4b27d0f33d9cad8720837c560fb0c9fb97c96cf2 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -58872,7 +58872,7 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle::ArtisticStyleOptionsPage</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formulář</translation>
|
||||
@@ -58905,25 +58905,10 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Artistic Style</source>
|
||||
<translation>Umělecký styl</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat::ClangFormatOptionsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formulář</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Nastavení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format command:</source>
|
||||
<translation>Příkaz pro formátování Clang:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>Volby</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use Predefined Style:</source>
|
||||
<translation>Použít předdefinovaný styl:</translation>
|
||||
@@ -58940,9 +58925,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Clang Format</source>
|
||||
<translation>Formát Clang</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationDialog</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Název</translation>
|
||||
@@ -58959,13 +58941,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Documentation for '%1'</source>
|
||||
<translation>Dokumentace pro '%1'</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationPanel</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formulář</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Edit</source>
|
||||
<translation>Upravit</translation>
|
||||
@@ -58986,25 +58961,10 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Edit Configuration</source>
|
||||
<translation>Upravit nastavení</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify::UncrustifyOptionsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formulář</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Nastavení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify command:</source>
|
||||
<translation type="unfinished">Příkaz Uncrustify:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>Volby</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file uncrustify.cfg defined in project files</source>
|
||||
<translation>Použít soubor uncrustify.cfg stanovený v projektových souborech</translation>
|
||||
@@ -59013,10 +58973,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Use $HOME/uncrustify.cfg</source>
|
||||
<translation>Použít $HOME/uncrustify.cfg</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use self-defined style:</source>
|
||||
<translation>Použít vlastní styl:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify</source>
|
||||
<translation type="unfinished">Uncrustify</translation>
|
||||
@@ -59495,9 +59451,6 @@ Vytvořte, prosím, aplikaci qmldump na stránce pro nastavení verze Qt.</trans
|
||||
<source>Beautifier</source>
|
||||
<translation>Zkrášlovadlo</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::BeautifierPlugin</name>
|
||||
<message>
|
||||
<source>Cannot create temporary file "%1": %2.</source>
|
||||
<translation>Nepodařilo se vytvořit žádný dočasný soubor v "%1": %2.</translation>
|
||||
@@ -59535,7 +59488,7 @@ Vytvořte, prosím, aplikaci qmldump na stránce pro nastavení verze Qt.</trans
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ClangFormatSettings</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>No description available.</source>
|
||||
<translation>Popis nedostupný.</translation>
|
||||
|
@@ -3106,9 +3106,6 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<source>Bea&utifier</source>
|
||||
<translation>Bea&utifier</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::AbstractSettings</name>
|
||||
<message>
|
||||
<source>Cannot save styles. %1 does not exist.</source>
|
||||
<translation>Kan ikke gemme stile. %1 findes ikke.</translation>
|
||||
@@ -3137,9 +3134,6 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<source>Cannot read documentation file "%1": %2.</source>
|
||||
<translation>Kan ikke læse dokumentationsfilen "%1": %2.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle::ArtisticStyle</name>
|
||||
<message>
|
||||
<source>&Artistic Style</source>
|
||||
<translation>&Artistic Style</translation>
|
||||
@@ -3148,9 +3142,6 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<source>Artistic Style</source>
|
||||
<translation>Artistic Style</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle::ArtisticStyleOptionsPage</name>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Konfiguration</translation>
|
||||
@@ -3176,10 +3167,6 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<source>Use customized style:</source>
|
||||
<translation>Brug brugerdefineret stil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Artistic Style</source>
|
||||
<translation>Artistic Style</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>Begræns til MIME-typer:</translation>
|
||||
@@ -3188,16 +3175,10 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<source>Use specific config file:</source>
|
||||
<translation>Brug specifik konfigurationsfil:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle::ArtisticStyleOptionsPageWidget</name>
|
||||
<message>
|
||||
<source>AStyle (*.astylerc)</source>
|
||||
<translation>AStyle (*.astylerc)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::BeautifierPlugin</name>
|
||||
<message>
|
||||
<source>Cannot create temporary file "%1": %2.</source>
|
||||
<translation>Kan ikke oprette midlertidig fil: "%1": %2.</translation>
|
||||
@@ -3263,9 +3244,6 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<extracomment>File dialog title for path chooser when choosing binary</extracomment>
|
||||
<translation>%1-kommando</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat::ClangFormat</name>
|
||||
<message>
|
||||
<source>&ClangFormat</source>
|
||||
<translation>&ClangFormat</translation>
|
||||
@@ -3274,29 +3252,14 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<source>ClangFormat</source>
|
||||
<translation>ClangFormat</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat::ClangFormatOptionsPage</name>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Konfiguration</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format command:</source>
|
||||
<translation>Clang format-kommando:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>Valgmuligheder</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use predefined style:</source>
|
||||
<translation>Brug foruddefineret stil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>Brug brugerdefineret stil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format</source>
|
||||
<translation>Clang format</translation>
|
||||
@@ -3305,20 +3268,10 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<source>Fallback style:</source>
|
||||
<translation>Fallback-stil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>Begræns til MIME-typer:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat::ClangFormatSettings</name>
|
||||
<message>
|
||||
<source>No description available.</source>
|
||||
<translation>Ingen tilgængelig beskrivelse.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationDialog</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Navn</translation>
|
||||
@@ -3335,9 +3288,6 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<source>Documentation for "%1"</source>
|
||||
<translation>Dokumentation for "%1"</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationPanel</name>
|
||||
<message>
|
||||
<source>Edit</source>
|
||||
<translation>Rediger</translation>
|
||||
@@ -3358,9 +3308,6 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<source>Edit Configuration</source>
|
||||
<translation>Rediger konfiguration</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::GeneralOptionsPage</name>
|
||||
<message>
|
||||
<source>Automatic Formatting on File Save</source>
|
||||
<translation>Automatisk formatering når fil gemmes</translation>
|
||||
@@ -3373,10 +3320,6 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<source>Tool:</source>
|
||||
<translation>Værktøj:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>Begræns til MIME-typer:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to files contained in the current project</source>
|
||||
<translation>Begræns til filer som er i det aktuelle projekt</translation>
|
||||
@@ -3385,9 +3328,6 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<source>General</source>
|
||||
<translation>Generelt</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify::Uncrustify</name>
|
||||
<message>
|
||||
<source>&Uncrustify</source>
|
||||
<translation>&Uncrustify</translation>
|
||||
@@ -3396,21 +3336,10 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<source>Uncrustify</source>
|
||||
<translation>Uncrustify</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify::UncrustifyOptionsPage</name>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Konfiguration</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify command:</source>
|
||||
<translation>Uncrustify-kommando:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>Valgmuligheder</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file uncrustify.cfg defined in project files</source>
|
||||
<translation>Brug filen uncrustify.cfg defineret i projektfiler</translation>
|
||||
@@ -3420,10 +3349,6 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<extracomment>HOME is replaced by the user's home directory</extracomment>
|
||||
<translation>Brug filen uncrustify.cfg i Hjem</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>Brug brugerdefineret stil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>For action Format Selected Text</source>
|
||||
<translation>Til handlingen Formatér markeret tekst</translation>
|
||||
@@ -3432,21 +3357,10 @@ F.eks., vil "Revision: 15" efterlade grenen ved revision 15.</translat
|
||||
<source>Format entire file if no text was selected</source>
|
||||
<translation>Formatér hele filen hvis ingen tekst var markeret</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify</source>
|
||||
<translation>Uncrustify</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>Begræns til MIME-typer:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file specific uncrustify.cfg</source>
|
||||
<translation>Brug filspecifik uncrustify.cfg</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify::UncrustifyOptionsPageWidget</name>
|
||||
<message>
|
||||
<source>Uncrustify file (*.cfg)</source>
|
||||
<translation>Uncrustify-fil (*.cfg)</translation>
|
||||
|
@@ -30793,7 +30793,7 @@ das beim Drücken unter dem Zeiger oder Berührungspunkt war, unter diesem Punkt
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationDialog</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Name</translation>
|
||||
@@ -30810,9 +30810,6 @@ das beim Drücken unter dem Zeiger oder Berührungspunkt war, unter diesem Punkt
|
||||
<source>Documentation for "%1"</source>
|
||||
<translation>Dokumentation für "%1"</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationPanel</name>
|
||||
<message>
|
||||
<source>Edit</source>
|
||||
<translation>Bearbeiten</translation>
|
||||
@@ -31099,9 +31096,6 @@ Bitte erstellen Sie die Anwendung qmldump auf der Einstellungsseite der Qt-Versi
|
||||
<source>Bea&utifier</source>
|
||||
<translation>Bea&utifier</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::BeautifierPlugin</name>
|
||||
<message>
|
||||
<source>Error in Beautifier: %1</source>
|
||||
<translation>Fehler im Beautifier: %1</translation>
|
||||
@@ -39350,7 +39344,7 @@ Um eine Variable zu deaktivieren, stellen Sie der Zeile "#" voran.</tr
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::AbstractSettings</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Cannot save styles. %1 does not exist.</source>
|
||||
<translation>Die Stile konnten nicht gespeichert werden. %1 existiert nicht.</translation>
|
||||
@@ -45435,7 +45429,7 @@ Doppelklicken Sie einen Eintrag um ihn zu ändern.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation type="unfinished">Einstellungen</translation>
|
||||
@@ -45480,17 +45474,6 @@ Doppelklicken Sie einen Eintrag um ihn zu ändern.</translation>
|
||||
<source>&Artistic Style</source>
|
||||
<translation>&Artistic Style</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat</name>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation type="unfinished">Einstellungen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation type="unfinished">Verwende angepassten Stil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use predefined style:</source>
|
||||
<translation type="unfinished">Verwende vorgegebenen Stil:</translation>
|
||||
@@ -45499,18 +45482,10 @@ Doppelklicken Sie einen Eintrag um ihn zu ändern.</translation>
|
||||
<source>Fallback style:</source>
|
||||
<translation type="unfinished">Fallback-Stil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation type="unfinished">Konfiguration</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format command:</source>
|
||||
<translation type="unfinished">Ausführbare Datei von Clang Format:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation type="unfinished">Auf MIME-Typen beschränken:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format</source>
|
||||
<translation>Clang Format</translation>
|
||||
@@ -47402,7 +47377,7 @@ Do you want to display them anyway?</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::GeneralOptionsPageWidget</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Enable auto format on file save</source>
|
||||
<translation type="unfinished">Beim Speichern einer Datei automatisch formatieren</translation>
|
||||
@@ -47411,10 +47386,6 @@ Do you want to display them anyway?</source>
|
||||
<source>Tool:</source>
|
||||
<translation type="unfinished">Werkzeug:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation type="unfinished">Auf MIME-Typen beschränken:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to files contained in the current project</source>
|
||||
<translation type="unfinished">Auf Dateien des aktuellen Projekts beschränken</translation>
|
||||
@@ -48090,25 +48061,11 @@ Useful if build directory is corrupted or when rebuilding with a newer version o
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal</name>
|
||||
<message>
|
||||
<source>Artistic Style</source>
|
||||
<translation>Artistic Style</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify</source>
|
||||
<translation>Uncrustify</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormatSettings</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>No description available.</source>
|
||||
<translation>Keine Beschreibung verfügbar.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify</name>
|
||||
<message>
|
||||
<source>&Uncrustify</source>
|
||||
<translation>&Uncrustify</translation>
|
||||
|
@@ -1581,7 +1581,7 @@ Na primjer, „Revizija: 15” će ostaviti granu na reviziji 15.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle::ArtisticStyleOptionsPage</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Konfiguracija</translation>
|
||||
@@ -1615,21 +1615,6 @@ Na primjer, „Revizija: 15” će ostaviti granu na reviziji 15.</translation>
|
||||
<source>Use customized style:</source>
|
||||
<translation>Koristi prilagođeni stil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Artistic Style</source>
|
||||
<translation>Artistic Style</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat::ClangFormatOptionsPage</name>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>Opcije</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>Koristi prilagođeni stil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use predefined style:</source>
|
||||
<translation>Koristi predefinirani stil:</translation>
|
||||
@@ -1638,25 +1623,14 @@ Na primjer, „Revizija: 15” će ostaviti granu na reviziji 15.</translation>
|
||||
<source>Fallback style:</source>
|
||||
<translation>Rezervni stil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Konfiguracija</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format command:</source>
|
||||
<translation>Naredba za Clang format:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>Ograniči na MIME vrste:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format</source>
|
||||
<translation>Clang format</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationDialog</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Naziv</translation>
|
||||
@@ -1673,9 +1647,6 @@ Na primjer, „Revizija: 15” će ostaviti granu na reviziji 15.</translation>
|
||||
<source>Documentation for "%1"</source>
|
||||
<translation>Dokumentacija za "%1"</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationPanel</name>
|
||||
<message>
|
||||
<source>Edit</source>
|
||||
<translation>Uredi</translation>
|
||||
@@ -1696,9 +1667,6 @@ Na primjer, „Revizija: 15” će ostaviti granu na reviziji 15.</translation>
|
||||
<source>Edit Configuration</source>
|
||||
<translation>Uredi konfiguraciju</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::GeneralOptionsPage</name>
|
||||
<message>
|
||||
<source>Automatic Formatting on File Save</source>
|
||||
<translation>Automatsko formatiranje prilikom spremanja datoteke</translation>
|
||||
@@ -1711,10 +1679,6 @@ Na primjer, „Revizija: 15” će ostaviti granu na reviziji 15.</translation>
|
||||
<source>Tool:</source>
|
||||
<translation>Alat:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>Ograniči na MIME vrste:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to files contained in the current project</source>
|
||||
<translation>Ograniči na datoteke koje su sadržane u ovom projektu</translation>
|
||||
@@ -1723,25 +1687,10 @@ Na primjer, „Revizija: 15” će ostaviti granu na reviziji 15.</translation>
|
||||
<source>General</source>
|
||||
<translation>Opće</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify::UncrustifyOptionsPage</name>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Konfiguracija</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify command:</source>
|
||||
<translation>Naredba za uncrustify:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>Ograniči na MIME vrste:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>Opcije</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file uncrustify.cfg defined in project files</source>
|
||||
<translation>Koristi datoteku uncrustify.cfg, koja je definirana u datotekama projekta</translation>
|
||||
@@ -1755,10 +1704,6 @@ Na primjer, „Revizija: 15” će ostaviti granu na reviziji 15.</translation>
|
||||
<extracomment>HOME is replaced by the user's home directory</extracomment>
|
||||
<translation>Koristi datoteku uncrustify.cfg u tvom osnovnom direktoriju</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>Koristi prilagođeni stil:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>For action Format Selected Text</source>
|
||||
<translation>Za radnju Formatiraj odabrani tekst</translation>
|
||||
@@ -15844,7 +15789,7 @@ Check the test environment.</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::AbstractSettings</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Cannot save styles. %1 does not exist.</source>
|
||||
<translation>Nemoguće spremiti stil. %1 ne postoji.</translation>
|
||||
@@ -15873,9 +15818,6 @@ Check the test environment.</source>
|
||||
<source>Cannot read documentation file "%1": %2.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle::ArtisticStyle</name>
|
||||
<message>
|
||||
<source>&Artistic Style</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -15884,9 +15826,6 @@ Check the test environment.</source>
|
||||
<source>Artistic Style</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle::ArtisticStyleOptionsPageWidget</name>
|
||||
<message>
|
||||
<source>AStyle (*.astylerc)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -15902,9 +15841,6 @@ Check the test environment.</source>
|
||||
<source>Beautifier</source>
|
||||
<translation>Beautifier</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::BeautifierPlugin</name>
|
||||
<message>
|
||||
<source>Error in Beautifier: %1</source>
|
||||
<translation>Beautifier greška: %1</translation>
|
||||
@@ -15938,9 +15874,6 @@ Check the test environment.</source>
|
||||
<extracomment>File dialog title for path chooser when choosing binary</extracomment>
|
||||
<translation>%1 naredba</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat::ClangFormat</name>
|
||||
<message>
|
||||
<source>&ClangFormat</source>
|
||||
<translation>&ClangFormat</translation>
|
||||
@@ -15949,27 +15882,14 @@ Check the test environment.</source>
|
||||
<source>ClangFormat</source>
|
||||
<translation>ClangFormat</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat::ClangFormatSettings</name>
|
||||
<message>
|
||||
<source>No description available.</source>
|
||||
<translation>Opis nije dostupan.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify::Uncrustify</name>
|
||||
<message>
|
||||
<source>&Uncrustify</source>
|
||||
<translation>&Uncrustify</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify</source>
|
||||
<translation>Uncrustify</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify::UncrustifyOptionsPageWidget</name>
|
||||
<message>
|
||||
<source>Uncrustify file (*.cfg)</source>
|
||||
<translation>Uncrustify datoteka (*.cfg)</translation>
|
||||
|
@@ -33133,7 +33133,7 @@ Ex. "Revision: 15" を指定した場合、ブランチはリビジョ
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle::ArtisticStyleOptionsPage</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>フォーム</translation>
|
||||
@@ -33171,25 +33171,10 @@ Ex. "Revision: 15" を指定した場合、ブランチはリビジョ
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>制限する MIME タイプ:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat::ClangFormatOptionsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>フォーム</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>設定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format command:</source>
|
||||
<translation>Clang フォーマットコマンド:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>オプション</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format</source>
|
||||
<translation>Clang フォーマット</translation>
|
||||
@@ -33198,10 +33183,6 @@ Ex. "Revision: 15" を指定した場合、ブランチはリビジョ
|
||||
<source>Use predefined style:</source>
|
||||
<translation>定義済みスタイルを使用する:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>カスタムスタイルを使用する:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>For action Format Selected Text</source>
|
||||
<translation>選択された文字列を整形するアクション用</translation>
|
||||
@@ -33210,13 +33191,6 @@ Ex. "Revision: 15" を指定した場合、ブランチはリビジョ
|
||||
<source>Format entire file if no text was selected</source>
|
||||
<translation>未選択時にはファイル全体を整形する</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>制限する MIME タイプ:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationDialog</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>名前</translation>
|
||||
@@ -33233,13 +33207,6 @@ Ex. "Revision: 15" を指定した場合、ブランチはリビジョ
|
||||
<source>Documentation for "%1"</source>
|
||||
<translation>"%1" のドキュメント</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationPanel</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>フォーム</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Edit</source>
|
||||
<translation>編集</translation>
|
||||
@@ -33260,25 +33227,10 @@ Ex. "Revision: 15" を指定した場合、ブランチはリビジョ
|
||||
<source>Edit Configuration</source>
|
||||
<translation>設定の編集</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify::UncrustifyOptionsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>フォーム</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>設定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify command:</source>
|
||||
<translation>Uncrustify コマンド:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>オプション</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file uncrustify.cfg defined in project files</source>
|
||||
<translation>プロジェクトファイルに定義されている uncrustify.cfg ファイルを使用する</translation>
|
||||
@@ -33292,22 +33244,6 @@ Ex. "Revision: 15" を指定した場合、ブランチはリビジョ
|
||||
<extracomment>HOME is replaced by the user's home directory</extracomment>
|
||||
<translation>HOME にある uncrustify.cfg ファイルを使用する</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>カスタムスタイルを使用する:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>For action Format Selected Text</source>
|
||||
<translation>選択された文字列を整形するアクション用</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Format entire file if no text was selected</source>
|
||||
<translation>未選択時にはファイル全体を整形する</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>制限する MIME タイプ:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Core::Internal::FindDialog</name>
|
||||
@@ -33636,7 +33572,7 @@ Qt バージョンオプションページで qmldump アプリケーション
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::AbstractSettings</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Cannot save styles. %1 does not exist.</source>
|
||||
<translation>スタイルを保存できません。%1 が存在しません。</translation>
|
||||
@@ -33672,9 +33608,6 @@ Qt バージョンオプションページで qmldump アプリケーション
|
||||
<source>Beautifier</source>
|
||||
<translation>コード整形</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::BeautifierPlugin</name>
|
||||
<message>
|
||||
<source>Cannot create temporary file "%1": %2.</source>
|
||||
<translation>一時ファイル "%1" を作成できません: %2.</translation>
|
||||
@@ -33730,9 +33663,6 @@ Qt バージョンオプションページで qmldump アプリケーション
|
||||
<extracomment>File dialog title for path chooser when choosing binary</extracomment>
|
||||
<translation>%1 コマンド</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat::ClangFormatSettings</name>
|
||||
<message>
|
||||
<source>No description available.</source>
|
||||
<translation>記述が見つかりません。</translation>
|
||||
@@ -44167,11 +44097,7 @@ Android パッケージソースディレクトリのファイルはビルドデ
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::GeneralOptionsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>フォーム</translation>
|
||||
</message>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Automatic Formatting on File Save</source>
|
||||
<translation>ファイル保存時に自動的に整形する</translation>
|
||||
@@ -44184,10 +44110,6 @@ Android パッケージソースディレクトリのファイルはビルドデ
|
||||
<source>Tool:</source>
|
||||
<translation>ツール:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>制限する MIME タイプ:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to files contained in the current project</source>
|
||||
<translation>現在のプロジェクトに含まれるファイルのみに制限する</translation>
|
||||
@@ -44388,26 +44310,12 @@ Android パッケージソースディレクトリのファイルはビルドデ
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle::ArtisticStyle</name>
|
||||
<message>
|
||||
<source>Artistic Style</source>
|
||||
<translation>Artistic スタイル</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat::ClangFormat</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>ClangFormat</source>
|
||||
<translation>Clang フォーマット</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify::Uncrustify</name>
|
||||
<message>
|
||||
<source>Uncrustify</source>
|
||||
<translation>Uncrustify</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ClangCodeModel::Internal::ClangDiagnosticManager</name>
|
||||
<message>
|
||||
@@ -45158,111 +45066,15 @@ Output:
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyleOptionsPage</name>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>設定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Artistic Style command:</source>
|
||||
<translation>Artistic スタイルコマンド:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>制限する MIME タイプ:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>オプション</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file *.astylerc defined in project files</source>
|
||||
<translation>プロジェクトファイルに定義されている *.astylerc ファイルを使用する</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file .astylerc or astylerc in HOME</source>
|
||||
<extracomment>HOME is replaced by the user's home directory</extracomment>
|
||||
<translation>HOME にある .astylerc か astylerc ファイルを使用する</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>カスタムスタイルを使用する:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormatOptionsPage</name>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>オプション</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>カスタムスタイルを使用する:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use predefined style:</source>
|
||||
<translation>定義済みスタイルを使用する:</translation>
|
||||
</message>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Fallback style:</source>
|
||||
<translation>フォールバックスタイル:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>設定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format command:</source>
|
||||
<translation>Clang Format コマンド:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>制限する MIME タイプ:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::UncrustifyOptionsPage</name>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>設定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify command:</source>
|
||||
<translation>Uncrustify コマンド:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>制限する MIME タイプ:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>オプション</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file uncrustify.cfg defined in project files</source>
|
||||
<translation>プロジェクトファイルに定義されている uncrustify.cfg ファイルを使用する</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file specific uncrustify.cfg</source>
|
||||
<translation>ファイル固有のuncrustify.cfgを使用する</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file uncrustify.cfg in HOME</source>
|
||||
<extracomment>HOME is replaced by the user's home directory</extracomment>
|
||||
<translation>HOME にある uncrustify.cfg ファイルを使用する</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>カスタムスタイルを使用する:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>For action Format Selected Text</source>
|
||||
<translation>選択した文字列を整形するアクション用</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Format entire file if no text was selected</source>
|
||||
<translation>未選択時にはファイル全体を整形する</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ClangFormat::ClangFormatConfigWidget</name>
|
||||
@@ -47296,7 +47108,7 @@ The name of the release build configuration created by default for a qmake proje
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>&Artistic Style</source>
|
||||
<translation>&Artistic スタイル</translation>
|
||||
@@ -47305,61 +47117,14 @@ The name of the release build configuration created by default for a qmake proje
|
||||
<source>AStyle (*.astylerc)</source>
|
||||
<translation>AStyle (*.astylerc)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Artistic Style</source>
|
||||
<translation>Artistic スタイル</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal</name>
|
||||
<message>
|
||||
<source>Artistic Style</source>
|
||||
<translation>Artistic スタイル</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify</source>
|
||||
<translation>Uncrustify</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat</name>
|
||||
<message>
|
||||
<source>&ClangFormat</source>
|
||||
<translation>&Clang フォーマット</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ClangFormat</source>
|
||||
<translation>Clang フォーマット</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format</source>
|
||||
<translation>Clang フォーマット</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify file (*.cfg)</source>
|
||||
<translation>Uncrustifyファイル (*.cfg)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify</source>
|
||||
<translation>Uncrustify</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormatSettings</name>
|
||||
<message>
|
||||
<source>No description available.</source>
|
||||
<translation>記述が見つかりません。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::GeneralOptionsPageWidget</name>
|
||||
<message>
|
||||
<source>General</source>
|
||||
<translation>一般</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify</name>
|
||||
<message>
|
||||
<source>&Uncrustify</source>
|
||||
<translation>&Uncrustify</translation>
|
||||
|
@@ -27929,7 +27929,7 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle::ArtisticStyleOptionsPage</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formularz</translation>
|
||||
@@ -27971,25 +27971,10 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Use specific config file:</source>
|
||||
<translation>Używaj szczególnego pliku konfiguracyjnego:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat::ClangFormatOptionsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formularz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Konfiguracja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format command:</source>
|
||||
<translation>Komenda formatowania Clang:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>Opcje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format</source>
|
||||
<translation>Formatowanie Clang</translation>
|
||||
@@ -27998,18 +27983,10 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Use predefined style:</source>
|
||||
<translation>Używaj predefiniowanego stylu:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>Używaj własnego stylu:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Format entire file if no text was selected</source>
|
||||
<translation>Sformatuj cały plik, jeśli nie zaznaczono w nim tekstu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>Zastosuj jedynie do typów MIME:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Fallback style:</source>
|
||||
<translation>Styl zastępczy:</translation>
|
||||
@@ -28018,9 +27995,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>For action Format Selected Text.</source>
|
||||
<translation>Dla akcji: "Sformatuj zaznaczony tekst".</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationDialog</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Nazwa</translation>
|
||||
@@ -28037,13 +28011,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Documentation for "%1"</source>
|
||||
<translation>Dokumentacja dla "%1"</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationPanel</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formularz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Edit</source>
|
||||
<translation>Zmodyfikuj</translation>
|
||||
@@ -28064,55 +28031,24 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Edit Configuration</source>
|
||||
<translation>Zmodyfikuj konfigurację</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify::UncrustifyOptionsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formularz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Konfiguracja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify command:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>Opcje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file uncrustify.cfg defined in project files</source>
|
||||
<translation>Używaj plików uncrustify.cfg zdefiniowanych w plikach projektów</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file uncrustify.cfg in HOME</source>
|
||||
<extracomment>HOME is replaced by the user's home directory</extracomment>
|
||||
<translatorcomment>Shouldn't we use %1 instead of HOME?</translatorcomment>
|
||||
<translation>Uźywaj pliku uncrustify.cfg w HOME</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>Używaj własnego stylu:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>For action Format Selected Text</source>
|
||||
<translation>Dla akcji: "Sformatuj zaznaczony tekst"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Format entire file if no text was selected</source>
|
||||
<translation>Sformatuj cały plik, jeśli nie zaznaczono w nim tekstu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>Zastosuj jedynie do typów MIME:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file specific uncrustify.cfg</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -28396,9 +28332,6 @@ Zbuduj aplikację qmldump na stronie z opcjami wersji Qt.</translation>
|
||||
<source>Bea&utifier</source>
|
||||
<translation>U&piększacz</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::BeautifierPlugin</name>
|
||||
<message>
|
||||
<source>Cannot create temporary file "%1": %2.</source>
|
||||
<translation>Nie można utworzyć tymczasowego pliku "%1": %2.</translation>
|
||||
@@ -37819,11 +37752,7 @@ Czy nadpisać go?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::GeneralOptionsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formularz</translation>
|
||||
</message>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Automatic Formatting on File Save</source>
|
||||
<translation>Automatyczne formatowanie przy zachowywaniu plików</translation>
|
||||
@@ -37836,10 +37765,6 @@ Czy nadpisać go?</translation>
|
||||
<source>Tool:</source>
|
||||
<translation>Narzędzie:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>Zastosuj jedynie do typów MIME:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to files contained in the current project</source>
|
||||
<translation>Zastosuj jedynie do plików zawartych w bieżącym projekcie</translation>
|
||||
@@ -38216,7 +38141,7 @@ po naciśnięciu klawisza backspace</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::AbstractSettings</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Cannot save styles. %1 does not exist.</source>
|
||||
<translation>Nie można zachować stylów. %1 nie istnieje.</translation>
|
||||
@@ -38245,20 +38170,10 @@ po naciśnięciu klawisza backspace</translation>
|
||||
<source>Cannot read documentation file "%1": %2.</source>
|
||||
<translation>Nie można odczytać pliku z dokumentacją "%1": %2.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle::ArtisticStyle</name>
|
||||
<message>
|
||||
<source>Artistic Style</source>
|
||||
<translation>Styl Artistic</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Artistic Style</source>
|
||||
<translation>Styl &Artistic</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat::ClangFormat</name>
|
||||
<message>
|
||||
<source>ClangFormat</source>
|
||||
<translation>ClangFormat</translation>
|
||||
@@ -38267,16 +38182,10 @@ po naciśnięciu klawisza backspace</translation>
|
||||
<source>&ClangFormat</source>
|
||||
<translation>&ClangFormat</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat::ClangFormatSettings</name>
|
||||
<message>
|
||||
<source>No description available.</source>
|
||||
<translation>Brak opisu.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify::Uncrustify</name>
|
||||
<message>
|
||||
<source>Uncrustify</source>
|
||||
<translation>Uncrustify</translation>
|
||||
@@ -40942,7 +40851,7 @@ Błąd: %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify::UncrustifyOptionsPageWidget</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Uncrustify file (*.cfg)</source>
|
||||
<translation>Plik uncrustify (*.cfg)</translation>
|
||||
@@ -41832,7 +41741,7 @@ Błąd: %5</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle::ArtisticStyleOptionsPageWidget</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>AStyle (*.astylerc)</source>
|
||||
<translation>AStyle (*.astylerc)</translation>
|
||||
|
@@ -4588,9 +4588,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Bea&utifier</source>
|
||||
<translation>Стили&затор</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal</name>
|
||||
<message>
|
||||
<source>Artistic Style</source>
|
||||
<translation>Artistic Style</translation>
|
||||
@@ -4599,9 +4596,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Uncrustify</source>
|
||||
<translation>Uncrustify</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::AbstractSettings</name>
|
||||
<message>
|
||||
<source>Cannot save styles. %1 does not exist.</source>
|
||||
<translation>Невозможно сохранить стили. %1 не существует.</translation>
|
||||
@@ -4630,24 +4624,14 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Cannot read documentation file "%1": %2.</source>
|
||||
<translation>Невозможно прочитать файл документации «%1»: %2.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle</name>
|
||||
<message>
|
||||
<source>AStyle (*.astylerc)</source>
|
||||
<translation>AStyle (*.astylerc)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Artistic Style</source>
|
||||
<translation>Artistic Style</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Artistic Style</source>
|
||||
<translation>&Artistic Style</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyleOptionsPage</name>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Конфигурация</translation>
|
||||
@@ -4681,9 +4665,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Use customized style:</source>
|
||||
<translation>Использовать особый стиль:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::BeautifierPlugin</name>
|
||||
<message>
|
||||
<source>Error in Beautifier: %1</source>
|
||||
<translation>Ошибка стилизатора: %1</translation>
|
||||
@@ -4717,9 +4698,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<extracomment>File dialog title for path chooser when choosing binary</extracomment>
|
||||
<translation>Команда %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat</name>
|
||||
<message>
|
||||
<source>Clang Format</source>
|
||||
<translation>Clang Format</translation>
|
||||
@@ -4728,10 +4706,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Uncrustify file (*.cfg)</source>
|
||||
<translation>Файл Uncrustify (*.cfg)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify</source>
|
||||
<translation>Uncrustify</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&ClangFormat</source>
|
||||
<translation>&ClangFormat</translation>
|
||||
@@ -4740,17 +4714,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>ClangFormat</source>
|
||||
<translation>ClangFormat</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormatOptionsPage</name>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>Параметры</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>Использовать особый стиль:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use predefined style:</source>
|
||||
<translation>Использовать стандартный стиль:</translation>
|
||||
@@ -4759,28 +4722,14 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Fallback style:</source>
|
||||
<translation>Резервный стиль:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Конфигурация</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format command:</source>
|
||||
<translation>Команда Clang Format:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>Только для MIME-типов:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormatSettings</name>
|
||||
<message>
|
||||
<source>No description available.</source>
|
||||
<translation>Описание недоступно.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationDialog</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Имя</translation>
|
||||
@@ -4797,9 +4746,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Documentation for "%1"</source>
|
||||
<translation>Описание «%1»</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationPanel</name>
|
||||
<message>
|
||||
<source>Edit</source>
|
||||
<translation>Изменить</translation>
|
||||
@@ -4820,9 +4766,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Edit Configuration</source>
|
||||
<translation>Изменение конфигурации</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::GeneralOptionsPage</name>
|
||||
<message>
|
||||
<source>Automatic Formatting on File Save</source>
|
||||
<translation>Автоматическое форматирование при сохранении</translation>
|
||||
@@ -4835,47 +4778,22 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Tool:</source>
|
||||
<translation>Утилита:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>Только для MIME-типов:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to files contained in the current project</source>
|
||||
<translation>Только для файлов текущего проекта</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::GeneralOptionsPageWidget</name>
|
||||
<message>
|
||||
<source>General</source>
|
||||
<translation>Основное</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify</name>
|
||||
<message>
|
||||
<source>&Uncrustify</source>
|
||||
<translation>&Uncrustify</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::UncrustifyOptionsPage</name>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Конфигурация</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify command:</source>
|
||||
<translation>Команда Uncrustify:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation>Только для MIME-типов:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>Параметры</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file uncrustify.cfg defined in project files</source>
|
||||
<translation>Использовать файл uncrustify.cfg заданный в проекте</translation>
|
||||
@@ -4889,10 +4807,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<extracomment>HOME is replaced by the user's home directory</extracomment>
|
||||
<translation>Использовать uncrustify.cfg из HOME</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>Использовать особый стиль:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>For action Format Selected Text</source>
|
||||
<translation>Для операции «Форматировать выделенное»</translation>
|
||||
|
@@ -38575,7 +38575,7 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle::ArtisticStyleOptionsPage</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Форма</translation>
|
||||
@@ -38613,25 +38613,10 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Use customized style:</source>
|
||||
<translation>Використовувати власний стиль:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat::ClangFormatOptionsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Форма</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Конфігурація</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format command:</source>
|
||||
<translation>Команда Clang Format:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>Опції</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use Predefined Style:</source>
|
||||
<translation type="vanished">Використовувати існуючий стиль:</translation>
|
||||
@@ -38652,10 +38637,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Use predefined style:</source>
|
||||
<translation>Використовувати існуючий стиль:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>Використовувати власний стиль:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>For action Format Selected Text</source>
|
||||
<translation>Для дії "Форматувати виділений текст"</translation>
|
||||
@@ -38664,9 +38645,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Format entire file if no text was selected</source>
|
||||
<translation>Форматувати увесь файл при порожньому виділенні</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationDialog</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Назва</translation>
|
||||
@@ -38687,13 +38665,6 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Documentation for "%1"</source>
|
||||
<translation>Документація для "%1"</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationPanel</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Форма</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Edit</source>
|
||||
<translation>Редагувати</translation>
|
||||
@@ -38714,25 +38685,10 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<source>Edit Configuration</source>
|
||||
<translation>Редагувати конфігурацію</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify::UncrustifyOptionsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Форма</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation>Конфігурація</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify command:</source>
|
||||
<translation>Команда Uncrustify:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation>Опції</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use file uncrustify.cfg defined in project files</source>
|
||||
<translation>Використовувати файл uncrustify.cfg заданий в файлах проекту</translation>
|
||||
@@ -38742,26 +38698,10 @@ For example, "Revision: 15" will leave the branch at revision 15.</sou
|
||||
<extracomment>HOME is replaced by the user's home directory</extracomment>
|
||||
<translation>Використовувати файл uncrustify.cfg з HOME</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use self-defined style:</source>
|
||||
<translation type="vanished">Використовувати власний стиль:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify</source>
|
||||
<translation>Uncrustify</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation>Використовувати власний стиль:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>For action Format Selected Text</source>
|
||||
<translation>Для дії "Форматувати виділений текст"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Format entire file if no text was selected</source>
|
||||
<translation>Форматувати увесь файл при порожньому виділенні</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ClangCodeModel::Internal::ClangProjectSettingsPropertiesPage</name>
|
||||
@@ -39209,9 +39149,6 @@ Please build the qmldump application on the Qt version options page.</source>
|
||||
<source>Beautifier</source>
|
||||
<translation>Форматування коду</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::BeautifierPlugin</name>
|
||||
<message>
|
||||
<source>Cannot create temporary file "%1": %2.</source>
|
||||
<translation type="vanished">Неможливо створити тимчасовий файл "%1": %2.</translation>
|
||||
@@ -39265,7 +39202,7 @@ Please build the qmldump application on the Qt version options page.</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ClangFormatSettings</name>
|
||||
<name>::Beautifier</name>
|
||||
<message>
|
||||
<source>No description available.</source>
|
||||
<translation>Опис відсутній.</translation>
|
||||
|
@@ -4766,9 +4766,6 @@ Local pulls are not applied to the master branch.</source>
|
||||
<source>Beautifier</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal</name>
|
||||
<message>
|
||||
<source>Artistic Style</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -4777,9 +4774,6 @@ Local pulls are not applied to the master branch.</source>
|
||||
<source>Uncrustify</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::AbstractSettings</name>
|
||||
<message>
|
||||
<source>Cannot save styles. %1 does not exist.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -4808,9 +4802,6 @@ Local pulls are not applied to the master branch.</source>
|
||||
<source>Cannot read documentation file "%1": %2.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ArtisticStyle</name>
|
||||
<message>
|
||||
<source>&Artistic Style</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -4851,13 +4842,6 @@ Local pulls are not applied to the master branch.</source>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Artistic Style</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::BeautifierPlugin</name>
|
||||
<message>
|
||||
<source>Error in Beautifier: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -4896,9 +4880,6 @@ Local pulls are not applied to the master branch.</source>
|
||||
<extracomment>File dialog title for path chooser when choosing binary</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormat</name>
|
||||
<message>
|
||||
<source>&ClangFormat</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -4907,14 +4888,6 @@ Local pulls are not applied to the master branch.</source>
|
||||
<source>ClangFormat</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Options</source>
|
||||
<translation type="unfinished">选项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use customized style:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use predefined style:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -4923,18 +4896,10 @@ Local pulls are not applied to the master branch.</source>
|
||||
<source>Fallback style:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configuration</source>
|
||||
<translation type="unfinished">配置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format command:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clang Format</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -4967,20 +4932,10 @@ Local pulls are not applied to the master branch.</source>
|
||||
<source>Uncrustify command:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Uncrustify</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ClangFormatSettings</name>
|
||||
<message>
|
||||
<source>No description available.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationDialog</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -4997,9 +4952,6 @@ Local pulls are not applied to the master branch.</source>
|
||||
<source>Documentation for "%1"</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::ConfigurationPanel</name>
|
||||
<message>
|
||||
<source>Edit</source>
|
||||
<translation type="unfinished">编辑</translation>
|
||||
@@ -5020,9 +4972,6 @@ Local pulls are not applied to the master branch.</source>
|
||||
<source>Edit Configuration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::GeneralOptionsPageWidget</name>
|
||||
<message>
|
||||
<source>Enable auto format on file save</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -5031,10 +4980,6 @@ Local pulls are not applied to the master branch.</source>
|
||||
<source>Tool:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to MIME types:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restrict to files contained in the current project</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -5047,9 +4992,6 @@ Local pulls are not applied to the master branch.</source>
|
||||
<source>General</source>
|
||||
<translation type="unfinished">概要</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Beautifier::Internal::Uncrustify</name>
|
||||
<message>
|
||||
<source>&Uncrustify</source>
|
||||
<translation type="unfinished"></translation>
|
||||
|
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "beautifierconstants.h"
|
||||
#include "beautifierplugin.h"
|
||||
#include "beautifiertr.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/idocument.h>
|
||||
@@ -274,20 +275,20 @@ void AbstractSettings::save()
|
||||
|
||||
const QFileInfo fi(styleFileName(iStyles.key()));
|
||||
if (!(m_styleDir.mkpath(fi.absolutePath()))) {
|
||||
BeautifierPlugin::showError(tr("Cannot save styles. %1 does not exist.")
|
||||
BeautifierPlugin::showError(Tr::tr("Cannot save styles. %1 does not exist.")
|
||||
.arg(fi.absolutePath()));
|
||||
continue;
|
||||
}
|
||||
|
||||
FileSaver saver(FilePath::fromUserInput(fi.absoluteFilePath()));
|
||||
if (saver.hasError()) {
|
||||
BeautifierPlugin::showError(tr("Cannot open file \"%1\": %2.")
|
||||
BeautifierPlugin::showError(Tr::tr("Cannot open file \"%1\": %2.")
|
||||
.arg(saver.filePath().toUserOutput())
|
||||
.arg(saver.errorString()));
|
||||
} else {
|
||||
saver.write(iStyles.value().toLocal8Bit());
|
||||
if (!saver.finalize()) {
|
||||
BeautifierPlugin::showError(tr("Cannot save file \"%1\": %2.")
|
||||
BeautifierPlugin::showError(Tr::tr("Cannot save file \"%1\": %2.")
|
||||
.arg(saver.filePath().toUserOutput())
|
||||
.arg(saver.errorString()));
|
||||
}
|
||||
@@ -337,7 +338,7 @@ void AbstractSettings::readDocumentation()
|
||||
{
|
||||
const QString filename = documentationFilePath();
|
||||
if (filename.isEmpty()) {
|
||||
BeautifierPlugin::showError(tr("No documentation file specified."));
|
||||
BeautifierPlugin::showError(Tr::tr("No documentation file specified."));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -346,7 +347,7 @@ void AbstractSettings::readDocumentation()
|
||||
createDocumentationFile();
|
||||
|
||||
if (!file.open(QIODevice::ReadOnly)) {
|
||||
BeautifierPlugin::showError(tr("Cannot open documentation file \"%1\".").arg(filename));
|
||||
BeautifierPlugin::showError(Tr::tr("Cannot open documentation file \"%1\".").arg(filename));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -354,7 +355,7 @@ void AbstractSettings::readDocumentation()
|
||||
if (!xml.readNextStartElement())
|
||||
return;
|
||||
if (xml.name() != QLatin1String(Constants::DOCUMENTATION_XMLROOT)) {
|
||||
BeautifierPlugin::showError(tr("The file \"%1\" is not a valid documentation file.")
|
||||
BeautifierPlugin::showError(Tr::tr("The file \"%1\" is not a valid documentation file.")
|
||||
.arg(filename));
|
||||
return;
|
||||
}
|
||||
@@ -385,7 +386,7 @@ void AbstractSettings::readDocumentation()
|
||||
}
|
||||
|
||||
if (xml.hasError()) {
|
||||
BeautifierPlugin::showError(tr("Cannot read documentation file \"%1\": %2.")
|
||||
BeautifierPlugin::showError(Tr::tr("Cannot read documentation file \"%1\": %2.")
|
||||
.arg(filename).arg(xml.errorString()));
|
||||
}
|
||||
}
|
||||
|
@@ -6,10 +6,10 @@
|
||||
#include "artisticstyle.h"
|
||||
|
||||
#include "artisticstyleconstants.h"
|
||||
#include "artisticstyleoptionspage.h"
|
||||
|
||||
#include "../beautifierconstants.h"
|
||||
#include "../beautifierplugin.h"
|
||||
#include "../beautifiertr.h"
|
||||
|
||||
#include <coreplugin/actionmanager/actioncontainer.h>
|
||||
#include <coreplugin/actionmanager/actionmanager.h>
|
||||
@@ -35,13 +35,12 @@
|
||||
|
||||
using namespace TextEditor;
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
ArtisticStyle::ArtisticStyle()
|
||||
{
|
||||
Core::ActionContainer *menu = Core::ActionManager::createMenu("ArtisticStyle.Menu");
|
||||
menu->menu()->setTitle(tr("&Artistic Style"));
|
||||
menu->menu()->setTitle(Tr::tr("&Artistic Style"));
|
||||
|
||||
m_formatFile = new QAction(BeautifierPlugin::msgFormatCurrentFile(), this);
|
||||
menu->addAction(Core::ActionManager::registerAction(m_formatFile, "ArtisticStyle.FormatFile"));
|
||||
@@ -68,7 +67,7 @@ void ArtisticStyle::formatFile()
|
||||
const QString cfgFileName = configurationFile();
|
||||
if (cfgFileName.isEmpty()) {
|
||||
BeautifierPlugin::showError(BeautifierPlugin::msgCannotGetConfigurationFile(
|
||||
tr(Constants::ARTISTICSTYLE_DISPLAY_NAME)));
|
||||
Tr::tr(Constants::ARTISTICSTYLE_DISPLAY_NAME)));
|
||||
} else {
|
||||
formatCurrentFile(command(cfgFileName));
|
||||
}
|
||||
@@ -143,5 +142,4 @@ Command ArtisticStyle::command(const QString &cfgFile) const
|
||||
return command;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -8,13 +8,10 @@
|
||||
#include "artisticstyleoptionspage.h"
|
||||
#include "artisticstylesettings.h"
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
class ArtisticStyle : public BeautifierAbstractTool
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ArtisticStyle();
|
||||
|
||||
@@ -33,5 +30,4 @@ private:
|
||||
ArtisticStyleOptionsPage m_page{&m_settings};
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -5,10 +5,8 @@
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Constants {
|
||||
namespace Beautifier::Constants {
|
||||
|
||||
const char ARTISTICSTYLE_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("Beautifier::Internal", "Artistic Style");
|
||||
const char ARTISTICSTYLE_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::Beautifier", "Artistic Style");
|
||||
|
||||
} // namespace Constants
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Constants
|
||||
|
@@ -5,10 +5,10 @@
|
||||
|
||||
#include "artisticstyleconstants.h"
|
||||
#include "artisticstylesettings.h"
|
||||
#include "artisticstyle.h"
|
||||
|
||||
#include "../beautifierconstants.h"
|
||||
#include "../beautifierplugin.h"
|
||||
#include "../beautifiertr.h"
|
||||
#include "../configurationpanel.h"
|
||||
|
||||
#include <utils/layoutbuilder.h>
|
||||
@@ -24,8 +24,6 @@ namespace Beautifier::Internal {
|
||||
|
||||
class ArtisticStyleOptionsPageWidget : public Core::IOptionsPageWidget
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(Beautifier::Internal::ArtisticStyle)
|
||||
|
||||
public:
|
||||
explicit ArtisticStyleOptionsPageWidget(ArtisticStyleSettings *settings);
|
||||
|
||||
@@ -53,29 +51,29 @@ ArtisticStyleOptionsPageWidget::ArtisticStyleOptionsPageWidget(ArtisticStyleSett
|
||||
|
||||
m_mime = new QLineEdit(m_settings->supportedMimeTypesAsString());
|
||||
|
||||
auto options = new QGroupBox(tr("Options"));
|
||||
auto options = new QGroupBox(Tr::tr("Options"));
|
||||
|
||||
m_useOtherFiles = new QCheckBox(tr("Use file *.astylerc defined in project files"));
|
||||
m_useOtherFiles = new QCheckBox(Tr::tr("Use file *.astylerc defined in project files"));
|
||||
m_useOtherFiles->setChecked(m_settings->useOtherFiles());
|
||||
|
||||
m_useSpecificConfigFile = new QCheckBox(tr("Use specific config file:"));
|
||||
m_useSpecificConfigFile = new QCheckBox(Tr::tr("Use specific config file:"));
|
||||
m_useSpecificConfigFile->setChecked(m_settings->useSpecificConfigFile());
|
||||
|
||||
m_specificConfigFile = new Utils::PathChooser;
|
||||
m_specificConfigFile->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
|
||||
m_specificConfigFile->setExpectedKind(Utils::PathChooser::File);
|
||||
m_specificConfigFile->setPromptDialogFilter(tr("AStyle (*.astylerc)"));
|
||||
m_specificConfigFile->setPromptDialogFilter(Tr::tr("AStyle (*.astylerc)"));
|
||||
m_specificConfigFile->setFilePath(m_settings->specificConfigFile());
|
||||
|
||||
m_useHomeFile = new QCheckBox(
|
||||
tr("Use file .astylerc or astylerc in HOME").
|
||||
replace("HOME", QDir::toNativeSeparators(QDir::home().absolutePath())));
|
||||
Tr::tr("Use file .astylerc or astylerc in HOME").
|
||||
replace("HOME", QDir::toNativeSeparators(QDir::home().absolutePath())));
|
||||
m_useHomeFile->setChecked(m_settings->useHomeFile());
|
||||
|
||||
m_useCustomStyle = new QCheckBox(tr("Use customized style:"));
|
||||
m_useCustomStyle = new QCheckBox(Tr::tr("Use customized style:"));
|
||||
m_useCustomStyle->setChecked(m_settings->useCustomStyle());
|
||||
|
||||
m_configurations = new Beautifier::Internal::ConfigurationPanel(options);
|
||||
m_configurations = new ConfigurationPanel(options);
|
||||
m_configurations->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
|
||||
m_configurations->setSettings(m_settings);
|
||||
m_configurations->setCurrentConfiguration(m_settings->customStyle());
|
||||
@@ -83,7 +81,7 @@ ArtisticStyleOptionsPageWidget::ArtisticStyleOptionsPageWidget(ArtisticStyleSett
|
||||
m_command->setExpectedKind(Utils::PathChooser::ExistingCommand);
|
||||
m_command->setCommandVersionArguments({"--version"});
|
||||
m_command->setPromptDialogTitle(BeautifierPlugin::msgCommandPromptDialogTitle(
|
||||
ArtisticStyle::tr(Constants::ARTISTICSTYLE_DISPLAY_NAME)));
|
||||
Tr::tr(Constants::ARTISTICSTYLE_DISPLAY_NAME)));
|
||||
m_command->setFilePath(m_settings->command());
|
||||
|
||||
using namespace Utils::Layouting;
|
||||
@@ -97,10 +95,10 @@ ArtisticStyleOptionsPageWidget::ArtisticStyleOptionsPageWidget(ArtisticStyleSett
|
||||
|
||||
Column {
|
||||
Group {
|
||||
title(tr("Configuration")),
|
||||
title(Tr::tr("Configuration")),
|
||||
Form {
|
||||
tr("Artistic Style command:"), m_command, br,
|
||||
tr("Restrict to MIME types:"), m_mime
|
||||
Tr::tr("Artistic Style command:"), m_command, br,
|
||||
Tr::tr("Restrict to MIME types:"), m_mime
|
||||
}
|
||||
},
|
||||
options,
|
||||
@@ -129,7 +127,7 @@ void ArtisticStyleOptionsPageWidget::apply()
|
||||
ArtisticStyleOptionsPage::ArtisticStyleOptionsPage(ArtisticStyleSettings *settings)
|
||||
{
|
||||
setId("ArtisticStyle");
|
||||
setDisplayName(ArtisticStyleOptionsPageWidget::tr("Artistic Style"));
|
||||
setDisplayName(Tr::tr("Artistic Style"));
|
||||
setCategory(Constants::OPTION_CATEGORY);
|
||||
setWidgetCreator([settings] { return new ArtisticStyleOptionsPageWidget(settings); });
|
||||
}
|
||||
|
@@ -3,8 +3,6 @@
|
||||
|
||||
#include "artisticstylesettings.h"
|
||||
|
||||
#include "artisticstyleconstants.h"
|
||||
|
||||
#include "../beautifierconstants.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
@@ -21,8 +19,7 @@
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
const char USE_OTHER_FILES[] = "useOtherFiles";
|
||||
const char USE_SPECIFIC_CONFIG_FILE[] = "useSpecificConfigFile";
|
||||
@@ -187,5 +184,4 @@ void ArtisticStyleSettings::createDocumentationFile() const
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -7,13 +7,10 @@
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
class ArtisticStyleSettings : public AbstractSettings
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ArtisticStyleSettings();
|
||||
|
||||
@@ -39,5 +36,4 @@ public:
|
||||
void createDocumentationFile() const override;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -12,13 +12,10 @@ class IDocument;
|
||||
class IEditor;
|
||||
}
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
class BeautifierAbstractTool : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
BeautifierAbstractTool() = default;
|
||||
|
||||
@@ -35,5 +32,4 @@ public:
|
||||
virtual bool isApplicable(const Core::IDocument *document) const = 0;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -5,8 +5,7 @@
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Constants {
|
||||
namespace Beautifier::Constants {
|
||||
|
||||
const char ACTION_ID[] = "Beautifier.Action";
|
||||
const char MENU_ID[] = "Beautifier.Menu";
|
||||
@@ -20,5 +19,4 @@ const char DOCUMENTATION_XMLKEYS[] = "keys";
|
||||
const char DOCUMENTATION_XMLKEY[] = "key";
|
||||
const char DOCUMENTATION_XMLDOC[] = "doc";
|
||||
|
||||
} // namespace Constants
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Constants
|
||||
|
@@ -37,8 +37,6 @@
|
||||
#include <utils/temporarydirectory.h>
|
||||
#include <utils/textutils.h>
|
||||
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
#include <QMenu>
|
||||
#include <QPlainTextEdit>
|
||||
#include <QScrollBar>
|
||||
@@ -46,8 +44,7 @@
|
||||
|
||||
using namespace TextEditor;
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
bool isAutoFormatApplicable(const Core::IDocument *document,
|
||||
const QList<Utils::MimeType> &allowedMimeTypes)
|
||||
@@ -176,49 +173,48 @@ void BeautifierPluginPrivate::autoFormatOnSave(Core::IDocument *document)
|
||||
|
||||
void BeautifierPlugin::showError(const QString &error)
|
||||
{
|
||||
Core::MessageManager::writeFlashing(tr("Error in Beautifier: %1").arg(error.trimmed()));
|
||||
Core::MessageManager::writeFlashing(Tr::tr("Error in Beautifier: %1").arg(error.trimmed()));
|
||||
}
|
||||
|
||||
QString BeautifierPlugin::msgCannotGetConfigurationFile(const QString &command)
|
||||
{
|
||||
return tr("Cannot get configuration file for %1.").arg(command);
|
||||
return Tr::tr("Cannot get configuration file for %1.").arg(command);
|
||||
}
|
||||
|
||||
QString BeautifierPlugin::msgFormatCurrentFile()
|
||||
{
|
||||
//: Menu entry
|
||||
return tr("Format &Current File");
|
||||
return Tr::tr("Format &Current File");
|
||||
}
|
||||
|
||||
QString BeautifierPlugin::msgFormatSelectedText()
|
||||
{
|
||||
//: Menu entry
|
||||
return tr("Format &Selected Text");
|
||||
return Tr::tr("Format &Selected Text");
|
||||
}
|
||||
|
||||
QString BeautifierPlugin::msgFormatAtCursor()
|
||||
{
|
||||
//: Menu entry
|
||||
return tr("&Format at Cursor");
|
||||
return Tr::tr("&Format at Cursor");
|
||||
}
|
||||
|
||||
QString BeautifierPlugin::msgFormatLines()
|
||||
{
|
||||
//: Menu entry
|
||||
return tr("Format &Line(s)");
|
||||
return Tr::tr("Format &Line(s)");
|
||||
}
|
||||
|
||||
QString BeautifierPlugin::msgDisableFormattingSelectedText()
|
||||
{
|
||||
//: Menu entry
|
||||
return tr("&Disable Formatting for Selected Text");
|
||||
return Tr::tr("&Disable Formatting for Selected Text");
|
||||
}
|
||||
|
||||
QString BeautifierPlugin::msgCommandPromptDialogTitle(const QString &command)
|
||||
{
|
||||
//: File dialog title for path chooser when choosing binary
|
||||
return tr("%1 Command").arg(command);
|
||||
return Tr::tr("%1 Command").arg(command);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -6,8 +6,7 @@
|
||||
#include <extensionsystem/iplugin.h>
|
||||
#include <texteditor/command.h>
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
class BeautifierPlugin : public ExtensionSystem::IPlugin
|
||||
{
|
||||
@@ -30,5 +29,4 @@ private:
|
||||
ShutdownFlag aboutToShutdown() override;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -6,10 +6,10 @@
|
||||
#include "clangformat.h"
|
||||
|
||||
#include "clangformatconstants.h"
|
||||
#include "clangformatoptionspage.h"
|
||||
|
||||
#include "../beautifierconstants.h"
|
||||
#include "../beautifierplugin.h"
|
||||
#include "../beautifiertr.h"
|
||||
|
||||
#include <coreplugin/actionmanager/actioncontainer.h>
|
||||
#include <coreplugin/actionmanager/actionmanager.h>
|
||||
@@ -31,13 +31,12 @@
|
||||
|
||||
using namespace TextEditor;
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
ClangFormat::ClangFormat()
|
||||
{
|
||||
Core::ActionContainer *menu = Core::ActionManager::createMenu("ClangFormat.Menu");
|
||||
menu->menu()->setTitle(tr("&ClangFormat"));
|
||||
menu->menu()->setTitle(Tr::tr("&ClangFormat"));
|
||||
|
||||
m_formatFile = new QAction(BeautifierPlugin::msgFormatCurrentFile(), this);
|
||||
Core::Command *cmd
|
||||
@@ -224,5 +223,4 @@ Command ClangFormat::command(int offset, int length) const
|
||||
return c;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -8,13 +8,10 @@
|
||||
#include "clangformatoptionspage.h"
|
||||
#include "clangformatsettings.h"
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
class ClangFormat : public BeautifierAbstractTool
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ClangFormat();
|
||||
|
||||
@@ -39,5 +36,4 @@ private:
|
||||
ClangFormatOptionsPage m_page{&m_settings};
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -5,10 +5,8 @@
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Constants {
|
||||
namespace Beautifier::Constants {
|
||||
|
||||
const char CLANGFORMAT_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("Beautifier::Internal::ClangFormat", "ClangFormat");
|
||||
const char CLANGFORMAT_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::Beautifier", "ClangFormat");
|
||||
|
||||
} // namespace Constants
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Constants
|
||||
|
@@ -3,11 +3,11 @@
|
||||
|
||||
#include "clangformatoptionspage.h"
|
||||
|
||||
#include "clangformatconstants.h"
|
||||
#include "clangformatsettings.h"
|
||||
|
||||
#include "../beautifierconstants.h"
|
||||
#include "../beautifierplugin.h"
|
||||
#include "../beautifiertr.h"
|
||||
#include "../configurationpanel.h"
|
||||
|
||||
#include <utils/layoutbuilder.h>
|
||||
@@ -25,8 +25,6 @@ namespace Beautifier::Internal {
|
||||
|
||||
class ClangFormatOptionsPageWidget : public Core::IOptionsPageWidget
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(Beautifier::Internal::ClangFormat)
|
||||
|
||||
public:
|
||||
explicit ClangFormatOptionsPageWidget(ClangFormatSettings *settings);
|
||||
|
||||
@@ -45,19 +43,19 @@ private:
|
||||
ClangFormatOptionsPageWidget::ClangFormatOptionsPageWidget(ClangFormatSettings *settings)
|
||||
: m_settings(settings)
|
||||
{
|
||||
auto options = new QGroupBox(tr("Options"));
|
||||
auto options = new QGroupBox(Tr::tr("Options"));
|
||||
options->setEnabled(false);
|
||||
|
||||
auto styleButtonGroup = new QButtonGroup(this);
|
||||
|
||||
auto useCustomizedStyle = new QRadioButton(tr("Use customized style:"));
|
||||
auto useCustomizedStyle = new QRadioButton(Tr::tr("Use customized style:"));
|
||||
styleButtonGroup->addButton(useCustomizedStyle);
|
||||
|
||||
m_configurations = new ConfigurationPanel;
|
||||
m_configurations->setSettings(m_settings);
|
||||
m_configurations->setCurrentConfiguration(m_settings->customStyle());
|
||||
|
||||
m_usePredefinedStyle = new QRadioButton(tr("Use predefined style:"));
|
||||
m_usePredefinedStyle = new QRadioButton(Tr::tr("Use predefined style:"));
|
||||
|
||||
m_usePredefinedStyle->setChecked(true);
|
||||
styleButtonGroup->addButton(m_usePredefinedStyle);
|
||||
@@ -92,16 +90,16 @@ ClangFormatOptionsPageWidget::ClangFormatOptionsPageWidget(ClangFormatSettings *
|
||||
|
||||
Form {
|
||||
m_usePredefinedStyle, m_predefinedStyle, br,
|
||||
empty, Row { tr("Fallback style:"), m_fallbackStyle }, br,
|
||||
empty, Row { Tr::tr("Fallback style:"), m_fallbackStyle }, br,
|
||||
useCustomizedStyle, m_configurations, br,
|
||||
}.attachTo(options);
|
||||
|
||||
Column {
|
||||
Group {
|
||||
title(tr("Configuration")),
|
||||
title(Tr::tr("Configuration")),
|
||||
Form {
|
||||
tr("Clang Format command:"), m_command, br,
|
||||
tr("Restrict to MIME types:"), m_mime
|
||||
Tr::tr("Clang Format command:"), m_command, br,
|
||||
Tr::tr("Restrict to MIME types:"), m_mime
|
||||
}
|
||||
},
|
||||
options,
|
||||
@@ -138,7 +136,7 @@ void ClangFormatOptionsPageWidget::apply()
|
||||
ClangFormatOptionsPage::ClangFormatOptionsPage(ClangFormatSettings *settings)
|
||||
{
|
||||
setId("ClangFormat");
|
||||
setDisplayName(ClangFormatOptionsPageWidget::tr("Clang Format"));
|
||||
setDisplayName(Tr::tr("Clang Format"));
|
||||
setCategory(Constants::OPTION_CATEGORY);
|
||||
setWidgetCreator([settings] { return new ClangFormatOptionsPageWidget(settings); });
|
||||
}
|
||||
|
@@ -3,17 +3,15 @@
|
||||
|
||||
#include "clangformatsettings.h"
|
||||
|
||||
#include "clangformatconstants.h"
|
||||
|
||||
#include "../beautifierconstants.h"
|
||||
#include "../beautifiertr.h"
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QXmlStreamWriter>
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
const char USE_PREDEFINED_STYLE[] = "usePredefinedStyle";
|
||||
const char PREDEFINED_STYLE[] = "predefinedStyle";
|
||||
@@ -111,7 +109,7 @@ void ClangFormatSettings::createDocumentationFile() const
|
||||
const QString options = line.right(line.size() - firstSpace).trimmed();
|
||||
const QString text = "<p><span class=\"option\">" + keyword
|
||||
+ "</span> <span class=\"param\">" + options
|
||||
+ "</span></p><p>" + tr("No description available.") + "</p>";
|
||||
+ "</span></p><p>" + Tr::tr("No description available.") + "</p>";
|
||||
stream.writeStartElement(Constants::DOCUMENTATION_XMLENTRY);
|
||||
stream.writeTextElement(Constants::DOCUMENTATION_XMLKEY, keyword);
|
||||
stream.writeTextElement(Constants::DOCUMENTATION_XMLDOC, text);
|
||||
@@ -215,5 +213,4 @@ void ClangFormatSettings::readStyles()
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -5,13 +5,10 @@
|
||||
|
||||
#include "../abstractsettings.h"
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
class ClangFormatSettings : public AbstractSettings
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ClangFormatSettings();
|
||||
|
||||
@@ -40,5 +37,4 @@ private:
|
||||
void readStyles() override;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -4,6 +4,7 @@
|
||||
#include "configurationdialog.h"
|
||||
|
||||
#include "abstractsettings.h"
|
||||
#include "beautifiertr.h"
|
||||
#include "configurationeditor.h"
|
||||
|
||||
#include <texteditor/fontsettings.h>
|
||||
@@ -43,11 +44,11 @@ ConfigurationDialog::ConfigurationDialog(QWidget *parent)
|
||||
|
||||
Column {
|
||||
Group {
|
||||
title(tr("Name")),
|
||||
title(Tr::tr("Name")),
|
||||
Column { m_name }
|
||||
},
|
||||
Group {
|
||||
title(tr("Value")),
|
||||
title(Tr::tr("Value")),
|
||||
Column {
|
||||
m_editor,
|
||||
m_documentationHeader,
|
||||
@@ -151,9 +152,9 @@ void ConfigurationDialog::updateOkButton()
|
||||
void ConfigurationDialog::updateDocumentation(const QString &word, const QString &docu)
|
||||
{
|
||||
if (word.isEmpty())
|
||||
m_documentationHeader->setText(tr("Documentation"));
|
||||
m_documentationHeader->setText(Tr::tr("Documentation"));
|
||||
else
|
||||
m_documentationHeader->setText(tr("Documentation for \"%1\"").arg(word));
|
||||
m_documentationHeader->setText(Tr::tr("Documentation for \"%1\"").arg(word));
|
||||
m_documentation->setHtml(docu);
|
||||
}
|
||||
|
||||
|
@@ -19,8 +19,6 @@ class ConfigurationEditor;
|
||||
|
||||
class ConfigurationDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ConfigurationDialog(QWidget *parent = nullptr);
|
||||
~ConfigurationDialog() override;
|
||||
|
@@ -14,8 +14,7 @@
|
||||
#include <QScrollBar>
|
||||
#include <QStringListModel>
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
ConfigurationSyntaxHighlighter::ConfigurationSyntaxHighlighter(QTextDocument *parent) :
|
||||
QSyntaxHighlighter(parent)
|
||||
@@ -233,5 +232,4 @@ void ConfigurationEditor::updateDocumentation()
|
||||
emit documentationChanged(word, doc);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -16,15 +16,12 @@ class QStringListModel;
|
||||
class QTextDocument;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
class AbstractSettings;
|
||||
|
||||
class ConfigurationSyntaxHighlighter : public QSyntaxHighlighter
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ConfigurationSyntaxHighlighter(QTextDocument *parent);
|
||||
void setKeywords(const QStringList &keywords);
|
||||
@@ -68,5 +65,4 @@ private:
|
||||
QString m_lastDocumentation;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -4,6 +4,7 @@
|
||||
#include "configurationpanel.h"
|
||||
|
||||
#include "abstractsettings.h"
|
||||
#include "beautifiertr.h"
|
||||
#include "configurationdialog.h"
|
||||
|
||||
#include <utils/layoutbuilder.h>
|
||||
@@ -21,9 +22,9 @@ ConfigurationPanel::ConfigurationPanel(QWidget *parent)
|
||||
m_configurations = new QComboBox;
|
||||
m_configurations->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
|
||||
|
||||
m_edit = new QPushButton(tr("Edit"));
|
||||
m_remove = new QPushButton(tr("Remove"));
|
||||
auto add = new QPushButton(tr("Add"));
|
||||
m_edit = new QPushButton(Tr::tr("Edit"));
|
||||
m_remove = new QPushButton(Tr::tr("Remove"));
|
||||
auto add = new QPushButton(Tr::tr("Add"));
|
||||
|
||||
using namespace Utils::Layouting;
|
||||
|
||||
@@ -70,7 +71,7 @@ void ConfigurationPanel::remove()
|
||||
void ConfigurationPanel::add()
|
||||
{
|
||||
ConfigurationDialog dialog;
|
||||
dialog.setWindowTitle(tr("Add Configuration"));
|
||||
dialog.setWindowTitle(Tr::tr("Add Configuration"));
|
||||
dialog.setSettings(m_settings);
|
||||
if (dialog.exec() == QDialog::Accepted) {
|
||||
const QString key = dialog.key();
|
||||
@@ -83,7 +84,7 @@ void ConfigurationPanel::edit()
|
||||
{
|
||||
const QString key = m_configurations->currentText();
|
||||
ConfigurationDialog dialog;
|
||||
dialog.setWindowTitle(tr("Edit Configuration"));
|
||||
dialog.setWindowTitle(Tr::tr("Edit Configuration"));
|
||||
dialog.setSettings(m_settings);
|
||||
dialog.setKey(key);
|
||||
if (dialog.exec() == QDialog::Accepted) {
|
||||
|
@@ -19,8 +19,6 @@ namespace Beautifier::Internal {
|
||||
|
||||
class GeneralOptionsPageWidget : public Core::IOptionsPageWidget
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(Beautifier::Internal::GeneralOptionsPageWidget)
|
||||
|
||||
public:
|
||||
explicit GeneralOptionsPageWidget(const QStringList &toolIds);
|
||||
|
||||
@@ -39,20 +37,20 @@ GeneralOptionsPageWidget::GeneralOptionsPageWidget(const QStringList &toolIds)
|
||||
|
||||
auto settings = GeneralSettings::instance();
|
||||
|
||||
m_autoFormat = new QCheckBox(tr("Enable auto format on file save"));
|
||||
m_autoFormat = new QCheckBox(Tr::tr("Enable auto format on file save"));
|
||||
m_autoFormat->setChecked(settings->autoFormatOnSave());
|
||||
|
||||
auto toolLabel = new QLabel(tr("Tool:"));
|
||||
auto toolLabel = new QLabel(Tr::tr("Tool:"));
|
||||
toolLabel->setEnabled(false);
|
||||
|
||||
auto mimeLabel = new QLabel(tr("Restrict to MIME types:"));
|
||||
auto mimeLabel = new QLabel(Tr::tr("Restrict to MIME types:"));
|
||||
mimeLabel->setEnabled(false);
|
||||
|
||||
m_autoFormatMime = new QLineEdit(settings->autoFormatMimeAsString());
|
||||
m_autoFormatMime->setEnabled(false);
|
||||
|
||||
m_autoFormatOnlyCurrentProject =
|
||||
new QCheckBox(tr("Restrict to files contained in the current project"));
|
||||
new QCheckBox(Tr::tr("Restrict to files contained in the current project"));
|
||||
m_autoFormatOnlyCurrentProject->setEnabled(false);
|
||||
m_autoFormatOnlyCurrentProject->setChecked(settings->autoFormatOnlyCurrentProject());
|
||||
|
||||
@@ -66,7 +64,7 @@ GeneralOptionsPageWidget::GeneralOptionsPageWidget(const QStringList &toolIds)
|
||||
|
||||
Column {
|
||||
Group {
|
||||
title(tr("Automatic Formatting on File Save")),
|
||||
title(Tr::tr("Automatic Formatting on File Save")),
|
||||
Form {
|
||||
Span(2, m_autoFormat), br,
|
||||
toolLabel, m_autoFormatTool, br,
|
||||
@@ -97,7 +95,7 @@ void GeneralOptionsPageWidget::apply()
|
||||
GeneralOptionsPage::GeneralOptionsPage(const QStringList &toolIds)
|
||||
{
|
||||
setId(Constants::OPTION_GENERAL_ID);
|
||||
setDisplayName(GeneralOptionsPageWidget::tr("General"));
|
||||
setDisplayName(Tr::tr("General"));
|
||||
setCategory(Constants::OPTION_CATEGORY);
|
||||
setDisplayCategory(Tr::tr("Beautifier"));
|
||||
setWidgetCreator([toolIds] { return new GeneralOptionsPageWidget(toolIds); });
|
||||
|
@@ -3,21 +3,17 @@
|
||||
|
||||
#include "generalsettings.h"
|
||||
|
||||
#include "beautifierconstants.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/genericconstants.h>
|
||||
#include <utils/mimeutils.h>
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
namespace {
|
||||
const char AUTO_FORMAT_TOOL[] = "autoFormatTool";
|
||||
const char AUTO_FORMAT_MIME[] = "autoFormatMime";
|
||||
const char AUTO_FORMAT_ONLY_CURRENT_PROJECT[] = "autoFormatOnlyCurrentProject";
|
||||
}
|
||||
|
||||
static GeneralSettings *m_instance;
|
||||
|
||||
@@ -117,5 +113,4 @@ void GeneralSettings::setAutoFormatOnlyCurrentProject(bool autoFormatOnlyCurrent
|
||||
m_autoFormatOnlyCurrentProject = autoFormatOnlyCurrentProject;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -7,8 +7,7 @@
|
||||
|
||||
#include <QList>
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
class GeneralSettings
|
||||
{
|
||||
@@ -40,5 +39,4 @@ private:
|
||||
QList<Utils::MimeType> m_autoFormatMime;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -6,10 +6,10 @@
|
||||
#include "uncrustify.h"
|
||||
|
||||
#include "uncrustifyconstants.h"
|
||||
#include "uncrustifyoptionspage.h"
|
||||
|
||||
#include "../beautifierconstants.h"
|
||||
#include "../beautifierplugin.h"
|
||||
#include "../beautifiertr.h"
|
||||
|
||||
#include <coreplugin/actionmanager/actioncontainer.h>
|
||||
#include <coreplugin/actionmanager/actionmanager.h>
|
||||
@@ -18,12 +18,15 @@
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <coreplugin/editormanager/ieditor.h>
|
||||
#include <coreplugin/idocument.h>
|
||||
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/projectnodes.h>
|
||||
#include <projectexplorer/projecttree.h>
|
||||
|
||||
#include <texteditor/formattexteditor.h>
|
||||
#include <texteditor/texteditor.h>
|
||||
#include <utils/fileutils.h>
|
||||
|
||||
#include <utils/filepath.h>
|
||||
|
||||
#include <QAction>
|
||||
#include <QMenu>
|
||||
@@ -31,13 +34,12 @@
|
||||
|
||||
using namespace TextEditor;
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
Uncrustify::Uncrustify()
|
||||
{
|
||||
Core::ActionContainer *menu = Core::ActionManager::createMenu("Uncrustify.Menu");
|
||||
menu->menu()->setTitle(tr("&Uncrustify"));
|
||||
menu->menu()->setTitle(Tr::tr("&Uncrustify"));
|
||||
|
||||
m_formatFile = new QAction(BeautifierPlugin::msgFormatCurrentFile(), this);
|
||||
Core::Command *cmd
|
||||
@@ -73,7 +75,7 @@ void Uncrustify::formatFile()
|
||||
const QString cfgFileName = configurationFile();
|
||||
if (cfgFileName.isEmpty()) {
|
||||
BeautifierPlugin::showError(BeautifierPlugin::msgCannotGetConfigurationFile(
|
||||
tr(Constants::UNCRUSTIFY_DISPLAY_NAME)));
|
||||
Tr::tr(Constants::UNCRUSTIFY_DISPLAY_NAME)));
|
||||
} else {
|
||||
formatCurrentFile(command(cfgFileName));
|
||||
}
|
||||
@@ -84,7 +86,7 @@ void Uncrustify::formatSelectedText()
|
||||
const QString cfgFileName = configurationFile();
|
||||
if (cfgFileName.isEmpty()) {
|
||||
BeautifierPlugin::showError(BeautifierPlugin::msgCannotGetConfigurationFile(
|
||||
tr(Constants::UNCRUSTIFY_DISPLAY_NAME)));
|
||||
Tr::tr(Constants::UNCRUSTIFY_DISPLAY_NAME)));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -175,5 +177,4 @@ Command Uncrustify::command(const QString &cfgFile, bool fragment) const
|
||||
return command;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -8,13 +8,10 @@
|
||||
#include "uncrustifyoptionspage.h"
|
||||
#include "uncrustifysettings.h"
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
class Uncrustify : public BeautifierAbstractTool
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Uncrustify();
|
||||
|
||||
@@ -35,5 +32,4 @@ private:
|
||||
UncrustifyOptionsPage m_page{&m_settings};
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
@@ -5,10 +5,8 @@
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Constants {
|
||||
namespace Beautifier::Constants {
|
||||
|
||||
const char UNCRUSTIFY_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("Beautifier::Internal", "Uncrustify");
|
||||
const char UNCRUSTIFY_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::Beautifier", "Uncrustify");
|
||||
|
||||
} // namespace Constants
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Constants
|
||||
|
@@ -5,16 +5,15 @@
|
||||
|
||||
#include "uncrustifyconstants.h"
|
||||
#include "uncrustifysettings.h"
|
||||
#include "uncrustify.h"
|
||||
|
||||
#include "../beautifierconstants.h"
|
||||
#include "../beautifierplugin.h"
|
||||
#include "../beautifiertr.h"
|
||||
#include "../configurationpanel.h"
|
||||
|
||||
#include <utils/layoutbuilder.h>
|
||||
#include <utils/pathchooser.h>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QCheckBox>
|
||||
#include <QGroupBox>
|
||||
#include <QLabel>
|
||||
@@ -24,8 +23,6 @@ namespace Beautifier::Internal {
|
||||
|
||||
class UncrustifyOptionsPageWidget : public Core::IOptionsPageWidget
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(Beautifier::Internal::ClangFormat)
|
||||
|
||||
public:
|
||||
explicit UncrustifyOptionsPageWidget(UncrustifySettings *settings);
|
||||
|
||||
@@ -54,22 +51,22 @@ UncrustifyOptionsPageWidget::UncrustifyOptionsPageWidget(UncrustifySettings *set
|
||||
|
||||
m_mime = new QLineEdit(m_settings->supportedMimeTypesAsString());
|
||||
|
||||
m_useOtherFiles = new QCheckBox(tr("Use file uncrustify.cfg defined in project files"));
|
||||
m_useOtherFiles = new QCheckBox(Tr::tr("Use file uncrustify.cfg defined in project files"));
|
||||
m_useOtherFiles->setChecked(m_settings->useOtherFiles());
|
||||
|
||||
m_useSpecificFile = new QCheckBox(tr("Use file specific uncrustify.cfg"));
|
||||
m_useSpecificFile = new QCheckBox(Tr::tr("Use file specific uncrustify.cfg"));
|
||||
m_useSpecificFile->setChecked(m_settings->useSpecificConfigFile());
|
||||
|
||||
m_uncrusifyFilePath = new Utils::PathChooser;
|
||||
m_uncrusifyFilePath->setExpectedKind(Utils::PathChooser::File);
|
||||
m_uncrusifyFilePath->setPromptDialogFilter(tr("Uncrustify file (*.cfg)"));
|
||||
m_uncrusifyFilePath->setPromptDialogFilter(Tr::tr("Uncrustify file (*.cfg)"));
|
||||
m_uncrusifyFilePath->setFilePath(m_settings->specificConfigFile());
|
||||
|
||||
m_useHomeFile = new QCheckBox(tr("Use file uncrustify.cfg in HOME")
|
||||
m_useHomeFile = new QCheckBox(Tr::tr("Use file uncrustify.cfg in HOME")
|
||||
.replace( "HOME", QDir::toNativeSeparators(QDir::home().absolutePath())));
|
||||
m_useHomeFile->setChecked(m_settings->useHomeFile());
|
||||
|
||||
m_useCustomStyle = new QCheckBox(tr("Use customized style:"));
|
||||
m_useCustomStyle = new QCheckBox(Tr::tr("Use customized style:"));
|
||||
m_useCustomStyle->setChecked(m_settings->useCustomStyle());
|
||||
|
||||
m_configurations = new ConfigurationPanel;
|
||||
@@ -77,17 +74,17 @@ UncrustifyOptionsPageWidget::UncrustifyOptionsPageWidget(UncrustifySettings *set
|
||||
m_configurations->setSettings(m_settings);
|
||||
m_configurations->setCurrentConfiguration(m_settings->customStyle());
|
||||
|
||||
m_formatEntireFileFallback = new QCheckBox(tr("Format entire file if no text was selected"));
|
||||
m_formatEntireFileFallback->setToolTip(tr("For action Format Selected Text"));
|
||||
m_formatEntireFileFallback = new QCheckBox(Tr::tr("Format entire file if no text was selected"));
|
||||
m_formatEntireFileFallback->setToolTip(Tr::tr("For action Format Selected Text"));
|
||||
m_formatEntireFileFallback->setChecked(m_settings->formatEntireFileFallback());
|
||||
|
||||
m_command->setExpectedKind(Utils::PathChooser::ExistingCommand);
|
||||
m_command->setCommandVersionArguments({"--version"});
|
||||
m_command->setPromptDialogTitle(BeautifierPlugin::msgCommandPromptDialogTitle(
|
||||
Uncrustify::tr(Constants::UNCRUSTIFY_DISPLAY_NAME)));
|
||||
Tr::tr(Constants::UNCRUSTIFY_DISPLAY_NAME)));
|
||||
m_command->setFilePath(m_settings->command());
|
||||
|
||||
auto options = new QGroupBox(tr("Options"));
|
||||
auto options = new QGroupBox(Tr::tr("Options"));
|
||||
|
||||
using namespace Utils::Layouting;
|
||||
|
||||
@@ -101,10 +98,10 @@ UncrustifyOptionsPageWidget::UncrustifyOptionsPageWidget(UncrustifySettings *set
|
||||
|
||||
Column {
|
||||
Group {
|
||||
title(tr("Configuration")),
|
||||
title(Tr::tr("Configuration")),
|
||||
Form {
|
||||
tr("Uncrustify command:"), m_command, br,
|
||||
tr("Restrict to MIME types:"), m_mime
|
||||
Tr::tr("Uncrustify command:"), m_command, br,
|
||||
Tr::tr("Restrict to MIME types:"), m_mime
|
||||
}
|
||||
},
|
||||
options,
|
||||
@@ -134,7 +131,7 @@ void UncrustifyOptionsPageWidget::apply()
|
||||
UncrustifyOptionsPage::UncrustifyOptionsPage(UncrustifySettings *settings)
|
||||
{
|
||||
setId("Uncrustify");
|
||||
setDisplayName(UncrustifyOptionsPageWidget::tr("Uncrustify"));
|
||||
setDisplayName(Tr::tr("Uncrustify"));
|
||||
setCategory(Constants::OPTION_CATEGORY);
|
||||
setWidgetCreator([settings] { return new UncrustifyOptionsPageWidget(settings); });
|
||||
}
|
||||
|
@@ -3,8 +3,6 @@
|
||||
|
||||
#include "uncrustifysettings.h"
|
||||
|
||||
#include "uncrustifyconstants.h"
|
||||
|
||||
#include "../beautifierconstants.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
@@ -18,8 +16,7 @@
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace Beautifier {
|
||||
namespace Internal {
|
||||
namespace Beautifier::Internal {
|
||||
|
||||
const char USE_OTHER_FILES[] = "useOtherFiles";
|
||||
const char USE_HOME_FILE[] = "useHomeFile";
|
||||
@@ -188,5 +185,4 @@ void UncrustifySettings::createDocumentationFile() const
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
} // Beautifier::Internal
|
||||
|
Reference in New Issue
Block a user