Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #908818 ยป 0037-Meson-Add-nls-support.patch

Marko Lindqvist, 2020-12-23 01:48 PM

View differences:

doc/INSTALL.meson
ruledit (boolean):
Build ruleset editor. Defaults to true.
nls (boolean):
Build in Native Language Support. Defaults to true.
gen_headers/meson_fc_config.h.in
/* enable audio */
#mesondefine AUDIO_SDL
/* Native language support enabled */
#mesondefine ENABLE_NLS
/* Can run programs as root */
#mesondefine ALWAYS_ROOT
gen_headers/meson_freeciv_config.h.in
/* MS Windows host */
#mesondefine FREECIV_MSWINDOWS
/* Native language support enabled */
#mesondefine FREECIV_ENABLE_NLS
/* mkstemp() available */
#define HAVE_MKSTEMP
meson.build
jansson_dep = []
endif
if get_option('nls')
pub_conf_data.set('FREECIV_ENABLE_NLS', 1)
priv_conf_data.set('ENABLE_NLS', 1)
endif
configure_file(input : 'gen_headers/meson_fc_config.h.in',
output : 'fc_config.h',
configuration: priv_conf_data)
......
add_global_arguments('-DHAVE_CONFIG_H',
language: 'cpp')
if get_option('nls')
subdir('translations/core')
subdir('translations/nations')
subdir('translations/ruledit')
endif
common_inc = include_directories(cross_inc_path,
lua_inc_path, 'dependencies/tinycthread',
'dependencies/tolua-5.2/include', 'dependencies/cvercmp',
meson_options.txt
type: 'boolean',
value: true,
description: 'Build ruleset editor')
option('nls',
type: 'boolean',
value: true,
description: 'Native Language Support')
translations/core/LINGUAS
ar
bg
ca
cs
da
de
el
en_GB
eo
es
et
fa
fi
fr
ga
gd
he
hu
id
it
ja
ko
lt
nb
nl
pl
pt_BR
pt
ro
ru
sr
sv
tr
uk
zh_CN
zh_TW
translations/core/Makefile.in.in
DUMMYPOFILES = @DUMMYPOFILES@
DISTFILES.common = Makefile.in.in remove-potcdate.sin \
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \
DISTFILES = $(DISTFILES.common) Makevars POTFILES.in meson.build LINGUAS \
$(POFILES) $(GMOFILES) \
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
translations/core/meson.build
i18n = import('i18n')
i18n.gettext('freeciv-core')
translations/nations/LINGUAS
ar
bg
ca
cs
da
de
el
en_GB
eo
es
et
fa
fi
fr
ga
gd
he
hu
id
it
ja
ko
lt
nb
nl
pl
pt_BR
pt
ro
ru
sr
sv
tr
uk
zh_CN
zh_TW
translations/nations/Makefile.in.in
DUMMYPOFILES = @DUMMYPOFILES@
DISTFILES.common = Makefile.in.in remove-potcdate.sin \
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \
DISTFILES = $(DISTFILES.common) Makevars POTFILES.in meson.build LINGUAS \
$(POFILES) $(GMOFILES) \
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
translations/nations/meson.build
i18n = import('i18n')
i18n.gettext('freeciv-nations')
translations/ruledit/LINGUAS
ar
bg
ca
cs
da
de
el
en_GB
eo
es
et
fa
fi
fr
ga
gd
he
hu
id
it
ja
ko
lt
nb
nl
pl
pt_BR
pt
ro
ru
sr
sv
tr
uk
zh_CN
zh_TW
translations/ruledit/Makefile.in.in
DUMMYPOFILES = @DUMMYPOFILES@
DISTFILES.common = Makefile.in.in remove-potcdate.sin \
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \
DISTFILES = $(DISTFILES.common) Makevars POTFILES.in meson.build LINGUAS \
$(POFILES) $(GMOFILES) \
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
translations/ruledit/meson.build
i18n = import('i18n')
i18n.gettext('freeciv-ruledit')
    (1-1/1)