mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-04-29 15:45:23 +08:00
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
|
||
|---|---|---|
| .. | ||
| application_helper_spec.rb | ||
| email_helper_spec.rb | ||
| embed_helper_spec.rb | ||
| redis_snapshot_helper.rb | ||
| topics_helper_spec.rb | ||
| user_notifications_helper_spec.rb | ||