Skip to content

Commit

Permalink
Add localized strings for the explorer visible text
Browse files Browse the repository at this point in the history
  • Loading branch information
tyaginidhi committed Oct 3, 2023
1 parent 9fe3696 commit a51fa24
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 23 deletions.
3 changes: 1 addition & 2 deletions l10n/bundle.l10n.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"Edit the site": "Edit the site",
"Be careful making changes. Anyone can see the changes you make immediately. Choose Edit the site to make edits, or close the editor tab to cancel without editing.": "Be careful making changes. Anyone can see the changes you make immediately. Choose Edit the site to make edits, or close the editor tab to cancel without editing.",
"You are editing a live, public site ": "You are editing a live, public site ",
"Get help writing code in HTML, CSS, and JS languages for Power Pages sites with Copilot.": "Get help writing code in HTML, CSS, and JS languages for Power Pages sites with Copilot.",
"Try Copilot for Power Pages": "Try Copilot for Power Pages",
"Opening preview site...": "Opening preview site...",
"Microsoft wants your feeback": "Microsoft wants your feeback",
"Check the URL and verify the parameters are correct": "Check the URL and verify the parameters are correct",
"Unable to complete the request": "Unable to complete the request",
Expand Down
18 changes: 12 additions & 6 deletions loc/translations-export/vscode-powerplatform.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ The {3} represents Solution's Type (Managed or Unmanaged), but that test is loca
<trans-unit id="++CODE++1b93e507157d91755f08e1abfe8a33d725b637a32ddadf149420b25907d440a0">
<source xml:lang="en">File(s) already exist. No new files to add</source>
</trans-unit>
<trans-unit id="++CODE++6658fe1c5f8e493175e012ea4a3f7e08df6207342fba111ccc67ba8d4d91977f">
<source xml:lang="en">Get help writing code in HTML, CSS, and JS languages for Power Pages sites with Copilot.</source>
</trans-unit>
<trans-unit id="++CODE++25109e9c19daeeed3977b84ace83722ac8a4daafcfe4e3709082fcc5b228e7a8">
<source xml:lang="en">Installing Power Pages generator(v{0})...</source>
<note>{0} represents the version number</note>
Expand Down Expand Up @@ -182,6 +179,9 @@ The {3} represents Dataverse Environment's Organization ID (GUID)</note>
<trans-unit id="++CODE++bda6bda1e902d120a7f4515ceac8546c3112e3cb9351df1d8b9713b8f86e0370">
<source xml:lang="en">One or more attribute names have been changed or removed. Contact your admin.</source>
</trans-unit>
<trans-unit id="++CODE++dac0ee62a5197a3722a9e7e9e851e80504cced8a13ce8b17842d78e8313578c2">
<source xml:lang="en">Opening preview site...</source>
</trans-unit>
<trans-unit id="++CODE++d4dc9d620b68b70e7de4aeaa15e1d83dddb457c64a3cadb35cf1b55025ad194f">
<source xml:lang="en">PAC Telemetry disabled</source>
</trans-unit>
Expand Down Expand Up @@ -247,9 +247,6 @@ The {3} represents Dataverse Environment's Organization ID (GUID)</note>
<trans-unit id="++CODE++37ea190531b914739bf1ff100b3d44579b6d703de0b79b380094714aa3b3c259">
<source xml:lang="en">There’s a problem on the back end</source>
</trans-unit>
<trans-unit id="++CODE++8d6329ce370e7f2cf3a5b77a73e0100c08550628408f2763deafe57dce769719">
<source xml:lang="en">Try Copilot for Power Pages</source>
</trans-unit>
<trans-unit id="++CODE++d8b8392e2c542950ca64867168e4ef87d4ad606882d5898f826b51c6d553988f">
<source xml:lang="en">Try again</source>
</trans-unit>
Expand Down Expand Up @@ -301,6 +298,9 @@ To learn more, visit [Prevent accidental overwrites](command:powerplatform-walkt
<note>This is a Markdown formatted string, and the formatting must persist across translations.
The fifth line should be '[TRANSLATION HERE](command:powerplatform-walkthrough.saveConflict-learn-more).', keeping brackets and the text in the parentheses unmodified</note>
</trans-unit>
<trans-unit id="microsoft-powerplatform-portals.navigation-loop.backToStudio.title">
<source xml:lang="en">Back to Studio</source>
</trans-unit>
<trans-unit id="pacCLI.authPanel.clearAuthProfile.title">
<source xml:lang="en">Clear Auth Profiles</source>
</trans-unit>
Expand Down Expand Up @@ -407,12 +407,18 @@ The second line should be '[TRANSLATION HERE](command:powerplatform-walkthrough.
<trans-unit id="microsoft-powerapps-portals.walkthrough.overview.title">
<source xml:lang="en">Overview</source>
</trans-unit>
<trans-unit id="microsoft-powerplatform-portals.navigation-loop.powerPagesFileExplorer.title">
<source xml:lang="en">POWER PAGES ACTIONS</source>
</trans-unit>
<trans-unit id="power-platform-activitybar.title">
<source xml:lang="en">Power Platform</source>
</trans-unit>
<trans-unit id="microsoft-powerapps-portals.preview-show.title">
<source xml:lang="en">PowerApps Portal -&gt; Show preview</source>
</trans-unit>
<trans-unit id="microsoft-powerplatform-portals.navigation-loop.previewSite.title">
<source xml:lang="en">Preview Power Pages site</source>
</trans-unit>
<trans-unit id="pacCLI.envAndSolutionsPanel.refresh.title">
<source xml:lang="en">Refresh</source>
</trans-unit>
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@
"commands": [
{
"command": "powerpages.powerPagesFileExplorer.powerPagesRuntimePreview",
"title": "Preview Power Pages site",
"title": "%microsoft-powerplatform-portals.navigation-loop.previewSite.title%",
"when": "never"
},
{
"command": "powerpages.powerPagesFileExplorer.backToStudio",
"title": "Back to Studio",
"title": "%microsoft-powerplatform-portals.navigation-loop.backToStudio.title%",
"when": "never"
},
{
Expand Down Expand Up @@ -897,10 +897,10 @@
"explorer": [
{
"id": "powerpages.powerPagesFileExplorer",
"name": "POWER PAGES ACTIONS",
"name": "%microsoft-powerplatform-portals.navigation-loop.powerPagesFileExplorer.title%",
"when": "isWeb && virtualWorkspace",
"icon": "./src/web/client/assets/powerPages.svg",
"contextualTitle": "Power Pages Actions",
"contextualTitle": "%microsoft-powerplatform-portals.navigation-loop.powerPagesFileExplorer.title%",
"visibility": "visible"
}
]
Expand Down
24 changes: 13 additions & 11 deletions package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@

"pacCLI.authPanel.title": "Auth Profiles",
"pacCLI.authPanel.welcome.whenInteractiveSupported": {
"message": "No auth profiles found on this computer.\n[Add Auth Profile](command:pacCLI.authPanel.newAuthProfile)",
"comment": [
"This is a Markdown formatted string, and the formatting must persist across translations.",
"The second line should be '[TRANSLATION HERE](command:pacCLI.authPanel.newAuthProfile)', keeping brackets and the text in the parentheses unmodified"
"message": "No auth profiles found on this computer.\n[Add Auth Profile](command:pacCLI.authPanel.newAuthProfile)",
"comment": [
"This is a Markdown formatted string, and the formatting must persist across translations.",
"The second line should be '[TRANSLATION HERE](command:pacCLI.authPanel.newAuthProfile)', keeping brackets and the text in the parentheses unmodified"
]
},
"pacCLI.authPanel.welcome.whenInteractiveNotSupported": {
Expand All @@ -25,8 +25,7 @@
"This is a Markdown formatted string, and the formatting must persist across translations.",
"The second line should not translate the argument `--deviceCode`",
"The third line should be '[TRANSLATION HERE](command:pacCLI.pacAuthHelp)', keeping brackets and the text in the parentheses unmodified"

]
]
},
"pacCLI.authPanel.clearAuthProfile.title": "Clear Auth Profiles",
"pacCLI.authPanel.refresh.title": "Refresh",
Expand Down Expand Up @@ -67,7 +66,7 @@
"comment": [
"This is a Markdown formatted string, and the formatting must persist across translations.",
"The second line should be '[TRANSLATION HERE](command:powerplatform-walkthrough.overview-learn-more)', keeping brackets and the text in the parentheses unmodified"
]
]
},
"microsoft-powerapps-portals.walkthrough.fileSystem.title": "File explorer",
"microsoft-powerapps-portals.walkthrough.fileSystem.description": {
Expand All @@ -76,7 +75,7 @@
"This is a Markdown formatted string, and the formatting must persist across translations.",
"The seventh line should be '[TRANSLATION HERE](command:powerplatform-walkthrough.fileSystem-documentation).', keeping brackets and the text in the parentheses unmodified",
"The eighth line should be '[TRANSLATION HERE](command:powerplatform-walkthrough.fileSystem-open-folder)', keeping brackets and the text in the parentheses unmodified"
]
]
},
"microsoft-powerapps-portals.walkthrough.advancedCapabilities.title": "Advanced capabilities",
"microsoft-powerapps-portals.walkthrough.advancedCapabilities.description": {
Expand All @@ -85,14 +84,17 @@
"This is a Markdown formatted string, and the formatting must persist across translations.",
"The fifth line should be '[TRANSLATION HERE](command:powerplatform-walkthrough.advancedCapabilities-learn-more) TRANSLATION', keeping brackets and the text in the parentheses unmodified",
"The seventh line should be '[TRANSLATION HERE](command:powerplatform-walkthrough.advancedCapabilities-start-coding)', keeping brackets and the text in the parentheses unmodified"
]
]
},
"microsoft-powerapps-portals.walkthrough.saveConflict.title": "Save conflict",
"microsoft-powerapps-portals.walkthrough.saveConflict.description": {
"message": "Avoid accidental overwrites when you try to save outdated code in VS Code for the Web. You can compare the changes side-by-side and decide to accept or revert the changes. \n \nTo learn more, visit [Prevent accidental overwrites](command:powerplatform-walkthrough.saveConflict-learn-more).",
"comment": [
"This is a Markdown formatted string, and the formatting must persist across translations.",
"The fifth line should be '[TRANSLATION HERE](command:powerplatform-walkthrough.saveConflict-learn-more).', keeping brackets and the text in the parentheses unmodified"
]
}
]
},
"microsoft-powerplatform-portals.navigation-loop.backToStudio.title": "Back to Studio",
"microsoft-powerplatform-portals.navigation-loop.previewSite.title": "Preview Power Pages site",
"microsoft-powerplatform-portals.navigation-loop.powerPagesFileExplorer.title": "POWER PAGES ACTIONS"
}

0 comments on commit a51fa24

Please sign in to comment.