forked from AFPy/python-docs-fr
418 lines
12 KiB
Plaintext
418 lines
12 KiB
Plaintext
# SOME DESCRIPTIVE TITLE.
|
||
# Copyright (C) 1990-2016, Python Software Foundation
|
||
# This file is distributed under the same license as the Python package.
|
||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||
#
|
||
#, fuzzy
|
||
msgid ""
|
||
msgstr ""
|
||
"Project-Id-Version: Python 2.7\n"
|
||
"Report-Msgid-Bugs-To: \n"
|
||
"POT-Creation-Date: 2016-10-30 10:44+0100\n"
|
||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||
"MIME-Version: 1.0\n"
|
||
"Content-Type: text/plain; charset=UTF-8\n"
|
||
"Content-Transfer-Encoding: 8bit\n"
|
||
|
||
#: ../Doc/library/webbrowser.rst:2
|
||
msgid ":mod:`webbrowser` --- Convenient Web-browser controller"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:9
|
||
msgid "**Source code:** :source:`Lib/webbrowser.py`"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:13
|
||
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 ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:17
|
||
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 ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:22
|
||
msgid ""
|
||
"If the environment variable :envvar:`BROWSER` exists, it is interpreted to "
|
||
"override the platform default list of browsers, as an :data:`os.pathsep`-"
|
||
"separated list of browsers to try in order. 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 ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:29
|
||
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 ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:35
|
||
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 ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:43
|
||
msgid "The following exception is defined:"
|
||
msgstr "L'exception suivante est définie :"
|
||
|
||
#: ../Doc/library/webbrowser.rst:48
|
||
msgid "Exception raised when a browser control error occurs."
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:50
|
||
msgid "The following functions are defined:"
|
||
msgstr "Les fonctions suivantes sont définies :"
|
||
|
||
#: ../Doc/library/webbrowser.rst:55
|
||
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 ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:62
|
||
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 ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:66
|
||
msgid "*new* can now be 2."
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:72
|
||
msgid ""
|
||
"Open *url* in a new window of the default browser, if possible, otherwise, "
|
||
"open *url* in the only browser window."
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:77
|
||
msgid ""
|
||
"Open *url* in a new page (\"tab\") of the default browser, if possible, "
|
||
"otherwise equivalent to :func:`open_new`."
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:85
|
||
msgid ""
|
||
"Return a controller object for the browser type *name*. If *name* is empty, "
|
||
"return a controller for a default browser appropriate to the caller's "
|
||
"environment."
|
||
msgstr ""
|
||
|
||
#: ../Doc/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 ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:98
|
||
msgid ""
|
||
"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 ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:102
|
||
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 ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:107
|
||
msgid "Type Name"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:107
|
||
msgid "Class Name"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:107
|
||
msgid "Notes"
|
||
msgstr "Notes"
|
||
|
||
#: ../Doc/library/webbrowser.rst:109
|
||
msgid "``'mozilla'``"
|
||
msgstr "``'mozilla'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:109 ../Doc/library/webbrowser.rst:111
|
||
msgid ":class:`Mozilla('mozilla')`"
|
||
msgstr ":class:`Mozilla('mozilla')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:111
|
||
msgid "``'firefox'``"
|
||
msgstr "``'firefox'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:113
|
||
msgid "``'netscape'``"
|
||
msgstr "``'netscape'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:113
|
||
msgid ":class:`Mozilla('netscape')`"
|
||
msgstr ":class:`Mozilla('netscape')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:115
|
||
msgid "``'galeon'``"
|
||
msgstr "``'galeon'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:115
|
||
msgid ":class:`Galeon('galeon')`"
|
||
msgstr ":class:`Galeon('galeon')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:117
|
||
msgid "``'epiphany'``"
|
||
msgstr "``'epiphany'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:117
|
||
msgid ":class:`Galeon('epiphany')`"
|
||
msgstr ":class:`Galeon('epiphany')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:119
|
||
msgid "``'skipstone'``"
|
||
msgstr "``'skipstone'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:119
|
||
msgid ":class:`BackgroundBrowser('skipstone')`"
|
||
msgstr ":class:`BackgroundBrowser('skipstone')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:121
|
||
msgid "``'kfmclient'``"
|
||
msgstr "``'kfmclient'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:121 ../Doc/library/webbrowser.rst:123
|
||
#: ../Doc/library/webbrowser.rst:125
|
||
msgid ":class:`Konqueror()`"
|
||
msgstr ":class:`Konqueror()`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:121 ../Doc/library/webbrowser.rst:123
|
||
#: ../Doc/library/webbrowser.rst:125
|
||
msgid "\\(1)"
|
||
msgstr "\\(1)"
|
||
|
||
#: ../Doc/library/webbrowser.rst:123
|
||
msgid "``'konqueror'``"
|
||
msgstr "``'konqueror'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:125
|
||
msgid "``'kfm'``"
|
||
msgstr "``'kfm'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:127
|
||
msgid "``'mosaic'``"
|
||
msgstr "``'mosaic'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:127
|
||
msgid ":class:`BackgroundBrowser('mosaic')`"
|
||
msgstr ":class:`BackgroundBrowser('mosaic')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:129
|
||
msgid "``'opera'``"
|
||
msgstr "``'opera'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:129
|
||
msgid ":class:`Opera()`"
|
||
msgstr ":class:`Opera()`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:131
|
||
msgid "``'grail'``"
|
||
msgstr "``'grail'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:131
|
||
msgid ":class:`Grail()`"
|
||
msgstr ":class:`Grail()`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:133
|
||
msgid "``'links'``"
|
||
msgstr "``'links'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:133
|
||
msgid ":class:`GenericBrowser('links')`"
|
||
msgstr ":class:`GenericBrowser('links')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:135
|
||
msgid "``'elinks'``"
|
||
msgstr "``'elinks'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:135
|
||
msgid ":class:`Elinks('elinks')`"
|
||
msgstr ":class:`Elinks('elinks')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:137
|
||
msgid "``'lynx'``"
|
||
msgstr "``'lynx'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:137
|
||
msgid ":class:`GenericBrowser('lynx')`"
|
||
msgstr ":class:`GenericBrowser('lynx')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:139
|
||
msgid "``'w3m'``"
|
||
msgstr "``'w3m'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:139
|
||
msgid ":class:`GenericBrowser('w3m')`"
|
||
msgstr ":class:`GenericBrowser('w3m')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:141
|
||
msgid "``'windows-default'``"
|
||
msgstr "``'windows-default'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:141
|
||
msgid ":class:`WindowsDefault`"
|
||
msgstr ":class:`WindowsDefault`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:141
|
||
msgid "\\(2)"
|
||
msgstr "\\(2)"
|
||
|
||
#: ../Doc/library/webbrowser.rst:143
|
||
msgid "``'macosx'``"
|
||
msgstr "``'macosx'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:143
|
||
msgid ":class:`MacOSX('default')`"
|
||
msgstr ":class:`MacOSX('default')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:143 ../Doc/library/webbrowser.rst:145
|
||
msgid "\\(3)"
|
||
msgstr "\\(3)"
|
||
|
||
#: ../Doc/library/webbrowser.rst:145
|
||
msgid "``'safari'``"
|
||
msgstr "``'safari'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:145
|
||
msgid ":class:`MacOSX('safari')`"
|
||
msgstr ":class:`MacOSX('safari')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:147
|
||
msgid "``'google-chrome'``"
|
||
msgstr "``'google-chrome'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:147
|
||
msgid ":class:`Chrome('google-chrome')`"
|
||
msgstr ":class:`Chrome('google-chrome')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:147 ../Doc/library/webbrowser.rst:149
|
||
#: ../Doc/library/webbrowser.rst:151 ../Doc/library/webbrowser.rst:153
|
||
msgid "\\(4)"
|
||
msgstr "\\(4)"
|
||
|
||
#: ../Doc/library/webbrowser.rst:149
|
||
msgid "``'chrome'``"
|
||
msgstr "``'chrome'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:149
|
||
msgid ":class:`Chrome('chrome')`"
|
||
msgstr ":class:`Chrome('chrome')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:151
|
||
msgid "``'chromium'``"
|
||
msgstr "``'chromium'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:151
|
||
msgid ":class:`Chromium('chromium')`"
|
||
msgstr ":class:`Chromium('chromium')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:153
|
||
msgid "``'chromium-browser'``"
|
||
msgstr "``'chromium-browser'``"
|
||
|
||
#: ../Doc/library/webbrowser.rst:153
|
||
msgid ":class:`Chromium('chromium-browser')`"
|
||
msgstr ":class:`Chromium('chromium-browser')`"
|
||
|
||
#: ../Doc/library/webbrowser.rst:156
|
||
msgid "Notes:"
|
||
msgstr "Notes :"
|
||
|
||
#: ../Doc/library/webbrowser.rst:159
|
||
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 ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:166
|
||
msgid "Only on Windows platforms."
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:169
|
||
msgid "Only on Mac OS X platform."
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:172
|
||
msgid "Support for Chrome/Chromium has been added in version 2.7.5."
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:174
|
||
msgid "Here are some simple examples::"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:188
|
||
msgid "Browser Controller Objects"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:190
|
||
msgid ""
|
||
"Browser controllers provide these methods which parallel three of the module-"
|
||
"level convenience functions:"
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:196
|
||
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 ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:203
|
||
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 ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:210
|
||
msgid ""
|
||
"Open *url* in a new page (\"tab\") of the browser handled by this "
|
||
"controller, if possible, otherwise equivalent to :func:`open_new`."
|
||
msgstr ""
|
||
|
||
#: ../Doc/library/webbrowser.rst:217
|
||
msgid "Footnotes"
|
||
msgstr "Notes"
|
||
|
||
#: ../Doc/library/webbrowser.rst:218
|
||
msgid ""
|
||
"Executables named here without a full path will be searched in the "
|
||
"directories given in the :envvar:`PATH` environment variable."
|
||
msgstr ""
|