From 18292dcc434ffd0d0605f28597009caf8b028008 Mon Sep 17 00:00:00 2001 From: Shaun McDonald Date: Fri, 29 May 2009 17:04:17 +0000 Subject: [PATCH] new de translation. More of the user view translated. --- app/views/user/view.rhtml | 34 +++++++++++------------ config/locales/de.yml | 57 ++++++++++++++++++++++++++++++++++++++- config/locales/en.yml | 17 +++++++++++- 3 files changed, 89 insertions(+), 19 deletions(-) diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml index 9bfffad4b..1b7946f90 100644 --- a/app/views/user/view.rhtml +++ b/app/views/user/view.rhtml @@ -27,39 +27,39 @@

<% end %> -

User image

+

<%= t 'user.view.user image heading' %>

<% if @this_user.image %> <%= image_tag url_for_file_column(@this_user, "image") %> <% if @user and @this_user.id == @user.id %> - <%= button_to 'Delete Image', :action => 'delete_image' %> + <%= button_to t('user.view.delete image'), :action => 'delete_image' %> <% end %> <% end %>
<% if @user and @this_user.id == @user.id %> - Upload an image
+ <%= t 'user.view.upload an image' %>
<%= form_tag({:action=>'upload_image'}, :multipart => true)%> <%= file_column_field 'user', 'image' %> - <%= submit_tag 'Add Image' %> + <%= submit_tag t('user.view.add image') %> <% end %> -

Description

+

<%= t 'user.view.description' %>

<%= htmlize(@this_user.description) %>
<% if @this_user.home_lat.nil? or @this_user.home_lon.nil? %> -

User location

+

<%= t 'user.view.user location' %>

- No home location has been set. + <%= t 'user.view.no home location' %> <% if @user and @this_user.id == @user.id %> - If you set your location, a pretty map and stuff will appear below. You can set your home location on your <%= link_to 'settings', :controller => 'user', :action => 'account', :display_name => @user.display_name %> page. + <%= t 'user.view.if set location', :settings_link => (link_to t('user.view.settings_link_text'), :controller => 'user', :action => 'account', :display_name => @user.display_name) %> <% end %> <% else %> <% if @user and @this_user.id == @user.id %> -

Your friends

+

<%= t 'user.view.your friends' %>

<% if @this_user.friends.empty? %> - You have not added any friends yet. + <%= t 'user.view.no friends' %> <% else %> <% @this_user.friends.each do |friend| %> @@ -71,8 +71,8 @@ <% end %> - - + + <%end%>
<%= link_to h(@friend.display_name), :controller => 'user', :action => 'view', :display_name => @friend.display_name %><% if @friend.home_lon and @friend.home_lat %><%= @this_user.distance(@friend).round %>km away<% end %>(<%= link_to 'send message', :controller => 'message', :action => 'new', :user_id => @friend.id %>)<% if @friend.home_lon and @friend.home_lat %><%= t 'user.view.km away', :distance => l(@this_user.distance(@friend).round) %><% end %>(<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => @friend.id %>)
@@ -82,9 +82,9 @@ <% if @user and @this_user.id == @user.id %> -

Nearby users:

+

<%= t 'user.view.nearby users' %>

<% if @this_user.nearby.empty? %> - There are no users who admit to mapping nearby yet. + <%= t 'user.view.no nearby users' %> <% else %>
@@ -93,8 +93,8 @@ <% @this_user.nearby.each do |nearby| %> <%= link_to h(nearby.display_name), :controller => 'user', :action => 'view', :display_name => nearby.display_name %> - <%= @this_user.distance(nearby).round %>km away - (<%= link_to 'send message', :controller => 'message', :action => 'new', :user_id => nearby.id %>) + <%= t 'user.view.no nearby users', :distance => l(@this_user.distance(nearby).round) %> + (<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => nearby.id %>) <% end %> @@ -105,5 +105,5 @@

<% if @user and @this_user.id == @user.id %> -<%= link_to 'change your settings', :controller => 'user', :action => 'account', :display_name => @user.display_name %> +<%= link_to t('user.view.change your settings'), :controller => 'user', :action => 'account', :display_name => @user.display_name %> <% end %> diff --git a/config/locales/de.yml b/config/locales/de.yml index 07fd631ca..214127049 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -1,4 +1,4 @@ -de: +de: map: view: Karte edit: Bearbeiten @@ -56,3 +56,58 @@ de: donate_link_text: Spende sotm: 'Komme zur OpenStreetMap Conference 2009, The State of the Map, 10.-12. Juli in Amsterdam!' alt_donation: Spenden + site: + index: + js_1: "Dein Browser unterstützt kein Javascript oder du hast es deaktiviert." + js_2: "OpenStreetMap nutzt Javascript für die Kartendarstellung." + js_3: 'Du kannst den Tiles@Home static tile browser nutzen, wenn du kein Javascript nutzen kannst.' + permalink: Permalink + license: "Lizenziert unter Creative Commons Attribution-Share Alike 2.0 Lizenz durch das OpenStreetMap Project und seine Mitwirkenden." + edit: + not_public: "Deine Einstellungen sind auf anonymes Editieren gestellt." + not_public_description: "Du musst deine Einstellungen auf öffentliches Editieren umstellen. Dies kannst du auf deiner Benutzerseite tun {{user_page}}." + user_page_link: Benutzerseite + anon_edits: "({{link}})" + anon_edits_link: "http://wiki.openstreetmap.org/wiki/Disabling_anonymous_edits" + anon_edits_link_text: "Hier findest du mehr Infos dazu." + flash_player_required: 'Du benötigst den Flash player um Potlatch, den OpenStreetMap Flash Editor zu benutzen. Lade den Flash Player von Adobe.com herunter. Einige andere Wege OpenStreetMap zu editieren sind hier beschrieben.' + potlatch_unsaved_changes: "Du hast deine Arbeit noch nicht gespeichert. (Um sie in Potlach zu speichern, klicke auf eine leere Fläche bzw. deselektiere den Weg bzw. Punkt.)" + sidebar: + search_results: Suchergebnisse + close: Schließen + search: + search: Suchen + where_am_i: "Wo bin ich?" + submit_text: "Los" + searching: "Sucht..." + search_help: "Beispiele: 'München', 'Heinestraße, Würzburg', 'CB2 5AQ', or 'post offices near Lünen' mehr Beispiele..." + key: + map_key: "Legende" +user: + login: + heading: Login + please login: "Bitte logge dich ein oder {{create_user_link}}." + create_account: erstelle ein Benutzerkonto + email or username: "E-Mail Adresse oder Benutzername: " + password: "Passwort: " + lost password link: "Passwort vergessen?" + login_button: Login + lost_password: + heading: "Passwort vergessen?" + email address: "E-Mail Addresse:" + new password button: "Sende mir ein neues Passwort" + new: + heading: Erstelle ein Benutzerkonto + no_auto_account_create: "Leider ist das automatische Erstellen eines Benutzerkontos gerade nicht möglich." + contact_webmaster: 'Bitte kontaktiere den Webmaster um ein Benutzerkonto erstellt zu bekommen - wir werden die Anfrage so schnell wie möglich bearbeiten. ' + fill_form: "Fülle das Formular aus und dir wird eine kurze E-Mail zur Aktivierung deines Accounts geschickt." + license_agreement: 'Mit der Accounterstellung stimmst du zu, dass alle Daten, die du zu openstreetmap.org hochlädst und alle Daten, die du mit irgendeinem externem Programm, dass sich mit openstreetmap.org verbindet, erstellst, (nicht exklusiv) unter dieser Creative Commons Lizenz (by-sa) lizenziert werden..' + email address: "E-Mail Addresse: " + confirm email address: "Bestätige deine E-Mail Addresse: " + not displayed publicly: 'Nicht öffentlich sichtbar (Datenschutzrichtlinie)' + display name: "Benutzername: " + password: "Passwort: " + confirm password: "Passwort bestätigen: " + signup: Registieren + no_such_user: + body: "Es gibt leider keinen Benutzer mit dem Namen {{user}}. Bitte überprüfe deine Schreibweise oder der Link war kaputt." \ No newline at end of file diff --git a/config/locales/en.yml b/config/locales/en.yml index ac61b1f9d..fa45d5276 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -74,7 +74,7 @@ en: anon_edits_link: "http://wiki.openstreetmap.org/wiki/Disabling_anonymous_edits" anon_edits_link_text: "Find out why this is the case." flash_player_required: 'You need a Flash player to use Potlatch, the OpenStreetMap Flash editor. You can download Flash Player from Adobe.com. Several other options are also available for editing OpenStreetMap.' - potlatch_unsaved_changes: "You have unsaved changes. (To save in Potlatch, you should deselect the current way or point.)" + potlatch_unsaved_changes: "You have unsaved changes. (To save in Potlatch, you should deselect the current way or point, if editing in list mode, or click save if you have a save button.)" sidebar: search_results: Search Results close: Close @@ -127,3 +127,18 @@ en: remove as friend: remove as friend add as friend: add as friend mapper since: "Mapper since: " + user image heading: User image + delete image: Delete Image + upload an image: Upload an image + add image: Add Image + description: Description + user location: User location + no home location: "No home location has been set." + if set location: "If you set your location, a pretty map and stuff will appear below. You can set your home location on your {{settings_link}} page." + settings_link_text: settings + your friends: Your friends + no friends: You have not added any friends yet. + km away: "{{distance}}km away" + nearby users: "Nearby users: " + no nearby users: "There are no users who admit to mapping nearby yet." + change your settings: change your settings -- 2.45.1