2022-03-01 09:28:01 -05:00
|
|
|
li.dropdown.dropup.subdued(dropdown).language-picker
|
|
|
|
a.dropdown-toggle#language-picker-toggle(
|
|
|
|
href="#",
|
|
|
|
dropdown-toggle,
|
|
|
|
data-ol-lang-selector-tooltip,
|
|
|
|
data-toggle="dropdown",
|
|
|
|
role="button"
|
|
|
|
aria-haspopup="true",
|
|
|
|
aria-expanded="false",
|
|
|
|
aria-label="Select " + translate('language'),
|
|
|
|
tooltip=translate('language')
|
2022-04-07 09:15:02 -04:00
|
|
|
title=translate('language')
|
2022-03-01 09:28:01 -05:00
|
|
|
)
|
|
|
|
i.fa.fa-fw.fa-language
|
|
|
|
|
|
|
|
|
| #{settings.translatedLanguages[currentLngCode]}
|
|
|
|
|
|
|
|
ul.dropdown-menu(role="menu" aria-labelledby="language-picker-toggle")
|
|
|
|
li.dropdown-header #{translate("language")}
|
|
|
|
each subdomainDetails, subdomain in settings.i18n.subdomainLang
|
|
|
|
if !subdomainDetails.hide
|
2024-07-22 04:10:54 -04:00
|
|
|
li.lng-option
|
2022-03-01 09:28:01 -05:00
|
|
|
a.menu-indent(href=subdomainDetails.url+currentUrlWithQueryParams role="menuitem")
|
|
|
|
| #{settings.translatedLanguages[subdomainDetails.lngCode]}
|