summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiro Matsuzawa <matsuzawa.jr@gmail.com>2011-01-04 03:50:15 +0900
committerJiro Matsuzawa <matsuzawa.jr@gmail.com>2011-01-04 03:50:15 +0900
commita73917ea3dd28b4c79202fde6ad02683a7e2cf5e (patch)
tree7a5937a13147f6382ec3e117f38478831e7e3199
parent8596f545fe8f0bfccfae825a8f82939f198f3468 (diff)
downloadcaribou-a73917ea3dd28b4c79202fde6ad02683a7e2cf5e.tar.gz
Fix Bug 638596. Wrap strings with the gettext function.
-rw-r--r--caribou/common/settings.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/caribou/common/settings.py b/caribou/common/settings.py
index 6f08774..179974a 100644
--- a/caribou/common/settings.py
+++ b/caribou/common/settings.py
@@ -62,14 +62,14 @@ settings = SettingsGroup("_top", "", [
_("Custom font for keyboard"))
])
]),
- SettingsGroup("scanning", "Scanning", [
+ SettingsGroup("scanning", _("Scanning"), [
BooleanSetting(
"scan_enabled", _("Enable scanning"), False,
_("Enable switch scanning"),
insensitive_when_false=["scanning_general",
"scanning_input",
"scanning_color"]),
- SettingsGroup("scanning_general", "General", [
+ SettingsGroup("scanning_general", _("General"), [
StringSetting("scanning_type", _("Scanning mode"),
"block",
_("Scanning type, block or row"),
@@ -82,7 +82,7 @@ settings = SettingsGroup("_top", "", [
_("Reverse scanning"), False,
_("Scan in reverse order"))
]),
- SettingsGroup("scanning_input", "Input", [
+ SettingsGroup("scanning_input", _("Input"), [
StringSetting("switch_type", _("Switch device"),
"keyboard",
_("Switch device, keyboard or mouse"),
@@ -90,7 +90,7 @@ settings = SettingsGroup("_top", "", [
allowed=[("keyboard", _("Keyboard")),
("mouse", _("Mouse"))],
children=[
- StringSetting("keyboard_key", "Switch key",
+ StringSetting("keyboard_key", _("Switch key"),
"Shift_R",
_(
"Key to use with scanning mode"),
@@ -99,7 +99,7 @@ settings = SettingsGroup("_top", "", [
("Shift_L", _("Left shift")),
("ISO_Level3_Shift", _("Alt Gr")),
("Num_Lock", _("Num lock"))]),
- StringSetting("mouse_button", "Switch button",
+ StringSetting("mouse_button", _("Switch button"),
"2",
_(
"Mouse button to use in the scanning "
@@ -109,7 +109,7 @@ settings = SettingsGroup("_top", "", [
("3", _("Button 3"))])
]),
]),
- SettingsGroup("scanning_color", "Color", [
+ SettingsGroup("scanning_color", _("Color"), [
ColorSetting("block_scanning_color", _("Block color"),
"purple", _("Color of block scans")),
ColorSetting("row_scanning_color", _("Row color"),