Browse Source

fix translator stuff

pull/2/head
Skycoder42 6 years ago
parent
commit
b6139468a5
No known key found for this signature in database GPG Key ID: 8E01AD9EF0578D2B
  1. 3
      examples/mvvmcore/SampleCore/SampleCore.pro
  2. 166
      examples/mvvmcore/SampleCore/samplecore_de.ts
  3. 16
      mkspecs/features/qsettingstranslator.prf
  4. 194
      src/mvvmdatasyncquick/translations/qtmvvmdatasyncquick_de.ts
  5. 194
      src/mvvmdatasyncquick/translations/qtmvvmdatasyncquick_template.ts
  6. 24
      src/mvvmquick/translations/qtmvvmquick_de.ts
  7. 24
      src/mvvmquick/translations/qtmvvmquick_template.ts
  8. 1
      tests/auto/mvvmcore/settingsgenerator/settingsgenerator.pro

3
examples/mvvmcore/SampleCore/SampleCore.pro

@ -27,8 +27,7 @@ SOURCES += \
RESOURCES += \
sample_core.qrc
QTMVVM_TS_SETTINGS += settings.xml
_never_true_condition: SOURCES += $$files($$PWD/.ts-dummy/*)
SETTINGS_TRANSLATIONS += settings.xml
TRANSLATIONS += samplecore_de.ts
DISTFILES += $$TRANSLATIONS

166
examples/mvvmcore/SampleCore/samplecore_de.ts

@ -104,42 +104,34 @@
</message>
</context>
<context>
<name>qtmvvm_settings_xml</name>
<name>settings.xml</name>
<message>
<location filename=".ts-dummy/settings.tsdummy.cpp" line="+17"/>
<location line="+11"/>
<location line="+12"/>
<source>Select a &amp;mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-22"/>
<location line="+2"/>
<source>Variant B</source>
<location filename="../../../../build-qtmvvm-Desktop_Qt_5_11_1_GCC_64bit-Debug/examples/mvvmcore/SampleCore/.tr-dummies/settings.tsdummy.cpp" line="+7"/>
<source>&amp;Check me</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+4"/>
<source>This is another section</source>
<location line="+1"/>
<source>I am a checkbox!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-3"/>
<source>Variant C</source>
<location line="+1"/>
<source>property</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+24"/>
<source>https://example.org/test</source>
<location line="+1"/>
<source>bool</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-14"/>
<source>Value C</source>
<location line="+1"/>
<source>Enter a &amp;name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-21"/>
<location line="+1"/>
<source>Enter a nice name</source>
<translation type="unfinished"></translation>
</message>
@ -149,181 +141,183 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+4"/>
<source>Pressing this action will open the system settings</source>
<location line="+1"/>
<source>Sub-Group</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7"/>
<location line="+14"/>
<source>Current value: %1</source>
<location line="+1"/>
<source>This is a tooltip</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-9"/>
<source>Current value: %L1</source>
<location line="+1"/>
<source>Open &amp;system settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+5"/>
<source>Value A+B</source>
<location line="+1"/>
<source>Pressing this action will open the system settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+3"/>
<source>Value A+B+C</source>
<location line="+1"/>
<source>You can use this to trigger whatever kind of action you need</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-28"/>
<source>bool</source>
<location line="+1"/>
<source>Select a &amp;mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7"/>
<source>Open &amp;system settings</source>
<location line="+1"/>
<source>Variant B</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+19"/>
<source>Value A+C</source>
<location line="+1"/>
<source>Variant A</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-29"/>
<source>&amp;Check me</source>
<location line="+1"/>
<source>Variant C</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+2"/>
<location line="+3"/>
<source>property</source>
<location line="+1"/>
<source>Current value: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+14"/>
<location line="+1"/>
<source>Another Section</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+16"/>
<source>Is set to %n unit(s)</source>
<location line="+1"/>
<source>This is another section</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+5"/>
<source>Enter a &amp;website</source>
<location line="+1"/>
<source>Enter a &amp;value</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-7"/>
<source>Another main category</source>
<location line="+1"/>
<source>The value must be between 0 and 1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+4"/>
<location line="+2"/>
<source>Text 2</source>
<location line="+1"/>
<source>Current value: %L1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-30"/>
<source>This is a tooltip</source>
<location line="+1"/>
<source>Value A</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+12"/>
<source>Enter a &amp;value</source>
<location line="+1"/>
<source>Value B</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+21"/>
<source>Choose a &amp;font</source>
<location line="+1"/>
<source>Value C</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-27"/>
<source>Variant A</source>
<location line="+1"/>
<source>Value A+B</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+10"/>
<source>Value A</source>
<location line="+1"/>
<source>Value A+C</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-21"/>
<source>Enter a &amp;name</source>
<location line="+1"/>
<source>Value B+C</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-3"/>
<source>I am a checkbox!</source>
<location line="+1"/>
<source>Value A+B+C</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+1"/>
<source>Another main category</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+33"/>
<location line="+1"/>
<source>Enter a &amp;number</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-22"/>
<source>You can use this to trigger whatever kind of action you need</source>
<location line="+1"/>
<source>Is set to %n unit(s)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+14"/>
<source>Value B</source>
<location line="+1"/>
<source>Text 2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-4"/>
<source>The value must be between 0 and 1</source>
<location line="+1"/>
<source>Text 1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+21"/>
<source>&amp;Volume</source>
<location line="+1"/>
<source>Enter a &amp;website</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+1"/>
<source>Choose a time</source>
<source>https://example.org/test</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+1"/>
<source>Choose a date</source>
<source>Choose a &amp;font</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+1"/>
<source>Choose a date and time</source>
<source>&amp;Volume</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+1"/>
<source>Choose a color</source>
<source>Choose a time</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+1"/>
<source>Non existing type</source>
<source>Choose a date</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-10"/>
<source>Text 1</source>
<location line="+1"/>
<source>Choose a date and time</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-30"/>
<source>Sub-Group</source>
<location line="+1"/>
<source>Choose a color</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+22"/>
<source>Value B+C</source>
<location line="+1"/>
<source>Non existing type</source>
<translation type="unfinished"></translation>
</message>
</context>

16
mkspecs/features/qsettingstranslator.prf

@ -12,7 +12,7 @@ QSETTINGSTRANSLATOR_DIR = $$QSETTINGSTRANSLATOR_DIR$$SUFFIX
!ReleaseBuild: {
qsettingstranslator_c.name = qsettingsgenerator --translate ${QMAKE_FILE_IN}
qsettingstranslator_c.input = SETTINGS_TRANSLATIONS
qsettingstranslator_c.variable_out = CPP_DUMMIES
qsettingstranslator_c.variable_out = CPP_TS_DUMMIES
qsettingstranslator_c.commands = $$QMAKE_QSETTINGSGENERATOR --translate --in ${QMAKE_FILE_IN} --impl ${QMAKE_FILE_OUT}
qsettingstranslator_c.output = $$QSETTINGSTRANSLATOR_DIR/${QMAKE_FILE_BASE}.tsdummy$${first(QMAKE_EXT_CPP)}
qsettingstranslator_c.CONFIG += no_link
@ -26,8 +26,16 @@ QSETTINGSTRANSLATOR_DIR = $$QSETTINGSTRANSLATOR_DIR$$SUFFIX
else: return($$shell_quote($$1))
}
lupdate_trcond_c.name = lupdate condition ${QMAKE_FILE_IN}
lupdate_trcond_c.input = TRANSLATIONS
lupdate_trcond_c.variable_out = TRANSLATIONS_CONDITION
lupdate_trcond_c.commands = echo created > ${QMAKE_FILE_OUT}
lupdate_trcond_c.output = $$QSETTINGSTRANSLATOR_DIR/trcond.cpp
lupdate_trcond_c.CONFIG += combine no_link
QMAKE_EXTRA_COMPILERS += lupdate_trcond_c
lupdate_fakepri_c.name = fakepri ${QMAKE_FILE_IN}
lupdate_fakepri_c.input = CPP_DUMMIES GENERATED_SOURCES
lupdate_fakepri_c.input = TRANSLATIONS_CONDITION CPP_TS_DUMMIES GENERATED_SOURCES
lupdate_fakepri_c.variable_out = TS_FAKEPRI_FILES
lupdate_fakepri_c.commands = echo $$qmake_escape(BUILD_SOURCES += ${QMAKE_FILE_IN}) > ${QMAKE_FILE_OUT} \
$$escape_expand(\\n\\t)echo $$qmake_escape(for(src, BUILD_SOURCES): SOURCES += $${DBL_DOLLAR}PWD/$${DBL_DOLLAR}src) >> ${QMAKE_FILE_OUT}
@ -45,13 +53,13 @@ QSETTINGSTRANSLATOR_DIR = $$QSETTINGSTRANSLATOR_DIR$$SUFFIX
QMAKE_EXTRA_COMPILERS += lupdate_fakepro_c
lupdate_c.name = lupdate ${QMAKE_FILE_IN}
lupdate_c.input = TS_FAKEPRO_FILES SOURCES CPP_DUMMIES GENERATED_SOURCES
lupdate_c.input = TS_FAKEPRO_FILES SOURCES CPP_TS_DUMMIES GENERATED_SOURCES
lupdate_c.commands = $$QMAKE_LUPDATE -locations relative -pro-out $$shell_quote($$_PRO_FILE_PWD_) -pro $$shell_quote($$_PRO_FILE_PWD_/.tsdummy.pro.dummy) \
$$escape_expand(\\n\\t)echo created > $$QSETTINGSTRANSLATOR_DIR/.lupdate
lupdate_c.output = $$QSETTINGSTRANSLATOR_DIR/.lupdate
lupdate_c.CONFIG += combine no_link
lupdate_c.depends += $$QMAKE_LUPDATE_EXE
!no_auto_lupdate: lupdate_c.CONFIG += target_predeps
lupdate_c.depends += $$QMAKE_LUPDATE_EXE
QMAKE_EXTRA_COMPILERS += lupdate_c
lupdate_target.target = lupdate

194
src/mvvmdatasyncquick/translations/qtmvvmdatasyncquick_de.ts

@ -14,70 +14,12 @@
<translation>Server wechseln</translation>
</message>
<message>
<location line="+6"/>
<location line="+5"/>
<source>Change</source>
<translation>Wechseln</translation>
</message>
<message>
<location line="+24"/>
<source>Remote url:</source>
<translation>Server-URL:</translation>
</message>
<message>
<location line="+24"/>
<source>Access key:</source>
<translation>Zugriffsschlüssel:</translation>
</message>
<message>
<location line="+21"/>
<source>Keep-Alive timout:</source>
<translation>Keep-Alive Timout:</translation>
</message>
<message>
<location line="+23"/>
<source>Keep data</source>
<translation>Daten behalten</translation>
</message>
<message>
<location line="+11"/>
<source>Extra Headers:</source>
<translation>Zusätzliche Header:</translation>
</message>
<message>
<location line="+19"/>
<source>%1: %2</source>
<translation>%1: %2</translation>
</message>
<message>
<location line="+22"/>
<source>Key</source>
<translation>Schlüssel</translation>
</message>
<message>
<location line="+6"/>
<source>Value</source>
<translation>Wert</translation>
</message>
</context>
<context>
<name>ChangeRemoteView11</name>
<message>
<location filename="../../imports/mvvmdatasyncquick/ChangeRemoteView11.qml" line="+26"/>
<source>Cancel</source>
<translation>Abbrechen</translation>
</message>
<message>
<location line="+7"/>
<source>Change Remote</source>
<translation>Server wechseln</translation>
</message>
<message>
<location line="+6"/>
<source>Change</source>
<translation>Wechseln</translation>
</message>
<message>
<location line="+24"/>
<source>Remote url:</source>
<translation>Server-URL:</translation>
</message>
@ -154,79 +96,6 @@
<source>Reset Identity</source>
<translation>Identität zurücksetzen</translation>
</message>
<message>
<location line="+16"/>
<source>Synchronization enabled</source>
<translation>Synchronisation aktiv</translation>
</message>
<message>
<location line="+56"/>
<source>Other Devices:</source>
<translation>Andere Geräte:</translation>
</message>
<message>
<location line="+78"/>
<source>Remove Device</source>
<translation>Gerät entfernen</translation>
</message>
<message>
<location line="+24"/>
<source>Add new devices</source>
<translation>Neue Geräte hinzufügen</translation>
</message>
<message>
<location line="+13"/>
<source>Network Exchange</source>
<translation>Netzwerk-Austausch</translation>
</message>
<message>
<location line="+16"/>
<source>Export to file</source>
<translation>In Datei exportieren</translation>
</message>
<message>
<location line="+16"/>
<source>Import from file</source>
<translation>Von Datei importieren</translation>
</message>
</context>
<context>
<name>DataSyncView11</name>
<message>
<location filename="../../imports/mvvmdatasyncquick/DataSyncView11.qml" line="+47"/>
<source>Synchronization</source>
<translation>Synchronisation</translation>
</message>
<message>
<location line="+7"/>
<source>Synchronize</source>
<translation>Synchronisieren</translation>
</message>
<message>
<location line="+8"/>
<source>Edit Identity</source>
<translation>Identität bearbeiten</translation>
</message>
<message>
<location line="+8"/>
<source>Update exchange key</source>
<translation>Daten-Schlüssel aktualisieren</translation>
</message>
<message>
<location line="+7"/>
<source>Reload devices list</source>
<translation>Geräte-Liste aktualisieren</translation>
</message>
<message>
<location line="+7"/>
<source>Change remote server</source>
<translation>Server wechseln</translation>
</message>
<message>
<location line="+5"/>
<source>Reset Identity</source>
<translation>Identität zurücksetzen</translation>
</message>
<message>
<location line="+21"/>
<source>Synchronization enabled</source>
@ -281,24 +150,6 @@
<translation>Passwort:</translation>
</message>
</context>
<context>
<name>ExportSetupView11</name>
<message>
<location filename="../../imports/mvvmdatasyncquick/ExportSetupView11.qml" line="+22"/>
<source>Trusted</source>
<translation>Vertrauen</translation>
</message>
<message>
<location line="+13"/>
<source>Include Server</source>
<translation>Server einschließen</translation>
</message>
<message>
<location line="+12"/>
<source>Password:</source>
<translation>Passwort:</translation>
</message>
</context>
<context>
<name>IdentityEditView</name>
<message>
@ -311,24 +162,6 @@
<source>Device Name:</source>
<translation>Geräte-Name:</translation>
</message>
<message>
<location line="+20"/>
<source>Device Fingerprint:</source>
<translation>Geräte-Fingerabdruck:</translation>
</message>
</context>
<context>
<name>IdentityEditView11</name>
<message>
<location filename="../../imports/mvvmdatasyncquick/IdentityEditView11.qml" line="+14"/>
<source>Edit Identity</source>
<translation>Identität bearbeiten</translation>
</message>
<message>
<location line="+7"/>
<source>Device Name:</source>
<translation>Geräte-Name:</translation>
</message>
<message>
<location line="+19"/>
<source>Device Fingerprint:</source>
@ -338,30 +171,7 @@
<context>
<name>NetworkExchangeView</name>
<message>
<location filename="../../imports/mvvmdatasyncquick/NetworkExchangeView.qml" line="+40"/>
<source>Network Exchange</source>
<translation>Netzwerk-Austausch</translation>
</message>
<message>
<location line="+11"/>
<source>Port:</source>
<translation>Port:</translation>
</message>
<message>
<location line="+22"/>
<source>Name:</source>
<translation>Geräte-Name:</translation>
</message>
<message>
<location line="+34"/>
<source>Exchange active:</source>
<translation>Austausch aktiv:</translation>
</message>
</context>
<context>
<name>NetworkExchangeView11</name>
<message>
<location filename="../../imports/mvvmdatasyncquick/NetworkExchangeView11.qml" line="+39"/>
<location filename="../../imports/mvvmdatasyncquick/NetworkExchangeView.qml" line="+39"/>
<source>Network Exchange</source>
<translation>Netzwerk-Austausch</translation>
</message>

194
src/mvvmdatasyncquick/translations/qtmvvmdatasyncquick_template.ts

@ -14,70 +14,12 @@
<translation type="unfinished"></translation>
</message>
<message>
<location line="+6"/>
<location line="+5"/>
<source>Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+24"/>
<source>Remote url:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+24"/>
<source>Access key:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+21"/>
<source>Keep-Alive timout:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+23"/>
<source>Keep data</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+11"/>
<source>Extra Headers:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+19"/>
<source>%1: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+22"/>
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+6"/>
<source>Value</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChangeRemoteView11</name>
<message>
<location filename="../../imports/mvvmdatasyncquick/ChangeRemoteView11.qml" line="+26"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7"/>
<source>Change Remote</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+6"/>
<source>Change</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+24"/>
<source>Remote url:</source>
<translation type="unfinished"></translation>
</message>
@ -154,79 +96,6 @@
<source>Reset Identity</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+16"/>
<source>Synchronization enabled</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+56"/>
<source>Other Devices:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+78"/>
<source>Remove Device</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+24"/>
<source>Add new devices</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+13"/>
<source>Network Exchange</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+16"/>
<source>Export to file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+16"/>
<source>Import from file</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DataSyncView11</name>
<message>
<location filename="../../imports/mvvmdatasyncquick/DataSyncView11.qml" line="+47"/>
<source>Synchronization</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7"/>
<source>Synchronize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+8"/>
<source>Edit Identity</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+8"/>
<source>Update exchange key</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7"/>
<source>Reload devices list</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7"/>
<source>Change remote server</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+5"/>
<source>Reset Identity</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+21"/>
<source>Synchronization enabled</source>
@ -281,24 +150,6 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ExportSetupView11</name>
<message>
<location filename="../../imports/mvvmdatasyncquick/ExportSetupView11.qml" line="+22"/>
<source>Trusted</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+13"/>
<source>Include Server</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+12"/>
<source>Password:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IdentityEditView</name>
<message>
@ -311,24 +162,6 @@
<source>Device Name:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+20"/>
<source>Device Fingerprint:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IdentityEditView11</name>
<message>
<location filename="../../imports/mvvmdatasyncquick/IdentityEditView11.qml" line="+14"/>
<source>Edit Identity</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+7"/>
<source>Device Name:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+19"/>
<source>Device Fingerprint:</source>
@ -338,30 +171,7 @@
<context>
<name>NetworkExchangeView</name>
<message>
<location filename="../../imports/mvvmdatasyncquick/NetworkExchangeView.qml" line="+40"/>
<source>Network Exchange</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+11"/>
<source>Port:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+22"/>
<source>Name:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+34"/>
<source>Exchange active:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>NetworkExchangeView11</name>
<message>
<location filename="../../imports/mvvmdatasyncquick/NetworkExchangeView11.qml" line="+39"/>
<location filename="../../imports/mvvmdatasyncquick/NetworkExchangeView.qml" line="+39"/>
<source>Network Exchange</source>
<translation type="unfinished"></translation>
</message>

24
src/mvvmquick/translations/qtmvvmquick_de.ts

@ -36,7 +36,7 @@
<context>
<name>SearchBar</name>
<message>
<location filename="../../imports/mvvmquick/SearchBar.qml" line="+72"/>
<location filename="../../imports/mvvmquick/SearchBar.qml" line="+158"/>
<source>Search</source>
<translation>Suchen</translation>
</message>
@ -44,25 +44,7 @@
<context>
<name>SettingsView</name>
<message>
<location filename="../../imports/mvvmquick/SettingsView.qml" line="+80"/>
<source>Settings</source>
<translation>Einstellungen</translation>
</message>
<message>
<location line="+18"/>
<source>Search in settings</source>
<translation>In Einstellungen suchen</translation>
</message>
<message>
<location line="+8"/>
<source>Restore settings</source>
<translation>Standards wiederherstellen</translation>
</message>
</context>
<context>
<name>SettingsView11</name>
<message>
<location filename="../../imports/mvvmquick/SettingsView11.qml" line="+75"/>
<location filename="../../imports/mvvmquick/SettingsView.qml" line="+75"/>
<source>Settings</source>
<translation>Einstellungen</translation>
</message>
@ -80,7 +62,7 @@
<context>
<name>TimeEdit</name>
<message>
<location filename="../../imports/mvvmquick/TimeEdit.qml" line="+69"/>
<location filename="../../imports/mvvmquick/TimeEdit.qml" line="+161"/>
<location line="+21"/>
<source>:</source>
<translation>:</translation>

24
src/mvvmquick/translations/qtmvvmquick_template.ts

@ -36,7 +36,7 @@
<context>
<name>SearchBar</name>
<message>
<location filename="../../imports/mvvmquick/SearchBar.qml" line="+72"/>
<location filename="../../imports/mvvmquick/SearchBar.qml" line="+158"/>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
@ -44,25 +44,7 @@
<context>
<name>SettingsView</name>
<message>
<location filename="../../imports/mvvmquick/SettingsView.qml" line="+80"/>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+18"/>
<source>Search in settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+8"/>
<source>Restore settings</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SettingsView11</name>
<message>
<location filename="../../imports/mvvmquick/SettingsView11.qml" line="+75"/>
<location filename="../../imports/mvvmquick/SettingsView.qml" line="+75"/>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
@ -80,7 +62,7 @@
<context>
<name>TimeEdit</name>
<message>
<location filename="../../imports/mvvmquick/TimeEdit.qml" line="+69"/>
<location filename="../../imports/mvvmquick/TimeEdit.qml" line="+161"/>
<location line="+21"/>
<source>:</source>
<translation type="unfinished"></translation>

1
tests/auto/mvvmcore/settingsgenerator/settingsgenerator.pro

@ -18,6 +18,7 @@ SETTINGS_DEFINITIONS += \
generatortest.xml \
importtest.xml
# CONFIG += no_auto_lupdate
SETTINGS_TRANSLATIONS += \
translatortest.xml

Loading…
Cancel
Save