Show
Ignore:
Timestamp:
05/22/10 21:02:51 (3 years ago)
Author:
saturday06
Message:

windows => utf16
cocoa => utf8

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/objective-cplusplus/i3/trunk/src/tests/TestNLS.cc

    r37684 r37685  
    234234#endif 
    235235 
    236     QT_CHECK_NOT_EQUAL(set_locale("da_DK"), -1); 
     236    set_locale("da_DK"); 
    237237    check_translation("Hello, world!", _T("Hej verden!")); 
    238238 
    239 #if MIL_OS_UNIX || defined(UNICODE) 
    240     QT_CHECK_NOT_EQUAL(set_locale("ja_JP"), -1); 
     239#if MIL_GUI_COCOA || defined(UNICODE) 
     240    set_locale("ja_JP"); 
    241241    check_translation("Hello, world!", hello_world_ja); 
    242242#endif 
    243243 
    244     QT_CHECK_NOT_EQUAL(set_locale("lv_LV"), -1); 
     244    set_locale("lv_LV"); 
    245245    check_translation("Hello, world!", _T("Sveika, pasaule!")); 
    246246}