about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
authorKoala Yeung <koalay@gmail.com>2017-04-13 22:02:23 +0800
committerEugen <eugen@zeonfederated.com>2017-04-13 16:02:23 +0200
commit1206627c5957c9c2afea7126dbe6d44e2b00a849 (patch)
tree299e89f9cddbe193a71315e27299fac2d89b4bbd /app/helpers
parentedefcfcf4239675afd99539810d18f128266007a (diff)
Add Dutch translation (nl) (#1682)
* Dutch language files for Ruby code

 * Created RoR translation ymls:
   * config/locales/devise.nl.yml
   * config/locales/doorkeeper.nl.yml
   * config/locales/nl.yml
   * config/locales/simple_form.nl.yml

 * Modified RoR config and helper
   * app/helpers/settings_helper.rb
   * config/application.rb

* Dutch language javascript locale

 * Created javascript locale files:
   * app/assets/javascripts/components/locales/index.jsx
   * app/assets/javascripts/components/locales/nl.jsx

 * Reference the newly created locale files:
   * app/assets/javascripts/components/containers/mastodon.jsx

* Fix syntax error in locale file (nl)

* Fix missing translate in js locale (nl)

* Convert all ruby Dutch locale (nl) file to utf8

Fix yml conversion issues.

* Fix duplicated key in devise.nl.yml

* Fix indentation error in doorkeeper.nl.yml
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/settings_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb
index 212f88c39..c6ffe184e 100644
--- a/app/helpers/settings_helper.rb
+++ b/app/helpers/settings_helper.rb
@@ -8,6 +8,7 @@ module SettingsHelper
     eo: 'Esperanto',
     fr: 'Français',
     hu: 'Magyar',
+    nl: 'Nederlands',
     no: 'Norsk',
     pt: 'Português',
     fi: 'Suomi',