mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +00:00
- default to en-US
This commit is contained in:
parent
17acbe7a5a
commit
6ed7e8a8ae
@ -1,6 +1,7 @@
|
||||
<select id="[% name %]" name="[% name %]"[% IF size %] size="[% size %]"[% END %][% IF disabled %] disabled[% END %][% IF onChange %] onChange="[% onChange %]"[% END %]>
|
||||
[% IF placeholder %]<option value="">-Locale-</option>[% END %]
|
||||
[% IF locales %]
|
||||
[% IF ! defaults.locale %][% defaults.locale = "en-US" %][% END %]
|
||||
[% FOREACH locale=locales %]
|
||||
<option[% IF defaults.locale==locale.abbrev %] selected[% END %]
|
||||
value="[% locale.abbrev | html %]">[% locale.abbrev | html %]</option>
|
||||
|
Loading…
Reference in New Issue
Block a user