diff --git a/langs/english.json b/langs/english.json index 84985a73..816c2b68 100644 --- a/langs/english.json +++ b/langs/english.json @@ -923,9 +923,11 @@ "panel_group_extended_permissions":"Extended Permissions", "panel_group_mod_permissions":"Moderator Permissions", - "panel_group_promotions_level_prefix":"level ", - "panel_group_promotions_posts_prefix":"posts ", - "panel_group_promotions_delete_button":"Delete", + "panel_group_promotions_row_level_prefix":"level ", + "panel_group_promotions_row_posts_prefix":"posts ", + "panel_group_promotions_row_registered_minutes":"registered for %d minutes", + "panel_group_promotions_row_delete_button":"Delete", + "panel_group_promotions_create_head":"Add Promotion", "panel_group_promotions_from":"From", "panel_group_promotions_to":"To", @@ -933,6 +935,9 @@ "panel_group_promotions_level":"Level", "panel_group_promotions_posts":"Posts", "panel_group_promotion_registered_for":"Registered For", + "panel_group_promotion_registered_months_suffix":" months", + "panel_group_promotion_registered_days_suffix":" days", + "panel_group_promotion_registered_hours_suffix":" hours", "panel_group_promotions_create_button":"Add Promotion", "panel_word_filters_head":"Word Filters", diff --git a/templates/panel_group_edit_promotions.html b/templates/panel_group_edit_promotions.html index 8457bddf..3163b364 100644 --- a/templates/panel_group_edit_promotions.html +++ b/templates/panel_group_edit_promotions.html @@ -11,11 +11,11 @@ {{range .Promotions}}
{{.FromGroup.Name}} -> {{.ToGroup.Name}}{{if .TwoWay}} (two way){{end}} - {{if .Level}} - {{lang "panel_group_promotions_level_prefix"}}{{.Level}}{{end}} - {{if .Posts}} - {{lang "panel_group_promotions_posts_prefix"}}{{.Posts}}{{end}} - {{if .RegisteredFor}} - registered for {{.RegisteredFor}} minutes{{end}} + {{if .Level}} - {{lang "panel_group_promotions_row_level_prefix"}}{{.Level}}{{end}} + {{if .Posts}} - {{lang "panel_group_promotions_row_posts_prefix"}}{{.Posts}}{{end}} + {{if .RegisteredFor}} - {{langf "panel_group_promotions_row_registered_minutes" .RegisteredFor}}{{end}}
- +
{{end}}
@@ -66,9 +66,9 @@
- months
- days
- hours + {{lang "panel_group_promotion_registered_months_suffix"}}
+ {{lang "panel_group_promotion_registered_days_suffix"}}
+ {{lang "panel_group_promotion_registered_hours_suffix"}}