Bug 414385

Summary: KBibtech GUI has lots of untranslated strings
Product: [Applications] KBibTeX Reporter: Burkhard Lück <lueck>
Component: User interfaceAssignee: Thomas Fischer <fischer>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.8.1   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.2

Description Burkhard Lück 2019-11-22 05:27:37 UTC
SUMMARY

Only a few strings in the gui probably coming from Qt are translated, most strings are not translated in german with a complete translation of the catalog.

STEPS TO REPRODUCE
1. Start KBibtex

OBSERVED RESULT
Many untranslated strings

EXPECTED RESULT
A fully translated gui

SOFTWARE/OS VERSIONS
Ubuntu 19.04
KBibTeX Version 0.8.1
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: Qt 5.12.2 (kompiliert gegen 5.12.2)

ADDITIONAL INFORMATION

See also https://bugs.kde.org/show_bug.cgi?id=414375, the proposed patch should fix this issue als well, but that is not tested.
I guess all other versions of kbibtext up to master are also affected
Comment 1 Thomas Fischer 2019-11-25 18:14:31 UTC
Strange that you observe so many untranslated strings. There are people working on translations for many languages and I have not received any other such reports in recent years.

However, I made a change to the translation system in KBibTeX triggered by bug 414375 in commit 84c5042c79d14667c5d9cd6 for 'master' branch. That may fix the problem for you. Please test and confirm.
Comment 2 Burkhard Lück 2019-11-26 05:13:00 UTC
Ubuntu 19.04 Disco KBibTeX Version 0.8.1
no translations in ubuntu packages
https://download.kde.org/stable/KBibTeX/0.8.1/kbibtex-0.8.1.tar.xz has translations
-> ubuntu packaging error

up to date neon with KBibTeX Version 0.10.50 - fully translated
Comment 3 Thomas Fischer 2019-12-03 21:44:59 UTC
Ok, this sounds like this problem is fixed. Backporting change and closing bug ...
(In reply to Burkhard Lück from comment #2)
> up to date neon with KBibTeX Version 0.10.50 - fully translated
Comment 4 Thomas Fischer 2019-12-17 20:56:20 UTC
Git commit 59c0eb40c0dc137f712860444e9451b6ae53d562 by Thomas Fischer.
Committed on 11/12/2019 at 22:23.
Pushed by thomasfischer into branch 'kbibtex/0.9'.

Fixing issues with translations

Fixing a crash that apparently is connected to a failed translation
of a string as reported in bug 414375.

Burkhard Lück <lueck@hube-lueck.de> provided a patch to CMakeLists.txt
which should fix this problem.

This commit is a manual backport from master's commit 84c5042c79d1466
regarding file CMakeLists.txt, excluding the GUI fix.
Related: bug 414375
FIXED-IN: 0.9.2

M  +0    -1    CMakeLists.txt
M  +4    -0    ChangeLog

https://commits.kde.org/kbibtex/59c0eb40c0dc137f712860444e9451b6ae53d562
Comment 5 Thomas Fischer 2019-12-24 20:12:52 UTC
Git commit 3ecfcf8e2b815876a573635a618a2d90f067b40f by Thomas Fischer.
Committed on 24/12/2019 at 20:08.
Pushed by thomasfischer into branch 'kbibtex/0.10'.

Fixing issues with translations

Fixing a crash that apparently is connected to a failed translation
of a string as reported in bug 414375.

Burkhard Lück <lueck@hube-lueck.de> provided a patch to CMakeLists.txt
which should fix this problem.

In addition to Burkhard's patch, a GUI issue was fixed so that empty
strings are not attempted to be translated leading to placeholder
messages shown instead of just nothing.

This commit is a backport from master's commit 84c5042c79d14667c5d9cd.
Related: bug 414375

M  +0    -4    CMakeLists.txt
M  +5    -1    ChangeLog
M  +6    -3    src/gui/config/entrylayout.cpp

https://commits.kde.org/kbibtex/3ecfcf8e2b815876a573635a618a2d90f067b40f