summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--build/module.mk2
-rw-r--r--i18n/english/Makefile1
-rw-r--r--i18n/french/Makefile1
-rw-r--r--i18n/german/Makefile1
-rw-r--r--i18n/greek/Makefile1
-rw-r--r--i18n/italian/Makefile1
-rw-r--r--i18n/japanese/Makefile1
-rw-r--r--i18n/portuguese_brazilian/Makefile1
-rw-r--r--i18n/russian/Makefile1
9 files changed, 9 insertions, 1 deletions
diff --git a/build/module.mk b/build/module.mk
index 6aeb9ba56..70d54dc85 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 7e4c710f7..fddd705e5 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 7e4c710f7..a77a624c5 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 7e4c710f7..80196f9f5 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 7e4c710f7..71e937cde 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 7e4c710f7..484ceef58 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 7e4c710f7..7c2bb0563 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 7e4c710f7..9421a6e93 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 7e4c710f7..a6bfae817 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