Stuff to help localizing e.g. menu strings.

SVN revision: 10800
This commit is contained in:
Kim Woelders 2004-07-12 23:48:16 +00:00
parent aa37b28927
commit 45737705ce
3 changed files with 25 additions and 2 deletions

View File

@ -17,7 +17,7 @@ menus.cfg
configdatadir = $(ENLIGHTENMENT_ROOT)/config
TRANSLATIONS = config.ja config.pl config.ko
EXTRA_DIST = $(configdata_DATA) $(TRANSLATIONS)
EXTRA_DIST = $(configdata_DATA) $(TRANSLATIONS) strings.c
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(configdatadir)

19
config/strings.c Normal file
View File

@ -0,0 +1,19 @@
#define _(x) x
char *s[] = {
_("Focus Settings ..."),
_("Move & Resize Settings ..."),
_("Pager Settings ..."),
_("Window Placement Settings ..."),
_("Multiple Desktop Settings ..."),
_("Virtual Desktop Settings ..."),
_("Autoraise Settings ..."),
_("Tooltip Settings ..."),
_("Audio Settings ..."),
_("Group Settings ..."),
_("Remember Settings ..."),
_("Special FX Settings ..."),
_("Desktop Background Settings ..."),
_("Miscellaneous Settings ..."),
_("Legacy E-conf tool ..."),
};

View File

@ -1,7 +1,7 @@
# List of source files containing translatable strings.
src/actions.c
src/alert.c
src/backgrounds.c
src/borders.c
src/buttons.c
src/cmclass.c
@ -10,6 +10,7 @@ src/config.c
src/cursors.c
src/desktops.c
src/dialog.c
src/events.c
src/fx.c
src/groups.c
src/handlers.c
@ -29,3 +30,6 @@ src/sound.c
src/tclass.c
src/theme.c
src/tooltips.c
# Strings in configuration files
config/strings.c