'srt'
Request Method: | GET |
---|---|
Request URL: | http://translate.getmonero.org/browse/community/sound-money-safe-mode-subtitles/es/?q=&sort_by=source |
Django Version: | 4.2.5 |
Exception Type: | KeyError |
Exception Value: | 'srt' |
Exception Location: | /var/www/weblate/lib/python3.8/site-packages/weblate/utils/classloader.py, line 73, in __getitem__ |
Raised during: | weblate.trans.views.edit.browse |
Python Executable: | /var/www/weblate/bin/python3.8 |
Python Version: | 3.8.10 |
Python Path: | ['/home/weblate', '/var/www/weblate/lib/python3.8/site-packages/git/ext/gitdb', '/var/www/weblate/bin', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/var/www/weblate/lib/python3.8/site-packages'] |
Server time: | Thu, 18 Apr 2024 16:47:50 +0000 |
In template /var/www/weblate/lib/python3.8/site-packages/weblate/templates/browse.html
, error at line 39
29 | {% block content %} |
---|---|
30 | |
31 | {% if object.component.slug == "-" %} |
32 | {% for component in project.component_set.all %} |
33 | {% include "snippets/component/state.html" with object=component %} |
34 | {% endfor %} |
35 | {% else %} |
36 | {% include "snippets/component/state.html" with object=object.component %} |
37 | {% endif %} |
38 | |
39 | {% perm 'unit.add' object as user_can_add_unit %} |
40 | {% if user_can_add_unit %} |
41 | <a class="btn btn-link green pull-right flip" href="{{ object.get_absolute_url }}#new">{% icon "plus-circle.svg" %} {{ object.component.get_add_label }}</a> |
42 | {% endif %} |
43 | |
44 | <form method="GET" class="result-page-form"> |
45 | {% crispy search_form %} |
46 | </form> |
47 | |
48 | {% if not units %} |
49 | <em>{% trans "No strings found!" %}</em> |
/var/www/weblate/lib/python3.8/site-packages/django/core/handlers/exception.py
, line 55, in inner
return inner
else:
@wraps(get_response)
def inner(request):
try:
response = get_response(request)…
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | KeyError('srt') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f700cf14fa0>> |
request | <WSGIRequest: GET '/browse/community/sound-money-safe-mode-subtitles/es/?q=&sort_by=source'> |
/var/www/weblate/lib/python3.8/site-packages/django/core/handlers/base.py
, line 197, in _get_response
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is an asynchronous view, run it in a subthread.
if iscoroutinefunction(wrapped_callback):
wrapped_callback = async_to_sync(wrapped_callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
callback | <function browse at 0x7f7001a19160> |
callback_args | () |
callback_kwargs | {'component': 'sound-money-safe-mode-subtitles', 'lang': 'es', 'project': 'community'} |
middleware_method | <bound method RequireLoginMiddleware.process_view of <weblate.accounts.middleware.RequireLoginMiddleware object at 0x7f700cf237f0>> |
request | <WSGIRequest: GET '/browse/community/sound-money-safe-mode-subtitles/es/?q=&sort_by=source'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f700cf14fa0> |
wrapped_callback | <function browse at 0x7f7001a19160> |
/var/www/weblate/lib/python3.8/site-packages/weblate/trans/views/edit.py
, line 1026, in browse
base_unit_url = "{}?{}&offset=".format(
reverse("browse", kwargs=obj.get_reverse_url_kwargs()),
search_result["url"],
)
num_results = ceil(len(search_result["ids"]) / page)
sort = get_sort_name(request, obj)
return render(…
request,
"browse.html",
{
"object": obj,
"project": project,
"units": units,
Variable | Value |
---|---|
base_unit_url | '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=' |
component | 'sound-money-safe-mode-subtitles' |
lang | 'es' |
num_results | 100 |
obj | <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish> |
offset | 1 |
page | 20 |
project | <Project: Community> |
request | <WSGIRequest: GET '/browse/community/sound-money-safe-mode-subtitles/es/?q=&sort_by=source'> |
search_result | {'form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'ids': [142027, 142026, 142048, 141219, 141401, 141820, 141067, 142025, 140788, 141664, 141658, 142497, 140812, 140557, 141073, 140877, 141014, 141212, 141206, 142430, 140743, 141830, 141395, 142476, 141761, 140921, 142380, 142263, 141636, 141890, 140859, 142158, 141740, 141388, 140702, 142095, 140938, 141555, 142102, 142098, 141795, 141856, 141422, 141420, 141427, 141603, 140998, 140913, 140851, 141255, 141783, 142266, 142480, 141524, 142313, 142132, 142365, 141794, 141714, 140545, 140736, 142329, 141748, 142140, 140823, 142485, 140941, 142412, 142428, 142424, 141865, 142513, 142464, 141789, 141845, 140669, 141496, 141310, 140885, 141178, 141512, 141534, 142429, 140678, 140792, 140729, 141989, 142300, 141091, 141063, 140722, 141786, 142477, 142324, 142186, 140677, 142411, 142503, 140901, 142079, 141262, 141120, 140824, 142115, 141982, 140652, 141346, 141240, 142127, 142139, 140795, 140935, 142087, 141887, 140609, 140909, 141328, 142028, 140618, 141201, 141448, 142023, 140676, 141025, 141343, 142038, 141078, 141337, 140765, 140776, 142285, 142322, 141984, 141592, 140798, 140850, 141454, 142392, 142348, 142124, 140660, 141029, 141710, 140626, 141557, 141826, 140670, 141707, 142066, 142113, 141156, 142344, 140672, 141421, 142317, 141200, 142141, 141043, 141911, 141271, 142305, 141904, 141627, 140632, 141539, 142409, 140727, 141609, 141733, 140741, 141165, 142165, 141163, 141147, 142323, 141158, 141599, 142120, 141760, 141883, 141095, 141922, 140973, 140972, 142152, 142217, 142201, 140768, 142182, 141339, 141313, 141868, 141068, 142206, 142299, 141450, 140653, 141142, 141256, 140981, 140923, 140834, 141161, 141577, 141698, 141087, 141596, 140897, 141379, 141855, 140602, 140668, 141781, 140766, 140929, 142478, 141726, 141942, 141639, 140857, 140828, 140796, 142279, 141115, 140926, 142239, 141674, 141637, 141829, 141293, 141121, 141172, 140843, 141801, 141595, 14… <trimmed 33963 bytes string> |
sort | {'name': 'Source string', 'query': 'source'} |
unit_set | <django.db.models.fields.related_descriptors.create_reverse_many_to_one_manager.<locals>.RelatedManager object at 0x7f6fc3a319a0> |
units | [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>] |
/var/www/weblate/lib/python3.8/site-packages/weblate/trans/util.py
, line 228, in render
using=None,
):
"""Wrapper around Django render to extend context."""
if context is None:
context = {}
if "project" in context and context["project"] is not None:
context["description"] = get_project_description(context["project"])
return django_render(…
request,
template_name=template_name,
context=context,
content_type=content_type,
status=status,
using=using,
Variable | Value |
---|---|
content_type | None |
context | {'description': 'Community is being translated into 9 languages using Weblate. ' 'Join the translation or start translating your own project.', 'filter_count': 100, 'filter_name': 'All strings', 'filter_pos': 1, 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'prev_unit_url': None, 'project': <Project: Community>, 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'search_query': '', 'search_url': 'sort_by=source', 'sort_name': 'Source string', 'sort_query': 'source', 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>]} |
request | <WSGIRequest: GET '/browse/community/sound-money-safe-mode-subtitles/es/?q=&sort_by=source'> |
status | None |
template_name | 'browse.html' |
using | None |
/var/www/weblate/lib/python3.8/site-packages/django/shortcuts.py
, line 24, in render
def render(
request, template_name, context=None, content_type=None, status=None, using=None
):
"""
Return an HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)…
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'description': 'Community is being translated into 9 languages using Weblate. ' 'Join the translation or start translating your own project.', 'filter_count': 100, 'filter_name': 'All strings', 'filter_pos': 1, 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'prev_unit_url': None, 'project': <Project: Community>, 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'search_query': '', 'search_url': 'sort_by=source', 'sort_name': 'Source string', 'sort_query': 'source', 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>]} |
request | <WSGIRequest: GET '/browse/community/sound-money-safe-mode-subtitles/es/?q=&sort_by=source'> |
status | None |
template_name | 'browse.html' |
using | None |
/var/www/weblate/lib/python3.8/site-packages/django/template/loader.py
, line 62, in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)…
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'description': 'Community is being translated into 9 languages using Weblate. ' 'Join the translation or start translating your own project.', 'filter_count': 100, 'filter_name': 'All strings', 'filter_pos': 1, 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'prev_unit_url': None, 'project': <Project: Community>, 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'search_query': '', 'search_url': 'sort_by=source', 'sort_name': 'Source string', 'sort_query': 'source', 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>]} |
request | <WSGIRequest: GET '/browse/community/sound-money-safe-mode-subtitles/es/?q=&sort_by=source'> |
template | <django.template.backends.django.Template object at 0x7f6fcca20160> |
template_name | 'browse.html' |
using | None |
/var/www/weblate/lib/python3.8/site-packages/django/template/backends/django.py
, line 61, in render
return self.template.origin
def render(self, context=None, request=None):
context = make_context(
context, request, autoescape=self.backend.engine.autoescape
)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
request | <WSGIRequest: GET '/browse/community/sound-money-safe-mode-subtitles/es/?q=&sort_by=source'> |
self | <django.template.backends.django.Template object at 0x7f6fcca20160> |
/var/www/weblate/lib/python3.8/site-packages/django/template/base.py
, line 175, in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
self | <Template template_string="{% extends "base.htm..."> |
/var/www/weblate/lib/python3.8/site-packages/django/template/base.py
, line 167, in _render
def __repr__(self):
return '<%s template_string="%s...">' % (
self.__class__.__qualname__,
self.source[:20].replace("\n", ""),
)
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
self | <Template template_string="{% extends "base.htm..."> |
/var/www/weblate/lib/python3.8/site-packages/django/template/base.py
, line 1005, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
self | [<ExtendsNode: extends "base.html">] |
/var/www/weblate/lib/python3.8/site-packages/django/template/base.py
, line 1005, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7f6fc3f1a0d0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
node | <ExtendsNode: extends "base.html"> |
/var/www/weblate/lib/python3.8/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
self | <ExtendsNode: extends "base.html"> |
/var/www/weblate/lib/python3.8/site-packages/django/template/loader_tags.py
, line 157, in render
}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)…
class IncludeNode(Node):
context_key = "__include_context"
def __init__(
Variable | Value |
---|---|
block_context | <BlockContext: blocks=defaultdict(<class 'list'>, {'extra_script': [<Block Node: extra_script. Contents: [<TextNode: '\n'>]>, <Block Node: extra_script. Contents: [<TextNode: '\n'>, <compressor.templatetags.compress.CompressorNode object at 0x7f6ff9e2ecd0>, <TextNode: '\n'>]>], 'breadcrumbs': [<Block Node: breadcrumbs. Contents: [<TextNode: '\n<li><a href="'>, <URLNode view_name=''home'' args=[] kwargs={} as=None>, <TextNode: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7f6ffabbe220>, <TextNode: '</a></li>\n'>]>, <Block Node: breadcrumbs. Contents: [<TextNode: '\n<li><a href="'>, <Variable Node: project.get_absolute_url>, <TextNode: '">'>, <Variable Node: project>, <TextNode: '</a></li>\n'>, <IfNode>, <TextNode: '\n'>, <IncludeNode: template=<FilterExpression '"snippets/translation-breadcrumb.html"'>>, <TextNode: '\n<li><a href="'>, <URLNode view_name=''browse'' args=[] kwargs={'project': <FilterExpression 'project.slug'>, 'component': <FilterExpression 'object.component.slug'>, 'lang': <FilterExpression 'object.language.code'>} as=None>, <TextNode: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7f6ff9e36580>, <TextNode: '</a></li>\n<a class="pull-'>, <Variable Node: object.get_widgets_url>, <TextNode: '">\n<img src="'>, <URLNode view_name=''widget-image'' args=[] kwargs={'project': <FilterExpression 'project.slug'>, 'component': <FilterExpression 'object.component.slug'>, 'widget': <FilterExpression "'svg'">, 'color': <FilterExpression "'badge'">, 'lang': <FilterExpression 'object.language.code'>, 'extension': <FilterExpression "'svg'">} as=None>, <TextNode: '?native=1" />\n</a>\n'>]>], 'content': [<Block Node: content. Contents: [<TextNode: '\n'>]>], 'extra_meta': [<Block Node: extra_meta. Contents: [<TextNode: '\n'>]>], 'breadcrumbs_container': [<Block Node: breadcrumbs_container. Contents: [<TextNode: '\n<h1>\n<ol class="breadcru'>, <django.template.library.SimpleNode object at 0x7f6ffac3bfd0>, <TextNode: '\n</li>\n'>, <Block Node: breadcrumbs. Contents: [<TextNode: '\n<li><a href="'>, <URLNode view_name=''home'' args=[] kwargs={} as=None>, <TextNode: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7f6ffabbe220>, <TextNode: '</a></li>\n'>]>, <TextNode: '\n</ol>\n<div class="clearf'>]>], 'content_class': [<Block Node: content_class. Contents: []>]})> |
blocks | {'breadcrumbs': <Block Node: breadcrumbs. Contents: [<TextNode: '\n<li><a href="'>, <URLNode view_name=''home'' args=[] kwargs={} as=None>, <TextNode: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7f6ffabbe220>, <TextNode: '</a></li>\n'>]>, 'breadcrumbs_container': <Block Node: breadcrumbs_container. Contents: [<TextNode: '\n<h1>\n<ol class="breadcru'>, <django.template.library.SimpleNode object at 0x7f6ffac3bfd0>, <TextNode: '\n</li>\n'>, <Block Node: breadcrumbs. Contents: [<TextNode: '\n<li><a href="'>, <URLNode view_name=''home'' args=[] kwargs={} as=None>, <TextNode: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7f6ffabbe220>, <TextNode: '</a></li>\n'>]>, <TextNode: '\n</ol>\n<div class="clearf'>]>, 'content': <Block Node: content. Contents: [<TextNode: '\n'>]>, 'content_class': <Block Node: content_class. Contents: []>, 'extra_meta': <Block Node: extra_meta. Contents: [<TextNode: '\n'>]>, 'extra_script': <Block Node: extra_script. Contents: [<TextNode: '\n'>]>} |
compiled_parent | <Template template_string="{% load i18n %}{% l..."> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
node | <django.template.defaulttags.LoadNode object at 0x7f6ffac0ad90> |
self | <ExtendsNode: extends "base.html"> |
/var/www/weblate/lib/python3.8/site-packages/django/template/base.py
, line 167, in _render
def __repr__(self):
return '<%s template_string="%s...">' % (
self.__class__.__qualname__,
self.source[:20].replace("\n", ""),
)
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
self | <Template template_string="{% load i18n %}{% l..."> |
/var/www/weblate/lib/python3.8/site-packages/django/template/base.py
, line 1005, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
self | [<django.template.defaulttags.LoadNode object at 0x7f6ffac0ad90>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f6ffac0ae80>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f6ffac0af40>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f6ffac0e040>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f6ffac0e100>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f6ffac0e1c0>, <TextNode: '\n\n<!DOCTYPE html>\n\n<html '>, <Variable Node: LANGUAGE_CODE>, <TextNode: '" dir="'>, <IfNode>, <TextNode: '">\n <head>\n <meta http-e'>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n <title>'>, <IncludeNode: template=<FilterExpression '"snippets/title.html"'>>, <TextNode: '</title>\n <meta name="de'>, <Variable Node: description>, <TextNode: '" />\n <meta name="twitte'>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <IfNode>, <TextNode: '\n '>, <ForNode: for domain in preconnect_list, tail_len: 3>, <TextNode: '\n\n'>, <IncludeNode: template=<FilterExpression '"snippets/meta-css.html"'>>, <TextNode: '\n\n <script src="'>, <URLNode view_name=''js-catalog'' args=[] kwargs={} as=None>, <TextNode: '" defer></script>\n'>, <compressor.templatetags.compress.CompressorNode object at 0x7f6ffac1bf70>, <TextNode: '\n\n'>, <Block Node: extra_script. Contents: [<TextNode: '\n'>]>, <TextNode: '\n\n <link rel="image_src"'>, StaticNode(varname=None, path=<FilterExpression "'weblate-128.png'">), <TextNode: '"/>\n <link rel="icon" ty'>, StaticNode(varname=None, path=<FilterExpression "'logo-32.png'">), <TextNode: '">\n <link rel="icon" typ'>, StaticNode(varname=None, path=<FilterExpression "'logo-16.png'">), <TextNode: '">\n <link rel="apple-tou'>, StaticNode(varname=None, path=<FilterExpression "'weblate-180.png'">), <TextNode: '"/>\n <link rel="mask-ico'>, StaticNode(varname=None, path=<FilterExpression "'weblate-black.svg'">), <TextNode: '" color="#144d3f">\n <met'>, <Variable Node: extra_html_head|safe>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n <meta name="theme-colo'>, <Variable Node: site_title>, <TextNode: '" />\n <meta property="og'>, <IfNode>, <TextNode: '" />\n <meta property="og'>, <Variable Node: description>, <TextNode: '" />\n\n'>, <Block Node: extra_meta. Contents: [<TextNode: '\n'>]>, <TextNode: '\n\n </head>\n\n <body '>, <IfNode>, <TextNode: '>\n <div id="popup-alerts"'>, <django.templatetags.i18n.TranslateNode object at 0x7f6ffac1e400>, <TextNode: '</span>\n <span cla'>, <IncludeNode: template=<FilterExpression '"snippets/branding.html"'>>, <TextNode: '\n </div>\n\n <!-- Col'>, <django.templatetags.i18n.TranslateNode object at 0x7f6ffac1e550>, <TextNode: '">\n </div>\n <'>, <URLNode view_name=''home'' args=[] kwargs={} as=None>, <TextNode: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7f6ffac1e670>, <TextNode: '</a></li>\n <li cla'>, <django.templatetags.i18n.TranslateNode object at 0x7f6ffac1e700>, <TextNode: ' <b class="caret"></b></a'>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n <li><a href='>, <URLNode view_name=''projects'' args=[] kwargs={} as=None>, <TextNode: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7f6ffac1efd0>, <TextNode: '</a></li>\n </ul>'>, <WithNode>, <TextNode: '\n </ul>\n <ul cl'>, <TextNode: '\n '>, <django.template.library.SimpleNode object at 0x7f6ffac2d3d0>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n '>, <TextNode: '\n <li class="dropd'>, <django.templatetags.i18n.TranslateNode object at 0x7f6ffac3b2b0>, <TextNode: '">\n <span clas'>, <django.template.library.SimpleNode object at 0x7f6ffac3b340>, <TextNode: '</span>\n … <trimmed 6590 bytes string> |
/var/www/weblate/lib/python3.8/site-packages/django/template/base.py
, line 1005, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7f6fc3f1af70> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
node | <Block Node: content. Contents: [<TextNode: '\n'>]> |
/var/www/weblate/lib/python3.8/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
self | <Block Node: content. Contents: [<TextNode: '\n'>]> |
/var/www/weblate/lib/python3.8/site-packages/django/template/loader_tags.py
, line 63, in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context["block"] = block
result = block.nodelist.render(context)…
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, "context"):
Variable | Value |
---|---|
block | <Block Node: content. Contents: [<TextNode: '\n\n'>, <IfNode>, <TextNode: '\n\n'>, <django.template.library.SimpleNode object at 0x7f6ff9e36e80>, <TextNode: '\n'>, <IfNode>, <TextNode: '\n\n<form method="GET" clas'>, <crispy_forms.templatetags.crispy_forms_tags.CrispyFormNode object at 0x7f6ff9e24310>, <TextNode: '\n</form>\n\n'>, <IfNode>, <TextNode: '\n\n'>]> |
block_context | <BlockContext: blocks=defaultdict(<class 'list'>, {'extra_script': [<Block Node: extra_script. Contents: [<TextNode: '\n'>]>, <Block Node: extra_script. Contents: [<TextNode: '\n'>, <compressor.templatetags.compress.CompressorNode object at 0x7f6ff9e2ecd0>, <TextNode: '\n'>]>], 'breadcrumbs': [<Block Node: breadcrumbs. Contents: [<TextNode: '\n<li><a href="'>, <URLNode view_name=''home'' args=[] kwargs={} as=None>, <TextNode: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7f6ffabbe220>, <TextNode: '</a></li>\n'>]>, <Block Node: breadcrumbs. Contents: [<TextNode: '\n<li><a href="'>, <Variable Node: project.get_absolute_url>, <TextNode: '">'>, <Variable Node: project>, <TextNode: '</a></li>\n'>, <IfNode>, <TextNode: '\n'>, <IncludeNode: template=<FilterExpression '"snippets/translation-breadcrumb.html"'>>, <TextNode: '\n<li><a href="'>, <URLNode view_name=''browse'' args=[] kwargs={'project': <FilterExpression 'project.slug'>, 'component': <FilterExpression 'object.component.slug'>, 'lang': <FilterExpression 'object.language.code'>} as=None>, <TextNode: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7f6ff9e36580>, <TextNode: '</a></li>\n<a class="pull-'>, <Variable Node: object.get_widgets_url>, <TextNode: '">\n<img src="'>, <URLNode view_name=''widget-image'' args=[] kwargs={'project': <FilterExpression 'project.slug'>, 'component': <FilterExpression 'object.component.slug'>, 'widget': <FilterExpression "'svg'">, 'color': <FilterExpression "'badge'">, 'lang': <FilterExpression 'object.language.code'>, 'extension': <FilterExpression "'svg'">} as=None>, <TextNode: '?native=1" />\n</a>\n'>]>], 'content': [<Block Node: content. Contents: [<TextNode: '\n'>]>], 'extra_meta': [<Block Node: extra_meta. Contents: [<TextNode: '\n'>]>], 'breadcrumbs_container': [<Block Node: breadcrumbs_container. Contents: [<TextNode: '\n<h1>\n<ol class="breadcru'>, <django.template.library.SimpleNode object at 0x7f6ffac3bfd0>, <TextNode: '\n</li>\n'>, <Block Node: breadcrumbs. Contents: [<TextNode: '\n<li><a href="'>, <URLNode view_name=''home'' args=[] kwargs={} as=None>, <TextNode: '">'>, <django.templatetags.i18n.TranslateNode object at 0x7f6ffabbe220>, <TextNode: '</a></li>\n'>]>, <TextNode: '\n</ol>\n<div class="clearf'>]>], 'content_class': [<Block Node: content_class. Contents: []>]})> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
push | <Block Node: content. Contents: [<TextNode: '\n\n'>, <IfNode>, <TextNode: '\n\n'>, <django.template.library.SimpleNode object at 0x7f6ff9e36e80>, <TextNode: '\n'>, <IfNode>, <TextNode: '\n\n<form method="GET" clas'>, <crispy_forms.templatetags.crispy_forms_tags.CrispyFormNode object at 0x7f6ff9e24310>, <TextNode: '\n</form>\n\n'>, <IfNode>, <TextNode: '\n\n'>]> |
self | <Block Node: content. Contents: [<TextNode: '\n'>]> |
/var/www/weblate/lib/python3.8/site-packages/django/template/base.py
, line 1005, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
self | [<TextNode: '\n\n'>, <IfNode>, <TextNode: '\n\n'>, <django.template.library.SimpleNode object at 0x7f6ff9e36e80>, <TextNode: '\n'>, <IfNode>, <TextNode: '\n\n<form method="GET" clas'>, <crispy_forms.templatetags.crispy_forms_tags.CrispyFormNode object at 0x7f6ff9e24310>, <TextNode: '\n</form>\n\n'>, <IfNode>, <TextNode: '\n\n'>] |
/var/www/weblate/lib/python3.8/site-packages/django/template/base.py
, line 1005, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7f6fc1edb700> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
node | <django.template.library.SimpleNode object at 0x7f6ff9e36e80> |
/var/www/weblate/lib/python3.8/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
self | <django.template.library.SimpleNode object at 0x7f6ff9e36e80> |
/var/www/weblate/lib/python3.8/site-packages/django/template/library.py
, line 237, in render
def __init__(self, func, takes_context, args, kwargs, target_var):
super().__init__(func, takes_context, args, kwargs)
self.target_var = target_var
def render(self, context):
resolved_args, resolved_kwargs = self.get_resolved_arguments(context)
output = self.func(*resolved_args, **resolved_kwargs)…
if self.target_var is not None:
context[self.target_var] = output
return ""
if context.autoescape:
output = conditional_escape(output)
return output
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
resolved_args | [[{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}], 'unit.add', <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>] |
resolved_kwargs | {} |
self | <django.template.library.SimpleNode object at 0x7f6ff9e36e80> |
/var/www/weblate/lib/python3.8/site-packages/weblate/auth/templatetags/permissions.py
, line 12, in perm
from django import template
register = template.Library()
@register.simple_tag(takes_context=True)
def perm(context, permission, obj=None):
return context["user"].has_perm(permission, obj)…
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish>, 'project': <Project: Community>, 'units': [<Unit: 142027: [00:48:18.859-->00:48:22.549] 0.1 through 0.9, 0.01 through 0.09...>, <Unit: 142026: [00:48:16.400-->00:48:18.858] 100 through 900 -- and then going the other way:>, <Unit: 142048: [00:49:00.400-->00:49:02.235] 10 kilobytes per transaction.>, <Unit: 141219: [00:21:56.559-->00:21:59.270] 10-minute interval is 1, on average.>, <Unit: 141401: [00:27:47.988-->00:27:50.487] 10 to the 76th different addresses to choose>, <Unit: 141820: [00:41:33.760-->00:41:35.910] 10x increase in the transactions per day.>, <Unit: 141067: [00:17:12.818-->00:17:14.335] 13 o'clock, 25 o'clock>, <Unit: 142025: [00:48:14.880-->00:48:16.390] 1 through 9, 10 through 90,>, <Unit: 140788: [00:08:13.931-->00:08:16.824] 2008-2009 financial crisis,>, <Unit: 141664: [00:36:39.920-->00:36:41.910] 2014 to the present.>, <Unit: 141658: [00:36:26.480-->00:36:29.174] 2018, it has changed four times.>, <Unit: 142497: [01:02:30.936-->01:02:32.936] 244 thousand dollars.>, <Unit: 140812: [00:09:04.963-->00:09:07.269] 300 million dollars per hour.>, <Unit: 140557: [00:00:34.239-->00:00:35.875] 700 concerts professionally -->, <Unit: 141073: [00:17:22.799-->00:17:24.567] 70-some digit prime number of>, <Unit: 140877: [00:11:14.880-->00:11:16.230] able to balance their budgets,>, <Unit: 141014: [00:15:32.286-->00:15:34.808] able to be traded for fiat currencies,>, <Unit: 141212: [00:21:42.320-->00:21:44.089] A block is not accepted>, <Unit: 141206: [00:21:29.780-->00:21:31.350] A block is simply a list>, <Unit: 142430: [01:00:25.200-->01:00:27.270] about 1/100th of one percent>], 'search_query': '', 'search_url': 'sort_by=source', 'search_form': <PositionSearchForm bound=True, valid=True, fields=(q;sort_by;checksum;offset)>, 'filter_count': 100, 'filter_pos': 1, 'filter_name': 'All strings', 'first_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=1', 'last_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=100', 'next_unit_url': '/browse/community/sound-money-safe-mode-subtitles/es/?sort_by=source&offset=2', 'prev_unit_url': None, 'sort_name': 'Source string', 'sort_query': 'source', 'description': 'Community is being translated into 9 languages using Weblate. Join the translation or start translating your own project.', 'user_can_manage': False}] |
obj | <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish> |
permission | 'unit.add' |
/var/www/weblate/lib/python3.8/site-packages/weblate/auth/models.py
, line 505, in has_perm
# Validate perms
if perm not in SPECIALS and perm not in PERMISSION_NAMES:
raise ValueError(f"Invalid permission: {perm}")
# Special permission functions
if perm in SPECIALS:
return SPECIALS[perm](self, perm, obj)…
# Generic permission
return check_permission(self, perm, obj)
def can_access_project(self, project):
"""Check access to given project."""
Variable | Value |
---|---|
obj | <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish> |
perm | 'unit.add' |
self | <User: Anonymous> |
/var/www/weblate/lib/python3.8/site-packages/weblate/auth/permissions.py
, line 274, in check_unit_add
return check_can_edit(user, permission, obj)
@register_perm("unit.add")
def check_unit_add(user, permission, translation):
component = translation.component
# Check if adding is generally allowed
can_manage = check_manage_units(translation, component)…
if not can_manage:
return can_manage
# Does file format support adding?
if not component.file_format_cls.can_add_unit:
return Denied(gettext("File format does not support this."))
Variable | Value |
---|---|
component | <Component: Community/Sound Money, Safe Mode (subtitles)> |
permission | 'unit.add' |
translation | <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish> |
user | <User: Anonymous> |
/var/www/weblate/lib/python3.8/site-packages/weblate/auth/permissions.py
, line 239, in check_manage_units
def check_manage_units(
translation: Translation, component: Component
) -> PermissionResult:
if not isinstance(component, Component):
return Denied("Invalid scope")
source = translation.is_source
template = component.has_template()…
# Add only to source in monolingual
if not source and template:
return Denied(gettext("Add the string to the source language instead."))
# Check if adding is generally allowed
if not component.manage_units or (template and not component.edit_template):
return Denied(
Variable | Value |
---|---|
component | <Component: Community/Sound Money, Safe Mode (subtitles)> |
source | False |
translation | <Translation: Community/Sound Money, Safe Mode (subtitles) — Spanish> |
/var/www/weblate/lib/python3.8/site-packages/weblate/trans/models/component.py
, line 3255, in has_template
"""Return file format object."""
if self._file_format is None or self._file_format.name != self.file_format:
self._file_format = FILE_FORMATS[self.file_format]
return self._file_format
def has_template(self):
"""Return true if component is using template for translation."""
monolingual = self.file_format_cls.monolingual…
return (monolingual or monolingual is None) and self.template
def drop_template_store_cache(self):
if "template_store" in self.__dict__:
del self.__dict__["template_store"]
if "intermediate_store" in self.__dict__:
Variable | Value |
---|---|
self | <Component: Community/Sound Money, Safe Mode (subtitles)> |
/var/www/weblate/lib/python3.8/site-packages/weblate/trans/models/component.py
, line 3250, in file_format_cls
def file_format_flags(self):
return Flags(self.file_format_cls.check_flags)
@property
def file_format_cls(self):
"""Return file format object."""
if self._file_format is None or self._file_format.name != self.file_format:
self._file_format = FILE_FORMATS[self.file_format]…
return self._file_format
def has_template(self):
"""Return true if component is using template for translation."""
monolingual = self.file_format_cls.monolingual
return (monolingual or monolingual is None) and self.template
Variable | Value |
---|---|
self | <Component: Community/Sound Money, Safe Mode (subtitles)> |
/var/www/weblate/lib/python3.8/site-packages/weblate/utils/classloader.py
, line 73, in __getitem__
return result
@cached_property
def data(self):
return self.load_data()
def __getitem__(self, key):
return self.data.__getitem__(key)…
def __setitem__(self, key, value):
self.data.__setitem__(key, value)
def get(self, key):
return self.data.get(key)
Variable | Value |
---|---|
key | 'srt' |
self | <weblate.formats.models.FileFormatLoader object at 0x7f700483b0a0> |
Anonymous
Variable | Value |
---|---|
q | '' |
sort_by | 'source' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '' |
CONTENT_TYPE | 'text/plain' |
DJANGO_SETTINGS_MODULE | 'weblate.settings' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HOME | '/home/weblate' |
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip, br' |
HTTP_CDN_LOOP | 'cloudflare' |
HTTP_CF_CONNECTING_IP | '3.133.160.156' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '87662392bb172ac2-ORD' |
HTTP_CF_VISITOR | '{"scheme":"https"}' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'translate.getmonero.org' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.133.160.156, 10.0.2.2' |
HTTP_X_FORWARDED_PROTO | 'http' |
HTTP_X_REAL_IP | '10.0.2.2' |
LANG | 'en_US.UTF-8' |
LANGUAGE | 'en_US:' |
LESSCLOSE | '/usr/bin/lesspipe %s %s' |
LESSOPEN | '| /usr/bin/lesspipe %s' |
LOGNAME | 'weblate' |
LS_COLORS | 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' |
'/var/mail/weblate' |
|
PATH | '/var/www/weblate/bin:/var/www/weblate-env/bin:/var/www/weblate-env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin' |
PATH_INFO | '/browse/community/sound-money-safe-mode-subtitles/es/' |
PS1 | '(weblate) ${debian_chroot:+($debian_chroot)}\\u@\\h:\\w\\$ ' |
PWD | '/home/weblate' |
QUERY_STRING | 'q=&sort_by=source' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_HOST | '' |
REQUEST_METHOD | 'GET' |
RUN_MAIN | 'true' |
SCRIPT_NAME | '' |
SERVER_NAME | 'localhost' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'WSGIServer/0.2' |
SHELL | '/bin/bash' |
SHLVL | '2' |
TERM | 'screen' |
TMUX | '/tmp//tmux-1005/default,2775,0' |
TMUX_PANE | '%0' |
TZ | 'UTC' |
USER | 'weblate' |
VIRTUAL_ENV | '/var/www/weblate' |
XDG_DATA_DIRS | '/usr/local/share:/usr/share:/var/lib/snapd/desktop' |
_ | '/var/www/weblate/bin/weblate' |
wsgi.errors | <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'> |
wsgi.file_wrapper | <class 'wsgiref.util.FileWrapper'> |
wsgi.input | <django.core.handlers.wsgi.LimitedStream object at 0x7f6fc301b130> |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
weblate.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | () |
ADMINS_BILLING | [] |
ADMINS_CONTACT | [] |
ADMINS_HOSTING | [] |
AKISMET_API_KEY | '********************' |
ALLOWED_HOSTS | ['*'] |
ANONYMOUS_USER_NAME | 'anonymous' |
APPEND_SLASH | True |
AUDITLOG_EXPIRY | 180 |
AUTHENTICATION_BACKENDS | ('social_core.backends.email.EmailAuth', 'weblate.accounts.auth.WeblateUserBackend') |
AUTH_LOCK_ATTEMPTS | 10 |
AUTH_PASSWORD_DAYS | '********************' |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_RESTRICT_ADMINS | {} |
AUTH_TOKEN_VALID | '********************' |
AUTH_USER_MODEL | 'weblate_auth.User' |
AUTOFIX_LIST | ('weblate.trans.autofixes.whitespace.SameBookendingWhitespace', 'weblate.trans.autofixes.chars.ReplaceTrailingDotsWithEllipsis', 'weblate.trans.autofixes.chars.RemoveZeroSpace', 'weblate.trans.autofixes.chars.RemoveControlChars', 'weblate.trans.autofixes.chars.DevanagariDanda', 'weblate.trans.autofixes.html.BleachHTML') |
AUTO_UPDATE | False |
AVATAR_DEFAULT_IMAGE | 'identicon' |
AVATAR_URL_PREFIX | 'https://www.gravatar.com/' |
BACKGROUND_ADMIN_CHECKS | True |
BACKGROUND_TASKS | 'monthly' |
BASIC_LANGUAGES | None |
BITBUCKETSERVER_CREDENTIALS | {} |
BORG_EXTRA_ARGS | None |
CACHES | {'avatar': {'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': '/var/www/weblate/lib/python3.8/site-packages/data/cache/avatar', 'OPTIONS': {'MAX_ENTRIES': 1000}, 'TIMEOUT': 86400}, 'default': {'BACKEND': 'django_redis.cache.RedisCache', 'KEY_PREFIX': '********************', 'LOCATION': 'redis://127.0.0.1:6379/1', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient', 'CONNECTION_POOL_KWARGS': {}, 'PARSER_CLASS': 'redis.connection.HiredisParser', 'PASSWORD': '********************'}, 'TIMEOUT': 3600}} |
CACHE_DIR | '/var/www/weblate/lib/python3.8/site-packages/data/cache' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CELERY_BEAT_SCHEDULER | 'django_celery_beat.schedulers:DatabaseScheduler' |
CELERY_BROKER_URL | 'redis://localhost:6379' |
CELERY_RESULT_BACKEND | 'redis://localhost:6379' |
CELERY_TASK_ALWAYS_EAGER | False |
CELERY_TASK_ROUTES | {'weblate.accounts.tasks.notify_*': {'queue': 'notify'}, 'weblate.accounts.tasks.send_mails': {'queue': 'notify'}, 'weblate.memory.tasks.*': {'queue': 'memory'}, 'weblate.trans.tasks.auto_translate*': {'queue': 'translate'}, 'weblate.utils.tasks.database_backup': {'queue': 'backup'}, 'weblate.utils.tasks.settings_backup': {'queue': 'backup'}, 'weblate.wladmin.tasks.backup': {'queue': 'backup'}, 'weblate.wladmin.tasks.backup_service': {'queue': 'backup'}} |
CELERY_WORKER_MAX_MEMORY_PER_CHILD | 200000 |
CHECK_LIST | ('weblate.checks.same.SameCheck', 'weblate.checks.chars.BeginNewlineCheck', 'weblate.checks.chars.EndNewlineCheck', 'weblate.checks.chars.BeginSpaceCheck', 'weblate.checks.chars.EndSpaceCheck', 'weblate.checks.chars.DoubleSpaceCheck', 'weblate.checks.chars.EndStopCheck', 'weblate.checks.chars.EndColonCheck', 'weblate.checks.chars.EndQuestionCheck', 'weblate.checks.chars.EndExclamationCheck', 'weblate.checks.chars.EndEllipsisCheck', 'weblate.checks.chars.EndSemicolonCheck', 'weblate.checks.chars.MaxLengthCheck', 'weblate.checks.chars.KashidaCheck', 'weblate.checks.chars.PunctuationSpacingCheck', 'weblate.checks.format.PythonFormatCheck', 'weblate.checks.format.PythonBraceFormatCheck', 'weblate.checks.format.PHPFormatCheck', 'weblate.checks.format.CFormatCheck', 'weblate.checks.format.PerlFormatCheck', 'weblate.checks.format.JavaScriptFormatCheck', 'weblate.checks.format.LuaFormatCheck', 'weblate.checks.format.ObjectPascalFormatCheck', 'weblate.checks.format.SchemeFormatCheck', 'weblate.checks.format.CSharpFormatCheck', 'weblate.checks.format.JavaFormatCheck', 'weblate.checks.format.JavaMessageFormatCheck', 'weblate.checks.format.PercentPlaceholdersCheck', 'weblate.checks.format.VueFormattingCheck', 'weblate.checks.format.I18NextInterpolationCheck', 'weblate.checks.format.ESTemplateLiteralsCheck', 'weblate.checks.angularjs.AngularJSInterpolationCheck', 'weblate.checks.icu.ICUMessageFormatCheck', 'weblate.checks.icu.ICUSourceCheck', 'weblate.checks.qt.QtFormatCheck', 'weblate.checks.qt.QtPluralCheck', 'weblate.checks.ruby.RubyFormatCheck', 'weblate.checks.consistency.PluralsCheck', 'weblate.checks.consistency.SamePluralsCheck', 'weblate.checks.consistency.ConsistencyCheck', 'weblate.checks.consistency.ReusedCheck', 'weblate.checks.consistency.TranslatedCheck', 'weblate.checks.chars.EscapedNewlineCountingCheck', 'weblate.checks.chars.NewLineCountCheck', 'weblate.checks.markup.BBCodeCheck', 'weblate.checks.chars.ZeroWidthSpaceCheck', 'weblate.checks.render.MaxSizeCheck', 'weblate.checks.markup.XMLValidityCheck', 'weblate.checks.markup.XMLTagsCheck', 'weblate.checks.markup.MarkdownRefLinkCheck', 'weblate.checks.markup.MarkdownLinkCheck', 'weblate.checks.markup.MarkdownSyntaxCheck', 'weblate.checks.markup.URLCheck', 'weblate.checks.markup.SafeHTMLCheck', 'weblate.checks.placeholders.PlaceholderCheck', 'weblate.checks.placeholders.RegexCheck', 'weblate.checks.duplicate.DuplicateCheck', 'weblate.checks.source.OptionalPluralCheck', 'weblate.checks.source.EllipsisCheck', 'weblate.checks.source.MultipleFailingCheck', 'weblate.checks.source.LongUntranslatedCheck', 'weblate.checks.format.MultipleUnnamedFormatsCheck', 'weblate.checks.glossary.GlossaryCheck') |
COMMENT_CLEANUP_DAYS | None |
COMMIT_PENDING_HOURS | 24 |
COMPRESSORS | {'css': 'compressor.css.CssCompressor', 'js': 'compressor.js.JsCompressor'} |
COMPRESS_CACHEABLE_PRECOMPILERS | () |
COMPRESS_CACHE_BACKEND | 'default' |
COMPRESS_CACHE_KEY_FUNCTION | '********************' |
COMPRESS_CLEAN_CSS_ARGUMENTS | '' |
COMPRESS_CLEAN_CSS_BINARY | 'cleancss' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | '' |
COMPRESS_CLOSURE_COMPILER_BINARY | 'java -jar compiler.jar' |
COMPRESS_CSS_HASHING_METHOD | 'content' |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
COMPRESS_DEBUG_TOGGLE | None |
COMPRESS_ENABLED | False |
COMPRESS_FILTERS | {'css': ['compressor.filters.css_default.CssAbsoluteFilter', 'compressor.filters.cssmin.rCSSMinFilter'], 'js': ['compressor.filters.jsmin.rJSMinFilter']} |
COMPRESS_JINJA2_GET_ENVIRONMENT | <function CompressorConf.JINJA2_GET_ENVIRONMENT at 0x7f70035003a0> |
COMPRESS_MINT_DELAY | 30 |
COMPRESS_MTIME_DELAY | 10 |
COMPRESS_OFFLINE | False |
COMPRESS_OFFLINE_CONTEXT | 'weblate.utils.compress.offline_context' |
COMPRESS_OFFLINE_MANIFEST | 'manifest.json' |
COMPRESS_OFFLINE_MANIFEST_STORAGE | 'compressor.storage.OfflineManifestFileStorage' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
COMPRESS_OUTPUT_DIR | 'CACHE' |
COMPRESS_PARSER | 'compressor.parser.AutoSelectParser' |
COMPRESS_PRECOMPILERS | () |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
COMPRESS_ROOT | '/var/www/weblate/lib/python3.8/site-packages/data/cache/static' |
COMPRESS_STORAGE | 'compressor.storage.CompressorFileStorage' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {'STATIC_URL': '/static/'} |
COMPRESS_URL | '/static/' |
COMPRESS_URL_PLACEHOLDER | '/__compressor_url_placeholder__/' |
COMPRESS_VERBOSE | False |
COMPRESS_YUGLIFY_BINARY | 'yuglify' |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | '--terminal' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | '--terminal' |
COMPRESS_YUI_BINARY | 'java -jar yuicompressor.jar' |
COMPRESS_YUI_CSS_ARGUMENTS | '' |
COMPRESS_YUI_JS_ARGUMENTS | '' |
CONTACT_FORM | 'reply-to' |
CORS_ALLOWED_ORIGINS | [] |
CORS_URLS_REGEX | '^/api/.*$' |
CREATE_GLOSSARIES | True |
CRISPY_ALLOWED_TEMPLATE_PACKS | 'bootstrap3' |
CRISPY_TEMPLATE_PACK | 'bootstrap3' |
CSP_CONNECT_SRC | [] |
CSP_FONT_SRC | [] |
CSP_IMG_SRC | [] |
CSP_SCRIPT_SRC | [] |
CSP_STYLE_SRC | [] |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | True |
CSRF_COOKIE_MASKED | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'weblate.trans.views.error.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | ['https://translate.getmonero.org'] |
CSRF_USE_SESSIONS | True |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'DISABLE_SERVER_SIDE_CURSORS': False, 'ENGINE': 'django.db.backends.postgresql', 'HOST': '127.0.0.1', 'NAME': 'weblate', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'weblate'}} |
DATABASE_BACKUP | 'plain' |
DATABASE_ROUTERS | [] |
DATA_DIR | '/var/www/weblate/lib/python3.8/site-packages/data' |
DATA_UPLOAD_MAX_MEMORY_SIZE | 50000000 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 2000 |
DATA_UPLOAD_MAX_NUMBER_FILES | 100 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_ACCESS_CONTROL | 0 |
DEFAULT_ADDONS | {} |
DEFAULT_ADDON_MESSAGE | ('Update translation files\n' '\n' 'Updated by "{{ addon_name }}" hook in Weblate.\n' '\n' 'Translation: {{ project_name }}/{{ component_name }}\n' 'Translate-URL: {{ url }}') |
DEFAULT_ADD_MESSAGE | 'Added translation using Weblate ({{ language_name }})\n\n' |
DEFAULT_AUTO_FIELD | 'django.db.models.AutoField' |
DEFAULT_AUTO_LOCK_ERROR | True |
DEFAULT_AUTO_WATCH | True |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_COMMITER_EMAIL | '[email protected]' |
DEFAULT_COMMITER_NAME | 'Weblate' |
DEFAULT_COMMIT_MESSAGE | ('Translated using Weblate ({{ language_name }})\n' '\n' 'Currently translated at {{ stats.translated_percent }}% ({{ stats.translated ' '}} of {{ stats.all }} strings)\n' '\n' 'Translation: {{ project_name }}/{{ component_name }}\n' 'Translate-URL: {{ url }}') |
DEFAULT_DELETE_MESSAGE | 'Deleted translation using Weblate ({{ language_name }})\n\n' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'weblate.trans.debug.WeblateExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | '[email protected]' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_LANGUAGE | 'en' |
DEFAULT_LOG | 'console' |
DEFAULT_LOGLEVEL | 'DEBUG' |
DEFAULT_MERGE_MESSAGE | "Merge branch '{{ component_remote_branch }}' into Weblate.\n\n" |
DEFAULT_MERGE_STYLE | 'rebase' |
DEFAULT_PAGE_LIMIT | 100 |
DEFAULT_PULL_MESSAGE | ('Translations update from {{ site_title }}\n' '\n' 'Translations update from [{{ site_title }}]({{ site_url }}) for [{{ ' 'project_name }}/{{ component_name }}]({{url}}).\n' '\n' '{% if component_linked_childs %}\n' 'It also includes following components:\n' '{% for linked in component_linked_childs %}\n' '* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\n' '{% endfor %}\n' '{% endif %}\n' '\n' 'Current translation status:\n' '\n' '![Weblate translation status]({{widget_url}})\n') |
DEFAULT_PUSH_ON_COMMIT | True |
DEFAULT_RESTRICTED_COMPONENT | False |
DEFAULT_SHARED_TM | True |
DEFAULT_TABLESPACE | '' |
DEFAULT_TRANSLATION_PROPAGATION | True |
DEFAULT_VCS | 'git' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SEND_HTML | True |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Weblate] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
ENABLE_AVATARS | True |
ENABLE_HOOKS | True |
ENABLE_HTTPS | False |
ENABLE_SHARING | True |
EXTRA_HTML_HEAD | '' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FONTS_CDN_URL | None |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
GET_HELP_URL | None |
GITEA_CREDENTIALS | {} |
GITHUB_CREDENTIALS | {} |
GITLAB_CREDENTIALS | {} |
GOOGLE_ANALYTICS_ID | None |
HAVE_SYSLOG | True |
HIDE_REPO_CREDENTIALS | True |
HIDE_VERSION | False |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['weblate.addons', 'weblate.auth', 'weblate.checks', 'weblate.formats', 'weblate.glossary', 'weblate.machinery', 'weblate.trans', 'weblate.lang', 'weblate_language_data', 'weblate.memory', 'weblate.screenshots', 'weblate.fonts', 'weblate.accounts', 'weblate.configuration', 'weblate.utils', 'weblate.vcs', 'weblate.wladmin', 'weblate.metrics', 'weblate', 'weblate.gitexport', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin.apps.SimpleAdminConfig', 'django.contrib.admindocs', 'django.contrib.sitemaps', 'django.contrib.humanize', 'social_django', 'crispy_forms', 'crispy_bootstrap3', 'compressor', 'rest_framework', 'rest_framework.authtoken', 'django_filters', 'django_celery_beat', 'corsheaders'] |
INTERLEDGER_PAYMENT_POINTERS | ['$ilp.uphold.com/ENU7fREdeZi9'] |
INTERNAL_IPS | [] |
INVOICE_PATH | '' |
IP_BEHIND_REVERSE_PROXY | False |
IP_PROXY_HEADER | 'HTTP_X_FORWARDED_FOR' |
IP_PROXY_OFFSET | 0 |
LANGUAGES | (('ar', 'العربية'), ('az', 'Azərbaycan'), ('be', 'Беларуская'), ('be-latn', 'Biełaruskaja'), ('bg', 'Български'), ('br', 'Brezhoneg'), ('ca', 'Català'), ('cs', 'Čeština'), ('cy', 'Cymraeg'), ('da', 'Dansk'), ('de', 'Deutsch'), ('en', 'English'), ('el', 'Ελληνικά'), ('en-gb', 'English (United Kingdom)'), ('es', 'Español'), ('fi', 'Suomi'), ('fr', 'Français'), ('gl', 'Galego'), ('he', 'עברית'), ('hu', 'Magyar'), ('hr', 'Hrvatski'), ('id', 'Indonesia'), ('is', 'Íslenska'), ('it', 'Italiano'), ('ja', '日本語'), ('kab', 'Taqbaylit'), ('kk', 'Қазақ тілі'), ('ko', '한국어'), ('nb', 'Norsk bokmål'), ('nl', 'Nederlands'), ('pl', 'Polski'), ('pt', 'Português'), ('pt-br', 'Português brasileiro'), ('ro', 'Română'), ('ru', 'Русский'), ('sk', 'Slovenčina'), ('sl', 'Slovenščina'), ('sq', 'Shqip'), ('sr', 'Српски'), ('sr-latn', 'Srpski'), ('sv', 'Svenska'), ('th', 'ไทย'), ('tr', 'Türkçe'), ('uk', 'Українська'), ('zh-hans', '简体中文'), ('zh-hant', '正體中文')) |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | 12096000 |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | True |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | 'Lax' |
LANGUAGE_COOKIE_SECURE | False |
LEGAL_URL | None |
LICENSE_EXTRA | [] |
LICENSE_FILTER | None |
LICENSE_REQUIRED | False |
LIMIT_TRANSLATION_LENGTH_BY_SOURCE_LENGTH | True |
LOCALE_PATHS | [] |
LOCALIZE_CDN_PATH | None |
LOCALIZE_CDN_URL | None |
LOGGING | {'disable_existing_loggers': True, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'formatters': {'django.server': {'()': 'django.utils.log.ServerFormatter', 'format': '[%(server_time)s] %(message)s'}, 'logfile': {'format': '%(asctime)s %(levelname)s %(message)s'}, 'simple': {'format': '[%(asctime)s: %(levelname)s/%(process)s] ' '%(message)s'}, 'syslog': {'format': 'weblate[%(process)d]: %(levelname)s ' '%(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'simple', 'level': 'DEBUG'}, 'django.server': {'class': 'logging.StreamHandler', 'formatter': 'django.server', 'level': 'INFO'}, 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'include_html': True, 'level': 'ERROR'}, 'syslog': {'address': '/dev/log', 'class': 'logging.handlers.SysLogHandler', 'facility': 18, 'formatter': 'syslog', 'level': 'DEBUG'}}, 'loggers': {'django.request': {'handlers': ['mail_admins', 'console'], 'level': 'ERROR', 'propagate': True}, 'django.server': {'handlers': ['django.server'], 'level': 'INFO', 'propagate': False}, 'django_auth_ldap': {'handlers': ['console'], 'level': 'DEBUG'}, 'djangosaml2idp': {'handlers': ['console'], 'level': 'DEBUG'}, 'redis_lock': {'handlers': ['console'], 'level': 'DEBUG'}, 'social': {'handlers': ['console'], 'level': 'DEBUG'}, 'weblate': {'handlers': ['console'], 'level': 'DEBUG'}, 'weblate.vcs': {'handlers': ['console'], 'level': 'DEBUG'}}, 'version': 1} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/' |
LOGIN_REQUIRED_URLS | [] |
LOGIN_REQUIRED_URLS_EXCEPTIONS | ('{URL_PREFIX}/accounts/(.*)$', '{URL_PREFIX}/admin/login/(.*)$', '{URL_PREFIX}/static/(.*)$', '{URL_PREFIX}/widgets/(.*)$', '{URL_PREFIX}/data/(.*)$', '{URL_PREFIX}/hooks/(.*)$', '{URL_PREFIX}/healthz/$', '{URL_PREFIX}/api/(.*)$', '{URL_PREFIX}/js/i18n/$', '{URL_PREFIX}/contact/$', '{URL_PREFIX}/legal/(.*)$', '{URL_PREFIX}/avatar/(.*)$') |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
LOGOUT_URL | '/accounts/logout/' |
MANAGERS | () |
MATOMO_SITE_ID | None |
MATOMO_URL | None |
MEDIA_ROOT | '/var/www/weblate/lib/python3.8/site-packages/data/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.session.SessionStorage' |
MIDDLEWARE | ['weblate.middleware.RedirectMiddleware', 'weblate.middleware.ProxyMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'weblate.accounts.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'weblate.accounts.middleware.RequireLoginMiddleware', 'weblate.api.middleware.ThrottlingMiddleware', 'weblate.middleware.SecurityMiddleware', 'weblate.wladmin.middleware.ManageMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
MT_APERTIUM_APY | None |
MT_AWS_ACCESS_KEY_ID | '********************' |
MT_AWS_REGION | None |
MT_AWS_SECRET_ACCESS_KEY | '********************' |
MT_BAIDU_ID | None |
MT_BAIDU_SECRET | '********************' |
MT_DEEPL_API_URL | '********************' |
MT_DEEPL_KEY | '********************' |
MT_GOOGLE_CREDENTIALS | None |
MT_GOOGLE_KEY | '********************' |
MT_GOOGLE_LOCATION | 'global' |
MT_GOOGLE_PROJECT | None |
MT_LIBRETRANSLATE_API_URL | '********************' |
MT_LIBRETRANSLATE_KEY | '********************' |
MT_MICROSOFT_BASE_URL | 'api.cognitive.microsofttranslator.com' |
MT_MICROSOFT_COGNITIVE_KEY | '********************' |
MT_MICROSOFT_ENDPOINT_URL | 'api.cognitive.microsoft.com' |
MT_MICROSOFT_REGION | None |
MT_MODERNMT_KEY | '********************' |
MT_MODERNMT_URL | 'https://api.modernmt.com/' |
MT_MYMEMORY_EMAIL | None |
MT_MYMEMORY_KEY | '********************' |
MT_MYMEMORY_USER | None |
MT_NETEASE_KEY | '********************' |
MT_NETEASE_SECRET | '********************' |
MT_SAP_BASE_URL | None |
MT_SAP_PASSWORD | '********************' |
MT_SAP_SANDBOX_APIKEY | '********************' |
MT_SAP_USERNAME | None |
MT_SAP_USE_MT | True |
MT_SERVICES | ('weblate.machinery.weblatetm.WeblateTranslation', 'weblate.memory.machine.WeblateMemory') |
MT_TMSERVER | None |
MT_YANDEX_KEY | '********************' |
MT_YOUDAO_ID | None |
MT_YOUDAO_SECRET | '********************' |
NEARBY_MESSAGES | 15 |
NUMBER_GROUPING | 0 |
OFFER_HOSTING | False |
PAGURE_CREDENTIALS | {} |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PREPEND_WWW | False |
PRIVACY_URL | None |
PRIVATE_COMMIT_EMAIL_OPT_IN | True |
PRIVATE_COMMIT_EMAIL_TEMPLATE | '{username}@users.noreply.{site_domain}' |
PROJECT_BACKUP_KEEP_COUNT | 3 |
PROJECT_BACKUP_KEEP_DAYS | 30 |
PROJECT_NAME_RESTRICT_RE | None |
PROJECT_WEB_RESTRICT_HOST | {'localhost'} |
PROJECT_WEB_RESTRICT_NUMERIC | True |
PROJECT_WEB_RESTRICT_RE | None |
RATELIMIT_ATTEMPTS | 5 |
RATELIMIT_COMMENT_ATTEMPTS | 30 |
RATELIMIT_COMMENT_WINDOW | 60 |
RATELIMIT_GLOSSARY_ATTEMPTS | 30 |
RATELIMIT_GLOSSARY_WINDOW | 60 |
RATELIMIT_LANGUAGE_ATTEMPTS | 2 |
RATELIMIT_LANGUAGE_LOCKOUT | 600 |
RATELIMIT_LANGUAGE_WINDOW | 300 |
RATELIMIT_LOCKOUT | 600 |
RATELIMIT_MESSAGE_ATTEMPTS | 2 |
RATELIMIT_PROJECT_ATTEMPTS | 5 |
RATELIMIT_PROJECT_LOCKOUT | 600 |
RATELIMIT_PROJECT_WINDOW | 600 |
RATELIMIT_SEARCH_ATTEMPTS | 30 |
RATELIMIT_SEARCH_LOCKOUT | 60 |
RATELIMIT_SEARCH_WINDOW | 60 |
RATELIMIT_TRANSLATE_ATTEMPTS | 30 |
RATELIMIT_TRANSLATE_WINDOW | 60 |
RATELIMIT_TRIAL_ATTEMPTS | 1 |
RATELIMIT_TRIAL_LOCKOUT | 600 |
RATELIMIT_TRIAL_WINDOW | 60 |
RATELIMIT_WINDOW | 300 |
REGISTRATION_ALLOW_BACKENDS | [] |
REGISTRATION_CAPTCHA | True |
REGISTRATION_EMAIL_MATCH | '.*' |
REGISTRATION_HINTS | {} |
REGISTRATION_OPEN | True |
REGISTRATION_REBIND | False |
REPOSITORY_ALERT_THRESHOLD | 25 |
REQUIRE_LOGIN | False |
REST_FRAMEWORK | {'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.TokenAuthentication', 'weblate.api.authentication.BearerAuthentication', 'rest_framework.authentication.SessionAuthentication'), 'DEFAULT_PAGINATION_CLASS': 'weblate.api.pagination.StandardPagination', 'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.IsAuthenticatedOrReadOnly'], 'DEFAULT_THROTTLE_CLASSES': ('weblate.api.throttling.UserRateThrottle', 'weblate.api.throttling.AnonRateThrottle'), 'DEFAULT_THROTTLE_RATES': {'anon': '100/day', 'user': '5000/hour'}, 'PAGE_SIZE': 50, 'UNAUTHENTICATED_USER': 'weblate.auth.models.get_anonymous', 'VIEW_DESCRIPTION_FUNCTION': 'weblate.api.views.get_view_description'} |
ROOT_URLCONF | 'weblate.urls' |
SECRET_KEY | '********************' |
SECRET_KEY_FALLBACKS | '********************' |
SECURE_BROWSER_XSS_FILTER | True |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_CROSS_ORIGIN_OPENER_POLICY | 'same-origin' |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | ('healthz/$',) |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | 'translate.getmonero.org' |
SECURE_SSL_REDIRECT | False |
SENTRY_DSN | None |
SENTRY_ENVIRONMENT | 'translate.getmonero.org' |
SENTRY_EXTRA_ARGS | {} |
SENTRY_PROFILES_SAMPLE_RATE | 0 |
SENTRY_PROJECTS | ['weblate'] |
SENTRY_SECURITY | None |
SENTRY_SEND_PII | True |
SENTRY_TOKEN | '********************' |
SENTRY_TRACES_SAMPLE_RATE | 0 |
SERVER_EMAIL | '[email protected]' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1000 |
SESSION_COOKIE_AGE_AUTHENTICATED | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.cache' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'weblate.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | ['admin.E408'] |
SIMILAR_MESSAGES | 5 |
SIMPLIFY_LANGUAGES | True |
SINGLE_PROJECT | False |
SITE_DOMAIN | 'translate.getmonero.org' |
SITE_ID | 1 |
SITE_TITLE | 'Weblate' |
SOCIAL_AUTH_AUTH0_IMAGE | 'auth0.svg' |
SOCIAL_AUTH_AUTH0_TITLE | 'Auth0' |
SOCIAL_AUTH_BITBUCKET_OAUTH2_KEY | '********************' |
SOCIAL_AUTH_BITBUCKET_OAUTH2_SECRET | '********************' |
SOCIAL_AUTH_BITBUCKET_OAUTH2_VERIFIED_EMAILS_ONLY | True |
SOCIAL_AUTH_DISCONNECT_PIPELINE | ('social_core.pipeline.disconnect.allowed_to_disconnect', 'social_core.pipeline.disconnect.get_entries', 'social_core.pipeline.disconnect.revoke_tokens', 'weblate.accounts.pipeline.cycle_session', 'weblate.accounts.pipeline.adjust_primary_mail', 'weblate.accounts.pipeline.notify_disconnect', 'social_core.pipeline.disconnect.disconnect', 'weblate.accounts.pipeline.cleanup_next') |
SOCIAL_AUTH_EMAIL_FORM_URL | '/accounts/email/' |
SOCIAL_AUTH_EMAIL_VALIDATION_FUNCTION | 'weblate.accounts.pipeline.send_validation' |
SOCIAL_AUTH_EMAIL_VALIDATION_URL | '/accounts/email-sent/' |
SOCIAL_AUTH_FACEBOOK_KEY | '********************' |
SOCIAL_AUTH_FACEBOOK_PROFILE_EXTRA_PARAMS | {'fields': 'id,name,email'} |
SOCIAL_AUTH_FACEBOOK_SCOPE | ['email', 'public_profile'] |
SOCIAL_AUTH_FACEBOOK_SECRET | '********************' |
SOCIAL_AUTH_GITHUB_ENTERPRISE_API_URL | '********************' |
SOCIAL_AUTH_GITHUB_ENTERPRISE_KEY | '********************' |
SOCIAL_AUTH_GITHUB_ENTERPRISE_SCOPE | '' |
SOCIAL_AUTH_GITHUB_ENTERPRISE_SECRET | '********************' |
SOCIAL_AUTH_GITHUB_ENTERPRISE_URL | '' |
SOCIAL_AUTH_GITHUB_KEY | '********************' |
SOCIAL_AUTH_GITHUB_ORG_KEY | '********************' |
SOCIAL_AUTH_GITHUB_ORG_NAME | '' |
SOCIAL_AUTH_GITHUB_ORG_SECRET | '********************' |
SOCIAL_AUTH_GITHUB_SCOPE | ['user:email'] |
SOCIAL_AUTH_GITHUB_SECRET | '********************' |
SOCIAL_AUTH_GITHUB_TEAM_ID | '' |
SOCIAL_AUTH_GITHUB_TEAM_KEY | '********************' |
SOCIAL_AUTH_GITHUB_TEAM_SECRET | '********************' |
SOCIAL_AUTH_GITLAB_API_URL | '********************' |
SOCIAL_AUTH_GITLAB_KEY | '********************' |
SOCIAL_AUTH_GITLAB_SCOPE | ['read_user'] |
SOCIAL_AUTH_GITLAB_SECRET | '********************' |
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY | '********************' |
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET | '********************' |
SOCIAL_AUTH_LOGIN_ERROR_URL | '/accounts/login/' |
SOCIAL_AUTH_NEW_ASSOCIATION_REDIRECT_URL | '/accounts/profile/#account' |
SOCIAL_AUTH_PIPELINE | ('social_core.pipeline.social_auth.social_details', 'social_core.pipeline.social_auth.social_uid', 'social_core.pipeline.social_auth.auth_allowed', 'social_core.pipeline.social_auth.social_user', 'weblate.accounts.pipeline.store_params', 'weblate.accounts.pipeline.verify_open', 'social_core.pipeline.user.get_username', 'weblate.accounts.pipeline.require_email', 'social_core.pipeline.mail.mail_validation', 'weblate.accounts.pipeline.revoke_mail_code', 'weblate.accounts.pipeline.ensure_valid', 'weblate.accounts.pipeline.remove_account', 'social_core.pipeline.social_auth.associate_by_email', 'weblate.accounts.pipeline.reauthenticate', 'weblate.accounts.pipeline.verify_username', 'social_core.pipeline.user.create_user', 'social_core.pipeline.social_auth.associate_user', 'social_core.pipeline.social_auth.load_extra_data', 'weblate.accounts.pipeline.cleanup_next', 'weblate.accounts.pipeline.user_full_name', 'weblate.accounts.pipeline.store_email', 'weblate.accounts.pipeline.notify_connect', 'weblate.accounts.pipeline.password_reset') |
SOCIAL_AUTH_PROTECTED_USER_FIELDS | ('email',) |
SOCIAL_AUTH_RAISE_EXCEPTIONS | True |
SOCIAL_AUTH_REDIRECT_IS_HTTPS | False |
SOCIAL_AUTH_SAML_IMAGE | 'saml.svg' |
SOCIAL_AUTH_SAML_TITLE | 'SAML' |
SOCIAL_AUTH_SLUGIFY_FUNCTION | 'weblate.accounts.pipeline.slugify_username' |
SOCIAL_AUTH_SLUGIFY_USERNAMES | True |
SOCIAL_AUTH_STRATEGY | 'weblate.accounts.strategy.WeblateStrategy' |
SPECIAL_CHARS | ('\t', '\n', '\xa0', '…') |
SSH_EXTRA_ARGS | '' |
STATICFILES_DIRS | () |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder') |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/var/www/weblate/lib/python3.8/site-packages/data/cache/static' |
STATIC_URL | '/static/' |
STATUS_URL | None |
STORAGES | {'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'}, 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}} |
SUGGESTION_CLEANUP_DAYS | None |
SUPPORT_API_URL | '********************' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.request', 'django.template.context_processors.csrf', 'django.contrib.messages.context_processors.messages', 'weblate.trans.context_processors.weblate_context']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'UTC' |
UNUSED_ALERT_DAYS | 365 |
UPDATE_LANGUAGES | True |
URL_PREFIX | '' |
USE_DEPRECATED_PYTZ | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
VAT_RATE | 1.21 |
VCS_API_DELAY | '********************' |
VCS_BACKENDS | ('weblate.vcs.git.GitRepository', 'weblate.vcs.git.GitWithGerritRepository', 'weblate.vcs.git.SubversionRepository', 'weblate.vcs.git.GithubRepository', 'weblate.vcs.git.GiteaRepository', 'weblate.vcs.git.GitLabRepository', 'weblate.vcs.git.PagureRepository', 'weblate.vcs.git.LocalRepository', 'weblate.vcs.git.GitForcePushRepository', 'weblate.vcs.git.BitbucketServerRepository', 'weblate.vcs.mercurial.HgRepository') |
VCS_CLONE_DEPTH | 1 |
WEBLATE_ADDONS | ('weblate.addons.gettext.GenerateMoAddon', 'weblate.addons.gettext.UpdateLinguasAddon', 'weblate.addons.gettext.UpdateConfigureAddon', 'weblate.addons.gettext.MsgmergeAddon', 'weblate.addons.gettext.GettextCustomizeAddon', 'weblate.addons.gettext.GettextAuthorComments', 'weblate.addons.cleanup.CleanupAddon', 'weblate.addons.cleanup.RemoveBlankAddon', 'weblate.addons.consistency.LangaugeConsistencyAddon', 'weblate.addons.discovery.DiscoveryAddon', 'weblate.addons.autotranslate.AutoTranslateAddon', 'weblate.addons.flags.SourceEditAddon', 'weblate.addons.flags.TargetEditAddon', 'weblate.addons.flags.SameEditAddon', 'weblate.addons.flags.BulkEditAddon', 'weblate.addons.generate.GenerateFileAddon', 'weblate.addons.generate.PseudolocaleAddon', 'weblate.addons.generate.PrefillAddon', 'weblate.addons.generate.FillReadOnlyAddon', 'weblate.addons.json.JSONCustomizeAddon', 'weblate.addons.xml.XMLCustomizeAddon', 'weblate.addons.properties.PropertiesSortAddon', 'weblate.addons.git.GitSquashAddon', 'weblate.addons.removal.RemoveComments', 'weblate.addons.removal.RemoveSuggestions', 'weblate.addons.resx.ResxUpdateAddon', 'weblate.addons.yaml.YAMLCustomizeAddon', 'weblate.addons.cdn.CDNJSAddon') |
WEBLATE_EXPORTERS | ('weblate.formats.exporters.PoExporter', 'weblate.formats.exporters.PoXliffExporter', 'weblate.formats.exporters.XliffExporter', 'weblate.formats.exporters.TBXExporter', 'weblate.formats.exporters.TMXExporter', 'weblate.formats.exporters.MoExporter', 'weblate.formats.exporters.CSVExporter', 'weblate.formats.exporters.XlsxExporter', 'weblate.formats.exporters.JSONExporter', 'weblate.formats.exporters.AndroidResourceExporter', 'weblate.formats.exporters.StringsExporter') |
WEBLATE_FORMATS | ('weblate.formats.ttkit.PoFormat', 'weblate.formats.ttkit.PoMonoFormat', 'weblate.formats.ttkit.TSFormat', 'weblate.formats.ttkit.XliffFormat', 'weblate.formats.ttkit.RichXliffFormat', 'weblate.formats.ttkit.PoXliffFormat', 'weblate.formats.ttkit.StringsFormat', 'weblate.formats.ttkit.StringsUtf8Format', 'weblate.formats.ttkit.PropertiesUtf8Format', 'weblate.formats.ttkit.PropertiesUtf16Format', 'weblate.formats.ttkit.PropertiesFormat', 'weblate.formats.ttkit.JoomlaFormat', 'weblate.formats.ttkit.GWTFormat', 'weblate.formats.ttkit.GWTISOFormat', 'weblate.formats.ttkit.PhpFormat', 'weblate.formats.ttkit.LaravelPhpFormat', 'weblate.formats.ttkit.RESXFormat', 'weblate.formats.ttkit.AndroidFormat', 'weblate.formats.ttkit.JSONFormat', 'weblate.formats.ttkit.JSONNestedFormat', 'weblate.formats.ttkit.WebExtensionJSONFormat', 'weblate.formats.ttkit.I18NextFormat', 'weblate.formats.ttkit.I18NextV4Format', 'weblate.formats.ttkit.GoI18JSONFormat', 'weblate.formats.ttkit.GoI18V2JSONFormat', 'weblate.formats.ttkit.GoTextFormat', 'weblate.formats.ttkit.ARBFormat', 'weblate.formats.ttkit.CSVFormat', 'weblate.formats.ttkit.CSVUtf8Format', 'weblate.formats.ttkit.CSVSimpleFormat', 'weblate.formats.ttkit.CSVUtf8SimpleFormat', 'weblate.formats.ttkit.CSVSimpleFormatISO', 'weblate.formats.ttkit.YAMLFormat', 'weblate.formats.ttkit.RubyYAMLFormat', 'weblate.formats.ttkit.SubRipFormat', 'weblate.formats.ttkit.MicroDVDFormat', 'weblate.formats.ttkit.AdvSubStationAlphaFormat', 'weblate.formats.ttkit.SubStationAlphaFormat', 'weblate.formats.ttkit.DTDFormat', 'weblate.formats.ttkit.FlatXMLFormat', 'weblate.formats.ttkit.ResourceDictionaryFormat', 'weblate.formats.ttkit.INIFormat', 'weblate.formats.ttkit.InnoSetupINIFormat', 'weblate.formats.ttkit.PropertiesMi18nFormat', 'weblate.formats.external.XlsxFormat', 'weblate.formats.txt.AppStoreFormat', 'weblate.formats.convert.HTMLFormat', 'weblate.formats.convert.IDMLFormat', 'weblate.formats.convert.OpenDocumentFormat', 'weblate.formats.convert.PlainTextFormat', 'weblate.formats.convert.DokuWikiFormat', 'weblate.formats.convert.MediaWikiFormat', 'weblate.formats.convert.WindowsRCFormat', 'weblate.formats.ttkit.XWikiPropertiesFormat', 'weblate.formats.ttkit.XWikiPagePropertiesFormat', 'weblate.formats.ttkit.XWikiFullPageFormat', 'weblate.formats.ttkit.TBXFormat', 'weblate.formats.ttkit.StringsdictFormat', 'weblate.formats.ttkit.FluentFormat', 'weblate.formats.multi.MultiCSVUtf8Format') |
WEBLATE_GPG_ALGO | 'default' |
WEBLATE_GPG_IDENTITY | None |
WEBLATE_MACHINERY | ('weblate.machinery.apertium.ApertiumAPYTranslation', 'weblate.machinery.aws.AWSTranslation', 'weblate.machinery.baidu.BaiduTranslation', 'weblate.machinery.deepl.DeepLTranslation', 'weblate.machinery.glosbe.GlosbeTranslation', 'weblate.machinery.google.GoogleTranslation', 'weblate.machinery.googlev3.GoogleV3Translation', 'weblate.machinery.libretranslate.LibreTranslateTranslation', 'weblate.machinery.microsoft.MicrosoftCognitiveTranslation', 'weblate.machinery.microsoftterminology.MicrosoftTerminologyService', 'weblate.machinery.modernmt.ModernMTTranslation', 'weblate.machinery.mymemory.MyMemoryTranslation', 'weblate.machinery.netease.NeteaseSightTranslation', 'weblate.machinery.tmserver.AmagamaTranslation', 'weblate.machinery.tmserver.TMServerTranslation', 'weblate.machinery.yandex.YandexTranslation', 'weblate.machinery.saptranslationhub.SAPTranslationHub', 'weblate.machinery.youdao.YoudaoTranslation', 'weblate.machinery.ibm.IBMTranslation', 'weblate.machinery.weblatetm.WeblateTranslation', 'weblate.memory.machine.WeblateMemory') |
WEBSITE_REQUIRED | True |
WSGI_APPLICATION | None |
X_FRAME_OPTIONS | 'DENY' |
YEAR_MONTH_FORMAT | 'F Y' |
You’re seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.