]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/master' into routing-ui-tweaks-2
authorMatt Amos <zerebubuth@gmail.com>
Mon, 26 Jan 2015 13:14:58 +0000 (13:14 +0000)
committerMatt Amos <zerebubuth@gmail.com>
Mon, 26 Jan 2015 13:14:58 +0000 (13:14 +0000)
Conflicts:
config/locales/de.yml

1  2 
app/assets/stylesheets/common.css.scss
config/initializers/assets.rb
config/locales/de.yml

index d6549e740debff83c5a316f3a717d1b3b4ee230c,0ca782ed54790ecb60c2a72a9390f3740e9d7996..5202e9c87105f790aca8b0c20f67b3c48251d656
@@@ -907,15 -907,13 +907,15 @@@ nav.secondary 
    }
  }
  
 -/* Rules for the search box */
 +/* Rules for the search and direction forms */
  
 -header .search_form {
 +header .search_forms,
 +.directions_form {
    display: none;
  }
  
 -.search_form {
 +.search_form,
 +.directions_form {
    position: relative;
    padding: $lineheight/2;
    background-color: $lightgrey;
    input[type=text] {
      width: 100%;
      height: 30px;
 -    border-right: none;
 -
      transition: 300ms linear;
    }
  
 +  input[type=text].overflow {
 +    border-right: none;
 +  }
 +
    input:focus {
      outline: none;
      box-shadow: 0px 0px 7px #9ED485;
    }
  
 -  input[type=submit] {
 +  input[type=submit].float {
      float: right;
      width: auto;
      min-width: 0;
      border-radius: 0 2px 2px 0;
    }
  
 +  .query_options {
 +    text-align: right;
 +    font-size: 10px;
 +    color: $blue;
 +  }
 +
    .describe_location {
      position: absolute;
      top: 6px;
      font-size: 10px;
      color: $blue;
    }
 +
 +  .switch_link {
 +    float: right;
 +    width: auto;
 +    min-width: 0;
 +    margin-left: 6px;
 +  }
 +
 +  img.button {
 +    display: block;
 +  }
 +
 +  span.force_width {
 +    width: 100%;
 +    padding-right: 25px;
 +    display: block;
 +  }
 +
 +  select.routing_engines {
 +    min-height: 30px;
 +    margin: 0px 0px 5px 25px;
 +  }
 +
 +  div.line {
 +    width: 100%;
 +    margin: 0px 0px 5px 0px;
 +  }
  }
  
  /* Rules for the map key which appears in the popout sidebar */
      border-bottom: $keyline;
      cursor: pointer;
      &:first-child { border-top: $keyline; }
 -    &.selected { background: #FFFFE6; }
 +    &.selected { background: $list-highlight; }
    }
  
    .search_details {
    color: #f00;
  }
  
 +/* Rules for routing */
 +
 +#sidebar_content>table {
 +    padding: 5px 20px 10px 15px;
 +    width: 100%;
 +    border-collapse: separate;
 +}
 +
 +div.direction {
 +  background-image: image-url('routing-sprite.png');
 +  width: 20px;
 +  height: 20px;
 +  background-repeat: no-repeat;
 +}
 +@for $i from 1 through 17 {
 +div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
 +}
 +
 +p#routing_summary {
 +    padding: 0 $lineheight $lineheight/4;
 +}
 +
 +td.instruction, td.distance {
 +    padding-top: $lineheight/5;
 +    padding-bottom: $lineheight/5;
 +    border-bottom: 1px solid #DDD;
 +}
 +td.distance {
 +    color: #BBB;
 +    text-align: right;
 +    font-size: x-small;
 +}
 +tr.turn {
 +    cursor: pointer;
 +}
 +tr.turn:hover {
 +    background: $list-highlight;
 +}
 +.routing_engines, #route_from, #route_to { margin-left: 25px; }
 +.routing_marker { width: 15px; position: absolute; }
 +
  /* Rules for entity history */
  
  #sidebar_content {
      border-bottom: 1px solid #ddd;
      cursor: pointer;
  
 -    &.selected { background: #FFFFE6; }
 +    &.selected { background: $list-highlight; }
      /* color is derived from changeset bbox fillColor in history.js */
    }
  
          }
  
          &.selected {
 -          background: #FFFFE6;
 +          background: $list-highlight;
          }
        }
      }
    }
  }
  
 +/* Rules for the routing sidebar */
 +
 +#sidebar_content {
 +  #routing_credit {
 +    text-align: center;
 +    padding: 0.5em;
 +  }
 +}
 +
  /* Rules for edit pages */
  
  .site-edit {
@@@ -2109,7 -2022,8 +2109,8 @@@ a.button 
    input[type="submit"],
    input[type="button"],
    input[type="reset"],
-   .button {
+   .button,
+   .button_to {
      box-sizing: border-box;
      float: left;
      border-radius: 0;
      overflow: hidden;
    }
    input:first-child,
-   .button:first-child {
+   .button:first-child,
+   .button_to:first-child {
      border-radius:2px 0 0 2px;
    }
    input:last-child,
-   .button:last-child {
+   .button:last-child,
+   .button_to:last-child {
      border-radius:0 2px 2px 0;
      border-right-width: 0;
    }
    input:only-child,
    .button:only-child,
+   .button_to:only-child,
    *[value="Hide"] + input:last-child,
-   *[value="Hide"] + .button:last-child {
+   *[value="Hide"] + .button:last-child,
+   *[value="Hide"] + .button_to:last-child {
      border-radius:2px;
      border-right-width: 0;
    }
      /* if a 3-button set has a hidden middle button */
    *[value="Hide"] + input:nth-child(3),
-   *[value="Hide"] + .button:nth-child(3) {
+   *[value="Hide"] + .button:nth-child(3),
+   *[value="Hide"] + .button_to:nth-child(3) {
      border-radius:0 2px 2px 0;
      border-right-width: 0;
    }
    /* if a 3-button set starts with a hidden button */
    *[value="Hide"] + input:nth-child(2):not(:last-child),
-   *[value="Hide"] + .button:nth-child(2):not(:last-child) {
+   *[value="Hide"] + .button:nth-child(2):not(:last-child),
+   *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
      border-radius:2px 0 0 2px;
      border-right-width: 1px;
    }
index c90054b0a3c3eb4c2df40a279ed10ba87c955072,df86f2b9dae5724d1f3f1320e7018d45876c576b..ef7efcbb95fd8b254192a080cf0c332e5b3971ed
@@@ -3,11 -3,13 +3,14 @@@
  # Version of your assets, change this if you want to expire all your assets.
  Rails.application.config.assets.version = '1.0'
  
+ # Add additional assets to the asset load path
+ # Rails.application.config.assets.paths << Emoji.images_path
  # Precompile additional assets.
  # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
  Rails.application.config.assets.precompile += %w( index.js browse.js welcome.js fixthemap.js )
  Rails.application.config.assets.precompile += %w( user.js diary_entry.js )
 +Rails.application.config.assets.precompile += %w( routing.js )
  Rails.application.config.assets.precompile += %w( large-ltr.css small-ltr.css print-ltr.css )
  Rails.application.config.assets.precompile += %w( large-rtl.css small-rtl.css print-rtl.css )
  Rails.application.config.assets.precompile += %w( leaflet-all.css leaflet.ie.css )
diff --combined config/locales/de.yml
index 8486fabec2f5adb391788092e9b32e168238e19e,406348f8aef90de0d4430395f7862a3c4186442d..1ca436b5494c3ca7e23b715e063e5257cf93bd58
@@@ -38,6 -38,7 +38,7 @@@
  # Author: The Evil IP address
  # Author: Thomas Bohn
  # Author: Umherirrender
+ # Author: Woodpeck
  ---
  de:
    time:
        way_paginated: Wege (%{x}–%{y} von %{count})
        relation: Relationen (%{count})
        relation_paginated: Relationen (%{x}–%{y} von %{count})
+       comment: Kommentare (%{count})
+       hidden_commented_by: Versteckter Kommentar von %{user} <abbr title='%{exact_time}'>vor
+         %{when}</abbr>
+       commented_by: Kommentar von %{user} <abbr title='%{exact_time}'>vor %{when}</abbr>
        changesetxml: Änderungssatz-XML
        osmchangexml: osmChange XML
        feed:
          title: 'Änderungssatz: %{id}'
          title_comment: Änderungssatz %{id} - %{comment}
+       join_discussion: Melde dich an, um der Diskussion beizutreten
+       discussion: Diskussion
      node:
        title: 'Knoten: %{name}'
        history_title: 'Knotenchronik: %{name}'
        reopened_by_anonymous: Reaktiviert von anonym <abbr title='%{exact_time}'>vor
          %{when}</abbr>
        hidden_by: Versteckt von %{user} <abbr title='%{exact_time}'>vor %{when}</abbr>
+     query:
+       title: Objektabfrage
+       introduction: Klicke auf die Karte, um benachbarte Objekte zu finden.
+       nearby: Objekte in der Nähe
+       enclosing: Einschließende Objekte
    changeset:
      changeset_paging_nav:
        showing_page: Seite %{page}
      timeout:
        sorry: Es hat leider zu lange gedauert, die von dir angeforderten Änderungssätze
          abzurufen.
+     rss:
+       title_all: Diskussion zum OpenStreetMap-Änderungssatz
+       title_particular: Diskussion zum OpenStreetMap-Änderungssatz Nr. %{changeset_id}
+       comment: Neuer Kommentar zum Änderungssatz Nr. %{changeset_id} von %{author}
+       commented_at_html: vor %{when} aktualisiert
+       commented_at_by_html: vor %{when} durch %{user} aktualisiert
+       full: Vollständige Diskussion
    diary_entry:
      new:
        title: Selbst Bloggen
            primary_link: Bundesstraße-Auffahrt
            proposed: Geplante Straße
            raceway: Rennstrecke
-           residential: Straße
+           residential: Wohnstraße
            rest_area: Rastplatz
            road: Straße
            secondary: Landesstraße
            tram: Straßenbahn
            tram_stop: Haltestelle
            yard: Rangierbahnhof
+         route:
+           bus: Buslinie
          shop:
            alcohol: Spirituosenladen
            antiques: Antiquitätengeschäft
        text: Spenden
      learn_more: Mehr erfahren
      more: Mehr
-     sotm_header: State of the Map 2014
-     sotm_line_1: 8. Jahreskonferenz
-     sotm_line_2: 7. bis 9. November 2014
-     sotm_line_3: Buenos Aires, Argentinien
    license_page:
      foreign:
        title: Über diese Übersetzung
          commented_note: '%{commenter} hat einen Hinweis in der Nähe von %{place},
            den du kommentiert hattest, reaktivert.'
        details: Weitere Details über den Hinweis findest du unter %{url}.
+     changeset_comment_notification:
+       greeting: Hallo,
+       commented:
+         subject_own: '[OpenStreetMap] %{commenter} hat zu einem deiner Änderungssätze
+           kommentiert'
+         subject_other: '[OpenStreetMap] %{commenter} hat zu einem Änderungssatz kommentiert,
+           an dem du interessiert bist'
+         your_changeset: '%{commenter} hinterließ einen Kommentar zu einem deiner Änderungssätze,
+           erstellt am %{time}'
+         commented_changeset: '%{commenter} hinterließ einen Kommentar zu einem Kartenänderungssatz,
+           den du beobachtest, erstellt von %{changeset_author} am %{time}'
+         partial_changeset_with_comment: mit dem Kommentar „%{changeset_comment}“
+         partial_changeset_without_comment: ohne Kommentar
+       details: Weitere Einzelheiten über den Änderungssatz können gefunden werden
+         unter %{url}.
    message:
      inbox:
        title: Posteingang
        where_am_i: Wo bin ich?
        where_am_i_title: Die momentane Position mit der Suchmaschine anzeigen
        submit_text: Los
 +      get_directions: "Route berechnen"
 +      get_directions_title: "Routenberechnung zwischen zwei Orten"
 +      close_directions: "Schliessen der Route"
 +      close_directions_title: "Schliessen des Routenmenus"
 +      from: "Von"
 +      to: "Nach"
      key:
        table:
          entry:
          gewählt werden
        map_notes_zoom_in_tooltip: Vergrößere die Karte, um die Fehler zu sehen.
        map_data_zoom_in_tooltip: Vergrößere die Karte, um die Daten zu sehen.
+       queryfeature_tooltip: Objektabfrage
+       queryfeature_disabled_tooltip: Für Objektabfrage vergrößern
+     changesets:
+       show:
+         comment: Kommentar
+         subscribe: Abonnieren
+         unsubscribe: Abbestellen
+         hide_comment: verstecken
+         unhide_comment: einblenden
      notes:
        new:
          intro: Fehlt etwas oder hast du einen Fehler gefunden? Bitte verschiebe den
          comment: Kommentar
      edit_help: Wähle eine höhere Zoomstufe und verschiebe die Karte an einen Ort,
        den du bearbeiten möchtest, und klicke hier.
 +    directions:
 +      directions: "Fahranweisungen: "
 +      engines:
 +        graphhopper_bicycle: "Fahrrad (GraphHopper)"
 +        graphhopper_foot: "Fuss (GraphHopper)"
 +        mapquest_bicycle: "Fahrrad (MapQuest)"
 +        mapquest_foot: "Fuss (MapQuest)"
 +        mapquest_car: "Auto (MapQuest)"
 +        osrm_car: "Auto (OSRM)"
 +      distance: "Distanz:"
 +      time: "Zeit:"
 +      errors:
 +        no_route: "Wir konnten keine Strecke zwischen diesen beiden Orten berechnen."
 +        no_place: "Wir konnten den Ort nicht finden."
 +      instructions:
 +        continue_on: "Weiter auf "
 +        slight_right: "Rechts halten auf "
 +        turn_right: "Rechts abbiegen auf "
 +        sharp_right: "Hart rechts auf "
 +        uturn: "U-turn along "
 +        sharp_left: "Hart links auf "
 +        turn_left: "Links abbiegen auf "
 +        slight_left: "Links halten auf "
 +        via_point: "(via point) "
 +        follow:  "Folge "
 +        roundabout: "Im Kreisverkehr nehme "
 +        leave_roundabout: "Verlasse den Kreisverkehr - "
 +        stay_roundabout: "Stay on roundabout - "
 +        start: "Start at end of "
 +        destination: "Ziel erreicht"
 +        against_oneway: "Go against one-way on "
 +        end_oneway: "Ende der Einbahnstrasse "
 +        unnamed: "(unbekannt)"
 +        courtesy: "Fahranweisungen stammen von %{link}"
+     query:
+       node: Knoten
+       way: Weg
+       relation: Relation
+       nothing_found: Keine Funktionen gefunden
+       error: 'Fehler beim Kontaktieren von %{server}: %{error}'
+       timeout: Zeitüberschreitung beim Kontaktieren von %{server}
    redaction:
      edit:
        description: Beschreibung