add set-ref command and refactor tests
This commit is contained in:
		| @@ -5,15 +5,15 @@ | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: unnamed project\n" | ||||
| "PO-Revision-Date: 2025-05-13 23:24+0300\n" | ||||
| "PO-Revision-Date: 2025-05-16 20:47+0300\n" | ||||
| "Last-Translator: Maxim Slipenko <maks1ms@alt-gnome.ru>\n" | ||||
| "Language-Team: Russian\n" | ||||
| "Language: ru\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
| "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" | ||||
| "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" | ||||
| "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " | ||||
| "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" | ||||
| "X-Generator: Gtranslator 48.0\n" | ||||
|  | ||||
| #: build.go:42 | ||||
| @@ -290,6 +290,8 @@ msgid "" | ||||
| "This command is deprecated and would be removed in the future, use \"%s\" " | ||||
| "instead!" | ||||
| msgstr "" | ||||
| "Эта команда устарела и будет удалена в будущем, используйте вместо нее " | ||||
| "\"%s\"!" | ||||
|  | ||||
| #: internal/db/db.go:137 | ||||
| msgid "Database version mismatch; resetting" | ||||
| @@ -477,53 +479,61 @@ msgstr "Скачать все изменённые репозитории" | ||||
|  | ||||
| #: repo.go:39 | ||||
| msgid "Manage repos" | ||||
| msgstr "" | ||||
| msgstr "Управление репозиториями" | ||||
|  | ||||
| #: repo.go:50 repo.go:220 | ||||
| #: repo.go:51 repo.go:269 | ||||
| msgid "Remove an existing repository" | ||||
| msgstr "Удалить существующий репозиторий" | ||||
|  | ||||
| #: repo.go:52 | ||||
| #: repo.go:53 | ||||
| msgid "<name>" | ||||
| msgstr "" | ||||
| msgstr "<имя>" | ||||
|  | ||||
| #: repo.go:82 | ||||
| #: repo.go:83 | ||||
| msgid "Repo \"%s\" does not exist" | ||||
| msgstr "Репозитория \"%s\" не существует" | ||||
|  | ||||
| #: repo.go:89 | ||||
| #: repo.go:90 | ||||
| msgid "Error removing repo directory" | ||||
| msgstr "Ошибка при удалении каталога репозитория" | ||||
|  | ||||
| #: repo.go:93 repo.go:160 | ||||
| #: repo.go:94 repo.go:161 repo.go:219 | ||||
| msgid "Error saving config" | ||||
| msgstr "Ошибка при сохранении конфигурации" | ||||
|  | ||||
| #: repo.go:112 | ||||
| #: repo.go:113 | ||||
| msgid "Error removing packages from database" | ||||
| msgstr "Ошибка при удалении пакетов из базы данных" | ||||
|  | ||||
| #: repo.go:123 repo.go:190 | ||||
| #: repo.go:124 repo.go:239 | ||||
| msgid "Add a new repository" | ||||
| msgstr "Добавить новый репозиторий" | ||||
|  | ||||
| #: repo.go:124 | ||||
| #: repo.go:125 | ||||
| msgid "<name> <url>" | ||||
| msgstr "" | ||||
| msgstr "<имя> <url>" | ||||
|  | ||||
| #: repo.go:149 | ||||
| #: repo.go:150 | ||||
| msgid "Repo \"%s\" already exists" | ||||
| msgstr "Репозиторий \"%s\" уже существует" | ||||
|  | ||||
| #: repo.go:197 | ||||
| #: repo.go:187 | ||||
| msgid "Set the reference of the repository" | ||||
| msgstr "Установить ссылку на версию репозитория" | ||||
|  | ||||
| #: repo.go:188 | ||||
| msgid "<name> <ref>" | ||||
| msgstr "<имя> <ссылка_на_версию>" | ||||
|  | ||||
| #: repo.go:246 | ||||
| msgid "Name of the new repo" | ||||
| msgstr "Название нового репозитория" | ||||
|  | ||||
| #: repo.go:203 | ||||
| #: repo.go:252 | ||||
| msgid "URL of the new repo" | ||||
| msgstr "URL-адрес нового репозитория" | ||||
|  | ||||
| #: repo.go:227 | ||||
| #: repo.go:276 | ||||
| msgid "Name of the repo to be deleted" | ||||
| msgstr "Название репозитория  удалён" | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user