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
Color selector and Add Tile Wizard are not translatable #4089
Comments
The non translatable colors problem is due to setupColors being called before translation is enabled in main.cpp: GoldenCheetah/src/Core/main.cpp Line 441 in 5b838b4
GoldenCheetah/src/Core/main.cpp Line 622 in 5b838b4
|
The non translatable tile name and description is likely due to the use of a static function which is also called before QT translator is enabled:
|
The way we solved the same problem in similar cases s.t. metrics registry is to call an initialize method after the translator is enabled: GoldenCheetah/src/Core/main.cpp Line 640 in 5b838b4
|
For the Overview tiles I propose to make WRT to colors, I am not sure about to move the call to setupColors due to the interdependence with the call to |
I would not worry too much about elegance since this is a fairly static piece of the codebase. Simple is usually best :) |
This was reported at the forum, translations are present, but they are not being used:
I confirmed this using Spanish translation, I need to investigate the cause.
The text was updated successfully, but these errors were encountered: