diff --git a/src/locales/en.json b/src/locales/en.json index 42519ccf..11accfb9 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -141,6 +141,7 @@ "download": "Download", "enable": "Enable", "enabled": "Enabled", + "errors": "%s errors", "error_modify_something": "You should modify something", "error_occured": "An error occurred, try again", "error_retrieve_feed": "Could not retrieve feed: %s. You might have a plugin prevent your browser from performing this request (or the website is down).", @@ -149,6 +150,7 @@ "error_server_unexpected": "Unexpected server error (%s)", "error_connection_interrupted": "The server closed the connection instead of answering it, has nginx been restarted by error? (Error code/message: %s)", "everyone_has_access": "Everyone has access.", + "everything_good": "Everything good!", "experimental_warning": "Warning: this feature is experimental and not consider stable, you shouldn't be using it except if you know what you are doing.", "filesystem": "Filesystem", "firewall": "Firewall", @@ -195,6 +197,7 @@ "ipv6": "IPv6", "label": "Label", "label_for_manifestname": "Label for %s", + "last_ran": "Last time ran:", "level": "level", "license": "License", "loading": "Loading …", @@ -390,6 +393,7 @@ "versions": "Versions", "version": "Version", "view_user_profile": "View %s's profile", + "warnings": "%s warnings", "warning_first_user": "You probably need to create a user first.", "write": "Write", "wrong_password": "Wrong password", diff --git a/src/views/diagnosis/diagnosis_show.ms b/src/views/diagnosis/diagnosis_show.ms index aa5b6081..8cb707b2 100644 --- a/src/views/diagnosis/diagnosis_show.ms +++ b/src/views/diagnosis/diagnosis_show.ms @@ -17,14 +17,14 @@

{{ description }}

- {{#if noIssues}}Everything good!{{/if}} - {{#if errors}}{{ errors }} errors{{/if}} - {{#if warnings}}{{ warnings }} warnings{{/if}} + {{#if noIssues}}{{t 'everything_good'}}{{/if}} + {{#if errors}}{{t 'errors' errors }}{{/if}} + {{#if warnings}}{{t 'warnings' warnings }}{{/if}} {{t 'rerun_diagnosis'}}