зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1164593 - change the import message to be 'Import recording...' rather than 'Save recording...'. r=vp
This commit is contained in:
Родитель
dbdca9a2e9
Коммит
1a6e9291dd
|
@ -267,7 +267,8 @@ let PerformanceView = {
|
|||
*/
|
||||
_onImportButtonClick: function(e) {
|
||||
let fp = Cc["@mozilla.org/filepicker;1"].createInstance(Ci.nsIFilePicker);
|
||||
fp.init(window, L10N.getStr("recordingsList.saveDialogTitle"), Ci.nsIFilePicker.modeOpen);
|
||||
// TODO localize? in bug 1163763
|
||||
fp.init(window, "Import recording…", Ci.nsIFilePicker.modeOpen);
|
||||
fp.appendFilter(L10N.getStr("recordingsList.saveDialogJSONFilter"), "*.json");
|
||||
fp.appendFilter(L10N.getStr("recordingsList.saveDialogAllFilter"), "*.*");
|
||||
|
||||
|
|
|
@ -214,7 +214,8 @@ let RecordingsView = Heritage.extend(WidgetMethods, {
|
|||
*/
|
||||
_onSaveButtonClick: function (e) {
|
||||
let fp = Cc["@mozilla.org/filepicker;1"].createInstance(Ci.nsIFilePicker);
|
||||
fp.init(window, L10N.getStr("recordingsList.saveDialogTitle"), Ci.nsIFilePicker.modeSave);
|
||||
// TODO localize? in bug 1163763
|
||||
fp.init(window, "Save recording…", Ci.nsIFilePicker.modeSave);
|
||||
fp.appendFilter(L10N.getStr("recordingsList.saveDialogJSONFilter"), "*.json");
|
||||
fp.appendFilter(L10N.getStr("recordingsList.saveDialogAllFilter"), "*.*");
|
||||
fp.defaultString = "profile.json";
|
||||
|
|
Загрузка…
Ссылка в новой задаче