Permalink
Browse files

remove unnecessary encoding lines

  • Loading branch information...
1 parent 2d43846 commit 268690ffccdb08391cab8999fe1814291ade5107 Sven Fuchs committed Nov 6, 2010
View
@@ -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/),
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
require 'yaml'
require 'i18n/core_ext/hash'
@@ -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.
#
@@ -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.
#
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
module I18n
module Backend
# Backend that chains multiple other backends and checks each of them when
@@ -1,4 +1,3 @@
-# encoding: utf-8
require 'cldr'
module I18n
@@ -97,4 +96,4 @@ def raise_unspecified_currency!
end
end
end
-end
+end
@@ -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
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
require 'i18n/gettext'
require 'i18n/gettext/po_parser'
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
module I18n
module Backend
# A simple backend that reads translations from YAML files and stores them in
@@ -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
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
module I18n
module Gettext
PLURAL_SEPARATOR = "\001"
@@ -1,4 +1,3 @@
-# encoding: utf-8
require 'i18n/gettext'
module I18n
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
# Locale Fallbacks
#
# Extends the I18n module to hold a fallbacks instance which is set to an
@@ -1,5 +1,3 @@
-# encoding: utf-8
-
module I18n
module Locale
module Tag
@@ -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.
#
@@ -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.