Skip to content

Commit

Permalink
feat: update trend legend wording
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpestov committed Dec 6, 2023
1 parent 55a6d3b commit 6411a33
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/workflows/TrendLegend.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const props = withDefaults(defineProps<{

<template>
<div class="flex space-x-3 text-sm text-gray-600" :class="{ 'text-colors': showTextColors }">
<div class="flex items-center positive"><i class="w-3 h-3 mr-1"></i><span>{{ $t('positive') }}</span></div>
<div class="flex items-center neutral"><i class="w-3 h-3 mr-1"></i><span>{{ $t('neutral') }}</span></div>
<div class="flex items-center negative"><i class="w-3 h-3 mr-1"></i><span>{{ $t('negative') }}</span></div>
<div class="flex items-center positive"><i class="w-3 h-3 mr-1"></i><span>{{ $t('better') }}</span></div>
<div class="flex items-center neutral"><i class="w-3 h-3 mr-1"></i><span>{{ $t('equal') }}</span></div>
<div class="flex items-center negative"><i class="w-3 h-3 mr-1"></i><span>{{ $t('worse') }}</span></div>
</div>
</template>

Expand Down
5 changes: 4 additions & 1 deletion src/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,8 @@
"cer_standard_deviation": "CER Standardabweichung",
"positive": "positiv",
"neutral": "neutral",
"negative": "negativ"
"negative": "negativ",
"better": "besser",
"equal": "gleich",
"worse": "schlechter"
}
5 changes: 4 additions & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,8 @@
"cer_standard_deviation": "CER Standard Deviation",
"positive": "positive",
"neutral": "neutral",
"negative": "negative"
"negative": "negative",
"better": "better",
"equal": "equal",
"worse": "worse"
}

0 comments on commit 6411a33

Please sign in to comment.