Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Sep 2012 at 14:33 UTC
Updated:
4 Jan 2014 at 02:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
lars toomre commentedHere is an initial untested patch for this issue. This patch includes format_string() conversions as well.
The format_string() conversions appear to be correct, but are worthy of a closer look in the review process. A couple of them confused me at first and I had to convert some concatenations to escaped strings.
Comment #2
lars toomre commentedLooks like #1798756: Finish conversion of error_level to CMI added another t(). That will need to be removed.
Let's first see what reviewers of this patch have to say.
Comment #3
dcam commented#2 no longer applies due to changes in InfoAlterTest.php.
Comment #4
lars toomre commentedHere is a re-roll of the patch from #1. It also includes two additional fixes from the ErrorHandlerTest.php that were referenced in #2.
I did not go back and recheck that there were no other t() around assert messages. There might well have been some added since #1 was first rolled about three weeks ago. However, #1 was complete as of its creation time.
Thanks for trying to review this @dcam. Let me know what else you think needs to be changed.
Comment #6
lars toomre commentedDrupal\file\Tests\UsageTest test failure looks like it is a random test failure.
Comment #7
lars toomre commented#4: 1797926-4-t-assert-system.patch queued for re-testing.
Comment #8
dcam commentedI tested #4. There's an addtional t() to eliminate in SiteMaintenanceTest.php, line 103.
Comment #9
lars toomre commentedThanks for the review @dcam. Here is an updated patch with that one additional change.
Comment #10
dcam commented#9 looks good. I didn't find any additional t()'s around assert messages.
Comment #11
lars toomre commentedThanks again for the review @dcam! I glad that we are getting the D8 patches completed.
Comment #12
webchickComment #13
jhodgdonThanks! Committed to 8.x.
Comment #14
dcam commentedBackported #9 to D7.
I tried to stick to backporting only the changes made in #9. There are other t()'s around assert messages in system.test, but they may be handled by other issues with patches that are being backported. system.test will probably need to be checked for remaining t()'s after all system-test-related issues have been committed.
Comment #15
dcam commentedTagging as Novice.
Comment #16
izus commented#14: 1797926-14-t-assert-system.patch queued for re-testing.
Comment #17
izus commentedHi,
#14 seems good.
Thanks
Comment #18
jhodgdonThanks! Committed to 7.x.
Comment #19.0
(not verified) commentedUpdated initial counts.