add xgettext:no-c-format not to confuse i18n()
This commit is contained in:
parent
a51283b62b
commit
0d6f5e22a4
2 changed files with 4 additions and 6 deletions
|
@ -33,6 +33,8 @@ ShareConfig::ShareConfig(QWidget *parent, const QVariantList& args)
|
||||||
, m_ui(new Ui::ShareConfigUi())
|
, m_ui(new Ui::ShareConfigUi())
|
||||||
{
|
{
|
||||||
m_ui->setupUi(this);
|
m_ui->setupUi(this);
|
||||||
|
// xgettext:no-c-format
|
||||||
|
m_ui->commentLabel->setText(i18n("%1 in the path will be replaced with the specific device name."));
|
||||||
|
|
||||||
connect(m_ui->kurlrequester, SIGNAL(textChanged(QString)), this, SLOT(changed()));
|
connect(m_ui->kurlrequester, SIGNAL(textChanged(QString)), this, SLOT(changed()));
|
||||||
}
|
}
|
||||||
|
@ -55,7 +57,7 @@ void ShareConfig::load()
|
||||||
{
|
{
|
||||||
KCModule::load();
|
KCModule::load();
|
||||||
|
|
||||||
m_ui->kurlrequester->setUrl(config()->get("incoming_path", QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::DownloadLocation))));
|
m_ui->kurlrequester->setUrl(QUrl::fromLocalFile(config()->get("incoming_path", QStandardPaths::writableLocation(QStandardPaths::DownloadLocation))));
|
||||||
|
|
||||||
Q_EMIT changed(false);
|
Q_EMIT changed(false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,11 +48,7 @@
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_2">
|
<widget class="QLabel" name="commentLabel"/>
|
||||||
<property name="text">
|
|
||||||
<string>%1 in the path will be replaced with the specific device name.</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
Loading…
Reference in a new issue