From 1548f0176d5c8dea0b40b0c054cf8be9612b0048 Mon Sep 17 00:00:00 2001 From: Julien Wajsberg Date: Sat, 13 Oct 2018 16:01:24 +0200 Subject: [PATCH] Localization ! --- flatisfy/web/js_src/components/flatstableline.vue | 4 +++- flatisfy/web/js_src/i18n/en/index.js | 6 ++++-- flatisfy/web/js_src/views/details.vue | 2 +- flatisfy/web/js_src/views/home.vue | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/flatisfy/web/js_src/components/flatstableline.vue b/flatisfy/web/js_src/components/flatstableline.vue index fd48224..ca85eda 100644 --- a/flatisfy/web/js_src/components/flatstableline.vue +++ b/flatisfy/web/js_src/components/flatstableline.vue @@ -11,7 +11,9 @@ - [{{ flat.id.split("@")[1] }}] {{ flat.is_expired ? "[EXPIRED]" : null }} {{ flat.title }} + [{{ flat.id.split("@")[1] }}] + {{ flat.is_expired ? "[" + $t("common.expired") + "]" : null }} + {{ flat.title }}