-
-
Couldn't load subscription status.
- Fork 167
Fix many typos #2802
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 many typos #2802
Conversation
|
I would suggest renaming your commits to not be questions, but state what they do. |
lib/WeBWorK/Localize/webwork2.pot
Outdated
|
|
||
| #: /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Problem.pm:1483 | ||
| msgid "ATTEMPT NOT ACCEPTED -- Please submit answers again (or request new version if neccessary)." | ||
| msgid "ATTEMPT NOT ACCEPTED -- Please submit answers again (or request new version if necessary)." |
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 webwork2.pot file should not be directly modified. It is generated by the bin/dev_scripts/update-localization-files script. Once the string is corrected in the code, then this will be fixed when that script is run again.
|
The line in the tagwidget.js file is a typo, but not a major concern. It would only happen if the taxonomy file failed to be downloaded. Note that this is only something that admin users use in any case, and even then not much. |
|
This was a fine pull request. Why did you close it? |
|
Okay I will reopen.
*
John
…________________________________
From: Glenn Rice ***@***.***>
Sent: Sunday, September 7, 2025 9:36:55 PM
To: openwebwork/webwork2 ***@***.***>
Cc: John Eismeier ***@***.***>; State change ***@***.***>
Subject: Re: [openwebwork/webwork2] is this a concern ? (PR #2802)
[https://avatars.githubusercontent.com/u/47527406?s=20&v=4]drgrice1 left a comment (openwebwork/webwork2#2802)<#2802 (comment)>
This was a fine pull request. Why did you close it?
—
Reply to this email directly, view it on GitHub<#2802 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKFTXFW34YWGVPPN5QAZDLT3RTMTPAVCNFSM6AAAAACF3A4OBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTENRUGI4TKMBRGU>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
|
I would like to remove all typos if that is okay |
|
Just edit your commits and force push your branch to address the concerns raised here. It overall looks good. |
|
What exactly do you mean by "remove all typos"? Do you mean remove all of the fixes of typos from this pull request, or do you mean to make the pull request fix all typos in the code, or do you mean something else entirely? |
|
I found other typos in the repo. Happy to propose more corrections with another pull request
*
John
…________________________________
From: Glenn Rice ***@***.***>
Sent: Monday, September 8, 2025 8:34:37 AM
To: openwebwork/webwork2 ***@***.***>
Cc: John Eismeier ***@***.***>; State change ***@***.***>
Subject: Re: [openwebwork/webwork2] is this a concern ? (PR #2802)
[https://avatars.githubusercontent.com/u/47527406?s=20&v=4]drgrice1 left a comment (openwebwork/webwork2#2802)<#2802 (comment)>
What exactly do you mean by "remove all typos"? Do you mean remove all of the fixes of typos from this pull request, or do you mean to make the pull request fix all typos in the code, or do you mean something else entirely?
—
Reply to this email directly, view it on GitHub<#2802 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKFTXFUDQPAKMKYQFCO3VMD3RVZV3AVCNFSM6AAAAACF3A4OBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTENRWGA4DOOJZG4>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
|
If you find other typos, you can either add them to this pull request or as you said, create another pull request. Note that you should not fix typos in any of the Of course if you make a change that shouldn't be, then we will comment on it here (or in another pull request you make). |
|
Thank you for the details on *.po* files
I will have time later this week for additional proposed updates regarding typos
*
John
…________________________________
From: Glenn Rice ***@***.***>
Sent: Monday, September 8, 2025 8:58:04 AM
To: openwebwork/webwork2 ***@***.***>
Cc: John Eismeier ***@***.***>; State change ***@***.***>
Subject: Re: [openwebwork/webwork2] is this a concern ? (PR #2802)
[https://avatars.githubusercontent.com/u/47527406?s=20&v=4]drgrice1 left a comment (openwebwork/webwork2#2802)<#2802 (comment)>
If you find other typos, you can either add them to this pull request or as you said, create another pull request.
Note that you should not fix typos in any of the *.pot or *.po files in the lib/WeBWorK/Localize directory, since those are generated files and generally should not be directly edited.
Of course if you make a change that shouldn't be, then we will comment on it here (or in another pull request you make).
—
Reply to this email directly, view it on GitHub<#2802 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKFTXFUWY3APGPXYNR5ULDD3RV4NZAVCNFSM6AAAAACF3A4OBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTENRWGE4TGMJSGE>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
|
This looks good, thanks. Except it would be better to remove the change to |
|
Sorry about that on the webwork2.pot. I will remove as soon as I can.
*
John
…________________________________
From: Alex Jordan ***@***.***>
Sent: Friday, September 12, 2025 6:32:50 PM
To: openwebwork/webwork2 ***@***.***>
Cc: John Eismeier ***@***.***>; State change ***@***.***>
Subject: Re: [openwebwork/webwork2] Fix many typos (PR #2802)
[https://avatars.githubusercontent.com/u/4732672?s=20&v=4]Alex-Jordan left a comment (openwebwork/webwork2#2802)<#2802 (comment)>
This looks good, thanks. Except it would be better to remove the change to lib/WeBWorK/Localize/webwork2.pot from the PR. If you could remove that, I imagine we could quickly merge this now that it's been reviewed.
—
Reply to this email directly, view it on GitHub<#2802 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKFTXFQXQ7SEZXHGDNBEX3D3SNCZFAVCNFSM6AAAAACF3A4OBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEOBXGAYTANRQGA>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
| exit $err if $err; | ||
| die "The -pro option is not suppored by this script.\n" if defined $options{profile}; | ||
| die "The -pro option is not supported by this script.\n" if defined $options{profile}; |
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.
Due to the addition of a letter on line 69, another space is needed on line 68 to make the ifs line up. That is why the perltidy action is failing.
|
Should I change or revert this file?
*
John
________________________________
From: Glenn Rice ***@***.***>
Sent: Sunday, September 14, 2025 11:26:45 AM
To: openwebwork/webwork2 ***@***.***>
Cc: John Eismeier ***@***.***>; State change ***@***.***>
Subject: Re: [openwebwork/webwork2] Fix many typos (PR #2802)
@drgrice1 commented on this pull request.
________________________________
In bin/dev_scripts/run-perltidy.pl<#2802 (comment)>:
exit $err if $err;
-die "The -pro option is not suppored by this script.\n" if defined $options{profile};
+die "The -pro option is not supported by this script.\n" if defined $options{profile};
Due to the addition of a letter on line 69, another space is needed on line 68 to make the ifs line up. That is why the perltidy action is failing.
—
Reply to this email directly, view it on GitHub<#2802 (review)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKFTXFXXPXX7MDRI76QZFH33SWCLLAVCNFSM6AAAAACF3A4OBKVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTEMRSGE3TCNRZGE>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
|
Fix the spacing. The spelling error should be fixed. |
|
I will repair the space soon. Thanks for the pertidy education. I will get better at this.
*
John
…________________________________
From: Glenn Rice ***@***.***>
Sent: Sunday, September 14, 2025 12:34:43 PM
To: openwebwork/webwork2 ***@***.***>
Cc: John Eismeier ***@***.***>; State change ***@***.***>
Subject: Re: [openwebwork/webwork2] Fix many typos (PR #2802)
[https://avatars.githubusercontent.com/u/47527406?s=20&v=4]drgrice1 left a comment (openwebwork/webwork2#2802)<#2802 (comment)>
Fix the spacing. The spelling error should be fixed.
—
Reply to this email directly, view it on GitHub<#2802 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKFTXFQCS5BAH4LTBK3B2CL3SWKKHAVCNFSM6AAAAACF3A4OBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEOBZGY3TGMRQGM>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
|
Ideally you would have your text editor set up to automatically run perltidy anytime you save a Perl file. That way you don't have to think about it. |
|
Got it. Just looked that up for emacs.
*
John
…________________________________
From: Glenn Rice ***@***.***>
Sent: Sunday, September 14, 2025 12:41:02 PM
To: openwebwork/webwork2 ***@***.***>
Cc: John Eismeier ***@***.***>; State change ***@***.***>
Subject: Re: [openwebwork/webwork2] Fix many typos (PR #2802)
[https://avatars.githubusercontent.com/u/47527406?s=20&v=4]drgrice1 left a comment (openwebwork/webwork2#2802)<#2802 (comment)>
Ideally you would have your text editor set up to automatically run perltidy anytime you save a Perl file. That way you don't have to think about it.
—
Reply to this email directly, view it on GitHub<#2802 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKFTXFVWOFLSI4A2ZJV3OBD3SWLB5AVCNFSM6AAAAACF3A4OBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEOBZGY3TONBTHE>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
lib/WeBWorK/Utils.pm
Outdated
| Usage: C<cryptPassword($clearPassword)> | ||
| Returns the crypted form of C<$clearPassword> using a random 16 character | ||
| Returns the encrypted form of C<$clearPassword> using a random 16 character |
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.
This is not actually a typo. Crypted is a slangy way of saying encrypted. Also, the Perl crypt method is used to encrypt the password, and so crypted is the past tense of that method name.
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.
Thank you for fixing.
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.
This looks good, although I have no opinion on whether "encrypted" should go back to "crypted". I'm marking as approved so we can get this in, and any future typo fixes could be on a smaller PR.
|
Since Perl crypt is understood by developers, will it also be understood by Faculty and students? |
|
The place where this is is only for developers. So your question does not pertain to that situation. |
|
Thank you for the perl crypt education. Do I need to revert any other files? |
|
Everything else looks good. |
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 on the fence on the "crypted" versus "encrypted" on the one line, but everything else looks good to me.
|
On the The word |
|
I think that it should remain as |
is messsage a concern on this line of code ?