aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/eab-gui-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/widgets/eab-gui-util.c')
-rw-r--r--addressbook/gui/widgets/eab-gui-util.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c
index b6b092c5b1..24bbe248d4 100644
--- a/addressbook/gui/widgets/eab-gui-util.c
+++ b/addressbook/gui/widgets/eab-gui-util.c
@@ -86,7 +86,14 @@ eab_load_error_dialog (GtkWidget *parent, ESource *source, EBookStatus status)
uri = e_source_get_uri (source);
- if (!strncmp (uri, "file:", 5)) {
+ if (status == E_BOOK_ERROR_OFFLINE_UNAVAILABLE) {
+ label_string = _("We were unable to open this addressbook. This either means "
+ "this book is not marked for offline usage or not yet downloaded "
+ "for offline usage. Please load the addressbook once in online mode "
+ "to download its contents");
+ }
+
+ else if (!strncmp (uri, "file:", 5)) {
label_string =
_("We were unable to open this addressbook. Please check that the "
"path exists and that you have permission to access it.");