X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=luci.mk;h=81c08b9d321828705d98e37e506ba07ef305743a;hp=1efae9a1fb3f1c1b7d7e650ee3086b25f60293f8;hb=bfbc7f4bdf6b60edf9d52d995c14d156d8349757;hpb=a36807b942a956687327d2069a7a8ff12e145473 diff --git a/luci.mk b/luci.mk index 1efae9a1f..81c08b9d3 100644 --- a/luci.mk +++ b/luci.mk @@ -79,7 +79,7 @@ define Package/$(PKG_NAME) CATEGORY:=LuCI SUBMENU:=$(if $(LUCI_MENU.$(LUCI_TYPE)),$(LUCI_MENU.$(LUCI_TYPE)),$(LUCI_MENU.app)) TITLE:=$(if $(LUCI_TITLE),$(LUCI_TITLE),LuCI $(LUCI_NAME) $(LUCI_TYPE)) - DEPENDS:=$(foreach lang,$(LUCI_LANGUAGES),+LUCI_LANG_$(lang):luci-i18n-$(LUCI_BASENAME)-$(lang)) $(LUCI_DEPENDS) + DEPENDS:=$(LUCI_DEPENDS) endef ifneq ($(LUCI_DESCRIPTION),) @@ -179,7 +179,12 @@ define LuciTranslation CATEGORY:=LuCI TITLE:=$(PKG_NAME) - $(1) translation HIDDEN:=1 - DEFAULT:=m if ALL||LUCI_LANG_$(1) + DEFAULT:=LUCI_LANG_$(1)||ALL + DEPENDS:=$(PKG_NAME) + endef + + define Package/luci-i18n-$(LUCI_BASENAME)-$(1)/description + Translation for $(PKG_NAME) - $(LUCI_LANG.$(1)) endef define Package/luci-i18n-$(LUCI_BASENAME)-$(1)/install