Skip to content

Script meta data and category

billy3321 edited this page Sep 13, 2010 · 9 revisions

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'
# @debian 'lenny'
# @ubuntu 'hardy'
# @platform 'i386 amd64'

Metadata

  • @name script name.
  • @desc script description.
  • @category script category id (defined by lazyscript team).
  • @maintaner script maintaner.
  • @author script author.
  • @license script license.
  • @debian script supports debian.
  • @ubuntu script supports ubuntu.
  • @platform support platform.

Category

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

Clone this wiki locally