From: John Firebaugh Date: Fri, 19 Jul 2013 20:14:06 +0000 (-0700) Subject: Update names, pick via random sample X-Git-Tag: live~4796^2~37 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/75edd4d0293266291e809e4d1f3fdb408b7f48c9 Update names, pick via random sample --- diff --git a/app/views/site/welcome.html.erb b/app/views/site/welcome.html.erb index 56159e297..d3cb7392f 100644 --- a/app/views/site/welcome.html.erb +++ b/app/views/site/welcome.html.erb @@ -16,8 +16,8 @@
<%= t "layouts.project_name.title" %> - <% 1.upto(6) do |i| %> - <%= t "welcome_page.section_1.name_#{i}" %> + <% t("welcome_page.section_1.names").sample(6).each_with_index do |name, i| %> + <%= name %> <% end %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index 378b3d4b0..fcb13bde0 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1164,12 +1164,16 @@ en: will be available to all of these sites and applications. Copying the map data from place to place can take from a few minutes to a few hours, so don't worry if it isn't instant. - name_1: MapBox - name_2: Craigslist - name_3: GPS Maps - name_4: Skobbler - name_5: Stamen - name_6: MapQuest Open + names: + - Apple + - Craigslist + - Flickr + - Foursquare + - Garmin + - Le Monde + - MapQuest + - Telenav + - USA Today section_2: title: What's on the Map on_html: |