Changeset 59
- Timestamp:
- 2008年09月27日 02时19分12秒 (4 years ago)
- Location:
- trunk/pysvnmanager
- Files:
-
- 6 modified
-
hooks/init/hook1.4/post-commit (modified) (2 diffs)
-
hooks/init/hook1.5/post-commit (modified) (2 diffs)
-
i18n/en/LC_MESSAGES/pysvnmanager.po (modified) (5 diffs)
-
i18n/pysvnmanager.pot (modified) (5 diffs)
-
i18n/zh/LC_MESSAGES/pysvnmanager.po (modified) (5 diffs)
-
templates/base.mako (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pysvnmanager/hooks/init/hook1.4/post-commit
r57 r59 74 74 if [ "$mantis_integration" = "yes" ]; then 75 75 SVNLOOK=/opt/svn/bin/svnlook 76 SED=/bin/sed77 76 MANTISBT=/opt/mantis/web 78 77 PHP=/opt/php5/bin/php5 … … 80 79 if [ -f "$MANTISBT/core/checkin.php" ]; then 81 80 export LC_ALL=zh_CN.utf8 82 commitlog=`$SVNLOOK log -r "$REV" "$REPOS" | $SED -e 's/\$/\\\\n/g'`83 commitauthor=`$SVNLOOK author -r "$REV" "$REPOS" | $SED -e 's/\$/\\\\n/g'`84 commitdiff=`$SVNLOOK diff -r "$REV" "$REPOS" | head -25 | $SED -e 's/\$/\\\\n/g'`81 commitlog=`$SVNLOOK log -r "$REV" "$REPOS"` 82 commitauthor=`$SVNLOOK author -r "$REV" "$REPOS"` 83 commitdiff=`$SVNLOOK diff -r "$REV" "$REPOS" | head -25` 85 84 $PHP -q $MANTISBT/core/checkin.php $commitauthor << EOF 86 85 Author: $commitauthor -
trunk/pysvnmanager/hooks/init/hook1.5/post-commit
r57 r59 74 74 if [ "$mantis_integration" = "yes" ]; then 75 75 SVNLOOK=/opt/svn/bin/svnlook 76 SED=/bin/sed77 76 MANTISBT=/opt/mantis/web 78 77 PHP=/opt/php5/bin/php5 … … 80 79 if [ -f "$MANTISBT/core/checkin.php" ]; then 81 80 export LC_ALL=zh_CN.utf8 82 commitlog=`$SVNLOOK log -r "$REV" "$REPOS" | $SED -e 's/\$/\\\\n/g'`83 commitauthor=`$SVNLOOK author -r "$REV" "$REPOS" | $SED -e 's/\$/\\\\n/g'`84 commitdiff=`$SVNLOOK diff -r "$REV" "$REPOS" | head -25 | $SED -e 's/\$/\\\\n/g'`81 commitlog=`$SVNLOOK log -r "$REV" "$REPOS"` 82 commitauthor=`$SVNLOOK author -r "$REV" "$REPOS"` 83 commitdiff=`$SVNLOOK diff -r "$REV" "$REPOS" | head -25` 85 84 $PHP -q $MANTISBT/core/checkin.php $commitauthor << EOF 86 85 Author: $commitauthor -
trunk/pysvnmanager/i18n/en/LC_MESSAGES/pysvnmanager.po
r55 r59 10 10 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" 11 11 "POT-Creation-Date: 2008-07-03 22:14+0800\n" 12 "PO-Revision-Date: 2008-0 8-30 13:12+0800\n"12 "PO-Revision-Date: 2008-09-27 00:48+0800\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 14 14 "Language-Team: en <LL@li.org>\n" … … 230 230 msgstr "" 231 231 232 #: pysvnmanager/controllers/security.py:5 2232 #: pysvnmanager/controllers/security.py:50 233 233 #, python-format 234 234 msgid "User %s logged in" 235 235 msgstr "" 236 236 237 #: pysvnmanager/controllers/security.py:6 3237 #: pysvnmanager/controllers/security.py:61 238 238 #, python-format 239 239 msgid "Login failed for user: %s" 240 240 msgstr "" 241 241 242 #: pysvnmanager/controllers/security.py: 71242 #: pysvnmanager/controllers/security.py:69 243 243 #, python-format 244 244 msgid "User %s logged out" … … 552 552 msgstr "" 553 553 554 #: pysvnmanager/model/svnauthz.py:150 2 pysvnmanager/model/svnauthz.py:1509555 #: pysvnmanager/model/svnauthz.py:151 3554 #: pysvnmanager/model/svnauthz.py:1505 pysvnmanager/model/svnauthz.py:1512 555 #: pysvnmanager/model/svnauthz.py:1516 556 556 #, python-format 557 557 msgid "Unknown rule format: %s" 558 558 msgstr "" 559 559 560 #: pysvnmanager/model/svnauthz.py:15 27560 #: pysvnmanager/model/svnauthz.py:1530 561 561 #, python-format 562 562 msgid "No module exist for %s:%s" 563 563 msgstr "" 564 564 565 #: pysvnmanager/model/svnauthz.py:16 37565 #: pysvnmanager/model/svnauthz.py:1640 566 566 #, python-format 567 567 msgid "Alias %s is referenced by group %s." 568 568 msgstr "" 569 569 570 #: pysvnmanager/model/svnauthz.py:16 49570 #: pysvnmanager/model/svnauthz.py:1652 571 571 #, python-format 572 572 msgid "%s is referenced by [%s]." 573 573 msgstr "" 574 574 575 #: pysvnmanager/model/svnauthz.py:178 5575 #: pysvnmanager/model/svnauthz.py:1788 576 576 #, python-format 577 577 msgid "User %(username)s has Full (RW) rights for module %(repos)s:%(path)s" 578 578 msgstr "" 579 579 580 #: pysvnmanager/model/svnauthz.py:17 87580 #: pysvnmanager/model/svnauthz.py:1790 581 581 #, python-format 582 582 msgid "User %(username)s has ReadOnly (RO) rights for module %(repos)s:%(path)s" 583 583 msgstr "" 584 584 585 #: pysvnmanager/model/svnauthz.py:17 89585 #: pysvnmanager/model/svnauthz.py:1792 586 586 #, python-format 587 587 msgid "User %(username)s can *NOT* access to module %(repos)s:%(path)s" 588 588 msgstr "" 589 589 590 #: pysvnmanager/model/svnauthz.py:18 29590 #: pysvnmanager/model/svnauthz.py:1832 591 591 #, python-format 592 592 msgid "" … … 600 600 msgstr "" 601 601 602 #: pysvnmanager/model/svnauthz.py:18 48602 #: pysvnmanager/model/svnauthz.py:1851 603 603 #, python-format 604 604 msgid "" … … 650 650 msgstr "" 651 651 652 #: pysvnmanager/templates/base.mako:38 653 msgid "Welcome" 654 msgstr "" 655 652 656 #: pysvnmanager/templates/base.mako:39 653 657 msgid "Logout" -
trunk/pysvnmanager/i18n/pysvnmanager.pot
r55 r59 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: pySvnManager 0. 2.1\n"9 "Project-Id-Version: pySvnManager 0.3.0\n" 10 10 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" 11 "POT-Creation-Date: 2008-0 8-30 13:12+0800\n"11 "POT-Creation-Date: 2008-09-27 00:47+0800\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 222 222 msgstr "" 223 223 224 #: pysvnmanager/controllers/security.py:5 2224 #: pysvnmanager/controllers/security.py:50 225 225 #, python-format 226 226 msgid "User %s logged in" 227 227 msgstr "" 228 228 229 #: pysvnmanager/controllers/security.py:6 3229 #: pysvnmanager/controllers/security.py:61 230 230 #, python-format 231 231 msgid "Login failed for user: %s" 232 232 msgstr "" 233 233 234 #: pysvnmanager/controllers/security.py: 71234 #: pysvnmanager/controllers/security.py:69 235 235 #, python-format 236 236 msgid "User %s logged out" … … 543 543 msgstr "" 544 544 545 #: pysvnmanager/model/svnauthz.py:150 2 pysvnmanager/model/svnauthz.py:1509546 #: pysvnmanager/model/svnauthz.py:151 3545 #: pysvnmanager/model/svnauthz.py:1505 pysvnmanager/model/svnauthz.py:1512 546 #: pysvnmanager/model/svnauthz.py:1516 547 547 #, python-format 548 548 msgid "Unknown rule format: %s" 549 549 msgstr "" 550 550 551 #: pysvnmanager/model/svnauthz.py:15 27551 #: pysvnmanager/model/svnauthz.py:1530 552 552 #, python-format 553 553 msgid "No module exist for %s:%s" 554 554 msgstr "" 555 555 556 #: pysvnmanager/model/svnauthz.py:16 37556 #: pysvnmanager/model/svnauthz.py:1640 557 557 #, python-format 558 558 msgid "Alias %s is referenced by group %s." 559 559 msgstr "" 560 560 561 #: pysvnmanager/model/svnauthz.py:16 49561 #: pysvnmanager/model/svnauthz.py:1652 562 562 #, python-format 563 563 msgid "%s is referenced by [%s]." 564 564 msgstr "" 565 565 566 #: pysvnmanager/model/svnauthz.py:178 5566 #: pysvnmanager/model/svnauthz.py:1788 567 567 #, python-format 568 568 msgid "User %(username)s has Full (RW) rights for module %(repos)s:%(path)s" 569 569 msgstr "" 570 570 571 #: pysvnmanager/model/svnauthz.py:17 87571 #: pysvnmanager/model/svnauthz.py:1790 572 572 #, python-format 573 573 msgid "User %(username)s has ReadOnly (RO) rights for module %(repos)s:%(path)s" 574 574 msgstr "" 575 575 576 #: pysvnmanager/model/svnauthz.py:17 89576 #: pysvnmanager/model/svnauthz.py:1792 577 577 #, python-format 578 578 msgid "User %(username)s can *NOT* access to module %(repos)s:%(path)s" 579 579 msgstr "" 580 580 581 #: pysvnmanager/model/svnauthz.py:18 29581 #: pysvnmanager/model/svnauthz.py:1832 582 582 #, python-format 583 583 msgid "" … … 591 591 msgstr "" 592 592 593 #: pysvnmanager/model/svnauthz.py:18 48593 #: pysvnmanager/model/svnauthz.py:1851 594 594 #, python-format 595 595 msgid "" … … 639 639 msgstr "" 640 640 641 #: pysvnmanager/templates/base.mako:38 642 msgid "Welcome" 643 msgstr "" 644 641 645 #: pysvnmanager/templates/base.mako:39 642 646 msgid "Logout" -
trunk/pysvnmanager/i18n/zh/LC_MESSAGES/pysvnmanager.po
r55 r59 12 12 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" 13 13 "POT-Creation-Date: 2008-07-03 22:14+0800\n" 14 "PO-Revision-Date: 2008-0 8-30 13:12+0800\n"14 "PO-Revision-Date: 2008-09-27 00:48+0800\n" 15 15 "Last-Translator: Jiang Xin <worldhello.net@gmail.com>\n" 16 16 "Language-Team: <zh@li.org>\n" … … 240 240 msgstr "用户 %(user)s 删除别名: %(alias)s。(rev:%(rev)s,%(msg)s)" 241 241 242 #: pysvnmanager/controllers/security.py:5 2242 #: pysvnmanager/controllers/security.py:50 243 243 #, python-format 244 244 msgid "User %s logged in" 245 245 msgstr "用户 %s 登录" 246 246 247 #: pysvnmanager/controllers/security.py:6 3247 #: pysvnmanager/controllers/security.py:61 248 248 #, python-format 249 249 msgid "Login failed for user: %s" 250 250 msgstr "以 %s 身份登录失败" 251 251 252 #: pysvnmanager/controllers/security.py: 71252 #: pysvnmanager/controllers/security.py:69 253 253 #, python-format 254 254 msgid "User %s logged out" … … 590 590 msgstr "更新失败!您的更改是基于一个过期的版本,请先刷新再更改。" 591 591 592 #: pysvnmanager/model/svnauthz.py:150 2 pysvnmanager/model/svnauthz.py:1509593 #: pysvnmanager/model/svnauthz.py:151 3592 #: pysvnmanager/model/svnauthz.py:1505 pysvnmanager/model/svnauthz.py:1512 593 #: pysvnmanager/model/svnauthz.py:1516 594 594 #, python-format 595 595 msgid "Unknown rule format: %s" 596 596 msgstr "未知策略格式: %s" 597 597 598 #: pysvnmanager/model/svnauthz.py:15 27598 #: pysvnmanager/model/svnauthz.py:1530 599 599 #, python-format 600 600 msgid "No module exist for %s:%s" 601 601 msgstr "模块不存在: %s:%s" 602 602 603 #: pysvnmanager/model/svnauthz.py:16 37603 #: pysvnmanager/model/svnauthz.py:1640 604 604 #, python-format 605 605 msgid "Alias %s is referenced by group %s." 606 606 msgstr "别名 %s 为用户组 %s 引用。" 607 607 608 #: pysvnmanager/model/svnauthz.py:16 49608 #: pysvnmanager/model/svnauthz.py:1652 609 609 #, python-format 610 610 msgid "%s is referenced by [%s]." 611 611 msgstr "%s 在 [%s] 中被引用。" 612 612 613 #: pysvnmanager/model/svnauthz.py:178 5613 #: pysvnmanager/model/svnauthz.py:1788 614 614 #, python-format 615 615 msgid "User %(username)s has Full (RW) rights for module %(repos)s:%(path)s" 616 616 msgstr "用户 %(username)s 对模组 %(repos)s:%(path)s 具有完全权限 (RW)" 617 617 618 #: pysvnmanager/model/svnauthz.py:17 87618 #: pysvnmanager/model/svnauthz.py:1790 619 619 #, python-format 620 620 msgid "User %(username)s has ReadOnly (RO) rights for module %(repos)s:%(path)s" 621 621 msgstr "用户 %(username)s 对模组 %(repos)s:%(path)s 具有只读权限 (RO)" 622 622 623 #: pysvnmanager/model/svnauthz.py:17 89623 #: pysvnmanager/model/svnauthz.py:1792 624 624 #, python-format 625 625 msgid "User %(username)s can *NOT* access to module %(repos)s:%(path)s" 626 626 msgstr "用户 %(username)s 对模组 %(repos)s:%(path)s *没有* 访问权限 (XX)" 627 627 628 #: pysvnmanager/model/svnauthz.py:18 29628 #: pysvnmanager/model/svnauthz.py:1832 629 629 #, python-format 630 630 msgid "" … … 645 645 "\n" 646 646 647 #: pysvnmanager/model/svnauthz.py:18 48647 #: pysvnmanager/model/svnauthz.py:1851 648 648 #, python-format 649 649 msgid "" … … 708 708 msgstr "修改日志" 709 709 710 #: pysvnmanager/templates/base.mako:38 711 msgid "Welcome" 712 msgstr "欢迎," 713 710 714 #: pysvnmanager/templates/base.mako:39 711 715 msgid "Logout" -
trunk/pysvnmanager/templates/base.mako
r55 r59 36 36 <td>${h.link_to(_("Repos management"), h.url_for(controller="repos", id=None))}</td> 37 37 <td>${h.link_to(_("Change log"), h.url_for(controller="logs", id=None))}</td> 38 <td> welcome${session.get('user')}</td>38 <td>${_("Welcome")} ${session.get('user')}</td> 39 39 <td>${h.link_to(_("Logout"), h.url_for(controller="logout", id=None))}</td> 40 40 </tr>
![(please configure the [header_logo] section in trac.ini)](/trac/pysvnmanager/chrome/common/trac_banner.png)