few translation fixes
This commit is contained in:
@@ -88,7 +88,7 @@ func NewSettingsDialog(
|
||||
}
|
||||
s.promptText = widget.NewRichTextWithText("")
|
||||
s.content = container.NewVBox(tabs, widget.NewSeparator(),
|
||||
container.NewHBox(s.promptText, layout.NewSpacer(), widget.NewButton("Close", func() {
|
||||
container.NewHBox(s.promptText, layout.NewSpacer(), widget.NewButton(lang.L("Close"), func() {
|
||||
if s.OnDismiss != nil {
|
||||
s.OnDismiss()
|
||||
}
|
||||
@@ -333,7 +333,8 @@ func (s *SettingsDialog) createPlaybackTab(isLocalPlayer, isReplayGainPlayer boo
|
||||
}
|
||||
}
|
||||
|
||||
replayGainSelect := widget.NewSelect([]string{lang.L("None"), lang.L("Album"), lang.L("Track"), lang.L("Auto")}, nil)
|
||||
rGainOpts := []string{lang.L("None"), lang.L("Album"), lang.L("Track"), lang.L("Auto")}
|
||||
replayGainSelect := widget.NewSelect(rGainOpts, nil)
|
||||
replayGainSelect.OnChanged = func(_ string) {
|
||||
switch replayGainSelect.SelectedIndex() {
|
||||
case 0:
|
||||
|
||||
@@ -100,7 +100,7 @@ func (t *TrackInfoDialog) CreateRenderer() fyne.WidgetRenderer {
|
||||
copyBtn.IconSize = widgets.IconButtonSizeSmaller
|
||||
btnCtr := container.New(layout.NewCustomPaddedLayout(8, 0, 10, 0),
|
||||
container.NewVBox(copyBtn, layout.NewSpacer()))
|
||||
c.Add(container.NewHBox(btnCtr, newFormText(lang.L("File path"), true)))
|
||||
c.Add(container.NewHBox(layout.NewSpacer(), btnCtr, newFormText(lang.L("File path"), true)))
|
||||
c.Add(newFormText(t.track.FilePath, false))
|
||||
|
||||
addFormRow(c, lang.L("Content type"), t.track.ContentType)
|
||||
|
||||
Reference in New Issue
Block a user