From 2069657bd11a5d047c883c141dfa28e39d983a65 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 4 Feb 2021 17:50:26 +0000 Subject: Import only English news --- gentoobrowse-api/service/maintenance/newsProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoobrowse-api/service/maintenance/newsProcessor.cpp b/gentoobrowse-api/service/maintenance/newsProcessor.cpp index 9f5cb55..8a67c3e 100644 --- a/gentoobrowse-api/service/maintenance/newsProcessor.cpp +++ b/gentoobrowse-api/service/maintenance/newsProcessor.cpp @@ -24,7 +24,7 @@ namespace Gentoo { NewsProcessor::match(const PathParts & pp) const { return (pp.size() == 4 && pp[0] == "metadata" && pp[1] == "news" - && boost::algorithm::ends_with(pp[3], ".txt")); + && boost::algorithm::ends_with(pp[3], ".en.txt")); } void -- cgit v1.2.3