On Mon Nov 20 07:42:00 2023 +0000, Alexandre Julliard wrote:
> You most likely want to always use the script, not only for unknown locale.
> For unknown countries we should probably fall back to neutral locale in
> all cases.
> Also the user_locale variable needs to be updated.
Hi Alexandre,
> You most likely want to always use the script, not only for unknown locale.
>
Likely not? A script name isn't required and isn't set by macOS for all the languages. For example, the script name is none if the system language is 'English (US)'.
> For unknown countries we should probably fall back to neutral locale in all cases.
>
> Also the user_locale variable needs to be updated.
I am not sure what locale should I assign to user_locale in the case of 'zh-Hans-US', 'zh-Hans' isn't a valid locale for both Linux and macOS. Should I reset it to 'C'?
Thanks
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4357#note_52825
--
v2: vkd3d-shader/hlsl: Allow non-numeric types in the ternary operator.
vkd3d-shader/hlsl: Separate an add_ternary() helper.
tests: Add many more tests for ternary expressions.
vkd3d-shader/hlsl: Do not try to lower ternaries of types other than scalar or vector.
vkd3d-shader/hlsl: Remove a redundant definition of the "float" type.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/463