From 0fefec82298ea6f1a87afc63da948403e6ffaec5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 Jul 2024 00:26:52 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B6=20Sync=202024-07-12=2000:26?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dns2tcp/Makefile | 4 ++-- linkease/nas/luci-app-quickstart/Makefile | 2 +- .../luasrc/view/quickstart/home.htm | 13 +++++++++++-- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/dns2tcp/Makefile b/dns2tcp/Makefile index e515534f..311b9051 100644 --- a/dns2tcp/Makefile +++ b/dns2tcp/Makefile @@ -5,12 +5,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dns2tcp -PKG_VERSION:=1.1.1 +PKG_VERSION:=1.1.2 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/zfl9/dns2tcp/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=35251fbe1645601086f21cdbd5a2f75471d812f99ed8017bb05158840456b43c +PKG_HASH:=5e8c6302a1d32c16ae7d4b8e39cd9aad1f2d7e68fe18813e76cb1e48ec5940d2 PKG_MAINTAINER:=Tianling Shen PKG_LICENSE:=AGPL-3.0-only diff --git a/linkease/nas/luci-app-quickstart/Makefile b/linkease/nas/luci-app-quickstart/Makefile index e0ea1412..352534cf 100644 --- a/linkease/nas/luci-app-quickstart/Makefile +++ b/linkease/nas/luci-app-quickstart/Makefile @@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for quickstart LUCI_DEPENDS:=+quickstart +luci-app-store LUCI_PKGARCH:=all -PKG_VERSION:=0.8.13-2 +PKG_VERSION:=0.8.13-3 # PKG_RELEASE MUST be empty for luci.mk PKG_RELEASE:= diff --git a/linkease/nas/luci-app-quickstart/luasrc/view/quickstart/home.htm b/linkease/nas/luci-app-quickstart/luasrc/view/quickstart/home.htm index f77ce910..de6bb0af 100644 --- a/linkease/nas/luci-app-quickstart/luasrc/view/quickstart/home.htm +++ b/linkease/nas/luci-app-quickstart/luasrc/view/quickstart/home.htm @@ -1,2 +1,11 @@ - -<% luci.template.render("quickstart/main", {prefix=luci.dispatcher.build_url("admin", "quickstart")}) %> +<% +local function vue_lang() + local i18n = require("luci.i18n") + local lang = i18n.translate("quickstart_vue_lang") + if lang == "quickstart_vue_lang" or lang == "" then + lang = "en" + end + return lang +end +-%> +<% luci.template.render("quickstart/main", {prefix=luci.dispatcher.build_url("admin", "quickstart"),lang=vue_lang()}) %>