Files
bison/po/POTFILES.in
Akim Demaille b42702d738 examples: bistromathic: demonstrate internationalization
Currently it was only using stubs.  Let's actually translate the
strings using gettext.

* examples/c/bistromathic/local.mk: Define LOCALEDIR, BISON_LOCALEDIR
and link with libintl.
* examples/c/bistromathic/parse.y: Use them.
Remove useless includes.
Take ENABLE_NLS into account.
(error_format_string): New.
(yyreport_syntax_error): Rewrite to rely on a format string, which is
more appropriate for internationalization.
* examples/c/bistromathic/Makefile: We no longer use Flex.
We need readline and intl.

* doc/bison.texi: Point to bistromathic for a better option for
internationalization.
* po/POTFILES.in: Add bistromathic.
2020-04-24 19:03:12 +02:00

22 lines
322 B
Plaintext

examples/c/bistromathic/parse.y
src/complain.c
src/conflicts.c
src/files.c
src/fixits.c
src/getargs.c
src/gram.c
src/graphviz.c
src/location.c
src/main.c
src/muscle-tab.c
src/parse-gram.c
src/parse-gram.y
src/print-graph.c
src/print.c
src/reader.c
src/reduce.c
src/scan-code.l
src/scan-gram.l
src/scan-skel.l
src/symtab.c