Skip to content

Commit 19f5ee6

Browse files
committed
requested fix related to Vue i18n import
1 parent 650cc74 commit 19f5ee6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/renderer/components/external-player-settings/external-player-settings.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import FtSelect from '../ft-select/ft-select.vue'
55
import FtInput from '../ft-input/ft-input.vue'
66
import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue'
77
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'
8-
import i18n from '../../i18n/index.js'
98

109
export default Vue.extend({
1110
name: 'ExternalPlayerSettings',
@@ -25,7 +24,7 @@ export default Vue.extend({
2524
},
2625

2726
externalPlayerNames: function () {
28-
return this.$store.getters.getExternalPlayerNames.map((value) => i18n.t(value))
27+
return this.$store.getters.getExternalPlayerNames.map((value) => this.$t(value))
2928
},
3029
externalPlayerValues: function () {
3130
return this.$store.getters.getExternalPlayerValues

0 commit comments

Comments
 (0)