Finish server-side translations in controllers

This commit is contained in:
garrettmills
2020-05-30 20:16:10 -05:00
parent 86878efb52
commit d2ae9c43e8
26 changed files with 225 additions and 394 deletions

View File

@@ -6,6 +6,20 @@ module.exports = exports = {
group_already_exists: 'A group with that name already exists.',
user_not_found: 'User not found with that ID.',
user_already_exists: 'A user with that identifier already exists.',
client_not_found: 'Client not found with that ID.',
nonexistent_client: '(Non-existent Client)',
token_not_found: 'Token not found with that ID, or the token has expired.',
provider_already_exists: 'A service provider with that entity_id already exists.',
setting_not_found: 'No such setting exists with that key.',
banner_not_found: 'Banner message not found with that ID.',
app_pw_not_found: 'App password not found with that UUID.',
invalid_ldap_client_id: 'Invalid ldap_client_id:',
invalid_oauth_client_id: 'Invalid oauth_client_id:',
@@ -18,6 +32,9 @@ module.exports = exports = {
},
improper_field: 'Improperly formatted field:',
alphanum_underscores: '(alphanumeric/underscores)',
array: '(array)',
email: '(email)',
absolute_url: '(should be absolute URL)',
provide_one: 'Please provide one of:',
must_one: 'Must be one of:',
}