betaflight-configurator icon indicating copy to clipboard operation
betaflight-configurator copied to clipboard

Translate multiple select drop down

Open HThuren opened this issue 1 year ago • 8 comments

Use locale setup in multiple-select addon

#3583 will have same need for solution like this PR BUT giving an "Uncaught TypeError: Cannot read properties of undefined (reading 'locales')"

Made an issue https://github.com/wenzhixin/multiple-select/issues/618 to get help

NOT READY TO MERGE

HThuren avatar Jan 14 '24 15:01 HThuren

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Jan 14 '24 15:01 github-actions[bot]

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Jan 20 '24 16:01 github-actions[bot]

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Jan 29 '24 18:01 github-actions[bot]

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

sonarqubecloud[bot] avatar Jan 29 '24 21:01 sonarqubecloud[bot]

Do you want to test this code? Here you have an automated build: Betaflight-Configurator-Android Betaflight-Configurator-Linux Betaflight-Configurator-macOS Betaflight-Configurator-Windows WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

github-actions[bot] avatar Jan 29 '24 22:01 github-actions[bot]

@HThuren alternatively, you could take a look at an ms-select fork that I created mutiple-select-vanilla. The locales are working fine with imports. I created the fork mainly because I wanted to drop jQuery and also added a few more options. However this would require some code refactoring from your part, it might still be worth it though. Cheers

ghiscoding avatar Feb 28 '24 21:02 ghiscoding

@HThuren alternatively, you could take a look at an ms-select fork that I created mutiple-select-vanilla. The locales are working fine with imports. I created the fork mainly because I wanted to drop jQuery and also added a few more options. However this would require some code refactoring from your part, it might still be worth it though. Cheers

@ghiscoding thank you, I'll will look into your solution :-)

HThuren avatar Feb 28 '24 23:02 HThuren