Commit a023880792bb1e6776a0f80ca4a5ce5e680903c6
1 parent
568e84c9
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
community_hub: adds description methods
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
plugins/community_hub/lib/community_hub_plugin/mediation.rb
| @@ -12,4 +12,12 @@ class CommunityHubPlugin::Mediation < Article | @@ -12,4 +12,12 @@ class CommunityHubPlugin::Mediation < Article | ||
| 12 | "hub-mediation-#{(Time.now.to_f * 1000).to_i}" | 12 | "hub-mediation-#{(Time.now.to_f * 1000).to_i}" |
| 13 | end | 13 | end |
| 14 | 14 | ||
| 15 | + def self.description | ||
| 16 | + _('Hub mediation') | ||
| 17 | + end | ||
| 18 | + | ||
| 19 | + def self.short_description | ||
| 20 | + _('Hub mediation') | ||
| 21 | + end | ||
| 22 | + | ||
| 15 | end | 23 | end |