MM-46577: Remove empty translation strings (#20876)
We replace the empty translation key with <untranslated> which is ignored by the translation check tool. https://mattermost.atlassian.net/browse/MM-46577 ```release-note NONE ```
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
e8a45a8cf7
Коммит
c72e9131f4
@@ -19,7 +19,7 @@ type GithubReleaseInfo struct {
|
||||
|
||||
func (g *GithubReleaseInfo) IsValid() *AppError {
|
||||
if g.Id == 0 {
|
||||
return NewAppError("GithubReleaseInfo.IsValid", "model.github_release_info.is_valid.id.app_error", nil, "", http.StatusInternalServerError)
|
||||
return NewAppError("GithubReleaseInfo.IsValid", NoTranslation, nil, "empty ID", http.StatusInternalServerError)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Ссылка в новой задаче
Block a user