Capitalize locale names
This commit is contained in:
parent
4514e60c87
commit
f1d4d2f25c
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
<ul class="supportedLocales">
|
<ul class="supportedLocales">
|
||||||
{foreach $supportedLocales as $supportedLocale}
|
{foreach $supportedLocales as $supportedLocale}
|
||||||
{if $supportedLocale != $locale}
|
{if $supportedLocale != $locale}
|
||||||
<li><a hreflang="{$supportedLocale->getBcp47()}" lang="{$supportedLocale->getBcp47()}" href="{path_for name='locale' data=['locale'=>$supportedLocale->getIso15897()]}">{$supportedLocale->getCountry()->getEmoji()} {$supportedLocale->getFullName()}</a></li>
|
<li><a hreflang="{$supportedLocale->getBcp47()}" lang="{$supportedLocale->getBcp47()}" href="{path_for name='locale' data=['locale'=>$supportedLocale->getIso15897()]}">{$supportedLocale->getCountry()->getEmoji()} {$supportedLocale->getFullName()|ucfirst}</a></li>
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue