[ZBX-10678] Weekday informed incorrectly in Chart Period Selection Box. Created: 2016 Apr 18  Updated: 2017 May 30  Resolved: 2016 Apr 20

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.1
Fix Version/s: 3.0.3rc1

Type: Incident report Priority: Trivial
Reporter: Miguel Sauaia Neto Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: localization
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 7.0.1 x64


Attachments: PNG File zabbix.png    

 Description   

When I select a date in the calendar graphic display (zoom) the week of days of display letters are displayed incorrectly. A "S" is shown in place of the "F" friday.



 Comments   
Comment by richlv [ 2016 Apr 18 ]

which locale is that ?

Comment by Miguel Sauaia Neto [ 2016 Apr 18 ]

pt_br. But The Weekdays station in English with exception of Friday being displayed incorrectly.

Comment by Aleksandrs Saveljevs [ 2016 Apr 20 ]

Looks like translation is wrong in locale/pt_BR/LC_MESSAGES/frontend.po:

#: jsLoader.php:129
msgctxt "Friday short"
msgid "F"
msgstr "S"
Comment by Oleksii Zagorskyi [ 2016 Apr 20 ]

Just a quick example how do people translate it:

# STRING='"Friday short"'; grep -r -A2 "msgctxt $STRING" * | grep -Ev "msgstr \"\"|$STRING|--|msgid"
bg/LC_MESSAGES/frontend.po-msgstr "Пт"
cs/LC_MESSAGES/frontend.po-msgstr "Pá"
de/LC_MESSAGES/frontend.po-msgstr "Fr"
el/LC_MESSAGES/frontend.po-msgstr "Π"
en_US/LC_MESSAGES/frontend.po-msgstr "F"
es/LC_MESSAGES/frontend.po-msgstr "V"
fr/LC_MESSAGES/frontend.po-msgstr "F"
id/LC_MESSAGES/frontend.po-msgstr "F"
it/LC_MESSAGES/frontend.po-msgstr "V"
ja/LC_MESSAGES/frontend.po-msgstr "F"
ko/LC_MESSAGES/frontend.po-msgstr "F"
lv/LC_MESSAGES/frontend.po-msgstr "P"
nl/LC_MESSAGES/frontend.po-msgstr "F"
pl/LC_MESSAGES/frontend.po-msgstr "P"
pt_BR/LC_MESSAGES/frontend.po-msgstr "S"
pt_PT/LC_MESSAGES/frontend.po-msgstr "F"
ro/LC_MESSAGES/frontend.po-msgstr "F"
ru/LC_MESSAGES/frontend.po-msgstr "Пт"
sk/LC_MESSAGES/frontend.po-msgstr "Pi"
tr/LC_MESSAGES/frontend.po-msgstr "Cum"
uk/LC_MESSAGES/frontend.po-msgstr "Пт"
vi/LC_MESSAGES/frontend.po-msgstr "F"
zh_CN/LC_MESSAGES/frontend.po-msgstr "F"
zh_TW/LC_MESSAGES/frontend.po-msgstr "F"
Comment by Oleksii Zagorskyi [ 2016 Apr 20 ]

I've requested translators in the mail-list to take a look and fix it.
I'm not able to fix such things myself, waiting confirmation when it will be fixed in Pootle.

Comment by Adail Horst [ 2016 Apr 20 ]

Hi Miguel, thanks for report.

The "S" for friday is right on PT-BR... the error is on another days (like Monday, Wednesday, Thursday, Sunday).
The correctly is:
Monday - S
Tuesday - T
Wednesday - Q
Thursday - Q
Friday - S
Saturday - S
Sunday - D

And now... a very old request: how search on pootle for the exactly text ? If we search for "S" we will found almost 3.000 results...

Comment by Adail Horst [ 2016 Apr 20 ]

Current status:
OK - Monday - S
OK - Tuesday - T
OK - Wednesday - Q
OK - Thursday - Q
OK - Friday - S
OK - Saturday - S
OK - Sunday - D

I change too some another errors (like Time -> "Data" and "y" -> "y" | changed to "Time" -> "Hora" and "y" -> "a")

Many times the context is very important for this...

But I think now is ok... if found some more "translation bug" please send again

Comment by Miguel Sauaia Neto [ 2016 Apr 20 ]

Thanks everyone for the quick fix. I had already set here but the product would be with these bugs. Thank you!

Comment by Oleksii Zagorskyi [ 2016 Apr 20 ]

Performed changes will be synced to svn really soon, and they will be available in release 3.0.3
I'll add more details here a bit later.

Comment by Oleksii Zagorskyi [ 2016 Apr 20 ]

I've replied to the mail list already, copy-pasting here just in case:

One nice new feature of upgraded recently Pootle may help you:

  • open list of translatable strings, as usually;
  • bottom of the page find "Export View" link, click it;
  • search over the page for "Friday short" and on right find a direct link to required string to translate it.
Generated at Fri Apr 26 20:47:53 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.