Skip to content

Commit dd42ea3

Browse files
committed
chore: update demo page translations
1 parent 29857d1 commit dd42ea3

1 file changed

Lines changed: 93 additions & 1 deletion

File tree

src/nls/root/strings.js

Lines changed: 93 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1780,5 +1780,97 @@ define({
17801780
"AI_CONTROL_ADMIN_DISABLED": "AI access has been disabled by your system administrator",
17811781
"AI_CONTROL_ADMIN_DISABLED_CONTACT": "AI access has been disabled by your system administrator. Please contact {0} for assistance.",
17821782
"AI_UPSELL_DIALOG_TITLE": "Continue with {0}?",
1783-
"AI_UPSELL_DIALOG_MESSAGE": "You’ve discovered {0}. To proceed, you’ll need an AI subscription or credits."
1783+
"AI_UPSELL_DIALOG_MESSAGE": "You’ve discovered {0}. To proceed, you’ll need an AI subscription or credits.",
1784+
1785+
// demo start - Phoenix Code Playground - Interactive Onboarding
1786+
"DEMO_SECTION1_TITLE": "Edit in Live Preview",
1787+
"DEMO_SECTION1_SUBTITLE": "Edit your page visually -&nbsp; <b>Your HTML updates instantly</b>",
1788+
"DEMO_GET_STARTED_BUTTON": "Get Started",
1789+
1790+
"DEMO_SECTION2_TITLE": "Edit Text",
1791+
"DEMO_SECTION2_SUBTITLE": "Double-click to edit the text below and add your name",
1792+
"DEMO_EDITABLE_PLACEHOLDER_HELLO": "Hello ___",
1793+
"DEMO_SECTION2_SUCCESS_MESSAGE": "Your edit updated the code — undo with <span id=\"undo-shortcut\"></span>, redo with <span id=\"redo-shortcut\"></span>.",
1794+
"DEMO_HINT_COMPLETE_TASK_LABEL": "To complete this task:",
1795+
"DEMO_SECTION2_HINT_STEP1": "Double-click on the \"Hello ___\" text",
1796+
"DEMO_SECTION2_HINT_STEP2": "Replace the underscores with your name",
1797+
"DEMO_SECTION2_HINT_STEP3": "Press Enter or click outside to apply your changes",
1798+
1799+
"DEMO_SECTION3_TITLE": "Change images live",
1800+
"DEMO_SECTION3_SUBTITLE": "Click the image below to replace it with one you like from the Image Library.",
1801+
"DEMO_SECTION3_SUCCESS_URL": "Did you know that you can download images with the <img src=\"images/download.svg\" alt=\"Download\" class=\"inline-icon\"> Download button in the Image Library?",
1802+
"DEMO_SECTION3_SUCCESS_LOCAL": "Did you know you can click on an image to use it without downloading?",
1803+
"DEMO_SECTION3_HINT_STEP1": "Click the image above to open the Image Library (double-click to toggle)",
1804+
"DEMO_SECTION3_HINT_STEP2": "In the Image Library: hover over thumbnails to preview them",
1805+
"DEMO_SECTION3_HINT_STEP3": "Click a thumbnail to place it on your page, or click the <img src=\"images/download.svg\" alt=\"Download\" class=\"inline-icon\"> icon to download it first",
1806+
1807+
"DEMO_SECTION4_TITLE": "Edit elements visually",
1808+
"DEMO_SECTION4_SUBTITLE": "Duplicate<img src=\"images/duplicate.svg\" alt=\"Duplicate\" class=\"inline-icon\"> the card below to make <strong>3 cards</strong> total, then <strong>delete<img src=\"images/trash.svg\" alt=\"Delete\" class=\"inline-icon\"> 1 card</strong>.",
1809+
"DEMO_SECTION4_UNDO_WARNING": "Oops! All cards deleted. Press <strong><span id=\"undo-shortcut-section4\"></span></strong> to undo.",
1810+
"DEMO_CARD_TITLE": "Card",
1811+
"DEMO_CARD_SELECT_PARENT_TIP": "Click the <img src=\"images/arrowUp.svg\" alt=\"Up\" class=\"inline-icon\">&nbsp;icon in toolbar above to select the parent card.",
1812+
"DEMO_SECTION4_SUCCESS_MESSAGE": "Perfect! You've mastered duplicating and deleting elements.",
1813+
"DEMO_SECTION4_HINT_STEP1": "Click the card to select it",
1814+
"DEMO_SECTION4_HINT_STEP2_DUPLICATE": "Use the <img src=\"images/duplicate.svg\" alt=\"Duplicate\" class=\"inline-icon\"> button or press <strong><span id=\"duplicate-shortcut\"></span></strong> to duplicate cards until you have 3 total",
1815+
"DEMO_SECTION4_HINT_STEP3_DELETE": "Select any card and use the <img src=\"images/trash.svg\" alt=\"Delete\" class=\"inline-icon\"> button or press <strong>Delete</strong> to remove it",
1816+
"DEMO_SECTION4_HINT_TIP_UNDO_REDO": "Tip: You can undo with <strong><span id=\"undo-shortcut-hint\"></span></strong> and redo with <strong><span id=\"redo-shortcut-hint\"></span></strong>",
1817+
"DEMO_DELETE_KEY": "Delete",
1818+
1819+
"DEMO_SECTION5_TITLE": "Reorder elements by dragging",
1820+
"DEMO_SECTION5_SUBTITLE": "Drag any note to change the order.",
1821+
"DEMO_STICKY_NOTE_FIRST_PLACE": "First Place",
1822+
"DEMO_STICKY_NOTE_SECOND_PLACE": "Second Place",
1823+
"DEMO_STICKY_NOTE_THIRD_PLACE": "Third Place",
1824+
"DEMO_SECTION5_SUCCESS_MESSAGE": "You can drag elements anywhere on the page to rearrange them.",
1825+
"DEMO_SECTION5_HINT_STEP1": "Click and hold any note to start dragging",
1826+
"DEMO_SECTION5_HINT_STEP2": "Move it up or down to change the order",
1827+
"DEMO_SECTION5_HINT_STEP3": "Release to drop it in the new position",
1828+
1829+
"DEMO_SECTION6_TITLE": "Edit links and preview your page",
1830+
"DEMO_SECTION6_SUBTITLE": "Select the <img src=\"images/link.svg\" alt=\"Link\" class=\"inline-icon\"> icon in the toolbar to change where this link points.",
1831+
"DEMO_LINK_EDIT_LINK": "Edit Link",
1832+
"DEMO_SECTION6_SUCCESS_MESSAGE": "You edited a link.",
1833+
"DEMO_MODE_EXPLANATION_TITLE": "Edit mode vs Preview mode",
1834+
"DEMO_EDIT_MODE_LABEL": "Edit mode",
1835+
"DEMO_EDIT_MODE_DESCRIPTION": "Select and change things on the page",
1836+
"DEMO_PREVIEW_MODE_LABEL": "Preview mode",
1837+
"DEMO_PREVIEW_MODE_DESCRIPTION": "See your page as visitors will see it",
1838+
"DEMO_MODE_SWITCH_HINT": "Press <strong>F8</strong> or click the <span class=\"play-button-hint\"><img src=\"images/playButton.svg\" alt=\"Play\" class=\"play-hint-svg svg-gold\"></span> buttons to switch modes.",
1839+
"DEMO_TIPS_LABEL": "Tips:",
1840+
"DEMO_SECTION6_TIP1": "Click any link to select it for editing",
1841+
"DEMO_SECTION6_TIP2_NEWTAB": "Enable <strong>Open in new tab</strong> to open links on a separate page",
1842+
"DEMO_SECTION6_TIP3_PREVIEW": "Switch to Preview mode (<strong>F8</strong>) to test links and interactions",
1843+
1844+
"DEMO_COMPLETION_TITLE": "You're ready to build!",
1845+
"DEMO_COMPLETION_BODY": "You've learned how to edit with Live Preview.<br>Open a folder with your HTML files to start editing.",
1846+
"DEMO_COMPLETION_HELP_PROMPT": "Need more help?",
1847+
"DEMO_RESOURCE_YOUTUBE": "YouTube",
1848+
"DEMO_RESOURCE_DOCUMENTATION": "Documentation",
1849+
1850+
"DEMO_BONUS_BADGE": "One more thing",
1851+
"DEMO_SECTION8_TITLE": "Check layout with measurements",
1852+
"DEMO_SECTION8_SUBTITLE": "Click <img src=\"images/verticalEllipsis.svg\" alt=\"menu\" class=\"inline-icon\"> in the toolbar and select <strong>Show Measurements</strong> to see which box is misaligned.",
1853+
"DEMO_BOX_CLICK_MENU": "Click <img src=\"images/verticalEllipsis.svg\" alt=\"menu\" class=\"inline-icon\">",
1854+
"DEMO_BOX_LABEL": "Box",
1855+
"DEMO_SECTION8_TIP1": "Click the <img src=\"images/verticalEllipsis.svg\" alt=\"More options\" class=\"inline-icon\"> icon in the toolbar, or right-click to open the menu",
1856+
"DEMO_SECTION8_TIP2_MEASUREMENTS": "Enable <strong>Show Measurements</strong> to see spacing and alignment guides",
1857+
"DEMO_SECTION8_TIP3": "Measurements help you spot alignment issues quickly",
1858+
1859+
"DEMO_ALT_EDIT_TEXT": "Edit Text",
1860+
"DEMO_ALT_IMAGE_LIBRARY": "Image Library",
1861+
"DEMO_ALT_DRAG_AND_DROP": "Drag and Drop",
1862+
"DEMO_ALT_LAYOUT_RULERS": "Layout Rulers",
1863+
"DEMO_ALT_REPLACEABLE_IMAGE": "Replaceable image",
1864+
"DEMO_ALT_DOWNLOAD_ICON": "Download",
1865+
"DEMO_ALT_DUPLICATE_ICON": "Duplicate",
1866+
"DEMO_ALT_DELETE_ICON": "Delete",
1867+
"DEMO_ALT_UP_ICON": "Up",
1868+
"DEMO_ALT_LINK_ICON": "Link",
1869+
"DEMO_ALT_PLAY_ICON": "Play",
1870+
"DEMO_ALT_MENU_ICON": "menu",
1871+
"DEMO_ALT_MORE_OPTIONS_ICON": "More options",
1872+
"DEMO_ALT_CARD_IMAGE": "Card image",
1873+
"DEMO_ALT_ROCKET": "Rocket",
1874+
"DEMO_ALT_ARROW": "Arrow"
1875+
// demo end
17841876
});

0 commit comments

Comments
 (0)