From bfe7955fb0c72bb6f3e0a1e0aaca70cff27d7ddc Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 3 Oct 2017 10:42:19 -0400 Subject: PLT-5549: No feedback when trying to save localization settings in System Console when Available Languages doesn't include the default client language (#7554) * Added server-side validation check for localization settings. Refactored validation checks to be easier to read * Fixed gofmt issues --- i18n/en.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'i18n') diff --git a/i18n/en.json b/i18n/en.json index 456727d9b..6b8671e9c 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -4383,6 +4383,10 @@ "id": "model.config.is_valid.data_retention.message_retention_days_too_low.app_error", "translation": "Message retention must be one day or longer." }, + { + "id": "model.config.is_valid.localization.available_locales.app_error", + "translation": "Available Languages must contain Default Client Language" + }, { "id": "model.config.is_valid.elastic_search.aggregate_posts_after_days.app_error", "translation": "Elasticsearch AggregatePostsAfterDays setting must be a number greater than or equal to 1" -- cgit v1.2.3-1-g7c22