Sha256: 6766653d721a49eaacdb321442725a20469b38884fe93cf2a9f19b77252b1a97

Contents?: true

Size: 953 Bytes

Versions: 5

Compression:

Stored size: 953 Bytes

Contents

module WorldFlags
	class Languages < Hashie::Mash
		def en
			{
				:ar => 'Spanish',
				:br => 'Portuguese',
				:po => 'Portuguese',
				:gr => 'Greek',
				:gb => 'British English',
				:us => 'US English',				
				:es => 'Spanish',
				:it => 'Italian',
				:nl => 'Dutch',
				:de => 'German',
				:dk => 'Danish',
				:se => 'Swedish',
				:no => 'Norwegian',
				:fi => 'Finnish'
			}
		end

		def da
			{
				:gb => 'Engelsk',
				:us => 'Engelsk',				
				:es => 'Spansk',
				:de => 'Tysk',
				:dk => 'Dansk',
				:se => 'Svensk',
				:no => 'Norsk'
			}
		end

		def sv
			{
				:gb => 'Engelska',
				:us => 'Engelska',				
				:es => 'Spansk',
				:de => 'Tysk',
				:dk => 'Dansk',
				:se => 'Svenska',
				:no => 'Norsk'
			}
		end

		def nb
			{
				:gb => 'Engelsk',
				:us => 'Engelsk',				
				:es => 'Spansk',
				:de => 'Tysk',
				:dk => 'Dansk',
				:se => 'Svensk',
				:sb => 'Svensk',
				:no => 'Norsk'
			}
		end
	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
world-flags-0.4.2 lib/world_flags/languages.rb
world-flags-0.4.1 lib/world_flags/languages.rb
world-flags-0.4.0 lib/world_flags/languages.rb
world-flags-0.3.6 lib/world_flags/languages.rb
world-flags-0.3.5 lib/world_flags/languages.rb