From 3374c698a2f296530a75ec34fa90f4c45ede0d45 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 15 Nov 2010 20:33:01 -0800 Subject: [PATCH] i18n update --- mod/register.php | 2 +- util/strings.php | 27 ++++++++++++++++++--------- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/mod/register.php b/mod/register.php index 12d27482b..30666405c 100644 --- a/mod/register.php +++ b/mod/register.php @@ -317,7 +317,7 @@ function register_content(&$a) { '$registertext' =>((x($a->config,'register_text')) ? '
' . $a->config['register_text'] . '
' : "" ), - '$namelabel' => t('Your Full Name (e.g. Joe Smith): '), + '$namelabel' => t('Your Full Name ' . "\x28" . 'e.g. Joe Smith' . "\x29" . ': '), '$addrlabel' => t('Your Email Address: '), '$nickdesc' => t('Choose a profile nickname. This must begin with a text character. Your global profile locator will then be \'nickname@$sitename\'.'), '$nicklabel' => t('Choose a nickname: '), diff --git a/util/strings.php b/util/strings.php index 49d7acee5..4cf7f98cd 100644 --- a/util/strings.php +++ b/util/strings.php @@ -20,6 +20,7 @@ $a->strings[' don\'t like this.'] = ' don\'t like this.'; $a->strings['No contacts'] = 'No contacts'; $a->strings['Contacts'] = 'Contacts'; $a->strings['View Contacts'] = 'View Contacts'; +$a->strings['Search'] = 'Search'; $a->strings["Invite Friends"] = "Invite Friends"; $a->strings['Connect/Follow [profile address]'] = 'Connect/Follow [profile address]'; $a->strings['Example: bob@example.com, http://example.com/barbara'] = 'Example: bob@example.com, http://example.com/barbara'; @@ -193,6 +194,7 @@ $a->strings['Delete Album'] = 'Delete Album'; $a->strings['Delete Photo'] = 'Delete Photo'; $a->strings['was tagged in a'] = 'was tagged in a'; $a->strings['by'] = 'by'; +$a->strings['Image exceeds size limit of '] = 'Image exceeds size limit of '; $a->strings['Unable to process image.'] = 'Unable to process image.'; $a->strings['Image upload failed.'] = 'Image upload failed.'; $a->strings['No photos selected'] = 'No photos selected'; @@ -232,14 +234,12 @@ $a->strings['Profile unavailable to clone.'] = 'Profile unavailable to clone.'; $a->strings['This is your public profile.
It may be visible to anybody using the internet.'] = 'This is your public profile.
It may be visible to anybody using the internet.'; $a->strings['Age: '] = 'Age: '; $a->strings['Please enter the required information.'] = 'Please enter the required information.'; -$a->strings[' Not a valid email address.'] = ' Not a valid email address.'; -$a->strings[' Please use a shorter name.'] = ' Please use a shorter name.'; -$a->strings[' Name too short.'] = ' Name too short.'; -$a->strings[' That doesn\'t appear to be your full name.'] = ' That doesn\'t appear to be your full name.'; -$a->strings[' Not valid email.'] = ' Not valid email.'; -$a->strings[' Your email domain is not among those allowed on this site.'] = ' Your email domain is not among those allowed on this site.'; -$a->strings[' Nickname must start with a letter and contain only letters, numbers, dashes, or underscore.'] = ' Nickname must start with a letter and contain only letters, numbers, dashes, or underscore.'; -$a->strings[' Nickname is already registered. Please choose another.'] = ' Nickname is already registered. Please choose another.'; +$a->strings['Please use a shorter name.'] = 'Please use a shorter name.'; +$a->strings['Name too short.'] = 'Name too short.'; +$a->strings['That doesn\'t appear to be your full name.'] = 'That doesn\'t appear to be your full name.'; +$a->strings['Your email domain is not among those allowed on this site.'] = 'Your email domain is not among those allowed on this site.'; +$a->strings['Your "nickname" can only contain "a-z", "0-9", "-", and "_", and must also begin with a letter.'] = 'Your "nickname" can only contain "a-z", "0-9", "-", and "_", and must also begin with a letter.'; +$a->strings['Nickname is already registered. Please choose another.'] = 'Nickname is already registered. Please choose another.'; $a->strings['An error occurred during registration. Please try again.'] = 'An error occurred during registration. Please try again.'; $a->strings['An error occurred creating your default profile. Please try again.'] = 'An error occurred creating your default profile. Please try again.'; $a->strings['Registration details for '] = 'Registration details for '; @@ -248,13 +248,23 @@ $a->strings['Failed to send email message. Here is the message that failed.'] = $a->strings['Your registration can not be processed.'] = 'Your registration can not be processed.'; $a->strings['Registration request at '] = 'Registration request at '; $a->strings['Your registration is pending approval by the site owner.'] = 'Your registration is pending approval by the site owner.'; +$a->strings['Registration'] = 'Registration'; +$a->strings['Your Full Name ' . "\x28" . 'e.g. Joe Smith' . "\x29" . ': '] = 'Your Full Name ' . "\x28" . 'e.g. Joe Smith' . "\x29" . ': '; +$a->strings['Your Email Address: '] = 'Your Email Address: '; +$a->strings['Choose a profile nickname. This must begin with a text character. Your global profile locator will then be \'nickname@$sitename\'.'] = 'Choose a profile nickname. This must begin with a text character. Your global profile locator will then be \'nickname@$sitename\'.'; +$a->strings['Choose a nickname: '] = 'Choose a nickname: '; +$a->strings['Register'] = 'Register'; $a->strings['Please login.'] = 'Please login.'; $a->strings['Registration revoked for '] = 'Registration revoked for '; $a->strings['Account approved.'] = 'Account approved.'; +$a->strings['View in context'] = 'View in context'; $a->strings['Passwords do not match. Password unchanged.'] = 'Passwords do not match. Password unchanged.'; $a->strings['Empty passwords are not allowed. Password unchanged.'] = 'Empty passwords are not allowed. Password unchanged.'; $a->strings['Password changed.'] = 'Password changed.'; $a->strings['Password update failed. Please try again.'] = 'Password update failed. Please try again.'; +$a->strings[' Please use a shorter name.'] = ' Please use a shorter name.'; +$a->strings[' Name too short.'] = ' Name too short.'; +$a->strings[' Not valid email.'] = ' Not valid email.'; $a->strings['Settings updated.'] = 'Settings updated.'; $a->strings['Profile is not published.'] = 'Profile is not published.'; $a->strings['Default Post Permissions'] = 'Default Post Permissions'; @@ -290,7 +300,6 @@ $a->strings['Everybody'] = 'Everybody'; $a->strings['Logout'] = 'Logout'; $a->strings['Login'] = 'Login'; $a->strings['Home'] = 'Home'; -$a->strings['Register'] = 'Register'; $a->strings['Directory'] = 'Directory'; $a->strings['Network'] = 'Network'; $a->strings['Notifications'] = 'Notifications';