resource-engine-fastapi 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- resource_engine_fastapi/__init__.py +39 -0
- resource_engine_fastapi/access.py +110 -0
- resource_engine_fastapi/asyncapi.py +47 -0
- resource_engine_fastapi/auth.py +158 -0
- resource_engine_fastapi/authz.py +100 -0
- resource_engine_fastapi/caching.py +111 -0
- resource_engine_fastapi/docs.py +77 -0
- resource_engine_fastapi/documents.py +219 -0
- resource_engine_fastapi/email_events.py +85 -0
- resource_engine_fastapi/errors.py +178 -0
- resource_engine_fastapi/events.py +109 -0
- resource_engine_fastapi/explorer/__init__.py +441 -0
- resource_engine_fastapi/explorer/assets/auth.js +171 -0
- resource_engine_fastapi/explorer/assets/console.js +340 -0
- resource_engine_fastapi/explorer/assets/events.js +189 -0
- resource_engine_fastapi/explorer/assets/explorer.css +156 -0
- resource_engine_fastapi/explorer/assets/explorer.js +275 -0
- resource_engine_fastapi/explorer/assets/jobs.js +143 -0
- resource_engine_fastapi/explorer/assets/messages.js +85 -0
- resource_engine_fastapi/explorer/assets/publish.js +117 -0
- resource_engine_fastapi/explorer/data.py +84 -0
- resource_engine_fastapi/explorer/events.py +182 -0
- resource_engine_fastapi/explorer/jobs.py +167 -0
- resource_engine_fastapi/explorer/labels.py +198 -0
- resource_engine_fastapi/explorer/locale/ca/LC_MESSAGES/explorer.mo +0 -0
- resource_engine_fastapi/explorer/locale/ca/LC_MESSAGES/explorer.po +417 -0
- resource_engine_fastapi/explorer/locale/es/LC_MESSAGES/explorer.mo +0 -0
- resource_engine_fastapi/explorer/locale/es/LC_MESSAGES/explorer.po +417 -0
- resource_engine_fastapi/explorer/messages.py +73 -0
- resource_engine_fastapi/explorer/publish.py +85 -0
- resource_engine_fastapi/exports.py +186 -0
- resource_engine_fastapi/i18n.py +76 -0
- resource_engine_fastapi/py.typed +0 -0
- resource_engine_fastapi/router.py +1031 -0
- resource_engine_fastapi/versioning.py +49 -0
- resource_engine_fastapi-0.1.0.dist-info/METADATA +32 -0
- resource_engine_fastapi-0.1.0.dist-info/RECORD +39 -0
- resource_engine_fastapi-0.1.0.dist-info/WHEEL +4 -0
- resource_engine_fastapi-0.1.0.dist-info/licenses/LICENSE +202 -0
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
"""The explorer's texts, in English with Catalan and Spanish catalogues
|
|
2
|
+
(``explorer/locale/<locale>/LC_MESSAGES/explorer.mo``, compiled from the
|
|
3
|
+
``.po`` files next to them). Shared by the standalone explorer and the
|
|
4
|
+
documentation site's console."""
|
|
5
|
+
|
|
6
|
+
from __future__ import annotations
|
|
7
|
+
|
|
8
|
+
import gettext
|
|
9
|
+
from functools import cache
|
|
10
|
+
from importlib.resources import files
|
|
11
|
+
|
|
12
|
+
from resource_engine.templates import locale_candidates
|
|
13
|
+
|
|
14
|
+
DOMAIN = "explorer"
|
|
15
|
+
|
|
16
|
+
#: Every text, by key: the English message is the catalogue's id.
|
|
17
|
+
LABELS: dict[str, str] = {
|
|
18
|
+
# operations (the try-it console)
|
|
19
|
+
"intro": "Calls the running API with your token. Reads only, unless you allow changes.",
|
|
20
|
+
"token": "Access token or API key",
|
|
21
|
+
"token_hint": "Kept in this browser tab only",
|
|
22
|
+
"allow_changes": "Allow changes (create, update, delete, transitions, actions)",
|
|
23
|
+
"changes_off": "This operation changes data: tick “Allow changes” first.",
|
|
24
|
+
"header": "header",
|
|
25
|
+
"body": "Body (JSON)",
|
|
26
|
+
"send": "Send",
|
|
27
|
+
"send_change": "Send the change",
|
|
28
|
+
"sending": "Sending…",
|
|
29
|
+
"missing": "Fill in",
|
|
30
|
+
"bad_json": "The body is not valid JSON",
|
|
31
|
+
"unreachable": "The API could not be reached",
|
|
32
|
+
"why": "Why was it refused?",
|
|
33
|
+
"next": "Allowed transitions now",
|
|
34
|
+
"none": "none",
|
|
35
|
+
"upload_note": "Files are uploaded with the multipart form; use another client.",
|
|
36
|
+
"who_am_i": "What can I do?",
|
|
37
|
+
"who_intro": "Your roles and the actions you may perform, from the running API.",
|
|
38
|
+
"explain_editors": (
|
|
39
|
+
"Only policy editors can see the full explanation. What the API says about you:"
|
|
40
|
+
),
|
|
41
|
+
"your_roles": "Your roles",
|
|
42
|
+
"not_granted": "not granted",
|
|
43
|
+
"download": "Download",
|
|
44
|
+
"export_check": "Check the export",
|
|
45
|
+
# the standalone page
|
|
46
|
+
"explorer": "Explorer",
|
|
47
|
+
# events
|
|
48
|
+
"events_intro": (
|
|
49
|
+
"Events committed from now on that you may see: those about records you can read. "
|
|
50
|
+
"Payloads and events about no record need the events:read permission."
|
|
51
|
+
),
|
|
52
|
+
"connect": "Connect",
|
|
53
|
+
"disconnect": "Disconnect",
|
|
54
|
+
"pause": "Pause",
|
|
55
|
+
"resume": "Resume",
|
|
56
|
+
"clear": "Clear",
|
|
57
|
+
"filter_resource": "Resource (channel)",
|
|
58
|
+
"filter_type": "Event type",
|
|
59
|
+
"filter_version": "Schema version",
|
|
60
|
+
"filter_id": "Record id",
|
|
61
|
+
"any": "any",
|
|
62
|
+
"connected": "Connected: waiting for events…",
|
|
63
|
+
"disconnected": "Disconnected",
|
|
64
|
+
"envelope": "Envelope",
|
|
65
|
+
"record": "Record as you can read it",
|
|
66
|
+
"payload": "Payload",
|
|
67
|
+
"payload_hidden": "The payload needs the events:read permission.",
|
|
68
|
+
"deliveries": "Handled by",
|
|
69
|
+
"no_deliveries": "No consumer has reported handling it yet.",
|
|
70
|
+
"deliveries_off": "Consumer results are not recorded (no activity log).",
|
|
71
|
+
# jobs
|
|
72
|
+
"jobs_intro": (
|
|
73
|
+
"The jobs the running workers registered. Run now asks a worker to run one at once: "
|
|
74
|
+
"single jobs still wait for their lease, so they run on one worker at a time."
|
|
75
|
+
),
|
|
76
|
+
"schedule": "Schedule",
|
|
77
|
+
"workers": "Workers",
|
|
78
|
+
"worker": "Worker",
|
|
79
|
+
"last_run": "Last run",
|
|
80
|
+
"every": "every {every}",
|
|
81
|
+
"single": "one worker at a time (lease {ttl})",
|
|
82
|
+
"never": "not run yet",
|
|
83
|
+
"runs": "Runs",
|
|
84
|
+
"run_now": "Run now",
|
|
85
|
+
"no_jobs": "No worker has registered jobs yet.",
|
|
86
|
+
"when": "When",
|
|
87
|
+
"outcome": "Outcome",
|
|
88
|
+
"duration": "Duration",
|
|
89
|
+
"error": "Error",
|
|
90
|
+
"request_pending": "Waiting for a worker…",
|
|
91
|
+
"request_done": "Finished: {status}",
|
|
92
|
+
"show": "Show",
|
|
93
|
+
"due": "Due",
|
|
94
|
+
"overdue": "overdue",
|
|
95
|
+
"no_timers": "No timed transition is waiting on this record.",
|
|
96
|
+
# the list
|
|
97
|
+
"worker_jobs": "worker",
|
|
98
|
+
"filter": "Filter by verb, path or description",
|
|
99
|
+
"fires": "Fires",
|
|
100
|
+
"after_in": "after {after} in {states} (counted from {since})",
|
|
101
|
+
"verb_get": "read",
|
|
102
|
+
"verb_post": "create or run",
|
|
103
|
+
"verb_put": "replace",
|
|
104
|
+
"verb_patch": "change",
|
|
105
|
+
"verb_delete": "delete",
|
|
106
|
+
"verb_pub": "publish an event",
|
|
107
|
+
"verb_sub": "watch events live",
|
|
108
|
+
"verb_cron": "runs on a schedule",
|
|
109
|
+
# the accordions of a resource
|
|
110
|
+
"group_crud": "CRUD",
|
|
111
|
+
"group_lifecycle": "Transitions and actions",
|
|
112
|
+
"group_relations": "Relations",
|
|
113
|
+
"group_documents": "Documents",
|
|
114
|
+
"group_export": "Export and print",
|
|
115
|
+
"group_events": "Events (pub/sub)",
|
|
116
|
+
"group_schedule": "Schedule (cron)",
|
|
117
|
+
"group_other": "Other",
|
|
118
|
+
# publishing (PUB)
|
|
119
|
+
"dry_run": "Dry run",
|
|
120
|
+
"publish": "Publish",
|
|
121
|
+
"confirm_type": "Type the event's name to publish it",
|
|
122
|
+
"confirm_needed": "Type {type} in the confirmation field to publish it.",
|
|
123
|
+
"publish_off": "Publishing by hand is turned off in this application; dry runs work.",
|
|
124
|
+
"publish_note": (
|
|
125
|
+
"A dry run checks the payload against the event and the consumers that read it. "
|
|
126
|
+
"Publishing writes it to the outbox, tagged origin=console and audited; the "
|
|
127
|
+
"worker sends it like any other event."
|
|
128
|
+
),
|
|
129
|
+
"no_problems": "The payload fits the event and its consumers.",
|
|
130
|
+
"problems_blocking": "The payload doesn't fit the event: it can't be published.",
|
|
131
|
+
"problems_consumers": "The event accepts it, but some consumers would refuse it.",
|
|
132
|
+
"published": "Published to the outbox:",
|
|
133
|
+
"deprecated": "deprecated",
|
|
134
|
+
"check": "Check",
|
|
135
|
+
"field": "Field",
|
|
136
|
+
"message": "Message",
|
|
137
|
+
"check_event": "the event",
|
|
138
|
+
"check_consumer": "consumer",
|
|
139
|
+
# signing in
|
|
140
|
+
"authorize": "Authorize",
|
|
141
|
+
"authorize_note": "Sign in with the identity provider, or paste a token or API key below.",
|
|
142
|
+
"signed_in_as": "Signed in as {name}",
|
|
143
|
+
"sign_out": "Sign out",
|
|
144
|
+
"sign_in_failed": "The sign-in failed",
|
|
145
|
+
# outbox and dead letters
|
|
146
|
+
"messages_section": "messages",
|
|
147
|
+
"messages_intro": (
|
|
148
|
+
"Where events wait to be sent, and the ones consumers gave up on. Sending one again "
|
|
149
|
+
"reaches only the consumers that didn't handle it."
|
|
150
|
+
),
|
|
151
|
+
"outbox_summary": "Messages not sent yet: the relay keeps retrying them",
|
|
152
|
+
"dlq_summary": "Messages consumers gave up on",
|
|
153
|
+
"verb_outbox": "waiting to be sent",
|
|
154
|
+
"verb_dlq": "given up",
|
|
155
|
+
"outbox_empty": "Every message has been sent.",
|
|
156
|
+
"no_dead_letters": "No consumer has given up on a message.",
|
|
157
|
+
"event": "Event",
|
|
158
|
+
"attempts": "Attempts",
|
|
159
|
+
"consumer": "Consumer",
|
|
160
|
+
"send_again": "Send again",
|
|
161
|
+
"sent_again": "Back in the queue: the relay sends it again.",
|
|
162
|
+
"not_in_outbox": "not in the outbox any more",
|
|
163
|
+
"refresh": "Refresh",
|
|
164
|
+
# curl
|
|
165
|
+
"copy_curl": "Copy as curl",
|
|
166
|
+
"copied": "Copied to the clipboard. $TOKEN stands for your token.",
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
@cache
|
|
171
|
+
def _translation(locale: str) -> gettext.NullTranslations:
|
|
172
|
+
directory = files(__package__) / "locale"
|
|
173
|
+
return gettext.translation(DOMAIN, str(directory), languages=[locale], fallback=True)
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
def labels(locale: str | None = None) -> dict[str, str]:
|
|
177
|
+
"""Every text in ``locale`` (``ca-ES`` falls back to ``ca``, then English)."""
|
|
178
|
+
out = {}
|
|
179
|
+
candidates = [c for c in locale_candidates(locale) if c] if locale else []
|
|
180
|
+
for key, message in LABELS.items():
|
|
181
|
+
text = message
|
|
182
|
+
for candidate in candidates:
|
|
183
|
+
found = _translation(candidate).gettext(message)
|
|
184
|
+
if found != message:
|
|
185
|
+
text = found
|
|
186
|
+
break
|
|
187
|
+
out[key] = text
|
|
188
|
+
return out
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
def locales() -> list[str]:
|
|
192
|
+
"""Languages the explorer is translated into (plus English)."""
|
|
193
|
+
root = files(__package__) / "locale"
|
|
194
|
+
found = [p.name for p in root.iterdir() if (p / "LC_MESSAGES" / f"{DOMAIN}.mo").is_file()]
|
|
195
|
+
return sorted({"en", *found})
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
__all__ = ["DOMAIN", "LABELS", "labels", "locales"]
|
|
Binary file
|
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
# Catalan translations for resource-engine-fastapi.
|
|
2
|
+
# Copyright (C) 2026 ORGANIZATION
|
|
3
|
+
# This file is distributed under the same license as the resource-engine-fastapi project.
|
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2026.
|
|
5
|
+
#
|
|
6
|
+
#, fuzzy
|
|
7
|
+
msgid ""
|
|
8
|
+
msgstr ""
|
|
9
|
+
"Project-Id-Version: resource-engine-fastapi VERSION\n"
|
|
10
|
+
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
|
11
|
+
"POT-Creation-Date: 2026-11-28 10:28+0100\n"
|
|
12
|
+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
13
|
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
14
|
+
"Language: ca\n"
|
|
15
|
+
"Language-Team: ca <LL@li.org>\n"
|
|
16
|
+
"Plural-Forms: nplurals=3; plural=(n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2);\n"
|
|
17
|
+
"MIME-Version: 1.0\n"
|
|
18
|
+
"Content-Type: text/plain; charset=utf-8\n"
|
|
19
|
+
"Content-Transfer-Encoding: 8bit\n"
|
|
20
|
+
"Generated-By: Babel 2.19.0\n"
|
|
21
|
+
|
|
22
|
+
msgid "Calls the running API with your token. Reads only, unless you allow changes."
|
|
23
|
+
msgstr "Crida l'API en funcionament amb el teu testimoni. Només llegeix, tret que permetis canvis."
|
|
24
|
+
|
|
25
|
+
msgid "Access token or API key"
|
|
26
|
+
msgstr "Testimoni d'accés o clau d'API"
|
|
27
|
+
|
|
28
|
+
msgid "Kept in this browser tab only"
|
|
29
|
+
msgstr "Només es guarda en aquesta pestanya"
|
|
30
|
+
|
|
31
|
+
msgid "Allow changes (create, update, delete, transitions, actions)"
|
|
32
|
+
msgstr "Permet canvis (crear, modificar, eliminar, transicions, accions)"
|
|
33
|
+
|
|
34
|
+
msgid "This operation changes data: tick “Allow changes” first."
|
|
35
|
+
msgstr "Aquesta operació modifica dades: marca primer «Permet canvis»."
|
|
36
|
+
|
|
37
|
+
msgid "header"
|
|
38
|
+
msgstr "capçalera"
|
|
39
|
+
|
|
40
|
+
msgid "Body (JSON)"
|
|
41
|
+
msgstr "Cos (JSON)"
|
|
42
|
+
|
|
43
|
+
msgid "Send"
|
|
44
|
+
msgstr "Envia"
|
|
45
|
+
|
|
46
|
+
msgid "Send the change"
|
|
47
|
+
msgstr "Envia el canvi"
|
|
48
|
+
|
|
49
|
+
msgid "Sending…"
|
|
50
|
+
msgstr "Enviant…"
|
|
51
|
+
|
|
52
|
+
msgid "Fill in"
|
|
53
|
+
msgstr "Omple"
|
|
54
|
+
|
|
55
|
+
msgid "The body is not valid JSON"
|
|
56
|
+
msgstr "El cos no és JSON vàlid"
|
|
57
|
+
|
|
58
|
+
msgid "The API could not be reached"
|
|
59
|
+
msgstr "No s'ha pogut contactar amb l'API"
|
|
60
|
+
|
|
61
|
+
msgid "Why was it refused?"
|
|
62
|
+
msgstr "Per què s'ha denegat?"
|
|
63
|
+
|
|
64
|
+
msgid "Allowed transitions now"
|
|
65
|
+
msgstr "Transicions permeses ara"
|
|
66
|
+
|
|
67
|
+
msgid "none"
|
|
68
|
+
msgstr "cap"
|
|
69
|
+
|
|
70
|
+
msgid "Files are uploaded with the multipart form; use another client."
|
|
71
|
+
msgstr "Els fitxers es pugen amb un formulari multipart; fes servir un altre client."
|
|
72
|
+
|
|
73
|
+
msgid "What can I do?"
|
|
74
|
+
msgstr "Què puc fer?"
|
|
75
|
+
|
|
76
|
+
msgid "Your roles and the actions you may perform, from the running API."
|
|
77
|
+
msgstr "Els teus rols i les accions que pots fer, segons l'API en funcionament."
|
|
78
|
+
|
|
79
|
+
msgid "Only policy editors can see the full explanation. What the API says about you:"
|
|
80
|
+
msgstr "Només qui edita polítiques pot veure l'explicació completa. El que diu l'API de tu:"
|
|
81
|
+
|
|
82
|
+
msgid "Your roles"
|
|
83
|
+
msgstr "Els teus rols"
|
|
84
|
+
|
|
85
|
+
msgid "not granted"
|
|
86
|
+
msgstr "no concedit"
|
|
87
|
+
|
|
88
|
+
msgid "Download"
|
|
89
|
+
msgstr "Baixa"
|
|
90
|
+
|
|
91
|
+
msgid "Check the export"
|
|
92
|
+
msgstr "Comprova l'exportació"
|
|
93
|
+
|
|
94
|
+
msgid "Explorer"
|
|
95
|
+
msgstr "Explorador"
|
|
96
|
+
|
|
97
|
+
msgid ""
|
|
98
|
+
"Events committed from now on that you may see: those about records you can read. Payloads and "
|
|
99
|
+
"events about no record need the events:read permission."
|
|
100
|
+
msgstr ""
|
|
101
|
+
"Els esdeveniments confirmats a partir d'ara que pots veure: els dels registres que pots llegir. "
|
|
102
|
+
"Les dades i els esdeveniments sense registre necessiten el permís events:read."
|
|
103
|
+
|
|
104
|
+
msgid "Connect"
|
|
105
|
+
msgstr "Connecta"
|
|
106
|
+
|
|
107
|
+
msgid "Disconnect"
|
|
108
|
+
msgstr "Desconnecta"
|
|
109
|
+
|
|
110
|
+
msgid "Pause"
|
|
111
|
+
msgstr "Pausa"
|
|
112
|
+
|
|
113
|
+
msgid "Resume"
|
|
114
|
+
msgstr "Continua"
|
|
115
|
+
|
|
116
|
+
msgid "Clear"
|
|
117
|
+
msgstr "Buida"
|
|
118
|
+
|
|
119
|
+
msgid "Resource (channel)"
|
|
120
|
+
msgstr "Recurs (canal)"
|
|
121
|
+
|
|
122
|
+
msgid "Event type"
|
|
123
|
+
msgstr "Tipus d'esdeveniment"
|
|
124
|
+
|
|
125
|
+
msgid "Schema version"
|
|
126
|
+
msgstr "Versió de l'esquema"
|
|
127
|
+
|
|
128
|
+
msgid "Record id"
|
|
129
|
+
msgstr "Id del registre"
|
|
130
|
+
|
|
131
|
+
msgid "any"
|
|
132
|
+
msgstr "qualsevol"
|
|
133
|
+
|
|
134
|
+
msgid "Connected: waiting for events…"
|
|
135
|
+
msgstr "Connectat: esperant esdeveniments…"
|
|
136
|
+
|
|
137
|
+
msgid "Disconnected"
|
|
138
|
+
msgstr "Desconnectat"
|
|
139
|
+
|
|
140
|
+
msgid "Envelope"
|
|
141
|
+
msgstr "Sobre"
|
|
142
|
+
|
|
143
|
+
msgid "Record as you can read it"
|
|
144
|
+
msgstr "El registre tal com el pots llegir"
|
|
145
|
+
|
|
146
|
+
msgid "Payload"
|
|
147
|
+
msgstr "Dades"
|
|
148
|
+
|
|
149
|
+
msgid "The payload needs the events:read permission."
|
|
150
|
+
msgstr "Les dades necessiten el permís events:read."
|
|
151
|
+
|
|
152
|
+
msgid "Handled by"
|
|
153
|
+
msgstr "Tractat per"
|
|
154
|
+
|
|
155
|
+
msgid "No consumer has reported handling it yet."
|
|
156
|
+
msgstr "Cap consumidor no ha informat encara que l'hagi tractat."
|
|
157
|
+
|
|
158
|
+
msgid "Consumer results are not recorded (no activity log)."
|
|
159
|
+
msgstr "Els resultats dels consumidors no es registren (no hi ha registre d'activitat)."
|
|
160
|
+
|
|
161
|
+
msgid ""
|
|
162
|
+
"The jobs the running workers registered. Run now asks a worker to run one at once: single jobs "
|
|
163
|
+
"still wait for their lease, so they run on one worker at a time."
|
|
164
|
+
msgstr ""
|
|
165
|
+
"Les tasques que han registrat els treballadors en marxa. Executa ara demana a un treballador que "
|
|
166
|
+
"n'executi una de seguida: les tasques úniques encara esperen el seu bloqueig, de manera que "
|
|
167
|
+
"s'executen en un sol treballador alhora."
|
|
168
|
+
|
|
169
|
+
msgid "Schedule"
|
|
170
|
+
msgstr "Planificació"
|
|
171
|
+
|
|
172
|
+
msgid "Workers"
|
|
173
|
+
msgstr "Treballadors"
|
|
174
|
+
|
|
175
|
+
msgid "Worker"
|
|
176
|
+
msgstr "Treballador"
|
|
177
|
+
|
|
178
|
+
msgid "Last run"
|
|
179
|
+
msgstr "Darrera execució"
|
|
180
|
+
|
|
181
|
+
#, python-brace-format
|
|
182
|
+
msgid "every {every}"
|
|
183
|
+
msgstr "cada {every}"
|
|
184
|
+
|
|
185
|
+
#, python-brace-format
|
|
186
|
+
msgid "one worker at a time (lease {ttl})"
|
|
187
|
+
msgstr "un treballador alhora (bloqueig de {ttl})"
|
|
188
|
+
|
|
189
|
+
msgid "not run yet"
|
|
190
|
+
msgstr "encara no s'ha executat"
|
|
191
|
+
|
|
192
|
+
msgid "Runs"
|
|
193
|
+
msgstr "Execucions"
|
|
194
|
+
|
|
195
|
+
msgid "Run now"
|
|
196
|
+
msgstr "Executa ara"
|
|
197
|
+
|
|
198
|
+
msgid "No worker has registered jobs yet."
|
|
199
|
+
msgstr "Encara cap treballador no ha registrat tasques."
|
|
200
|
+
|
|
201
|
+
msgid "When"
|
|
202
|
+
msgstr "Quan"
|
|
203
|
+
|
|
204
|
+
msgid "Outcome"
|
|
205
|
+
msgstr "Resultat"
|
|
206
|
+
|
|
207
|
+
msgid "Duration"
|
|
208
|
+
msgstr "Durada"
|
|
209
|
+
|
|
210
|
+
msgid "Error"
|
|
211
|
+
msgstr "Error"
|
|
212
|
+
|
|
213
|
+
msgid "Waiting for a worker…"
|
|
214
|
+
msgstr "Esperant un treballador…"
|
|
215
|
+
|
|
216
|
+
#, python-brace-format
|
|
217
|
+
msgid "Finished: {status}"
|
|
218
|
+
msgstr "Acabada: {status}"
|
|
219
|
+
|
|
220
|
+
msgid "Show"
|
|
221
|
+
msgstr "Mostra"
|
|
222
|
+
|
|
223
|
+
msgid "Due"
|
|
224
|
+
msgstr "Venciment"
|
|
225
|
+
|
|
226
|
+
msgid "overdue"
|
|
227
|
+
msgstr "vençuda"
|
|
228
|
+
|
|
229
|
+
msgid "No timed transition is waiting on this record."
|
|
230
|
+
msgstr "Cap transició programada no espera aquest registre."
|
|
231
|
+
|
|
232
|
+
msgid "worker"
|
|
233
|
+
msgstr "treballador"
|
|
234
|
+
|
|
235
|
+
msgid "Filter by verb, path or description"
|
|
236
|
+
msgstr "Filtra per verb, camí o descripció"
|
|
237
|
+
|
|
238
|
+
msgid "Fires"
|
|
239
|
+
msgstr "S'executa"
|
|
240
|
+
|
|
241
|
+
#, python-brace-format
|
|
242
|
+
msgid "after {after} in {states} (counted from {since})"
|
|
243
|
+
msgstr "després de {after} en {states} (comptat des de {since})"
|
|
244
|
+
|
|
245
|
+
msgid "read"
|
|
246
|
+
msgstr "llegir"
|
|
247
|
+
|
|
248
|
+
msgid "create or run"
|
|
249
|
+
msgstr "crear o executar"
|
|
250
|
+
|
|
251
|
+
msgid "replace"
|
|
252
|
+
msgstr "substituir"
|
|
253
|
+
|
|
254
|
+
msgid "change"
|
|
255
|
+
msgstr "modificar"
|
|
256
|
+
|
|
257
|
+
msgid "delete"
|
|
258
|
+
msgstr "eliminar"
|
|
259
|
+
|
|
260
|
+
msgid "publish an event"
|
|
261
|
+
msgstr "publicar un esdeveniment"
|
|
262
|
+
|
|
263
|
+
msgid "watch events live"
|
|
264
|
+
msgstr "veure esdeveniments en directe"
|
|
265
|
+
|
|
266
|
+
msgid "runs on a schedule"
|
|
267
|
+
msgstr "s'executa periòdicament"
|
|
268
|
+
|
|
269
|
+
msgid "CRUD"
|
|
270
|
+
msgstr "CRUD"
|
|
271
|
+
|
|
272
|
+
msgid "Transitions and actions"
|
|
273
|
+
msgstr "Transicions i accions"
|
|
274
|
+
|
|
275
|
+
msgid "Relations"
|
|
276
|
+
msgstr "Relacions"
|
|
277
|
+
|
|
278
|
+
msgid "Documents"
|
|
279
|
+
msgstr "Documents"
|
|
280
|
+
|
|
281
|
+
msgid "Export and print"
|
|
282
|
+
msgstr "Exportar i imprimir"
|
|
283
|
+
|
|
284
|
+
msgid "Events (pub/sub)"
|
|
285
|
+
msgstr "Esdeveniments (pub/sub)"
|
|
286
|
+
|
|
287
|
+
msgid "Schedule (cron)"
|
|
288
|
+
msgstr "Programació (cron)"
|
|
289
|
+
|
|
290
|
+
msgid "Other"
|
|
291
|
+
msgstr "Altres"
|
|
292
|
+
|
|
293
|
+
msgid "Dry run"
|
|
294
|
+
msgstr "Prova sense publicar"
|
|
295
|
+
|
|
296
|
+
msgid "Publish"
|
|
297
|
+
msgstr "Publica"
|
|
298
|
+
|
|
299
|
+
msgid "Type the event's name to publish it"
|
|
300
|
+
msgstr "Escriu el nom de l'esdeveniment per publicar-lo"
|
|
301
|
+
|
|
302
|
+
#, python-brace-format
|
|
303
|
+
msgid "Type {type} in the confirmation field to publish it."
|
|
304
|
+
msgstr "Escriu {type} al camp de confirmació per publicar-lo."
|
|
305
|
+
|
|
306
|
+
msgid "Publishing by hand is turned off in this application; dry runs work."
|
|
307
|
+
msgstr "Publicar a mà està desactivat en aquesta aplicació; les proves sí que funcionen."
|
|
308
|
+
|
|
309
|
+
msgid ""
|
|
310
|
+
"A dry run checks the payload against the event and the consumers that read it. Publishing writes "
|
|
311
|
+
"it to the outbox, tagged origin=console and audited; the worker sends it like any other event."
|
|
312
|
+
msgstr ""
|
|
313
|
+
"La prova comprova les dades contra l'esdeveniment i els consumidors que el llegeixen. Publicar "
|
|
314
|
+
"l'escriu a la sortida (outbox), marcat amb origin=console i auditat; el treballador l'envia com "
|
|
315
|
+
"qualsevol altre esdeveniment."
|
|
316
|
+
|
|
317
|
+
msgid "The payload fits the event and its consumers."
|
|
318
|
+
msgstr "Les dades encaixen amb l'esdeveniment i els seus consumidors."
|
|
319
|
+
|
|
320
|
+
msgid "The payload doesn't fit the event: it can't be published."
|
|
321
|
+
msgstr "Les dades no encaixen amb l'esdeveniment: no es pot publicar."
|
|
322
|
+
|
|
323
|
+
msgid "The event accepts it, but some consumers would refuse it."
|
|
324
|
+
msgstr "L'esdeveniment les accepta, però alguns consumidors les rebutjarien."
|
|
325
|
+
|
|
326
|
+
msgid "Published to the outbox:"
|
|
327
|
+
msgstr "Publicat a la sortida (outbox):"
|
|
328
|
+
|
|
329
|
+
msgid "deprecated"
|
|
330
|
+
msgstr "obsoleta"
|
|
331
|
+
|
|
332
|
+
msgid "Check"
|
|
333
|
+
msgstr "Comprovació"
|
|
334
|
+
|
|
335
|
+
msgid "Field"
|
|
336
|
+
msgstr "Camp"
|
|
337
|
+
|
|
338
|
+
msgid "Message"
|
|
339
|
+
msgstr "Missatge"
|
|
340
|
+
|
|
341
|
+
msgid "the event"
|
|
342
|
+
msgstr "l'esdeveniment"
|
|
343
|
+
|
|
344
|
+
msgid "consumer"
|
|
345
|
+
msgstr "consumidor"
|
|
346
|
+
|
|
347
|
+
msgid "Authorize"
|
|
348
|
+
msgstr "Autoritza"
|
|
349
|
+
|
|
350
|
+
msgid "Sign in with the identity provider, or paste a token or API key below."
|
|
351
|
+
msgstr "Inicia la sessió amb el proveïdor d'identitat, o enganxa un testimoni o una clau d'API a sota."
|
|
352
|
+
|
|
353
|
+
#, python-brace-format
|
|
354
|
+
msgid "Signed in as {name}"
|
|
355
|
+
msgstr "Sessió iniciada com a {name}"
|
|
356
|
+
|
|
357
|
+
msgid "Sign out"
|
|
358
|
+
msgstr "Tanca la sessió"
|
|
359
|
+
|
|
360
|
+
msgid "The sign-in failed"
|
|
361
|
+
msgstr "No s'ha pogut iniciar la sessió"
|
|
362
|
+
|
|
363
|
+
msgid "messages"
|
|
364
|
+
msgstr "missatges"
|
|
365
|
+
|
|
366
|
+
msgid ""
|
|
367
|
+
"Where events wait to be sent, and the ones consumers gave up on. Sending one again reaches only "
|
|
368
|
+
"the consumers that didn't handle it."
|
|
369
|
+
msgstr ""
|
|
370
|
+
"On esperen els esdeveniments per enviar-se, i els que els consumidors han deixat córrer. Tornar-"
|
|
371
|
+
"ne a enviar un només arriba als consumidors que no l'han tractat."
|
|
372
|
+
|
|
373
|
+
msgid "Messages not sent yet: the relay keeps retrying them"
|
|
374
|
+
msgstr "Missatges encara no enviats: la sortida els continua reintentant"
|
|
375
|
+
|
|
376
|
+
msgid "Messages consumers gave up on"
|
|
377
|
+
msgstr "Missatges que els consumidors han deixat córrer"
|
|
378
|
+
|
|
379
|
+
msgid "waiting to be sent"
|
|
380
|
+
msgstr "pendent d'enviar"
|
|
381
|
+
|
|
382
|
+
msgid "given up"
|
|
383
|
+
msgstr "descartat"
|
|
384
|
+
|
|
385
|
+
msgid "Every message has been sent."
|
|
386
|
+
msgstr "S'han enviat tots els missatges."
|
|
387
|
+
|
|
388
|
+
msgid "No consumer has given up on a message."
|
|
389
|
+
msgstr "Cap consumidor no ha deixat córrer cap missatge."
|
|
390
|
+
|
|
391
|
+
msgid "Event"
|
|
392
|
+
msgstr "Esdeveniment"
|
|
393
|
+
|
|
394
|
+
msgid "Attempts"
|
|
395
|
+
msgstr "Intents"
|
|
396
|
+
|
|
397
|
+
msgid "Consumer"
|
|
398
|
+
msgstr "Consumidor"
|
|
399
|
+
|
|
400
|
+
msgid "Send again"
|
|
401
|
+
msgstr "Torna'l a enviar"
|
|
402
|
+
|
|
403
|
+
msgid "Back in the queue: the relay sends it again."
|
|
404
|
+
msgstr "Torna a ser a la cua: la sortida el tornarà a enviar."
|
|
405
|
+
|
|
406
|
+
msgid "not in the outbox any more"
|
|
407
|
+
msgstr "ja no és a la sortida"
|
|
408
|
+
|
|
409
|
+
msgid "Refresh"
|
|
410
|
+
msgstr "Actualitza"
|
|
411
|
+
|
|
412
|
+
msgid "Copy as curl"
|
|
413
|
+
msgstr "Copia com a curl"
|
|
414
|
+
|
|
415
|
+
msgid "Copied to the clipboard. $TOKEN stands for your token."
|
|
416
|
+
msgstr "Copiat al porta-retalls. $TOKEN representa el teu testimoni."
|
|
417
|
+
|
|
Binary file
|