bordercolors-d
bordercolors-d copied to clipboard
Add support for localisation
The mailextension rewrite did not carry over localised resources. We should re-add them, at least for the Options page.
- [x] Investigate how localised resources work in TB78+
- [x] Move English text out of the code
- [x] Add at least one other language
- Add more languages, possibly using web-ext-translator
If you need a German translation, let me know.
I can do the German translation as well. As speedball already raised the hand, put me down as a backup :-)
Hello, I can translate to French if needed :blush:
Thank you for offering to help, the code is now ready to add translations! 🎉
You can use the english strings as template. Note that you only need to translate the message
field, the description
is only there as guidance.
Feel free to open a pull request, or attach the json file here. This online tool might also be helpful 🙂
I'm no good with forks and stuff so here goes :-)
de_DE
"__WET_GROUP__INFO": { "message": "Add-on information" },
"addonDescription": {
"description": "Description of the add-on, as it appears in the Add-ons list.",
"message": "Umfasst das Fenster für Neue Nachrichten mit einem farbigen Rahmen, so dass Du die verschiedenen Identitäten unterscheiden kannst."
},
"__WET_GROUP__OPTIONS": { "message": "Options page" },
"heading-color-selector": {
"description": "The heading above the list of identities, in the options",
"message": "Färbe deine verschiedenen Identitäten ein"
},
"heading-style-selector": {
"description": "The heading above the list of styles, in the options",
"message": "Wähle die Art der Markierung"
},
"heading-size-selector": {
"description": "The heading above the list of style sizes, in the options",
"message": "Wähle die Größe für den Effekt"
},
"__WET_GROUP__SIZES": { "message": "Size labels" },
"size-small": {
"description": "Label for the 'small' size option",
"message": "Schmal"
},
"size-medium": {
"description": "Label for the 'medium' size option",
"message": "Mittel"
},
"size-large": {
"description": "Label for the 'large' size option",
"message": "Breit"
},
"__WET_GROUP__STYLES": { "message": "Style names" },
"style-all-sides": {
"description": "A border along all four sides of the composer",
"message": "Rahmen auf allen Seiten"
},
"style-top-and-bottom": {
"description": "A border at the top and bottom of the composer",
"message": "Rahmen an Ober- und Unterseite"
},
"style-top": {
"description": "A border at the top of the composer",
"message": "Rahmen am oberen Rand"
},
"style-left-side-gradient": {
"description": "A gradient on the left side of the composer",
"message": "Farbverlauf auf der linken Seite"
},
"style-background-top-right-gradient": {
"description": "A gradient in the top-right corner of the composer",
"message": "Farbverlauf in der rechten, oberen Ecke"
},
"style-background-four-corners-gradient": {
"description": "A gradient in each corner of the composer",
"message": "Farbverlauf in allen vier Ecken"
},
"style-background-bottom-gradient": {
"description": "A gradient at the bottom of the composer",
"message": "Farbverlauf am unteren Rand"
},
"style-background": {
"description": "The color is applied to the whole background of the composer",
"message": "Hintergrundfarbe"
}
}
Wow, that was fast! Thank you very much 🙇
I've added it to the repository (https://github.com/dreadnaut/bordercolors-d/commit/c2e53468219aac0898006d451fd5dc86f196b73c), and I'll package a new release later this week.
Hi ! I've added issue #23 with French translation :)
Thank you! 🙏 Added as well (https://github.com/dreadnaut/bordercolors-d/commit/f27645d4b0e9b744f793b0a2a0c9594e651c25f2)