1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-08 12:35:46 +01:00
This commit is contained in:
Kris Maglione
2011-10-05 05:45:14 -04:00
parent c6ac63b5f9
commit e498c0662a
2 changed files with 7 additions and 1 deletions

View File

@@ -89,6 +89,12 @@ var Messages = Module("messages", {
return arguments.length > 2 ? default_ : value;
},
/**
* Exports known localizable strings to a properties file.
*
* @param {string|nsIFile} {file} The file to which to export
* the strings.
*/
export: function export_(file) {
let { Buffer, commands, hints, io, mappings, modes, options, sanitizer } = overlay.activeModules;
file = io.File(file);