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.
"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 >_< )
Comment | File | Size | Author |
---|---|---|---|
#5 | autologout-7.x-4.x-translating_inactivity_message-2944116-5-D7.patch | 631 bytes | Johan den Hollander |
#3 | autologout-7.x-4.x-translating_inactivity_message-2944116-2-D7.patch | 861 bytes | Drumanuel |
Comments
Comment #2
Drumanuel CreditAttribution: Drumanuel commentedComment #3
Drumanuel CreditAttribution: Drumanuel commentedComment #4
Drumanuel CreditAttribution: Drumanuel commentedComment #5
Johan den Hollander CreditAttribution: Johan den Hollander at Finalist commentedThe previous patch would not apply via composer.
Comment #6
DeaOm CreditAttribution: DeaOm at Agiledrop - Your Trusted Drupal Teammates commentedPatch 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.Comment #7
DeaOm CreditAttribution: DeaOm at Agiledrop - Your Trusted Drupal Teammates commentedSearching through the issues I found a duplicate of this issue #3061216: Translate message that already has a RTBC, so I'm closing this one.