diff --git a/.gitignore b/.gitignore index 20ca104..b5e8ae6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,15 @@ -/botogram.egg-info -/botogram2.egg-info -/build +botogram.egg-info +botogram2.egg-info +build -/botogram/i18n/*.mo +*.mo +*code* __pycache__ *.py[oc] -/.cache +.cache -/.netlify/build +.netlify/build -\.pytest_cache/ +.pytest_cache/ diff --git a/docs/i18n.rst b/docs/i18n.rst index df6b190..82d1fee 100644 --- a/docs/i18n.rst +++ b/docs/i18n.rst @@ -21,6 +21,7 @@ The following languages are currently included in the botogram package: * ``br`` (Brazilian Portuguese) * ``en`` (English) +* ``es`` (Spanish) * ``it`` (Italian) .. _i18n-setting-language: diff --git a/i18n/langs/es.po b/i18n/langs/es.po new file mode 100644 index 0000000..88c1653 --- /dev/null +++ b/i18n/langs/es.po @@ -0,0 +1,75 @@ +# Spanish translations for botogram. +# Copyright (C) 2018 Pietro Albini +# This file is distributed under the same license as the botogram project. +# FIRST AUTHOR , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: botogram 1.0.dev0\n" +"Report-Msgid-Bugs-To: https://github.com/ensenasty/botogram/issues\n" +"POT-Creation-Date: 2017-10-06 19:21+0200\n" +"PO-Revision-Date: 2021-09-27 13:40-0700\n" +"Language: es\n" +"Language-Team: es \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.3.4\n" +"Last-Translator: Nasty Dev \n" +"X-Generator: Poedit 2.4.2\n" + +#: botogram/defaults.py:46 +msgid "Use /help to get a list of all the commands." +msgstr "Usa /help para obtener una lista de todos los comandos." + +#: botogram/defaults.py:53 +msgid "Start using the bot." +msgstr "Empieza a usar el bot." + +#: botogram/defaults.py:54 +msgid "This shows a greeting message." +msgstr "Esto muestra un saludo." + +#: botogram/defaults.py:62 +msgid "Error! The /help command allows up to one argument." +msgstr "" +"¡Error! El comando /help sólo permite un argumento." + +#: botogram/defaults.py:68 botogram/defaults.py:167 +#, python-format +msgid "Unknown command: /%(name)s" +msgstr "Comando desconocido: /%(name)s" + +#: botogram/defaults.py:71 botogram/defaults.py:169 +msgid "Use /help to get a list of the commands." +msgstr "Usa /help para obener una lista de comandos." + +#: botogram/defaults.py:93 +msgid "This bot supports those commands:" +msgstr "Este bot tiene soporte para estos comandos:" + +#: botogram/defaults.py:97 botogram/defaults.py:127 +msgid "No description available." +msgstr "No hay descripción disponible." + +#: botogram/defaults.py:101 botogram/defaults.py:144 +msgid "" +"You can also use /help <command> to get help about a " +"specific command." +msgstr "" +"También puedes usar /help <commando> para obtener ayuda " +"acerca de algún comando específico." + +#: botogram/defaults.py:105 +msgid "This bot has no commands." +msgstr "Este bot no tiene comandos." + +#: botogram/defaults.py:114 botogram/defaults.py:133 +#, python-format +msgid "Please contact %(owner)s if you have problems with this bot." +msgstr "Por favor contacta a %(owner)s si tienes problemas con este bot." + +#: botogram/defaults.py:143 +msgid "Show this help message." +msgstr "Muestra este mensaje de ayuda."