Skip to content

Commit

Permalink
rake gettext:find
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Feb 13, 2025
1 parent 37259d5 commit e21cd6f
Show file tree
Hide file tree
Showing 75 changed files with 11,181 additions and 2,822 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ gem "devise-i18n-views" # internationalized views for Devise
gem "faraday" # http client
gem "faraday_middleware" # response parsing, etc.
gem "friendly_id", "~> 5.5.0" # alphanumeric slugs
gem "gettext_i18n_rails" # gettext-style i18n
gem "gettext_i18n_rails", "~> 1.13.0" # gettext-style i18n
gem "has_scope" # automatic filter generation
gem "http_accept_language"
gem "kaminari" # pagination
Expand Down
7 changes: 4 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ GEM
faraday-retry (1.0.3)
faraday_middleware (1.2.0)
faraday (~> 1.0)
fast_gettext (2.3.0)
fast_gettext (4.0.0)
prime
ffi (1.15.5)
font-awesome-sass (6.4.0)
sassc (~> 2.0)
Expand All @@ -218,7 +219,7 @@ GEM
locale (>= 2.0.5)
prime
text (>= 1.3.0)
gettext_i18n_rails (1.10.0)
gettext_i18n_rails (1.13.0)
fast_gettext (>= 0.9.0)
globalid (1.1.0)
activesupport (>= 5.0)
Expand Down Expand Up @@ -484,7 +485,7 @@ DEPENDENCIES
friendly_id (~> 5.5.0)
geo!
gettext (>= 3.4.3)
gettext_i18n_rails
gettext_i18n_rails (~> 1.13.0)
guard
guard-bundler
guard-livereload (~> 2.5.2)
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/fast_gettext.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'gettext_i18n_rails/string_interpolate_fix'

FastGettext.add_text_domain 'app', :path => 'locale', :type => :po
FastGettext.add_text_domain('app', path: 'locale', type: :po, ignore_fuzzy: true)
FastGettext.default_available_locales = %w(da de en es es_MX fr id it ja ku nl pl pt ru sw tl uk vi zh_CN zh_TW)
FastGettext.default_text_domain = 'app'
FastGettext.default_locale = 'en'
Loading

0 comments on commit e21cd6f

Please sign in to comment.