diff options
Diffstat (limited to 'spec/frontend/language_switcher/mock_data.js')
-rw-r--r-- | spec/frontend/language_switcher/mock_data.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/spec/frontend/language_switcher/mock_data.js b/spec/frontend/language_switcher/mock_data.js new file mode 100644 index 00000000000..548bddf0173 --- /dev/null +++ b/spec/frontend/language_switcher/mock_data.js @@ -0,0 +1,26 @@ +export const EN = { + value: 'en', + text: 'English', +}; + +export const ZH_CN = { + value: 'zh_CN', + text: '简体中文', +}; + +export const ES = { + value: 'es', + text: 'Espanol', +}; + +export const ZH_HK = { + value: 'zh_HK', + text: '繁体中文(香港)', +}; + +export const ZH_TW = { + value: 'zh_TW', + text: '繁体中文(台湾)', +}; + +export const locales = [EN, ZH_CN, ES, ZH_HK, ZH_TW]; |