Commit 8e9b94ba0e8a7ca9fb4a6b12b33dc23f9f5dd196
1 parent
6362a213
Exists in
master
and in
5 other branches
manually translate registration error messages
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
js/main.js
@@ -560,6 +560,10 @@ define(['handlebars', 'fastclick', 'handlebars_helpers'], function(Handlebars, F | @@ -560,6 +560,10 @@ define(['handlebars', 'fastclick', 'handlebars_helpers'], function(Handlebars, F | ||
560 | } | 560 | } |
561 | } | 561 | } |
562 | } | 562 | } |
563 | + msg = msg.replace('password_confirmation', 'confirmação da senha'); | ||
564 | + msg = msg.replace('password', 'senha'); | ||
565 | + msg = msg.replace('login', 'nome de usuário'); | ||
566 | + msg = msg.replace('email', 'e-mail'); | ||
563 | return msg.substring(0, msg.length - 2) + "."; | 567 | return msg.substring(0, msg.length - 2) + "."; |
564 | } | 568 | } |
565 | } | 569 | } |