forked from AFPy/python-docs-fr
193 lines
5.6 KiB
Plaintext
193 lines
5.6 KiB
Plaintext
|
# SOME DESCRIPTIVE TITLE.
|
||
|
# Copyright (C) 2001-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 3.6\n"
|
||
|
"Report-Msgid-Bugs-To: \n"
|
||
|
"POT-Creation-Date: 2016-10-30 10:40+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/winsound.rst:2
|
||
|
msgid ":mod:`winsound` --- Sound-playing interface for Windows"
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:13
|
||
|
msgid ""
|
||
|
"The :mod:`winsound` module provides access to the basic sound-playing "
|
||
|
"machinery provided by Windows platforms. It includes functions and several "
|
||
|
"constants."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:19
|
||
|
msgid ""
|
||
|
"Beep the PC's speaker. The *frequency* parameter specifies frequency, in "
|
||
|
"hertz, of the sound, and must be in the range 37 through 32,767. The "
|
||
|
"*duration* parameter specifies the number of milliseconds the sound should "
|
||
|
"last. If the system is not able to beep the speaker, :exc:`RuntimeError` is "
|
||
|
"raised."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:27
|
||
|
msgid ""
|
||
|
"Call the underlying :c:func:`PlaySound` function from the Platform API. The "
|
||
|
"*sound* parameter may be a filename, a system sound alias, audio data as a :"
|
||
|
"term:`bytes-like object`, or ``None``. Its interpretation depends on the "
|
||
|
"value of *flags*, which can be a bitwise ORed combination of the constants "
|
||
|
"described below. If the *sound* parameter is ``None``, any currently playing "
|
||
|
"waveform sound is stopped. If the system indicates an error, :exc:"
|
||
|
"`RuntimeError` is raised."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:38
|
||
|
msgid ""
|
||
|
"Call the underlying :c:func:`MessageBeep` function from the Platform API. "
|
||
|
"This plays a sound as specified in the registry. The *type* argument "
|
||
|
"specifies which sound to play; possible values are ``-1``, "
|
||
|
"``MB_ICONASTERISK``, ``MB_ICONEXCLAMATION``, ``MB_ICONHAND``, "
|
||
|
"``MB_ICONQUESTION``, and ``MB_OK``, all described below. The value ``-1`` "
|
||
|
"produces a \"simple beep\"; this is the final fallback if a sound cannot be "
|
||
|
"played otherwise. If the system indicates an error, :exc:`RuntimeError` is "
|
||
|
"raised."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:49
|
||
|
msgid ""
|
||
|
"The *sound* parameter is the name of a WAV file. Do not use with :const:"
|
||
|
"`SND_ALIAS`."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:55
|
||
|
msgid ""
|
||
|
"The *sound* parameter is a sound association name from the registry. If the "
|
||
|
"registry contains no such name, play the system default sound unless :const:"
|
||
|
"`SND_NODEFAULT` is also specified. If no default sound is registered, raise :"
|
||
|
"exc:`RuntimeError`. Do not use with :const:`SND_FILENAME`."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:60
|
||
|
msgid ""
|
||
|
"All Win32 systems support at least the following; most systems support many "
|
||
|
"more:"
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:64
|
||
|
msgid ":func:`PlaySound` *name*"
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:64
|
||
|
msgid "Corresponding Control Panel Sound name"
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:66
|
||
|
msgid "``'SystemAsterisk'``"
|
||
|
msgstr "``'SystemAsterisk'``"
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:66
|
||
|
msgid "Asterisk"
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:68
|
||
|
msgid "``'SystemExclamation'``"
|
||
|
msgstr "``'SystemExclamation'``"
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:68
|
||
|
msgid "Exclamation"
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:70
|
||
|
msgid "``'SystemExit'``"
|
||
|
msgstr "``'SystemExit'``"
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:70
|
||
|
msgid "Exit Windows"
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:72
|
||
|
msgid "``'SystemHand'``"
|
||
|
msgstr "``'SystemHand'``"
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:72
|
||
|
msgid "Critical Stop"
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:74
|
||
|
msgid "``'SystemQuestion'``"
|
||
|
msgstr "``'SystemQuestion'``"
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:74
|
||
|
msgid "Question"
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:77
|
||
|
msgid "For example::"
|
||
|
msgstr "Par exemple : ::"
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:90
|
||
|
msgid ""
|
||
|
"Play the sound repeatedly. The :const:`SND_ASYNC` flag must also be used to "
|
||
|
"avoid blocking. Cannot be used with :const:`SND_MEMORY`."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:96
|
||
|
msgid ""
|
||
|
"The *sound* parameter to :func:`PlaySound` is a memory image of a WAV file, "
|
||
|
"as a :term:`bytes-like object`."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:101
|
||
|
msgid ""
|
||
|
"This module does not support playing from a memory image asynchronously, so "
|
||
|
"a combination of this flag and :const:`SND_ASYNC` will raise :exc:"
|
||
|
"`RuntimeError`."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:107
|
||
|
msgid "Stop playing all instances of the specified sound."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:111 ../Doc/library/winsound.rst:135
|
||
|
msgid "This flag is not supported on modern Windows platforms."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:116
|
||
|
msgid "Return immediately, allowing sounds to play asynchronously."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:121
|
||
|
msgid ""
|
||
|
"If the specified sound cannot be found, do not play the system default sound."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:126
|
||
|
msgid "Do not interrupt sounds currently playing."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:131
|
||
|
msgid "Return immediately if the sound driver is busy."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:140 ../Doc/library/winsound.rst:160
|
||
|
msgid "Play the ``SystemDefault`` sound."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:145
|
||
|
msgid "Play the ``SystemExclamation`` sound."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:150
|
||
|
msgid "Play the ``SystemHand`` sound."
|
||
|
msgstr ""
|
||
|
|
||
|
#: ../Doc/library/winsound.rst:155
|
||
|
msgid "Play the ``SystemQuestion`` sound."
|
||
|
msgstr ""
|