[ZBX-12470] Impossible to translate many labels related to Dashboard configuration Created: 2017 Aug 04  Updated: 2024 Apr 10  Resolved: 2017 Aug 17

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

Type: Incident report Priority: Major
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: frontend, translation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2017-08-08 at 12.45.12.png     PNG File Screen Shot 2017-08-08 at 12.45.17.png    
Epic Link: Merge Screens in to Dashboards
Team: Team B
Sprint: Sprint 14
Story Points: 0.1

 Description   

It happened because of js. Many (or all?) labels in class.cnavtree.js untranslatable.



 Comments   
Comment by Alexey Pustovalov [ 2017 Aug 04 ]

Other untranslatable strings:

./js/menupopup.js:				10: t('10 seconds'),
./include/views/configuration.httpconf.edit.php:			->setAttribute('placeholder', 'http://[user[:password]@]proxy.example.com[:port]'));

Miks.Kronkalns Must discuss with sasha

Miks.Kronkalns Cannot reproduce the first problem. The second one is fixed.
RESOLVED in ^/branches/dev/ZBX-12470 r70983

Comment by Miks Kronkalns [ 2017 Aug 07 ]

Fixed class.cnavtree.js translation strings in ^/branches/dev/ZBXNEXT-2102-master r70972 and merged changes in the trunk by r70975.

Comment by Miks Kronkalns [ 2017 Aug 07 ]

(1) Translation string changes:

  • http://[user[:password]@]proxy.example.com[:port]

iivs CLOSED

Comment by Alexey Pustovalov [ 2017 Aug 08 ]
Index: jsLoader.php
===================================================================
--- jsLoader.php	(revision 70999)
+++ jsLoader.php	(working copy)
@@ -235,6 +235,7 @@
 		'URL' => _('URL'),
 		'URLs' => _('URLs'),
 		'You need permission to perform this action!' => _('You need permission to perform this action!'),
+		'No refresh' => _('No refresh'),
 		'10 seconds' => _n('%1$s second', '%1$s seconds', 10),
 		'30 seconds' => _n('%1$s second', '%1$s seconds', 30),
 		'1 minute' => _n('%1$s minute', '%1$s minutes', 1),
@@ -247,6 +248,7 @@
 		'No interface found' => _('No interface found')
 	],
 	'class.cnavtree.js' => [
+		'Edit' => _('Edit'),
 		'edit' => _('edit'),
 		'remove' => _('Remove'),
 		'root' => _('root'),

Also popup window (edit, add). Please check screenshots.

Miks.Kronkalns RESOLVED in r71239.

iivs CLOSED

Comment by Alexander Vladishev [ 2017 Aug 15 ]

Fixed in pre-3.4.0rc1 r71270.

Generated at Fri Apr 04 16:48:27 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.