Clarify "unknown gender" option is a non-answer and resort
authorFederico Leva <federicoleva@tiscali.it>
Fri, 6 Sep 2013 11:16:01 +0000 (13:16 +0200)
committerFederico Leva <federicoleva@tiscali.it>
Fri, 6 Sep 2013 11:24:17 +0000 (13:24 +0200)
It is easier in other languages, but in English some worry
about "I prefer not to detail" not being an answer to the
question used as label of the option; parentheses should
be enough to clarify it is about not answering the question
because you don't care.

Also put such (default) "zero answer" first and move feminine
before male as suggested by Jared to avoid any appearance of
bias in the user interface, though the fallback works that way
in the code anyway for merely grammatical reasons.

Bug: 53311
Bug: 53834
Change-Id: Iea77e903c91063a648fff5e4be41c0be51ac172a

includes/Preferences.php

index 29d6e07..bf3e037 100644 (file)
@@ -335,9 +335,11 @@ class Preferences {
                        'type' => 'radio',
                        'section' => 'personal/i18n',
                        'options' => array(
-                               $context->msg( 'gender-male' )->text() => 'male',
+                               $context->msg( 'parentheses',
+                                       $context->msg( 'gender-unknown' )->text()
+                               )->text() => 'unknown',
                                $context->msg( 'gender-female' )->text() => 'female',
-                               $context->msg( 'gender-unknown' )->text() => 'unknown',
+                               $context->msg( 'gender-male' )->text() => 'male',
                        ),
                        'label-message' => 'yourgender',
                        'help-message' => 'prefs-help-gender',