From 0a8213b851257aecf1c5b55077c110cadff7cd06 Mon Sep 17 00:00:00 2001 From: gutfuckllc <40531868+gutfuckllc@users.noreply.github.com> Date: Tue, 31 Jul 2018 14:03:43 -0400 Subject: [PATCH] Fully translated settings.profile.vue Added relevant translation lines --- locales/en.yml | 3 +++ locales/ja.yml | 1 + src/client/app/desktop/views/components/settings.profile.vue | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/locales/en.yml b/locales/en.yml index d4ae70cd1..155aeb302 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -577,6 +577,8 @@ desktop/views/components/settings.profile.vue: other: "Other" is-bot: "This account is a Bot" is-cat: "This account is a Cat" + profile-update: "Profile updated" + desktop/views/components/sub-note-content.vue: private: "This post is private" deleted: "This post has been deleted" @@ -887,6 +889,7 @@ mobile/views/pages/settings/settings.profile.vue: saved: "Profile updated" uploading: "Uploading" upload-failed: "Failed to upload" + mobile/views/pages/search.vue: search: "Search" empty: "No posts were found for '{}'" diff --git a/locales/ja.yml b/locales/ja.yml index 3bcceaf05..8af78338b 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -661,6 +661,7 @@ desktop/views/components/settings.profile.vue: other: "その他" is-bot: "このアカウントはBotです" is-cat: "このアカウントはCatです" + profile-updated: "プロフィールを更新しました" desktop/views/components/sub-note-content.vue: private: "この投稿は非公開です" diff --git a/src/client/app/desktop/views/components/settings.profile.vue b/src/client/app/desktop/views/components/settings.profile.vue index ca29a120c..262583b64 100644 --- a/src/client/app/desktop/views/components/settings.profile.vue +++ b/src/client/app/desktop/views/components/settings.profile.vue @@ -63,7 +63,7 @@ export default Vue.extend({ description: this.description || null, birthday: this.birthday || null }).then(() => { - (this as any).apis.notify('プロフィールを更新しました'); + (this as any).apis.notify('%i18n:@profile-updated%'); }); }, onChangeIsLocked() {