Skip to content

Conversation

@taniwallach
Copy link
Member

In lib/WeBWorK/ContentGenerator/Instructor/StudentProgress.pm:

  1. The value n/a was being translated, but later a test against the plain value n/a is used. That will not work. I do not think that there is any need to translate this special string value. If I am not mistaken only instructors should see it.
  2. The value none was being translated. It is a one work term, so could require different translations in different contexts. It is used for when there was no test date/time - so using the plain n/a seems suitable here also.

In the other file replace two ambiguous short strings used as labels and set to be translated with slightly longer and explicit strings.

If this is merged - the localization file webwork.pot should be updated and synced to Transifex.

@taniwallach taniwallach requested review from drgrice1 and somiaj July 11, 2022 11:13
@drgrice1
Copy link
Member

If you are going to change the strings in Email.pm, then more needs to be done.

Without this pull request it reads Send to: | [ ] all | [ ] selected | students. This is where | is an input group separator, and [ ] is a radio button.

With this pull request is reads Send to: | [ ] all students | [ ] selected students | students, which is not right. Basically if all students is checked, then it reads Send to all students students.

So with this pull request the students label at the end of the input group should be removed.

… radios.

This is much better for translations.
@drgrice1
Copy link
Member

@taniwallach: I added a pull request to your branch for this pull request that changes the radio checkboxes on the SendMail.pm page in what I believe is a much better way for translations. Please consider it.

Replace the "Sent to all/selected students" input group with separate radios.
@taniwallach
Copy link
Member Author

@drgrice1 Thanks - your revised code was merged. I only tested the behavior is the browser without sending mails out as the testing was in a local docker based test platform.

@taniwallach taniwallach changed the title Some small changes to what should be translated and to some strings provided for translation Revisions to controls of SendMail.pm and some changes to what should be translated Jul 12, 2022
Copy link
Member

@drgrice1 drgrice1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@taniwallach taniwallach requested a review from pstaabp July 13, 2022 19:49
@taniwallach
Copy link
Member Author

@pstaabp As this has quite a bit of Glenn's code - could you take a look and merge?

@taniwallach taniwallach requested review from mgage and pstaabp and removed request for pstaabp and somiaj July 15, 2022 11:11
@drgrice1
Copy link
Member

I am going to merge this in a few hours unless there are objections. I want to deal with the Transifex translations, and that depends on this.

@taniwallach taniwallach requested review from dlglin and drdrew42 July 15, 2022 11:18
@taniwallach
Copy link
Member Author

I had hoped that someone else would test the SendMail.pm changes in addition to us, but unless someone else on the release team has a chance to test soon, I would say that you should go ahead and merge it.

@pstaabp pstaabp merged commit ef3a3d3 into openwebwork:WeBWorK-2.17 Jul 15, 2022
@taniwallach taniwallach deleted the some-maketext-changes branch July 15, 2022 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants