Commit 9bb3930b authored by Matt Tucker's avatar Matt Tucker Committed by matt

Fixes to i18n file and formatting.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1003 b35dd754-fafc-0310-a699-88a17e54d16e
parent d662a131
...@@ -705,13 +705,12 @@ session.summary.last_update=List last updated ...@@ -705,13 +705,12 @@ session.summary.last_update=List last updated
setup.admin.settings.account=Administrator Account setup.admin.settings.account=Administrator Account
setup.admin.settings.info=Enter settings for the system administrator account (username of "admin") below. It is important to choose a password for the account that cannot be easily guessed -- for example, at least six characters long and containing a mix of letters and numbers. You can skip this step if you have already setup your admin account (not for first time users). setup.admin.settings.info=Enter settings for the system administrator account (username of "admin") below. It is important to choose a password for the account that cannot be easily guessed -- for example, at least six characters long and containing a mix of letters and numbers. You can skip this step if you have already setup your admin account (not for first time users).
setup.admin.settings.error=There were errors when updating the admin account. Please see below. setup.admin.settings.error=There were errors when updating the admin account. Please see below.
setup.admin.settings.install=If this is a new setup.admin.settings.current_password=Current Password:
setup.admin.settings.install1=installation, the current password will be setup.admin.settings.current_password_description=If this is a new installation, the current password will be 'admin'.
setup.admin.settings.install2=admin setup.admin.settings.current_password_error=Please enter the correct current password.
setup.admin.settings.password=Please enter the correct current password.
setup.admin.settings.email=Admin Email Address: setup.admin.settings.email=Admin Email Address:
setup.admin.settings.valid_email=A valid email address for the admin account. setup.admin.settings.email_description=A valid email address for the admin account.
setup.admin.settings.enter_email=Please enter a valid email address. setup.admin.settings.email_error=Please enter a valid email address.
setup.admin.settings.new_password=New Password: setup.admin.settings.new_password=New Password:
setup.admin.settings.valid_new_password=Please enter a valid new password. setup.admin.settings.valid_new_password=Please enter a valid new password.
setup.admin.settings.not_new_password=The new passwords do not match. setup.admin.settings.not_new_password=The new passwords do not match.
......
...@@ -146,20 +146,21 @@ function checkClick() { ...@@ -146,20 +146,21 @@ function checkClick() {
<table cellpadding="3" cellspacing="2" border="0"> <table cellpadding="3" cellspacing="2" border="0">
<tr valign="top"> <tr valign="top">
<td class="jive-label"> <td class="jive-label">
Current Password: <fmt:message key="setup.admin.settings.current_password" />
</td> </td>
<td> <td>
<input type="password" name="password" size="20" maxlength="50" <input type="password" name="password" size="20" maxlength="50"
value="<%= ((password!=null) ? password : "") %>"> value="<%= ((password!=null) ? password : "") %>"><br>
<span class="jive-description">
<br>
<fmt:message key="setup.admin.settings.install" /><fmt:message key="short.title" /> <fmt:message key="setup.admin.settings.install1" /> <b><fmt:message key="setup.admin.settings.install2" /></b>.
</span>
<% if (errors.get("password") != null) { %> <% if (errors.get("password") != null) { %>
<span class="jive-error-text"> <span class="jive-error-text">
<br><fmt:message key="setup.admin.settings.password" /> <fmt:message key="setup.admin.settings.current_password_error" />
</span> </span>
<% } %> <% } else { %>
<span class="jive-description">
<fmt:message key="setup.admin.settings.current_password_description" />
</span>
<% } %>
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
...@@ -168,16 +169,17 @@ function checkClick() { ...@@ -168,16 +169,17 @@ function checkClick() {
</td> </td>
<td> <td>
<input type="text" name="email" size="40" maxlength="150" <input type="text" name="email" size="40" maxlength="150"
value="<%= ((email!=null) ? email : "") %>"> value="<%= ((email!=null) ? email : "") %>"><br>
<span class="jive-description">
<br>
<fmt:message key="setup.admin.settings.valid_email" />
</span>
<% if (errors.get("email") != null) { %> <% if (errors.get("email") != null) { %>
<span class="jive-error-text"> <span class="jive-error-text">
<br><fmt:message key="setup.admin.settings.enter_email" /> <fmt:message key="setup.admin.settings.email_error" />
</span> </span>
<% } %> <% } else { %>
<span class="jive-description">
<fmt:message key="setup.admin.settings.email_description" />
</span>
<% } %>
</td> </td>
</tr> </tr>
<tr valign="top"> <tr valign="top">
...@@ -186,17 +188,15 @@ function checkClick() { ...@@ -186,17 +188,15 @@ function checkClick() {
</td> </td>
<td> <td>
<input type="password" name="newPassword" size="20" maxlength="50" <input type="password" name="newPassword" size="20" maxlength="50"
value="<%= ((newPassword!=null) ? newPassword : "") %>"> value="<%= ((newPassword!=null) ? newPassword : "") %>"><br>
<span class="jive-description">
</span>
<% if (errors.get("newPassword") != null) { %> <% if (errors.get("newPassword") != null) { %>
<span class="jive-error-text"> <span class="jive-error-text">
<br><fmt:message key="setup.admin.settings.valid_new_password" /> <fmt:message key="setup.admin.settings.valid_new_password" />
</span> </span>
<% } else if (errors.get("match") != null) { %> <% } else if (errors.get("match") != null) { %>
<span class="jive-error-text"> <span class="jive-error-text">
<br><fmt:message key="setup.admin.settings.not_new_password" /> <fmt:message key="setup.admin.settings.not_new_password" />
</span> </span>
<% } %> <% } %>
</td> </td>
...@@ -207,13 +207,10 @@ function checkClick() { ...@@ -207,13 +207,10 @@ function checkClick() {
</td> </td>
<td> <td>
<input type="password" name="newPasswordConfirm" size="20" maxlength="50" <input type="password" name="newPasswordConfirm" size="20" maxlength="50"
value="<%= ((newPasswordConfirm!=null) ? newPasswordConfirm : "") %>"> value="<%= ((newPasswordConfirm!=null) ? newPasswordConfirm : "") %>"><br>
<span class="jive-description">
</span>
<% if (errors.get("newPasswordConfirm") != null) { %> <% if (errors.get("newPasswordConfirm") != null) { %>
<span class="jive-error-text"> <span class="jive-error-text">
<br><fmt:message key="setup.admin.settings.valid_confirm" /> <fmt:message key="setup.admin.settings.valid_confirm" />
</span> </span>
<% } %> <% } %>
</td> </td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment