diff --git a/src/config/locales/de/translation.json b/src/config/locales/de/translation.json index 0cdbc286..dbf570c6 100644 --- a/src/config/locales/de/translation.json +++ b/src/config/locales/de/translation.json @@ -186,12 +186,14 @@ "close_confirm": "Möchtest du wirklich schließen?", "close_confirm_ok": "Schließen", "close_confirm_cancel": "Abbrechen", - "add_image": "Bild hinzufügen", - "change_visibility": "Sichtbarkeit ändern", - "add_cw": "Inhalt hinzufügen Warnung", - "change_sensitive": "Ändern Sie empfindlich", - "pined_hashtag": "Pin the hashtag", - "description": "Für Menschen mit Sehbehinderung beschreiben" + "description": "Für Menschen mit Sehbehinderung beschreiben", + "footer": { + "add_image": "Bild hinzufügen", + "change_visibility": "Sichtbarkeit ändern", + "change_sensitive": "Ändern Sie empfindlich", + "add_cw": "Inhalt hinzufügen Warnung", + "pined_hashtag": "Pin the hashtag" + } }, "jump": { "jump_to": "Springe zu..." diff --git a/src/config/locales/de/translation.missing.json b/src/config/locales/de/translation.missing.json index 58a79220..1949234a 100644 --- a/src/config/locales/de/translation.missing.json +++ b/src/config/locales/de/translation.missing.json @@ -27,6 +27,23 @@ "tag": "Hashtag" }, "modals": { + "new_toot": { + "footer": { + "poll": "Add a poll" + }, + "poll": { + "add_choice": "Add a choice", + "expires": { + "5_minutes": "5 minutes", + "30_minutes": "30 minutes", + "1_hour": "1 hour", + "6_hours": "6 hours", + "1_day": "1 day", + "3_days": "3 days", + "7_days": "7 days" + } + } + }, "shortcut": { "h": "Switch the focus to left column", "l": "Switch the focus to right column", diff --git a/src/config/locales/en/translation.json b/src/config/locales/en/translation.json index 7163383a..6d2b0ef2 100644 --- a/src/config/locales/en/translation.json +++ b/src/config/locales/en/translation.json @@ -213,12 +213,27 @@ "close_confirm": "Are you sure you want to cancel the new toot?", "close_confirm_ok": "OK", "close_confirm_cancel": "Cancel", - "add_image": "Add images", - "change_visibility": "Change visibility", - "add_cw": "Add content warning", - "change_sensitive": "Change sensitive", - "pined_hashtag": "Pin the hashtag", - "description": "Describe for the visually impaired" + "description": "Describe for the visually impaired", + "footer": { + "add_image": "Add images", + "poll": "Add a poll", + "change_visibility": "Change visibility", + "change_sensitive": "Change sensitive", + "add_cw": "Add content warning", + "pined_hashtag": "Pin the hashtag" + }, + "poll": { + "add_choice": "Add a choice", + "expires": { + "5_minutes": "5 minutes", + "30_minutes": "30 minutes", + "1_hour": "1 hour", + "6_hours": "6 hours", + "1_day": "1 day", + "3_days": "3 days", + "7_days": "7 days" + } + } }, "jump": { "jump_to": "Jump to..." diff --git a/src/config/locales/fr/translation.json b/src/config/locales/fr/translation.json index 5edcfd8c..76f6cd1f 100644 --- a/src/config/locales/fr/translation.json +++ b/src/config/locales/fr/translation.json @@ -207,12 +207,14 @@ "close_confirm": "Êtes-vous certain de vouloir fermer ce nouveau pouet ?", "close_confirm_ok": "Oui", "close_confirm_cancel": "Annuler", - "add_image": "Ajouter une image", - "change_visibility": "Changer la visibilité", - "add_cw": "Ajouter un avertissement de contenu", - "change_sensitive": "Changer sensible", - "pined_hashtag": "Accrochez le hashtag", - "description": "Décrire pour les malvoyant·e·s" + "description": "Décrire pour les malvoyant·e·s", + "footer": { + "add_image": "Ajouter une image", + "change_visibility": "Changer la visibilité", + "change_sensitive": "Changer sensible", + "add_cw": "Ajouter un avertissement de contenu", + "pined_hashtag": "Accrochez le hashtag" + } }, "jump": { "jump_to": "Aller à..." diff --git a/src/config/locales/fr/translation.missing.json b/src/config/locales/fr/translation.missing.json index 8b0903b2..60610584 100644 --- a/src/config/locales/fr/translation.missing.json +++ b/src/config/locales/fr/translation.missing.json @@ -16,6 +16,25 @@ "accept": "Accept", "reject": "Reject" }, + "modals": { + "new_toot": { + "footer": { + "poll": "Add a poll" + }, + "poll": { + "add_choice": "Add a choice", + "expires": { + "5_minutes": "5 minutes", + "30_minutes": "30 minutes", + "1_hour": "1 hour", + "6_hours": "6 hours", + "1_day": "1 day", + "3_days": "3 days", + "7_days": "7 days" + } + } + } + }, "cards": { "toot": { "poll": { diff --git a/src/config/locales/it/translation.json b/src/config/locales/it/translation.json index d5084c3e..a4925646 100644 --- a/src/config/locales/it/translation.json +++ b/src/config/locales/it/translation.json @@ -210,12 +210,14 @@ "close_confirm": "Sei sicuro/a di voler cancellare il nuovo toot?", "close_confirm_ok": "OK", "close_confirm_cancel": "Annulla", - "add_image": "Aggiungi immagini", - "change_visibility": "Modifica visibilità", - "add_cw": "Aggiungi avviso sui contenuti", - "change_sensitive": "Modifica sensibilità", - "pined_hashtag": "Fissa l'hashtag", - "description": "Descrivi per i non vedenti" + "description": "Descrivi per i non vedenti", + "footer": { + "add_image": "Aggiungi immagini", + "change_visibility": "Modifica visibilità", + "change_sensitive": "Modifica sensibilità", + "add_cw": "Aggiungi avviso sui contenuti", + "pined_hashtag": "Fissa l'hashtag" + } }, "jump": { "jump_to": "Salta a..." diff --git a/src/config/locales/it/translation.missing.json b/src/config/locales/it/translation.missing.json index 864756df..4d3386b6 100644 --- a/src/config/locales/it/translation.missing.json +++ b/src/config/locales/it/translation.missing.json @@ -14,6 +14,25 @@ "accept": "Accept", "reject": "Reject" }, + "modals": { + "new_toot": { + "footer": { + "poll": "Add a poll" + }, + "poll": { + "add_choice": "Add a choice", + "expires": { + "5_minutes": "5 minutes", + "30_minutes": "30 minutes", + "1_hour": "1 hour", + "6_hours": "6 hours", + "1_day": "1 day", + "3_days": "3 days", + "7_days": "7 days" + } + } + } + }, "cards": { "toot": { "poll": { diff --git a/src/config/locales/ja/translation.json b/src/config/locales/ja/translation.json index 126103fc..202cac2c 100644 --- a/src/config/locales/ja/translation.json +++ b/src/config/locales/ja/translation.json @@ -212,12 +212,27 @@ "close_confirm": "本当に閉じますか?", "close_confirm_ok": "閉じる", "close_confirm_cancel": "キャンセル", - "add_image": "画像を添付", - "change_visibility": "プライバシー設定", - "add_cw": "閲覧注意を追加", - "change_sensitive": "メディアの閲覧注意設定", - "pined_hashtag": "ハッシュタグを固定する", - "description": "メディアの説明を追加" + "description": "メディアの説明を追加", + "footer": { + "add_image": "画像を添付", + "poll": "アンケートを追加", + "change_visibility": "プライバシー設定", + "change_sensitive": "メディアの閲覧注意設定", + "add_cw": "閲覧注意を追加", + "pined_hashtag": "ハッシュタグを固定する" + }, + "poll": { + "add_choice": "選択肢を追加", + "expires": { + "5_minutes": "5分後", + "30_minutes": "30分後", + "1_hour": "1時間後", + "6_hours": "6時間後", + "1_day": "1日後", + "3_days": "3日後", + "7_days": "7日後" + } + } }, "jump": { "jump_to": "移動..." diff --git a/src/config/locales/ko/translation.json b/src/config/locales/ko/translation.json index 4ab7d0e1..674d1828 100644 --- a/src/config/locales/ko/translation.json +++ b/src/config/locales/ko/translation.json @@ -200,13 +200,14 @@ "close_confirm": "툿 작성을 그만둘까요?", "close_confirm_ok": "예", "close_confirm_cancel": "취소", - "add_image": "이미지 추가", - "change_visibility": "공개 범위 변경", - "add_cw": "경고 문구 추가", - "change_sensitive": "민감한 미디어 설정", - "pined_hashtag": "해시태그고정", "description": "시각장애인을 위한 설명", - "pinned": "고정 된 툿" + "footer": { + "add_image": "이미지 추가", + "change_visibility": "공개 범위 변경", + "change_sensitive": "민감한 미디어 설정", + "add_cw": "경고 문구 추가", + "pined_hashtag": "해시태그고정" + } }, "jump": { "jump_to": "이동" @@ -261,7 +262,8 @@ "reply": "답장하기", "reblog": "부스트", "fav": "즐겨찾기", - "detail": "툿 자세히 보기" + "detail": "툿 자세히 보기", + "pinned": "고정 된 툿" } }, "side_bar": { diff --git a/src/config/locales/ko/translation.missing.json b/src/config/locales/ko/translation.missing.json index d10da495..972bfe48 100644 --- a/src/config/locales/ko/translation.missing.json +++ b/src/config/locales/ko/translation.missing.json @@ -25,6 +25,25 @@ "accept": "Accept", "reject": "Reject" }, + "modals": { + "new_toot": { + "footer": { + "poll": "Add a poll" + }, + "poll": { + "add_choice": "Add a choice", + "expires": { + "5_minutes": "5 minutes", + "30_minutes": "30 minutes", + "1_hour": "1 hour", + "6_hours": "6 hours", + "1_day": "1 day", + "3_days": "3 days", + "7_days": "7 days" + } + } + } + }, "cards": { "toot": { "poll": { diff --git a/src/config/locales/pl/translation.json b/src/config/locales/pl/translation.json index b70bacb2..f8a413a7 100644 --- a/src/config/locales/pl/translation.json +++ b/src/config/locales/pl/translation.json @@ -186,13 +186,14 @@ "close_confirm": "Czy na pewno chcesz porzucić tworzenie wpisu?", "close_confirm_ok": "OK", "close_confirm_cancel": "Anuluj", - "add_image": "Dodaj obraz", - "change_visibility": "Zmień widoczność", - "add_cw": "Dodaj ostrzeżenie zawartości", - "change_sensitive": "Zmień wrażliwy", - "pined_hashtag": "Pin the hashtag", "description": "Wprowadź opis dla niewidomych i niedowidzących", - "pinned": "Przypięty wpis" + "fotter": { + "add_image": "Dodaj obraz", + "change_visibility": "Zmień widoczność", + "change_sensitive": "Zmień wrażliwy", + "add_cw": "Dodaj ostrzeżenie zawartości", + "pined_hashtag": "Pin the hashtag" + } }, "jump": { "jump_to": "Przejdź do…" @@ -244,7 +245,8 @@ "reply": "Odpowiadać", "reblog": "Podbić wpisu", "fav": "Ulubiony", - "detail": "Szczegół" + "detail": "Szczegół", + "pinned": "Przypięty wpis" } }, "side_bar": { diff --git a/src/config/locales/pl/translation.missing.json b/src/config/locales/pl/translation.missing.json index b5c4b6fc..f1c02620 100644 --- a/src/config/locales/pl/translation.missing.json +++ b/src/config/locales/pl/translation.missing.json @@ -27,6 +27,23 @@ "tag": "Hashtag" }, "modals": { + "new_toot": { + "footer": { + "poll": "Add a poll" + }, + "poll": { + "add_choice": "Add a choice", + "expires": { + "5_minutes": "5 minutes", + "30_minutes": "30 minutes", + "1_hour": "1 hour", + "6_hours": "6 hours", + "1_day": "1 day", + "3_days": "3 days", + "7_days": "7 days" + } + } + }, "shortcut": { "h": "Switch the focus to left column", "l": "Switch the focus to right column", diff --git a/src/renderer/components/TimelineSpace/Modals/NewToot.vue b/src/renderer/components/TimelineSpace/Modals/NewToot.vue index 6deb5448..a9812145 100644 --- a/src/renderer/components/TimelineSpace/Modals/NewToot.vue +++ b/src/renderer/components/TimelineSpace/Modals/NewToot.vue @@ -14,6 +14,14 @@ +
@@ -35,14 +43,19 @@