[ZBX-8431] Various translations of the word "Name" Created: 2014 Jul 03  Updated: 2017 May 30  Resolved: 2014 Jul 15

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.3, 2.3.2
Fix Version/s: 2.3.3

Type: Incident report Priority: Minor
Reporter: Paweł Seledec Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: localisations
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

In Polish, the word "Name" has several meanings.

For example:

Usual "Name" is translated to "Nazwa",
"Name" in the sense of "first name" is translated as "Imi?",
"Name" in the sense of "last name" is translated as "Nazwisko".

In other languages ??the situation may be similar.

There is a need to add context to the word "Name" for the user.

Solution is simple.
In my frontend I changed _('Name') into _x('Name','user name') in these files:
include/views/administration.users.edit.php:53
include/views/administration.users.list.php:56
users.php:45

Then I added the correct translation for this context.



 Comments   
Comment by Paweł Seledec [ 2014 Jul 04 ]

Two alternative solutions:
1. Change _('Name') to _('First name')
2. Better context: _x('Name','user first name')

Comment by Oleksii Zagorskyi [ 2014 Jul 04 ]

I generally support the suggestion.
It's also relevant to Ukrainian, but is not critical at all. Single translation "Name" -> "Ім'я" (sense of "first name") is suitable to all frontend places.

Comment by Oleg Egorov (Inactive) [ 2014 Jul 14 ]

As was discussed, will be changes in
include/views/administration.users.edit.php:53
include/views/administration.users.list.php:56
users.php:45

To:
_x('Name','user first name')

Comment by Oleg Egorov (Inactive) [ 2014 Jul 14 ]

(1) Translation string changes:

  • added context for translation "Name"

iivs Please, add "Name" context in popup.php: 580

oleg.egorov RESOLVED IN r47318

iivs CLOSED.

Comment by Oleg Egorov (Inactive) [ 2014 Jul 14 ]

RESOLVED IN svn://svn.zabbix.com/branches/dev/ZBX-8431 r47288

Comment by Ivo Kurzemnieks [ 2014 Jul 15 ]

TESTED.

Comment by Oleg Egorov (Inactive) [ 2014 Jul 15 ]

FIXED IN 2.3.3(trunk) r47325

Generated at Thu Apr 18 17:29:49 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.