From 234958e0076655efd8a58ea4502edce3226418ed Mon Sep 17 00:00:00 2001 From: S4KH Date: Fri, 21 Oct 2016 20:36:13 +0800 Subject: HW 4139: Make channel limits configurable in the System Console (#4154) * Auto Changes * 4139 Made channel limits configurable in the System Console as described in the issue * Removed error message entries from other locales, made maxChannelsPerteam type to pointer * Added * symbol to maxChannelsPerTeam inside isValid function * Update team_test.go * Restored to old test * Checked maximum number channels per team when creating channel * Fixed code to pass api/channel_test.go * Reverted changes on config except MaxChannelsPerTeam * Update channel.go * Ran gofmt -w . * Reverted vendor directoy --- webapp/i18n/en.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'webapp/i18n') diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index ae7d7d201..4e83c3264 100644 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -780,6 +780,9 @@ "admin.team.maxUsersDescription": "Maximum total number of users per team, including both active and inactive users.", "admin.team.maxUsersExample": "E.g.: \"25\"", "admin.team.maxUsersTitle": "Max Users Per Team:", + "admin.team.maxChannelsDescription": "Maximum total number of channels per team, including both active and deleted channels.", + "admin.team.maxChannelsExample": "Ex \"100\"", + "admin.team.maxChannelsTitle": "Max Channels Per Team:", "admin.team.noBrandImage": "No brand image uploaded", "admin.team.openServerDescription": "When true, anyone can signup for a user account on this server without the need to be invited.", "admin.team.openServerTitle": "Enable Open Server: ", -- cgit v1.2.3-1-g7c22