improve inheritance with translations i18n.js files

vue-i18n --> chill main i18n ---( )---> app index
chill bundle i18n --> app i18n --^
This commit is contained in:
2021-04-30 14:59:14 +02:00
parent ec68e6f761
commit 4900c81c11
7 changed files with 74 additions and 59 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="vue-component">
<h3>{{ $t('title.course') }}</h3>
<h3>{{ $t('course.title') }}</h3>
<dl>
<dt>{{ $t('course.id') }}</dt>
<dd>{{ accompanying_course.id }}</dd>

View File

@@ -1,6 +1,6 @@
<template>
<div class="vue-component">
<h3>{{ $t('title.persons_associated')}}</h3>
<h3>{{ $t('persons_associated.title')}}</h3>
<label>{{ $tc('persons_associated.counter', counter) }}</label>
<table class="rounded">
<thead>

View File

@@ -1,6 +1,6 @@
<template>
<div class="vue-component">
<h3>{{ $t('title.requestor') }}</h3>
<h3>{{ $t('requestor.title') }}</h3>
{{ accompanying_course.id }}
{{ accompanying_course.remark }}<br><br>
@@ -8,7 +8,7 @@
<ul class="record_actions">
<li>
<button class="sc-button bt-create" @click="modal1.showModal = true">
{{ $t('action.showModal') }}
{{ $t('action.show_modal') }}
</button>
</li>
<li>