module Api
class TracesController < ApiController
before_action :check_api_writable, :only => [:create, :update, :destroy]
+ before_action :set_request_formats, :only => [:show]
before_action :set_locale
before_action :authorize
def show
@trace = Trace.visible.find(params[:id])
- head :forbidden unless @trace.public? || @trace.user == current_user
+ return head :forbidden unless @trace.public? || @trace.user == current_user
+
+ respond_to do |format|
+ format.xml
+ format.json
+ end
end
def create
module Users
class TracesController < ApiController
before_action :authorize
+ before_action :set_request_formats
authorize_resource :trace
def index
@traces = current_user.traces.reload
- render :content_type => "application/xml"
+ respond_to do |format|
+ format.xml
+ format.json
+ end
end
end
end
require "rexml/document"
def linkify(text)
+ link_attr = 'rel="nofollow" dir="auto"'
if text.html_safe?
- Rinku.auto_link(text, :urls, tag_builder.tag_options(:rel => "nofollow")).html_safe
+ Rinku.auto_link(text, :urls, link_attr).html_safe
else
- Rinku.auto_link(ERB::Util.h(text), :urls, tag_builder.tag_options(:rel => "nofollow")).html_safe
+ Rinku.auto_link(ERB::Util.h(text), :urls, link_attr).html_safe
end
end
--- /dev/null
+json.id trace.id
+json.name trace.name
+json.uid trace.user_id
+json.user trace.user.display_name
+json.visibility trace.visibility
+json.pending !trace.inserted
+json.timestamp trace.timestamp.xmlschema
+
+if trace.inserted
+ json.lat trace.latitude
+ json.lon trace.longitude
+end
+
+json.description trace.description
+json.tags trace.tags.map(&:tag)
--- /dev/null
+json.partial! "api/root_attributes"
+
+json.trace do
+ json.partial! "api/traces/trace", :trace => @trace
+end
--- /dev/null
+json.partial! "api/root_attributes"
+
+json.traces @traces do |trace|
+ json.partial! "api/traces/trace", :trace => trace
+end
<%= render "sidebar_header", :title => t(".title", :id => @changeset.id) %>
<div class="browse-section">
- <p class="fs-6 overflow-x-auto">
+ <p class="fs-6 overflow-x-auto" dir="auto">
<%= linkify(@changeset.tags["comment"].to_s.presence || t("browse.no_comment")) %>
</p>
<%= tag.p :class => "details", :data => { :changeset => changeset_data(@changeset) } do %>
level9: Dorpsgrens
level10: Voorstedelike grens
level11: Buurtgrens
- results:
- no_results: Geen resultate gevind nie
- more_results: Nog resultate
+ searches:
+ queries:
+ create:
+ no_results: Geen resultate gevind nie
+ more_results: Nog resultate
issues:
index:
title: Probleme
wadi: luginë
waterfall: Ujëvarë
weir: Pendë
- results:
- no_results: Nuk është gjetur asnjë rezultat
- more_results: Më shumë rezultate
+ searches:
+ queries:
+ create:
+ no_results: Nuk është gjetur asnjë rezultat
+ more_results: Më shumë rezultate
layouts:
logo:
alt_text: logo e OpenStreetMap
description: تعذر العثور على ملف / دليل / عملية API بهذا الاسم على خادم OpenStreetMap
(HTTP 404)
geocoder:
- search:
- title:
- latlon: داخلي
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
level9: الحدود الإدارية (المستوى 9)
level10: الحدود الإدارية (المستوى 10)
level11: الحدود الإدارية (المستوى 11)
- results:
- no_results: لم يتم العثور على نتائج
- more_results: المزيد من النتائج
+ searches:
+ show:
+ title:
+ latlon: داخلي
+ queries:
+ create:
+ no_results: لم يتم العثور على نتائج
+ more_results: المزيد من النتائج
directions:
search:
title: الاتجاهات
stream: جدول
wadi: وادي
waterfall: شلال
- results:
- no_results: لم يتم العثور على نتائج
+ searches:
+ queries:
+ create:
+ no_results: لم يتم العثور على نتائج
layouts:
logo:
alt_text: شعار خريطه الشارع المفتوحة
not_found:
title: Nun s’alcontró’l ficheru
geocoder:
- search:
- title:
- latlon: Fontes internes
- osm_nominatim: Nominatim d’OpenStreetMap
- osm_nominatim_reverse: Nominatim d’OpenStreetMap
search_osm_nominatim:
prefix:
aerialway:
level8: Frontera de ciudá
level9: Frontera de villa
level10: Frontera de barriu
- results:
- no_results: Nun s'alcontraron resultaos
- more_results: Más resultaos
+ searches:
+ show:
+ title:
+ latlon: Fontes internes
+ queries:
+ create:
+ no_results: Nun s'alcontraron resultaos
+ more_results: Más resultaos
directions:
search:
title: Indicaciones
level8: Şəhər sərhəddi
level9: Kənd sərhəddi
level10: Məhəllə sərhəddi
- results:
- no_results: Nəticələr tapılmadı
- more_results: Daha çox nəticə
+ searches:
+ queries:
+ create:
+ no_results: Nəticələr tapılmadı
+ more_results: Daha çox nəticə
layouts:
logo:
alt_text: OpenStreetMap loqosu
description: OpenStreetMap серверында был исем менән файл/директория/API операцияһы
табылманы (HTTP 404)
geocoder:
- search:
- title:
- latlon: Эске
search_osm_nominatim:
prefix:
aerialway:
level9: Ауыл сиге
level10: Ҡала яны, сите сиге
level11: Күршелек сиге
- results:
- no_results: Бер нимә лә табылманы
- more_results: Күберәк һөҙөмтәләр
+ searches:
+ show:
+ title:
+ latlon: Эске
+ queries:
+ create:
+ no_results: Бер нимә лә табылманы
+ more_results: Күберәк һөҙөмтәләр
issues:
index:
title: Проблемалар
wadi: Сухое рэчышча
waterfall: Вадаспад
weir: Плаціна
- results:
- no_results: Нічога ня знойдзена
- more_results: Больш вынікаў
+ searches:
+ queries:
+ create:
+ no_results: Нічога ня знойдзена
+ more_results: Больш вынікаў
layouts:
logo:
alt_text: Лягатып OpenStreetMap
description: Не ўдалося знайсці файл/тэчку/аперацыю API з такім імем на серверы
OpenStreetMap (HTTP 404)
geocoder:
- search:
- title:
- latlon: Унутраны
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix_format: '%{name}'
prefix:
level9: Мяжа раёну н/п
level10: Мяжа прыгараду
level11: Мяжа суседства
- results:
- no_results: Нічога не знойдзена
- more_results: Больш вынікаў
+ searches:
+ show:
+ title:
+ latlon: Унутраны
+ queries:
+ create:
+ no_results: Нічога не знойдзена
+ more_results: Больш вынікаў
directions:
search:
title: Маршрут
contact:
contact: контакт
geocoder:
- search:
- title:
- latlon: Вътрешни
search_osm_nominatim:
prefix:
aerialway:
municipi: Общинска граница
município: Общинска граница
state: Граница на щат
- results:
- no_results: Не бяха открити резултати
- more_results: Повече резултати
+ searches:
+ show:
+ title:
+ latlon: Вътрешни
+ queries:
+ create:
+ no_results: Не бяха открити резултати
+ more_results: Повече резултати
directions:
search:
title: Упътване
state: রাজ্য সীমানা
township: জনপদের সীমানা
village: গ্রামের সীমানা
- results:
- no_results: ফলাফল খুঁজে পাওয়া যায়নি
- more_results: আরও ফলাফল
+ searches:
+ queries:
+ create:
+ no_results: ফলাফল খুঁজে পাওয়া যায়নি
+ more_results: আরও ফলাফল
directions:
search:
title: দিক
success: N'emaoc'h ket o heuliañ %{name} ken.
not_followed: N'emaoc'h ket o heuliañ %{name}.
geocoder:
- search:
- title:
- latlon: Diabarzh
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
region: Harzoù ar rannvro
state: Harzoù ar stad
village: Harzoù ar gêriadenn
- results:
- no_results: N'eus bet kavet respont ebet
- more_results: Disoc'hoù all
+ searches:
+ show:
+ title:
+ latlon: Diabarzh
+ queries:
+ create:
+ no_results: N'eus bet kavet respont ebet
+ more_results: Disoc'hoù all
directions:
search:
title: Durc'hadurioù
level8: Granica grada
level9: Granica sela
level10: Granica predgrađa
- results:
- no_results: Nema pronađenih rezultata
- more_results: Više rezultata
+ searches:
+ queries:
+ create:
+ no_results: Nema pronađenih rezultata
+ more_results: Više rezultata
layouts:
logo:
alt_text: OpenStreetMap logotip
unfollow:
button: Deixa de seguir l'usuari
geocoder:
- search:
- title:
- latlon: Fonts internes
- osm_nominatim: Nominatim de l’OpenStreetMap
- osm_nominatim_reverse: Nominatim de l’OpenStreetMap
search_osm_nominatim:
prefix:
aerialway:
level9: Límit inframunicipal (nivell 9)
level10: Límit de suburbi-barri (nivell 10)
level11: Límit del veïnat
- results:
- no_results: Cap resultat trobat
- more_results: Més resultats
+ searches:
+ show:
+ title:
+ latlon: Fonts internes
+ queries:
+ create:
+ no_results: Cap resultat trobat
+ more_results: Més resultats
directions:
search:
title: Indicacions
description: Цу цӀарца йолу файл/каталог/API операци ца карийра OpenStreetMap
сервер тӀехь (HTTP 404)
geocoder:
- search:
- title:
- latlon: Чоьхьара
search_osm_nominatim:
prefix:
aerialway:
level9: Йуртан доза
level10: ГӀалин йистан доза
level11: Лулахойн доза
- results:
- no_results: ХӀумма а ца карийна
- more_results: Кхин каринарш
+ searches:
+ show:
+ title:
+ latlon: Чоьхьара
+ queries:
+ create:
+ no_results: ХӀумма а ца карийна
+ more_results: Кхин каринарш
directions:
search:
title: Маршрут
success: Úspěšně jste přestali sledovat uživatele %{name}.
not_followed: Uživatele %{name} nesledujete.
geocoder:
- search:
- title:
- latlon: Interní
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
arrondissement: Hranice arrondissementu
nation: Mezinárodní hranice
national: Mezinárodní hranice
- results:
- no_results: Nenalezeny žádné výsledky
- more_results: Další výsledky
+ searches:
+ show:
+ title:
+ latlon: Interní
+ queries:
+ create:
+ no_results: Nenalezeny žádné výsledky
+ more_results: Další výsledky
directions:
search:
title: Pokyny
title: Přihlásit se účtem na Wikipedii
alt: Logo Wikipedie
share:
+ share:
+ title: Sdílet
+ alt: Ikona sdílení
email:
title: Sdílet e-mailem
alt: Ikona e-mailu
success: Rydych chi wedi dad-ddilyn %{name}.
not_followed: Nid ydych yn dilyn %{name}.
geocoder:
- search:
- title:
- latlon: Mewnol
search_osm_nominatim:
prefix:
aerialway:
state: Ffin Dalaith
town: Ffin Dref
village: Ffin Bentref
- results:
- no_results: Dim canlyniadau
- more_results: Rhagor o ganlyniadau
+ searches:
+ show:
+ title:
+ latlon: Mewnol
+ queries:
+ create:
+ no_results: Dim canlyniadau
+ more_results: Rhagor o ganlyniadau
directions:
search:
title: Cyfeiriadau
success: Du følger ikke længere %{name}.
not_followed: Du følger ikke %{name}.
geocoder:
- search:
- title:
- latlon: Internt
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
city: Bygrænse
nation: International grænse
national: International grænse
- results:
- no_results: Ingen resultater fundet
- more_results: Flere resultater
+ searches:
+ show:
+ title:
+ latlon: Internt
+ queries:
+ create:
+ no_results: Ingen resultater fundet
+ more_results: Flere resultater
directions:
search:
title: Rutevejledning
title: Log ind med Wikipedia
alt: Wikipedia-logo
share:
+ share:
+ title: Del
+ alt: Del-ikon
email:
title: Del via e-mail
alt: E-mail-ikon
success: Du hast %{name} erfolgreich entfolgt.
not_followed: Du folgst %{name} nicht.
geocoder:
- search:
- title:
- latlon: Intern
search_osm_nominatim:
prefix:
aerialway:
level9: Stadtteilgrenze
level10: Nachbarschaftsgrenze
level11: Nachbarschaftsgrenze
- results:
- no_results: Keine Ergebnisse gefunden
- more_results: Mehr Treffer
+ searches:
+ show:
+ title:
+ latlon: Intern
+ queries:
+ create:
+ no_results: Keine Ergebnisse gefunden
+ more_results: Mehr Treffer
directions:
search:
title: 'Routenanweisungen:'
forbidden:
title: Qedexe
geocoder:
- search:
- title:
- latlon: Daxili
search_osm_nominatim:
prefix:
aerialway:
dam: Berac
lock: İskele
river: Ro
+ searches:
+ show:
+ title:
+ latlon: Daxili
issues:
index:
states:
level8: Měsćańska granica
level9: Granica měsćańskego źěla
level10: Pśedměsćańska granica
- results:
- no_results: Žedne wuslědki namakane
- more_results: Dalšne wuslědki
+ searches:
+ queries:
+ create:
+ no_results: Žedne wuslědki namakane
+ more_results: Dalšne wuslědki
layouts:
logo:
alt_text: Logo OpenStreetMap
success: Καταργήσατε επιτυχώς την ακολούθηση του/της %{name}.
not_followed: Δεν ακολουθείτε τον/την %{name}.
geocoder:
- search:
- title:
- latlon: Εσωτερικό
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
town: Σύνορο κωμόπολης
township: Σύνορο κωμόπολης
village: Σύνορο χωριού
- results:
- no_results: Δεν βρέθηκε κανένα αποτέλεσμα
- more_results: Περισσότερα αποτελέσματα
+ searches:
+ show:
+ title:
+ latlon: Εσωτερικό
+ nominatim: Nominatim
+ nominatim_reverse: Nominatim
+ queries:
+ create:
+ no_results: Δεν βρέθηκε κανένα αποτέλεσμα
+ more_results: Περισσότερα αποτελέσματα
directions:
search:
title: Οδηγίες
title: Σύνδεση με Βικιπαίδεια
alt: Λογότυπο Βικιπαίδειας
share:
+ share:
+ title: Κοινοποίηση
+ alt: Εικονίδιο Κοινοποίησης
email:
title: Κοινοποίηση μέσω email
alt: Εικονίδιο email
level8: City Boundary
level9: Village Boundary
level10: Suburb Boundary
- results:
- no_results: No results found
- more_results: More results
+ searches:
+ queries:
+ create:
+ no_results: No results found
+ more_results: More results
directions:
search:
title: Directions
success: Vi nun ne sekvas la uzanton %{name}.
not_followed: Vi ne sekvas la uzanton %{name}.
geocoder:
- search:
- title:
- latlon: internaj
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
town: Limo de urbo
township: Limo de urbo («township»)
village: Limo de municipo («village»)
- results:
- no_results: Neniu rezulto trovita
- more_results: Pliaj rezultoj
+ searches:
+ show:
+ title:
+ latlon: internaj
+ nominatim: Nominatim
+ nominatim_reverse: Nominatim
+ queries:
+ create:
+ no_results: Neniu rezulto trovita
+ more_results: Pliaj rezultoj
directions:
search:
title: Kurso
title: Ensaluti per Vikipedio
alt: markemblemo de Vikipedio
share:
+ share:
+ title: Kunhavigi
+ alt: Bildsimbolo de kunhavigo
email:
title: Diskonigi per retpoŝto
alt: bildsimbolo de retpoŝto
description: No se pudo encontrar un archivo, directorio u operación de API
con ese nombre en el servidor de OpenStreetMap (HTTP 404)
geocoder:
- search:
- title:
- latlon: Interno
- osm_nominatim: Nominatim de OpenStreetMap
- osm_nominatim_reverse: Nominatim de OpenStreetMap
search_osm_nominatim:
prefix:
aerialway:
level9: Límite de pueblo
level10: Límite de suburbio
level11: Límite vecinal
- results:
- no_results: No se han encontrado resultados
- more_results: Más resultados
+ searches:
+ show:
+ title:
+ latlon: Interno
+ queries:
+ create:
+ no_results: No se han encontrado resultados
+ more_results: Más resultados
directions:
search:
title: Indicaciones
destroy:
success: Oled kasutaja %{name} jälgimise edukalt lõpetanud.
geocoder:
- search:
- title:
- latlon: Sisemised
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
level9: Halduspiir (9. tase)
level10: Halduspiir (10. tase)
level11: Halduspiir (11. tase)
- results:
- no_results: Ei leidnud midagi
- more_results: Veel tulemusi
+ searches:
+ show:
+ title:
+ latlon: Sisemised
+ queries:
+ create:
+ no_results: Ei leidnud midagi
+ more_results: Veel tulemusi
directions:
search:
title: Juhised
description: Ezin izan da izen hori duen fitxategi/karpeta/API eragiketarik
OpenStreetMap zerbitzarian aurkitu (HTTP 404)
geocoder:
- search:
- title:
- latlon: Barnekoa
search_osm_nominatim:
prefix:
aerialway:
level9: Herriko muga
level10: Auzoko muga
level11: Auzo muga
- results:
- no_results: Ez da emaitzarik aurkitu
- more_results: Emaitza gehiago
+ searches:
+ show:
+ title:
+ latlon: Barnekoa
+ queries:
+ create:
+ no_results: Ez da emaitzarik aurkitu
+ more_results: Emaitza gehiago
directions:
search:
title: Norabideak
description: پرونده/پوشه/عملیات API با آن نام در سرور OpenStreetMap پیدا نشد
(HTTP 404)
geocoder:
- search:
- title:
- latlon: داخلی
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
level9: مرز منطقه شهری
level10: مرز دهستان/شهر
level11: محدوده محله
- results:
- no_results: نتیجهای یافت نشد
- more_results: نتایج بیشتر
+ searches:
+ show:
+ title:
+ latlon: داخلی
+ queries:
+ create:
+ no_results: نتیجهای یافت نشد
+ more_results: نتایج بیشتر
directions:
search:
title: راهنمای مسیر
terms_declined_link: tämä wikisivu
terms_declined_url: https://wiki.openstreetmap.org/wiki/Fi:Contributor_Terms_Declined
pd_declarations:
+ show:
+ title: Muokkausten tekijänoikeudettomuus
+ consider_pd: Katson muokkausteni olevan tekijänoikeudettomia
+ consider_pd_why: Miksi muokkausten kannattaisi olla tekijänoikeudettomia?
+ confirm: Vahvista
create:
successfully_declared: Hyväksyit, että muokkauksesi ovat tekijänoikeudettomia.
already_declared: Olet hyväksynyt, että muokkauksesi ovat tekijänoikeudettomia.
success: Käyttäjän %{name} seuraaminen lopetettu.
not_followed: Et seuraa käyttäjää %{name}.
geocoder:
- search:
- title:
- latlon: Sisäinen
search_osm_nominatim:
prefix:
aerialway:
level9: Kylän raja
level10: Asuinalueen raja
level11: Naapuruston raja
- results:
- no_results: Ei hakutuloksia
- more_results: Lisää tuloksia
+ searches:
+ show:
+ title:
+ latlon: Sisäinen
+ queries:
+ create:
+ no_results: Ei hakutuloksia
+ more_results: Lisää tuloksia
directions:
search:
title: Reittiohjeet
success: Käyttäjätunnuksesi on nyt vahvistettu.
already active: Tämä tunnus on jo vahvistettu.
unknown token: Vahvistuskoodi on vanhentunut tai sitä ei ole.
+ resend_button: Lähetä vahvistussähköposti uudelleen
confirm_resend:
failure: Käyttäjää %{name} ei löytynyt.
confirm_email:
show:
title: Käyttäjät
heading: Käyttäjät
+ states:
+ confirmed: Vahvistettu
page:
confirm: Vahvista valitut käyttäjät
hide: Piilota valitut käyttäjät
show_address: Näytä osoite
query_features: Lähistöllä
centre_map: Keskitä kartta
+ heatmap:
+ tooltip:
+ no_contributions: Ei muokkauksia %{date}
+ contributions:
+ one: '%{count} muokkaus %{date}'
+ other: '%{count} muokkausta %{date}'
redactions:
edit:
heading: Muokkaa relaatiota
tourism:
museum: Myseymmi
zoo: Elläintarha
- results:
- no_results: Ei hakuresyltaatteja
- more_results: Lissää resyltaatteja
+ searches:
+ queries:
+ create:
+ no_results: Ei hakuresyltaatteja
+ more_results: Lissää resyltaatteja
issues:
index:
title: Tapaukset
view_redaction_message: Afficher le message de masquage
nodes:
not_found_message:
- sorry: 'Désolé, node #%{id} n''a pas pu être trouvé'
+ sorry: 'Désolé, le nœud #%{id} n''a pas pu être trouvé.'
timeout:
sorry: Désolé, l'extraction des données du nœud avec l'identifiant %{id} a pris
trop de temps.
diary_entry:
posted_by_html: Publié par %{link_user} le %{created} en %{language_link}.
updated_at_html: Dernière mise à jour le %{updated}.
+ full_entry: Voir l'intégralité
comment_link: Commenter cette entrée
reply_link: Envoyer un message à l’auteur
comment_count:
success: Vous vous êtes désabonné de %{name}.
not_followed: Vous suivez désormais %{name} !
geocoder:
- search:
- title:
- latlon: Interne
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix_format: '%{name}'
prefix:
town: Limite communale
township: Limite de township (canton)
village: Limite de village
- results:
- no_results: Aucun résultat n’a été trouvé
- more_results: Plus de résultats
+ searches:
+ show:
+ title:
+ latlon: Interne
+ nominatim: Nominatim
+ nominatim_reverse: Nominatim
+ queries:
+ create:
+ no_results: Aucun résultat n’a été trouvé
+ more_results: Plus de résultats
directions:
search:
title: Itinéraire
partners_corpmembers: Membres d'entreprise de l'OSMF
partners_partners: partenaires
tou: Conditions d’utilisation
- nothing_to_preview: Rien à voir en avant.
+ nothing_to_preview: La prévisualisation est vide.
help: Aide
about: À propos
copyright: Droits d’auteur
track: Piste
bridleway: Sentier équestre
cycleway: Piste cyclable
+ international_bike_route: Itinéraire cyclable international
national_bike_route: Itinéraire cyclable national
regional_bike_route: Itinéraire cyclable régional
local_bike_route: Itinéraire cyclable local
public_traces_from: Traces GPS publiques de %{user}
description: Parcourir les téléversements récents de traces GPS
tagged_with: balisée avec %{tags}
- empty_title: Rien ici encore
+ empty_title: Vide pour le moment
empty_upload_html: '%{upload_link} ou apprenez-en plus au sujet des traces GPS
sur la %{wiki_link}.'
upload_new: Téléversez une nouvelle trace
title: Se connecter avec Wikipédia
alt: Logo Wikipédia
share:
+ share:
+ title: Partager
+ alt: Partager l'icône
email:
title: Partager par courriel
alt: Icône de courriel
roundabout_with_exit_ordinal: Au rond-point prendre la sortie %{exit} sur
%{name}
exit_roundabout: Sortir du rond-point sur %{name}
+ ferry_without_exit: Prenez le ferry %{name}
unnamed: voie sans nom
courtesy: Itinéraire fourni par %{link}
exit_counts:
not_found:
title: File no cjatât
geocoder:
- search:
- title:
- latlon: Interni
search_osm_nominatim:
prefix:
aerialway:
level7: Confine municipâl
level8: Confin di citât
level9: Confin di vilaç
- results:
- no_results: Nissun risultât
- more_results: Altris risultâts
+ searches:
+ show:
+ title:
+ latlon: Interni
+ queries:
+ create:
+ no_results: Nissun risultât
+ more_results: Altris risultâts
directions:
search:
title: Indicazions
level9: Steds-/doarpsgrins
level10: Wenplak-/dielgebietsgrins
level11: Wyk-/buertgrins
- results:
- no_results: Gjin treffers fûn
- more_results: Mear treffers
+ searches:
+ queries:
+ create:
+ no_results: Gjin treffers fûn
+ more_results: Mear treffers
directions:
search:
title: Rûtebeskriuwing
level8: Teorainn Cathrach
level9: Teorainn Sráidbhaile
level10: Teorainn Bruachbhaile
- results:
- no_results: Gan torthaí
- more_results: Tuilleadh torthaí
+ searches:
+ queries:
+ create:
+ no_results: Gan torthaí
+ more_results: Tuilleadh torthaí
directions:
search:
title: Treoracha
level8: Lizyè a konmin
level9: Lizyè a vilaj
level10: Lizyè a sèksyon
- results:
- no_results: Yo pa jwenn p'on rézilta
+ searches:
+ queries:
+ create:
+ no_results: Yo pa jwenn p'on rézilta
issues:
index:
search: Chaché
level8: Crìoch baile
level9: Crìoch baile bhig
level10: Crìoch frith-bhaile
- results:
- no_results: Cha deach toradh a lorg
- more_results: Barrachd toraidhean
+ searches:
+ queries:
+ create:
+ no_results: Cha deach toradh a lorg
+ more_results: Barrachd toraidhean
directions:
search:
title: Seòlaidhean
diary_entry:
posted_by_html: Publicado por %{link_user} o %{created} en %{language_link}.
updated_at_html: Última actualización no %{updated}.
+ full_entry: Ler a entrada completa
comment_link: Comentar nesta entrada
reply_link: Enviar unha mensaxe ó autor
comment_count:
success: Deixaches de seguir a %{name}.
not_followed: Non segues a %{name}.
geocoder:
- search:
- title:
- latlon: Fontes internas
- osm_nominatim: Nominatim do OpenStreetMap
- osm_nominatim_reverse: Nominatim do OpenStreetMap
search_osm_nominatim:
prefix:
aerialway:
town: Fronteira de vila
township: Fronteira de township (vila)
village: Fronteira de aldea
- results:
- no_results: Non se atopou ningún resultado
- more_results: Máis resultados
+ searches:
+ show:
+ title:
+ latlon: Fontes internas
+ nominatim: Nominatim
+ nominatim_reverse: Nominatim
+ queries:
+ create:
+ no_results: Non se atopou ningún resultado
+ more_results: Máis resultados
directions:
search:
title: Indicacións
title: Acceder ó sistema coa Wikipedia
alt: Logo da Wikipedia
share:
+ share:
+ title: Compartir
+ alt: Icona de compartir
email:
title: Compartir por correo electrónico
alt: Icona de correo electrónico
level8: શહેરની સીમા
level9: ગામની સીમા
level10: ઉપનગરની સીમા
- results:
- no_results: કોઈ પરિણામો ન મળ્યા
+ searches:
+ queries:
+ create:
+ no_results: કોઈ પરિણામો ન મળ્યા
issues:
index:
title: સમસ્યાઓ
diary_entry:
posted_by_html: פורסם על־ידי %{link_user} ב־%{created} ב%{language_link}.
updated_at_html: עודכן לאחרונה ב־%{updated}.
+ full_entry: צפייה בערך מלא
comment_link: הערות לרשומה הזאת
reply_link: שליחת תגובה למחבר
comment_count:
success: הפסקת לעקוב אחר %{name}.
not_followed: הפסקת לעקוב אחר %{name}.
geocoder:
- search:
- title:
- latlon: מקורות פנימיים
- osm_nominatim: נומינטים של OpenStreetMap
- osm_nominatim_reverse: נומינטים של OpenStreetMap
search_osm_nominatim:
prefix:
aerialway:
town: גבול עיירה (town)
township: גבול עיירה (township)
village: גבול כפר (village)
- results:
- no_results: לא נמצאו תוצאות
- more_results: תוצאות נוספות
+ searches:
+ show:
+ title:
+ latlon: מקורות פנימיים
+ nominatim: נומינאטים
+ nominatim_reverse: נומינאטים
+ queries:
+ create:
+ no_results: לא נמצאו תוצאות
+ more_results: תוצאות נוספות
directions:
search:
title: כיוונים
track: מסלול
bridleway: מסלול לרכיבת סוסים
cycleway: דרך לאופניים
+ international_bike_route: מסלול בינלאומי לאופניים
national_bike_route: מסלול אופניים לאומי
regional_bike_route: מסלול אופניים אזורי
local_bike_route: מסלול אופניים מקומי
title: כניסה עם ויקיפדיה
alt: סמל ויקיפדיה
share:
+ share:
+ title: שיתוף
+ alt: סמל שיתוף
email:
title: שיתוף בדוא״ל
alt: סמל דוא״ל
roundabout_with_exit: בכיכר צא ביציאה %{exit} אל %{name}
roundabout_with_exit_ordinal: בכיכר עליך לצאת ביציאה ה%{exit} לעבר %{name}
exit_roundabout: בכיכר עליך לצאת אל %{name}
+ ferry_without_exit: סע במעבורת %{name}
unnamed: ללא שם
courtesy: הכיוונים באדיבות %{link}
exit_counts:
contact:
contact: संपर्क
geocoder:
- search:
- title:
- latlon: अन्दरूनी
search_osm_nominatim:
prefix:
aerialway:
level8: शहर सीमा
level9: गांव सीमा
level10: इलाके की सीमा
+ searches:
+ show:
+ title:
+ latlon: अन्दरूनी
directions:
search:
title: रास्ता
application:
auth_providers:
openid_login_button: जारी रखें
+ share:
+ share:
+ title: साझा करें
oauth2_applications:
index:
name: नाम
level8: Granica naselja
level9: Granica sela
level10: Granica predgrađa
- results:
- no_results: Nisu nađeni rezultati
- more_results: Više rezultata
+ searches:
+ queries:
+ create:
+ no_results: Nisu nađeni rezultati
+ more_results: Više rezultata
directions:
search:
title: Upute
not_found:
title: Dataja njeje so namakała
geocoder:
- search:
- title:
- latlon: Interny
search_osm_nominatim:
prefix:
aerialway:
level9: Administratiwna hranica (runina 9)
level10: Administratiwna hranica (runina 10)
level11: Administratiwna hranica (runina 11)
- results:
- no_results: Žane wuslědki namakane
- more_results: Dalše wuslědki
+ searches:
+ show:
+ title:
+ latlon: Interny
+ queries:
+ create:
+ no_results: Žane wuslědki namakane
+ more_results: Dalše wuslědki
directions:
search:
title: Směry
success: Sikeresen abbahagytad %{name} követését.
not_followed: Nem követed %{name} felhasználót.
geocoder:
- search:
- title:
- latlon: Belső
search_osm_nominatim:
prefix:
aerialway:
town: Town (város) határa
township: Township határa (USA)
village: Village (falu) határa
- results:
- no_results: Nincs találat
- more_results: További eredmények
+ searches:
+ show:
+ title:
+ latlon: Belső
+ queries:
+ create:
+ no_results: Nincs találat
+ more_results: További eredmények
directions:
search:
title: Irányok
success: Tu ha cessate de sequer %{name}.
not_followed: Tu non seque %{name}.
geocoder:
- search:
- title:
- latlon: Interne
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
level9: Limite administrative (nivello 9)
level10: Limite administrative (nivello 10)
level11: Limite administrative (nivello 11)
- results:
- no_results: Nulle resultato trovate
- more_results: Plus resultatos
+ searches:
+ show:
+ title:
+ latlon: Interne
+ queries:
+ create:
+ no_results: Nulle resultato trovate
+ more_results: Plus resultatos
directions:
search:
title: Itinerario
description: Gagal menemukan operasi berkas/direktori/API dengan nama itu di
server OpenStreetMap (HTTP 404)
geocoder:
- search:
- title:
- latlon: Internal
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
level9: Batas Administratif (Level 9)
level10: Batas Administratif (Level 10)
level11: Batas Administratif (Level 11)
- results:
- no_results: Tidak ada hasil yang ditemukan
- more_results: Hasil lainnya
+ searches:
+ show:
+ title:
+ latlon: Internal
+ queries:
+ create:
+ no_results: Tidak ada hasil yang ditemukan
+ more_results: Hasil lainnya
directions:
search:
title: Petunjuk Arah
description: Gat ekki fundið skrá/skrá/API-aðgerð með því nafni á OpenStreetMap-þjóninum
(HTTP 404)
geocoder:
- search:
- title:
- latlon: Innri
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix_format: '%{name}:'
prefix:
level9: Þorpsmörk
level10: Úthverfamörk
level11: Mörk hverfis
- results:
- no_results: Ekkert fannst
- more_results: Fleiri niðurstöður
+ searches:
+ show:
+ title:
+ latlon: Innri
+ queries:
+ create:
+ no_results: Ekkert fannst
+ more_results: Fleiri niðurstöður
directions:
search:
title: Leiðir
success: Hai smesso di seguire con successo %{name}.
not_followed: Non stai seguendo %{name}.
geocoder:
- search:
- title:
- latlon: Interno
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
região: Confine regionale
region: Confine regionale
village: Confine del villaggio
- results:
- no_results: Nessun risultato trovato
- more_results: Altri risultati
+ searches:
+ show:
+ title:
+ latlon: Interno
+ queries:
+ create:
+ no_results: Nessun risultato trovato
+ more_results: Altri risultati
directions:
search:
title: Indicazioni
title: Accedi con Wikipedia
alt: Logo di Wikipedia
share:
+ share:
+ title: Condividi
email:
title: Condividi via email
alt: Icona e-mail
title: ファイルが見つかりません
description: OpenStreetMapサーバ上に、その名称のファイル/ディレクトリ/API操作はありません (HTTP 404)
geocoder:
- search:
- title:
- latlon: 内部
search_osm_nominatim:
prefix:
aerialway:
level9: 村境
level10: 街区境
level11: 町会の境界
- results:
- no_results: 該当するものはありません
- more_results: その他の結果
+ searches:
+ show:
+ title:
+ latlon: 内部
+ queries:
+ create:
+ no_results: 該当するものはありません
+ more_results: その他の結果
directions:
search:
title: 方向
level8: ქალაქის საზღვარი
level9: სოფლის საზღვარი
level10: გარეუბნის საზღვარი
- results:
- no_results: შედეგი ვერ მოიძებნა
- more_results: მეტი შედეგი
+ searches:
+ queries:
+ create:
+ no_results: შედეგი ვერ მოიძებნა
+ more_results: მეტი შედეგი
layouts:
logo:
alt_text: OpenStreetMap-ის ლოგო
level8: Talast n temdint
level9: Talast n taddart
level10: Talast n ugmama
- results:
- no_results: Ulac igmaḍ
- more_results: Ugar n igmaḍ
+ searches:
+ queries:
+ create:
+ no_results: Ulac igmaḍ
+ more_results: Ugar n igmaḍ
layouts:
logo:
alt_text: Alugu n OpenStreetMap
not_found:
title: Файл табылмады
geocoder:
- search:
- title:
- latlon: Жүйе
search_osm_nominatim:
prefix:
aerialway:
level6: Аудан шекарасы
level8: Қала шекарасы
level9: Ауыл шекарасы
- results:
- no_results: Ештеңе табылмады
+ searches:
+ show:
+ title:
+ latlon: Жүйе
+ queries:
+ create:
+ no_results: Ештеңе табылмады
issues:
index:
search: Іздеу
level4: ರಾಜ್ಯದ ಗಡಿ
level8: ನಗರದ ಗಡಿ
level9: ಹಳ್ಳಿಯ ಗಡಿ
- results:
- no_results: ಯಾವುದೇ ಫಲಿತಾಂಶಗಳಿಲ್ಲ
+ searches:
+ queries:
+ create:
+ no_results: ಯಾವುದೇ ಫಲಿತಾಂಶಗಳಿಲ್ಲ
issues:
index:
search: ಹುಡುಕು
title: 파일을 찾을 수 없습니다
description: 오픈스트리트맵 서버에서 해당 이름으로 파일/디렉토리/API 작업을 찾을 수 없습니다(HTTP 404).
geocoder:
- search:
- title:
- latlon: 내부
search_osm_nominatim:
prefix:
aerialway:
level9: 마을 경계
level10: 교외 경계
level11: 이웃 경계
- results:
- no_results: 결과가 없습니다
- more_results: 더 많은 결과
+ searches:
+ show:
+ title:
+ latlon: 내부
+ queries:
+ create:
+ no_results: 결과가 없습니다
+ more_results: 더 많은 결과
directions:
search:
title: 길
wadi: e Waadi, e drüsch Daal
waterfall: ne Wasserfall
weir: e Wehr
- results:
- no_results: Nix jefonge
- more_results: Mih …
+ searches:
+ queries:
+ create:
+ no_results: Nix jefonge
+ more_results: Mih …
layouts:
logo:
alt_text: Et Logo vun OpenStreetMap
description: Ti kiryara dosye/pelrêç/APIyê peyda nebû bi wê navê li ser servera
OpenStreetMapê (HTTP 404)
geocoder:
- search:
- title:
- latlon: Daxilî
search_osm_nominatim:
prefix:
aerialway:
level9: Sînora gundê
level10: Sînora taxê
level11: Sînora Taxê
- results:
- no_results: Ti encam nehatin dîtin
- more_results: Encamên zêdetir
+ searches:
+ show:
+ title:
+ latlon: Daxilî
+ queries:
+ create:
+ no_results: Ti encam nehatin dîtin
+ more_results: Encamên zêdetir
directions:
search:
title: Îstiqametên rotayê
not_found:
title: Fichier gouf net fonnt
geocoder:
- search:
- title:
- latlon: Intern
search_osm_nominatim:
prefix:
aerialway:
city: Stadgrenz
nation: International Grenz
national: International Grenz
- results:
- no_results: Näischt fonnt
- more_results: Méi Resultater
+ searches:
+ show:
+ title:
+ latlon: Intern
+ queries:
+ create:
+ no_results: Näischt fonnt
+ more_results: Méi Resultater
directions:
search:
title: Richtungen
description: OpenStreetMap serveryje nepavyko rasti failo, katalogo ar API veiksmo
su nurodytu pavadinimu (HTTP 404)
geocoder:
- search:
- title:
- latlon: Vidinis
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
level9: Kaimo riba
level10: Priemiesčio riba
level11: Mikrorajono riba
- results:
- no_results: Daugiau rezultatų nėra
- more_results: Daugiau rezultatų
+ searches:
+ show:
+ title:
+ latlon: Vidinis
+ queries:
+ create:
+ no_results: Daugiau rezultatų nėra
+ more_results: Daugiau rezultatų
directions:
search:
title: Nurodymai
level9: Ciema robeža
level10: Pilsētas apgabala robeža
level11: Apkaimes robeža
- results:
- no_results: Nav atrasts neviens rezultāts
- more_results: Vairāk rezultātu
+ searches:
+ queries:
+ create:
+ no_results: Nav atrasts neviens rezultāts
+ more_results: Vairāk rezultātu
directions:
search:
title: Norādes
success: Успешно го прекинавте следењето на %{name}.
not_followed: Не го следите %{name}.
geocoder:
- search:
- title:
- latlon: Внатрешни
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
town: Паланечка граница
township: Околиска граница
village: Селски атар
- results:
- no_results: Не пронајдов ништо
- more_results: Повеќе ставки
+ searches:
+ show:
+ title:
+ latlon: Внатрешни
+ nominatim: Nominatim
+ nominatim_reverse: Nominatim
+ queries:
+ create:
+ no_results: Не пронајдов ништо
+ more_results: Повеќе ставки
directions:
search:
title: Насоки
title: Најава со Википедија
alt: Лого на Википедија
share:
+ share:
+ title: Сподели
+ alt: Икона за споделување
email:
title: Сподели преку е-пошта
alt: Икона за е-пошта
river: Рыу/Флувиу
stream: Пырэу
waterfall: Каскадэ
- results:
- no_results: Ну с'а гэсит нич ун резултат
- more_results: Май мулте резултате
+ searches:
+ queries:
+ create:
+ no_results: Ну с'а гэсит нич ун резултат
+ more_results: Май мулте резултате
issues:
index:
title: Проблеме
level8: शहर सिमा
level9: खेडे सिमा
level10: उपनगर सिमा
- results:
- no_results: परिणाम सापडले नाही
- more_results: अधिक निकाल
+ searches:
+ queries:
+ create:
+ no_results: परिणाम सापडले नाही
+ more_results: अधिक निकाल
layouts:
logo:
alt_text: ओपनस्ट्रीटमॅप संकेतचित्र
not_found:
title: Fail tidak dijumpai
geocoder:
- search:
- title:
- latlon: Dalaman
search_osm_nominatim:
prefix:
aerialway:
doctors: Doktor
drinking_water: Air Minuman
driving_school: Sekolah Memandu
- embassy: Kedutaan
+ embassy: Kedutaan Besar
events_venue: Tempat Acara
fast_food: Makanan Segera
ferry_terminal: Terminal Feri
level8: Sempadan Bandar
level9: Sempadan Desa
level10: Sempadan Pinggir Bandar
- results:
- no_results: Tiada hasil carian
- more_results: Lebih banyak hasil
+ searches:
+ show:
+ title:
+ latlon: Dalaman
+ queries:
+ create:
+ no_results: Tiada hasil carian
+ more_results: Lebih banyak hasil
directions:
search:
title: Arah
dam: တမံ
river: မြစ်
waterfall: ရေတံခွန်
- results:
- no_results: မည်သည့်ရလဒ်မျှ မရပါ
- more_results: ရလဒ်များ ပို၍
+ searches:
+ queries:
+ create:
+ no_results: မည်သည့်ရလဒ်မျှ မရပါ
+ more_results: ရလဒ်များ ပို၍
issues:
index:
search: ရှာဖွေရန်
not_found:
title: Fil ikke funnet
geocoder:
- search:
- title:
- latlon: Intern
search_osm_nominatim:
prefix:
aerialway:
level8: Bygrense
level9: Landsbygrense
level10: Forstadsgrense
- results:
- no_results: Ingen resultat funnet
- more_results: Flere resultat
+ searches:
+ show:
+ title:
+ latlon: Intern
+ queries:
+ create:
+ no_results: Ingen resultat funnet
+ more_results: Flere resultat
directions:
search:
title: Veianvisninger
wadi: Wadi
waterfall: Waterfall
weir: Wehr
- results:
- no_results: nix funnen
- more_results: Mehr
+ searches:
+ queries:
+ create:
+ no_results: nix funnen
+ more_results: Mehr
layouts:
logo:
alt_text: OpenStreetMap-Logo
not_found:
title: फाइल फेला परेन
geocoder:
- search:
- title:
- latlon: आन्तरिक
search_osm_nominatim:
prefix:
aerialway:
level8: सहर सीमा
level9: गाउँ सीमा
level10: उपनगर सीमा
- results:
- no_results: कुनै नतिजाहरू भेटिएनन्
- more_results: थप नतिजाहरू
+ searches:
+ show:
+ title:
+ latlon: आन्तरिक
+ queries:
+ create:
+ no_results: कुनै नतिजाहरू भेटिएनन्
+ more_results: थप नतिजाहरू
directions:
search:
title: दिशाहरू
success: Je volgt nu niet langer %{name}.
not_followed: Je volgt %{name} niet.
geocoder:
- search:
- title:
- latlon: Intern
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
region: Regiogrens
state: Staatsgrens
village: Dorpsgrens
- results:
- no_results: Geen resultaten gevonden
- more_results: Meer resultaten
+ searches:
+ show:
+ title:
+ latlon: Intern
+ queries:
+ create:
+ no_results: Geen resultaten gevonden
+ more_results: Meer resultaten
directions:
search:
title: Routebeschrijving
title: Oppføringar OpenStreetMap-dagboka
description: Nylege oppføringar i dagbøkene til OpenStreetMap-brukarar
geocoder:
- search:
- title:
- latlon: Intern
search_osm_nominatim:
prefix:
aerialway:
level9: Landsbygrense
level10: Forstadsgrense
level11: Grannelagsgrense
- results:
- no_results: Ingen resultat funne
- more_results: Fleire resultat
+ searches:
+ show:
+ title:
+ latlon: Intern
+ queries:
+ create:
+ no_results: Ingen resultat funne
+ more_results: Fleire resultat
directions:
search:
title: Vegskildringar
not_found:
title: ߞߐߕߐ߮ ߡߊ߬ ߛߐ߬ߘߐ߲߬
geocoder:
- search:
- title:
- latlon: ߞߣߐߟߊ
search_osm_nominatim:
prefix:
aerialway:
level8: ߛߏ ߓߐߕߏ߲
level9: ߕߏߘߊ ߓߐߕߏ߲
level11: ߛߌ߰ߢߐ߲߰ߦߊ߬ ߦߙߐ ߓߐߕߏ߲
- results:
- no_results: ߞߐߝߟߌ߫ ߡߊ߫ ߛߐ߬ߘߐ߲߬
- more_results: ߞߐߝߟߌ߫ ߜߘߍ ߟߎ߬
+ searches:
+ show:
+ title:
+ latlon: ߞߣߐߟߊ
+ queries:
+ create:
+ no_results: ߞߐߝߟߌ߫ ߡߊ߫ ߛߐ߬ߘߐ߲߬
+ more_results: ߞߐߝߟߌ߫ ߜߘߍ ߟߎ߬
directions:
search:
title: ߞߎ߲߬ߕߋߟߋ߲
level9: Limit dau vilatge
level10: Limit de la banlèga
level11: Limit de quartier
- results:
- no_results: Cap de resultat es pas estat trobat
- more_results: Mai de resultats
+ searches:
+ queries:
+ create:
+ no_results: Cap de resultat es pas estat trobat
+ more_results: Mai de resultats
directions:
search:
title: Itineraris
changesetxml: ਤਬਦੀਲੀ ਲੜੀ XML
paging_nav:
ways_paginated: '%{count} ਵਿੱਚੋਂ (%{x}-%{y} ਦਾ ਤਰੀਕਾ'
+ relations_title: ਰਿਸ਼ਤੇ
relations_paginated: '%{count} ਵਿੱਚੋਂ (%{x}-%{y} ਦਾ ਸਬੰਧ'
timeout:
sorry: ਮੁਆਫ ਕਰਨਾ, ਤੁਹਾਡੇ ਵੱਲੋਂ ਬੇਨਤੀ ਕੀਤੀ ਤਬਦੀਲੀ-ਲੜੀਆਂ ਦੀ ਸੂਚੀ ਨੂੰ ਪ੍ਰਾਪਤ ਕਰਨ
posted_by_html: '%{link_user} ਵੱਲੋਂ %{created} ਨੂੰ %{language_link} ਵਿੱਚ ਜੋੜਿਆ
ਗਿਆ।'
updated_at_html: ਆਖ਼ਰੀ ਵਾਰ %{updated} ਨੂੰ ਨਵਿਆਇਆ ਗਿਆ।
+ full_entry: ਪੂਰੇ ਇੰਦਰਾਜ ਵੇਖੋ
comment_link: ਇਸ ਇੰਦਰਾਜ 'ਤੇ ਟਿੱਪਣੀ ਕਰੋ
reply_link: ਲੇਖਕ ਨੂੰ ਸੁਨੇਹਾ ਭੇਜੋ
comment_count:
follow:
button: ਵਰਤੋਂਕਾਰ ਨਾਲ ਜੁੜੋ
geocoder:
- search:
- title:
- latlon: ਅੰਦਰੂਨੀ
search_osm_nominatim:
prefix:
aerialway:
level9: ਪਿੰਡ ਦੀ ਹੱਦ
level10: ਉਪਨਗਰ ਦੀ ਜੂਹ
level11: ਗੁਆਂਢ ਦੀ ਹੱਦ
- results:
- no_results: ਕੋਈ ਨਤੀਜੇ ਨਹੀਂ ਲੱਭੇ
- more_results: ਹੋਰ ਨਤੀਜੇ
+ searches:
+ show:
+ title:
+ latlon: ਅੰਦਰੂਨੀ
+ queries:
+ create:
+ no_results: ਕੋਈ ਨਤੀਜੇ ਨਹੀਂ ਲੱਭੇ
+ more_results: ਹੋਰ ਨਤੀਜੇ
issues:
index:
title: ਮੁੱਦੇ
title: ਵਿਕੀਪੀਡੀਆ ਨਾਲ ਦਾਖਲ ਹੋਵੋ
alt: ਵਿਕੀਪੀਡੀਆ ਮਾਰਕਾ
share:
+ share:
+ title: ਸਾਂਝਾ ਕਰੋ
email:
title: ਈਮੇਲ ਰਾਹੀਂ ਸਾਂਝਾ ਕਰੋ
bluesky:
success: Usunięto %{name} z grona znajomych.
not_followed: '%{name} nie należy do grona znajomych.'
geocoder:
- search:
- title:
- latlon: Internal
- osm_nominatim: Nominatim
- osm_nominatim_reverse: Nominatim
search_osm_nominatim:
prefix_format: '%{name}'
prefix:
town: Granica miasteczka
township: Granica miasta
village: Granica wioski
- results:
- no_results: Nic nie znaleziono
- more_results: Więcej wyników
+ searches:
+ show:
+ title:
+ latlon: Internal
+ nominatim: Nominatim
+ nominatim_reverse: Nominatim
+ queries:
+ create:
+ no_results: Nic nie znaleziono
+ more_results: Więcej wyników
directions:
search:
title: Opis trasy
level8: شہر دی حد
level9: پنڈ دی جوہ
level10: اُپنگر دی جوہ
- results:
- no_results: کوئی نتیجے نہیں لبھے
- more_results: ہور نتیجے
+ searches:
+ queries:
+ create:
+ no_results: کوئی نتیجے نہیں لبھے
+ more_results: ہور نتیجے
directions:
search:
title: دشاواں
# Author: Ahmed-Najib-Biabani-Ibrahimkhel
# Author: Ajeje Brazorf
# Author: Amjad Khan
+# Author: شاه زمان پټان
---
ps:
html:
leave_a_comment: يوه تبصره پرېښودل
login: ننوتل
diary_entry:
+ full_entry: بشپړه ننوتنه کتل
confirm: تاييد
diary_comment:
comment_from_html: په %{comment_created_at} باندې د %{link_user} تبصره
river: رود
stream: لښتی
waterfall: ځوړاوبی
- results:
- no_results: کومې پايلې و نه موندل شوې
- more_results: نورې پايلې
+ searches:
+ queries:
+ create:
+ no_results: کومې پايلې و نه موندل شوې
+ more_results: نورې پايلې
layouts:
home: کور
logout: وتل
success: Deixaste de seguir %{name}.
not_followed: Não estás a seguir %{name}.
geocoder:
- search:
- title:
- latlon: Interno
- osm_nominatim: Nominatim do OpenStreetMap
- osm_nominatim_reverse: Nominatim do OpenStreetMap
search_osm_nominatim:
prefix:
aerialway:
town: Fronteira de vila
township: Fronteira de township
village: Fronteira de aldeia
- results:
- no_results: Não foram encontrados resultados
- more_results: Mais resultados
+ searches:
+ show:
+ title:
+ latlon: Interno
+ queries:
+ create:
+ no_results: Não foram encontrados resultados
+ more_results: Mais resultados
directions:
search:
title: Direções
diary_entry:
posted_by_html: Publicado por %{link_user} em %{created} em %{language_link}.
updated_at_html: Última atualização em %{updated}.
+ full_entry: Ver entrada completa
comment_link: Comentar nesta publicação
reply_link: Enviar uma mensagem ao autor
comment_count:
success: Você deixou de seguir %{name} com sucesso.
not_followed: Você não está seguindo %{name}.
geocoder:
- search:
- title:
- latlon: Interno
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
região: Limite regional
region: Limite regional
state: Limite estadual
- results:
- no_results: Nenhum resultado encontrado
- more_results: Mais resultados
+ searches:
+ show:
+ title:
+ latlon: Interno
+ nominatim: Nominatim
+ nominatim_reverse: Nominatim
+ queries:
+ create:
+ no_results: Nenhum resultado encontrado
+ more_results: Mais resultados
directions:
search:
title: Itinerário
title: Problemas
select_status: Selecionar status
select_type: Selecione o tipo
+ select_last_managed_by: Selecionar última alteração por
reported_user: Usuário denunciado
+ not_managed: Sem manutenção
search: Pesquisar
search_guidance: 'Pesquisar problemas:'
states:
status: Status
reports: Denúncias
last_updated: Última Atualização
+ last_managed: Última manutenção
reporting_users: Denunciar usuários
reports_count:
one: '%{count} denúncia'
reopened: O status do problema foi definido como "Aberto"
comments:
comment_from_html: Comentário de %{user_link} em %{comment_created_at}
+ reassign_to_moderators: Repassar problema aos moderadores
+ reassign_to_administrators: Repassar problema aos administradores
reports:
reported_by_html: Denunciado como %{category} por %{user} em %{updated_at}
helper:
reportable_title:
diary_comment: '%{entry_title}, comentário #%{comment_id}'
note: 'Nota #%{note_id}'
+ reporters:
+ reporters:
+ more_reporters: e mais %{count}
issue_comments:
create:
comment_created: Seu comentário foi criado com sucesso
communities: Comunidades
learn_more: Saiba Mais
more: Mais
+ offline_flash:
+ osm_offline: A base de dados do OpenStreetMap, no momento, está fora do ar para
+ manutenção.
+ osm_read_only: A base de dados do OpenStreetMap, no momento, está somente em
+ modo de leitura para manutenção.
+ announcement: Você pode ler o anúncio aqui.
user_mailer:
diary_comment_notification:
description: 'Entrada no diário do OpenStreetMap #%{id}'
uma mensagem ao autor em %{replyurl}
follow_notification:
hi: Olá %{to_user},
+ subject: '[OpenStreetMap] %{user} te seguiu.'
+ followed_you: '%{user} agora te segue no OpenStreetMap.'
see_their_profile: Você pode ver o perfil dele(a) em %{userurl}.
see_their_profile_html: Você pode ver o perfil dele(a) em %{userurl}.
+ follow_them: Siga também em %{followurl}.
follow_them_html: Siga também em %{followurl}.
gpx_details:
details: 'Detalhes dos arquivos:'
track: Estrada rústica
bridleway: Hipovia
cycleway: Ciclovia
+ international_bike_route: Ciclovia internacional
national_bike_route: Ciclovia nacional
regional_bike_route: Ciclovia regional
local_bike_route: Ciclovia local
roundabout_with_exit: Na rotatória, pegue a saída %{exit} para %{name}
roundabout_with_exit_ordinal: Na rotatória, pegue %{exit} saída para %{name}
exit_roundabout: Saia da rotatória para %{name}
+ ferry_without_exit: Embarcar em %{name}
unnamed: sem nome
courtesy: Itinerário cortesia de %{link}
exit_counts:
description: Nu s-a putut găsi o operație de file/directory/API operation cu
acest nume pe serverul OpenStreetMap (HTTP 404)
geocoder:
- search:
- title:
- latlon: Intern
search_osm_nominatim:
prefix:
aerialway:
level9: Limita satului
level10: Limită de suburbie
level11: Limită Cartier
- results:
- no_results: Niciun rezultat găsit
- more_results: Mai multe rezultate
+ searches:
+ show:
+ title:
+ latlon: Intern
+ queries:
+ create:
+ no_results: Niciun rezultat găsit
+ more_results: Mai multe rezultate
directions:
search:
title: Direcții
description: Не удалось найти файл/каталог/операцию API с таким именем на сервере
OpenStreetMap (HTTP 404)
geocoder:
- search:
- title:
- latlon: Внутренний
search_osm_nominatim:
prefix:
aerialway:
level9: Граница села, деревни
level10: Граница пригорода
level11: Граница между соседствами
- results:
- no_results: Ничего не найдено
- more_results: Ещё результаты
+ searches:
+ show:
+ title:
+ latlon: Внутренний
+ queries:
+ create:
+ no_results: Ничего не найдено
+ more_results: Ещё результаты
directions:
search:
title: Маршрут
description: No at fatu a agatare unu documentu/cartella/operatzione API cun
custu nùmene in de su serbidore de OpenStreetMap (HTTP 404)
geocoder:
- search:
- title:
- latlon: Internu
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
level9: Làcana de 9u livellu - sutamunitzipale (distretu tzitadinu)
level10: Làcana de livellu 10 (bighinadu)
level11: Làcana de trighìngiu
- results:
- no_results: Perunu resultadu agadadu
- more_results: Àteros risultados
+ searches:
+ show:
+ title:
+ latlon: Internu
+ queries:
+ create:
+ no_results: Perunu resultadu agadadu
+ more_results: Àteros risultados
directions:
search:
title: Indicatziones
level8: Cunfini di cumuni
level9: Cunfini di villaggiu
level10: Cunfini di quarteri
- results:
- no_results: Nuḍḍu risurtatu attruvatu
- more_results: Àutri risurtati
+ searches:
+ queries:
+ create:
+ no_results: Nuḍḍu risurtatu attruvatu
+ more_results: Àutri risurtati
directions:
search:
title: Nnicazzioni
level8: Ceety Boondary
level9: Veelage Boondary
level10: Suburb Boondary
- results:
- no_results: Nae results foond
- more_results: Mair results
+ searches:
+ queries:
+ create:
+ no_results: Nae results foond
+ more_results: Mair results
layouts:
logo:
alt_text: OpenStreetMap logo
prison: Zatvor
pub: Pub
public_bath: Javno kupalište
- results:
- no_results: Nema rezultata
- more_results: Više rezultata
+ searches:
+ queries:
+ create:
+ no_results: Nema rezultata
+ more_results: Više rezultata
issues:
index:
search: Pretraga
diary_entry:
posted_by_html: Napísal %{link_user} %{created} v jazyku %{language_link}.
updated_at_html: Naposled upravené %{updated}.
+ full_entry: Pozrieť celý záznam
comment_link: Komentár k záznamu
reply_link: Poslať správu autorovi
comment_count:
success: Úspešne ste prestali sledovať %{name}.
not_followed: Nesledujete používateľa %{name}.
geocoder:
- search:
- title:
- latlon: Interné
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
state: Hranica kraja (state)
town: Hranica mesta
village: Hranica obce
- results:
- no_results: Neboli nájdené žiadne výsledky
- more_results: Viac výsledkov
+ searches:
+ show:
+ title:
+ latlon: Interné
+ nominatim: Nominatim
+ nominatim_reverse: Nominatim
+ queries:
+ create:
+ no_results: Neboli nájdené žiadne výsledky
+ more_results: Viac výsledkov
directions:
search:
title: Trasa
track: Lesná/poľná cesta
bridleway: Chodník pre kone
cycleway: Cyklotrasa
+ international_bike_route: Medzinárodná cyklotrasa
national_bike_route: Národná cyklotrasa
regional_bike_route: Regionálna cyklotrasa
local_bike_route: Miestna cyklotrasa
title: Prihlásiť sa pomocou Wikipédie
alt: Prihláste sa pomocou účtu Wikipedia
share:
+ share:
+ title: Zdieľať
+ alt: Zdieľať ikonu
email:
title: Zdieľať prostredníctvom e-mailu
alt: Ikona e-mailu
not_found:
title: فائل کائنی لبھی
geocoder:
- search:
- title:
- latlon: اندرونی
search_osm_nominatim:
prefix:
aerialway:
level7: میونسپلٹی سرحد
level8: شہری سرحد
level9: وستی سرحد
- results:
- no_results: کوئی نتیجہ نی لبھا
- more_results: ٻئے نتیجے
+ searches:
+ show:
+ title:
+ latlon: اندرونی
+ queries:
+ create:
+ no_results: کوئی نتیجہ نی لبھا
+ more_results: ٻئے نتیجے
issues:
index:
title: مسئلے
wikipedia:
title: وکی پیڈیا نال لاگ ان تھیوو
alt: وکی پیڈیا لوگو
+ share:
+ share:
+ title: شیئر
oauth2_applications:
index:
name: ناں
description: Datoteke/imenika/API-operacije s tem imenom v strežniku OpenStreetMap
ni bilo mogoče najti (HTTP 404)
geocoder:
- search:
- title:
- latlon: Notranji
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
level9: Meja mesta
level10: Meja predmestja
level11: Meja soseske
- results:
- no_results: Ni zadetkov
- more_results: Več zadetkov
+ searches:
+ show:
+ title:
+ latlon: Notranji
+ queries:
+ create:
+ no_results: Ni zadetkov
+ more_results: Več zadetkov
directions:
search:
title: Navodila
level2: Kufi vendi
level4: Kufi i njësisë federale
level5: Kufi regjional
- results:
- no_results: Nuk është gjetur asnjë rezultat
- more_results: Më shumë rezultate
+ searches:
+ queries:
+ create:
+ no_results: Nuk është gjetur asnjë rezultat
+ more_results: Më shumë rezultate
issues:
index:
select_status: Përzgjidh statsin
wadi: Suvo korito reke
waterfall: Vodopad
weir: Brana
- results:
- no_results: Nema rezultata
- more_results: Više rezultata
+ searches:
+ queries:
+ create:
+ no_results: Nema rezultata
+ more_results: Više rezultata
layouts:
project_name:
title: Openstritmap
region: Граница региона
state: Граница савезне државе
village: Граница села
- results:
- no_results: Нема резултата
- more_results: Више резултата
+ searches:
+ queries:
+ create:
+ no_results: Нема резултата
+ more_results: Више резултата
directions:
search:
title: Путања
title: Пријава преко Википедије
alt: Логотип Википедије
share:
+ share:
+ title: Дели
email:
title: Дели преко имејла
facebook:
success: Du slutade följa %{name}.
not_followed: Du följer inte %{name}.
geocoder:
- search:
- title:
- latlon: Intern
search_osm_nominatim:
prefix:
aerialway:
level9: Bygräns
level10: Förortsgräns
level11: Kvartersgräns
- results:
- no_results: Inga resultat hittades
- more_results: Fler resultat
+ searches:
+ show:
+ title:
+ latlon: Intern
+ queries:
+ create:
+ no_results: Inga resultat hittades
+ more_results: Fler resultat
directions:
search:
title: Vägbeskrivning
lock: பூட்டு
river: ஆறு
waterfall: நீர்வீழ்ச்சி
- results:
- no_results: முடிவுகள் எதுவும் காணப்படவில்லை
- more_results: மேலும் முடிவுகள்
+ searches:
+ queries:
+ create:
+ no_results: முடிவுகள் எதுவும் காணப்படவில்லை
+ more_results: மேலும் முடிவுகள்
reports:
new:
categories:
level9: గ్రామ పొలిమెర
level10: శివారు సరిహద్దు
level11: పేట సరిహద్దు
- results:
- no_results: ఫలితాలేమీ దొరకలేదు
- more_results: మరిన్ని ఫలితాలు
+ searches:
+ queries:
+ create:
+ no_results: ఫలితాలేమీ దొరకలేదు
+ more_results: మరిన్ని ఫలితాలు
directions:
search:
title: దిశలు
description: ไม่พบการดำเนินการของไฟล์/ไดเรกทอรี/API ตามชื่อนั้นบนเซิร์ฟเวอร์
OpenStreetMap (HTTP 404)
geocoder:
- search:
- title:
- latlon: ภายใน
search_osm_nominatim:
prefix:
aerialway:
level9: แนวเขตหมู่บ้าน
level10: แนวเขตชานเมือง
level11: แนวเขตชุมชน
- results:
- no_results: ไม่พบผลลัพธ์
- more_results: ดูผลลัพธ์เพิ่ม
+ searches:
+ show:
+ title:
+ latlon: ภายใน
+ queries:
+ create:
+ no_results: ไม่พบผลลัพธ์
+ more_results: ดูผลลัพธ์เพิ่ม
directions:
search:
title: เส้นทาง
level9: Hangganan ng Nayon
level10: Hangganan ng Kanugnog ng Lungsod
level11: Hangganan ng Kapitbahayan
- results:
- no_results: Walang natagpuang mga kinalabasan
- more_results: Marami pang mga kinalabasan
+ searches:
+ queries:
+ create:
+ no_results: Walang natagpuang mga kinalabasan
+ more_results: Marami pang mga kinalabasan
directions:
search:
title: Mga Direksyon
success: '%{name} kullanıcısını başarıyla takipten çıktınız.'
not_followed: '%{name} kullanıcısını takip etmiyorsunuz.'
geocoder:
- search:
- title:
- latlon: Dahili
- osm_nominatim: OpenStreetMap Nominatim Sonucu
- osm_nominatim_reverse: OpenStreetMap Adaylığı
search_osm_nominatim:
prefix:
aerialway:
state: Eyalet Sınırı
town: Şehir Sınırı
village: Köy Sınırı
- results:
- no_results: Sonuç bulunamadı
- more_results: Daha fazla sonuç
+ searches:
+ show:
+ title:
+ latlon: Dahili
+ queries:
+ create:
+ no_results: Sonuç bulunamadı
+ more_results: Daha fazla sonuç
directions:
search:
title: İstikametler
level6: Өяз чиге
level8: Шәһәр чиге
level9: Авыл чиге
- results:
- no_results: Берни дә табылмады
+ searches:
+ queries:
+ create:
+ no_results: Берни дә табылмады
directions:
search:
title: Юнәлешләр
success: Ви більше не слідкуєте за %{name}.
not_followed: Ви не слідкуєте за %{name}.
geocoder:
- search:
- title:
- latlon: Внутрішніх джерел
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
town: Межа міста
township: Межа селища
village: Межа села
- results:
- no_results: Нічого не знайдено
- more_results: Більше результатів
+ searches:
+ show:
+ title:
+ latlon: Внутрішніх джерел
+ queries:
+ create:
+ no_results: Нічого не знайдено
+ more_results: Більше результатів
directions:
search:
title: Маршрут
# Author: Dinhxuanduyet
# Author: Doraemonluonbentoi
# Author: Flyplanevn27
+# Author: FunnyYellowDog
# Author: Gravitystorm
# Author: Ioe2015
# Author: JohnsonLee01
success: Bạn đã ngừng theo dõi %{name} thành công.
not_followed: Bạn không có theo dõi %{name}.
geocoder:
- search:
- title:
- latlon: Nội bộ
search_osm_nominatim:
prefix:
aerialway:
town: Biên giới Thị trấn/Thị xã
township: Biên giới Xã
village: Biên giới Làng
- results:
- no_results: Không tìm thấy kết quả
- more_results: Thêm kết quả
+ searches:
+ show:
+ title:
+ latlon: Nội bộ
+ queries:
+ create:
+ no_results: Không tìm thấy kết quả
+ more_results: Thêm kết quả
directions:
search:
title: Chỉ đường
scale: 'Tỷ lệ:'
image_dimensions: Hình của lớp %{layer} với kích thước %{width}×%{height}
download: Tải về
- short_url: URL Ngắn gọn
+ short_url: URL rút gọn
include_marker: Ghim trên bản đồ
center_marker: Chuyển ghim vào giữa bản đồ
paste_html: Dán HTML để nhúng vào trang Web
not_found:
title: ფაილქ ვეგორჷ
geocoder:
- search:
- title:
- latlon: დინოხოლენი
search_osm_nominatim:
prefix:
aerialway:
level8: ნოღაშ ხურგი
level9: ოფუტეშ ხურგი
level11: სამეძობოშ ხურგი
- results:
- no_results: შედეგიქ ვეგორჷ
- more_results: უმოსი შედეგი
+ searches:
+ show:
+ title:
+ latlon: დინოხოლენი
+ queries:
+ create:
+ no_results: შედეგიქ ვეგორჷ
+ more_results: უმოსი შედეგი
layouts:
intro_header: მოზოჯით OpenStreetMap-შა!
tou: გჷმორინაფაშ წესეფი
heading: 您想要取消关注%{user}吗?
button: 取消关注用户
geocoder:
- search:
- title:
- latlon: 内部
search_osm_nominatim:
prefix:
aerialway:
level9: 村界
level10: 村界
level11: 邻里界
- results:
- no_results: 没有找到结果
- more_results: 更多结果
+ searches:
+ show:
+ title:
+ latlon: 内部
+ queries:
+ create:
+ no_results: 没有找到结果
+ more_results: 更多结果
directions:
search:
title: 方向
level8: 市界
level9: 村界
level10: 市郊邊界
- results:
- no_results: 找不到結果
- more_results: 更多結果
+ searches:
+ queries:
+ create:
+ no_results: 找不到結果
+ more_results: 更多結果
issues:
index:
reported_user: 曾經舉報的用戶
success: 您成功取消追蹤了 %{name}。
not_followed: 您並未追蹤 %{name}。
geocoder:
- search:
- title:
- latlon: 內部
- osm_nominatim: OpenStreetMap Nominatim
- osm_nominatim_reverse: OpenStreetMap Nominatim
search_osm_nominatim:
prefix:
aerialway:
town: 城鎮邊界
township: 鄉鎮邊界
village: 村里邊界
- results:
- no_results: 找不到結果
- more_results: 更多結果
+ searches:
+ show:
+ title:
+ latlon: 內部
+ queries:
+ create:
+ no_results: 找不到結果
+ more_results: 更多結果
directions:
search:
title: 路線
end
def linkify(text, mode = :urls)
- link_attr = 'rel="nofollow noopener noreferrer"'
+ link_attr = 'rel="nofollow noopener noreferrer" dir="auto"'
Rinku.auto_link(ERB::Util.html_escape(text), mode, link_attr) do |url|
url = shorten_host(url, Settings.linkify_hosts, Settings.linkify_hosts_replacement)
shorten_host(url, Settings.linkify_wiki_hosts, Settings.linkify_wiki_hosts_replacement) do |path|
private
def document
- @document ||= Kramdown::Document.new(self)
+ return @document if @document
+
+ @document = Kramdown::Document.new(self)
+
+ should_get_dir_auto = lambda do |el|
+ dir_auto_types = [:p, :header, :codespan, :codeblock, :pre, :ul, :ol, :table, :dl, :math]
+ return true if dir_auto_types.include?(el.type)
+ return true if el.type == :a && el.children.length == 1 && el.children[0].type == :text && el.children[0].value == el.attr["href"]
+
+ false
+ end
+
+ add_dir = lambda do |element|
+ element.attr["dir"] ||= "auto" if should_get_dir_auto.call(element)
+ element.children.each(&add_dir)
+ end
+ add_dir.call(@document.root)
+
+ @document
end
def first_image_element(element)
{ :path => "/api/0.6/gpx/1", :method => :get },
{ :controller => "api/traces", :action => "show", :id => "1" }
)
+ assert_routing(
+ { :path => "/api/0.6/gpx/1.json", :method => :get },
+ { :controller => "api/traces", :action => "show", :id => "1", :format => "json" }
+ )
assert_routing(
{ :path => "/api/0.6/gpx/1", :method => :put },
{ :controller => "api/traces", :action => "update", :id => "1" }
get api_trace_path(public_trace_file), :headers => auth_header
assert_response :success
- # And finally we should be able to do it with the owner of the trace
+ # We should be able to do it with the owner of the trace
auth_header = bearer_authorization_header public_trace_file.user
get api_trace_path(public_trace_file), :headers => auth_header
assert_response :success
assert_select "gpx_file[id='#{public_trace_file.id}'][uid='#{public_trace_file.user.id}']", 1
+
+ # We should be able to do it with the owner of the trace with json format
+ auth_header = bearer_authorization_header public_trace_file.user
+ get api_trace_path(public_trace_file, :format => "json"), :headers => auth_header
+ assert_response :success
+ assert_equal "application/json", response.media_type
+ js = ActiveSupport::JSON.decode(@response.body)
+ assert_not_nil js
+ assert_equal public_trace_file.id, js["trace"]["id"]
+ assert_equal public_trace_file.user.id, js["trace"]["uid"]
end
# Check an anonymous trace can't be specifically fetched by another user
{ :path => "/api/0.6/user/gpx_files", :method => :get },
{ :controller => "api/users/traces", :action => "index" }
)
+ assert_routing(
+ { :path => "/api/0.6/user/gpx_files.json", :method => :get },
+ { :controller => "api/users/traces", :action => "index", :format => "json" }
+ )
end
def test_index
assert_select "gpx_file[id='#{trace2.id}']", 1 do
assert_select "tag", "Birmingham"
end
+
+ # check that we get a response when logged in with json
+ auth_header = bearer_authorization_header user, :scopes => %w[read_gpx]
+ get api_user_traces_path(:format => "json"), :headers => auth_header
+ assert_response :success
+ assert_equal "application/json", response.media_type
+ js = ActiveSupport::JSON.decode(@response.body)
+ assert_not_nil js
+ assert_equal trace1.id, js["traces"][0]["id"]
+ assert_equal "London", js["traces"][0]["tags"][0]
+ assert_equal trace2.id, js["traces"][1]["id"]
+ assert_equal "Birmingham", js["traces"][1]["tags"][0]
end
def test_index_anonymous
html = linkify(text)
assert_predicate html, :html_safe?
- assert_dom_equal "Test <a href=\"#{link}\" rel=\"nofollow\">#{link}</a> is <b>made</b> into a link", html
+ assert_dom_equal "Test <a href=\"#{link}\" rel=\"nofollow\" dir=\"auto\">#{link}</a> is <b>made</b> into a link", html
html = linkify(text.html_safe)
assert_predicate html, :html_safe?
- assert_dom_equal "Test <a href=\"#{link}\" rel=\"nofollow\">#{link}</a> is <b>made</b> into a link", html
+ assert_dom_equal "Test <a href=\"#{link}\" rel=\"nofollow\" dir=\"auto\">#{link}</a> is <b>made</b> into a link", html
end
%w[test@example.com mailto:test@example.com].each do |link|
assert_dom_equal "<a title=\"Email foo@example.com\" href=\"mailto:foo@example.com\">foo@example.com</a>", html
html = format_value("source", "https://example.com")
- assert_dom_equal "<a href=\"https://example.com\" rel=\"nofollow\">https://example.com</a>", html
+ assert_dom_equal "<a href=\"https://example.com\" rel=\"nofollow\" dir=\"auto\">https://example.com</a>", html
html = format_value("source", "https://example.com;hello;https://example.net")
- assert_dom_equal "<a href=\"https://example.com\" rel=\"nofollow\">https://example.com</a>;hello;<a href=\"https://example.net\" rel=\"nofollow\">https://example.net</a>", html
+ assert_dom_equal "<a href=\"https://example.com\" rel=\"nofollow\" dir=\"auto\">https://example.com</a>;hello;<a href=\"https://example.net\" rel=\"nofollow\" dir=\"auto\">https://example.net</a>", html
end
def test_wiki_link
json-buffer "3.0.1"
leaflet.locatecontrol@^0.84.1:
- version "0.84.1"
- resolved "https://registry.yarnpkg.com/leaflet.locatecontrol/-/leaflet.locatecontrol-0.84.1.tgz#5c63447afa5e0245da682dbcdc54808e41006d16"
- integrity sha512-5NGyVR/CNaugooWMnqSphuKw2CvTef8P4pA/bzeRqhZsjl3Xqh8OmA236erNE4abme33TOC8O/Wha5I05U/QJw==
+ version "0.84.2"
+ resolved "https://registry.yarnpkg.com/leaflet.locatecontrol/-/leaflet.locatecontrol-0.84.2.tgz#44e5e30196a52da311218b57691cfba19b809cd8"
+ integrity sha512-Tv0S2bAhpFgZYyyfPgeVhb3hPr9CnlcP15EpMQd9m5vA+aALhM6key1ucfnnD7n09AEeNEmIFe71T4V18Kpu7g==
leaflet@^1.8.0:
version "1.9.4"
type-check "^0.4.0"
osm-community-index@^5.2.0:
- version "5.9.1"
- resolved "https://registry.yarnpkg.com/osm-community-index/-/osm-community-index-5.9.1.tgz#995a69a73ba740b6af9afbce33e9f5713d491bda"
- integrity sha512-ufwDqrANKqQ9/WLs3q8lBTbtZJdrDdPnH/t6IImwq2WQT49xlKLqs2qbY+/8r5uaUERoxBJTWh34n2GUsg8NHg==
+ version "5.9.2"
+ resolved "https://registry.yarnpkg.com/osm-community-index/-/osm-community-index-5.9.2.tgz#d2c620f1a295e24dbce1f7a4299bf9ce466e93a6"
+ integrity sha512-kCiNVej2cYMHTSrUERkkI8FmH+58KtMLGVIkPabnkhBdeFA3hV+u5R7PWiUVnOHubvl3igzNn63Id/+Pj18tBg==
dependencies:
diacritics "^1.3.0"