]> git.openstreetmap.org Git - rails.git/commitdiff
Merge branch 'master' into terms
authorTom Hughes <tom@compton.nu>
Wed, 5 May 2010 14:29:48 +0000 (15:29 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 5 May 2010 14:29:48 +0000 (15:29 +0100)
1  2 
config/environment.rb
config/locales/de.yml
config/locales/en.yml
config/routes.rb

diff --combined config/environment.rb
index ad18f132e40e21874f8b19f67686b2e37756b2bb,018e97451501ceacab36f74ac7e5148e2f6cb449..d9ffcc965bdd83e51cd740c3246b403df9eb0d65
@@@ -8,11 -8,15 +8,15 @@@ ENV['RAILS_ENV'] ||= 'production
  RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
  
  # Set the server URL
 -SERVER_URL = ENV['OSM_SERVER_URL'] || 'www.openstreetmap.org'
 +SERVER_URL = ENV['OSM_SERVER_URL'] || 'contributor_terms.dev.openstreetmap.org'
  
  # Set the generator
  GENERATOR = ENV['OSM_SERVER_GENERATOR'] || 'OpenStreetMap server'
  
+ # Settings for generated emails (e.g. signup confirmation
+ EMAIL_FROM = ENV['OSM_EMAIL_FROM'] || 'OpenStreetMap <webmaster@openstreetmap.org>'
+ EMAIL_RETURN_PATH = ENV['OSM_EMAIL_RETURN_PATH'] || 'bounces@openstreetmap.org'
  # Application constants needed for routes.rb - must go before Initializer call
  API_VERSION = ENV['OSM_API_VERSION'] || '0.6'
  
diff --combined config/locales/de.yml
index 3f7c3177508fff16abe1d07465cb60552467dd89,7afe21744a30cf0bc3c09ea9c8f491ab190d6c85..348091964bc96c4fa4bf199fafbd27eda9c510eb
@@@ -9,6 -9,7 +9,7 @@@
  # Author: ChrisiPK
  # Author: CygnusOlor
  # Author: Grille chompa
+ # Author: Kghbln
  # Author: Markobr
  # Author: McDutchie
  # Author: Michi
@@@ -117,14 -118,6 +118,6 @@@ de
          other: "Enthält folgende {{count}} Wege:"
        no_bounding_box: Für dieses Changeset wurde kein Bereich gespeichert.
        show_area_box: Bereichsgrenze anzeigen
-     navigation: 
-       all: 
-         next_changeset_tooltip: Nächstes Changeset
-         prev_changeset_tooltip: Vorheriges Changeset
-       user: 
-         name_changeset_tooltip: Änderungen von {{user}} anzeigen
-         next_changeset_tooltip: Nächste Änderung von {{user}}
-         prev_changeset_tooltip: Vorherige Änderung von {{user}}
      common_details: 
        changeset_comment: "Kommentar:"
        edited_at: "Bearbeitet am:"
          relation: Relation auf größerer Karte
          way: Weg auf größerer Karte
        loading: Laden …
+     navigation: 
+       all: 
+         next_changeset_tooltip: Nächstes Changeset
+         next_node_tooltip: Nächster Knoten
+         next_relation_tooltip: Nächste Relation
+         next_way_tooltip: Nächster Weg
+         prev_changeset_tooltip: Vorheriges Changeset
+         prev_node_tooltip: Vorheriger Knoten
+         prev_relation_tooltip: Vorherige Relation
+         prev_way_tooltip: Vorheriger Weg
+       user: 
+         name_changeset_tooltip: Änderungen von {{user}} anzeigen
+         next_changeset_tooltip: Nächste Änderung von {{user}}
+         prev_changeset_tooltip: Vorherige Änderung von {{user}}
      node: 
        download: "{{download_xml_link}}, {{view_history_link}} oder {{edit_link}}"
        download_xml: XML herunterladen
        zoom_or_select: Karte vergrössern oder einen Bereich auf der Karte auswählen
      tag_details: 
        tags: "Tags:"
+       wiki_link: 
+         key: Erläuterungsseite für das {{key}}-Tag
+         tag: Erläuterungsseite für das {{key}}={{value}}-Tag
+       wikipedia_link: Artikel zu {{page}} in der Wikipedia
      timeout: 
        sorry: Entschuldigung, es dauerte zu lange die Daten für den/die {{type}} mit der ID {{id}} abzurufen.
        type: 
        history_tooltip: Änderungen für diesen Bereich anzeigen
        history_zoom_alert: Du musst näher heranzoomen, um die Chronik zu sehen
    layouts: 
+     copyright: Urheberrechtsinformation + Lizenz
      donate: Unterstütze die OpenStreetMap-Hardwarespendenaktion durch eine eigene {{link}}.
      donate_link_text: Spende
      edit: Bearbeiten
      gps_traces: GPS-Tracks
      gps_traces_tooltip: GPS-Tracks verwalten
      help_wiki: Hilfe & Wiki
-     help_wiki_tooltip: Hilfe &amp; Wiki des Projekts
+     help_wiki_tooltip: Hilfe + Wiki des Projekts
      help_wiki_url: http://wiki.openstreetmap.org/wiki/Hauptseite?uselang=de
      history: Chronik
      home: Standort
      view_tooltip: Karte anzeigen
      welcome_user: Willkommen, {{user_link}}
      welcome_user_link_tooltip: Eigene Benutzerseite
+   license_page: 
+     foreign: 
+       english_link: das englischsprachige Original
+       text: Für den Fall einer Abweichung zwischen der vorliegenden Übersetzung und {{english_original_link}}, ist die englischsprachige Seite maßgebend
+       title: Über diese Übersetzung
+     legal_babble: "<h2>Urheberrechtsinformation und Lizenz</h2>\n\n<p>\n  OpenStreetMap besteht aus <i>freien Daten</i>, die gemäß der Lizenz <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\">Creative Commons Attribution-ShareAlike 2.0</a> (CC-BY-SA) verfügbar sind.\n</p>\n<p>\n  Es steht Dir frei unsere Daten und Karten zu kopieren, weiterzugeben, zu übermittelt sowie anzupassen, sofern Du OpenStreetMap und die daran Mitwirkenden angibst. Für den Fall, dass Du auf Basis unsere Daten und Karten Veränderungen vornimmst oder als Basis für weitere Bearbeitungen verwendest, kannst Du das Ergebnis auch nur gemäß der selben Lizenz weitergeben. Der vollständige Lizenztext ist unter <a href=\"http://creativecommons.org/licenses/by-sa/2.0/legalcode\">Lizenz</a> einsehbar und erläutert Deine Rechte und Pflichten.\n</p>\n\n<h3>So ist auf die Urheberschaft von OpenStreetMap hinzuweisen</h3>\n<p>\n  Sofern Du Bilder von OpenStreetMap verwendest, so ist mindestens &bdquo;&copy; OpenStreetMap und Mitwirkende, CC-BY-SA&ldquo; anzugeben. Werden hingegen ausschließlich Geodaten genutzt, so ist mindestens &bdquo;Geodaten &copy; OpenStreetMap und Mitwirkende, CC-BY-SA&ldquo; anzugeben.\n</p>\n<p>\n  Wo möglich muss ein Hyperlink auf OpenStreetMap <a href=\"http://www.openstreetmap.org/\">http://www.openstreetmap.org/</a> und die Lizenz CC-BY-SA <a   href=\"http://creativecommons.org/licenses/by-sa/2.0/\">http://creativecommons.org/licenses/by-sa/2.0/</a> gesetzt werden. Für den Fall, dass Du ein Medium einsetzt, bei dem keine derartigen Verweise möglich sind (z. B. ein gedrucktes Buch), schlagen wir vor, dass Du Deine Leser auf www.openstreetmap.org und www.creativecommons.org verweist.\n</p>\n\n<h3>Mehr hierzu in Erfahrung bringen</h3>\n<p>\n  Mehr dazu, wie unsere Daten verwendet werden können ist unter <a href=\"http://wiki.openstreetmap.org/wiki/Legal_FAQ\">Häufige rechtliche Fragen</a> nachzulesen.\n</p>\n<p>\n  Die Bearbeiter von OpenStreetMap möchten wird darauf hinweisen, dass Sie keinesfalls Daten aus urheberrechtlich geschützten Quellen verwenden dürfen (z. B. Google Maps oder gedruckte Kartenwerke) ohne vorher die ausdrückliche Erlaubnis des Rechteinhabers erhalten zu haben.\n</p>\n<p>\n  Obzwar OpenStreetMap aus freien Daten besteht, können wir Dritten keine kostenfreie Programmierschnittstelle (API) für Karten bereitstellen.\n  \n  Siehe hierzu die <a href=\"http://wiki.openstreetmap.org/wiki/API_usage_policy\">Richtlinie zur Nutzung einer API</a>, die <a href=\"http://wiki.openstreetmap.org/wiki/Tile_usage_policy\">Richtlinie zur Nutzung von Kachelgrafiken</a> und die <a href=\"http://wiki.openstreetmap.org/wiki/Nominatim#Usage_Policy\">Nutzungsrichtlinie bezüglich Daten von Nominatim</a>.\n</p>\n\n<h3>Unsere Mitwirkenden</h3>\n<p>\n  Die von uns verwendete Lizenz CC-BY-SA verlangt, dass Du &bdquo;für das betreffende Medium oder Mittel angemessen, auf die ursprünglichen Bearbeiter hinweist.&ldquo; Einige an OpenStreetMap Mitwirkende verlangen keine über den Vermerk &bdquo;OpenStreetMap und Mitwirkende&ldquo; hinausgehende Hinweise. Wo allerdings Daten von Nationalen Kartografierungsinstitutionen oder aus anderen umfangreichen Quellen einbezogen wurden, ist es sinnvoll, deren Lizenzhinweise direkt wiederzugeben oder auf Sie auf dieser Website zu verlinken.\n</p>\n\n<ul id=\"contributors\">\n   <li><strong>Australien</strong>: Enthält Daten zu Siedlungen, die auf Daten des Australian Bureau of Statistics basieren.</li>\n   <li><strong>Kanada</strong>: Enthält Daten von GeoBase&reg;, GeoGratis (&copy; Department of Natural Resources Canada), CanVec (&copy; Department of Natural Resources Canada) und StatCan (Geography Division, Statistics Canada).</li>\n   <li><strong>Neuseeland</strong>: Enthält Daten aus Land Information New Zealand. Urheberrecht vorbehalten.</li>\n   <li><strong>Vereinigtes Königreich</strong>: Enthält Daten des Ordnance Survey &copy; Urheber- und Datenbankrecht 2010.</li>\n</ul>\n\n<p>\n  Die Einbeziehung von Daten bei OpenStreetMap impliziert nicht, das der ursprüngliche Datenlieferant OpenStreetMap unterstützt, Gewährleistung gibt noch Haftung übernimmt.\n</p>"
+     native: 
+       mapping_link: mit dem Kartieren anfangen
+       native_link: THIS_LANGUAGE_NAME_HERE Sprachversion
+       text: Du befindest dich auf der Seite mit der englischsprachigen Version der Urheberrechtsinformationen. Du kannst zur {{native_link}} dieser Seite zurückkehren oder das Lesen der Urheberrechtsinformationen beenden und {{mapping_link}}.
+       title: Über diese Seite
    message: 
      delete: 
        deleted: Nachricht gelöscht
        no_auto_account_create: Im Moment ist das automatische Erstellen eines Benutzerkontos leider nicht möglich.
        not displayed publicly: Nicht öffentlich sichtbar (<a href="http://wiki.openstreetmap.org/wiki/Privacy_Policy">Datenschutzrichtlinie</a>)
        password: "Passwort:"
 -      signup: Registrieren
 +      signup: Fortsetzen
        title: Benutzerkonto erstellen
      no_such_user: 
        body: Es gibt leider keinen Benutzer mit dem Namen {{user}}. Bitte überprüfe deine Schreibweise oder der Link war beschädigt.
diff --combined config/locales/en.yml
index ff764c77992bd15b89b326859d7eca6f6a5f8164,ba76a9b4afd04e945860a259fce22f48f201e70c..3b83dece8140e1bb3427c252d9251d8561324e2f
@@@ -3,7 -3,7 +3,7 @@@ en
      dir: ltr
    time:
      formats:
-       friendly: "%e %B %Y at %H:%M"    
+       friendly: "%e %B %Y at %H:%M"
    activerecord:
      # Translates all the model names, which is used in error handling on the web site
      models:
        has_relations:
          one:  "Has the following {{count}} relation:"
          other: "Has the following {{count}} relations:"
-     common_details: 
+     common_details:
        edited_at: "Edited at:"
        edited_by: "Edited by:"
        version: "Version:"
        view_history: "view history"
        edit: "edit"
    changeset:
-     changeset_paging_nav: 
+     changeset_paging_nav:
        showing_page: "Showing page {{page}}"
        next: "Next &raquo;"
        previous: "&laquo; Previous"
      make_a_donation:
        title: Support OpenStreetMap with a monetary donation
        text: Make a Donation
+   license_page:
+     foreign:
+       title: About this translation
+       text: In the event of a conflict between this translated page and {{english_original_link}}, the English page shall take precedence
+       english_link: the English original
+     native:
+       title: About this page
+       text: You are viewing the English version of the copyright page. You can go back to the {{native_link}} of this pag or you can stop reading about copyright and {{mapping_link}}.
+       native_link: THIS_LANGUAGE_NAME_HERE version
+       mapping_link: start mapping
+     legal_babble: |
+       <h2>Copyright and License</h2>
+       <p>
+          OpenStreetMap is <i>open data</i>, licensed under the <a
+          href="http://creativecommons.org/licenses/by-sa/2.0/">Creative
+          Commons Attribution-ShareAlike 2.0</a> licence (CC-BY-SA).
+       </p>
+       <p>
+         You are free to copy, distribute, transmit and adapt our maps
+         and data, as long as you credit OpenStreetMap and its
+         contributors. If you alter or build upon our maps or data, you
+         may distribute the result only under the same licence. The
+         full <a
+         href="http://creativecommons.org/licenses/by-sa/2.0/legalcode">legal
+         code</a> explains your rights and responsibilities.
+       </p>
+       <h3>How to credit OpenStreetMap</h3>
+       <p>
+         If you are using OpenStreetMap map images, we request that
+         your credit reads at least &ldquo;&copy; OpenStreetMap
+         contributors, CC-BY-SA&rdquo;. If you are using map data only,
+         we request &ldquo;Map data &copy; OpenStreetMap contributors,
+         CC-BY-SA&rdquo;.
+       </p>
+       <p>
+         Where possible, OpenStreetMap should be hyperlinked to <a
+         href="http://www.openstreetmap.org/">http://www.openstreetmap.org/</a>
+         and CC-BY-SA to <a
+         href="http://creativecommons.org/licenses/by-sa/2.0/">http://creativecommons.org/licenses/by-sa/2.0/</a>. If
+         you are using a medium where links are not possible (e.g. a
+         printed work), we suggest you direct your readers to
+         www.openstreetmap.org (perhaps by expanding
+         &lsquo;OpenStreetMap&rsquo; to this full address) and to
+         www.creativecommons.org.
+       </p>
+       <h3>Finding out more</h3>
+       <p>
+         Read more about using our data at the <a
+         href="http://wiki.openstreetmap.org/wiki/Legal_FAQ">Legal
+         FAQ</a>.
+       </p>
+       <p>
+         OSM contributors are reminded never to add data from any
+         copyrighted sources (e.g. Google Maps or printed maps) without
+         explicit permission from the copyright holders.
+       </p>
+       <p>
+         Although OpenStreetMap is open data, we cannot provide a
+         free-of-charge map API for third-party developers.
+         See our <a href="http://wiki.openstreetmap.org/wiki/API_usage_policy">API Usage Policy</a>,
+         <a href="http://wiki.openstreetmap.org/wiki/Tile_usage_policy">Tile Usage Policy</a>
+         and <a href="http://wiki.openstreetmap.org/wiki/Nominatim#Usage_Policy">Nominatim Usage Policy</a>.
+       </p>
+       <h3>Our contributors</h3>
+       <p>
+         Our CC-BY-SA licence requires you to &ldquo;give the Original
+         Author credit reasonable to the medium or means You are
+         utilising&rdquo;. Individual OSM mappers do not request a
+         credit over and above that to &ldquo;OpenStreetMap
+         contributors&rdquo;, but where data from a national mapping
+         agency or other major source has been included in
+         OpenStreetMap, it may be reasonable to credit them by directly
+         reproducing their credit or by linking to it on this page.
+       </p>
+       <!--
+       Information for page editors
+       The following lists only those organisations who require attribution
+       as a condition of their data being used in OpenStreetMap. It is not a
+       general catalogue of imports, and must not be used except when
+       attribution is required to comply with the licence of the imported
+       data.
+       Any additions here must be discussed with OSM sysadmins first.
+       -->
+       <ul id="contributors">
+           <li><strong>Australia</strong>: Contains suburb data based
+           on Australian Bureau of Statistics data.</li>
+           <li><strong>Canada</strong>: Contains data from
+           GeoBase&reg;, GeoGratis (&copy; Department of Natural
+           Resources Canada), CanVec (&copy; Department of Natural
+           Resources Canada), and StatCan (Geography Division,
+           Statistics Canada).</li>
+           <li><strong>New Zealand</strong>: Contains data sourced from
+           Land Information New Zealand. Crown Copyright reserved.</li>
+           <li><strong>United Kingdom</strong>: Contains Ordnance
+           Survey data &copy; Crown copyright and database right
+           2010.</li>
+       </ul>
+       <p>
+         Inclusion of data in OpenStreetMap does not imply that the original
+         data provider endorses OpenStreetMap, provides any warranty, or
+         accepts any liability.
+       </p>
    notifier:
      diary_comment_notification:
        subject: "[OpenStreetMap] {{user}} commented on your diary entry"
        subject: "Subject"
        date: "Date"
        no_messages_yet: "You have no messages yet. Why not get in touch with some of the {{people_mapping_nearby_link}}?"
-       people_mapping_nearby: "people mapping nearby" 
+       people_mapping_nearby: "people mapping nearby"
      message_summary:
        unread_button: "Mark as unread"
        read_button: "Mark as read"
        title: "No such message"
        heading: "No such message"
        body: "Sorry there is no message with that id."
-     outbox: 
+     outbox:
        title: "Outbox"
        my_inbox: "My {{inbox_link}}"
        inbox: "inbox"
        allow_write_api:   "modify the map."
        allow_read_gpx:    "read their private GPS traces."
        allow_write_gpx:   "upload GPS traces."
-     not_found: 
+     not_found:
        sorry: "Sorry, that {{type}} could not be found."
      create:
        flash: "Registered the information successfully"
      logout:
        title: "Logout"
        heading: "Logout from OpenStreetMap"
-       logout_button: "Logout"      
+       logout_button: "Logout"
      lost_password:
        title: "Lost password"
        heading: "Forgotten Password?"
        no_auto_account_create: "Unfortunately we are not currently able to create an account for you automatically."
        contact_webmaster: 'Please contact the <a href="mailto:webmaster@openstreetmap.org">webmaster</a> to arrange for an account to be created - we will try and deal with the request as quickly as possible.'
        fill_form: "Fill in the form and we will send you a quick email to activate your account."
 -      license_agreement: 'By creating an account, you agree that all data you submit to the Openstreetmap project is to be (non-exclusively) licensed under <a href="http://creativecommons.org/licenses/by-sa/2.0/">this Creative Commons license (by-sa)</a>.'
 +      license_agreement: 'When you confirm your account you will need to agree to the <a href="http://www.osmfoundation.org/wiki/License/Contributor_Terms">contributor terms</a>.'
        email address: "Email Address:"
        confirm email address: "Confirm Email Address:"
        not displayed publicly: 'Not displayed publicly (see <a href="http://wiki.openstreetmap.org/wiki/Privacy_Policy" title="wiki privacy policy including section on email addresses">privacy policy</a>)'
        display name description: "Your publicly displayed username. You can change this later in the preferences."
        password: "Password:"
        confirm password: "Confirm Password:"
 -      signup: Signup
 +      continue: Continue
        flash create success message: "User was successfully created. Check your email for a confirmation note, and you will be mapping in no time :-)<br /><br />Please note that you will not 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."
 +    terms:
 +      heading: "Contributor terms"
 +      press accept button: "Please read the agreement below and press the agree button to create your account."
 +      consider_pd: "I consider my contributions to be in the Public Domain"
 +      consider_pd_why: "what's this?"
 +      consider_pd_why_url: http://wiki.openstreetmap.org/wiki/Why_would_I_want_my_contributions_to_be_public_domain
 +      agree: Agree
 +      declined: "http://wiki.openstreetmap.org/wiki/Contributor_Terms_Declined"
 +      decline: "Decline"
 +      legale_select: "Please select your country of residence:"
 +      legale_button: "Go"
 +      legale_names:
 +        france: "France"
 +        italy: "Italy"
 +        rest_of_world: "Rest of the world"
      no_such_user:
        title: "No such user"
        heading: "The user {{user}} does not exist"
diff --combined config/routes.rb
index dab156c002e9e3006f75aee83a416311f40699d2,9a86f920058a179eecdb1f7d3ba9183801a30287..11f86e000e7094dbaf200e3664813c95d7ca115a
@@@ -89,6 -89,7 +89,7 @@@ ActionController::Routing::Routes.draw 
    map.connect '/', :controller => 'site', :action => 'index'
    map.connect '/edit', :controller => 'site', :action => 'edit'
    map.connect '/copyright', :controller => 'site', :action => 'copyright'
+   map.connect '/copyright/:copyright_locale', :controller => 'site', :action => 'copyright'
    map.connect '/history', :controller => 'changeset', :action => 'list'
    map.connect '/history/feed', :controller => 'changeset', :action => 'list', :format => :atom
    map.connect '/export', :controller => 'site', :action => 'export'
@@@ -97,7 -98,6 +98,7 @@@
    map.connect '/offline', :controller => 'site', :action => 'offline'
    map.connect '/key', :controller => 'site', :action => 'key'
    map.connect '/user/new', :controller => 'user', :action => 'new'
 +  map.connect '/user/terms', :controller => 'user', :action => 'terms'
    map.connect '/user/save', :controller => 'user', :action => 'save'
    map.connect '/user/confirm', :controller => 'user', :action => 'confirm'
    map.connect '/user/confirm-email', :controller => 'user', :action => 'confirm_email'