]> git.openstreetmap.org Git - rails.git/blob - config/i18n-js.yml
Use Hash#dig to simplify code
[rails.git] / config / i18n-js.yml
1 # Split context in several files.
2 # By default only one file with all translations is exported and
3 # no configuration is required. Your settings for asset pipeline
4 # are automatically recognized.
5 #
6 # If you want to split translations into several files or specify
7 # locale contexts that will be exported, just use this file to do
8 # so.
9 #
10 # If you're going to use the Rails 3.1 asset pipeline, change
11 # the following configuration to something like this:
12 #
13 #   translations:
14 #     - file: "app/assets/javascripts/i18n/translations.js"
15 #
16 # If you're running an old version, you can use something
17 # like this:
18 #
19 #   translations:
20 #     - file: "public/javascripts/translations.js"
21 #       only: "*"
22 #
23 translations:
24   - file: "app/assets/javascripts/i18n/translations.js"
25     only:
26     - "*.date"
27     - "*.time"
28     - "*.browse.start_rjs.*"
29     - "*.javascripts.*"
30     - "*.site.edit.*"
31     - "*.site.index.remote_failed"
32     - "*.site.sidebar.search_results"
33     - "*.diary_entry.edit.marker_text"
34     - "*.layouts.project_name.title"
35     - "*.geocoder.search_osm_nominatim.*"