Closed (fixed)
Project:
Date
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2008 at 23:44 UTC
Updated:
15 Oct 2008 at 22:03 UTC
Hi,
CivicActions is reviewing and upgrading multiple modules for use on client sites. Part of this work is a coding standards review of internationalization handling of strings. Attached you will find a patch based on a review with the coder module and a careful examination of the code. Thanks!
The majority of the changes fall into two categories:
* messages given to watchdog() and format_plural() should have t() calls wrapped around them as these functions call t() themselves.
* strings passed to t() should not have leading or trailing spaces as it makes it difficult for translators to accurately translate them.
Cheers,
Stella
| Comment | File | Size | Author |
|---|---|---|---|
| date_i18n.patch | 7.23 KB | stella |
Comments
Comment #1
catchApplies cleanly, and all the changes look good to me.
Comment #2
karens commentedCommitted. Thanks! I went ahead and made the same changes in the D5 version, too.
Comment #3
stella commentedLooks like only the changes to date_repeat.module were committed for the DRUPAL-6--2 branch. All 3 modified files were committed for the D5 branch though.
Comment #4
stella commentedComment #5
karens commentedDoh! Not sure how I managed to do that. Just tried again. Thanks!
Comment #6
stella commentedThanks!
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.