mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
fix(i18n): use dash (-) instead of under-bar (_)
This commit is contained in:
@ -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": {
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user