Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a pattern like gettext() where the original string stays in the source, so the source is still readable. This means a lot of copy/paste into _locales/en/messages.json. Include a few strings in German, because I can speak it _just_ enough to test in German. Just to be sure it's working. Fixes #2527
- Loading branch information
Showing
18 changed files
with
107 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.PHONY: test testonce coverage xpi | ||
.PHONY: test testwatch coverage xpi | ||
|
||
test: | ||
@npm run test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"Disabled": { "message": "Deaktiviert" }, | ||
"Enabled": { "message": "Activiert" }, | ||
"Greasemonkey is active": { "message": "Greasemonkey ist aktiv" }, | ||
"Greasemonkey is disabled": { "message": "Greasemonkey ist behindert" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"$1 - Greasemonkey User Script Editor": { "message": "$1 - Greasemonkey User Script Editor" }, | ||
"$1 - Greasemonkey User Script": { "message": "$1 - Greasemonkey User Script" }, | ||
"$1 does not @grant method $2": { "message": "$1 does not @grant method $2" }, | ||
"Cancel": { "message": "Cancel" }, | ||
"Could not execute user script: $1\n$2": { "message": "Could not execute user script: $1\n$2" }, | ||
"Disabled": { "message": "Disabled" }, | ||
"Does not run on:": { "message": "Does not run on:" }, | ||
"Download and install successful!": { "message": "Download and install successful!" }, | ||
"Duplicate resource name: $1": { "message": "Duplicate resource name: $1" }, | ||
"Edit": { "message": "Edit" }, | ||
"Enabled": { "message": "Enabled" }, | ||
"GM.notification: \"text\" must be a string": { "message": "GM.notification: \"text\" must be a string" }, | ||
"GM.openInTab: Could not understand the URL: $1": { "message": "GM.openInTab: Could not understand the URL: $1" }, | ||
"GM.xmlHttpRequest: Could not understand the URL: $1\n$2": { "message": "GM.xmlHttpRequest: Could not understand the URL: $1\n$2" }, | ||
"GM.xmlHttpRequest: Passed URL has bad protocol: $1": { "message": "GM.xmlHttpRequest: Passed URL has bad protocol: $1" }, | ||
"GM.xmlHttpRequest: Received no URL.": { "message": "GM.xmlHttpRequest: Received no URL." }, | ||
"GM.xmlHttpRequest: Received no details.": { "message": "GM.xmlHttpRequest: Received no details." }, | ||
"Greasemonkey Wiki": { "message": "Greasemonkey Wiki" }, | ||
"Greasemonkey home page": { "message": "Greasemonkey home page" }, | ||
"Greasemonkey is active": { "message": "Greasemonkey is active" }, | ||
"Greasemonkey is disabled": { "message": "Greasemonkey is disabled" }, | ||
"Ignoring @match pattern $1 because:\n$2": { "message": "Ignoring @match pattern $1 because:\n$2" }, | ||
"Install": { "message": "Install" }, | ||
"Malicious user scripts can violate your privacy, steal your data, and act on your behalf without your knowledge.": { "message": "Malicious user scripts can violate your privacy, steal your data, and act on your behalf without your knowledge." }, | ||
"Matches:": { "message": "Matches:" }, | ||
"New user script ...": { "message": "New user script ..." }, | ||
"Requires special APIs:": { "message": "Requires special APIs:" }, | ||
"Runs on:": { "message": "Runs on:" }, | ||
"This is a Greasemonkey user script. Click install to start using it.": { "message": "This is a Greasemonkey user script. Click install to start using it." }, | ||
"Undo uninstall": { "message": "Undo uninstall" }, | ||
"Uninstall": { "message": "Uninstall" }, | ||
"User scripts for this tab": { "message": "User scripts for this tab" }, | ||
"You should only install scripts from sources that you trust.": { "message": "You should only install scripts from sources that you trust." } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.