Switch to unified view

a/src/qtgui/advsearch_w.cpp b/src/qtgui/advsearch_w.cpp
...
...
131
    bool calpop = 0;
131
    bool calpop = 0;
132
    minDateDTE->setCalendarPopup(calpop);
132
    minDateDTE->setCalendarPopup(calpop);
133
    maxDateDTE->setCalendarPopup(calpop);
133
    maxDateDTE->setCalendarPopup(calpop);
134
134
135
    // Translations for known categories
135
    // Translations for known categories
136
    cat_translations[QString::fromUtf8("texts")] = tr("texts");
136
    cat_translations[QString::fromUtf8("texts")] = tr("text");
137
    cat_rtranslations[tr("texts")] = QString::fromUtf8("texts"); 
137
    cat_rtranslations[tr("texts")] = QString::fromUtf8("text"); 
138
138
139
    cat_translations[QString::fromUtf8("spreadsheets")] = tr("spreadsheets");
139
    cat_translations[QString::fromUtf8("spreadsheet")] = tr("spreadsheet");
140
    cat_rtranslations[tr("spreadsheets")] = QString::fromUtf8("spreadsheets");
140
    cat_rtranslations[tr("spreadsheets")] = QString::fromUtf8("spreadsheet");
141
141
142
    cat_translations[QString::fromUtf8("presentations")] = tr("presentations");
142
    cat_translations[QString::fromUtf8("presentation")] = tr("presentation");
143
    cat_rtranslations[tr("presentations")] =QString::fromUtf8("presentations");
143
    cat_rtranslations[tr("presentation")] =QString::fromUtf8("presentation");
144
144
145
    cat_translations[QString::fromUtf8("media")] = tr("media");
145
    cat_translations[QString::fromUtf8("media")] = tr("media");
146
    cat_rtranslations[tr("media")] = QString::fromUtf8("media"); 
146
    cat_rtranslations[tr("media")] = QString::fromUtf8("media"); 
147
147
148
    cat_translations[QString::fromUtf8("messages")] = tr("messages");
148
    cat_translations[QString::fromUtf8("message")] = tr("message");
149
    cat_rtranslations[tr("messages")] = QString::fromUtf8("messages"); 
149
    cat_rtranslations[tr("message")] = QString::fromUtf8("message"); 
150
150
151
    cat_translations[QString::fromUtf8("other")] = tr("other");
151
    cat_translations[QString::fromUtf8("other")] = tr("other");
152
    cat_rtranslations[tr("other")] = QString::fromUtf8("other"); 
152
    cat_rtranslations[tr("other")] = QString::fromUtf8("other"); 
153
}
153
}
154
154