diff --git a/mailnews/base/prefs/resources/content/am-copies.js b/mailnews/base/prefs/resources/content/am-copies.js index 501e7d94185d..da55f171c63a 100644 --- a/mailnews/base/prefs/resources/content/am-copies.js +++ b/mailnews/base/prefs/resources/content/am-copies.js @@ -22,7 +22,6 @@ var RDF = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService(Compon var gFccRadioElemChoice, gDraftsRadioElemChoice, gTmplRadioElemChoice; var gFccRadioElemChoiceLocked, gDraftsRadioElemChoiceLocked, gTmplRadioElemChoiceLocked; var gDefaultPickerMode = "1"; -var gMessengerBundle; var gFccFolderWithDelim, gDraftsFolderWithDelim, gTemplatesFolderWithDelim; @@ -61,7 +60,6 @@ function onInit() { tmplFolderPickerId); initBccSelf(); setupFccItems(); - gMessengerBundle = document.getElementById("bundle_messenger"); SetSpecialFolderNamesWithDelims(); } @@ -216,13 +214,11 @@ function noteSelectionChange(radioItemId) function SetSpecialFolderNamesWithDelims() { var folderDelim = "/"; - var sentFolderName = gMessengerBundle.getString('sentFolderName'); - var draftsFolderName = gMessengerBundle.getString('draftsFolderName'); - var templatesFolderName = gMessengerBundle.getString('templatesFolderName'); - - gFccFolderWithDelim = folderDelim + sentFolderName; - gDraftsFolderWithDelim = folderDelim + draftsFolderName; - gTemplatesFolderWithDelim = folderDelim + templatesFolderName; + /* we use internal names known to everyone like "Sent", "Templates" and "Drafts" */ + + gFccFolderWithDelim = folderDelim + "Sent"; + gDraftsFolderWithDelim = folderDelim + "Drafts"; + gTemplatesFolderWithDelim = folderDelim + "Templates"; } // Save all changes on this page diff --git a/mailnews/base/prefs/resources/content/am-copies.xul b/mailnews/base/prefs/resources/content/am-copies.xul index 2a3b1ef33a0b..f58f8d46b284 100644 --- a/mailnews/base/prefs/resources/content/am-copies.xul +++ b/mailnews/base/prefs/resources/content/am-copies.xul @@ -8,9 +8,6 @@ - - -