eromatiya / lightdm-webkit2-theme-glorious

A sleek, modern and glorified LightDM webkit2 theme
https://manilarome.github.io/lightdm-webkit2-theme-glorious/
GNU General Public License v3.0
603 stars 54 forks source link

fix transalate infos in pt-br #86

Closed GabrielXs closed 7 months ago

GabrielXs commented 7 months ago

Description

This pull request addresses an issue related to the transaction class translation error and introduces additional functionality to detect the user's preferred language based on their browser settings. Changes Made

Resolved translation error in the transaction class that was causing issues.
Added functionality to capture the user's browser language preference.

Details

The previous translation error in the transaction class resulted in unexpected behavior during language conversion.

Additionally, to enhance user experience, this PR introduces a feature to detect the user's preferred language based on their browser settings. By utilizing the navigator.language property, the application can now automatically detect the language preference of the user's browser, improving localization for a more seamless experience. How to Test

Ensure the transaction class operates without any translation errors.
Test the application in various browsers with different language settings to verify that the detected language aligns with the browser's language preference.

Additional Notes

Ensure backward compatibility with existing functionalities.
Consider handling edge cases where language detection might not be available or accurate.

This PR is ready for review and feedback. Thank you!