/usr/share/xul-ext/ubiquity/standard-feeds/alias-commands.js is in xul-ext-ubiquity 0.6.4~pre20140729-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | CmdUtils.CreateCommand({
names: ["germanize"],
icon: "chrome://ubiquity/skin/icons/german_flag.png",
arguments: [{role: "object", nountype: noun_arb_text},
{role: "source", nountype: noun_type_lang_google}],
preview: function germanize_preview(pblock, args) {
CmdUtils.previewCommand("translate", pblock, this._setArgs(args));
},
execute: function germanize_execute(args) {
CmdUtils.executeCommand("translate", this._setArgs(args));
},
_setArgs: function germanize__setArgs(args)
({__proto__: args, goal: this._goal}),
_goal: noun_type_lang_google.suggest("^German$")[0],
});
CmdUtils.CreateAlias({
names: ["anglicize"],
verb: "resource://ubiquity/standard-feeds/general.html#translate",
givenArgs: {goal: "English"},
icon: "chrome://ubiquity/skin/icons/union_jack.ico"
});
|