Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Some elements of the user interface are not translatable because of the lack of proper use of the t()
and Drupal.t()
functions. I’ll post a patch here.
Comment | File | Size | Author |
---|---|---|---|
#3 | media_translate-1248730-3.patch | 3.19 KB | idflood |
#1 | media_translate-1248730-1.patch | 3.19 KB | dboulet |
Comments
Comment #1
dboulet CreditAttribution: dboulet commentedHere is everything that I could find so far, I’ll post another patch if I discover more.
Comment #2
dboulet CreditAttribution: dboulet commentedSwitched to the 2.x version and same issues remain. Patch still applies.
Comment #3
idflood CreditAttribution: idflood commentedThe patch looks good but there was a little mistake of concatenation ( using the php's "." instead of "+" in javascript). Here is a reroll of last patch against 2.x (with the +)
I've tested it and it behave as expected, and the concatenation problem was the only one I spotted after a full review of the code.
Comment #4
dboulet CreditAttribution: dboulet commentedThanks for catching that idflood, I think that I worked too many hours that day. :)
Comment #5
Dave ReidCommitted #3 to both 7.x-2.x and 7.x-1.x.
http://drupalcode.org/project/media.git/commit/7e666bb
http://drupalcode.org/project/media.git/commit/c266b5a
Comment #6
dboulet CreditAttribution: dboulet commentedThanks Dave.