Closed Bug 808141 Opened 12 years ago Closed 9 years ago

Wi-Fi shows "offline" whereas it should be "Not connected"

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED FIXED
tracking-b2g backlog

People

(Reporter: lco, Assigned: ralin)

References

Details

(Whiteboard: [good first bug][mentor-lang=zh])

Attachments

(1 file)

The subtitle text (the text beneath the headings in the settings list) isn't consistent right now. This is an extremely important polish step (we really look unprofessional without it and it isn't a lot of engineering effort, I hope.)

The standard format should be:
1. First letter of the first word capitalized
2. No period at the end
3. Titles (networks, wi-fi SSIDs etc) should be capitalized

So far, I see this bug only for the Wi-Fi subtitle:
1. "connected to <network>." should be "Connected to <Network>"
2. "offline." should be "Offline"
actually, I also realized that I don't know what state "Offline" refers to. If it refers to the state where the user is not connected to any network, and there are networks available, the string should say "Not connected" instead.

If this is the case, I can file an additional bug.
Component: Gaia → Gaia::Settings
Need some UX love
Flags: needinfo?(thsieh)
Here is the spec of Building Blocks (Web Component). The guideline of writing style is right in this spec:
https://mozilla.app.box.com/files/0/f/1873727047/1/f_18801246290

In 2.5, the writing style of titles and sub-titles are both correct in Wi-Fi setting. However, there are still plenty of inconsistencies in settings. Let's keep making things right.

About the string issue, @ Matej Can you give us a suggestion?
Flags: needinfo?(thsieh) → needinfo?(matej)
(In reply to Tina Hsieh[:Tina_Hsieh] UX from comment #3)
> Here is the spec of Building Blocks (Web Component). The guideline of
> writing style is right in this spec:
> https://mozilla.app.box.com/files/0/f/1873727047/1/f_18801246290
> 
> In 2.5, the writing style of titles and sub-titles are both correct in Wi-Fi
> setting. However, there are still plenty of inconsistencies in settings.
> Let's keep making things right.
> 
> About the string issue, @ Matej Can you give us a suggestion?

I don't see anything at the above link. Can you let me know which string you need me to review? Thanks.
Flags: needinfo?(matej)
@Larissa suggested that the "Offline" in Wi-Fi setting may replace by "Not connected" because of certain confusing issue with "Offline". 

Can you give us some suggestions about these strings? Thank you for the review. :)
Seems the capital issue is resolved, the only issue left is 'Offline' or 'Not connected'
Flags: needinfo?(matej)
(In reply to Fred Lin [:gasolin] from comment #7)
> Seems the capital issue is resolved, the only issue left is 'Offline' or
> 'Not connected'

I'm not aware of any specific issue with using "Offline," but "Not connected" looks more consistent with other strings, so let's go with that.
Flags: needinfo?(matej)
Summary: Need proper text format for text strings in the subheadings of Settings List (mostly Wi-Fi settings) → Wi-Fi shows "offline" whereas it should be "Not connected"
Need change fullStatus-disconnected & shortStatus-disconnected and rename these identifier with other name (should replace in html as well) to help l10n team find the string change

https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/locales/settings.en-US.properties#L63
Whiteboard: [good first bug][mentor-lang=zh]
Hello!

I'd like to be assigned to this bug, if possible. Thanks
of course!
Assignee: nobody → ralin
Comment on attachment 8681871 [details] [review]
[gaia] raylin:808141-wifi-status > mozilla-b2g:master

1. replaced 'Offline' with 'Not connected' and changed IDs' prefix in locales.
2. updated few related js files to make l10n-id correspond to new IDs.

Test failed at communications-contacts/test/unit/bootstrap_test.js, but I not sure it is about this commit or not.
Attachment #8681871 - Flags: review?(gasolin)
Comment on attachment 8681871 [details] [review]
[gaia] raylin:808141-wifi-status > mozilla-b2g:master

Looks good, thanks.

Since this is just string change in settings, the test error seems not related
Attachment #8681871 - Flags: review?(gasolin)
Attachment #8681871 - Flags: review+
merged https://github.com/mozilla-b2g/gaia/commit/079ead4487841d3e5168501e7218f082ced83c61
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: