From b7b5088f7e2f5dd21c8c53d98461609d1c89d6e3 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 1 Nov 2011 01:47:57 +0000 Subject: [PATCH] add accented characters to ut_text for french translation, RT#13655 --- FS/FS/Record.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index ece3a1684..3d57ee711 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -2244,7 +2244,7 @@ sub ut_text { #warn "notexist ". \¬exist. "\n"; #warn "AUTOLOAD ". \&AUTOLOAD. "\n"; $self->getfield($field) - =~ /^([\wô \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=\[\]\<\>$money_char]+)$/ + =~ /^([\wÉèôú \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=\[\]\<\>$money_char]+)$/ or return gettext('illegal_or_empty_text'). " $field: ". $self->getfield($field); $self->setfield($field,$1); -- 2.11.0