[k3b] [Bug 360897] When burning a DVD+RW, which should be overwritten, then "Ersetzen" is displayed

Burkhard Lueck via KDE Bugzilla bugzilla_noreply at kde.org
Fri Mar 25 14:00:38 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=360897

Burkhard Lueck <lueck at hube-lueck.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde-i18n-de at kde.org

--- Comment #4 from Burkhard Lueck <lueck at hube-lueck.de> ---
Thanks for the screenshot, got it now. 
But this seems to be not just a simple translation error:

In k3b the translation is in k3b/src/k3bemptydiscwaiter.cpp:
There are 3 dialogs KMessageBox::warningContinueCancel calls with argument
KStandardGuiItem::overwrite()

The catalog kdelibs4 has the correct translation:
kdelibs4.po-7130-#: kdeui/util/kstandardguiitem.cpp:306
kdelibs4.po:7131:msgid "&Overwrite"
kdelibs4.po-7132-msgstr "Ü&berschreiben"

But the same string is in the catalog kio4 as well:
kio4.po-5907-#: kio/renamedialog.cpp:153
kio4.po:5908:msgid "&Overwrite"
kio4.po-5909-msgstr "&Ersetzen"

Both msgids have no context

xgettext has the first-come-first-serve rule and the catalog kio4 is loaded
before the catalog kdelibs4, therefore the translation  "&Ersetzen" is used in
k3b
klocale_kde.cpp:318:       
m_catalogNames.append(KCatalogName(QString::fromLatin1("kio4")));
klocale_kde.cpp:319:       
m_catalogNames.append(KCatalogName(QString::fromLatin1("kdelibs4")));

Possible solutions:

1) Change german translation in kio4 for the renamedialog to "Überschreiben",
but that has probably side effects, therefore cc'ing the german translations
list to discuss the change on list

2) Add context to one or both messages to allow different translations of
Overwrite in different contexts 

No 2) is my preferred solution, because some languages need to distinguish the
translation of "Overwrite"

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the k3b mailing list