Commit 958fda5c authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added spanish translation. JM-252

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@2873 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8bec5fd7
...@@ -21,13 +21,6 @@ ...@@ -21,13 +21,6 @@
<%-- Define page bean for header and sidebar --%> <%-- Define page bean for header and sidebar --%>
<jsp:useBean id="pageinfo" scope="request" class="org.jivesoftware.admin.AdminPageBean" /> <jsp:useBean id="pageinfo" scope="request" class="org.jivesoftware.admin.AdminPageBean" />
<% // Edit this code when new locales are added:
final Locale[] builtinLocales = new Locale[] {
new Locale("en", "US"),
new Locale("zh", "CN")
};
%>
<%-- Define Administration Bean --%> <%-- Define Administration Bean --%>
<jsp:useBean id="webManager" class="org.jivesoftware.util.WebManager" /> <jsp:useBean id="webManager" class="org.jivesoftware.util.WebManager" />
<% webManager.init(request, response, session, application, out); %> <% webManager.init(request, response, session, application, out); %>
...@@ -135,41 +128,50 @@ ...@@ -135,41 +128,50 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<input type="radio" name="localeCode" value="fr" <%= ("fr".equals(locale.toString()) ? "checked" : "") %> <input type="radio" name="localeCode" value="es" <%= ("es".equals(locale.toString()) ? "checked" : "") %>
id="loc04" /> id="loc04" />
</td> </td>
<td colspan="2"> <td colspan="2">
<label for="loc04">Fran&ccedil;ais (fr)</label> <label for="loc04">Espa&ntilde;ol (es)</label>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<input type="radio" name="localeCode" value="nl" <%= ("nl".equals(locale.toString()) ? "checked" : "") %> <input type="radio" name="localeCode" value="fr" <%= ("fr".equals(locale.toString()) ? "checked" : "") %>
id="loc05" /> id="loc05" />
</td> </td>
<td colspan="2"> <td colspan="2">
<label for="loc05">Nederlands (nl)</label> <label for="loc05">Fran&ccedil;ais (fr)</label>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<input type="radio" name="localeCode" value="pt_BR" <%= ("pt_BR".equals(locale.toString()) ? "checked" : "") %> <input type="radio" name="localeCode" value="nl" <%= ("nl".equals(locale.toString()) ? "checked" : "") %>
id="loc06" /> id="loc06" />
</td> </td>
<td colspan="2"> <td colspan="2">
<label for="loc06">Portugu&ecirc;s Brasileiro (pt_BR)</label> <label for="loc06">Nederlands (nl)</label>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<input type="radio" name="localeCode" value="zh_CN" <%= ("zh_CN".equals(locale.toString()) ? "checked" : "") %> <input type="radio" name="localeCode" value="pt_BR" <%= ("pt_BR".equals(locale.toString()) ? "checked" : "") %>
id="loc07" /> id="loc07" />
</td> </td>
<td colspan="2">
<label for="loc07">Portugu&ecirc;s Brasileiro (pt_BR)</label>
</td>
</tr>
<tr>
<td>
<input type="radio" name="localeCode" value="zh_CN" <%= ("zh_CN".equals(locale.toString()) ? "checked" : "") %>
id="loc08" />
</td>
<td> <td>
<a href="#" onclick="document.sform.localeCode[1].checked=true; return false;"><img src="images/language_zh_CN.gif" border="0" /></a> <a href="#" onclick="document.sform.localeCode[1].checked=true; return false;"><img src="images/language_zh_CN.gif" border="0" /></a>
</td> </td>
<td> <td>
<label for="loc07">Simplified Chinese (zh_CN)</label> <label for="loc08">Simplified Chinese (zh_CN)</label>
</td> </td>
</tr> </tr>
</tbody> </tbody>
......
...@@ -110,41 +110,50 @@ ...@@ -110,41 +110,50 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<input type="radio" name="localeCode" value="fr" <%= ("fr".equals(locale.toString()) ? "checked" : "") %> <input type="radio" name="localeCode" value="es" <%= ("es".equals(locale.toString()) ? "checked" : "") %>
id="loc04" /> id="loc04" />
</td> </td>
<td colspan="2"> <td colspan="2">
<label for="loc04">Fran&ccedil;ais</label> (fr) <label for="loc04">Espa&ntilde;ol</label> (es)
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<input type="radio" name="localeCode" value="nl" <%= ("nl".equals(locale.toString()) ? "checked" : "") %> <input type="radio" name="localeCode" value="fr" <%= ("fr".equals(locale.toString()) ? "checked" : "") %>
id="loc05" /> id="loc05" />
</td> </td>
<td colspan="2"> <td colspan="2">
<label for="loc05">Nederlands</label> (nl) <label for="loc05">Fran&ccedil;ais</label> (fr)
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<input type="radio" name="localeCode" value="pt_BR" <%= ("pt_BR".equals(locale.toString()) ? "checked" : "") %> <input type="radio" name="localeCode" value="nl" <%= ("nl".equals(locale.toString()) ? "checked" : "") %>
id="loc06" /> id="loc06" />
</td> </td>
<td colspan="2"> <td colspan="2">
<label for="loc06">Portugu&ecirc;s Brasileiro</label> (pt_BR) <label for="loc06">Nederlands</label> (nl)
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<input type="radio" name="localeCode" value="zh_CN" <%= ("zh_CN".equals(locale.toString()) ? "checked" : "") %> <input type="radio" name="localeCode" value="pt_BR" <%= ("pt_BR".equals(locale.toString()) ? "checked" : "") %>
id="loc07" /> id="loc07" />
</td> </td>
<td colspan="2">
<label for="loc07">Portugu&ecirc;s Brasileiro</label> (pt_BR)
</td>
</tr>
<tr>
<td>
<input type="radio" name="localeCode" value="zh_CN" <%= ("zh_CN".equals(locale.toString()) ? "checked" : "") %>
id="loc08" />
</td>
<td> <td>
<a href="#" onclick="document.sform.localeCode[1].checked=true; return false;"><img src="images/language_zh_CN.gif" border="0" /></a> <a href="#" onclick="document.sform.localeCode[1].checked=true; return false;"><img src="images/language_zh_CN.gif" border="0" /></a>
</td> </td>
<td> <td>
<label for="loc07">Simplified Chinese</label> (zh_CN) <label for="loc08">Simplified Chinese</label> (zh_CN)
</td> </td>
</tr> </tr>
</tbody> </tbody>
......
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