Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,25 @@ if(NOT Qt6LinguistTools_FOUND)
message(WARNING "Qt6LinguistTools not found, gpsbabelfe translations cannot be updated or released, and application cannot be packaged.")
else()
# FIXME: translations updated and released in source directory (and under version control).
list(APPEND TRANSLATIONS gpsbabelfe_ar.ts)
list(APPEND TRANSLATIONS gpsbabelfe_cs.ts)
list(APPEND TRANSLATIONS gpsbabelfe_de.ts)
list(APPEND TRANSLATIONS gpsbabelfe_es.ts)
list(APPEND TRANSLATIONS gpsbabelfe_fa.ts)
list(APPEND TRANSLATIONS gpsbabelfe_fr.ts)
list(APPEND TRANSLATIONS gpsbabelfe_he.ts)
list(APPEND TRANSLATIONS gpsbabelfe_hu.ts)
list(APPEND TRANSLATIONS gpsbabelfe_it.ts)
list(APPEND TRANSLATIONS gpsbabelfe_ja.ts)
list(APPEND TRANSLATIONS gpsbabelfe_ko.ts)
list(APPEND TRANSLATIONS gpsbabelfe_nl.ts)
list(APPEND TRANSLATIONS gpsbabelfe_pl.ts)
list(APPEND TRANSLATIONS gpsbabelfe_pt_BR.ts)
list(APPEND TRANSLATIONS gpsbabelfe_ru.ts)
list(APPEND TRANSLATIONS gpsbabelfe_tr.ts)
list(APPEND TRANSLATIONS gpsbabelfe_uk.ts)
list(APPEND TRANSLATIONS gpsbabelfe_zh_CN.ts)
list(APPEND TRANSLATIONS gpsbabelfe_zh_TW.ts)

add_custom_target(gpsbabelfe_lupdate
COMMAND Qt6::lupdate ${SOURCES} ${FORMS} -ts ${TRANSLATIONS}
Expand Down
2 changes: 1 addition & 1 deletion gui/aboutui.ui
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<bool>true</bool>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
<string notr="true">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;
Expand Down
13 changes: 13 additions & 0 deletions gui/coretool/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,25 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/core_strings.h
VERBATIM
USES_TERMINAL)

list(APPEND TRANSLATIONS gpsbabel_ar.ts)
list(APPEND TRANSLATIONS gpsbabel_cs.ts)
list(APPEND TRANSLATIONS gpsbabel_de.ts)
list(APPEND TRANSLATIONS gpsbabel_es.ts)
list(APPEND TRANSLATIONS gpsbabel_fa.ts)
list(APPEND TRANSLATIONS gpsbabel_fr.ts)
list(APPEND TRANSLATIONS gpsbabel_he.ts)
list(APPEND TRANSLATIONS gpsbabel_hu.ts)
list(APPEND TRANSLATIONS gpsbabel_it.ts)
list(APPEND TRANSLATIONS gpsbabel_ja.ts)
list(APPEND TRANSLATIONS gpsbabel_ko.ts)
list(APPEND TRANSLATIONS gpsbabel_nl.ts)
list(APPEND TRANSLATIONS gpsbabel_pl.ts)
list(APPEND TRANSLATIONS gpsbabel_pt_BR.ts)
list(APPEND TRANSLATIONS gpsbabel_ru.ts)
list(APPEND TRANSLATIONS gpsbabel_tr.ts)
list(APPEND TRANSLATIONS gpsbabel_uk.ts)
list(APPEND TRANSLATIONS gpsbabel_zh_CN.ts)
list(APPEND TRANSLATIONS gpsbabel_zh_TW.ts)

find_package(Qt6 QUIET COMPONENTS LinguistTools)
if(Qt6LinguistTools_FOUND)
Expand Down
5 changes: 4 additions & 1 deletion gui/coretool/core_strings.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
QT_TRANSLATE_NOOP("core","70mai Dash Cam")
QT_TRANSLATE_NOOP("core","offset from UTC in hours")
QT_TRANSLATE_NOOP("core","Columbus/Visiontac V900 files (.csv)")
QT_TRANSLATE_NOOP("core","Max synthesized shortname length")
QT_TRANSLATE_NOOP("core","Allow whitespace synth. shortnames")
Expand Down Expand Up @@ -122,7 +123,8 @@ QT_TRANSLATE_NOOP("core","Speed in bits per second of serial port (baud=9600)")
QT_TRANSLATE_NOOP("core","override codec to use for device")
QT_TRANSLATE_NOOP("core","Garmin serial/USB protocol")
QT_TRANSLATE_NOOP("core","Write course rather than history, default yes")
QT_TRANSLATE_NOOP("core","Sport: Biking (deflt), Running, MultiSport, Other")
QT_TRANSLATE_NOOP("core","Sport: Biking (deflt), Running, Other")
QT_TRANSLATE_NOOP("core","Write global extension namespace declarations")
QT_TRANSLATE_NOOP("core","Garmin Training Center (.tcx/.crs/.hst/.xml)")
QT_TRANSLATE_NOOP("core","Default icon name")
QT_TRANSLATE_NOOP("core","Geocaching.com .loc")
Expand All @@ -136,6 +138,7 @@ QT_TRANSLATE_NOOP("core","GlobalSat DG-100/BT-335 Download")
QT_TRANSLATE_NOOP("core","Erase device data after download")
QT_TRANSLATE_NOOP("core","Only erase device data, do not download anything")
QT_TRANSLATE_NOOP("core","GlobalSat DG-200 Download")
QT_TRANSLATE_NOOP("core","GlobalSat DG-388 Binary File")
QT_TRANSLATE_NOOP("core","list tracks")
QT_TRANSLATE_NOOP("core","Dump raw data to this file")
QT_TRANSLATE_NOOP("core","Dump raw data to this file")
Expand Down
Binary file added gui/coretool/gpsbabel_ar.qm
Binary file not shown.
Loading
Loading