Closed Bug 879694 (mmi-localization-cb) Opened 11 years ago Closed 11 years ago

[MMI] Localization of Call Barring functionality.

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:leo+, b2g18 fixed, b2g-v1.1hd fixed)

RESOLVED FIXED
1.1 QE3 (26jun)
blocking-b2g leo+
Tracking Status
b2g18 --- fixed
b2g-v1.1hd --- fixed

People

(Reporter: bov, Assigned: ferjm)

References

Details

(Keywords: late-l10n, Whiteboard: [mozilla-triage])

Attachments

(1 file)

Steps    
- Settings, Language, Set to any language except english    
- Open Dialer App, type "*33*XXXX#" (where XXXX is a four digits password), and click on the green dialer button.

Actual Result:

Tested on Unagi device. Build :Gecko-52341e4.Gaia-71c3bcd CommRIL:AU105
Result:"Call barring generic failure"
Tested on Unagi device. Build :Gecko-80fd2ae.Gaia-0a1cf9f CommRIL:AU115
Result:"CALL_BARRING_NOT_SUPPORTED_VIA_MMI"

Expected Result:
The error message should be shown in the selected language in Settings
Blocks: 879750
These look like issues partners will care about having fixed for releasing in target markets - Michael seems related to 879032 - thoughts?
Flags: needinfo?(mvines)
Whiteboard: [mozilla-triage]
Flags: needinfo?(mvines)
Flags: needinfo?(anshulj)
Depends on: 879032
Flags: needinfo?(anshulj)
Assignee: nobody → cyang
Partner think it's a blocker
blocking-b2g: leo? → leo+
Assignee: cyang → ferjmoreno
Alias: mmi-localization-cb
Summary: [Supplementary Service][Call Barring][COMMERCIAL RIL] Call Barring SS error responses are shown in English when selected language is other → [MMI] Localization of Call Barring functionality.
Depends on: 883178
No longer blocks: 879750
Blocks: 879750
Keywords: late-l10n
Target Milestone: --- → 1.1 QE3 (24jun)
Carol, since we don't have Call Barring support in the reference implementation, could you please send me an example of successful and error reply with the commercial RIL (once it implements MMIResult and MMIError) so I can adjust the Gaia side? Thanks!
Flags: needinfo?(cyang)
(In reply to Fernando Jiménez Moreno [:ferjm] (needinfo instead of CC, please) from comment #4)
> Carol, since we don't have Call Barring support in the reference
> implementation, could you please send me an example of successful and error
> reply with the commercial RIL (once it implements MMIResult and MMIError) so
> I can adjust the Gaia side? Thanks!

Hi Fernando, these are some examples of what I intend on sending. Let me know if you expect something different.

Success case for querying when service is disabled:
{
  requestId : 'id{07db922e-b856-4248-8909-165a8ddc3bc4}',
  mmiServiceCode : 'scCallBarring',
  result : 'smServiceDisabled'
}

Success case for querying when service is enabled. Note the need for additional info to list out the service class that the service has been enabled for:
{
  requestId : 'id{07db922e-b856-4248-8909-165a8ddc3bc4}',
  mmiServiceCode : 'scCallBarring',
  result : 'smServiceEnabledFor',
  serviceClass: ['serviceClassVoice', 'serviceClassData']
}

Error case:
{
  requestId : 'id{4b3d24e6-d93f-461e-9c3f-9b91bf6dc10b}',
  mmiServiceCode : 'scCallBarring',
  errorMsg : 'GenericFailure'
}
Flags: needinfo?(cyang)
Attached patch v1Splinter Review
The string change was suggested in bug 888193
Attachment #768844 - Flags: review?(kaze)
Attachment #768844 - Flags: review?(anthony)
Comment on attachment 768844 [details] [diff] [review]
v1

Review of attachment 768844 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good to me.
Attachment #768844 - Flags: review?(anthony) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Uplifted a82bd42efd76cbee5bdca741eeb691d5ebc7c9f6 to:
v1-train: f9116efb2e8b0231f24eb0760b348a5a8df38b02
v1.1.0hd: f9116efb2e8b0231f24eb0760b348a5a8df38b02
Hi Fernando, 

There's a bug with this patch: 'additionalInfo' is being referenced instead of 'additionalInformation' which is causing an error:

GeckoConsole: [JavaScript Error: "ReferenceError: additionalInfo is not defined" {file: "app://communications.gaiamobile.org/dialer/js/mmi.js" line: 181}]
Flags: needinfo?(ferjmoreno)
Depends on: 890291
Thanks Carol! The fix is in Bug 890291
Flags: needinfo?(ferjmoreno)
Attachment #768844 - Flags: review?(kaze)
Verified that the message Call Barring and Generic Failure are translated in all the languages below. However we have no further information on if Generic Failure is the intended message or not. If not the intended message then please provide information on how to get the message you need checked.

Verified on Leo 1.1 build with the following variables:

Environmental Variables
Build ID: 20130814041202
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/15813d776a69
Gaia: dd3959fa74e356a528daa76ffee14c2c728a4b56
Platform Version: 18.1
RIL Version: 01.01.00.019.190

Following languages verified:
Polish, Czech,Dutch, Russian, Greek, Slovak, Romanian,Brazilian Portuguese, Hungarian, German, Spanish, Turkish, Croatian, Serbian, Catalan, Serbian-Latin
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: