diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /toolkit/mozapps/downloads/content/unknownContentType.xhtml | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | toolkit/mozapps/downloads/content/unknownContentType.xhtml | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/toolkit/mozapps/downloads/content/unknownContentType.xhtml b/toolkit/mozapps/downloads/content/unknownContentType.xhtml new file mode 100644 index 0000000000..cf022c7efb --- /dev/null +++ b/toolkit/mozapps/downloads/content/unknownContentType.xhtml @@ -0,0 +1,101 @@ +<?xml version="1.0"?> +# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> +<?xml-stylesheet href="chrome://mozapps/skin/downloads/unknownContentType.css" type="text/css"?> + +<window id="unknownContentTypeWindow" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml" + onload="dialog.initDialog();" onunload="if (dialog) dialog.onCancel();" +#ifdef XP_WIN + style="min-width: 36em;" +#else + style="min-width: 34em;" +#endif + screenX="" screenY="" + persist="screenX screenY" + aria-describedby="intro location whichIs type from source unknownPrompt"> +<linkset> + <html:link rel="localization" href="branding/brand.ftl"/> + <html:link rel="localization" href="toolkit/global/unknownContentType.ftl"/> +</linkset> +<dialog id="unknownContentType"> + + <stringbundle id="strings" src="chrome://mozapps/locale/downloads/unknownContentType.properties"/> + + <script src="chrome://global/content/globalOverlay.js"/> + <script src="chrome://global/content/editMenuOverlay.js"/> + + <vbox flex="1" id="container"> + <description id="intro" data-l10n-id="unknowncontenttype-intro"></description> + <separator class="thin"/> + <hbox align="start" class="small-indent"> + <image id="contentTypeImage"/> + <vbox flex="1"> + <description id="location" class="plain" crop="start" flex="1"/> + <separator class="thin"/> + <hbox align="center"> + <label id="whichIs" data-l10n-id="unknowncontenttype-which-is"/> + <html:input id="type" class="plain" readonly="readonly" noinitialfocus="true"/> + </hbox> + <hbox align="center"> + <label data-l10n-id="unknowncontenttype-from" id="from"/> + <description id="source" class="plain" crop="start" flex="1"/> + </hbox> + </vbox> + </hbox> + + <separator class="thin"/> + + <hbox align="center" id="basicBox" collapsed="true"> + <label id="unknownPrompt" data-l10n-id="unknowncontenttype-prompt" flex="1"/> + </hbox> + + <vbox flex="1" id="normalBox"> + <separator/> + <label control="mode" class="header" data-l10n-id="unknowncontenttype-action-question"/> + <radiogroup id="mode" class="small-indent"> + <radio id="handleInternally" hidden="true" data-l10n-id="unknowncontenttype-handleinternally"/> + + <hbox> + <radio id="open" data-l10n-id="unknowncontenttype-open-with"/> + <deck id="modeDeck" flex="1"> + <hbox id="openHandlerBox" flex="1" align="center"> + <menulist id="openHandler" flex="1" native="true"> + <menupopup id="openHandlerPopup" oncommand="dialog.openHandlerCommand();"> + <menuitem id="defaultHandler" default="true" crop="end"/> + <menuitem id="otherHandler" hidden="true" crop="start"/> + <menuseparator/> + <menuitem id="choose" data-l10n-id="unknowncontenttype-other"/> + </menupopup> + </menulist> + </hbox> + <hbox flex="1" align="center"> + <button id="chooseButton" oncommand="dialog.chooseApp();" + data-l10n-id="unknowncontenttype-choose-handler"/> + </hbox> + </deck> + </hbox> + + <radio id="save" data-l10n-id="unknowncontenttype-save-file"/> + </radiogroup> + <separator class="thin"/> + <hbox class="small-indent"> + <checkbox id="rememberChoice" data-l10n-id="unknowncontenttype-remember-choice" + oncommand="dialog.toggleRememberChoice(event.target);" + native="true"/> + </hbox> + + <separator/> + + <description id="settingsChange" hidden="true" data-l10n-id="unknowncontenttype-settingschange"/> + + <separator class="thin"/> + </vbox> + </vbox> +</dialog> +</window> |