Skip to content

Commit 7fe3884

Browse files
committed
feat: update linear scale labels to use localization
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
1 parent 7db54c5 commit 7fe3884

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/components/Questions/QuestionLinearScale.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,14 @@
8080
</template>
8181

8282
<script>
83+
import { t } from '@nextcloud/l10n'
8384
import NcActionInput from '@nextcloud/vue/components/NcActionInput'
8485
import NcCheckboxRadioSwitch from '@nextcloud/vue/components/NcCheckboxRadioSwitch'
8586
87+
import IconPencil from 'vue-material-design-icons/Pencil.vue'
88+
8689
import QuestionMixin from '../../mixins/QuestionMixin.js'
8790
88-
import IconPencil from 'vue-material-design-icons/Pencil.vue'
8991
9092
export default {
9193
name: 'QuestionLinearScale',
@@ -104,8 +106,8 @@ export default {
104106
105107
lowestOption: 1,
106108
highestOption: 5,
107-
labelLowest: 'Lowest',
108-
labelHighest: 'Highest',
109+
labelLowest: t('forms', 'Strongly disagree'),
110+
labelHighest: t('forms', 'Strongly agree'),
109111
}
110112
},
111113

0 commit comments

Comments
 (0)