[Digikam-devel] [Bug 120521] New: Untranslatable message in tagfilterview.cpp

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 120521] New: Untranslatable message in tagfilterview.cpp

Bugzilla from tsdgeos@terra.es
------- 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         
           Summary: Untranslatable message in tagfilterview.cpp
           Product: digikam
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: tsdgeos terra es


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.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 120521] Untranslatable message in tagfilterview.cpp

Bugzilla from tomalbers@kde.nl
------- 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)
         {
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel