パッチ | なし | あり | ||
言語 | システム | 日本語 | システム | 日本語 |
Mac OS X | [英-英] (1 回め) [英-英] (2 回め) | [日-英] (1 回め) [日-日] (2 回め) | [英-英] | [日-日] |
*** wesnoth-1.1.8.orig/src/dialogs.cpp 2006-07-26 15:10:23.000000000 +0900 --- wesnoth-1.1.8/src/dialogs.cpp 2006-08-15 21:42:22.000000000 +0900 *************** *** 497,502 **** --- 497,504 ---- heading << HEADING_PREFIX << _("Name") << COLUMN_SEPARATOR << _("Date"); items.push_back(heading.str()); + char* old_locale= setlocale(LC_TIME, get_locale().localename.c_str()); + for(i = games.begin(); i != games.end(); ++i) { std::string name = i->name; name.resize(minimum<size_t>(name.size(),40)); *************** *** 507,512 **** --- 509,518 ---- items.push_back(str.str()); } + if(old_locale) { + setlocale(LC_TIME, old_locale); + } + gui::menu::basic_sorter sorter; sorter.set_alpha_sort(0).set_id_sort(1);