Skip to content

Commit

Permalink
feat(i18n): json format v3
Browse files Browse the repository at this point in the history
  • Loading branch information
megheaiulian committed Nov 4, 2022
1 parent 4b89a85 commit 4b1867a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 5 additions & 0 deletions cosmoz-i18next.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,10 @@ const
class CosmozI18Next extends PolymerElement {
static get properties() { // eslint-disable-line max-lines-per-function
return {
compatibilityJSON: {
type: String,
value: 'v3',
},
domain: {
type: String,
value: 'messages'
Expand Down Expand Up @@ -296,6 +300,7 @@ class CosmozI18Next extends PolymerElement {
ready() {
super.ready();
i18n.init({
compatibilityJSON: this.compatibilityJSON,
interpolation: {
escapeValue: false,
prefix: this.interpolationPrefix,
Expand Down
7 changes: 1 addition & 6 deletions web-test-runner.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
import cfg from '@neovici/cfg/web/test-runner.mjs';

export default {
...cfg,
testFramework: { config: { ui: 'bdd' }},
};
export { default } from '@neovici/cfg/web/test-runner.mjs';

0 comments on commit 4b1867a

Please # to comment.