about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAditoo17 <42938951+Aditoo17@users.noreply.github.com>2018-09-05 01:50:06 +0200
committerYamagishi Kazutoshi <ykzts@desire.sh>2018-09-05 08:50:06 +0900
commit8c96fd4967348449d93904fc59326447aeb1cd02 (patch)
tree34069939f5bb78cfdf9f30a1a19f00c9e30560af
parentccc2f608c5c1caac2ea4796f4490f29d59d67068 (diff)
Add Czech language option and locale data (#8594)
* Added Czech language option

* Added Czech language option

* Add Czech locale data

* Delete duplicate locale-data/cs.js

Duplicate locale-data is ignored in Mastodon.

see https://github.com/tootsuite/mastodon/blob/v2.5.0/config/webpack/generateLocalePacks.js#L25-L35
-rw-r--r--app/helpers/settings_helper.rb1
-rw-r--r--config/application.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb
index fc03fcf82..ed873ceed 100644
--- a/app/helpers/settings_helper.rb
+++ b/app/helpers/settings_helper.rb
@@ -8,6 +8,7 @@ module SettingsHelper
     bg: 'Български',
     ca: 'Català',
     co: 'Corsu',
+    cs: 'Čeština',
     cy: 'Cymraeg',
     da: 'Dansk',
     de: 'Deutsch',
diff --git a/config/application.rb b/config/application.rb
index 24f75d3a2..b4a39b5c8 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -42,6 +42,7 @@ module Mastodon
       :bg,
       :ca,
       :co,
+      :cs,
       :cy,
       :da,
       :de,