]> git.openstreetmap.org Git - rails.git/commitdiff
Merge branch 'master' into terms
authorTom Hughes <tom@compton.nu>
Tue, 27 Apr 2010 10:22:25 +0000 (11:22 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 27 Apr 2010 10:22:25 +0000 (11:22 +0100)
1  2 
config/locales/de.yml
config/locales/en.yml
config/routes.rb
public/stylesheets/common.css

diff --combined config/locales/de.yml
index bd55882e072497a7c895f8bb15491d0802b81df5,7e29cda2a3f1dc2955a1402991584d7c0cd9ece9..3f7c3177508fff16abe1d07465cb60552467dd89
@@@ -117,14 -117,14 +117,14 @@@ de
          other: "Enthält folgende {{count}} Wege:"
        no_bounding_box: Für dieses Changeset wurde kein Bereich gespeichert.
        show_area_box: Bereichsgrenze anzeigen
-     changeset_navigation: 
+     navigation: 
        all: 
-         next_tooltip: Nächstes Changeset
-         prev_tooltip: Vorheriges Changeset
+         next_changeset_tooltip: Nächstes Changeset
+         prev_changeset_tooltip: Vorheriges Changeset
        user: 
-         name_tooltip: Änderungen von {{user}} anzeigen
-         next_tooltip: Nächste Änderung von {{user}}
-         prev_tooltip: Vorherige Änderung von {{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:"
        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 21931925a5f6a367d04133817bfd33b6a94751cc,f1e0e6a8581c1cc098c987c0f802d026a4d3cea4..ff764c77992bd15b89b326859d7eca6f6a5f8164
@@@ -89,7 -89,7 +89,7 @@@ en
        feed:
          title: "Changeset {{id}}"
          title_comment: "Changeset {{id}} - {{comment}}"
-     changeset_navigation:
+     navigation:
        paging:
          user:
            prev: "&laquo; {{id}}"
            prev: "&laquo; {{id}}"
            next: "{{id}} &raquo;"
        user:
-         name_tooltip: "View edits by {{user}}"
-         prev_tooltip: "Previous edit by {{user}}"
-         next_tooltip: "Next edit by {{user}}"
+         name_changeset_tooltip: "View edits by {{user}}"
+         prev_changeset_tooltip: "Previous edit by {{user}}"
+         next_changeset_tooltip: "Next edit by {{user}}"
        all:
-         prev_tooltip: "Previous changeset"
-         next_tooltip: "Next changeset"
+         prev_node_tooltip: "Previous node"
+         next_node_tooltip: "Next node"
+         prev_way_tooltip: "Previous way"
+         next_way_tooltip: "Next way"
+         prev_relation_tooltip: "Previous relation"
+         next_relation_tooltip: "Next relation"
+         prev_changeset_tooltip: "Previous changeset"
+         next_changeset_tooltip: "Next changeset"
      changeset_details:
        created_at: "Created at:"
        closed_at: "Closed at:"
              # There is no 'relation' type because it is not represented in OpenLayers
      tag_details:
        tags: "Tags:"
+       wiki_link:
+         key: "The wiki description page for the {{key}} tag"
+         tag: "The wiki description page for the {{key}}={{value}} tag"
+       wikipedia_link: "The {{page}} article on Wikipedia"
      way_details:
        nodes: "Nodes:"
        part_of: "Part of:"
      help_wiki: "Help &amp; Wiki"
      help_wiki_tooltip: "Help &amp; Wiki site for the project"
      help_wiki_url: "http://wiki.openstreetmap.org"
+     copyright: "Copyright &amp; License"
      news_blog: "News blog"
      news_blog_tooltip: "News blog about OpenStreetMap, free geographical data, etc."
      shop: Shop
        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 e2f95f7d7265fe8d82cb286cd2e1d68486e7dbde,df6efef60643cdf05941fb2cfe2f6cc74386eaff..dab156c002e9e3006f75aee83a416311f40699d2
@@@ -88,6 -88,7 +88,7 @@@ ActionController::Routing::Routes.draw 
    map.root :controller => 'site', :action => 'index'
    map.connect '/', :controller => 'site', :action => 'index'
    map.connect '/edit', :controller => 'site', :action => 'edit'
+   map.connect '/copyright', :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'
@@@ -96,7 -97,6 +97,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'
index 8435fd01f57631df9e199822c1a1a92b1a8ef6bc,b6ee997125b7d98e04aa810ef81b756db7b41bcd..69bac58b5261ddd2ef93ada9d251a1a943e10aed
@@@ -526,6 -526,28 +526,28 @@@ hr 
    font-weight: bold;
  }
  
+ /* Rules for the data browser */
+ #browse_navigation {
+   float: right;
+   width: 250px;
+   text-align: center;
+   margin-left: 10px;
+ }
+ #browse_map {
+   float: right;
+   width: 250px;
+   text-align: right;
+   margin-left: 10px;
+ }
+ #browse_map #small_map {
+   width: 250px;
+   height: 300px;
+   border: solid 1px black;
+ }
  /* Rules for the trace list shown by the traces tab etc */
  
  #trace_list {
    color: gray;
  }
  
 +/* Rules for the account confirmation page */
 +
 +div#contributorTerms {
 +  border: 1px solid black;
 +  padding: 4px;
 +  overflow: auto;
 +  width: 80%;
 +  height: 60%;
 +}
 +
 +div#contributorTerms p#first {
 +  margin-top: 0px;
 +}
 +
 +div#contributorTerms p#last {
 +  margin-bottom: 0px;
 +}
 +
 +div#contributorTerms ol {
 +  margin-bottom: 0px;
 +}
 +
 +div#contributorTerms img {
 +  display: block;
 +  margin-left: auto;
 +  margin-right: auto;
 +  margin-top: 10%;
 +}
 +
 +form#termsForm {
 +  width: 80%;
 +}
 +
 +form#termsForm div#buttons {
 +  float: right;
 +}
 +
 +form#termsForm input#agree {
 +  margin-left: 50px;
 +}
 +
  /* Rules for the account settings page */
  
  #accountForm td {