There are 3 strings untranslatable: Start: End: %1 items See screenshot. Reproducible: Always
Created attachment 79890 [details] Screenshot
"Start" is the time-line item selected. "end" is the last time-line item selected %1 items is the numbers of items from selection. Do you have tried to use time-line through vertical cursor to make a selection ? Gilles Caulier
digikam/date/timelinewidget.cpp#328 has: infoDate = i18nc("Week #weeknumber - month name - year string\nStart:\tEnd: ", "Week #%1 - %2 %3\n%4\t%5", weekNb, d->calendar->monthName(date), d->calendar->formatDate(date, "%Y"), "Start: " + d->calendar->formatDate(date, KLocale::Day, KLocale::LongNumber), "End: " + d->calendar->formatDate(endDate, KLocale::Day, KLocale::LongNumber)); Missing i18n call for "Start: " and "End: ", so both strings are untranslatable. No idea where "0 item"/"%1 items" displyaed in the widget is in the code.
Burkhard, "item(s)" string is implemented in leftsidebarwidgets.cpp::TimelineSideBarWidget::slotCursorPositionChanged() https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/digikam/views/leftsidebarwidgets.cpp#L699 Gilles Caulier
Git commit f6154395abbf034db033296ceb480a88131e948d by Gilles Caulier. Committed on 16/05/2013 at 10:41. Pushed by cgilles into branch 'master'. fix missing i18n constify and polish M +41 -41 digikam/date/timelinewidget.cpp M +6 -6 digikam/date/timelinewidget.h M +56 -55 digikam/views/leftsidebarwidgets.cpp M +42 -42 digikam/views/leftsidebarwidgets.h http://commits.kde.org/digikam/f6154395abbf034db033296ceb480a88131e948d
digikam/views/leftsidebarwidgets.cpp#699 if (val >= 2) d->cursorCountLabel->setText(i18n("%1 items", QString::number(val))); else d->cursorCountLabel->setText(i18n("%1 item", QString::number(val))); It is impossible to translate this properly in languages with different plural forms than english, see: http://techbase.kde.org/Development/Tutorials/Localization/i18n#Plurals Please use i18np() call
Git commit 949ab3b1c472324a1327690ca0cbff8406d7230e by Gilles Caulier. Committed on 16/05/2013 at 12:44. Pushed by cgilles into branch 'master'. use i18np M +1 -5 digikam/views/leftsidebarwidgets.cpp http://commits.kde.org/digikam/949ab3b1c472324a1327690ca0cbff8406d7230e