Created attachment 67458 [details] 2 screenshots in zip archive with translated and untranslated strings Version: 1.7 (using KDE 4.7.4) OS: Linux Very strange translation bug. After launching Dolphin and right mouse-click context-menu appears. Everything is translated, but one string "Paste clipboard contents..." is not translated. If I enter into any folder and right-clicking, context menu appears with all strings translated include Paste. My language is russian, I use russian KDE Reproducible: Always Steps to Reproduce: 1. Open Dolphin. 2. Right-click. Context-menu appears with one string untranslated. 3. Enter any folder. 4. Right-click. Context-menu with all strings translated. Expected Results: translated menu OS: Linux (x86_64) release 3.1.0-1.2-desktop Compiler: gcc openSUSE 12.1 russian
This is not reproducable with 1) kubuntu 11.04 locale de dolphin --version Qt: 4.7.2 KDE: 4.7.2 (4.7.2) Dolphin: 1.7 2) branch 4.7 compiled from sources locale de $ dolphin --version Qt: 4.7.2 KDE: 4.7.3 (4.7.3) Dolphin: 1.7 3) master compiled from sources locale x-test $ dolphin --version xxQt: 4.8.0 KDE Development Platform: 4.7.4 (4.7.4) xxDolphinxx: 1.99 xx
I now reinstalled my system. The bug is present. :~> dolphin --version Qt: 4.7.4 KDE: 4.7.4 (4.7.4) "release 11" Dolphin: 1.7
I can confirm the bug on openSUSE 12.1 + KDE SC 4.8.1. @Artem Sereda: Why are you ignoring bug reports for i18n/ru?
Dear Dolphin developers, The message "Paste Clipboard Contents..." is not getting translated in the beginning, because `insertCatalog("libkonq")` is called too late in `src/main.cpp`. It seems that the translation of the messages "Paste Clipboard Contents..." is "calculated" and cached during initialization of the `DolphinApplication app` object. I have tested the following working solution: Move the `insertCatalog(libkonq)` call from `src/main.cpp` to the very beginning of the `DolphinApplication` constructor (I put it even before `m_mainWindow = new DolphinMainWindow();`).
Thanks a lot Alexander, I'll apply your patch during the next days.
Git commit b63b4bc45abb7715e4800bd103163b51cc32f4f5 by Peter Penz. Committed on 19/03/2012 at 15:30. Pushed by ppenz into branch 'master'. Fix translation issue in context-menu Thanks to Alexander Potashev for the patch! FIXED-IN: 4.8.2 M +2 -0 dolphin/src/dolphinapplication.cpp M +0 -2 dolphin/src/main.cpp http://commits.kde.org/kde-baseapps/b63b4bc45abb7715e4800bd103163b51cc32f4f5
Git commit 44482f8b66e7e3925f68936d811df0d644f5bc3c by Peter Penz. Committed on 19/03/2012 at 15:30. Pushed by ppenz into branch 'KDE/4.8'. Fix translation issue in context-menu Thanks to Alexander Potashev for the patch! FIXED-IN: 4.8.2 M +2 -0 dolphin/src/dolphinapplication.cpp M +0 -2 dolphin/src/main.cpp http://commits.kde.org/kde-baseapps/44482f8b66e7e3925f68936d811df0d644f5bc3c
This is bug still exists in Dolphin 15.08.2-1 on Archlinux and Fedora 23. In my case, it's not translated in french.