Skip to content

Commit

Permalink
Add basic translations
Browse files Browse the repository at this point in the history
  • Loading branch information
cockroacher committed Sep 27, 2024
1 parent 2355224 commit 86728c0
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 1 deletion.
Binary file modified locales/en/LC_MESSAGES/http_validator.mo
Binary file not shown.
9 changes: 9 additions & 0 deletions locales/en/LC_MESSAGES/http_validator.po
Original file line number Diff line number Diff line change
Expand Up @@ -191,3 +191,12 @@ msgstr "###### Recommended CSP Rating:{0}"

msgid "TEXT_REVIEW_CSP_RECOMMENDED_TEXT"
msgstr "\r\n##### Want to improve your Content-Security-Policy game?\r\nWhy not try the below Content-Security-Policy response header to get started using Content Security Policy?\r\nRemember, below recommendation is only based on a sample (read: {0} page(s)) of all pages on your website\r\nand based without clicking on anything.\r\n\r\n###### Recommended Content-Security-Policy policies:\r\n{1}\r\n{2}\r\nRead more: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy\r\n\r\n"

msgid "TEXT_REVIEW_SRI_COMPLIANT"
msgstr "- {0}, Subresource Integrity (SRI)"

msgid "TEXT_REVIEW_SRI_NONE_COMPLIANT"
msgstr "- {0}, Needs Subresource Integrity (SRI)"

msgid "TEXT_REVIEW_SRI_WITH_ERRORS"
msgstr "- {0}, Incorrectly using Subresource Integrity (SRI)"
Binary file modified locales/gov/LC_MESSAGES/http_validator.mo
Binary file not shown.
9 changes: 9 additions & 0 deletions locales/gov/LC_MESSAGES/http_validator.po
Original file line number Diff line number Diff line change
Expand Up @@ -191,3 +191,12 @@ msgstr "###### Recommended CSP Rating:{0}"

msgid "TEXT_REVIEW_CSP_RECOMMENDED_TEXT"
msgstr "\r\n##### Want to improve your Content-Security-Policy game?\r\nWhy not try the below Content-Security-Policy response header to get started using Content Security Policy?\r\nRemember, below recommendation is only based on a sample (read: {0} page(s)) of all pages on your website\r\nand based without clicking on anything.\r\n\r\n###### Recommended Content-Security-Policy policies:\r\n{1}\r\n{2}\r\nRead more: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy\r\n\r\n"

msgid "TEXT_REVIEW_SRI_COMPLIANT"
msgstr "- {0}, Subresource Integrity (SRI)"

msgid "TEXT_REVIEW_SRI_NONE_COMPLIANT"
msgstr "- {0}, Needs Subresource Integrity (SRI)"

msgid "TEXT_REVIEW_SRI_WITH_ERRORS"
msgstr "- {0}, Incorrectly using Subresource Integrity (SRI)"
Binary file modified locales/sv/LC_MESSAGES/http_validator.mo
Binary file not shown.
11 changes: 10 additions & 1 deletion locales/sv/LC_MESSAGES/http_validator.po
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,13 @@ msgid "TEXT_REVIEW_CSP_RECOMMENDED_RATING"
msgstr "###### Rekommenderat CSP-betyg:{0}"

msgid "TEXT_REVIEW_CSP_RECOMMENDED_TEXT"
msgstr "\r\n##### Vill du förbättra din Content Security Policy (CSP)?\r\nVarför inte prova följande CSP-svarshuvud för att komma igång med CSP?\r\nKom ihåg, nedanstående rekommendation är endast baserad på ett urval (läs: {0} sida(or)) av alla sidor på din webbplats och baseras utan att klicka på något.\r\n\r\n###### Rekommenderade policyer:\r\n{1}\r\n{2}\r\nLäs mer: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy\r\n\r\n"
msgstr "\r\n##### Vill du förbättra din Content Security Policy (CSP)?\r\nVarför inte prova följande CSP-svarshuvud för att komma igång med CSP?\r\nKom ihåg, nedanstående rekommendation är endast baserad på ett urval (läs: {0} sida(or)) av alla sidor på din webbplats och baseras utan att klicka på något.\r\n\r\n###### Rekommenderade policyer:\r\n{1}\r\n{2}\r\nLäs mer: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy\r\n\r\n"

msgid "TEXT_REVIEW_SRI_COMPLIANT"
msgstr "- {0}, Subresource Integrity (SRI)"

msgid "TEXT_REVIEW_SRI_NONE_COMPLIANT"
msgstr "- {0}, Kräver Subresource Integrity (SRI)"

msgid "TEXT_REVIEW_SRI_WITH_ERRORS"
msgstr "- {0}, Använder Subresource Integrity (SRI) på felaktigt sätt"

0 comments on commit 86728c0

Please sign in to comment.