diff --git a/www/common/sframe-app-framework.js b/www/common/sframe-app-framework.js index d3a4bc174..8776573d7 100644 --- a/www/common/sframe-app-framework.js +++ b/www/common/sframe-app-framework.js @@ -470,8 +470,9 @@ define([ var noCache = false; // Prevent reload loops var onCorruptedCache = function () { if (noCache) { - // XXX translation key - return UI.errorLoadingScreen("Reload loop: empty chainpad for a non-empty channel"); + UI.errorLoadingScreen(Messages.unableToDisplay, false, function () { + common.gotoURL(''); + }); } noCache = true; var sframeChan = common.getSframeChannel(); diff --git a/www/common/toolbar.js b/www/common/toolbar.js index 925f6aba3..761ecce78 100644 --- a/www/common/toolbar.js +++ b/www/common/toolbar.js @@ -1395,7 +1395,8 @@ MessengerUI, Messages) { toolbar.isErrorState = bool; // Stop kickSpinner toolbar.title.toggleClass('cp-toolbar-unsync', bool); // "read only" next to the title if (bool && toolbar.spinner) { - toolbar.spinner.text("OFFLINE"); // XXX + Messages.offline = "OFFLINE"; // XXX + toolbar.spinner.text(Messages.offline); } else { kickSpinner(toolbar, config); }