# SOME DESCRIPTIVE TITLE. # Copyright (C) 2009-2020, Marcel Hellkamp # This file is distributed under the same license as the Bottle package. # # Translators: # Claudio Rogerio Carvalho Filho , 2017 msgid "" msgstr "" "Project-Id-Version: bottle\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-12-31 18:35+0100\n" "PO-Revision-Date: 2020-12-31 17:35+0000\n" "Last-Translator: defnull \n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/bottle/bottle/language/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: ../../faq.rst:10 msgid "Frequently Asked Questions" msgstr "Perguntas Frequentes" #: ../../faq.rst:13 msgid "About Bottle" msgstr "Sobre o Bottle" #: ../../faq.rst:16 msgid "Is bottle suitable for complex applications?" msgstr "" #: ../../faq.rst:18 msgid "" "Bottle is a *micro* framework designed for prototyping and building small " "web applications and services. It stays out of your way and allows you to " "get things done fast, but misses some advanced features and ready-to-use " "solutions found in other frameworks (MVC, ORM, form validation, scaffolding," " XML-RPC). Although it *is* possible to add these features and build complex" " applications with Bottle, you should consider using a full-stack Web " "framework like pylons_ or paste_ instead." msgstr "" #: ../../faq.rst:22 msgid "Common Problems and Pitfalls" msgstr "" #: ../../faq.rst:29 msgid "\"Template Not Found\" in mod_wsgi/mod_python" msgstr "" #: ../../faq.rst:31 msgid "" "Bottle searches in ``./`` and ``./views/`` for templates. In a mod_python_ " "or mod_wsgi_ environment, the working directory (``./``) depends on your " "Apache settings. You should add an absolute path to the template search " "path::" msgstr "" #: ../../faq.rst:35 msgid "so bottle searches the right paths." msgstr "" #: ../../faq.rst:38 msgid "Dynamic Routes and Slashes" msgstr "" #: ../../faq.rst:40 msgid "" "In :ref:`dynamic route syntax `, a placeholder " "token (````) matches everything up to the next slash. This equals to " "``[^/]+`` in regular expression syntax. To accept slashes too, you have to " "add a custom regular pattern to the placeholder. An example: " "``/images/`` would match ``/images/icons/error.png`` but " "``/images/`` won't." msgstr "" #: ../../faq.rst:43 msgid "Problems with reverse proxies" msgstr "" #: ../../faq.rst:45 msgid "" "Redirects and url-building only works if bottle knows the public address and" " location of your application. If you run bottle locally behind a reverse " "proxy or load balancer, some information might get lost along the way. For " "example, the ``wsgi.url_scheme`` value or the ``Host`` header might reflect " "the local request by your proxy, not the real request by the client. Here is" " a small WSGI middleware snippet that helps to fix these values::" msgstr ""