Перевести документацию на русский
This commit is contained in:
1 parent
d39bc9732a
commit
2394f7807f
2 files changed
+42
-43
No files matched your search
@@ -1,61 +1,61 @@
|
||||
# GRUB2 theme and menu for Paravis Flash
|
||||
# Тема и меню GRUB2 для флешки Paravis
|
||||
|
||||
Source files and build scripts for the Paravis GRUB2 boot menu (Legacy BIOS and
|
||||
UEFI), plus the PSD sources of the theme artwork.
|
||||
Исходники и скрипты сборки загрузочного меню Paravis на GRUB2 (Legacy BIOS и
|
||||
UEFI), а также слоистые PSD-исходники оформления.
|
||||
|
||||
## Layout
|
||||
## Структура
|
||||
|
||||
```
|
||||
src/ menu and theme sources
|
||||
build_all.py builds the theme from the PSD sources
|
||||
gen_menu.py generates menu/*.cfg
|
||||
grub.cfg main GRUB2 menu (template)
|
||||
menu/ submenu sources (linux, msdart, strelec, utilits)
|
||||
make-*.ps1 artwork helpers (calibration, selection, preview)
|
||||
theme-fix-.../ intermediate theme variants
|
||||
theme/ ready-to-use theme assets
|
||||
main/ main menu: background, sel_*.png, sep_cover.png,
|
||||
src/ исходники меню и темы
|
||||
build_all.py собирает тему из PSD
|
||||
gen_menu.py генерирует menu/*.cfg
|
||||
grub.cfg главное меню GRUB2 (шаблон)
|
||||
menu/ подменю (linux, msdart, strelec, utilits)
|
||||
make-*.ps1 помощники по графике (калибровка, выделение, превью)
|
||||
theme-fix-.../ промежуточные варианты темы
|
||||
theme/ готовые ресурсы темы
|
||||
main/ главное меню: фон, sel_*.png, sep_cover.png,
|
||||
theme.txt, theme_bios.txt, theme_uefi.txt,
|
||||
paravis.pf2 (Montserrat), golos-text-20.pf2
|
||||
linux/ msdart/ strelec/ utilits/
|
||||
PSD/ layered PSD sources of the backgrounds
|
||||
licenses/ OFL texts for Montserrat and Golos Text
|
||||
PSD/ слоистые PSD-исходники фонов
|
||||
licenses/ тексты OFL для Montserrat и Golos Text
|
||||
```
|
||||
|
||||
## Build
|
||||
## Сборка
|
||||
|
||||
The scripts were used from Linux/WSL and Windows PowerShell. Paths in the
|
||||
scripts are examples (`/path/to/pf`, `C:\PF`); set your own root before use.
|
||||
Скрипты использовались в Linux/WSL и Windows PowerShell. Пути в скриптах —
|
||||
примеры (`/path/to/pf`, `C:\PF`); перед запуском укажите свой корень.
|
||||
|
||||
```sh
|
||||
# regenerate the GRUB font (Golos Text Medium -> 20 px)
|
||||
# пересобрать шрифт GRUB (Golos Text Medium -> 20 px)
|
||||
grub-mkfont -s 20 -a -n "Golos Text" -o golos-text-20.pf2 GolosText-Medium.ttf
|
||||
```
|
||||
|
||||
`build_all.py` needs Python 3 with `psd-tools` and `Pillow`. `make-*.ps1`
|
||||
helpers need PowerShell and the PSD sources.
|
||||
`build_all.py` требует Python 3 с `psd-tools` и `Pillow`. Помощникам
|
||||
`make-*.ps1` нужны PowerShell и PSD-исходники.
|
||||
|
||||
The theme is consumed by GRUB2 as:
|
||||
GRUB2 подключает тему так:
|
||||
|
||||
```
|
||||
loadfont ($root)/efi/Paravis/Boot/grub2/theme/golos-text-20.pf2
|
||||
set theme=($root)/efi/Paravis/Boot/grub2/theme/main/theme_uefi.txt
|
||||
```
|
||||
|
||||
## Fonts
|
||||
## Шрифты
|
||||
|
||||
- `theme/main/golos-text-20.pf2` — Golos Text Medium, SIL OFL 1.1
|
||||
(`licenses/OFL-GolosText.txt`).
|
||||
- `theme/main/paravis.pf2` — Montserrat, SIL OFL 1.1
|
||||
(`licenses/OFL-Montserrat.txt`), kept for compatibility.
|
||||
(`licenses/OFL-Montserrat.txt`), оставлен для совместимости.
|
||||
|
||||
## License
|
||||
## Лицензия
|
||||
|
||||
The scripts and menu sources are GPL-3.0-or-later. The fonts are SIL OFL 1.1. The theme
|
||||
artwork is Paravis artwork.
|
||||
Скрипты и исходники меню — GPL-3.0-or-later. Шрифты — SIL OFL 1.1.
|
||||
Оформление темы — Paravis.
|
||||
|
||||
## Not included
|
||||
## Не включено
|
||||
|
||||
- Secure Boot keys, certificates and signed EFI binaries;
|
||||
- Microsoft font derivatives (`tahoma*.pf2`, `segoeui18.pf2`);
|
||||
- third-party binaries and bootable images.
|
||||
- ключи и сертификаты Secure Boot, подписанные EFI;
|
||||
- производные шрифтов Microsoft (`tahoma*.pf2`, `segoeui18.pf2`);
|
||||
- сторонние двоичные файлы и загрузочные образы.
|
||||
Reference in new issue
Block a user