Actions
Defect #1153
closedGLoc::RuleNotFoundError after update to r1388
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Translations
Target version:
-
Start date:
2008-05-01
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
I just updated my working copy to r1388.
However, now I'm getting this exception in several places when using pt-br.yml:
GLoc::RuleNotFoundError in My#account¶
Showing my/_sidebar.rhtml where line #6 raised:
There is no rule called 'default' in the pt-br rules.
Extracted source (around line #6):
3: <p><%=l(:field_login)%>: <strong><%= @user.login %></strong><br /> 4: <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p> 5: <% if @user.rss_token %> 6: <p><%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.rss_token.created_on)) %> 7: (<%= link_to l(:button_reset), {:action => 'reset_rss_key'}, :method => :post %>)</p> 8: <% end %>
Trace of template inclusion: /my/account.rhtml
RAILS_ROOT: D:/Testes/Ruby/Aptana/Redmine
Application Trace | Framework Trace | Full Trace
vendor/plugins/gloc-1.1.0/lib/gloc-internal.rb:107:in `actual__l_rule' (eval):4:in `_l_rule' app/views/my/_sidebar.rhtml:6:in `_run_erb_47app47views47my47_sidebar46rhtml' app/views/my/account.rhtml:49:in `_run_erb_47app47views47my47account46rhtml' app/helpers/application_helper.rb:504:in `content_for' app/views/my/account.rhtml:48:in `_run_erb_47app47views47my47account46rhtml' -e:2:in `load' -e:2
This wasn't occurring in v0.6.
I compared my 'pt-br.yml' file with 'en.yml' and didn't find any significant change.
Using English language the exception didn't occurs.
I'm sending my 'pt-br.yml' file attached.
Files
Actions