Skip to content

Conversation

@pc223
Copy link
Contributor

@pc223 pc223 commented Jul 18, 2021

This test fails when run on system have different locale than en-US, because of the hard-coded 1033 LCID (en-US).

@jjw24
Copy link
Member

jjw24 commented Jul 18, 2021

Is this something that we should be fixing in the code actually?

@pc223
Copy link
Contributor Author

pc223 commented Jul 18, 2021

Is this something that we should be fixing in the code actually?

I don't think we have to fix the code. In the code, the LCID (1033) automatically generated according to the system locale

See this

QueryConstructor.CreateQueryHelper()

And this

image

@pc223
Copy link
Contributor Author

pc223 commented Jul 18, 2021

The test fails because it expects the system locale to be "1033" (en-US) which is not always true 😄

@jjw24 jjw24 merged commit 018cea2 into Flow-Launcher:dev Jul 18, 2021
@jjw24 jjw24 added the bug Something isn't working label Jul 18, 2021
@pc223 pc223 deleted the fix-hard-code-lcid branch July 18, 2021 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants