Commit 1c6679c9 authored by Karl Ove Hufthammer's avatar Karl Ove Hufthammer Committed by Boudewijn Rempt

Show/store translated name of the ‘Current’ calligraphy profile

The name of the ‘Current’ calligraphy profile should now be shown
as translated. It’s also *stored* with the translated name
(i.e. the translation of the string ‘Current’). This doesn’t seem
optimal, but the rest of the existing code seems to depend on this.
And the two other profile names (‘Mouse’ and ‘Graphics Pen’) are
also stored with the translated names (meaning that they don’t
change when/if the translation is changed).
parent 3c8068ff
...@@ -203,7 +203,7 @@ void KarbonCalligraphyOptionWidget::loadProfile(const QString &name) ...@@ -203,7 +203,7 @@ void KarbonCalligraphyOptionWidget::loadProfile(const QString &name)
void KarbonCalligraphyOptionWidget::updateCurrentProfile() void KarbonCalligraphyOptionWidget::updateCurrentProfile()
{ {
if (!m_changingProfile) { if (!m_changingProfile) {
saveProfile("Current"); saveProfile(i18n("Current"));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment