readd gettext macro that accidentally got stripped
2007-10-28 Jens Granseuer <jensgr@gmx.net> * main.c: (display_rotation_from_text), (create_rotate_menu): readd gettext macro that accidentally got stripped svn path=/trunk/; revision=8223
This commit is contained in:
parent
73fc8e79a9
commit
1c50e4c94c
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-10-28 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* main.c: (display_rotation_from_text), (create_rotate_menu): readd gettext
|
||||
macro that accidentally got stripped
|
||||
|
||||
2007-10-28 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* main.c: (display_rotation_from_text), (get_current_resolution),
|
||||
|
|
|
@ -40,7 +40,7 @@ display_rotation_from_text (gchar const *text)
|
|||
g_return_val_if_fail (text != NULL, RR_Rotate_0);
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (rotations); i++) {
|
||||
if (!strcmp (text, rotations[i].name)) {
|
||||
if (!strcmp (text, _(rotations[i].name))) {
|
||||
return rotations[i].rotation;
|
||||
}
|
||||
}
|
||||
|
@ -481,7 +481,7 @@ create_rotate_menu (struct ScreenInfo *screen_info)
|
|||
{
|
||||
if ((screen_info->rotations & rotations[i].rotation) != 0)
|
||||
{
|
||||
gtk_combo_box_append_text (combo, rotations[i].name);
|
||||
gtk_combo_box_append_text (combo, _(rotations[i].name));
|
||||
if (screen_info->current_rotation == rotations[i].rotation) {
|
||||
current_item = item;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue