more databrowser i18n
This commit is contained in:
parent
361819b0fe
commit
c48263e15c
6 changed files with 36 additions and 27 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<% unless node_details.ways.empty? and node_details.containing_relation_members.empty? %>
|
<% unless node_details.ways.empty? and node_details.containing_relation_members.empty? %>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th>Part of:</th>
|
<th><%= t 'browse.node_details.part_of' %></th>
|
||||||
<td>
|
<td>
|
||||||
<table cellpadding="0">
|
<table cellpadding="0">
|
||||||
<% node_details.ways.each do |way| %>
|
<% node_details.ways.each do |way| %>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<tr><td colspan='2'>
|
<tr><td colspan='2'>
|
||||||
<% current_page = pages.current_page %>
|
<% current_page = pages.current_page %>
|
||||||
|
|
||||||
Showing page
|
<%= t'browse.paging_nav.showing_page' %>
|
||||||
<%= current_page.number %> (<%= current_page.first_item %><%
|
<%= current_page.number %> (<%= current_page.first_item %><%
|
||||||
if (current_page.first_item < current_page.last_item) # if more than 1 trace on page
|
if (current_page.first_item < current_page.last_item) # if more than 1 trace on page
|
||||||
%>-<%= current_page.last_item %><%
|
%>-<%= current_page.last_item %><%
|
||||||
end %>
|
end %>
|
||||||
of <%= pages.item_count %>)
|
<%= t'browse.paging_nav.of'%> <%= pages.item_count %>)
|
||||||
|
|
||||||
<% if pages.page_count > 1 %>
|
<% if pages.page_count > 1 %>
|
||||||
| <%= pagination_links_each(pages, {}) { |n| link_to_page(n, page_param) } %>
|
| <%= pagination_links_each(pages, {}) { |n| link_to_page(n, page_param) } %>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<%
|
<%
|
||||||
@name = printable_name @node
|
@name = printable_name @node
|
||||||
@title = 'Node | ' + @name
|
@title = t('browse.node.node') + ' | ' + @name
|
||||||
%>
|
%>
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<h2>Node: <%= h(@name) %></h2>
|
<h2><%= t'browse.node.node_title', :node_name => h(@name) %></h2>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<%= render :partial => "navigation" %>
|
<%= render :partial => "navigation" %>
|
||||||
|
@ -15,9 +15,8 @@
|
||||||
<td>
|
<td>
|
||||||
<%= render :partial => "node_details", :object => @node %>
|
<%= render :partial => "node_details", :object => @node %>
|
||||||
<hr />
|
<hr />
|
||||||
<%= link_to "Download XML", :controller => "node", :action => "read" %>
|
<%= t'browse.node.download', :download_xml_link => link_to (t('browse.node.download_xml'), :controller => "node", :action => "read"),
|
||||||
or
|
:view_history_link => link_to (t('browse.node.view_history'), :action => "node_history") %>
|
||||||
<%= link_to "view history", :action => "node_history" %>
|
|
||||||
</td>
|
</td>
|
||||||
<%= render :partial => "map", :object => @node %>
|
<%= render :partial => "map", :object => @node %>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<%
|
<%
|
||||||
@name = printable_name @node
|
@name = printable_name @node
|
||||||
@title = 'Node History | ' + @name
|
@title = t('browse.node_history.node_history') + ' | ' + @name
|
||||||
%>
|
%>
|
||||||
<h2>Node History: <%= h(@name) %></h2>
|
<h2>Node History: <%= h(@name) %></h2>
|
||||||
|
|
||||||
|
@ -11,9 +11,8 @@
|
||||||
<%= render :partial => "node_details", :object => node %>
|
<%= render :partial => "node_details", :object => node %>
|
||||||
<hr />
|
<hr />
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= link_to "Download XML", :controller => "old_node", :action => "history" %>
|
<%= t 'browse.node_history.download', :download_xml_link => link_to (t'browse.node_history.download_xml', :controller => "old_node", :action => "history"),
|
||||||
or
|
:view_details_link => link_to (t'browse.node_history.view_details', :action => "node") %>
|
||||||
<%= link_to "view details", :action => "node" %>
|
|
||||||
</td>
|
</td>
|
||||||
<%= render :partial => "map", :object => @node %>
|
<%= render :partial => "map", :object => @node %>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
<p>Sorry, the <%= @type -%> with the id <%= params[:id] -%>, could not be found.</p>
|
<p><%= t'browse.not_found.sorry', :type=> @type , :id => params[:id] %></p>
|
||||||
|
|
|
@ -32,6 +32,24 @@ en:
|
||||||
loading: "Loading..."
|
loading: "Loading..."
|
||||||
deleted: "Deleted"
|
deleted: "Deleted"
|
||||||
view_larger_map: "View Larger Map"
|
view_larger_map: "View Larger Map"
|
||||||
|
node_details:
|
||||||
|
part_of: "Part of:"
|
||||||
|
node_history:
|
||||||
|
node_history: "Node History"
|
||||||
|
download: "{{download_xml_link}} or {{view_details_link}}"
|
||||||
|
download_xml: "Download XML"
|
||||||
|
view_details: "view details"
|
||||||
|
node:
|
||||||
|
node: "Node"
|
||||||
|
node_title: "Node: {{node_name}}"
|
||||||
|
download: "{{download_xml_link}} or {{view_history_link}}"
|
||||||
|
download_xml: "Download XML"
|
||||||
|
view_history: "view history"
|
||||||
|
not_found:
|
||||||
|
sorry: "Sorry, the {{type}} with the id {{id}}, could not be found."
|
||||||
|
paging_nav:
|
||||||
|
showing_page: "Showing page"
|
||||||
|
of: "of"
|
||||||
diary_entry:
|
diary_entry:
|
||||||
list:
|
list:
|
||||||
new: New Diary Entry
|
new: New Diary Entry
|
||||||
|
@ -41,12 +59,12 @@ en:
|
||||||
older_entries: Older Entries
|
older_entries: Older Entries
|
||||||
newer_entries: Newer Entries
|
newer_entries: Newer Entries
|
||||||
edit:
|
edit:
|
||||||
subject: "Subject: "
|
subject: "Subject:"
|
||||||
body: "Body: "
|
body: "Body:"
|
||||||
language: "Language: "
|
language: "Language:"
|
||||||
location: "Location: "
|
location: "Location:"
|
||||||
latitude: "Latitude: "
|
latitude: "Latitude:"
|
||||||
longitude: "Longitude: "
|
longitude: "Longitude:"
|
||||||
use_map_link: "use map"
|
use_map_link: "use map"
|
||||||
save_button: "Save"
|
save_button: "Save"
|
||||||
marker_text: Diary entry location
|
marker_text: Diary entry location
|
||||||
|
@ -125,16 +143,9 @@ en:
|
||||||
lost password link: "Lost your password?"
|
lost password link: "Lost your password?"
|
||||||
login_button: Login
|
login_button: Login
|
||||||
lost_password:
|
lost_password:
|
||||||
title: lost password
|
|
||||||
heading: "Forgotten Password?"
|
heading: "Forgotten Password?"
|
||||||
email address: "Email Address:"
|
email address: "Email Address:"
|
||||||
new password button: "Send me a new password"
|
new password button: "Send me a new password"
|
||||||
notice email on way: "Sorry you lost it :-( but an email is on its way so you can reset it soon."
|
|
||||||
notice email cannot find: "Couldn't find that email address, sorry."
|
|
||||||
reset_password:
|
|
||||||
title: reset password
|
|
||||||
flash changed check mail: "Your password has been changed and is on its way to your mailbox :-)"
|
|
||||||
flash token bad: "Didn't find that token, check the URL maybe?"
|
|
||||||
new:
|
new:
|
||||||
heading: Create a User Account
|
heading: Create a User Account
|
||||||
no_auto_account_create: "Unfortunately we are not currently able to create an account for you automatically."
|
no_auto_account_create: "Unfortunately we are not currently able to create an account for you automatically."
|
||||||
|
@ -148,7 +159,6 @@ en:
|
||||||
password: "Password: "
|
password: "Password: "
|
||||||
confirm password: "Confirm Password: "
|
confirm password: "Confirm Password: "
|
||||||
signup: Signup
|
signup: Signup
|
||||||
flash create success message: "User was successfully created. Check your email for a confirmation note, and you\'ll be mapping in no time :-)<br /><br />Please note that you won't be able to login until you've received and confirmed your email address.<br /><br />If you use an antispam system which sends confirmation requests then please make sure you whitelist webmaster@openstreetmap.org as we are unable to reply to any confirmation requests."
|
|
||||||
no_such_user:
|
no_such_user:
|
||||||
body: "Sorry, there is no user with the name {{user}}. Please check your spelling, or maybe the link you clicked is wrong."
|
body: "Sorry, there is no user with the name {{user}}. Please check your spelling, or maybe the link you clicked is wrong."
|
||||||
view:
|
view:
|
||||||
|
@ -215,3 +225,4 @@ en:
|
||||||
flash success: "Home location saved successfully"
|
flash success: "Home location saved successfully"
|
||||||
go_public:
|
go_public:
|
||||||
flash success: "All your edits are now public, and you are now allowed to edit."
|
flash success: "All your edits are now public, and you are now allowed to edit."
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue