#!/bin/sh


PKGNAME="`basename "$0" .remove`"


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


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


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


# /etc/xdg/templates/_root_.jwmrc won't be uninstalled (i have no idea why),
# so we need to do it manually
rm /initrd/pup_rw/etc/xdg/templates/_root_.jwmrc


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