diff --git a/luci-app-amlogic/Makefile b/luci-app-amlogic/Makefile index ae953f8b7..c8b96c140 100644 --- a/luci-app-amlogic/Makefile +++ b/luci-app-amlogic/Makefile @@ -16,7 +16,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-amlogic -PKG_VERSION:=3.1.235 +PKG_VERSION:=3.1.236 PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 License diff --git a/luci-app-amlogic/luasrc/model/cbi/amlogic/amlogic_config.lua b/luci-app-amlogic/luasrc/model/cbi/amlogic/amlogic_config.lua index 027e87015..975eacc0f 100644 --- a/luci-app-amlogic/luasrc/model/cbi/amlogic/amlogic_config.lua +++ b/luci-app-amlogic/luasrc/model/cbi/amlogic/amlogic_config.lua @@ -23,7 +23,7 @@ o.anonymouse = true --1.Set OpenWrt Firmware Repository mydevice = o:option(DummyValue, "mydevice", translate("Current Device:")) -mydevice.description = translate("If the current device shows (Unknown device), please report to github.") +mydevice.description = translate("Display the PLATFORM classification of the device.") mydevice_platfrom = trim(luci.sys.exec("cat /etc/flippy-openwrt-release 2>/dev/null | grep PLATFORM | awk -F'=' '{print $2}' | grep -oE '(amlogic|rockchip|allwinner|qemu)'")) or "Unknown" mydevice.default = "PLATFORM: " .. mydevice_platfrom mydevice.rmempty = false @@ -53,6 +53,8 @@ firmware_suffix.rmempty = false --5.Set OpenWrt Kernel DownLoad Path kernel_path = o:option(Value, "amlogic_kernel_path", translate("Download path of OpenWrt kernel:")) kernel_path.description = translate("Set the download path of the kernel in the github.com repository in [Online Download Update].") +kernel_path:value("https://github.com/breakings/OpenWrt") +kernel_path:value("https://github.com/ophub/kernel") kernel_path.default = "https://github.com/breakings/OpenWrt" kernel_path.rmempty = false diff --git a/luci-app-amlogic/po/zh-cn/amlogic.po b/luci-app-amlogic/po/zh-cn/amlogic.po index 64f379520..ccaf28084 100644 --- a/luci-app-amlogic/po/zh-cn/amlogic.po +++ b/luci-app-amlogic/po/zh-cn/amlogic.po @@ -464,8 +464,8 @@ msgstr "正在救援..." msgid "Current Device:" msgstr "当前设备:" -msgid "If the current device shows (Unknown device), please report to github." -msgstr "如果当前设备显示无法识别(Unknown device),请到 github 反馈。" +msgid "Display the PLATFORM classification of the device." +msgstr "显示设备的 PLATFORM 分类。" msgid "Update plugins first, then update the kernel or firmware. More options can be configured in [Plugin Settings]." msgstr "首先更新插件,再更新内核或固件。更多选项可以在插件设置中配置。"