From 6b33820f1f13171c3b432d6bc548b23380a3790d Mon Sep 17 00:00:00 2001
From: shironeko
Date: Thu, 8 Feb 2024 18:23:08 -0500
Subject: [PATCH] Add missing translation strings
closes #3120
---
locales/en-US.json | 5 +++++
src/invidious/frontend/comments_reddit.cr | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/locales/en-US.json b/locales/en-US.json
index a9f78165..29fc7db6 100644
--- a/locales/en-US.json
+++ b/locales/en-US.json
@@ -1,4 +1,9 @@
{
+ "Add to playlist": "Add to playlist",
+ "Add to playlist: ": "Add to playlist: ",
+ "Answer": "Answer",
+ "Search for videos": "Search for videos",
+ "The Popular feed has been disabled by the administrator.": "The Popular feed has been disabled by the administrator.",
"generic_channels_count": "{{count}} channel",
"generic_channels_count_plural": "{{count}} channels",
"generic_views_count": "{{count}} view",
diff --git a/src/invidious/frontend/comments_reddit.cr b/src/invidious/frontend/comments_reddit.cr
index b5647bae..4dda683e 100644
--- a/src/invidious/frontend/comments_reddit.cr
+++ b/src/invidious/frontend/comments_reddit.cr
@@ -33,7 +33,7 @@ module Invidious::Frontend::Comments
[ − ]
#{child.author}
#{translate_count(locale, "comments_points_count", child.score, NumberFormatting::Separator)}
- #{translate(locale, "`x` ago", recode_date(child.created_utc, locale))}
+ #{translate(locale, "`x` ago", recode_date(child.created_utc, locale))}
#{translate(locale, "permalink")}