Bug 328641 - GUI of kst-plot in extragear/graphics git is completely untranslated
Summary: GUI of kst-plot in extragear/graphics git is completely untranslated
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: i18n (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-10 20:10 UTC by Burkhard Lück
Modified: 2014-04-03 12:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
A scripts to extract Qt messages (412 bytes, application/octet-stream)
2013-12-10 20:19 UTC, Yuri Chornoivan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Burkhard Lück 2013-12-10 20:10:45 UTC
extragear/graphics/kst-plot in the kde git repo has a completely untranslated GUI.

Reason is a missing Messages.sh to extract the translations to a catalog.
The code has a lot (382) of i18n() calls and a lot of tr() calls as well.
It is no problem to have a Qt-only and a KDE-version of the app (see e.g. Marble), but the translations need to be extracted to two different catalogs (foo.pot and foo_qt.pot).

If you need any help please drop me or kde-i18n-doc@kde.org a note.

Thanks
Comment 1 Yuri Chornoivan 2013-12-10 20:19:19 UTC
Created attachment 84026 [details]
A scripts to extract Qt messages

Stolen from extragear-pim/trojita. The translation system can be adopted from there as well.
Comment 2 Burkhard Lück 2014-01-16 22:42:06 UTC
Message extraction somehow works now, but a lot of missing or superfluous messages are in the translation catalogs now.

What is missing is a script like l10n-fetch-po-files.py from the trojita repository.

I have added such a script locally here, but CMake fails to generate/install *ts/*qm translation catalogs, so kst2 is still completely untranslated in the GUI.
Comment 3 Burkhard Lück 2014-04-03 12:18:42 UTC
Works now, thanks