0

p13n: update freeform introduction dialog text

Use the latest text for the introduction dialog.

Screenshots:
Without text input: http://screen/9MwJyXJ292ccuVy
With text input: http://screen/84ydtZDe8rzDsjk

BUG=b:395952685
TEST=Manually

Change-Id: I9a71ff67dea4146501e14fc030a8b891398597a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6282771
Reviewed-by: Erica Lee <ericamlee@google.com>
Commit-Queue: Jerry Liu <pzliu@google.com>
Reviewed-by: Jason Thai <jasontt@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1429635}
This commit is contained in:
Jerry Liu
2025-03-07 11:13:20 -08:00
committed by Chromium LUCI CQ
parent c7f7c02a4a
commit b35994f711
7 changed files with 22 additions and 21 deletions

@ -80,11 +80,9 @@ export class SeaPenIntroductionDialogElement extends I18nMixin
}
private getIntroDialogContent_() {
const substitution = isSeaPenTextInputEnabled() ?
this.i18n('seaPenFreeformIntroductionDialogFirstParagraph') :
this.i18n('seaPenIntroductionDialogFirstParagraph');
return this.i18nAdvanced(
'seaPenIntroductionContent', {substitutions: [substitution]});
return isSeaPenTextInputEnabled() ?
this.i18nAdvanced('seaPenFreeformIntroductionDialogContent') :
this.i18nAdvanced('seaPenIntroductionDialogContent');
}
}

@ -57,7 +57,8 @@ void AddSeaPenStrings(content::WebUIDataSource* source) {
{"seaPenLabel", IDS_SEA_PEN_LABEL},
{"seaPenZeroStateMessage", IDS_SEA_PEN_ZERO_STATE_MESSAGE},
{"seaPenIntroductionTitle", IDS_SEA_PEN_INTRODUCTION_DIALOG_TITLE},
{"seaPenIntroductionContent", IDS_SEA_PEN_INTRODUCTION_DIALOG_CONTENT},
{"seaPenIntroductionDialogContent",
IDS_SEA_PEN_INTRODUCTION_DIALOG_CONTENT},
{"seaPenIntroductionDialogCloseButton",
IDS_SEA_PEN_INTRODUCTION_DIALOG_CLOSE_BUTTON},
{"seaPenFreeformWallpaperLabel", IDS_SEA_PEN_FREEFORM_WALLPAPER_LABEL},
@ -81,10 +82,6 @@ void AddSeaPenStrings(content::WebUIDataSource* source) {
{"seaPenFreeformPromptingGuide", IDS_SEA_PEN_FREEFORM_PROMPTING_GUIDE},
{"seaPenFreeformNavigationDescription",
IDS_SEA_PEN_FREEFORM_NAVIGATION_DESCRIPTION},
{"seaPenIntroductionDialogFirstParagraph",
IDS_SEA_PEN_INTRODUCTION_DIALOG_FIRST_PARAGRAPH},
{"seaPenFreeformIntroductionDialogFirstParagraph",
IDS_SEA_PEN_FREEFORM_INTRODUCTION_DIALOG_FIRST_PARAGRAPH},
{"seaPenFreeformAriaLabelSamplePrompts",
IDS_SEA_PEN_FREEFORM_ARIA_LABEL_SAMPLE_PROMPTS},
{"seaPenFreeformAriaLabelSuggestions",
@ -92,6 +89,8 @@ void AddSeaPenStrings(content::WebUIDataSource* source) {
{"seaPenFreeformAriaLabelShuffleSuggestions",
IDS_SEA_PEN_FREEFORM_ARIA_LABEL_SHUFFLE_SUGGESTIONS},
{"seaPenFreeformDisclaimer", IDS_SEA_PEN_FREEFORM_DISCLAIMER},
{"seaPenFreeformIntroductionDialogContent",
IDS_SEA_PEN_FREEFORM_INTRODUCTION_DIALOG_CONTENT},
{"seaPenDismissError", IDS_PERSONALIZATION_APP_DISMISS},
{"ariaLabelLoading", IDS_PERSONALIZATION_APP_ARIA_LABEL_LOADING},
{"seaPenManagedLabel", IDS_ASH_ENTERPRISE_DEVICE_MANAGED_SHORT},

@ -3545,12 +3545,8 @@
<message name="IDS_SEA_PEN_INTRODUCTION_DIALOG_TITLE" desc="The title of the introduction dialog displayed on the first time the user enters Sea Pen subpage.">
A few things to keep in mind
</message>
<message name="IDS_SEA_PEN_INTRODUCTION_DIALOG_FIRST_PARAGRAPH" desc="Option to fill in the SEA_PEN_INTRO_FIRST_PARAGRAPH of the IDS_SEA_PEN_INTRODUCTION_DIALOG_CONTENT.">
Choose a theme and then select the underlined words to personalize your AI images.
</message>
<message name="IDS_SEA_PEN_INTRODUCTION_DIALOG_CONTENT" desc="The content of the introduction dialog.">
<ph name="SEA_PEN_INTRO_FIRST_PARAGRAPH">$1<ex>Choose a theme and then select the underlined words to personalize your AI images.</ex></ph>
<ph name="LINE_BREAK">&lt;br&gt;</ph>
Choose a theme and then select the underlined words to personalize your AI images.<ph name="LINE_BREAK">&lt;br&gt;</ph>
<ph name="LINE_BREAK">&lt;br&gt;</ph>
Select "Inspire me" to get more unique and varied AI images options.
<ph name="LINE_BREAK">&lt;br&gt;</ph>
@ -3560,6 +3556,18 @@
<ph name="LINE_BREAK">&lt;br&gt;</ph>
Generative AI is experimental, in early development, and currently has limited availability.
</message>
<message name="IDS_SEA_PEN_FREEFORM_INTRODUCTION_DIALOG_CONTENT" desc="The content of the introduction dialog when freeform is enabled.">
When you select “Create your own,” write a custom prompt. Or you can select “Choose a theme” and then select the underlined words to personalize your AI wallpaper.
<ph name="LINE_BREAK">&lt;br&gt;</ph>
<ph name="LINE_BREAK">&lt;br&gt;</ph>
Select "Inspire me" to get more unique and varied AI images options.
<ph name="LINE_BREAK">&lt;br&gt;</ph>
<ph name="LINE_BREAK">&lt;br&gt;</ph>
When you create your own wallpaper, the prompt is sent to Google servers to generate images and improve the product, subject to <ph name="BEGIN_LINK_GOOGLE_PRIVACY_POLICY">&lt;a target="_blank" href="https://policies.google.com/privacy"&gt;</ph>Google's Terms of Service and Privacy Policy<ph name="END_LINK_GOOGLE_PRIVACY_POLICY">&lt;/a&gt;</ph>. Don't include anything personal, sensitive, or confidential.
<ph name="LINE_BREAK">&lt;br&gt;</ph>
<ph name="LINE_BREAK">&lt;br&gt;</ph>
Generative AI can make mistakes, including about people, so double-check it. <ph name="BEGIN_LINK_CREATE_YOUR_OWN_WALLPAPER">&lt;a target="_blank" href="https://support.google.com/chromebook?p=octocorallia"&gt;</ph>Learn more<ph name="END_LINK_GOOGLE_PRIVACY_POLICY">&lt;/a&gt;</ph>
</message>
<message name="IDS_SEA_PEN_INTRODUCTION_DIALOG_CLOSE_BUTTON" desc="The button to close the introduction dialog.">
Got it
</message>
@ -3613,9 +3621,6 @@
<message name="IDS_SEA_PEN_FREEFORM_NAVIGATION_DESCRIPTION" desc="Description shown in each template page to help users navigate to freeform page.">
You can also <ph name="BEGIN_LINK_FREEFORM_SUBPAGE">&lt;a href="chrome://personalization/wallpaper/sea-pen/freeform"&gt;</ph>write your own prompt<ph name="END_LINK_FREEFORM_SUBPAGE">&lt;/a&gt;</ph>
</message>
<message name="IDS_SEA_PEN_FREEFORM_INTRODUCTION_DIALOG_FIRST_PARAGRAPH" desc="Option to fill in the SEA_PEN_INTRO_FIRST_PARAGRAPH of the IDS_SEA_PEN_INTRODUCTION_DIALOG_CONTENT.">
When you select “Create with AI,” write a custom prompt. Or you can select “AI wallpapers,” to choose a theme and then select the underlined words to personalize your AI wallpaper.
</message>
<message name="IDS_SEA_PEN_FREEFORM_ARIA_LABEL_SAMPLE_PROMPTS" desc="Aria label for a list of sample text prompts to be used to generate AI images (IDS_SEA_PEN_FREEFORM_SAMPLE_PROMPTS_LABEL)">
Sample prompts
</message>

@ -0,0 +1 @@
0b420e4e2980dabbc021ac700cc86a363c02fdf1

@ -1 +1 @@
a105d430a451897f0626f193ab4de4ae7783c8bb
a70fd138ac7a2e71b0cf8cdce49f3402ba0bccb6

@ -1 +0,0 @@
d90dae67f0928508411fbfda9d69d183d79b84c0