Files
wekan/tests/cornishTranslationProgress.test.cjs
T
Lauri Ojansivu 4364c7d008 Fix the suites that my earlier fixes broke: the hint's tests, the calendar guard, the OIDC quirks, tag stripping.
- The permanent delete hint now says Admin Panel / Settings / Delete: the
  tests that pinned the old path say the new one, and the audited Wu,
  Corsican and Latin corrections record the change, so the repair tool keeps
  it.
- calendarBaseOptions: the board calendar's editable follows
  Utils.canModifyBoard() since the write gate.
- OAUTH2_RESPONSE_MODE and OAUTH2_CLAIMS_IN_ID_TOKEN are read as process.env
  (they are environment-only) and named as such in the login catalog test.
- The attachment search text strips tags until nothing more is removed, as
  tests/tagStrippingFixedPoint.test.cjs requires.
- Login-Problems.md links sandstorm.org (sandstormOrgHosts).

Thanks to xet7 !
2026-11-22 19:10:12 +02:00

403 lines
22 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// The completed catalog predates newer features; keep its no-regression gate.
// Full translation work remains visible through fill-translations.mjs --list.
const assert = require('node:assert/strict');
const fs = require('node:fs');
const path = require('node:path');
const { spawnSync } = require('node:child_process');
const root = path.resolve(__dirname, '..');
const fillScript = path.join(root, 'releases/translations/fill-translations.mjs');
const result = spawnSync(process.execPath, [fillScript, '--completed-catalog', '--list', 'kw'], {
cwd: root,
encoding: 'utf8',
});
assert.equal(result.status, 0, result.stderr);
const remaining = JSON.parse(result.stdout);
assert.equal(Object.keys(remaining).length, 0);
const english = JSON.parse(fs.readFileSync(
path.join(root, 'imports/i18n/data/en.i18n.json'), 'utf8'));
const cornish = JSON.parse(fs.readFileSync(
path.join(root, 'imports/i18n/data/kw.i18n.json'), 'utf8'));
const tokens = (value) => [...value.matchAll(
/__[A-Za-z0-9_]+__|%[A-Za-z]|%{[A-Za-z0-9]+}|{{[A-Za-z0-9]+}}/g)]
.map(([token]) => token).sort();
const tags = (value) => [...value.matchAll(/<\/?[A-Za-z][^>]*>/g)]
.map(([tag]) => tag).sort();
for (const [key, value] of Object.entries(cornish)) {
if (value !== english[key]) {
assert.deepEqual(tokens(value), tokens(english[key]), key);
}
assert.deepEqual(tags(value), tags(english[key]), key);
}
assert.equal(cornish.accept, 'Degemer');
assert.deepEqual(tokens(cornish['activity-changedTitle']), ['%s', '%s']);
assert.deepEqual(tokens(cornish['act-deleteCard']),
['__board__', '__card__', '__list__', '__swimlane__']);
assert.deepEqual(tokens(cornish['act-removeChecklistItem']),
['__board__', '__card__', '__checkList__', '__checklistItem__', '__list__',
'__swimlane__']);
assert.match(cornish['act-createBoard'], /estyllen/);
assert.match(cornish['act-createCard'], /karten.*rol.*hyns.*estyllen/);
assert.match(cornish['act-addAttachment'], /stagell/);
assert.match(cornish['act-addChecklist'], /rol checkya/);
assert.match(cornish['act-addComment'], /kampoellys/);
assert.match(cornish['act-archivedBoard'], /kovskrifva/);
assert.deepEqual(tokens(cornish['act-moveCardToOtherBoard']),
['__board__', '__card__', '__list__', '__oldBoard__', '__oldList__',
'__oldSwimlane__', '__swimlane__']);
assert.deepEqual(tokens(cornish['activity-added']), ['%s', '%s']);
assert.deepEqual(tokens(cornish['activity-checklist-completed-card']),
['__board__', '__card__', '__checklist__', '__list__', '__swimlane__']);
assert.equal(cornish['allboards.workspaces'], 'Leow ober');
assert.match(cornish['allboards.edit-workspace-icon'], /markdown/);
assert.match(cornish['archive-permanent-delete-disabled-hint'],
/Admin Panel.*Settings.*Delete/); // the switch moved from Problems to Settings
assert.match(cornish['archive-permanent-delete-disabled-hint'],
/Enable permanent delete for Global Admin/);
assert.deepEqual(tokens(cornish['activity-dueDate']), ['%s', '%s']);
assert.match(cornish['list-width-error-message'], /ledander an rol.*niver kowal ≥ 200 picselow/);
assert.doesNotMatch(cornish['list-width-error-message'], /270/);
assert.match(cornish['set-swimlane-height-value'], /picselow/);
assert.equal(cornish['add-checklist'], 'Keworra rol checkya');
assert.equal(cornish['add-members'], 'Keworra eseli');
assert.deepEqual(tokens(cornish['and-n-other-card']), ['__count__']);
assert.deepEqual(tokens(cornish['and-n-other-card_plural']), ['__count__']);
assert.deepEqual(tokens(cornish['avatar-too-big']), ['__size__']);
assert.deepEqual(tokens(cornish['board-nb-stars']), ['%s']);
assert.deepEqual(tags(cornish['board-private-info']),
['</strong>', '<strong>']);
assert.match(cornish['board-private-info'], /privedh/);
assert.deepEqual(tags(cornish['board-public-info']),
['</strong>', '<strong>']);
assert.match(cornish['board-public-info'], /poblek/);
assert.deepEqual(tokens(
cornish['board-open-and-move-between-remaining-and-workspaces']),
['__workspaces__']);
assert.match(cornish['enter-zoom-level'], /50-300%/);
assert.deepEqual(tokens(cornish['card-comments-title']), ['%s']);
assert.equal(cornish['card-edit-custom-fields'], 'Chanjya meys a-vusur');
assert.equal(cornish['vote-question'], 'Govynn votya');
assert.match(cornish['cardStartPlanningPokerPopup-title'], /Planning Poker/);
assert.match(cornish['editPokerEndDatePopup-title'], /Planning Poker/);
assert.equal(cornish['importDependenciesPopup-title'],
'Ynperthi omgemmysow');
assert.equal(cornish['exportChecklistPopup-title'],
'Esperthi rol checkya');
assert.equal(cornish['importSwimlanePopup-title'], 'Ynperthi hyns');
assert.match(cornish.casSignIn, /CAS/);
assert.equal(cornish['cardType-linkedBoard'], 'Estyllen gelmys');
assert.match(cornish['map-to-existing-user-desc'],
/usyer gwir.*kartennow.*kampoellyansow.*gwrythres/);
assert.match(cornish['font-preview-text'], /0123456789/);
assert.equal(cornish['changeLanguagePopup-title'], 'Chanjya yeth');
assert.equal(cornish['changePermissionsPopup-title'], 'Chanjya grontyow');
assert.equal(cornish['auto-list-width'], 'Ledander awtomatek an rol');
assert.match(cornish['card-aging-days'], /3/);
assert.equal(cornish['move-card-up'], 'Gwaya karten yn-bann');
assert.equal(cornish['close-dialog'], 'Degea keskows');
assert.equal(cornish['color-indigo'], 'glas indigo');
assert.equal(cornish['color-magenta'], 'rudh magenta');
assert.equal(cornish['color-sky'], 'ebron');
assert.equal(cornish['comment-only'], 'Kampoellyans hepken');
assert.match(cornish['read-only-desc'], /Ny yll chanjya/);
assert.equal(cornish['checklistDeletePopup-title'],
'Dilea rol checkya?');
assert.doesNotThrow(() => JSON.parse(cornish['copyManyCardsPopup-format']));
assert.match(cornish['copyManyCardsPopup-instructions'], /JSON/);
assert.equal(cornish['custom-field-currency-option'], 'Kod arghans');
assert.match(cornish['edit-wip-limit'], /WIP/);
assert.deepEqual(tokens(cornish['email-enrollAccount-text']),
['__url__', '__user__']);
assert.deepEqual(tokens(cornish['email-invite-text']),
['__board__', '__inviter__', '__url__', '__user__']);
assert.deepEqual(tokens(cornish['email-resetPassword-subject']),
['__siteName__']);
assert.match(cornish['error-json-schema'], /JSON/);
assert.match(cornish['error-csv-schema'], /CSV.*TSV/);
assert.match(cornish['error-import-empty-board'], /WeKan/);
assert.match(cornish['export-card-pdf'], /PDF/);
assert.match(cornish['export-card-excel-fields'], /Excel/);
assert.match(cornish['export-card-field-board-info'],
/Estyllen.*Rol.*Hyns/);
assert.match(cornish['export-card-excel-no-disk-space'], /Excel/);
assert.equal(cornish['filter-no-due-date'], 'Dedhyas termyn vyth');
assert.equal(cornish['filter-no-member'], 'Esel vyth');
for (const operator of ['==', '!=', '<=', '>=', '&&', '||', '/Tes.*/i']) {
assert.match(cornish['advanced-filter-description'],
new RegExp(operator.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')));
}
assert.deepEqual(tokens(cornish['import-board-instruction-issues']),
['__endpoint__', '__sourceName__']);
assert.match(cornish['import-board-instruction-openproject'],
/OpenProject.*GET \/api\/v3\/work_packages/);
assert.match(cornish['import-board-instruction-excel'], /WeKan/);
assert.match(cornish['import-board-instruction-excel'], /\.xlsx.*Excel/);
assert.match(cornish['import-trello-json-file-hint'], /Trello API/);
assert.match(cornish['import-attachments-zip'],
/Trello Card Attachments Downloader/);
assert.match(cornish['trello-api-key'],
/Trello API.*https:\/\/trello\.com\/app-key/);
assert.match(cornish['trello-api-token'], /Trello API/);
assert.match(cornish['trello-cancel-delete-confirm'], /Ny yll.*distreylys/);
assert.match(cornish['invalid-year'], /2026/);
assert.deepEqual(tokens(cornish['label-default']), ['%s']);
assert.equal(cornish['keyboard-shortcuts'], 'Berrfordhow bysowek');
assert.deepEqual(tokens(cornish['leave-board-pop']), ['__boardTitle__']);
assert.match(cornish['list-archive-cards-pop'], /Rol.*Kovskrifva/);
assert.match(cornish['listImportCardsTsvPopup-title'], /Excel CSV\/TSV/);
assert.equal(cornish['no-archived-swimlanes'],
'Hyns vyth y\'n kovskrifva.');
assert.equal(cornish.normal, 'Usadow');
assert.match(cornish['normal-desc'], /Ny yll chanjya settyansow/);
assert.deepEqual(tokens(cornish['page-maybe-private']), ['%s']);
assert.deepEqual(tags(cornish['page-maybe-private']),
['</a>', "<a href='%s'>"]);
assert.match(cornish['public-desc'], /Google/);
assert.deepEqual(tokens(cornish['remove-member-pop']),
['__boardTitle__', '__name__', '__username__']);
assert.match(cornish['sandstorm-remove-member-warning'], /WeKan.*Sandstorm/);
assert.match(cornish['setWipLimitPopup-title'], /WIP/);
assert.match(cornish['search-example'], /Enter/);
assert.match(cornish['toggle-assignees'], /1-9/);
assert.match(cornish['toggle-labels'], /1-9.*1-9/);
assert.match(cornish['custom-top-left-corner-logo-height'], /27/);
assert.match(cornish['automatic-linked-url-schemes'], /URL.*URL/);
assert.equal(cornish['welcome-swimlane'], 'Karrek ven 1');
assert.match(cornish['wipLimitErrorPopup-dialog-pt1'], /WIP/);
assert.match(cornish['wipLimitErrorPopup-dialog-pt2'], /WIP/);
assert.match(cornish['attachment-transfer-limits-title'], /API/);
assert.match(cornish['smtp-tls-description'], /TLS.*SMTP/);
assert.deepEqual(tokens(cornish['email-invite-register-text']),
['__icode__', '__inviter__', '__url__', '__user__']);
assert.match(cornish['email-smtp-test-subject'], /SMTP/);
assert.equal(cornish['bidirectional-webhooks'], 'Webhookow diwfordh');
assert.match(cornish.Node_version, /Node/);
assert.match(cornish.Meteor_version, /Meteor/);
assert.match(cornish.FerretDB_version, /FerretDB/);
assert.match(cornish.Reactivity_mode, /changeStreams.*oplog.*polling/);
assert.match(cornish.Reactivity_order, /METEOR_REACTIVITY_ORDER/);
assert.match(cornish.DDP_transport, /DDP_TRANSPORT/);
assert.match(cornish.OS_Cpus, /CPU.*OS/);
assert.match(cornish['org-domains-description'],
/a\.example\.com.*kanban\.example\.org.*MULTITENANCY=true/);
assert.match(cornish['org-admins-description'], /Menystrer dre'n wias oll/);
assert.match(cornish['delete-board-confirm-popup'], /Nyns eus distrei/);
assert.deepEqual(tokens(cornish['default-subtasks-board']), ['__board__']);
assert.match(cornish['checklist-count-on-minicard'], /0\/0/);
assert.equal(cornish['parent-card'], 'Karten gerens');
assert.equal(cornish['source-board'], 'Estyllen bennfenten');
assert.deepEqual(tokens(cornish['activity-added-label']), ['%s', '%s']);
assert.deepEqual(tokens(cornish['activity-set-customfield']),
['%s', '%s', '%s']);
assert.equal(cornish['r-board-rules'], 'Reulayow estyllen');
assert.match(cornish['r-workflow-view'], /ros ober/);
assert.deepEqual(tokens(cornish['r-w-every-day-at']), ['__time__']);
assert.deepEqual(tokens(cornish['r-import-done']), ['__count__']);
assert.match(cornish['r-import-paste'], /JSON.*CSV.*Trello Butler/);
assert.equal(cornish['r-all-boards'], 'Pub estyllen');
assert.match(cornish['r-import-workflow-note'], /n8n.*Node-RED.*WeKan/);
assert.deepEqual(tokens(cornish['r-import-unmapped']), ['__count__']);
assert.equal(cornish['r-workflow-format'], 'Furv');
assert.match(cornish['r-schedule-weekday'], /Dy'Lun–Dy'Gwener/);
assert.match(cornish['r-for-n-days'], /N dedh/);
assert.equal(cornish['r-trigger'], 'Dallether');
assert.equal(cornish['r-action'], 'Ober');
assert.equal(cornish['r-list'], 'rol');
assert.match(cornish['r-unarchived'], /kovskrifva/);
assert.equal(cornish['r-checklist'], 'rol checkya');
assert.match(cornish['r-remove-all'], /pub esel.*garten/);
assert.match(cornish['r-d-move-to-top-gen'], /benn y rol/);
assert.equal(cornish['r-d-send-email'], 'Danvon ebost');
assert.equal(cornish['r-in-swimlane'], 'yn hyns');
assert.equal(cornish['r-items-list'], 'taklen1,taklen2,taklen3');
assert.match(cornish['r-checklist-note'], /komma/);
assert.match(cornish['r-when-a-card-is-moved'], /rol aral/);
assert.match(cornish['custom-head-meta-tags'], /HTML/);
assert.match(cornish['custom-head-manifest-content'], /JSON/);
assert.match(cornish['custom-assetlinks-content'], /assetlinks\.json.*JSON/);
assert.deepEqual(tags(cornish['add-custom-html-after-body-start']), ['<body>']);
assert.deepEqual(tags(cornish['add-custom-html-before-body-end']), ['</body>']);
assert.match(cornish['oidc-button-text'], /OIDC/);
assert.deepEqual(tokens(cornish['act-a-dueAt']),
['__card__', '__timeOldValue__', '__timeValue__']);
assert.deepEqual(tokens(cornish['act-newDue']),
['__board__', '__card__', '__list__']);
assert.deepEqual(tokens(cornish['act-atUserComment']),
['__board__', '__card__', '__comment__', '__list__', '__swimlane__']);
assert.match(cornish['submit-on-enter'], /Enter/);
assert.match(cornish['submit-on-enter-description'],
/Enter.*Shift\+Enter.*Ctrl\/Cmd\+Enter.*Enter/);
assert.match(cornish['open-many-cards-at-once-description'], /fenester y honan/);
assert.match(cornish['roles-info'], /Panel Menystrer.*menystroryon oll/);
assert.equal(cornish['roles-status-role'], 'Rann');
assert.equal(cornish.monday, "Dy'Lun");
assert.equal(cornish.sunday, "Dy'Sul");
assert.equal(cornish.voting, 'Votya');
assert.equal(cornish.task, 'Oberenn');
assert.match(cornish['invalid-domain'], /example\.com.*@/);
assert.match(cornish['shared-templates-info'], /Kowethas.*Bagas.*ebost/);
assert.equal(cornish['myCardsViewChange-choice-table'], 'Tavolen');
assert.match(cornish['dueCardsViewChange-choice-all-description'],
/\*Termyn\*/);
assert.match(cornish['globalSearchViewChange-choice-all-description'],
/\*Ow kartennow\*/);
assert.deepEqual(tokens(cornish['n-n-of-n-cards-found']),
['__end__', '__start__', '__total__']);
for (const key of [
'operator-board', 'operator-swimlane', 'operator-list', 'operator-label',
'operator-user', 'operator-member', 'operator-assignee', 'operator-creator',
'operator-status', 'operator-due', 'operator-created', 'operator-modified',
'operator-sort', 'operator-comment', 'operator-has', 'operator-limit',
'operator-debug', 'operator-org', 'operator-team', 'operator-title',
'operator-description', 'operator-customfield', 'operator-attachment-text',
'operator-checklist-text', 'predicate-archived', 'predicate-open',
'predicate-ended', 'predicate-all', 'predicate-overdue', 'predicate-week',
'predicate-month', 'predicate-quarter', 'predicate-year', 'predicate-due',
'predicate-modified', 'predicate-created', 'predicate-attachment',
'predicate-description', 'predicate-checklist', 'predicate-start',
'predicate-end', 'predicate-assignee',
]) {
assert.doesNotMatch(cornish[key], /\s/, key);
}
for (const key of [
'predicate-member', 'predicate-public', 'predicate-private',
'predicate-selector', 'predicate-projection',
]) {
assert.doesNotMatch(cornish[key], /\s/, key);
}
assert.deepEqual(tokens(cornish['operator-number-expected']),
['__operator__', '__value__']);
assert.deepEqual(tokens(cornish['globalSearch-instructions-operator-has']), [
'__operator_has__', '__predicate_assignee__', '__predicate_attachment__',
'__predicate_checklist__', '__predicate_description__', '__predicate_due__',
'__predicate_end__', '__predicate_member__', '__predicate_start__',
]);
assert.match(cornish['globalSearch-instructions-notes-2'], /\*OR\*/);
assert.match(cornish['globalSearch-instructions-notes-3'], /\*AND\*/);
assert.match(cornish['drag-to-connect'], /garten aral/);
assert.match(cornish['import-dependencies-file'], /JSON.*SVG/);
assert.deepEqual(tokens(cornish['import-dependencies-done']),
['__imported__', '__unmatched__']);
assert.deepEqual(tokens(cornish['background-too-big']), ['{{size}}']);
assert.equal(cornish.location, 'Tyller');
assert.match(cornish['server-error-troubleshooting'],
/sudo snap logs wekan\.wekan.*sudo docker logs wekan-app/s);
assert.equal(cornish['move-swimlane'], 'Gwaya hyns');
assert.deepEqual(tokens(cornish['custom-field-stringtemplate-format']),
['%{value}']);
assert.match(cornish['custom-field-stringtemplate-separator'],
/&#32;.*&nbsp;/);
assert.match(cornish.cpuReportTitle, /CPU/);
assert.match(cornish['office-report-desc'], /IPv4.*IPv6/);
assert.match(cornish['api-report-desc'], /REST API/);
assert.match(cornish['api-no-calls'], /WITH_API=true/);
assert.match(cornish['recovery-report-desc'], /MongoDB/);
assert.equal(cornish['copy-swimlane'], 'Kopia hyns');
assert.match(cornish['Double-Bounce'], /Double Bounce/);
assert.match(cornish['carbon-copy'], /Cc:/);
assert.equal(cornish['cardDetailsPopup-title'], 'Manylyon karten');
assert.equal(cornish['confirm-btn'], 'Afydhya');
assert.match(cornish.Node_heap_malloced_memory, /Node.*malloc/);
assert.match(cornish.Node_memory_usage_rss, /Node/);
assert.match(cornish['custom-legal-notice-link-url'], /URL/);
assert.equal(cornish.legalNotice, 'gwaytyans laghel');
assert.equal(cornish.copyChecklist, 'Kopia rol checkya');
assert.equal(cornish['attachment-move-storage-gridfs'],
'Gwaya stagell dhe GridFS');
assert.equal(cornish['attachment-move-storage-s3'],
'Gwaya stagell dhe S3');
assert.equal(cornish['move-all-attachments-to-gridfs'],
'Gwaya pub stagell dhe GridFS');
assert.equal(cornish['move-all-attachments-to-s3'],
'Gwaya pub stagell dhe S3');
assert.match(cornish['attachment-repair-locations-description'],
/GridFS.*kommol/);
assert.match(cornish['gridfs-file-id'], /ID.*GridFS/);
assert.match(cornish['mongodb-compact-description'],
/MongoDB GridFS.*Compact/);
assert.match(cornish['mongodb-compact-warning'], /Compact.*oplog.*Meteor/);
assert.equal(cornish['board-title'], 'Titel estyllen');
assert.equal(cornish['board-status'], 'Studh estyllen');
assert.match(cornish.Mongo_sessions_count, /Mongo/);
assert.match(cornish['preview-pdf-not-supported'], /PDF/);
assert.deepEqual(tokens(cornish['drag-board-to-workspace']),
['__workspaces__']);
assert.match(cornish['show-week-of-year'], /ISO 8601/);
assert.match(cornish['import-board-zip'], /\.zip.*JSON/);
assert.equal(cornish.accessibility, 'Hedhadewder');
assert.equal(cornish['accessibility-title'], 'Titel hedhadewder');
assert.match(cornish['accounts-lockout-info'], /assayow omgelmi/);
assert.equal(cornish['accounts-lockout-period'],
'Termyn alhwedha (eylennow)');
assert.equal(cornish['admin-people-filter-active'], 'Byw');
assert.match(cornish['active-cron-jobs'], /Cron/);
assert.equal(cornish['attachments-path'], 'Hyns stagellow');
assert.match(cornish['board-backup-scheduled'], /estyllen.*sowen/);
assert.equal(cornish['cron-job-deleted'],
'Oberenn termynys dileys yn sowen');
assert.match(cornish['s3-force-path-style-description'], /MinIO.*AWS.*S3/);
assert.match(cornish['database-migration-description'],
/MongoDB.*FerretDB v1.*SQLite.*mongodb:\/\/127\.0\.0\.1:27018.*mongodb:\/\/127\.0\.0\.1:27019.*WEKAN_FERRETDB_URL.*WEKAN_MONGODB_URL.*MONGO_URL.*WeKan.*Snap.*snap set wekan database=ferretdb.*=mongodb/);
assert.deepEqual(tokens(cornish['database-migration-confirm']), ['__db__']);
assert.match(cornish['sandstorm-migration-description'],
/WeKan.*Sandstorm.*MongoDB 3.*FerretDB v1.*SQLite.*files\/attachments.*files\/avatars/);
assert.match(cornish['cards-loading-description'],
/WeKan.*CARDS_LOADING \(all\/lazy\/auto\).*CARDS_LOADING_LAZY_THRESHOLD/);
assert.match(cornish['render-links-as-plain-text-description'],
/\[label\]\(url\).*<a href>/);
assert.match(cornish['always-show-code-as-text-description'],
/HTML.*<!-- -->.*JavaScript/);
assert.match(cornish['disable-all-import-description'],
/WeKan JSON.*Trello.*CSV\/Excel.*Jira.*Kanboard.*NextCloud Deck.*OpenProject.*GitHub.*GitLab.*Gitea.*Forgejo/);
assert.match(cornish['backup-description'],
/\.zip.*backup\/YYYY\/MM\/DD\/HH_MM_SS\/backup\.zip.*YYYY_MM_DD-HH_MM_SS\/attachments.*\/avatars.*\/data.*S3\/MinIO.*Azure.*GCS/);
assert.match(cornish['backup-time'], /HH:MM/);
assert.match(cornish['gcs-permissions-note'],
/WeKan.*Google Cloud Console.*Cloud Storage.*Buckets.*Permissions.*Grant access.*New principals.*client_email.*Storage Object Admin.*Save/);
assert.match(cornish['s3-endpoint-menu-path'],
/AWS.*S3.*Endpoint URL.*MinIO.*Cloudflare R2.*Backblaze B2.*Wasabi.*DigitalOcean Spaces/);
assert.match(cornish['s3-secret-key-menu-path'],
/Access key ID.*Secret access key.*Download \.csv/);
assert.match(cornish['gcs-credentials-menu-path'],
/Google Cloud Console.*IAM & Admin.*Service accounts.*Keys.*Add key.*Create new key.*JSON.*Create/);
assert.match(cornish['gridfs-enabled-description'], /MongoDB GridFS/);
assert.match(cornish['gridfs-move-collectionfs-note'], /CollectionFS/);
assert.match(cornish['s3-region-description'], /AWS S3.*us-east-1/);
assert.match(cornish['s3-ssl-enabled-description'], /SSL\/TLS.*S3/);
assert.equal(cornish['board-migrations'], 'Ymigransow estyllen');
assert.match(cornish['restore-lost-cards-migration-description'],
/swimlaneId.*listId/);
assert.match(cornish['restore-all-archived-migration-description'],
/swimlaneId.*listId/);
assert.match(cornish['fix-avatar-urls-migration-description'], /URLow avatar/);
assert.match(cornish['run-restore-lost-cards-migration-confirm'],
/swimlaneId.*listId/);
assert.equal(cornish['step-validate-migration'], 'Gwirhe ymigrans');
assert.match(cornish['step-fix-attachment-urls'], /URLow stagell/);
assert.match(cornish['step-fix-missing-ids'], /IDow/);
assert.match(cornish['cpu-cores'], /CPU/);
assert.match(cornish['gridfs-attachments'], /GridFS/);
assert.equal(cornish['every-30-minutes'], 'Pub 30 mynysen');
assert.match(cornish['migrate-all-to-gridfs'], /GridFS/);
assert.match(cornish['migrate-all-to-s3'], /S3/);
assert.match(cornish['migration-cpu-threshold-description'],
/CPU.*10-90/);
assert.match(cornish['migration-delay-ms-description'], /100-10000/);
assert.equal(cornish['showChecklistAtMinicard'],
'Diskwedhes rol checkya war garten vyghan');
assert.match(cornish.otp, /OTP/);
assert.match(cornish['api-endpoints'], /API/);
assert.match(cornish['problems-in-progress-help'], /CPU/);
assert.deepEqual(tokens(cornish['repair-broken-cards-done']), ['__fixed__']);
assert.deepEqual(tokens(cornish['repair-broken-cards-done-unfixable']),
['__fixed__', '__unfixable__']);
assert.match(cornish['event-ip'], /IP/);
assert.match(cornish['event-ipv4'], /IPv4/);
assert.match(cornish['event-ipv6'], /IPv6/);
assert.match(cornish['import-here-instruction'], /WeKan.*\.json.*\.zip/);
assert.deepEqual(tokens(cornish['globalSearch-instructions-operator-number']),
['__operator_number__']);