From d7f12b5973f30bc9f739e6e1c5cd3549e2e193dd Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Thu, 26 Jul 2018 09:21:29 +0200 Subject: [PATCH] Add context for translators on help page [MAILPOET-1459] --- views/help.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/views/help.html b/views/help.html index cfc222bf49..899b1db1e0 100644 --- a/views/help.html +++ b/views/help.html @@ -35,23 +35,23 @@ 'systemInfoDataError': __('Sorry, there was an error, please try again later.'), 'systemStatusCronStatusTitle': __('Cron'), 'systemStatusQueueTitle': __('Sending Queue'), - 'lastUpdated': __('Last updated'), - 'lastRunStarted': __('Last run started'), - 'lastRunCompleted': __('Last run completed'), - 'lastSeenError': __('Last seen error'), - 'unknown': __('unknown'), - 'accessible': __('Accessible'), + 'lastUpdated': _x('Last updated', 'A label in a status table e.g. Last updated: 2018-10-18 18:50'), + 'lastRunStarted': _x('Last run started', 'A label in a status table e.g. Last run started: 2018-10-18 18:50'), + 'lastRunCompleted': _x('Last run completed', 'A label in a status table e.g. Last run completed: 2018-10-18 18:50'), + 'lastSeenError': _x('Last seen error', 'A label in a status table e.g. Last seen error: Process timeout'), + 'unknown': _x('unknown', 'An unknown state is a status table e.g. Last run started: unknown'), + 'accessible': _x('Accessible', 'A label in a status table e.g. Accessible: yes'), 'status': __('Status'), 'yes': __('yes'), 'no': __('no'), - 'none': __('none'), - 'running': __('running'), - 'cronWaiting': __('waiting for the next run'), - 'startedAt': __('Started at'), - 'sentEmails': __('Sent emails'), - 'retryAttempt': __('Retry attempt'), - 'retryAt': __('Retry at'), - 'error': __('Error'), + 'none': _x('none', 'An empty state is a status table e.g. Error: none'), + 'running': _x('running', 'A state of a process.'), + 'cronWaiting': _x('waiting for the next run', 'A state of a process.'), + 'startedAt': _x('Started at', 'A label in a status table e.g. Started at: 2018-10-18 18:50'), + 'sentEmails': _x('Sent emails', 'A label in a status table e.g. Sent emails: 50'), + 'retryAttempt': _x('Retry attempt', 'A label in a status table e.g. Retry attempt: 2'), + 'retryAt': _x('Retry at', 'A label in a status table e.g. Retry at: 2018-10-18 18:50'), + 'error': _x('Error', 'A label in a status table e.g. Error: missing data'), 'totalCompletedTasks': __('Total completed tasks'), 'totalScheduledTasks': __('Total scheduled tasks'), 'totalRunningTasks': __('Total running tasks'),