1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 07:35:57 +09:00

Merge branch 'develop' of https://github.com/syuilo/misskey into develop

This commit is contained in:
syuilo 2018-11-11 12:43:52 +09:00
commit a59f53e6da
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
7 changed files with 14 additions and 7 deletions

View File

@ -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,

View File

@ -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)
};
}
});

View File

@ -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,

View File

@ -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: {

View File

@ -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: '',

View File

@ -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: [],

View File

@ -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: [],