this post was submitted on 02 Sep 2024
21 points (88.9% liked)

Photon

267 readers
3 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!

You can contact the dev at @[email protected].

Rules

  1. Posts must be related to Photon in any way
  2. Don't be mean
  3. If your post is a bug report, please preface the title with [solved] if it's been fixed.

founded 10 months ago
MODERATORS
21
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 

On phtn.app I can give all translators of Photon a badge, here's how it looks on @[email protected] (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
[–] [email protected] 3 points 2 months ago* (last edited 2 months ago) (1 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.

[–] [email protected] 3 points 2 months ago* (last edited 2 months 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.

[–] [email protected] 3 points 2 months ago* (last edited 2 months 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?