From 8406e854aa912f3d7f9179b10356444f07e25223 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Wed, 14 Dec 2016 11:11:51 +0000 Subject: PLT-4332 Position field for Users (#4632) * Add User.Position field to store & model. * GOFMT * Add Position to user settings. * Unit tests. * Add position to profile popup. * i18n * Fix log message for invalid position. * Add Position field attribute to LDAP config. * Add Position field attribute to SAML config. * Reword empty position message. * Change Position Max Length to 35. * Better invalid position error message. * Add new fields to config.json. * Ensure position is never longer than max when displayed. * Hard limit of 64 chars with soft limit still 35 * Put field with other attributes. --- i18n/en.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'i18n/en.json') diff --git a/i18n/en.json b/i18n/en.json index 37acda939..a035da711 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -3875,6 +3875,10 @@ "id": "model.user.is_valid.nickname.app_error", "translation": "Invalid nickname" }, + { + "id": "model.user.is_valid.position.app_error", + "translation": "Invalid position: must not be longer than 35 characters." + }, { "id": "model.user.is_valid.pwd.app_error", "translation": "Your password must contain at least {{.Min}} characters." -- cgit v1.2.3-1-g7c22