[Digikam-devel] [Bug 276921] New: Wrong i18n-Parameter in libs/database/databaseconfiglement.cpp

=?UTF-8?Q?Torbj=C3=B6rn=20K?=. torbjoern.k at googlemail.com
Fri Jul 1 22:13:10 BST 2011


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

           Summary: Wrong i18n-Parameter in
                    libs/database/databaseconfiglement.cpp
           Product: digikam
           Version: 2.0.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: torbjoern.k at googlemail.com


Version:           2.0.0 (using Devel) 
OS:                Linux

The second parameter of the i18n calls in
libs/database/databaseconfigelement.cpp:241 and :251 are unused.

errorMessage = i18n("The XML in the dbconfig.xml file <filename>%1</filename>
is missing the required element <icode>%1</icode>", filepath,
element.tagName());

should read "<icode>%2</icode>".

Proposed fix as git-diff against master is attached.

Reproducible: Always

Steps to Reproduce:
-/-


Expected Results:  
should read "<icode>%2</icode>"

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list