diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2024-02-18 23:54:41 +0100 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2024-02-19 00:15:44 +0100 |
| commit | d3703baba9a91bcef712b205efe8258f6ba15470 (patch) | |
| tree | f155a8bfba43a6d2c8ac5a2e08143d549c52489d | |
| parent | 20203f4ec06092ade186c043de577ae01741fbbc (diff) | |
| parent | 6b33820f1f13171c3b432d6bc548b23380a3790d (diff) | |
| download | invidious-d3703baba9a91bcef712b205efe8258f6ba15470.tar.gz invidious-d3703baba9a91bcef712b205efe8258f6ba15470.tar.bz2 invidious-d3703baba9a91bcef712b205efe8258f6ba15470.zip | |
I18n: Add missing translation strings (#4424)
Closes issue 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 227b0677..da83767c 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> |
