Commit 5559a134 authored by Thierry BUGEAT's avatar Thierry BUGEAT

Add message: reconnect by yourself to your online account(s)

parent c8db48eb
......@@ -56,3 +56,4 @@ aolreader-get-subscriptions-error=Aol Reader error:
no-news=No news
by=by
nb-days-ago={{n}} days ago
i-cant-reconnect-your-account=I can't reconnect your {{online-account}} account. Please reconnect.
......@@ -56,3 +56,4 @@ aolreader-get-subscriptions-error=Aol Reader error:
no-news=No noticia
by=por
nb-days-ago=Hace {{n}} días
i-cant-reconnect-your-account=I can't reconnect your {{online-account}} account. Please reconnect.
......@@ -56,3 +56,4 @@ aolreader-get-subscriptions-error=Erreur Aol Reader:
no-news=Pas d'actualité
by=par
nb-days-ago=Il y a {{n}} jours
i-cant-reconnect-your-account=I can't reconnect your {{online-account}} account. Please reconnect.
......@@ -55,3 +55,4 @@ aolreader-get-subscriptions-error=Aol Reader erro:
no-news=No notícia
by=por
nb-days-ago={{n}} dias atrás
i-cant-reconnect-your-account=I can't reconnect your {{online-account}} account. Please reconnect.
......@@ -56,3 +56,4 @@ aolreader-get-subscriptions-error = Aol Reader ошибка:
no-news = Нет новостей
by = ###by###
nb-days-ago = ###{{n}} days ago###
i-cant-reconnect-your-account=###I can't reconnect your {{online-account}} account. Please reconnect.###
......@@ -170,11 +170,12 @@
my._load('cache/theoldreader/access_token.json').then(function(_token){
theoldreader.setToken(_token);
if (navigator.onLine) {
theoldreader.updateToken();
theoldreader.getSubscriptions();
}
document.getElementById('theoldreaderForm').style.cssText = 'display: none';
}).catch(function(error) {
my.alert("Can't load and set T.O.R. token");
my.alert(document.webL10n.get("i-cant-reconnect-your-account", {"online-account": "Old Reader"}));
_disableAccount('theoldreader');
});
}
......@@ -189,7 +190,7 @@
aolreader.getSubscriptions();
}
}).catch(function(error) {
my.alert("Can't connect Aol Reader account");
my.alert(document.webL10n.get("i-cant-reconnect-your-account", {"online-account": "Aol Reader"}));
_disableAccount('aolreader');
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment