[PATCH] 2 translation related patches
Jan Mulder
jlmulder at xs4all.nl
Tue Oct 20 05:47:19 PDT 2015
2 patched attached.
1) Fix broken translation in divelist
Fixes a broken translation in the divelist introduced in commit 45b1d0d73db6e21.
Now, the (.. dives) string on a trip line in the divelist is translated (again).
2) Add missing tr() implementations
One specific string did not translate. First, Dirk and I (via IRC) suspected a leading space was
the issue (see commit eccac1321f512d8). However, I found out that the problem was still there. A non
translated string "%1 shown", when applying a filter on the divelist, and looking at a trip
line. It shows always untranslated "%1 shown". Extracting to-be-translated strings from
the code, I found 2 errors: Class <classname> lacks Q_OBJECT macro.
This patch adds a missing tr() definition and implementation to 2 structs.
best,
--jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151020/4a783500/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-PATCH-Add-missing-tr-implementations.patch
Type: text/x-patch
Size: 1396 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151020/4a783500/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-PATCH-Fix-broken-translation-in-divelist.patch
Type: text/x-patch
Size: 1281 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151020/4a783500/attachment-0003.bin>
More information about the subsurface
mailing list