Skip to content

Commit

Permalink
Add translation
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Jan 18, 2025
1 parent 654b9e7 commit 7140ad9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/components/ChallengeTimeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<v-timeline direction="horizontal" truncate-line="both">
<v-timeline-item dot-color="success">
<div class="text-h6">
Start
{{ $t('Common.Start') }}
</div>
<template #opposite>
{{ challenge.startDate }}
Expand All @@ -11,23 +11,23 @@
<v-timeline-item dot-color="error">
<template #opposite>
<div class="text-h6">
End
{{ $t('Common.End') }}
</div>
</template>
{{ challenge.endDate }}
</v-timeline-item>
</v-timeline>
<v-progress-linear
style="width: 50%; margin-left: 25%; top: -55px; margin-top: -25px"
color="primary"
height="25"
:model-value="progress"
striped
style="width: 50%; margin-left: 25%; top: -55px; margin-top: -25px"
>
<strong>{{ daysLeftText }}</strong>
</v-progress-linear>
</template>

<script>
export default {
props: {
Expand Down Expand Up @@ -55,4 +55,3 @@ export default {
}
}
</script>

2 changes: 2 additions & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@
"ExamplesWithColon": "Examples:",
"ExamplesWithColonAndValue": "Examples: {value}",
"Edit": "Edit",
"End": "End",
"Filter": "Filter",
"FilterProductWithPriceCount": "With a price",
"FilterProductWithPriceCountHide": "Hide products with prices",
Expand Down Expand Up @@ -330,6 +331,7 @@
"Share": "Share",
"Source": "Source",
"SourceCode": "Source code",
"Start": "Start",
"Stats": "Stats",
"TaglineOriginal": "An open crowdsourced database of food prices",
"TaglineAlt1": "The open crowdsourced database of prices",
Expand Down

0 comments on commit 7140ad9

Please sign in to comment.