From: Ævar Arnfjörð Bjarmason Date: Sat, 6 Jun 2009 21:36:49 +0000 (+0000) Subject: Make URL that link to the OSM Wiki configurable by translations. A lot X-Git-Tag: live~7103 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/e72f35f8d9f9452dcc4da95d46d6c25ca3e063da Make URL that link to the OSM Wiki configurable by translations. A lot of these pages have been translated into other languages and users using other languages would want to visit those in preference to the English version. --- diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index 2561ce540..e7e058963 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -103,9 +103,9 @@ <% end %>
- <%= t 'layouts.help_wiki' %>
+ <%= t 'layouts.help_wiki' %>
<%= t 'layouts.news_blog' %>
- <%= t 'layouts.shop' %>
+ <%= t 'layouts.shop' %>
<%= yield :left_menu %>
diff --git a/app/views/notifier/signup_confirm.text.plain.rhtml b/app/views/notifier/signup_confirm.text.plain.rhtml index 7c4e75872..c836220c7 100644 --- a/app/views/notifier/signup_confirm.text.plain.rhtml +++ b/app/views/notifier/signup_confirm.text.plain.rhtml @@ -18,7 +18,7 @@ <%= t'notifier.signup_confirm_plain.the_wiki' %> - http://wiki.openstreetmap.org/wiki/Beginners%27_Guide + <%= t'notifier.signup_confirm_plain.the_wiki_url' %> <%= t'notifier.signup_confirm_plain.opengeodata' %> @@ -26,7 +26,7 @@ <%= t'notifier.signup_confirm_plain.wiki_signup' %> - http://wiki.openstreetmap.org/index.php?title=Special:Userlogin&type=signup&returnto=Main_Page + <%= t'notifier.signup_confirm_plain.wiki_signup_url' %> <%= t'notifier.signup_confirm_plain.user_wiki_1' %> <%= t'notifier.signup_confirm_plain.user_wiki_2' %> diff --git a/app/views/trace/_trace_form.rhtml b/app/views/trace/_trace_form.rhtml index b8117901f..5962c8e8f 100644 --- a/app/views/trace/_trace_form.rhtml +++ b/app/views/trace/_trace_form.rhtml @@ -4,6 +4,6 @@ <%= t'trace.trace_form.description' %><%= f.text_field :description, :size => 50, :maxlength => 255 %> <%= t'trace.trace_form.tags' %><%= f.text_field :tagstring, :size => 50, :maxlength => 255 %> <%= t'trace.trace_form.public' %><%= f.check_box :public %> - <%= submit_tag t('trace.trace_form.upload_button') %> | <%= t'trace.trace_form.help' %> + <%= submit_tag t('trace.trace_form.upload_button') %> | <%= t'trace.trace_form.help' %> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index e9752e6b9..dbcaa65e5 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -348,8 +348,10 @@ en: donate: "Support OpenStreetMap by {{link}} to the Hardware Upgrade Fund." donate_link_text: donating help_wiki: "Help & Wiki" + help_wiki_url: "http://wiki.openstreetmap.org" news_blog: "News blog" shop: Shop + shop_url: http://wiki.openstreetmap.org/wiki/Merchandise sotm: 'Come to the 2009 OpenStreetMap Conference, The State of the Map, July 10-12 in Amsterdam!' alt_donation: Make a Donation notifier: @@ -383,8 +385,10 @@ en: introductory_video: "You can watch an introductory video to OpenStreetMap here:" more_videos: "There are more videos here:" the_wiki: "Get reading about OpenStreetMap on the wiki:" + the_wiki_url: "http://wiki.openstreetmap.org/wiki/Beginners%27_Guide" opengeodata: "OpenGeoData.org is OpenStreetMap's blog, and it has podcasts too:" wiki_signup: "You may also want to sign up to the OpenStreetMap wiki at:" + wiki_signup_url: "http://wiki.openstreetmap.org/index.php?title=Special:Userlogin&type=signup&returnto=Main_Page" # next four translations are in pairs : please word wrap appropriately user_wiki_1: "It is recommended that you create a user wiki page, which includes" user_wiki_2: "category tags noting where you are, such as [[Category:Users_in_London]]." @@ -538,6 +542,7 @@ en: public: "Public?" upload_button: "Upload" help: "Help" + help_url: "http://wiki.openstreetmap.org/wiki/Upload" trace_header: see_just_your_traces: "See just your traces, or upload a trace" see_all_traces: "See all traces"