From 036d46c4597d62b2a7e164dda8b4dac6aa03cc8f Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Sun, 11 Nov 2018 12:35:30 +0900 Subject: [PATCH] show self host in unicode (#3200) --- src/client/app/admin/views/instance.vue | 3 ++- src/client/app/common/views/components/acct.vue | 3 ++- src/client/app/common/views/components/profile-editor.vue | 3 ++- src/client/app/common/views/components/signin.vue | 3 ++- src/client/app/common/views/components/signup.vue | 3 ++- src/client/app/desktop/views/pages/welcome.vue | 3 ++- src/client/app/mobile/views/pages/welcome.vue | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/client/app/admin/views/instance.vue b/src/client/app/admin/views/instance.vue index c2a206037..cb4a6f585 100644 --- a/src/client/app/admin/views/instance.vue +++ b/src/client/app/admin/views/instance.vue @@ -83,12 +83,13 @@ import Vue from 'vue'; import i18n from '../../i18n'; import { host } from '../../config'; +import { toUnicode } from 'punycode'; export default Vue.extend({ i18n: i18n('admin/views/instance.vue'), data() { return { - host, + host: toUnicode(host), maintainerName: null, maintainerEmail: null, disableRegistration: false, diff --git a/src/client/app/common/views/components/acct.vue b/src/client/app/common/views/components/acct.vue index 542fbb429..69259ab60 100644 --- a/src/client/app/common/views/components/acct.vue +++ b/src/client/app/common/views/components/acct.vue @@ -8,11 +8,12 @@