diff --git a/Makefile b/Makefile index 2dea0a9ea..c052ebbb0 100644 --- a/Makefile +++ b/Makefile @@ -100,6 +100,13 @@ swagger-check: generate-swagger exit 1; \ fi; +.PHONY: swagger-validate +swagger-validate: + @hash swagger > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ + $(GO) get -u github.com/go-swagger/go-swagger/cmd/swagger; \ + fi + swagger validate ./public/swagger.v1.json + .PHONY: errcheck errcheck: @hash errcheck > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ diff --git a/options/locale/locale_ru-RU.ini b/options/locale/locale_ru-RU.ini index bb6de1052..18c9f8bae 100644 --- a/options/locale/locale_ru-RU.ini +++ b/options/locale/locale_ru-RU.ini @@ -536,6 +536,7 @@ editor.new_branch_name_desc=Новое название ветки… editor.cancel=Отмена editor.filename_cannot_be_empty=Имя файла не может быть пустым. editor.branch_already_exists=Ветка «%s» уже существует в этом репозитории. +editor.file_changed_while_editing=Содержимое файла изменилось с момента начала редактирования. Нажмите здесь, чтобы увидеть, что было изменено, или Зафиксировать изменения снова, чтобы заменить их. editor.no_changes_to_show=Нет изменений. editor.fail_to_update_file=Не удалось обновить/создать файл «%s» из-за ошибки: %v editor.unable_to_upload_files=Не удалось загрузить файлы в «%s» из-за ошибки: %v