Bug 406666 - Split sentences on "colorspaceconversion.cc"
Summary: Split sentences on "colorspaceconversion.cc"
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Translation (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-18 23:15 UTC by Sabri Ünal
Modified: 2019-04-18 23:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sabri Ünal 2019-04-18 23:15:37 UTC
There are two split sentences on the colorspaceconversion.cc file. (plugins/extensions/colorspaceconversion/colorspaceconversion.cc).

To make a proper translation there must be a %1 mark.

>> dlgColorSpaceConversion->setCaption(i18n("Convert All Layers From ") + image->colorSpace()->name());

>> dlgColorSpaceConversion->setCaption(i18n("Convert Current Layer From") + layer->colorSpace()->name());

OBSERVED RESULT

#: plugins/extensions/colorspaceconversion/colorspaceconversion.cc:79
msgid "Convert All Layers From "

#: plugins/extensions/colorspaceconversion/colorspaceconversion.cc:108
msgid "Convert Current Layer From"

EXPECTED RESULT

#: plugins/extensions/colorspaceconversion/colorspaceconversion.cc:79
msgid "Convert All Layers From %1"

#: plugins/extensions/colorspaceconversion/colorspaceconversion.cc:108
msgid "Convert Current Layer From %1"


SOFTWARE/OS VERSIONS

Krita

 Version: 4.2.0-pre-alpha
 Languages: en
 Hidpi: true

Qt

  Version (compiled): 5.9.5
  Version (loaded): 5.9.5

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.15.0-48-lowlatency
  Pretty Productname: Ubuntu 18.04.2 LTS
  Product Type: ubuntu
  Product Version: 18.04
Comment 1 Halla Rempt 2019-04-18 23:24:51 UTC
Git commit 471ea1b1072107ec11ed0f9ca4fbd2ddaa2fb5dd by Boudewijn Rempt.
Committed on 18/04/2019 at 23:24.
Pushed by rempt into branch 'master'.

Fix translatable strings

M  +2    -2    plugins/extensions/colorspaceconversion/colorspaceconversion.cc

https://invent.kde.org/kde/krita/commit/471ea1b1072107ec11ed0f9ca4fbd2ddaa2fb5dd