aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/initializers/alaveteli.rb2
-rw-r--r--doc/CHANGES.md18
-rw-r--r--locale/cy/app.po6
3 files changed, 20 insertions, 6 deletions
diff --git a/config/initializers/alaveteli.rb b/config/initializers/alaveteli.rb
index d9879b5d1..9ea6428ba 100644
--- a/config/initializers/alaveteli.rb
+++ b/config/initializers/alaveteli.rb
@@ -10,7 +10,7 @@ load "debug_helpers.rb"
load "util.rb"
# Application version
-ALAVETELI_VERSION = '0.18'
+ALAVETELI_VERSION = '0.19'
# Add new inflection rules using the following format
# (all these examples are active by default):
diff --git a/doc/CHANGES.md b/doc/CHANGES.md
index b73694669..237355c1d 100644
--- a/doc/CHANGES.md
+++ b/doc/CHANGES.md
@@ -1,4 +1,4 @@
-## rails-3-develop
+# Version 0.19
## Highlighted Features
@@ -33,6 +33,16 @@
## Upgrade Notes
+* `HighlightHelper#excerpt` backports the Rails 4 `excerpt` which requires a
+ Hash for the options parameter rather than globbing the remaining arguments.
+
+For example:
+
+ - <%=h excerpt(info_request.initial_request_text, "", 100) %>
+ + <%=h excerpt(info_request.initial_request_text, "", :radius => 100) %>
+
+You will need to update any use of `excerpt` in your theme to use the Hash args.
+
* Ubuntu Precise users can get an updated version of pdftk from mySociety's PPA
Install the repo and update the sources:
@@ -49,7 +59,9 @@ candidate:
* Install `lockfile-progs` so that the `run-with-lockfile` shell script can be
used instead of the C program
* Use responsive stylesheets in `config/general.yml`:
- `RESPONSIVE_STYLING: true`
+ `RESPONSIVE_STYLING: true`. If you don't currently use responsive styling,
+ and you don't want to get switched over just set `RESPONSIVE_STYLING: false`
+ and the fixed-width stylesheets will be used as before.
* Allow access to public body stats page if desired in `config/general/yml`:
`PUBLIC_BODY_STATISTICS_PAGE: true`
* Run migrations to define track_things constraint correctly (Robin Houston) and
@@ -85,6 +97,8 @@ candidate:
and is current, and executable by the cap user. You can create it using the template
`config/sysvinit-thin.ugly` or `config/sysvinit-passenger.ugly` as
described in http://alaveteli.org/docs/installing/manual_install/#generate-alaveteli-service
+* This release includes an update to the commonlib submodule - you
+ should be warned about this when running rails-post-deploy.
# Version 0.18
diff --git a/locale/cy/app.po b/locale/cy/app.po
index 794637e89..d52f342fb 100644
--- a/locale/cy/app.po
+++ b/locale/cy/app.po
@@ -22,8 +22,8 @@ msgstr ""
"Project-Id-Version: alaveteli\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-08-26 14:45+0000\n"
-"PO-Revision-Date: 2014-08-26 14:48+0000\n"
-"Last-Translator: Gareth Rees <gareth@mysociety.org>\n"
+"PO-Revision-Date: 2014-08-28 14:21+0000\n"
+"Last-Translator: louisecrow <louise@mysociety.org>\n"
"Language-Team: Welsh (http://www.transifex.com/projects/p/alaveteli/language/cy/)\n"
"Language: cy\n"
"MIME-Version: 1.0\n"
@@ -3806,7 +3806,7 @@ msgid "{{existing_request_user}} already\\n created the same request on {{d
msgstr "Creodd {{existing_request_user}} yr un cais eisoes ar {{date}}. Gallwch naill ai weld y <a href=\"{{existing_request}}\">cais presennol</a>, neu newid y manylion isod i wneud cais newydd ond tebyg."
msgid "{{foi_law}} requests to '{{public_body_name}}'"
-msgstr "{{Foi_law}} yn gofyn i '{{public_body_name}}'"
+msgstr "{{foi_law}} yn gofyn i '{{public_body_name}}'"
msgid "{{info_request_user_name}} only:"
msgstr "{{info_request_user_name}} yn unig:"