[MM-62293]: Remove Elasticsearch from translation strings (#29728)

We cannot simply use Elasticsearch any more because
we support Opensearch as well.

Therefore changing Elasticsearch to just say Search.

Note: There are still some cases where Elasticsearch
is used. That is intentional and necessary.

```release-note
NONE
```
Этот коммит содержится в:
Agniva De Sarker
2025-01-08 11:11:59 +05:30
коммит произвёл GitHub
родитель e0e24aaa6f
Коммит 647c9b6808
4 изменённых файлов: 17 добавлений и 15 удалений

Просмотреть файл

@@ -4300,11 +4300,17 @@ func (s *ElasticsearchSettings) isValid() *AppError {
}
if *s.EnableSearching && !*s.EnableIndexing {
return NewAppError("Config.IsValid", "model.config.is_valid.elastic_search.enable_searching.app_error", nil, "", http.StatusBadRequest)
return NewAppError("Config.IsValid", "model.config.is_valid.elastic_search.enable_searching.app_error", map[string]any{
"Searching": "ElasticsearchSettings.EnableSearching",
"EnableIndexing": "ElasticsearchSettings.EnableIndexing",
}, "", http.StatusBadRequest)
}
if *s.EnableAutocomplete && !*s.EnableIndexing {
return NewAppError("Config.IsValid", "model.config.is_valid.elastic_search.enable_autocomplete.app_error", nil, "", http.StatusBadRequest)
return NewAppError("Config.IsValid", "model.config.is_valid.elastic_search.enable_autocomplete.app_error", map[string]any{
"Autocomplete": "ElasticsearchSettings.EnableAutocomplete",
"EnableIndexing": "ElasticsearchSettings.EnableIndexing",
}, "", http.StatusBadRequest)
}
if *s.AggregatePostsAfterDays < 1 {