Bug 24797 - xx-XX-messages.po line numbers are not correct
Summary: xx-XX-messages.po line numbers are not correct
Status: RESOLVED DUPLICATE of bug 34959
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 15395
Blocks:
  Show dependency treegraph
 
Reported: 2020-03-04 10:25 UTC by paxed
Modified: 2024-01-10 14:58 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paxed 2020-03-04 10:25:49 UTC
Running ./translate update xx-XX, then looking at po/xx-XX-message.po that contains the i18n.inc t(), tx(), tnx() etc translatable strings, the line numbers in the files where the message appears in are not correct:


#: koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt:1
#: koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt:2
msgctxt "purchase suggestion created by"
msgid "Created by:"
msgstr ""

The comments say that message appears on line 1 and on line 2, but this is not correct.
Comment 1 Katrin Fischer 2024-01-06 15:10:16 UTC
I just re-tested this and the lines match exactly with the template file:

7719 #: koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt:235
7720 #: koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt:498
7721 #, fuzzy
7722 msgctxt "purchase suggestion created by"
7723 msgid "Created by:"
7724 msgstr "Erstellt von:"


I believe this has been fixed on another bug.
Comment 2 Jonathan Druart 2024-01-10 14:58:26 UTC
Might have been fixed by bug 34959.

*** This bug has been marked as a duplicate of bug 34959 ***