• Stars
    star
    657
  • Rank 68,589 (Top 2 %)
  • Language
    Shell
  • License
    GNU General Publi...
  • Created over 1 year ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Automated Redpill Loader(i18n)

Automated Redpill Loader (i18n)

本库为 arpl i18n (多语言优化版):

原版:

https://github.com/fbelavenuto/arpl

汉化:

https://github.com/wjz304/arpl-zh_CN

  • 仅同步汉化原版, 所以功能与原版保持一致.

i18n:

https://github.com/wjz304/arpl-i18n

  • 多语言支持.
  • 6.2&7.2支持.
  • other.

说明 - Instructions

翻译 - Translation

  • 其他语言的翻译 - Language translation work:
    # If it does not involve adding or deleting, the following process is not required.
    sudo apt install gettext
    git clone https://github.com/wjz304/arpl-i18n.git
    cd arpl-i18n/files/board/arpl/overlayfs/opt/arpl
    xgettext -L Shell --keyword=TEXT *.sh -o lang/arpl.pot
    sed -i 's/charset=CHARSET/charset=UTF-8/' lang/arpl.pot
    # You need to replace the language you need and translate the po file.
    msginit -i lang/arpl.pot -l zh_CN.UTF-8 -o lang/zh_CN.po
    # This process will be automatically processed during packaging.
    msgfmt lang/zh_CN.po -o lang/zh_CN.mo

教程 - Usage

打赏一下