diff options
| author | shironeko <shironeko@tesaguri.club> | 2024-02-08 18:23:08 -0500 |
|---|---|---|
| committer | shironeko <shironeko@tesaguri.club> | 2024-02-08 19:01:19 -0500 |
| commit | 6b33820f1f13171c3b432d6bc548b23380a3790d (patch) | |
| tree | a41d04d3595bf1e5d6db79d5802e95ca36938016 | |
| parent | c005ada48723808e507d0a4d5a3363a1c14a4f07 (diff) | |
| download | invidious-6b33820f1f13171c3b432d6bc548b23380a3790d.tar.gz invidious-6b33820f1f13171c3b432d6bc548b23380a3790d.tar.bz2 invidious-6b33820f1f13171c3b432d6bc548b23380a3790d.zip | |
Add missing translation strings
closes #3120
| -rw-r--r-- | locales/en-US.json | 5 | ||||
| -rw-r--r-- | src/invidious/frontend/comments_reddit.cr | 2 |
2 files changed, 6 insertions, 1 deletions
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 <a href="javascript:void(0)" data-onclick="toggle_parent">[ − ]</a> <b><a href="https://www.reddit.com/user/#{child.author}">#{child.author}</a></b> #{translate_count(locale, "comments_points_count", child.score, NumberFormatting::Separator)} - <span title="#{child.created_utc.to_s(translate(locale, "%a %B %-d %T %Y UTC"))}">#{translate(locale, "`x` ago", recode_date(child.created_utc, locale))}</span> + <span title="#{child.created_utc.to_s("%a %B %-d %T %Y UTC")}">#{translate(locale, "`x` ago", recode_date(child.created_utc, locale))}</span> <a href="https://www.reddit.com#{child.permalink}" title="#{translate(locale, "permalink")}">#{translate(locale, "permalink")}</a> </p> <div> |
