Page 1 of 1

[Tutorial] How to translate Kibojoe to Russian Language

Posted: Thu Nov 16, 2017 1:11 pm
by asd
1. Translate JWM menu
viewtopic.php?f=5&t=97

2. Change ~/.jwm/tray file to

Code: Select all

<?xml version="1.0"?>
<JWM>

  <!-- Tray of the environment. -->
  <Tray x="0" y="-1" layout="horizontal" halign="fixed" height="24" valign="button">
       <TrayButton label="Программы">root:3</TrayButton>
       <Spacer width="5"/>
       <TrayButton label="Файлы">root:8</TrayButton>
       <Spacer width="5"/>
       <TrayButton label="Выход">root:7</TrayButton>
       <Pager/>
       <TaskList maxwidth="120" border="false"/>
       <Dock spacing="3"/>
       <Spacer width="5"/>
       <Clock format="%H:%M:%S"></Clock>
  </Tray>

</JWM>
3. Translate main window in pacli
sudo geany /usr/bin/kibojoe/pacli
find words "Manage your packages quickly" and change main window output to screen commands to

Code: Select all

    clear
    echo ""
    echo -e "                             Pacli (Установка программ)                      "
    echo ""
    echo -e "                           Manage your packages quickly!"
    echo -e " ┌──────────────────────────────────────────────────────────────────────────┐"
    echo -e " │    1     Обновить все программы        2     Установить программу        │"
    echo -e " │    3     Optimize Mirrors              4     Defragment Database         │"
    echo -e " │    5     List Local Package Files      6     General Package Info        │"
    echo -e " │    7     Installed Package Info        8     Dependency Tree             │"
    echo -e " │    9     Reverse Dependency Tree       10    List Installed Packages     │"
    echo -e " │   11     Downgrade Packages            12    Fix Error Keys              │"
    echo -e " │   13     Fix Error Database Lock       14    Очистка и удаление программ │"
    echo -e " │--------------------------------------------------------------------------│"
    echo -e " │   15    *Force Update System	       16    *Force Install Package      │"
    echo " └──────────────────────────────────────────────────────────────────────────┘"
    echo ""
    echo " ┌──────────────────────────────────────────────────────────────────────────┐"
    echo -e " │   17     Обновить все программы из AUR 18     Установить программу из AUR│"
    echo -e " │   19     Search-Install from AUR       20     List Installed from AUR    │"
    echo " └─────────────────────────────────────────────────────────────────────────┘"
    echo ""
    echo -e "       ✓ Введите номер и нажмите клавишу [Enter] ✓ e Завершить работу с Pacli ✓ i Информация"
    echo ""
    read choix

Re: [Tutorial] How to translate Kibojoe to Russian Language

Posted: Thu Nov 23, 2017 9:34 pm
by Holmes
thank you @asd

vlw fwi, Holmes :)