Skip to content

Commit

Permalink
fix: en locale import from UI package
Browse files Browse the repository at this point in the history
Signed-off-by: Till Sanders <mail@till-sanders.de>
  • Loading branch information
tillsanders committed Aug 14, 2022
1 parent cf82a92 commit 7326215
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@open-election-compass/client",
"version": "2.0.0-alpha.1",
"version": "2.0.0-alpha.2",
"author": "Till Sanders <mail@till-sanders.de>",
"license": "GPL-3.0",
"main": "dist/open-election-compass.umd.min.js",
Expand Down
2 changes: 0 additions & 2 deletions src/locales/i18n.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { createI18n } from 'vue-i18n';
import { enLocale as enUILocale } from '@open-election-compass/ui';
import en from './en.json';

type MessageSchema = typeof en;
Expand All @@ -20,6 +19,5 @@ const i18n = createI18n<[MessageSchema], 'en'>({
});

i18n.global.setLocaleMessage('en', en);
i18n.global.mergeLocaleMessage('en', enUILocale);

export default i18n;

0 comments on commit 7326215

Please sign in to comment.