Makefile: add Chinese (Simplified) translation target
Signed-off-by: Zixing Liu <liushuyu@aosc.io>
This commit is contained in:
parent
4d224afba3
commit
50f5e3f1a6
2
Makefile
2
Makefile
|
@ -128,7 +128,7 @@ MESSAGES:=
|
|||
# The filter applied to the fat (full) messages to generate split messages
|
||||
MESSAGES_FILTER=any
|
||||
# The languages in the fat messages to convert
|
||||
MESSAGES_LANGUAGES=de en fr it nl
|
||||
MESSAGES_LANGUAGES=de en fr it nl zh_CN
|
||||
# The target directory for the split messages
|
||||
MESSAGES_TARGET=resources
|
||||
|
||||
|
|
|
@ -185,7 +185,7 @@ GTK_RESOURCES_LIST := \
|
|||
$(wildcard $(NSGTK_RESOURCES_DIR)/*.gtk$(NETSURF_GTK_MAJOR).ui)
|
||||
|
||||
# translations with more than just Messages files
|
||||
GTK_TRANSLATIONS_HTML := de en fr it ja nl
|
||||
GTK_TRANSLATIONS_HTML := de en fr it ja nl zh_CN
|
||||
|
||||
# destination for installed resources is the first entry in the gtk resource path
|
||||
NSGTK_RESOURCES_DESTDIR := $(DESTDIR)$(word 1,$(subst :, ,$(NETSURF_GTK_RES_PATH)))
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
<file>de/Messages</file>
|
||||
<file>fr/Messages</file>
|
||||
<file>it/Messages</file>
|
||||
<file>zh_CN/Messages</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
|
|
|
@ -42,14 +42,17 @@
|
|||
<file>credits.html</file>
|
||||
<file>it/credits.html</file>
|
||||
<file>nl/credits.html</file>
|
||||
<file>zh_CN/credits.html</file>
|
||||
<file>licence.html</file>
|
||||
<file>it/licence.html</file>
|
||||
<file>nl/licence.html</file>
|
||||
<file>zh_CN/licence.html</file>
|
||||
<file>welcome.html</file>
|
||||
<file>de/welcome.html</file>
|
||||
<file>it/welcome.html</file>
|
||||
<file>ja/welcome.html</file>
|
||||
<file>nl/welcome.html</file>
|
||||
<file>zh_CN/welcome.html</file>
|
||||
<file>adblock.css</file>
|
||||
<file>default.css</file>
|
||||
<file>internal.css</file>
|
||||
|
|
Loading…
Reference in New Issue