From 1cf927ec1be9501bb9d2c53ff4c67452a90a4ebd Mon Sep 17 00:00:00 2001 From: echarp Date: Thu, 25 Apr 2019 16:04:30 +0200 Subject: [PATCH] Proper region translation for organisations too --- app/views/orgas/show.text.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/orgas/show.text.haml b/app/views/orgas/show.text.haml index 4d89d864..2091f8c4 100644 --- a/app/views/orgas/show.text.haml +++ b/app/views/orgas/show.text.haml @@ -5,7 +5,7 @@ != display_attr @orga, :address != display_attr @orga, :city != display_attr @orga, :department -!= display_attr @orga, :region, @orga.region +!= display_attr @orga, :region, t(@orga.region.code, scope: :countries, default: @orga.region.name) != display_attr @orga, :url != display_attr @orga, :diaspora != display_attr @orga, :feed