[Peek][Monaco Preview] Open Monaco URI in default browser (#27774)

* open Monaco URI in default browser

* added dialog when URI is opened
This commit is contained in:
Davide Giacometti
2023-08-21 15:51:29 +02:00
committed by GitHub
parent a46b80c76f
commit 7c7f6cabf7
4 changed files with 77 additions and 7 deletions

View File

@@ -237,4 +237,20 @@
<value>{0} bytes</value>
<comment>Abbreviation for the size bytes</comment>
</data>
<data name="OpenUriDialog.CloseButtonText" xml:space="preserve">
<value>Cancel</value>
<comment>Dialog showed when an URI is clicked. Button to close the dialog.</comment>
</data>
<data name="OpenUriDialog.PrimaryButtonText" xml:space="preserve">
<value>Open</value>
<comment>Dialog showed when an URI is clicked. Button to open the URI.</comment>
</data>
<data name="OpenUriDialog.SecondaryButtonText" xml:space="preserve">
<value>Copy</value>
<comment>Dialog showed when an URI is clicked. Button to copy the URI.</comment>
</data>
<data name="OpenUriDialog.Title" xml:space="preserve">
<value>Do you want Peek to open the external application?</value>
<comment>Title of the dialog showed when an URI is clicked,"Peek" is the name of the utility. </comment>
</data>
</root>