]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.html.erb
Add an explicit "default editor" option to the user settings
[rails.git] / app / views / layouts / site.html.erb
index f10b08949b0a23d784238f4eae0f885c53eefb76..2eae3963a49f859632528dfd5f13c0b68a93327c 100644 (file)
@@ -77,7 +77,7 @@
     <div id="editmenu">
       <ul>
         <% Editors::ALL_EDITORS.each do |editor| %>
-          <li><%= link_to t('layouts.edit_with', :editor => t('user.account.editor.' + editor)), {:controller => 'site', :action => 'edit', :editor => editor}, {:id => editor + 'anchor'} %></li>
+          <li><%= link_to t('layouts.edit_with', :editor => t("editor.#{editor}.description")), {:controller => 'site', :action => 'edit', :editor => editor}, {:id => editor + 'anchor'} %></li>
         <% end %>
       </ul>
     </div>