-
Notifications
You must be signed in to change notification settings - Fork 757
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
Update CURLOPT constant descriptions #3818
Update CURLOPT constant descriptions #3818
Conversation
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.
Wow, a lot of work. Thank you!
Just left a couple of notes, before CURLE_OPERATION_TIMEOUTED
. :)
@@ -127,10 +130,10 @@ | |||
</term> | |||
<listitem> | |||
<para> | |||
Provides AWS V4 signature authentication on HTTP(S) header. | |||
Provides AWS V4 signature authentication on HTTP(S) header as a <type>string</type>. |
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.
Could also use &string;
, but <type>string</type>
might be preferred nowadays.
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.
The only reason I didn't use the entities is that there are only a few hundred uses of them in doc-en
but thousands of uses of the <type>
tags.
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.
If I remember correctly, we deliberately decided to not use the entities in the function signatures (where <type>string</type>
is supposed to occur often).
Maybe @Girgias knows whether it's preferable to use type elements or the respective entities elsewhere.
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.
It is better to use the <type>
element, as some translations translate the entity (don't ask me why doc-fr does it, but it does).
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.
With the same reasoning, they can translate the element as well. And soon we're back to
beschneide(zeichenkette $zeichenkette, zeichenkette $zeichen = " \n\r\t\v\x00"): zeichenkette
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.
I'm pretty sure some of the QA scripts that can be used for translation check this. Usually the entity is better used when we want to talk about the "concept" of a string (or other type) rather then directly referring to it as a PHP type.
But the distinction is not useful most of the time. So maybe we should just fix translations that do that.
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.
There also seems to be missing a bunch of patch versions for cURL availability (mainly 7.1
)
I think I have addressed all review comments such as:
|
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.
It looks like we got rid of some semantic breaks :/
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.
Readding semantic breaks where we are already editing it so it affects translations anyway
Updated descriptions of
CURLOPT_*
constants with the following:CURLALTSVC_*
instead of listing allCURLALTSVC_
constants individually)<literal>
tags, etc.)Unfortunately since
CURLOPT
constants are the biggest subset of all cURL constants, the diff is pretty big.