mark some, but not all, strings for translation

This commit is contained in:
Paul Fitzpatrick 2024-05-13 16:25:24 -04:00
parent 4ee3ff9eb7
commit ae781ff0d4
No known key found for this signature in database
GPG Key ID: 07F16BF3214888F6

View File

@ -494,21 +494,21 @@ Please log in as an administrator.`),
value: cssStatus(status), value: cssStatus(status),
expandedContent: [ expandedContent: [
cssCheckHeader( cssCheckHeader(
'Results', t('Results'),
{ style: 'margin-top: 0px; padding-top: 0px;' }, { style: 'margin-top: 0px; padding-top: 0px;' },
), ),
result.verdict ? dom('pre', result.verdict) : null, result.verdict ? dom('pre', result.verdict) : null,
(result.success === undefined) ? null : (result.success === undefined) ? null :
dom('p', dom('p',
result.success ? 'Check succeeded.' : 'Check failed.'), result.success ? t('Check succeeded.') : t('Check failed.')),
(result.done !== true) ? null : (result.done !== true) ? null :
dom('p', 'No fault detected.'), dom('p', t('No fault detected.')),
(details?.info === undefined) ? null : [ (details?.info === undefined) ? null : [
cssCheckHeader('Notes'), cssCheckHeader(t('Notes')),
details.info, details.info,
], ],
(result.details === undefined) ? null : [ (result.details === undefined) ? null : [
cssCheckHeader('Details'), cssCheckHeader(t('Details')),
...Object.entries(result.details).map(([key, val]) => { ...Object.entries(result.details).map(([key, val]) => {
return dom( return dom(
'div', 'div',