Skip to content

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).

Test Plan

  1. Start Krita in a language different than English.
  2. Open a new image.
  3. Click the Calligraphy tool.
  4. In the ‘Tool Options’, choose the profile ‘Graphics Pen’.
  5. Check ‘Follow selected path’.
  6. The profile name should be changed to the translation of the word ‘Current’ (before this commit, it just showed ‘Current’).

Formalities Checklist

  • I confirmed this builds.
  • I confirmed Krita ran and the relevant functions work.
  • I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!)
  • I made sure my commits build individually and have good descriptions as per KDE guidelines.
  • I made sure my code conforms to the standards set in the HACKING file.
  • I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.

Merge request reports