listHeader describes the listed subscriptions. The API reports no total, so a full page may not be all of them.
(count, limit int)
| 116 | |
| 117 | // listHeader describes the listed subscriptions. The API reports no total, so a full page may not be all of them. |
| 118 | func listHeader(count, limit int) string { |
| 119 | if count < limit { |
| 120 | return fmt.Sprintf("Showing %s", text.Pluralize(count, "event subscription")) |
| 121 | } |
| 122 | return fmt.Sprintf("Showing the %s", text.Pluralize(count, "most recent event subscription")) |
| 123 | } |