Closed Bug 910968 Opened 11 years ago Closed 6 years ago

Call log is not fully converted to new l10n API

Categories

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

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sync-1, Unassigned)

References

Details

Attachments

(2 files)

43.70 KB, image/x-png
Details
32.62 KB, application/octet-stream
Details
Mozilla build ID:20130826041201
 
 DEFECT DESCRIPTION:
  Calllog's records can't be translated immediately when switch the language
  REPRODUCING PROCEDURES:
  Prerequisite:There are contact's call records in call log
  1.Open the dialer,go to the call log,the same language;
  2.Enter the settings->Language,switch the language;
  3.Return to the IDLE,go to the call log again,Same language don't translated-KO.
  4.Long press the Home key ,turn off the call log,once again into the call log,normal translated.
  EXPECTED BEHAVIOUR:
  Can be translated immediately when switch the language
  ASSOCIATE SPECIFICATION:
 
  TEST PLAN REFERENCE:
 
  TOOLS AND PLATFORMS USED:
 
  USER IMPACT:
  Medium
  REPRODUCING RATE:
  5/5
  For FT PR, Please list reference mobile's behavior:
Clone from brother
Attached image pic1
Clone from brother
Attached file PR516223.log
Many text strings can not be translated immediately when switch the language. Maybe, this common issue should be considered by hand now.
The carrier is set to "unknown" when it's unset, and that should be translated.

This will likely require more investigation.
Blocks: dialer-l10n
Summary: [Buri][Language][Call log]Can't be translated immediately when switch the language → Call log is not fully converted to new l10n API
This bug has been mostly addressed, the only thing that's not fixed yet are the times of each call during the today/yesterday groups. I've noticed that switching the default time format button in the settings triggers a |timeformatchange| event which is handled properly by the app; switching languages however does not. Zibi, what's the preferred way of storing a time/date in the DOM right now? I'd like to fix this properly before closing this bug.
Flags: needinfo?(gandalf)
>  Zibi, what's the preferred way of storing a time/date in the DOM right now? I'd like to fix this properly before closing this bug.

Go for IntlHelper.

IntlHelper.define(name, type, options);

IntlHelper.observe('name', callback);

var formatter = IntlHelper.get('name');
Flags: needinfo?(gandalf)
Excellent, thanks!
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: