} else {
offlineMessageId = 'offline';
}
- return localStrings.getString(offlineMessageId);
+ return loadTimeData.getString(offlineMessageId);
},
/**
},
/**
- * @param {?boolean} Whether the user has accepted the terms-of-service of
- * the print destination or {@code null} if a terms-of-service does not
- * apply.
+ * @param {?boolean} isTosAccepted Whether the user has accepted the
+ * terms-of-service of the print destination or {@code null} if
+ * a terms-of-service does not apply.
*/
set isTosAccepted(isTosAccepted) {
this.isTosAccepted_ = isTosAccepted;