mate-desktop / mate-panel

MATE panel
https://mate-desktop.org
GNU General Public License v2.0
184 stars 116 forks source link

clock applet: localized date display format is strange #1438

Open ken3 opened 6 months ago

ken3 commented 6 months ago

Unfortunately the translation entry for the date format (in po file) was marked fuzzy and c-format, so it was discarded when making corresponding gmo file.

ex) [po/ja.po]

. Translators: This is a strftime format string.

. * It is used to display the date. Replace %e with %d if, when

. * the day of the month as a decimal number is a single digit,

. * it should begin with a 0 in your locale (e.g. "May 01"

. * instead of "May 1").

: applets/clock/clock.c:477

, fuzzy, c-format

| msgid "%a %b %e"

msgid "%a %b %e" msgstr "%b%e日 (%a)"

Expected behaviour

Date order should be month, day, day-of-the-week in ja locale. fedora35

Actual behaviour

Date order becomes day-of-the-week, month, day in ja locale. fedora40

Steps to reproduce the behaviour

  1. Set system locale to ja_JP.UTF-8.
  2. Login with mate desktop.
  3. Show clock applet on the menu bar.

MATE general version

releases/1.27 releases/1.28

Package version

mate-panel-1.27.3 mate-panel-1.28.0 mate-panel-1.28.1

Linux Distribution

Fedora 39 Fedora 40

Link to bugreport of your Distribution (requirement)

https://bugzilla.redhat.com/show_bug.cgi?id=2273561