-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
[WIP] fix: remove extra return ->
in laravel keys
#4728
base: master
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
'apples' => 'There is one apple|There are many apples', | ||
]; | ||
""" | ||
phpsource = open("./laravel/plurals.php").read() |
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.
You cannot make assumptions about current working directory. Either derive the filename from __file__
and make sure the test files are included in the package, or inline it as it was done before.
@Simoneu01 Any progress on this? |
I tried this patch on weblate 3.14 and it resolves the issue with Laravel language import. What is holding us back to merge it? |
Sorry, I've been busy IRL.
This PR has some issues when the language file has comments on it, and also breaks the indentation. I'll look into it in the next week. |
Close #4563
Close WeblateOrg/weblate#5633
This is still a WIP please do not review now
Next steps: