-
- Downloads
Enable language selection menu
Allows the language selection menu to be active if `?enable=language` is in the URL, otherwise shows a ‘coming soon’ tooltip. This can also land on a branch if we don’t want that available on preview. - language menu opens if the globe is clicked - language menu closes if mouse is clicked anywhere outside the language selector - language list is imported from scratch-l10n - current locale is updated if another language is selected (i.e. the current language selected changes) Not in this PR: - styling of language selector - actually changing the messages!
Showing
- src/components/language-selector/language-selector.css 16 additions, 5 deletionssrc/components/language-selector/language-selector.css
- src/components/language-selector/language-selector.jsx 36 additions, 43 deletionssrc/components/language-selector/language-selector.jsx
- src/components/menu-bar/menu-bar.css 8 additions, 0 deletionssrc/components/menu-bar/menu-bar.css
- src/components/menu-bar/menu-bar.jsx 56 additions, 14 deletionssrc/components/menu-bar/menu-bar.jsx
- src/containers/language-selector.jsx 71 additions, 4 deletionssrc/containers/language-selector.jsx
- src/reducers/menus.js 10 additions, 2 deletionssrc/reducers/menus.js
Please register or sign in to comment