Summary: | "Move to Trash"/"Move %1 Files to Trash" messages are not compatible with Russian plural forms | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Alexander Potashev <aspotashev> |
Component: | Usability-i18n | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.1.0 | |
Sentry Crash Report: |
Description
Alexander Potashev
2009-12-20 15:20:08 UTC
Can you please decrypt your message for us and tell us how to improve this i18n call: i18np("Move to Trash", "Move %1 Files to Trash", quantity); > i18np("Move to Trash", "Move %1 Files to Trash", quantity);
The best translation in this context is this triple:
msgstr[0] "Переместить %1 файл в корзину"
msgstr[1] "Переместить %1 файла в корзину"
msgstr[2] "Переместить %1 файлов в корзину"
In this context:
d->imageDeleteAction = new KAction(KIcon("user-trash"), i18n("Move to Trash"), this);
there is only one translation (because there are no parameters), but the two "Move to Trash" messages are shared in the digikam.po file and the fresh digikam.pot template.
This is surely not a digiKam bug, but it's still someone's bug.
Auto-fix ;) =================================== SVN commit 1069567 by aspotashev: Split translations of "Move to Trash" to allow different translations in pluralized and non-pluralized contexts. CCMAIL: kde-i18n-doc@kde.org M +2 -2 digikam/contextmenuhelper.cpp M +1 -1 digikam/digikamapp.cpp M +1 -1 showfoto/showfoto.cpp M +1 -1 utilities/imageeditor/editor/editorwindow.cpp M +1 -1 utilities/lighttable/lighttablepreview.cpp M +1 -1 utilities/lighttable/lighttablewindow.cpp |