Commit b926918cb933d2522f3eca24e9fee6d071855a2b
1 parent
9d1c39c1
Exists in
master
and in
29 other branches
Allowing translation for url checking string
(ActionItem3009)
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
app/views/account/_signup_form.rhtml
... | ... | @@ -37,6 +37,7 @@ |
37 | 37 | <%= required text_field(:user, :login, :id => 'user_login', |
38 | 38 | :onchange => 'this.value = convToValidUsername(this.value);') %> |
39 | 39 | <div id='url-check'><p> </p></div> |
40 | + <span id='checking-message' class='checking' style='display:none'><%= _('Checking availability of login name...') %></span> | |
40 | 41 | </div> |
41 | 42 | <%= content_tag(:small, _('Choose your login name carefully! It will be your network access and you will not be able to change it later.'), :id => 'signup-balloon') %> |
42 | 43 | <br style="clear: both;" /> | ... | ... |
public/javascripts/signup_form.js
1 | 1 | function verifyLoginLoad() { |
2 | 2 | jQuery('#user_login').removeClass('available unavailable valid validated invalid checking').addClass('checking'); |
3 | - jQuery('#url-check').html("<p><span class='checking'><%= _('Checking availability of login name...') %></span></p>"); | |
3 | + jQuery('#url-check').html(jQuery('#checking-message').html()); | |
4 | 4 | } |
5 | 5 | |
6 | 6 | function verifyLoginAjax(value) { | ... | ... |