From 39b0eb6262114588f365534a14a1ce7448a6dcfe Mon Sep 17 00:00:00 2001 From: "mozilla%kewis.ch" Date: Fri, 21 Dec 2007 16:35:42 +0000 Subject: [PATCH] Fix bug 390508 - Unify calendar command sets. r=mickey --- calendar/sunbird/base/content/applicationUtil.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calendar/sunbird/base/content/applicationUtil.js b/calendar/sunbird/base/content/applicationUtil.js index 3123c8d4483..efe29c95fa1 100644 --- a/calendar/sunbird/base/content/applicationUtil.js +++ b/calendar/sunbird/base/content/applicationUtil.js @@ -19,6 +19,7 @@ * the Initial Developer. All Rights Reserved. * * Contributor(s): Matthew Willis + * Philipp Kewisch * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or @@ -348,7 +349,6 @@ function sbUpdateItem() return; } - var strings = document.getElementById("bundle_calendar"); var activeUpdate = updateManager.activeUpdate; // By default, show "Check for Updates..." @@ -372,9 +372,9 @@ function sbUpdateItem() // If there's an active update, substitute its name into the label // we show for this item, otherwise display a generic label. if (activeUpdate && activeUpdate.name) { - checkForUpdates.label = strings.getFormattedString("updatesItem_" + key, [activeUpdate.name]); + checkForUpdates.label = calGetString("calendar", "updatesItem_" + key, [activeUpdate.name]); } else { - checkForUpdates.label = strings.getString("updatesItem_" + key + "Fallback"); + checkForUpdates.label = calGetString("calendar", "updatesItem_" + key + "Fallback"); } if (updateManager.activeUpdate && updateService.isDownloading) {