1
0
mirror of https://github.com/Rudloff/alltube.git synced 2024-06-21 06:56:40 +02:00

Capitalize locale names

This commit is contained in:
Pierre Rudloff 2017-08-07 16:50:25 +02:00
parent 4514e60c87
commit f1d4d2f25c

View File

@ -11,7 +11,7 @@
<ul class="supportedLocales">
{foreach $supportedLocales as $supportedLocale}
{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}
{/foreach}
</ul>