Skip to content

Commit 4bb7a79

Browse files
committed
updated translating
1 parent 11fe3f1 commit 4bb7a79

File tree

3 files changed

+97
-25
lines changed

3 files changed

+97
-25
lines changed

src/autoupdatergui/translations/QtAutoUpdaterController_de.ts

Lines changed: 43 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<context>
55
<name>AdminAuthorization</name>
66
<message>
7-
<location filename="../adminauthorization_x11.cpp" line="+165"/>
7+
<location filename="../adminauthorization_x11.cpp" line="+189"/>
88
<source>Enter Password</source>
99
<translation>Passwort Eingeben</translation>
1010
</message>
@@ -17,7 +17,7 @@
1717
<context>
1818
<name>DialogMaster</name>
1919
<message>
20-
<location filename="../DialogMaster/dialogmaster.cpp" line="+138"/>
20+
<location filename="../../3rdparty/QtUtils/DialogMaster/dialogmaster.cpp" line="+140"/>
2121
<source>Information</source>
2222
<translation>Information</translation>
2323
</message>
@@ -36,6 +36,21 @@
3636
<source>Error</source>
3737
<translation>Error</translation>
3838
</message>
39+
<message>
40+
<location line="+13"/>
41+
<source>About</source>
42+
<translation>Info</translation>
43+
</message>
44+
<message>
45+
<location line="+1"/>
46+
<source>%1 — Version %2</source>
47+
<translation>%1 — Version %2</translation>
48+
</message>
49+
<message>
50+
<location line="+5"/>
51+
<source>&lt;p&gt;Developed by: &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt;&lt;/p&gt;</source>
52+
<translation>&lt;p&gt;Entwickelt von: &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt;&lt;/p&gt;</translation>
53+
</message>
3954
</context>
4055
<context>
4156
<name>ProgressDialog</name>
@@ -53,15 +68,15 @@
5368
<context>
5469
<name>QtAutoUpdater::ProgressDialog</name>
5570
<message>
56-
<location filename="../progressdialog.cpp" line="+34"/>
71+
<location filename="../progressdialog.cpp" line="+36"/>
5772
<source>Canceling update check…</source>
5873
<translation>Update-Suche wird abgebrochen…</translation>
5974
</message>
6075
</context>
6176
<context>
6277
<name>QtAutoUpdater::UpdateButton</name>
6378
<message>
64-
<location filename="../updatebutton.cpp" line="+103"/>
79+
<location filename="../updatebutton.cpp" line="+108"/>
6580
<source>Checking for updates…</source>
6681
<translation>Suche nach Updates…</translation>
6782
</message>
@@ -79,17 +94,17 @@
7994
<context>
8095
<name>QtAutoUpdater::UpdateController</name>
8196
<message>
82-
<location filename="../updatecontroller.cpp" line="+43"/>
97+
<location filename="../updatecontroller.cpp" line="+40"/>
8398
<location line="+113"/>
8499
<location line="+12"/>
85-
<location line="+80"/>
100+
<location line="+81"/>
86101
<location line="+49"/>
87102
<location line="+4"/>
88103
<source>Check for Updates</source>
89104
<translation>Suche nach Updates</translation>
90105
</message>
91106
<message>
92-
<location line="-144"/>
107+
<location line="-145"/>
93108
<source>Do you want to check for updates now?</source>
94109
<translation>Möchten Sie jetzt nach Updates suchen?</translation>
95110
</message>
@@ -99,7 +114,7 @@
99114
<translation>Das Programm sucht bereits nach neuen Updates!</translation>
100115
</message>
101116
<message>
102-
<location line="+80"/>
117+
<location line="+81"/>
103118
<source>Checking for updates was canceled!</source>
104119
<translation>Suche nach Updates wurde abgebrochen!</translation>
105120
</message>
@@ -124,16 +139,16 @@
124139
<translation>Es sind keine neuen Updates verfügbar!</translation>
125140
</message>
126141
<message>
127-
<location line="-252"/>
142+
<location line="-253"/>
128143
<source>Checks if new updates are available. You will be prompted before updates are installed.</source>
129144
<translation>Überprüft, ob neue Updates verfügbar sind. Sie erhalten eine entsprechende Meldung bevor Diese installiert werden.</translation>
130145
</message>
131146
</context>
132147
<context>
133148
<name>QtAutoUpdater::UpdateInfoDialog</name>
134149
<message>
135-
<location filename="../updateinfodialog.cpp" line="+30"/>
136-
<location line="+18"/>
150+
<location filename="../updateinfodialog.cpp" line="+32"/>
151+
<location line="+19"/>
137152
<source>Updates for %1 are available!</source>
138153
<translation>Updates für %1 sind verfügbar!</translation>
139154
</message>
@@ -227,8 +242,8 @@
227242
</message>
228243
<message>
229244
<location line="+35"/>
230-
<source>There are new updates available! You can install them now or later.</source>
231-
<translation>Es sind neue Updates verfügbar! Sie können diese jetzt oder später installieren.</translation>
245+
<source>There are new updates available! You can install them now or automatically, when you exit the application. If you don&apos;t want to install updates right know, you can install them later.</source>
246+
<translation>Es sind neue Updates verfügbar! Sie können diese jetzt oder später, sobald die Anwendung beendet wird, installieren. Falls Sie jetzt keine Updates installieren möchten, können Sie dies auch später noch tun.</translation>
232247
</message>
233248
<message>
234249
<location line="+16"/>
@@ -257,16 +272,31 @@
257272
</message>
258273
<message>
259274
<location line="+11"/>
275+
<source>Close and do nothing. You can install updates later.</source>
276+
<translation>Beenden und nichts machen. Updates können später installiert werden.</translation>
277+
</message>
278+
<message>
279+
<location line="+3"/>
260280
<source>Install later</source>
261281
<translation>Später Installieren</translation>
262282
</message>
263283
<message>
264284
<location line="+23"/>
285+
<source>You proceed using the application, and as soon as you close it, the updater will start automatically to install the updates.</source>
286+
<translation>Sie können das Programm weiterhin verwenden, und sobald sie es beenden, wird der Update-Prozess automatisch gestartet.</translation>
287+
</message>
288+
<message>
289+
<location line="+3"/>
265290
<source>Install On Exit</source>
266291
<translation>Beim Beenden Installieren</translation>
267292
</message>
268293
<message>
269294
<location line="+10"/>
295+
<source>Closes the application and opens the installer to update the app.</source>
296+
<translation>Beendet die Anwendung und öffnet den Updater zum updaten.</translation>
297+
</message>
298+
<message>
299+
<location line="+3"/>
270300
<source>Install Now</source>
271301
<translation>Jetzt Installieren</translation>
272302
</message>

src/autoupdatergui/translations/QtAutoUpdaterController_template.ts

Lines changed: 42 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<context>
55
<name>AdminAuthorization</name>
66
<message>
7-
<location filename="../adminauthorization_x11.cpp" line="+165"/>
7+
<location filename="../adminauthorization_x11.cpp" line="+189"/>
88
<source>Enter Password</source>
99
<translation type="unfinished"></translation>
1010
</message>
@@ -17,7 +17,7 @@
1717
<context>
1818
<name>DialogMaster</name>
1919
<message>
20-
<location filename="../DialogMaster/dialogmaster.cpp" line="+138"/>
20+
<location filename="../../3rdparty/QtUtils/DialogMaster/dialogmaster.cpp" line="+140"/>
2121
<source>Information</source>
2222
<translation type="unfinished"></translation>
2323
</message>
@@ -36,6 +36,21 @@
3636
<source>Error</source>
3737
<translation type="unfinished"></translation>
3838
</message>
39+
<message>
40+
<location line="+13"/>
41+
<source>About</source>
42+
<translation type="unfinished"></translation>
43+
</message>
44+
<message>
45+
<location line="+1"/>
46+
<source>%1 — Version %2</source>
47+
<translation type="unfinished"></translation>
48+
</message>
49+
<message>
50+
<location line="+5"/>
51+
<source>&lt;p&gt;Developed by: &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt;&lt;/p&gt;</source>
52+
<translation type="unfinished"></translation>
53+
</message>
3954
</context>
4055
<context>
4156
<name>ProgressDialog</name>
@@ -53,15 +68,15 @@
5368
<context>
5469
<name>QtAutoUpdater::ProgressDialog</name>
5570
<message>
56-
<location filename="../progressdialog.cpp" line="+34"/>
71+
<location filename="../progressdialog.cpp" line="+36"/>
5772
<source>Canceling update check…</source>
5873
<translation type="unfinished"></translation>
5974
</message>
6075
</context>
6176
<context>
6277
<name>QtAutoUpdater::UpdateButton</name>
6378
<message>
64-
<location filename="../updatebutton.cpp" line="+103"/>
79+
<location filename="../updatebutton.cpp" line="+108"/>
6580
<source>Checking for updates…</source>
6681
<translation type="unfinished"></translation>
6782
</message>
@@ -79,17 +94,17 @@
7994
<context>
8095
<name>QtAutoUpdater::UpdateController</name>
8196
<message>
82-
<location filename="../updatecontroller.cpp" line="+43"/>
97+
<location filename="../updatecontroller.cpp" line="+40"/>
8398
<location line="+113"/>
8499
<location line="+12"/>
85-
<location line="+80"/>
100+
<location line="+81"/>
86101
<location line="+49"/>
87102
<location line="+4"/>
88103
<source>Check for Updates</source>
89104
<translation type="unfinished"></translation>
90105
</message>
91106
<message>
92-
<location line="-144"/>
107+
<location line="-145"/>
93108
<source>Do you want to check for updates now?</source>
94109
<translation type="unfinished"></translation>
95110
</message>
@@ -99,7 +114,7 @@
99114
<translation type="unfinished"></translation>
100115
</message>
101116
<message>
102-
<location line="+80"/>
117+
<location line="+81"/>
103118
<source>Checking for updates was canceled!</source>
104119
<translation type="unfinished"></translation>
105120
</message>
@@ -124,16 +139,16 @@
124139
<translation type="unfinished"></translation>
125140
</message>
126141
<message>
127-
<location line="-252"/>
142+
<location line="-253"/>
128143
<source>Checks if new updates are available. You will be prompted before updates are installed.</source>
129144
<translation type="unfinished"></translation>
130145
</message>
131146
</context>
132147
<context>
133148
<name>QtAutoUpdater::UpdateInfoDialog</name>
134149
<message>
135-
<location filename="../updateinfodialog.cpp" line="+30"/>
136-
<location line="+18"/>
150+
<location filename="../updateinfodialog.cpp" line="+32"/>
151+
<location line="+19"/>
137152
<source>Updates for %1 are available!</source>
138153
<translation type="unfinished"></translation>
139154
</message>
@@ -227,7 +242,7 @@
227242
</message>
228243
<message>
229244
<location line="+35"/>
230-
<source>There are new updates available! You can install them now or later.</source>
245+
<source>There are new updates available! You can install them now or automatically, when you exit the application. If you don&apos;t want to install updates right know, you can install them later.</source>
231246
<translation type="unfinished"></translation>
232247
</message>
233248
<message>
@@ -257,16 +272,31 @@
257272
</message>
258273
<message>
259274
<location line="+11"/>
275+
<source>Close and do nothing. You can install updates later.</source>
276+
<translation type="unfinished"></translation>
277+
</message>
278+
<message>
279+
<location line="+3"/>
260280
<source>Install later</source>
261281
<translation type="unfinished"></translation>
262282
</message>
263283
<message>
264284
<location line="+23"/>
285+
<source>You proceed using the application, and as soon as you close it, the updater will start automatically to install the updates.</source>
286+
<translation type="unfinished"></translation>
287+
</message>
288+
<message>
289+
<location line="+3"/>
265290
<source>Install On Exit</source>
266291
<translation type="unfinished"></translation>
267292
</message>
268293
<message>
269294
<location line="+10"/>
295+
<source>Closes the application and opens the installer to update the app.</source>
296+
<translation type="unfinished"></translation>
297+
</message>
298+
<message>
299+
<location line="+3"/>
270300
<source>Install Now</source>
271301
<translation type="unfinished"></translation>
272302
</message>

src/autoupdatergui/translations/translations.pri

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,15 @@ TRANSLATIONS += $$PWD/QtAutoUpdaterController_de.ts \
33

44
OTHER_FILES += $$PWD/QtAutoUpdaterController_de.ts \
55
$$PWD/QtAutoUpdaterController_template.ts
6+
7+
updateTarget.target = lupdate
8+
updateTarget.commands = lupdate -no-obsolete -locations relative "$$_PRO_FILE_"
9+
QMAKE_EXTRA_TARGETS += updateTarget
10+
11+
releaseTarget.target = lrelease
12+
releaseTarget.commands = lrelease -compress -nounfinished "$$_PRO_FILE_"
13+
QMAKE_EXTRA_TARGETS += releaseTarget
14+
15+
trInstall.path = $$[QT_INSTALL_TRANSLATIONS]
16+
trInstall.files = $$PWD/*.qm
17+
INSTALLS += trInstall

0 commit comments

Comments
 (0)