Skip to content

Commit

Permalink
feat: set client file datatype to file
Browse files Browse the repository at this point in the history
  • Loading branch information
kuoruan committed Nov 11, 2019
1 parent 94520f3 commit 083929f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=luci-app-frpc
PKG_VERSION:=1.2.0
PKG_VERSION:=1.2.1
PKG_RELEASE:=1

PKG_LICENSE:=MIT
Expand Down
1 change: 1 addition & 0 deletions luasrc/model/cbi/frpc/common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ s:tab("manage", translate("Manage Options"))
o = s:taboption("general", Flag, "enabled", translate("Enabled"))

o = s:taboption("general", Value, "client_file", translate("Client file"), frpc_version())
o.datatype = "file"
o.rmempty = false

o = s:taboption("general", ListValue, "server", translate("Server"))
Expand Down

1 comment on commit 083929f

@fuqiang03
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kuoruan
po文件
#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:97
msgid "Disable log color"
msgstr "禁用日志颜色""
我就删个引号 给我电脑干死机了 @kuoruan

Please sign in to comment.