Changeset 3424
- Timestamp:
- 04/09/08 15:09:09 (8 months ago)
- Files:
-
- trunk/tango/text/locale/Core.d (modified) (1 diff)
- trunk/tango/text/locale/Data.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tango/text/locale/Core.d
r3349 r3424 296 296 Culture culture = getCultureInternal(cultureID, null); 297 297 if (culture is null) 298 error("Culture is not supported."); 298 299 version (Posix) { 300 error ("Culture not found - if this was not tried set by the application, Tango\n" 301 ~ "will expect that a locale is set via environment variables LANG or LC_ALL."); 302 } 303 else { 304 error ("Culture not found - if this was not tried set by the application, Tango\n" 305 ~ "will expect that a locale is set for the system ."); 306 } 299 307 return culture; 300 308 } trunk/tango/text/locale/Data.d
r2878 r3424 367 367 } 368 368 369 error ("Culture is not supported."); 369 version (Posix) { 370 error ("Culture not found - if this was not tried set by the application, Tango " 371 ~ "will expect that a locale is set via environment variables LANG or LC_ALL."); 372 } 373 else { 374 error ("Culture not found - if this was not tried set by the application, Tango " 375 ~ "will expect that a locale is set for the system ."); 376 } 370 377 return null; 371 378 }












