From 908deed8989ec55502e70e8a75823511fa9728e7 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Wed, 18 Nov 2009 10:48:17 +0000 Subject: [PATCH 1/2] Added documentation in the README for what the 'language' setting actually does. i.e. in practice, nothing. --- README | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README b/README index fb78ab01d2..eb1fb8cd70 100644 --- a/README +++ b/README @@ -852,6 +852,12 @@ locale_path: full path to the directory for locale data. Unless you store all your locale data in one place, you probably don't need to use this. language: default language for your site. Defaults to US English. + Note that this is overridden if a user is logged in and has + selected a different language. It is also overridden if the + user is NOT logged in, but their browser requests a different + langauge. Since pretty much everybody's browser requests a + language, that means that changing this setting has little or + no effect in practice. languages: A list of languages supported on your site. Typically you'd only change this if you wanted to disable support for one or another language: From d1d104bde2779a9373a07d3046bda0e129c6b309 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Wed, 18 Nov 2009 11:15:05 +0000 Subject: [PATCH 2/2] Another syntax error in the postgres db create script --- db/statusnet_pg.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/statusnet_pg.sql b/db/statusnet_pg.sql index d4b7b66144..8dbaf85981 100644 --- a/db/statusnet_pg.sql +++ b/db/statusnet_pg.sql @@ -576,6 +576,6 @@ create table login_token ( created timestamp not null DEFAULT CURRENT_TIMESTAMP /* comment 'date this record was created'*/, modified timestamp /* comment 'date this record was modified'*/, - constraint primary key (user_id) + primary key (user_id) );