Problem/Motivation
I Need to translate all field widget text for my webmaster.
Steps to reproduce
Try to translate "months", "days" in smart_date OR try to translate "None", "Never" in Smart Date Recur
Proposed resolution
I propose the following patch
For javascript in smart_date.js i patch because Drupal.t() doesn't work with dynamic values
For PHP I just add t() function to differents parts untranslated
| Comment | File | Size | Author |
|---|---|---|---|
| fix-translation.patch | 2.89 KB | tichris59 |
Comments
Comment #4
mandclu commentedThanks for identifying this, and for the fix. Merged into the 8.x-2.x and 3.0.x branches.