From 9c34f96cdd05318192ef84201e1db400d8bea111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=93=E3=81=91=E3=81=A3=E3=81=A1?= Date: Sun, 13 Mar 2022 16:14:57 +0900 Subject: [PATCH] feat: Add convert video container button lang --- locales/ja-JP.yml | 1 + locales/ja-NY.yml | 1 + packages/client/src/components/post-form.vue | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 13f9efe9b..3e0ad451a 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -222,6 +222,7 @@ currentPassword: "現在のパスワード" newPassword: "新しいパスワード" newPasswordRetype: "新しいパスワード(再入力)" attachFile: "ファイルを添付" +attachVideoFile: "MOVファイルを添付" more: "もっと!" featured: "ハイライト" usernameOrUserId: "ユーザー名かユーザーID" diff --git a/locales/ja-NY.yml b/locales/ja-NY.yml index d9f16b961..546270ad8 100644 --- a/locales/ja-NY.yml +++ b/locales/ja-NY.yml @@ -221,6 +221,7 @@ currentPassword: "現在のパスワード" newPassword: "新しいパスワード" newPasswordRetype: "新しいパスワード(再入力)" attachFile: "ファイルを添付" +attachVideoFile: "MOVファイルを添付" more: "もっと!" featured: "ハイライト" usernameOrUserId: "ユーザー名かユーザーID" diff --git a/packages/client/src/components/post-form.vue b/packages/client/src/components/post-form.vue index c0a7028b2..8e1633204 100644 --- a/packages/client/src/components/post-form.vue +++ b/packages/client/src/components/post-form.vue @@ -350,7 +350,7 @@ function focus() { } function chooseFileFrom(ev) { - selectFiles(ev.currentTarget ?? ev.target, i18n.ts.attachVideoFile).then(files_ => { + selectFiles(ev.currentTarget ?? ev.target, i18n.ts.attachFile).then(files_ => { for (const file of files_) { files.push(file); } @@ -358,7 +358,7 @@ function chooseFileFrom(ev) { } function chooseFileFromEnc(ev) { - selectFileEnc(ev.currentTarget ?? ev.target, i18n.ts.attachFile).then(files_ => { + selectFileEnc(ev.currentTarget ?? ev.target, i18n.ts.attachVideoFile).then(files_ => { files.push(files_); }); }