[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #58778] msgmerge messing up ordering in po when sort-by-file
From: |
INVALID.NOREPLY |
Subject: |
[bug #58778] msgmerge messing up ordering in po when sort-by-file |
Date: |
Fri, 17 Jul 2020 10:46:54 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 |
URL:
<https://savannah.gnu.org/bugs/?58778>
Summary: msgmerge messing up ordering in po when sort-by-file
Project: GNU gettext
Submitted by: wangqr
Submitted on: Fri 17 Jul 2020 02:46:52 PM UTC
Category: Translator tools
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I'm using msgmerge (GNU gettext-tools) 0.20.2 on archlinux. Every time I call
msgmerge with --sort-by-file, the commented part will be reversed, causing
unnecessary changes in po file.
Here's a minimal example: Download the attached test.po and test.pot. Run
msgmerge --update --backup=none --sort-by-file test.po test.pot
Observe the commented translations change between "b" "c" "d" "e" and "e" "d"
"c" "b" after each time the command is invoked.
I expect msgmerge not causing these unnecessary changes each time it is
called.
Side note: If there is no source file info, msgmerge will put entries in
reverse order as in pot. I think using same order as in pot make more sense to
me. Or at least always sort them by msgid if file location is the same.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 17 Jul 2020 02:46:52 PM UTC Name: test.po Size: 133B By: wangqr
<http://savannah.gnu.org/bugs/download.php?file_id=49496>
-------------------------------------------------------
Date: Fri 17 Jul 2020 02:46:52 PM UTC Name: test.pot Size: 20B By: wangqr
<http://savannah.gnu.org/bugs/download.php?file_id=49497>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58778>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #58778] msgmerge messing up ordering in po when sort-by-file,
INVALID.NOREPLY <=