Summary: | service menu "Compress" is not translated when browsing a folder in Konqueror | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Alexander Potashev <aspotashev> |
Component: | general | Assignee: | Peter Penz <peter.penz19> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | lueck |
Priority: | NOR | ||
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Context menu in Konqueror |
Description
Alexander Potashev
2011-05-17 10:52:29 UTC
Using trunk in x-test and branch in de I see ne untranslated strings in konqueror file manager mode in the context menu opened by clicking the RMB. I guess you mean these strings: Compress -> Here, As ZIP Archive, As RAR Archive, As ZIP/TAR Archive, Compress To... These strings are from ark*desktop files and translated using these files, no need to load any catalog for that. Having them in desktop*.po files is just a conveniance for the translators. Created attachment 60101 [details]
Context menu in Konqueror
No, I see only "Compress" not translated in Konqueror. In Dolphin it is translated.
Really strange, all strings in the context menu (Compress + subitems) are translated via ark_addtoservicemenu.desktop, no translation catalog is involved here. So either you should see them all translated or none. The insertCatalog() call you proposed is not necessary, dolphinpart.cpp has the line K_EXPORT_PLUGIN(DolphinPartFactory("dolphinpart", "dolphin")), so it loads the catalog already. I can verify that using a patched kdelibs with additional kDebug() calls enabled in every function where catalogs are loaded/removed starting konqueror from konsole. Afaik the application dolphin is dolphin_shell+dolphin_part, konqueror in filemanager mode is konqueror_shell+dolphin_part. As no catalog is involved in translation, Compress + subitems should be either translated or untranslated in both cases, but not mixed. Do you have more than one ark_addtoservicemenu.desktop? Does your ark_addtoservicemenu.desktop have "X-KDE-Submenu[ru]=Упаковать"? $ locate ark_addtoserviceme /home/sasha/kde-full/kde/trunk/KDE/kdeutils/ark/app/ark_addtoservicemenu.desktop /usr/my-portage-distfiles/svn-src/kdeutils-4.5.9999/kdeutils/ark/app/ark_addtoservicemenu.desktop /usr/share/kde4/services/ServiceMenus/ark_addtoservicemenu.desktop /vz/private/102/usr/share/kde4/services/ServiceMenus/ark_addtoservicemenu.desktop In the file /usr/share/kde4/services/ServiceMenus/ark_addtoservicemenu.desktop, I have a few "...[ru]" strings including "X-KDE-Submenu[ru]=Упаковать". BTW, works well in Archlinux (i.e. "Compress" is translated in Konqueror). (In reply to comment #5) > BTW, works well in Archlinux (i.e. "Compress" is translated in Konqueror). It was kde*-4.6.43git20110506 from http://arch.morrigan.ch/kde-snapshots/os/i686/ |