[Debian-l10n-devel] Bug#892875: poedit: Messy error message displayed when str check failed under zh_CN.UTF-8 env (wrong encoding?)

Boyuan Yang 073plan at gmail.com
Wed Mar 14 02:00:59 UTC 2018


Package: poedit
Version: 2.0.6-1
Severity: normal

Dear Maintainer,

The following steps could reproduce the problem:

1. Enable zh_CN.UTF-8 locale
2. Install any CJK fonts on system (fonts-noto-cjk for example)
3. Open a random PO file with poedit under zh_CN.UTF-8 locale
4. (Wrongly) edit translation so that the check would fail
   For example, deliberately translate a %ld to %lu which would
   cause a mismatch.
5. Save the file.

In this way, messy error message would appear in poedit window.

A screenshot is provided.

https://i.loli.net/2018/03/14/5aa8823a50631.png

--
Regards,
Boyuan Yang



-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages poedit depends on:
ii  gettext                   0.19.8.1-4
ii  libboost-iostreams1.62.0  1.62.0+dfsg-5
ii  libboost-system1.62.0     1.62.0+dfsg-5
ii  libboost-thread1.62.0     1.62.0+dfsg-5
ii  libc6                     2.27-2
ii  libcld2-0                 0.0.0-git20150806-6
ii  libcpprest2.10            2.10.2-1
ii  libgcc1                   1:8-20180312-2
ii  libglib2.0-0              2.54.3-2
ii  libgtk2.0-0               2.24.32-1
ii  libgtkspell0              2.0.16-1.2
ii  libicu57                  57.1-8
ii  liblucene++0v5            3.0.7-8+b2
ii  libsecret-1-0             0.18.5-6
ii  libssl1.1                 1.1.0g-2
ii  libstdc++6                8-20180312-2
ii  libwxbase3.0-0v5          3.0.3.1+dfsg2-1
ii  libwxgtk3.0-0v5           3.0.3.1+dfsg2-1
ii  poedit-common             2.0.6-1

poedit recommends no packages.

poedit suggests no packages.

-- no debconf information



More information about the Debian-l10n-devel mailing list