"You have been logged out due to inactivity." can not be translated. I added a t() function.

I created a patch.

(ok, I see I can't delete my own comments. They can be deleted >_< )

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

emmanuelmaltete created an issue. See original summary.

Drumanuel’s picture

Drumanuel’s picture

Drumanuel’s picture

Issue summary: View changes
Johan den Hollander’s picture

Title: Translate inactivity message » Updated patch
FileSize
631 bytes

The previous patch would not apply via composer.

DeaOm’s picture

Title: Updated patch » Inactivity message not translatable.
Status: Active » Needs review

Patch does apply, maybe a better approach would be $message = variable_get('autologout_inactivity_message', t('You have been logged out due to inactivity.')); But I can't seem to get the string to show up, so that it can be translated. So marking this one as needs review.

DeaOm’s picture

Status: Needs review » Closed (duplicate)

Searching through the issues I found a duplicate of this issue #3061216: Translate message that already has a RTBC, so I'm closing this one.