From dce26de28c8d53b0afc48002c400411d0e19db70 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 18 Mar 2015 20:24:57 +0100 Subject: [PATCH] gluon-core: add i18n support --- package/gluon-core/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/gluon-core/Makefile b/package/gluon-core/Makefile index ddd9ad43..ebb5268f 100644 --- a/package/gluon-core/Makefile +++ b/package/gluon-core/Makefile @@ -15,6 +15,21 @@ define Package/gluon-core DEPENDS:=+gluon-config +lua-platform-info +luci-lib-nixio +odhcp6c +firewall endef + +define LangConfig +config GLUON_LANG_$(1) + bool "$(GLUON_LANG_$(1)) language support" + depends on PACKAGE_gluon-core + default n + +endef + + +define Package/gluon-core/config +$(foreach lang,$(GLUON_SUPPORTED_LANGS),$(call LangConfig,$(lang))) +endef + + define Package/gluon-core/description Gluon community wifi mesh firmware framework: core endef