improved pt_br and a bit more of i18n cause why not

This commit is contained in:
Daltro Augusto
2025-04-11 02:22:37 -03:00
parent da114898b1
commit 0fa9cf0d4c
3 changed files with 16 additions and 4 deletions
+5
View File
@@ -38,6 +38,7 @@
"Autoselect device": "Autoselect device", "Autoselect device": "Autoselect device",
"Back": "Back", "Back": "Back",
"Bit rate": "Bit rate", "Bit rate": "Bit rate",
"Bold font": "Bold font",
"BPM": "BPM", "BPM": "BPM",
"Broadcast": "Broadcast", "Broadcast": "Broadcast",
"Cancel": "Cancel", "Cancel": "Cancel",
@@ -105,6 +106,7 @@
"Is favorite": "Is favorite", "Is favorite": "Is favorite",
"Is not favorite": "Is not favorite", "Is not favorite": "Is not favorite",
"Language": "Language", "Language": "Language",
"Larger": "Larger",
"Last played": "Last played", "Last played": "Last played",
"Live": "Live", "Live": "Live",
"Locally": "Locally", "Locally": "Locally",
@@ -123,6 +125,8 @@
"Name (A-Z)": "Name (A-Z)", "Name (A-Z)": "Name (A-Z)",
"Next": "Next", "Next": "Next",
"Nickname": "Nickname", "Nickname": "Nickname",
"Normal": "Normal",
"Normal font": "Normal font",
"Now Playing": "Now Playing", "Now Playing": "Now Playing",
"No new version found": "No new version found", "No new version found": "No new version found",
"No radio stations available": "No radio stations available", "No radio stations available": "No radio stations available",
@@ -197,6 +201,7 @@
"Skip duplicate tracks": "Skip duplicate tracks", "Skip duplicate tracks": "Skip duplicate tracks",
"Skip SSL certificate verification": "Skip SSL certificate verification", "Skip SSL certificate verification": "Skip SSL certificate verification",
"Skip this version": "Skip this version", "Skip this version": "Skip this version",
"Smaller": "Smaller",
"Sort": "Sort", "Sort": "Sort",
"Soundtrack": "Soundtrack", "Soundtrack": "Soundtrack",
"Spoken Word": "Spoken Word", "Spoken Word": "Spoken Word",
+8 -1
View File
@@ -38,6 +38,7 @@
"Autoselect device": "Selecionar dispositivo automaticamente", "Autoselect device": "Selecionar dispositivo automaticamente",
"Back": "Voltar", "Back": "Voltar",
"Bit rate": "Taxa de bits", "Bit rate": "Taxa de bits",
"Bold font": "Fonte em negrito",
"BPM": "BPM", "BPM": "BPM",
"Broadcast": "Transmissão", "Broadcast": "Transmissão",
"Cancel": "Cancelar", "Cancel": "Cancelar",
@@ -62,6 +63,7 @@
"Demo": "Demo", "Demo": "Demo",
"_Description": "Descrição", "_Description": "Descrição",
"Disable server transcoding": "Desabilitar transcodificação no servidor", "Disable server transcoding": "Desabilitar transcodificação no servidor",
"Disable automatic DPI adjustment": "Desabilitar ajuste automático de DPI",
"Disc number": "Número do disco", "Disc number": "Número do disco",
"Discography": "Discografia", "Discography": "Discografia",
"discs": "discos", "discs": "discos",
@@ -103,6 +105,7 @@
"Is favorite": "É favorito", "Is favorite": "É favorito",
"Is not favorite": "Não é favorito", "Is not favorite": "Não é favorito",
"Language": "Linguagem", "Language": "Linguagem",
"Larger": "Grande",
"Last played": "Tocados recentemente", "Last played": "Tocados recentemente",
"Live": "Ao Vivo", "Live": "Ao Vivo",
"Locally": "Localmente", "Locally": "Localmente",
@@ -115,12 +118,15 @@
"min": "min", "min": "min",
"minutes of track have been played": "minutos da faixa foram tocados", "minutes of track have been played": "minutos da faixa foram tocados",
"Mixtape": "Mixtape", "Mixtape": "Mixtape",
"Mode": "Modo",
"Mute": "Mudo", "Mute": "Mudo",
"My Server": "Meu Servidor", "My Server": "Meu Servidor",
"Name": "Nome", "Name": "Nome",
"Name (A-Z)": "Nome (A-Z)", "Name (A-Z)": "Nome (A-Z)",
"Next": "Próximo", "Next": "Próximo",
"Nickname": "Apelido", "Nickname": "Apelido",
"Normal": "Regular",
"Normal font": "Fonte regular",
"Now Playing": "Tocando agora", "Now Playing": "Tocando agora",
"No new version found": "Nenhuma versão nova encontrada", "No new version found": "Nenhuma versão nova encontrada",
"No radio stations available": "Nenhuma estação de rádio disponível", "No radio stations available": "Nenhuma estação de rádio disponível",
@@ -142,7 +148,7 @@
"Play next": "Reproduzir próximo", "Play next": "Reproduzir próximo",
"Play Queue": "Reproduzir fila", "Play Queue": "Reproduzir fila",
"Play random": "Reproduzir aleatoriamente", "Play random": "Reproduzir aleatoriamente",
"Playback": "Playback", "Playback": "Reprodução",
"Playing": "Tocando", "Playing": "Tocando",
"Playlist": "Lista de reprodução", "Playlist": "Lista de reprodução",
"Playlists": "Listas de reprodução", "Playlists": "Listas de reprodução",
@@ -194,6 +200,7 @@
"Skip duplicate tracks": "Pular faixas duplicadas", "Skip duplicate tracks": "Pular faixas duplicadas",
"Skip SSL certificate verification": "Pular verificação do certificado SSL", "Skip SSL certificate verification": "Pular verificação do certificado SSL",
"Skip this version": "Pular esta versão", "Skip this version": "Pular esta versão",
"Smaller": "Pequena",
"Soundtrack": "Trilha Sonora", "Soundtrack": "Trilha Sonora",
"Spoken Word": "Palavra Falada", "Spoken Word": "Palavra Falada",
"Startup page": "Página ao iniciar", "Startup page": "Página ao iniciar",
+3 -3
View File
@@ -501,7 +501,7 @@ func (s *SettingsDialog) createAppearanceTab(window fyne.Window) *container.TabI
s.doChooseTTFFile(window, boldFontEntry) s.doChooseTTFFile(window, boldFontEntry)
}) })
uiScaleRadio := widget.NewRadioGroup([]string{"Smaller", "Normal", "Larger"}, func(choice string) { uiScaleRadio := widget.NewRadioGroup([]string{lang.L("Smaller"), lang.L("Normal"), lang.L("Larger")}, func(choice string) {
s.config.Application.UIScaleSize = choice s.config.Application.UIScaleSize = choice
s.setRestartRequired() s.setRestartRequired()
}) })
@@ -531,8 +531,8 @@ func (s *SettingsDialog) createAppearanceTab(window fyne.Window) *container.TabI
s.newSectionSeparator(), s.newSectionSeparator(),
widget.NewRichText(&widget.TextSegment{Text: lang.L("Application font"), Style: util.BoldRichTextStyle}), widget.NewRichText(&widget.TextSegment{Text: lang.L("Application font"), Style: util.BoldRichTextStyle}),
container.New(layout.NewFormLayout(), container.New(layout.NewFormLayout(),
widget.NewLabel("Normal font"), container.NewBorder(nil, nil, nil, normalFontBrowse, normalFontEntry), widget.NewLabel(lang.L("Normal font")), container.NewBorder(nil, nil, nil, normalFontBrowse, normalFontEntry),
widget.NewLabel("Bold font"), container.NewBorder(nil, nil, nil, boldFontBrowse, boldFontEntry), widget.NewLabel(lang.L("Bold font")), container.NewBorder(nil, nil, nil, boldFontBrowse, boldFontEntry),
), ),
)) ))
} }