diff --git a/locales/de-DE.yml b/locales/de-DE.yml index 353ff56fdf..807c68be61 100644 --- a/locales/de-DE.yml +++ b/locales/de-DE.yml @@ -270,7 +270,7 @@ common/views/components/note-menu.vue: common/views/components/poll.vue: vote-to: "Stimme für '{}'" vote-count: "{} Stimmen" - total-users: "{} Nutzer haben abgestimmt" + total-votes: "{} Nutzer haben abgestimmt" vote: "Abstimmen" show-result: "Zeige Ergebnis" voted: "Abgestimmt" diff --git a/locales/en-US.yml b/locales/en-US.yml index e6c081ff0e..a00fc8dcfb 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -489,7 +489,7 @@ common/views/components/user-menu.vue: common/views/components/poll.vue: vote-to: "Vote for '{}'" vote-count: "{} votes" - total-users: "{} users voted" + total-votes: "{} users voted" vote: "Vote" show-result: "Show results" voted: "Voted" diff --git a/locales/es-ES.yml b/locales/es-ES.yml index 0dd1ea7738..3d39752841 100644 --- a/locales/es-ES.yml +++ b/locales/es-ES.yml @@ -303,7 +303,7 @@ common/views/components/user-menu.vue: common/views/components/poll.vue: vote-to: "'{}' para votar" vote-count: "{} votos" - total-users: "{} usuario(s) que ha(n) votado" + total-votes: "{} usuario(s) que ha(n) votado" vote: "Vota" show-result: "Mostrar resultados" voted: "Votado" diff --git a/locales/fr-FR.yml b/locales/fr-FR.yml index 8ce34dfd89..542684d286 100644 --- a/locales/fr-FR.yml +++ b/locales/fr-FR.yml @@ -383,7 +383,7 @@ common/views/components/user-menu.vue: common/views/components/poll.vue: vote-to: "Voter pour '{}'" vote-count: "{} votes" - total-users: "{} utilisateur·rice·s ont voté" + total-votes: "{} utilisateur·rice·s ont voté" vote: "Vote" show-result: "Montrer les résultats" voted: "Voté" diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 2a63d142a3..83441af8f5 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -527,10 +527,15 @@ common/views/components/user-menu.vue: common/views/components/poll.vue: vote-to: "「{}」に投票する" vote-count: "{}票" - total-users: "{}人が投票" + total-votes: "計{}票" vote: "投票する" show-result: "結果を見る" voted: "投票済み" + closed: "終了済み" + remaining-days: "終了まであと{d}日{h}時間" + remaining-hours: "終了まであと{h}時間{m}分" + remaining-minutes: "終了まであと{m}分{s}秒" + remaining-seconds: "終了まであと{s}秒" common/views/components/poll-editor.vue: no-only-one-choice: "アンケートには、選択肢が最低2つ必要です" @@ -538,6 +543,20 @@ common/views/components/poll-editor.vue: remove: "この選択肢を削除" add: "+選択肢を追加" destroy: "アンケートを破棄" + multiple: "複数回答可" + expiration: "期限" + infinite: "無期限" + at: "日時指定" + after: "経過指定" + no-more: "これ以上追加できません" + deadline-date: "期日" + deadline-time: "時間" + interval: "期間" + unit: "単位" + second: "秒" + minute: "分" + hour: "時間" + day: "日" common/views/components/reaction-picker.vue: choose-reaction: "リアクションを選択" diff --git a/locales/ja-KS.yml b/locales/ja-KS.yml index dbf8629c90..214c4657f0 100644 --- a/locales/ja-KS.yml +++ b/locales/ja-KS.yml @@ -344,7 +344,7 @@ common/views/components/user-menu.vue: common/views/components/poll.vue: vote-to: "「{}」に投票や!" vote-count: "{}票" - total-users: "{}人が投票" + total-votes: "{}人が投票" vote: "投票するで" show-result: "結果を見よか" voted: "投票済みや" diff --git a/locales/ko-KR.yml b/locales/ko-KR.yml index 6627e664f6..b976945e4c 100644 --- a/locales/ko-KR.yml +++ b/locales/ko-KR.yml @@ -489,7 +489,7 @@ common/views/components/user-menu.vue: common/views/components/poll.vue: vote-to: "\"{}\"에 투표하기" vote-count: "{}표" - total-users: "{}명이 투표" + total-votes: "{}명이 투표" vote: "투표하기" show-result: "결과 보기" voted: "투표함" diff --git a/locales/nl-NL.yml b/locales/nl-NL.yml index bd64792f60..c39a4d66a1 100644 --- a/locales/nl-NL.yml +++ b/locales/nl-NL.yml @@ -131,7 +131,7 @@ common/views/components/note-menu.vue: common/views/components/poll.vue: vote-to: "Stemmen op '{}'" vote-count: "{} stemmen" - total-users: "{} gebruikers hebben gestemd" + total-votes: "{} gebruikers hebben gestemd" vote: "Stemmen" show-result: "Resultaten tonen" voted: "Gestemd" diff --git a/locales/pl-PL.yml b/locales/pl-PL.yml index af1a801336..affe08d0da 100644 --- a/locales/pl-PL.yml +++ b/locales/pl-PL.yml @@ -346,7 +346,7 @@ common/views/components/user-menu.vue: common/views/components/poll.vue: vote-to: "Zagłosuj na '{}'" vote-count: "{} głosów" - total-users: "{} głosujących" + total-votes: "{} głosujących" vote: "Zagłosuj" show-result: "Pokaż wyniki" voted: "Zagłosowano" diff --git a/locales/zh-CN.yml b/locales/zh-CN.yml index 9f04b51d36..9a199b1c10 100644 --- a/locales/zh-CN.yml +++ b/locales/zh-CN.yml @@ -489,7 +489,7 @@ common/views/components/user-menu.vue: common/views/components/poll.vue: vote-to: "为\"{}\"投票" vote-count: "{}票" - total-users: "{} 人投票" + total-votes: "{} 人投票" vote: "投票" show-result: "显示结果" voted: "已投票" diff --git a/src/client/app/common/views/components/poll-editor.vue b/src/client/app/common/views/components/poll-editor.vue index d6f30f380d..88d7311f5c 100644 --- a/src/client/app/common/views/components/poll-editor.vue +++ b/src/client/app/common/views/components/poll-editor.vue @@ -12,21 +12,54 @@ + +
+ {{ $t('multiple') }} +
+ + + + + + +
+ {{ $t('deadline-date') }} + {{ $t('deadline-time') }} +
+
+ {{ $t('interval') }} + + + + + + + +
+
+