From 395cb3a996482c9e9fc27e00b4259219f85ec663 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sun, 1 Aug 2021 14:06:59 +0300 Subject: Translations for hardcoded English strings IssueID #276 --- src/mimehooks.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mimehooks.c') diff --git a/src/mimehooks.c b/src/mimehooks.c index 4788d534..ce712c2d 100644 --- a/src/mimehooks.c +++ b/src/mimehooks.c @@ -139,9 +139,8 @@ static iBlock *translateAtomXmlToGeminiFeed_(const iString *mime, const iBlock * if (!isEmpty_String(subtitle)) { appendFormat_String(&out, "## %s\n\n", cstr_String(subtitle)); } - appendCStr_String(&out, - "This Atom XML document has been automatically translated to a Gemini feed " - "to allow subscribing to it.\n\n"); + appendCStr_String(&out, cstr_Lang("feeds.atom.translated")); + appendCStr_String(&out, "\n\n"); iRegExp *datePattern = iClob(new_RegExp("^([0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9])T.*", caseSensitive_RegExpOption)); iBeginCollect(); -- cgit v1.2.3