sanyaade-g2g-repos / posit-mobile

Automatically exported from code.google.com/p/posit-mobile
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Locale under Locale in settings instead of current value #330

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open Posit.
2. Click menu, then "Settings"

What is the expected output? What do you see instead?
Under the Locale heading, the current locale should be shown.
Instead the word "Locale" is shown underneath.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by eric.e...@gmail.com on 22 Jan 2012 at 12:02

GoogleCodeExporter commented 9 years ago

Original comment by ram8...@gmail.com on 26 Jan 2012 at 11:13

GoogleCodeExporter commented 9 years ago
With this enhancement, the summary area of Locale now shows the language 
selected. 
As of now, the default value is "English". 

_Details:
setSummary code was added to onSharedPreferenceChanged in SettingsActivity.java
The xml was modified to allow LocaleTitle and LocaleSummary to be different 
values 

Original comment by brittney...@gmail.com on 2 Feb 2012 at 7:27

Attachments:

GoogleCodeExporter commented 9 years ago
I pushed the submitted patch, but this still needs a minor modification. When 
you open the Settings activity, the summary should be set to the current value 
of Locale.  As it currently stands, it is always set to "English".

Original comment by ram8...@gmail.com on 2 Feb 2012 at 9:56

GoogleCodeExporter commented 9 years ago
Another bug, upon closing POSIT or exiting Settings, the Locale summary returns 
to default "English".
I'm currently looking into this.

Original comment by brittney...@gmail.com on 2 Feb 2012 at 10:33

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fixed the above issue and modified previous code for clarity.

_Details:
added code to set the Summary of Locale to the previously saved state in 
onCreate() of SettingsActivity.java
updated the key for localPref in the Haitian strings.xml file 

Original comment by brittney...@gmail.com on 7 Feb 2012 at 5:46

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 8edf0e36e57a.

Original comment by brittney...@gmail.com on 14 Feb 2012 at 12:56