Skip to content

Commit

Permalink
Minor translation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
alexballas committed Aug 27, 2024
1 parent f4b3b5a commit 505ae51
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/gui/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ func mainWindow(s *NewScreen) fyne.CanvasObject {
mfile.Enable()
previewmedia.Enable()
skipNext.Enable()
mediafilelabel.Text = "File:"
mediafilelabel.Text = lang.L("File") + ":"
s.MediaText.SetPlaceHolder("")
s.MediaText.Text = mediafileOldText
s.mediafile = mediafileOld
Expand Down
2 changes: 1 addition & 1 deletion internal/gui/main_mobile.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func mainWindow(s *NewScreen) fyne.CanvasObject {

medialoop.Enable()
mfile.Enable()
mediafilelabel.Text = "File:"
mediafilelabel.Text = lang.L("File") + ":"
mfiletext.SetPlaceHolder("")
s.MediaText.Text = mediafileOldText
s.mediafile = mediafileOld
Expand Down
1 change: 1 addition & 0 deletions internal/gui/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"could not get the volume levels": "could not get the volume levels",
"could not send volume action": "could not send volume action",
"please select a media file or enter a media URL": "please select a media file or enter a media URL",
"please select a media file": "please select a media file",
"Save": "Save",
"Enter filename": "Enter filename"
}
1 change: 1 addition & 0 deletions internal/gui/translations/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"could not get the volume levels": "无法获取音量级别",
"could not send volume action": "无法发送音量操作",
"please select a media file or enter a media URL": "请选择一个媒体文件或输入一个媒体网址",
"please select a media file": "请选择一个媒体文件",
"Save": "保存",
"Enter filename": "输入文件名"
}
1 change: 1 addition & 0 deletions internal/gui/translations/zhHans.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"could not get the volume levels": "无法获取音量级别",
"could not send volume action": "无法发送音量操作",
"please select a media file or enter a media URL": "请选择一个媒体文件或输入一个媒体网址",
"please select a media file": "请选择一个媒体文件",
"Save": "保存",
"Enter filename": "输入文件名"
}
1 change: 1 addition & 0 deletions internal/gui/translations/zhHant.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"could not get the volume levels": "无法获取音量级别",
"could not send volume action": "无法发送音量操作",
"please select a media file or enter a media URL": "请选择一个媒体文件或输入一个媒体网址",
"please select a media file": "请选择一个媒体文件",
"Save": "保存",
"Enter filename": "输入文件名"
}

0 comments on commit 505ae51

Please sign in to comment.