show self host in unicode (#3200)
This commit is contained in:
parent
5d3d78a73e
commit
036d46c459
@ -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,
|
||||
|
@ -8,11 +8,12 @@
|
||||
<script lang="ts">
|
||||
import Vue from 'vue';
|
||||
import { host } from '../../../config';
|
||||
import { toUnicode } from 'punycode';
|
||||
export default Vue.extend({
|
||||
props: ['user', 'detail'],
|
||||
data() {
|
||||
return {
|
||||
host
|
||||
host: toUnicode(host)
|
||||
};
|
||||
}
|
||||
});
|
||||
|
@ -73,12 +73,13 @@
|
||||
import Vue from 'vue';
|
||||
import i18n from '../../../i18n';
|
||||
import { apiUrl, host } from '../../../config';
|
||||
import { toUnicode } from 'punycode';
|
||||
|
||||
export default Vue.extend({
|
||||
i18n: i18n('common/views/components/profile-editor.vue'),
|
||||
data() {
|
||||
return {
|
||||
host,
|
||||
host: toUnicode(host),
|
||||
name: null,
|
||||
username: null,
|
||||
location: null,
|
||||
|
@ -21,6 +21,7 @@
|
||||
import Vue from 'vue';
|
||||
import i18n from '../../../i18n';
|
||||
import { apiUrl, host } from '../../../config';
|
||||
import { toUnicode } from 'punycode';
|
||||
|
||||
export default Vue.extend({
|
||||
i18n: i18n('common/views/components/signin.vue'),
|
||||
@ -39,7 +40,7 @@ export default Vue.extend({
|
||||
password: '',
|
||||
token: '',
|
||||
apiUrl,
|
||||
host
|
||||
host: toUnicode(host)
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
@ -46,12 +46,13 @@ import Vue from 'vue';
|
||||
import i18n from '../../../i18n';
|
||||
const getPasswordStrength = require('syuilo-password-strength');
|
||||
import { host, url } from '../../../config';
|
||||
import { toUnicode } from 'punycode';
|
||||
|
||||
export default Vue.extend({
|
||||
i18n: i18n('common/views/components/signup.vue'),
|
||||
data() {
|
||||
return {
|
||||
host,
|
||||
host: toUnicode(host),
|
||||
username: '',
|
||||
password: '',
|
||||
retypedPassword: '',
|
||||
|
@ -151,6 +151,7 @@ import Vue from 'vue';
|
||||
import i18n from '../../../i18n';
|
||||
import { host, copyright } from '../../../config';
|
||||
import { concat } from '../../../../../prelude/array';
|
||||
import { toUnicode } from 'punycode';
|
||||
|
||||
export default Vue.extend({
|
||||
i18n: i18n('desktop/views/pages/welcome.vue'),
|
||||
@ -160,7 +161,7 @@ export default Vue.extend({
|
||||
stats: null,
|
||||
banner: null,
|
||||
copyright,
|
||||
host,
|
||||
host: toUnicode(host),
|
||||
name: 'Misskey',
|
||||
description: '',
|
||||
announcements: [],
|
||||
|
@ -76,6 +76,7 @@ import Vue from 'vue';
|
||||
import i18n from '../../../i18n';
|
||||
import { copyright, host } from '../../../config';
|
||||
import { concat } from '../../../../../prelude/array';
|
||||
import { toUnicode } from 'punycode';
|
||||
|
||||
export default Vue.extend({
|
||||
i18n: i18n('mobile/views/pages/welcome.vue'),
|
||||
@ -85,7 +86,7 @@ export default Vue.extend({
|
||||
copyright,
|
||||
stats: null,
|
||||
banner: null,
|
||||
host,
|
||||
host: toUnicode(host),
|
||||
name: 'Misskey',
|
||||
description: '',
|
||||
photos: [],
|
||||
|
Loading…
Reference in New Issue
Block a user