Fix VS compilation problem from addon filters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
74cc3d1f01
commit
0f250999f8
@ -42,15 +42,25 @@ AddonsScreen::AddonsScreen() : Screen("addons_screen.stkgui")
|
||||
m_selected_index = -1;
|
||||
|
||||
// Add date filters.
|
||||
m_date_filters.push_back((DateFilter) {_("All") , 0, 0, 0});
|
||||
m_date_filters.push_back((DateFilter) {_("1 week") , 0, 0, 7});
|
||||
m_date_filters.push_back((DateFilter) {_("2 weeks") , 0, 0, 12});
|
||||
m_date_filters.push_back((DateFilter) {_("1 month") , 0, 1, 0});
|
||||
m_date_filters.push_back((DateFilter) {_("3 months") , 0, 3, 0});
|
||||
m_date_filters.push_back((DateFilter) {_("6 months") , 0, 6, 0});
|
||||
m_date_filters.push_back((DateFilter) {_("9 months") , 0, 9, 0});
|
||||
m_date_filters.push_back((DateFilter) {_("1 year") , 1, 0, 0});
|
||||
m_date_filters.push_back((DateFilter) {_("2 years") , 2, 0, 0});
|
||||
// I18N: Time filters for add-ons
|
||||
DateFilter filter_all = {_("All"), 0, 0, 0};
|
||||
DateFilter filter_1w = {_("1 week"), 0, 0, 7};
|
||||
DateFilter filter_2w = {_("2 weeks"), 0, 0, 12};
|
||||
DateFilter filter_1m = {_("1 month"), 0, 1, 0};
|
||||
DateFilter filter_3m = {_("3 months"), 0, 3, 0};
|
||||
DateFilter filter_6m = {_("6 months"), 0, 6, 0};
|
||||
DateFilter filter_9m = {_("9 months"), 0, 9, 0};
|
||||
DateFilter filter_1y = {_("1 year"), 1, 0, 0};
|
||||
DateFilter filter_2y = {_("2 years"), 2, 0, 0};
|
||||
m_date_filters.push_back(filter_all);
|
||||
m_date_filters.push_back(filter_1w);
|
||||
m_date_filters.push_back(filter_2w);
|
||||
m_date_filters.push_back(filter_1m);
|
||||
m_date_filters.push_back(filter_3m);
|
||||
m_date_filters.push_back(filter_6m);
|
||||
m_date_filters.push_back(filter_9m);
|
||||
m_date_filters.push_back(filter_1y);
|
||||
m_date_filters.push_back(filter_2y);
|
||||
|
||||
} // AddonsScreen
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user