Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated translations; i18n for fieldLabels

  • Loading branch information...
commit 701da8b822a5c0226944d8e3064d2f9d8693076a 1 parent fe14346
@rlehmann rlehmann authored chillu committed
Showing with 4 additions and 0 deletions.
  1. +2 −0  lang/en.yml
  2. +2 −0  security/Member.php
View
2  lang/en.yml
@@ -330,6 +330,7 @@ en:
BUTTONLOSTPASSWORD: 'I''ve lost my password'
CONFIRMNEWPASSWORD: 'Confirm New Password'
CONFIRMPASSWORD: 'Confirm Password'
+ DATEFORMAT: 'Date format'
DefaultAdminFirstname: 'Default Admin'
DefaultDateTime: default
EMAIL: Email
@@ -352,6 +353,7 @@ en:
SUBJECTPASSWORDCHANGED: 'Your password has been changed'
SUBJECTPASSWORDRESET: 'Your password reset link'
SURNAME: Surname
+ TIMEFORMAT: 'Time format'
VALIDATIONMEMBEREXISTS: 'A member already exists with the same %s'
ValidationIdentifierFailed: 'Can''t overwrite existing member #{id} with identical identifier ({name} = {value}))'
WELCOMEBACK: 'Welcome Back, {firstname}'
View
2  security/Member.php
@@ -1238,6 +1238,8 @@ function fieldLabels($includerelations = true) {
$labels['PasswordExpiry'] = _t('Member.db_PasswordExpiry', 'Password Expiry Date', 'Password expiry date');
$labels['LockedOutUntil'] = _t('Member.db_LockedOutUntil', 'Locked out until', 'Security related date');
$labels['Locale'] = _t('Member.db_Locale', 'Interface Locale');
+ $labels['DateFormat'] = _t('Member.DATEFORMAT', 'Date format');
+ $labels['TimeFormat'] = _t('Member.TIMEFORMAT', 'Time format');
if($includerelations){
$labels['Groups'] = _t('Member.belongs_many_many_Groups', 'Groups', 'Security Groups this member belongs to');
}
Please sign in to comment.
Something went wrong with that request. Please try again.