diff --git a/src/i18n/resources/en.json b/src/i18n/resources/en.json index f87d6b8c..579378b8 100644 --- a/src/i18n/resources/en.json +++ b/src/i18n/resources/en.json @@ -573,7 +573,7 @@ "description": "Add scrobbling support (etc. last.fm, Listenbrainz)", "menu": { "lastfm": { - "api_settings": "Last.fm API Settings" + "api-settings": "Last.fm API Settings" }, "listenbrainz": { "token": "Enter ListenBrainz user token" @@ -582,8 +582,8 @@ "name": "Scrobbler", "prompt": { "lastfm": { - "api_key": "Last.fm API key", - "api_secret": "Last.fm API secret" + "api-key": "Last.fm API key", + "api-secret": "Last.fm API secret" }, "listenbrainz": { "token": { diff --git a/src/i18n/resources/ko.json b/src/i18n/resources/ko.json index 18251c63..90be84c0 100644 --- a/src/i18n/resources/ko.json +++ b/src/i18n/resources/ko.json @@ -573,7 +573,7 @@ "description": "스크로블링 지원을 추가합니다 (예: last.fm, Listenbrainz)", "menu": { "lastfm": { - "api_settings": "Last.fm API 설정" + "api-settings": "Last.fm API 설정" }, "listenbrainz": { "token": "ListenBrainz 유저 토큰 입력" @@ -582,8 +582,8 @@ "name": "스크로블러", "prompt": { "lastfm": { - "api_key": "Last.fm API 키", - "api_secret": "Last.fm API 비밀 키" + "api-key": "Last.fm API 키", + "api-secret": "Last.fm API 비밀 키" }, "listenbrainz": { "token": { diff --git a/src/plugins/scrobbler/menu.ts b/src/plugins/scrobbler/menu.ts index 879f892b..1b3e6e33 100644 --- a/src/plugins/scrobbler/menu.ts +++ b/src/plugins/scrobbler/menu.ts @@ -14,19 +14,19 @@ import type { MenuTemplate } from '@/menu'; async function promptLastFmOptions(options: ScrobblerPluginConfig, setConfig: SetConfType, window: BrowserWindow) { const output = await prompt( { - title: t('plugins.scrobbler.menu.lastfm.api_settings'), - label: t('plugins.scrobbler.menu.lastfm.api_settings'), + title: t('plugins.scrobbler.menu.lastfm.api-settings'), + label: t('plugins.scrobbler.menu.lastfm.api-settings'), type: 'multiInput', multiInputOptions: [ { - label: t('plugins.scrobbler.prompt.lastfm.api_key'), + label: t('plugins.scrobbler.prompt.lastfm.api-key'), value: options.scrobblers.lastfm?.api_key, inputAttrs: { type: 'text' } }, { - label: t('plugins.scrobbler.prompt.lastfm.api_secret'), + label: t('plugins.scrobbler.prompt.lastfm.api-secret'), value: options.scrobblers.lastfm?.secret, inputAttrs: { type: 'text' @@ -93,7 +93,7 @@ export const onMenu = async ({ }, }, { - label: t('plugins.scrobbler.menu.lastfm.api_settings'), + label: t('plugins.scrobbler.menu.lastfm.api-settings'), click() { promptLastFmOptions(config, setConfig, window); },