Bug 411490 - Regexp with "$" in quick search does not find match in msgstr[1]
Summary: Regexp with "$" in quick search does not find match in msgstr[1]
Status: REPORTED
Alias: None
Product: lokalize
Classification: Applications
Component: editor (other bugs)
Version First Reported In: 19.04.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-01 10:21 UTC by Alexander Potashev
Modified: 2019-09-01 10:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2019-09-01 10:21:29 UTC
SUMMARY
Regexp quick search does not search in msgstr[1].

I have this string in Russian kunitconversion5.po:

  #: power.cpp:149
  #, kde-format
  msgctxt "amount in units (integer)"
  msgid "%1 watt"
  msgid_plural "%1 watts"
  msgstr[0] "%1 ватт"
  msgstr[1] "%1 ватта"
  msgstr[2] "%1 ватт"
  msgstr[3] "%1 ватт"

Lokalize quick search in "Translation Units" panel finds it with regexp "ватт$" or "ватта", but doesn't find it with regexp "ватта$". I think it should also find this message with "ватта$".


SOFTWARE/OS VERSIONS
Operating System: Fedora 30
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.4
Kernel Version: 5.1.16-300.fc30.x86_64
OS Type: 64-bit
Processors: 2 × Intel® Celeron® CPU B800 @ 1.50GHz
Memory: 3,8 ГиБ

lokalize 19.07.70 (probably built from Git master some time ago).

ADDITIONAL INFORMATION