Skip to content

Commit

Permalink
mark some, but not all, strings for translation
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfitz committed May 13, 2024
1 parent 86c5958 commit acd9ece
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/client/ui/AdminPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,21 +456,21 @@ Please log in as an administrator.`),
value: cssStatus(status),
expandedContent: [
cssCheckHeader(
'Results',
t('Results'),
{ style: 'margin-top: 0px; padding-top: 0px;' },
),
result.verdict ? dom('pre', result.verdict) : null,
(result.success === undefined) ? null :
dom('p',
result.success ? 'Check succeeded.' : 'Check failed.'),
result.success ? t('Check succeeded.') : t('Check failed.')),
(result.done !== true) ? null :
dom('p', 'No fault detected.'),
dom('p', t('No fault detected.')),
(details?.info === undefined) ? null : [
cssCheckHeader('Notes'),
cssCheckHeader(t('Notes')),
details.info,
],
(result.details === undefined) ? null : [
cssCheckHeader('Details'),
cssCheckHeader(t('Details')),
...Object.entries(result.details).map(([key, val]) => {
return dom(
'div',
Expand Down

0 comments on commit acd9ece

Please sign in to comment.