decide.nolog.cz/tests/integration/translations-test.js
Jeldrik Hanschke 87d7b5d36d
Add Norwegian language and other updates from Weblate (#446)
* Translated using Weblate (Catalan)

Currently translated at 94.3% (133 of 141 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (German)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (141 of 141 strings)

Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
Translate-URL: https://hosted.weblate.org/projects/croodle/client/ca/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/it/
Translation: Croodle/client

* Translated using Weblate (Italian)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (French)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (Spanish)

Currently translated at 95.7% (135 of 141 strings)

Translated using Weblate (German)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (French)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (German)

Currently translated at 100.0% (141 of 141 strings)

Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/fr/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/it/
Translation: Croodle/client

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 75.8% (107 of 141 strings)

Translated using Weblate (English)

Currently translated at 100.0% (141 of 141 strings)

Added translation using Weblate (Norwegian Bokmål)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/croodle/client/en/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/nb_NO/
Translation: Croodle/client

* Translated using Weblate (Spanish)

Currently translated at 95.7% (135 of 141 strings)

Translated using Weblate (German)

Currently translated at 100.0% (141 of 141 strings)

Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/
Translation: Croodle/client

* Translated using Weblate (English)

Currently translated at 100.0% (141 of 141 strings)

Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/en/

* Translated using Weblate (Catalan)

Currently translated at 94.3% (133 of 141 strings)

Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/ca/

* Translated using Weblate (German)

Currently translated at 100.0% (141 of 141 strings)

Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/

* Translated using Weblate (Spanish)

Currently translated at 95.7% (135 of 141 strings)

Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/

* Translated using Weblate (French)

Currently translated at 100.0% (141 of 141 strings)

Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/fr/

* Translated using Weblate (Italian)

Currently translated at 100.0% (141 of 141 strings)

Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/it/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 75.8% (107 of 141 strings)

Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/nb_NO/

* integrate norwegian locale

Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
2020-10-18 22:11:19 +02:00

15 lines
489 B
JavaScript

import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
import localesMeta from 'croodle/locales/meta';
module('Integration | translations', function(hooks) {
setupTest(hooks);
test('all locales have an entry in locales/meta', function(assert) {
let intl = this.owner.lookup('service:intl');
intl.locales.forEach((locale) => {
assert.ok(Object.keys(localesMeta).includes(locale), `locales meta data is present for ${locale}`);
});
});
});