Skip to content

Logging cookbook.po #658

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Next Next commit
'avance'
  • Loading branch information
cacrespo committed Jul 26, 2020
commit bd885f1e837321e5bb14f23cbc69fdda0c1cd6cf
26 changes: 21 additions & 5 deletions howto/logging-cookbook.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-05 12:54+0200\n"
"PO-Revision-Date: 2020-06-24 16:58-0300\n"
"PO-Revision-Date: 2020-07-07 05:34-0300\n"
"Language-Team: python-doc-es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -77,33 +77,40 @@ msgstr "Y aquí un módulo auxiliar::"

#: ../Doc/howto/logging-cookbook.rst:75
msgid "The output looks like this:"
msgstr ""
msgstr "El resultado se ve así:"

#: ../Doc/howto/logging-cookbook.rst:101
msgid "Logging from multiple threads"
msgstr ""
msgstr "Logging desde múltiples hilos"

#: ../Doc/howto/logging-cookbook.rst:103
msgid ""
"Logging from multiple threads requires no special effort. The following "
"example shows logging from the main (initial) thread and another thread::"
msgstr ""
"*Logging* desde múltiples hilos (*threads*) no requiere ningún esfuerzo "
"especial. El siguiente ejemplo muestra el registro desde el hilo principal "
"(inicial) y otro hilo::"

#: ../Doc/howto/logging-cookbook.rst:132
msgid "When run, the script should print something like the following:"
msgstr ""
msgstr "Cuando se ejecuta, el script debe imprimir algo como lo siguiente:"

#: ../Doc/howto/logging-cookbook.rst:154
msgid ""
"This shows the logging output interspersed as one might expect. This "
"approach works for more threads than shown here, of course."
msgstr ""
"Esto muestra la salida de registro intercalada como cabría esperar. Por "
"supuesto, este enfoque funciona para más hilos de lo que se muestran aquí."

#: ../Doc/howto/logging-cookbook.rst:158
#, fuzzy
msgid "Multiple handlers and formatters"
msgstr ""
msgstr "Múltiples gestores y formateadores"

#: ../Doc/howto/logging-cookbook.rst:160
#, fuzzy
msgid ""
"Loggers are plain Python objects. The :meth:`~Logger.addHandler` method has "
"no minimum or maximum quota for the number of handlers you may add. "
Expand All @@ -114,6 +121,15 @@ msgid ""
"slight modification to the previous simple module-based configuration "
"example::"
msgstr ""
"Los *loggers* son simples objetos Python. El método :meth:`~Logger."
"addHandler` no tiene una cuota mínima o máxima para la cantidad de gestores "
"(*handlers*) que puede agregar. A veces será beneficioso para una aplicación "
"registrar todos los mensajes de todas las severidades en un archivo de texto "
"mientras se registran simultáneamente los errores o más en la consola. Para "
"configurar esto, simplemente configure los manejadores apropiados. Las "
"llamadas de registro en el código de la aplicación permanecerán sin cambios. "
"Aquí hay una ligera modificación al ejemplo de configuración simple anterior "
"basado en módulo::"

#: ../Doc/howto/logging-cookbook.rst:193
msgid ""
Expand Down