summaryrefslogtreecommitdiff
path: root/docs/_locale/pt_BR/LC_MESSAGES/stpl.po
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_locale/pt_BR/LC_MESSAGES/stpl.po')
-rw-r--r--docs/_locale/pt_BR/LC_MESSAGES/stpl.po60
1 files changed, 37 insertions, 23 deletions
diff --git a/docs/_locale/pt_BR/LC_MESSAGES/stpl.po b/docs/_locale/pt_BR/LC_MESSAGES/stpl.po
index 5471eeb..d1c782f 100644
--- a/docs/_locale/pt_BR/LC_MESSAGES/stpl.po
+++ b/docs/_locale/pt_BR/LC_MESSAGES/stpl.po
@@ -1,5 +1,5 @@
# SOME DESCRIPTIVE TITLE.
-# Copyright (C) 2009-2017, Marcel Hellkamp
+# Copyright (C) 2009-2020, Marcel Hellkamp
# This file is distributed under the same license as the Bottle package.
#
# Translators:
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: bottle\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-12-19 14:15+0100\n"
-"PO-Revision-Date: 2015-12-13 20:58+0000\n"
+"POT-Creation-Date: 2020-12-31 18:35+0100\n"
+"PO-Revision-Date: 2020-12-31 17:35+0000\n"
"Last-Translator: defnull <marc@gsites.de>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/bottle/bottle/language/pt_BR/)\n"
"MIME-Version: 1.0\n"
@@ -142,47 +142,55 @@ msgstr ""
#: ../../stpl.rst:96
msgid ""
-"If you find yourself to escape a lot, consider using :ref:`custom tokens "
-"<stpl-custom-tokens>`."
+"If you find yourself needing to escape a lot, consider using :ref:`custom "
+"tokens <stpl-custom-tokens>`."
msgstr ""
-#: ../../stpl.rst:99
+#: ../../stpl.rst:98
+msgid ""
+"Note that ``%`` and ``<% %>`` work in *exactly* the same way. The latter is "
+"only a convenient way to type less and avoid clutter for longer code "
+"segments. This means that in ``<% %>`` blocks, all indented code must be "
+"terminated with an ``end``, as in the following example::"
+msgstr ""
+
+#: ../../stpl.rst:114
msgid "Whitespace Control"
msgstr ""
-#: ../../stpl.rst:101
+#: ../../stpl.rst:116
msgid ""
"Code blocks and code lines always span the whole line. Whitespace in front "
"of after a code segment is stripped away. You won't see empty lines or "
"dangling whitespace in your template because of embedded code::"
msgstr ""
-#: ../../stpl.rst:109
+#: ../../stpl.rst:124
msgid "This snippet renders to clean and compact html::"
msgstr ""
-#: ../../stpl.rst:115
+#: ../../stpl.rst:130
msgid ""
"But embedding code still requires you to start a new line, which may not "
"what you want to see in your rendered template. To skip the newline in front"
" of a code segment, end the text line with a double-backslash::"
msgstr ""
-#: ../../stpl.rst:123
+#: ../../stpl.rst:138
msgid "This time the rendered template looks like this::"
msgstr ""
-#: ../../stpl.rst:127
+#: ../../stpl.rst:142
msgid ""
"This only works directly in front of code segments. In all other places you "
"can control the whitespace yourself and don't need any special syntax."
msgstr ""
-#: ../../stpl.rst:130
+#: ../../stpl.rst:145
msgid "Template Functions"
msgstr ""
-#: ../../stpl.rst:132
+#: ../../stpl.rst:147
msgid ""
"Each template is preloaded with a bunch of functions that help with the most"
" common use cases. These functions are always available. You don't have to "
@@ -191,20 +199,20 @@ msgid ""
"anything you want within your templates. They are python programs after all."
msgstr ""
-#: ../../stpl.rst:136
+#: ../../stpl.rst:151
msgid ""
"Prior to this release, :func:`include` and :func:`rebase` were syntax "
"keywords, not functions."
msgstr ""
-#: ../../stpl.rst:141
+#: ../../stpl.rst:156
msgid ""
"Render a sub-template with the specified variables and insert the resulting "
"text into the current template. The function returns a dictionary containing"
" the local variables passed to or defined within the sub-template::"
msgstr ""
-#: ../../stpl.rst:149
+#: ../../stpl.rst:164
msgid ""
"Mark the current template to be later included into a different template. "
"After the current template is rendered, its resulting text is stored in a "
@@ -213,11 +221,11 @@ msgid ""
"simulate the inheritance feature found in other template engines::"
msgstr ""
-#: ../../stpl.rst:154
+#: ../../stpl.rst:169
msgid "This can be combined with the following ``base.tpl``::"
msgstr ""
-#: ../../stpl.rst:166
+#: ../../stpl.rst:181
msgid ""
"Accessing undefined variables in a template raises :exc:`NameError` and "
"stops rendering immediately. This is standard python behavior and nothing "
@@ -226,32 +234,38 @@ msgid ""
"or use the same template in different situations. These functions may help:"
msgstr ""
-#: ../../stpl.rst:174
+#: ../../stpl.rst:189
msgid ""
"Return True if the variable is defined in the current template namespace, "
"False otherwise."
msgstr ""
-#: ../../stpl.rst:179
+#: ../../stpl.rst:194
msgid "Return the variable, or a default value."
msgstr ""
-#: ../../stpl.rst:183
+#: ../../stpl.rst:198
msgid ""
"If the variable is not defined, create it with the given default value. "
"Return the variable."
msgstr ""
-#: ../../stpl.rst:186
+#: ../../stpl.rst:201
msgid ""
"Here is an example that uses all three functions to implement optional "
"template variables in different ways::"
msgstr ""
-#: ../../stpl.rst:200
+#: ../../stpl.rst:215
msgid ":class:`SimpleTemplate` API"
msgstr ""
+#: ../../../bottle.pydocstring of bottle.SimpleTemplate.prepare:1
+msgid ""
+"Run preparations (parsing, caching, ...). It should be possible to call this"
+" again to refresh a template or to update settings."
+msgstr ""
+
#: ../../../bottle.pydocstring of bottle.SimpleTemplate.render:1
msgid "Render the template using keyword arguments as local variables."
msgstr ""