From c67201f5c8704132cda1cf5bf896d17037bf33e7 Mon Sep 17 00:00:00 2001 From: Jocelyn Jaubert Date: Sat, 22 Oct 2011 21:51:52 +0200 Subject: Add translations to view keys, and the corresponding french translation --- web/i18n/en.yml | 21 ++++++++++++++++++++- web/i18n/fr.yml | 21 +++++++++++++++++++++ web/views/key.erb | 26 +++++++++++++------------- 3 files changed, 54 insertions(+), 14 deletions(-) (limited to 'web') diff --git a/web/i18n/en.yml b/web/i18n/en.yml index f56b3ed..e53b31b 100644 --- a/web/i18n/en.yml +++ b/web/i18n/en.yml @@ -59,7 +59,7 @@ pages: href="http://www.sqlite.org/">Sqlite databases. The database files are then packed with bzip2.

-

If you don't want to download these databases, but need automated access to +

If you don t want to download these databases, but need automated access to the data, you can also use the API.

file: File packed: Packed @@ -80,6 +80,25 @@ pages: you_were_searching_for: You were searching for key: no_description_in_wiki: No description in wiki + filter: + label: | + Filter: + none: No filter + nodes: Nodes only + ways: Ways only + relations: Relations only + values_used: Values used with this key + other_keys_used: Other keys used together with this key + geographic_distribution: + title: Geographical distribution of this key + relations: Relations do not have a geographical location, so no map can be shown. + wiki_pages: + title: Wiki pages about this key + none_found: No wiki page available for this key. + josm_rules: + title: JOSM style rules with this key + choice: | + Choose style: tag: no_description_in_wiki: No description in wiki diff --git a/web/i18n/fr.yml b/web/i18n/fr.yml index 6bd2e0f..3b08099 100644 --- a/web/i18n/fr.yml +++ b/web/i18n/fr.yml @@ -76,6 +76,27 @@ pages: you_were_searching_for: Vous recherchez key: no_description_in_wiki: Aucune description dans le wiki + filter: + label: | + Filtre : + none: Désactivé + nodes: Seulement les nodes + ways: Seulement les ways + relations: Seulement les relations + values_used: Valeurs utilisés par cette clé + other_keys_used: Autres clés utilisées avec cette clé + geographic_distribution: + title: Distribution géographique de cette clé + relations: | + Les relations n'ont pas de position géographique: elles ne peuvent donc + pas être affichées sur une carte. + wiki_pages: + title: Pages du wiki sur cette clé + none_found: Aucune page du wiki trouvée. + josm_rules: + title: Régles de style JOSM sur cette clé + choice: | + Choix du style : tag: no_description_in_wiki: Aucune description dans le wiki diff --git a/web/views/key.erb b/web/views/key.erb index 9052449..90c06da 100644 --- a/web/views/key.erb +++ b/web/views/key.erb @@ -17,12 +17,12 @@
- +
@@ -35,7 +35,7 @@
  • <%= t.sources.josm.name %>
  • -

    Values used with this key

    +

    <%= t.pages.key.values_used %>

    @@ -43,12 +43,12 @@
    -

    Other keys used together with this key

    +

    <%= t.pages.key.other_keys_used %>

    -

    Geographical distribution of this key

    +

    <%= t.pages.key.geographic_distribution.title %>

    <% if @filter_type == 'all' %>
    @@ -63,23 +63,23 @@
    <% elsif @filter_type == 'relations' %> -

    Relations do not have a geographical location, so no map can be shown.

    +

    <%= t.pages.key.geographic_distribution.relations %>

    <% end %>
    -

    Wiki pages about this key

    +

    <%= t.pages.key.wiki_pages.title %>

    <% if @wiki_count > 0 %>
    <% else %> -

    No wiki page available for this key.

    +

    <%= t.pages.key.wiki_pages.none_found %>.

    [Create wiki page]

    <% end %>
    -

    JOSM style rules with this key

    +

    <%= t.pages.key.josm_rules.title %>

    - + -- cgit v1.2.3