Localize more dates and texts (#341)

* Localize more dates and texts

* Adapt source language to 4-letter code for VS code

* Make page titles more reactive to language change

* Translate missing text + fix missed refactoring

* Fix missed page titles refactoring

* Translate nutrition view

* Translate Image upload vue

* Fix default text being defined twice in upload btn
This commit is contained in:
sephrat
2021-04-23 08:13:00 +02:00
committed by GitHub
parent 048d3d5469
commit 80f8806604
18 changed files with 65 additions and 125 deletions

View File

@@ -1,4 +1,3 @@
import i18n from "@/i18n.js";
import SearchPage from "@/pages/SearchPage";
import HomePage from "@/pages/HomePage";
@@ -9,7 +8,7 @@ export const generalRoutes = [
path: "/search",
component: SearchPage,
meta: {
title: i18n.t("search.search"),
title: "search.search",
},
},
];