summaryrefslogtreecommitdiff
path: root/docs/_locale/_pot/api.pot
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_locale/_pot/api.pot')
-rw-r--r--docs/_locale/_pot/api.pot133
1 files changed, 94 insertions, 39 deletions
diff --git a/docs/_locale/_pot/api.pot b/docs/_locale/_pot/api.pot
index 6d474bb..8adbc9d 100644
--- a/docs/_locale/_pot/api.pot
+++ b/docs/_locale/_pot/api.pot
@@ -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.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Bottle 0.13-dev\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-12-13 21:49+0100\n"
+"POT-Creation-Date: 2020-12-31 18:35+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"
@@ -40,6 +40,23 @@ msgstr ""
msgid "Start a server instance. This method blocks until the server terminates."
msgstr ""
+#: ../../../bottle.py:docstring of bottle.run:0
+#: ../../../bottle.py:docstring of bottle.path_shift:0
+#: ../../../bottle.py:docstring of bottle.MultiDict.get:0
+#: ../../../bottle.py:docstring of bottle.HeaderDict.get:0
+#: ../../../bottle.py:docstring of bottle.ResourceManager:0
+#: ../../../bottle.py:docstring of bottle.ResourceManager.add_path:0
+#: ../../../bottle.py:docstring of bottle.FileUpload.save:0
+#: ../../../bottle.py:docstring of bottle.Bottle:0
+#: ../../../bottle.py:docstring of bottle.Bottle.mount:0
+#: ../../../bottle.py:docstring of bottle.Bottle.route:0
+#: ../../../bottle.py:docstring of bottle.BaseRequest.path_shift:0
+#: ../../../bottle.py:docstring of bottle.BaseResponse:0
+#: ../../../bottle.py:docstring of bottle.BaseResponse.set_cookie:0
+#: ../../../bottle.py:docstring of bottle.BaseResponse.set_cookie:0
+msgid "Parameters"
+msgstr ""
+
#: ../../../bottle.py:docstring of bottle.run:3
msgid "WSGI application or target string supported by :func:`load_app`. (default: :func:`default_app`)"
msgstr ""
@@ -161,6 +178,10 @@ msgstr ""
msgid "Shift path fragments from PATH_INFO to SCRIPT_NAME and vice versa."
msgstr ""
+#: ../../../bottle.py:docstring of bottle.path_shift:0
+msgid "Returns"
+msgstr ""
+
#: ../../../bottle.py:docstring of bottle.path_shift:3
msgid "The modified paths."
msgstr ""
@@ -185,36 +206,55 @@ msgstr ""
msgid "This dict stores multiple values per key, but behaves exactly like a normal dict in that it returns only the newest value for any given key. There are special methods available to access the full list of values."
msgstr ""
+#: ../../../bottle.py:docstring of bottle.MultiDict.keys:1
+msgid "D.keys() -> a set-like object providing a view on D's keys"
+msgstr ""
+
+#: ../../../bottle.py:docstring of bottle.MultiDict.values:1
+msgid "D.values() -> an object providing a view on D's values"
+msgstr ""
+
+#: ../../../bottle.py:docstring of bottle.MultiDict.items:1
+msgid "D.items() -> a set-like object providing a view on D's items"
+msgstr ""
+
#: ../../../bottle.py:docstring of bottle.MultiDict.get:1
+#: ../../../bottle.py:docstring of bottle.HeaderDict.get:1
msgid "Return the most recent value for a key."
msgstr ""
#: ../../../bottle.py:docstring of bottle.MultiDict.get:3
+#: ../../../bottle.py:docstring of bottle.HeaderDict.get:3
msgid "The default value to be returned if the key is not present or the type conversion fails."
msgstr ""
#: ../../../bottle.py:docstring of bottle.MultiDict.get:5
+#: ../../../bottle.py:docstring of bottle.HeaderDict.get:5
msgid "An index for the list of available values."
msgstr ""
#: ../../../bottle.py:docstring of bottle.MultiDict.get:6
+#: ../../../bottle.py:docstring of bottle.HeaderDict.get:6
msgid "If defined, this callable is used to cast the value into a specific type. Exception are suppressed and result in the default value to be returned."
msgstr ""
#: ../../../bottle.py:docstring of bottle.MultiDict.append:1
+#: ../../../bottle.py:docstring of bottle.HeaderDict.append:1
msgid "Add a new value to the list of values for this key."
msgstr ""
#: ../../../bottle.py:docstring of bottle.MultiDict.replace:1
+#: ../../../bottle.py:docstring of bottle.HeaderDict.replace:1
msgid "Replace the list of values with a single value."
msgstr ""
#: ../../../bottle.py:docstring of bottle.MultiDict.getall:1
-#: ../../../bottle.py:docstring of bottle.MultiDict.getlist:1
+#: ../../../bottle.py:docstring of bottle.MultiDict.getall:1
+#: ../../../bottle.py:docstring of bottle.HeaderDict.getall:1
msgid "Return a (possibly empty) list of values for a key."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.MultiDict.getone:1
+#: ../../../bottle.py:docstring of bottle.MultiDict.get:1
msgid "Aliases for WTForms to mimic other multi-dict APIs (Django)"
msgstr ""
@@ -267,6 +307,7 @@ msgid "Return the current default application and remove it from the stack."
msgstr ""
#: ../../../bottle.py:docstring of bottle.AppStack.push:1
+#: ../../../bottle.py:docstring of bottle.AppStack.push:1
msgid "Add a new :class:`Bottle` instance to the stack"
msgstr ""
@@ -286,11 +327,11 @@ msgstr ""
msgid "controls which lookups are cached. One of 'all', 'found' or 'none'."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.ResourceManager.path:1
+#: ../docstring of bottle.ResourceManager.path:1
msgid "A list of search paths. See :meth:`add_path` for details."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.ResourceManager.cache:1
+#: ../docstring of bottle.ResourceManager.cache:1
msgid "A cache for resolved paths. ``res.cache.clear()`` clears the cache."
msgstr ""
@@ -319,26 +360,26 @@ msgid "Search for a resource and return an absolute file path, or `None`."
msgstr ""
#: ../../../bottle.py:docstring of bottle.ResourceManager.lookup:3
-msgid "The :attr:`path` list is searched in order. The first match is returend. Symlinks are followed. The result is cached to speed up future lookups."
+msgid "The :attr:`path` list is searched in order. The first match is returned. Symlinks are followed. The result is cached to speed up future lookups."
msgstr ""
#: ../../../bottle.py:docstring of bottle.ResourceManager.open:1
msgid "Find a resource and return a file object, or raise IOError."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.FileUpload.file:1
+#: ../docstring of bottle.FileUpload.file:1
msgid "Open file(-like) object (BytesIO buffer or temporary file)"
msgstr ""
-#: ../../../bottle.py:docstring of bottle.FileUpload.name:1
+#: ../docstring of bottle.FileUpload.name:1
msgid "Name of the upload form field"
msgstr ""
-#: ../../../bottle.py:docstring of bottle.FileUpload.raw_filename:1
+#: ../docstring of bottle.FileUpload.raw_filename:1
msgid "Raw filename as sent by the client (may contain unsafe characters)"
msgstr ""
-#: ../../../bottle.py:docstring of bottle.FileUpload.headers:1
+#: ../docstring of bottle.FileUpload.headers:1
msgid "A :class:`HeaderDict` with additional headers (e.g. content-type)"
msgstr ""
@@ -352,6 +393,10 @@ msgstr ""
msgid "Current value of the 'Content-Length' header."
msgstr ""
+#: ../../../bottle.py:docstring of bottle.FileUpload.get_header:1
+msgid "Return the value of a header within the mulripart part."
+msgstr ""
+
#: ../../../bottle.py:docstring of bottle.FileUpload.filename:1
msgid "Name of the file on the client file system, but normalized to ensure file system compatibility. An empty filename is returned as 'empty'."
msgstr ""
@@ -396,11 +441,11 @@ msgstr ""
msgid "If true (default), handle all exceptions. Turn off to let debugging middleware handle exceptions."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.Bottle.config:1
+#: ../docstring of bottle.Bottle.config:1
msgid "A :class:`ConfigDict` for app specific configuration."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.Bottle.resources:1
+#: ../docstring of bottle.Bottle.resources:1
msgid "A :class:`ResourceManager` for application files"
msgstr ""
@@ -497,7 +542,7 @@ msgid "Calls :func:`run` with the same parameters."
msgstr ""
#: ../../../bottle.py:docstring of bottle.Bottle.match:1
-msgid "Search for a matching route and return a (:class:`Route` , urlargs) tuple. The second value is a dictionary with parameters extracted from the URL. Raise :exc:`HTTPError` (404/405) on a non-match."
+msgid "Search for a matching route and return a (:class:`Route`, urlargs) tuple. The second value is a dictionary with parameters extracted from the URL. Raise :exc:`HTTPError` (404/405) on a non-match."
msgstr ""
#: ../../../bottle.py:docstring of bottle.Bottle.get_url:1
@@ -565,7 +610,7 @@ msgid "Equals :meth:`route` with a ``PATCH`` method parameter."
msgstr ""
#: ../../../bottle.py:docstring of bottle.Bottle.error:1
-msgid "Decorator: Register an output handler for a HTTP error code"
+msgid "Register an output handler for a HTTP error code. Can be used as a decorator or called directly ::"
msgstr ""
#: ../../../bottle.py:docstring of bottle.Bottle.wsgi:1
@@ -573,38 +618,38 @@ msgid "The bottle WSGI-interface."
msgstr ""
#: ../../../bottle.py:docstring of bottle.Route:1
-msgid "This class wraps a route callback along with route specific metadata and configuration and applies Plugins on demand. It is also responsible for turing an URL path rule into a regular expression usable by the Router."
+msgid "This class wraps a route callback along with route specific metadata and configuration and applies Plugins on demand. It is also responsible for turning an URL path rule into a regular expression usable by the Router."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.Route.app:1
+#: ../docstring of bottle.Route.app:1
msgid "The application this route is installed to."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.Route.rule:1
+#: ../docstring of bottle.Route.rule:1
msgid "The path-rule string (e.g. ``/wiki/<page>``)."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.Route.method:1
+#: ../docstring of bottle.Route.method:1
msgid "The HTTP method as a string (e.g. ``GET``)."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.Route.callback:1
+#: ../docstring of bottle.Route.callback:1
msgid "The original callback with no plugins applied. Useful for introspection."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.Route.name:1
+#: ../docstring of bottle.Route.name:1
msgid "The name of the route (if specified) or ``None``."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.Route.plugins:1
+#: ../docstring of bottle.Route.plugins:1
msgid "A list of route-specific plugins (see :meth:`Bottle.route`)."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.Route.skiplist:1
+#: ../docstring of bottle.Route.skiplist:1
msgid "A list of plugins to not apply to this route (see :meth:`Bottle.route`)."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.Route.config:1
+#: ../docstring of bottle.Route.config:1
msgid "Additional keyword arguments passed to the :meth:`Bottle.route` decorator are stored in this dictionary. Used for route-specific plugin configuration and meta-data."
msgstr ""
@@ -713,7 +758,7 @@ msgid "File uploads parsed from `multipart/form-data` encoded POST or PUT reques
msgstr ""
#: ../../../bottle.py:docstring of bottle.BaseRequest.json:1
-msgid "If the ``Content-Type`` header is ``application/json``, this property holds the parsed content of the request body. Only requests smaller than :attr:`MEMFILE_MAX` are processed to avoid memory exhaustion. Invalid JSON raises a 400 error response."
+msgid "If the ``Content-Type`` header is ``application/json`` or ``application/json-rpc``, this property holds the parsed content of the request body. Only requests smaller than :attr:`MEMFILE_MAX` are processed to avoid memory exhaustion. Invalid JSON raises a 400 error response."
msgstr ""
#: ../../../bottle.py:docstring of bottle.BaseRequest.body:1
@@ -724,7 +769,7 @@ msgstr ""
msgid "True if Chunked transfer encoding was."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.BaseRequest.GET:1
+#: ../../../bottle.py:docstring of bottle.BaseRequest.query:1
msgid "An alias for :attr:`query`."
msgstr ""
@@ -753,7 +798,7 @@ msgid "The initial portion of the URL's `path` that was removed by a higher leve
msgstr ""
#: ../../../bottle.py:docstring of bottle.BaseRequest.path_shift:2
-msgid "Shift path segments from path to script_name and"
+msgid "Shift path segments from :attr:`path` to :attr:`script_name` and"
msgstr ""
#: ../../../bottle.py:docstring of bottle.BaseRequest.path_shift:2
@@ -804,15 +849,10 @@ msgstr ""
msgid "A thread-local subclass of :class:`BaseRequest` with a different set of attributes for each thread. There is usually only one global instance of this class (:data:`request`). If accessed during a request/response cycle, this instance always refers to the *current* request (even on a multithreaded server)."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.LocalRequest.bind:1
+#: ../../../bottle.py:docstring of bottle.BaseRequest.__init__:1
msgid "Wrap a WSGI environ dictionary."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.LocalRequest.environ:1
-#: ../../../bottle.py:docstring of bottle.LocalResponse.body:1
-msgid "Thread-local property"
-msgstr ""
-
#: ../../api.rst:146
msgid "The :class:`Response` Object"
msgstr ""
@@ -934,18 +974,26 @@ msgid "limit the cookie to HTTPS connections (default: off)."
msgstr ""
#: ../../../bottle.py:docstring of bottle.BaseResponse.set_cookie:17
-msgid "prevents client-side javascript to read this cookie (default: off, requires Python 2.7 or newer)."
+msgid "prevents client-side javascript to read this cookie (default: off, requires Python 2.6 or newer)."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.BaseResponse.set_cookie:20
-msgid "If neither `expires` nor `max_age` is set (default), the cookie will expire at the end of the browser session (as soon as the browser window is closed)."
+#: ../../../bottle.py:docstring of bottle.BaseResponse.set_cookie:19
+msgid "Control or disable third-party use for this cookie. Possible values: `lax`, `strict` or `none` (default)."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.BaseResponse.set_cookie:24
+#: ../../../bottle.py:docstring of bottle.BaseResponse.set_cookie:22
+msgid "If neither `expires` nor `maxage` is set (default), the cookie will expire at the end of the browser session (as soon as the browser window is closed)."
+msgstr ""
+
+#: ../../../bottle.py:docstring of bottle.BaseResponse.set_cookie:26
msgid "Signed cookies may store any pickle-able object and are cryptographically signed to prevent manipulation. Keep in mind that cookies are limited to 4kb in most browsers."
msgstr ""
-#: ../../../bottle.py:docstring of bottle.BaseResponse.set_cookie:28
+#: ../../../bottle.py:docstring of bottle.BaseResponse.set_cookie:30
+msgid "Warning: Pickle is a potentially dangerous format. If an attacker gains access to the secret key, he could forge cookies that execute code on server side if unpickled. Using pickle is discouraged and support for it will be removed in later versions of bottle."
+msgstr ""
+
+#: ../../../bottle.py:docstring of bottle.BaseResponse.set_cookie:35
msgid "Warning: Signed cookies are not encrypted (the client can still see the content) and not copy-protected (the client can restore an old cookie). The main intention is to make pickling and unpickling save, not to store secret information at client side."
msgstr ""
@@ -957,6 +1005,14 @@ msgstr ""
msgid "A thread-local subclass of :class:`BaseResponse` with a different set of attributes for each thread. There is usually only one global instance of this class (:data:`response`). Its attributes are used to build the HTTP response at the end of the request/response cycle."
msgstr ""
+#: ../../../bottle.py:docstring of bottle.BaseResponse.__init__:1
+msgid "Initialize self. See help(type(self)) for accurate signature."
+msgstr ""
+
+#: ../../../bottle.py:docstring of bottle.LocalResponse.body:1
+msgid "Thread-local property"
+msgstr ""
+
#: ../../api.rst:160
msgid "The following two classes can be raised as an exception. The most noticeable difference is that bottle invokes error handlers for :class:`HTTPError`, but not for :class:`HTTPResponse` or other response types."
msgstr ""
@@ -1096,4 +1152,3 @@ msgstr ""
#: ../../api.rst:196
msgid "To use :class:`MakoTemplate` as your default template engine, just import its specialised decorator and render function::"
msgstr ""
-