GNOME Bugzilla – Bug 723292
Getting the localized role name fails for ATK_ROLE_EDITBAR
Last modified: 2014-02-03 13:08:29 UTC
Created attachment 267647 [details] [review] proposed patch This is a spin-off from bug 722818. To see this issue, launch gnome-calculator from a non-English locale. Then launch Accerciser and examine the accessible tree. You'll find 'editbar' for the role name associated with the calculator's display; the other role names will be localized as expected.
Created attachment 267733 [details] [review] Fix name for ATK_ROLE_EDITBAR The problem is a lack of coherence on the formatting compared with other roles. While we have ATK_ROLE_INFO_BAR and ATK_ROLE_LEVEL_BAR (so each word separated by an '_') here we have ATK_ROLE_EDITBAR ('edit' and 'bar' merged). Ideally we would like to change ATK_ROLE_EDITBAR to ATK_ROLE_EDIT_BAR, but that would mean doing a lot of changes in a lot of places, so this patch just fix the name. The human readable name for ATK_ROLE_EDITBAR is now 'edit bar', as was suppossed to be. As noted at bug 722818, that string is already included on the po files, so this would solve the issue. Having said so, I feel that 'edit bar' is a poor human-readable name, and probably 'editable bar' or something like that would be better. The problem with that is that we would need to use that string, and then wait for the translators to translate it, while 'edit bar' is already translated. So I'm putting this patch here to hear opinions. If 'edit bar' is good enough as a human readable name, just pushing this commit will solve the issue.