Skip to content

Commit 4d94b4f

Browse files
authored
Merge pull request #489 from lbraun/fix-typos
Fix typos
2 parents ef6bbb3 + 8e79f99 commit 4d94b4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/i18n.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def eager_load!
115115
# *PLURALIZATION*
116116
#
117117
# Translation data can contain pluralized translations. Pluralized translations
118-
# are arrays of singluar/plural versions of translations like <tt>['Foo', 'Foos']</tt>.
118+
# are arrays of singular/plural versions of translations like <tt>['Foo', 'Foos']</tt>.
119119
#
120120
# Note that <tt>I18n::Backend::Simple</tt> only supports an algorithm for English
121121
# pluralization rules. Other algorithms can be supported by custom backends.
@@ -173,7 +173,7 @@ def eager_load!
173173
#
174174
# It is recommended to use/implement lambdas in an "idempotent" way. E.g. when
175175
# a cache layer is put in front of I18n.translate it will generate a cache key
176-
# from the argument values passed to #translate. Therefor your lambdas should
176+
# from the argument values passed to #translate. Therefore your lambdas should
177177
# always return the same translations/values per unique combination of argument
178178
# values.
179179
def translate(key = nil, *, throw: false, raise: false, locale: nil, **options) # TODO deprecate :raise

0 commit comments

Comments
 (0)