| Summary: | Untranslatable message in tagfilterview.cpp | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Albert Astals Cid <aacid> |
| Component: | Usability-i18n | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 0.9.0 | |
| Sentry Crash Report: | |||
SVN commit 500650 by toma:
Fix plural.
BUG: 120521
M +12 -6 tagfilterview.cpp
M +11 -6 tagfolderview.cpp
--- trunk/extragear/graphics/digikam/digikam/tagfilterview.cpp #500649:500650
@@ -590,12 +590,18 @@
if (children)
{
int result =
- KMessageBox::warningContinueCancel(this, i18n("Tag '%1' has %2 subtag(s). "
- "Deleting this will also delete "
- "the subtag(s). "
- "Are you sure you want to continue?")
- .arg(tag->title())
- .arg(children), i18n("Delete Tag"), KGuiItem(i18n("Delete"),"editdelete"));
+ KMessageBox::warningContinueCancel(this,
+ i18n("Tag '%1' has one subtag. "
+ "Deleting this will also delete "
+ "the subtag. "
+ "Are you sure you want to continue?",
+ "Tag '%1' has %n subtags. "
+ "Deleting this will also delete "
+ "the subtags. "
+ "Are you sure you want to continue?",
+ children).arg(tag->title()),
+ i18n("Delete Tag"),
+ KGuiItem(i18n("Delete"),"editdelete"));
if(result == KMessageBox::Continue)
{
--- trunk/extragear/graphics/digikam/digikam/tagfolderview.cpp #500649:500650
@@ -488,12 +488,17 @@
if(children)
{
int result =
- KMessageBox::warningContinueCancel(this, i18n("Tag '%1' has %2 subtag(s). "
- "Deleting this will also delete "
- "the subtag(s). "
- "Are you sure you want to continue?")
- .arg(tag->title())
- .arg(children),i18n("Delete Tag"),KGuiItem(i18n("Delete"),"editdelete"));
+ KMessageBox::warningContinueCancel(this,
+ i18n("Tag '%1' has one subtag. "
+ "Deleting this will also delete "
+ "the subtag. "
+ "Are you sure you want to continue?",
+ "Tag '%1' has %n subtags. "
+ "Deleting this will also delete "
+ "the subtags. "
+ "Are you sure you want to continue?",
+ children).arg(tag->title()),
+ i18n("Delete Tag"),KGuiItem(i18n("Delete"),"editdelete"));
if(result == KMessageBox::Continue)
{
|
Version: (using KDE Devel) Installed from: Compiled sources In tagfilterview.cpp you can find i18n("Tag '%1' has %2 subtag(s). " "Deleting this will also delete " "the subtag(s). " "Are you sure you want to continue?") That is not translatable to catalan as subtag is "etiqueta" and subtags is "etiquetes", please use the proper KDE way of having singular/plural messages and not that singular(s) thing that i'm sure it problematic for lots of languages.