From b108a7c8de2f35546a1e7df2e3e45b77a39db481 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 28 Dec 2011 19:56:24 +0000 Subject: [PATCH] =?utf8?q?aggregator:=20Expand=20the=20=E2=80=98no=20prima?= =?utf8?q?ry=20persona=20store=E2=80=99=20error=20messages?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Try and be a little more helpful. --- folks/individual-aggregator.vala | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/folks/individual-aggregator.vala b/folks/individual-aggregator.vala index 2956174..0d71384 100644 --- a/folks/individual-aggregator.vala +++ b/folks/individual-aggregator.vala @@ -1594,7 +1594,11 @@ public class Folks.IndividualAggregator : Object if (this._primary_store == null) { throw new IndividualAggregatorError.NO_PRIMARY_STORE ( - _("Can't link personas with no primary store.")); + _("Can’t link personas with no primary store.") + "\n" + + _("Persona store ‘%s:%s’ is configured as primary, but could not be found or failed to load.") + "\n" + + _("Check the service providing the persona store is running, or change the default store in that service or using the “%s” GConf key."), + this._configured_primary_store_type_id, + this._configured_primary_store_id, this._FOLKS_CONFIG_KEY); } /* Don't bother linking if it's just one Persona */ @@ -1851,7 +1855,11 @@ public class Folks.IndividualAggregator : Object if (new_persona == null && this._primary_store == null) { throw new IndividualAggregatorError.NO_PRIMARY_STORE ( - _("Can't add personas with no primary store.")); + _("Can’t add personas with no primary store.") + "\n" + + _("Persona store ‘%s:%s’ is configured as primary, but could not be found or failed to load.") + "\n" + + _("Check the service providing the persona store is running, or change the default store in that service or using the “%s” GConf key."), + this._configured_primary_store_type_id, + this._configured_primary_store_id, this._FOLKS_CONFIG_KEY); } else if (new_persona == null) { -- 2.7.4