fix wording

This commit is contained in:
Andreani Jean
2023-01-30 10:24:15 +01:00
parent 2688324a6f
commit 1bbbcbf091
5 changed files with 13 additions and 7 deletions

View File

@@ -26,7 +26,7 @@
"vue": "^3.2.45",
"vue-axios": "^3.5.2",
"vue-eslint-parser": "^9.1.0",
"vue-i18n": "9",
"vue-i18n": "^9.2.2",
"vue-router": "^4.1.6"
},
"devDependencies": {
@@ -49,8 +49,8 @@
"prettier": "2.8.1",
"typescript": "~4.7.4",
"vite": "^3.2.4",
"vite-plugin-eslint": "^1.8.1",
"vitest": "^0.25.3",
"vite-plugin-eslint": "^1.8.1",
"vue-tsc": "^1.0.9"
},
"eslintConfig": {

View File

@@ -6,10 +6,10 @@
</router-link>
<ul class="nav-list">
<li class="nav-list-item">
<Link text="Verser des photos" path="/" />
<Link :text="$t('general.header.contribute_text')" path="/" />
</li>
<li class="nav-list-item">
<Link text="Aide" path="/" />
<Link :text="$t('general.header.help_text')" path="/" />
</li>
<li>
<Link icon="bi bi-person-circle" path="/" />

View File

@@ -1,4 +1,9 @@
{
"general": {},
"general": {
"header": {
"help_text": "Aide",
"contribute_text": "Verser des photos"
}
},
"pages": {}
}

View File

@@ -14,6 +14,7 @@ axios.defaults.baseURL = import.meta.env.VITE_API_URL
const i18n = createI18n({
locale: 'fr',
fallbackLocale: 'fr',
globalInjection: true,
legacy: false,
messages: {

View File

@@ -6854,9 +6854,9 @@ vue-eslint-parser@^9.0.0, vue-eslint-parser@^9.0.1, vue-eslint-parser@^9.1.0:
lodash "^4.17.21"
semver "^7.3.6"
vue-i18n@9:
vue-i18n@^9.2.2:
version "9.2.2"
resolved "https://registry.npmjs.org/vue-i18n/-/vue-i18n-9.2.2.tgz"
resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-9.2.2.tgz#aeb49d9424923c77e0d6441e3f21dafcecd0e666"
integrity sha512-yswpwtj89rTBhegUAv9Mu37LNznyu3NpyLQmozF3i1hYOhwpG8RjcjIFIIfnu+2MDZJGSZPXaKWvnQA71Yv9TQ==
dependencies:
"@intlify/core-base" "9.2.2"