Make title of "More" menu translatable
authorTom Hughes <tom@compton.nu>
Sat, 7 Dec 2013 11:24:44 +0000 (11:24 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 7 Dec 2013 11:24:44 +0000 (11:24 +0000)
app/views/layouts/_header.html.erb
config/locales/en.yml

index 215b5ba317b791050d04d1ec7a4fd830db95b13c..869d76cd7e7d918e04d82fede285619ac6c84d6e 100644 (file)
@@ -41,7 +41,7 @@
       <li class="compact-hide <%= current_page_class(help_path) %>"><%= link_to t('layouts.help'), help_path %></li>
       <li class="compact-hide <%= current_page_class(about_path) %>"><%= link_to t('layouts.about'), about_path %></li>
       <li id="compact-secondary-nav" class="dropdown">
       <li class="compact-hide <%= current_page_class(help_path) %>"><%= link_to t('layouts.help'), help_path %></li>
       <li class="compact-hide <%= current_page_class(about_path) %>"><%= link_to t('layouts.about'), about_path %></li>
       <li id="compact-secondary-nav" class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown" href="#">More <b class="caret"></b></a>
+        <a class="dropdown-toggle" data-toggle="dropdown" href="#"><%= t 'layouts.more' %> <b class="caret"></b></a>
         <ul class="dropdown-menu">
           <li class="<%= current_page_class(traces_path) %>"><%= link_to t('layouts.gps_traces'), traces_path %></li>
           <li class="<%= current_page_class(diary_path) %>"><%= link_to t('layouts.user_diaries'), diary_path %></li>
         <ul class="dropdown-menu">
           <li class="<%= current_page_class(traces_path) %>"><%= link_to t('layouts.gps_traces'), traces_path %></li>
           <li class="<%= current_page_class(diary_path) %>"><%= link_to t('layouts.user_diaries'), diary_path %></li>
index 532d184be29a6e534a6d4df3a170ed5ff3951c90..53d5d541b4e0f6b977914099b3d5a180b049a907 100644 (file)
@@ -916,6 +916,7 @@ en:
       title: Support OpenStreetMap with a monetary donation
       text: Make a Donation
     learn_more: "Learn More"
       title: Support OpenStreetMap with a monetary donation
       text: Make a Donation
     learn_more: "Learn More"
+    more: More
   license_page:
     foreign:
       title: About this translation
   license_page:
     foreign:
       title: About this translation