this post was submitted on 02 Sep 2024
20 points (88.5% liked)

Photon

285 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 1 year ago
MODERATORS
20
submitted 3 months ago* (last edited 3 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)
all 14 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 3 months ago* (last edited 3 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 3 months ago* (last edited 3 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 3 months ago* (last edited 3 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?

[–] [email protected] 2 points 3 months ago (1 children)

Sounds nice. I translated a bunch of strings in German. Username should be the same.

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

I gave you the badge, it should appear on phtn.app in about a minute or so

[–] m4m4m4m4 2 points 3 months ago (1 children)

Hey, I've done a translation to spanish (sorry for the duped comment, I just found this thread), it's already in the weblate - though not sure if there's something missing from my part. It'd be great if you can include it to be available so I can see if there's something that needs to be fixed

[–] [email protected] 1 points 3 months ago (1 children)

What was your username on weblate?

[–] [email protected] 2 points 3 months ago
[–] myedition8 1 points 3 months ago

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.

[–] [email protected] 1 points 3 months ago (1 children)
[–] [email protected] 2 points 3 months ago

thanks for your contributions to this app! i've given you the badge and it should appear on phtn.app next deployment