mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
4610734f07
GitOrigin-RevId: 64c50caac2ec8d56b3f49d6f97c8a1c4d4b3a496
23 lines
800 B
Text
23 lines
800 B
Text
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')
|
|
)
|
|
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
|
|
li.lngOption
|
|
a.menu-indent(href=subdomainDetails.url+currentUrlWithQueryParams role="menuitem")
|
|
| #{settings.translatedLanguages[subdomainDetails.lngCode]}
|