stpl / systango_hrm

Redmine plugin that allows for leave management of users.
7 stars 4 forks source link

Approve/Unapprove Buttons untranslateable #12

Open Arrakaij opened 7 years ago

Arrakaij commented 7 years ago

Hello

we're testing the HRM internally and wanted to translate them to german. The Translation works, i can translate the buttons to "Akzeptieren" and "Ablehnen", that however breaks functionality as the value of the button determines the state set (which won't work for other values then 'Approve' and 'Unapprove')

As a workaround i changed the buttons from input type=submit to this: <button type="submit" name="unapprove" value="Approve">Annehmen</button> as it lets me set a different value then the caption of the button.