aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/admin_request_controller.rb2
-rw-r--r--lib/world_foi_websites.rb33
2 files changed, 26 insertions, 9 deletions
diff --git a/app/controllers/admin_request_controller.rb b/app/controllers/admin_request_controller.rb
index a4fb0f351..522e1cd39 100644
--- a/app/controllers/admin_request_controller.rb
+++ b/app/controllers/admin_request_controller.rb
@@ -312,7 +312,7 @@ class AdminRequestController < AdminController
# 3. Give a reason why it's in the holding pen
last_event = InfoRequestEvent.find_by_incoming_message_id(@raw_email.incoming_message.id)
- @rejected_reason = last_event.params[:rejected_reason]
+ @rejected_reason = last_event.params[:rejected_reason] || "unknown reason"
end
end
diff --git a/lib/world_foi_websites.rb b/lib/world_foi_websites.rb
index 24845437a..fec40ed64 100644
--- a/lib/world_foi_websites.rb
+++ b/lib/world_foi_websites.rb
@@ -1,32 +1,49 @@
+# -*- coding: utf-8 -*-
class WorldFOIWebsites
def self.world_foi_websites
world_foi_websites = [
- {:name => "WhatDoTheyKnow?",
- :country_name => _("United Kingdom"),
+ {:name => "WhatDoTheyKnow",
+ :country_name => "United Kingdom",
:country_iso_code => "GB",
:url => "http://www.whatdotheyknow.com"},
{:name => "Informata Zyrtare",
- :country_name => _("Kosovo"),
+ :country_name => "Kosova",
:country_iso_code => "XK",
:url => "http://informatazyrtare.org"},
{:name => "Ask The EU",
- :country_name => _("European Union"),
+ :country_name => "European Union",
:country_iso_code => "",
:url => "http://asktheu.org"},
{:name => "MuckRock.com",
- :country_name => _("United States of America"),
+ :country_name => "United States of America",
:country_iso_code => "US",
:url => "http://www.muckrock.com"},
{:name => "FYI",
- :country_name => _("New Zealand"),
+ :country_name => "New Zealand",
:country_iso_code => "NZ",
:url => "http://fyi.org.nz"},
{:name => "Frag den Staat",
- :country_name => _("Germany"),
+ :country_name => "Deutschland",
:country_iso_code => "DE",
:url => "http://fragdenstaat.de"},
+ {:name => "tu derecho a saber",
+ :country_name => "España",
+ :country_iso_code => "ES",
+ :url => "http://tuderechoasaber.es"},
+ {:name => "Queremos Saber",
+ :country_name => "Brasil",
+ :country_iso_code => "BR",
+ :url => "http://queremossaber.org.br"},
+ {:name => "Ki Mit Tud",
+ :country_name => "Magyarország",
+ :country_iso_code => "HU",
+ :url => "http://kimittud.atlatszo.hu/"},
+ {:name => "PravoDaSznam",
+ :country_name => "Bosna i Hercegovina",
+ :country_iso_code => "BA",
+ :url => "http://www.pravodaznam.ba/"},
{:name => "Acceso Intelligente",
- :country_name => _("Chile"),
+ :country_name => "Chile",
:country_iso_code => "CL",
:url => "accesointeligente.org"}]
return world_foi_websites