Skip to content

Script meta data and category

billy3321 edited this page Sep 13, 2010 · 1 revision

I18n is hard in the script if the script is only one file, but eazy to document with metadeta defined here.

Example

# -*- conding=utf8 -*-
# @name_enUS 'install/setup chinses input method.'
# @name_zhTW '安裝/設定 中文輸入法'
# @desc_enUS 'install the chines input, you can choos scim or gcin.'
# @desc_zhTW '讓你安裝你想要的中文輸入法,有 scim, gcin 可選擇。'
# @category 'Customize'
# @maintaner 'billy'
# @author 'hychen'
# @author 'yurenju'
# @author 'billy'
# @license 'BSD'
# @centos '5.3'
# @fedora '10 11'
# @platform 'i386 amd64'
# @child 'Common/add-apt-sources Common/debinstall.py'
# @hide

Metadata

  • @name : script name.
  • @desc : script description.
  • @warn : script warning.
  • @category : script category id (defined by lazyscript team).
  • @maintaner : script maintaner.
  • @author : script author.
  • @license : script license.
  • @centos : script supports centos.
  • @fedora : script supports fedora.
  • @platform : support platform.
  • @child the : scripts need to run with
  • @hide : hide this item

Category

  • Accessories – ex.
  • Productivity – ex. vim, openoffice
  • Graphics – ex.gimp
  • Development – ex. eclipse
  • Entertain – ex. mplayer,miro
  • InfoManagement – ex. sunbird, gnucash
  • Games – ex. gweled
  • Hardware – laptop customize script.
  • Multimedia – gstream
  • Networking – ex. firefox, pidgin, ie6, skype, pcman
  • System
  • Customize – 加快開機速度
  • Localization- 中文化環境
Clone this wiki locally