Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for localisation #11

Open
3 tasks done
dreadnaut opened this issue Sep 20, 2020 · 8 comments
Open
3 tasks done

Add support for localisation #11

dreadnaut opened this issue Sep 20, 2020 · 8 comments
Labels
help wanted Help with fixing this is welcome!

Comments

@dreadnaut
Copy link
Owner

dreadnaut commented Sep 20, 2020

The mailextension rewrite did not carry over localised resources. We should re-add them, at least for the Options page.

  1. Investigate how localised resources work in TB78+
  2. Move English text out of the code
  3. Add at least one other language
  4. Add more languages, possibly using web-ext-translator
@dreadnaut dreadnaut added the help wanted Help with fixing this is welcome! label Sep 20, 2020
@speedball2001
Copy link

If you need a German translation, let me know.

@ungesundes-halbwissen
Copy link

I can do the German translation as well. As speedball already raised the hand, put me down as a backup :-)

@bastien30
Copy link

Hello,
I can translate to French if needed 😊

@dreadnaut
Copy link
Owner Author

dreadnaut commented Apr 17, 2021

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 🙂

@ungesundes-halbwissen
Copy link

ungesundes-halbwissen commented Apr 18, 2021

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"
}
}

@dreadnaut
Copy link
Owner Author

Wow, that was fast! Thank you very much 🙇

I've added it to the repository (c2e5346), and I'll package a new release later this week.

@bastien30
Copy link

bastien30 commented Apr 19, 2021

Hi !
I've added issue #23 with French translation :)

@dreadnaut
Copy link
Owner Author

Thank you! 🙏
Added as well (f27645d)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Help with fixing this is welcome!
Projects
None yet
Development

No branches or pull requests

4 participants