0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-13 13:17:29 +08:00
discourse/app/helpers
Régis HANOL 54fc63b4ad
FIX: Make twitter card meta data translatable (#39150)
The reading time and likes values in twitter card meta tags were
hard-coded English strings ("X mins 🕑" and "X ❤"). This made them
impossible to translate on Crowdin and also caused incorrect
pluralization ("1 mins" instead of "1 min").

Replace the hard-coded strings with I18n.t calls using new
`reading_time_minutes` and `likes_count` translation keys with proper
`one`/`other` pluralization.

https://meta.discourse.org/t/400164
2026-04-08 18:40:21 +02:00
..
application_helper.rb FIX: Make twitter card meta data translatable (#39150) 2026-04-08 18:40:21 +02:00
common_helper.rb Revert "DEV: Remove the word tags from adobe_analytics_tags_url" (#32490) 2025-04-28 22:46:28 +08:00
email_helper.rb UX: add preview to email templates (#36657) 2026-01-08 11:33:53 +04:00
embed_helper.rb DEV: Extract embed post date title into i18n-aware helper (#38594) 2026-03-17 09:12:21 -05:00
emoji_helper.rb FEATURE: Render emojis on GitHub labels when oneboxing an issue. (#13531) 2021-06-25 14:48:36 -03:00
list_helper.rb
posts_helper.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
qunit_helper.rb DEV: Use rollup for theme JS compilation (#33103) 2025-07-25 12:02:29 +01:00
topic_post_bookmarkable_helper.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
topics_helper.rb FEATURE: A dedicated 'show original' user preferences saved to user options (#39128) 2026-04-07 21:37:20 +08:00
user_notifications_helper.rb DEV: Refactors digest/summary email into partials (#33451) 2025-07-07 09:57:15 -05:00