Closed
Bug 1057634
Opened 10 years ago
Closed 10 years ago
Create localized default search engine pref for search activity
Categories
(Firefox for Android Graveyard :: Search Activity, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 34
People
(Reporter: Margaret, Assigned: Margaret)
References
Details
Attachments
(1 file)
6.17 KB,
patch
|
bnicholson
:
review+
|
Details | Diff | Splinter Review |
We'll want to do something similar to what Fennec does, so that we can use a localized preference for the default search engine.
We should also use this as the fallback if we can't find a search plugin that matches the user's search engine pref. After bug 1057629 is fixed, it would be possible to get into this state if the user changes their search engine in the settings, then changes their locale to a new locale that doesn't have that original search engine.
Assignee | ||
Updated•10 years ago
|
Priority: -- → P1
Assignee | ||
Comment 1•10 years ago
|
||
This isn't as fancy as what we do in gecko with region.properties, but this works fine for specifying a default search engine. Localizers need to make sure they use an identifier that's in list.txt, but the searchplugins directory is also localized, so they have control over that (and it's also an issue that exists with the region.properties solution).
Attachment #8480859 -
Flags: review?(bnicholson)
Comment 2•10 years ago
|
||
Comment on attachment 8480859 [details] [diff] [review]
Use localized string for default search engine identifier
Review of attachment 8480859 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/search/strings/search_strings.dtd
@@ +21,5 @@
> <!ENTITY search_widget_button_label 'Search'>
>
> +<!-- Localization note (default_engine_identifier): Search engine identifier for the default
> + engine. This should be one of the identifiers listed in /searchplugins/list.txt -->
> +<!ENTITY default_engine_identifier 'yahoo'>
This file isn't in a localized region directory (en-US) like most other string files we use. How do localizers change this for their language?
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Brian Nicholson (:bnicholson) from comment #2)
> Comment on attachment 8480859 [details] [diff] [review]
> Use localized string for default search engine identifier
>
> Review of attachment 8480859 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: mobile/android/search/strings/search_strings.dtd
> @@ +21,5 @@
> > <!ENTITY search_widget_button_label 'Search'>
> >
> > +<!-- Localization note (default_engine_identifier): Search engine identifier for the default
> > + engine. This should be one of the identifiers listed in /searchplugins/list.txt -->
> > +<!ENTITY default_engine_identifier 'yahoo'>
>
> This file isn't in a localized region directory (en-US) like most other
> string files we use. How do localizers change this for their language?
This is bug 1024527.
Comment 4•10 years ago
|
||
Comment on attachment 8480859 [details] [diff] [review]
Use localized string for default search engine identifier
Review of attachment 8480859 [details] [diff] [review]:
-----------------------------------------------------------------
OK
Attachment #8480859 -
Flags: review?(bnicholson) → review+
Assignee | ||
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
Updated•7 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•