Bug 1697003 - Update strings for Firefox Suggest experiment r=adw

Differential Revision: https://phabricator.services.mozilla.com/D107525
This commit is contained in:
Dale Harvey 2021-03-09 12:59:03 +00:00
Родитель 93c81f5154
Коммит 8d3a00eaf8
6 изменённых файлов: 12 добавлений и 12 удалений

Просмотреть файл

@ -67,12 +67,12 @@
<hbox id="showQuickSuggestContainer" align="center" hidden="true">
<checkbox id="showQuickSuggest"
class="tail-with-learn-more"
label="Show suggested and sponsored results in the address bar"
label="Show Firefox Suggest in the address bar (suggested and sponsored results)"
preference="browser.urlbar.suggest.quicksuggest"/>
<label id="showQuickSuggestLearnMore"
class="learnMore"
is="text-link"
value="Learn more about Firefox Suggests"/>
value="Learn more about Firefox Suggest"/>
</hbox>
<checkbox id="showSearchSuggestionsPrivateWindows"
data-l10n-id="search-show-suggestions-private-windows"/>

Просмотреть файл

@ -26,8 +26,8 @@ XPCOMUtils.defineLazyModuleGetters(this, {
const EXPERIMENT_PREF = "quicksuggest.enabled";
const SUGGEST_PREF = "suggest.quicksuggest";
const NONSPONSORED_ACTION_TEXT = "Firefox Suggests";
const HELP_TITLE = "Learn more about Firefox Suggests";
const NONSPONSORED_ACTION_TEXT = "Firefox Suggest";
const HELP_TITLE = "Learn more about Firefox Suggest";
const TELEMETRY_SCALAR_IMPRESSION =
"contextual.services.quicksuggest.impression";

Просмотреть файл

@ -27,7 +27,7 @@ const log = console.createInstance({
const RS_COLLECTION = "quicksuggest";
const RS_PREF = "quicksuggest.enabled";
// Categories that should show "Firefox Suggests" instead of "Sponsored"
// Categories that should show "Firefox Suggest" instead of "Sponsored"
const NONSPONSORED_IAB_CATEGORIES = new Set(["5 - Education"]);
/**

Просмотреть файл

@ -527,7 +527,7 @@ contextual.services.topsites.*
contextual.services.quicksuggest.*
These keyed scalars record impressions and clicks on Quick Suggest results,
also called Firefox Suggests results, in the address bar. The keys for each
also called Firefox Suggest results, in the address bar. The keys for each
scalar are the 1-based indexes of the Quick Suggest results, and the values
are the number of impressions or clicks for the corresponding indexes. For
example, for a Quick Suggest impression at 0-based index 9, the value for key
@ -552,9 +552,9 @@ contextservices.quicksuggest
It's enabled only when the ``browser.urlbar.quicksuggest.enabled`` pref is
true. An event is recorded when the user toggles the
``browser.urlbar.suggest.quicksuggest`` pref, which corresponds to the
checkbox in about:preferences#search labeled "Show suggested and sponsored
results in the address bar". If the user never toggles the pref, then this
event is never recorded.
checkbox in about:preferences#search labeled "Show Firefox Suggest in the
address bar (suggested and sponsored results)". If the user never toggles
the pref, then this event is never recorded.
The full spec for this event is:

Просмотреть файл

@ -53,7 +53,7 @@ function sleep(ms) {
* of the last result.
* @param {boolean} [isSponsored]
* True if the result is expected to be sponsored and false if non-sponsored
* (i.e., "Firefox Suggests").
* (i.e., "Firefox Suggest").
* @param {object} [win]
* The window in which to read the results from.
* @returns {result}
@ -84,7 +84,7 @@ async function assertIsQuickSuggest({
actionText = "Sponsored";
} else {
url = `${TEST_URL}?q=nonsponsored`;
actionText = "Firefox Suggests";
actionText = "Firefox Suggest";
}
Assert.equal(result.url, url, "Result URL");
Assert.equal(

Просмотреть файл

@ -6731,7 +6731,7 @@ contextual.services.quicksuggest:
bug_numbers:
- 1693927
description: >
A keyed uint recording how many times the user has viewed Firefox Suggests
A keyed uint recording how many times the user has viewed Firefox Suggest
(a.k.a. Quick Suggest) results in the urlbar. The key is the 1-based index
of each result.
expires: never