- Nov 02, 2018
-
-
chrisgarrity authored
-
- Nov 01, 2018
-
-
chrisgarrity authored
-
Paul Kaplan authored
-
- Oct 31, 2018
-
-
chrisgarrity authored
Blur the language select when the user clicks outside the select so that arrow keys go to the stage instead of the select.
-
- Sep 14, 2018
-
-
Linda authored
-
- Sep 13, 2018
-
-
Linda authored
-
- Sep 04, 2018
-
-
Linda authored
-
- Jun 21, 2018
-
-
chrisgarrity authored
-
- Jun 20, 2018
-
-
chrisgarrity authored
* updated locales reducer to include current messages and messagesByLocale (the previous all messages) * moved locales out of gui * include locales in the things exported by gui (index.js)
-
- Jun 19, 2018
-
-
chrisgarrity authored
Add `?locale=<localecode>` to load in a new langage. Add `?enable=language` to enable the language selector Or combine the two: `?enable=language&locale=<localecode>` Still accepts a hash, but requires that the hash be a sequence of digits. Added new locales reducer to gui: - initializes default react-intl/localeData - initializes default locale messages for all locales - default locale is ‘en’ (can be overridden by URL) Removed dependency on react-intl-redux, added ConnectedIntlProvider (uses correct locale messages from redux based on current locale)
-
- Jun 14, 2018
-
-
chrisgarrity authored
* refactor LanguageSelector to reuse MenuBarMenu * localize aria-labels on MenuBar
-
- Jun 13, 2018
-
-
chrisgarrity authored
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!
-
- Apr 19, 2018
-
-
chrisgarrity authored
Allow intl to be passed in to GUI as a prop (rather than having to be already in the store)
-
- Jul 21, 2017
-
-
Paul Kaplan authored
-
- Jul 19, 2017
-
-
chrisgarrity authored
Added language-selector component and container. Replaced lib/intl.jsx with reducers/intl.js and added updateIntl to handle language changes. Moved languages.json into src
-