This commit is contained in:
Martin Rotter 2021-02-04 11:09:38 +01:00
parent d199109562
commit 9b2934a4fb
2 changed files with 8 additions and 7 deletions

View File

@ -16,6 +16,7 @@ RSS Guard is simple, light and easy-to-use RSS/ATOM feed aggregator developed us
* [Gmail API](https://developers.google.com/gmail/api),
* [FreshRSS](https://freshrss.org),
* [The Old Reader](https://theoldreader.com),
* [Bazqux](https://bazqux.com).
* [Bazqux](https://bazqux.com),
* [Reedah](http://reedah.com).
Application icon was kindly contributed by Siddharth Yadav - @Siddharth_yd (Instagram), illustrationdesignsid@gmail.com (e-mail). Flag icons were provided by [IconDrawer](http://www.icondrawer.com).

View File

@ -235,8 +235,8 @@ void StandardFeedDetails::onUrlChanged(const QString& new_url) {
m_ui.m_txtSource->setStatus(LineEditWithStatus::StatusType::Ok, tr("The source is ok."));
}
else if (!new_url.simplified().isEmpty()) {
m_ui.m_txtSource->setStatus(LineEditWithStatus::StatusType::Error,
tr("The source needs to include \"#\" separator."));
m_ui.m_txtSource->setStatus(LineEditWithStatus::StatusType::Warning,
tr("The source does not seem to use \"#\" separator for arguments."));
}
else {
m_ui.m_txtSource->setStatus(LineEditWithStatus::StatusType::Error, tr("The source is empty."));
@ -249,14 +249,14 @@ void StandardFeedDetails::onUrlChanged(const QString& new_url) {
void StandardFeedDetails::onPostProcessScriptChanged(const QString& new_pp) {
if (QRegularExpression(SCRIPT_SOURCE_TYPE_REGEXP).match(new_pp).hasMatch()) {
m_ui.m_txtPostProcessScript->setStatus(LineEditWithStatus::StatusType::Ok, tr("The source is ok."));
m_ui.m_txtPostProcessScript->setStatus(LineEditWithStatus::StatusType::Ok, tr("Command is ok."));
}
else if (!new_pp.simplified().isEmpty()) {
m_ui.m_txtPostProcessScript->setStatus(LineEditWithStatus::StatusType::Error,
tr("The source needs to include \"#\" separator."));
m_ui.m_txtPostProcessScript->setStatus(LineEditWithStatus::StatusType::Warning,
tr("Command not seem to use \"#\" separator for arguments."));
}
else {
m_ui.m_txtPostProcessScript->setStatus(LineEditWithStatus::StatusType::Ok, tr("The source is empty."));
m_ui.m_txtPostProcessScript->setStatus(LineEditWithStatus::StatusType::Ok, tr("Command is empty."));
}
}