ticgal / one-timesecret

A One-Time Secret integration with GLPI
https://tic.gal/en/project/a-one-time-secret-integration-share-your-passwords-securely/
GNU Affero General Public License v3.0
3 stars 4 forks source link

I can't find a way to customize or translate the followup that sends the link #10

Closed glorenzutti closed 2 years ago

glorenzutti commented 2 years ago

https://github.com/ticgal/one-timesecret/issues/10

I found the locales dir. But even using one of the default translations, like es_ES, I keep getting the same default message in English.

Maybe im doing something wrong.

On the same page, it would be awesome to be able to fully edit the message, per language, directly from the glpi interface. The same way you can customize every notification.


Created by glorenzutti

Numero de la peticion de GLPI: 8309
Creado por GitSync en GLPI por Óscar Beiro
OscarBeiro commented 2 years ago

Hi,

If you translate the message in es_ES you will only notice when the other actor (requester or tech) uses this language. So if you as a tech are using English as default language, and the requester is using Italian, the message will be in Italian.

By the way, you could help us by translating it into Italian if you have the knowledge :) https://localazy.com/p/one-time-secret-glpi#translations

I agree a custom message will be a great improvement but right now it is not in the roadmap. We wanted to keep it both useful and simple. Of course, you can always contribute to the code with a PR or sponsor the feature.

Regards,

glorenzutti commented 2 years ago

I can help on es_AR or es_ES or even english. I don't speak Italian. I will ask my kid if he wants to help us out for the Italian.

Thank you!

OscarBeiro commented 2 years ago

Any help is welcome :)