if ($self->{lastmtime} && $self->{lastmtime} ne $ref->{mtime} ) {
$ref->{mtime} ||= $ref->{itime};
if ($self->{lastmtime} && $self->{lastmtime} ne $ref->{mtime} ) {
- my $etxt = ($option eq 'mail') ? "The document has been changed by another user. Please reopen it in another window and copy the changes to the new window" :
- "The document has been changed by another user. No mail was sent. Please reopen it in another window and copy the changes to the new window";
- $self->error($main::locale->text($etxt));
+ $self->error(($option eq 'mail') ?
+ t8("The document has been changed by another user. No mail was sent. Please reopen it in another window and copy the changes to the new window") :
+ t8("The document has been changed by another user. Please reopen it in another window and copy the changes to the new window")