Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove unnecessary encoding lines

  • Loading branch information...
commit 268690ffccdb08391cab8999fe1814291ade5107 1 parent 2d43846
@svenfuchs authored
View
2  lib/i18n.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
# Authors:: Sven Fuchs (http://www.artweb-design.de),
# Joshua Harvey (http://www.workingwithrails.com/person/759-joshua-harvey),
# Stephan Soller (http://www.arkanis-development.de/),
View
2  lib/i18n/backend/base.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
require 'yaml'
require 'i18n/core_ext/hash'
View
2  lib/i18n/backend/cache.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
# This module allows you to easily cache all responses from the backend - thus
# speeding up the I18n aspects of your application quite a bit.
#
View
4 lib/i18n/backend/cascade.rb
@@ -1,7 +1,3 @@
-# encoding: utf-8
-
-# EXPERIMENTAL
-#
# The Cascade module adds the ability to do cascading lookups to backends that
# are compatible to the Simple backend.
#
View
2  lib/i18n/backend/chain.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
module I18n
module Backend
# Backend that chains multiple other backends and checks each of them when
View
3  lib/i18n/backend/cldr.rb
@@ -1,4 +1,3 @@
-# encoding: utf-8
require 'cldr'
module I18n
@@ -97,4 +96,4 @@ def raise_unspecified_currency!
end
end
end
-end
+end
View
2  lib/i18n/backend/fallbacks.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
# I18n locale fallbacks are useful when you want your application to use
# translations from other locales when translations for the current locale are
# missing. E.g. you might want to use :en translations when translations in
View
2  lib/i18n/backend/gettext.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
require 'i18n/gettext'
require 'i18n/gettext/po_parser'
View
4 lib/i18n/backend/interpolation_compiler.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
# The InterpolationCompiler module contains optimizations that can tremendously
# speed up the interpolation process on the Simple backend.
#
@@ -120,4 +118,4 @@ def compile_all_strings_in(data)
end
end
end
-end
+end
View
4 lib/i18n/backend/key_value.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
require 'i18n/backend/base'
require 'active_support/json'
@@ -99,4 +97,4 @@ def lookup(locale, key, scope = [], options = {})
include Implementation
end
end
-end
+end
View
4 lib/i18n/backend/memoize.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-#
# Memoize module simply memoizes the values returned by lookup using
# a flat hash and can tremendously speed up the lookup process in a backend.
#
@@ -45,4 +43,4 @@ def reset_memoizations!(locale=nil)
end
end
end
-end
+end
View
2  lib/i18n/backend/pluralization.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
# I18n locale fallbacks are useful when you want your application to use
# translations from other locales when translations for the current locale are
# missing. E.g. you might want to use :en translations when translations in
View
2  lib/i18n/backend/simple.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
module I18n
module Backend
# A simple backend that reads translations from YAML files and stores them in
View
4 lib/i18n/core_ext/string/interpolate.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
=begin
heavily based on Masao Mutoh's gettext String interpolation extension
http://github.com/mutoh/gettext/blob/f6566738b981fe0952548c421042ad1e0cdfb31e/lib/gettext/core_ext/string.rb
@@ -95,4 +93,4 @@ def %(args)
end
end
end
-end
+end
View
2  lib/i18n/gettext.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
module I18n
module Gettext
PLURAL_SEPARATOR = "\001"
View
1  lib/i18n/gettext/helpers.rb
@@ -1,4 +1,3 @@
-# encoding: utf-8
require 'i18n/gettext'
module I18n
View
2  lib/i18n/locale/fallbacks.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
# Locale Fallbacks
#
# Extends the I18n module to hold a fallbacks instance which is set to an
View
2  lib/i18n/locale/tag/parents.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
module I18n
module Locale
module Tag
View
2  lib/i18n/locale/tag/rfc4646.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
# RFC 4646/47 compliant Locale tag implementation that parses locale tags to
# subtags such as language, script, region, variant etc.
#
View
2  lib/i18n/locale/tag/simple.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
# Simple Locale tag implementation that computes subtags by simply splitting
# the locale tag at '-' occurences.
module I18n

0 comments on commit 268690f

Please sign in to comment.
Something went wrong with that request. Please try again.