-
{{ $t('modals.new_toot.poll.add_choice') }}
+
{{ $t('compose.poll.add_choice') }}
@@ -47,7 +41,7 @@
-
+
@@ -94,7 +88,7 @@
{{ statusChars }}
- {{ $t('modals.new_toot.toot') }}
+ {{ $t('compose.toot') }}
@@ -152,31 +146,31 @@ export default defineComponent({
})
const expiresList = reactive
>([
{
- label: i18n.t('modals.new_toot.poll.expires.5_minutes'),
+ label: i18n.t('compose.poll.expires.5_minutes'),
value: 60 * 5
},
{
- label: i18n.t('modals.new_toot.poll.expires.30_minutes'),
+ label: i18n.t('compose.poll.expires.30_minutes'),
value: 60 * 30
},
{
- label: i18n.t('modals.new_toot.poll.expires.1_hour'),
+ label: i18n.t('compose.poll.expires.1_hour'),
value: 3600
},
{
- label: i18n.t('modals.new_toot.poll.expires.6_hours'),
+ label: i18n.t('compose.poll.expires.6_hours'),
value: 3600 * 6
},
{
- label: i18n.t('modals.new_toot.poll.expires.1_day'),
+ label: i18n.t('compose.poll.expires.1_day'),
value: 3600 * 24
},
{
- label: i18n.t('modals.new_toot.poll.expires.3_days'),
+ label: i18n.t('compose.poll.expires.3_days'),
value: 3600 * 24 * 3
},
{
- label: i18n.t('modals.new_toot.poll.expires.7_days'),
+ label: i18n.t('compose.poll.expires.7_days'),
value: 3600 * 24 * 7
}
])
@@ -399,7 +393,7 @@ export default defineComponent({
const file = e.dataTransfer?.files.item(0)
if (file === null || (!file.type.includes('image') && !file.type.includes('video'))) {
ElMessage({
- message: i18n.t('validation.new_toot.attach_image'),
+ message: i18n.t('validation.compose.attach_image'),
type: 'error'
})
return false