[postgis-tickets] [PostGIS] #5056: make update-po changes line wrapping for japanese translation

PostGIS trac at osgeo.org
Tue Jan 18 06:32:37 PST 2022


#5056: make update-po changes line wrapping for japanese translation
--------------------+---------------------------
 Reporter:  strk    |      Owner:  robe
     Type:  defect  |     Status:  new
 Priority:  medium  |  Milestone:  PostGIS 3.3.0
Component:  l18n    |    Version:
 Keywords:          |
--------------------+---------------------------
 I don't understand why but if I execute `make -C doc/ update-po` I end up
 with a single change in file doc/po/ja/reporting.xml.po which consists in
 this:

 {{{
 @ -134,8 +134,9 @@ msgid ""
  "a four step process on Unix (assuming you already have <ulink
 url=\"https://"
  "git-scm.com/\">git</ulink> installed):"
  msgstr ""
 -"変更が大きい場合は、パッチが確実に好まれます。Unix上で次の4ステップの処
 理を行います (既に<ulink url=\"https://git-scm."
 -"com/\">git</ulink>をインストールしていると仮定します)。"
 +"変更が大きい場合は、パッチが確実に好まれます。Unix上で次の4ステップの処
 理を行"
 +"います (既に<ulink url=\"https://git-scm.com/\">git</ulink>をインストー
 ルして"
 +"いると仮定します)。"
 }}}

 I cannot read japanese but it looks like being only a matter of where
 newlines are added. My version of gettext (0.21) seem to make it so that
 80 columns are not exceeded.

 The line wrapping was EXACTLY like my `update-po` run would make them
 before commit [4c3c8e37839127b67dc3f0cf08f67cddc7441d89/git] which seems
 to be coming from weblate.

 I suspect weblate install and my system have a different view about when a
 line should (or can) be wrapped. Could be locale dependent.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5056>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list