Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
intl: another sync with translations, added en he hr it languages
  • Loading branch information
perexg committed Jun 22, 2015
1 parent 1a1df68 commit 833ecff
Show file tree
Hide file tree
Showing 19 changed files with 4,110 additions and 479 deletions.
11 changes: 10 additions & 1 deletion Makefile
Expand Up @@ -22,7 +22,7 @@

include $(dir $(lastword $(MAKEFILE_LIST))).config.mk
PROG := $(BUILDDIR)/tvheadend
LANGUAGES ?= en_GB de fr cs pl bg
LANGUAGES ?= bg cs de en en_GB fr he hr it pl

#
# Common compiler flags
Expand Down Expand Up @@ -596,6 +596,15 @@ intl/tvheadend.pl.po: intl/tvheadend.pot
intl/tvheadend.bg.po: intl/tvheadend.pot
$(call merge-po,$@,$<)

intl/tvheadend.he.po: intl/tvheadend.pot
$(call merge-po,$@,$<)

intl/tvheadend.hr.po: intl/tvheadend.pot
$(call merge-po,$@,$<)

intl/tvheadend.it.po: intl/tvheadend.pot
$(call merge-po,$@,$<)

$(BUILDDIR)/src/tvh_locale.o: src/tvh_locale_inc.c
src/tvh_locale_inc.c: $(PO-FILES)
@printf "Building $@\n"
Expand Down
26 changes: 25 additions & 1 deletion Makefile.webui
Expand Up @@ -22,7 +22,7 @@

IAM=$(lastword $(MAKEFILE_LIST))
WEBDIR ?= src/webui
LANGUAGES ?= en_GB de fr cs pl bg
LANGUAGES ?= bg cs de en en_GB fr he hr it pl
ROOTPATH = static

ifneq ($(WEBUI),)
Expand Down Expand Up @@ -254,6 +254,9 @@ intl:

intl/js/tvheadend.js.pot:

intl/js/tvheadend.js.en.po: intl/js/tvheadend.js.pot
$(call merge-po,$@,$<)

intl/js/tvheadend.js.en_GB.po: intl/js/tvheadend.js.pot
$(call merge-po,$@,$<)

Expand All @@ -272,6 +275,18 @@ intl/js/tvheadend.js.pl.po: intl/js/tvheadend.js.pot
intl/js/tvheadend.js.bg.po: intl/js/tvheadend.js.pot
$(call merge-po,$@,$<)

intl/js/tvheadend.js.he.po: intl/js/tvheadend.js.pot
$(call merge-po,$@,$<)

intl/js/tvheadend.js.hr.po: intl/js/tvheadend.js.pot
$(call merge-po,$@,$<)

intl/js/tvheadend.js.it.po: intl/js/tvheadend.js.pot
$(call merge-po,$@,$<)

src/webui/static/intl/tvh.en.js.gz: intl/js/tvheadend.js.en.po
$(call go-po,$@,$<)

src/webui/static/intl/tvh.en_GB.js.gz: intl/js/tvheadend.js.en_GB.po
$(call go-po,$@,$<)

Expand All @@ -290,6 +305,15 @@ src/webui/static/intl/tvh.pl.js.gz: intl/js/tvheadend.js.pl.po
src/webui/static/intl/tvh.bg.js.gz: intl/js/tvheadend.js.bg.po
$(call go-po,$@,$<)

src/webui/static/intl/tvh.he.js.gz: intl/js/tvheadend.js.he.po
$(call go-po,$@,$<)

src/webui/static/intl/tvh.hr.js.gz: intl/js/tvheadend.js.hr.po
$(call go-po,$@,$<)

src/webui/static/intl/tvh.it.js.gz: intl/js/tvheadend.js.it.po
$(call go-po,$@,$<)

.PHONY:
clean:
rm -f $(foreach f,tvh.js tvh.css tvh-tv.js tvh-tv.css,\
Expand Down

0 comments on commit 833ecff

Please sign in to comment.