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

CommentFileSizeAuthor
fix-translation.patch2.89 KBtichris59

Comments

Tichris59 created an issue. See original summary.

mandclu’s picture

Status: Needs review » Fixed

Thanks for identifying this, and for the fix. Merged into the 8.x-2.x and 3.0.x branches.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.