Use "Share" instead of "Publish" in remote widgets UI.

It's more user friendly and avoids misconceptions like "Publish"
being a way to publish to kde-apps for example.

svn path=/trunk/KDE/kdelibs/; revision=1037544
This commit is contained in:
Artur Duque de Souza 2009-10-19 13:29:29 +00:00
parent f8a73914d9
commit e9f98cd0d8
2 changed files with 4 additions and 4 deletions

View File

@ -1842,7 +1842,7 @@ void AppletPrivate::addPublishPage(KConfigDialog *dialog)
q->connect(publishUI.publishCheckbox, SIGNAL(stateChanged(int)),
q, SLOT(publishCheckboxStateChanged(int)));
dialog->addPage(page, i18n("Publish"), "applications-internet");
dialog->addPage(page, i18n("Share"), "applications-internet");
#endif
}
@ -1871,7 +1871,7 @@ void AppletPrivate::configDialogFinished()
}
#ifdef ENABLE_REMOTE_WIDGETS
q->config().writeEntry("Publish", publishUI.publishCheckbox->isChecked());
q->config().writeEntry("Share", publishUI.publishCheckbox->isChecked());
if (publishUI.publishCheckbox->isChecked()) {
QString resourceName =

View File

@ -14,7 +14,7 @@
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Publishing a widget on the network allows you to access this widget from another computer as a remote control.</string>
<string>Sharing a widget on the network allows you to access this widget from another computer as a remote control.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
@ -24,7 +24,7 @@
<item>
<widget class="QCheckBox" name="publishCheckbox">
<property name="text">
<string>Publish this widget on the network.</string>
<string>Share this widget on the network.</string>
</property>
</widget>
</item>