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)
  • poVoq@slrpnk.net
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 months ago

    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.idOPM
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 months ago

      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@slrpnk.net
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        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?