Skip to content

Commit

Permalink
Merge pull request #15 from MORE-Platform/MORE-301-make-english-the-d…
Browse files Browse the repository at this point in the history
…efault-language-for-study-configorator

MORE-301: English Default language
  • Loading branch information
tkurz committed Nov 16, 2022
2 parents a69ebab + 1fe60bf commit fee80e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dialog/StudyCreationDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import {dateToDateString} from '../../utils/dateUtils';
const dialogRef:any = inject("dialogRef");
const title = ref();
const language = ref();
const language = ref('en');
const start = ref();
const end = ref();
const purpose = ref();
Expand Down
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ const i18n = createI18n({
legacy: false,
globalInjection: true,
locale: 'en',
defaultLanguage: 'en',
fallbackLocale: 'en', // set fallback locale
availableLocales: ['en'],
messages: Object.assign({ en: en }), // set locale messages
// If you need to specify other options, you can set other options
// ...
Expand Down

0 comments on commit fee80e1

Please sign in to comment.