Re: [orca-list] Your opinion on radio button and check box presentation?



Hey Attila.

What translatable string or strings needs to appear for the right
result? We now have:

#. Translators: This is a state which applies to a check box.
#: ../src/orca/object_properties.py:98
msgctxt "checkbox"
msgid "checked"
msgstr ""

I could also do something like:

#. Translators: This is a state which applies to a check box.
#. It is presented with the role name. Example "checkbox checked."
#. The substitution is the role name.
#: ../src/orca/object_properties.py:98
#, python-format
msgctxt "checkbox"
msgid "%s checked"
msgstr ""

Will that solve your problem? (ignore the formatting.py stuff which
might need to be changed)

--joanie


On 11/14/2013 09:28 AM, Hammer Attila wrote:
Hi Joanie,

Now, for check boxes related following formatting order are defined into
src/orca/formatting.py:
        pyatspi.ROLE_CHECK_BOX: {
            'focused': 'checkedState',
            'unfocused': 'labelAndName + roleName + checkedState +
required + availability + ' + MNEMONIC + ' + accelerator',
            'basicWhereAmI': 'namedContainingPanel + labelAndName +
roleName + checkedState + ' + MNEMONIC + ' + accelerator + required'
            },

This formatting order resulting good hungarian translation since Orca
2.24 version I think.
If possible defining equals good hungarian translation order with
context level only hungarian translation without disturbing other
language users, you wrote fix is absolute good for me if I final hearing
equals now used right order with hungarian language.
For example, with radiobuttons related in src/orca/formatting.py file
following formatting order defined, this order resulting right hungarian
translation except where am I output:
        pyatspi.ROLE_RADIO_BUTTON: {
            'focused': 'radioState',
            'unfocused': 'labelAndName + radioState + roleName +
availability + ' + MNEMONIC + ' + accelerator + positionInList',
            'basicWhereAmI': 'radioButtonGroup + labelAndName + roleName
+ radioState + positionInGroup + ' + MNEMONIC + ' + accelerator'
            },

If this is possible, only hungarian language level need replacing where
am I output the rolename and radio state order.
I think english language right this order for where am I output (radio
button selected), but hungarian language unfortunately not. If possible
customizing this orders with context level translations, this is nice
for me.

Attila
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Log bugs and feature requests at http://bugzilla.gnome.org
Find out how to help at http://live.gnome.org/Orca/HowCanIHelp




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]