From: <Wil...@nt...> - 2005-11-24 09:30:07
|
Author: WillNorris Date: 2005-11-24 01:28:13 -0800 (Thu, 24 Nov 2005) New Revision: 7629 Modified: twiki/branches/DEVELOP/lib/TWiki/I18N.pm Log: Item1024: only warn about inability to use I18N if it was requested Modified: twiki/branches/DEVELOP/lib/TWiki/I18N.pm =================================================================== --- twiki/branches/DEVELOP/lib/TWiki/I18N.pm 2005-11-23 23:31:09 UTC (rev 7628) +++ twiki/branches/DEVELOP/lib/TWiki/I18N.pm 2005-11-24 09:28:13 UTC (rev 7629) @@ -212,8 +212,9 @@ } else { $this = new TWiki::I18N::Fallback(); # we couldn't initialise 'optional' I18N infrastructure, warn that we - # can only use English. - $session->writeWarning('Could not load I18N infrastructure; falling back to English'); + # can only use English if I18N has been requested with configure + $session->writeWarning('Could not load I18N infrastructure; falling back to English') + if $TWiki::cfg{UserInterfaceInternationalisation}; } # keep a reference to the session object |