Lang translations

This commit is contained in:
Andy Miller
2018-05-11 13:03:24 -06:00
parent 979da05c3d
commit 17ca689c71
2 changed files with 133 additions and 93 deletions

38
languages/en.yaml Normal file
View File

@@ -0,0 +1,38 @@
PLUGIN_LOGIN_LDAP:
ACCESS_GROUPS_DESC: 'NOTE: The first level defines the **LDAP group** to be mapped, subsequent levels define the **Grav Access Levels** to give a user who is assigned to that group.'
ADVANCED: 'Advanced'
CONFIGURATION: 'Configuration'
DEFAULT_ACCESS_LEVELS_GROUPS: 'Default Groups'
DEFAULT_ACCESS_LEVELS_SITE: 'Default Site Access'
DEFAULT_GROUPS_ACCESS_LEVELS: 'Groups Access Level'
GROUP_SEARCH_DN: 'Group Search DN'
GROUP_SEARCH_DN_DESC: 'String used to retrieve user group data. If not provided, extra LDAP group data will not be stored in Grav user account file'
GROUP_QUERY: 'Group Query'
GROUP_QUERY_DESC: 'The query used to search Groups. Only change this if you know what you are doing'
HOST: 'Host'
HOST_DESC: 'Host name of the LDAP server'
INSTRUCTIONS: 'Instructions'
NEGOTIATE_TLS: 'Negotiate TLS'
NEGOTIATE_TLS_DESC: 'Negotiate TLS encryption with the LDAP server (requires all traffic to be encrypted)'
OPT_REFERRALS: 'Follow Referrals'
OPT_REFERRALS_DESC: 'Sets the value of LDAP_OPT_REFERRALS (Set to "off" for Windows 2003 servers)'
PORT: 'Port'
PORT_DESC: 'Port to connect to host'
SAVE_GRAV_USER: 'Save Grav user'
SAVE_GRAV_USER_DESC: 'Saves the logged in user as a local Grav account'
STORE_LDAP_USER: 'Store LDAP data'
STORE_LDAP_USER_DESC: 'If storing a local Grav user, you can also store LDAP data to use in Grav'
SERVER_CONFIGURATION: 'Server Configuration'
USE_SSL: 'Use SSL'
USER_DN: 'User DN'
USER_DN_DESC: 'String used to authenticate a user, where [username] is directly replaced by user value entered via login'
USERNAME_MAPPING: 'Username Mapping'
USERNAME_MAPPING_DESC: 'LDAP Attribute(s) that contains the user''s username'
FULLNAME_MAPPING: 'User Fullname Mapping'
FULLNAME_MAPPING_DESC: 'LDAP Attribute(s) that contains the user''s full name'
EMAIL_MAPPING: 'User Email Mapping'
EMAIL_MAPPING_DESC: 'LDAP Attribute that contains the user''s email'
USER_SEARCH_DN: 'User Search DN'
USER_SEARCH_DN_DESC: 'String used to retrieve user data. If not provided, extra LDAP user data will not be stored in Grav user account file'
VERSION: 'Version'
VERSION_DESC: 'LDAP Version 3 is most popular, only change this if you know what you are doing'