[orca] Stop camel casing braille role names
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Stop camel casing braille role names
- Date: Thu, 23 Feb 2012 17:31:53 +0000 (UTC)
commit 75f7b1fc11e518f757dd0740782b1f7cd99b526e
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Feb 23 12:31:31 2012 -0500
Stop camel casing braille role names
src/orca/rolenames.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/orca/rolenames.py b/src/orca/rolenames.py
index 89c662d..e2c8153 100644
--- a/src/orca/rolenames.py
+++ b/src/orca/rolenames.py
@@ -1270,9 +1270,7 @@ def getLongBrailleForRoleName(obj, role=None):
a Braille display.
"""
- localized = getLocalizedRoleName(obj, role)
- localized = [x[0].upper() + x[1:len(x)] for x in localized.split()]
- return ''.join(localized)
+ return getLocalizedRoleName(obj, role)
def getBrailleForRoleName(obj, role=None):
"""Returns the localized name of the given Accessible object; the name is
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]