Translator badge!
1y 9mon ago by lemdro.id/u/Xylight in photon@lemdro.id from lemdro.id
On phtn.app I can give all translators of Photon a badge, here's how it looks on Blisterexe@lemmy.zip (the French translator!)
If you want this and you translated the app, just add a comment and I'll try to verify your contributions. Then I'll add it to phtn.app. I can add and remove this at any time, and this will only appear on phtn.app.
To get the badge, you must have
- Validly translated at least 30 strings of any language (other than English)
- Proof that you are the contributor on weblate (using the same username on both should be enough)
Is there a way to add custom badges for admins running their own instances of Photon as well?
Like a instance donator badge might be nice or so.
Technically yes, but it could be a pain to maintain because the way this works is via environment variables.

This is what the current badge JSON looks like.
Hmm, yeah that looks annoying. Maybe loading a separate json file from file/volume or loading it from a separate webserver that serves it publicly would be possible?
What was your username on weblate?
i added the badge to you, should appear next deployment
Hello!
Sounds nice. I translated a bunch of strings in German. Username should be the same.
I gave you the badge, it should appear on phtn.app in about a minute or so
me, uhh and my estonian account pewgar_ee@lemmy.frozeninferno.xyz
jah
Hi, 'member me?
thanks for your contributions to this app! i've given you the badge and it should appear on phtn.app next deployment
That's cool, I like it! I'm currently working on the Hungarian translation, according to Weblate it's 55% done. I have the same username there.