[Digikam-devel] [Bug 120521] Untranslatable message in tagfilterview.cpp
Tom Albers
tomalbers at kde.nl
Fri Jan 20 20:05:27 GMT 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=120521
tomalbers kde nl changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From tomalbers kde nl 2006-01-20 21:05 -------
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)
{
More information about the Digikam-devel
mailing list