From: Stan Grishin Date: Sat, 28 Jan 2017 15:38:05 +0000 (-0800) Subject: luci-app-vpnbypass: switch to luci-tree Makefile, i18n support X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=d2fcd543a43dcea1324a5456a171340271693cca luci-app-vpnbypass: switch to luci-tree Makefile, i18n support Signed-off-by: Stan Grishin luci-app-vpnbypass: fixed makefile, fixed pot-file Signed-off-by: Stan Grishin --- diff --git a/applications/luci-app-vpnbypass/Makefile b/applications/luci-app-vpnbypass/Makefile index 58b3d30d9..5f63dcee7 100644 --- a/applications/luci-app-vpnbypass/Makefile +++ b/applications/luci-app-vpnbypass/Makefile @@ -3,42 +3,15 @@ include $(TOPDIR)/rules.mk -PKG_NAME:=luci-app-vpnbypass PKG_VERSION:=1.0.0 -PKG_RELEASE:=3 +PKG_RELEASE:=5 PKG_LICENSE:=GPL-3.0+ PKG_MAINTAINER:=Stan Grishin -PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) -include $(INCLUDE_DIR)/package.mk +LUCI_TITLE:=VPN Bypass Web UI +LUCI_DEPENDS:=+vpnbypass +LUCI_PKGARCH:=all -define Package/luci-app-vpnbypass - SECTION:=luci - CATEGORY:=LuCI - SUBMENU:=3. Applications - TITLE:=VPN Bypass Web UI - DEPENDS:=+luci-mod-admin-full +vpnbypass - PKGARCH:=all -endef +include ../../luci.mk -define Package/luci-app-vpnbypass/description - This package will install VPN Bypass Web UI. -endef - -define Build/Prepare -endef - -define Build/Configure -endef - -define Build/Compile -endef - -define Package/luci-app-vpnbypass/install - $(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller/ - $(INSTALL_BIN) ./luasrc/controller/vpnbypass.lua $(1)/usr/lib/lua/luci/controller/vpnbypass.lua - $(INSTALL_DIR) $(1)/usr/lib/lua/luci/model/cbi/ - $(INSTALL_BIN) ./luasrc/model/cbi/vpnbypass.lua $(1)/usr/lib/lua/luci/model/cbi/vpnbypass.lua -endef - -$(eval $(call BuildPackage,luci-app-vpnbypass)) \ No newline at end of file +# call BuildPackage - OpenWrt buildroot signature \ No newline at end of file diff --git a/applications/luci-app-vpnbypass/po/templates/vpnbypass.pot b/applications/luci-app-vpnbypass/po/templates/vpnbypass.pot new file mode 100644 index 000000000..c0dd33dfb --- /dev/null +++ b/applications/luci-app-vpnbypass/po/templates/vpnbypass.pot @@ -0,0 +1,45 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8" + +msgid "Configuration of VPN Bypass Settings" +msgstr "" + +msgid "Domains to Bypass" +msgstr "" + +msgid "Domains which will be accessed directly (outside of the VPN tunnel)" +msgstr "" + +msgid "Enable VPN Bypass" +msgstr "" + +msgid "Local IP Subnets to Bypass" +msgstr "" + +msgid "Local IP ranges with direct internet access (outside of the VPN tunnel)" +msgstr "" + +msgid "Local Ports to Bypass" +msgstr "" + +msgid "Local ports to trigger VPN Bypass" +msgstr "" + +msgid "Remote IP Subnets to Bypass" +msgstr "" + +msgid "" +"Remote IP ranges which will be accessed directly (outside of the VPN tunnel)" +msgstr "" + +msgid "Remote Ports to Bypass" +msgstr "" + +msgid "Remote ports to trigger VPN Bypass" +msgstr "" + +msgid "VPN Bypass" +msgstr "" + +msgid "VPN Bypass Settings" +msgstr ""