table.appendChild(tr);
var heading = document.createElement("td");
- heading.appendChild(document.createTextNode("#{I18n.t('browse.start_rjs.history_for')} " + featureNameHistory(this.feature)));
+ heading.appendChild(document.createTextNode(i18n_js("#{I18n.t('browse.start_rjs.history_for_feature', :feature => '{{feature}}')}", { feature: featureNameHistory(this.feature) })));
tr.appendChild(heading);
var td = document.createElement("td");
var user = nodes[i].getAttribute("user") || "#{I18n.t('browse.start_rjs.private_user')}";
var timestamp = nodes[i].getAttribute("timestamp");
var item = document.createElement("li");
- item.appendChild(document.createTextNode("#{I18n.t('browse.start_rjs.edited_by')} " + user + " #{I18n.t('browse.start_rjs.at_timestamp')} " + timestamp));
+ item.appendChild(document.createTextNode(i18n_js("#{I18n.t('browse.start_rjs.edited_by_user_at_timestamp', :user => '{{user}}', :timestamp => '{{timestamp}}')}", { user: user, timestamp: timestamp })));
history.appendChild(item);
}
div.appendChild(history);
if (feature.attributes.name) {
return feature.attributes.name;
} else if (featureType(feature) == "node") {
- return "#{I18n.t('browse.start_rjs.object_list.selected.type.node')} " + feature.osm_id;
+ return i18n_js("#{I18n.t('browse.start_rjs.object_list.selected.type.node', :id => '{{id}}')}", { id: feature.osm_id });
} else if (featureType(feature) == "way") {
- return "#{I18n.t('browse.start_rjs.object_list.selected.type.way')} " + feature.osm_id;
+ return i18n_js("#{I18n.t('browse.start_rjs.object_list.selected.type.way', :id => '{{id}}')}", { id: feature.osm_id });
}
}
if (feature.attributes.name) {
return feature.attributes.name;
} else if (featureType(feature) == "node") {
- return "#{I18n.t('browse.start_rjs.object_list.history.type.node')} " + feature.osm_id;
+ return i18n_js("#{I18n.t('browse.start_rjs.object_list.history.type.node', :id => '{{id}}')}", { id: feature.osm_id });
} else if (featureType(feature) == "way") {
- return "#{I18n.t('browse.start_rjs.object_list.history.type.way')} " + feature.osm_id;
+ return i18n_js("#{I18n.t('browse.start_rjs.object_list.history.type.way', :id => '{{id}}')}", { id: feature.osm_id });
}
}
loading: "Laden..."
show_history: "Chronik"
wait: "Verarbeiten..."
- history_for: "Chronik für"
+ history_for_feature: "Chronik für {{feature}}"
details: "Details"
private_user: "Anonymer Benutzer"
- edited_by: "Bearbeitet von"
- at_timestamp: "am"
+ edited_by_user_at_timestamp: "Bearbeitet von {{user}} am {{timestamp}}"
tag_details:
tags: "Tags:"
way_details:
loading: "Loading..."
show_history: "Show History"
wait: "Wait..."
- history_for: "History for"
+ history_for_feature: "History for {{feature}}"
details: "Details"
private_user: "private user"
- edited_by: "Edited by"
- at_timestamp: "at"
+ edited_by_user_at_timestamp: "Edited by {{user}} at {{timestamp}}"
object_list:
heading: "Object list"
back: "Display object list"
details: "Details"
selected:
type:
- node: "Node"
- way: "Way"
+ node: "Node {{id}}"
+ way: "Way {{id}}"
# There's no 'relation' type because it isn't represented in OpenLayers
history:
type:
- node: "Node"
- way: "Way"
+ node: "Node {{id}}"
+ way: "Way {{id}}"
# There's no 'relation' type because it isn't represented in OpenLayers
tag_details:
tags: "Tags:"
loading: "Chargement..."
show_history: "Montrer l'historique"
wait: "Patienter..."
- history_for: "Historique pour"
+ history_for_feature: "Historique pour {{feature}}"
details: "Détails"
private_user: "utilisateur privé"
- edited_by: "Édité par"
- at_timestamp: "le"
+ edited_by_user_at_timestamp: "Édité par {{user}} le {{timestamp}}"
diary_entry:
new:
title: "Nouvelle entrée du journal"
loading: "Loading..."
show_history: "Show History"
wait: "Wait..."
- history_for: "History for"
+ history_for_feature: "History for {{feature}}"
details: "Details"
private_user: "private user"
- edited_by: "Edited by"
- at_timestamp: "at"
+ edited_by_user_at_timestamp: "Edited by {{user}} at {{timestamp}}"
tag_details:
tags: "Tags:"
way_details:
loading: "Hleð inn gögnum..."
show_history: "Sýna breytingarsögu"
wait: "Augnablik..."
- history_for: "Breytingarskrá fyrir"
+ history_for_feature: "Breytingarskrá fyrir {{feature}}"
details: "Nánar"
- private_user: "private user"
- edited_by: "Breytt af"
- at_timestamp: "klukkan"
+ private_user: "ónafngreindum"
+ edited_by_user_at_timestamp: "Breytt af {{user}} klukkan {{timestamp}}"
object_list:
heading: "Hlutir"
back: "Aftur á listann yfir hluti á þessu svæði"
details: "Nánar"
selected:
type:
- node: "Hnútur"
- way: "Vegur"
+ node: "Hnútur {{id}}"
+ way: "Vegur {{id}}"
# There's no 'relation' type because it isn't represented in OpenLayers
history:
type:
- node: "hnút"
- way: "veg"
+ node: "hnút {{id}}"
+ way: "veg {{id}}"
# There's no 'relation' type because it isn't represented in OpenLayers
tag_details:
tags: "Eigindi:"
loading: "Caricamento in corso..."
show_history: "Visualizza storico"
wait: "Attendere..."
- history_for: "Storico per"
+ history_for_feature: "Storico per {{feature}}"
details: "Dettagli"
private_user: "utente privato"
- edited_by: "Modificato da"
- at_timestamp: "il"
+ edited_by_user_at_timestamp: "Modificato da {{user}} il {{timestamp}}"
tag_details:
tags: "Etichette:"
way_details:
loading: "Laden..."
show_history: "Geschiedenis weergeven"
wait: "Een ogenblik geduld a.u.b..."
- history_for: "Geschiedenis voor"
+ history_for_feature: "Geschiedenis voor {{feature}}"
details: "Details"
private_user: "private user" #to be translated
- edited_by: "Bewerkt door"
- at_timestamp: "op"
+ edited_by_user_at_timestamp: "Bewerkt door {{user}} op {{timestamp}}"
tag_details:
tags: "Tags:"
way_details:
loading: "Wczytywanie..."
show_history: "Pokaż zmiany"
wait: "Moment..."
- history_for: "Historia zmian dla"
+ history_for_feature: "Historia zmian dla {{feature}}"
details: "Szczegóły"
private_user: "prywatny użytkownika"
- edited_by: "Edytowany przez"
- at_timestamp: "ostatni raz"
+ edited_by_user_at_timestamp: "Edytowany przez {{user}} ostatni raz {{timestamp}}"
tag_details:
tags: "Tagi:"
way_details:
loading: "Загрузка..."
show_history: "Показать историю"
wait: "Подождите..."
- history_for: "История"
+ history_for_feature: "История {{feature}}"
details: "Детали"
private_user: "частный пользователь"
- edited_by: "Изменен"
- at_timestamp: "в"
+ edited_by_user_at_timestamp: "Изменен {{user}} в {{timestamp}}"
tag_details:
tags: "Теги:"
way_details:
loading: "Nalaganje..."
show_history: "Prikaži zgodovino"
wait: "Počakajte..."
- history_for: "Zgodovina"
+ history_for_feature: "Zgodovina {{feature}}"
details: "Podrobnosti"
private_user: "anonimni uporabnik"
- edited_by: "Uredil"
- at_timestamp: "ob"
+ edited_by_user_at_timestamp: "Uredil {{user}} ob {{timestamp}}"
tag_details:
tags: "Oznake:"
way_details:
loading: "读取中"
show_history: "显示历史"
wait: "等待中..."
- history_for: "历史"
+ history_for_feature: "历史 {{feature}}"
details: "细节"
private_user: "个人用户"
- edited_by: "Edited by"
- at_timestamp: "at"
+ edited_by_user_at_timestamp: "Edited by {{user}} at {{timestamp}}"
tag_details:
tags: "标签:"
way_details: