Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
intl: add sl (Slovenian) to supported languages
  • Loading branch information
perexg committed Sep 3, 2016
1 parent d40e6a6 commit 07e5b0c
Show file tree
Hide file tree
Showing 6 changed files with 9,797 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Makefile
Expand Up @@ -21,8 +21,9 @@
#

include $(dir $(lastword $(MAKEFILE_LIST))).config.mk
PROG := $(BUILDDIR)/tvheadend
LANGUAGES ?= bg cs da de en_US en_GB es et fa fi fr he hr hu it lv nl pl pt ru sv uk
include $(dir $(lastword $(MAKEFILE_LIST)))Makefile.common
PROG := $(BUILDDIR)/tvheadend
LANGUAGES ?= $(LANGUAGES_ALL)

#
# Common compiler flags
Expand Down
5 changes: 5 additions & 0 deletions Makefile.common
@@ -0,0 +1,5 @@
# common (consts) file

LANGUAGES_ALL = bg cs da de en_US en_GB es et fa fi fr he hr
LANGUAGES_ALL += he hr hu it lv nl pl pt ru sl sv
LANGUAGES_ALL += uk
8 changes: 6 additions & 2 deletions Makefile.webui
Expand Up @@ -20,9 +20,10 @@
# Configuration
#

IAM=$(lastword $(MAKEFILE_LIST))
include $(dir $(lastword $(MAKEFILE_LIST)))Makefile.common
IAM=$(firstword $(MAKEFILE_LIST))
WEBDIR ?= src/webui
LANGUAGES ?= bg cs da de en_US en_GB es et fa fi fr he hr hu it lv nl pl pt ru sv uk
LANGUAGES ?= $(LANGUAGES_ALL)
ROOTPATH = static

ifneq ($(WEBUI),)
Expand Down Expand Up @@ -386,6 +387,9 @@ src/webui/static/intl/tvh.fi.js.gz: intl/js/tvheadend.js.fi.po
src/webui/static/intl/tvh.da.js.gz: intl/js/tvheadend.js.da.po
$(call go-po,$@,$<)

src/webui/static/intl/tvh.sl.js.gz: intl/js/tvheadend.js.sl.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 07e5b0c

Please sign in to comment.