#!/bin/sh


PKGNAME="han-0.1.0"


sed -i 's@<Option name="i18n_translation">None</Option>@<Option name="i18n_translation">zh_CN</Option>@' ./root/.config/rox.sourceforge.net/ROX-Filer/Options


find ./root/.mozilla -wholename "./root/.mozilla/default/[^/]*/chrome/chrome.rdf" -delete


sed -i 's/^LANG=.*$/LANG=zh_CN.utf8/' ./etc/profile


sed -i 's@<TrayButton label="Menu" icon="mini-dog.xpm">root:3</TrayButton>@<TrayButton label="开始" icon="mini-dog.xpm">root:3</TrayButton>@' ./root/.jwmrc-tray


sed -i '
s/label="draw"/label="绘画"/
s/label="connect"/label="网络连接"/
s/label="zip"/label="压缩"/
s/label="lock"/label="锁定"/
s/label="trash"/label="回收站"/
s/label="install"/label="安装"/
s/label="setup"/label="设置"/
s/label="play"/label="多媒体"/
s/label="console"/label="控制台"/
s/label="browse"/label="浏览器"/
s/label="write"/label="字处理"/
s/label="calc"/label="电子表格"/
s/label="email"/label="邮件"/
s/label="edit"/label="编辑"/
s/label="file"/label="文件"/
s/label="help"/label="帮助"/
s/label="mount"/label="加载"/
s/label="paint"/label="画图"/
s/label="chat"/label="聊天"/
s/label="plan"/label="日程表"/
s/label="html"/label="网页设计"/
' ./root/Choices/ROX-Filer/PuppyPin