Closed
Bug 1095383
Opened 10 years ago
Closed 10 years ago
[Midori 2.0][Dialer] There is string '\n ' in screen after sending USSD *#67#
Categories
(Firefox OS Graveyard :: Gaia::Dialer, defect, P2)
Firefox OS Graveyard
Gaia::Dialer
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1053641
People
(Reporter: sync-1, Unassigned)
Details
Attachments
(2 files)
FFOS2.0 baseline BuildID: 20140916000205
DEFECT DESCRIPTION:
There is string '
' in screen after sending USSD *#67#
REPRODUCING PROCEDURES:
1. Open dialer app
2. Input *#67#, then click send button
3. In Call forwarding screen, it contains string "
"--ko
EXPECTED BEHAVIOUR:
There should not contain "
", but start with a new line.
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:
REPRODUCING RATE:
For FT PR, Please list reference mobile's behavior:
Comment 2•10 years ago
|
||
(In reply to Johan Lorenzo [:jlorenzo] (QA) from comment #1)
> I don't see the issue, can you provide a video?
I meant a screenshot.
Comment 3•10 years ago
|
||
Please see the picture.
Updated•10 years ago
|
Summary: [Midori 2.0][Dialer] There is string ' ' in screen after sending USSD *#67# → [Midori 2.0][Dialer] There is string '\n ' in screen after sending USSD *#67#
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(jlorenzo)
Resolution: --- → DUPLICATE
Hi
in html file:
<p data-l10n-id="fota_emergency_info" class = "system-update-help-content"></p>
in properties file:
fota_emergency_info = If the phone cannot be turned on normally after the update, please follow the User Manual instructions relating to One Touch Update to retrieve the default settings.\r\n\r\nIf any application operates abnormally after the update, please follow the instructions below:\r\n\r\nGo to Settings -> Applications -> Manage applications -> (select the abnormal application) -> Clear data
but it displasy like this
Flags: needinfo?(nobody)
Comment 7•10 years ago
|
||
(In reply to jian.bai from comment #6)
> in properties file:
>
> fota_emergency_info = If the phone cannot be turned on normally after the
> update, please follow the User Manual instructions relating to One Touch
> Update to retrieve the default settings.\r\n\r\nIf any application operates
> abnormally after the update, please follow the instructions below:\r\n\r\nGo
> to Settings -> Applications -> Manage applications -> (select the abnormal
> application) -> Clear data
You cannot put newlines or other formatting information in the properties file. If the text above should be separated in three paragraphs with newlines in the middle then you'll need to use three paragraphs in the HTML file and three separate strings.
Flags: needinfo?(nobody)
(In reply to Gabriele Svelto [:gsvelto] from comment #7)
> (In reply to jian.bai from comment #6)
> > in properties file:
> >
> > fota_emergency_info = If the phone cannot be turned on normally after the
> > update, please follow the User Manual instructions relating to One Touch
> > Update to retrieve the default settings.\r\n\r\nIf any application operates
> > abnormally after the update, please follow the instructions below:\r\n\r\nGo
> > to Settings -> Applications -> Manage applications -> (select the abnormal
> > application) -> Clear data
>
> You cannot put newlines or other formatting information in the properties
> file. If the text above should be separated in three paragraphs with
> newlines in the middle then you'll need to use three paragraphs in the HTML
> file and three separate strings.
But in version 1.3, it can work well.Why?? we need this function.
Flags: needinfo?(nobody)
Comment 9•10 years ago
|
||
(In reply to jian.bai from comment #8)
> But in version 1.3, it can work well.Why?? we need this function.
Possibly something changed in the l10n code. You should look in the appropriate documentation [1] or ask one of the people involved. Still the easiest solution here is to use separate DOM elements instead of putting line breaks in the translated string. That's guaranteed to work in all versions.
[1] https://developer.mozilla.org/en-US/docs/Mozilla/Projects/L20n
Flags: needinfo?(nobody)
You need to log in
before you can comment on or make changes to this bug.
Description
•