we are now refering to them as Widgets

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731239
This commit is contained in:
Aaron J. Seigo 2007-10-31 01:35:53 +00:00
parent ffcf6bc16b
commit 14ce8b1669

View File

@ -78,11 +78,11 @@ void AppletBrowser::init()
connect(d->appletList, SIGNAL(activated(const QModelIndex &)), this, SLOT(addApplet())); connect(d->appletList, SIGNAL(activated(const QModelIndex &)), this, SLOT(addApplet()));
setMainWidget(d->appletList); setMainWidget(d->appletList);
setWindowTitle("Add Applets"); setWindowTitle(i18n("Widgets"));
setButtons(KDialog::Apply | KDialog::Close | KDialog::User1); setButtons(KDialog::Apply | KDialog::Close | KDialog::User1);
setButtonText(KDialog::Apply, i18n("Add Applet")); setButtonText(KDialog::Apply, i18n("Add Widget"));
setButtonText(KDialog::User1, i18n("Get New Applets")); //TODO: not overly happy with this text setButtonText(KDialog::User1, i18n("Get New Widgets")); //TODO: not overly happy with this text
enableButton(KDialog::User1, false); //TODO: enable when GHNS integration is implemented enableButton(KDialog::User1, false); //TODO: enable when GHNS integration is implemented
connect(this, SIGNAL(applyClicked()), this, SLOT(addApplet())); connect(this, SIGNAL(applyClicked()), this, SLOT(addApplet()));
@ -91,7 +91,7 @@ void AppletBrowser::init()
QAction* quit = KStandardAction::quit(qApp, SLOT(quit()), this); QAction* quit = KStandardAction::quit(qApp, SLOT(quit()), this);
addAction(quit); addAction(quit);
d->filterModel.addFilter(i18n("All Applets"), d->filterModel.addFilter(i18n("All Widgets"),
KCategorizedItemsViewModels::Filter(), new KIcon("application-x-plasma")); KCategorizedItemsViewModels::Filter(), new KIcon("application-x-plasma"));
// Recommended emblems and filters // Recommended emblems and filters
@ -116,13 +116,13 @@ void AppletBrowser::init()
} }
// Other Emblems // Other Emblems
d->appletList->addEmblem(i18n("Used in Past"), new KIcon("history"), d->appletList->addEmblem(i18n("Widgets I Have Used Before"), new KIcon("history"),
KCategorizedItemsViewModels::Filter("used", true)); KCategorizedItemsViewModels::Filter("used", true));
// Filters: Special // Filters: Special
d->filterModel.addFilter(i18n("Favorites"), d->filterModel.addFilter(i18n("My Favorite Widgets"),
KCategorizedItemsViewModels::Filter("favorite", true), new KIcon("bookmark")); KCategorizedItemsViewModels::Filter("favorite", true), new KIcon("bookmark"));
d->filterModel.addFilter(i18n("Used in Past"), d->filterModel.addFilter(i18n("Widgets I Have Used Before"),
KCategorizedItemsViewModels::Filter("used", true), new KIcon("history")); KCategorizedItemsViewModels::Filter("used", true), new KIcon("history"));
d->filterModel.addSeparator(i18n("Categories:")); d->filterModel.addSeparator(i18n("Categories:"));