]> git.openstreetmap.org Git - rails.git/commitdiff
Simplify Potlatch 2 locale lookup table
authorTom Hughes <tom@compton.nu>
Sun, 26 Feb 2012 16:22:50 +0000 (16:22 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 26 Feb 2012 16:22:50 +0000 (16:22 +0000)
lib/potlatch2.rb

index f967c032cd2e7d4667652299fa13b28cff34dbf7..1618b0cecdd5a0874808b10376abd58c5d391cc5 100644 (file)
@@ -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