From: Tom Hughes Date: Sun, 26 Feb 2012 16:22:50 +0000 (+0000) Subject: Simplify Potlatch 2 locale lookup table X-Git-Tag: live~5767 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/7d4880ddd1fd76738a4c759369ca0ad7c041a573?ds=sidebyside Simplify Potlatch 2 locale lookup table --- diff --git a/lib/potlatch2.rb b/lib/potlatch2.rb index f967c032c..1618b0cec 100644 --- a/lib/potlatch2.rb +++ b/lib/potlatch2.rb @@ -1,17 +1,11 @@ module Potlatch2 LOCALES = { "de" => "de_DE", - "de-DE" => "de_DE", "en" => "en_US", "en-GB" => "en_GB", - "en-US" => "en_US", "fr" => "fr_FR", - "fr-FR" => "fr_FR", "ja" => "ja_JP", - "ja-JP" => "ja_JP", "pl" => "pl_PL", - "pl-PL" => "pl_PL", - "vi" => "vi_VN", - "vi-VN" => "vi_VN" + "vi" => "vi_VN" } end