# Copyright (C) 2001-2018, Python Software Foundation # For licence information, see README file. # msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-01-15 22:33+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: library/webbrowser.rst:2 msgid ":mod:`webbrowser` --- Convenient web-browser controller" msgstr "" #: library/webbrowser.rst:10 msgid "**Source code:** :source:`Lib/webbrowser.py`" msgstr "" #: library/webbrowser.rst:14 msgid "" "The :mod:`webbrowser` module provides a high-level interface to allow " "displaying web-based documents to users. Under most circumstances, simply " "calling the :func:`.open` function from this module will do the right thing." msgstr "" #: library/webbrowser.rst:18 msgid "" "Under Unix, graphical browsers are preferred under X11, but text-mode " "browsers will be used if graphical browsers are not available or an X11 " "display isn't available. If text-mode browsers are used, the calling " "process will block until the user exits the browser." msgstr "" #: library/webbrowser.rst:23 msgid "" "If the environment variable :envvar:`BROWSER` exists, it is interpreted as " "the :data:`os.pathsep`-separated list of browsers to try ahead of the " "platform defaults. When the value of a list part contains the string " "``%s``, then it is interpreted as a literal browser command line to be used " "with the argument URL substituted for ``%s``; if the part does not contain " "``%s``, it is simply interpreted as the name of the browser to launch. [1]_" msgstr "" #: library/webbrowser.rst:30 msgid "" "For non-Unix platforms, or when a remote browser is available on Unix, the " "controlling process will not wait for the user to finish with the browser, " "but allow the remote browser to maintain its own windows on the display. If " "remote browsers are not available on Unix, the controlling process will " "launch a new browser and wait." msgstr "" #: library/webbrowser.rst:36 msgid "" "The script :program:`webbrowser` can be used as a command-line interface for " "the module. It accepts a URL as the argument. It accepts the following " "optional parameters: ``-n`` opens the URL in a new browser window, if " "possible; ``-t`` opens the URL in a new browser page (\"tab\"). The options " "are, naturally, mutually exclusive. Usage example::" msgstr "" #: includes/wasm-notavail.rst:None msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" #: includes/wasm-notavail.rst:5 msgid "" "This module does not work or is not available on WebAssembly platforms " "``wasm32-emscripten`` and ``wasm32-wasi``. See :ref:`wasm-availability` for " "more information." msgstr "" #: library/webbrowser.rst:46 msgid "The following exception is defined:" msgstr "L'exception suivante est définie :" #: library/webbrowser.rst:51 msgid "Exception raised when a browser control error occurs." msgstr "" #: library/webbrowser.rst:53 msgid "The following functions are defined:" msgstr "Les fonctions suivantes sont définies :" #: library/webbrowser.rst:58 msgid "" "Display *url* using the default browser. If *new* is 0, the *url* is opened " "in the same browser window if possible. If *new* is 1, a new browser window " "is opened if possible. If *new* is 2, a new browser page (\"tab\") is " "opened if possible. If *autoraise* is ``True``, the window is raised if " "possible (note that under many window managers this will occur regardless of " "the setting of this variable)." msgstr "" #: library/webbrowser.rst:65 msgid "" "Note that on some platforms, trying to open a filename using this function, " "may work and start the operating system's associated program. However, this " "is neither supported nor portable." msgstr "" #: library/webbrowser.rst:78 msgid "" "Raises an :ref:`auditing event ` ``webbrowser.open`` with argument " "``url``." msgstr "" #: library/webbrowser.rst:74 msgid "" "Open *url* in a new window of the default browser, if possible, otherwise, " "open *url* in the only browser window." msgstr "" #: library/webbrowser.rst:79 msgid "" "Open *url* in a new page (\"tab\") of the default browser, if possible, " "otherwise equivalent to :func:`open_new`." msgstr "" #: library/webbrowser.rst:85 msgid "" "Return a controller object for the browser type *using*. If *using* is " "``None``, return a controller for a default browser appropriate to the " "caller's environment." msgstr "" #: library/webbrowser.rst:92 msgid "" "Register the browser type *name*. Once a browser type is registered, the :" "func:`get` function can return a controller for that browser type. If " "*instance* is not provided, or is ``None``, *constructor* will be called " "without parameters to create an instance when needed. If *instance* is " "provided, *constructor* will never be called, and may be ``None``." msgstr "" #: library/webbrowser.rst:98 msgid "" "Setting *preferred* to ``True`` makes this browser a preferred result for a :" "func:`get` call with no argument. Otherwise, this entry point is only " "useful if you plan to either set the :envvar:`BROWSER` variable or call :" "func:`get` with a nonempty argument matching the name of a handler you " "declare." msgstr "" #: library/webbrowser.rst:104 msgid "*preferred* keyword-only parameter was added." msgstr "" #: library/webbrowser.rst:107 msgid "" "A number of browser types are predefined. This table gives the type names " "that may be passed to the :func:`get` function and the corresponding " "instantiations for the controller classes, all defined in this module." msgstr "" #: library/webbrowser.rst:112 msgid "Type Name" msgstr "" #: library/webbrowser.rst:112 msgid "Class Name" msgstr "" #: library/webbrowser.rst:112 msgid "Notes" msgstr "Notes" #: library/webbrowser.rst:114 msgid "``'mozilla'``" msgstr "``'mozilla'``" #: library/webbrowser.rst:116 msgid ":class:`Mozilla('mozilla')`" msgstr ":class:`Mozilla('mozilla')`" #: library/webbrowser.rst:116 msgid "``'firefox'``" msgstr "``'firefox'``" #: library/webbrowser.rst:118 msgid "``'netscape'``" msgstr "``'netscape'``" #: library/webbrowser.rst:118 msgid ":class:`Mozilla('netscape')`" msgstr ":class:`Mozilla('netscape')`" #: library/webbrowser.rst:120 msgid "``'galeon'``" msgstr "``'galeon'``" #: library/webbrowser.rst:120 msgid ":class:`Galeon('galeon')`" msgstr ":class:`Galeon('galeon')`" #: library/webbrowser.rst:122 msgid "``'epiphany'``" msgstr "``'epiphany'``" #: library/webbrowser.rst:122 msgid ":class:`Galeon('epiphany')`" msgstr ":class:`Galeon('epiphany')`" #: library/webbrowser.rst:124 msgid "``'skipstone'``" msgstr "``'skipstone'``" #: library/webbrowser.rst:124 msgid ":class:`BackgroundBrowser('skipstone')`" msgstr ":class:`BackgroundBrowser('skipstone')`" #: library/webbrowser.rst:126 msgid "``'kfmclient'``" msgstr "``'kfmclient'``" #: library/webbrowser.rst:128 library/webbrowser.rst:130 msgid ":class:`Konqueror()`" msgstr ":class:`Konqueror()`" #: library/webbrowser.rst:128 library/webbrowser.rst:130 msgid "\\(1)" msgstr "\\(1)" #: library/webbrowser.rst:128 msgid "``'konqueror'``" msgstr "``'konqueror'``" #: library/webbrowser.rst:130 msgid "``'kfm'``" msgstr "``'kfm'``" #: library/webbrowser.rst:132 msgid "``'mosaic'``" msgstr "``'mosaic'``" #: library/webbrowser.rst:132 msgid ":class:`BackgroundBrowser('mosaic')`" msgstr ":class:`BackgroundBrowser('mosaic')`" #: library/webbrowser.rst:134 msgid "``'opera'``" msgstr "``'opera'``" #: library/webbrowser.rst:134 msgid ":class:`Opera()`" msgstr ":class:`Opera()`" #: library/webbrowser.rst:136 msgid "``'grail'``" msgstr "``'grail'``" #: library/webbrowser.rst:136 msgid ":class:`Grail()`" msgstr ":class:`Grail()`" #: library/webbrowser.rst:138 msgid "``'links'``" msgstr "``'links'``" #: library/webbrowser.rst:138 msgid ":class:`GenericBrowser('links')`" msgstr ":class:`GenericBrowser('links')`" #: library/webbrowser.rst:140 msgid "``'elinks'``" msgstr "``'elinks'``" #: library/webbrowser.rst:140 msgid ":class:`Elinks('elinks')`" msgstr ":class:`Elinks('elinks')`" #: library/webbrowser.rst:142 msgid "``'lynx'``" msgstr "``'lynx'``" #: library/webbrowser.rst:142 msgid ":class:`GenericBrowser('lynx')`" msgstr ":class:`GenericBrowser('lynx')`" #: library/webbrowser.rst:144 msgid "``'w3m'``" msgstr "``'w3m'``" #: library/webbrowser.rst:144 msgid ":class:`GenericBrowser('w3m')`" msgstr ":class:`GenericBrowser('w3m')`" #: library/webbrowser.rst:146 msgid "``'windows-default'``" msgstr "``'windows-default'``" #: library/webbrowser.rst:146 msgid ":class:`WindowsDefault`" msgstr ":class:`WindowsDefault`" #: library/webbrowser.rst:146 msgid "\\(2)" msgstr "\\(2)" #: library/webbrowser.rst:148 msgid "``'macosx'``" msgstr "``'macosx'``" #: library/webbrowser.rst:148 #, fuzzy msgid ":class:`MacOSXOSAScript('default')`" msgstr ":class:`MacOSX('default')`" #: library/webbrowser.rst:150 msgid "\\(3)" msgstr "\\(3)" #: library/webbrowser.rst:150 msgid "``'safari'``" msgstr "``'safari'``" #: library/webbrowser.rst:150 #, fuzzy msgid ":class:`MacOSXOSAScript('safari')`" msgstr ":class:`MacOSX('safari')`" #: library/webbrowser.rst:152 msgid "``'google-chrome'``" msgstr "``'google-chrome'``" #: library/webbrowser.rst:152 msgid ":class:`Chrome('google-chrome')`" msgstr ":class:`Chrome('google-chrome')`" #: library/webbrowser.rst:154 msgid "``'chrome'``" msgstr "``'chrome'``" #: library/webbrowser.rst:154 msgid ":class:`Chrome('chrome')`" msgstr ":class:`Chrome('chrome')`" #: library/webbrowser.rst:156 msgid "``'chromium'``" msgstr "``'chromium'``" #: library/webbrowser.rst:156 msgid ":class:`Chromium('chromium')`" msgstr ":class:`Chromium('chromium')`" #: library/webbrowser.rst:158 msgid "``'chromium-browser'``" msgstr "``'chromium-browser'``" #: library/webbrowser.rst:158 msgid ":class:`Chromium('chromium-browser')`" msgstr ":class:`Chromium('chromium-browser')`" #: library/webbrowser.rst:161 msgid "Notes:" msgstr "Notes :" #: library/webbrowser.rst:164 msgid "" "\"Konqueror\" is the file manager for the KDE desktop environment for Unix, " "and only makes sense to use if KDE is running. Some way of reliably " "detecting KDE would be nice; the :envvar:`KDEDIR` variable is not " "sufficient. Note also that the name \"kfm\" is used even when using the :" "program:`konqueror` command with KDE 2 --- the implementation selects the " "best strategy for running Konqueror." msgstr "" #: library/webbrowser.rst:171 msgid "Only on Windows platforms." msgstr "" #: library/webbrowser.rst:174 msgid "Only on macOS platform." msgstr "" #: library/webbrowser.rst:176 msgid "Support for Chrome/Chromium has been added." msgstr "" #: library/webbrowser.rst:181 msgid ":class:`MacOSX` is deprecated, use :class:`MacOSXOSAScript` instead." msgstr "" #: library/webbrowser.rst:182 msgid "Here are some simple examples::" msgstr "" #: library/webbrowser.rst:196 msgid "Browser Controller Objects" msgstr "" #: library/webbrowser.rst:198 msgid "" "Browser controllers provide these methods which parallel three of the module-" "level convenience functions:" msgstr "" #: library/webbrowser.rst:204 msgid "System-dependent name for the browser." msgstr "" #: library/webbrowser.rst:209 msgid "" "Display *url* using the browser handled by this controller. If *new* is 1, a " "new browser window is opened if possible. If *new* is 2, a new browser page " "(\"tab\") is opened if possible." msgstr "" #: library/webbrowser.rst:216 msgid "" "Open *url* in a new window of the browser handled by this controller, if " "possible, otherwise, open *url* in the only browser window. Alias :func:" "`open_new`." msgstr "" #: library/webbrowser.rst:223 msgid "" "Open *url* in a new page (\"tab\") of the browser handled by this " "controller, if possible, otherwise equivalent to :func:`open_new`." msgstr "" #: library/webbrowser.rst:228 msgid "Footnotes" msgstr "Notes" #: library/webbrowser.rst:229 msgid "" "Executables named here without a full path will be searched in the " "directories given in the :envvar:`PATH` environment variable." msgstr ""