=?utf-8?q?=5Bfolks=5D_aggregator=3A_Expand_the_=E2=80=98no_primary_person?= =?utf-8?q?a_store=E2=80=99_error_messages?=



commit b108a7c8de2f35546a1e7df2e3e45b77a39db481
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Dec 28 19:56:24 2011 +0000

    aggregator: Expand the âno primary persona storeâ error messages
    
    Try and be a little more helpful.

 folks/individual-aggregator.vala |   12 ++++++++++--
 1 files 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)
         {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]