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
Aria label key words of virtual backgrounds are not translatable #9610
Comments
Currently, background image presets are hardcoded in the source. What about making a constant with filename-to-description map? const presetbackgroundLabels = {
'1_office': t('spreed', 'Office'),
'2_home': t('spreed', 'Home'),
// ...
} |
@marcoambrosini @Antreesy what do you think? |
As far as I know, It will be impossible for translators to translate differently But constant with complete sentence should work fine, and doesn't require a lot of efforts from translators: |
I forgot that they are actually got from getCapabilities()?.spreed?.config?.call?.['predefined-backgrounds'] Which is defined on runtime according to the Lines 176 to 205 in b8eb265
End-user is not supposed to edit the app's source, but it is possible. |
The new constant is not exposed, so shouldn't be a big problem, i guess. |
It is changeable not by constant editing in the PHP/JS source code, but by updating files in the |
Originally posted by @nickvergessen in #9609 (comment)
The text was updated successfully, but these errors were encountered: