From dcbb31901557e0d28018e78826b68f9522baadf0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=A0tefan=20Baebler?= Date: Thu, 9 Jul 2009 06:11:24 +0000 Subject: [PATCH] added brief help for tag entry, continuing on #2032 --- app/views/trace/_trace_form.html.erb | 2 +- app/views/trace/edit.html.erb | 4 ++-- config/locales/en.yml | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/trace/_trace_form.html.erb b/app/views/trace/_trace_form.html.erb index 86fc29c3a..b178a7532 100644 --- a/app/views/trace/_trace_form.html.erb +++ b/app/views/trace/_trace_form.html.erb @@ -2,7 +2,7 @@ - +
<%= t'trace.trace_form.upload_gpx' %><%= f.file_field :gpx_file, :size => 50, :maxlength => 255 %>
<%= 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.tags' %><%= f.text_field :tagstring, :size => 50, :maxlength => 255 %> (<%= t'trace.trace_form.tags_help' %>)
<%= t'trace.trace_form.public' %><%= f.check_box :public %> (<%= t'trace.trace_form.public_help' %>)
<%= submit_tag t('trace.trace_form.upload_button') %> | <%= t'trace.trace_form.help' %>
diff --git a/app/views/trace/edit.html.erb b/app/views/trace/edit.html.erb index 2f73d2d4e..e14e152dd 100644 --- a/app/views/trace/edit.html.erb +++ b/app/views/trace/edit.html.erb @@ -28,11 +28,11 @@ <%= t'trace.edit.description' %> - <%= f.text_field :description %> + <%= f.text_field :description, :size => 50 %> <%= t'trace.edit.tags' %> - <%= f.text_field :tagstring %> + <%= f.text_field :tagstring, :size => 50 %> (<%= t'trace.edit.tags_help' %>) diff --git a/config/locales/en.yml b/config/locales/en.yml index 7b9d40e28..b75308e98 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -698,6 +698,7 @@ en: owner: "Owner:" description: "Description:" tags: "Tags:" + tags_help: "comma delimited" save_button: "Save Changes" no_such_user: title: "No such user" @@ -707,6 +708,7 @@ en: upload_gpx: "Upload GPX File" description: "Description" tags: "Tags" + tags_help: "use commas" public: "Public?" public_help: "what does this mean?" public_help_url: "http://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces" -- 2.43.2