[Debian-handbook-translators] Mojobake on Author_group?

AYANOKOUZI, Ryuunosuke i38w7i3 at yahoo.co.jp
Mon Jun 20 16:45:48 UTC 2016


Dear all,

At Sun, 19 Jun 2016 10:22:12 +0200,
Raphael Hertzog wrote:
> 
> On Sat, 18 Jun 2016, Petter Reinholdtsen wrote:
> > Anyone know what is going on with
> > <URL: https://hosted.weblate.org/translate/debian-handbook/author_group/nb_NO/?type=untranslated >?
> > 
> > 'Rafael' seem to have serious mojobake.
> 
> "Raphaël" :)
> 
> Ccing Michal so that he can look into this issue.

Is commit '6494751dde258a5018d366c711b29dcd1e508526' on Weblate's git repository
a correction to this issue?

This issue is still left in Spanish and Russian translation [1] and
commit by Weblate causes this issue [2].

It seems that Weblate does not handle integrity of msgid correctly.
Translators does not allow to edit msgid, but Weblate modify msgid in wrong manner.
In other words, msgid is not preserved across a commit.

1. When translation for 'Author_Group.po' is performed on Weblate,
   Weblate rewrite msgid from 'Raphaël' to 'Raphaël' [3].
2. Even though msgid is 'Raphaël', Weblate shows it as 'Raphaël' [4,5].
   (except for Japanese?)

The root causes of this issue lie deep in source code of Weblate, I think.


[1] $ git clone git://git.weblate.org/debian-handbook.git
    $ cd debian-handbook/
    $ git grep 'ë' -- '*/Author_Group.po'
    es-ES/Author_Group.po:msgid "Raphaël"
    ru-RU/Author_Group.po:msgid "Raphaël"

[2] $ git blame -L /ë/,+1 -- es-ES/Author_Group.po
    f0ed0ff7 (Gustavo del Dago 2016-06-15 15:41:08 +0000 16) msgid "Raphaël"
    $ git blame -L /ë/,+1 -- ru-RU/Author_Group.po
    da53f818 (Дмитрий Михирев 2016-05-22 08:46:03 +0000 14) msgid "Raphaël"
    $ git log --color --stat --pretty=fuller -1 f0ed0ff7
    commit f0ed0ff7592b4a92c31bad5f03102db4cf993e87
    Author:     Gustavo del Dago <gdeldago at gmail.com>
    AuthorDate: Wed Jun 15 15:41:08 2016 +0000
    Commit:     Weblate <noreply at weblate.org>
    CommitDate: Wed Jun 15 17:41:08 2016 +0200
    
        es-ES: Translated using Weblate.
    
     es-ES/Author_Group.po | 14 ++++++--------
     1 file changed, 6 insertions(+), 8 deletions(-)
    $ git log --color --stat --pretty=fuller -1 da53f818
    commit da53f818a3a841088c9b4db3f45d7009b21f6612
    Author:     Дмитрий Михирев <bizdelnick at gmail.com>
    AuthorDate: Sun May 22 08:46:03 2016 +0000
    Commit:     Weblate <noreply at weblate.org>
    CommitDate: Sun May 22 10:46:03 2016 +0200
    
        ru-RU: Translated using Weblate.
    
     ru-RU/Author_Group.po | 13 +++++--------
     1 file changed, 5 insertions(+), 8 deletions(-)

[3] $ git log --color --stat --pretty=fuller --date=local --patch ea29497..HEAD -- '*/Author_Group.po'

[4] $ echo -n 'Raphaël' | md5sum
    28ce382d14f1307b2eff2f1f3f720d3e  -
    $ echo -n 'Raphaël' | md5sum
    c3855e82897a5ae455869760c575d7e9  -

[5] https://hosted.weblate.org/translate/debian-handbook/author_group/ar_MA/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/hr/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/da/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/fr/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/de/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/el/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/id/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/it/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/ja/?checksum=28ce382d14f1307b2eff2f1f3f720d3e
    https://hosted.weblate.org/translate/debian-handbook/author_group/ko/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/nb_NO/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/fa/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/pl/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/pt_BR/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/ro/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/ru/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/zh_Hans/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/es/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/zh_Hant/?checksum=c3855e82897a5ae455869760c575d7e9
    https://hosted.weblate.org/translate/debian-handbook/author_group/tr/?checksum=c3855e82897a5ae455869760c575d7e9

Sincerely yours,
Ryuunosuke Ayanokouzi
-- 
AYANOKOUZI, Ryuunosuke <i38w7i3 at yahoo.co.jp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/debian-handbook-translators/attachments/20160621/856cbd82/attachment.sig>


More information about the Debian-handbook-translators mailing list