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
Use short form array syntax everywhere #4243
Use short form array syntax everywhere #4243
Conversation
This is a nearly impactless PR, the only functional change is in
`util/po2php.php` where I had to manually change how we generate
arrays in the `string.php` files.
But you tested the po2php mechanism and it still works? ;-)
|
That's where you come in, how do I test it? |
You can compile the French translation from the messages.po file and see if it still works.
If this does not throw a syntax error, then you can try and load the FR translated interface in Friendica. |
34566c0
to
a896d58
Compare
There are no differences between the generated file and the one I changed directly in this PR 🎉 |
Changing language doesn't work at the moment, but it is unrelated to this PR. |
Fixed the language selection, tested it successfully with this PR. |
7d95598
to
66943ca
Compare
- Add short form array syntax to po2php.php generation
30b00d9
to
99875b1
Compare
Can someone please merge this, I've had to rebase it 4 times to fix conflicts since I opened it because @zeroadam keeps deleting files in |
Sorry, I'm currently at reviewing it (I'm now at "include/post_update.php"), but my hand is aching from pressing the page down key (no joke, I'm susceptible for getting a carpal tunnel syndrome, I already had two hand surgeries) I have to stop for some hours until I can continue. |
For once, I did a straightforward PR that doesn’t require manual review, sorry you started doing this. |
I will always have a look at every code line at PRs - this is my standard. :) |
Sorry about that! I will pause any further work until this is merged. Rebasing can be a giant pain!! |
Please continue, it’s only blocking me, I’m reluctant to make any new changes before this is merged. |
@zeroadam if you review it, I could press the magic button. I just want to have a second pair of eyes that looked at the changes. |
👍 |
A:
B:
|
@annando hahhah.. I was reviewing, though it was taking quite some time. Saved by the bell! |
Thanks! |
@zeroadam Sorry, I haven't seen that you started it as well. |
@MrPetovan You owe me one :) |
I already reviewed all of @Quix0r formatting PR, and I'll review all of your item changes PR, so I think I'm good! 😄 Sorry for the ordeal though. |
No worries!!
…On Mon, Jan 15, 2018, 17:17 Hypolite Petovan ***@***.***> wrote:
I already reviewed all of @Quix0r <https://github.com/quix0r> formatting
PR, and I'll review all of your item changes PR, so I think I'm good! 😄
Sorry for the ordeal though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4243 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFyWzLPXg3RvyxZSfOk7KgpT3-5TvZe1ks5tK86VgaJpZM4ReZKx>
.
|
BECAUSE I CAN!
This is a nearly impactless PR, the only functional change is in
util/po2php.php
where I had to manually change how we generate arrays in thestring.php
files.