stable

Clone or download

Read-only

request #10817 gettext extraction in mustache does not work when same translation found multiple times in the same report

How to reproduce: Add twice the same text to be extracted in a mustache <label class="tlp-label" for="ugroup_name"> {{# gettext }} Group name{{/ gettext }} </label> <input type="text" class="tlp-input" id="ugroup_name" name="ugroup_name" placeholder="{{# dgettext }} Group name{{/ dgettext }}" > Change-Id: Ic1712c1523e06de9b282d0070b6a11fa6c2f5817

Modified Files

Name
M src/common/language/Gettext/POTEntryCollection.php +3 −3 Go to diff View file
M tests/simpletest/common/language/Gettext/POTEntryCollectionTest.php +12 −0 Go to diff View file