240 lines
7.6 KiB
JSON
240 lines
7.6 KiB
JSON
{
|
||
"extensionName": {
|
||
"message": "Shellfox",
|
||
"description": "Name of the extension."
|
||
},
|
||
|
||
"extensionDescription": {
|
||
"message": "Run command-line programs from Firefox, easily.",
|
||
"description": "Description of the extension."
|
||
},
|
||
|
||
"pageActionName": {
|
||
"message": "Run shell command",
|
||
"description": "Name of address-bar button for running the default command on current page."
|
||
},
|
||
|
||
"pageCommandContextMenu": {
|
||
"message": "Run command “$COMMAND$”",
|
||
"description": "Menu-item to run a specific command on the current page.",
|
||
"placeholders": {
|
||
"command": {
|
||
"content": "$1",
|
||
"example": "Curl"
|
||
}
|
||
}
|
||
},
|
||
|
||
"pageCommandDefaultContextMenu": {
|
||
"message": "Run default shell command",
|
||
"description": "Menu-item to run the default command on the current page."
|
||
},
|
||
|
||
"linkCommandContextMenu": {
|
||
"message": "Run “$COMMAND$” on link",
|
||
"description": "Menu-item to run a specific command on a link’s URL.",
|
||
"placeholders": {
|
||
"command": {
|
||
"content": "$1",
|
||
"example": "Curl"
|
||
}
|
||
}
|
||
},
|
||
|
||
"linkCommandDefaultContextMenu": {
|
||
"message": "Run default command on link",
|
||
"description": "Menu-item to run the default command on a link’s URL."
|
||
},
|
||
|
||
"optionsTitleShell": {
|
||
"message": "Shell commands",
|
||
"description": "Title of options-page section for commands."
|
||
},
|
||
|
||
"optionsDescShell": {
|
||
"message": "Add shell commands, to be executed with a page’s URL as its argument. In a command, $URL will be replaced with the target page’s URL.",
|
||
"description": "Description of options-page section for commands."
|
||
},
|
||
|
||
"optionsHeadShellName": {
|
||
"message": "Name",
|
||
"description": "Header of table-element for options-page section for commands."
|
||
},
|
||
|
||
"optionsHeadShellCommand": {
|
||
"message": "Shell command",
|
||
"description": "Header of table-element for options-page section for commands."
|
||
},
|
||
|
||
"optionsPlaceholderName": {
|
||
"message": "Curl",
|
||
"description": "Displayed placeholder for options-page input for command-name."
|
||
},
|
||
|
||
"optionsPlaceholderCommand": {
|
||
"message": "curl $URL > /tmp/downloaded.html",
|
||
"description": "Displayed placeholder for options-page input for command."
|
||
},
|
||
|
||
"optionsTitleRule": {
|
||
"message": "URL/Page rules",
|
||
"description": "Title of options-page section for regex."
|
||
},
|
||
|
||
"optionsDescRule": {
|
||
"message": "Associate the above commands with URLs, based on regex rules. When a URL is tied to a command, a button will appear in context-menus and the address bar to run said command.",
|
||
"description": "Description of options-page section for regex."
|
||
},
|
||
|
||
"optionsHeadRuleName": {
|
||
"message": "URL regex",
|
||
"description": "Header of table-element for options-page section for regex."
|
||
},
|
||
|
||
"optionsHeadRuleCommand": {
|
||
"message": "Shell command",
|
||
"description": "Header of table-element for options-page section for regex."
|
||
},
|
||
|
||
"optionsPlaceholderRule": {
|
||
"message": "https://example.com/.*",
|
||
"description": "Displayed placeholder for options-page input for regex."
|
||
},
|
||
|
||
"optionsTitleDownload": {
|
||
"message": "Download commands",
|
||
"description": "Title of options-page section for download commands."
|
||
},
|
||
|
||
"optionsDescDownload": {
|
||
"message": "Assign commands to be executed for certain URLs (by regex) when downloads are initiated or finished. In commands, $URL will be replaced with the download’s URL, and $FILE with the target file.",
|
||
"description": "Description of options-page section for download commands."
|
||
},
|
||
|
||
"optionsHeadDownloadRule": {
|
||
"message": "URL regex",
|
||
"description": "Header of table-element for options-page section for download commands."
|
||
},
|
||
|
||
"optionsHeadDownloadCommand": {
|
||
"message": "Shell command",
|
||
"description": "Header of table-element for options-page section for download commands."
|
||
},
|
||
|
||
"optionsHeadDownloadType": {
|
||
"message": "Run when…",
|
||
"description": "Header of table-element for options-page section for download commands."
|
||
},
|
||
|
||
"optionsDownloadWhenStarted": {
|
||
"message": "… started",
|
||
"description": "Member of menu-list for options-page section for download commands. Completes the sentence, “Run when…”"
|
||
},
|
||
|
||
"optionsDownloadWhenFinished": {
|
||
"message": "… finished",
|
||
"description": "Member of menu-list for options-page section for download commands. Completes the sentence, “Run when…”"
|
||
},
|
||
|
||
"optionsPlaceholderDownloadRegex": {
|
||
"message": ".*.png",
|
||
"description": "Displayed placeholder for options-page input for download command’s regex."
|
||
},
|
||
|
||
"optionsPlaceholderDownloadCommand": {
|
||
"message": "echo $URL > $FILE.url",
|
||
"description": "Displayed placeholder for options-page input for download command."
|
||
},
|
||
|
||
"optionsSaveButton": {
|
||
"message": "Apply",
|
||
"description": "Name of button in options-page to save changes."
|
||
},
|
||
|
||
"optionsPageTitle": {
|
||
"message": "Shellfox settings",
|
||
"description": "Title of the settings-page."
|
||
},
|
||
|
||
"errorPageTitle": {
|
||
"message": "Shellfox error",
|
||
"description": "Title of the error-page."
|
||
},
|
||
|
||
"errorTitle": {
|
||
"message": "Shellfox failed to run command",
|
||
"description": "Heading-title of the error-page."
|
||
},
|
||
|
||
"errorNotInstalled": {
|
||
"message": "It seems that Shellfox is not fully installed!",
|
||
"description": "Summary of not-installed error."
|
||
},
|
||
|
||
"errorNotInstalledDesc": {
|
||
"message": "Shellfox, unlike most extensions, requires a script to be installed on your computer. This script, <code>shellfox.sh</code>, is what allows us to execute shell commands.It seems that Shellfox is not fully installed!",
|
||
"description": "Detailed description of not-installed error."
|
||
},
|
||
|
||
"repairInstallTitle": {
|
||
"message": "Completing installation",
|
||
"description": "Title of the repair-section for installation."
|
||
},
|
||
|
||
"repairInstallIntro": {
|
||
"message": "To install Shellfox’es local component:",
|
||
"description": "Intro to the installation guide, following by an itemized list of steps."
|
||
},
|
||
|
||
"repairInstallStep1": {
|
||
"message": "Download the script through the repository’s ZIP archive <a id='zip_link'>here</a>.",
|
||
"description": "Step in the installation guide."
|
||
},
|
||
|
||
"repairInstallStep2": {
|
||
"message": "Extract the ZIP archive: This leaves a <code>shellfox/</code> folder.",
|
||
"description": "Step in the installation guide."
|
||
},
|
||
|
||
"repairInstallStep3": {
|
||
"message": "Open a terminal within that <code>shellfox/</code> folder.",
|
||
"description": "Step in the installation guide."
|
||
},
|
||
|
||
"repairInstallStep4": {
|
||
"message": "Run the command, <code>$ sudo make native-install</code>",
|
||
"description": "Step in the installation guide."
|
||
},
|
||
|
||
"repairInstallStep5": {
|
||
"message": "You’re done: Party!!",
|
||
"description": "Light-hearted celebration step in the installation guide."
|
||
},
|
||
|
||
"repairInstallTerminalIntro": {
|
||
"message": "From a terminal, that would look something like:",
|
||
"description": "Intro to a terminal-based installation description."
|
||
},
|
||
|
||
"troubleshootTitle": {
|
||
"message": "Troubleshooting",
|
||
"description": "Title of the Troubleshooting-paragraph of the error page."
|
||
},
|
||
|
||
"troubleshootDesc": {
|
||
"message": "If Shellfox’s script is installed but you still see this page — that is, the <a href='#error'>above error</a> isn’t “Error: No such native application shellfox” — please report the issue! You can report it on the <a id='tracker_link'>Shellfox bug-tracker</a>, or by sending an email to xwx@posteo.org. Let’s get that fixed! Please make sure to include your operating system and Firefox version in the report.",
|
||
"description": "Contents of the Troubleshooting-paragraph of the error page."
|
||
},
|
||
|
||
"errorMessage": {
|
||
"message": "Error: “$ERROR$”",
|
||
"description": "The text of the header of the error page that displays the error message.",
|
||
"placeholders": {
|
||
"error": {
|
||
"content": "$1",
|
||
"example": "No such program."
|
||
}
|
||
}
|
||
}
|
||
}
|