SPB Git

Repository Public

en.adm.explorer.ts 9.7 KB 170 lines typescript

1/**2 * =============================================================================3 *                  SP BOUCHER | SOFTWARE & RESEARCH4 *             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project          : SP Mail8 * File             : web/src/i18n/en.adm.explorer.ts9 * Module           : i18n10 * Repository       : https://git.spboucher.ai/sp-mail11 * Project Website  : https://mail.spboucher.ai12 * Created          : 2026-11-1913 * Last Modified    : 2026-11-2014 *15 * Author           : Simon-Pierre Boucher16 * Position         : Professor of Finance17 * Institution      : Université du Québec en Outaouais (UQO)18 * Organization     : SP Boucher19 * Website          : https://spboucher.ai20 * Git              : https://git.spboucher.ai21 *22 * Preferred Contact: support@spboucher.ai23 * Development      : dev@spboucher.ai24 * Support          : support@spboucher.ai25 * Security/Admin   : admin@spboucher.ai26 *27 * Copyright (c) 202628 * Simon-Pierre Boucher29 * All rights reserved where applicable. This file is governed by the30 * applicable project license, copyright notices and relevant law.31 * Existing third-party rights and notices remain unaffected.32 *33 * License          : None specified (no license file in this repository)34 *35 * Do not embed credentials, private keys, access tokens,36 * certificates or confidential personal information.37 *38 * =============================================================================39 * END OF SP BOUCHER SOURCE HEADER40 * =============================================================================41 */4243// Administration "explorer" strings (en).44import type { frAdmExplorer } from "./fr.adm.explorer"4546export const enAdmExplorer: Record<keyof typeof frAdmExplorer, string> = {47  "adm.explorer.intro": "The explorer calls the real /api/v1 API: every request takes real effect (including sends and deletions).",48  "adm.explorer.caller.label": "Call the API as",49  "adm.explorer.caller.session": "My session",50  "adm.explorer.caller.hint": "With a key, the request is sent with a 10-minute explorer token holding exactly the key's permissions. No stored secret is ever shown.",51  "adm.explorer.caller.noKeys": "No active API key: only the session is available.",52  "adm.explorer.token.session": "Requests are sent with your session (your account's permissions).",53  "adm.explorer.token.lazy": "An explorer token will be created on the first run.",54  "adm.explorer.token.valid": "Explorer token valid until {time}",55  "adm.explorer.endpoints": "Endpoints",56  "adm.explorer.pick": "Choose an endpoint",57  "adm.explorer.search": "Search endpoints",58  "adm.explorer.searchHint": "Path, method or summary",59  "adm.explorer.count": "{n} endpoint|{n} endpoints",60  "adm.explorer.noMatch": "No endpoints match.",61  "adm.explorer.untagged": "Other",62  "adm.explorer.emptySpec": "The API specification describes no operations.",63  "adm.explorer.request": "Request",64  "adm.explorer.danger.send": "Sends mail",65  "adm.explorer.danger.delete": "Deletes data",66  "adm.explorer.danger.write": "Changes data",67  "adm.explorer.doc.scopes": "Required scopes",68  "adm.explorer.doc.public": "No authentication (public route)",69  "adm.explorer.doc.anyCaller": "None: any authenticated caller",70  "adm.explorer.doc.errors": "Error codes",71  "adm.explorer.doc.envelope": "Every error uses the envelope",72  "adm.explorer.or": " or ",73  "adm.explorer.precheck.title": "Permission pre-check",74  "adm.explorer.precheck.allowed": "Likely allowed",75  "adm.explorer.precheck.denied": "Likely denied",76  "adm.explorer.precheck.unknown": "Unknown until run",77  "adm.explorer.precheck.public": "Public route: no permission required.",78  "adm.explorer.precheck.noCaller": "The caller's permissions are not known to the console.",79  "adm.explorer.precheck.scopeNone": "No scope required.",80  "adm.explorer.precheck.scopeOk": "Scope present:",81  "adm.explorer.precheck.scopeMissing": "Missing scope:",82  "adm.explorer.precheck.addr.allowed": "in the allowlist",83  "adm.explorer.precheck.addr.not_allowed": "not in the allowlist",84  "adm.explorer.precheck.addr.unknown": "unknown to the console: checked at run time",85  "adm.explorer.precheck.resource": "Access to the resource named by the identifier is only checked by the server.",86  "adm.explorer.precheck.note": "Pre-check computed here from the key's scopes and addresses. The server remains the authority.",87  "adm.explorer.precheck.noteSession": "Pre-check computed here from your session's permissions. The server remains the authority.",88  "adm.explorer.params.path": "Path parameters",89  "adm.explorer.params.query": "Query parameters",90  "adm.explorer.params.header": "Headers",91  "adm.explorer.body": "JSON body",92  "adm.explorer.mode.label": "Body input mode",93  "adm.explorer.mode.form": "Form",94  "adm.explorer.mode.raw": "Raw JSON",95  "adm.explorer.mode.invalid": "Invalid JSON: fix it before going back to the form.",96  "adm.explorer.mode.lossy": "This JSON contains values the form cannot represent: it stays as raw JSON.",97  "adm.explorer.raw.label": "Request body (JSON)",98  "adm.explorer.raw.hint": "Sent as is. Empty: no body.",99  "adm.explorer.raw.invalid": "Invalid JSON: the request cannot be run.",100  "adm.explorer.field.required": "(required)",101  "adm.explorer.field.unset": "(not sent)",102  "adm.explorer.field.clear": "Do not send",103  "adm.explorer.field.clearNamed": "Do not send {name}",104  "adm.explorer.field.list": "One value per line.",105  "adm.explorer.field.listOf": "One value per line, from: {values}.",106  "adm.explorer.field.json": "JSON value.",107  "adm.explorer.field.nullable": "Accepts null (in raw JSON).",108  "adm.explorer.field.default": "Default: {value}",109  "adm.explorer.problem.required": "This parameter is required.",110  "adm.explorer.problem.number": "Invalid number.",111  "adm.explorer.problem.json": "Invalid JSON.",112  "adm.explorer.file.label": "File to upload",113  "adm.explorer.file.hint": "The file's bytes are sent as is, with its content type.",114  "adm.explorer.file.chosen": "{name} — {size}, {type}",115  "adm.explorer.run": "Run",116  "adm.explorer.running": "Request in progress…",117  "adm.explorer.error.fields": "Fix the flagged fields before running.",118  "adm.explorer.error.rawInvalid": "The body JSON is invalid: the request was not sent.",119  "adm.explorer.error.noFile": "Choose a file to upload.",120  "adm.explorer.error.network": "The server is unreachable: the request did not complete.",121  "adm.explorer.error.keyInactive": "This key is revoked or expired: no explorer token can be created. Refresh the page.",122  "adm.explorer.error.keyGone": "This key no longer exists. Refresh the page.",123  "adm.explorer.guard.writeTitle": "Run this request?",124  "adm.explorer.guard.writeBody": "This request changes real data.",125  "adm.explorer.guard.writeConfirm": "Run",126  "adm.explorer.guard.sendTitle": "This request sends mail",127  "adm.explorer.guard.sendWarn": "A real message (or webhook call) will go out to its recipients as soon as it runs. It cannot be recalled.",128  "adm.explorer.guard.sendCheck": "I confirm I want to send this request",129  "adm.explorer.guard.sendConfirm": "Send",130  "adm.explorer.guard.deleteTitle": "This request deletes data",131  "adm.explorer.guard.deleteWarn": "Real data will be deleted as soon as it runs. This may be irreversible.",132  "adm.explorer.guard.deleteCheck": "I confirm I want to delete this data",133  "adm.explorer.guard.deleteConfirm": "Delete",134  "adm.explorer.guard.denied": "The pre-check predicts a denial: the server will probably respond with a 403 error.",135  "adm.explorer.response.title": "Response",136  "adm.explorer.response.none": "No request run for this endpoint yet.",137  "adm.explorer.response.status": "HTTP {status}",138  "adm.explorer.response.duration": "{ms} ms",139  "adm.explorer.response.copy": "Copy response",140  "adm.explorer.response.body": "Response body",141  "adm.explorer.response.empty": "Response has no body.",142  "adm.explorer.response.binary": "Binary content not displayed: {size}, {type}",143  "adm.explorer.response.truncated": "Text truncated for display.",144  "adm.explorer.response.rebuilt": "Error response in session mode: body rebuilt (code, message, details), headers not available.",145  "adm.explorer.code.insufficient_scope": "Insufficient scope: the caller lacks the scope this operation requires.",146  "adm.explorer.code.address_not_allowed": "Address outside the caller's allowlist.",147  "adm.explorer.code.invalid_request": "Invalid request: see the response details.",148  "adm.explorer.code.invalid_api_key": "Token rejected (expired, or key revoked): a new one will be created on the next run.",149  "adm.explorer.code.rate_limited": "The key's rate limit was reached.",150  "adm.explorer.code.not_found": "Resource not found, or not visible to this caller.",151  "adm.explorer.code.reauth_required": "This operation requires a recent passkey confirmation.",152  "adm.explorer.snippet.title": "Code samples",153  "adm.explorer.snippet.note": "The token never appears: provide your key in the SPMAIL_API_KEY environment variable.",154  "adm.explorer.snippet.lang": "Sample language",155  "adm.explorer.snippet.label": "{lang} sample",156  "adm.explorer.history.title": "History for this visit",157  "adm.explorer.history.note": "Kept in memory only: it disappears when you leave the page.",158  "adm.explorer.history.empty": "No calls yet.",159  "adm.explorer.history.method": "Method",160  "adm.explorer.history.path": "Path",161  "adm.explorer.history.status": "Status",162  "adm.explorer.history.duration": "Duration",163  "adm.explorer.history.caller": "Caller",164  "adm.explorer.tree.root": "the root",165  "adm.explorer.tree.expand": "Expand {name}",166  "adm.explorer.tree.collapse": "Collapse {name}",167  "adm.explorer.tree.items": "{n} item|{n} items",168  "adm.explorer.tree.more": "Show more ({n} remaining)",169}170
Files main
Menu

Theme