aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorlizconlan <liz@mysociety.org>2014-07-15 09:56:04 +0100
committerLouise Crow <louise.crow@gmail.com>2014-09-22 12:39:02 +0100
commit974f8eb302fe327f499c9e806b89fdefd59bb477 (patch)
tree5b8a6c6e7ae5acd932195772e9e57491dd33cb25 /lib
parenta5e28532e61c59bb80f431c871786c82e6132f1b (diff)
Basic category admin screen
Diffstat (limited to 'lib')
-rw-r--r--lib/public_body_categories_es.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/public_body_categories_es.rb b/lib/public_body_categories_es.rb
new file mode 100644
index 000000000..4559a5708
--- /dev/null
+++ b/lib/public_body_categories_es.rb
@@ -0,0 +1,20 @@
+# The PublicBodyCategories structure works like this:
+# [
+# "Main category name",
+# [ "tag_to_use_as_category", "Sub category title", "sentence that can describes things in this subcategory" ],
+# [ "another_tag", "Second sub category title", "another descriptive sentence for things in this subcategory"],
+# "Another main category name",
+# [ "another_tag_2", "Another sub category title", "another descriptive sentence"]
+# ])
+#
+# DO NOT EDIT THIS FILE! It should be overridden in a custom theme.
+# See doc/THEMES.md for more info
+
+PublicBodyCategories.add(:es, [
+ "Silly ministries",
+ [ "useless_agency", "Los useless ministries", "el useless ministry" ],
+ [ "lonely_agency", "Los lonely agencies", "el lonely agency"],
+ "Popular agencies",
+ [ "popular_agency", "Los popular agencies", "el lonely agency"],
+ [ "spanish_agency", "Los random example", "el random example"]
+])