Skip to content

Commit d0c4d86

Browse files
committed
Fix Android build. Update translations
1 parent faf7463 commit d0c4d86

File tree

7 files changed

+21
-5
lines changed

7 files changed

+21
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
build
2+
.vscode

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ require (
1414
github.com/rs/zerolog v1.34.0
1515
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d
1616
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
17-
golang.org/x/sys v0.37.0
1817
golang.org/x/time v0.14.0
1918
)
2019

@@ -54,6 +53,7 @@ require (
5453
github.com/yuin/goldmark v1.7.13 // indirect
5554
golang.org/x/image v0.32.0 // indirect
5655
golang.org/x/net v0.46.0 // indirect
56+
golang.org/x/sys v0.37.0 // indirect
5757
golang.org/x/term v0.36.0 // indirect
5858
golang.org/x/text v0.30.0 // indirect
5959
gopkg.in/yaml.v3 v3.0.1 // indirect

internal/gui/gui_mobile.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,3 +191,8 @@ func setMuteUnmuteView(s string, screen *FyneScreen) {
191191
screen.MuteUnmute.Refresh()
192192
})
193193
}
194+
195+
// NewFyneScreen .
196+
func NewFyneScreen(version string) *FyneScreen {
197+
return initFyneNewScreen(version)
198+
}

internal/gui/translations/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,6 @@
6262
"Auto-Play":"Auto-Play",
6363
"Same File Types Only":"Same File Types Only",
6464
"Extracting Subtitles":"Extracting Subtitles",
65-
"Drag and Drop is not supported in Flatpak builds.\nPlease use the 'Select Media File' button instead.":"Drag and Drop is not supported in Flatpak builds.\nPlease use the 'Select Media File' button instead."
65+
"Drag and Drop is not supported in Flatpak builds.\nPlease use the 'Select Media File' button instead.":"Drag and Drop is not supported in Flatpak builds.\nPlease use the 'Select Media File' button instead.",
66+
"Show Hidden Files":"Show Hidden Files"
6667
}

internal/gui/translations/zh.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,8 @@
6060
"Enabled": "已启用",
6161
"Disabled": "已禁用",
6262
"Auto-Play": "自动播放",
63-
"Same File Types Only": "仅相同文件类型"
63+
"Same File Types Only": "仅相同文件类型",
64+
"Extracting Subtitles": "提取字幕",
65+
"Drag and Drop is not supported in Flatpak builds.\nPlease use the 'Select Media File' button instead.": "Flatpak 构建不支持拖放操作。\n请使用“选择媒体文件”按钮。",
66+
"Show Hidden Files": "显示隐藏文件"
6467
}

internal/gui/translations/zhHans.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,8 @@
6060
"Enabled": "已启用",
6161
"Disabled": "已禁用",
6262
"Auto-Play": "自动播放",
63-
"Same File Types Only": "仅相同文件类型"
63+
"Same File Types Only": "仅相同文件类型",
64+
"Extracting Subtitles": "提取字幕",
65+
"Drag and Drop is not supported in Flatpak builds.\nPlease use the 'Select Media File' button instead.": "Flatpak 构建不支持拖放操作。\n请使用“选择媒体文件”按钮。",
66+
"Show Hidden Files": "显示隐藏文件"
6467
}

internal/gui/translations/zhHant.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,8 @@
6060
"Enabled": "已啟用",
6161
"Disabled": "已停用",
6262
"Auto-Play": "自動播放",
63-
"Same File Types Only": "僅相同檔案類型"
63+
"Same File Types Only": "僅相同檔案類型",
64+
"Extracting Subtitles": "提取字幕",
65+
"Drag and Drop is not supported in Flatpak builds.\nPlease use the 'Select Media File' button instead.": "Flatpak 構建不支援拖放操作。\n請使用「選擇媒體檔案」按鈕。",
66+
"Show Hidden Files": "顯示隱藏檔案"
6467
}

0 commit comments

Comments
 (0)