[ZBX-2264] Translate class.cuser.php and config.inc.php Created: 2010 Apr 02  Updated: 2017 May 30  Resolved: 2010 Apr 22

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.8.3, 1.9.0 (alpha)
Fix Version/s: 1.8.3

Type: Incident report Priority: Major
Reporter: Oleksii Zagorskyi Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

1.9 (trunk) Revision 11313



 Description   

Especially these lines:

class.cuser.php
Login name or password is incorrect
failed login attempts logged. Last failed attempt was from
on

config.inc.php
ERROR:



 Comments   
Comment by Maxim Andruhovich (Inactive) [ 2010 Apr 12 ]

svn://svn.zabbix.com/branches/dev/ZBX-2264

Comment by richlv [ 2010 Apr 12 ]

Use of undefined constant S_CUSER_LOGIN_OR_PASSWORD_INCORRECT - assumed 'S_CUSER_LOGIN_OR_PASSWORD_INCORRECT'[/usr/local/apache2/htdocs/dev/ZBX-2264/api/classes/class.cuser.php:415]

Comment by Maxim Andruhovich (Inactive) [ 2010 Apr 12 ]

check now

Comment by richlv [ 2010 Apr 13 ]

Use of undefined constant S_CUSER_ERROR_ATTEMP_FAILED - assumed 'S_CUSER_ERROR_ATTEMP_FAILED'[/usr/local/apache2/htdocs/dev/ZBX-2264/api/classes/class.cuser.php:501]
S_CUSER_ERROR_ATTEMP_FAILED

Comment by Maxim Andruhovich (Inactive) [ 2010 Apr 13 ]

check again should be fine

Comment by richlv [ 2010 Apr 14 ]

newline was removed at the end of api/classes/class.cuser.php

when it's re-added, good to merge.

Comment by Oleksii Zagorskyi [ 2010 Apr 15 ]

Easy tested. It works, but wanted to say, that the use of variables in the locale (en_gb.inc.php) can complicate the work of others translators.
Do not forget to remove commented block of code (no longer needed) in api/classes/class.cuser.php

Comment by richlv [ 2010 Apr 15 ]

thus :

1. newline must be re-added;
2. commented old code removed;

then can be merged

Comment by Oleksii Zagorskyi [ 2010 Apr 17 ]

In the https://support.zabbix.com/browse/ZBX-2132 Alexei Vladishev say that ".....all dates and time stamps used in Zabbix must be localized.....".
In these developments, this requirement is satisfied?

now 'config.inc' at least once contains hardcoded timestamp format.

Comment by Maxim Andruhovich (Inactive) [ 2010 Apr 20 ]

Bug fixed in version pre 1.8.3 revision 11587

Comment by Oleksii Zagorskyi [ 2010 Apr 20 ]

ChangeLog not updated for this improvement.

Comment by Maxim Andruhovich (Inactive) [ 2010 Apr 21 ]

ChangeLog updated in version pre 1.8.3 revision 11605

Comment by richlv [ 2010 Apr 21 ]

svn head, attempting to view a restricted page while not logged in :

You cannot view this URL as a .
Object of class CTag could not be converted to string[/usr/local/apache2/htdocs/trunk/include/config.inc.php:260]

got broken in rev 11588

Comment by Maxim Andruhovich (Inactive) [ 2010 Apr 22 ]

svn://svn.zabbix.com/branches/dev/ZBX-2264

Comment by richlv [ 2010 Apr 22 ]

confirming the fix in dev branch rev 11639.

Comment by Maxim Andruhovich (Inactive) [ 2010 Apr 22 ]

Bug fixed in version pre 1.8.3 revision 11641

Generated at Wed Apr 24 05:14:13 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.