summaryrefslogtreecommitdiff
path: root/src/modules/conf_keybindings
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-10-25 17:47:03 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-10-25 17:47:03 +0000
commit0ab16599d4cf38e493c4a79252e90b525c4b0ae7 (patch)
treef90eae5dd5137c260834635703d03025f4e862da /src/modules/conf_keybindings
parenta0bf30b75cb1707a067ee4394a5cd76443d169e1 (diff)
E17: some gettext stuff
Patch by Maxime Villard (rustyBSD) SVN revision: 78470
Diffstat (limited to 'src/modules/conf_keybindings')
-rw-r--r--src/modules/conf_keybindings/e_int_config_mousebindings.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/conf_keybindings/e_int_config_mousebindings.c b/src/modules/conf_keybindings/e_int_config_mousebindings.c
index d90e8c304..1f44bef78 100644
--- a/src/modules/conf_keybindings/e_int_config_mousebindings.c
+++ b/src/modules/conf_keybindings/e_int_config_mousebindings.c
@@ -734,7 +734,7 @@ _update_mouse_binding_list(E_Config_Dialog_Data *cfdata)
734 cfdata->binding.mouse = eina_list_sort(cfdata->binding.mouse, 734 cfdata->binding.mouse = eina_list_sort(cfdata->binding.mouse,
735 eina_list_count(cfdata->binding.mouse), _mouse_binding_sort_cb); 735 eina_list_count(cfdata->binding.mouse), _mouse_binding_sort_cb);
736 736
737 e_widget_ilist_header_append(cfdata->gui.o_binding_list, NULL, "Mouse Buttons"); 737 e_widget_ilist_header_append(cfdata->gui.o_binding_list, NULL, _("Mouse Buttons"));
738 } 738 }
739 739
740 EINA_LIST_FOREACH(cfdata->binding.mouse, l, eb) 740 EINA_LIST_FOREACH(cfdata->binding.mouse, l, eb)
@@ -784,7 +784,7 @@ _update_mouse_binding_list(E_Config_Dialog_Data *cfdata)
784 cfdata->binding.wheel = eina_list_sort(cfdata->binding.wheel, 784 cfdata->binding.wheel = eina_list_sort(cfdata->binding.wheel,
785 eina_list_count(cfdata->binding.wheel), _wheel_binding_sort_cb); 785 eina_list_count(cfdata->binding.wheel), _wheel_binding_sort_cb);
786 786
787 e_widget_ilist_header_append(cfdata->gui.o_binding_list, NULL, "Mouse Wheels"); 787 e_widget_ilist_header_append(cfdata->gui.o_binding_list, NULL, _("Mouse Wheels"));
788 } 788 }
789 789
790 i = 0; 790 i = 0;
@@ -1156,15 +1156,15 @@ _helper_button_name_get(E_Config_Binding_Mouse *eb)
1156 switch (eb->button) 1156 switch (eb->button)
1157 { 1157 {
1158 case 1: 1158 case 1:
1159 name = strdup("Left Button"); 1159 name = strdup(_("Left Button"));
1160 break; 1160 break;
1161 1161
1162 case 2: 1162 case 2:
1163 name = strdup("Middle Button"); 1163 name = strdup(_("Middle Button"));
1164 break; 1164 break;
1165 1165
1166 case 3: 1166 case 3:
1167 name = strdup("Right Button"); 1167 name = strdup(_("Right Button"));
1168 break; 1168 break;
1169 1169
1170 case 4: 1170 case 4:
@@ -1174,7 +1174,7 @@ _helper_button_name_get(E_Config_Binding_Mouse *eb)
1174 break; 1174 break;
1175 1175
1176 default: 1176 default:
1177 snprintf(buf, sizeof(buf), "Extra Button (%d)", eb->button); 1177 snprintf(buf, sizeof(buf), _("Extra Button (%d)"), eb->button);
1178 name = strdup(buf); 1178 name = strdup(buf);
1179 } 1179 }
1180 return name; 1180 return name;
@@ -1190,15 +1190,15 @@ _helper_wheel_name_get(E_Config_Binding_Wheel *bw)
1190 { 1190 {
1191 case 0: 1191 case 0:
1192 if (bw->z < 0) 1192 if (bw->z < 0)
1193 name = strdup("Mouse Wheel Up"); 1193 name = strdup(_("Mouse Wheel Up"));
1194 else 1194 else
1195 name = strdup("Mouse Wheel Down"); 1195 name = strdup(_("Mouse Wheel Down"));
1196 break; 1196 break;
1197 default: 1197 default:
1198 if (bw->z < 0) 1198 if (bw->z < 0)
1199 snprintf(buf, sizeof(buf), "Extra Wheel (%d) Up", bw->direction); 1199 snprintf(buf, sizeof(buf), _("Extra Wheel (%d) Up"), bw->direction);
1200 else 1200 else
1201 snprintf(buf, sizeof(buf), "Extra Wheel (%d) Down", bw->direction); 1201 snprintf(buf, sizeof(buf), _("Extra Wheel (%d) Down"), bw->direction);
1202 name = strdup(buf); 1202 name = strdup(buf);
1203 } 1203 }
1204 return name; 1204 return name;