forked from qt-creator/qt-creator
TextEditor: Tr::tr
Change-Id: I28aa68e25c53c3a4d1c370074d7b3318944dc45a Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -12991,20 +12991,6 @@ Další podrobnosti hledejte v /etc/sysctl.d/10-ptrace.conf
|
||||
<translation type="obsolete">Zápis o vytvoření pomocné knihovny pro výstup dat o ladění</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Snippets::Internal::SnippetsPlugin</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation type="obsolete">Kousky</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Snippets::Internal::SnippetsWindow</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation type="obsolete">Kousky</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>StartExternalDialog</name>
|
||||
<message>
|
||||
@@ -13485,7 +13471,7 @@ Další podrobnosti hledejte v /etc/sysctl.d/10-ptrace.conf
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseFileFind</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Search</source>
|
||||
<translation>Hledat</translation>
|
||||
@@ -13494,10 +13480,6 @@ Další podrobnosti hledejte v /etc/sysctl.d/10-ptrace.conf
|
||||
<source>Aborting replace.</source>
|
||||
<translation>Ruší se nahrazování.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1 found</source>
|
||||
<translation type="obsolete">%1 nalezen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>List of comma separated wildcard filters</source>
|
||||
<translation>Seznam filtrů se vzory hledání oddělených čárkou</translation>
|
||||
@@ -13510,9 +13492,6 @@ Další podrobnosti hledejte v /etc/sysctl.d/10-ptrace.conf
|
||||
<source>Use Regular E&xpressions</source>
|
||||
<translation type="obsolete">Používat pravidelně se opakující &výrazy</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextDocument</name>
|
||||
<message>
|
||||
<source>untitled</source>
|
||||
<translation>bez názvu</translation>
|
||||
@@ -13525,25 +13504,6 @@ Další podrobnosti hledejte v /etc/sysctl.d/10-ptrace.conf
|
||||
<source>Opening file</source>
|
||||
<translation>Otevírán soubor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><em>Binary data</em></source>
|
||||
<translation type="obsolete"><em>Binární data</em></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditor</name>
|
||||
<message>
|
||||
<source>Print Document</source>
|
||||
<translation type="obsolete">Vytisknout dokument</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><b>Error:</b> Could not decode "%1" with "%2"-encoding. Editing not possible.</source>
|
||||
<translation type="obsolete"><b>Chyba:</b> Soubor "%1" se nepodařilo rozluštit s kódováním "%2". Nelze jej upravovat.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Select Encoding</source>
|
||||
<translation type="obsolete">Vybrat kódování</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Line: %1, Col: %2</source>
|
||||
<translation>Řádek: %1, sloupec: %2</translation>
|
||||
@@ -13552,144 +13512,11 @@ Další podrobnosti hledejte v /etc/sysctl.d/10-ptrace.conf
|
||||
<source>Line: 9999, Col: 999</source>
|
||||
<translation>Řádek: 9999, sloupec: 999</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditorEditable</name>
|
||||
<message>
|
||||
<source>Line: %1, Col: %2</source>
|
||||
<translation type="obsolete">Řádek: %1, sloupec: %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Line: %1, Col: 999</source>
|
||||
<translation type="obsolete">Řádek: %1, sloupec: 999</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsPage</name>
|
||||
<message>
|
||||
<source>Storage</source>
|
||||
<translation type="obsolete">Ukládání</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Removes trailing whitespace on saving.</source>
|
||||
<translation type="obsolete">Odstraní při ukládání prázdné znaky na konci řádků.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Clean whitespace</source>
|
||||
<translation type="obsolete">&Vyčistit prázdné znaky</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clean whitespace in entire document instead of only for changed parts.</source>
|
||||
<translation type="obsolete">Vyčistí prázdné znaky v celém dokumentu a nejen ve změněných částech.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>In entire &document</source>
|
||||
<translation type="obsolete">V celém &dokumentu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Correct leading whitespace according to tab settings.</source>
|
||||
<translation type="obsolete">Opraví prázdné znaky na začátku řádků podle nastavení zarážek.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clean indentation</source>
|
||||
<translation type="obsolete">Opravit odsazení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Ensure newline at end of file</source>
|
||||
<translation type="obsolete">&Doplnit nový řádek na konci souboru</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tabs and Indentation</source>
|
||||
<translation type="obsolete">Zarážky odsazení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ta&b size:</source>
|
||||
<translation type="obsolete">Šířka &zarážky:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Indent size:</source>
|
||||
<translation type="obsolete">&Velikost odsazení:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Backspace will go back one indentation level instead of one space.</source>
|
||||
<translation type="obsolete">Zpětná klávesa (Backspace) jde zpět o jednu stupeň odsazení. Sleduje tedy hloubku odsazení místo toho, aby smazala jen jeden znak.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Backspace follows indentation</source>
|
||||
<translation type="obsolete">&Zpětná klávesa sleduje hloubku odsazení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Insert &spaces instead of tabs</source>
|
||||
<translation type="obsolete">Vložit místo zarážek prázdné &znaky (mezery)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable automatic &indentation</source>
|
||||
<translation type="obsolete">Povolit automatické &odsazení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tab key performs auto-indent:</source>
|
||||
<translation type="obsolete">Klávesa pro zarážku provede automatické odsazení:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Never</source>
|
||||
<translation type="obsolete">Nikdy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Always</source>
|
||||
<translation type="obsolete">Vždy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>In leading white space</source>
|
||||
<translation type="obsolete">Pouze v prázdných znacích (mezerách) na začátku řádku</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Automatically determine based on the nearest indented line (previous line preferred over next line)</source>
|
||||
<translation type="obsolete">Automaticky určit založeno na nejbližším odsazeném řádku (předchozí řádek upřednostňován před dalším řádkem)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Based on the surrounding lines</source>
|
||||
<translation type="obsolete">Založeno na okolních řádcích</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Block indentation style:</source>
|
||||
<translation type="obsolete">Styl odsazení bloku:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Exclude Braces</source>
|
||||
<translation type="obsolete">Vyloučit závorky</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Include Braces</source>
|
||||
<translation type="obsolete">Zahrnout závorky</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GNU Style</source>
|
||||
<translation type="obsolete">Styl GNU</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>In Leading White Space</source>
|
||||
<translation type="obsolete">Pouze v prázdném místu na začátku řádku</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Mouse</source>
|
||||
<translation type="obsolete">Myš</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable &mouse navigation</source>
|
||||
<translation type="obsolete">Povolit navádění &myší</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable scroll &wheel zooming</source>
|
||||
<translation type="obsolete">Povolit přibližování a oddalování pomocí &kolečka myši</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Global</source>
|
||||
<comment>Settings</comment>
|
||||
<translation>Celkové</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::DisplaySettingsPage</name>
|
||||
<message>
|
||||
<source>Animate matching parentheses</source>
|
||||
<translation type="obsolete">Rozhýbat odpovídající závorky</translation>
|
||||
@@ -13698,17 +13525,10 @@ Další podrobnosti hledejte v /etc/sysctl.d/10-ptrace.conf
|
||||
<source>Navigation</source>
|
||||
<translation type="obsolete">Navedení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable &mouse navigation</source>
|
||||
<translation type="obsolete">Povolit navádění &myší</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Mark text changes</source>
|
||||
<translation type="obsolete">Vyznačit textové změny</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPage</name>
|
||||
<message>
|
||||
<source>Font & Colors</source>
|
||||
<translation type="obsolete">Písmo & barvy</translation>
|
||||
@@ -13757,9 +13577,6 @@ Další podrobnosti hledejte v /etc/sysctl.d/10-ptrace.conf
|
||||
<source>Discard</source>
|
||||
<translation>Zahodit</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodecSelector</name>
|
||||
<message>
|
||||
<source>Text Encoding</source>
|
||||
<translation>Kódování textu</translation>
|
||||
@@ -13786,9 +13603,6 @@ Zdá se, že následující kódování odpovídají souboru:</translation>
|
||||
<source>Save with Encoding</source>
|
||||
<translation>Uložit s kódováním</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInCurrentFile</name>
|
||||
<message>
|
||||
<source>Current File</source>
|
||||
<translation>Nynější soubor</translation>
|
||||
@@ -13803,36 +13617,6 @@ Zdá se, že následující kódování odpovídají souboru:</translation>
|
||||
<translation>Souborová cesta: %1
|
||||
%2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInFiles</name>
|
||||
<message>
|
||||
<source>Files on Disk</source>
|
||||
<translation type="obsolete">Soubory na nosiči dat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Files on File System</source>
|
||||
<translation type="obsolete">Soubory v souborovém systému</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Directory:</source>
|
||||
<translation type="obsolete">&Adresář:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Browse</source>
|
||||
<translation type="obsolete">&Procházet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File &pattern:</source>
|
||||
<translation type="obsolete">&Vzor hledání pro názvy souborů:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Directory to search</source>
|
||||
<translation type="obsolete">Adresář k prohledání</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPageWidget</name>
|
||||
<message>
|
||||
<source>Font</source>
|
||||
<translation>Písmo</translation>
|
||||
@@ -13857,10 +13641,6 @@ Zdá se, že následující kódování odpovídají souboru:</translation>
|
||||
<source>Copy...</source>
|
||||
<translation>Kopírovat...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>Smazat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation>%</translation>
|
||||
@@ -13869,9 +13649,6 @@ Zdá se, že následující kódování odpovídají souboru:</translation>
|
||||
<source>Zoom:</source>
|
||||
<translation>Zvětšení:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::LineNumberFilter</name>
|
||||
<message>
|
||||
<source>Line in current document</source>
|
||||
<translation type="obsolete">Řádek v nynějším dokumentu</translation>
|
||||
@@ -13892,9 +13669,6 @@ Zdá se, že následující kódování odpovídají souboru:</translation>
|
||||
<source>Line in Current Document</source>
|
||||
<translation>Řádek v nynějším dokumentu</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorPlugin</name>
|
||||
<message>
|
||||
<source>Creates a text file (.txt).</source>
|
||||
<translation type="obsolete">Vytvoří textový soubor (.txt).</translation>
|
||||
@@ -13963,9 +13737,6 @@ Zdá se, že následující kódování odpovídají souboru:</translation>
|
||||
<source>Current document's font size in points.</source>
|
||||
<translation>Velikost písma v nynějším dokumentu.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorActionHandler</name>
|
||||
<message>
|
||||
<source>&Undo</source>
|
||||
<translation>&Zpět</translation>
|
||||
@@ -14526,9 +14297,6 @@ Zdá se, že následující kódování odpovídají souboru:</translation>
|
||||
<source>Ctrl+Alt+Down</source>
|
||||
<translation>Ctrl+Alt+Down</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorSettings</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>Text</translation>
|
||||
@@ -14977,10 +14745,6 @@ Nepoužije se na mezeru v poznámkách a řetězcích.</translation>
|
||||
<source>Diff Location</source>
|
||||
<translation>Porovnávané umístění</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Text Editor</source>
|
||||
<translation type="obsolete">Textový editor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Behavior</source>
|
||||
<translation>Chování</translation>
|
||||
@@ -16589,7 +16353,7 @@ Toho se dosáhne vložením této zkratky v zadávacím poli vyhledávače, nás
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorSchemeEdit</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Bold</source>
|
||||
<translation>Tučné</translation>
|
||||
@@ -19265,14 +19029,11 @@ S60 emulator run configuration default display name, %1 is base pro-File name</e
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorScheme</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Not a color scheme file.</source>
|
||||
<translation>Není souborem znázornění barev.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FontSettings</name>
|
||||
<message>
|
||||
<source>Customized</source>
|
||||
<translation>Uživatelsky stanovený</translation>
|
||||
@@ -28918,169 +28679,15 @@ Vyžaduje Qt 4.7.4 nebo novější, a soubor součástek nainstalovaný pro tuto
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BehaviorSettingsWidget</name>
|
||||
<message>
|
||||
<source>Cleanup actions which are automatically performed right before the file is saved to disk.</source>
|
||||
<translation type="obsolete">Opravy, které se automaticky provádějí bezprostředně před uložením souboru na disk.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cleanups Upon Saving</source>
|
||||
<translation type="obsolete">Opravy při uložení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Removes trailing whitespace upon saving.</source>
|
||||
<translation type="obsolete">Odstraní při ukládání prázdné znaky na konci řádků.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Clean whitespace</source>
|
||||
<translation type="obsolete">&Vyčistit prázdné znaky</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clean whitespace in entire document instead of only for changed parts.</source>
|
||||
<translation type="obsolete">Vyčistí prázdné znaky v celém dokumentu a nejen ve změněných částech.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>In entire &document</source>
|
||||
<translation type="obsolete">V celém &dokumentu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Correct leading whitespace according to tab settings.</source>
|
||||
<translation type="obsolete">Opraví prázdné znaky na začátku řádků podle nastavení zarážek.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clean indentation</source>
|
||||
<translation type="obsolete">Opravit odsazení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Ensure newline at end of file</source>
|
||||
<translation type="obsolete">&Doplnit nový řádek na konci souboru</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Encodings</source>
|
||||
<translation type="obsolete">Kódování souborů</translation>
|
||||
</message>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Default encoding: </source>
|
||||
<translation type="obsolete">Výchozí kódování: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>UTF-8 BOM:</source>
|
||||
<translation type="obsolete">UTF-8 BOM:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><html><head/><body>
|
||||
<p>How text editors should deal with UTF-8 Byte Order Marks. The options are:</p>
|
||||
<ul ><li><i>Add If Encoding Is UTF-8:</i> always add a BOM when saving a file in UTF-8 encoding. Note that this will not work if the encoding is <i>System</i>, as Qt Creator does not know what it actually is.</li>
|
||||
<li><i>Keep If Already Present: </i>save the file with a BOM if it already had one when it was loaded.</li>
|
||||
<li><i>Always Delete:</i> never write an UTF-8 BOM, possibly deleting a pre-existing one.</li></ul>
|
||||
<p>Note that UTF-8 BOMs are uncommon and treated incorrectly by some editors, so it usually makes little sense to add any.</p>
|
||||
<p>This setting does <b>not</b> influence the use of UTF-16 and UTF-32 BOMs.</p></body></html></source>
|
||||
<translation type="obsolete"><html><head/><body>
|
||||
<p>Udává, jak se chovají textové editory, co se týče UTF-8 BOM (Byte Order Marks). Na výběr je:</p>
|
||||
<ul ><li><i>Přidat, je-li kódování UTF-8</i> Vždy přidat. BOM při ukládání souboru s kódováním UTF-8. Toto však nebude fungovat, je-li kódování <i>System</i>, neboť Qt Creator v tomto případě kódování nedokáže určit.</li>
|
||||
<li><i>Zachovat, je-li už přítomno: </i>Uložit soubor s BOM, pokud jej mělo již při nahrání, což bylo zjištěno.</li>
|
||||
<li><i>Smazat vždy:</i> Nikdy nezapisovat UTF-8 BOM, existující podle okolností odstranit.</li></ul>
|
||||
<p>Dejte pozor na to, že UTF-8 BOMs nejsou běžné a některé editory s nimi nezacházejí správně. Z toho důvodu to nedává obvykle skoro žádný smysl je přidávat.</p>
|
||||
<p>Toto nastavení <b>neovlivní</b> používání UTF-16 a UTF-32 BOMs.</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add If Encoding Is UTF-8</source>
|
||||
<translation type="obsolete">Přidat, pokud je kódování UTF-8</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Keep If Already Present</source>
|
||||
<translation type="obsolete">Zachovat, pokud je už přítomno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Always Delete</source>
|
||||
<translation type="obsolete">Smazat vždy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Mouse</source>
|
||||
<translation type="obsolete">Myš</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable &mouse navigation</source>
|
||||
<translation type="obsolete">Povolit navádění &myší</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable scroll &wheel zooming</source>
|
||||
<translation type="obsolete">Povolit přibližování a oddalování pomocí &kolečka myši</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Typing</source>
|
||||
<translation type="obsolete">Při psaní</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable automatic &indentation</source>
|
||||
<translation type="obsolete">Povolit automatické &odsazení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Backspace indentation:</source>
|
||||
<translation type="obsolete">Odsazení při zpětné klávese (Backspace):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><html><head/><body>
|
||||
Specifies how backspace interacts with indentation.
|
||||
|
||||
<ul>
|
||||
<li>None: No interaction at all. Regular plain backspace behavior.
|
||||
</li>
|
||||
|
||||
<li>Follows Previous Indents: In leading white space it will take the cursor back to the nearest indentation level used in previous lines.
|
||||
</li>
|
||||
|
||||
<li>Unindents: If the character behind the cursor is a space it behaves as a backtab.
|
||||
</li>
|
||||
</ul></body></html>
|
||||
</source>
|
||||
<translation type="obsolete"><html><head/><body>
|
||||
Určuje, jak se chová zpětná klávesa (backspace) co se týče odsazování.
|
||||
|
||||
<ul>
|
||||
<li>Žádné: Žádné zvláštní chování. Obvyklé chování zpětné klávesy.
|
||||
</li>
|
||||
|
||||
<li>Sledovat předchozí odsazení: V prázdném místě na začátku je ukazovátko postaveno zpět na nejbližší úroveň odsazení použitou na předchozích řádcích.
|
||||
</li>
|
||||
|
||||
<li>Zrušit odsazení: Pokud je znak nacházející se za ukazovátkem mezera, chová se zpětná klávesa jako zpětný tabulátor.
|
||||
</li>
|
||||
</ul></body></html>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>None</source>
|
||||
<translation type="obsolete">Žádné</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Follows Previous Indents</source>
|
||||
<translation type="obsolete">Sledovat předchozí odsazení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unindents</source>
|
||||
<translation type="obsolete">Zrušit odsazení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tab key performs auto-indent:</source>
|
||||
<translation type="obsolete">Klávesa pro zarážku provede automatické odsazení:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Never</source>
|
||||
<translation type="obsolete">Nikdy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Always</source>
|
||||
<translation type="obsolete">Vždy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>In Leading White Space</source>
|
||||
<translation type="obsolete">Pouze v prázdném místu na začátku řádku</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Always write a newline character at the end of the file.</source>
|
||||
<translation type="obsolete">Vždy psát znak pro nový řádek na konci souboru.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable &tooltips only when Shift key is down</source>
|
||||
<translation type="obsolete">Ukazovat &vysvětlivky jen při stisknuté klávese Shift</translation>
|
||||
@@ -29151,89 +28758,15 @@ Určuje, jak se chová zpětná klávesa (backspace) co se týče odsazování.
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SnippetsSettingsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation type="obsolete">Formulář</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Group: </source>
|
||||
<translation type="obsolete">Skupina: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add</source>
|
||||
<translation type="obsolete">Přidat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="obsolete">Odstranit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Revert Built-in</source>
|
||||
<translation type="obsolete">Vrátit zpět vnitřní kousek</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restore Removed Built-ins</source>
|
||||
<translation type="obsolete">Obnovit všechny vnitřní kousky</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset All</source>
|
||||
<translation type="obsolete">Nastavit znovu vše</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TabPreferencesWidget</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation type="obsolete">Formulář</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tab settings:</source>
|
||||
<translation type="obsolete">Nastavení zarážek:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TabSettingsWidget</name>
|
||||
<message>
|
||||
<source>Insert &spaces instead of tabs</source>
|
||||
<translation type="obsolete">Vložit místo zarážek prázdné &znaky (mezery)</translation>
|
||||
</message>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Automatically determine based on the nearest indented line (previous line preferred over next line)</source>
|
||||
<translation type="obsolete">Automaticky určit vycházeje z nejbližšího odsazeného řádku (předchozí řádek upřednostňován před dalším řádkem)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Based on the surrounding lines</source>
|
||||
<translation type="obsolete">Založeno na okolních řádcích</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable automatic &indentation</source>
|
||||
<translation type="obsolete">Povolit automatické &odsazení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Backspace will go back one indentation level instead of one space.</source>
|
||||
<translation type="obsolete">Zpětná klávesa (Backspace) jde zpět o jednu úroveň odsazení. Sleduje tedy hloubku odsazení místo toho, aby smazala jen jeden znak.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Backspace follows indentation</source>
|
||||
<translation type="obsolete">&Zpětná klávesa sleduje hloubku odsazení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tab key performs auto-indent:</source>
|
||||
<translation type="obsolete">Klávesa pro zarážku provede automatické odsazení:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Never</source>
|
||||
<translation type="obsolete">Nikdy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Always</source>
|
||||
<translation type="obsolete">Vždy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>In Leading White Space</source>
|
||||
<translation type="obsolete">Pouze v prázdném místu na začátku řádku</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>::Valgrind</name>
|
||||
@@ -37811,7 +37344,7 @@ Chcete je přidat do projektu?</html></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditorWidget</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>CTRL+D</source>
|
||||
<translation>CTRL+D</translation>
|
||||
@@ -37844,16 +37377,10 @@ Chcete je přidat do projektu?</html></translation>
|
||||
<source>Add UTF-8 BOM on Save</source>
|
||||
<translation>Přidat UTF-8 BOM při uložení</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FunctionHintProposalWidget</name>
|
||||
<message>
|
||||
<source>%1 of %2</source>
|
||||
<translation>%1 z %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FallbackSelectorWidget</name>
|
||||
<message>
|
||||
<source>Settings:</source>
|
||||
<translation type="obsolete">Nastavení:</translation>
|
||||
@@ -37871,17 +37398,10 @@ Chcete je přidat do projektu?</html></translation>
|
||||
<source>Restore</source>
|
||||
<translation type="obsolete">Obnovit</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::HighlighterSettingsPage</name>
|
||||
<message>
|
||||
<source>Generic Highlighter</source>
|
||||
<translation>Obecné zvýrazňování</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Download Definitions</source>
|
||||
<translation type="obsolete">Stáhnout vymezení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Download Definitions...</source>
|
||||
<translation>Stáhnout definici...</translation>
|
||||
@@ -37906,9 +37426,6 @@ Chcete je přidat do projektu?</html></translation>
|
||||
<source>Not possible to retrieve data.</source>
|
||||
<translation>Nepodařilo se dostat žádná data.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ManageDefinitionsDialog</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Název</translation>
|
||||
@@ -37957,9 +37474,6 @@ Chcete je přidat do projektu?</html></translation>
|
||||
<source>Download Selected Definitions</source>
|
||||
<translation>Stáhnout vybrané soubory s definicemi</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::Manager</name>
|
||||
<message>
|
||||
<source>Registering definitions</source>
|
||||
<translation>Přihlašují se definice</translation>
|
||||
@@ -37990,9 +37504,6 @@ Prověřte, prosím, oprávnění pro přístup k adresáři.</translation>
|
||||
<source>Download Error</source>
|
||||
<translation>Chyba při stahování</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineWidgetStack</name>
|
||||
<message>
|
||||
<source>No outline available</source>
|
||||
<translation>Přehled není dostupný</translation>
|
||||
@@ -38005,16 +37516,10 @@ Prověřte, prosím, oprávnění pro přístup k adresáři.</translation>
|
||||
<source>Filter tree</source>
|
||||
<translation>Přefiltrovat strom</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineFactory</name>
|
||||
<message>
|
||||
<source>Outline</source>
|
||||
<translation>Přehled</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::PlainTextEditorFactory</name>
|
||||
<message>
|
||||
<source>A highlight definition was not found for this file. Would you like to try to find one?</source>
|
||||
<translation>Pro tento soubor se nepodařilo najít žádnou definici zvýrazňování skladby. Chcete se pokusit nějakou definici najít?</translation>
|
||||
@@ -38031,23 +37536,10 @@ Prověřte, prosím, oprávnění pro přístup k adresáři.</translation>
|
||||
<source>Show highlighter options</source>
|
||||
<translation type="obsolete">Ukázat nastavení vymezení zvýrazňování skladby</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::PlainTextSnippetProvider</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>Text</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsCollection</name>
|
||||
<message>
|
||||
<source>Cannot create user snippet directory %1</source>
|
||||
<translation>Nepodařilo se vytvořit adresář na uživatelské úryvky %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsTableModel</name>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Chyba</translation>
|
||||
@@ -38068,9 +37560,6 @@ Prověřte, prosím, oprávnění pro přístup k adresáři.</translation>
|
||||
<source>Error reverting snippet.</source>
|
||||
<translation>Chyba při vracení úryvku zpět.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsSettingsPagePrivate</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation>Úryvky</translation>
|
||||
@@ -38079,10 +37568,6 @@ Prověřte, prosím, oprávnění pro přístup k adresáři.</translation>
|
||||
<source>Error While Saving Snippet Collection</source>
|
||||
<translation>Chyba při ukládání sbírky úryvků</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Chyba</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>No snippet selected.</source>
|
||||
<translation>Žádný úryvek nebyl vybrán.</translation>
|
||||
@@ -39363,35 +38848,7 @@ Prověřte, prosím, oprávnění pro přístup k adresáři.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleSelectorWidget</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation type="obsolete">Formulář</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Current settings:</source>
|
||||
<translation type="obsolete">Nynější nastavení:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy...</source>
|
||||
<translation type="obsolete">Kopírovat...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Edit...</source>
|
||||
<translation type="obsolete">Upravit...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="obsolete">Odstranit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Export...</source>
|
||||
<translation type="obsolete">Vyvést...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Import...</source>
|
||||
<translation type="obsolete">Zavést...</translation>
|
||||
</message>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Copy Code Style</source>
|
||||
<translation>Kopírovat styl kódování</translation>
|
||||
@@ -39412,10 +38869,6 @@ Prověřte, prosím, oprávnění pro přístup k adresáři.</translation>
|
||||
<source>Are you sure you want to delete this code style permanently?</source>
|
||||
<translation>Jste si jist, že chcete tento styl kódování smazat natrvalo?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>Smazat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Import Code Style</source>
|
||||
<translation>Importovat styl kódování</translation>
|
||||
@@ -40535,22 +39988,15 @@ Vzdálený chybový výstup byl: %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleEditor</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Edit preview contents to see how the current settings are applied to custom code snippets. Changes in the preview do not affect the current settings.</source>
|
||||
<translation>Změnou obsahu náhledu zjistíte, jak se nynější nastavení projeví na uživatelsky stanovených úryvcích kódu. Změny v náhledu nemají žádný vliv na současná nastavení.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodeStyleDialog</name>
|
||||
<message>
|
||||
<source>Edit Code Style</source>
|
||||
<translation>Upravit styl kódování</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code style name:</source>
|
||||
<translation>Název stylu kódování:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>You cannot save changes to a built-in code style. Copy it first to create your own version.</source>
|
||||
<translation>Vestavěné styly kódování nelze měnit. Nejprve vytvořte jejich zkopírováním kopii, abyste tak vytvořili svou vlastní verzi.</translation>
|
||||
@@ -40559,13 +40005,6 @@ Vzdálený chybový výstup byl: %1</translation>
|
||||
<source>Copy Built-in Code Style</source>
|
||||
<translation>Kopírovat vestavěný styl kódování</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1 (Copy)</source>
|
||||
<translation>%1 (kopie)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FindInFiles</name>
|
||||
<message>
|
||||
<source>Files on File System</source>
|
||||
<translation>Soubory v souborovém systému</translation>
|
||||
@@ -42681,14 +42120,11 @@ Tyto předpony se používají dodatečně k nynějšímu názvu souboru na Pře
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::BehaviorSettingsPage</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formulář</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsWidget</name>
|
||||
<message>
|
||||
<source>Typing</source>
|
||||
<translation>Při psaní</translation>
|
||||
@@ -42903,21 +42339,10 @@ Určuje, jak se chová zpětná klávesa (backspace) co se týče odsazování.
|
||||
<source>Pressing Alt displays context-sensitive help or type information as tooltips.</source>
|
||||
<translation>Stisknutí klávesy Alt zobrazí vysvětlivky s kontextovou nápovědou nebo informací o typu.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodeStyleSelectorWidget</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formulář</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Current settings:</source>
|
||||
<translation>Nynější nastavení:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy...</source>
|
||||
<translation>Kopírovat...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Edit...</source>
|
||||
<translation>Upravit...</translation>
|
||||
@@ -42934,13 +42359,6 @@ Určuje, jak se chová zpětná klávesa (backspace) co se týče odsazování.
|
||||
<source>Import...</source>
|
||||
<translation>Importovat...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::DisplaySettingsPage</name>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation>Zobrazení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Display line &numbers</source>
|
||||
<translation>Zo&brazit čísla řádků</translation>
|
||||
@@ -43009,13 +42427,6 @@ Určuje, jak se chová zpětná klávesa (backspace) co se týče odsazování.
|
||||
<source>Shows tabs and spaces.</source>
|
||||
<translation>Ukáže tabulátory a mezery.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::HighlighterSettingsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formulář</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><html><head/><body>
|
||||
<p>Highlight definitions are provided by the <a href="http://kate-editor.org/">Kate Text Editor</a>.</p></body></html></source>
|
||||
@@ -43034,10 +42445,6 @@ Určuje, jak se chová zpětná klávesa (backspace) co se týče odsazování.
|
||||
<source>Use fallback location</source>
|
||||
<translation>Použít záložní umístění</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Behavior</source>
|
||||
<translation>Chování</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alert when a highlight definition is not found</source>
|
||||
<translation type="obsolete">Zobrazit upozornění, pokud se nepodařilo najít žádný soubor s definicí</translation>
|
||||
@@ -43046,13 +42453,6 @@ Určuje, jak se chová zpětná klávesa (backspace) co se týče odsazování.
|
||||
<source>Ignored file patterns:</source>
|
||||
<translation>Vyloučené soubory (vzor hledání):</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsSettingsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formulář</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Group: </source>
|
||||
<translation>Skupina: </translation>
|
||||
@@ -43061,10 +42461,6 @@ Určuje, jak se chová zpětná klávesa (backspace) co se týče odsazování.
|
||||
<source>Add</source>
|
||||
<translation>Přidat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation>Odstranit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Revert Built-in</source>
|
||||
<translation>Vrátit zpět vestavěný</translation>
|
||||
@@ -43077,13 +42473,6 @@ Určuje, jak se chová zpětná klávesa (backspace) co se týče odsazování.
|
||||
<source>Reset All</source>
|
||||
<translation>Nastavit znovu vše</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TabSettingsWidget</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formulář</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tabs And Indentation</source>
|
||||
<translation>Tabulátory a odsazení</translation>
|
||||
@@ -46620,14 +46009,11 @@ Je zapotřebí mít nějakou verzi Qt a sadu nástrojů, aby modely kódu C++ a
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CountingLabel</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>%1 found</source>
|
||||
<translation>%1 nalezen</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInOpenFiles</name>
|
||||
<message>
|
||||
<source>Open Documents</source>
|
||||
<translation>Otevřené dokumenty</translation>
|
||||
@@ -52547,7 +51933,7 @@ Vzdálený: %4</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsWidget</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Display context-sensitive help or type information on mouseover.</source>
|
||||
<translation>Zobrazit kontextově citlivou nápovědu nebo informace o typu, když se ukazovátko myši nachází nad prvkem.</translation>
|
||||
@@ -54381,7 +53767,7 @@ Tento průvodce vás provede základními kroky, které jsou nutné pro nasazen
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>RefactoringFile::apply</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Refactoring cannot be applied.</source>
|
||||
<translation>Refaktoring se nepodařilo použít.</translation>
|
||||
@@ -55539,7 +54925,7 @@ Soubory ve zdrojovém adresáři balíčku pro Android jsou zkopírovány do adr
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::QuickFixFactory</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Create Getter and Setter Member Functions</source>
|
||||
<translation>Vytvořit funkce Getter a Setter</translation>
|
||||
@@ -57990,7 +57376,7 @@ Tento průvodce vás provede základními kroky, které jsou nutné pro nasazen
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>FontSettings_C_OCCURRENCES_UNUSED</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Unused variable</source>
|
||||
<translation>Nepoužívaná proměnná</translation>
|
||||
|
@@ -15320,7 +15320,7 @@ når de ikke kræves, hvilket i de fleste tilfælde vil forbedre ydelsen.</trans
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>FontSettings_C_OCCURRENCES_UNUSED</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Unused variable</source>
|
||||
<translation>Ubrugt variabel</translation>
|
||||
@@ -31622,7 +31622,7 @@ For flere detaljer, se /etc/sysctl.d/10-ptrace.conf
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>RefactoringFile::apply</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Refactoring cannot be applied.</source>
|
||||
<translation>Genfaktoring kan ikke anvendes.</translation>
|
||||
@@ -34001,9 +34001,6 @@ med en adgangskode, som du kan indtaste herunder.</translation>
|
||||
<source>Text Editor</source>
|
||||
<translation>Tekstredigering</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseFileFind</name>
|
||||
<message>
|
||||
<source>Searching</source>
|
||||
<translation>Søger</translation>
|
||||
@@ -34026,9 +34023,6 @@ med en adgangskode, som du kan indtaste herunder.</translation>
|
||||
<source>Aborting replace.</source>
|
||||
<translation>Afbryder erstat.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditor</name>
|
||||
<message>
|
||||
<source>A highlight definition was not found for this file. Would you like to try to find one?</source>
|
||||
<translation>En fremhævningsdefinitioner blev ikke fundet til denne fil. Vil du prøve at finde en?</translation>
|
||||
@@ -34037,17 +34031,11 @@ med en adgangskode, som du kan indtaste herunder.</translation>
|
||||
<source>Show Highlighter Options...</source>
|
||||
<translation>Vis fremhæver-valgmuligheder...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsPage</name>
|
||||
<message>
|
||||
<source>Global</source>
|
||||
<comment>Settings</comment>
|
||||
<translation>Globale</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsWidget</name>
|
||||
<message>
|
||||
<source>Displays context-sensitive help or type information on mouseover.</source>
|
||||
<translation>Viser kontekstfølsom hjælp eller skriv information ved musover.</translation>
|
||||
@@ -34056,16 +34044,10 @@ med en adgangskode, som du kan indtaste herunder.</translation>
|
||||
<source>Displays context-sensitive help or type information on Shift+Mouseover.</source>
|
||||
<translation>Viser kontekstfølsom hjælp eller skriv information ved Skift+musover.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleEditor</name>
|
||||
<message>
|
||||
<source>Edit preview contents to see how the current settings are applied to custom code snippets. Changes in the preview do not affect the current settings.</source>
|
||||
<translation>Rediger forhåndsvisningens indhold for at se hvordan de aktuelle indstillinger anvendes på brugerdefineret kode-snippets. Ændringer i forhåndsvisningen påvirker ikke de aktuelle indstillinger.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleSelectorWidget</name>
|
||||
<message>
|
||||
<source>Copy Code Style</source>
|
||||
<translation>Kopiér kodestil</translation>
|
||||
@@ -34114,9 +34096,6 @@ med en adgangskode, som du kan indtaste herunder.</translation>
|
||||
<source>%1 [built-in]</source>
|
||||
<translation>%1 [indbygget]</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FindInFiles</name>
|
||||
<message>
|
||||
<source>Files in File System</source>
|
||||
<translation>Filer i filsystem</translation>
|
||||
@@ -34148,9 +34127,6 @@ Ekskludering: %3
|
||||
<source>Directory to Search</source>
|
||||
<translation>Mappe der skal søges i</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPage</name>
|
||||
<message>
|
||||
<source>Font && Colors</source>
|
||||
<translation>Skrifttype og farver</translation>
|
||||
@@ -34179,10 +34155,6 @@ Ekskludering: %3
|
||||
<source>Are you sure you want to delete this color scheme permanently?</source>
|
||||
<translation>Er du sikker på, at du vil slette dette farveskema permanent?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>Slet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Color Scheme Changed</source>
|
||||
<translation>Farveskema ændret</translation>
|
||||
@@ -34195,16 +34167,10 @@ Ekskludering: %3
|
||||
<source>Discard</source>
|
||||
<translation>Forkast</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FunctionHintProposalWidget</name>
|
||||
<message>
|
||||
<source>%1 of %2</source>
|
||||
<translation>%1 af %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::HighlighterSettingsPage</name>
|
||||
<message>
|
||||
<source>Generic Highlighter</source>
|
||||
<translation>Generisk fremhæver</translation>
|
||||
@@ -34233,9 +34199,6 @@ Ekskludering: %3
|
||||
<source>Not possible to retrieve data.</source>
|
||||
<translation>Ikke muligt at hente data.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsWidget</name>
|
||||
<message>
|
||||
<source>Typing</source>
|
||||
<translation>Skrivning</translation>
|
||||
@@ -34278,10 +34241,6 @@ Angiver hvordan backspace interagerer med indrykning.
|
||||
</ul></body></html>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>None</source>
|
||||
<translation>Ingen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Follows Previous Indents</source>
|
||||
<translation>Følger forrige indrykninger</translation>
|
||||
@@ -34434,17 +34393,10 @@ Angiver hvordan backspace interagerer med indrykning.
|
||||
<p>Bemærk at UTF-8 BOM'er er ualmindelige og behandles ukorrekt af nogle redigeringer, så det giver faktisk ikke så meget mening at tilføje det.</p>
|
||||
<p>Indstillingen påvirker <b>ikke</b> brugen af UTF-16 og UTF-32 BOM'er.</p></body></html></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodeStyleDialog</name>
|
||||
<message>
|
||||
<source>Edit Code Style</source>
|
||||
<translation>Rediger kodestil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code style name:</source>
|
||||
<translation>Kodestilnavn:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>You cannot save changes to a built-in code style. Copy it first to create your own version.</source>
|
||||
<translation>Du kan ikke gemme ændringer til en indbygget kodestil. Kopiér den først for at oprette din egen version.</translation>
|
||||
@@ -34453,13 +34405,6 @@ Angiver hvordan backspace interagerer med indrykning.
|
||||
<source>Copy Built-in Code Style</source>
|
||||
<translation>Kopiér indbygget kodestil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1 (Copy)</source>
|
||||
<translation>%1 (kopi)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodeStyleSelectorWidget</name>
|
||||
<message>
|
||||
<source>Current settings:</source>
|
||||
<translation>Aktuelle indstillinger:</translation>
|
||||
@@ -34484,9 +34429,6 @@ Angiver hvordan backspace interagerer med indrykning.
|
||||
<source>Import...</source>
|
||||
<translation>Importér...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodecSelector</name>
|
||||
<message>
|
||||
<source>Text Encoding</source>
|
||||
<translation>Tekstkodning</translation>
|
||||
@@ -34507,16 +34449,10 @@ Angiver hvordan backspace interagerer med indrykning.
|
||||
<source>Save with Encoding</source>
|
||||
<translation>Gem med kodning</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorScheme</name>
|
||||
<message>
|
||||
<source>Not a color scheme file.</source>
|
||||
<translation>Ikke en farvetema-fil.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorSchemeEdit</name>
|
||||
<message>
|
||||
<source>Foreground:</source>
|
||||
<translation>Forgrund:</translation>
|
||||
@@ -34601,9 +34537,6 @@ Angiver hvordan backspace interagerer med indrykning.
|
||||
<source>Relative Background</source>
|
||||
<translation>Relativ baggrund</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CompletionSettingsPage</name>
|
||||
<message>
|
||||
<source>Behavior</source>
|
||||
<translation>Adfærd</translation>
|
||||
@@ -34636,10 +34569,6 @@ Angiver hvordan backspace interagerer med indrykning.
|
||||
<source>When Triggered</source>
|
||||
<translation>Når udløst</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Always</source>
|
||||
<translation>Altid</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Timeout in ms:</source>
|
||||
<translation>Timeout i ms:</translation>
|
||||
@@ -34756,9 +34685,6 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
|
||||
<source>Completion</source>
|
||||
<translation>Færdiggørelse</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::DisplaySettingsPage</name>
|
||||
<message>
|
||||
<source>Text Wrapping</source>
|
||||
<translation>Tekstombrydning</translation>
|
||||
@@ -34855,9 +34781,6 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
|
||||
<source>Between lines</source>
|
||||
<translation>Mellem linjer</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInCurrentFile</name>
|
||||
<message>
|
||||
<source>Current File</source>
|
||||
<translation>Aktuel fil</translation>
|
||||
@@ -34872,9 +34795,6 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
|
||||
<translation>Filsti: %1
|
||||
%2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInOpenFiles</name>
|
||||
<message>
|
||||
<source>Open Documents</source>
|
||||
<translation>Åbne dokumenter</translation>
|
||||
@@ -34889,13 +34809,6 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
|
||||
<translation>Åbne dokumenter
|
||||
%1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPageWidget</name>
|
||||
<message>
|
||||
<source>Font</source>
|
||||
<translation>Skrifttype</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Antialias</source>
|
||||
<translation>Udjævning</translation>
|
||||
@@ -34920,17 +34833,6 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
|
||||
<source>Color Scheme</source>
|
||||
<translation>Farveskema</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy...</source>
|
||||
<translation>Kopiér...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>Slet</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::HighlighterSettingsPage</name>
|
||||
<message>
|
||||
<source><html><head/><body>
|
||||
<p>Highlight definitions are provided by the <a href="http://kate-editor.org/">Kate Text Editor</a>.</p></body></html></source>
|
||||
@@ -34949,17 +34851,10 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
|
||||
<source>Use fallback location</source>
|
||||
<translation>Brug tilbagefaldsplacering</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Behavior</source>
|
||||
<translation>Adfærd</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ignored file patterns:</source>
|
||||
<translation>Ignoreret filmønstre:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::LineNumberFilter</name>
|
||||
<message>
|
||||
<source>Line in Current Document</source>
|
||||
<translation>Linje i aktuelt dokument</translation>
|
||||
@@ -34976,9 +34871,6 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
|
||||
<source>Column %1</source>
|
||||
<translation>Kolonne %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ManageDefinitionsDialog</name>
|
||||
<message>
|
||||
<source>Dialog</source>
|
||||
<translation>Dialog</translation>
|
||||
@@ -35027,9 +34919,6 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
|
||||
<source>There is already one download in progress. Please wait until it is finished.</source>
|
||||
<translation>Der er allerede en download i gang. Vent venligst til den er færdig.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::MultiDefinitionDownloader</name>
|
||||
<message>
|
||||
<source>Downloading Highlighting Definitions</source>
|
||||
<translation>Downloader fremhævningsdefinitioner</translation>
|
||||
@@ -35050,16 +34939,10 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
|
||||
<source>Download Error</source>
|
||||
<translation>Fejl ved download</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineFactory</name>
|
||||
<message>
|
||||
<source>Outline</source>
|
||||
<translation>Overblik</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineWidgetStack</name>
|
||||
<message>
|
||||
<source>No outline available</source>
|
||||
<translation>Intet overblik tilgængeligt</translation>
|
||||
@@ -35072,24 +34955,14 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
|
||||
<source>Filter tree</source>
|
||||
<translation>Filtrer træ</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsCollection</name>
|
||||
<message>
|
||||
<source>Cannot create user snippet directory %1</source>
|
||||
<translation>Kan ikke oprette bruger snippet-mappen %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsSettingsPage</name>
|
||||
<message>
|
||||
<source>Add</source>
|
||||
<translation>Tilføj</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation>Fjern</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Revert Built-in</source>
|
||||
<translation>Tilbagefør indbygget</translation>
|
||||
@@ -35106,9 +34979,6 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
|
||||
<source>Group: </source>
|
||||
<translation>Gruppe: </translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsSettingsPagePrivate</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation>Snippets</translation>
|
||||
@@ -35125,13 +34995,6 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
|
||||
<source>No snippet selected.</source>
|
||||
<translation>Ingen snippet valgt.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsTableModel</name>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Fejl</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Not a valid trigger.</source>
|
||||
<translation>Ikke en gyldig udløser.</translation>
|
||||
@@ -35148,9 +35011,6 @@ Derudover indsætter Skift+Enter et undvigetegn ved markørens placering og flyt
|
||||
<source>Error reverting snippet.</source>
|
||||
<translation>Fejl ved hentning af snippet.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TabSettingsWidget</name>
|
||||
<message>
|
||||
<source>Tabs And Indentation</source>
|
||||
<translation>Tabulatorer og indrykning</translation>
|
||||
@@ -35255,9 +35115,6 @@ Påvirker indrykningen af fortsatte linjer.
|
||||
<source><i>Code indentation is configured in <a href="C++">C++</a> and <a href="QtQuick">Qt Quick</a> settings.</i></source>
|
||||
<translation><i>Kodeindrykning er konfigureret i <a href="C++">C++-</a> og <a href="QtQuick">Qt Quick</a>-indstillinger.</i></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorActionHandler</name>
|
||||
<message>
|
||||
<source>&Undo</source>
|
||||
<translation>&Fortryd</translation>
|
||||
@@ -35734,9 +35591,6 @@ Påvirker indrykningen af fortsatte linjer.
|
||||
<source>Go to Next Word Camel Case with Selection</source>
|
||||
<translation>Gå til næste ord med markering (camel case)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorPlugin</name>
|
||||
<message>
|
||||
<source>Trigger Completion</source>
|
||||
<translation>Udløs færdiggørelse</translation>
|
||||
@@ -35790,16 +35644,10 @@ Påvirker indrykningen af fortsatte linjer.
|
||||
<source>Current document's font size in points.</source>
|
||||
<translation>Aktuelt dokuments skriftstørrelse i punkter.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::SearchEngine</name>
|
||||
<message>
|
||||
<source>Internal</source>
|
||||
<translation>Intern</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextDocument</name>
|
||||
<message>
|
||||
<source>Diff Against Current File</source>
|
||||
<translation>Diff mod aktuelle fil</translation>
|
||||
@@ -35808,16 +35656,10 @@ Påvirker indrykningen af fortsatte linjer.
|
||||
<source>Opening File</source>
|
||||
<translation>Åbner fil</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorActionHandler</name>
|
||||
<message>
|
||||
<source><line>:<column></source>
|
||||
<translation><linje>:<kolonne></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorSettings</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>Tekst</translation>
|
||||
@@ -36290,10 +36132,6 @@ Vil blive anvendt på blanktegn i kommentarer og strenge.</translation>
|
||||
<source>Applied to lines describing changes in VCS log.</source>
|
||||
<translation>Anvendt på linjer som beskriver ændringer i VCS-log.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Fejl</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Underline color of error diagnostics.</source>
|
||||
<translation>Understregningsfarve til fejldiagnostik.</translation>
|
||||
@@ -36330,17 +36168,6 @@ Vil blive anvendt på blanktegn i kommentarer og strenge.</translation>
|
||||
<source>Writable arguments of a function call.</source>
|
||||
<translation>Skrivbare argumenter af et funktionskald.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Behavior</source>
|
||||
<translation>Adfærd</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation>Visning</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorWidget</name>
|
||||
<message>
|
||||
<source>Print Document</source>
|
||||
<translation>Udskriv dokument</translation>
|
||||
@@ -41383,7 +41210,7 @@ Gemning mislykkedes.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::Snippets</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source></source>
|
||||
<comment>Snippets are text fragments that can be inserted into an editor via the usual completion mechanics using a trigger text. The translated text (trigger variant) is used to disambiguate between snippets with the same trigger.</comment>
|
||||
|
@@ -11848,7 +11848,7 @@ Rename %2 to %3 anyway?</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseFileFind</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Searching</source>
|
||||
<translation>Suche</translation>
|
||||
@@ -11871,9 +11871,6 @@ Rename %2 to %3 anyway?</source>
|
||||
<source>Aborting replace.</source>
|
||||
<translation>Breche Ersetzung ab.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditor</name>
|
||||
<message>
|
||||
<source>A highlight definition was not found for this file. Would you like to download additional highlight definition files?</source>
|
||||
<translation>Für diese Datei ist keine Definition der Syntaxhervorhebung vorhanden. Möchten Sie weitere Definitionen der Syntaxhervorhebung herunterladen?</translation>
|
||||
@@ -11890,16 +11887,10 @@ Rename %2 to %3 anyway?</source>
|
||||
<source>Remember My Choice</source>
|
||||
<translation>Meine Auswahl speichern</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorScheme</name>
|
||||
<message>
|
||||
<source>Not a color scheme file.</source>
|
||||
<translation>Keine Farbschema-Datei.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorSchemeEdit</name>
|
||||
<message>
|
||||
<source>Bold</source>
|
||||
<translation>Fett</translation>
|
||||
@@ -11988,9 +11979,6 @@ Rename %2 to %3 anyway?</source>
|
||||
<source><p align='center'><b>Builtin color schemes need to be <a href="copy">copied</a><br/> before they can be changed</b></p></source>
|
||||
<translation><p align='center'><b>Mitgelieferte Farbschemata müssen <a href="copy">kopiert</a><br/> werden, bevor sie geändert werden können</b></p></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInCurrentFile</name>
|
||||
<message>
|
||||
<source>Current File</source>
|
||||
<translation>Aktuelle Datei</translation>
|
||||
@@ -12005,13 +11993,6 @@ Rename %2 to %3 anyway?</source>
|
||||
<translation>Pfad zu Datei: %1
|
||||
%2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPageWidget</name>
|
||||
<message>
|
||||
<source>Font</source>
|
||||
<translation>Zeichensatz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Family:</source>
|
||||
<translation>Name:</translation>
|
||||
@@ -12110,9 +12091,6 @@ Werte kleiner als 100% können überlappende und falsch ausgerichtete Darstellun
|
||||
<source>Font && Colors</source>
|
||||
<translation>Zeichensatz && Farben</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::LineNumberFilter</name>
|
||||
<message>
|
||||
<source>Jumps to the given line in the current document.</source>
|
||||
<translation>Springt im aktuellen Dokument zur angegebenen Zeile.</translation>
|
||||
@@ -15239,7 +15217,7 @@ Für CMake-Projekte stellen Sie sicher, dass die Variable QML_IMPORT_PATH in CMa
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorPlugin</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Ctrl+Space</source>
|
||||
<translation>Ctrl+Space</translation>
|
||||
@@ -15973,7 +15951,7 @@ Möchten Sie sie überschreiben?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineWidgetStack</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>No outline available</source>
|
||||
<translation>Überblick nicht verfügbar</translation>
|
||||
@@ -15990,9 +15968,6 @@ Möchten Sie sie überschreiben?</translation>
|
||||
<source>Sort Alphabetically</source>
|
||||
<translation>Alphabetisch sortieren</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineFactory</name>
|
||||
<message>
|
||||
<source>Outline</source>
|
||||
<translation>Überblick</translation>
|
||||
@@ -16611,7 +16586,7 @@ konnte nicht unter Versionsverwaltung (%2) gestellt werden
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsTableModel</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Fehler</translation>
|
||||
@@ -19646,7 +19621,7 @@ Speichern fehlgeschlagen.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsPage</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Global</source>
|
||||
<comment>Settings</comment>
|
||||
@@ -19656,16 +19631,10 @@ Speichern fehlgeschlagen.</translation>
|
||||
<source>Behavior</source>
|
||||
<translation>Verhalten</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FunctionHintProposalWidget</name>
|
||||
<message>
|
||||
<source>%1 of %2</source>
|
||||
<translation>%1 von %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsCollection</name>
|
||||
<message>
|
||||
<source>Cannot create user snippet directory %1</source>
|
||||
<translation>Das Snippet-Verzeichnis des Nutzers konnte nicht erstellt werden: %1</translation>
|
||||
@@ -21027,11 +20996,7 @@ When disabled, moves targets straight to the current mouse position.</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleSelectorWidget</name>
|
||||
<message>
|
||||
<source>Copy...</source>
|
||||
<translation>Kopieren...</translation>
|
||||
</message>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation>Entfernen</translation>
|
||||
@@ -21068,10 +21033,6 @@ When disabled, moves targets straight to the current mouse position.</source>
|
||||
<source>Are you sure you want to delete this code style permanently?</source>
|
||||
<translation>Möchten Sie diesen Coding-Stil endgültig löschen?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>Löschen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Import Code Style</source>
|
||||
<translation>Coding Style importieren</translation>
|
||||
@@ -21096,9 +21057,6 @@ When disabled, moves targets straight to the current mouse position.</source>
|
||||
<source>%1 [built-in]</source>
|
||||
<translation>%1 [eingebaut]</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FindInFiles</name>
|
||||
<message>
|
||||
<source>Files in File System</source>
|
||||
<translation>Dateien aus Dateisystem</translation>
|
||||
@@ -21184,7 +21142,7 @@ Außer: %3
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleEditor</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Edit preview contents to see how the current settings are applied to custom code snippets. Changes in the preview do not affect the current settings.</source>
|
||||
<translation>Ändern Sie den Inhalt der Vorschau, um zu sehen wie sich die aktuellen Einstellungen auf die benutzerdefinierten Snippets auswirken. Änderungen der Vorschau haben keinen Einfluss auf die Einstellungen.</translation>
|
||||
@@ -22095,7 +22053,7 @@ Bitte aktualisieren Sie Ihr Kit (%3) oder wählen Sie eine mkspec für qmake, di
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsWidget</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Typing</source>
|
||||
<translation>Beim Tippen</translation>
|
||||
@@ -22330,9 +22288,6 @@ Gibt an, wie sich die Rücktaste bezüglich Einrückung verhält.
|
||||
<source>Windows (CRLF)</source>
|
||||
<translation>Windows (CRLF)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::DisplaySettingsPage</name>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation>Anzeige</translation>
|
||||
@@ -22457,9 +22412,6 @@ Gibt an, wie sich die Rücktaste bezüglich Einrückung verhält.
|
||||
<source>Between lines</source>
|
||||
<translation>Zwischen den Zeilen</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::HighlighterSettingsPage</name>
|
||||
<message>
|
||||
<source>Syntax Highlight Definition Files</source>
|
||||
<translation>Definitionsdateien für die Syntaxhervorhebung</translation>
|
||||
@@ -22488,10 +22440,6 @@ Gibt an, wie sich die Rücktaste bezüglich Einrückung verhält.
|
||||
<source>Download missing and update existing syntax definition files.</source>
|
||||
<translation>Fehlende Syntax-Definitionsdateien herunterladen und bestehende aktualisieren.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Download Definitions</source>
|
||||
<translation>Definitionen herunterladen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reload externally modified definition files.</source>
|
||||
<translation>Extern geänderte Definitionsdateien neu laden.</translation>
|
||||
@@ -22508,17 +22456,10 @@ Gibt an, wie sich die Rücktaste bezüglich Einrückung verhält.
|
||||
<source>Download finished</source>
|
||||
<translation>Herunterladen beendet</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsSettingsPage</name>
|
||||
<message>
|
||||
<source>Add</source>
|
||||
<translation>Hinzufügen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation>Entfernen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Revert Built-in</source>
|
||||
<translation>Internes Snippet zurücksetzen</translation>
|
||||
@@ -22539,10 +22480,6 @@ Gibt an, wie sich die Rücktaste bezüglich Einrückung verhält.
|
||||
<source>Error While Saving Snippet Collection</source>
|
||||
<translation>Fehler beim Speichern der Snippet-Sammlung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>No snippet selected.</source>
|
||||
<translation>Kein Snippet ausgewählt.</translation>
|
||||
@@ -22551,9 +22488,6 @@ Gibt an, wie sich die Rücktaste bezüglich Einrückung verhält.
|
||||
<source>Snippets</source>
|
||||
<translation>Snippets</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TabSettingsWidget</name>
|
||||
<message>
|
||||
<source>Tabs And Indentation</source>
|
||||
<translation>Tabulatoren und Einrückung</translation>
|
||||
@@ -24670,7 +24604,7 @@ the manifest file by overriding your settings. Allow override?</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInOpenFiles</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Open Documents</source>
|
||||
<translation>Offene Dokumente</translation>
|
||||
@@ -27921,7 +27855,7 @@ The affected files are:
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>RefactoringFile::apply</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Refactoring cannot be applied.</source>
|
||||
<translation>Refaktorisierung konnte nicht angewandt werden.</translation>
|
||||
@@ -30871,7 +30805,7 @@ Möchten Sie es beenden?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>FontSettings_C_OCCURRENCES_UNUSED</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Unused variable</source>
|
||||
<translation>Unbenutzte Variable</translation>
|
||||
@@ -34277,7 +34211,7 @@ Benutzen Sie dies nur für Prototypen. Sie können damit keine vollständige Anw
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextDocument</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Diff Against Current File</source>
|
||||
<translation>Mit aktueller Datei vergleichen</translation>
|
||||
@@ -34286,9 +34220,6 @@ Benutzen Sie dies nur für Prototypen. Sie können damit keine vollständige Anw
|
||||
<source>Opening File</source>
|
||||
<translation>Öffne Datei</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorWidget</name>
|
||||
<message>
|
||||
<source>Cursor position: %1</source>
|
||||
<translation>Position der Einfügemarke: %1</translation>
|
||||
@@ -35491,7 +35422,7 @@ Error:
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorActionHandler</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>&Undo</source>
|
||||
<translation>&Rückgängig</translation>
|
||||
@@ -38224,11 +38155,7 @@ Sie werden erhalten.</numerusform>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CompletionSettingsPage</name>
|
||||
<message>
|
||||
<source>Behavior</source>
|
||||
<translation>Verhalten</translation>
|
||||
</message>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Activate completion:</source>
|
||||
<translation>Code-Vervollständigung aktivieren:</translation>
|
||||
@@ -38241,10 +38168,6 @@ Sie werden erhalten.</numerusform>
|
||||
<source>Full</source>
|
||||
<translation>Vollständig</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>None</source>
|
||||
<translation>Keine</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>First Letter</source>
|
||||
<translation>Erster Buchstabe</translation>
|
||||
@@ -38257,10 +38180,6 @@ Sie werden erhalten.</numerusform>
|
||||
<source>When Triggered</source>
|
||||
<translation>Auf Anforderung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Always</source>
|
||||
<translation>Immer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Timeout in ms:</source>
|
||||
<translation>Zeitüberschreitung nach (ms):</translation>
|
||||
@@ -40270,7 +40189,7 @@ Ablaufdatum: %3</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorSettings</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>Text</translation>
|
||||
@@ -40829,10 +40748,6 @@ Außer Leerzeichen innerhalb von Kommentaren und Zeichenketten.</translation>
|
||||
<source>Applied to commit subjects in VCS log.</source>
|
||||
<translation>Wird auf Titel von Commits in einem Versionskontroll-Log angewendet.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Underline color of error diagnostics.</source>
|
||||
<translation>Unterstreichung von Fehlern.</translation>
|
||||
@@ -40974,7 +40889,7 @@ Außer Leerzeichen innerhalb von Kommentaren und Zeichenketten.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::SearchEngine</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Internal</source>
|
||||
<translation>Intern</translation>
|
||||
@@ -41369,7 +41284,7 @@ Are you sure?</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::Snippets</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>derived from QObject</source>
|
||||
<comment>group:'C++' trigger:'class'</comment>
|
||||
@@ -43592,7 +43507,7 @@ You might find further explanations in the Application Output view.</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Highlighter</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Highlighter updates: done</source>
|
||||
<translation>Aktualisierungen der Syntaxhervorhebung: abgeschlossen</translation>
|
||||
@@ -56181,7 +56096,7 @@ Failed to open file "%1"</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Snippet</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Expected delimiter after mangler ID.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -56194,9 +56109,6 @@ Failed to open file "%1"</source>
|
||||
<source>Missing closing variable delimiter for:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextMark</name>
|
||||
<message>
|
||||
<source>Show Diagnostic Settings</source>
|
||||
<translation>Diagnosekonfiguration anzeigen</translation>
|
||||
|
@@ -9359,14 +9359,7 @@ Para hacerlo, introduzca el atajo y un espacio en el campo Localización, y lueg
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Snippets::Internal::SnippetsPlugin</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation>Fragmentos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Snippets::Internal::SnippetsWindow</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation>Fragmentos</translation>
|
||||
@@ -9665,7 +9658,7 @@ Para hacerlo, introduzca el atajo y un espacio en el campo Localización, y lueg
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseFileFind</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>%1 found</source>
|
||||
<translation>%1 encontrado</translation>
|
||||
@@ -9678,9 +9671,6 @@ Para hacerlo, introduzca el atajo y un espacio en el campo Localización, y lueg
|
||||
<source>Use Regular E&xpressions</source>
|
||||
<translation>Usar &expresiones regulares</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextDocument</name>
|
||||
<message>
|
||||
<source>untitled</source>
|
||||
<translation>sin título</translation>
|
||||
@@ -9689,9 +9679,6 @@ Para hacerlo, introduzca el atajo y un espacio en el campo Localización, y lueg
|
||||
<source><em>Binary data</em></source>
|
||||
<translation><em>Datos binarios</em></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditor</name>
|
||||
<message>
|
||||
<source>Print Document</source>
|
||||
<translation>Imprimir documento</translation>
|
||||
@@ -9704,9 +9691,6 @@ Para hacerlo, introduzca el atajo y un espacio en el campo Localización, y lueg
|
||||
<source>Select Encoding</source>
|
||||
<translation>Seleccióne codificación</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditorEditable</name>
|
||||
<message>
|
||||
<source>Line: %1, Col: %2</source>
|
||||
<translation>Línea: %1, Col: %2</translation>
|
||||
@@ -9715,9 +9699,6 @@ Para hacerlo, introduzca el atajo y un espacio en el campo Localización, y lueg
|
||||
<source>Line: %1, Col: 999</source>
|
||||
<translation>Línea: %1, Col: 999</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsPage</name>
|
||||
<message>
|
||||
<source>Storage</source>
|
||||
<translation>Almacenamiento</translation>
|
||||
@@ -9812,9 +9793,6 @@ Para hacerlo, introduzca el atajo y un espacio en el campo Localización, y lueg
|
||||
<source>In leading white space</source>
|
||||
<translation>Cuando empiece con un espacio</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::DisplaySettingsPage</name>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation>Mostrar</translation>
|
||||
@@ -9884,9 +9862,6 @@ Para hacerlo, introduzca el atajo y un espacio en el campo Localización, y lueg
|
||||
<source>Mark text changes</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPage</name>
|
||||
<message>
|
||||
<source>Font & Colors</source>
|
||||
<translation>Fuentes & colores</translation>
|
||||
@@ -9932,9 +9907,6 @@ Para hacerlo, introduzca el atajo y un espacio en el campo Localización, y lueg
|
||||
This is only an example.</source>
|
||||
<translation type="obsolete">Esto es simplemente un ejemplo.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodecSelector</name>
|
||||
<message>
|
||||
<source>Text Encoding</source>
|
||||
<translation>Codificación de caracteres</translation>
|
||||
@@ -9956,16 +9928,10 @@ The following encodings are likely to fit:</source>
|
||||
<source>Save with Encoding</source>
|
||||
<translation>Guardar con codificación</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInCurrentFile</name>
|
||||
<message>
|
||||
<source>Current File</source>
|
||||
<translation>Archivo actual</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInFiles</name>
|
||||
<message>
|
||||
<source>Files on Disk</source>
|
||||
<translation>Archivos en disco</translation>
|
||||
@@ -9986,9 +9952,6 @@ The following encodings are likely to fit:</source>
|
||||
<source>Directory to search</source>
|
||||
<translation>Directorio a buscar</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPageWidget</name>
|
||||
<message>
|
||||
<source>Font</source>
|
||||
<translation>Fuente</translation>
|
||||
@@ -10047,9 +10010,6 @@ The following encodings are likely to fit:</source>
|
||||
<source>Delete</source>
|
||||
<translation type="unfinished">Suprimir</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::LineNumberFilter</name>
|
||||
<message>
|
||||
<source>Line in current document</source>
|
||||
<translation>Línea en el documento actual</translation>
|
||||
@@ -10058,9 +10018,6 @@ The following encodings are likely to fit:</source>
|
||||
<source>Line %1</source>
|
||||
<translation>Línea %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorPlugin</name>
|
||||
<message>
|
||||
<source>Creates a text file (.txt).</source>
|
||||
<translation>Crea un archivo de texto (.txt).</translation>
|
||||
@@ -10093,9 +10050,6 @@ The following encodings are likely to fit:</source>
|
||||
<source>Alt+Return</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorActionHandler</name>
|
||||
<message>
|
||||
<source>&Undo</source>
|
||||
<translation>Des&hacer</translation>
|
||||
@@ -10280,9 +10234,6 @@ The following encodings are likely to fit:</source>
|
||||
<source><line number></source>
|
||||
<translation><número de línea></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorSettings</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>Texto</translation>
|
||||
@@ -11495,7 +11446,7 @@ p, li { white-space: pre-wrap; }
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorSchemeEdit</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Bold</source>
|
||||
<translation type="unfinished">Negritas</translation>
|
||||
@@ -12754,14 +12705,11 @@ Check if the phone is connected and the TRK application is running.</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorScheme</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Not a color scheme file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FontSettings</name>
|
||||
<message>
|
||||
<source>Customized</source>
|
||||
<translation type="unfinished"></translation>
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -7793,7 +7793,7 @@ Sigurno želiš nastaviti?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsWidget</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Typing</source>
|
||||
<translation>Tipkanje</translation>
|
||||
@@ -7986,9 +7986,6 @@ Specificira način uvlačenja s povratnom tipkom.
|
||||
<source>On Shift+Mouseover</source>
|
||||
<translation>Shift+Miš iznad objekta</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodeStyleSelectorWidget</name>
|
||||
<message>
|
||||
<source>Current settings:</source>
|
||||
<translation>Trenutačne postavke:</translation>
|
||||
@@ -8013,9 +8010,6 @@ Specificira način uvlačenja s povratnom tipkom.
|
||||
<source>Import...</source>
|
||||
<translation>Uvezi …</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorSchemeEdit</name>
|
||||
<message>
|
||||
<source><p align='center'><b>Builtin color schemes need to be <a href="copy">copied</a><br/> before they can be changed</b></p></source>
|
||||
<translation><p align='center'><b>Ugrađene sustave boja moraš <a href="copy">kopirati</a><br/> prije nego što ih možeš promijeniti</b></p></translation>
|
||||
@@ -8104,9 +8098,6 @@ Specificira način uvlačenja s povratnom tipkom.
|
||||
<source>Dash-Dot-Dot Underline</source>
|
||||
<translation>Crtica-točka-točka podcrtavanje</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CompletionSettingsPage</name>
|
||||
<message>
|
||||
<source>Behavior</source>
|
||||
<translation>Način ponašanja</translation>
|
||||
@@ -8123,10 +8114,6 @@ Specificira način uvlačenja s povratnom tipkom.
|
||||
<source>Full</source>
|
||||
<translation>Potpuno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>None</source>
|
||||
<translation>Bez</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>First Letter</source>
|
||||
<translation>Prvo slovo</translation>
|
||||
@@ -8139,10 +8126,6 @@ Specificira način uvlačenja s povratnom tipkom.
|
||||
<source>When Triggered</source>
|
||||
<translation>Prilikom okidanja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Always</source>
|
||||
<translation>Uvijek</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Timeout in ms:</source>
|
||||
<translation>Vremensko ograničenje u ms:</translation>
|
||||
@@ -8257,9 +8240,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Completion</source>
|
||||
<translation>Dovršavanje</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::DisplaySettingsPage</name>
|
||||
<message>
|
||||
<source>Text Wrapping</source>
|
||||
<translation>Prelamanje teksta</translation>
|
||||
@@ -8356,13 +8336,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Between lines</source>
|
||||
<translation>Između redaka</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPageWidget</name>
|
||||
<message>
|
||||
<source>Font</source>
|
||||
<translation>Font</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation>Veličina:</translation>
|
||||
@@ -8387,17 +8360,10 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Color Scheme</source>
|
||||
<translation>Shema boja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy...</source>
|
||||
<translation>Kopiraj …</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>Ukloni</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::HighlighterSettingsPage</name>
|
||||
<message>
|
||||
<source><html><head/><body><p>Highlight definitions are provided by the <a href="https://api.kde.org/frameworks/syntax-highlighting/html/index.html">KSyntaxHighlighting</a> engine.</p></body></html></source>
|
||||
<translation><html><head/><body><p>Definicije za isticanje omogućuje <a href="https://api.kde.org/frameworks/syntax-highlighting/html/index.html">KSyntaxHighlighting</a>.</p></body></html></translation>
|
||||
@@ -8426,17 +8392,10 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Ignored file patterns:</source>
|
||||
<translation>Zanemareni uzorci za datoteke:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsSettingsPage</name>
|
||||
<message>
|
||||
<source>Add</source>
|
||||
<translation>Dodaj</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation>Ukloni</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Revert Built-in</source>
|
||||
<translation>Vrati ugrađene</translation>
|
||||
@@ -8453,9 +8412,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Group: </source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TabSettingsWidget</name>
|
||||
<message>
|
||||
<source>Tabs And Indentation</source>
|
||||
<translation>Tabulatori i uvlake</translation>
|
||||
@@ -33972,14 +33928,11 @@ Row: %4, Column: %5
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::SearchEngine</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Internal</source>
|
||||
<translation>Unutarnje</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseFileFind</name>
|
||||
<message>
|
||||
<source>Searching</source>
|
||||
<translation>Pretraživanje</translation>
|
||||
@@ -34004,17 +33957,11 @@ Row: %4, Column: %5
|
||||
<numerusform>%n nađenih.</numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsPage</name>
|
||||
<message>
|
||||
<source>Global</source>
|
||||
<comment>Settings</comment>
|
||||
<translation>Globalno</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsWidget</name>
|
||||
<message>
|
||||
<source>Displays context-sensitive help or type information on mouseover.</source>
|
||||
<translation>Prikazuje kontekstnu pomoć ili upiši podatke prilikom korištenja "Miš iznad objekta".</translation>
|
||||
@@ -34023,16 +33970,10 @@ Row: %4, Column: %5
|
||||
<source>Displays context-sensitive help or type information on Shift+Mouseover.</source>
|
||||
<translation>Prikazuje kontekstnu pomoć ili upiši podatke prilikom korištenja "Shift+Miš iznad objekta".</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FunctionHintProposalWidget</name>
|
||||
<message>
|
||||
<source>%1 of %2</source>
|
||||
<translation>%1 od %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodecSelector</name>
|
||||
<message>
|
||||
<source>Text Encoding</source>
|
||||
<translation>Vrsta kodiranja teksta</translation>
|
||||
@@ -34053,16 +33994,10 @@ Row: %4, Column: %5
|
||||
<source>Save with Encoding</source>
|
||||
<translation>Spremi s kodiranjem</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleEditor</name>
|
||||
<message>
|
||||
<source>Edit preview contents to see how the current settings are applied to custom code snippets. Changes in the preview do not affect the current settings.</source>
|
||||
<translation>Uredi sadržaj pregleda za prikaz primjene trenutačnih postavaka na prilagođene isječke koda. Promjene u pregledu ne utječu na trenutačne postavke.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodeStyleDialog</name>
|
||||
<message>
|
||||
<source>Edit Code Style</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -34083,21 +34018,10 @@ Row: %4, Column: %5
|
||||
<source>%1 (Copy)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleSelectorWidget</name>
|
||||
<message>
|
||||
<source>Copy Code Style</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code style name:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1 (Copy)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete Code Style</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -34106,10 +34030,6 @@ Row: %4, Column: %5
|
||||
<source>Are you sure you want to delete this code style permanently?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>Ukloni</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Import Code Style</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -34134,16 +34054,10 @@ Row: %4, Column: %5
|
||||
<source>%1 [built-in]</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorScheme</name>
|
||||
<message>
|
||||
<source>Not a color scheme file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInCurrentFile</name>
|
||||
<message>
|
||||
<source>Current File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -34157,9 +34071,6 @@ Row: %4, Column: %5
|
||||
%2</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FindInFiles</name>
|
||||
<message>
|
||||
<source>Files in File System</source>
|
||||
<translation type="unfinished">Datoteke u datotečnom sustavu</translation>
|
||||
@@ -34188,9 +34099,6 @@ Excluding: %3
|
||||
<source>Directory to Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInOpenFiles</name>
|
||||
<message>
|
||||
<source>Open Documents</source>
|
||||
<translation type="unfinished">Otvori dokumente</translation>
|
||||
@@ -34204,16 +34112,10 @@ Excluding: %3
|
||||
%1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>FontSettings_C_OCCURRENCES_UNUSED</name>
|
||||
<message>
|
||||
<source>Unused variable</source>
|
||||
<translation>Neupotrijebljena varijabla</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPage</name>
|
||||
<message>
|
||||
<source>Font && Colors</source>
|
||||
<translation>Font &i boje</translation>
|
||||
@@ -34242,10 +34144,6 @@ Excluding: %3
|
||||
<source>Are you sure you want to delete this color scheme permanently?</source>
|
||||
<translation>Zaista želiš zauvijek ukloniti ovaj sustav boja?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>Ukloni</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Color Scheme Changed</source>
|
||||
<translation>Sustav boja se je promijenio</translation>
|
||||
@@ -34258,9 +34156,6 @@ Excluding: %3
|
||||
<source>Discard</source>
|
||||
<translation>Odbaci</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Cannot create temporary file "%1": %2.</source>
|
||||
<translation>Nije moguće stvoriti privremenu datoteku "%1": %2.</translation>
|
||||
@@ -34301,9 +34196,6 @@ Excluding: %3
|
||||
<source>Text Editor</source>
|
||||
<translation>Uređivač teksta</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Highlighter</name>
|
||||
<message>
|
||||
<source>Highlighter updates: done</source>
|
||||
<translation>Aktualiziranja alata za isticanje: gotovo</translation>
|
||||
@@ -34312,9 +34204,6 @@ Excluding: %3
|
||||
<source>Highlighter updates:</source>
|
||||
<translation>Aktualiziranja alata za isticanje:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::HighlighterSettingsPage</name>
|
||||
<message>
|
||||
<source>Generic Highlighter</source>
|
||||
<translation>Generični alat za isticanje</translation>
|
||||
@@ -34323,9 +34212,6 @@ Excluding: %3
|
||||
<source>Update finished</source>
|
||||
<translation>Aktualiziranje je dovršeno</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::LineNumberFilter</name>
|
||||
<message>
|
||||
<source>Line in Current Document</source>
|
||||
<translation>Redak u trenutačnom dokumentu</translation>
|
||||
@@ -34342,9 +34228,6 @@ Excluding: %3
|
||||
<source>Column %1</source>
|
||||
<translation>%1. stupac</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineWidgetStack</name>
|
||||
<message>
|
||||
<source>No outline available</source>
|
||||
<translation>Nema obrisa</translation>
|
||||
@@ -34357,23 +34240,14 @@ Excluding: %3
|
||||
<source>Filter tree</source>
|
||||
<translation>Filtriraj stablo</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineFactory</name>
|
||||
<message>
|
||||
<source>Outline</source>
|
||||
<translation>Obris</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>RefactoringFile::apply</name>
|
||||
<message>
|
||||
<source>Refactoring cannot be applied.</source>
|
||||
<translation>Nije moguće primijeniti refactoring.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::Snippets</name>
|
||||
<message>
|
||||
<source></source>
|
||||
<comment>Snippets are text fragments that can be inserted into an editor via the usual completion mechanics using a trigger text. The translated text (trigger variant) is used to disambiguate between snippets with the same trigger.</comment>
|
||||
@@ -34454,16 +34328,10 @@ Excluding: %3
|
||||
<comment>group:'Text' trigger:'global'</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsCollection</name>
|
||||
<message>
|
||||
<source>Cannot create user snippet directory %1</source>
|
||||
<translation>Nije moguće stvoriti direktorij %1 za korisničke isječke</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsTableModel</name>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Greška</translation>
|
||||
@@ -34484,9 +34352,6 @@ Excluding: %3
|
||||
<source>Error reverting snippet.</source>
|
||||
<translation>Greška prilikom vraćanja isječka.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsSettingsPagePrivate</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation>Isječci</translation>
|
||||
@@ -34495,17 +34360,10 @@ Excluding: %3
|
||||
<source>Error While Saving Snippet Collection</source>
|
||||
<translation>Greška prilikom spremanja kolekcije isječaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Greška</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>No snippet selected.</source>
|
||||
<translation>Nijedan isječak nije odabran.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextDocument</name>
|
||||
<message>
|
||||
<source>Diff Against Current File</source>
|
||||
<translation>Razlike prema odabranoj datoteci</translation>
|
||||
@@ -34514,9 +34372,6 @@ Excluding: %3
|
||||
<source>Opening File</source>
|
||||
<translation>Otvaranje datoteke</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorWidget</name>
|
||||
<message>
|
||||
<source>Line: 9999, Col: 999</source>
|
||||
<translation>9999. redak, 999. stupac</translation>
|
||||
@@ -34561,17 +34416,10 @@ Excluding: %3
|
||||
<source>Add UTF-8 BOM on Save</source>
|
||||
<translation>Dodaj UTF-8 BOM prilikom spremanja</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditor</name>
|
||||
<message>
|
||||
<source>A highlight definition was not found for this file. Would you like to update highlight definition files?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Update Definitions</source>
|
||||
<translation>Aktualiziraj definicije</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>More than one highlight definition was found for this file. Which one should be used to highlight this file?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -34580,9 +34428,6 @@ Excluding: %3
|
||||
<source>Remember My Choice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorActionHandler</name>
|
||||
<message>
|
||||
<source>&Undo</source>
|
||||
<translation>&Poništi</translation>
|
||||
@@ -35067,16 +34912,10 @@ Excluding: %3
|
||||
<source>Go to Next Word Camel Case with Selection</source>
|
||||
<translation>Prijeđi na sljedeću „dvogrbu” riječ s odabirom</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorActionHandler</name>
|
||||
<message>
|
||||
<source><line>:<column></source>
|
||||
<translation><redak>:<stupac></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorPlugin</name>
|
||||
<message>
|
||||
<source>Trigger Completion</source>
|
||||
<translation>Okini kompletiranje</translation>
|
||||
@@ -35130,9 +34969,6 @@ Excluding: %3
|
||||
<source>Current document's font size in points.</source>
|
||||
<translation>Font veličina trenutačnog dokumenta, u točkama.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorSettings</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>Tekst</translation>
|
||||
@@ -35613,10 +35449,6 @@ Neće se primijeniti na bjeline u komentarima i znakovnim nizovima.</translation
|
||||
<source>Applied to lines describing changes in VCS log.</source>
|
||||
<translation>Primijenjuje se retke koji opisuju promjene u VCS log-zapisu.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Greška</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Underline color of error diagnostics.</source>
|
||||
<translation>Boja podcrtavanja dijagnoza za greške.</translation>
|
||||
@@ -35653,14 +35485,6 @@ Neće se primijeniti na bjeline u komentarima i znakovnim nizovima.</translation
|
||||
<source>Writable arguments of a function call.</source>
|
||||
<translation>Pisani argumenti poziva funkcije.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Behavior</source>
|
||||
<translation>Način ponašanja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation>Prikaz</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>::Todo</name>
|
||||
|
@@ -15208,21 +15208,11 @@ Hogy ezt megtehesse, gépelje be ezt a gyorsbillentyűt és egy szóközt a Lok
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Snippets::Internal::0</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation type="obsolete">Kódrészlet</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Snippets::Internal::SnippetsPlugin</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation>Kódrészlet</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Snippets::Internal::SnippetsWindow</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation>Kódrészlet</translation>
|
||||
@@ -15729,7 +15719,7 @@ Hogy ezt megtehesse, gépelje be ezt a gyorsbillentyűt és egy szóközt a Lok
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::0</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>%1 found</source>
|
||||
<translation type="obsolete">%1 gefunden</translation>
|
||||
@@ -16192,9 +16182,6 @@ Hogy ezt megtehesse, gépelje be ezt a gyorsbillentyűt és egy szóközt a Lok
|
||||
<source>Behavior</source>
|
||||
<translation type="obsolete">Viselkedés</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseFileFind</name>
|
||||
<message>
|
||||
<source>%1 found</source>
|
||||
<translation>%1 gefunden</translation>
|
||||
@@ -16207,9 +16194,6 @@ Hogy ezt megtehesse, gépelje be ezt a gyorsbillentyűt és egy szóközt a Lok
|
||||
<source>Use Regular E&xpressions</source>
|
||||
<translation>Reguláris kife&jezések használata</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextDocument</name>
|
||||
<message>
|
||||
<source>untitled</source>
|
||||
<translation>címtelen</translation>
|
||||
@@ -16218,9 +16202,6 @@ Hogy ezt megtehesse, gépelje be ezt a gyorsbillentyűt és egy szóközt a Lok
|
||||
<source><em>Binary data</em></source>
|
||||
<translation><em>Binäre Daten</em></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditor</name>
|
||||
<message>
|
||||
<source>Print Document</source>
|
||||
<translation>Dokumentum nyomtatása</translation>
|
||||
@@ -16233,9 +16214,6 @@ Hogy ezt megtehesse, gépelje be ezt a gyorsbillentyűt és egy szóközt a Lok
|
||||
<source>Select Encoding</source>
|
||||
<translation>Kódolás kiválasztása</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditorEditable</name>
|
||||
<message>
|
||||
<source>Line: %1, Col: %2</source>
|
||||
<translation>Sor: %1, Oszlop: %2</translation>
|
||||
@@ -16244,9 +16222,6 @@ Hogy ezt megtehesse, gépelje be ezt a gyorsbillentyűt és egy szóközt a Lok
|
||||
<source>Line: %1, Col: 999</source>
|
||||
<translation>Sor: %1, Oszlop: 999</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsPage</name>
|
||||
<message>
|
||||
<source>Tabs and Indentation</source>
|
||||
<translation>Tabulátorok és behúzás</translation>
|
||||
@@ -16323,9 +16298,6 @@ Hogy ezt megtehesse, gépelje be ezt a gyorsbillentyűt és egy szóközt a Lok
|
||||
<source>&Ensure newline at end of file</source>
|
||||
<translation>&Győzödjön meg, hogy újsor van a fájlok végén</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::DisplaySettingsPage</name>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation>Kijelzés</translation>
|
||||
@@ -16382,9 +16354,6 @@ Hogy ezt megtehesse, gépelje be ezt a gyorsbillentyűt és egy szóközt a Lok
|
||||
<source>Enable &mouse navigation</source>
|
||||
<translation>&Egér navigálás engedélyezése</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPage</name>
|
||||
<message>
|
||||
<source>Font & Colors</source>
|
||||
<translation>Betű & színek</translation>
|
||||
@@ -16425,9 +16394,6 @@ Hogy ezt megtehesse, gépelje be ezt a gyorsbillentyűt és egy szóközt a Lok
|
||||
<source>Discard</source>
|
||||
<translation>Eldobás</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::0</name>
|
||||
<message>
|
||||
<source>Text Encoding</source>
|
||||
<translation type="obsolete">Szöveg kódolás</translation>
|
||||
@@ -16558,9 +16524,6 @@ A következő kódolás valószínűleg erre illik:</translation>
|
||||
<source>Meta+Space</source>
|
||||
<translation type="obsolete">Meta+Space</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodecSelector</name>
|
||||
<message>
|
||||
<source>Text Encoding</source>
|
||||
<translation>Szöveg kódolás</translation>
|
||||
@@ -16583,16 +16546,10 @@ A következő kódolás valószínűleg erre illik:</translation>
|
||||
<source>Save with Encoding</source>
|
||||
<translation>Mentés kódolással</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorScheme</name>
|
||||
<message>
|
||||
<source>Not a color scheme file.</source>
|
||||
<translation>Ez nem egy színterv fájl.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorSchemeEdit</name>
|
||||
<message>
|
||||
<source>Bold</source>
|
||||
<translation>Félkövér</translation>
|
||||
@@ -16617,16 +16574,10 @@ A következő kódolás valószínűleg erre illik:</translation>
|
||||
<source>x</source>
|
||||
<translation>x</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInCurrentFile</name>
|
||||
<message>
|
||||
<source>Current File</source>
|
||||
<translation>Aktuális fájl</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInFiles</name>
|
||||
<message>
|
||||
<source>Files on Disk</source>
|
||||
<translation>Lemezen levő fájlok</translation>
|
||||
@@ -16647,16 +16598,10 @@ A következő kódolás valószínűleg erre illik:</translation>
|
||||
<source>Directory to search</source>
|
||||
<translation>Könyvtárra keresés</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FontSettings</name>
|
||||
<message>
|
||||
<source>Customized</source>
|
||||
<translation>Felöltöztetett</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPageWidget</name>
|
||||
<message>
|
||||
<source>Font</source>
|
||||
<translation>Betű</translation>
|
||||
@@ -16681,13 +16626,6 @@ A következő kódolás valószínűleg erre illik:</translation>
|
||||
<source>Copy...</source>
|
||||
<translation>Másolás...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>Törlés</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::LineNumberFilter</name>
|
||||
<message>
|
||||
<source>Line %1</source>
|
||||
<translation>%1-es sor</translation>
|
||||
@@ -16696,9 +16634,6 @@ A következő kódolás valószínűleg erre illik:</translation>
|
||||
<source>Line in current document</source>
|
||||
<translation>Sor az aktuális dokumentumban</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorPlugin</name>
|
||||
<message>
|
||||
<source>Creates a text file (.txt).</source>
|
||||
<translation>Szöveges fájl létrehozása(.txt.</translation>
|
||||
@@ -16731,9 +16666,6 @@ A következő kódolás valószínűleg erre illik:</translation>
|
||||
<source>Alt+Return</source>
|
||||
<translation>Alt+Return</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorActionHandler</name>
|
||||
<message>
|
||||
<source>&Undo</source>
|
||||
<translation>&Visszacsinál</translation>
|
||||
@@ -16926,9 +16858,6 @@ A következő kódolás valószínűleg erre illik:</translation>
|
||||
<source><line number></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorSettings</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>Szöveg</translation>
|
||||
@@ -17049,10 +16978,6 @@ A következő kódolás valószínűleg erre illik:</translation>
|
||||
<source>Behavior</source>
|
||||
<translation>Viselkedés</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation>Kijelzés</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ToolChain</name>
|
||||
|
@@ -9234,14 +9234,7 @@ Per eseguire la ricerca, scrivi questo prefisso, uno spazio e poi il termine da
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Snippets::Internal::SnippetsPlugin</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation>Frammenti</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Snippets::Internal::SnippetsWindow</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation>Frammenti</translation>
|
||||
@@ -9540,7 +9533,7 @@ Per eseguire la ricerca, scrivi questo prefisso, uno spazio e poi il termine da
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseFileFind</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>%1 found</source>
|
||||
<translation>%1 trovati</translation>
|
||||
@@ -9553,9 +9546,6 @@ Per eseguire la ricerca, scrivi questo prefisso, uno spazio e poi il termine da
|
||||
<source>Use Regular E&xpressions</source>
|
||||
<translation>Usa &Espressioni Regolari</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextDocument</name>
|
||||
<message>
|
||||
<source>untitled</source>
|
||||
<translation>senza titolo</translation>
|
||||
@@ -9564,9 +9554,6 @@ Per eseguire la ricerca, scrivi questo prefisso, uno spazio e poi il termine da
|
||||
<source><em>Binary data</em></source>
|
||||
<translation><em>Dati binari</em></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditor</name>
|
||||
<message>
|
||||
<source>Print Document</source>
|
||||
<translation>Stampa il Documento</translation>
|
||||
@@ -9579,9 +9566,6 @@ Per eseguire la ricerca, scrivi questo prefisso, uno spazio e poi il termine da
|
||||
<source>Select Encoding</source>
|
||||
<translation>Seleziona Codifica</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditorEditable</name>
|
||||
<message>
|
||||
<source>Line: %1, Col: %2</source>
|
||||
<translation>Riga: %1, Col: %2</translation>
|
||||
@@ -9590,9 +9574,6 @@ Per eseguire la ricerca, scrivi questo prefisso, uno spazio e poi il termine da
|
||||
<source>Line: %1, Col: 999</source>
|
||||
<translation>Riga: %1, Col: 999</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsPage</name>
|
||||
<message>
|
||||
<source>Storage</source>
|
||||
<translation>Salvataggio</translation>
|
||||
@@ -9687,9 +9668,6 @@ Per eseguire la ricerca, scrivi questo prefisso, uno spazio e poi il termine da
|
||||
<source>In leading white space</source>
|
||||
<translation>Sugli spazi all'inizio</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::DisplaySettingsPage</name>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation>Visualizzazione</translation>
|
||||
@@ -9759,9 +9737,6 @@ Per eseguire la ricerca, scrivi questo prefisso, uno spazio e poi il termine da
|
||||
<source>Mark text changes</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPage</name>
|
||||
<message>
|
||||
<source>Font & Colors</source>
|
||||
<translation>Font & Colori</translation>
|
||||
@@ -9808,9 +9783,6 @@ Per eseguire la ricerca, scrivi questo prefisso, uno spazio e poi il termine da
|
||||
<translation type="obsolete">
|
||||
Questo è solo un esempio.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodecSelector</name>
|
||||
<message>
|
||||
<source>Text Encoding</source>
|
||||
<translation>Codifica del Testo</translation>
|
||||
@@ -9833,16 +9805,10 @@ Queste codifiche dovrebbero andare bene:</translation>
|
||||
<source>Save with Encoding</source>
|
||||
<translation>Salva con Codifica</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInCurrentFile</name>
|
||||
<message>
|
||||
<source>Current File</source>
|
||||
<translation>File Corrente</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInFiles</name>
|
||||
<message>
|
||||
<source>Files on Disk</source>
|
||||
<translation>File sul Disco</translation>
|
||||
@@ -9863,9 +9829,6 @@ Queste codifiche dovrebbero andare bene:</translation>
|
||||
<source>Directory to search</source>
|
||||
<translation>Cartella di ricerca</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPageWidget</name>
|
||||
<message>
|
||||
<source>Font</source>
|
||||
<translation>Tipo di carattere</translation>
|
||||
@@ -9928,9 +9891,6 @@ Queste codifiche dovrebbero andare bene:</translation>
|
||||
<source>Delete</source>
|
||||
<translation type="unfinished">Elimina</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::LineNumberFilter</name>
|
||||
<message>
|
||||
<source>Line %1</source>
|
||||
<translation>Riga %1</translation>
|
||||
@@ -9939,9 +9899,6 @@ Queste codifiche dovrebbero andare bene:</translation>
|
||||
<source>Line in current document</source>
|
||||
<translation>Riga nel documento corrente</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorPlugin</name>
|
||||
<message>
|
||||
<source>Creates a text file (.txt).</source>
|
||||
<translation>Crea un file di testo (.txt).</translation>
|
||||
@@ -9974,9 +9931,6 @@ Queste codifiche dovrebbero andare bene:</translation>
|
||||
<source>Alt+Return</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorActionHandler</name>
|
||||
<message>
|
||||
<source>&Undo</source>
|
||||
<translation>&Annulla</translation>
|
||||
@@ -10161,9 +10115,6 @@ Queste codifiche dovrebbero andare bene:</translation>
|
||||
<source><line number></source>
|
||||
<translation><numero di riga></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorSettings</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>Testo</translation>
|
||||
@@ -10284,10 +10235,6 @@ Queste codifiche dovrebbero andare bene:</translation>
|
||||
<source>Behavior</source>
|
||||
<translation>Comportamento</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation>Visualizzazione</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TopicChooser</name>
|
||||
@@ -11329,7 +11276,7 @@ p, li { white-space: pre-wrap; }
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorSchemeEdit</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Bold</source>
|
||||
<translation type="unfinished">Grassetto</translation>
|
||||
@@ -12514,14 +12461,11 @@ Check if the phone is connected and the TRK application is running.</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorScheme</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Not a color scheme file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FontSettings</name>
|
||||
<message>
|
||||
<source>Customized</source>
|
||||
<translation type="unfinished"></translation>
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1200,7 +1200,7 @@
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorSchemeEdit</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Bold</source>
|
||||
<translation>Pogrubiony</translation>
|
||||
@@ -1285,13 +1285,6 @@
|
||||
<source>Color:</source>
|
||||
<translation>Kolor:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPageWidget</name>
|
||||
<message>
|
||||
<source>Font</source>
|
||||
<translation>Czcionka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Family:</source>
|
||||
<translation>Rodzina:</translation>
|
||||
@@ -8823,7 +8816,7 @@ Wstępnie wybiera wersję desktopową Qt do budowania aplikacji (jeśli jest dos
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseFileFind</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Searching</source>
|
||||
<translation>Przeszukiwanie</translation>
|
||||
@@ -8848,9 +8841,6 @@ Wstępnie wybiera wersję desktopową Qt do budowania aplikacji (jeśli jest dos
|
||||
<numerusform>%n znalezień.</numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditor</name>
|
||||
<message>
|
||||
<source>A highlight definition was not found for this file. Would you like to try to find one?</source>
|
||||
<translation>Definicja podświetleń dla tego pliku nie została znaleziona. Czy chcesz spróbować ją znaleźć?</translation>
|
||||
@@ -8859,9 +8849,6 @@ Wstępnie wybiera wersję desktopową Qt do budowania aplikacji (jeśli jest dos
|
||||
<source>Show Highlighter Options...</source>
|
||||
<translation>Pokaż opcje podświetlania...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodecSelector</name>
|
||||
<message>
|
||||
<source>Text Encoding</source>
|
||||
<translation>Kodowanie tekstu</translation>
|
||||
@@ -8882,16 +8869,10 @@ Wstępnie wybiera wersję desktopową Qt do budowania aplikacji (jeśli jest dos
|
||||
<source>Save with Encoding</source>
|
||||
<translation>Zachowaj z kodowaniem</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorScheme</name>
|
||||
<message>
|
||||
<source>Not a color scheme file.</source>
|
||||
<translation>Nie jest to plik ze schematem kolorów.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInCurrentFile</name>
|
||||
<message>
|
||||
<source>Current File</source>
|
||||
<translation>Bieżący plik</translation>
|
||||
@@ -8906,9 +8887,6 @@ Wstępnie wybiera wersję desktopową Qt do budowania aplikacji (jeśli jest dos
|
||||
<translation>Ścieżka pliku: %1
|
||||
%2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPage</name>
|
||||
<message>
|
||||
<source>Font && Colors</source>
|
||||
<translation>Czcionki i kolory</translation>
|
||||
@@ -8937,10 +8915,6 @@ Wstępnie wybiera wersję desktopową Qt do budowania aplikacji (jeśli jest dos
|
||||
<source>Are you sure you want to delete this color scheme permanently?</source>
|
||||
<translation>Czy usunąć ten schemat kolorów bezpowrotnie?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>Usuń</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Color Scheme Changed</source>
|
||||
<translation>Schemat kolorów został zmieniony</translation>
|
||||
@@ -8953,9 +8927,6 @@ Wstępnie wybiera wersję desktopową Qt do budowania aplikacji (jeśli jest dos
|
||||
<source>Discard</source>
|
||||
<translation>Odrzuć</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::LineNumberFilter</name>
|
||||
<message>
|
||||
<source>Line %1, Column %2</source>
|
||||
<translation>Linia %1, kolumna %2</translation>
|
||||
@@ -8972,16 +8943,10 @@ Wstępnie wybiera wersję desktopową Qt do budowania aplikacji (jeśli jest dos
|
||||
<source>Line in Current Document</source>
|
||||
<translation>Linia w bieżącym dokumencie</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorActionHandler</name>
|
||||
<message>
|
||||
<source><line>:<column></source>
|
||||
<translation><linia>:<kolumna></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorPlugin</name>
|
||||
<message>
|
||||
<source>Ctrl+Space</source>
|
||||
<translation>Ctrl+Space</translation>
|
||||
@@ -9035,9 +9000,6 @@ Wstępnie wybiera wersję desktopową Qt do budowania aplikacji (jeśli jest dos
|
||||
<source>Current document's font size in points.</source>
|
||||
<translation>Rozmiar czcionki bieżącego dokumentu w punktach.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorSettings</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>Tekst</translation>
|
||||
@@ -9484,10 +9446,6 @@ Nie zostanie zastosowane do białych znaków w komentarzach i ciągach znakowych
|
||||
<source>Applied to lines describing changes in VCS log.</source>
|
||||
<translation>Stosowane do linii opisujących zmiany w logu systemu kontroli wersji.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Błędy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Underline color of error diagnostics.</source>
|
||||
<translation>Kolor podkreślenia błędów.</translation>
|
||||
@@ -13331,7 +13289,7 @@ Adds the library and include paths to the .pro file.</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::HighlighterSettingsPage</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Generic Highlighter</source>
|
||||
<translation>Ogólne podświetlanie</translation>
|
||||
@@ -13360,9 +13318,6 @@ Adds the library and include paths to the .pro file.</source>
|
||||
<source>Not possible to retrieve data.</source>
|
||||
<translation>Nie można odebrać danych.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ManageDefinitionsDialog</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Nazwa</translation>
|
||||
@@ -13411,9 +13366,6 @@ Adds the library and include paths to the .pro file.</source>
|
||||
<source>Download Selected Definitions</source>
|
||||
<translation>Pobierz zaznaczone definicje</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineWidgetStack</name>
|
||||
<message>
|
||||
<source>No outline available</source>
|
||||
<translation>Konspekt nie jest dostępny</translation>
|
||||
@@ -13426,9 +13378,6 @@ Adds the library and include paths to the .pro file.</source>
|
||||
<source>Filter tree</source>
|
||||
<translation>Przefiltruj drzewo</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineFactory</name>
|
||||
<message>
|
||||
<source>Outline</source>
|
||||
<translation>Konspekt</translation>
|
||||
@@ -15486,7 +15435,7 @@ Ponowić próbę?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsTableModel</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Błąd</translation>
|
||||
@@ -15507,9 +15456,6 @@ Ponowić próbę?</translation>
|
||||
<source>Error reverting snippet.</source>
|
||||
<translation>Nie można odwrócić urywku.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsSettingsPagePrivate</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation>Urywki</translation>
|
||||
@@ -15518,10 +15464,6 @@ Ponowić próbę?</translation>
|
||||
<source>Error While Saving Snippet Collection</source>
|
||||
<translation>Błąd zapisu kolekcji urywków</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Błąd</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>No snippet selected.</source>
|
||||
<translation>Nie wybrano urywku.</translation>
|
||||
@@ -17203,22 +17145,16 @@ Do you want to save the data first?</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsPage</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Global</source>
|
||||
<comment>Settings</comment>
|
||||
<translation>Globalne</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FunctionHintProposalWidget</name>
|
||||
<message>
|
||||
<source>%1 of %2</source>
|
||||
<translation>%1 z %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsCollection</name>
|
||||
<message>
|
||||
<source>Cannot create user snippet directory %1</source>
|
||||
<translation>Nie można utworzyć katalogu z urywkami użytkownika %1</translation>
|
||||
@@ -18243,14 +18179,11 @@ Dodatkowo, przetestowane zostanie połączenie z urządzeniem.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleEditor</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Edit preview contents to see how the current settings are applied to custom code snippets. Changes in the preview do not affect the current settings.</source>
|
||||
<translation>Zmodyfikuj zawartość podglądu, aby zobaczyć, jak bieżące ustawienia zostaną zastosowane do własnych fragmentów kodu. Zmiany w podglądzie nie wpływają na bieżące ustawienia.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodeStyleDialog</name>
|
||||
<message>
|
||||
<source>Edit Code Style</source>
|
||||
<translation>Zmodyfikuj styl kodu</translation>
|
||||
@@ -18271,21 +18204,10 @@ Dodatkowo, przetestowane zostanie połączenie z urządzeniem.</translation>
|
||||
<source>%1 (Copy)</source>
|
||||
<translation>%1 (Kopia)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleSelectorWidget</name>
|
||||
<message>
|
||||
<source>Copy Code Style</source>
|
||||
<translation>Skopiuj styl kodu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code style name:</source>
|
||||
<translation>Nazwa stylu kodu:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1 (Copy)</source>
|
||||
<translation>%1 (Kopia)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete Code Style</source>
|
||||
<translation>Usuń styl kodu</translation>
|
||||
@@ -18294,10 +18216,6 @@ Dodatkowo, przetestowane zostanie połączenie z urządzeniem.</translation>
|
||||
<source>Are you sure you want to delete this code style permanently?</source>
|
||||
<translation>Czy usunąć ten styl kodu bezpowrotnie?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>Usuń</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Import Code Style</source>
|
||||
<translation>Zaimportuj styl kodu</translation>
|
||||
@@ -18322,9 +18240,6 @@ Dodatkowo, przetestowane zostanie połączenie z urządzeniem.</translation>
|
||||
<source>%1 [built-in]</source>
|
||||
<translation>%1 [wbudowane]</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FindInFiles</name>
|
||||
<message>
|
||||
<source>Files in File System</source>
|
||||
<translation>Pliki w systemie plików</translation>
|
||||
@@ -19332,14 +19247,11 @@ Przedrostki te, w dodatku do nazwy bieżącego pliku, używane są do przełącz
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::BehaviorSettingsPage</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formularz</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsWidget</name>
|
||||
<message>
|
||||
<source>Typing</source>
|
||||
<translation>Pisanie</translation>
|
||||
@@ -19539,21 +19451,10 @@ Ustala, jak klawisz "Backspace" reaguje na wcięcia.
|
||||
<source>Enable smart selection changing</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodeStyleSelectorWidget</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formularz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Current settings:</source>
|
||||
<translation>Bieżące ustawienia:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy...</source>
|
||||
<translation>Kopiuj...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Edit...</source>
|
||||
<translation>Modyfikuj...</translation>
|
||||
@@ -19570,13 +19471,6 @@ Ustala, jak klawisz "Backspace" reaguje na wcięcia.
|
||||
<source>Import...</source>
|
||||
<translation>Importuj...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::DisplaySettingsPage</name>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation>Wyświetlanie</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Display line &numbers</source>
|
||||
<translation>Wyświetlaj &numery linii</translation>
|
||||
@@ -19665,13 +19559,6 @@ Ustala, jak klawisz "Backspace" reaguje na wcięcia.
|
||||
<source>Aligned at right side</source>
|
||||
<translation>Wyrównane do prawej strony</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::HighlighterSettingsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formularz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><html><head/><body>
|
||||
<p>Highlight definitions are provided by the <a href="http://kate-editor.org/">Kate Text Editor</a>.</p></body></html></source>
|
||||
@@ -19690,21 +19577,10 @@ Ustala, jak klawisz "Backspace" reaguje na wcięcia.
|
||||
<source>Use fallback location</source>
|
||||
<translation>Użyj położenia zastępczego</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Behavior</source>
|
||||
<translation>Zachowanie</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ignored file patterns:</source>
|
||||
<translation>Ignorowane wzorce plików:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsSettingsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formularz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Group: </source>
|
||||
<translation>Grupa: </translation>
|
||||
@@ -19713,10 +19589,6 @@ Ustala, jak klawisz "Backspace" reaguje na wcięcia.
|
||||
<source>Add</source>
|
||||
<translation>Dodaj</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation>Usuń</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Revert Built-in</source>
|
||||
<translation>Odwróć zmiany we wbudowanych</translation>
|
||||
@@ -19729,13 +19601,6 @@ Ustala, jak klawisz "Backspace" reaguje na wcięcia.
|
||||
<source>Reset All</source>
|
||||
<translation>Przywróć wszystko</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TabSettingsWidget</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Formularz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tabs And Indentation</source>
|
||||
<translation>Tabulatory i wcięcia</translation>
|
||||
@@ -21817,7 +21682,7 @@ poinstruuje Qt Creatora o URI.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInOpenFiles</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Open Documents</source>
|
||||
<translation>Otwarte dokumenty</translation>
|
||||
@@ -25402,7 +25267,7 @@ Zdalny: %4</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsWidget</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Displays context-sensitive help or type information on mouseover.</source>
|
||||
<translation>Pokazuje pomoc kontekstową lub informację o typie po najechaniu kursorem myszy.</translation>
|
||||
@@ -25411,9 +25276,6 @@ Zdalny: %4</translation>
|
||||
<source>Displays context-sensitive help or type information on Shift+Mouseover.</source>
|
||||
<translation>Pokazuje pomoc kontekstową lub informację o typie po naciśnięciu klawisza Shift i najechaniu kursorem myszy.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>RefactoringFile::apply</name>
|
||||
<message>
|
||||
<source>Refactoring cannot be applied.</source>
|
||||
<translation>Nie można zrefaktoryzować.</translation>
|
||||
@@ -27989,7 +27851,7 @@ Czy przerwać ją?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>FontSettings_C_OCCURRENCES_UNUSED</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Unused variable</source>
|
||||
<translation>Nieużywana zmienna</translation>
|
||||
@@ -31831,7 +31693,7 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::MultiDefinitionDownloader</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Downloading Highlighting Definitions</source>
|
||||
<translation>Pobieranie definicji podświetleń</translation>
|
||||
@@ -31852,16 +31714,10 @@ Pliki z katalogu źródłowego pakietu Android są kopiowane do katalogu budowan
|
||||
<source>Download Error</source>
|
||||
<translation>Błąd pobierania</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextDocument</name>
|
||||
<message>
|
||||
<source>Opening File</source>
|
||||
<translation>Otwieranie pliku</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorWidget</name>
|
||||
<message>
|
||||
<source>Print Document</source>
|
||||
<translation>Wydruk dokumentu</translation>
|
||||
@@ -33113,7 +32969,7 @@ Ustawianie pułapek w liniach plików może się nie udać.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorActionHandler</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>&Undo</source>
|
||||
<translation>&Cofnij</translation>
|
||||
@@ -36053,7 +35909,7 @@ Ustaw prawdziwy plik wykonywalny Clang.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::QuickFixFactory</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Create Getter and Setter Member Functions</source>
|
||||
<translation>Dodaj metodę zwracającą (getter) i ustawiającą (setter)</translation>
|
||||
@@ -36662,11 +36518,7 @@ Czy nadpisać go?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CompletionSettingsPage</name>
|
||||
<message>
|
||||
<source>Behavior</source>
|
||||
<translation>Zachowanie</translation>
|
||||
</message>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Activate completion:</source>
|
||||
<translation>Uaktywniaj uzupełnianie:</translation>
|
||||
@@ -36679,10 +36531,6 @@ Czy nadpisać go?</translation>
|
||||
<source>Full</source>
|
||||
<translation>Pełne</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>None</source>
|
||||
<translation>Brak</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>First Letter</source>
|
||||
<translation>Tylko pierwsza litera</translation>
|
||||
@@ -36695,10 +36543,6 @@ Czy nadpisać go?</translation>
|
||||
<source>When Triggered</source>
|
||||
<translation>Po wyzwoleniu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Always</source>
|
||||
<translation>Zawsze</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Timeout in ms:</source>
|
||||
<translation>Limit czasu
|
||||
@@ -38878,7 +38722,7 @@ Wiersz: %4, kolumna: %5
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditorWidget</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source><b>Error:</b> Could not decode "%1" with "%2"-encoding. Editing not possible.</source>
|
||||
<translation><b>Błąd:</b> Nie można odkodować "%1" używając kodowania "%2". Edycja nie jest możliwa.</translation>
|
||||
@@ -40309,7 +40153,7 @@ Termin wygaśnięcia: %3</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::InternalEngine</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Internal</source>
|
||||
<translation>Wewnętrzny</translation>
|
||||
@@ -40769,7 +40613,7 @@ Błąd: %5</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditorWidgetPrivate</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Other annotations:</source>
|
||||
<translation>Inne adnotacje:</translation>
|
||||
|
@@ -19247,7 +19247,7 @@ when they are not required, which will improve performance in most cases.</sourc
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>FontSettings_C_OCCURRENCES_UNUSED</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Unused variable</source>
|
||||
<translation>Неиспользуемая переменная</translation>
|
||||
@@ -40867,7 +40867,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>RefactoringFile::apply</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Refactoring cannot be applied.</source>
|
||||
<translation>Невозможно применить рефакторинг.</translation>
|
||||
@@ -43735,9 +43735,6 @@ Row: %4, Column: %5
|
||||
<source>File was modified.</source>
|
||||
<translation>Файл изменился.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseFileFind</name>
|
||||
<message>
|
||||
<source>Searching</source>
|
||||
<translation>Идёт поиск</translation>
|
||||
@@ -43762,9 +43759,6 @@ Row: %4, Column: %5
|
||||
<numerusform>%n найдено.</numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditor</name>
|
||||
<message>
|
||||
<source>A highlight definition was not found for this file. Would you like to download additional highlight definition files?</source>
|
||||
<translation>Не удалось найти определения подсветки для этого файла. Загрузить дополнительные файлы определений подсветки?</translation>
|
||||
@@ -43781,9 +43775,6 @@ Row: %4, Column: %5
|
||||
<source>Remember My Choice</source>
|
||||
<translation>Запомнить мой выбор</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsPage</name>
|
||||
<message>
|
||||
<source>Global</source>
|
||||
<comment>Settings</comment>
|
||||
@@ -43793,9 +43784,6 @@ Row: %4, Column: %5
|
||||
<source>Behavior</source>
|
||||
<translation>Поведение</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsWidget</name>
|
||||
<message>
|
||||
<source>Displays context-sensitive help or type information on mouseover.</source>
|
||||
<translation>Отображать контекстную справку или информацию о типе при наведении курсора мыши.</translation>
|
||||
@@ -43812,16 +43800,10 @@ Row: %4, Column: %5
|
||||
<source>Windows (CRLF)</source>
|
||||
<translation>Windows (CRLF)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleEditor</name>
|
||||
<message>
|
||||
<source>Edit preview contents to see how the current settings are applied to custom code snippets. Changes in the preview do not affect the current settings.</source>
|
||||
<translation>Измените текст предпросмотра, чтобы увидеть, как текущие настройки влияют на разные участки кода. Изменения предпросмотра не влияют на текущие настройки.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleSelectorWidget</name>
|
||||
<message>
|
||||
<source>Copy Code Style</source>
|
||||
<translation>Копирование стиля кода</translation>
|
||||
@@ -43870,16 +43852,10 @@ Row: %4, Column: %5
|
||||
<source>%1 [built-in]</source>
|
||||
<translation>%1 [встроенный]</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::DisplaySettingsPage</name>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation>Отображение</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FindInFiles</name>
|
||||
<message>
|
||||
<source>Files in File System</source>
|
||||
<translation>Файлы в системе</translation>
|
||||
@@ -43911,9 +43887,6 @@ Excluding: %3
|
||||
<source>Directory to Search</source>
|
||||
<translation>Каталог поиска</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPageWidget</name>
|
||||
<message>
|
||||
<source>Color Scheme for Theme "%1"</source>
|
||||
<translation>Цветовая схема темы «%1»</translation>
|
||||
@@ -43938,10 +43911,6 @@ Excluding: %3
|
||||
<source>Are you sure you want to delete this color scheme permanently?</source>
|
||||
<translation>Вы действительно желаете навсегда удалить эту цветовую схему?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>Удалить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Color Scheme Changed</source>
|
||||
<translation>Цветовая схема изменена</translation>
|
||||
@@ -43958,16 +43927,10 @@ Excluding: %3
|
||||
<source>Font && Colors</source>
|
||||
<translation>Шрифт и цвета</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FunctionHintProposalWidget</name>
|
||||
<message>
|
||||
<source>%1 of %2</source>
|
||||
<translation>%1 из %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Highlighter</name>
|
||||
<message>
|
||||
<source>Highlighter updates: done</source>
|
||||
<translation>Обновление подсветки: готово</translation>
|
||||
@@ -43976,9 +43939,6 @@ Excluding: %3
|
||||
<source>Highlighter updates:</source>
|
||||
<translation>Обновление подсветки:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsWidget</name>
|
||||
<message>
|
||||
<source>Typing</source>
|
||||
<translation>Набор текста</translation>
|
||||
@@ -44021,10 +43981,6 @@ Specifies how backspace interacts with indentation.
|
||||
</ul></body></html>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>None</source>
|
||||
<translation>Обычное</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Follows Previous Indents</source>
|
||||
<translation>Следовать предыдущим отступам</translation>
|
||||
@@ -44196,17 +44152,10 @@ Specifies how backspace interacts with indentation.
|
||||
<source>List of wildcard-aware file patterns, separated by commas or semicolons.</source>
|
||||
<translation>Список шаблонов имён файлов, разделенных запятыми или точками с запятой.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodeStyleDialog</name>
|
||||
<message>
|
||||
<source>Edit Code Style</source>
|
||||
<translation>Изменение стиля кода</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code style name:</source>
|
||||
<translation>Имя стиля кода:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>You cannot save changes to a built-in code style. Copy it first to create your own version.</source>
|
||||
<translation>Нельзя сохранять изменения во встроенный стиль. Сначала его следует скопировать.</translation>
|
||||
@@ -44215,13 +44164,6 @@ Specifies how backspace interacts with indentation.
|
||||
<source>Copy Built-in Code Style</source>
|
||||
<translation>Скопировать встроенный стиль</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1 (Copy)</source>
|
||||
<translation>%1 (копия)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodeStyleSelectorWidget</name>
|
||||
<message>
|
||||
<source>Current settings:</source>
|
||||
<translation>Текущие настройки:</translation>
|
||||
@@ -44246,16 +44188,10 @@ Specifies how backspace interacts with indentation.
|
||||
<source>Import...</source>
|
||||
<translation>Импорт...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorScheme</name>
|
||||
<message>
|
||||
<source>Not a color scheme file.</source>
|
||||
<translation>Это не файл цветовой схемы.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorSchemeEdit</name>
|
||||
<message>
|
||||
<source>Bold</source>
|
||||
<translation>Жирный</translation>
|
||||
@@ -44345,13 +44281,6 @@ Specifies how backspace interacts with indentation.
|
||||
<source><p align='center'><b>Builtin color schemes need to be <a href="copy">copied</a><br/> before they can be changed</b></p></source>
|
||||
<translation><p align='center'><b>Чтобы изменить встроенные цветовые схемы,<br/>необходимо их сначала <a href="copy">скопировать</a></b></p></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CompletionSettingsPage</name>
|
||||
<message>
|
||||
<source>Behavior</source>
|
||||
<translation>Поведение</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Activate completion:</source>
|
||||
<translation>Вызывать дополнение:</translation>
|
||||
@@ -44380,10 +44309,6 @@ Specifies how backspace interacts with indentation.
|
||||
<source>When Triggered</source>
|
||||
<translation>Когда явно требуется</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Always</source>
|
||||
<translation>Всегда</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Timeout in ms:</source>
|
||||
<translation>Таймаут, мс:</translation>
|
||||
@@ -44508,9 +44433,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Overwrite closing punctuation</source>
|
||||
<translation>Переписывать закрывающую пунктуацию</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::DisplaySettingsPage</name>
|
||||
<message>
|
||||
<source>Display line &numbers</source>
|
||||
<translation>Показывать &номера строк</translation>
|
||||
@@ -44603,9 +44525,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Between lines</source>
|
||||
<translation>Между строк</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInCurrentFile</name>
|
||||
<message>
|
||||
<source>Current File</source>
|
||||
<translation>Текущий файл</translation>
|
||||
@@ -44620,9 +44539,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<translation>Путь к файлу: %1
|
||||
%2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInOpenFiles</name>
|
||||
<message>
|
||||
<source>Open Documents</source>
|
||||
<translation>Открытые документы</translation>
|
||||
@@ -44637,13 +44553,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<translation>Открытые документы
|
||||
%1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPageWidget</name>
|
||||
<message>
|
||||
<source>Font</source>
|
||||
<translation>Шрифт</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Family:</source>
|
||||
<translation>Название:</translation>
|
||||
@@ -44660,10 +44569,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Color Scheme</source>
|
||||
<translation>Цветовая схема</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy...</source>
|
||||
<translation>Копировать...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation>%</translation>
|
||||
@@ -44672,9 +44577,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Zoom:</source>
|
||||
<translation>Масштаб:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::HighlighterSettingsPage</name>
|
||||
<message>
|
||||
<source>Syntax Highlight Definition Files</source>
|
||||
<translation>Файлы определений подсветки синтаксиса</translation>
|
||||
@@ -44704,10 +44606,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Download missing and update existing syntax definition files.</source>
|
||||
<translation>Загрузить отсутствующие и обновить существующие файлы определения синтаксиса.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Download Definitions</source>
|
||||
<translation>Загрузить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reload externally modified definition files.</source>
|
||||
<translation>Перезагрузить из-вне изменённые файлы определений.</translation>
|
||||
@@ -44724,9 +44622,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Download finished</source>
|
||||
<translation>Загрузка завершена</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::LineNumberFilter</name>
|
||||
<message>
|
||||
<source>Line %1, Column %2</source>
|
||||
<translation>Строка %1, столбец %2</translation>
|
||||
@@ -44743,16 +44638,10 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Line in Current Document</source>
|
||||
<translation>Строка в текущем документе</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineFactory</name>
|
||||
<message>
|
||||
<source>Outline</source>
|
||||
<translation>Контур</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineWidgetStack</name>
|
||||
<message>
|
||||
<source>No outline available</source>
|
||||
<translation>Обзор недоступен</translation>
|
||||
@@ -44769,9 +44658,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Sort Alphabetically</source>
|
||||
<translation>Сортировать по алфавиту</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::Snippets</name>
|
||||
<message>
|
||||
<source></source>
|
||||
<comment>Snippets are text fragments that can be inserted into an editor via the usual completion mechanics using a trigger text. The translated text (trigger variant) is used to disambiguate between snippets with the same trigger.</comment>
|
||||
@@ -44857,16 +44743,10 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<comment>group:'Text' trigger:'global'</comment>
|
||||
<translation>пример</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsCollection</name>
|
||||
<message>
|
||||
<source>Cannot create user snippet directory %1</source>
|
||||
<translation>Не удалось создать каталог пользовательских фрагментов %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsSettingsPage</name>
|
||||
<message>
|
||||
<source>Group: </source>
|
||||
<translation>Группа:</translation>
|
||||
@@ -44875,10 +44755,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Add</source>
|
||||
<translation>Добавить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation>Удалить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Revert Built-in</source>
|
||||
<translation>Откатить встроенное</translation>
|
||||
@@ -44907,13 +44783,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Snippets</source>
|
||||
<translation>Фрагменты</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsTableModel</name>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Ошибка</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Not a valid trigger.</source>
|
||||
<translation>Неверный инициатор.</translation>
|
||||
@@ -44930,9 +44799,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Error reverting snippet.</source>
|
||||
<translation>Ошибка отката фрагмента.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TabSettingsWidget</name>
|
||||
<message>
|
||||
<source>Tabs And Indentation</source>
|
||||
<translation>Табуляция и отступы</translation>
|
||||
@@ -45037,9 +44903,6 @@ Influences the indentation of continuation lines.
|
||||
<source><i>Code indentation is configured in <a href="C++">C++</a> and <a href="QtQuick">Qt Quick</a> settings.</i></source>
|
||||
<translation><i>Отступы в коде задаются в настройках <a href="C++">C++</a> и <a href="QtQuick">Qt Quick</a>.</i></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorActionHandler</name>
|
||||
<message>
|
||||
<source>&Undo</source>
|
||||
<translation>&Отменить</translation>
|
||||
@@ -45544,9 +45407,6 @@ Influences the indentation of continuation lines.
|
||||
<source>Go to Next Word Camel Case with Selection</source>
|
||||
<translation>Перейти к следующему слову с выделением с учётом Верблюжьего Регистра</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorPlugin</name>
|
||||
<message>
|
||||
<source>Ctrl+Space</source>
|
||||
<translation></translation>
|
||||
@@ -45600,16 +45460,10 @@ Influences the indentation of continuation lines.
|
||||
<source>Current document's font size in points.</source>
|
||||
<translation>Размер шрифта в точках в текущем документе.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::SearchEngine</name>
|
||||
<message>
|
||||
<source>Internal</source>
|
||||
<translation>Внутренний</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextDocument</name>
|
||||
<message>
|
||||
<source>Diff Against Current File</source>
|
||||
<translation>Сравнить с текущим файлом</translation>
|
||||
@@ -45618,9 +45472,6 @@ Influences the indentation of continuation lines.
|
||||
<source>Opening File</source>
|
||||
<translation>Открытие файла</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorSettings</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>Текст</translation>
|
||||
@@ -46117,10 +45968,6 @@ Will not be applied to whitespace in comments and strings.</source>
|
||||
<source>Applied to commit subjects in VCS log.</source>
|
||||
<translation>Применимо к заголовкам фиксаций в истории VCS.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Ошибка</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Underline color of error diagnostics.</source>
|
||||
<translation>Цвет подчёркивания ошибок.</translation>
|
||||
@@ -46181,9 +46028,6 @@ Will not be applied to whitespace in comments and strings.</source>
|
||||
<source>Writable arguments of a function call.</source>
|
||||
<translation>Записываемые аргументы вызова функции.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorWidget</name>
|
||||
<message>
|
||||
<source>Cursor position: %1</source>
|
||||
<translation>Положение курсора: %1</translation>
|
||||
|
@@ -9139,7 +9139,7 @@ Preselects a desktop Qt for building the application if available.</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseFileFind</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>%1 found</source>
|
||||
<translation>najdenih: %1</translation>
|
||||
@@ -9152,9 +9152,6 @@ Preselects a desktop Qt for building the application if available.</source>
|
||||
<source>Use regular e&xpressions</source>
|
||||
<translation type="obsolete">Uporabi r&egularne izraze</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextDocument</name>
|
||||
<message>
|
||||
<source>untitled</source>
|
||||
<translation>neimenovana</translation>
|
||||
@@ -9171,9 +9168,6 @@ Preselects a desktop Qt for building the application if available.</source>
|
||||
<source><em>Binary data</em></source>
|
||||
<translation type="obsolete"><em>Dvojiški podatki</em></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditor</name>
|
||||
<message>
|
||||
<source>Line: %1, Col: %2</source>
|
||||
<translation>Vrstica: %1, Stolpec: %2</translation>
|
||||
@@ -9182,141 +9176,11 @@ Preselects a desktop Qt for building the application if available.</source>
|
||||
<source>Line: 9999, Col: 999</source>
|
||||
<translation>Vrstica: 9999, Stolpec: 999</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Print Document</source>
|
||||
<translation type="obsolete">Natisni dokument</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><b>Error:</b> Could not decode "%1" with "%2"-encoding. Editing not possible.</source>
|
||||
<translation type="obsolete"><b>Napaka:</b> »%1« ni moč dekodirati z naborom znakov »%2«. Urejanje ni možno.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Select Encoding</source>
|
||||
<translation type="obsolete">Izberite nabor znakov</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsPage</name>
|
||||
<message>
|
||||
<source>Global</source>
|
||||
<comment>Settings</comment>
|
||||
<translation>Globalno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Storage</source>
|
||||
<translation type="obsolete">Shranjevanje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Removes trailing whitespace on saving.</source>
|
||||
<translation type="obsolete">Pri shranjevanju odstrani presledke na koncu vrstic.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Clean whitespace</source>
|
||||
<translation type="obsolete">&Počisti presledke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clean whitespace in entire document instead of only for changed parts.</source>
|
||||
<translation type="obsolete">Počisti presledke v celotnem dokumentu in ne samo v spremenjenih vrsticah.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>In entire &document</source>
|
||||
<translation type="obsolete">V celotnem &dokumentu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Correct leading whitespace according to tab settings.</source>
|
||||
<translation type="obsolete">Popravi presledke na začetku vrstic v skladu z nastavitvami tabulatorja.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Clean indentation</source>
|
||||
<translation type="obsolete">Počisti zamikanje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Ensure newline at end of file</source>
|
||||
<translation type="obsolete">&Zagotovi novo vrstico na koncu datoteke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tabs and Indentation</source>
|
||||
<translation type="obsolete">Tabulator in zamikanje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ta&b size:</source>
|
||||
<translation type="obsolete">Velikost &tabulatorja:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Indent size:</source>
|
||||
<translation type="obsolete">Velikost &zamika:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Backspace will go back one indentation level instead of one space.</source>
|
||||
<translation type="obsolete">Vračalka gre nazaj za en zamik in ne za en presledek.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Backspace follows indentation</source>
|
||||
<translation type="obsolete">&Vračalka sledi zamikom</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Insert &spaces instead of tabs</source>
|
||||
<translation type="obsolete">Vstavi &presledke in ne tabulatorjev</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable automatic &indentation</source>
|
||||
<translation type="obsolete">Omogoči &samodejno zamikanje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tab key performs auto-indent:</source>
|
||||
<translation type="obsolete">Tabulator izvede samodejni zamik:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Never</source>
|
||||
<translation type="obsolete">Nikoli</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Always</source>
|
||||
<translation type="obsolete">Vedno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Automatically determine based on the nearest indented line (previous line preferred over next line)</source>
|
||||
<translation type="obsolete">Ugotovi samodejno glede na najbližjo zamaknjeno vrstico (predhodna vrstica ima prednost pred naslednjo)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Based on the surrounding lines</source>
|
||||
<translation type="obsolete">Temelječe na okoliških vrsticah</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Block indentation style:</source>
|
||||
<translation type="obsolete">Slog zamikanja bloka:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Exclude Braces</source>
|
||||
<translation type="obsolete">Izvzemi oklepaje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Include Braces</source>
|
||||
<translation type="obsolete">Vključi oklepaje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GNU Style</source>
|
||||
<translation type="obsolete">GNU-jevski slog</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>In Leading White Space</source>
|
||||
<translation type="obsolete">V praznini na začetku</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Mouse</source>
|
||||
<translation type="obsolete">Miška</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable &mouse navigation</source>
|
||||
<translation type="obsolete">Omogoči krmarjenje z &miško</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable scroll &wheel zooming</source>
|
||||
<translation type="obsolete">Omogoči povečevanje/zmanjševanje s &koleščkom</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::DisplaySettingsPage</name>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation>Prikaz</translation>
|
||||
@@ -9386,9 +9250,6 @@ Preselects a desktop Qt for building the application if available.</source>
|
||||
<source>Center &cursor on scroll</source>
|
||||
<translation>Ob premiku &usredišči kazalec</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPage</name>
|
||||
<message>
|
||||
<source>Copy Color Scheme</source>
|
||||
<translation>Skopiraj barvno shemo</translation>
|
||||
@@ -9413,10 +9274,6 @@ Preselects a desktop Qt for building the application if available.</source>
|
||||
<source>Are you sure you want to delete this color scheme permanently?</source>
|
||||
<translation>Ali res želite trajno izbrisati to barvno shemo?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>Izbriši</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Color Scheme Changed</source>
|
||||
<translation>Spremenjena barvna shema</translation>
|
||||
@@ -9429,9 +9286,6 @@ Preselects a desktop Qt for building the application if available.</source>
|
||||
<source>Discard</source>
|
||||
<translation>Zavrzi</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodecSelector</name>
|
||||
<message>
|
||||
<source>Text Encoding</source>
|
||||
<translation>Nabor znakov</translation>
|
||||
@@ -9454,9 +9308,6 @@ Naslednji nabori znakov so verjetno ustrezni:</translation>
|
||||
<source>Save with Encoding</source>
|
||||
<translation>Shrani z naborom znakov</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInFiles</name>
|
||||
<message>
|
||||
<source>Files on File System</source>
|
||||
<translation>Datoteke v datotečnem sistemu</translation>
|
||||
@@ -9477,9 +9328,6 @@ Naslednji nabori znakov so verjetno ustrezni:</translation>
|
||||
<source>Directory to search</source>
|
||||
<translation>Išči v mapi</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPageWidget</name>
|
||||
<message>
|
||||
<source>Font</source>
|
||||
<translation>Pisava</translation>
|
||||
@@ -9524,9 +9372,6 @@ Naslednji nabori znakov so verjetno ustrezni:</translation>
|
||||
<source>Zoom:</source>
|
||||
<translation>Povečava:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::LineNumberFilter</name>
|
||||
<message>
|
||||
<source>Line %1</source>
|
||||
<translation>Vrstica %1</translation>
|
||||
@@ -9539,9 +9384,6 @@ Naslednji nabori znakov so verjetno ustrezni:</translation>
|
||||
<source>Line in current document</source>
|
||||
<translation type="obsolete">Vrstica v trenutnem dokumentu</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorPlugin</name>
|
||||
<message>
|
||||
<source>Creates a text file. The default file extension is <tt>.txt</tt>. You can specify a different extension as part of the filename.</source>
|
||||
<translation>Ustvari besedilno datoteko. Privzeta končnica datoteke je <tt>.txt</tt>. Kot del imena datoteke lahko določite drugo končnico.</translation>
|
||||
@@ -9598,9 +9440,6 @@ Naslednji nabori znakov so verjetno ustrezni:</translation>
|
||||
<source>Current document's font size in points.</source>
|
||||
<translation>Velikost pisave trenutnega dokumenta v pikah.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorActionHandler</name>
|
||||
<message>
|
||||
<source>&Undo</source>
|
||||
<translation>&Razveljavi</translation>
|
||||
@@ -9941,9 +9780,6 @@ Naslednji nabori znakov so verjetno ustrezni:</translation>
|
||||
<source>(Un)&Collapse All</source>
|
||||
<translation type="obsolete">Raz&širi/skrči vse</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorSettings</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>Besedilo</translation>
|
||||
@@ -10076,10 +9912,6 @@ Naslednji nabori znakov so verjetno ustrezni:</translation>
|
||||
<source>Behavior</source>
|
||||
<translation>Obnašanje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation>Prikaz</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TopicChooser</name>
|
||||
@@ -11232,7 +11064,7 @@ Za uporabo v polje Iskalnika vtipkajte to bližnjico in presledek ter nato iskan
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorSchemeEdit</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Bold</source>
|
||||
<translation>Polkrepko</translation>
|
||||
@@ -12802,21 +12634,15 @@ Razlog: %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorScheme</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Not a color scheme file.</source>
|
||||
<translation>Ni datoteka z barvno shemo.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInCurrentFile</name>
|
||||
<message>
|
||||
<source>Current File</source>
|
||||
<translation>Trenutna datoteka</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FontSettings</name>
|
||||
<message>
|
||||
<source>Customized</source>
|
||||
<translation>Prilagojeno</translation>
|
||||
@@ -20014,7 +19840,7 @@ Potreben je Qt 4.7.4 ali novejši in nabor komponent za vašo različico Qt.</tr
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>BehaviorSettingsWidget</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Cleanup actions which are automatically performed right before the file is saved to disk.</source>
|
||||
<translation>Dejanja čiščenja, ki se samodejno izvedejo tik pred shranjevanjem datoteke na disk.</translation>
|
||||
@@ -20199,7 +20025,7 @@ Potreben je Qt 4.7.4 ali novejši in nabor komponent za vašo različico Qt.</tr
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SnippetsSettingsPage</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Obrazec</translation>
|
||||
@@ -20234,24 +20060,10 @@ Potreben je Qt 4.7.4 ali novejši in nabor komponent za vašo različico Qt.</tr
|
||||
<source>Reset All</source>
|
||||
<translation>Ponastavi vse</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TabPreferencesWidget</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Obrazec</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tab settings:</source>
|
||||
<translation>Nastavitve tabulatorja:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TabSettingsWidget</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Obrazec</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location/>
|
||||
<source>Tabs And Indentation</source>
|
||||
@@ -27777,7 +27589,7 @@ Ali jih želite dodati v projekt?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditorWidget</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>CTRL+D</source>
|
||||
<translation>CTRL+D</translation>
|
||||
@@ -27802,16 +27614,10 @@ Ali jih želite dodati v projekt?</translation>
|
||||
<source>Select Encoding</source>
|
||||
<translation>Izberite kodiranje</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FunctionHintProposalWidget</name>
|
||||
<message>
|
||||
<source>%1 of %2</source>
|
||||
<translation>%1 od %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FallbackSelectorWidget</name>
|
||||
<message>
|
||||
<source>Settings:</source>
|
||||
<translation>Nastavitve:</translation>
|
||||
@@ -27829,9 +27635,6 @@ Ali jih želite dodati v projekt?</translation>
|
||||
<source>Restore</source>
|
||||
<translation>Obnovi</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::HighlighterSettingsPage</name>
|
||||
<message>
|
||||
<source>Generic Highlighter</source>
|
||||
<translation>Splošno poudarjanje</translation>
|
||||
@@ -27860,9 +27663,6 @@ Ali jih želite dodati v projekt?</translation>
|
||||
<source>Not possible to retrieve data.</source>
|
||||
<translation>Podatkov ni moč pridobiti.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ManageDefinitionsDialog</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>Ime</translation>
|
||||
@@ -27875,10 +27675,6 @@ Ali jih želite dodati v projekt?</translation>
|
||||
<source>Available</source>
|
||||
<translation>Na voljo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Download Definitions</source>
|
||||
<translation>Dobi določila</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Download Information</source>
|
||||
<translation>Podatki o prejemanju</translation>
|
||||
@@ -27887,9 +27683,6 @@ Ali jih želite dodati v projekt?</translation>
|
||||
<source>There is already one download in progress. Please wait until it is finished.</source>
|
||||
<translation>Eno prejemanje je že v teku. Počakajte, da se zaključi.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::Manager</name>
|
||||
<message>
|
||||
<source>Registering definitions</source>
|
||||
<translation>Registriranje definicij</translation>
|
||||
@@ -27916,9 +27709,6 @@ Preverite pravice za dostop do mape.</translation>
|
||||
<source>Download Error</source>
|
||||
<translation>Napaka pri prejemanju</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineWidgetStack</name>
|
||||
<message>
|
||||
<source>No outline available</source>
|
||||
<translation>Na voljo ni nobenega obrisa</translation>
|
||||
@@ -27931,16 +27721,10 @@ Preverite pravice za dostop do mape.</translation>
|
||||
<source>Filter tree</source>
|
||||
<translation>Filtriraj drevo</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineFactory</name>
|
||||
<message>
|
||||
<source>Outline</source>
|
||||
<translation>Obris</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::PlainTextEditorFactory</name>
|
||||
<message>
|
||||
<source>A highlight definition was not found for this file. Would you like to try to find one?</source>
|
||||
<translation>Za to datoteko ni bilo moč najti določila za poudarjanje. Ali ga želite poskusiti najti?</translation>
|
||||
@@ -27949,23 +27733,10 @@ Preverite pravice za dostop do mape.</translation>
|
||||
<source>Show highlighter options</source>
|
||||
<translation>Prikaži možnosti poudarjanja ...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::PlainTextSnippetProvider</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>Besedilo</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsCollection</name>
|
||||
<message>
|
||||
<source>Cannot create user snippet directory %1</source>
|
||||
<translation>Uporabniške mape za izrezke (%1) ni moč ustvariti.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsTableModel</name>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Napaka</translation>
|
||||
@@ -27986,9 +27757,6 @@ Preverite pravice za dostop do mape.</translation>
|
||||
<source>Error reverting snippet.</source>
|
||||
<translation>Napaka pri povrnitvi izrezka.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsSettingsPagePrivate</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation>Izrezki</translation>
|
||||
@@ -27997,10 +27765,6 @@ Preverite pravice za dostop do mape.</translation>
|
||||
<source>Error While Saving Snippet Collection</source>
|
||||
<translation>Napaka med shranjevanjem zbirke izrezkov</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>Napaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>No snippet selected.</source>
|
||||
<translation>Izbran ni noben izrezek.</translation>
|
||||
@@ -29595,31 +29359,6 @@ p, li { white-space: pre-wrap; }
|
||||
<translation type="obsolete">Vzorec</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Snippets::Internal::SnippetsPlugin</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation type="obsolete">Odseki</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Snippets::Internal::SnippetsWindow</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation type="obsolete">Odseki</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditorEditable</name>
|
||||
<message>
|
||||
<source>Line: %1, Col: %2</source>
|
||||
<translation type="obsolete">Vrstica: %1, Stolpec: %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Line: %1, Col: 999</source>
|
||||
<translation type="obsolete">Vrstica: %1, Stolpec: 999</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>VcsBase::VcsBaseEditor</name>
|
||||
<message>
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -19487,7 +19487,7 @@ will also disable the following plugins:
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>FontSettings_C_OCCURRENCES_UNUSED</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Unused variable</source>
|
||||
<translation type="unfinished">未使用的变量</translation>
|
||||
@@ -39316,7 +39316,7 @@ For more details, see /etc/sysctl.d/10-ptrace.conf
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>RefactoringFile::apply</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Refactoring cannot be applied.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -41250,7 +41250,7 @@ Row: %4, Column: %5
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Snippet</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Expected delimiter after mangler ID.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -42796,9 +42796,6 @@ Failed to open file "%1"</source>
|
||||
<source>File was modified.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseFileFind</name>
|
||||
<message>
|
||||
<source>Searching</source>
|
||||
<translation type="unfinished">搜索中</translation>
|
||||
@@ -42819,9 +42816,6 @@ Failed to open file "%1"</source>
|
||||
<source>Aborting replace.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditor</name>
|
||||
<message>
|
||||
<source>A highlight definition was not found for this file. Would you like to download additional highlight definition files?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -42838,9 +42832,6 @@ Failed to open file "%1"</source>
|
||||
<source>Remember My Choice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsPage</name>
|
||||
<message>
|
||||
<source>Global</source>
|
||||
<comment>Settings</comment>
|
||||
@@ -42850,9 +42841,6 @@ Failed to open file "%1"</source>
|
||||
<source>Behavior</source>
|
||||
<translation type="unfinished">行为</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsWidget</name>
|
||||
<message>
|
||||
<source>Typing</source>
|
||||
<translation>打字</translation>
|
||||
@@ -42895,10 +42883,6 @@ Specifies how backspace interacts with indentation.
|
||||
</ul></body></html>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>None</source>
|
||||
<translation>无</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Follows Previous Indents</source>
|
||||
<translation>跟随之前的缩进</translation>
|
||||
@@ -42915,10 +42899,6 @@ Specifies how backspace interacts with indentation.
|
||||
<source>Never</source>
|
||||
<translation>从不</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Always</source>
|
||||
<translation>总是</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>In Leading White Space</source>
|
||||
<translation>用于行首空白</translation>
|
||||
@@ -43081,24 +43061,10 @@ Specifies how backspace interacts with indentation.
|
||||
<source>Windows (CRLF)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleEditor</name>
|
||||
<message>
|
||||
<source>Edit preview contents to see how the current settings are applied to custom code snippets. Changes in the preview do not affect the current settings.</source>
|
||||
<translation>编辑预览内容来查看当前设置如何应用到自定义代码段。在预览中修改并不影响当前设置。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleSelectorWidget</name>
|
||||
<message>
|
||||
<source>Copy...</source>
|
||||
<translation type="unfinished">复制...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="unfinished">删除</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Import...</source>
|
||||
<translation type="unfinished">导入...</translation>
|
||||
@@ -43159,9 +43125,6 @@ Specifies how backspace interacts with indentation.
|
||||
<source>%1 [built-in]</source>
|
||||
<translation>%1 [内置]</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::DisplaySettingsPage</name>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation type="unfinished">显示</translation>
|
||||
@@ -43286,9 +43249,6 @@ Specifies how backspace interacts with indentation.
|
||||
<source>Wrapping</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FindInFiles</name>
|
||||
<message>
|
||||
<source>Director&y:</source>
|
||||
<translation>目录(&Y):</translation>
|
||||
@@ -43317,9 +43277,6 @@ Excluding: %3
|
||||
<source>Directory to Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPageWidget</name>
|
||||
<message>
|
||||
<source>Family:</source>
|
||||
<translation>字型:</translation>
|
||||
@@ -43328,10 +43285,6 @@ Excluding: %3
|
||||
<source>Size:</source>
|
||||
<translation>字号:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Font</source>
|
||||
<translation>字体</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Antialias</source>
|
||||
<translation>抗锯齿</translation>
|
||||
@@ -43340,10 +43293,6 @@ Excluding: %3
|
||||
<source>Copy...</source>
|
||||
<translation>复制...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>删除</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation>%</translation>
|
||||
@@ -43421,16 +43370,10 @@ A value less than 100% can result in overlapping and misaligned graphics.</sourc
|
||||
<source>Font && Colors</source>
|
||||
<translation type="unfinished">字体和颜色</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FunctionHintProposalWidget</name>
|
||||
<message>
|
||||
<source>%1 of %2</source>
|
||||
<translation>%1/%2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Highlighter</name>
|
||||
<message>
|
||||
<source>Highlighter updates: done</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -43443,16 +43386,10 @@ A value less than 100% can result in overlapping and misaligned graphics.</sourc
|
||||
<source>Highlighter updates: starting</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorScheme</name>
|
||||
<message>
|
||||
<source>Not a color scheme file.</source>
|
||||
<translation>不是一个配色方案文件.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorSchemeEdit</name>
|
||||
<message>
|
||||
<source>Bold</source>
|
||||
<translation>粗体</translation>
|
||||
@@ -43541,9 +43478,6 @@ A value less than 100% can result in overlapping and misaligned graphics.</sourc
|
||||
<source>Dash-Dot-Dot Underline</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CompletionSettingsPage</name>
|
||||
<message>
|
||||
<source>Full</source>
|
||||
<translation type="unfinished">全部</translation>
|
||||
@@ -43690,10 +43624,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Adds leading asterisks when continuing C/C++ "/*", Qt "/*!" and Java "/**" style comments on new lines.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Behavior</source>
|
||||
<translation type="unfinished">行为</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Automatically insert matching characters</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -43706,9 +43636,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Completion</source>
|
||||
<translation type="unfinished">补全</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInCurrentFile</name>
|
||||
<message>
|
||||
<source>Current File</source>
|
||||
<translation>当前文件</translation>
|
||||
@@ -43723,9 +43650,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>File "%1":</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInOpenFiles</name>
|
||||
<message>
|
||||
<source>Open Documents</source>
|
||||
<translation>打开文档</translation>
|
||||
@@ -43740,9 +43664,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<translation>打开文档
|
||||
%1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::HighlighterSettingsPage</name>
|
||||
<message>
|
||||
<source>Syntax Highlight Definition Files</source>
|
||||
<translation>语法高亮定义文件</translation>
|
||||
@@ -43755,10 +43676,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source><html><head/><body><p>Highlight definitions are provided by the <a href="https://api.kde.org/frameworks/syntax-highlighting/html/index.html">KSyntaxHighlighting</a> engine.</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Download Definitions</source>
|
||||
<translation type="unfinished">下载定义</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Download missing and update existing syntax definition files.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -43791,9 +43708,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Generic Highlighter</source>
|
||||
<translation type="unfinished">通用高亮器</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::LineNumberFilter</name>
|
||||
<message>
|
||||
<source>Line %1</source>
|
||||
<translation>行%1 </translation>
|
||||
@@ -43818,16 +43732,10 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Column %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineFactory</name>
|
||||
<message>
|
||||
<source>Outline</source>
|
||||
<translation>大纲</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineWidgetStack</name>
|
||||
<message>
|
||||
<source>No outline available</source>
|
||||
<translation>没有可用大纲</translation>
|
||||
@@ -43844,24 +43752,15 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Sort Alphabetically</source>
|
||||
<translation type="unfinished">按字母排序</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::Snippets</name>
|
||||
<message>
|
||||
<source></source>
|
||||
<comment>Snippets are text fragments that can be inserted into an editor via the usual completion mechanics using a trigger text. The translated text (trigger variant) is used to disambiguate between snippets with the same trigger.</comment>
|
||||
<translation></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsCollection</name>
|
||||
<message>
|
||||
<source>Cannot create user snippet directory %1</source>
|
||||
<translation>无法创建用户片断目录%1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsSettingsPage</name>
|
||||
<message>
|
||||
<source>Add</source>
|
||||
<translation>添加</translation>
|
||||
@@ -43890,10 +43789,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Error While Saving Snippet Collection</source>
|
||||
<translation type="unfinished">保存片断集时发生错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="unfinished">错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>No snippet selected.</source>
|
||||
<translation type="unfinished">没有选择的片段。</translation>
|
||||
@@ -43902,9 +43797,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Snippets</source>
|
||||
<translation type="unfinished">片段</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsTableModel</name>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>错误</translation>
|
||||
@@ -43925,9 +43817,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Not a valid trigger. A valid trigger can only contain letters, numbers, or underscores, where the first character is limited to letter or underscore.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorActionHandler</name>
|
||||
<message>
|
||||
<source>&Undo</source>
|
||||
<translation type="unfinished">撤销(&U)</translation>
|
||||
@@ -44460,9 +44349,6 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Go to Next Word Camel Case with Selection</source>
|
||||
<translation type="unfinished">选中到下一个使用骆驼命名法的单词</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorPlugin</name>
|
||||
<message>
|
||||
<source>Ctrl+Space</source>
|
||||
<translation>Ctrl+Space</translation>
|
||||
@@ -44532,16 +44418,10 @@ In addition, Shift+Enter inserts an escape character at the cursor position and
|
||||
<source>Word under the current document's text cursor.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::SearchEngine</name>
|
||||
<message>
|
||||
<source>Internal</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TabSettingsWidget</name>
|
||||
<message>
|
||||
<source>Tabs And Indentation</source>
|
||||
<translation type="unfinished">制表符和缩进</translation>
|
||||
@@ -44646,9 +44526,6 @@ Influences the indentation of continuation lines.
|
||||
<source>The text editor indentation setting is used for non-code files only. See the C++ and Qt Quick coding style settings to configure indentation for code files.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextDocument</name>
|
||||
<message>
|
||||
<source>Diff Against Current File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -44657,9 +44534,6 @@ Influences the indentation of continuation lines.
|
||||
<source>Opening File</source>
|
||||
<translation type="unfinished">打开文件</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorSettings</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>文本</translation>
|
||||
@@ -45228,10 +45102,6 @@ Will not be applied to whitespace in comments and strings.</source>
|
||||
<source>Applied to commit subjects in VCS log.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation type="unfinished">错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Underline color of error diagnostics.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -45348,9 +45218,6 @@ Will not be applied to whitespace in comments and strings.</source>
|
||||
<source>Implicit Manual Coverage Validation</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorWidget</name>
|
||||
<message>
|
||||
<source>Line: 9999, Col: 999</source>
|
||||
<translation type="unfinished">行号: %1, 列号: 999</translation>
|
||||
@@ -45403,9 +45270,6 @@ Will not be applied to whitespace in comments and strings.</source>
|
||||
<source>Add UTF-8 BOM on Save</source>
|
||||
<translation type="unfinished">保存时添加UTF-8 BOM</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextMark</name>
|
||||
<message>
|
||||
<source>Show Diagnostic Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
|
@@ -8570,7 +8570,7 @@ To do this, you type this shortcut and a space in the Locator entry field, and t
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseFileFind</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Search</source>
|
||||
<translation>搜尋</translation>
|
||||
@@ -8579,9 +8579,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t
|
||||
<source>List of comma separated wildcard filters</source>
|
||||
<translation>以逗號分隔的萬用字元符過濾器列表</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextDocument</name>
|
||||
<message>
|
||||
<source>untitled</source>
|
||||
<translation>未命名</translation>
|
||||
@@ -8590,9 +8587,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t
|
||||
<source>Opening file</source>
|
||||
<translation>開啟檔案中</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditor</name>
|
||||
<message>
|
||||
<source>Line: %1, Col: %2</source>
|
||||
<translation>行:%1,欄:%2</translation>
|
||||
@@ -8601,17 +8595,11 @@ To do this, you type this shortcut and a space in the Locator entry field, and t
|
||||
<source>Line: 9999, Col: 999</source>
|
||||
<translation>行:9999,欄:9999</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsPage</name>
|
||||
<message>
|
||||
<source>Global</source>
|
||||
<comment>Settings</comment>
|
||||
<translation>全域</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPage</name>
|
||||
<message>
|
||||
<source>Font && Colors</source>
|
||||
<translation>字型與顏色</translation>
|
||||
@@ -8652,9 +8640,6 @@ To do this, you type this shortcut and a space in the Locator entry field, and t
|
||||
<source>Discard</source>
|
||||
<translation>丟棄</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodecSelector</name>
|
||||
<message>
|
||||
<source>Text Encoding</source>
|
||||
<translation>文字編碼</translation>
|
||||
@@ -8677,9 +8662,6 @@ The following encodings are likely to fit:</source>
|
||||
<source>Save with Encoding</source>
|
||||
<translation>根據編碼儲存</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInCurrentFile</name>
|
||||
<message>
|
||||
<source>Current File</source>
|
||||
<translation>目前檔案</translation>
|
||||
@@ -8694,9 +8676,6 @@ The following encodings are likely to fit:</source>
|
||||
<translation>檔案路徑:'%1'
|
||||
%2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FontSettingsPageWidget</name>
|
||||
<message>
|
||||
<source>Family:</source>
|
||||
<translation>家族:</translation>
|
||||
@@ -8721,10 +8700,6 @@ The following encodings are likely to fit:</source>
|
||||
<source>Copy...</source>
|
||||
<translation>複製...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>刪除</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation>%</translation>
|
||||
@@ -8733,9 +8708,6 @@ The following encodings are likely to fit:</source>
|
||||
<source>Zoom:</source>
|
||||
<translation>縮放:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::LineNumberFilter</name>
|
||||
<message>
|
||||
<source>Line %1</source>
|
||||
<translation>行 %1</translation>
|
||||
@@ -8744,9 +8716,6 @@ The following encodings are likely to fit:</source>
|
||||
<source>Line in Current Document</source>
|
||||
<translation>目前文件裡的行</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::TextEditorPlugin</name>
|
||||
<message>
|
||||
<source>Creates a text file. The default file extension is <tt>.txt</tt>. You can specify a different extension as part of the filename.</source>
|
||||
<translation>建立文字檔案。預設的副檔名是 <tt>.txt</tt>。您可以在指定檔名時直接加副檔名。</translation>
|
||||
@@ -8811,9 +8780,6 @@ The following encodings are likely to fit:</source>
|
||||
<source>Current document's font size in points.</source>
|
||||
<translation>目前文件的字型大小,以點為單位。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorActionHandler</name>
|
||||
<message>
|
||||
<source>&Undo</source>
|
||||
<translation>復原(&U)</translation>
|
||||
@@ -9218,9 +9184,6 @@ The following encodings are likely to fit:</source>
|
||||
<source><line number></source>
|
||||
<translation><行號></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TextEditorSettings</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>文字</translation>
|
||||
@@ -10153,7 +10116,7 @@ Will not be applied to whitespace in comments and strings.</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorSchemeEdit</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Bold</source>
|
||||
<translation>粗體</translation>
|
||||
@@ -11034,14 +10997,11 @@ Reason: %2</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ColorScheme</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Not a color scheme file.</source>
|
||||
<translation>不是一個色彩機制檔。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FontSettings</name>
|
||||
<message>
|
||||
<source>Customized</source>
|
||||
<translation>自訂</translation>
|
||||
@@ -17197,7 +17157,7 @@ Requires <b>Qt 4.7.0</b> or newer.</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::HighlighterSettingsPage</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Generic Highlighter</source>
|
||||
<translation>一般突顯器</translation>
|
||||
@@ -17226,9 +17186,6 @@ Requires <b>Qt 4.7.0</b> or newer.</source>
|
||||
<source>Not possible to retrieve data.</source>
|
||||
<translation>無法取得資料。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::ManageDefinitionsDialog</name>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation>名稱</translation>
|
||||
@@ -17277,9 +17234,6 @@ Requires <b>Qt 4.7.0</b> or newer.</source>
|
||||
<source>Download Selected Definitions</source>
|
||||
<translation>下載已選取的定義</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::Manager</name>
|
||||
<message>
|
||||
<source>Registering definitions</source>
|
||||
<translation>正在註冊定義</translation>
|
||||
@@ -17306,9 +17260,6 @@ Please check the directory's access rights.</source>
|
||||
<source>Download Error</source>
|
||||
<translation>下載錯誤</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineWidgetStack</name>
|
||||
<message>
|
||||
<source>No outline available</source>
|
||||
<translation>沒有可用大綱</translation>
|
||||
@@ -17321,16 +17272,10 @@ Please check the directory's access rights.</source>
|
||||
<source>Filter tree</source>
|
||||
<translation>過濾樹狀圖</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::OutlineFactory</name>
|
||||
<message>
|
||||
<source>Outline</source>
|
||||
<translation>大綱</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::PlainTextEditorFactory</name>
|
||||
<message>
|
||||
<source>A highlight definition was not found for this file. Would you like to try to find one?</source>
|
||||
<translation>找不到此檔案的突顯定義。您要試著找找看嗎?</translation>
|
||||
@@ -20453,7 +20398,7 @@ You can build the application and deploy it on desktop and mobile target platfor
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BaseTextEditorWidget</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>CTRL+D</source>
|
||||
<translation>CTRL+D</translation>
|
||||
@@ -20486,16 +20431,6 @@ You can build the application and deploy it on desktop and mobile target platfor
|
||||
<source>The text is too large to be displayed (%1 MB).</source>
|
||||
<translation>文字過大,無法顯示(%1 MB)。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::PlainTextSnippetProvider</name>
|
||||
<message>
|
||||
<source>Text</source>
|
||||
<translation>文字</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsTableModel</name>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>錯誤</translation>
|
||||
@@ -20516,9 +20451,6 @@ You can build the application and deploy it on desktop and mobile target platfor
|
||||
<source>Error reverting snippet.</source>
|
||||
<translation>回復片段時發生錯誤。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsSettingsPagePrivate</name>
|
||||
<message>
|
||||
<source>Snippets</source>
|
||||
<translation>片段</translation>
|
||||
@@ -20527,10 +20459,6 @@ You can build the application and deploy it on desktop and mobile target platfor
|
||||
<source>Error While Saving Snippet Collection</source>
|
||||
<translation>儲存片段收藏時發生錯誤</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error</source>
|
||||
<translation>錯誤</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>No snippet selected.</source>
|
||||
<translation>沒有選取片段。</translation>
|
||||
@@ -22703,14 +22631,11 @@ In addition, device connectivity will be tested.</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FunctionHintProposalWidget</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>%1 of %2</source>
|
||||
<translation>%1/%2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsCollection</name>
|
||||
<message>
|
||||
<source>Cannot create user snippet directory %1</source>
|
||||
<translation>無法建立使用者片段目錄 %1</translation>
|
||||
@@ -25055,7 +24980,7 @@ Remote error output was: %1</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodeStyleDialog</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Edit Code Style</source>
|
||||
<translation>編輯代碼風格</translation>
|
||||
@@ -25076,21 +25001,10 @@ Remote error output was: %1</source>
|
||||
<source>%1 (Copy)</source>
|
||||
<translation>%1 (複製)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleSelectorWidget</name>
|
||||
<message>
|
||||
<source>Copy Code Style</source>
|
||||
<translation>複製代碼風格</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Code style name:</source>
|
||||
<translation>代碼風格名稱:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1 (Copy)</source>
|
||||
<translation>%1 (複製)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete Code Style</source>
|
||||
<translation>刪除代碼風格</translation>
|
||||
@@ -25099,10 +25013,6 @@ Remote error output was: %1</source>
|
||||
<source>Are you sure you want to delete this code style permanently?</source>
|
||||
<translation>您確定要永久刪除這個代碼風格嗎?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete</source>
|
||||
<translation>刪除</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Import Code Style</source>
|
||||
<translation>匯入代碼風格</translation>
|
||||
@@ -25131,9 +25041,6 @@ Remote error output was: %1</source>
|
||||
<source>%1 [built-in]</source>
|
||||
<translation>%1 [內建]</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::FindInFiles</name>
|
||||
<message>
|
||||
<source>Files on File System</source>
|
||||
<translation>在檔案系統中的檔案</translation>
|
||||
@@ -25188,7 +25095,7 @@ Filter: %2
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::CodeStyleEditor</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Edit preview contents to see how the current settings are applied to custom code snippets. Changes in the preview do not affect the current settings.</source>
|
||||
<translation>編輯預覽內容來查看目前的設定如何套用到自訂代碼片段。在預覽中的變更並不會影響目前的設定。</translation>
|
||||
@@ -25978,14 +25885,11 @@ p, li { white-space: pre-wrap; }
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::BehaviorSettingsPage</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>表單</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::BehaviorSettingsWidget</name>
|
||||
<message>
|
||||
<source>Typing</source>
|
||||
<translation>打字</translation>
|
||||
@@ -26172,21 +26076,10 @@ Specifies how backspace interacts with indentation.
|
||||
<source>Using keyboard shortcut (Alt)</source>
|
||||
<translation>使用鍵盤捷徑 (Alt)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CodeStyleSelectorWidget</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>表單</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Current settings:</source>
|
||||
<translation>目前設定:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy...</source>
|
||||
<translation>複製...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Edit...</source>
|
||||
<translation>編輯...</translation>
|
||||
@@ -26203,13 +26096,6 @@ Specifies how backspace interacts with indentation.
|
||||
<source>Import...</source>
|
||||
<translation>匯入...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::DisplaySettingsPage</name>
|
||||
<message>
|
||||
<source>Display</source>
|
||||
<translation>顯示</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Display line &numbers</source>
|
||||
<translation>顯示行號(&N)</translation>
|
||||
@@ -26262,13 +26148,6 @@ Specifies how backspace interacts with indentation.
|
||||
<source>Display right &margin at column:</source>
|
||||
<translation>顯示在欄右邊的邊界(&M):</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::HighlighterSettingsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>表單</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><html><head/><body>
|
||||
<p>Highlight definitions are provided by the <a href="http://kate-editor.org/">Kate Text Editor</a>.</p></body></html></source>
|
||||
@@ -26287,10 +26166,6 @@ Specifies how backspace interacts with indentation.
|
||||
<source>Use fallback location</source>
|
||||
<translation>使用預設位置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Behavior</source>
|
||||
<translation>行為</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alert when a highlight definition is not found</source>
|
||||
<translation>當找不到突顯的定義時警示</translation>
|
||||
@@ -26299,13 +26174,6 @@ Specifies how backspace interacts with indentation.
|
||||
<source>Ignored file patterns:</source>
|
||||
<translation>被忽略的檔案樣式:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::SnippetsSettingsPage</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>表單</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Group: </source>
|
||||
<translation>群組:</translation>
|
||||
@@ -26314,10 +26182,6 @@ Specifies how backspace interacts with indentation.
|
||||
<source>Add</source>
|
||||
<translation>新增</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation>移除</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Revert Built-in</source>
|
||||
<translation>回復到內建</translation>
|
||||
@@ -26330,13 +26194,6 @@ Specifies how backspace interacts with indentation.
|
||||
<source>Reset All</source>
|
||||
<translation>全部重置</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::TabSettingsWidget</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>表單</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tabs And Indentation</source>
|
||||
<translation>定位點與縮排</translation>
|
||||
@@ -27867,14 +27724,11 @@ references to elements in other files, loops, etc.)</source>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::CountingLabel</name>
|
||||
<name>::TextEditor</name>
|
||||
<message>
|
||||
<source>%1 found</source>
|
||||
<translation>找到 %1 </translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TextEditor::Internal::FindInOpenFiles</name>
|
||||
<message>
|
||||
<source>Open Documents</source>
|
||||
<translation>開啟文件</translation>
|
||||
|
@@ -6,6 +6,8 @@
|
||||
#include "cppchecktextmark.h"
|
||||
#include "cppchecktr.h"
|
||||
|
||||
#include <texteditor/texteditortr.h>
|
||||
|
||||
#include <utils/stringutils.h>
|
||||
#include <utils/utilsicons.h>
|
||||
|
||||
@@ -64,7 +66,7 @@ CppcheckTextMark::CppcheckTextMark(const Diagnostic &diagnostic)
|
||||
// Copy to clipboard action
|
||||
QAction *action = new QAction;
|
||||
action->setIcon(QIcon::fromTheme("edit-copy", Icons::COPY.icon()));
|
||||
action->setToolTip(TextMark::tr("Copy to Clipboard"));
|
||||
action->setToolTip(TextEditor::Tr::tr("Copy to Clipboard"));
|
||||
QObject::connect(action, &QAction::triggered, [diagnostic]() {
|
||||
const QString text = QString("%1:%2: %3")
|
||||
.arg(diagnostic.fileName.toUserOutput())
|
||||
|
@@ -38,6 +38,7 @@
|
||||
|
||||
#include <texteditor/textdocument.h>
|
||||
#include <texteditor/texteditor.h>
|
||||
#include <texteditor/texteditortr.h>
|
||||
#include <texteditor/textmark.h>
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
@@ -60,13 +61,12 @@
|
||||
#include <vcsbase/vcscommand.h>
|
||||
#include <vcsbase/vcsoutputwindow.h>
|
||||
|
||||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
|
||||
#include <QAction>
|
||||
#include <QApplication>
|
||||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QFileDialog>
|
||||
#include <QFileInfo>
|
||||
#include <QMenu>
|
||||
#include <QTimer>
|
||||
#include <QVBoxLayout>
|
||||
@@ -208,13 +208,13 @@ public:
|
||||
setActionsProvider([info] {
|
||||
QAction *copyToClipboardAction = new QAction;
|
||||
copyToClipboardAction->setIcon(QIcon::fromTheme("edit-copy", Utils::Icons::COPY.icon()));
|
||||
copyToClipboardAction->setToolTip(TextMark::tr("Copy SHA1 to Clipboard"));
|
||||
copyToClipboardAction->setToolTip(TextEditor::Tr::tr("Copy SHA1 to Clipboard"));
|
||||
QObject::connect(copyToClipboardAction, &QAction::triggered, [info] {
|
||||
Utils::setClipboardAndSelection(info.sha1);
|
||||
});
|
||||
QAction *showAction = new QAction;
|
||||
showAction->setIcon(Utils::Icons::ZOOM.icon());
|
||||
showAction->setToolTip(TextMark::tr("Show Commit %1").arg(info.sha1.left(8)));
|
||||
showAction->setToolTip(TextEditor::Tr::tr("Show Commit %1").arg(info.sha1.left(8)));
|
||||
QObject::connect(showAction, &QAction::triggered, [info] {
|
||||
GitClient::instance()->show(info.fileName, info.sha1);
|
||||
});
|
||||
|
@@ -2,9 +2,13 @@
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "basefilefind.h"
|
||||
|
||||
#include "refactoringchanges.h"
|
||||
#include "textdocument.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <aggregation/aggregate.h>
|
||||
|
||||
#include <coreplugin/dialogs/readonlyfilesdialog.h>
|
||||
#include <coreplugin/documentmanager.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
@@ -12,8 +16,7 @@
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/progressmanager/futureprogress.h>
|
||||
#include <coreplugin/progressmanager/progressmanager.h>
|
||||
#include <texteditor/refactoringchanges.h>
|
||||
#include <texteditor/texteditor.h>
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/fadingindicator.h>
|
||||
#include <utils/filesearch.h>
|
||||
@@ -37,13 +40,12 @@ using namespace Core;
|
||||
namespace TextEditor {
|
||||
namespace Internal {
|
||||
|
||||
namespace {
|
||||
class InternalEngine : public TextEditor::SearchEngine
|
||||
{
|
||||
public:
|
||||
InternalEngine() : m_widget(new QWidget) {}
|
||||
~InternalEngine() override { delete m_widget;}
|
||||
QString title() const override { return TextEditor::SearchEngine::tr("Internal"); }
|
||||
QString title() const override { return Tr::tr("Internal"); }
|
||||
QString toolTip() const override { return {}; }
|
||||
QWidget *widget() const override { return m_widget; }
|
||||
QVariant parameters() const override { return {}; }
|
||||
@@ -72,7 +74,6 @@ public:
|
||||
private:
|
||||
QWidget *m_widget;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
class SearchEnginePrivate
|
||||
{
|
||||
@@ -305,10 +306,10 @@ void BaseFileFind::runSearch(SearchResult *search)
|
||||
watcher->setFuture(future);
|
||||
d->m_futureSynchronizer.addFuture(future);
|
||||
FutureProgress *progress = ProgressManager::addTask(future,
|
||||
tr("Searching"),
|
||||
Tr::tr("Searching"),
|
||||
Constants::TASK_SEARCH);
|
||||
connect(search, &SearchResult::countChanged, progress, [progress](int c) {
|
||||
progress->setSubtitle(BaseFileFind::tr("%n found.", nullptr, c));
|
||||
progress->setSubtitle(Tr::tr("%n found.", nullptr, c));
|
||||
});
|
||||
progress->setSubtitleVisibleInStatusBar(true);
|
||||
connect(progress, &FutureProgress::clicked, search, &SearchResult::popup);
|
||||
@@ -338,7 +339,7 @@ void BaseFileFind::doReplace(const QString &text,
|
||||
const FilePaths files = replaceAll(text, items, preserveCase);
|
||||
if (!files.isEmpty()) {
|
||||
Utils::FadingIndicator::showText(ICore::dialogParent(),
|
||||
tr("%n occurrences replaced.", nullptr, items.size()),
|
||||
Tr::tr("%n occurrences replaced.", nullptr, items.size()),
|
||||
Utils::FadingIndicator::SmallText);
|
||||
DocumentManager::notifyFilesChangedInternally(files);
|
||||
SearchResultWindow::instance()->hide();
|
||||
@@ -496,7 +497,7 @@ FilePaths BaseFileFind::replaceAll(const QString &text,
|
||||
// Query the user for permissions
|
||||
if (!roFiles.isEmpty()) {
|
||||
ReadOnlyFilesDialog roDialog(Utils::toList(roFiles), ICore::dialogParent());
|
||||
roDialog.setShowFailWarning(true, tr("Aborting replace."));
|
||||
roDialog.setShowFailWarning(true, Tr::tr("Aborting replace."));
|
||||
if (roDialog.exec() == ReadOnlyFilesDialog::RO_Cancel)
|
||||
return {};
|
||||
}
|
||||
|
@@ -12,6 +12,7 @@
|
||||
#include "tabsettings.h"
|
||||
#include "texteditorconstants.h"
|
||||
#include "texteditorsettings.h"
|
||||
#include "texteditortr.h"
|
||||
#include "typingsettings.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
@@ -55,7 +56,7 @@ BehaviorSettingsPage::BehaviorSettingsPagePrivate::BehaviorSettingsPagePrivate()
|
||||
{
|
||||
// global tab preferences for all other languages
|
||||
m_codeStyle = new SimpleCodeStylePreferences(this);
|
||||
m_codeStyle->setDisplayName(tr("Global", "Settings"));
|
||||
m_codeStyle->setDisplayName(Tr::tr("Global", "Settings"));
|
||||
m_codeStyle->setId(Constants::GLOBAL_SETTINGS_ID);
|
||||
|
||||
// default pool for all other languages
|
||||
@@ -75,10 +76,10 @@ BehaviorSettingsPage::BehaviorSettingsPage()
|
||||
{
|
||||
// Add the GUI used to configure the tab, storage and interaction settings
|
||||
setId(Constants::TEXT_EDITOR_BEHAVIOR_SETTINGS);
|
||||
setDisplayName(tr("Behavior"));
|
||||
setDisplayName(Tr::tr("Behavior"));
|
||||
|
||||
setCategory(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY);
|
||||
setDisplayCategory(QCoreApplication::translate("::TextEditor", "Text Editor"));
|
||||
setDisplayCategory(Tr::tr("Text Editor"));
|
||||
setCategoryIconPath(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY_ICON_PATH);
|
||||
}
|
||||
|
||||
|
@@ -9,6 +9,7 @@
|
||||
#include "simplecodestylepreferenceswidget.h"
|
||||
#include "storagesettings.h"
|
||||
#include "tabsettingswidget.h"
|
||||
#include "texteditortr.h"
|
||||
#include "typingsettings.h"
|
||||
|
||||
#include <coreplugin/coreconstants.h>
|
||||
@@ -32,7 +33,6 @@ namespace TextEditor {
|
||||
|
||||
struct BehaviorSettingsWidgetPrivate
|
||||
{
|
||||
|
||||
SimpleCodeStylePreferencesWidget *tabPreferencesWidget;
|
||||
QComboBox *tabKeyBehavior;
|
||||
QComboBox *smartBackspaceBehavior;
|
||||
@@ -71,15 +71,15 @@ BehaviorSettingsWidget::BehaviorSettingsWidget(QWidget *parent)
|
||||
d->tabPreferencesWidget->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); // FIXME: Desirable?
|
||||
|
||||
d->tabKeyBehavior = new QComboBox;
|
||||
d->tabKeyBehavior->addItem(tr("Never"));
|
||||
d->tabKeyBehavior->addItem(tr("Always"));
|
||||
d->tabKeyBehavior->addItem(tr("In Leading White Space"));
|
||||
d->tabKeyBehavior->addItem(Tr::tr("Never"));
|
||||
d->tabKeyBehavior->addItem(Tr::tr("Always"));
|
||||
d->tabKeyBehavior->addItem(Tr::tr("In Leading White Space"));
|
||||
|
||||
d->smartBackspaceBehavior = new QComboBox;
|
||||
d->smartBackspaceBehavior->addItem(tr("None"));
|
||||
d->smartBackspaceBehavior->addItem(tr("Follows Previous Indents"));
|
||||
d->smartBackspaceBehavior->addItem(tr("Unindents"));
|
||||
d->smartBackspaceBehavior->setToolTip(tr("<html><head/><body>\n"
|
||||
d->smartBackspaceBehavior->addItem(Tr::tr("None"));
|
||||
d->smartBackspaceBehavior->addItem(Tr::tr("Follows Previous Indents"));
|
||||
d->smartBackspaceBehavior->addItem(Tr::tr("Unindents"));
|
||||
d->smartBackspaceBehavior->setToolTip(Tr::tr("<html><head/><body>\n"
|
||||
"Specifies how backspace interacts with indentation.\n"
|
||||
"\n"
|
||||
"<ul>\n"
|
||||
@@ -94,43 +94,43 @@ BehaviorSettingsWidget::BehaviorSettingsWidget(QWidget *parent)
|
||||
"</ul></body></html>\n"
|
||||
""));
|
||||
|
||||
d->autoIndent = new QCheckBox(tr("Enable automatic &indentation"));
|
||||
d->autoIndent = new QCheckBox(Tr::tr("Enable automatic &indentation"));
|
||||
|
||||
d->preferSingleLineComments = new QCheckBox(tr("Prefer single line comments"));
|
||||
d->preferSingleLineComments = new QCheckBox(Tr::tr("Prefer single line comments"));
|
||||
|
||||
d->skipTrailingWhitespace = new QCheckBox(tr("Skip clean whitespace for file types:"));
|
||||
d->skipTrailingWhitespace->setToolTip(tr("For the file patterns listed, do not trim trailing whitespace."));
|
||||
d->skipTrailingWhitespace = new QCheckBox(Tr::tr("Skip clean whitespace for file types:"));
|
||||
d->skipTrailingWhitespace->setToolTip(Tr::tr("For the file patterns listed, do not trim trailing whitespace."));
|
||||
d->skipTrailingWhitespace->setEnabled(false);
|
||||
d->skipTrailingWhitespace->setChecked(false);
|
||||
|
||||
d->ignoreFileTypes = new QLineEdit;
|
||||
d->ignoreFileTypes->setEnabled(false);
|
||||
d->ignoreFileTypes->setAcceptDrops(false);
|
||||
d->ignoreFileTypes->setToolTip(tr("List of wildcard-aware file patterns, separated by commas or semicolons."));
|
||||
d->ignoreFileTypes->setToolTip(Tr::tr("List of wildcard-aware file patterns, separated by commas or semicolons."));
|
||||
|
||||
d->addFinalNewLine = new QCheckBox(tr("&Ensure newline at end of file"));
|
||||
d->addFinalNewLine->setToolTip(tr("Always writes a newline character at the end of the file."));
|
||||
d->addFinalNewLine = new QCheckBox(Tr::tr("&Ensure newline at end of file"));
|
||||
d->addFinalNewLine->setToolTip(Tr::tr("Always writes a newline character at the end of the file."));
|
||||
|
||||
d->cleanWhitespace = new QCheckBox(tr("&Clean whitespace"));
|
||||
d->cleanWhitespace->setToolTip(tr("Removes trailing whitespace upon saving."));
|
||||
d->cleanWhitespace = new QCheckBox(Tr::tr("&Clean whitespace"));
|
||||
d->cleanWhitespace->setToolTip(Tr::tr("Removes trailing whitespace upon saving."));
|
||||
|
||||
d->cleanIndentation = new QCheckBox(tr("Clean indentation"));
|
||||
d->cleanIndentation = new QCheckBox(Tr::tr("Clean indentation"));
|
||||
d->cleanIndentation->setEnabled(false);
|
||||
d->cleanIndentation->setToolTip(tr("Corrects leading whitespace according to tab settings."));
|
||||
d->cleanIndentation->setToolTip(Tr::tr("Corrects leading whitespace according to tab settings."));
|
||||
|
||||
d->inEntireDocument = new QCheckBox(tr("In entire &document"));
|
||||
d->inEntireDocument = new QCheckBox(Tr::tr("In entire &document"));
|
||||
d->inEntireDocument->setEnabled(false);
|
||||
d->inEntireDocument->setToolTip(tr("Cleans whitespace in entire document instead of only for changed parts."));
|
||||
d->inEntireDocument->setToolTip(Tr::tr("Cleans whitespace in entire document instead of only for changed parts."));
|
||||
|
||||
d->encodingBox = new CodecChooser;
|
||||
d->encodingBox->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLengthWithIcon);
|
||||
d->encodingBox->setMinimumContentsLength(20);
|
||||
|
||||
d->utf8BomBox = new QComboBox;
|
||||
d->utf8BomBox->addItem(tr("Add If Encoding Is UTF-8"));
|
||||
d->utf8BomBox->addItem(tr("Keep If Already Present"));
|
||||
d->utf8BomBox->addItem(tr("Always Delete"));
|
||||
d->utf8BomBox->setToolTip(tr("<html><head/><body>\n"
|
||||
d->utf8BomBox->addItem(Tr::tr("Add If Encoding Is UTF-8"));
|
||||
d->utf8BomBox->addItem(Tr::tr("Keep If Already Present"));
|
||||
d->utf8BomBox->addItem(Tr::tr("Always Delete"));
|
||||
d->utf8BomBox->setToolTip(Tr::tr("<html><head/><body>\n"
|
||||
"<p>How text editors should deal with UTF-8 Byte Order Marks. The options are:</p>\n"
|
||||
"<ul ><li><i>Add If Encoding Is UTF-8:</i> always add a BOM when saving a file in UTF-8 encoding. Note that this will not work if the encoding is <i>System</i>, as the text editor does not know what it actually is.</li>\n"
|
||||
"<li><i>Keep If Already Present: </i>save the file with a BOM if it already had one when it was loaded.</li>\n"
|
||||
@@ -141,29 +141,29 @@ BehaviorSettingsWidget::BehaviorSettingsWidget(QWidget *parent)
|
||||
d->defaultLineEndings = new QComboBox;
|
||||
d->defaultLineEndings->addItems(ExtraEncodingSettings::lineTerminationModeNames());
|
||||
|
||||
d->mouseHiding = new QCheckBox(tr("Hide mouse cursor while typing"));
|
||||
d->mouseNavigation = new QCheckBox(tr("Enable &mouse navigation"));
|
||||
d->scrollWheelZooming = new QCheckBox(tr("Enable scroll &wheel zooming"));
|
||||
d->camelCaseNavigation = new QCheckBox(tr("Enable built-in camel case &navigation"));
|
||||
d->mouseHiding = new QCheckBox(Tr::tr("Hide mouse cursor while typing"));
|
||||
d->mouseNavigation = new QCheckBox(Tr::tr("Enable &mouse navigation"));
|
||||
d->scrollWheelZooming = new QCheckBox(Tr::tr("Enable scroll &wheel zooming"));
|
||||
d->camelCaseNavigation = new QCheckBox(Tr::tr("Enable built-in camel case &navigation"));
|
||||
|
||||
d->smartSelectionChanging = new QCheckBox(tr("Enable smart selection changing"));
|
||||
d->smartSelectionChanging->setToolTip(tr("Using Select Block Up / Down actions will now provide smarter selections."));
|
||||
d->smartSelectionChanging = new QCheckBox(Tr::tr("Enable smart selection changing"));
|
||||
d->smartSelectionChanging->setToolTip(Tr::tr("Using Select Block Up / Down actions will now provide smarter selections."));
|
||||
|
||||
d->keyboardTooltips = new QCheckBox(tr("Show help tooltips using keyboard shortcut (Alt)"));
|
||||
d->keyboardTooltips->setToolTip(tr("Pressing Alt displays context-sensitive help or type information as tooltips."));
|
||||
d->keyboardTooltips = new QCheckBox(Tr::tr("Show help tooltips using keyboard shortcut (Alt)"));
|
||||
d->keyboardTooltips->setToolTip(Tr::tr("Pressing Alt displays context-sensitive help or type information as tooltips."));
|
||||
|
||||
d->constrainTooltipsBox = new QComboBox;
|
||||
d->constrainTooltipsBox->addItem(tr("On Mouseover"));
|
||||
d->constrainTooltipsBox->addItem(tr("On Shift+Mouseover"));
|
||||
d->constrainTooltipsBox->addItem(Tr::tr("On Mouseover"));
|
||||
d->constrainTooltipsBox->addItem(Tr::tr("On Shift+Mouseover"));
|
||||
|
||||
d->groupBoxTyping = new QGroupBox(tr("Typing"));
|
||||
d->groupBoxTyping = new QGroupBox(Tr::tr("Typing"));
|
||||
|
||||
d->groupBoxStorageSettings = new QGroupBox(tr("Cleanups Upon Saving"));
|
||||
d->groupBoxStorageSettings->setToolTip(tr("Cleanup actions which are automatically performed "
|
||||
d->groupBoxStorageSettings = new QGroupBox(Tr::tr("Cleanups Upon Saving"));
|
||||
d->groupBoxStorageSettings->setToolTip(Tr::tr("Cleanup actions which are automatically performed "
|
||||
"right before the file is saved to disk."));
|
||||
d->groupBoxEncodings = new QGroupBox(tr("File Encodings"));
|
||||
d->groupBoxEncodings = new QGroupBox(Tr::tr("File Encodings"));
|
||||
|
||||
d->groupBoxMouse = new QGroupBox(tr("Mouse and Keyboard"));
|
||||
d->groupBoxMouse = new QGroupBox(Tr::tr("Mouse and Keyboard"));
|
||||
|
||||
using namespace Utils::Layouting;
|
||||
|
||||
@@ -171,9 +171,9 @@ BehaviorSettingsWidget::BehaviorSettingsWidget(QWidget *parent)
|
||||
|
||||
Column {
|
||||
d->autoIndent,
|
||||
tr("Backspace indentation:"),
|
||||
Tr::tr("Backspace indentation:"),
|
||||
indent(d->smartBackspaceBehavior),
|
||||
tr("Tab key performs auto-indent:"),
|
||||
Tr::tr("Tab key performs auto-indent:"),
|
||||
indent(d->tabKeyBehavior),
|
||||
d->preferSingleLineComments
|
||||
}.attachTo(d->groupBoxTyping);
|
||||
@@ -188,9 +188,9 @@ BehaviorSettingsWidget::BehaviorSettingsWidget(QWidget *parent)
|
||||
|
||||
Row {
|
||||
Form {
|
||||
tr("Default encoding:"), d->encodingBox, br,
|
||||
tr("UTF-8 BOM:"), d->utf8BomBox, br,
|
||||
tr("Default line endings:"), d->defaultLineEndings, br,
|
||||
Tr::tr("Default encoding:"), d->encodingBox, br,
|
||||
Tr::tr("UTF-8 BOM:"), d->utf8BomBox, br,
|
||||
Tr::tr("Default line endings:"), d->defaultLineEndings, br,
|
||||
}, st
|
||||
}.attachTo(d->groupBoxEncodings);
|
||||
|
||||
@@ -201,7 +201,7 @@ BehaviorSettingsWidget::BehaviorSettingsWidget(QWidget *parent)
|
||||
d->camelCaseNavigation,
|
||||
d->smartSelectionChanging,
|
||||
d->keyboardTooltips,
|
||||
tr("Show help tooltips using the mouse:"),
|
||||
Tr::tr("Show help tooltips using the mouse:"),
|
||||
Row { Space(30), d->constrainTooltipsBox, st }
|
||||
}.attachTo(d->groupBoxMouse);
|
||||
|
||||
@@ -332,10 +332,10 @@ void BehaviorSettingsWidget::updateConstrainTooltipsBoxTooltip() const
|
||||
{
|
||||
if (d->constrainTooltipsBox->currentIndex() == 0) {
|
||||
d->constrainTooltipsBox->setToolTip(
|
||||
tr("Displays context-sensitive help or type information on mouseover."));
|
||||
Tr::tr("Displays context-sensitive help or type information on mouseover."));
|
||||
} else {
|
||||
d->constrainTooltipsBox->setToolTip(
|
||||
tr("Displays context-sensitive help or type information on Shift+Mouseover."));
|
||||
Tr::tr("Displays context-sensitive help or type information on Shift+Mouseover."));
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -2,8 +2,10 @@
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "functionhintproposalwidget.h"
|
||||
|
||||
#include "ifunctionhintproposalmodel.h"
|
||||
#include "codeassistant.h"
|
||||
#include "../texteditortr.h"
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/faketooltip.h>
|
||||
@@ -341,7 +343,7 @@ bool FunctionHintProposalWidget::updateAndCheck(const QString &prefix)
|
||||
void FunctionHintProposalWidget::updateContent()
|
||||
{
|
||||
d->m_hintLabel->setText(d->m_model->text(d->m_currentHint));
|
||||
d->m_numberLabel->setText(tr("%1 of %2").arg(d->m_currentHint + 1).arg(d->m_totalHints));
|
||||
d->m_numberLabel->setText(Tr::tr("%1 of %2").arg(d->m_currentHint + 1).arg(d->m_totalHints));
|
||||
updatePosition();
|
||||
}
|
||||
|
||||
|
@@ -7,17 +7,18 @@
|
||||
#include "icodestylepreferencesfactory.h"
|
||||
#include "icodestylepreferences.h"
|
||||
#include "codestyleselectorwidget.h"
|
||||
#include "texteditorsettings.h"
|
||||
#include "texteditortr.h"
|
||||
#include "displaysettings.h"
|
||||
#include "tabsettings.h"
|
||||
#include "indenter.h"
|
||||
#include "snippets/snippeteditor.h"
|
||||
#include "snippets/snippetprovider.h"
|
||||
|
||||
#include <QVBoxLayout>
|
||||
#include <QTextBlock>
|
||||
#include <QLabel>
|
||||
|
||||
using namespace TextEditor;
|
||||
namespace TextEditor {
|
||||
|
||||
CodeStyleEditor::CodeStyleEditor(ICodeStylePreferencesFactory *factory,
|
||||
ICodeStylePreferences *codeStyle,
|
||||
@@ -45,7 +46,7 @@ CodeStyleEditor::CodeStyleEditor(ICodeStylePreferencesFactory *factory,
|
||||
}
|
||||
|
||||
QLabel *label = new QLabel(
|
||||
tr("Edit preview contents to see how the current settings "
|
||||
Tr::tr("Edit preview contents to see how the current settings "
|
||||
"are applied to custom code snippets. Changes in the preview "
|
||||
"do not affect the current settings."), this);
|
||||
QFont font = label->font();
|
||||
@@ -106,3 +107,5 @@ void CodeStyleEditor::finish()
|
||||
if (m_widget)
|
||||
m_widget->finish();
|
||||
}
|
||||
|
||||
} // TextEditor
|
||||
|
@@ -6,6 +6,7 @@
|
||||
#include "icodestylepreferences.h"
|
||||
#include "icodestylepreferencesfactory.h"
|
||||
#include "codestylepool.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/layoutbuilder.h>
|
||||
@@ -21,7 +22,6 @@
|
||||
#include <QMessageBox>
|
||||
#include <QPushButton>
|
||||
|
||||
using namespace TextEditor;
|
||||
using namespace Utils;
|
||||
|
||||
namespace TextEditor {
|
||||
@@ -38,21 +38,21 @@ CodeStyleSelectorWidget::CodeStyleSelectorWidget(ICodeStylePreferencesFactory *f
|
||||
m_delegateComboBox = new QComboBox(this);
|
||||
m_delegateComboBox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||
|
||||
auto copyButton = new QPushButton(tr("Copy..."));
|
||||
auto copyButton = new QPushButton(Tr::tr("Copy..."));
|
||||
|
||||
m_removeButton = new QPushButton(tr("Remove"));
|
||||
m_removeButton = new QPushButton(Tr::tr("Remove"));
|
||||
|
||||
m_exportButton = new QPushButton(tr("Export..."));
|
||||
m_exportButton = new QPushButton(Tr::tr("Export..."));
|
||||
m_exportButton->setEnabled(false);
|
||||
|
||||
m_importButton = new QPushButton(tr("Import..."));
|
||||
m_importButton = new QPushButton(Tr::tr("Import..."));
|
||||
m_importButton->setEnabled(false);
|
||||
|
||||
using namespace Utils::Layouting;
|
||||
|
||||
Column {
|
||||
Grid {
|
||||
tr("Current settings:"),
|
||||
Tr::tr("Current settings:"),
|
||||
m_delegateComboBox,
|
||||
copyButton,
|
||||
m_removeButton,
|
||||
@@ -157,10 +157,10 @@ void CodeStyleSelectorWidget::slotCopyClicked()
|
||||
ICodeStylePreferences *currentPreferences = m_codeStyle->currentPreferences();
|
||||
bool ok = false;
|
||||
const QString newName = QInputDialog::getText(this,
|
||||
tr("Copy Code Style"),
|
||||
tr("Code style name:"),
|
||||
Tr::tr("Copy Code Style"),
|
||||
Tr::tr("Code style name:"),
|
||||
QLineEdit::Normal,
|
||||
tr("%1 (Copy)").arg(currentPreferences->displayName()),
|
||||
Tr::tr("%1 (Copy)").arg(currentPreferences->displayName()),
|
||||
&ok);
|
||||
if (!ok || newName.trimmed().isEmpty())
|
||||
return;
|
||||
@@ -180,14 +180,14 @@ void CodeStyleSelectorWidget::slotRemoveClicked()
|
||||
ICodeStylePreferences *currentPreferences = m_codeStyle->currentPreferences();
|
||||
|
||||
QMessageBox messageBox(QMessageBox::Warning,
|
||||
tr("Delete Code Style"),
|
||||
tr("Are you sure you want to delete this code style permanently?"),
|
||||
Tr::tr("Delete Code Style"),
|
||||
Tr::tr("Are you sure you want to delete this code style permanently?"),
|
||||
QMessageBox::Discard | QMessageBox::Cancel,
|
||||
this);
|
||||
|
||||
// Change the text and role of the discard button
|
||||
auto deleteButton = static_cast<QPushButton*>(messageBox.button(QMessageBox::Discard));
|
||||
deleteButton->setText(tr("Delete"));
|
||||
deleteButton->setText(Tr::tr("Delete"));
|
||||
messageBox.addButton(deleteButton, QMessageBox::AcceptRole);
|
||||
messageBox.setDefaultButton(deleteButton);
|
||||
|
||||
@@ -199,25 +199,25 @@ void CodeStyleSelectorWidget::slotRemoveClicked()
|
||||
void CodeStyleSelectorWidget::slotImportClicked()
|
||||
{
|
||||
const FilePath fileName =
|
||||
FileUtils::getOpenFilePath(this, tr("Import Code Style"), {},
|
||||
tr("Code styles (*.xml);;All files (*)"));
|
||||
FileUtils::getOpenFilePath(this, Tr::tr("Import Code Style"), {},
|
||||
Tr::tr("Code styles (*.xml);;All files (*)"));
|
||||
if (!fileName.isEmpty()) {
|
||||
CodeStylePool *codeStylePool = m_codeStyle->delegatingPool();
|
||||
ICodeStylePreferences *importedStyle = codeStylePool->importCodeStyle(fileName);
|
||||
if (importedStyle)
|
||||
m_codeStyle->setCurrentDelegate(importedStyle);
|
||||
else
|
||||
QMessageBox::warning(this, tr("Import Code Style"),
|
||||
tr("Cannot import code style from %1"), fileName.toUserOutput());
|
||||
QMessageBox::warning(this, Tr::tr("Import Code Style"),
|
||||
Tr::tr("Cannot import code style from %1"), fileName.toUserOutput());
|
||||
}
|
||||
}
|
||||
|
||||
void CodeStyleSelectorWidget::slotExportClicked()
|
||||
{
|
||||
ICodeStylePreferences *currentPreferences = m_codeStyle->currentPreferences();
|
||||
const FilePath filePath = FileUtils::getSaveFilePath(this, tr("Export Code Style"),
|
||||
const FilePath filePath = FileUtils::getSaveFilePath(this, Tr::tr("Export Code Style"),
|
||||
FilePath::fromString(QString::fromUtf8(currentPreferences->id() + ".xml")),
|
||||
tr("Code styles (*.xml);;All files (*)"));
|
||||
Tr::tr("Code styles (*.xml);;All files (*)"));
|
||||
if (!filePath.isEmpty()) {
|
||||
CodeStylePool *codeStylePool = m_codeStyle->delegatingPool();
|
||||
codeStylePool->exportCodeStyle(filePath, currentPreferences);
|
||||
@@ -283,9 +283,9 @@ QString CodeStyleSelectorWidget::displayName(ICodeStylePreferences *codeStyle) c
|
||||
{
|
||||
QString name = codeStyle->displayName();
|
||||
if (codeStyle->currentDelegate())
|
||||
name = tr("%1 [proxy: %2]").arg(name).arg(codeStyle->currentDelegate()->displayName());
|
||||
name = Tr::tr("%1 [proxy: %2]").arg(name).arg(codeStyle->currentDelegate()->displayName());
|
||||
if (codeStyle->isReadOnly())
|
||||
name = tr("%1 [built-in]").arg(name);
|
||||
name = Tr::tr("%1 [built-in]").arg(name);
|
||||
return name;
|
||||
}
|
||||
|
||||
|
@@ -4,6 +4,7 @@
|
||||
#include "colorscheme.h"
|
||||
|
||||
#include "texteditorconstants.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
|
||||
@@ -298,7 +299,7 @@ bool ColorSchemeReader::read(const FilePath &filePath, ColorScheme *scheme)
|
||||
if (readNextStartElement() && name() == QLatin1String("style-scheme"))
|
||||
readStyleScheme();
|
||||
else
|
||||
raiseError(QCoreApplication::translate("TextEditor::Internal::ColorScheme", "Not a color scheme file."));
|
||||
raiseError(Tr::tr("Not a color scheme file."));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "colorschemeedit.h"
|
||||
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <utils/layoutbuilder.h>
|
||||
#include <utils/theme/theme.h>
|
||||
#include <utils/utilsicons.h>
|
||||
@@ -138,7 +140,7 @@ ColorSchemeEdit::ColorSchemeEdit(QWidget *parent) :
|
||||
auto unsetButton = [](const QString &toolTip) {
|
||||
auto tb = new QPushButton;
|
||||
tb->setToolTip(toolTip);
|
||||
tb->setText(tr("Unset"));
|
||||
tb->setText(Tr::tr("Unset"));
|
||||
return tb;
|
||||
};
|
||||
|
||||
@@ -165,7 +167,7 @@ ColorSchemeEdit::ColorSchemeEdit(QWidget *parent) :
|
||||
m_itemList->setUniformItemSizes(true);
|
||||
|
||||
m_builtinSchemeLabel = new QLabel(
|
||||
tr("<p align='center'><b>Builtin color schemes need to be <a href=\"copy\">copied</a><br/>"
|
||||
Tr::tr("<p align='center'><b>Builtin color schemes need to be <a href=\"copy\">copied</a><br/>"
|
||||
" before they can be changed</b></p>"));
|
||||
m_builtinSchemeLabel->setScaledContents(false);
|
||||
|
||||
@@ -173,33 +175,33 @@ ColorSchemeEdit::ColorSchemeEdit(QWidget *parent) :
|
||||
//m_fontProperties->setContentsMargins(0, 0, 0, 0);
|
||||
m_fontProperties->setMinimumWidth(212);
|
||||
|
||||
m_foregroundLabel = new QLabel(tr("Foreground:"));
|
||||
m_foregroundLabel = new QLabel(Tr::tr("Foreground:"));
|
||||
m_foregroundToolButton = colorButton();
|
||||
m_eraseForegroundToolButton = unsetButton(tr("Unset foreground."));
|
||||
m_backgroundLabel = new QLabel(tr("Background:"));
|
||||
m_eraseForegroundToolButton = unsetButton(Tr::tr("Unset foreground."));
|
||||
m_backgroundLabel = new QLabel(Tr::tr("Background:"));
|
||||
m_backgroundToolButton = colorButton();
|
||||
m_eraseBackgroundToolButton = unsetButton(tr("Unset background."));
|
||||
m_eraseBackgroundToolButton = unsetButton(Tr::tr("Unset background."));
|
||||
|
||||
m_relativeForegroundHeadline = headlineLabel(tr("Relative Foreground"));
|
||||
m_foregroundSaturationLabel = new QLabel(tr("Saturation:"));
|
||||
m_relativeForegroundHeadline = headlineLabel(Tr::tr("Relative Foreground"));
|
||||
m_foregroundSaturationLabel = new QLabel(Tr::tr("Saturation:"));
|
||||
m_foregroundSaturationSpinBox = spinBox();
|
||||
m_foregroundLightnessLabel = new QLabel(tr("Lightness:"));
|
||||
m_foregroundLightnessLabel = new QLabel(Tr::tr("Lightness:"));
|
||||
m_foregroundLightnessSpinBox = spinBox();
|
||||
|
||||
m_relativeBackgroundHeadline = headlineLabel(tr("Relative Background"));
|
||||
m_backgroundSaturationLabel = new QLabel(tr("Saturation:"));
|
||||
m_relativeBackgroundHeadline = headlineLabel(Tr::tr("Relative Background"));
|
||||
m_backgroundSaturationLabel = new QLabel(Tr::tr("Saturation:"));
|
||||
m_backgroundSaturationSpinBox = spinBox();
|
||||
m_backgroundLightnessLabel = new QLabel(tr("Lightness:"));
|
||||
m_backgroundLightnessLabel = new QLabel(Tr::tr("Lightness:"));
|
||||
m_backgroundLightnessSpinBox = spinBox();
|
||||
|
||||
m_fontHeadline = headlineLabel(tr("Font"));
|
||||
m_boldCheckBox = new QCheckBox(tr("Bold"));
|
||||
m_italicCheckBox = new QCheckBox(tr("Italic"));
|
||||
m_fontHeadline = headlineLabel(Tr::tr("Font"));
|
||||
m_boldCheckBox = new QCheckBox(Tr::tr("Bold"));
|
||||
m_italicCheckBox = new QCheckBox(Tr::tr("Italic"));
|
||||
|
||||
m_underlineHeadline = headlineLabel(tr("Underline"));
|
||||
m_underlineLabel = new QLabel(tr("Color:"));
|
||||
m_underlineHeadline = headlineLabel(Tr::tr("Underline"));
|
||||
m_underlineLabel = new QLabel(Tr::tr("Color:"));
|
||||
m_underlineColorToolButton = colorButton();
|
||||
m_eraseUnderlineColorToolButton = unsetButton(tr("Unset background."));
|
||||
m_eraseUnderlineColorToolButton = unsetButton(Tr::tr("Unset background."));
|
||||
m_underlineComboBox = new QComboBox;
|
||||
|
||||
m_itemList->setModel(m_formatsModel);
|
||||
@@ -685,19 +687,19 @@ void ColorSchemeEdit::setItemListBackground(const QColor &color)
|
||||
|
||||
void ColorSchemeEdit::populateUnderlineStyleComboBox()
|
||||
{
|
||||
m_underlineComboBox->addItem(tr("No Underline"),
|
||||
m_underlineComboBox->addItem(Tr::tr("No Underline"),
|
||||
QVariant::fromValue(int(QTextCharFormat::NoUnderline)));
|
||||
m_underlineComboBox->addItem(tr("Single Underline"),
|
||||
m_underlineComboBox->addItem(Tr::tr("Single Underline"),
|
||||
QVariant::fromValue(int(QTextCharFormat::SingleUnderline)));
|
||||
m_underlineComboBox->addItem(tr("Wave Underline"),
|
||||
m_underlineComboBox->addItem(Tr::tr("Wave Underline"),
|
||||
QVariant::fromValue(int(QTextCharFormat::WaveUnderline)));
|
||||
m_underlineComboBox->addItem(tr("Dot Underline"),
|
||||
m_underlineComboBox->addItem(Tr::tr("Dot Underline"),
|
||||
QVariant::fromValue(int(QTextCharFormat::DotLine)));
|
||||
m_underlineComboBox->addItem(tr("Dash Underline"),
|
||||
m_underlineComboBox->addItem(Tr::tr("Dash Underline"),
|
||||
QVariant::fromValue(int(QTextCharFormat::DashUnderline)));
|
||||
m_underlineComboBox->addItem(tr("Dash-Dot Underline"),
|
||||
m_underlineComboBox->addItem(Tr::tr("Dash-Dot Underline"),
|
||||
QVariant::fromValue(int(QTextCharFormat::DashDotLine)));
|
||||
m_underlineComboBox->addItem(tr("Dash-Dot-Dot Underline"),
|
||||
m_underlineComboBox->addItem(Tr::tr("Dash-Dot-Dot Underline"),
|
||||
QVariant::fromValue(int(QTextCharFormat::DashDotDotLine)));
|
||||
}
|
||||
|
||||
|
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "texteditorsettings.h"
|
||||
#include "texteditorconstants.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <cppeditor/cpptoolssettings.h>
|
||||
|
||||
@@ -29,8 +30,6 @@ namespace Internal {
|
||||
|
||||
class CompletionSettingsPageWidget final : public Core::IOptionsPageWidget
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(TextEditor::Internal::CompletionSettingsPage)
|
||||
|
||||
public:
|
||||
explicit CompletionSettingsPageWidget(CompletionSettingsPage *owner);
|
||||
|
||||
@@ -70,97 +69,97 @@ CompletionSettingsPageWidget::CompletionSettingsPageWidget(CompletionSettingsPag
|
||||
resize(823, 756);
|
||||
|
||||
m_caseSensitivity = new QComboBox;
|
||||
m_caseSensitivity->addItem(tr("Full"));
|
||||
m_caseSensitivity->addItem(tr("None"));
|
||||
m_caseSensitivity->addItem(tr("First Letter"));
|
||||
m_caseSensitivity->addItem(Tr::tr("Full"));
|
||||
m_caseSensitivity->addItem(Tr::tr("None"));
|
||||
m_caseSensitivity->addItem(Tr::tr("First Letter"));
|
||||
|
||||
auto caseSensitivityLabel = new QLabel(tr("&Case-sensitivity:"));
|
||||
auto caseSensitivityLabel = new QLabel(Tr::tr("&Case-sensitivity:"));
|
||||
caseSensitivityLabel->setBuddy(m_caseSensitivity);
|
||||
|
||||
m_completionTrigger = new QComboBox;
|
||||
m_completionTrigger->addItem(tr("Manually"));
|
||||
m_completionTrigger->addItem(tr("When Triggered"));
|
||||
m_completionTrigger->addItem(tr("Always"));
|
||||
m_completionTrigger->addItem(Tr::tr("Manually"));
|
||||
m_completionTrigger->addItem(Tr::tr("When Triggered"));
|
||||
m_completionTrigger->addItem(Tr::tr("Always"));
|
||||
|
||||
auto completionTriggerLabel = new QLabel(tr("Activate completion:"));
|
||||
auto completionTriggerLabel = new QLabel(Tr::tr("Activate completion:"));
|
||||
|
||||
auto automaticProposalTimeoutLabel = new QLabel(tr("Timeout in ms:"));
|
||||
auto automaticProposalTimeoutLabel = new QLabel(Tr::tr("Timeout in ms:"));
|
||||
|
||||
m_automaticProposalTimeoutSpinBox = new QSpinBox;
|
||||
m_automaticProposalTimeoutSpinBox->setMaximum(2000);
|
||||
m_automaticProposalTimeoutSpinBox->setSingleStep(50);
|
||||
m_automaticProposalTimeoutSpinBox->setValue(400);
|
||||
|
||||
auto thresholdLabel = new QLabel(tr("Character threshold:"));
|
||||
auto thresholdLabel = new QLabel(Tr::tr("Character threshold:"));
|
||||
|
||||
m_thresholdSpinBox = new QSpinBox;
|
||||
m_thresholdSpinBox->setMinimum(1);
|
||||
|
||||
m_partiallyComplete = new QCheckBox(tr("Autocomplete common &prefix"));
|
||||
m_partiallyComplete->setToolTip(tr("Inserts the common prefix of available completion items."));
|
||||
m_partiallyComplete = new QCheckBox(Tr::tr("Autocomplete common &prefix"));
|
||||
m_partiallyComplete->setToolTip(Tr::tr("Inserts the common prefix of available completion items."));
|
||||
m_partiallyComplete->setChecked(true);
|
||||
|
||||
m_autoSplitStrings = new QCheckBox(tr("Automatically split strings"));
|
||||
m_autoSplitStrings = new QCheckBox(Tr::tr("Automatically split strings"));
|
||||
m_autoSplitStrings->setToolTip(
|
||||
tr("Splits a string into two lines by adding an end quote at the cursor position "
|
||||
Tr::tr("Splits a string into two lines by adding an end quote at the cursor position "
|
||||
"when you press Enter and a start quote to the next line, before the rest "
|
||||
"of the string.\n\n"
|
||||
"In addition, Shift+Enter inserts an escape character at the cursor position "
|
||||
"and moves the rest of the string to the next line."));
|
||||
|
||||
m_insertBrackets = new QCheckBox(tr("Insert opening or closing brackets"));
|
||||
m_insertBrackets = new QCheckBox(Tr::tr("Insert opening or closing brackets"));
|
||||
m_insertBrackets->setChecked(true);
|
||||
|
||||
m_insertQuotes = new QCheckBox(tr("Insert closing quote"));
|
||||
m_insertQuotes = new QCheckBox(Tr::tr("Insert closing quote"));
|
||||
m_insertQuotes->setChecked(true);
|
||||
|
||||
m_surroundBrackets = new QCheckBox(tr("Surround text selection with brackets"));
|
||||
m_surroundBrackets = new QCheckBox(Tr::tr("Surround text selection with brackets"));
|
||||
m_surroundBrackets->setChecked(true);
|
||||
m_surroundBrackets->setToolTip(
|
||||
tr("When typing a matching bracket and there is a text selection, instead of "
|
||||
Tr::tr("When typing a matching bracket and there is a text selection, instead of "
|
||||
"removing the selection, surrounds it with the corresponding characters."));
|
||||
|
||||
m_spaceAfterFunctionName = new QCheckBox(tr("Insert &space after function name"));
|
||||
m_spaceAfterFunctionName = new QCheckBox(Tr::tr("Insert &space after function name"));
|
||||
m_spaceAfterFunctionName->setEnabled(true);
|
||||
|
||||
m_surroundQuotes = new QCheckBox(tr("Surround text selection with quotes"));
|
||||
m_surroundQuotes = new QCheckBox(Tr::tr("Surround text selection with quotes"));
|
||||
m_surroundQuotes->setChecked(true);
|
||||
m_surroundQuotes->setToolTip(
|
||||
tr("When typing a matching quote and there is a text selection, instead of "
|
||||
Tr::tr("When typing a matching quote and there is a text selection, instead of "
|
||||
"removing the selection, surrounds it with the corresponding characters."));
|
||||
|
||||
m_animateAutoComplete = new QCheckBox(tr("Animate automatically inserted text"));
|
||||
m_animateAutoComplete = new QCheckBox(Tr::tr("Animate automatically inserted text"));
|
||||
m_animateAutoComplete->setChecked(true);
|
||||
m_animateAutoComplete->setToolTip(tr("Show a visual hint when for example a brace or a quote "
|
||||
m_animateAutoComplete->setToolTip(Tr::tr("Show a visual hint when for example a brace or a quote "
|
||||
"is automatically inserted by the editor."));
|
||||
|
||||
m_highlightAutoComplete = new QCheckBox(tr("Highlight automatically inserted text"));
|
||||
m_highlightAutoComplete = new QCheckBox(Tr::tr("Highlight automatically inserted text"));
|
||||
m_highlightAutoComplete->setChecked(true);
|
||||
|
||||
m_skipAutoComplete = new QCheckBox(tr("Skip automatically inserted character when typing"));
|
||||
m_skipAutoComplete->setToolTip(tr("Skip automatically inserted character if re-typed manually "
|
||||
m_skipAutoComplete = new QCheckBox(Tr::tr("Skip automatically inserted character when typing"));
|
||||
m_skipAutoComplete->setToolTip(Tr::tr("Skip automatically inserted character if re-typed manually "
|
||||
"after completion or by pressing tab."));
|
||||
m_skipAutoComplete->setChecked(true);
|
||||
|
||||
m_removeAutoComplete = new QCheckBox(tr("Remove automatically inserted text on backspace"));
|
||||
m_removeAutoComplete = new QCheckBox(Tr::tr("Remove automatically inserted text on backspace"));
|
||||
m_removeAutoComplete->setChecked(true);
|
||||
m_removeAutoComplete->setToolTip(tr("Remove the automatically inserted character if the trigger "
|
||||
m_removeAutoComplete->setToolTip(Tr::tr("Remove the automatically inserted character if the trigger "
|
||||
"is deleted by backspace after the completion."));
|
||||
|
||||
m_overwriteClosingChars = new QCheckBox(tr("Overwrite closing punctuation"));
|
||||
m_overwriteClosingChars->setToolTip(tr("Automatically overwrite closing parentheses and quotes."));
|
||||
m_overwriteClosingChars = new QCheckBox(Tr::tr("Overwrite closing punctuation"));
|
||||
m_overwriteClosingChars->setToolTip(Tr::tr("Automatically overwrite closing parentheses and quotes."));
|
||||
|
||||
m_enableDoxygenCheckBox = new QCheckBox(tr("Enable Doxygen blocks"));
|
||||
m_enableDoxygenCheckBox->setToolTip(tr("Automatically creates a Doxygen comment upon pressing "
|
||||
m_enableDoxygenCheckBox = new QCheckBox(Tr::tr("Enable Doxygen blocks"));
|
||||
m_enableDoxygenCheckBox->setToolTip(Tr::tr("Automatically creates a Doxygen comment upon pressing "
|
||||
"enter after a '/**', '/*!', '//!' or '///'."));
|
||||
|
||||
m_generateBriefCheckBox = new QCheckBox(tr("Generate brief description"));
|
||||
m_generateBriefCheckBox->setToolTip(tr("Generates a <i>brief</i> command with an initial "
|
||||
m_generateBriefCheckBox = new QCheckBox(Tr::tr("Generate brief description"));
|
||||
m_generateBriefCheckBox->setToolTip(Tr::tr("Generates a <i>brief</i> command with an initial "
|
||||
"description for the corresponding declaration."));
|
||||
|
||||
m_leadingAsterisksCheckBox = new QCheckBox(tr("Add leading asterisks"));
|
||||
m_leadingAsterisksCheckBox = new QCheckBox(Tr::tr("Add leading asterisks"));
|
||||
m_leadingAsterisksCheckBox->setToolTip(
|
||||
tr("Adds leading asterisks when continuing C/C++ \"/*\", Qt \"/*!\" "
|
||||
Tr::tr("Adds leading asterisks when continuing C/C++ \"/*\", Qt \"/*!\" "
|
||||
"and Java \"/**\" style comments on new lines."));
|
||||
|
||||
connect(m_completionTrigger, &QComboBox::currentIndexChanged,
|
||||
@@ -227,7 +226,7 @@ CompletionSettingsPageWidget::CompletionSettingsPageWidget(CompletionSettingsPag
|
||||
|
||||
Column {
|
||||
Group {
|
||||
title(tr("Behavior")),
|
||||
title(Tr::tr("Behavior")),
|
||||
Form {
|
||||
caseSensitivityLabel, m_caseSensitivity, st, br,
|
||||
completionTriggerLabel, m_completionTrigger, st, br,
|
||||
@@ -238,7 +237,7 @@ CompletionSettingsPageWidget::CompletionSettingsPageWidget(CompletionSettingsPag
|
||||
}
|
||||
},
|
||||
Group {
|
||||
title(tr("&Automatically insert matching characters")),
|
||||
title(Tr::tr("&Automatically insert matching characters")),
|
||||
Row {
|
||||
Column {
|
||||
m_insertBrackets,
|
||||
@@ -258,7 +257,7 @@ CompletionSettingsPageWidget::CompletionSettingsPageWidget(CompletionSettingsPag
|
||||
}
|
||||
},
|
||||
Group {
|
||||
title(tr("Documentation Comments")),
|
||||
title(Tr::tr("Documentation Comments")),
|
||||
Column {
|
||||
m_enableDoxygenCheckBox,
|
||||
indent(m_generateBriefCheckBox),
|
||||
@@ -356,9 +355,9 @@ const CommentsSettings &CompletionSettingsPage::commentsSettings() const
|
||||
CompletionSettingsPage::CompletionSettingsPage()
|
||||
{
|
||||
setId("P.Completion");
|
||||
setDisplayName(CompletionSettingsPageWidget::tr("Completion"));
|
||||
setDisplayName(Tr::tr("Completion"));
|
||||
setCategory(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY);
|
||||
setDisplayCategory(QCoreApplication::translate("::TextEditor", "Text Editor"));
|
||||
setDisplayCategory(Tr::tr("Text Editor"));
|
||||
setCategoryIconPath(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY_ICON_PATH);
|
||||
setWidgetCreator([this] { return new CompletionSettingsPageWidget(this); });
|
||||
|
||||
|
@@ -7,10 +7,10 @@
|
||||
#include "marginsettings.h"
|
||||
#include "texteditorconstants.h"
|
||||
#include "texteditorsettings.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
|
||||
#include <utils/layoutbuilder.h>
|
||||
|
||||
#include <QApplication>
|
||||
@@ -39,17 +39,15 @@ DisplaySettingsPagePrivate::DisplaySettingsPagePrivate()
|
||||
|
||||
class DisplaySettingsWidget final : public Core::IOptionsPageWidget
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(TextEditor::DisplaySettingsPage)
|
||||
|
||||
public:
|
||||
DisplaySettingsWidget(DisplaySettingsPagePrivate *data)
|
||||
: m_data(data)
|
||||
{
|
||||
resize(452, 458);
|
||||
|
||||
enableTextWrapping = new QCheckBox(tr("Enable text &wrapping"));
|
||||
enableTextWrapping = new QCheckBox(Tr::tr("Enable text &wrapping"));
|
||||
|
||||
enableTextWrappingHintLabel = new QLabel(tr("<i>Set <a href=\"font zoom\">font line spacing</a> "
|
||||
enableTextWrappingHintLabel = new QLabel(Tr::tr("<i>Set <a href=\"font zoom\">font line spacing</a> "
|
||||
"to 100% to enable text wrapping option.</i>"));
|
||||
|
||||
fontSettingsPageLineSpacing = fontSettingsPageLineSpacingLink();
|
||||
@@ -74,8 +72,8 @@ public:
|
||||
Core::ICore::showOptionsDialog(Constants::TEXT_EDITOR_FONT_SETTINGS); } );
|
||||
|
||||
|
||||
showWrapColumn = new QCheckBox(tr("Display right &margin at column:"));
|
||||
tintMarginArea = new QCheckBox(tr("Tint whole margin area"));
|
||||
showWrapColumn = new QCheckBox(Tr::tr("Display right &margin at column:"));
|
||||
tintMarginArea = new QCheckBox(Tr::tr("Tint whole margin area"));
|
||||
|
||||
wrapColumn = new QSpinBox;
|
||||
wrapColumn->setMaximum(999);
|
||||
@@ -83,36 +81,36 @@ public:
|
||||
connect(showWrapColumn, &QAbstractButton::toggled, wrapColumn, &QWidget::setEnabled);
|
||||
connect(showWrapColumn, &QAbstractButton::toggled, tintMarginArea, &QWidget::setEnabled);
|
||||
|
||||
useIndenter = new QCheckBox(tr("Use context-specific margin"));
|
||||
useIndenter->setToolTip(tr("If available, use a different margin. "
|
||||
useIndenter = new QCheckBox(Tr::tr("Use context-specific margin"));
|
||||
useIndenter->setToolTip(Tr::tr("If available, use a different margin. "
|
||||
"For example, the ColumnLimit from the ClangFormat plugin."));
|
||||
|
||||
animateMatchingParentheses = new QCheckBox(tr("&Animate matching parentheses"));
|
||||
scrollBarHighlights = new QCheckBox(tr("Highlight search results on the scrollbar"));
|
||||
displayLineNumbers = new QCheckBox(tr("Display line &numbers"));
|
||||
animateNavigationWithinFile = new QCheckBox(tr("Animate navigation within file"));
|
||||
highlightCurrentLine = new QCheckBox(tr("Highlight current &line"));
|
||||
highlightBlocks = new QCheckBox(tr("Highlight &blocks"));
|
||||
markTextChanges = new QCheckBox(tr("Mark &text changes"));
|
||||
autoFoldFirstComment = new QCheckBox(tr("Auto-fold first &comment"));
|
||||
displayFoldingMarkers = new QCheckBox(tr("Display &folding markers"));
|
||||
centerOnScroll = new QCheckBox(tr("Center &cursor on scroll"));
|
||||
visualizeIndent = new QCheckBox(tr("Visualize indent"));
|
||||
displayFileLineEnding = new QCheckBox(tr("Display file line ending"));
|
||||
displayFileEncoding = new QCheckBox(tr("Display file encoding"));
|
||||
openLinksInNextSplit = new QCheckBox(tr("Always open links in another split"));
|
||||
highlightMatchingParentheses = new QCheckBox(tr("&Highlight matching parentheses"));
|
||||
animateMatchingParentheses = new QCheckBox(Tr::tr("&Animate matching parentheses"));
|
||||
scrollBarHighlights = new QCheckBox(Tr::tr("Highlight search results on the scrollbar"));
|
||||
displayLineNumbers = new QCheckBox(Tr::tr("Display line &numbers"));
|
||||
animateNavigationWithinFile = new QCheckBox(Tr::tr("Animate navigation within file"));
|
||||
highlightCurrentLine = new QCheckBox(Tr::tr("Highlight current &line"));
|
||||
highlightBlocks = new QCheckBox(Tr::tr("Highlight &blocks"));
|
||||
markTextChanges = new QCheckBox(Tr::tr("Mark &text changes"));
|
||||
autoFoldFirstComment = new QCheckBox(Tr::tr("Auto-fold first &comment"));
|
||||
displayFoldingMarkers = new QCheckBox(Tr::tr("Display &folding markers"));
|
||||
centerOnScroll = new QCheckBox(Tr::tr("Center &cursor on scroll"));
|
||||
visualizeIndent = new QCheckBox(Tr::tr("Visualize indent"));
|
||||
displayFileLineEnding = new QCheckBox(Tr::tr("Display file line ending"));
|
||||
displayFileEncoding = new QCheckBox(Tr::tr("Display file encoding"));
|
||||
openLinksInNextSplit = new QCheckBox(Tr::tr("Always open links in another split"));
|
||||
highlightMatchingParentheses = new QCheckBox(Tr::tr("&Highlight matching parentheses"));
|
||||
|
||||
visualizeWhitespace = new QCheckBox(tr("&Visualize whitespace"));
|
||||
visualizeWhitespace->setToolTip(tr("Shows tabs and spaces."));
|
||||
visualizeWhitespace = new QCheckBox(Tr::tr("&Visualize whitespace"));
|
||||
visualizeWhitespace->setToolTip(Tr::tr("Shows tabs and spaces."));
|
||||
|
||||
leftAligned = new QRadioButton(tr("Next to editor content"));
|
||||
atMargin = new QRadioButton(tr("Next to right margin"));
|
||||
rightAligned = new QRadioButton(tr("Aligned at right side"));
|
||||
leftAligned = new QRadioButton(Tr::tr("Next to editor content"));
|
||||
atMargin = new QRadioButton(Tr::tr("Next to right margin"));
|
||||
rightAligned = new QRadioButton(Tr::tr("Aligned at right side"));
|
||||
rightAligned->setChecked(true);
|
||||
betweenLines = new QRadioButton(tr("Between lines"));
|
||||
betweenLines = new QRadioButton(Tr::tr("Between lines"));
|
||||
|
||||
displayAnnotations = new QGroupBox(tr("Line annotations")),
|
||||
displayAnnotations = new QGroupBox(Tr::tr("Line annotations")),
|
||||
displayAnnotations->setCheckable(true);
|
||||
|
||||
using namespace Utils::Layouting;
|
||||
@@ -126,21 +124,21 @@ public:
|
||||
|
||||
Column {
|
||||
Group {
|
||||
title(tr("Margin")),
|
||||
title(Tr::tr("Margin")),
|
||||
Column {
|
||||
Row { showWrapColumn, wrapColumn, st },
|
||||
Row { useIndenter, tintMarginArea, st }
|
||||
}
|
||||
},
|
||||
Group {
|
||||
title(tr("Wrapping")),
|
||||
title(Tr::tr("Wrapping")),
|
||||
Column {
|
||||
enableTextWrapping,
|
||||
Row { enableTextWrappingHintLabel, st}
|
||||
}
|
||||
},
|
||||
Group {
|
||||
title(tr("Display")),
|
||||
title(Tr::tr("Display")),
|
||||
Row {
|
||||
Column {
|
||||
displayLineNumbers,
|
||||
@@ -345,9 +343,9 @@ DisplaySettingsPage::DisplaySettingsPage()
|
||||
: d(new DisplaySettingsPagePrivate)
|
||||
{
|
||||
setId(Constants::TEXT_EDITOR_DISPLAY_SETTINGS);
|
||||
setDisplayName(DisplaySettingsWidget::tr("Display"));
|
||||
setDisplayName(Tr::tr("Display"));
|
||||
setCategory(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY);
|
||||
setDisplayCategory(QCoreApplication::translate("::TextEditor", "Text Editor"));
|
||||
setDisplayCategory(Tr::tr("Text Editor"));
|
||||
setCategoryIconPath(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY_ICON_PATH);
|
||||
setWidgetCreator([this] { return new DisplaySettingsWidget(d); });
|
||||
}
|
||||
|
@@ -2,7 +2,9 @@
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "extraencodingsettings.h"
|
||||
|
||||
#include "behaviorsettingswidget.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <utils/settingsutils.h>
|
||||
|
||||
@@ -54,6 +56,5 @@ bool ExtraEncodingSettings::equals(const ExtraEncodingSettings &s) const
|
||||
|
||||
QStringList ExtraEncodingSettings::lineTerminationModeNames()
|
||||
{
|
||||
return {BehaviorSettingsWidget::tr("Unix (LF)"),
|
||||
BehaviorSettingsWidget::tr("Windows (CRLF)")};
|
||||
return {Tr::tr("Unix (LF)"), Tr::tr("Windows (CRLF)")};
|
||||
}
|
||||
|
@@ -2,18 +2,20 @@
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "findincurrentfile.h"
|
||||
#include "textdocument.h"
|
||||
|
||||
#include <utils/filesearch.h>
|
||||
#include <utils/fileutils.h>
|
||||
#include "textdocument.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/editormanager/ieditor.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
|
||||
#include <utils/filesearch.h>
|
||||
#include <utils/fileutils.h>
|
||||
|
||||
#include <QSettings>
|
||||
|
||||
using namespace TextEditor;
|
||||
using namespace TextEditor::Internal;
|
||||
namespace TextEditor::Internal {
|
||||
|
||||
FindInCurrentFile::FindInCurrentFile()
|
||||
{
|
||||
@@ -29,7 +31,7 @@ QString FindInCurrentFile::id() const
|
||||
|
||||
QString FindInCurrentFile::displayName() const
|
||||
{
|
||||
return tr("Current File");
|
||||
return Tr::tr("Current File");
|
||||
}
|
||||
|
||||
Utils::FileIterator *FindInCurrentFile::files(const QStringList &nameFilters,
|
||||
@@ -54,13 +56,13 @@ QVariant FindInCurrentFile::additionalParameters() const
|
||||
|
||||
QString FindInCurrentFile::label() const
|
||||
{
|
||||
return tr("File \"%1\":").arg(m_currentDocument->filePath().fileName());
|
||||
return Tr::tr("File \"%1\":").arg(m_currentDocument->filePath().fileName());
|
||||
}
|
||||
|
||||
QString FindInCurrentFile::toolTip() const
|
||||
{
|
||||
// %2 is filled by BaseFileFind::runNewSearch
|
||||
return tr("File path: %1\n%2").arg(m_currentDocument->filePath().toUserOutput());
|
||||
return Tr::tr("File path: %1\n%2").arg(m_currentDocument->filePath().toUserOutput());
|
||||
}
|
||||
|
||||
bool FindInCurrentFile::isEnabled() const
|
||||
@@ -96,3 +98,5 @@ void FindInCurrentFile::readSettings(QSettings *settings)
|
||||
readCommonSettings(settings, "*", "");
|
||||
settings->endGroup();
|
||||
}
|
||||
|
||||
} // TextEditor::Internal
|
||||
|
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "findinfiles.h"
|
||||
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <coreplugin/find/findplugin.h>
|
||||
#include <coreplugin/icore.h>
|
||||
@@ -25,9 +27,10 @@
|
||||
#include <QStackedWidget>
|
||||
|
||||
using namespace Core;
|
||||
using namespace TextEditor;
|
||||
using namespace Utils;
|
||||
|
||||
namespace TextEditor {
|
||||
|
||||
static FindInFiles *m_instance = nullptr;
|
||||
static const char HistoryKey[] = "FindInFiles.Directories.History";
|
||||
|
||||
@@ -52,7 +55,7 @@ QString FindInFiles::id() const
|
||||
|
||||
QString FindInFiles::displayName() const
|
||||
{
|
||||
return tr("Files in File System");
|
||||
return Tr::tr("Files in File System");
|
||||
}
|
||||
|
||||
FileIterator *FindInFiles::files(const QStringList &nameFilters,
|
||||
@@ -77,7 +80,7 @@ QString FindInFiles::label() const
|
||||
const QChar slash = QLatin1Char('/');
|
||||
const QStringList &nonEmptyComponents = path().toFileInfo().absoluteFilePath()
|
||||
.split(slash, Qt::SkipEmptyParts);
|
||||
return tr("%1 \"%2\":")
|
||||
return Tr::tr("%1 \"%2\":")
|
||||
.arg(title)
|
||||
.arg(nonEmptyComponents.isEmpty() ? QString(slash) : nonEmptyComponents.last());
|
||||
}
|
||||
@@ -85,7 +88,7 @@ QString FindInFiles::label() const
|
||||
QString FindInFiles::toolTip() const
|
||||
{
|
||||
//: the last arg is filled by BaseFileFind::runNewSearch
|
||||
QString tooltip = tr("Path: %1\nFilter: %2\nExcluding: %3\n%4")
|
||||
QString tooltip = Tr::tr("Path: %1\nFilter: %2\nExcluding: %3\n%4")
|
||||
.arg(path().toUserOutput())
|
||||
.arg(fileNameFilters().join(','))
|
||||
.arg(fileExclusionFilters().join(','));
|
||||
@@ -128,7 +131,7 @@ QWidget *FindInFiles::createConfigWidget()
|
||||
m_configWidget->setLayout(gridLayout);
|
||||
|
||||
int row = 0;
|
||||
auto searchEngineLabel = new QLabel(tr("Search engine:"));
|
||||
auto searchEngineLabel = new QLabel(Tr::tr("Search engine:"));
|
||||
gridLayout->addWidget(searchEngineLabel, row, 0, Qt::AlignRight);
|
||||
m_searchEngineCombo = new QComboBox;
|
||||
connect(m_searchEngineCombo, &QComboBox::currentIndexChanged,
|
||||
@@ -144,11 +147,11 @@ QWidget *FindInFiles::createConfigWidget()
|
||||
}
|
||||
gridLayout->addWidget(m_searchEngineWidget, row++, 2);
|
||||
|
||||
QLabel *dirLabel = new QLabel(tr("Director&y:"));
|
||||
QLabel *dirLabel = new QLabel(Tr::tr("Director&y:"));
|
||||
gridLayout->addWidget(dirLabel, row, 0, Qt::AlignRight);
|
||||
m_directory = new PathChooser;
|
||||
m_directory->setExpectedKind(PathChooser::ExistingDirectory);
|
||||
m_directory->setPromptDialogTitle(tr("Directory to Search"));
|
||||
m_directory->setPromptDialogTitle(Tr::tr("Directory to Search"));
|
||||
connect(m_directory.data(), &PathChooser::textChanged, this,
|
||||
[this] { pathChanged(m_directory->filePath()); });
|
||||
m_directory->setHistoryCompleter(QLatin1String(HistoryKey),
|
||||
@@ -231,3 +234,5 @@ FindInFiles *FindInFiles::instance()
|
||||
{
|
||||
return m_instance;
|
||||
}
|
||||
|
||||
} // TextEditor
|
||||
|
@@ -2,17 +2,19 @@
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "findinopenfiles.h"
|
||||
#include "textdocument.h"
|
||||
|
||||
#include <utils/filesearch.h>
|
||||
#include "textdocument.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <coreplugin/editormanager/documentmodel.h>
|
||||
|
||||
#include <utils/filesearch.h>
|
||||
|
||||
#include <QSettings>
|
||||
|
||||
using namespace TextEditor;
|
||||
using namespace TextEditor::Internal;
|
||||
namespace TextEditor::Internal {
|
||||
|
||||
FindInOpenFiles::FindInOpenFiles()
|
||||
{
|
||||
@@ -29,7 +31,7 @@ QString FindInOpenFiles::id() const
|
||||
|
||||
QString FindInOpenFiles::displayName() const
|
||||
{
|
||||
return tr("Open Documents");
|
||||
return Tr::tr("Open Documents");
|
||||
}
|
||||
|
||||
Utils::FileIterator *FindInOpenFiles::files(const QStringList &nameFilters,
|
||||
@@ -65,13 +67,13 @@ QVariant FindInOpenFiles::additionalParameters() const
|
||||
|
||||
QString FindInOpenFiles::label() const
|
||||
{
|
||||
return tr("Open documents:");
|
||||
return Tr::tr("Open documents:");
|
||||
}
|
||||
|
||||
QString FindInOpenFiles::toolTip() const
|
||||
{
|
||||
// %1 is filled by BaseFileFind::runNewSearch
|
||||
return tr("Open Documents\n%1");
|
||||
return Tr::tr("Open Documents\n%1");
|
||||
}
|
||||
|
||||
bool FindInOpenFiles::isEnabled() const
|
||||
@@ -97,3 +99,5 @@ void FindInOpenFiles::updateEnabledState()
|
||||
{
|
||||
emit enabledChanged(isEnabled());
|
||||
}
|
||||
|
||||
} // TextEditor::Internal
|
||||
|
@@ -2,7 +2,9 @@
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "fontsettings.h"
|
||||
|
||||
#include "fontsettingspage.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/hostosinfo.h>
|
||||
@@ -158,10 +160,8 @@ QTextCharFormat FontSettings::toTextCharFormat(TextStyle category) const
|
||||
tf.setFontStyleStrategy(m_antialias ? QFont::PreferAntialias : QFont::NoAntialias);
|
||||
}
|
||||
|
||||
if (category == C_OCCURRENCES_UNUSED) {
|
||||
tf.setToolTip(QCoreApplication::translate("FontSettings_C_OCCURRENCES_UNUSED",
|
||||
"Unused variable"));
|
||||
}
|
||||
if (category == C_OCCURRENCES_UNUSED)
|
||||
tf.setToolTip(Tr::tr("Unused variable"));
|
||||
|
||||
if (f.foreground().isValid() && !isOverlayCategory(category))
|
||||
tf.setForeground(f.foreground());
|
||||
|
@@ -6,6 +6,7 @@
|
||||
#include "colorschemeedit.h"
|
||||
#include "fontsettings.h"
|
||||
#include "texteditorsettings.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
@@ -18,28 +19,24 @@
|
||||
#include <utils/utilsicons.h>
|
||||
|
||||
#include <QAbstractItemModel>
|
||||
#include <QCheckBox>
|
||||
#include <QComboBox>
|
||||
#include <QDebug>
|
||||
#include <QFileDialog>
|
||||
#include <QFontComboBox>
|
||||
#include <QFontDatabase>
|
||||
#include <QGroupBox>
|
||||
#include <QInputDialog>
|
||||
#include <QLabel>
|
||||
#include <QMessageBox>
|
||||
#include <QPalette>
|
||||
#include <QPointer>
|
||||
#include <QPushButton>
|
||||
#include <QSettings>
|
||||
#include <QSpacerItem>
|
||||
#include <QSpinBox>
|
||||
#include <QTimer>
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QCheckBox>
|
||||
#include <QtWidgets/QComboBox>
|
||||
#include <QtWidgets/QFontComboBox>
|
||||
#include <QtWidgets/QGroupBox>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QSpacerItem>
|
||||
#include <QtWidgets/QSpinBox>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
using namespace TextEditor::Internal;
|
||||
using namespace Utils;
|
||||
|
||||
@@ -102,8 +99,6 @@ private:
|
||||
|
||||
class FontSettingsPageWidget : public Core::IOptionsPageWidget
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(TextEditor::FontSettingsPageWidget)
|
||||
|
||||
public:
|
||||
FontSettingsPageWidget(FontSettingsPage *q, const FormatDescriptions &fd, FontSettings *fontSettings)
|
||||
: q(q),
|
||||
@@ -114,24 +109,24 @@ public:
|
||||
|
||||
resize(639, 306);
|
||||
|
||||
m_antialias = new QCheckBox(tr("Antialias"));
|
||||
m_antialias = new QCheckBox(Tr::tr("Antialias"));
|
||||
m_antialias->setChecked(m_value.antialias());
|
||||
|
||||
m_zoomSpinBox = new QSpinBox;
|
||||
m_zoomSpinBox->setSuffix(tr("%"));
|
||||
m_zoomSpinBox->setSuffix(Tr::tr("%"));
|
||||
m_zoomSpinBox->setRange(10, 3000);
|
||||
m_zoomSpinBox->setSingleStep(10);
|
||||
m_zoomSpinBox->setValue(m_value.fontZoom());
|
||||
|
||||
m_lineSpacingSpinBox = new QSpinBox;
|
||||
m_lineSpacingSpinBox->setObjectName(QLatin1String("FontSettingsPage.LineSpacingSpinBox"));
|
||||
m_lineSpacingSpinBox->setSuffix(tr("%"));
|
||||
m_lineSpacingSpinBox->setSuffix(Tr::tr("%"));
|
||||
m_lineSpacingSpinBox->setRange(50, 3000);
|
||||
m_lineSpacingSpinBox->setValue(m_value.relativeLineSpacing());
|
||||
|
||||
m_lineSpacingWarningLabel = new QLabel;
|
||||
m_lineSpacingWarningLabel->setPixmap(Utils::Icons::WARNING.pixmap());
|
||||
m_lineSpacingWarningLabel->setToolTip(tr("A line spacing value other than 100% disables "
|
||||
m_lineSpacingWarningLabel->setToolTip(Tr::tr("A line spacing value other than 100% disables "
|
||||
"text wrapping.\nA value less than 100% can result "
|
||||
"in overlapping and misaligned graphics."));
|
||||
m_lineSpacingWarningLabel->setVisible(m_value.relativeLineSpacing() != 100);
|
||||
@@ -145,13 +140,13 @@ public:
|
||||
sizeValidator->setBottom(0);
|
||||
m_sizeComboBox->setValidator(sizeValidator);
|
||||
|
||||
m_copyButton = new QPushButton(tr("Copy..."));
|
||||
m_copyButton = new QPushButton(Tr::tr("Copy..."));
|
||||
|
||||
m_deleteButton = new QPushButton(tr("Delete"));
|
||||
m_deleteButton = new QPushButton(Tr::tr("Delete"));
|
||||
m_deleteButton->setEnabled(false);
|
||||
|
||||
auto importButton = new QPushButton(tr("Import"));
|
||||
auto exportButton = new QPushButton(tr("Export"));
|
||||
auto importButton = new QPushButton(Tr::tr("Import"));
|
||||
auto exportButton = new QPushButton(Tr::tr("Export"));
|
||||
|
||||
m_schemeComboBox = new QComboBox;
|
||||
m_schemeComboBox->setModel(&m_schemeListModel);
|
||||
@@ -166,19 +161,19 @@ public:
|
||||
|
||||
Column {
|
||||
Group {
|
||||
title(tr("Font")),
|
||||
title(Tr::tr("Font")),
|
||||
Column {
|
||||
Row {
|
||||
tr("Family:"), m_fontComboBox, Space(20),
|
||||
tr("Size:"), m_sizeComboBox, Space(20),
|
||||
tr("Zoom:"), m_zoomSpinBox, Space(20),
|
||||
tr("Line spacing:"), m_lineSpacingSpinBox, m_lineSpacingWarningLabel, st
|
||||
Tr::tr("Family:"), m_fontComboBox, Space(20),
|
||||
Tr::tr("Size:"), m_sizeComboBox, Space(20),
|
||||
Tr::tr("Zoom:"), m_zoomSpinBox, Space(20),
|
||||
Tr::tr("Line spacing:"), m_lineSpacingSpinBox, m_lineSpacingWarningLabel, st
|
||||
},
|
||||
m_antialias
|
||||
}
|
||||
},
|
||||
Group {
|
||||
title(tr("Color Scheme for Theme \"%1\"")
|
||||
title(Tr::tr("Color Scheme for Theme \"%1\"")
|
||||
.arg(Utils::creatorTheme()->displayName())),
|
||||
Column {
|
||||
Row { m_schemeComboBox, m_copyButton, m_deleteButton, importButton, exportButton },
|
||||
@@ -525,9 +520,9 @@ void FontSettingsPageWidget::openCopyColorSchemeDialog()
|
||||
QInputDialog *dialog = new QInputDialog(m_copyButton->window());
|
||||
dialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||
dialog->setInputMode(QInputDialog::TextInput);
|
||||
dialog->setWindowTitle(tr("Copy Color Scheme"));
|
||||
dialog->setLabelText(tr("Color scheme name:"));
|
||||
dialog->setTextValue(tr("%1 (copy)").arg(m_value.colorScheme().displayName()));
|
||||
dialog->setWindowTitle(Tr::tr("Copy Color Scheme"));
|
||||
dialog->setLabelText(Tr::tr("Color scheme name:"));
|
||||
dialog->setTextValue(Tr::tr("%1 (copy)").arg(m_value.colorScheme().displayName()));
|
||||
|
||||
connect(dialog, &QInputDialog::textValueSelected, this, &FontSettingsPageWidget::copyColorScheme);
|
||||
dialog->open();
|
||||
@@ -572,14 +567,14 @@ void FontSettingsPageWidget::confirmDeleteColorScheme()
|
||||
return;
|
||||
|
||||
QMessageBox *messageBox = new QMessageBox(QMessageBox::Warning,
|
||||
tr("Delete Color Scheme"),
|
||||
tr("Are you sure you want to delete this color scheme permanently?"),
|
||||
Tr::tr("Delete Color Scheme"),
|
||||
Tr::tr("Are you sure you want to delete this color scheme permanently?"),
|
||||
QMessageBox::Discard | QMessageBox::Cancel,
|
||||
m_deleteButton->window());
|
||||
|
||||
// Change the text and role of the discard button
|
||||
auto deleteButton = static_cast<QPushButton*>(messageBox->button(QMessageBox::Discard));
|
||||
deleteButton->setText(tr("Delete"));
|
||||
deleteButton->setText(Tr::tr("Delete"));
|
||||
messageBox->addButton(deleteButton, QMessageBox::AcceptRole);
|
||||
messageBox->setDefaultButton(deleteButton);
|
||||
|
||||
@@ -604,9 +599,9 @@ void FontSettingsPageWidget::importScheme()
|
||||
{
|
||||
const FilePath importedFile
|
||||
= Utils::FileUtils::getOpenFilePath(this,
|
||||
tr("Import Color Scheme"),
|
||||
Tr::tr("Import Color Scheme"),
|
||||
{},
|
||||
tr("Color scheme (*.xml);;All files (*)"));
|
||||
Tr::tr("Color scheme (*.xml);;All files (*)"));
|
||||
|
||||
if (importedFile.isEmpty())
|
||||
return;
|
||||
@@ -617,8 +612,8 @@ void FontSettingsPageWidget::importScheme()
|
||||
QInputDialog *dialog = new QInputDialog(m_copyButton->window());
|
||||
dialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||
dialog->setInputMode(QInputDialog::TextInput);
|
||||
dialog->setWindowTitle(tr("Import Color Scheme"));
|
||||
dialog->setLabelText(tr("Color scheme name:"));
|
||||
dialog->setWindowTitle(Tr::tr("Import Color Scheme"));
|
||||
dialog->setLabelText(Tr::tr("Color scheme name:"));
|
||||
dialog->setTextValue(importedFile.baseName());
|
||||
|
||||
connect(dialog,
|
||||
@@ -653,9 +648,9 @@ void FontSettingsPageWidget::exportScheme()
|
||||
|
||||
const FilePath filePath
|
||||
= Utils::FileUtils::getSaveFilePath(this,
|
||||
tr("Export Color Scheme"),
|
||||
Tr::tr("Export Color Scheme"),
|
||||
entry.filePath,
|
||||
tr("Color scheme (*.xml);;All files (*)"));
|
||||
Tr::tr("Color scheme (*.xml);;All files (*)"));
|
||||
|
||||
if (!filePath.isEmpty())
|
||||
m_value.colorScheme().save(filePath, Core::ICore::dialogParent());
|
||||
@@ -668,15 +663,15 @@ void FontSettingsPageWidget::maybeSaveColorScheme()
|
||||
|
||||
QMessageBox
|
||||
messageBox(QMessageBox::Warning,
|
||||
tr("Color Scheme Changed"),
|
||||
tr("The color scheme \"%1\" was modified, do you want to save the changes?")
|
||||
Tr::tr("Color Scheme Changed"),
|
||||
Tr::tr("The color scheme \"%1\" was modified, do you want to save the changes?")
|
||||
.arg(m_schemeEdit->colorScheme().displayName()),
|
||||
QMessageBox::Discard | QMessageBox::Save,
|
||||
m_schemeComboBox->window());
|
||||
|
||||
// Change the text of the discard button
|
||||
auto discardButton = static_cast<QPushButton*>(messageBox.button(QMessageBox::Discard));
|
||||
discardButton->setText(tr("Discard"));
|
||||
discardButton->setText(Tr::tr("Discard"));
|
||||
messageBox.addButton(discardButton, QMessageBox::DestructiveRole);
|
||||
messageBox.setDefaultButton(QMessageBox::Save);
|
||||
|
||||
@@ -775,9 +770,9 @@ FontSettingsPage::FontSettingsPage(FontSettings *fontSettings, const FormatDescr
|
||||
fontSettings->loadColorScheme(FontSettings::defaultSchemeFileName(), fd);
|
||||
|
||||
setId(Constants::TEXT_EDITOR_FONT_SETTINGS);
|
||||
setDisplayName(FontSettingsPageWidget::tr("Font && Colors"));
|
||||
setDisplayName(Tr::tr("Font && Colors"));
|
||||
setCategory(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY);
|
||||
setDisplayCategory(QCoreApplication::translate("::TextEditor", "Text Editor"));
|
||||
setDisplayCategory(Tr::tr("Text Editor"));
|
||||
setCategoryIconPath(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY_ICON_PATH);
|
||||
setWidgetCreator([this, fontSettings, fd] { return new FontSettingsPageWidget(this, fd, fontSettings); });
|
||||
}
|
||||
|
@@ -7,11 +7,13 @@
|
||||
#include "tabsettings.h"
|
||||
#include "textdocumentlayout.h"
|
||||
#include "texteditor.h"
|
||||
#include "texteditortr.h"
|
||||
#include "texteditorsettings.h"
|
||||
|
||||
#include <coreplugin/editormanager/documentmodel.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/messagemanager.h>
|
||||
|
||||
#include <utils/mimeutils.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/stylehelper.h>
|
||||
@@ -229,7 +231,7 @@ void Highlighter::downloadDefinitions(std::function<void()> callback) {
|
||||
auto downloader =
|
||||
new KSyntaxHighlighting::DefinitionDownloader(highlightRepository());
|
||||
connect(downloader, &KSyntaxHighlighting::DefinitionDownloader::done, [downloader, callback]() {
|
||||
Core::MessageManager::writeFlashing(tr("Highlighter updates: done"));
|
||||
Core::MessageManager::writeFlashing(Tr::tr("Highlighter updates: done"));
|
||||
downloader->deleteLater();
|
||||
reload();
|
||||
if (callback)
|
||||
@@ -238,9 +240,9 @@ void Highlighter::downloadDefinitions(std::function<void()> callback) {
|
||||
connect(downloader,
|
||||
&KSyntaxHighlighting::DefinitionDownloader::informationMessage,
|
||||
[](const QString &message) {
|
||||
Core::MessageManager::writeSilently(tr("Highlighter updates:") + ' ' + message);
|
||||
Core::MessageManager::writeSilently(Tr::tr("Highlighter updates:") + ' ' + message);
|
||||
});
|
||||
Core::MessageManager::writeDisrupting(tr("Highlighter updates: starting"));
|
||||
Core::MessageManager::writeDisrupting(Tr::tr("Highlighter updates: starting"));
|
||||
downloader->start();
|
||||
}
|
||||
|
||||
|
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "highlightersettings.h"
|
||||
#include "highlighter.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
@@ -27,7 +28,6 @@ namespace Internal {
|
||||
|
||||
class HighlighterSettingsPageWidget : public QWidget
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(TextEditor::Internal::HighlighterSettingsPage)
|
||||
public:
|
||||
QLabel *definitionsInfolabel;
|
||||
QPushButton *downloadDefinitions;
|
||||
@@ -47,12 +47,12 @@ public:
|
||||
definitionsInfolabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
|
||||
definitionsInfolabel->setWordWrap(true);
|
||||
definitionsInfolabel->setOpenExternalLinks(true);
|
||||
definitionsInfolabel->setText(tr("<html><head/><body><p>Highlight definitions are provided by the "
|
||||
definitionsInfolabel->setText(Tr::tr("<html><head/><body><p>Highlight definitions are provided by the "
|
||||
"<a href=\"https://api.kde.org/frameworks/syntax-highlighting/html/index.html\">"
|
||||
"KSyntaxHighlighting</a> engine.</p></body></html>"));
|
||||
|
||||
downloadDefinitions = new QPushButton(tr("Download Definitions"));
|
||||
downloadDefinitions->setToolTip(tr("Download missing and update existing syntax definition files."));
|
||||
downloadDefinitions = new QPushButton(Tr::tr("Download Definitions"));
|
||||
downloadDefinitions->setToolTip(Tr::tr("Download missing and update existing syntax definition files."));
|
||||
|
||||
updateStatus = new QLabel;
|
||||
updateStatus->setObjectName("updateStatus");
|
||||
@@ -61,11 +61,11 @@ public:
|
||||
definitionFilesPath->setExpectedKind(PathChooser::ExistingDirectory);
|
||||
definitionFilesPath->setHistoryCompleter("TextEditor.Highlighter.History");
|
||||
|
||||
reloadDefinitions = new QPushButton(tr("Reload Definitions"));
|
||||
reloadDefinitions->setToolTip(tr("Reload externally modified definition files."));
|
||||
reloadDefinitions = new QPushButton(Tr::tr("Reload Definitions"));
|
||||
reloadDefinitions->setToolTip(Tr::tr("Reload externally modified definition files."));
|
||||
|
||||
resetCache = new QPushButton(tr("Reset Remembered Definitions"));
|
||||
resetCache->setToolTip(tr("Reset definitions remembered for files that can be "
|
||||
resetCache = new QPushButton(Tr::tr("Reset Remembered Definitions"));
|
||||
resetCache->setToolTip(Tr::tr("Reset definitions remembered for files that can be "
|
||||
"associated with more than one highlighter definition."));
|
||||
|
||||
ignoreEdit = new QLineEdit;
|
||||
@@ -75,15 +75,15 @@ public:
|
||||
definitionsInfolabel,
|
||||
Space(3),
|
||||
Group {
|
||||
title(tr("Syntax Highlight Definition Files")),
|
||||
title(Tr::tr("Syntax Highlight Definition Files")),
|
||||
Column {
|
||||
Row { downloadDefinitions, updateStatus, st },
|
||||
Row { tr("User Highlight Definition Files"),
|
||||
Row { Tr::tr("User Highlight Definition Files"),
|
||||
definitionFilesPath, reloadDefinitions },
|
||||
Row { st, resetCache }
|
||||
}
|
||||
},
|
||||
Row { tr("Ignored file patterns:"), ignoreEdit },
|
||||
Row { Tr::tr("Ignored file patterns:"), ignoreEdit },
|
||||
st
|
||||
}.attachTo(this);
|
||||
|
||||
@@ -91,7 +91,7 @@ public:
|
||||
[label = QPointer<QLabel>(updateStatus)]() {
|
||||
Highlighter::downloadDefinitions([label] {
|
||||
if (label)
|
||||
label->setText(tr("Download finished"));
|
||||
label->setText(Tr::tr("Download finished"));
|
||||
});
|
||||
});
|
||||
|
||||
@@ -110,8 +110,6 @@ using namespace Internal;
|
||||
|
||||
class HighlighterSettingsPagePrivate
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(TextEditor::Internal::HighlighterSettingsPage)
|
||||
|
||||
public:
|
||||
HighlighterSettingsPagePrivate() = default;
|
||||
|
||||
@@ -156,9 +154,9 @@ HighlighterSettingsPage::HighlighterSettingsPage()
|
||||
: d(new HighlighterSettingsPagePrivate)
|
||||
{
|
||||
setId(Constants::TEXT_EDITOR_HIGHLIGHTER_SETTINGS);
|
||||
setDisplayName(HighlighterSettingsPagePrivate::tr("Generic Highlighter"));
|
||||
setDisplayName(Tr::tr("Generic Highlighter"));
|
||||
setCategory(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY);
|
||||
setDisplayCategory(QCoreApplication::translate("::TextEditor", "Text Editor"));
|
||||
setDisplayCategory(Tr::tr("Text Editor"));
|
||||
setCategoryIconPath(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY_ICON_PATH);
|
||||
}
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "linenumberfilter.h"
|
||||
|
||||
#include "texteditor.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
@@ -18,16 +18,16 @@ using LineColumn = QPair<int, int>;
|
||||
Q_DECLARE_METATYPE(LineColumn)
|
||||
|
||||
using namespace Core;
|
||||
using namespace TextEditor;
|
||||
using namespace TextEditor::Internal;
|
||||
|
||||
namespace TextEditor::Internal {
|
||||
|
||||
LineNumberFilter::LineNumberFilter(QObject *parent)
|
||||
: ILocatorFilter(parent)
|
||||
{
|
||||
setId("Line in current document");
|
||||
setDisplayName(tr("Line in Current Document"));
|
||||
setDescription(tr("Jumps to the given line in the current document."));
|
||||
setDefaultSearchText(tr("<line>:<column>"));
|
||||
setDisplayName(Tr::tr("Line in Current Document"));
|
||||
setDescription(Tr::tr("Jumps to the given line in the current document."));
|
||||
setDefaultSearchText(Tr::tr("<line>:<column>"));
|
||||
setPriority(High);
|
||||
setDefaultShortcutString("l");
|
||||
setDefaultIncludedByDefault(true);
|
||||
@@ -59,11 +59,11 @@ QList<LocatorFilterEntry> LineNumberFilter::matchesFor(QFutureInterface<LocatorF
|
||||
data.second = column - 1; // column API is 0-based
|
||||
QString text;
|
||||
if (line > 0 && column > 0)
|
||||
text = tr("Line %1, Column %2").arg(line).arg(column);
|
||||
text = Tr::tr("Line %1, Column %2").arg(line).arg(column);
|
||||
else if (line > 0)
|
||||
text = tr("Line %1").arg(line);
|
||||
text = Tr::tr("Line %1").arg(line);
|
||||
else
|
||||
text = tr("Column %1").arg(column);
|
||||
text = Tr::tr("Column %1").arg(column);
|
||||
value.append(LocatorFilterEntry(this, text, QVariant::fromValue(data)));
|
||||
}
|
||||
return value;
|
||||
@@ -85,3 +85,5 @@ void LineNumberFilter::accept(const LocatorFilterEntry &selection,
|
||||
EditorManager::activateEditor(editor);
|
||||
}
|
||||
}
|
||||
|
||||
} // TextEditor::Internal
|
||||
|
@@ -2,6 +2,9 @@
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "outlinefactory.h"
|
||||
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
@@ -10,11 +13,10 @@
|
||||
#include <utils/utilsicons.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QToolButton>
|
||||
#include <QDebug>
|
||||
#include <QLabel>
|
||||
#include <QStackedWidget>
|
||||
|
||||
#include <QDebug>
|
||||
#include <QToolButton>
|
||||
|
||||
namespace TextEditor {
|
||||
|
||||
@@ -43,7 +45,7 @@ OutlineWidgetStack::OutlineWidgetStack(OutlineFactory *factory) :
|
||||
m_syncWithEditor(true),
|
||||
m_sorted(false)
|
||||
{
|
||||
QLabel *label = new QLabel(tr("No outline available"), this);
|
||||
QLabel *label = new QLabel(Tr::tr("No outline available"), this);
|
||||
label->setAlignment(Qt::AlignCenter);
|
||||
|
||||
// set background to be white
|
||||
@@ -56,7 +58,7 @@ OutlineWidgetStack::OutlineWidgetStack(OutlineFactory *factory) :
|
||||
m_toggleSync->setIcon(Utils::Icons::LINK_TOOLBAR.icon());
|
||||
m_toggleSync->setCheckable(true);
|
||||
m_toggleSync->setChecked(true);
|
||||
m_toggleSync->setToolTip(tr("Synchronize with Editor"));
|
||||
m_toggleSync->setToolTip(Tr::tr("Synchronize with Editor"));
|
||||
connect(m_toggleSync, &QAbstractButton::clicked,
|
||||
this, &OutlineWidgetStack::toggleCursorSynchronization);
|
||||
|
||||
@@ -66,7 +68,7 @@ OutlineWidgetStack::OutlineWidgetStack(OutlineFactory *factory) :
|
||||
// did not have a parent in that moment.
|
||||
|
||||
m_filterButton->setIcon(Utils::Icons::FILTER.icon());
|
||||
m_filterButton->setToolTip(tr("Filter tree"));
|
||||
m_filterButton->setToolTip(Tr::tr("Filter tree"));
|
||||
m_filterButton->setPopupMode(QToolButton::InstantPopup);
|
||||
m_filterButton->setProperty("noArrow", true);
|
||||
m_filterMenu = new QMenu(m_filterButton);
|
||||
@@ -76,7 +78,7 @@ OutlineWidgetStack::OutlineWidgetStack(OutlineFactory *factory) :
|
||||
m_toggleSort->setIcon(Utils::Icons::SORT_ALPHABETICALLY_TOOLBAR.icon());
|
||||
m_toggleSort->setCheckable(true);
|
||||
m_toggleSort->setChecked(false);
|
||||
m_toggleSort->setToolTip(tr("Sort Alphabetically"));
|
||||
m_toggleSort->setToolTip(Tr::tr("Sort Alphabetically"));
|
||||
connect(m_toggleSort, &QAbstractButton::clicked, this, &OutlineWidgetStack::toggleSort);
|
||||
|
||||
connect(Core::EditorManager::instance(), &Core::EditorManager::currentEditorChanged,
|
||||
@@ -201,7 +203,7 @@ OutlineFactory::OutlineFactory()
|
||||
{
|
||||
QTC_CHECK(g_outlineFactory.isNull());
|
||||
g_outlineFactory = this;
|
||||
setDisplayName(tr("Outline"));
|
||||
setDisplayName(Tr::tr("Outline"));
|
||||
setId("Outline");
|
||||
setPriority(600);
|
||||
}
|
||||
|
@@ -2,24 +2,24 @@
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "refactoringchanges.h"
|
||||
#include "texteditor.h"
|
||||
#include "textdocument.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include "textdocument.h"
|
||||
#include "texteditor.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <coreplugin/dialogs/readonlyfilesdialog.h>
|
||||
#include <coreplugin/documentmanager.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QFile>
|
||||
#include <QFileInfo>
|
||||
#include <QTextBlock>
|
||||
#include <QTextCursor>
|
||||
#include <QTextDocument>
|
||||
#include <QDebug>
|
||||
#include <QApplication>
|
||||
|
||||
using namespace Core;
|
||||
using namespace Utils;
|
||||
@@ -297,9 +297,7 @@ bool RefactoringFile::apply()
|
||||
// test file permissions
|
||||
if (!m_filePath.toFileInfo().isWritable()) {
|
||||
ReadOnlyFilesDialog roDialog(m_filePath, ICore::dialogParent());
|
||||
const QString &failDetailText = QApplication::translate("RefactoringFile::apply",
|
||||
"Refactoring cannot be applied.");
|
||||
roDialog.setShowFailWarning(true, failDetailText);
|
||||
roDialog.setShowFailWarning(true, Tr::tr("Refactoring cannot be applied."));
|
||||
if (roDialog.exec() == ReadOnlyFilesDialog::RO_Cancel)
|
||||
return false;
|
||||
}
|
||||
|
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "snippet.h"
|
||||
|
||||
#include "../texteditortr.h"
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/macroexpander.h>
|
||||
#include <utils/qtcassert.h>
|
||||
@@ -10,7 +12,7 @@
|
||||
|
||||
#include <QTextDocument>
|
||||
|
||||
using namespace TextEditor;
|
||||
namespace TextEditor {
|
||||
|
||||
const char UCMANGLER_ID[] = "TextEditor::UppercaseMangler";
|
||||
const char LCMANGLER_ID[] = "TextEditor::LowercaseMangler";
|
||||
@@ -221,7 +223,7 @@ SnippetParseResult Snippet::parse(const QString &snippet)
|
||||
}
|
||||
|
||||
if (mangler) {
|
||||
return SnippetParseResult{SnippetParseError{tr("Expected delimiter after mangler ID."),
|
||||
return SnippetParseResult{SnippetParseError{Tr::tr("Expected delimiter after mangler ID."),
|
||||
preprocessedSnippet,
|
||||
i}};
|
||||
}
|
||||
@@ -236,7 +238,7 @@ SnippetParseResult Snippet::parse(const QString &snippet)
|
||||
mangler = &tcMangler;
|
||||
} else {
|
||||
return SnippetParseResult{
|
||||
SnippetParseError{tr("Expected mangler ID \"l\" (lowercase), \"u\" (uppercase), "
|
||||
SnippetParseError{Tr::tr("Expected mangler ID \"l\" (lowercase), \"u\" (uppercase), "
|
||||
"or \"c\" (titlecase) after colon."),
|
||||
preprocessedSnippet,
|
||||
i}};
|
||||
@@ -259,7 +261,7 @@ SnippetParseResult Snippet::parse(const QString &snippet)
|
||||
|
||||
if (inVar) {
|
||||
return SnippetParseResult{
|
||||
SnippetParseError{tr("Missing closing variable delimiter for:"), currentPart.text, 0}};
|
||||
SnippetParseError{Tr::tr("Missing closing variable delimiter for:"), currentPart.text, 0}};
|
||||
}
|
||||
|
||||
if (!currentPart.text.isEmpty())
|
||||
@@ -268,6 +270,10 @@ SnippetParseResult Snippet::parse(const QString &snippet)
|
||||
return SnippetParseResult(result);
|
||||
}
|
||||
|
||||
} // Texteditor
|
||||
|
||||
using namespace TextEditor;
|
||||
|
||||
#ifdef WITH_TESTS
|
||||
# include <QTest>
|
||||
|
||||
|
@@ -16,7 +16,6 @@ namespace TextEditor {
|
||||
|
||||
class TEXTEDITOR_EXPORT Snippet
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(Snippet)
|
||||
public:
|
||||
explicit Snippet(const QString &groupId = QString(), const QString &id = QString());
|
||||
~Snippet();
|
||||
|
@@ -2,17 +2,19 @@
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "snippetscollection.h"
|
||||
|
||||
#include "snippetprovider.h"
|
||||
#include "reuse.h"
|
||||
#include "../texteditortr.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/fileutils.h>
|
||||
|
||||
#include <QLatin1String>
|
||||
#include <QFile>
|
||||
#include <QFileInfo>
|
||||
#include <QDir>
|
||||
#include <QDebug>
|
||||
#include <QXmlStreamReader>
|
||||
@@ -282,7 +284,7 @@ void SnippetsCollection::reload()
|
||||
bool SnippetsCollection::synchronize(QString *errorString)
|
||||
{
|
||||
if (!m_userSnippetsFile.parentDir().ensureWritableDir()) {
|
||||
*errorString = tr("Cannot create user snippet directory %1")
|
||||
*errorString = Tr::tr("Cannot create user snippet directory %1")
|
||||
.arg(m_userSnippetsFile.parentDir().toUserOutput());
|
||||
return false;
|
||||
}
|
||||
@@ -354,8 +356,7 @@ QList<Snippet> SnippetsCollection::readXML(const FilePath &fileName, const QStri
|
||||
} else if (isGroupKnown(groupId) && (snippetId.isEmpty() || snippetId == id)) {
|
||||
Snippet snippet(groupId, id);
|
||||
snippet.setTrigger(trigger);
|
||||
snippet.setComplement(QCoreApplication::translate(
|
||||
"TextEditor::Internal::Snippets",
|
||||
snippet.setComplement(QCoreApplication::translate("::TextEditor",
|
||||
atts.value(kComplement).toString().toLatin1(),
|
||||
atts.value(kId).toString().toLatin1()));
|
||||
snippet.setIsRemoved(toBool(atts.value(kRemoved).toString()));
|
||||
|
@@ -2,18 +2,22 @@
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "snippetssettingspage.h"
|
||||
|
||||
#include "snippeteditor.h"
|
||||
#include "snippetprovider.h"
|
||||
#include "snippet.h"
|
||||
#include "snippetscollection.h"
|
||||
#include "snippetssettings.h"
|
||||
#include "../fontsettings.h"
|
||||
#include "../textdocument.h"
|
||||
#include "../texteditorconstants.h"
|
||||
#include "../texteditorsettings.h"
|
||||
#include "../texteditortr.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <texteditor/fontsettings.h>
|
||||
#include <texteditor/textdocument.h>
|
||||
#include <texteditor/texteditorconstants.h>
|
||||
#include <texteditor/texteditorsettings.h>
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
#include <utils/headerviewstretcher.h>
|
||||
#include <utils/itemviews.h>
|
||||
#include <utils/layoutbuilder.h>
|
||||
@@ -118,8 +122,8 @@ bool SnippetsTableModel::setData(const QModelIndex &modelIndex, const QVariant &
|
||||
if (!Snippet::isValidTrigger(s)) {
|
||||
QMessageBox::critical(
|
||||
Core::ICore::dialogParent(),
|
||||
tr("Error"),
|
||||
tr("Not a valid trigger. A valid trigger can only contain letters, "
|
||||
Tr::tr("Error"),
|
||||
Tr::tr("Not a valid trigger. A valid trigger can only contain letters, "
|
||||
"numbers, or underscores, where the first character is "
|
||||
"limited to letter or underscore."));
|
||||
if (snippet.trigger().isEmpty())
|
||||
@@ -143,9 +147,9 @@ QVariant SnippetsTableModel::headerData(int section, Qt::Orientation orientation
|
||||
return QVariant();
|
||||
|
||||
if (section == 0)
|
||||
return tr("Trigger");
|
||||
return Tr::tr("Trigger");
|
||||
else
|
||||
return tr("Trigger Variant");
|
||||
return Tr::tr("Trigger Variant");
|
||||
}
|
||||
|
||||
void SnippetsTableModel::load(const QString &groupId)
|
||||
@@ -197,8 +201,8 @@ void SnippetsTableModel::revertBuitInSnippet(const QModelIndex &modelIndex)
|
||||
{
|
||||
const Snippet &snippet = m_collection->revertedSnippet(modelIndex.row(), m_activeGroupId);
|
||||
if (snippet.id().isEmpty()) {
|
||||
QMessageBox::critical(Core::ICore::dialogParent(), tr("Error"),
|
||||
tr("Error reverting snippet."));
|
||||
QMessageBox::critical(Core::ICore::dialogParent(), Tr::tr("Error"),
|
||||
Tr::tr("Error reverting snippet."));
|
||||
return;
|
||||
}
|
||||
replaceSnippet(snippet, modelIndex);
|
||||
@@ -243,8 +247,6 @@ void SnippetsTableModel::replaceSnippet(const Snippet &snippet, const QModelInde
|
||||
// SnippetsSettingsPagePrivate
|
||||
class SnippetsSettingsPagePrivate : public QObject
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(TextEditor::Internal::SnippetsSettingsPage)
|
||||
|
||||
public:
|
||||
SnippetsSettingsPagePrivate();
|
||||
~SnippetsSettingsPagePrivate() override { delete m_model; }
|
||||
@@ -321,7 +323,7 @@ void SnippetsSettingsPagePrivate::configureUi(QWidget *w)
|
||||
m_snippetsTable->setRootIsDecorated(false);
|
||||
m_snippetsTable->setModel(m_model);
|
||||
|
||||
m_revertButton = new QPushButton(tr("Revert Built-in"));
|
||||
m_revertButton = new QPushButton(Tr::tr("Revert Built-in"));
|
||||
m_revertButton->setEnabled(false);
|
||||
|
||||
auto snippetSplitter = new QSplitter(Qt::Vertical);
|
||||
@@ -332,18 +334,18 @@ void SnippetsSettingsPagePrivate::configureUi(QWidget *w)
|
||||
|
||||
using namespace Utils::Layouting;
|
||||
Column {
|
||||
Row { tr("Group:"), m_groupCombo, st },
|
||||
Row { Tr::tr("Group:"), m_groupCombo, st },
|
||||
Row {
|
||||
snippetSplitter,
|
||||
Column {
|
||||
PushButton { text(tr("Add")),
|
||||
PushButton { text(Tr::tr("Add")),
|
||||
onClicked([this] { addSnippet(); }, this) },
|
||||
PushButton { text(tr("Remove")),
|
||||
PushButton { text(Tr::tr("Remove")),
|
||||
onClicked([this] { removeSnippet(); }, this) },
|
||||
m_revertButton,
|
||||
PushButton { text(tr("Restore Removed Built-ins")),
|
||||
PushButton { text(Tr::tr("Restore Removed Built-ins")),
|
||||
onClicked([this] { restoreRemovedBuiltInSnippets(); }, this) },
|
||||
PushButton { text(tr("Reset All")),
|
||||
PushButton { text(Tr::tr("Reset All")),
|
||||
onClicked([this] { resetAllSnippets(); }, this) },
|
||||
st,
|
||||
}
|
||||
@@ -395,7 +397,7 @@ void SnippetsSettingsPagePrivate::apply()
|
||||
m_snippetsCollectionChanged = false;
|
||||
} else {
|
||||
QMessageBox::critical(Core::ICore::dialogParent(),
|
||||
tr("Error While Saving Snippet Collection"), errorString);
|
||||
Tr::tr("Error While Saving Snippet Collection"), errorString);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -467,7 +469,7 @@ void SnippetsSettingsPagePrivate::removeSnippet()
|
||||
{
|
||||
const QModelIndex &modelIndex = m_snippetsTable->selectionModel()->currentIndex();
|
||||
if (!modelIndex.isValid()) {
|
||||
QMessageBox::critical(Core::ICore::dialogParent(), tr("Error"), tr("No snippet selected."));
|
||||
QMessageBox::critical(Core::ICore::dialogParent(), Tr::tr("Error"), Tr::tr("No snippet selected."));
|
||||
return;
|
||||
}
|
||||
m_model->removeSnippet(modelIndex);
|
||||
@@ -546,13 +548,14 @@ void SnippetsSettingsPagePrivate::decorateEditors(const TextEditor::FontSettings
|
||||
}
|
||||
|
||||
// SnippetsSettingsPage
|
||||
|
||||
SnippetsSettingsPage::SnippetsSettingsPage()
|
||||
: d(new SnippetsSettingsPagePrivate)
|
||||
{
|
||||
setId(Constants::TEXT_EDITOR_SNIPPETS_SETTINGS);
|
||||
setDisplayName(SnippetsSettingsPagePrivate::tr("Snippets"));
|
||||
setDisplayName(Tr::tr("Snippets"));
|
||||
setCategory(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY);
|
||||
setDisplayCategory(QCoreApplication::translate("::TextEditor", "Text Editor"));
|
||||
setDisplayCategory(Tr::tr("Text Editor"));
|
||||
setCategoryIconPath(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY_ICON_PATH);
|
||||
}
|
||||
|
||||
|
@@ -4,6 +4,7 @@
|
||||
#include "tabsettingswidget.h"
|
||||
|
||||
#include "tabsettings.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QComboBox>
|
||||
@@ -18,7 +19,7 @@ namespace TextEditor {
|
||||
QString continuationTooltip()
|
||||
{
|
||||
// FIXME: This is unfair towards translators.
|
||||
return QCoreApplication::translate("TextEditor::TabSettingsWidget",
|
||||
return Tr::tr(
|
||||
"<html><head/><body>\n"
|
||||
"Influences the indentation of continuation lines.\n"
|
||||
"\n"
|
||||
@@ -50,37 +51,37 @@ TabSettingsWidget::TabSettingsWidget(QWidget *parent) :
|
||||
QGroupBox(parent)
|
||||
{
|
||||
resize(254, 189);
|
||||
setTitle(tr("Tabs And Indentation"));
|
||||
setTitle(Tr::tr("Tabs And Indentation"));
|
||||
|
||||
m_codingStyleWarning = new QLabel(
|
||||
tr("<i>Code indentation is configured in <a href=\"C++\">C++</a> "
|
||||
Tr::tr("<i>Code indentation is configured in <a href=\"C++\">C++</a> "
|
||||
"and <a href=\"QtQuick\">Qt Quick</a> settings.</i>"));
|
||||
m_codingStyleWarning->setVisible(false);
|
||||
m_codingStyleWarning->setWordWrap(true);
|
||||
m_codingStyleWarning->setToolTip(
|
||||
tr("The text editor indentation setting is used for non-code files only. See the C++ "
|
||||
Tr::tr("The text editor indentation setting is used for non-code files only. See the C++ "
|
||||
"and Qt Quick coding style settings to configure indentation for code files."));
|
||||
|
||||
m_tabPolicy = new QComboBox(this);
|
||||
m_tabPolicy->setMinimumContentsLength(28);
|
||||
m_tabPolicy->addItem(tr("Spaces Only"));
|
||||
m_tabPolicy->addItem(tr("Tabs Only"));
|
||||
m_tabPolicy->addItem(tr("Mixed"));
|
||||
m_tabPolicy->addItem(Tr::tr("Spaces Only"));
|
||||
m_tabPolicy->addItem(Tr::tr("Tabs Only"));
|
||||
m_tabPolicy->addItem(Tr::tr("Mixed"));
|
||||
|
||||
auto tabSizeLabel = new QLabel(tr("Ta&b size:"));
|
||||
auto tabSizeLabel = new QLabel(Tr::tr("Ta&b size:"));
|
||||
|
||||
m_tabSize = new QSpinBox(this);
|
||||
m_tabSize->setRange(1, 20);
|
||||
|
||||
auto indentSizeLabel = new QLabel(tr("&Indent size:"));
|
||||
auto indentSizeLabel = new QLabel(Tr::tr("&Indent size:"));
|
||||
|
||||
m_indentSize = new QSpinBox(this);
|
||||
m_indentSize->setRange(1, 20);
|
||||
|
||||
m_continuationAlignBehavior = new QComboBox;
|
||||
m_continuationAlignBehavior->addItem(tr("Not At All"));
|
||||
m_continuationAlignBehavior->addItem(tr("With Spaces"));
|
||||
m_continuationAlignBehavior->addItem(tr("With Regular Indent"));
|
||||
m_continuationAlignBehavior->addItem(Tr::tr("Not At All"));
|
||||
m_continuationAlignBehavior->addItem(Tr::tr("With Spaces"));
|
||||
m_continuationAlignBehavior->addItem(Tr::tr("With Regular Indent"));
|
||||
m_continuationAlignBehavior->setToolTip(continuationTooltip());
|
||||
|
||||
tabSizeLabel->setBuddy(m_tabSize);
|
||||
@@ -91,10 +92,10 @@ TabSettingsWidget::TabSettingsWidget(QWidget *parent) :
|
||||
|
||||
Column {
|
||||
m_codingStyleWarning,
|
||||
tr("Tab policy:"),
|
||||
Tr::tr("Tab policy:"),
|
||||
indent(m_tabPolicy),
|
||||
Row { tabSizeLabel, m_tabSize, indentSizeLabel, m_indentSize, st },
|
||||
tr("Align continuation lines:"),
|
||||
Tr::tr("Align continuation lines:"),
|
||||
indent(m_continuationAlignBehavior)
|
||||
}.attachTo(this);
|
||||
|
||||
|
@@ -10,31 +10,31 @@
|
||||
#include "tabsettings.h"
|
||||
#include "textdocumentlayout.h"
|
||||
#include "texteditor.h"
|
||||
#include "texteditorconstants.h"
|
||||
#include "texteditortr.h"
|
||||
#include "textindenter.h"
|
||||
#include "typingsettings.h"
|
||||
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/diffservice.h>
|
||||
#include <coreplugin/editormanager/documentmodel.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/progressmanager/progressmanager.h>
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
#include <utils/guard.h>
|
||||
#include <utils/mimeutils.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/textutils.h>
|
||||
|
||||
#include <QAction>
|
||||
#include <QApplication>
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
#include <QFutureInterface>
|
||||
#include <QScrollBar>
|
||||
#include <QStringList>
|
||||
#include <QTextCodec>
|
||||
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/progressmanager/progressmanager.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
using namespace Core;
|
||||
using namespace Utils;
|
||||
|
||||
@@ -368,7 +368,7 @@ QAction *TextDocument::createDiffAgainstCurrentFileAction(
|
||||
if (diffService && !leftFilePath.isEmpty() && !rightFilePath.isEmpty())
|
||||
diffService->diffFiles(leftFilePath, rightFilePath);
|
||||
};
|
||||
auto diffAction = new QAction(tr("Diff Against Current File"), parent);
|
||||
auto diffAction = new QAction(Tr::tr("Diff Against Current File"), parent);
|
||||
QObject::connect(diffAction, &QAction::triggered, parent, diffAgainstCurrentFile);
|
||||
return diffAction;
|
||||
}
|
||||
@@ -770,7 +770,7 @@ Core::IDocument::OpenResult TextDocument::openImpl(QString *errorString,
|
||||
} else if (chunks > 1) {
|
||||
QFutureInterface<void> interface;
|
||||
interface.setProgressRange(0, chunks);
|
||||
ProgressManager::addTask(interface.future(), tr("Opening File"),
|
||||
ProgressManager::addTask(interface.future(), Tr::tr("Opening File"),
|
||||
Constants::TASK_OPEN_FILE);
|
||||
interface.reportStarted();
|
||||
|
||||
|
@@ -2,22 +2,24 @@
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "texteditor.h"
|
||||
#include "texteditor_p.h"
|
||||
#include "displaysettings.h"
|
||||
#include "marginsettings.h"
|
||||
#include "fontsettings.h"
|
||||
#include "texteditoractionhandler.h"
|
||||
|
||||
#include "autocompleter.h"
|
||||
#include "basehoverhandler.h"
|
||||
#include "behaviorsettings.h"
|
||||
#include "circularclipboard.h"
|
||||
#include "circularclipboardassist.h"
|
||||
#include "codeassist/assistinterface.h"
|
||||
#include "codeassist/codeassistant.h"
|
||||
#include "codeassist/completionassistprovider.h"
|
||||
#include "codeassist/documentcontentcompletion.h"
|
||||
#include "completionsettings.h"
|
||||
#include "displaysettings.h"
|
||||
#include "extraencodingsettings.h"
|
||||
#include "fontsettings.h"
|
||||
#include "highlighter.h"
|
||||
#include "highlightersettings.h"
|
||||
#include "icodestylepreferences.h"
|
||||
#include "marginsettings.h"
|
||||
#include "refactoroverlay.h"
|
||||
#include "snippets/snippetoverlay.h"
|
||||
#include "storagesettings.h"
|
||||
@@ -25,17 +27,16 @@
|
||||
#include "tabsettings.h"
|
||||
#include "textdocument.h"
|
||||
#include "textdocumentlayout.h"
|
||||
#include "texteditor_p.h"
|
||||
#include "texteditoractionhandler.h"
|
||||
#include "texteditorconstants.h"
|
||||
#include "texteditoroverlay.h"
|
||||
#include "texteditorsettings.h"
|
||||
#include "texteditortr.h"
|
||||
#include "typingsettings.h"
|
||||
|
||||
#include <texteditor/codeassist/assistinterface.h>
|
||||
#include <texteditor/codeassist/codeassistant.h>
|
||||
#include <texteditor/codeassist/completionassistprovider.h>
|
||||
#include <texteditor/codeassist/documentcontentcompletion.h>
|
||||
|
||||
#include <aggregation/aggregate.h>
|
||||
|
||||
#include <coreplugin/actionmanager/actioncontainer.h>
|
||||
#include <coreplugin/actionmanager/actionmanager.h>
|
||||
#include <coreplugin/actionmanager/command.h>
|
||||
@@ -45,6 +46,7 @@
|
||||
#include <coreplugin/find/highlightscrollbarcontroller.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/manhattanstyle.h>
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/camelcasecursor.h>
|
||||
#include <utils/dropsupport.h>
|
||||
@@ -153,7 +155,7 @@ public:
|
||||
: FixedSizeClickLabel(parent)
|
||||
, m_editor(parent)
|
||||
{
|
||||
setMaxText(TextEditorWidget::tr("Line: 9999, Col: 999"));
|
||||
setMaxText(Tr::tr("Line: 9999, Col: 999"));
|
||||
connect(m_editor, &QPlainTextEdit::cursorPositionChanged, this, &LineColumnLabel::update);
|
||||
connect(this, &FixedSizeClickLabel::clicked, ActionManager::instance(), [this] {
|
||||
emit m_editor->activateEditor(EditorManager::IgnoreNavigationHistory);
|
||||
@@ -174,9 +176,9 @@ private:
|
||||
const int line = block.blockNumber() + 1;
|
||||
const TabSettings &tabSettings = m_editor->textDocument()->tabSettings();
|
||||
const int column = tabSettings.columnAt(block.text(), cursor.positionInBlock()) + 1;
|
||||
const QString text = TextEditorWidget::tr("Line: %1, Col: %2");
|
||||
const QString text = Tr::tr("Line: %1, Col: %2");
|
||||
setText(text.arg(line).arg(column));
|
||||
const QString toolTipText = TextEditorWidget::tr("Cursor position: %1");
|
||||
const QString toolTipText = Tr::tr("Cursor position: %1");
|
||||
setToolTip(toolTipText.arg(QString::number(cursor.position())));
|
||||
QFont f = font();
|
||||
f.setItalic(m_editor->multiTextCursor().hasMultipleCursors());
|
||||
@@ -1056,7 +1058,7 @@ static QLayout *createSeparatorLayout()
|
||||
|
||||
QFrame* separator1 = createSeparator(styleSheet);
|
||||
QFrame* separator2 = createSeparator(styleSheet);
|
||||
auto label = new QLabel(TextEditorWidget::tr("Other annotations"));
|
||||
auto label = new QLabel(Tr::tr("Other annotations"));
|
||||
label->setStyleSheet(styleSheet);
|
||||
|
||||
auto layout = new QHBoxLayout;
|
||||
@@ -1333,7 +1335,7 @@ void TextEditorWidget::print(QPrinter *printer)
|
||||
const bool oldFullPage = printer->fullPage();
|
||||
printer->setFullPage(true);
|
||||
auto dlg = new QPrintDialog(printer, this);
|
||||
dlg->setWindowTitle(tr("Print Document"));
|
||||
dlg->setWindowTitle(Tr::tr("Print Document"));
|
||||
if (dlg->exec() == QDialog::Accepted)
|
||||
d->print(printer);
|
||||
printer->setFullPage(oldFullPage);
|
||||
@@ -1653,7 +1655,7 @@ void TextEditorWidget::selectEncoding()
|
||||
case CodecSelector::Reload: {
|
||||
QString errorString;
|
||||
if (!doc->reload(&errorString, codecSelector.selectedCodec())) {
|
||||
QMessageBox::critical(this, tr("File Error"), errorString);
|
||||
QMessageBox::critical(this, Tr::tr("File Error"), errorString);
|
||||
break;
|
||||
}
|
||||
break; }
|
||||
@@ -1690,7 +1692,7 @@ void TextEditorWidget::updateTextCodecLabel()
|
||||
|
||||
QString TextEditorWidget::msgTextTooLarge(quint64 size)
|
||||
{
|
||||
return tr("The text is too large to be displayed (%1 MB).").
|
||||
return Tr::tr("The text is too large to be displayed (%1 MB).").
|
||||
arg(size >> 20);
|
||||
}
|
||||
|
||||
@@ -1720,9 +1722,9 @@ void TextEditorWidgetPrivate::updateCannotDecodeInfo()
|
||||
if (!infoBar->canInfoBeAdded(selectEncodingId))
|
||||
return;
|
||||
InfoBarEntry info(selectEncodingId,
|
||||
TextEditorWidget::tr("<b>Error:</b> Could not decode \"%1\" with \"%2\"-encoding. Editing not possible.")
|
||||
Tr::tr("<b>Error:</b> Could not decode \"%1\" with \"%2\"-encoding. Editing not possible.")
|
||||
.arg(m_document->displayName(), QString::fromLatin1(m_document->codec()->name())));
|
||||
info.addCustomButton(TextEditorWidget::tr("Select Encoding"), [this] { q->selectEncoding(); });
|
||||
info.addCustomButton(Tr::tr("Select Encoding"), [this] { q->selectEncoding(); });
|
||||
infoBar->addInfo(info);
|
||||
} else {
|
||||
infoBar->removeInfo(selectEncodingId);
|
||||
@@ -2876,7 +2878,7 @@ void TextEditorWidget::insertCodeSnippet(const QTextCursor &cursor_arg,
|
||||
SnippetParseResult result = parse(snippet);
|
||||
if (std::holds_alternative<SnippetParseError>(result)) {
|
||||
const auto &error = std::get<SnippetParseError>(result);
|
||||
QMessageBox::warning(this, tr("Snippet Parse Error"), error.htmlMessage());
|
||||
QMessageBox::warning(this, Tr::tr("Snippet Parse Error"), error.htmlMessage());
|
||||
return;
|
||||
}
|
||||
QTC_ASSERT(std::holds_alternative<ParsedSnippet>(result), return);
|
||||
@@ -3367,10 +3369,10 @@ void TextEditorWidgetPrivate::updateSyntaxInfoBar(const Highlighter::Definitions
|
||||
if (definitions.isEmpty() && infoBar->canInfoBeAdded(missing)
|
||||
&& !TextEditorSettings::highlighterSettings().isIgnoredFilePattern(fileName)) {
|
||||
InfoBarEntry info(missing,
|
||||
BaseTextEditor::tr("A highlight definition was not found for this file. "
|
||||
Tr::tr("A highlight definition was not found for this file. "
|
||||
"Would you like to download additional highlight definition files?"),
|
||||
InfoBarEntry::GlobalSuppression::Enabled);
|
||||
info.addCustomButton(BaseTextEditor::tr("Download Definitions"), [missing, this]() {
|
||||
info.addCustomButton(Tr::tr("Download Definitions"), [missing, this]() {
|
||||
m_document->infoBar()->removeInfo(missing);
|
||||
Highlighter::downloadDefinitions();
|
||||
});
|
||||
@@ -3379,14 +3381,14 @@ void TextEditorWidgetPrivate::updateSyntaxInfoBar(const Highlighter::Definitions
|
||||
infoBar->addInfo(info);
|
||||
} else if (definitions.size() > 1) {
|
||||
InfoBarEntry info(multiple,
|
||||
BaseTextEditor::tr("More than one highlight definition was found for this file. "
|
||||
Tr::tr("More than one highlight definition was found for this file. "
|
||||
"Which one should be used to highlight this file?"));
|
||||
info.setComboInfo(Utils::transform(definitions, &Highlighter::Definition::name),
|
||||
[this](const InfoBarEntry::ComboInfo &info) {
|
||||
this->configureGenericHighlighter(Highlighter::definitionForName(info.displayText));
|
||||
});
|
||||
|
||||
info.addCustomButton(BaseTextEditor::tr("Remember My Choice"), [multiple, this]() {
|
||||
info.addCustomButton(Tr::tr("Remember My Choice"), [multiple, this]() {
|
||||
m_document->infoBar()->removeInfo(multiple);
|
||||
rememberCurrentSyntaxDefinition();
|
||||
});
|
||||
@@ -6316,8 +6318,7 @@ void TextEditorWidget::wheelEvent(QWheelEvent *e)
|
||||
static void showZoomIndicator(QWidget *editor, const int newZoom)
|
||||
{
|
||||
Utils::FadingIndicator::showText(editor,
|
||||
QCoreApplication::translate("TextEditor::TextEditorWidget",
|
||||
"Zoom: %1%").arg(newZoom),
|
||||
Tr::tr("Zoom: %1%").arg(newZoom),
|
||||
Utils::FadingIndicator::SmallText);
|
||||
}
|
||||
|
||||
@@ -8077,8 +8078,8 @@ void TextEditorWidget::appendStandardContextMenuActions(QMenu *menu)
|
||||
TextDocument *doc = textDocument();
|
||||
if (doc->codec()->name() == QByteArray("UTF-8") && doc->supportsUtf8Bom()) {
|
||||
a->setVisible(true);
|
||||
a->setText(doc->format().hasUtf8Bom ? tr("Delete UTF-8 BOM on Save")
|
||||
: tr("Add UTF-8 BOM on Save"));
|
||||
a->setText(doc->format().hasUtf8Bom ? Tr::tr("Delete UTF-8 BOM on Save")
|
||||
: Tr::tr("Add UTF-8 BOM on Save"));
|
||||
} else {
|
||||
a->setVisible(false);
|
||||
}
|
||||
|
@@ -7,8 +7,8 @@
|
||||
#include "displaysettings.h"
|
||||
#include "fontsettings.h"
|
||||
#include "linenumberfilter.h"
|
||||
#include "texteditorconstants.h"
|
||||
#include "texteditorplugin.h"
|
||||
#include "texteditortr.h"
|
||||
#include "texteditorsettings.h"
|
||||
|
||||
#include <aggregation/aggregate.h>
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <coreplugin/actionmanager/actionmanager.h>
|
||||
#include <coreplugin/actionmanager/actioncontainer.h>
|
||||
#include <coreplugin/actionmanager/command.h>
|
||||
|
||||
#include <utils/hostosinfo.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
@@ -33,8 +34,6 @@ namespace Internal {
|
||||
|
||||
class TextEditorActionHandlerPrivate : public QObject
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(TextEditor::Internal::TextEditorActionHandler)
|
||||
|
||||
public:
|
||||
TextEditorActionHandlerPrivate(Utils::Id editorId, Utils::Id contextId, uint optionalActions);
|
||||
|
||||
@@ -147,9 +146,9 @@ void TextEditorActionHandlerPrivate::createActions()
|
||||
using namespace TextEditor::Constants;
|
||||
|
||||
m_undoAction = registerAction(UNDO,
|
||||
[] (TextEditorWidget *w) { w->undo(); }, true, tr("&Undo"));
|
||||
[] (TextEditorWidget *w) { w->undo(); }, true, Tr::tr("&Undo"));
|
||||
m_redoAction = registerAction(REDO,
|
||||
[] (TextEditorWidget *w) { w->redo(); }, true, tr("&Redo"));
|
||||
[] (TextEditorWidget *w) { w->redo(); }, true, Tr::tr("&Redo"));
|
||||
m_copyAction = registerAction(COPY,
|
||||
[] (TextEditorWidget *w) { w->copy(); }, true);
|
||||
m_cutAction = registerAction(CUT,
|
||||
@@ -164,110 +163,110 @@ void TextEditorActionHandlerPrivate::createActions()
|
||||
m_modifyingActions << registerAction(PRINT,
|
||||
[] (TextEditorWidget *widget) { widget->print(Core::ICore::printer()); });
|
||||
m_modifyingActions << registerAction(DELETE_LINE,
|
||||
[] (TextEditorWidget *w) { w->deleteLine(); }, true, tr("Delete &Line"));
|
||||
[] (TextEditorWidget *w) { w->deleteLine(); }, true, Tr::tr("Delete &Line"));
|
||||
m_modifyingActions << registerAction(DELETE_END_OF_LINE,
|
||||
[] (TextEditorWidget *w) { w->deleteEndOfLine(); }, true, tr("Delete Line from Cursor On"));
|
||||
[] (TextEditorWidget *w) { w->deleteEndOfLine(); }, true, Tr::tr("Delete Line from Cursor On"));
|
||||
m_modifyingActions << registerAction(DELETE_END_OF_WORD,
|
||||
[] (TextEditorWidget *w) { w->deleteEndOfWord(); }, true, tr("Delete Word from Cursor On"));
|
||||
[] (TextEditorWidget *w) { w->deleteEndOfWord(); }, true, Tr::tr("Delete Word from Cursor On"));
|
||||
m_modifyingActions << registerAction(DELETE_END_OF_WORD_CAMEL_CASE,
|
||||
[] (TextEditorWidget *w) { w->deleteEndOfWordCamelCase(); }, true, tr("Delete Word Camel Case from Cursor On"));
|
||||
[] (TextEditorWidget *w) { w->deleteEndOfWordCamelCase(); }, true, Tr::tr("Delete Word Camel Case from Cursor On"));
|
||||
m_modifyingActions << registerAction(DELETE_START_OF_LINE,
|
||||
[] (TextEditorWidget *w) { w->deleteStartOfLine(); }, true, tr("Delete Line up to Cursor"),
|
||||
Core::useMacShortcuts ? QKeySequence(tr("Ctrl+Backspace")) : QKeySequence());
|
||||
[] (TextEditorWidget *w) { w->deleteStartOfLine(); }, true, Tr::tr("Delete Line up to Cursor"),
|
||||
Core::useMacShortcuts ? QKeySequence(Tr::tr("Ctrl+Backspace")) : QKeySequence());
|
||||
m_modifyingActions << registerAction(DELETE_START_OF_WORD,
|
||||
[] (TextEditorWidget *w) { w->deleteStartOfWord(); }, true, tr("Delete Word up to Cursor"));
|
||||
[] (TextEditorWidget *w) { w->deleteStartOfWord(); }, true, Tr::tr("Delete Word up to Cursor"));
|
||||
m_modifyingActions << registerAction(DELETE_START_OF_WORD_CAMEL_CASE,
|
||||
[] (TextEditorWidget *w) { w->deleteStartOfWordCamelCase(); }, true, tr("Delete Word Camel Case up to Cursor"));
|
||||
[] (TextEditorWidget *w) { w->deleteStartOfWordCamelCase(); }, true, Tr::tr("Delete Word Camel Case up to Cursor"));
|
||||
registerAction(GOTO_BLOCK_START_WITH_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->gotoBlockStartWithSelection(); }, true, tr("Go to Block Start with Selection"),
|
||||
QKeySequence(tr("Ctrl+{")));
|
||||
[] (TextEditorWidget *w) { w->gotoBlockStartWithSelection(); }, true, Tr::tr("Go to Block Start with Selection"),
|
||||
QKeySequence(Tr::tr("Ctrl+{")));
|
||||
registerAction(GOTO_BLOCK_END_WITH_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->gotoBlockEndWithSelection(); }, true, tr("Go to Block End with Selection"),
|
||||
QKeySequence(tr("Ctrl+}")));
|
||||
[] (TextEditorWidget *w) { w->gotoBlockEndWithSelection(); }, true, Tr::tr("Go to Block End with Selection"),
|
||||
QKeySequence(Tr::tr("Ctrl+}")));
|
||||
m_modifyingActions << registerAction(MOVE_LINE_UP,
|
||||
[] (TextEditorWidget *w) { w->moveLineUp(); }, true, tr("Move Line Up"),
|
||||
QKeySequence(tr("Ctrl+Shift+Up")));
|
||||
[] (TextEditorWidget *w) { w->moveLineUp(); }, true, Tr::tr("Move Line Up"),
|
||||
QKeySequence(Tr::tr("Ctrl+Shift+Up")));
|
||||
m_modifyingActions << registerAction(MOVE_LINE_DOWN,
|
||||
[] (TextEditorWidget *w) { w->moveLineDown(); }, true, tr("Move Line Down"),
|
||||
QKeySequence(tr("Ctrl+Shift+Down")));
|
||||
[] (TextEditorWidget *w) { w->moveLineDown(); }, true, Tr::tr("Move Line Down"),
|
||||
QKeySequence(Tr::tr("Ctrl+Shift+Down")));
|
||||
m_modifyingActions << registerAction(COPY_LINE_UP,
|
||||
[] (TextEditorWidget *w) { w->copyLineUp(); }, true, tr("Copy Line Up"),
|
||||
QKeySequence(tr("Ctrl+Alt+Up")));
|
||||
[] (TextEditorWidget *w) { w->copyLineUp(); }, true, Tr::tr("Copy Line Up"),
|
||||
QKeySequence(Tr::tr("Ctrl+Alt+Up")));
|
||||
m_modifyingActions << registerAction(COPY_LINE_DOWN,
|
||||
[] (TextEditorWidget *w) { w->copyLineDown(); }, true, tr("Copy Line Down"),
|
||||
QKeySequence(tr("Ctrl+Alt+Down")));
|
||||
[] (TextEditorWidget *w) { w->copyLineDown(); }, true, Tr::tr("Copy Line Down"),
|
||||
QKeySequence(Tr::tr("Ctrl+Alt+Down")));
|
||||
m_modifyingActions << registerAction(JOIN_LINES,
|
||||
[] (TextEditorWidget *w) { w->joinLines(); }, true, tr("Join Lines"),
|
||||
QKeySequence(tr("Ctrl+J")));
|
||||
[] (TextEditorWidget *w) { w->joinLines(); }, true, Tr::tr("Join Lines"),
|
||||
QKeySequence(Tr::tr("Ctrl+J")));
|
||||
m_modifyingActions << registerAction(INSERT_LINE_ABOVE,
|
||||
[] (TextEditorWidget *w) { w->insertLineAbove(); }, true, tr("Insert Line Above Current Line"),
|
||||
QKeySequence(tr("Ctrl+Shift+Return")));
|
||||
[] (TextEditorWidget *w) { w->insertLineAbove(); }, true, Tr::tr("Insert Line Above Current Line"),
|
||||
QKeySequence(Tr::tr("Ctrl+Shift+Return")));
|
||||
m_modifyingActions << registerAction(INSERT_LINE_BELOW,
|
||||
[] (TextEditorWidget *w) { w->insertLineBelow(); }, true, tr("Insert Line Below Current Line"),
|
||||
QKeySequence(tr("Ctrl+Return")));
|
||||
[] (TextEditorWidget *w) { w->insertLineBelow(); }, true, Tr::tr("Insert Line Below Current Line"),
|
||||
QKeySequence(Tr::tr("Ctrl+Return")));
|
||||
m_modifyingActions << registerAction(SWITCH_UTF8BOM,
|
||||
[] (TextEditorWidget *w) { w->switchUtf8bom(); }, true, tr("Toggle UTF-8 BOM"));
|
||||
[] (TextEditorWidget *w) { w->switchUtf8bom(); }, true, Tr::tr("Toggle UTF-8 BOM"));
|
||||
m_modifyingActions << registerAction(INDENT,
|
||||
[] (TextEditorWidget *w) { w->indent(); }, true, tr("Indent"));
|
||||
[] (TextEditorWidget *w) { w->indent(); }, true, Tr::tr("Indent"));
|
||||
m_modifyingActions << registerAction(UNINDENT,
|
||||
[] (TextEditorWidget *w) { w->unindent(); }, true, tr("Unindent"));
|
||||
[] (TextEditorWidget *w) { w->unindent(); }, true, Tr::tr("Unindent"));
|
||||
m_followSymbolAction = registerAction(FOLLOW_SYMBOL_UNDER_CURSOR,
|
||||
[] (TextEditorWidget *w) { w->openLinkUnderCursor(); }, true, tr("Follow Symbol Under Cursor"),
|
||||
[] (TextEditorWidget *w) { w->openLinkUnderCursor(); }, true, Tr::tr("Follow Symbol Under Cursor"),
|
||||
QKeySequence(Qt::Key_F2));
|
||||
m_followSymbolInNextSplitAction = registerAction(FOLLOW_SYMBOL_UNDER_CURSOR_IN_NEXT_SPLIT,
|
||||
[] (TextEditorWidget *w) { w->openLinkUnderCursorInNextSplit(); }, true, tr("Follow Symbol Under Cursor in Next Split"),
|
||||
QKeySequence(Utils::HostOsInfo::isMacHost() ? tr("Meta+E, F2") : tr("Ctrl+E, F2")));
|
||||
[] (TextEditorWidget *w) { w->openLinkUnderCursorInNextSplit(); }, true, Tr::tr("Follow Symbol Under Cursor in Next Split"),
|
||||
QKeySequence(Utils::HostOsInfo::isMacHost() ? Tr::tr("Meta+E, F2") : Tr::tr("Ctrl+E, F2")));
|
||||
m_findUsageAction = registerAction(FIND_USAGES,
|
||||
[] (TextEditorWidget *w) { w->findUsages(); }, true, tr("Find References to Symbol Under Cursor"),
|
||||
QKeySequence(tr("Ctrl+Shift+U")));
|
||||
[] (TextEditorWidget *w) { w->findUsages(); }, true, Tr::tr("Find References to Symbol Under Cursor"),
|
||||
QKeySequence(Tr::tr("Ctrl+Shift+U")));
|
||||
m_renameSymbolAction = registerAction(RENAME_SYMBOL,
|
||||
[] (TextEditorWidget *w) { w->renameSymbolUnderCursor(); }, true, tr("Rename Symbol Under Cursor"),
|
||||
QKeySequence(tr("Ctrl+Shift+R")));
|
||||
[] (TextEditorWidget *w) { w->renameSymbolUnderCursor(); }, true, Tr::tr("Rename Symbol Under Cursor"),
|
||||
QKeySequence(Tr::tr("Ctrl+Shift+R")));
|
||||
m_jumpToFileAction = registerAction(JUMP_TO_FILE_UNDER_CURSOR,
|
||||
[] (TextEditorWidget *w) { w->openLinkUnderCursor(); }, true, tr("Jump to File Under Cursor"),
|
||||
[] (TextEditorWidget *w) { w->openLinkUnderCursor(); }, true, Tr::tr("Jump to File Under Cursor"),
|
||||
QKeySequence(Qt::Key_F2));
|
||||
m_jumpToFileInNextSplitAction = registerAction(JUMP_TO_FILE_UNDER_CURSOR_IN_NEXT_SPLIT,
|
||||
[] (TextEditorWidget *w) { w->openLinkUnderCursorInNextSplit(); }, true, tr("Jump to File Under Cursor in Next Split"),
|
||||
QKeySequence(Utils::HostOsInfo::isMacHost() ? tr("Meta+E, F2") : tr("Ctrl+E, F2")).toString());
|
||||
[] (TextEditorWidget *w) { w->openLinkUnderCursorInNextSplit(); }, true, Tr::tr("Jump to File Under Cursor in Next Split"),
|
||||
QKeySequence(Utils::HostOsInfo::isMacHost() ? Tr::tr("Meta+E, F2") : Tr::tr("Ctrl+E, F2")).toString());
|
||||
|
||||
registerAction(VIEW_PAGE_UP,
|
||||
[] (TextEditorWidget *w) { w->viewPageUp(); }, true, tr("Move the View a Page Up and Keep the Cursor Position"),
|
||||
QKeySequence(tr("Ctrl+PgUp")));
|
||||
[] (TextEditorWidget *w) { w->viewPageUp(); }, true, Tr::tr("Move the View a Page Up and Keep the Cursor Position"),
|
||||
QKeySequence(Tr::tr("Ctrl+PgUp")));
|
||||
registerAction(VIEW_PAGE_DOWN,
|
||||
[] (TextEditorWidget *w) { w->viewPageDown(); }, true, tr("Move the View a Page Down and Keep the Cursor Position"),
|
||||
QKeySequence(tr("Ctrl+PgDown")));
|
||||
[] (TextEditorWidget *w) { w->viewPageDown(); }, true, Tr::tr("Move the View a Page Down and Keep the Cursor Position"),
|
||||
QKeySequence(Tr::tr("Ctrl+PgDown")));
|
||||
registerAction(VIEW_LINE_UP,
|
||||
[] (TextEditorWidget *w) { w->viewLineUp(); }, true, tr("Move the View a Line Up and Keep the Cursor Position"),
|
||||
QKeySequence(tr("Ctrl+Up")));
|
||||
[] (TextEditorWidget *w) { w->viewLineUp(); }, true, Tr::tr("Move the View a Line Up and Keep the Cursor Position"),
|
||||
QKeySequence(Tr::tr("Ctrl+Up")));
|
||||
registerAction(VIEW_LINE_DOWN,
|
||||
[] (TextEditorWidget *w) { w->viewLineDown(); }, true, tr("Move the View a Line Down and Keep the Cursor Position"),
|
||||
QKeySequence(tr("Ctrl+Down")));
|
||||
[] (TextEditorWidget *w) { w->viewLineDown(); }, true, Tr::tr("Move the View a Line Down and Keep the Cursor Position"),
|
||||
QKeySequence(Tr::tr("Ctrl+Down")));
|
||||
|
||||
// register "Edit" Menu Actions
|
||||
Core::ActionContainer *editMenu = Core::ActionManager::actionContainer(M_EDIT);
|
||||
registerAction(SELECT_ENCODING,
|
||||
[] (TextEditorWidget *w) { w->selectEncoding(); }, false, tr("Select Encoding..."),
|
||||
[] (TextEditorWidget *w) { w->selectEncoding(); }, false, Tr::tr("Select Encoding..."),
|
||||
QKeySequence(), G_EDIT_OTHER, editMenu);
|
||||
m_modifyingActions << registerAction(CIRCULAR_PASTE,
|
||||
[] (TextEditorWidget *w) { w->circularPaste(); }, false, tr("Paste from Clipboard History"),
|
||||
QKeySequence(tr("Ctrl+Shift+V")), G_EDIT_COPYPASTE, editMenu);
|
||||
[] (TextEditorWidget *w) { w->circularPaste(); }, false, Tr::tr("Paste from Clipboard History"),
|
||||
QKeySequence(Tr::tr("Ctrl+Shift+V")), G_EDIT_COPYPASTE, editMenu);
|
||||
m_modifyingActions << registerAction(NO_FORMAT_PASTE,
|
||||
[] (TextEditorWidget *w) { w->pasteWithoutFormat(); }, false, tr("Paste Without Formatting"),
|
||||
QKeySequence(Core::useMacShortcuts ? tr("Ctrl+Alt+Shift+V") : QString()), G_EDIT_COPYPASTE, editMenu);
|
||||
[] (TextEditorWidget *w) { w->pasteWithoutFormat(); }, false, Tr::tr("Paste Without Formatting"),
|
||||
QKeySequence(Core::useMacShortcuts ? Tr::tr("Ctrl+Alt+Shift+V") : QString()), G_EDIT_COPYPASTE, editMenu);
|
||||
|
||||
// register "Edit -> Advanced" Menu Actions
|
||||
Core::ActionContainer *advancedEditMenu = Core::ActionManager::actionContainer(M_EDIT_ADVANCED);
|
||||
m_autoIndentAction = registerAction(AUTO_INDENT_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->autoIndent(); }, true, tr("Auto-&indent Selection"),
|
||||
QKeySequence(tr("Ctrl+I")),
|
||||
[] (TextEditorWidget *w) { w->autoIndent(); }, true, Tr::tr("Auto-&indent Selection"),
|
||||
QKeySequence(Tr::tr("Ctrl+I")),
|
||||
G_EDIT_FORMAT, advancedEditMenu);
|
||||
m_autoFormatAction = registerAction(AUTO_FORMAT_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->autoFormat(); }, true, tr("Auto-&format Selection"),
|
||||
QKeySequence(tr("Ctrl+;")),
|
||||
[] (TextEditorWidget *w) { w->autoFormat(); }, true, Tr::tr("Auto-&format Selection"),
|
||||
QKeySequence(Tr::tr("Ctrl+;")),
|
||||
G_EDIT_FORMAT, advancedEditMenu);
|
||||
m_modifyingActions << registerAction(REWRAP_PARAGRAPH,
|
||||
[] (TextEditorWidget *w) { w->rewrapParagraph(); }, true, tr("&Rewrap Paragraph"),
|
||||
QKeySequence(Core::useMacShortcuts ? tr("Meta+E, R") : tr("Ctrl+E, R")),
|
||||
[] (TextEditorWidget *w) { w->rewrapParagraph(); }, true, Tr::tr("&Rewrap Paragraph"),
|
||||
QKeySequence(Core::useMacShortcuts ? Tr::tr("Meta+E, R") : Tr::tr("Ctrl+E, R")),
|
||||
G_EDIT_FORMAT, advancedEditMenu);
|
||||
m_visualizeWhitespaceAction = registerBoolAction(VISUALIZE_WHITESPACE,
|
||||
[] (TextEditorWidget *widget, bool checked) {
|
||||
@@ -277,12 +276,12 @@ void TextEditorActionHandlerPrivate::createActions()
|
||||
widget->setDisplaySettings(ds);
|
||||
}
|
||||
},
|
||||
false, tr("&Visualize Whitespace"),
|
||||
QKeySequence(Core::useMacShortcuts ? tr("Meta+E, Meta+V") : tr("Ctrl+E, Ctrl+V")),
|
||||
false, Tr::tr("&Visualize Whitespace"),
|
||||
QKeySequence(Core::useMacShortcuts ? Tr::tr("Meta+E, Meta+V") : Tr::tr("Ctrl+E, Ctrl+V")),
|
||||
G_EDIT_FORMAT, advancedEditMenu);
|
||||
m_visualizeWhitespaceAction->setCheckable(true);
|
||||
m_modifyingActions << registerAction(CLEAN_WHITESPACE,
|
||||
[] (TextEditorWidget *w) { w->cleanWhitespace(); }, true, tr("Clean Whitespace"),
|
||||
[] (TextEditorWidget *w) { w->cleanWhitespace(); }, true, Tr::tr("Clean Whitespace"),
|
||||
QKeySequence(),
|
||||
G_EDIT_FORMAT, advancedEditMenu);
|
||||
m_textWrappingAction = registerBoolAction(TEXT_WRAPPING,
|
||||
@@ -293,145 +292,145 @@ void TextEditorActionHandlerPrivate::createActions()
|
||||
widget->setDisplaySettings(ds);
|
||||
}
|
||||
},
|
||||
false, tr("Enable Text &Wrapping"),
|
||||
QKeySequence(Core::useMacShortcuts ? tr("Meta+E, Meta+W") : tr("Ctrl+E, Ctrl+W")),
|
||||
false, Tr::tr("Enable Text &Wrapping"),
|
||||
QKeySequence(Core::useMacShortcuts ? Tr::tr("Meta+E, Meta+W") : Tr::tr("Ctrl+E, Ctrl+W")),
|
||||
G_EDIT_FORMAT, advancedEditMenu);
|
||||
m_textWrappingAction->setCheckable(true);
|
||||
m_unCommentSelectionAction = registerAction(UN_COMMENT_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->unCommentSelection(); }, true, tr("Toggle Comment &Selection"),
|
||||
QKeySequence(tr("Ctrl+/")),
|
||||
[] (TextEditorWidget *w) { w->unCommentSelection(); }, true, Tr::tr("Toggle Comment &Selection"),
|
||||
QKeySequence(Tr::tr("Ctrl+/")),
|
||||
G_EDIT_FORMAT, advancedEditMenu);
|
||||
m_modifyingActions << registerAction(CUT_LINE,
|
||||
[] (TextEditorWidget *w) { w->cutLine(); }, true, tr("Cut &Line"),
|
||||
QKeySequence(tr("Shift+Del")),
|
||||
[] (TextEditorWidget *w) { w->cutLine(); }, true, Tr::tr("Cut &Line"),
|
||||
QKeySequence(Tr::tr("Shift+Del")),
|
||||
G_EDIT_TEXT, advancedEditMenu);
|
||||
registerAction(COPY_LINE,
|
||||
[] (TextEditorWidget *w) { w->copyLine(); }, false, tr("Copy &Line"),
|
||||
QKeySequence(tr("Ctrl+Ins")),
|
||||
[] (TextEditorWidget *w) { w->copyLine(); }, false, Tr::tr("Copy &Line"),
|
||||
QKeySequence(Tr::tr("Ctrl+Ins")),
|
||||
G_EDIT_TEXT, advancedEditMenu);
|
||||
m_copyHtmlAction = registerAction(COPY_WITH_HTML,
|
||||
[] (TextEditorWidget *w) { w->copyWithHtml(); }, true, tr("Copy With Highlighting"),
|
||||
[] (TextEditorWidget *w) { w->copyWithHtml(); }, true, Tr::tr("Copy With Highlighting"),
|
||||
QKeySequence(), G_EDIT_TEXT, advancedEditMenu);
|
||||
|
||||
registerAction(ADD_CURSORS_TO_LINE_ENDS,
|
||||
[] (TextEditorWidget *w) { w->addCursorsToLineEnds(); }, false, tr("Create Cursors at Selected Line Ends"),
|
||||
QKeySequence(tr("Alt+Shift+I")),
|
||||
[] (TextEditorWidget *w) { w->addCursorsToLineEnds(); }, false, Tr::tr("Create Cursors at Selected Line Ends"),
|
||||
QKeySequence(Tr::tr("Alt+Shift+I")),
|
||||
G_EDIT_TEXT, advancedEditMenu);
|
||||
registerAction(ADD_SELECT_NEXT_FIND_MATCH,
|
||||
[] (TextEditorWidget *w) { w->addSelectionNextFindMatch(); }, false, tr("Add Next Occurrence to Selection"),
|
||||
QKeySequence(tr("Ctrl+D")),
|
||||
[] (TextEditorWidget *w) { w->addSelectionNextFindMatch(); }, false, Tr::tr("Add Next Occurrence to Selection"),
|
||||
QKeySequence(Tr::tr("Ctrl+D")),
|
||||
G_EDIT_TEXT, advancedEditMenu);
|
||||
m_modifyingActions << registerAction(DUPLICATE_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->duplicateSelection(); }, false, tr("&Duplicate Selection"),
|
||||
[] (TextEditorWidget *w) { w->duplicateSelection(); }, false, Tr::tr("&Duplicate Selection"),
|
||||
QKeySequence(),
|
||||
G_EDIT_TEXT, advancedEditMenu);
|
||||
m_modifyingActions << registerAction(DUPLICATE_SELECTION_AND_COMMENT,
|
||||
[] (TextEditorWidget *w) { w->duplicateSelectionAndComment(); }, false, tr("&Duplicate Selection and Comment"),
|
||||
[] (TextEditorWidget *w) { w->duplicateSelectionAndComment(); }, false, Tr::tr("&Duplicate Selection and Comment"),
|
||||
QKeySequence(),
|
||||
G_EDIT_TEXT, advancedEditMenu);
|
||||
m_modifyingActions << registerAction(UPPERCASE_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->uppercaseSelection(); }, true, tr("Uppercase Selection"),
|
||||
QKeySequence(Core::useMacShortcuts ? tr("Meta+Shift+U") : tr("Alt+Shift+U")),
|
||||
[] (TextEditorWidget *w) { w->uppercaseSelection(); }, true, Tr::tr("Uppercase Selection"),
|
||||
QKeySequence(Core::useMacShortcuts ? Tr::tr("Meta+Shift+U") : Tr::tr("Alt+Shift+U")),
|
||||
G_EDIT_TEXT, advancedEditMenu);
|
||||
m_modifyingActions << registerAction(LOWERCASE_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->lowercaseSelection(); }, true, tr("Lowercase Selection"),
|
||||
QKeySequence(Core::useMacShortcuts ? tr("Meta+U") : tr("Alt+U")),
|
||||
[] (TextEditorWidget *w) { w->lowercaseSelection(); }, true, Tr::tr("Lowercase Selection"),
|
||||
QKeySequence(Core::useMacShortcuts ? Tr::tr("Meta+U") : Tr::tr("Alt+U")),
|
||||
G_EDIT_TEXT, advancedEditMenu);
|
||||
m_modifyingActions << registerAction(SORT_SELECTED_LINES,
|
||||
[] (TextEditorWidget *w) { w->sortSelectedLines(); }, false, tr("&Sort Selected Lines"),
|
||||
QKeySequence(Core::useMacShortcuts ? tr("Meta+Shift+S") : tr("Alt+Shift+S")),
|
||||
[] (TextEditorWidget *w) { w->sortSelectedLines(); }, false, Tr::tr("&Sort Selected Lines"),
|
||||
QKeySequence(Core::useMacShortcuts ? Tr::tr("Meta+Shift+S") : Tr::tr("Alt+Shift+S")),
|
||||
G_EDIT_TEXT, advancedEditMenu);
|
||||
registerAction(FOLD,
|
||||
[] (TextEditorWidget *w) { w->fold(); }, true, tr("Fold"),
|
||||
QKeySequence(tr("Ctrl+<")),
|
||||
[] (TextEditorWidget *w) { w->fold(); }, true, Tr::tr("Fold"),
|
||||
QKeySequence(Tr::tr("Ctrl+<")),
|
||||
G_EDIT_COLLAPSING, advancedEditMenu);
|
||||
registerAction(UNFOLD,
|
||||
[] (TextEditorWidget *w) { w->unfold(); }, true, tr("Unfold"),
|
||||
QKeySequence(tr("Ctrl+>")),
|
||||
[] (TextEditorWidget *w) { w->unfold(); }, true, Tr::tr("Unfold"),
|
||||
QKeySequence(Tr::tr("Ctrl+>")),
|
||||
G_EDIT_COLLAPSING, advancedEditMenu);
|
||||
m_unfoldAllAction = registerAction(UNFOLD_ALL,
|
||||
[] (TextEditorWidget *w) { w->unfoldAll(); }, true, tr("Toggle &Fold All"),
|
||||
[] (TextEditorWidget *w) { w->unfoldAll(); }, true, Tr::tr("Toggle &Fold All"),
|
||||
QKeySequence(),
|
||||
G_EDIT_COLLAPSING, advancedEditMenu);
|
||||
registerAction(INCREASE_FONT_SIZE,
|
||||
[] (TextEditorWidget *w) { w->zoomF(1.f); }, false, tr("Increase Font Size"),
|
||||
QKeySequence(tr("Ctrl++")),
|
||||
[] (TextEditorWidget *w) { w->zoomF(1.f); }, false, Tr::tr("Increase Font Size"),
|
||||
QKeySequence(Tr::tr("Ctrl++")),
|
||||
G_EDIT_FONT, advancedEditMenu);
|
||||
registerAction(DECREASE_FONT_SIZE,
|
||||
[] (TextEditorWidget *w) { w->zoomF(-1.f); }, false, tr("Decrease Font Size"),
|
||||
QKeySequence(tr("Ctrl+-")),
|
||||
[] (TextEditorWidget *w) { w->zoomF(-1.f); }, false, Tr::tr("Decrease Font Size"),
|
||||
QKeySequence(Tr::tr("Ctrl+-")),
|
||||
G_EDIT_FONT, advancedEditMenu);
|
||||
registerAction(RESET_FONT_SIZE,
|
||||
[] (TextEditorWidget *w) { w->zoomReset(); }, false, tr("Reset Font Size"),
|
||||
QKeySequence(Core::useMacShortcuts ? tr("Meta+0") : tr("Ctrl+0")),
|
||||
[] (TextEditorWidget *w) { w->zoomReset(); }, false, Tr::tr("Reset Font Size"),
|
||||
QKeySequence(Core::useMacShortcuts ? Tr::tr("Meta+0") : Tr::tr("Ctrl+0")),
|
||||
G_EDIT_FONT, advancedEditMenu);
|
||||
registerAction(GOTO_BLOCK_START,
|
||||
[] (TextEditorWidget *w) { w->gotoBlockStart(); }, true, tr("Go to Block Start"),
|
||||
QKeySequence(tr("Ctrl+[")),
|
||||
[] (TextEditorWidget *w) { w->gotoBlockStart(); }, true, Tr::tr("Go to Block Start"),
|
||||
QKeySequence(Tr::tr("Ctrl+[")),
|
||||
G_EDIT_BLOCKS, advancedEditMenu);
|
||||
registerAction(GOTO_BLOCK_END,
|
||||
[] (TextEditorWidget *w) { w->gotoBlockEnd(); }, true, tr("Go to Block End"),
|
||||
QKeySequence(tr("Ctrl+]")),
|
||||
[] (TextEditorWidget *w) { w->gotoBlockEnd(); }, true, Tr::tr("Go to Block End"),
|
||||
QKeySequence(Tr::tr("Ctrl+]")),
|
||||
G_EDIT_BLOCKS, advancedEditMenu);
|
||||
registerAction(SELECT_BLOCK_UP,
|
||||
[] (TextEditorWidget *w) { w->selectBlockUp(); }, true, tr("Select Block Up"),
|
||||
QKeySequence(tr("Ctrl+U")),
|
||||
[] (TextEditorWidget *w) { w->selectBlockUp(); }, true, Tr::tr("Select Block Up"),
|
||||
QKeySequence(Tr::tr("Ctrl+U")),
|
||||
G_EDIT_BLOCKS, advancedEditMenu);
|
||||
registerAction(SELECT_BLOCK_DOWN,
|
||||
[] (TextEditorWidget *w) { w->selectBlockDown(); }, true, tr("Select Block Down"),
|
||||
QKeySequence(tr("Ctrl+Shift+Alt+U")),
|
||||
[] (TextEditorWidget *w) { w->selectBlockDown(); }, true, Tr::tr("Select Block Down"),
|
||||
QKeySequence(Tr::tr("Ctrl+Shift+Alt+U")),
|
||||
G_EDIT_BLOCKS, advancedEditMenu);
|
||||
registerAction(SELECT_WORD_UNDER_CURSOR,
|
||||
[] (TextEditorWidget *w) { w->selectWordUnderCursor(); }, true,
|
||||
tr("Select Word Under Cursor"));
|
||||
Tr::tr("Select Word Under Cursor"));
|
||||
|
||||
// register GOTO Actions
|
||||
registerAction(GOTO_DOCUMENT_START,
|
||||
[] (TextEditorWidget *w) { w->gotoDocumentStart(); }, true, tr("Go to Document Start"));
|
||||
[] (TextEditorWidget *w) { w->gotoDocumentStart(); }, true, Tr::tr("Go to Document Start"));
|
||||
registerAction(GOTO_DOCUMENT_END,
|
||||
[] (TextEditorWidget *w) { w->gotoDocumentEnd(); }, true, tr("Go to Document End"));
|
||||
[] (TextEditorWidget *w) { w->gotoDocumentEnd(); }, true, Tr::tr("Go to Document End"));
|
||||
registerAction(GOTO_LINE_START,
|
||||
[] (TextEditorWidget *w) { w->gotoLineStart(); }, true, tr("Go to Line Start"));
|
||||
[] (TextEditorWidget *w) { w->gotoLineStart(); }, true, Tr::tr("Go to Line Start"));
|
||||
registerAction(GOTO_LINE_END,
|
||||
[] (TextEditorWidget *w) { w->gotoLineEnd(); }, true, tr("Go to Line End"));
|
||||
[] (TextEditorWidget *w) { w->gotoLineEnd(); }, true, Tr::tr("Go to Line End"));
|
||||
registerAction(GOTO_NEXT_LINE,
|
||||
[] (TextEditorWidget *w) { w->gotoNextLine(); }, true, tr("Go to Next Line"));
|
||||
[] (TextEditorWidget *w) { w->gotoNextLine(); }, true, Tr::tr("Go to Next Line"));
|
||||
registerAction(GOTO_PREVIOUS_LINE,
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousLine(); }, true, tr("Go to Previous Line"));
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousLine(); }, true, Tr::tr("Go to Previous Line"));
|
||||
registerAction(GOTO_PREVIOUS_CHARACTER,
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousCharacter(); }, true, tr("Go to Previous Character"));
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousCharacter(); }, true, Tr::tr("Go to Previous Character"));
|
||||
registerAction(GOTO_NEXT_CHARACTER,
|
||||
[] (TextEditorWidget *w) { w->gotoNextCharacter(); }, true, tr("Go to Next Character"));
|
||||
[] (TextEditorWidget *w) { w->gotoNextCharacter(); }, true, Tr::tr("Go to Next Character"));
|
||||
registerAction(GOTO_PREVIOUS_WORD,
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousWord(); }, true, tr("Go to Previous Word"));
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousWord(); }, true, Tr::tr("Go to Previous Word"));
|
||||
registerAction(GOTO_NEXT_WORD,
|
||||
[] (TextEditorWidget *w) { w->gotoNextWord(); }, true, tr("Go to Next Word"));
|
||||
[] (TextEditorWidget *w) { w->gotoNextWord(); }, true, Tr::tr("Go to Next Word"));
|
||||
registerAction(GOTO_PREVIOUS_WORD_CAMEL_CASE,
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousWordCamelCase(); }, false, tr("Go to Previous Word Camel Case"));
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousWordCamelCase(); }, false, Tr::tr("Go to Previous Word Camel Case"));
|
||||
registerAction(GOTO_NEXT_WORD_CAMEL_CASE,
|
||||
[] (TextEditorWidget *w) { w->gotoNextWordCamelCase(); }, false, tr("Go to Next Word Camel Case"));
|
||||
[] (TextEditorWidget *w) { w->gotoNextWordCamelCase(); }, false, Tr::tr("Go to Next Word Camel Case"));
|
||||
|
||||
// register GOTO actions with selection
|
||||
registerAction(GOTO_LINE_START_WITH_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->gotoLineStartWithSelection(); }, true, tr("Go to Line Start with Selection"));
|
||||
[] (TextEditorWidget *w) { w->gotoLineStartWithSelection(); }, true, Tr::tr("Go to Line Start with Selection"));
|
||||
registerAction(GOTO_LINE_END_WITH_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->gotoLineEndWithSelection(); }, true, tr("Go to Line End with Selection"));
|
||||
[] (TextEditorWidget *w) { w->gotoLineEndWithSelection(); }, true, Tr::tr("Go to Line End with Selection"));
|
||||
registerAction(GOTO_NEXT_LINE_WITH_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->gotoNextLineWithSelection(); }, true, tr("Go to Next Line with Selection"));
|
||||
[] (TextEditorWidget *w) { w->gotoNextLineWithSelection(); }, true, Tr::tr("Go to Next Line with Selection"));
|
||||
registerAction(GOTO_PREVIOUS_LINE_WITH_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousLineWithSelection(); }, true, tr("Go to Previous Line with Selection"));
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousLineWithSelection(); }, true, Tr::tr("Go to Previous Line with Selection"));
|
||||
registerAction(GOTO_PREVIOUS_CHARACTER_WITH_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousCharacterWithSelection(); }, true, tr("Go to Previous Character with Selection"));
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousCharacterWithSelection(); }, true, Tr::tr("Go to Previous Character with Selection"));
|
||||
registerAction(GOTO_NEXT_CHARACTER_WITH_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->gotoNextCharacterWithSelection(); }, true, tr("Go to Next Character with Selection"));
|
||||
[] (TextEditorWidget *w) { w->gotoNextCharacterWithSelection(); }, true, Tr::tr("Go to Next Character with Selection"));
|
||||
registerAction(GOTO_PREVIOUS_WORD_WITH_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousWordWithSelection(); }, true, tr("Go to Previous Word with Selection"));
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousWordWithSelection(); }, true, Tr::tr("Go to Previous Word with Selection"));
|
||||
registerAction(GOTO_NEXT_WORD_WITH_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->gotoNextWordWithSelection(); }, true, tr("Go to Next Word with Selection"));
|
||||
[] (TextEditorWidget *w) { w->gotoNextWordWithSelection(); }, true, Tr::tr("Go to Next Word with Selection"));
|
||||
registerAction(GOTO_PREVIOUS_WORD_CAMEL_CASE_WITH_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousWordCamelCaseWithSelection(); }, false, tr("Go to Previous Word Camel Case with Selection"));
|
||||
[] (TextEditorWidget *w) { w->gotoPreviousWordCamelCaseWithSelection(); }, false, Tr::tr("Go to Previous Word Camel Case with Selection"));
|
||||
registerAction(GOTO_NEXT_WORD_CAMEL_CASE_WITH_SELECTION,
|
||||
[] (TextEditorWidget *w) { w->gotoNextWordCamelCaseWithSelection(); }, false, tr("Go to Next Word Camel Case with Selection"));
|
||||
[] (TextEditorWidget *w) { w->gotoNextWordCamelCaseWithSelection(); }, false, Tr::tr("Go to Next Word Camel Case with Selection"));
|
||||
|
||||
// Collect additional modifying actions so we can check for them inside a readonly file
|
||||
// and disable them
|
||||
|
@@ -8,14 +8,16 @@
|
||||
#include "findinopenfiles.h"
|
||||
#include "fontsettings.h"
|
||||
#include "highlighter.h"
|
||||
#include "icodestylepreferences.h"
|
||||
#include "linenumberfilter.h"
|
||||
#include "outlinefactory.h"
|
||||
#include "plaintexteditorfactory.h"
|
||||
#include "snippets/snippetprovider.h"
|
||||
#include "tabsettings.h"
|
||||
#include "textdocument.h"
|
||||
#include "texteditor.h"
|
||||
#include "texteditoractionhandler.h"
|
||||
#include "texteditorsettings.h"
|
||||
#include "texteditortr.h"
|
||||
|
||||
#include <coreplugin/actionmanager/actioncontainer.h>
|
||||
#include <coreplugin/actionmanager/actionmanager.h>
|
||||
@@ -24,31 +26,26 @@
|
||||
#include <coreplugin/externaltoolmanager.h>
|
||||
#include <coreplugin/foldernavigationwidget.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
#include <texteditor/icodestylepreferences.h>
|
||||
#include <texteditor/tabsettings.h>
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
#include <utils/fancylineedit.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/macroexpander.h>
|
||||
|
||||
#include <QAction>
|
||||
#include <QDir>
|
||||
|
||||
using namespace Core;
|
||||
using namespace Utils;
|
||||
|
||||
namespace TextEditor {
|
||||
namespace Internal {
|
||||
|
||||
static const char kCurrentDocumentSelection[] = "CurrentDocument:Selection";
|
||||
static const char kCurrentDocumentRow[] = "CurrentDocument:Row";
|
||||
static const char kCurrentDocumentColumn[] = "CurrentDocument:Column";
|
||||
static const char kCurrentDocumentRowCount[] = "CurrentDocument:RowCount";
|
||||
static const char kCurrentDocumentColumnCount[] = "CurrentDocument:ColumnCount";
|
||||
static const char kCurrentDocumentFontSize[] = "CurrentDocument:FontSize";
|
||||
static const char kCurrentDocumentWordUnderCursor[] = "CurrentDocument:WordUnderCursor";
|
||||
const char kCurrentDocumentSelection[] = "CurrentDocument:Selection";
|
||||
const char kCurrentDocumentRow[] = "CurrentDocument:Row";
|
||||
const char kCurrentDocumentColumn[] = "CurrentDocument:Column";
|
||||
const char kCurrentDocumentRowCount[] = "CurrentDocument:RowCount";
|
||||
const char kCurrentDocumentColumnCount[] = "CurrentDocument:ColumnCount";
|
||||
const char kCurrentDocumentFontSize[] = "CurrentDocument:FontSize";
|
||||
const char kCurrentDocumentWordUnderCursor[] = "CurrentDocument:WordUnderCursor";
|
||||
|
||||
class TextEditorPluginPrivate : public QObject
|
||||
{
|
||||
@@ -101,9 +98,9 @@ bool TextEditorPlugin::initialize(const QStringList &arguments, QString *errorMe
|
||||
Context context(TextEditor::Constants::C_TEXTEDITOR);
|
||||
|
||||
// Add shortcut for invoking automatic completion
|
||||
QAction *completionAction = new QAction(tr("Trigger Completion"), this);
|
||||
QAction *completionAction = new QAction(Tr::tr("Trigger Completion"), this);
|
||||
Command *command = ActionManager::registerAction(completionAction, Constants::COMPLETE_THIS, context);
|
||||
command->setDefaultKeySequence(QKeySequence(useMacShortcuts ? tr("Meta+Space") : tr("Ctrl+Space")));
|
||||
command->setDefaultKeySequence(QKeySequence(useMacShortcuts ? Tr::tr("Meta+Space") : Tr::tr("Ctrl+Space")));
|
||||
connect(completionAction, &QAction::triggered, this, [] {
|
||||
if (BaseTextEditor *editor = BaseTextEditor::currentTextEditor())
|
||||
editor->editorWidget()->invokeAssist(Completion);
|
||||
@@ -114,25 +111,25 @@ bool TextEditorPlugin::initialize(const QStringList &arguments, QString *errorMe
|
||||
Utils::FancyLineEdit::setCompletionShortcut(command->keySequence());
|
||||
|
||||
// Add shortcut for invoking function hint completion
|
||||
QAction *functionHintAction = new QAction(tr("Display Function Hint"), this);
|
||||
QAction *functionHintAction = new QAction(Tr::tr("Display Function Hint"), this);
|
||||
command = ActionManager::registerAction(functionHintAction, Constants::FUNCTION_HINT, context);
|
||||
command->setDefaultKeySequence(QKeySequence(useMacShortcuts ? tr("Meta+Shift+D")
|
||||
: tr("Ctrl+Shift+D")));
|
||||
command->setDefaultKeySequence(QKeySequence(useMacShortcuts ? Tr::tr("Meta+Shift+D")
|
||||
: Tr::tr("Ctrl+Shift+D")));
|
||||
connect(functionHintAction, &QAction::triggered, this, [] {
|
||||
if (BaseTextEditor *editor = BaseTextEditor::currentTextEditor())
|
||||
editor->editorWidget()->invokeAssist(FunctionHint);
|
||||
});
|
||||
|
||||
// Add shortcut for invoking quick fix options
|
||||
QAction *quickFixAction = new QAction(tr("Trigger Refactoring Action"), this);
|
||||
QAction *quickFixAction = new QAction(Tr::tr("Trigger Refactoring Action"), this);
|
||||
Command *quickFixCommand = ActionManager::registerAction(quickFixAction, Constants::QUICKFIX_THIS, context);
|
||||
quickFixCommand->setDefaultKeySequence(QKeySequence(tr("Alt+Return")));
|
||||
quickFixCommand->setDefaultKeySequence(QKeySequence(Tr::tr("Alt+Return")));
|
||||
connect(quickFixAction, &QAction::triggered, this, [] {
|
||||
if (BaseTextEditor *editor = BaseTextEditor::currentTextEditor())
|
||||
editor->editorWidget()->invokeAssist(QuickFix);
|
||||
});
|
||||
|
||||
QAction *showContextMenuAction = new QAction(tr("Show Context Menu"), this);
|
||||
QAction *showContextMenuAction = new QAction(Tr::tr("Show Context Menu"), this);
|
||||
ActionManager::registerAction(showContextMenuAction,
|
||||
Constants::SHOWCONTEXTMENU,
|
||||
context);
|
||||
@@ -143,7 +140,7 @@ bool TextEditorPlugin::initialize(const QStringList &arguments, QString *errorMe
|
||||
|
||||
// Add text snippet provider.
|
||||
SnippetProvider::registerGroup(Constants::TEXT_SNIPPET_GROUP_ID,
|
||||
tr("Text", "SnippetProvider"));
|
||||
Tr::tr("Text", "SnippetProvider"));
|
||||
|
||||
d->createStandardContextMenu();
|
||||
|
||||
@@ -184,7 +181,7 @@ void TextEditorPlugin::extensionsInitialized()
|
||||
Utils::MacroExpander *expander = Utils::globalMacroExpander();
|
||||
|
||||
expander->registerVariable(kCurrentDocumentSelection,
|
||||
tr("Selected text within the current document."),
|
||||
Tr::tr("Selected text within the current document."),
|
||||
[]() -> QString {
|
||||
QString value;
|
||||
if (BaseTextEditor *editor = BaseTextEditor::currentTextEditor()) {
|
||||
@@ -195,42 +192,42 @@ void TextEditorPlugin::extensionsInitialized()
|
||||
});
|
||||
|
||||
expander->registerIntVariable(kCurrentDocumentRow,
|
||||
tr("Line number of the text cursor position in current document (starts with 1)."),
|
||||
Tr::tr("Line number of the text cursor position in current document (starts with 1)."),
|
||||
[]() -> int {
|
||||
BaseTextEditor *editor = BaseTextEditor::currentTextEditor();
|
||||
return editor ? editor->currentLine() : 0;
|
||||
});
|
||||
|
||||
expander->registerIntVariable(kCurrentDocumentColumn,
|
||||
tr("Column number of the text cursor position in current document (starts with 0)."),
|
||||
Tr::tr("Column number of the text cursor position in current document (starts with 0)."),
|
||||
[]() -> int {
|
||||
BaseTextEditor *editor = BaseTextEditor::currentTextEditor();
|
||||
return editor ? editor->currentColumn() : 0;
|
||||
});
|
||||
|
||||
expander->registerIntVariable(kCurrentDocumentRowCount,
|
||||
tr("Number of lines visible in current document."),
|
||||
Tr::tr("Number of lines visible in current document."),
|
||||
[]() -> int {
|
||||
BaseTextEditor *editor = BaseTextEditor::currentTextEditor();
|
||||
return editor ? editor->rowCount() : 0;
|
||||
});
|
||||
|
||||
expander->registerIntVariable(kCurrentDocumentColumnCount,
|
||||
tr("Number of columns visible in current document."),
|
||||
Tr::tr("Number of columns visible in current document."),
|
||||
[]() -> int {
|
||||
BaseTextEditor *editor = BaseTextEditor::currentTextEditor();
|
||||
return editor ? editor->columnCount() : 0;
|
||||
});
|
||||
|
||||
expander->registerIntVariable(kCurrentDocumentFontSize,
|
||||
tr("Current document's font size in points."),
|
||||
Tr::tr("Current document's font size in points."),
|
||||
[]() -> int {
|
||||
BaseTextEditor *editor = BaseTextEditor::currentTextEditor();
|
||||
return editor ? editor->widget()->font().pointSize() : 0;
|
||||
});
|
||||
|
||||
expander->registerVariable(kCurrentDocumentWordUnderCursor,
|
||||
tr("Word under the current document's text cursor."), [] {
|
||||
Tr::tr("Word under the current document's text cursor."), [] {
|
||||
BaseTextEditor *editor = BaseTextEditor::currentTextEditor();
|
||||
if (!editor)
|
||||
return QString();
|
||||
|
@@ -17,15 +17,15 @@
|
||||
#include "icodestylepreferencesfactory.h"
|
||||
#include "marginsettings.h"
|
||||
#include "storagesettings.h"
|
||||
#include "tabsettings.h"
|
||||
#include "texteditor.h"
|
||||
#include "texteditortr.h"
|
||||
#include "typingsettings.h"
|
||||
#include "snippets/snippetssettingspage.h"
|
||||
|
||||
#include <texteditor/snippets/snippetssettingspage.h>
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/messagemanager.h>
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
#include <utils/fancylineedit.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
@@ -39,8 +39,6 @@ namespace Internal {
|
||||
|
||||
class TextEditorSettingsPrivate
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(TextEditor::TextEditorSettings)
|
||||
|
||||
public:
|
||||
FontSettings m_fontSettings;
|
||||
FontSettingsPage m_fontSettingsPage{&m_fontSettings, initialFormats()};
|
||||
@@ -65,55 +63,55 @@ FormatDescriptions TextEditorSettingsPrivate::initialFormats()
|
||||
// Add font preference page
|
||||
FormatDescriptions formatDescr;
|
||||
formatDescr.reserve(C_LAST_STYLE_SENTINEL);
|
||||
formatDescr.emplace_back(C_TEXT, tr("Text"),
|
||||
tr("Generic text and punctuation tokens.\n"
|
||||
formatDescr.emplace_back(C_TEXT, Tr::tr("Text"),
|
||||
Tr::tr("Generic text and punctuation tokens.\n"
|
||||
"Applied to text that matched no other rule."),
|
||||
Format{Qt::black, Qt::white});
|
||||
|
||||
// Special categories
|
||||
const QPalette p = QApplication::palette();
|
||||
formatDescr.emplace_back(C_LINK, tr("Link"),
|
||||
tr("Links that follow symbol under cursor."), Qt::blue);
|
||||
formatDescr.emplace_back(C_SELECTION, tr("Selection"), tr("Selected text."),
|
||||
formatDescr.emplace_back(C_LINK, Tr::tr("Link"),
|
||||
Tr::tr("Links that follow symbol under cursor."), Qt::blue);
|
||||
formatDescr.emplace_back(C_SELECTION, Tr::tr("Selection"), Tr::tr("Selected text."),
|
||||
p.color(QPalette::HighlightedText));
|
||||
formatDescr.emplace_back(C_LINE_NUMBER, tr("Line Number"),
|
||||
tr("Line numbers located on the left side of the editor."),
|
||||
formatDescr.emplace_back(C_LINE_NUMBER, Tr::tr("Line Number"),
|
||||
Tr::tr("Line numbers located on the left side of the editor."),
|
||||
FormatDescription::ShowAllAbsoluteControlsExceptUnderline);
|
||||
formatDescr.emplace_back(C_SEARCH_RESULT, tr("Search Result"),
|
||||
tr("Highlighted search results inside the editor."),
|
||||
formatDescr.emplace_back(C_SEARCH_RESULT, Tr::tr("Search Result"),
|
||||
Tr::tr("Highlighted search results inside the editor."),
|
||||
FormatDescription::ShowBackgroundControl);
|
||||
formatDescr.emplace_back(C_SEARCH_RESULT_ALT1, tr("Search Result (Alternative 1)"),
|
||||
tr("Highlighted search results inside the editor.\n"
|
||||
formatDescr.emplace_back(C_SEARCH_RESULT_ALT1, Tr::tr("Search Result (Alternative 1)"),
|
||||
Tr::tr("Highlighted search results inside the editor.\n"
|
||||
"Used to mark read accesses to C++ symbols."),
|
||||
FormatDescription::ShowBackgroundControl);
|
||||
formatDescr.emplace_back(C_SEARCH_RESULT_ALT2, tr("Search Result (Alternative 2)"),
|
||||
tr("Highlighted search results inside the editor.\n"
|
||||
formatDescr.emplace_back(C_SEARCH_RESULT_ALT2, Tr::tr("Search Result (Alternative 2)"),
|
||||
Tr::tr("Highlighted search results inside the editor.\n"
|
||||
"Used to mark write accesses to C++ symbols."),
|
||||
FormatDescription::ShowBackgroundControl);
|
||||
formatDescr.emplace_back(C_SEARCH_RESULT_CONTAINING_FUNCTION,
|
||||
tr("Search Result Containing function"),
|
||||
tr("Highlighted search results inside the editor.\n"
|
||||
Tr::tr("Search Result Containing function"),
|
||||
Tr::tr("Highlighted search results inside the editor.\n"
|
||||
"Used to mark containing function of the symbol usage."),
|
||||
FormatDescription::ShowForeAndBackgroundControl);
|
||||
formatDescr.emplace_back(C_SEARCH_SCOPE, tr("Search Scope"),
|
||||
tr("Section where the pattern is searched in."),
|
||||
formatDescr.emplace_back(C_SEARCH_SCOPE, Tr::tr("Search Scope"),
|
||||
Tr::tr("Section where the pattern is searched in."),
|
||||
FormatDescription::ShowBackgroundControl);
|
||||
formatDescr.emplace_back(C_PARENTHESES, tr("Parentheses"),
|
||||
tr("Displayed when matching parentheses, square brackets "
|
||||
formatDescr.emplace_back(C_PARENTHESES, Tr::tr("Parentheses"),
|
||||
Tr::tr("Displayed when matching parentheses, square brackets "
|
||||
"or curly brackets are found."));
|
||||
formatDescr.emplace_back(C_PARENTHESES_MISMATCH, tr("Mismatched Parentheses"),
|
||||
tr("Displayed when mismatched parentheses, "
|
||||
formatDescr.emplace_back(C_PARENTHESES_MISMATCH, Tr::tr("Mismatched Parentheses"),
|
||||
Tr::tr("Displayed when mismatched parentheses, "
|
||||
"square brackets, or curly brackets are found."));
|
||||
formatDescr.emplace_back(C_AUTOCOMPLETE, tr("Auto Complete"),
|
||||
tr("Displayed when a character is automatically inserted "
|
||||
formatDescr.emplace_back(C_AUTOCOMPLETE, Tr::tr("Auto Complete"),
|
||||
Tr::tr("Displayed when a character is automatically inserted "
|
||||
"like brackets or quotes."));
|
||||
formatDescr.emplace_back(C_CURRENT_LINE, tr("Current Line"),
|
||||
tr("Line where the cursor is placed in."),
|
||||
formatDescr.emplace_back(C_CURRENT_LINE, Tr::tr("Current Line"),
|
||||
Tr::tr("Line where the cursor is placed in."),
|
||||
FormatDescription::ShowBackgroundControl);
|
||||
|
||||
FormatDescription currentLineNumber(C_CURRENT_LINE_NUMBER,
|
||||
tr("Current Line Number"),
|
||||
tr("Line number located on the left side of the "
|
||||
Tr::tr("Current Line Number"),
|
||||
Tr::tr("Line number located on the left side of the "
|
||||
"editor where the cursor is placed in."),
|
||||
Qt::darkGray,
|
||||
FormatDescription::ShowAllAbsoluteControlsExceptUnderline);
|
||||
@@ -121,287 +119,287 @@ FormatDescriptions TextEditorSettingsPrivate::initialFormats()
|
||||
formatDescr.push_back(std::move(currentLineNumber));
|
||||
|
||||
|
||||
formatDescr.emplace_back(C_OCCURRENCES, tr("Occurrences"),
|
||||
tr("Occurrences of the symbol under the cursor.\n"
|
||||
formatDescr.emplace_back(C_OCCURRENCES, Tr::tr("Occurrences"),
|
||||
Tr::tr("Occurrences of the symbol under the cursor.\n"
|
||||
"(Only the background will be applied.)"),
|
||||
FormatDescription::ShowBackgroundControl);
|
||||
formatDescr.emplace_back(C_OCCURRENCES_UNUSED,
|
||||
tr("Unused Occurrence"),
|
||||
tr("Occurrences of unused variables."),
|
||||
Tr::tr("Unused Occurrence"),
|
||||
Tr::tr("Occurrences of unused variables."),
|
||||
Qt::darkYellow,
|
||||
QTextCharFormat::SingleUnderline);
|
||||
formatDescr.emplace_back(C_OCCURRENCES_RENAME, tr("Renaming Occurrence"),
|
||||
tr("Occurrences of a symbol that will be renamed."),
|
||||
formatDescr.emplace_back(C_OCCURRENCES_RENAME, Tr::tr("Renaming Occurrence"),
|
||||
Tr::tr("Occurrences of a symbol that will be renamed."),
|
||||
FormatDescription::ShowBackgroundControl);
|
||||
|
||||
// Standard categories
|
||||
formatDescr.emplace_back(C_NUMBER, tr("Number"), tr("Number literal."),
|
||||
formatDescr.emplace_back(C_NUMBER, Tr::tr("Number"), Tr::tr("Number literal."),
|
||||
Qt::darkBlue);
|
||||
formatDescr.emplace_back(C_STRING, tr("String"),
|
||||
tr("Character and string literals."), Qt::darkGreen);
|
||||
formatDescr.emplace_back(C_PRIMITIVE_TYPE, tr("Primitive Type"),
|
||||
tr("Name of a primitive data type."), Qt::darkYellow);
|
||||
formatDescr.emplace_back(C_TYPE, tr("Type"), tr("Name of a type."),
|
||||
formatDescr.emplace_back(C_STRING, Tr::tr("String"),
|
||||
Tr::tr("Character and string literals."), Qt::darkGreen);
|
||||
formatDescr.emplace_back(C_PRIMITIVE_TYPE, Tr::tr("Primitive Type"),
|
||||
Tr::tr("Name of a primitive data type."), Qt::darkYellow);
|
||||
formatDescr.emplace_back(C_TYPE, Tr::tr("Type"), Tr::tr("Name of a type."),
|
||||
Qt::darkMagenta);
|
||||
formatDescr.emplace_back(C_NAMESPACE, tr("Namespace"), tr("Name of a namespace."),
|
||||
formatDescr.emplace_back(C_NAMESPACE, Tr::tr("Namespace"), Tr::tr("Name of a namespace."),
|
||||
Qt::darkGreen);
|
||||
formatDescr.emplace_back(C_LOCAL, tr("Local"),
|
||||
tr("Local variables."), QColor(9, 46, 100));
|
||||
formatDescr.emplace_back(C_PARAMETER, tr("Parameter"),
|
||||
tr("Function or method parameters."), QColor(9, 46, 100));
|
||||
formatDescr.emplace_back(C_FIELD, tr("Field"),
|
||||
tr("Class' data members."), Qt::darkRed);
|
||||
formatDescr.emplace_back(C_GLOBAL, tr("Global"),
|
||||
tr("Global variables."), QColor(206, 92, 0));
|
||||
formatDescr.emplace_back(C_ENUMERATION, tr("Enumeration"),
|
||||
tr("Applied to enumeration items."), Qt::darkMagenta);
|
||||
formatDescr.emplace_back(C_LOCAL, Tr::tr("Local"),
|
||||
Tr::tr("Local variables."), QColor(9, 46, 100));
|
||||
formatDescr.emplace_back(C_PARAMETER, Tr::tr("Parameter"),
|
||||
Tr::tr("Function or method parameters."), QColor(9, 46, 100));
|
||||
formatDescr.emplace_back(C_FIELD, Tr::tr("Field"),
|
||||
Tr::tr("Class' data members."), Qt::darkRed);
|
||||
formatDescr.emplace_back(C_GLOBAL, Tr::tr("Global"),
|
||||
Tr::tr("Global variables."), QColor(206, 92, 0));
|
||||
formatDescr.emplace_back(C_ENUMERATION, Tr::tr("Enumeration"),
|
||||
Tr::tr("Applied to enumeration items."), Qt::darkMagenta);
|
||||
|
||||
Format functionFormat;
|
||||
functionFormat.setForeground(QColor(0, 103, 124));
|
||||
formatDescr.emplace_back(C_FUNCTION, tr("Function"), tr("Name of a function."),
|
||||
formatDescr.emplace_back(C_FUNCTION, Tr::tr("Function"), Tr::tr("Name of a function."),
|
||||
functionFormat);
|
||||
Format declarationFormat;
|
||||
declarationFormat.setBold(true);
|
||||
formatDescr.emplace_back(C_DECLARATION,
|
||||
tr("Declaration"),
|
||||
tr("Style adjustments to declarations."),
|
||||
Tr::tr("Declaration"),
|
||||
Tr::tr("Style adjustments to declarations."),
|
||||
declarationFormat,
|
||||
FormatDescription::ShowAllControls);
|
||||
formatDescr.emplace_back(C_FUNCTION_DEFINITION,
|
||||
tr("Function Definition"),
|
||||
tr("Name of function at its definition."),
|
||||
Tr::tr("Function Definition"),
|
||||
Tr::tr("Name of function at its definition."),
|
||||
FormatDescription::ShowAllControls);
|
||||
Format virtualFunctionFormat(functionFormat);
|
||||
virtualFunctionFormat.setItalic(true);
|
||||
formatDescr.emplace_back(C_VIRTUAL_METHOD, tr("Virtual Function"),
|
||||
tr("Name of function declared as virtual."),
|
||||
formatDescr.emplace_back(C_VIRTUAL_METHOD, Tr::tr("Virtual Function"),
|
||||
Tr::tr("Name of function declared as virtual."),
|
||||
virtualFunctionFormat);
|
||||
|
||||
formatDescr.emplace_back(C_BINDING, tr("QML Binding"),
|
||||
tr("QML item property, that allows a "
|
||||
formatDescr.emplace_back(C_BINDING, Tr::tr("QML Binding"),
|
||||
Tr::tr("QML item property, that allows a "
|
||||
"binding to another property."),
|
||||
Qt::darkRed);
|
||||
|
||||
Format qmlLocalNameFormat;
|
||||
qmlLocalNameFormat.setItalic(true);
|
||||
formatDescr.emplace_back(C_QML_LOCAL_ID, tr("QML Local Id"),
|
||||
tr("QML item id within a QML file."), qmlLocalNameFormat);
|
||||
formatDescr.emplace_back(C_QML_LOCAL_ID, Tr::tr("QML Local Id"),
|
||||
Tr::tr("QML item id within a QML file."), qmlLocalNameFormat);
|
||||
formatDescr.emplace_back(C_QML_ROOT_OBJECT_PROPERTY,
|
||||
tr("QML Root Object Property"),
|
||||
tr("QML property of a parent item."), qmlLocalNameFormat);
|
||||
Tr::tr("QML Root Object Property"),
|
||||
Tr::tr("QML property of a parent item."), qmlLocalNameFormat);
|
||||
formatDescr.emplace_back(C_QML_SCOPE_OBJECT_PROPERTY,
|
||||
tr("QML Scope Object Property"),
|
||||
tr("Property of the same QML item."), qmlLocalNameFormat);
|
||||
formatDescr.emplace_back(C_QML_STATE_NAME, tr("QML State Name"),
|
||||
tr("Name of a QML state."), qmlLocalNameFormat);
|
||||
Tr::tr("QML Scope Object Property"),
|
||||
Tr::tr("Property of the same QML item."), qmlLocalNameFormat);
|
||||
formatDescr.emplace_back(C_QML_STATE_NAME, Tr::tr("QML State Name"),
|
||||
Tr::tr("Name of a QML state."), qmlLocalNameFormat);
|
||||
|
||||
formatDescr.emplace_back(C_QML_TYPE_ID, tr("QML Type Name"),
|
||||
tr("Name of a QML type."), Qt::darkMagenta);
|
||||
formatDescr.emplace_back(C_QML_TYPE_ID, Tr::tr("QML Type Name"),
|
||||
Tr::tr("Name of a QML type."), Qt::darkMagenta);
|
||||
|
||||
Format qmlExternalNameFormat = qmlLocalNameFormat;
|
||||
qmlExternalNameFormat.setForeground(Qt::darkBlue);
|
||||
formatDescr.emplace_back(C_QML_EXTERNAL_ID, tr("QML External Id"),
|
||||
tr("QML id defined in another QML file."),
|
||||
formatDescr.emplace_back(C_QML_EXTERNAL_ID, Tr::tr("QML External Id"),
|
||||
Tr::tr("QML id defined in another QML file."),
|
||||
qmlExternalNameFormat);
|
||||
formatDescr.emplace_back(C_QML_EXTERNAL_OBJECT_PROPERTY,
|
||||
tr("QML External Object Property"),
|
||||
tr("QML property defined in another QML file."),
|
||||
Tr::tr("QML External Object Property"),
|
||||
Tr::tr("QML property defined in another QML file."),
|
||||
qmlExternalNameFormat);
|
||||
|
||||
Format jsLocalFormat;
|
||||
jsLocalFormat.setForeground(QColor(41, 133, 199)); // very light blue
|
||||
jsLocalFormat.setItalic(true);
|
||||
formatDescr.emplace_back(C_JS_SCOPE_VAR, tr("JavaScript Scope Var"),
|
||||
tr("Variables defined inside the JavaScript file."),
|
||||
formatDescr.emplace_back(C_JS_SCOPE_VAR, Tr::tr("JavaScript Scope Var"),
|
||||
Tr::tr("Variables defined inside the JavaScript file."),
|
||||
jsLocalFormat);
|
||||
|
||||
Format jsGlobalFormat;
|
||||
jsGlobalFormat.setForeground(QColor(0, 85, 175)); // light blue
|
||||
jsGlobalFormat.setItalic(true);
|
||||
formatDescr.emplace_back(C_JS_IMPORT_VAR, tr("JavaScript Import"),
|
||||
tr("Name of a JavaScript import inside a QML file."),
|
||||
formatDescr.emplace_back(C_JS_IMPORT_VAR, Tr::tr("JavaScript Import"),
|
||||
Tr::tr("Name of a JavaScript import inside a QML file."),
|
||||
jsGlobalFormat);
|
||||
formatDescr.emplace_back(C_JS_GLOBAL_VAR, tr("JavaScript Global Variable"),
|
||||
tr("Variables defined outside the script."),
|
||||
formatDescr.emplace_back(C_JS_GLOBAL_VAR, Tr::tr("JavaScript Global Variable"),
|
||||
Tr::tr("Variables defined outside the script."),
|
||||
jsGlobalFormat);
|
||||
|
||||
formatDescr.emplace_back(C_KEYWORD, tr("Keyword"),
|
||||
tr("Reserved keywords of the programming language except "
|
||||
formatDescr.emplace_back(C_KEYWORD, Tr::tr("Keyword"),
|
||||
Tr::tr("Reserved keywords of the programming language except "
|
||||
"keywords denoting primitive types."), Qt::darkYellow);
|
||||
formatDescr.emplace_back(C_PUNCTUATION, tr("Punctuation"),
|
||||
tr("Punctuation excluding operators."));
|
||||
formatDescr.emplace_back(C_OPERATOR, tr("Operator"),
|
||||
tr("Non user-defined language operators.\n"
|
||||
formatDescr.emplace_back(C_PUNCTUATION, Tr::tr("Punctuation"),
|
||||
Tr::tr("Punctuation excluding operators."));
|
||||
formatDescr.emplace_back(C_OPERATOR, Tr::tr("Operator"),
|
||||
Tr::tr("Non user-defined language operators.\n"
|
||||
"To style user-defined operators, use Overloaded Operator."),
|
||||
FormatDescription::ShowAllControls);
|
||||
formatDescr.emplace_back(C_OVERLOADED_OPERATOR,
|
||||
tr("Overloaded Operators"),
|
||||
tr("Calls and declarations of overloaded (user-defined) operators."),
|
||||
Tr::tr("Overloaded Operators"),
|
||||
Tr::tr("Calls and declarations of overloaded (user-defined) operators."),
|
||||
functionFormat,
|
||||
FormatDescription::ShowAllControls);
|
||||
formatDescr.emplace_back(C_PREPROCESSOR, tr("Preprocessor"),
|
||||
tr("Preprocessor directives."), Qt::darkBlue);
|
||||
formatDescr.emplace_back(C_MACRO, tr("Macro"),
|
||||
tr("Macros."), functionFormat);
|
||||
formatDescr.emplace_back(C_LABEL, tr("Label"), tr("Labels for goto statements."),
|
||||
formatDescr.emplace_back(C_PREPROCESSOR, Tr::tr("Preprocessor"),
|
||||
Tr::tr("Preprocessor directives."), Qt::darkBlue);
|
||||
formatDescr.emplace_back(C_MACRO, Tr::tr("Macro"),
|
||||
Tr::tr("Macros."), functionFormat);
|
||||
formatDescr.emplace_back(C_LABEL, Tr::tr("Label"), Tr::tr("Labels for goto statements."),
|
||||
Qt::darkRed);
|
||||
formatDescr.emplace_back(C_COMMENT, tr("Comment"),
|
||||
tr("All style of comments except Doxygen comments."),
|
||||
formatDescr.emplace_back(C_COMMENT, Tr::tr("Comment"),
|
||||
Tr::tr("All style of comments except Doxygen comments."),
|
||||
Qt::darkGreen);
|
||||
formatDescr.emplace_back(C_DOXYGEN_COMMENT, tr("Doxygen Comment"),
|
||||
tr("Doxygen comments."), Qt::darkBlue);
|
||||
formatDescr.emplace_back(C_DOXYGEN_TAG, tr("Doxygen Tag"), tr("Doxygen tags."),
|
||||
formatDescr.emplace_back(C_DOXYGEN_COMMENT, Tr::tr("Doxygen Comment"),
|
||||
Tr::tr("Doxygen comments."), Qt::darkBlue);
|
||||
formatDescr.emplace_back(C_DOXYGEN_TAG, Tr::tr("Doxygen Tag"), Tr::tr("Doxygen tags."),
|
||||
Qt::blue);
|
||||
formatDescr.emplace_back(C_VISUAL_WHITESPACE, tr("Visual Whitespace"),
|
||||
tr("Whitespace.\nWill not be applied to whitespace "
|
||||
formatDescr.emplace_back(C_VISUAL_WHITESPACE, Tr::tr("Visual Whitespace"),
|
||||
Tr::tr("Whitespace.\nWill not be applied to whitespace "
|
||||
"in comments and strings."), Qt::lightGray);
|
||||
formatDescr.emplace_back(C_DISABLED_CODE, tr("Disabled Code"),
|
||||
tr("Code disabled by preprocessor directives."));
|
||||
formatDescr.emplace_back(C_DISABLED_CODE, Tr::tr("Disabled Code"),
|
||||
Tr::tr("Code disabled by preprocessor directives."));
|
||||
|
||||
// Diff categories
|
||||
formatDescr.emplace_back(C_ADDED_LINE, tr("Added Line"),
|
||||
tr("Applied to added lines in differences (in diff editor)."),
|
||||
formatDescr.emplace_back(C_ADDED_LINE, Tr::tr("Added Line"),
|
||||
Tr::tr("Applied to added lines in differences (in diff editor)."),
|
||||
QColor(0, 170, 0));
|
||||
formatDescr.emplace_back(C_REMOVED_LINE, tr("Removed Line"),
|
||||
tr("Applied to removed lines in differences (in diff editor)."),
|
||||
formatDescr.emplace_back(C_REMOVED_LINE, Tr::tr("Removed Line"),
|
||||
Tr::tr("Applied to removed lines in differences (in diff editor)."),
|
||||
Qt::red);
|
||||
formatDescr.emplace_back(C_DIFF_FILE, tr("Diff File"),
|
||||
tr("Compared files (in diff editor)."), Qt::darkBlue);
|
||||
formatDescr.emplace_back(C_DIFF_LOCATION, tr("Diff Location"),
|
||||
tr("Location in the files where the difference is "
|
||||
formatDescr.emplace_back(C_DIFF_FILE, Tr::tr("Diff File"),
|
||||
Tr::tr("Compared files (in diff editor)."), Qt::darkBlue);
|
||||
formatDescr.emplace_back(C_DIFF_LOCATION, Tr::tr("Diff Location"),
|
||||
Tr::tr("Location in the files where the difference is "
|
||||
"(in diff editor)."), Qt::blue);
|
||||
|
||||
// New diff categories
|
||||
formatDescr.emplace_back(C_DIFF_FILE_LINE, tr("Diff File Line"),
|
||||
tr("Applied to lines with file information "
|
||||
formatDescr.emplace_back(C_DIFF_FILE_LINE, Tr::tr("Diff File Line"),
|
||||
Tr::tr("Applied to lines with file information "
|
||||
"in differences (in side-by-side diff editor)."),
|
||||
Format(QColor(), QColor(255, 255, 0)));
|
||||
formatDescr.emplace_back(C_DIFF_CONTEXT_LINE, tr("Diff Context Line"),
|
||||
tr("Applied to lines describing hidden context "
|
||||
formatDescr.emplace_back(C_DIFF_CONTEXT_LINE, Tr::tr("Diff Context Line"),
|
||||
Tr::tr("Applied to lines describing hidden context "
|
||||
"in differences (in side-by-side diff editor)."),
|
||||
Format(QColor(), QColor(175, 215, 231)));
|
||||
formatDescr.emplace_back(C_DIFF_SOURCE_LINE, tr("Diff Source Line"),
|
||||
tr("Applied to source lines with changes "
|
||||
formatDescr.emplace_back(C_DIFF_SOURCE_LINE, Tr::tr("Diff Source Line"),
|
||||
Tr::tr("Applied to source lines with changes "
|
||||
"in differences (in side-by-side diff editor)."),
|
||||
Format(QColor(), QColor(255, 223, 223)));
|
||||
formatDescr.emplace_back(C_DIFF_SOURCE_CHAR, tr("Diff Source Character"),
|
||||
tr("Applied to removed characters "
|
||||
formatDescr.emplace_back(C_DIFF_SOURCE_CHAR, Tr::tr("Diff Source Character"),
|
||||
Tr::tr("Applied to removed characters "
|
||||
"in differences (in side-by-side diff editor)."),
|
||||
Format(QColor(), QColor(255, 175, 175)));
|
||||
formatDescr.emplace_back(C_DIFF_DEST_LINE, tr("Diff Destination Line"),
|
||||
tr("Applied to destination lines with changes "
|
||||
formatDescr.emplace_back(C_DIFF_DEST_LINE, Tr::tr("Diff Destination Line"),
|
||||
Tr::tr("Applied to destination lines with changes "
|
||||
"in differences (in side-by-side diff editor)."),
|
||||
Format(QColor(), QColor(223, 255, 223)));
|
||||
formatDescr.emplace_back(C_DIFF_DEST_CHAR, tr("Diff Destination Character"),
|
||||
tr("Applied to added characters "
|
||||
formatDescr.emplace_back(C_DIFF_DEST_CHAR, Tr::tr("Diff Destination Character"),
|
||||
Tr::tr("Applied to added characters "
|
||||
"in differences (in side-by-side diff editor)."),
|
||||
Format(QColor(), QColor(175, 255, 175)));
|
||||
|
||||
formatDescr.emplace_back(C_LOG_CHANGE_LINE, tr("Log Change Line"),
|
||||
tr("Applied to lines describing changes in VCS log."),
|
||||
formatDescr.emplace_back(C_LOG_CHANGE_LINE, Tr::tr("Log Change Line"),
|
||||
Tr::tr("Applied to lines describing changes in VCS log."),
|
||||
Format(QColor(192, 0, 0), QColor()));
|
||||
formatDescr.emplace_back(C_LOG_AUTHOR_NAME, tr("Log Author Name"),
|
||||
tr("Applied to author names in VCS log."),
|
||||
formatDescr.emplace_back(C_LOG_AUTHOR_NAME, Tr::tr("Log Author Name"),
|
||||
Tr::tr("Applied to author names in VCS log."),
|
||||
Format(QColor(0x007af4), QColor()));
|
||||
formatDescr.emplace_back(C_LOG_COMMIT_DATE, tr("Log Commit Date"),
|
||||
tr("Applied to commit dates in VCS log."),
|
||||
formatDescr.emplace_back(C_LOG_COMMIT_DATE, Tr::tr("Log Commit Date"),
|
||||
Tr::tr("Applied to commit dates in VCS log."),
|
||||
Format(QColor(0x006600), QColor()));
|
||||
formatDescr.emplace_back(C_LOG_COMMIT_HASH, tr("Log Commit Hash"),
|
||||
tr("Applied to commit hashes in VCS log."),
|
||||
formatDescr.emplace_back(C_LOG_COMMIT_HASH, Tr::tr("Log Commit Hash"),
|
||||
Tr::tr("Applied to commit hashes in VCS log."),
|
||||
Format(QColor(0xff0000), QColor()));
|
||||
formatDescr.emplace_back(C_LOG_DECORATION, tr("Log Decoration"),
|
||||
tr("Applied to commit decorations in VCS log."),
|
||||
formatDescr.emplace_back(C_LOG_DECORATION, Tr::tr("Log Decoration"),
|
||||
Tr::tr("Applied to commit decorations in VCS log."),
|
||||
Format(QColor(0xff00ff), QColor()));
|
||||
formatDescr.emplace_back(C_LOG_COMMIT_SUBJECT, tr("Log Commit Subject"),
|
||||
tr("Applied to commit subjects in VCS log."),
|
||||
formatDescr.emplace_back(C_LOG_COMMIT_SUBJECT, Tr::tr("Log Commit Subject"),
|
||||
Tr::tr("Applied to commit subjects in VCS log."),
|
||||
Format{QColor{}, QColor{}});
|
||||
|
||||
// Mixin categories
|
||||
formatDescr.emplace_back(C_ERROR,
|
||||
tr("Error"),
|
||||
tr("Underline color of error diagnostics."),
|
||||
Tr::tr("Error"),
|
||||
Tr::tr("Underline color of error diagnostics."),
|
||||
QColor(255,0, 0),
|
||||
QTextCharFormat::SingleUnderline,
|
||||
FormatDescription::ShowAllControls);
|
||||
formatDescr.emplace_back(C_ERROR_CONTEXT,
|
||||
tr("Error Context"),
|
||||
tr("Underline color of the contexts of error diagnostics."),
|
||||
Tr::tr("Error Context"),
|
||||
Tr::tr("Underline color of the contexts of error diagnostics."),
|
||||
QColor(255,0, 0),
|
||||
QTextCharFormat::DotLine,
|
||||
FormatDescription::ShowAllControls);
|
||||
formatDescr.emplace_back(C_WARNING,
|
||||
tr("Warning"),
|
||||
tr("Underline color of warning diagnostics."),
|
||||
Tr::tr("Warning"),
|
||||
Tr::tr("Underline color of warning diagnostics."),
|
||||
QColor(255, 190, 0),
|
||||
QTextCharFormat::SingleUnderline,
|
||||
FormatDescription::ShowAllControls);
|
||||
formatDescr.emplace_back(C_WARNING_CONTEXT,
|
||||
tr("Warning Context"),
|
||||
tr("Underline color of the contexts of warning diagnostics."),
|
||||
Tr::tr("Warning Context"),
|
||||
Tr::tr("Underline color of the contexts of warning diagnostics."),
|
||||
QColor(255, 190, 0),
|
||||
QTextCharFormat::DotLine,
|
||||
FormatDescription::ShowAllControls);
|
||||
Format outputArgumentFormat;
|
||||
outputArgumentFormat.setItalic(true);
|
||||
formatDescr.emplace_back(C_OUTPUT_ARGUMENT,
|
||||
tr("Output Argument"),
|
||||
tr("Writable arguments of a function call."),
|
||||
Tr::tr("Output Argument"),
|
||||
Tr::tr("Writable arguments of a function call."),
|
||||
outputArgumentFormat,
|
||||
FormatDescription::ShowAllControls);
|
||||
formatDescr.emplace_back(C_STATIC_MEMBER,
|
||||
tr("Static Member"),
|
||||
tr("Names of static fields or member functions."),
|
||||
Tr::tr("Static Member"),
|
||||
Tr::tr("Names of static fields or member functions."),
|
||||
FormatDescription::ShowAllControls);
|
||||
|
||||
const auto cocoControls = FormatDescription::ShowControls(
|
||||
FormatDescription::ShowAllAbsoluteControls | FormatDescription::ShowRelativeControls);
|
||||
formatDescr.emplace_back(C_COCO_CODE_ADDED,
|
||||
tr("Code Coverage Added Code"),
|
||||
tr("New code that was not checked for tests."),
|
||||
Tr::tr("Code Coverage Added Code"),
|
||||
Tr::tr("New code that was not checked for tests."),
|
||||
cocoControls);
|
||||
formatDescr.emplace_back(C_COCO_PARTIALLY_COVERED,
|
||||
tr("Partially Covered Code"),
|
||||
tr("Partial branch/condition coverage."),
|
||||
Tr::tr("Partially Covered Code"),
|
||||
Tr::tr("Partial branch/condition coverage."),
|
||||
Qt::darkYellow,
|
||||
cocoControls);
|
||||
formatDescr.emplace_back(C_COCO_NOT_COVERED,
|
||||
tr("Uncovered Code"),
|
||||
tr("Not covered at all."),
|
||||
Tr::tr("Uncovered Code"),
|
||||
Tr::tr("Not covered at all."),
|
||||
Qt::red,
|
||||
cocoControls);
|
||||
formatDescr.emplace_back(C_COCO_FULLY_COVERED,
|
||||
tr("Fully Covered Code"),
|
||||
tr("Fully covered code."),
|
||||
Tr::tr("Fully Covered Code"),
|
||||
Tr::tr("Fully covered code."),
|
||||
Qt::green,
|
||||
cocoControls);
|
||||
formatDescr.emplace_back(C_COCO_MANUALLY_VALIDATED,
|
||||
tr("Manually Validated Code"),
|
||||
tr("User added validation."),
|
||||
Tr::tr("Manually Validated Code"),
|
||||
Tr::tr("User added validation."),
|
||||
Qt::blue,
|
||||
cocoControls);
|
||||
formatDescr.emplace_back(C_COCO_DEAD_CODE,
|
||||
tr("Code Coverage Dead Code"),
|
||||
tr("Unreachable code."),
|
||||
Tr::tr("Code Coverage Dead Code"),
|
||||
Tr::tr("Unreachable code."),
|
||||
Qt::magenta,
|
||||
cocoControls);
|
||||
formatDescr.emplace_back(C_COCO_EXECUTION_COUNT_TOO_LOW,
|
||||
tr("Code Coverage Execution Count Too Low"),
|
||||
tr("Minimum count not reached."),
|
||||
Tr::tr("Code Coverage Execution Count Too Low"),
|
||||
Tr::tr("Minimum count not reached."),
|
||||
Qt::red,
|
||||
cocoControls);
|
||||
formatDescr.emplace_back(C_COCO_NOT_COVERED_INFO,
|
||||
tr("Implicitly Not Covered Code"),
|
||||
tr("PLACEHOLDER"),
|
||||
Tr::tr("Implicitly Not Covered Code"),
|
||||
Tr::tr("PLACEHOLDER"),
|
||||
Qt::red,
|
||||
cocoControls);
|
||||
formatDescr.emplace_back(C_COCO_COVERED_INFO,
|
||||
tr("Implicitly Covered Code"),
|
||||
tr("PLACEHOLDER"),
|
||||
Tr::tr("Implicitly Covered Code"),
|
||||
Tr::tr("PLACEHOLDER"),
|
||||
Qt::green,
|
||||
cocoControls);
|
||||
formatDescr.emplace_back(C_COCO_MANUALLY_VALIDATED_INFO,
|
||||
tr("Implicit Manual Coverage Validation"),
|
||||
tr("PLACEHOLDER"),
|
||||
Tr::tr("Implicit Manual Coverage Validation"),
|
||||
Tr::tr("PLACEHOLDER"),
|
||||
Qt::blue,
|
||||
cocoControls);
|
||||
|
||||
|
@@ -299,7 +299,7 @@ void TextMark::addToToolTipLayout(QGridLayout *target) const
|
||||
if (m_settingsPage.isValid()) {
|
||||
auto settingsAction = new QAction;
|
||||
settingsAction->setIcon(Utils::Icons::SETTINGS_TOOLBAR.icon());
|
||||
settingsAction->setToolTip(tr("Show Diagnostic Settings"));
|
||||
settingsAction->setToolTip(Tr::tr("Show Diagnostic Settings"));
|
||||
QObject::connect(settingsAction, &QAction::triggered, Core::ICore::instance(),
|
||||
[id = m_settingsPage] { Core::ICore::showOptionsDialog(id); },
|
||||
Qt::QueuedConnection);
|
||||
|
@@ -37,7 +37,6 @@ public:
|
||||
|
||||
class TEXTEDITOR_EXPORT TextMark
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(TextEditor::TextMark)
|
||||
public:
|
||||
TextMark(const Utils::FilePath &fileName,
|
||||
int lineNumber,
|
||||
|
Reference in New Issue
Block a user