2005-06-10 Matthias Clasen <mclasen@redhat.com>
* gdk/gen-keyname-table.pl: Generate N_() calls for
translatable key names.
* gdk/keynames.txt: Mark some key names as translatable.
* gdk/keyname-table.h: Regenerated.
* gtk/gtkaccellabel.c (gtk_accel_label_class_init): Add
some context to the msg ids for keyboard modifiers and
key names.
(_gtk_accel_label_class_get_accelerator_label): Try to
translate key names. (#300224, Christian Rose)
2005-03-07 Matthias Clasen <mclasen@redhat.com>
Convert the gdk keyval-keyname tables to a big string
+ offsets. (#168901)
* gdk/gen-keyname-table.pl: Perl script inspired by
pango/tools/gen-color-table.pl to create the
gdk_keys_by_keyval and gdk_keys_by_name tables as lists
of offsets pointing into a big const string.
* gdk/keynames.txt: List of keyval-keyname pairs.
* gdk/keyname-table.h: Generated tables.
* gdk/gdkkeynames.c: Include keyname-table.h and don't
generate the inverse table at runtime.