Added new presort items.
This commit is contained in:
parent
eb2c447e41
commit
988b5848c6
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ get list of translations
|
|||
|
||||
# add presorted on top
|
||||
presorted_list = []
|
||||
%w(yes no or Year Month Day Days Hour Hours Minute Minutes Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December Mon Tue Wed Thu Fri Sat Sun Monday Tuesday Wednesday Thursday Friday Saturday Sunday).each {|presort|
|
||||
%w(yes no or Year Years Month Months Day Days Hour Hours Minute Minutes Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December Mon Tue Wed Thu Fri Sat Sun Monday Tuesday Wednesday Thursday Friday Saturday Sunday).each {|presort|
|
||||
list.each {|item|
|
||||
next if item[1] != presort
|
||||
presorted_list.push item
|
||||
|
|
Loading…
Reference in a new issue