This commit is contained in:
syuilo 2020-12-26 10:47:36 +09:00
parent 9d81d06853
commit 5a8cc7851b
200 changed files with 1562 additions and 1533 deletions

View file

@ -63,7 +63,7 @@ export default defineComponent({
created() {
this.menu = [{
icon: faCog,
text: this.$t('timeline'),
text: this.$ts.timeline,
action: this.setType
}];
},
@ -81,17 +81,17 @@ export default defineComponent({
methods: {
async setType() {
const { canceled, result: src } = await os.dialog({
title: this.$t('timeline'),
title: this.$ts.timeline,
type: null,
select: {
items: [{
value: 'home', text: this.$t('_timelines.home')
value: 'home', text: this.$ts._timelines.home
}, {
value: 'local', text: this.$t('_timelines.local')
value: 'local', text: this.$ts._timelines.local
}, {
value: 'social', text: this.$t('_timelines.social')
value: 'social', text: this.$ts._timelines.social
}, {
value: 'global', text: this.$t('_timelines.global')
value: 'global', text: this.$ts._timelines.global
}]
},
});