Package: gettext
Version: 0.18.1.1-9
Severity: normal

--- Please enter the report below this line. ---
msgmerge merges source comment lines when their total length is shorter than the width.

To reproduce, once unpacked the attach archive, run:

$ msgmerge test.po test.pot

You should get:

msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: source/blender/nodes/shader/nodes/node_shader_tex_coord.c:40
#: bpy.types.Image.mapping:'REFLECTION' bpy.types.MaterialVolume.reflection
#: bpy.types.RenderLayer.use_pass_reflection
#: bpy.types.RenderPass.type:'REFLECTION'
msgid "Reflection"
msgstr "Réflexion"

…while the expected result is:

msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: source/blender/nodes/shader/nodes/node_shader_tex_coord.c:40
#: bpy.types.Image.mapping:'REFLECTION'
#: bpy.types.MaterialVolume.reflection
#: bpy.types.RenderLayer.use_pass_reflection
#: bpy.types.RenderPass.type:'REFLECTION'
msgid "Reflection"
msgstr "Réflexion"

The only way to get expected result currently is to use that hack:

$ msgmerge -w 1 --no-wrap test.po test.pot

Best regards,
Bastien

--- System information. ---
Architecture: amd64
Kernel: Linux 3.2.0-2-amd64

Debian Release: wheezy/sid

--- Package information. ---
Depends (Version) | Installed
=================================-+-===============
libc6 (>= 2.11) | 2.13-33
libcroco3 (>= 0.6.2) | 0.6.5-1
libglib2.0-0 (>= 2.12.0) | 2.32.3-1
libgomp1 (>= 4.2.1) | 4.7.1-2
libncurses5 (>= 5.5-5~) | 5.9-9
libtinfo5 | 5.9-9
libunistring0 | 0.9.3-5
libxml2 (>= 2.7.4) | 2.8.0+dfsg1-4
libgettextpo0 (= 0.18.1.1-9) | 0.18.1.1-9
libasprintf0c2 (= 0.18.1.1-9) | 0.18.1.1-9
gettext-base | 0.18.1.1-9
dpkg (>= 1.15.4) | 1.16.4.3
OR install-info | 4.13a.dfsg.1-10


Recommends (Version) | Installed
=========================-+-===========
curl |
OR wget | 1.13.4-3
OR lynx-cur |
autopoint | 0.18.1.1-9


Suggests (Version) | Installed
==========================-+-===========
gettext-doc |

Attachment: msgmerge_test.tar.bz2
Description: application/bzip

Reply via email to