From bugzilla-daemon@bugs.koha-community.org Thu Nov 8 08:14:18 2018 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 6988] formatted strings get split in substrings for translation Date: Thu, 08 Nov 2018 07:14:15 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7863480251372372160==" --===============7863480251372372160== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6988 paxed changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pasi.kallinen@joensuu.fi --- Comment #2 from paxed --- If there absolutely has to be HTML formatting in the middle of a sentence (eg. a link), one solution is to put the HTML elements in TT directives, so they don't split the sentence into separate msgid strings. For example:

Click [% '' %]here[% '' %] to do whatever.

Which should show up in the po-files as msgid "Click %shere%s to do whatever." (I didn't test the example, so it may not work. Putting the elements in TT variables, and using the variable, definitely does work) -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes. --===============7863480251372372160==--