aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit')
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp2
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/i18n/l-te_da.ts116
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/i18n/l-te_de.ts16
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/i18n/l-te_pl.ts22
4 files changed, 87 insertions, 69 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp b/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp
index e8eaa007..a0aff9cc 100644
--- a/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp
+++ b/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp
@@ -83,7 +83,7 @@ void PlainTextEditor::LoadFile(QString filepath){
this->centerCursor(); //scroll until cursor is centered (if possible)
}
hasChanges = false;
- watcher->addPath(filepath);
+ if(QFile::exists(filepath)){ watcher->addPath(filepath); }
emit FileLoaded(this->whatsThis());
}
diff --git a/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_da.ts b/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_da.ts
index 66f5b9bd..f9a5fdde 100644
--- a/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_da.ts
+++ b/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_da.ts
@@ -1,43 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="l-te_da">
<context>
<name>ColorDialog</name>
<message>
<location filename="../ColorDialog.ui" line="14"/>
<source>Customize Colors</source>
- <translation type="unfinished"></translation>
+ <translation>Tilpas farver</translation>
</message>
<message>
<location filename="../ColorDialog.ui" line="24"/>
<source>Item Type</source>
- <translation type="unfinished"></translation>
+ <translation>Posttype</translation>
</message>
<message>
<location filename="../ColorDialog.ui" line="29"/>
<source>Color</source>
- <translation type="unfinished"></translation>
+ <translation>Farve</translation>
</message>
<message>
<location filename="../ColorDialog.ui" line="34"/>
<source>Sample</source>
- <translation type="unfinished"></translation>
+ <translation>Prøve</translation>
</message>
<message>
<location filename="../ColorDialog.ui" line="44"/>
<location filename="../ColorDialog.cpp" line="55"/>
<source>Select Color</source>
- <translation type="unfinished"></translation>
+ <translation>Vælg farve</translation>
</message>
<message>
<location filename="../ColorDialog.ui" line="64"/>
<source>Cancel</source>
- <translation type="unfinished"></translation>
+ <translation>Annuller</translation>
</message>
<message>
<location filename="../ColorDialog.ui" line="71"/>
<source>Apply</source>
- <translation type="unfinished"></translation>
+ <translation>Anvend</translation>
</message>
</context>
<context>
@@ -45,17 +45,17 @@
<message>
<location filename="../MainUI.ui" line="14"/>
<source>MainWindow</source>
- <translation type="unfinished"></translation>
+ <translation>Hovedvindue</translation>
</message>
<message>
<location filename="../MainUI.ui" line="46"/>
<source>Tab 1</source>
- <translation type="unfinished"></translation>
+ <translation>Faneblad 1</translation>
</message>
<message>
<location filename="../MainUI.ui" line="81"/>
<source>Find the previous match</source>
- <translation type="unfinished"></translation>
+ <translation>Find det forrige match</translation>
</message>
<message>
<location filename="../MainUI.ui" line="84"/>
@@ -64,184 +64,184 @@
<location filename="../MainUI.ui" line="161"/>
<location filename="../MainUI.ui" line="173"/>
<source>...</source>
- <translation type="unfinished"></translation>
+ <translation>...</translation>
</message>
<message>
<location filename="../MainUI.ui" line="183"/>
<source>Find:</source>
- <translation type="unfinished"></translation>
+ <translation>Find:</translation>
</message>
<message>
<location filename="../MainUI.ui" line="94"/>
<source>Find the next match</source>
- <translation type="unfinished"></translation>
+ <translation>Find det næste match</translation>
</message>
<message>
<location filename="../MainUI.ui" line="104"/>
<source>Replace:</source>
- <translation type="unfinished"></translation>
+ <translation>Erstat:</translation>
</message>
<message>
<location filename="../MainUI.ui" line="123"/>
<source>Match case</source>
- <translation type="unfinished"></translation>
+ <translation>Forskel på store og små bogstaver</translation>
</message>
<message>
<location filename="../MainUI.ui" line="145"/>
<source>Replace next match</source>
- <translation type="unfinished"></translation>
+ <translation>Erstat næste match</translation>
</message>
<message>
<location filename="../MainUI.ui" line="158"/>
<source>Replace all matches (to end of document)</source>
- <translation type="unfinished"></translation>
+ <translation>Erstat alle match (til slutningen af dokumentet)</translation>
</message>
<message>
<location filename="../MainUI.ui" line="170"/>
<source>Hide the find/replace options</source>
- <translation type="unfinished"></translation>
+ <translation>Skjul valgmulighederne find/erstat</translation>
</message>
<message>
<location filename="../MainUI.ui" line="208"/>
<source>File</source>
- <translation type="unfinished"></translation>
+ <translation>Fil</translation>
</message>
<message>
<location filename="../MainUI.ui" line="221"/>
<source>View</source>
- <translation type="unfinished"></translation>
+ <translation>Vis</translation>
</message>
<message>
<location filename="../MainUI.ui" line="225"/>
<source>Syntax Highlighting</source>
- <translation type="unfinished"></translation>
+ <translation>Syntaksfremhævning</translation>
</message>
<message>
<location filename="../MainUI.ui" line="238"/>
<source>Edit</source>
- <translation type="unfinished"></translation>
+ <translation>Rediger</translation>
</message>
<message>
<location filename="../MainUI.ui" line="253"/>
<source>toolBar</source>
- <translation type="unfinished"></translation>
+ <translation>værktøjsbjælke</translation>
</message>
<message>
<location filename="../MainUI.ui" line="279"/>
<source>Show Line Numbers</source>
- <translation type="unfinished"></translation>
+ <translation>Vis linjenumre</translation>
</message>
<message>
<location filename="../MainUI.ui" line="284"/>
<source>None</source>
- <translation type="unfinished"></translation>
+ <translation>Ingen</translation>
</message>
<message>
<location filename="../MainUI.ui" line="289"/>
<location filename="../MainUI.cpp" line="151"/>
<source>New File</source>
- <translation type="unfinished"></translation>
+ <translation>Ny fil</translation>
</message>
<message>
<location filename="../MainUI.ui" line="292"/>
<source>Ctrl+N</source>
- <translation type="unfinished"></translation>
+ <translation>Ctrl+N</translation>
</message>
<message>
<location filename="../MainUI.ui" line="300"/>
<source>Open File</source>
- <translation type="unfinished"></translation>
+ <translation>Åbn fil</translation>
</message>
<message>
<location filename="../MainUI.ui" line="303"/>
<source>Ctrl+O</source>
- <translation type="unfinished"></translation>
+ <translation>Ctrl+O</translation>
</message>
<message>
<location filename="../MainUI.ui" line="311"/>
<source>Save File</source>
- <translation type="unfinished"></translation>
+ <translation>Gem fil</translation>
</message>
<message>
<location filename="../MainUI.ui" line="314"/>
<source>Ctrl+S</source>
- <translation type="unfinished"></translation>
+ <translation>Ctrl+S</translation>
</message>
<message>
<location filename="../MainUI.ui" line="322"/>
<source>Save File As</source>
- <translation type="unfinished"></translation>
+ <translation>Gem fil som</translation>
</message>
<message>
<location filename="../MainUI.ui" line="327"/>
<source>Close</source>
- <translation type="unfinished"></translation>
+ <translation>Luk</translation>
</message>
<message>
<location filename="../MainUI.ui" line="330"/>
<source>Ctrl+Q</source>
- <translation type="unfinished"></translation>
+ <translation>Ctrl+Q</translation>
</message>
<message>
<location filename="../MainUI.ui" line="338"/>
<source>Close File</source>
- <translation type="unfinished"></translation>
+ <translation>Luk fil</translation>
</message>
<message>
<location filename="../MainUI.ui" line="341"/>
<source>Ctrl+W</source>
- <translation type="unfinished"></translation>
+ <translation>Ctrl+W</translation>
</message>
<message>
<location filename="../MainUI.ui" line="349"/>
<source>Customize Colors</source>
- <translation type="unfinished"></translation>
+ <translation>Tilpas farver</translation>
</message>
<message>
<location filename="../MainUI.ui" line="360"/>
<source>Wrap Lines</source>
- <translation type="unfinished"></translation>
+ <translation>Ombryd linjer</translation>
</message>
<message>
<location filename="../MainUI.ui" line="365"/>
<source>Find</source>
- <translation type="unfinished"></translation>
+ <translation>Find</translation>
</message>
<message>
<location filename="../MainUI.ui" line="368"/>
<source>Ctrl+F</source>
- <translation type="unfinished"></translation>
+ <translation>Ctrl+F</translation>
</message>
<message>
<location filename="../MainUI.ui" line="376"/>
<source>Replace</source>
- <translation type="unfinished"></translation>
+ <translation>Erstat</translation>
</message>
<message>
<location filename="../MainUI.ui" line="379"/>
<source>Ctrl+R</source>
- <translation type="unfinished"></translation>
+ <translation>Ctrl+R</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="40"/>
<source>Text Editor</source>
- <translation type="unfinished"></translation>
+ <translation>Tekstredigering</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="158"/>
<source>Open File(s)</source>
- <translation type="unfinished"></translation>
+ <translation>Åbn fil(er)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="158"/>
<source>Text Files (*)</source>
- <translation type="unfinished"></translation>
+ <translation>Tekstfiler (*)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="289"/>
<location filename="../MainUI.cpp" line="386"/>
<source>Lose Unsaved Changes?</source>
- <translation type="unfinished"></translation>
+ <translation>Mist ugemte ændringer?</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="289"/>
@@ -249,7 +249,10 @@
Do you want to close it anyway?
%1</source>
- <translation type="unfinished"></translation>
+ <translation>Denne fil har ugemte ændringer.
+Vil du lukke den alligevel?
+
+%1</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="386"/>
@@ -257,7 +260,10 @@ Do you want to close it anyway?
Do you want to close the editor anyway?
%1</source>
- <translation type="unfinished"></translation>
+ <translation>Der er ugemte ændringer.
+Vil du lukke redigeringsprogrammet alligevel?
+
+%1</translation>
</message>
</context>
<context>
@@ -265,32 +271,32 @@ Do you want to close the editor anyway?
<message>
<location filename="../PlainTextEditor.cpp" line="94"/>
<source>Save File</source>
- <translation type="unfinished"></translation>
+ <translation>Gem fil</translation>
</message>
<message>
<location filename="../PlainTextEditor.cpp" line="94"/>
<source>Text File (*)</source>
- <translation type="unfinished"></translation>
+ <translation>Tekstfil (*)</translation>
</message>
<message>
<location filename="../PlainTextEditor.cpp" line="289"/>
<source>Row Number: %1, Column Number: %2</source>
- <translation type="unfinished"></translation>
+ <translation>Rækkenummer: %1, kolonnenummer: %2</translation>
</message>
<message>
<location filename="../PlainTextEditor.cpp" line="298"/>
<source>The following file has been changed by some other utility. Do you want to re-load it?</source>
- <translation type="unfinished"></translation>
+ <translation>Den følgende fil er blevet ændret af et andet redskab. Vil du genindlæse den?</translation>
</message>
<message>
<location filename="../PlainTextEditor.cpp" line="300"/>
<source>(Note: You will lose all currently-unsaved changes)</source>
- <translation type="unfinished"></translation>
+ <translation>(bemærk: du vil miste alle nuværende ugemte ændringer)</translation>
</message>
<message>
<location filename="../PlainTextEditor.cpp" line="304"/>
<source>File Modified</source>
- <translation type="unfinished"></translation>
+ <translation>Fil ændret</translation>
</message>
</context>
</TS>
diff --git a/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_de.ts b/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_de.ts
index d493699e..9d7c344b 100644
--- a/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_de.ts
+++ b/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_de.ts
@@ -241,7 +241,7 @@
<location filename="../MainUI.cpp" line="289"/>
<location filename="../MainUI.cpp" line="386"/>
<source>Lose Unsaved Changes?</source>
- <translation type="unfinished"></translation>
+ <translation>Nicht gespeicherte Änderungen verlieren?</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="289"/>
@@ -249,7 +249,10 @@
Do you want to close it anyway?
%1</source>
- <translation type="unfinished"></translation>
+ <translation>Diese Datei hat nicht gespeicherte Änderungen.
+Möchten Sie sie trotzdem schließen?
+
+%1</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="386"/>
@@ -257,7 +260,10 @@ Do you want to close it anyway?
Do you want to close the editor anyway?
%1</source>
- <translation type="unfinished"></translation>
+ <translation>Es gibt nicht gespeicherte Änderungen.
+Möchten Sie den Editor trotzdem schließen?
+
+%1</translation>
</message>
</context>
<context>
@@ -275,7 +281,7 @@ Do you want to close the editor anyway?
<message>
<location filename="../PlainTextEditor.cpp" line="289"/>
<source>Row Number: %1, Column Number: %2</source>
- <translation type="unfinished"></translation>
+ <translation>Zeilennummer: %1, Spaltennummer: %2</translation>
</message>
<message>
<location filename="../PlainTextEditor.cpp" line="298"/>
@@ -285,7 +291,7 @@ Do you want to close the editor anyway?
<message>
<location filename="../PlainTextEditor.cpp" line="300"/>
<source>(Note: You will lose all currently-unsaved changes)</source>
- <translation>(Hinweis: Sie werden alle momentan ungespeicherten Änderungen verlieren)</translation>
+ <translation>(Hinweis: Sie werden alle momentan nicht gespeicherten Änderungen verlieren)</translation>
</message>
<message>
<location filename="../PlainTextEditor.cpp" line="304"/>
diff --git a/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_pl.ts b/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_pl.ts
index 914fa454..9d24336f 100644
--- a/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_pl.ts
+++ b/src-qt5/desktop-utils/lumina-textedit/i18n/l-te_pl.ts
@@ -99,7 +99,7 @@
<message>
<location filename="../MainUI.ui" line="170"/>
<source>Hide the find/replace options</source>
- <translation type="unfinished"></translation>
+ <translation>Ukryj opcję szukaj/zamień</translation>
</message>
<message>
<location filename="../MainUI.ui" line="208"/>
@@ -241,7 +241,7 @@
<location filename="../MainUI.cpp" line="289"/>
<location filename="../MainUI.cpp" line="386"/>
<source>Lose Unsaved Changes?</source>
- <translation type="unfinished"></translation>
+ <translation>Porzucić niezapisane zmiany?</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="289"/>
@@ -249,7 +249,10 @@
Do you want to close it anyway?
%1</source>
- <translation type="unfinished"></translation>
+ <translation>Plik posiada niezapisane dane.
+Czy na pewno go zamknąć?
+
+%1</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="386"/>
@@ -257,7 +260,10 @@ Do you want to close it anyway?
Do you want to close the editor anyway?
%1</source>
- <translation type="unfinished"></translation>
+ <translation>Niezapisane dane.
+Czy chcesz mimo to zamknąć edytor?
+
+%1</translation>
</message>
</context>
<context>
@@ -275,22 +281,22 @@ Do you want to close the editor anyway?
<message>
<location filename="../PlainTextEditor.cpp" line="289"/>
<source>Row Number: %1, Column Number: %2</source>
- <translation type="unfinished"></translation>
+ <translation>Numier wiersza: %1, Numer kolumny: %2</translation>
</message>
<message>
<location filename="../PlainTextEditor.cpp" line="298"/>
<source>The following file has been changed by some other utility. Do you want to re-load it?</source>
- <translation type="unfinished"></translation>
+ <translation>Zawartość pliku została zmieniona przez zewnętrzny program. Czy ponownie załadować plik?</translation>
</message>
<message>
<location filename="../PlainTextEditor.cpp" line="300"/>
<source>(Note: You will lose all currently-unsaved changes)</source>
- <translation type="unfinished"></translation>
+ <translation>(Uwaga: Utracisz wszystkie niezapisane dane)</translation>
</message>
<message>
<location filename="../PlainTextEditor.cpp" line="304"/>
<source>File Modified</source>
- <translation type="unfinished"></translation>
+ <translation>Plik zmodyfikowany</translation>
</message>
</context>
</TS>
bgstack15