diff --git a/lib/views/translations/translations.html.erb b/lib/views/translations/translations.html.erb index b896044..c5ba906 100644 --- a/lib/views/translations/translations.html.erb +++ b/lib/views/translations/translations.html.erb @@ -4,12 +4,6 @@ <%= submit_tag 'Go' %> <% end -%> - -

Textual Translation progress: <%= @locale.percentage_translated %>

diff --git a/lib/views/translations/update.rjs b/lib/views/translations/update.rjs index ec51646..3eed693 100644 --- a/lib/views/translations/update.rjs +++ b/lib/views/translations/update.rjs @@ -1,6 +1,6 @@ # update the percentage and remove the translated record if translated for first time otherwise highlight change if @first_time_translating - page.call 'myJsProgressBarHandler.setPercentage', @locale.percentage_translated, true + page.call 'myJsProgressBarHandler.setPercentage', 'translate_progress', @locale.percentage_translated page.remove("translation_#{@translation.class}_#{@translation.id}") else page.visual_effect :highlight, "translation_#{@translation.class}_#{@translation.id}"