CanDo

参与到Ubuntu的翻译中来
回复
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

CanDo

#1

帖子 oneleaf » 2005-09-07 22:54

1.

Add universe and multiverse to your apt sources list (if it's not already there). When finished your sources list should look something like this:

deb http://archive.ubuntulinux.org/ubuntu breezy main restricted universe multiverse
deb http://archive.ubuntulinux.org/ubuntu breezy-security main restricted universe multiverse
deb http://archive.ubuntulinux.org/ubuntu breezy-updates main restricted universe multiverse

2.

apt-get install msttcorefonts ca-certificates python2.3-doc python2.3-profiler xpdf
3.

apt-get install schooltool
4.

cd /usr/lib/libschooltool/schooltool
5.

apt-get install cvs if you don't have cvs installed
6.

export CVS_RSH=ssh
7.

cvs -z3 -d:ext:developername@cvs.sourceforge.net:/cvsroot/cando co schooltool-fork
8.

cp -rf schooltool-fork/src/candotoo .
9.

edit app.py, at the end of imports add line: from schooltool.candotoo.app import CanDoTooContainer. Find line that says self.calendar = Calendar(self), keeping the indentation add self['candotoo'] = CanDoTooContainer() after it.
10.

edit configure.zcml, at the very end of the file right before it says </configure>, add lines <!-- CanDoToo --> and <include package=".candotoo" />.
11.

edit browser/templates/navigation.pt, before the line with </ul> add line <li><a tal:attributes="href view/app/candotoo/@@absolute_url" i18n:translate="">CanDoToo</a></li>
12.

rm -rf schooltool-fork
13.

rm var/lib/schooltool/Data.fs
14.

/etc/init.d/schooltool restart


https://wiki.ubuntu.com/CanDo
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
cucme
帖子: 22
注册时间: 2005-09-02 19:34
来自: 河南

认领

#2

帖子 cucme » 2005-09-09 11:39

cucme.anyp.cn 欢迎欢迎
头像
cucme
帖子: 22
注册时间: 2005-09-02 19:34
来自: 河南

OK !CanDo

#3

帖子 cucme » 2005-09-09 12:31

1.

添加 universe 组件和 multiverse 组件到您的 apt 源列表(如果它并不存在)。完成的 apt 源列表应该象这样:
deb http://archive.ubuntulinux.org/ubuntu breezy main restricted universe multiverse
deb http://archive.ubuntulinux.org/ubuntu breezy-security main restricted universe multiverse
deb http://archive.ubuntulinux.org/ubuntu breezy-updates main restricted universe multiverse
2. 代码:
apt-get install msttcorefonts ca-certificates python2.3-doc python2.3-profiler xpdf
3. 代码:
apt-get install schooltool
4. 代码:
cd /usr/lib/libschooltool/schooltool
5. 代码:
apt-get install cvs if you don't have cvs installed
6. 代码:
export CVS_RSH=ssh
7. 代码:
cvs -z3 -d:ext:developername@cvs.sourceforge.net:/cvsroot/cando co schooltool-fork
8. 代码:
cp -rf schooltool-fork/src/candotoo

9.
编辑文件 app.py ,在 imports 的结尾添加行:
from schooltool.candotoo.app import CanDoTooContainer
找到行 self.calendar = Calendar(self),保留 indentation 并在它后面添加
self['candotoo'] = CanDoTooContainer()
10.
编辑文件 configure.zcml,在文件结尾处的 </configure> 之前添加行
<!-- CanDoToo -->
<include package=".candotoo" />


11.
编辑文件 browser/templates/navigation.pt , 在存在 </ul> 的行前面添加行
<li><a tal:attributes="href view/app/candotoo/@@absolute_url" i18n:translate="">CanDoToo</a></li>
12. 代码:
rm -rf schooltool-fork
13. 代码:
rm var/lib/schooltool/Data.fs
14. 代码:
/etc/init.d/schooltool restart

来自 :https://wiki.ubuntu.com/CanDo
======================================
**注:universe 组件是整个自由、开源Linux世界的缩影。在“universe”组件中,你可以找到大多数开源软件,以及在开源版权下的软件,所有这些都是在公共源的基础上建立的。这些软件都是使用“main”中的组件编写的,它们能与“main”组件相安无事地共同运行,但它们没有安全升级的保障。“universe”组件包含了数以千计的软件。虽然是公共的,用户必须明白它们与稳定的Ubuntu核心的软件的差异和不稳定。

**注:multiverse 组件都是一些不会成为自由软件(Free Software)的软件.

见本站 http://www.ubuntu.org.cn/aboutubuntu/co ... ument_view
=========================
**注: 不知道9部分 imports 和 indentation 具体含义。没有译出来。请指正。
头像
leal
帖子: 1119
注册时间: 2005-08-29 14:49
来自: 杭州
联系:

#4

帖子 leal » 2005-09-09 12:48

1、2、3.....后,加“步、步骤”等较好

9.

edit app.py, at the end of imports add line: from schooltool.candotoo.app import CanDoTooContainer. Find line that says self.calendar = Calendar(self), keeping the indentation add self['candotoo'] = CanDoTooContainer() after it.

编辑app.py,在imports(导入,python语言中,导入其它模块)最后一行后加上这样一行:from schooltool.candotoo.app import CanDoTooContainer。查找含self.calendar = Calendar(self)的代码行,在其后加上self['candotoo'] = CanDoTooContainer()一行,并使其缩进和上一行代码保持一致。
用心×恒 | 豆瓣 | 门户 | Blog
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#5

帖子 oneleaf » 2005-09-12 11:46

当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#6

帖子 millenniumdark » 2006-07-30 16:08

这个已经过时了,新文档变化太大,这里的翻译只好作废了。
http://wiki.ubuntu.org.cn/CanDo
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#7

帖子 millenniumdark » 2006-07-30 16:08

这个已经过时了,新文档变化太大,这里的翻译只好作废了。
http://wiki.ubuntu.org.cn/CanDo
回复