diff options
-rw-r--r-- | build/module.mk | 2 | ||||
-rw-r--r-- | i18n/english/Makefile | 1 | ||||
-rw-r--r-- | i18n/french/Makefile | 1 | ||||
-rw-r--r-- | i18n/german/Makefile | 1 | ||||
-rw-r--r-- | i18n/greek/Makefile | 1 | ||||
-rw-r--r-- | i18n/italian/Makefile | 1 | ||||
-rw-r--r-- | i18n/japanese/Makefile | 1 | ||||
-rw-r--r-- | i18n/portuguese_brazilian/Makefile | 1 | ||||
-rw-r--r-- | i18n/russian/Makefile | 1 |
9 files changed, 9 insertions, 1 deletions
diff --git a/build/module.mk b/build/module.mk index 6aeb9ba56e..70d54dc852 100644 --- a/build/module.mk +++ b/build/module.mk @@ -26,7 +26,7 @@ luasource: for i in $$(find dist -name .svn -or -name .gitignore); do rm -rf $$i || true; done ifneq ($(PO),) for file in $(PO); do \ - cp $(HOST)/lua-po/$$file.*.lua dist$(LUCI_MODULEDIR)/i18n/; \ + cp $(HOST)/lua-po/$$file.$(if $(PO_LANG),$(PO_LANG),*).lua dist$(LUCI_MODULEDIR)/i18n/; \ done endif diff --git a/i18n/english/Makefile b/i18n/english/Makefile index 7e4c710f70..fddd705e55 100644 --- a/i18n/english/Makefile +++ b/i18n/english/Makefile @@ -1,4 +1,5 @@ PO = default cbi admin-core sysauth wifi +PO_LANG = en include ../../build/config.mk include ../../build/module.mk diff --git a/i18n/french/Makefile b/i18n/french/Makefile index 7e4c710f70..a77a624c5f 100644 --- a/i18n/french/Makefile +++ b/i18n/french/Makefile @@ -1,4 +1,5 @@ PO = default cbi admin-core sysauth wifi +PO_LANG = fr include ../../build/config.mk include ../../build/module.mk diff --git a/i18n/german/Makefile b/i18n/german/Makefile index 7e4c710f70..80196f9f53 100644 --- a/i18n/german/Makefile +++ b/i18n/german/Makefile @@ -1,4 +1,5 @@ PO = default cbi admin-core sysauth wifi +PO_LANG = de include ../../build/config.mk include ../../build/module.mk diff --git a/i18n/greek/Makefile b/i18n/greek/Makefile index 7e4c710f70..71e937cdee 100644 --- a/i18n/greek/Makefile +++ b/i18n/greek/Makefile @@ -1,4 +1,5 @@ PO = default cbi admin-core sysauth wifi +PO_LANG = el include ../../build/config.mk include ../../build/module.mk diff --git a/i18n/italian/Makefile b/i18n/italian/Makefile index 7e4c710f70..484ceef580 100644 --- a/i18n/italian/Makefile +++ b/i18n/italian/Makefile @@ -1,4 +1,5 @@ PO = default cbi admin-core sysauth wifi +PO_LANG = it include ../../build/config.mk include ../../build/module.mk diff --git a/i18n/japanese/Makefile b/i18n/japanese/Makefile index 7e4c710f70..7c2bb05633 100644 --- a/i18n/japanese/Makefile +++ b/i18n/japanese/Makefile @@ -1,4 +1,5 @@ PO = default cbi admin-core sysauth wifi +PO_LANG = ja include ../../build/config.mk include ../../build/module.mk diff --git a/i18n/portuguese_brazilian/Makefile b/i18n/portuguese_brazilian/Makefile index 7e4c710f70..9421a6e93c 100644 --- a/i18n/portuguese_brazilian/Makefile +++ b/i18n/portuguese_brazilian/Makefile @@ -1,4 +1,5 @@ PO = default cbi admin-core sysauth wifi +PO_LANG = pt-br include ../../build/config.mk include ../../build/module.mk diff --git a/i18n/russian/Makefile b/i18n/russian/Makefile index 7e4c710f70..a6bfae8177 100644 --- a/i18n/russian/Makefile +++ b/i18n/russian/Makefile @@ -1,4 +1,5 @@ PO = default cbi admin-core sysauth wifi +PO_LANG = ru include ../../build/config.mk include ../../build/module.mk |