See screenshot. The highlighted strings are untranslatable: example: Standard ISO Text UnixTimeStamp Custom Reproducible: Always
Created attachment 101028 [details] Screenshot
The text come from .UI files from Advanced Renamed tool used by BQM. The file are parsed by Messagess.sh script for string extraction : [gilles@localhost core]$ pwd /home/gilles/Devel/5.x/core [gilles@localhost core]$ cat Messages.sh #! /bin/sh $EXTRACTRC `find . -name \*.rc -o -name \*.ui | grep -v '/tests/'` >> rc.cpp || exit 11 $XGETTEXT `find . -name \*.h -o -name \*.cpp | grep -v '/tests/'` `find app -name \*.h.cmake.in` -o $podir/digikam.pot rm -f rc.cpp gilles@localhost core]$ find . -name \*.rc -o -name \*.ui ... ./utilities/advancedrename/parser/modifiers/rangemodifierdialogwidget.ui ./utilities/advancedrename/parser/modifiers/replacemodifierdialogwidget.ui ./utilities/advancedrename/parser/modifiers/fillmodifierdialogwidget.ui ./utilities/advancedrename/parser/options/dateoptiondialogwidget.ui ... Gilles Caulier
Untranslated in recent master build from sources in locale de + x-test dateoption.cpp:240: QString result = QString::fromUtf8("example: %1").arg(formattedDateTime(QDateTime::currentDateTime())); "example: %1" not extracted dateoption.cpp:252: addToken(QLatin1String("[date:||key||]"), i18n("Date and time (||key|| = Standard|ISO|UnixTimeStamp|Text)")); This does apparently not work with xgettext dateoption.cpp:61: m_map.insert(Custom, DateFormatDescriptor(QLatin1String("Custom"), QVariant())); "Custom" not extracted
Git commit 83becf3c1cc64dd619ef74cb0094bb8ad6752891 by Gilles Caulier. Committed on 12/09/2016 at 15:34. Pushed by cgilles into branch 'master'. fix not i18n strings FIXED-IN: 5.2.0 M +2 -1 NEWS M +8 -8 utilities/advancedrename/parser/options/dateoption.cpp M +10 -7 utilities/advancedrename/parser/options/dateoption.h http://commits.kde.org/digikam/83becf3c1cc64dd619ef74cb0094bb8ad6752891