Commit 1548f017 authored by Julien Wajsberg's avatar Julien Wajsberg Committed by Phyks

Localization !

parent e631d09d
......@@ -11,7 +11,9 @@
<i class="fa fa-star" aria-hidden="true" :title="capitalizedStatus"></i>
</template>
[{{ flat.id.split("@")[1] }}] {{ flat.is_expired ? "[EXPIRED]" : null }} {{ flat.title }}
[{{ flat.id.split("@")[1] }}]
{{ flat.is_expired ? "[" + $t("common.expired") + "]" : null }}
{{ flat.title }}
<template v-if="photo">
<br/>
......
......@@ -14,10 +14,12 @@ export default {
'sortUp': 'Sort in ascending order',
'sortDown': 'Sort in descending order',
'mins': 'min | mins',
'Unknown': 'Unknown'
'Unknown': 'Unknown',
'expired': 'expired'
},
home: {
'new_available_flats': 'New available flats'
'new_available_flats': 'New available flats',
'show_expired_flats': 'Show expired flats'
},
flatListing: {
'no_available_flats': 'No available flats.',
......
......@@ -11,7 +11,7 @@
-->{{ flat.status ? capitalize($t("status." + flat.status)) : '' }}<!--
--></router-link><!--
-->) {{ flat.title }} [{{ flat.id.split("@")[1] }}]
{{ flat.is_expired ? '[EXPIRED]' : '' }}
{{ flat.is_expired ? '[' + $t('common.expired') + ']' : '' }}
</h2>
<div class="grid">
<div class="left-panel">
......
......@@ -6,7 +6,7 @@
{{ $t("home.new_available_flats") }}
<label class="show-expired-flats-label">
<input type="checkbox" class="show-expired-flats-checkbox" v-model="showExpiredFlats" />
Show expired flats
{{ $t("home.show_expired_flats") }}
</label>
</h2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment