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

    • Xylight@lemdro.idOPM
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      4 months ago

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

  • m4m4m4m4@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    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

  • myedition8@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 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.

    • Xylight@lemdro.idOPM
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

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