fix gui text error

This commit is contained in:
Aynakeya
2022-07-02 22:03:20 -07:00
parent 6bdb0acf93
commit dc3ab46ad0
2 changed files with 5 additions and 1 deletions

View File

@@ -92,6 +92,10 @@
"en": "ID/URL", "en": "ID/URL",
"zh-CN": "ID/网址" "zh-CN": "ID/网址"
}, },
"gui.playlist.add.source": {
"en": "Source",
"zh-CN": "来源"
},
"gui.playlist.add.prompt": { "gui.playlist.add.prompt": {
"en": "Please enter the ID or URL of the song you want to add.", "en": "Please enter the ID or URL of the song you want to add.",
"zh-CN": "输入歌单ID或者歌单网址。" "zh-CN": "输入歌单ID或者歌单网址。"

View File

@@ -55,7 +55,7 @@ func createPlaylists() fyne.CanvasObject {
container.NewVBox( container.NewVBox(
container.New( container.New(
layout.NewFormLayout(), layout.NewFormLayout(),
widget.NewLabel(i18n.T("gui.playlist.add.confirm")), widget.NewLabel(i18n.T("gui.playlist.add.source")),
providerEntry, providerEntry,
widget.NewLabel(i18n.T("gui.playlist.add.id_url")), widget.NewLabel(i18n.T("gui.playlist.add.id_url")),
idEntry, idEntry,