summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-11-05 14:17:10 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-11-05 14:17:10 +0000
commitd5467f269d3b1461291ae2459bfb7f27eeaeee8e (patch)
treece0e095b07d957c011f95ade1b392729fc65e26f /lang
parentf52e46672845ed4cf6ebae50f198a684d34c5410 (diff)
downloadgitano-d5467f269d3b1461291ae2459bfb7f27eeaeee8e.tar.gz
Extract messages from config.lua
Diffstat (limited to 'lang')
-rw-r--r--lang/en.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/lang/en.lua b/lang/en.lua
index 6cf6720..60ed6a3 100644
--- a/lang/en.lua
+++ b/lang/en.lua
@@ -129,4 +129,30 @@ example administration repository rules and an admin user and group.
RULESET_ALLOWED = "Ruleset permitted action",
RULESET_DENIED = "Ruleset denied action. Sorry.",
+ -- Messages from the config module
+ NO_SITE_CONF = "No site.conf",
+ NO_CORE_RULES = "No core rules file",
+ ERROR_SITE_CONF_TYPE = "Error in gitano-admin:${sha}:site.conf [${key}] expected ${want} got ${got}",
+ ERROR_DUPLICATE_USER_NAME = "Duplicate user name: ${name}",
+ ERROR_USER_MISSING_REAL_NAME = "gitano-admin:${sha}:${path}/user.conf missing real_name",
+ ERROR_USER_MISSING_EMAIL_ADDRESS = "gitano-admin:${sha}:${path}/user.conf missing email_address",
+ ERROR_ORPHAN_KEY = "Found a key (${key}) for ${user} which lacks a user.conf",
+ ERROR_BAD_KEY_NEWLINES = "Key ${filename} has newlines in it -- is it in the wrong format?",
+ ERROR_BAD_KEY_SMELL = "Unable to parse key, ${filename} did not smell like an OpenSSH v2 key",
+ ERROR_BAD_KEY_TYPE = "Unknown key type ${keytype} in ${filename}",
+ ERROR_DUPLICATE_KEY = "Duplicate key found at (${keyname}) for ${username}. Previously found as (${otherkey}) for ${otheruser}",
+ ERROR_DUPLICATE_GROUP = "Duplicate group name: ${name}",
+ ERROR_GROUP_NOT_BLOB = "${path}.conf is not a blob?",
+ ERROR_GROUP_NO_DESCRIPTION = "${name}: No description?",
+ ERROR_GROUP_NOT_FOUND = "Group ${name} not found, when traversing ${path}",
+ ERROR_GROUP_LOOP = "Loop detected involving: ${path}",
+ ERROR_DUPLICATE_KEYRING = "Duplicate keyring name: ${name}",
+ ERROR_KEYRING_NOT_BLOB = "${path}.gpg is not a blob?",
+ ERROR_GENERIC_CONF_NOT_FOUND = "Not found: ${sha}::${name}",
+ ERROR_GENERIC_CONF_NOT_BLOB = "${sha}::${name}: Not a blob",
+ DEBUG_ADDING_SSH_KEY = "Adding <${user}> <${key}>",
+ ERROR_CANNOT_FIND_HOME = "Unable to find HOME",
+ ERROR_UNABLE_TO_CREATE = "Unable to create ${path}",
+ ERROR_UNABLE_TO_RENAME = "Unable to overwrite ${path}",
+ AUTHORIZED_KEYS_UPDATED = "SSH authorised key file updated",
}