mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-19 04:32:07 +02:00
Initial commit: Core packages
This commit is contained in:
commit
12c29a983b
9512 changed files with 8379910 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
/** @odoo-module **/
|
||||
|
||||
import { pyToJsLocale } from "@web/core/l10n/utils";
|
||||
|
||||
QUnit.module("utils");
|
||||
|
||||
QUnit.test("pyToJsLocale", (assert) => {
|
||||
assert.strictEqual(pyToJsLocale("kab"), "kab");
|
||||
assert.strictEqual(pyToJsLocale("fr_BE"), "fr-BE");
|
||||
assert.strictEqual(pyToJsLocale("es_419"), "es-419");
|
||||
assert.strictEqual(pyToJsLocale("sr@latin"), "sr-Latn");
|
||||
assert.strictEqual(pyToJsLocale("sr_RS@latin"), "sr-Latn-RS");
|
||||
assert.strictEqual(pyToJsLocale("en-US"), "en-US");
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue