bug 353437 - Localize file filter label for Alarm dialog. r=ctalbert/dmose

This commit is contained in:
mattwillis%gmail.com 2006-10-14 00:11:07 +00:00
parent 972cbbeca2
commit 4f974399c6
2 changed files with 4 additions and 1 deletions

View File

@ -122,8 +122,10 @@ var gAlarmsPane = {
var bundlePreferences = document.getElementById("bundlePreferences");
var title = bundlePreferences.getString("Open");
var filterLabel = bundlePreferences.getString("filterWav");
fp.init(window, title, nsIFilePicker.modeOpen);
fp.appendFilter("*.wav", "*.wav");
fp.appendFilter(filterLabel, "*.wav");
fp.appendFilters(nsIFilePicker.filterAll);
var ret = fp.show();

View File

@ -173,6 +173,7 @@ filterHtml=HTML Files
filterCsv=Comma Separated
filterOutlookCsv=Outlook Comma Separated
filterRdf=iCalendar RDF
filterWav=WAV Files (*.wav)
# Literal Outlook CSV headers. Take from a .csv file exported by Outlook.
# For matching first line of .csv file to import Outlook Comma Separated events.