Bug 276921 - Wrong i18n-Parameter in libs/database/databaseconfiglement.cpp
Summary: Wrong i18n-Parameter in libs/database/databaseconfiglement.cpp
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-i18n (show other bugs)
Version: 2.0.0
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-01 21:13 UTC by Torbjörn K.
Modified: 2017-08-04 21:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.0.0


Attachments
git-diff against master as fix (1.08 KB, patch)
2011-07-01 21:14 UTC, Torbjörn K.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torbjörn K. 2011-07-01 21:13:09 UTC
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>"
Comment 1 Torbjörn K. 2011-07-01 21:14:01 UTC
Created attachment 61545 [details]
git-diff against master as fix
Comment 2 caulier.gilles 2011-07-02 09:03:32 UTC
Git commit d89c7b1f410cd808e73b1395989b41cd397091c9 by Gilles Caulier.
Committed on 02/07/2011 at 11:02.
Pushed by cgilles into branch 'master'.

apply patch #61545
BUGS: 276921

M  +3    -1    NEWS     
M  +2    -2    libs/database/databaseconfigelement.cpp     

http://commits.kde.org/digikam/d89c7b1f410cd808e73b1395989b41cd397091c9