Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Maori #84

Merged
merged 3 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/generators/localization/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export function run(templateData) {
localizeMixin: 'import { LocalizeMixin } from \'@brightspace-ui/core/mixins/localize/localize-mixin.js\';\n',
localizeResources: `\n\tstatic get localizeConfig() {
return {
importFunc: async lang => (await import(\`./lang/\${lang}.js\`)).default
importFunc: async lang => (await import(\`./lang/\${lang}.js\`)).default,
osloCollection: '@brightspace-ui\\\\${templateData.hyphenatedName}\\\\${templateData.hyphenatedName}'
};
}\n`
};
Expand Down
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/ar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "مرحبا"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/cy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "Helo"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/da.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "Hej"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/de.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "Hallo"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/en-gb.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "Hello"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/en.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "Hello"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/es-es.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "Hola"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/es.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "Hola"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/fr-fr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "Bonjour"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/fr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "Bonjour"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/hi.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "नमस्ते"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/ja.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "こんにちは"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/ko.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "여보세요"
};
3 changes: 3 additions & 0 deletions src/generators/localization/templates/static/lang/mi.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
"hello": "Kia ora"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/nl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "Hallo"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/pt.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "Olá"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/sv.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "Hallå"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/tr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "Merhaba"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/zh-cn.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "你好"
};
2 changes: 0 additions & 2 deletions src/generators/localization/templates/static/lang/zh-tw.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint quotes: 0 */

export default {
"hello": "你好"
};