Added translations
This commit is contained in:
@@ -20,7 +20,16 @@ set(OTHER_FILES
|
||||
profileplugin.json
|
||||
)
|
||||
|
||||
add_library(zeiterfassung-plugins-profileplugin SHARED ${HEADERS} ${SOURCES} ${RESOURCES} ${FORMS} ${OTHER_FILES})
|
||||
set(TRANSLATIONS
|
||||
translations/profileplugin_en.ts
|
||||
translations/profileplugin_de.ts
|
||||
)
|
||||
|
||||
set_source_files_properties(${TRANSLATIONS} PROPERTIES OUTPUT_LOCATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/translations)
|
||||
QT5_CREATE_TRANSLATION(TRANSLATIONS_C ${TRANSLATIONS} ${HEADERS} ${SOURCES} ${FORMS} OPTIONS -no-obsolete)
|
||||
#QT5_ADD_TRANSLATION(TRANSLATIONS_C ${TRANSLATIONS})
|
||||
|
||||
add_library(zeiterfassung-plugins-profileplugin SHARED ${HEADERS} ${SOURCES} ${FORMS} ${RESOURCES} ${OTHER_FILES} ${TRANSLATIONS_C})
|
||||
|
||||
set_target_properties(zeiterfassung-plugins-profileplugin PROPERTIES OUTPUT_NAME profileplugin PREFIX "")
|
||||
|
||||
|
@@ -39,66 +39,60 @@
|
||||
<translation>Straße:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="130"/>
|
||||
<location filename="../profiledialog.ui" line="133"/>
|
||||
<source>City:</source>
|
||||
<translation>Stadt:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="137"/>
|
||||
<location filename="../profiledialog.ui" line="143"/>
|
||||
<source>Employed since:</source>
|
||||
<translation>Angestellt seit:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="144"/>
|
||||
<location filename="../profiledialog.ui" line="153"/>
|
||||
<source>Employed till:</source>
|
||||
<translation>Angestellt bis:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="151"/>
|
||||
<location filename="../profiledialog.ui" line="163"/>
|
||||
<source>Place of birth:</source>
|
||||
<translation>Geburtsort:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="158"/>
|
||||
<location filename="../profiledialog.ui" line="173"/>
|
||||
<source>Zipcode:</source>
|
||||
<translation>Postleitzahl:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="165"/>
|
||||
<location filename="../profiledialog.ui" line="183"/>
|
||||
<source>Religion:</source>
|
||||
<translation>Religion:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="172"/>
|
||||
<location filename="../profiledialog.ui" line="193"/>
|
||||
<source>Department:</source>
|
||||
<translation>Abteilung:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="179"/>
|
||||
<location filename="../profiledialog.ui" line="203"/>
|
||||
<source>Verwendgr:</source>
|
||||
<translation>Verwendgr:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="186"/>
|
||||
<location filename="../profiledialog.ui" line="213"/>
|
||||
<source>Taetig:</source>
|
||||
<translation>Taetig:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="193"/>
|
||||
<location filename="../profiledialog.ui" line="223"/>
|
||||
<source>Arbverh:</source>
|
||||
<translation>Arbverh:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="200"/>
|
||||
<location filename="../profiledialog.ui" line="233"/>
|
||||
<source>Betriebsnr:</source>
|
||||
<translation>Betriebsnr:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.cpp" line="17"/>
|
||||
<location filename="../profiledialog.cpp" line="18"/>
|
||||
<source>dd.MM.yyyy</source>
|
||||
<translation>dd.MM.yyyy</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProfilePlugin</name>
|
||||
|
@@ -39,66 +39,60 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="130"/>
|
||||
<location filename="../profiledialog.ui" line="133"/>
|
||||
<source>City:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="137"/>
|
||||
<location filename="../profiledialog.ui" line="143"/>
|
||||
<source>Employed since:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="144"/>
|
||||
<location filename="../profiledialog.ui" line="153"/>
|
||||
<source>Employed till:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="151"/>
|
||||
<location filename="../profiledialog.ui" line="163"/>
|
||||
<source>Place of birth:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="158"/>
|
||||
<location filename="../profiledialog.ui" line="173"/>
|
||||
<source>Zipcode:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="165"/>
|
||||
<location filename="../profiledialog.ui" line="183"/>
|
||||
<source>Religion:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="172"/>
|
||||
<location filename="../profiledialog.ui" line="193"/>
|
||||
<source>Department:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="179"/>
|
||||
<location filename="../profiledialog.ui" line="203"/>
|
||||
<source>Verwendgr:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="186"/>
|
||||
<location filename="../profiledialog.ui" line="213"/>
|
||||
<source>Taetig:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="193"/>
|
||||
<location filename="../profiledialog.ui" line="223"/>
|
||||
<source>Arbverh:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="200"/>
|
||||
<location filename="../profiledialog.ui" line="233"/>
|
||||
<source>Betriebsnr:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.cpp" line="17"/>
|
||||
<location filename="../profiledialog.cpp" line="18"/>
|
||||
<source>dd.MM.yyyy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProfilePlugin</name>
|
||||
|
Reference in New Issue
Block a user