[ZBX-886] outdated strings in locales Created: 2009 Apr 23  Updated: 2017 May 30  Resolved: 2009 Jun 30

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

Type: Incident report Priority: Minor
Reporter: richlv Assignee: Alexei Vladishev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

1.6 branch & trunk revision 7218



 Description   

all locale files contain the following string definitions that don't seem to be used anywhere else in the frontend code:

S_1H
S_2H
S_4H
S_8H
S_12H
S_24H
S_WEEK_SMALL
S_MONTH_SMALL
S_YEAR_SMALL
S_KEEP_PERIOD
S_ON_C
S_OFF_C
S_MOVE
S_NAVIGATE
S_INCREASE
S_DECREASE
S_NAVIGATE
S_RIGHT_DIR
S_LEFT_DIR



 Comments   
Comment by richlv [ 2009 Apr 23 ]

ok, i messed up a bit, remove from that list these

S_MOVE
S_NAVIGATE
S_INCREASE
S_DECREASE
S_RIGHT_DIR
S_LEFT_DIR

but add the fact that S_NAVIGATE is listed twice.

Comment by richlv [ 2009 Jun 08 ]

duplicated string definitions are defined in different (comment-identified) sections, like S_AUDIT in both "audit.php" and "Menu" sections.

also, some sections are completely duplicated, like "Lines".

please, advice on the course - should completely duped sections be removed ?
what about strings that occur in two different sections ?

additionally, spacing is inconsistent. can 8 char tabs be assumed ?

thanks.

Comment by richlv [ 2009 Jun 11 ]

variable 'S_SORT_ORDER_1_100' slightly misleadingly maps to Sort order (0->100)'

Comment by richlv [ 2009 Jun 12 ]

there's also a typo - "Item not exists"
parts fixed for 1.6 branch in rev 7419

Comment by richlv [ 2009 Jun 30 ]

outdated entries have been removed

Generated at Sat Apr 20 11:10:54 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.