gem_i18n 0.6 → 0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/main/_about.html.erb +1 -1
- data/lib/gem_i18n.rb +0 -22
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fdaef48b4586a5e92a169382e6003dbeff57cf43fb71103dadc127ba15b7da8
|
4
|
+
data.tar.gz: 988be119cc030037c6d3abb35b0579a0820a55fc87cf7ca699ccedf1a1903a32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ba8d38120ee10160d5240bb7d84e896a5ce486d6fa2f38fb4fde0fc848001dc30aca2112823f8090bfdc2eca0f7a20ad6fa37977661538e3fc71a61c52e6340
|
7
|
+
data.tar.gz: 11b886a3cf09d7f14b6453c22d104b1cbdfb66709dc09e359eca9bd4633df30ae961da8e8332df1388486785ed48bc4944183465f7b5a70f01ff1598659c8842
|
@@ -1 +1 @@
|
|
1
|
-
<%=t('
|
1
|
+
<%=t('LABEL_ABOUT_1')%>
|
data/lib/gem_i18n.rb
CHANGED
@@ -1,27 +1,5 @@
|
|
1
1
|
require "gem_i18n/engine"
|
2
|
-
require "i18n"
|
3
2
|
|
4
3
|
module GemI18n
|
5
|
-
class Application < Rails::Application
|
6
|
-
# Settings in config/environments/* take precedence over those specified here.
|
7
|
-
# Application configuration should go into files in config/initializers
|
8
|
-
# -- all .rb files in that directory are automatically loaded.
|
9
|
-
|
10
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
11
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
12
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
13
|
-
|
14
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
15
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
16
|
-
# config.i18n.default_locale = :de
|
17
|
-
|
18
|
-
# Do not swallow errors in after_commit/after_rollback callbacks.
|
19
|
-
config.active_record.raise_in_transactional_callbacks = true
|
20
|
-
|
21
|
-
config.i18n.default_locale = :de
|
22
|
-
config.i18n.available_locales = [:en, :fr, :de, :zh, :es, 'fr-ca']
|
23
|
-
|
24
|
-
# ActiveSupport::JSON::Encoding.encode_big_decimal_as_string = false
|
25
|
-
end
|
26
4
|
end
|
27
5
|
|