this post was submitted on 02 Sep 2024
19 points (88.0% liked)

Photon

244 readers
1 users here now

Photon for Lemmy

A client for the fediverse designed to be intuitive, fast, and beautiful.

Share your themes, ask questions, report bugs, or check on the latest updates here!

founded 8 months ago
MODERATORS
19
submitted 1 week ago* (last edited 1 week ago) by Xylight@lemdro.id to c/photon@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)
you are viewing a single comment's thread
view the rest of the comments
[–] poVoq 3 points 1 week ago* (last edited 1 week ago) (2 children)

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.

[–] Xylight@lemdro.id 3 points 1 week ago* (last edited 1 week ago) (1 children)

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.

[–] poVoq 3 points 1 week ago* (last edited 1 week ago)

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?