feat: translate the timeline fixed elements
This commit is contained in:
parent
8257b30109
commit
2fccc09b3f
|
@ -21,7 +21,7 @@
|
|||
<img src='../assets/timeline/project.svg' />
|
||||
</div>
|
||||
<div :key="'name-'+proj.name" class='name'>
|
||||
Created <b>{{ proj.name }}</b> <span>{{ elapsed(proj.started_at) }}</span>
|
||||
{{ $t('project.created') }} <b>{{ proj.name }}</b> <span>{{ elapsed(proj.started_at) }}</span>
|
||||
</div>
|
||||
|
||||
<div :key="'joint-start-'+proj.name" class='joint-start' />
|
||||
|
@ -43,7 +43,7 @@
|
|||
<img src='../assets/timeline/src.svg' />
|
||||
</div>
|
||||
<div :key="'src-'+proj.name" class='src' >
|
||||
Hosted at <a :href='proj.source.link'>{{ proj.source.name }}</a> <span>({{ proj.commits }} commits)</span>
|
||||
{{ $t('project.sources') }} <a :href='proj.source.link'>{{ proj.source.name }}</a> <span>({{ proj.commits }} commits)</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -52,7 +52,7 @@
|
|||
<img src='../assets/timeline/doc.svg' />
|
||||
</div>
|
||||
<div :key="'doc-'+proj.name" class='doc'>
|
||||
Documentation at <a :href='proj.doc.link'>{{ proj.doc.name }}</a>
|
||||
{{ $t('project.doc') }} <a :href='proj.doc.link'>{{ proj.doc.name }}</a>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -61,10 +61,10 @@
|
|||
</div>
|
||||
<div :key="'end-'+proj.name" class='end'>
|
||||
<template v-if='proj.stopped_at != null'>
|
||||
Project stopped in {{ proj.stopped_at | short_date }} <span>{{ elapsed(proj.stopped_at) }}</span>
|
||||
{{ $t('project.end') }} {{ proj.stopped_at | short_date }} <span>{{ elapsed(proj.stopped_at) }}</span>
|
||||
</template>
|
||||
<template v-else>
|
||||
Project still active
|
||||
{{ $t('project.still') }}
|
||||
</template>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -82,5 +82,11 @@
|
|||
"time.month": "{n} month", "time.months": "{n} months",
|
||||
"time.year": "{n} year", "time.years": "{n} years",
|
||||
|
||||
"project.created": "Created",
|
||||
"project.sources": "Hosted at",
|
||||
"project.doc": "Documentation at",
|
||||
"project.end": "Project stopped in",
|
||||
"project.still": "Project still active",
|
||||
|
||||
"end": ""
|
||||
}
|
|
@ -44,5 +44,11 @@
|
|||
"time.month": "{n} mois", "time.months": "{n} mois",
|
||||
"time.year": "{n} an", "time.years": "{n} ans",
|
||||
|
||||
"project.created": "Création de",
|
||||
"project.sources": "Sources:",
|
||||
"project.doc": "Documentation:",
|
||||
"project.end": "Projet terminé en",
|
||||
"project.still": "Projet toujours actif",
|
||||
|
||||
"end": ""
|
||||
}
|
Loading…
Reference in New Issue