Skip to content

Commit

Permalink
Merge pull request #2349 from nextcloud/fix/translation
Browse files Browse the repository at this point in the history
Change selection method #2313
  • Loading branch information
Valdnet committed Apr 4, 2022
2 parents e79a9d5 + 5157567 commit 57655e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/js/components/Options/OptionsDateAdd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
</CheckboxRadioSwitch>
<div class="picker-buttons">
<button v-if="useTime" @click="toggleTimePanel">
{{ t('polls', showTimePanel ? 'Change date': 'Change time') }}
{{ showTimePanel
? t('polls', 'Change date')
: t('polls', 'Change time')
}}
</button>
<button v-if="useTime" @click="removeTime">
{{ t('polls', 'Remove time') }}
Expand Down

0 comments on commit 57655e0

Please sign in to comment.