-
Notifications
You must be signed in to change notification settings - Fork 8k
Fix #70574 - Move message catalog to proper locale directory #5940
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
Fix #70574 - Move message catalog to proper locale directory #5940
Conversation
nikic
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like these tests now fail in CI:
Gettext basic test with en_US locale that should be on nearly every system [ext/gettext/tests/gettext_basic-enus.phpt]
Test if bindtextdomain() returns string id if no directory path is set(if directory path is 'null') [ext/gettext/tests/gettext_bindtextdomain-cwd.phpt]
Test dcgettext() functionality [ext/gettext/tests/gettext_dcgettext.phpt]
Test dgettext() functionality [ext/gettext/tests/gettext_dgettext.phpt]
Test if dngettext() returns the correct translations (optionally plural). [ext/gettext/tests/gettext_dngettext-plural.phpt]
Test ngettext() functionality [ext/gettext/tests/gettext_ngettext.phpt]
|
That's interesting, locally everything was green 😉 |
78138e9 to
b8f7658
Compare
|
As it turns out, those six tests were actually failing also locally, I don't know what I saw there ... 😥 |
|
Converted to draft as I would like to clarify on the charset in the locale... Digging deeper I found that |
b8f7658 to
e42a0a3
Compare
|
Hey there 🖖 I checked how things go and found out the following. When locale is set to
Having the catalog in the Sorry for the inconvenience. Florian |
|
So the problem in the original PR was just that it used UTF8 rather than UTF-8 in the path, right? |
|
Exactly |
Hey there 🖖
this fixes the failing tests on Solaris as stated in https://bugs.php.net/bug.php?id=70574
Kind regards
Florian