mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +03:00
consistency change for english translation keys: use camel case (#9347)
no issue - required for #8437 - one instance of hyphenated key changed; the rest of keys in file _core/server/translations/en.json_ are already camelCase - also converted `common.i18n.t()` calls to this key in file _core/server/update-check.js_ - this allows to simplify i18n to an unified use of `jsonpath`
This commit is contained in:
parent
a5af7d6384
commit
4cca2353e0
@ -278,7 +278,7 @@
|
||||
},
|
||||
"noPermissionToAction": "You do not have permission to perform this action"
|
||||
},
|
||||
"update-check": {
|
||||
"updateCheck": {
|
||||
"checkingForUpdatesFailed": {
|
||||
"error": "Checking for updates failed, your blog will continue to function.",
|
||||
"help": "If you get this error repeatedly, please seek help from {url}."
|
||||
|
@ -46,8 +46,8 @@ function updateCheckError(err) {
|
||||
internal
|
||||
);
|
||||
|
||||
err.context = common.i18n.t('errors.update-check.checkingForUpdatesFailed.error');
|
||||
err.help = common.i18n.t('errors.update-check.checkingForUpdatesFailed.help', {url: 'https://docs.ghost.org/v1'});
|
||||
err.context = common.i18n.t('errors.updateCheck.checkingForUpdatesFailed.error');
|
||||
err.help = common.i18n.t('errors.updateCheck.checkingForUpdatesFailed.help', {url: 'https://docs.ghost.org/v1'});
|
||||
common.logging.error(err);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user