Skip to content
Snippets Groups Projects
Commit 7bd49b43 authored by Carsten Schoenert's avatar Carsten Schoenert
Browse files

New upstream version 5.0.0

parent 72cad1ef
No related branches found
No related tags found
No related merge requests found
Showing
with 1107 additions and 268 deletions
# Description
#### Description
Please include a summary of the change and which issue is fixed. Please also
include relevant motivation and context. Your commit message should include
......@@ -6,7 +6,7 @@ this information as well.
Fixes # (issue)
# Checklist:
#### Checklist:
- [ ] I have added the relevant tests for this change.
- [ ] I have added an item to the Pending section of ``docs/changes.rst``.
name: Release
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
on:
push:
tags:
- '*'
on: push
env:
PYPI_URL: https://pypi.org/p/django-debug-toolbar
PYPI_TEST_URL: https://test.pypi.org/p/django-debug-toolbar
jobs:
build:
if: github.repository == 'jazzband/django-debug-toolbar'
name: Build distribution 📦
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install pypa/build
run:
python3 -m pip install build --user
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/
publish-to-pypi:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs:
- build
runs-on: ubuntu-latest
environment:
name: pypi
url: ${{ env.PYPI_URL }}
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1.10
github-release:
name: >-
Sign the Python 🐍 distribution 📦 with Sigstore
and upload them to GitHub Release
needs:
- publish-to-pypi
runs-on: ubuntu-latest
permissions:
contents: write # IMPORTANT: mandatory for making GitHub Releases
id-token: write # IMPORTANT: mandatory for sigstore
steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@v3
with:
inputs: >-
./dist/*.tar.gz
./dist/*.whl
- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
run: >-
gh release create
'${{ github.ref_name }}'
--repo '${{ github.repository }}'
--notes ""
- name: Upload artifact signatures to GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
# Upload to GitHub Release using the `gh` CLI.
# `dist/` contains the built packages, and the
# sigstore-produced signatures and certificates.
run: >-
gh release upload
'${{ github.ref_name }}' dist/**
--repo '${{ github.repository }}'
publish-to-testpypi:
name: Publish Python 🐍 distribution 📦 to TestPyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to TestPyPI on tag pushes
needs:
- build
runs-on: ubuntu-latest
environment:
name: testpypi
url: ${{ env.PYPI_TEST_URL }}
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U build hatchling twine
- name: Build package
run: |
hatchling version
python -m build
twine check dist/*
- name: Upload packages to Jazzband
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: jazzband
password: ${{ secrets.JAZZBAND_RELEASE_KEY }}
repository_url: https://jazzband.co/projects/django-debug-toolbar/upload
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1.10
with:
repository-url: https://test.pypi.org/legacy/
skip-existing: true
......@@ -14,7 +14,7 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
services:
mariadb:
......@@ -73,7 +73,8 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
# Skip 3.13 here, it needs the psycopg3 / postgis3 database
python-version: ['3.9', '3.10', '3.11', '3.12']
database: [postgresql, postgis]
# Add psycopg3 to our matrix for modern python versions
include:
......@@ -83,6 +84,10 @@ jobs:
database: psycopg3
- python-version: '3.12'
database: psycopg3
- python-version: '3.13'
database: psycopg3
- python-version: '3.13'
database: postgis3
services:
postgres:
......@@ -145,7 +150,7 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
......@@ -192,7 +197,7 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
- name: Get pip cache dir
id: pip-cache
......
......@@ -14,3 +14,4 @@ geckodriver.log
coverage.xml
.direnv/
.envrc
venv
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-toml
- id: check-yaml
......@@ -10,11 +10,11 @@ repos:
- id: file-contents-sorter
files: docs/spelling_wordlist.txt
- repo: https://github.com/pycqa/doc8
rev: v1.1.1
rev: v1.1.2
hooks:
- id: doc8
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.19.0
rev: 1.22.2
hooks:
- id: django-upgrade
args: [--target-version, "4.2"]
......@@ -32,28 +32,28 @@ repos:
args:
- --trailing-comma=es5
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.6.0
rev: v9.17.0
hooks:
- id: eslint
additional_dependencies:
- "eslint@v9.0.0-beta.1"
- "@eslint/js@v9.0.0-beta.1"
- "eslint@v9.17.0"
- "@eslint/js@v9.17.0"
- "globals"
files: \.js?$
types: [file]
args:
- --fix
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.5.1'
rev: 'v0.8.6'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 2.1.4
rev: v2.5.0
hooks:
- id: pyproject-fmt
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.18
rev: v0.23
hooks:
- id: validate-pyproject
[main]
host = https://www.transifex.com
lang_map = sr@latin:sr_Latn
host = https://www.transifex.com
lang_map = sr@latin: sr_Latn
[django-debug-toolbar.main]
file_filter = debug_toolbar/locale/<lang>/LC_MESSAGES/django.po
source_file = debug_toolbar/locale/en/LC_MESSAGES/django.po
source_lang = en
[o:django-debug-toolbar:p:django-debug-toolbar:r:main]
file_filter = debug_toolbar/locale/<lang>/LC_MESSAGES/django.po
source_file = debug_toolbar/locale/en/LC_MESSAGES/django.po
source_lang = en
replace_edited_strings = false
keep_translations = false
# Code of Conduct
# Django Debug Toolbar Code of Conduct
As contributors and maintainers of the Jazzband projects, and in the interest of
fostering an open and welcoming community, we pledge to respect all people who
contribute through reporting issues, posting feature requests, updating documentation,
submitting pull requests or patches, and other activities.
We are committed to making participation in the Jazzband a harassment-free experience
for everyone, regardless of the level of experience, gender, gender identity and
expression, sexual orientation, disability, personal appearance, body size, race,
ethnicity, age, religion, or nationality.
Examples of unacceptable behavior by participants include:
- The use of sexualized language or imagery
- Personal attacks
- Trolling or insulting/derogatory comments
- Public or private harassment
- Publishing other's private information, such as physical or electronic addresses,
without explicit permission
- Other unethical or unprofessional conduct
The Jazzband roadies have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are not
aligned to this Code of Conduct, or to ban temporarily or permanently any contributor
for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
By adopting this Code of Conduct, the roadies commit themselves to fairly and
consistently applying these principles to every aspect of managing the jazzband
projects. Roadies who do not follow or enforce the Code of Conduct may be permanently
removed from the Jazzband roadies.
This code of conduct applies both within project spaces and in public spaces when an
individual is representing the project or its community.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by
contacting the roadies at `roadies@jazzband.co`. All complaints will be reviewed and
investigated and will result in a response that is deemed necessary and appropriate to
the circumstances. Roadies are obligated to maintain confidentiality with regard to the
reporter of an incident.
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version
1.3.0, available at [https://contributor-covenant.org/version/1/3/0/][version]
[homepage]: https://contributor-covenant.org
[version]: https://contributor-covenant.org/version/1/3/0/
The django-debug-toolbar project utilizes the [Django Commons Code of Conduct](https://github.com/django-commons/membership/blob/main/CODE_OF_CONDUCT.md).
[![Jazzband](https://jazzband.co/static/img/jazzband.svg)](https://jazzband.co/)
This is a [Jazzband](https://jazzband.co/) project. By contributing you agree to abide by the [Contributor Code of Conduct](https://jazzband.co/about/conduct) and follow the [guidelines](https://jazzband.co/about/guidelines).
This is a [Django Commons](https://github.com/django-commons/) project. By contributing you agree to abide by the [Contributor Code of Conduct](https://github.com/django-commons/membership/blob/main/CODE_OF_CONDUCT.md).
Please see the
[full contributing documentation](https://django-debug-toolbar.readthedocs.io/en/stable/contributing.html)
[README](https://github.com/django-commons/membership/blob/main/README.md)
for more help.
......@@ -2,22 +2,18 @@
Django Debug Toolbar |latest-version|
=====================================
|jazzband| |build-status| |coverage| |docs| |python-support| |django-support|
|build-status| |coverage| |docs| |python-support| |django-support|
.. |latest-version| image:: https://img.shields.io/pypi/v/django-debug-toolbar.svg
:target: https://pypi.org/project/django-debug-toolbar/
:alt: Latest version on PyPI
.. |jazzband| image:: https://jazzband.co/static/img/badge.svg
:target: https://jazzband.co/
:alt: Jazzband
.. |build-status| image:: https://github.com/jazzband/django-debug-toolbar/workflows/Test/badge.svg
:target: https://github.com/jazzband/django-debug-toolbar/actions
.. |build-status| image:: https://github.com/django-commons/django-debug-toolbar/workflows/Test/badge.svg
:target: https://github.com/django-commons/django-debug-toolbar/actions/workflows/test.yml
:alt: Build Status
.. |coverage| image:: https://img.shields.io/badge/Coverage-94%25-green
:target: https://github.com/jazzband/django-debug-toolbar/actions/workflows/test.yml?query=branch%3Amain
:target: https://github.com/django-commons/django-debug-toolbar/actions/workflows/test.yml?query=branch%3Amain
:alt: Test coverage status
.. |docs| image:: https://img.shields.io/readthedocs/django-debug-toolbar/latest.svg
......@@ -38,17 +34,19 @@ more details about the panel's content.
Here's a screenshot of the toolbar in action:
.. image:: https://raw.github.com/jazzband/django-debug-toolbar/main/example/django-debug-toolbar.png
.. image:: https://raw.github.com/django-commons/django-debug-toolbar/main/example/django-debug-toolbar.png
:alt: Django Debug Toolbar screenshot
In addition to the built-in panels, a number of third-party panels are
contributed by the community.
The current stable version of the Debug Toolbar is 4.4.6. It works on
The current stable version of the Debug Toolbar is 5.0.0. It works on
Django ≥ 4.2.0.
The Debug Toolbar does not currently support `Django's asynchronous views
<https://docs.djangoproject.com/en/dev/topics/async/>`_.
The Debug Toolbar has experimental support for `Django's asynchronous views
<https://docs.djangoproject.com/en/dev/topics/async/>`_. Please note that
the Debug Toolbar still lacks the capability for handling concurrent requests.
If you find any issues, please report them on the `issue tracker`_.
Documentation, including installation and configuration instructions, is
available at https://django-debug-toolbar.readthedocs.io/.
......@@ -59,4 +57,5 @@ itself. If you like it, please consider contributing!
The Django Debug Toolbar was originally created by Rob Hudson <rob@cogit8.org>
in August 2008 and was further developed by many contributors_.
.. _contributors: https://github.com/jazzband/django-debug-toolbar/graphs/contributors
.. _contributors: https://github.com/django-commons/django-debug-toolbar/graphs/contributors
.. _issue tracker: https://github.com/django-commons/django-debug-toolbar/issues
# Security Policy
## Supported Versions
Only the latest version of django-debug-toolbar [![PyPI version](https://badge.fury.io/py/django-debug-toolbar.svg)](https://pypi.python.org/pypi/django-debug-toolbar) is supported.
## Reporting a Vulnerability
If you think you have found a vulnerability, and even if you are not sure, please [report it to us in private](https://github.com/django-commons/django-debug-toolbar/security/advisories/new). We will review it and get back to you. Please refrain from public discussions of the issue.
......@@ -4,7 +4,7 @@ APP_NAME = "djdt"
# Do not use pkg_resources to find the version but set it here directly!
# see issue #1446
VERSION = "4.4.6"
VERSION = "5.0.0"
# Code that discovers files or modules in INSTALLED_APPS imports this module.
urls = "debug_toolbar.urls", APP_NAME
try:
from django.contrib.auth.decorators import login_not_required
except ImportError:
# For Django < 5.1, copy the current Django implementation
def login_not_required(view_func):
"""
Decorator for views that allows access to unauthenticated requests.
"""
view_func.login_required = False
return view_func
from typing import Any, List, NamedTuple, Optional, Tuple
from __future__ import annotations
from typing import Any, NamedTuple, Optional
from django import template as dj_template
......@@ -12,7 +14,7 @@ class InspectStack(NamedTuple):
index: int
TidyStackTrace = List[Tuple[str, int, str, str, Optional[Any]]]
TidyStackTrace = list[tuple[str, int, str, str, Optional[Any]]]
class RenderContext(dj_template.context.RenderContext):
......
File added
This diff is collapsed.
No preview for this file type
......@@ -3,38 +3,61 @@
#
#
# Translators:
# Libre El Chaval <el.libre@gmail.com>, 2013
# el_libre como el chaval <el.libre@gmail.com>, 2013
msgid ""
msgstr ""
"Project-Id-Version: Django Debug Toolbar\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-01-20 17:23+0100\n"
"PO-Revision-Date: 2014-04-25 19:53+0000\n"
"Last-Translator: Aymeric Augustin <aymeric.augustin@m4x.org>\n"
"Language-Team: Catalan (http://www.transifex.com/projects/p/django-debug-"
"toolbar/language/ca/)\n"
"Language: ca\n"
"POT-Creation-Date: 2024-08-06 07:12-0500\n"
"PO-Revision-Date: 2010-11-30 00:00+0000\n"
"Last-Translator: el_libre como el chaval <el.libre@gmail.com>, 2013\n"
"Language-Team: Catalan (http://app.transifex.com/django-debug-toolbar/django-debug-toolbar/language/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ca\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: apps.py:15
#: apps.py:18
msgid "Debug Toolbar"
msgstr ""
#: panels/cache.py:180
#: panels/alerts.py:67
#, python-brace-format
msgid ""
"Form with id \"{form_id}\" contains file input, but does not have the "
"attribute enctype=\"multipart/form-data\"."
msgstr ""
#: panels/alerts.py:70
msgid ""
"Form contains file input, but does not have the attribute "
"enctype=\"multipart/form-data\"."
msgstr ""
#: panels/alerts.py:73
#, python-brace-format
msgid ""
"Input element references form with id \"{form_id}\", but the form does not "
"have the attribute enctype=\"multipart/form-data\"."
msgstr ""
#: panels/alerts.py:77
msgid "Alerts"
msgstr ""
#: panels/cache.py:168
msgid "Cache"
msgstr "Caxè"
#: panels/cache.py:186
#: panels/cache.py:174
#, python-format
msgid "%(cache_calls)d call in %(time).2fms"
msgid_plural "%(cache_calls)d calls in %(time).2fms"
msgstr[0] ""
msgstr[1] ""
#: panels/cache.py:195
#: panels/cache.py:183
#, python-format
msgid "Cache calls from %(count)d backend"
msgid_plural "Cache calls from %(count)d backends"
......@@ -45,7 +68,7 @@ msgstr[1] ""
msgid "Headers"
msgstr "Encapçalaments"
#: panels/history/panel.py:18 panels/history/panel.py:19
#: panels/history/panel.py:19 panels/history/panel.py:20
msgid "History"
msgstr ""
......@@ -53,7 +76,7 @@ msgstr ""
msgid "Profiling"
msgstr ""
#: panels/redirects.py:14
#: panels/redirects.py:17
msgid "Intercept redirects"
msgstr ""
......@@ -61,11 +84,11 @@ msgstr ""
msgid "Request"
msgstr "Demanar"
#: panels/request.py:36
#: panels/request.py:38
msgid "<no view>"
msgstr ""
#: panels/request.py:53
#: panels/request.py:55
msgid "<unavailable>"
msgstr ""
......@@ -74,10 +97,9 @@ msgid "Settings"
msgstr "Configuració"
#: panels/settings.py:20
#, fuzzy, python-format
#| msgid "Settings"
#, python-format
msgid "Settings from %s"
msgstr "Configuració"
msgstr ""
#: panels/signals.py:57
#, python-format
......@@ -97,151 +119,151 @@ msgstr[1] ""
msgid "Signals"
msgstr "Senyals"
#: panels/sql/panel.py:23
msgid "Autocommit"
msgstr ""
#: panels/sql/panel.py:24
#: panels/sql/panel.py:30 panels/sql/panel.py:41
msgid "Read uncommitted"
msgstr ""
#: panels/sql/panel.py:25
#: panels/sql/panel.py:31 panels/sql/panel.py:43
msgid "Read committed"
msgstr ""
#: panels/sql/panel.py:26
#: panels/sql/panel.py:32 panels/sql/panel.py:45
msgid "Repeatable read"
msgstr ""
#: panels/sql/panel.py:27
#: panels/sql/panel.py:33 panels/sql/panel.py:47
msgid "Serializable"
msgstr "Seriable"
#: panels/sql/panel.py:39
msgid "Autocommit"
msgstr ""
#: panels/sql/panel.py:61 panels/sql/panel.py:71
msgid "Idle"
msgstr ""
#: panels/sql/panel.py:40
#: panels/sql/panel.py:62 panels/sql/panel.py:72
msgid "Active"
msgstr "Actiu"
#: panels/sql/panel.py:41
#: panels/sql/panel.py:63 panels/sql/panel.py:73
msgid "In transaction"
msgstr "En transacció"
#: panels/sql/panel.py:42
#: panels/sql/panel.py:64 panels/sql/panel.py:74
msgid "In error"
msgstr ""
#: panels/sql/panel.py:43
#: panels/sql/panel.py:65 panels/sql/panel.py:75
msgid "Unknown"
msgstr "Desconegut"
#: panels/sql/panel.py:130
#: panels/sql/panel.py:162
msgid "SQL"
msgstr "SQL"
#: panels/sql/panel.py:135
#: panels/sql/panel.py:168
#, python-format
msgid "%(query_count)d query in %(sql_time).2fms"
msgid_plural "%(query_count)d queries in %(sql_time).2fms"
msgstr[0] ""
msgstr[1] ""
#: panels/sql/panel.py:147
#: panels/sql/panel.py:180
#, python-format
msgid "SQL queries from %(count)d connection"
msgid_plural "SQL queries from %(count)d connections"
msgstr[0] ""
msgstr[1] ""
#: panels/staticfiles.py:84
#: panels/staticfiles.py:82
#, python-format
msgid "Static files (%(num_found)s found, %(num_used)s used)"
msgstr ""
#: panels/staticfiles.py:105
#: panels/staticfiles.py:103
msgid "Static files"
msgstr ""
#: panels/staticfiles.py:111
#: panels/staticfiles.py:109
#, python-format
msgid "%(num_used)s file used"
msgid_plural "%(num_used)s files used"
msgstr[0] ""
msgstr[1] ""
#: panels/templates/panel.py:143
#: panels/templates/panel.py:101
msgid "Templates"
msgstr "Plantilles"
#: panels/templates/panel.py:148
#: panels/templates/panel.py:106
#, python-format
msgid "Templates (%(num_templates)s rendered)"
msgstr ""
#: panels/templates/panel.py:180
#: panels/templates/panel.py:195
msgid "No origin"
msgstr ""
#: panels/timer.py:25
#: panels/timer.py:27
#, python-format
msgid "CPU: %(cum)0.2fms (%(total)0.2fms)"
msgstr ""
#: panels/timer.py:30
#: panels/timer.py:32
#, python-format
msgid "Total: %0.2fms"
msgstr "Total: %0.2fms"
#: panels/timer.py:36 templates/debug_toolbar/panels/history.html:9
#: panels/timer.py:38 templates/debug_toolbar/panels/history.html:9
#: templates/debug_toolbar/panels/sql_explain.html:11
#: templates/debug_toolbar/panels/sql_profile.html:12
#: templates/debug_toolbar/panels/sql_select.html:11
msgid "Time"
msgstr "Hora"
#: panels/timer.py:44
#: panels/timer.py:46
msgid "User CPU time"
msgstr ""
#: panels/timer.py:44
#: panels/timer.py:46
#, python-format
msgid "%(utime)0.3f msec"
msgstr ""
#: panels/timer.py:45
#: panels/timer.py:47
msgid "System CPU time"
msgstr ""
#: panels/timer.py:45
#: panels/timer.py:47
#, python-format
msgid "%(stime)0.3f msec"
msgstr ""
#: panels/timer.py:46
#: panels/timer.py:48
msgid "Total CPU time"
msgstr ""
#: panels/timer.py:46
#: panels/timer.py:48
#, python-format
msgid "%(total)0.3f msec"
msgstr ""
#: panels/timer.py:47
#: panels/timer.py:49
msgid "Elapsed time"
msgstr "Temps emprat"
#: panels/timer.py:47
#: panels/timer.py:49
#, python-format
msgid "%(total_time)0.3f msec"
msgstr ""
#: panels/timer.py:49
#: panels/timer.py:51
msgid "Context switches"
msgstr ""
#: panels/timer.py:50
#: panels/timer.py:52
#, python-format
msgid "%(vcsw)d voluntary, %(ivcsw)d involuntary"
msgstr ""
......@@ -250,15 +272,19 @@ msgstr ""
msgid "Versions"
msgstr "Versions"
#: templates/debug_toolbar/base.html:22
#: templates/debug_toolbar/base.html:23
msgid "Hide toolbar"
msgstr "Amagar barra d'eina"
#: templates/debug_toolbar/base.html:22
#: templates/debug_toolbar/base.html:23
msgid "Hide"
msgstr "Amagar"
#: templates/debug_toolbar/base.html:29
#: templates/debug_toolbar/base.html:25 templates/debug_toolbar/base.html:26
msgid "Toggle Theme"
msgstr ""
#: templates/debug_toolbar/base.html:35
msgid "Show toolbar"
msgstr "Mostrar barra d'eines"
......@@ -270,6 +296,14 @@ msgstr ""
msgid "Enable for next and successive requests"
msgstr ""
#: templates/debug_toolbar/panels/alerts.html:4
msgid "Alerts found"
msgstr ""
#: templates/debug_toolbar/panels/alerts.html:11
msgid "No alerts found"
msgstr ""
#: templates/debug_toolbar/panels/cache.html:2
msgid "Summary"
msgstr "Resum"
......@@ -365,10 +399,8 @@ msgid "Path"
msgstr ""
#: templates/debug_toolbar/panels/history.html:12
#, fuzzy
#| msgid "Variable"
msgid "Request Variables"
msgstr "Variable"
msgstr ""
#: templates/debug_toolbar/panels/history.html:13
msgid "Status"
......
No preview for this file type
......@@ -3,59 +3,87 @@
#
#
# Translators:
# Vlada Macek <macek@sandbox.cz>, 2013
# Josef Kolář <mail@josefkolar.cz>, 2020
# kuboja, 2024
# Vláďa Macek <macek@sandbox.cz>, 2013-2014
# Vláďa Macek <macek@sandbox.cz>, 2015,2021
msgid ""
msgstr ""
"Project-Id-Version: Django Debug Toolbar\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-01-20 17:23+0100\n"
"PO-Revision-Date: 2014-04-25 19:53+0000\n"
"Last-Translator: Aymeric Augustin <aymeric.augustin@m4x.org>\n"
"Language-Team: Czech (http://www.transifex.com/projects/p/django-debug-"
"toolbar/language/cs/)\n"
"Language: cs\n"
"POT-Creation-Date: 2024-08-06 07:12-0500\n"
"PO-Revision-Date: 2010-11-30 00:00+0000\n"
"Last-Translator: kuboja, 2024\n"
"Language-Team: Czech (http://app.transifex.com/django-debug-toolbar/django-debug-toolbar/language/cs/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"Language: cs\n"
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
#: apps.py:15
#: apps.py:18
msgid "Debug Toolbar"
msgstr "Debug Toolbar"
#: panels/alerts.py:67
#, python-brace-format
msgid ""
"Form with id \"{form_id}\" contains file input, but does not have the "
"attribute enctype=\"multipart/form-data\"."
msgstr ""
#: panels/alerts.py:70
msgid ""
"Form contains file input, but does not have the attribute "
"enctype=\"multipart/form-data\"."
msgstr ""
#: panels/cache.py:180
#: panels/alerts.py:73
#, python-brace-format
msgid ""
"Input element references form with id \"{form_id}\", but the form does not "
"have the attribute enctype=\"multipart/form-data\"."
msgstr ""
#: panels/alerts.py:77
msgid "Alerts"
msgstr ""
#: panels/cache.py:168
msgid "Cache"
msgstr "Mezipaměť"
#: panels/cache.py:186
#: panels/cache.py:174
#, python-format
msgid "%(cache_calls)d call in %(time).2fms"
msgid_plural "%(cache_calls)d calls in %(time).2fms"
msgstr[0] "%(cache_calls)d volání během %(time).2fms"
msgstr[1] "%(cache_calls)d volání během %(time).2fms"
msgstr[2] "%(cache_calls)d volání během %(time).2fms"
msgstr[3] "%(cache_calls)d volání během %(time).2fms"
#: panels/cache.py:195
#: panels/cache.py:183
#, python-format
msgid "Cache calls from %(count)d backend"
msgid_plural "Cache calls from %(count)d backends"
msgstr[0] "Volání mezipaměti z %(count)d backendu"
msgstr[1] "Volání mezipaměti z %(count)d backendů"
msgstr[2] "Volání mezipaměti z %(count)d backendů"
msgstr[3] "Volání mezipaměti z %(count)d backendů"
#: panels/headers.py:31
msgid "Headers"
msgstr "Záhlaví"
msgstr "Hlavičky"
#: panels/history/panel.py:18 panels/history/panel.py:19
#: panels/history/panel.py:19 panels/history/panel.py:20
msgid "History"
msgstr ""
msgstr "Historie"
#: panels/profiling.py:140
msgid "Profiling"
msgstr "Profilování"
#: panels/redirects.py:14
#: panels/redirects.py:17
msgid "Intercept redirects"
msgstr "Zachycení přesměrování"
......@@ -63,23 +91,22 @@ msgstr "Zachycení přesměrování"
msgid "Request"
msgstr "Požadavek"
#: panels/request.py:36
#: panels/request.py:38
msgid "<no view>"
msgstr "<žádný pohled>"
#: panels/request.py:53
#: panels/request.py:55
msgid "<unavailable>"
msgstr "<není k dispozici>"
#: panels/settings.py:17
msgid "Settings"
msgstr "Settings"
msgstr "Nastavení"
#: panels/settings.py:20
#, fuzzy, python-format
#| msgid "Settings from <code>%s</code>"
#, python-format
msgid "Settings from %s"
msgstr "Nastavení z modulu <code>%s</code>"
msgstr ""
#: panels/signals.py:57
#, python-format
......@@ -88,6 +115,7 @@ msgid_plural "%(num_receivers)d receivers of 1 signal"
msgstr[0] "%(num_receivers)d příjemce 1 signálu"
msgstr[1] "%(num_receivers)d příjemci 1 signálu"
msgstr[2] "%(num_receivers)d příjemců 1 signálu"
msgstr[3] "%(num_receivers)d příjemců 1 signálu"
#: panels/signals.py:62
#, python-format
......@@ -96,161 +124,163 @@ msgid_plural "%(num_receivers)d receivers of %(num_signals)d signals"
msgstr[0] "%(num_receivers)d příjemce %(num_signals)d signálů"
msgstr[1] "%(num_receivers)d příjemci %(num_signals)d signálů"
msgstr[2] "%(num_receivers)d příjemců %(num_signals)d signálů"
msgstr[3] "%(num_receivers)d příjemců %(num_signals)d signálů"
#: panels/signals.py:67
msgid "Signals"
msgstr "Signály"
#: panels/sql/panel.py:23
msgid "Autocommit"
msgstr "Autocommit"
#: panels/sql/panel.py:24
#: panels/sql/panel.py:30 panels/sql/panel.py:41
msgid "Read uncommitted"
msgstr "Read uncommitted"
#: panels/sql/panel.py:25
#: panels/sql/panel.py:31 panels/sql/panel.py:43
msgid "Read committed"
msgstr "Read committed"
#: panels/sql/panel.py:26
#: panels/sql/panel.py:32 panels/sql/panel.py:45
msgid "Repeatable read"
msgstr "Repeatable read"
#: panels/sql/panel.py:27
#: panels/sql/panel.py:33 panels/sql/panel.py:47
msgid "Serializable"
msgstr "Serializable"
#: panels/sql/panel.py:39
msgid "Autocommit"
msgstr "Autocommit"
#: panels/sql/panel.py:61 panels/sql/panel.py:71
msgid "Idle"
msgstr "V klidu (idle)"
#: panels/sql/panel.py:40
#: panels/sql/panel.py:62 panels/sql/panel.py:72
msgid "Active"
msgstr "Aktivní"
#: panels/sql/panel.py:41
#: panels/sql/panel.py:63 panels/sql/panel.py:73
msgid "In transaction"
msgstr "Uvnitř transakce"
#: panels/sql/panel.py:42
#: panels/sql/panel.py:64 panels/sql/panel.py:74
msgid "In error"
msgstr "V chybovém stavu"
#: panels/sql/panel.py:43
#: panels/sql/panel.py:65 panels/sql/panel.py:75
msgid "Unknown"
msgstr "Neznámé"
#: panels/sql/panel.py:130
#: panels/sql/panel.py:162
msgid "SQL"
msgstr "SQL"
#: panels/sql/panel.py:135
#, fuzzy, python-format
#| msgid "%(cache_calls)d call in %(time).2fms"
#| msgid_plural "%(cache_calls)d calls in %(time).2fms"
#: panels/sql/panel.py:168
#, python-format
msgid "%(query_count)d query in %(sql_time).2fms"
msgid_plural "%(query_count)d queries in %(sql_time).2fms"
msgstr[0] "%(cache_calls)d volání během %(time).2fms"
msgstr[1] "%(cache_calls)d volání během %(time).2fms"
msgstr[2] "%(cache_calls)d volání během %(time).2fms"
msgstr[0] "%(query_count)ddotaz během %(sql_time).2f ms"
msgstr[1] "%(query_count)d dotazy během %(sql_time).2f ms"
msgstr[2] "%(query_count)d dotazů během %(sql_time).2f ms"
msgstr[3] "%(query_count)d dotazů během %(sql_time).2f ms"
#: panels/sql/panel.py:147
#: panels/sql/panel.py:180
#, python-format
msgid "SQL queries from %(count)d connection"
msgid_plural "SQL queries from %(count)d connections"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
msgstr[0] "SQL dotazy z %(count)d spojení"
msgstr[1] "SQL dotazy ze %(count)d spojení"
msgstr[2] "SQL dotazy z %(count)d spojení"
msgstr[3] "SQL dotazy z %(count)d spojení"
#: panels/staticfiles.py:84
#: panels/staticfiles.py:82
#, python-format
msgid "Static files (%(num_found)s found, %(num_used)s used)"
msgstr "Statické soubory (nalezeno: %(num_found)s, použito: %(num_used)s)"
#: panels/staticfiles.py:105
#: panels/staticfiles.py:103
msgid "Static files"
msgstr "Statické soubory"
#: panels/staticfiles.py:111
#: panels/staticfiles.py:109
#, python-format
msgid "%(num_used)s file used"
msgid_plural "%(num_used)s files used"
msgstr[0] "%(num_used)s soubor použit"
msgstr[1] "%(num_used)s soubory použity"
msgstr[2] "%(num_used)s souborů použito"
msgstr[3] "%(num_used)s souborů použito"
#: panels/templates/panel.py:143
#: panels/templates/panel.py:101
msgid "Templates"
msgstr "Šablony"
#: panels/templates/panel.py:148
#: panels/templates/panel.py:106
#, python-format
msgid "Templates (%(num_templates)s rendered)"
msgstr "Šablony (renderovaných: %(num_templates)s)"
#: panels/templates/panel.py:180
#: panels/templates/panel.py:195
msgid "No origin"
msgstr ""
msgstr "Zdroj chybí"
#: panels/timer.py:25
#: panels/timer.py:27
#, python-format
msgid "CPU: %(cum)0.2fms (%(total)0.2fms)"
msgstr "CPU: %(cum)0.2fms (%(total)0.2fms)"
#: panels/timer.py:30
#: panels/timer.py:32
#, python-format
msgid "Total: %0.2fms"
msgstr "Celkem: %0.2fms"
#: panels/timer.py:36 templates/debug_toolbar/panels/history.html:9
#: panels/timer.py:38 templates/debug_toolbar/panels/history.html:9
#: templates/debug_toolbar/panels/sql_explain.html:11
#: templates/debug_toolbar/panels/sql_profile.html:12
#: templates/debug_toolbar/panels/sql_select.html:11
msgid "Time"
msgstr "Čas"
#: panels/timer.py:44
#: panels/timer.py:46
msgid "User CPU time"
msgstr "Uživatelský čas CPU"
#: panels/timer.py:44
#: panels/timer.py:46
#, python-format
msgid "%(utime)0.3f msec"
msgstr "%(utime)0.3f msec"
#: panels/timer.py:45
#: panels/timer.py:47
msgid "System CPU time"
msgstr "Systémový čas CPU"
#: panels/timer.py:45
#: panels/timer.py:47
#, python-format
msgid "%(stime)0.3f msec"
msgstr "%(stime)0.3f msec"
#: panels/timer.py:46
#: panels/timer.py:48
msgid "Total CPU time"
msgstr "Celkový čas CPU"
#: panels/timer.py:46
#: panels/timer.py:48
#, python-format
msgid "%(total)0.3f msec"
msgstr "%(total)0.3f msec"
#: panels/timer.py:47
#: panels/timer.py:49
msgid "Elapsed time"
msgstr "Uplynulý čas"
#: panels/timer.py:47
#: panels/timer.py:49
#, python-format
msgid "%(total_time)0.3f msec"
msgstr "%(total_time)0.3f msec"
#: panels/timer.py:49
#: panels/timer.py:51
msgid "Context switches"
msgstr "Přepnutí kontextu"
#: panels/timer.py:50
#: panels/timer.py:52
#, python-format
msgid "%(vcsw)d voluntary, %(ivcsw)d involuntary"
msgstr "%(vcsw)d dobrovolně, %(ivcsw)d nedobrovolně"
......@@ -259,15 +289,19 @@ msgstr "%(vcsw)d dobrovolně, %(ivcsw)d nedobrovolně"
msgid "Versions"
msgstr "Verze"
#: templates/debug_toolbar/base.html:22
#: templates/debug_toolbar/base.html:23
msgid "Hide toolbar"
msgstr "Skrýt lištu"
#: templates/debug_toolbar/base.html:22
#: templates/debug_toolbar/base.html:23
msgid "Hide"
msgstr "Skrýt"
#: templates/debug_toolbar/base.html:29
#: templates/debug_toolbar/base.html:25 templates/debug_toolbar/base.html:26
msgid "Toggle Theme"
msgstr ""
#: templates/debug_toolbar/base.html:35
msgid "Show toolbar"
msgstr "Zobrazit lištu"
......@@ -279,6 +313,14 @@ msgstr "Vypnout pro následné požadavky"
msgid "Enable for next and successive requests"
msgstr "Zapnout pro následné požadavky"
#: templates/debug_toolbar/panels/alerts.html:4
msgid "Alerts found"
msgstr ""
#: templates/debug_toolbar/panels/alerts.html:11
msgid "No alerts found"
msgstr ""
#: templates/debug_toolbar/panels/cache.html:2
msgid "Summary"
msgstr "Souhrn"
......@@ -362,13 +404,11 @@ msgstr "Prostředí WSGI"
msgid ""
"Since the WSGI environ inherits the environment of the server, only a "
"significant subset is shown below."
msgstr ""
"Níže je zobrazena pouze podstatná část proměnných prostředí, protože WSGI je "
"dědí od serveru."
msgstr "Níže je zobrazena pouze podstatná část proměnných prostředí, protože WSGI je dědí od serveru."
#: templates/debug_toolbar/panels/history.html:10
msgid "Method"
msgstr ""
msgstr "Metoda"
#: templates/debug_toolbar/panels/history.html:11
#: templates/debug_toolbar/panels/staticfiles.html:43
......@@ -376,14 +416,12 @@ msgid "Path"
msgstr "Cesta"
#: templates/debug_toolbar/panels/history.html:12
#, fuzzy
#| msgid "Request headers"
msgid "Request Variables"
msgstr "Záhlaví požadavku"
msgstr "Proměnné požadavku"
#: templates/debug_toolbar/panels/history.html:13
msgid "Status"
msgstr ""
msgstr "Stav"
#: templates/debug_toolbar/panels/history.html:14
#: templates/debug_toolbar/panels/sql.html:37
......@@ -479,20 +517,21 @@ msgid_plural "%(num)s queries"
msgstr[0] "%(num)s dotaz"
msgstr[1] "%(num)s dotazy"
msgstr[2] "%(num)s dotazů"
msgstr[3] "%(num)s dotazů"
#: templates/debug_toolbar/panels/sql.html:8
#, python-format
msgid ""
"including <abbr title=\"Similar queries are queries with the same SQL, but "
"potentially different parameters.\">%(count)s similar</abbr>"
msgstr ""
msgstr "včetně <abbr title=\"Podobné dotazy jsou dotazy se stejným SQL, ale potenciálně odlišnými parametry.\">%(count)s podobných</abbr>"
#: templates/debug_toolbar/panels/sql.html:12
#, python-format
msgid ""
"and <abbr title=\"Duplicate queries are identical to each other: they "
"execute exactly the same SQL and parameters.\">%(dupes)s duplicates</abbr>"
msgstr ""
msgstr "a <abbr title=\"Duplicitní dotazy jsou navzájem identické: provádějí přesně stejné SQL a parametry.\">%(dupes)s duplicitních</abbr>"
#: templates/debug_toolbar/panels/sql.html:34
msgid "Query"
......@@ -504,11 +543,9 @@ msgid "Timeline"
msgstr "Časová osa"
#: templates/debug_toolbar/panels/sql.html:52
#, fuzzy, python-format
#| msgid "%(count)s message"
#| msgid_plural "%(count)s messages"
#, python-format
msgid "%(count)s similar queries."
msgstr "%(count)s zpráva"
msgstr "%(count)s podobných dotazů."
#: templates/debug_toolbar/panels/sql.html:58
#, python-format
......@@ -573,6 +610,7 @@ msgid_plural "Static file paths"
msgstr[0] "Cesta ke statickým souborům"
msgstr[1] "Cesty ke statickým souborům"
msgstr[2] "Cesty ke statickým souborům"
msgstr[3] "Cesty ke statickým souborům"
#: templates/debug_toolbar/panels/staticfiles.html:7
#, python-format
......@@ -594,6 +632,7 @@ msgid_plural "Static file apps"
msgstr[0] "Aplikace se statickými soubory"
msgstr[1] "Aplikace se statickými soubory"
msgstr[2] "Aplikace se statickými soubory"
msgstr[3] "Aplikace se statickými soubory"
#: templates/debug_toolbar/panels/staticfiles.html:25
msgid "Static file"
......@@ -601,6 +640,7 @@ msgid_plural "Static files"
msgstr[0] "Statický soubor"
msgstr[1] "Statické soubory"
msgstr[2] "Statické soubory"
msgstr[3] "Statické soubory"
#: templates/debug_toolbar/panels/staticfiles.html:39
#, python-format
......@@ -609,6 +649,7 @@ msgid_plural "%(payload_count)s files"
msgstr[0] "%(payload_count)s soubor"
msgstr[1] "%(payload_count)s soubory"
msgstr[2] "%(payload_count)s souborů"
msgstr[3] "%(payload_count)s souborů"
#: templates/debug_toolbar/panels/staticfiles.html:44
msgid "Location"
......@@ -624,6 +665,7 @@ msgid_plural "Template paths"
msgstr[0] "Cesta k šabloně"
msgstr[1] "Cesty k šablonám"
msgstr[2] "Cesty k šablonám"
msgstr[3] "Cesty k šablonám"
#: templates/debug_toolbar/panels/templates.html:13
msgid "Template"
......@@ -631,6 +673,7 @@ msgid_plural "Templates"
msgstr[0] "Šablona"
msgstr[1] "Šablony"
msgstr[2] "Šablony"
msgstr[3] "Šablony"
#: templates/debug_toolbar/panels/templates.html:22
#: templates/debug_toolbar/panels/templates.html:40
......@@ -643,6 +686,7 @@ msgid_plural "Context processors"
msgstr[0] "Procesor kontextu"
msgstr[1] "Procesory kontextu"
msgstr[2] "Procesory kontextu"
msgstr[3] "Procesory kontextu"
#: templates/debug_toolbar/panels/timer.html:2
msgid "Resource usage"
......@@ -666,7 +710,7 @@ msgstr "Milisekund od začátku navigace (+délka)"
#: templates/debug_toolbar/panels/versions.html:10
msgid "Package"
msgstr ""
msgstr "Balíček"
#: templates/debug_toolbar/panels/versions.html:11
msgid "Name"
......@@ -685,15 +729,10 @@ msgid ""
"The Django Debug Toolbar has intercepted a redirect to the above URL for "
"debug viewing purposes. You can click the above link to continue with the "
"redirect as normal."
msgstr ""
"Aplikace Django Debug Toolbar zachytila přesměrování na výše uvedenou adresu "
"URL za účelem ladicího zobrazení. Chcete-li přesměrování dokončit, klepněte "
"na odkaz výše."
msgstr "Aplikace Django Debug Toolbar zachytila přesměrování na výše uvedenou adresu URL za účelem ladicího zobrazení. Chcete-li přesměrování dokončit, klepněte na odkaz výše."
#: views.py:16
msgid ""
"Data for this panel isn't available anymore. Please reload the page and "
"retry."
msgstr ""
"Data pro tento panel již nejsou k dispozici. Obnovte stránku a zkuste to "
"znova."
msgstr "Data pro tento panel již nejsou k dispozici. Obnovte stránku a zkuste to znova."
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment