mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-12 08:14:08 +02:00
* Fix a la carte 1 * use dialog instead of alert() etc
This commit is contained in:
@@ -32,7 +32,7 @@ export default Vue.extend({
|
||||
this.fetch();
|
||||
},
|
||||
mounted() {
|
||||
document.title = `${this.$root.instanceName} | %i18n:@notifications%`;
|
||||
document.title = `${this.$root.instanceName} | ${this.$t('@.favorites')}`;
|
||||
},
|
||||
methods: {
|
||||
fetch() {
|
||||
|
||||
@@ -15,7 +15,7 @@ export default Vue.extend({
|
||||
XReversi: () => import('../../../../common/views/components/games/reversi/reversi.vue').then(m => m.default)
|
||||
},
|
||||
mounted() {
|
||||
document.title = `${this.$root.instanceName} %i18n:@reversi%`;
|
||||
document.title = `${this.$root.instanceName} | ${this.$t('reversi')}`;
|
||||
},
|
||||
methods: {
|
||||
nav(game, actualNav) {
|
||||
|
||||
@@ -50,7 +50,7 @@ export default Vue.extend({
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
document.title = `%i18n:@search%: ${this.q} | ${this.$root.instanceName}`;
|
||||
document.title = `${this.$t('search')}: ${this.q} | ${this.$root.instanceName}`;
|
||||
},
|
||||
methods: {
|
||||
inited() {
|
||||
|
||||
@@ -29,7 +29,8 @@
|
||||
</header>
|
||||
<x-draggable
|
||||
:list="widgets"
|
||||
:options="{ handle: '.handle', animation: 150 }"
|
||||
handle=".handle"
|
||||
animation="150"
|
||||
@sort="onWidgetSort"
|
||||
>
|
||||
<div v-for="widget in widgets" class="customize-container" :key="widget.id">
|
||||
@@ -106,7 +107,10 @@ export default Vue.extend({
|
||||
|
||||
methods: {
|
||||
hint() {
|
||||
alert(this.$t('widgets-hints'));
|
||||
this.$root.dialog({
|
||||
type: 'info',
|
||||
text: this.$t('widgets-hints')
|
||||
});
|
||||
},
|
||||
|
||||
widgetFunc(id) {
|
||||
|
||||
Reference in New Issue
Block a user