scummvm/common/module.mk
Eugene Sandulenko 859212df25 Implement translation support for ScummVM GUI.
Based on patch #2903830: "Updated Translation Prototype" by alexbevi
which in turn is based on patch #1739965 by jvprat.

Currently it builds all translations right into ScummVM. Once the
feature will be accepted more widely, i.e. more translations will
pop up, it will be trivial to move translation strings to external
file.

Finished translation: Russian
Unfinished translation: Hungarian

Things which are nice to do:
 - Language code -> language mapping for more user friendness
 - Specifying fonts to be used with language
 - Updating of interface language without restart. It will require
   moving of much code to reflowLayout() methods for each dialog

The .po files must be in single byte encodings. I.e. no support
for Unicode.

svn-id: r49759
2010-06-15 10:44:51 +00:00

41 lines
598 B
Makefile

MODULE := common
MODULE_OBJS := \
archive.o \
config-file.o \
config-manager.o \
debug.o \
error.o \
EventDispatcher.o \
EventRecorder.o \
file.o \
fs.o \
hashmap.o \
macresman.o \
memorypool.o \
md5.o \
mutex.o \
random.o \
rational.o \
str.o \
stream.o \
system.o \
textconsole.o \
tokenizer.o \
translation.o \
unarj.o \
unzip.o \
util.o \
xmlparser.o \
zlib.o
ifdef ENABLE_TRANSLATION
common/translation.cpp: common/messages.cpp
common/messages.cpp: $(wildcard po/*.po)
tools/po2c $^ > common/messages.cpp
endif
# Include common rules
include $(srcdir)/rules.mk