Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set user language hardcoded #22

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

vitormattos
Copy link
Contributor

The problem:

The follow code verify the string in English, but if the operational system is in another language, don't will match the string:

https://github.com/JSignPdf/jsignpdf-php/blob/v1.2.5/src/Sign/JSignService.php#L30-L33

English text: Finished: Signature succesfully created.
German text: Fertig: Signatur erfolgreich erzeugt.

To solve was necessary to mahe the java user language hardcoded as English.

Ref:

The problem:

The follow code verify the string in English, but if the operational
system is in another language, don't will match the string:

https://github.com/JSignPdf/jsignpdf-php/blob/v1.2.5/src/Sign/JSignService.php#L30-L33

English text: Finished: Signature succesfully created.
German text: Fertig: Signatur erfolgreich erzeugt.

To solve was necessary to mahe the java user language hardcoded as
English.

Signed-off-by: Vitor Mattos <[email protected]>
@vitormattos vitormattos self-assigned this Dec 12, 2024
@vitormattos vitormattos requested a review from jeidison December 12, 2024 15:35
@vitormattos
Copy link
Contributor Author

At the reference issue was confirmed that this approach fixed the problem.

@vitormattos vitormattos merged commit 5e0a028 into master Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant