From 7d4880ddd1fd76738a4c759369ca0ad7c041a573 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 26 Feb 2012 16:22:50 +0000 Subject: [PATCH] Simplify Potlatch 2 locale lookup table --- lib/potlatch2.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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 -- 2.39.5