2 # Simplified Chinese translation for TortoiseGit
3 # Copyright (C) 2004-2008 the TortoiseGit team
4 # This file is distributed under the same license as TortoiseGit
8 # $Date: 2009-01-08 17:19:56 +0800 (Thu, 08 Jan 2009) $
12 # Dongsheng Song <dongsheng.song@gmail.com>, 2006-2008
13 # rocksun <daijun@gmail.com>, 2006-2007
14 # amo <amosir@gmail.com>, 2006
15 # Jaxx_chen <Jaxx.Chen@gmail.com>, 2006
16 # kkeric <kkeric@sina.com>, 2006
17 # liuheqi <liuheqi@gmail.com>, 2006
18 # lulu2me <lu-liuyun@163.com>, 2006
19 # Stan <thinkernel@yeah.net>, 2006
20 # sunjing <sunjingzhi@gmail.com>, 2006
21 # Tan Ruyan <try876@gmail.com>, 2006
22 # xingyu.wang <xingyu.wang@gmail.com>, 2006
23 # yasakya <yasakya@gmail.com>, 2006
26 # msgmerge --update TortoiseGit_zh_CN.po TortoiseGit.pot
29 # msgfmt --statistics -c TortoiseGit_zh_CN.po
31 # Please format your translation before commit:
32 # msgmerge --width=80 --sort-by-file -o TortoiseGit_zh_CN_new.po TortoiseGit_zh_CN.po TortoiseGit.pot
33 # mv -f TortoiseGit_zh_CN_new.po TortoiseGit_zh_CN.po
56 "Project-Id-Version: TortoiseGit Documentation\n"
57 "POT-Creation-Date: 2008-12-01 11:10 +0000\n"
58 "PO-Revision-Date: 2008-12-24 09:40+0800\n"
59 "Last-Translator: Dongsheng Song <dongsheng.song@gmail.com>\n"
60 "Language-Team: TortoiseGit translation team <tortoisegit-dev@googlegroups.com >\n"
62 "Content-Type: text/plain; charset=UTF-8\n"
63 "Content-Transfer-Encoding: 8bit\n"
65 #. Put one translator per line, in the form of NAME <EMAIL>.
67 #: ../source/TortoiseGit_en.xml:0
68 msgid "translator-credits"
70 "Dongsheng Song <dongsheng.song@gmail.com>, 2006-2008\n"
71 "rocksun <daijun@gmail.com>, 2006-2007\n"
72 "amo <amosir@gmail.com>, 2006\n"
73 "Jaxx_chen <Jaxx.Chen@gmail.com>, 2006\n"
74 "kkeric <kkeric@sina.com>, 2006\n"
75 "liuheqi <liuheqi@gmail.com>, 2006\n"
76 "lulu2me <lu-liuyun@163.com>, 2006\n"
77 "Stan <thinkernel@yeah.net>, 2006\n"
78 "sunjing <sunjingzhi@gmail.com>, 2006\n"
79 "Tan Ruyan <try876@gmail.com>, 2006\n"
80 "xingyu.wang <xingyu.wang@gmail.com>, 2006\n"
81 "yasakya <yasakya@gmail.com>, 2006"
83 #. Place the translation of 'translation' here.
85 #: ../source/TortoiseGit_en.xml:0
86 msgid "translator-translation"
91 #: ../source/TortoiseGit_en.xml:4 ../source/TortoiseGit_en.xml:3022
96 #: ../source/TortoiseGit_en.xml:5
97 msgid "A Git client for Windows"
98 msgstr "针对 Windows 平台的 Git 客户端"
100 #. TRANSLATORS: "$MajorVersion$.$MinorVersion$.$MicroVersion$" is a literal value and should not be translated
102 #: ../source/TortoiseGit_en.xml:6
103 msgid "Version $MajorVersion$.$MinorVersion$.$MicroVersion$"
104 msgstr "版本 $MajorVersion$.$MinorVersion$.$MicroVersion$"
107 #: ../source/TortoiseGit_en.xml:8
112 #: ../source/TortoiseGit_en.xml:11
117 #: ../source/TortoiseGit_en.xml:12
122 #: ../source/TortoiseGit_en.xml:15
127 #: ../source/TortoiseGit_en.xml:16
132 #: ../source/TortoiseGit_en.xml:19
137 #: ../source/TortoiseGit_en.xml:20
142 #: ../source/TortoiseGit_en.xml:27
147 #: ../source/TortoiseGit_en.xml:35
148 msgid "Do you work in a team?"
149 msgstr "你是否在一个团队中工作?"
152 #: ../source/TortoiseGit_en.xml:40
154 "Has it ever happened that you were working on a file, and someone else was "
155 "working on the same file at the same time? Did you lose your changes to that "
156 "file because of that?"
158 "是否发生过这样的情况: 当你在修改一个文件时,其他人也在修改这个文件?而你是否因"
162 #: ../source/TortoiseGit_en.xml:47
164 "Have you ever saved a file, and then wanted to revert the changes you made? "
165 "Have you ever wished you could see what a file looked like some time ago?"
167 "是否曾经保存完一个修改,然后又想把个文件恢复到修改以前的状态?是否曾经希望能够"
171 #: ../source/TortoiseGit_en.xml:54
173 "Have you ever found a bug in your project and wanted to know when that bug "
174 "got into your files?"
175 msgstr "是否曾经在项目中发现了一个 BUG,然后想调查它是什么时候产生的?"
178 #: ../source/TortoiseGit_en.xml:61
180 "If you answered <quote>yes</quote> to one of these questions, then "
181 "TortoiseGit is for you! Just read on to find out how TortoiseGit can help you "
182 "in your work. It's not that difficult."
184 "如果这些问题中的任何一个回答<quote>是</quote>的话,那么 TortoiseGit 就是为你准"
185 "备的!请继续读下去,你就能知道怎样让 TortoiseGit 对你的工作起到帮助,这其实并"
189 #: ../source/TortoiseGit_en.xml:71
194 #: ../source/TortoiseGit_en.xml:72
196 "This book is written for computer literate folk who want to use Git to "
197 "manage their data, but are uncomfortable using the command line client to do "
198 "so. Since TortoiseGit is a windows shell extension it's assumed that the user "
199 "is familiar with the windows explorer and knows how to use it."
201 "本书面向这样的计算机用户: 希望使用 Git 管理数据,但又不愿意使用 "
202 "Git 的命令行客户端。因为 TortoiseGit 是 Windows 的外壳扩展应用,所以我"
203 "们假设用户很熟悉 Windows 资源管理器的使用。"
206 #: ../source/TortoiseGit_en.xml:84
207 msgid "Reading Guide"
211 #: ../source/TortoiseGit_en.xml:85
214 "This <xref linkend=\"tsvn-preface\"/> explains a little about the TortoiseGit "
215 "project, the community of people who work on it, and the licensing conditions "
216 "for using it and distributing it."
218 "在<emphasis>前言</emphasis>里简单介绍了 TortoiseGit 项目,以及其开发团体,还介"
222 #: ../source/TortoiseGit_en.xml:90
225 "The <xref linkend=\"tsvn-introduction\"/> explains what TortoiseGit is, what "
226 "it does, where it comes from and the basics for installing it on your PC."
228 "在<emphasis>简介</emphasis>一章里解释了 TortoiseGit 是什么,能够做什么,它的开"
232 #: ../source/TortoiseGit_en.xml:95
235 "In <xref linkend=\"tsvn-basics\"/> we give a short introduction to the "
236 "<emphasis>Git</emphasis> revision control system which underlies "
237 "TortoiseGit. This is borrowed from the documentation for the Git "
238 "project and explains the different approaches to version control, and how "
241 "在<emphasis>基本概念</emphasis>一章里简短地介绍了 <emphasis>Git</"
242 "emphasis> 版本控制系统,Git 是 TortoiseGit 的基础。这一章引用了 "
243 "Git 工程的文档,介绍了各种版本控制模式,以及 Git 的工作原理。"
246 #: ../source/TortoiseGit_en.xml:102
248 "Even most Git users will never have to set up a server themselves. The "
249 "next chapter deals with how to set up such a server, and is useful for "
252 "在<emphasis>服务器安装</emphasis>一章里介绍了如何安装一个版本控制服务器。虽然"
253 "大部分的 Git 用户从来不需要自己安装服务器,但是对系统管理员来说这一章非"
257 #: ../source/TortoiseGit_en.xml:107
260 "The chapter on <xref linkend=\"tsvn-repository\"/> explains how to set up a "
261 "local repository, which is useful for testing Git and TortoiseGit "
262 "using a single PC. It also explains a bit about repository administration "
263 "which is also relevant to repositories located on a server."
265 "<emphasis>版本库</emphasis>这一章解释了如何设置一个本地版本库,怎样在一台 PC "
266 "上测试 Git 和 TortoiseGit,这一章也介绍了一点版本库管理,也就是如何管理"
270 #: ../source/TortoiseGit_en.xml:113
273 "The <xref linkend=\"tsvn-dug\"/> is the most important section as it explains "
274 "all the main features of TortoiseGit and how to use them. It takes the form "
275 "of a tutorial, starting with checking out a working copy, modifying it, "
276 "committing your changes, etc. It then progresses to more advanced topics."
278 "<emphasis>日常使用指南</emphasis>是最重要的章节,介绍了 TortoiseGit 最主要特性"
279 "的使用。它以教程的形式,从检出一个工作副本开始,然后修改,提交你的修改,之后进"
283 #: ../source/TortoiseGit_en.xml:120
286 "<xref linkend=\"tsvn-subwcrev\"/> is a separate program included with "
287 "TortoiseGit which can extract the information from your working copy and "
288 "write it into a file. This is useful for including build information in your "
291 "<emphasis>SubWCRev</emphasis> 是 TortoiseGit 的一个独立程序,可以从工作副本抽"
292 "取信息并记录到一个文件,可以用来在项目中包含构建信息。"
295 #: ../source/TortoiseGit_en.xml:125
298 "The <xref linkend=\"tsvn-howto\"/> section answers some common questions "
299 "about performing tasks which are not explicitly covered elsewhere."
301 "<emphasis>我该怎么做 …</emphasis>这一节回答了一些操作方面的常见问题。这些常见"
305 #: ../source/TortoiseGit_en.xml:129
308 "The section on <xref linkend=\"tsvn-automation\"/> shows how the TortoiseGit "
309 "GUI dialogs can be called from the command line. This is useful for scripting "
310 "where you still need user interaction."
312 "<emphasis>自动化 TortoiseGit</emphasis> 这一小节展示了如何使用命令行调用 "
313 "TortoiseGit 的 GUI 对话框,当你在使用脚本时仍希望用户交互时非常有用。"
316 #: ../source/TortoiseGit_en.xml:134
319 "The <xref linkend=\"tsvn-cli\"/> give a correlation between TortoiseGit "
320 "commands and their equivalents in the Git command line client "
321 "<literal>svn.exe</literal>."
323 "<emphasis>命令行交叉索引</emphasis>给出了 TortoiseGit 命令与其对应的 "
324 "Git 命令行工具 <literal>svn.exe</literal> 命令之间的关系。"
327 #: ../source/TortoiseGit_en.xml:144
328 msgid "TortoiseGit is free!"
329 msgstr "TortoiseGit 是完全免费的!"
332 #: ../source/TortoiseGit_en.xml:145
334 "TortoiseGit is free. You don't have to pay to use it, and you can use it any "
335 "way you want. It is developed under the GNU General Public License (GPL)."
337 "TortoiseGit 是免费的,你不需要为使用它而付费,可以用任何你希望的方式使用它,它"
338 "开发的许可证是 GNU General Public License (GPL)。"
341 #: ../source/TortoiseGit_en.xml:149
343 "TortoiseGit is an Open Source project. That means you have full read access "
344 "to the source code of this program. You can browse it on this link <ulink url="
345 "\"http://TortoiseGit.tigris.org/svn/TortoiseGit/\"><citetitle>http://"
346 "TortoiseGit.tigris.org/svn/TortoiseGit/</citetitle></ulink>. You will be "
347 "prompted to enter username and password. The username is <literal>guest</"
348 "literal>, and the password must be left blank. The most recent version (where "
349 "we're currently working) is located under <filename>/trunk/</filename>, and "
350 "the released versions are located under <filename>/tags/</filename>."
352 "TortoiseGit 是一个开源软件项目。这意味着你可以取得它的全部源代码。你可以访问以"
353 "下链接得到源代码:<ulink url=\"http://TortoiseGit.tigris.org/svn/TortoiseGit/"
354 "\"><citetitle>http://TortoiseGit.tigris.org/svn/TortoiseGit/</citetitle></"
355 "ulink>。你会被提示输入用户名称和密码。用户名称是 <literal>guest</literal>,不"
356 "能填写密码。最新的版本(我们当前正在开发的)放在 <filename>/trunk/</filename> ,"
357 "已发布版本放在 <filename>/tags/</filename> 。"
360 #: ../source/TortoiseGit_en.xml:168
365 #: ../source/TortoiseGit_en.xml:169
367 "Both TortoiseGit and Git are developed by a community of people who "
368 "are working on those projects. They come from different countries all over "
369 "the world and joined together to create wonderful programs."
371 "TortoiseGit 和 Git 由工作在这些项目的社区成员开发。他们来自全世界不同的"
375 #: ../source/TortoiseGit_en.xml:180
376 msgid "Acknowledgments"
380 #: ../source/TortoiseGit_en.xml:183
385 #: ../source/TortoiseGit_en.xml:185
386 msgid "for founding the TortoiseGit project"
387 msgstr "TortoiseGit 项目的发起者"
390 #: ../source/TortoiseGit_en.xml:191
395 #: ../source/TortoiseGit_en.xml:193
396 msgid "for the hard work to get TortoiseGit to what it is now"
397 msgstr "TortoiseGit 的主要开发者"
400 #: ../source/TortoiseGit_en.xml:199
405 #: ../source/TortoiseGit_en.xml:201
408 "for the beautiful icons, logo, bug hunting, translating and managing the "
410 msgstr "制作了漂亮的图标、Logo,错误跟踪及文档维护"
413 #: ../source/TortoiseGit_en.xml:208
418 #: ../source/TortoiseGit_en.xml:210
419 msgid "for helping with the documentation and bug hunting"
423 #: ../source/TortoiseGit_en.xml:216
428 #: ../source/TortoiseGit_en.xml:218
430 "for the great introduction to Git and its chapter 2 which we copied "
432 msgstr "为了对 Git 大量介绍,我们复制了其第二章"
435 #: ../source/TortoiseGit_en.xml:225
436 msgid "The Tigris Style project"
440 #: ../source/TortoiseGit_en.xml:227
441 msgid "for some of the styles which are reused in this documentation"
442 msgstr "我们在本文重用了一些样式"
445 #: ../source/TortoiseGit_en.xml:233
446 msgid "Our Contributors"
450 #: ../source/TortoiseGit_en.xml:235
452 "for the patches, bug reports and new ideas, and for helping others by "
453 "answering questions on our mailing list."
454 msgstr "为了那些补丁,问题报告和新创意,以及在邮件列表里通过回答问题帮助别人。"
457 #: ../source/TortoiseGit_en.xml:242
462 #: ../source/TortoiseGit_en.xml:244
463 msgid "for many hours of joy with the music they sent us"
464 msgstr "他们发送给我们的那些音乐带来了快乐"
467 #: ../source/TortoiseGit_en.xml:255
468 msgid "Terminology used in this document"
472 #: ../source/TortoiseGit_en.xml:256
474 "To make reading the docs easier, the names of all the screens and Menus from "
475 "TortoiseGit are marked up in a different font. The <guilabel>Log Dialog</"
476 "guilabel> for instance."
478 "为了使文档更加易读,所有 TortoiseGit 的窗口名和菜单名使用不同的字体,例如"
479 "<guilabel>日志对话框</guilabel>。"
482 #: ../source/TortoiseGit_en.xml:261
484 "A menu choice is indicated with an arrow. <menuchoice><guimenu>TortoiseGit</"
485 "guimenu><guimenuitem>Show Log</guimenuitem></menuchoice> means: select "
486 "<emphasis>Show Log</emphasis> from the <emphasis>TortoiseGit</emphasis> "
489 "菜单选择使用箭头显示。<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>"
490 "显示日志</guimenuitem></menuchoice>的含义是: 从<emphasis>TortoiseGit</"
491 "emphasis>右键菜单选择<emphasis>显示日志</emphasis>。"
494 #: ../source/TortoiseGit_en.xml:270
496 "Where a local context menu appears within one of the TortoiseGit dialogs, it "
497 "is shown like this: <menuchoice><guimenu>Context Menu</"
498 "guimenu><guimenuitem>Save As ...</guimenuitem></menuchoice>"
500 "在 TortoiseGit 对话框中出现的右键菜单,可能是这个样子: <menuchoice><guimenu>右"
501 "键菜单</guimenu><guimenuitem>另存为 ...</guimenuitem></menuchoice>"
504 #: ../source/TortoiseGit_en.xml:278
506 "User Interface Buttons are indicated like this: Press <guibutton>OK</"
507 "guibutton> to continue."
508 msgstr "用户界面按钮的显示形式: 点击<guibutton>OK</guibutton>以继续。"
511 #: ../source/TortoiseGit_en.xml:282
514 "User Actions are indicated using a bold font. <keycap>Alt+A</keycap>: press "
515 "the <keycap>Alt</keycap>-Key on your keyboard and while holding it down press "
516 "the <keycap>A</keycap>-Key as well. <action>Right-drag</action>: press the "
517 "right mouse button and while holding it down <emphasis>drag</emphasis> the "
518 "items to the new location."
520 "用户动作使用粗体显示。<action>ALT+A</action>: 按下键盘的<keycap>ALT</keycap>"
521 "键,同时按下<keycap>A</keycap>键,<action>右键拖拽</action>: 点击鼠标邮件并保"
522 "持,将项目<emphasis>拖放</emphasis>到新位置。"
525 #: ../source/TortoiseGit_en.xml:290
527 "System output and keyboard input is indicated with a <literal>different</"
528 "literal> font as well."
529 msgstr "系统输出和键盘输入也使用<literal>不同的</literal>字体显示。"
532 #: ../source/TortoiseGit_en.xml:295
533 msgid "Important notes are marked with an icon."
534 msgstr "使用图标标记的重要提示。"
537 #: ../source/TortoiseGit_en.xml:300
538 msgid "Tips that make your life easier."
539 msgstr "技巧让你的生活更加简单。"
542 #: ../source/TortoiseGit_en.xml:305
543 msgid "Places where you have to be careful what you are doing."
547 #: ../source/TortoiseGit_en.xml:310
549 "Where extreme care has to be taken, data corruption or other nasty things may "
550 "occur if these warnings are ignored."
552 "需要特别关注的地方,如果忽略这些警告,会导致数据损坏或其他令人讨厌的事情。"
557 #: ../source/TortoiseGit_en.xml:319 ../source/TortoiseGit_en.xml:1482
558 #: ../source/TortoiseGit_en.xml:2481
563 #: ../source/TortoiseGit_en.xml:322
564 msgid "version control"
568 #: ../source/TortoiseGit_en.xml:325
570 "Version control is the art of managing changes to information. It has long "
571 "been a critical tool for programmers, who typically spend their time making "
572 "small changes to software and then undoing or checking some of those changes "
573 "the next day. Imagine a team of such developers working concurrently - and "
574 "perhaps even simultaneously on the very same files! - and you can see why a "
575 "good system is needed to <emphasis>manage the potential chaos</emphasis>."
577 "版本控制是管理信息修改的艺术,它一直是程序员最重要的工具,程序员经常会花时间作"
578 "出小的修改,然后又在某一天取消了这些修改,想象一下一个开发者并行工作的团队 - "
579 "或许是同时工作在同一个文件!- 你就会明白为什么一个好的系统需要<emphasis>管理潜"
583 #: ../source/TortoiseGit_en.xml:339
584 msgid "What is TortoiseGit?"
585 msgstr "什么是 TortoiseGit?"
588 #: ../source/TortoiseGit_en.xml:340
590 "TortoiseGit is a free open-source client for the <firstterm>Git</"
591 "firstterm> version control system. That is, TortoiseGit manages files and "
592 "directories over time. Files are stored in a central <firstterm>repository</"
593 "firstterm>. The repository is much like an ordinary file server, except that "
594 "it remembers every change ever made to your files and directories. This "
595 "allows you to recover older versions of your files and examine the history of "
596 "how and when your data changed, and who changed it. This is why many people "
597 "think of Git and version control systems in general as a sort of "
598 "<quote>time machine</quote>."
600 "TortoiseGit 是 <firstterm>Git</firstterm> 版本控制系统的一个免费开源客"
601 "户端,可以超越时间的管理文件和目录。文件保存在中央<firstterm>版本库</"
602 "firstterm>,除了能记住文件和目录的每次修改以外,版本库非常像普通的文件服务器。"
603 "你可以将文件恢复到过去的版本,并且可以通过检查历史知道数据做了哪些修改,谁做的"
604 "修改。这就是为什么许多人将 Git 和版本控制系统看作一种<quote>时间机器</"
608 #: ../source/TortoiseGit_en.xml:352
610 "Some version control systems are also software configuration management (SCM) "
611 "systems. These systems are specifically tailored to manage trees of source "
612 "code, and have many features that are specific to software development - such "
613 "as natively understanding programming languages, or supplying tools for "
614 "building software. Git, however, is not one of these systems; it is a "
615 "general system that can be used to manage <emphasis>any</emphasis> collection "
616 "of files, including source code."
618 "某些版本控制系统也是软件配置管理(SCM)系统,这种系统经过精巧的设计,专门用来管"
619 "理源代码树,并且具备许多与软件开发有关的特性 - 比如,对编程语言的支持,或者提"
620 "供程序构建工具。不过 Git 并不是这样的系统;它是一个通用系统,可以管理"
621 "<emphasis>任何</emphasis>类型的文件集,包括源代码。"
624 #: ../source/TortoiseGit_en.xml:368
625 msgid "TortoiseGit's History"
626 msgstr "TortoiseGit 的历史"
629 #: ../source/TortoiseGit_en.xml:369
631 "In 2002, Tim Kemp found that Git was a very good version control "
632 "system, but it lacked a good GUI client. The idea for a Git client as "
633 "a Windows shell integration was inspired by the similar client for CVS named "
636 "在2002年,Tim Kemp 发现 Git 是一个很好的版本控制系统,但是没有好的图形"
637 "化客户端,创建一个作为 Windows 外壳集成的 Git 客户端的创意来自 "
638 "TortoiseCVS,一个非常类似的 CVS 客户端。"
641 #: ../source/TortoiseGit_en.xml:375
643 "Tim studied the source code of TortoiseCVS and used it as a base for "
644 "TortoiseGit. He then started the project, registered the domain "
645 "<literal>TortoiseGit.org</literal> and put the source code online. During "
646 "that time, Stefan Küng was looking for a good and free version control system "
647 "and found Git and the source for TortoiseGit. Since TortoiseGit was "
648 "still not ready for use then he joined the project and started programming. "
649 "Soon he rewrote most of the existing code and started adding commands and "
650 "features, up to a point where nothing of the original code remained."
652 "Tim 学习了 TortoiseCVS 的源代码,将其作为 TortoiseGit 的基础,然后开始这个项"
653 "目,注册了域名 <literal>TortoiseGit.org</literal>,并将源代码提交到网上。此时 "
654 "Stefan Küng 正在寻找一个好的免费版本控制系统,他发现了 Git 和 "
655 "TortoiseGit,由于 TortoiseGit 还不能够使用,他加入了这个项目并开始编程。很快他"
656 "便重写了大多数代码,并且开始添加命令和特性,此时,最初的代码都已经不复存在了。"
659 #: ../source/TortoiseGit_en.xml:386
661 "As Git became more stable it attracted more and more users who also "
662 "started using TortoiseGit as their Git client. The user base grew "
663 "quickly (and is still growing every day). That's when Lübbe Onken offered to "
664 "help out with some nice icons and a logo for TortoiseGit. And he takes care "
665 "of the website and manages the translation."
667 "随着 Git 越来越稳定,吸引了越来越多的用户开始使用 TortoiseGit 作为他们"
668 "的 Git 客户端。用户群增长迅速(每天都持续增长)。Lübbe Onken 提供了许多漂"
669 "亮图标和 TortoiseGit 的 logo,细心照料网站并且管理翻译。"
672 #: ../source/TortoiseGit_en.xml:399
673 msgid "TortoiseGit's Features"
674 msgstr "TortoiseGit 的特性"
677 #: ../source/TortoiseGit_en.xml:400
679 "What makes TortoiseGit such a good Git client? Here's a short list of "
682 "是什么让 TortoiseGit 成为一个好的 Git 客户端?下面是一个简短的特性列"
686 #: ../source/TortoiseGit_en.xml:406
687 msgid "Shell integration"
691 #: ../source/TortoiseGit_en.xml:409
692 msgid "Windows shell"
696 #: ../source/TortoiseGit_en.xml:412
701 #: ../source/TortoiseGit_en.xml:414
703 "TortoiseGit integrates seamlessly into the Windows shell (i.e. the explorer). "
704 "This means you can keep working with the tools you're already familiar with. "
705 "And you do not have to change into a different application each time you need "
706 "functions of the version control!"
708 "TortoiseGit 与Windows 外壳(例如资源管理器)无缝集成,你可以保持在熟悉的工具上工"
709 "作,不需要在每次使用版本控制功能时切换应用程序。"
712 #: ../source/TortoiseGit_en.xml:421
714 "And you are not even forced to use the Windows Explorer. TortoiseGit's "
715 "context menus work in many other file managers, and in the File/Open dialog "
716 "which is common to most standard Windows applications. You should, however, "
717 "bear in mind that TortoiseGit is intentionally developed as extension for the "
718 "Windows Explorer. Thus it is possible that in other applications the "
719 "integration is not as complete and e.g. the icon overlays may not be shown."
721 "并且你不一定必须使用 Windows 资源管理器,TortoiseGit 的右键菜单可以工作在其他"
722 "文件管理器,以及文件/打开对话框等标准的 Windows 应用程序中。你必须牢记,"
723 "TortoiseGit 是有意作为 Windows 资源管理器的扩展开发,因此在其他程序可能集成的"
727 #: ../source/TortoiseGit_en.xml:435
728 msgid "Icon overlays"
732 #: ../source/TortoiseGit_en.xml:437
734 "The status of every versioned file and folder is indicated by small overlay "
735 "icons. That way you can see right away what the status of your working copy "
738 "每个版本控制的文件和目录的状态使用小的重载图标表示,可以让你立刻看出工作副本的"
742 #: ../source/TortoiseGit_en.xml:445
743 msgid "Easy access to Git commands"
747 #: ../source/TortoiseGit_en.xml:447
749 "All Git commands are available from the explorer context menu. "
750 "TortoiseGit adds its own submenu there."
752 "所有的 Git 命令存在于资源管理器的右键菜单,TortoiseGit 在那里添加子菜"
756 #: ../source/TortoiseGit_en.xml:454
758 "Since TortoiseGit is a Git client, we would also like to show you some "
759 "of the features of Git itself:"
761 "因为 TortoiseGit 是一个 Git 客户端,我们也很愿意为你展示一些 "
765 #: ../source/TortoiseGit_en.xml:460
766 msgid "Directory versioning"
770 #: ../source/TortoiseGit_en.xml:462
772 "CVS only tracks the history of individual files, but Git implements a "
773 "<quote>virtual</quote> versioned filesystem that tracks changes to whole "
774 "directory trees over time. Files <emphasis>and</emphasis> directories are "
775 "versioned. As a result, there are real client-side <command>move</command> "
776 "and <command>copy</command> commands that operate on files and directories."
778 "CVS 只能追踪单个文件的历史,但是 Git 实现了一个<quote>虚拟</quote>文件"
779 "系统,可以追踪整个目录树的修改,文件<emphasis>和</emphasis>目录都是版本控制"
780 "的,结果就是可以在客户端对文件和目录执行<command>移动</command>和<command>复制"
784 #: ../source/TortoiseGit_en.xml:475
785 msgid "Atomic commits"
789 #: ../source/TortoiseGit_en.xml:477
791 "A commit either goes into the repository completely, or not at all. This "
792 "allows developers to construct and commit changes as logical chunks."
794 "提交要么完全进入版本库,要么一点都没有,这允许开发者以一个逻辑块提交修改。"
797 #: ../source/TortoiseGit_en.xml:485
798 msgid "Versioned metadata"
802 #: ../source/TortoiseGit_en.xml:487
804 "Each file and directory has an invisible set of <quote>properties</quote> "
805 "attached. You can invent and store any arbitrary key/value pairs you wish. "
806 "Properties are versioned over time, just like file contents."
808 "每个文件和目录都有一组附加的<quote>属性</quote>,你可以发明和保存任意的键/值"
812 #: ../source/TortoiseGit_en.xml:497
813 msgid "Choice of network layers"
817 #: ../source/TortoiseGit_en.xml:499
819 "Git has an abstracted notion of repository access, making it easy for "
820 "people to implement new network mechanisms. Git's <quote>advanced</"
821 "quote> network server is a module for the Apache web server, which speaks a "
822 "variant of HTTP called WebDAV/DeltaV. This gives Git a big advantage "
823 "in stability and interoperability, and provides various key features for "
824 "free: authentication, authorization, wire compression, and repository "
825 "browsing, for example. A smaller, standalone Git server process is "
826 "also available. This server speaks a custom protocol which can be easily "
829 "Git 在版本库访问方面有一个抽象概念,利于人们去实现新的网络机制,"
830 "Git 的<quote>高级</quote>服务器是 Apache 网络服务器的一个模块,使用 "
831 "HTTP 的变种协议 WebDAV/DeltaV 通讯,这给了 Git 在稳定性和交互性方面很大"
832 "的好处,可以直接使用服务器的特性,例如认证、授权、传输压缩和版本库浏览等等。也"
833 "有一个轻型的,单独运行的 Git 服务器,这个服务器使用自己的协议,可以轻松"
837 #: ../source/TortoiseGit_en.xml:516
838 msgid "Consistent data handling"
842 #: ../source/TortoiseGit_en.xml:518
844 "Git expresses file differences using a binary differencing algorithm, "
845 "which works identically on both text (human-readable) and binary (human-"
846 "unreadable) files. Both types of files are stored equally compressed in the "
847 "repository, and differences are transmitted in both directions across the "
850 "Git 使用二进制文件差异算法展现文件的区别,对于文本(人类可读)和二进制(人"
851 "类不可读)文件具备一致的操作方式,两种类型的文件都压缩存放在版本库中,差异在网"
855 #: ../source/TortoiseGit_en.xml:529
856 msgid "Efficient branching and tagging"
860 #: ../source/TortoiseGit_en.xml:531
862 "The cost of branching and tagging need not be proportional to the project "
863 "size. Git creates branches and tags by simply copying the project, "
864 "using a mechanism similar to a hard-link. Thus these operations take only a "
865 "very small, constant amount of time, and very little space in the repository."
867 "分支与标签的代价不与工程的大小成比例,Git 建立分支与标签时只是复制项"
868 "目,使用了一种类似于硬链接的机制,因而这类操作通常只会花费很少并且相对固定的时"
872 #: ../source/TortoiseGit_en.xml:542
877 #: ../source/TortoiseGit_en.xml:544
879 "Git has no historical baggage; it is implemented as a collection of "
880 "shared C libraries with well-defined APIs. This makes Git extremely "
881 "maintainable and usable by other applications and languages."
883 "Git 没有历史负担,它由一系列良好的共享 C 库实现,具有定义良好的 API,这"
884 "使 Git 非常容易维护,可以轻易的被其他语言和程序使用。"
887 #: ../source/TortoiseGit_en.xml:558
888 msgid "Installing TortoiseGit"
889 msgstr "安装 TortoiseGit"
892 #: ../source/TortoiseGit_en.xml:560
893 msgid "System requirements"
897 #: ../source/TortoiseGit_en.xml:561
899 "TortoiseGit runs on Windows 2000 SP2, Windows XP or higher. Windows 98, "
900 "Windows ME and Windows NT4 are no longer supported since TortoiseGit 1.2.0, "
901 "but you can still download the older versions if you really need them."
903 "TortoiseGit 可以运行在 Windows 2000 SP2,Windows XP 或更高的版本。"
904 "TortoiseGit 1.2.0 以后不再支持 Windows 98, Windows ME 和 Windows NT4,但是如果"
908 #: ../source/TortoiseGit_en.xml:567
910 "If you encounter any problems during or after installing TortoiseGit please "
911 "refer to <xref linkend=\"tsvn-faq\"/> first."
913 "如果在安装 TortoiseGit 时发现了任何问题,请首先参考<xref linkend=\"tsvn-faq\"/"
917 #: ../source/TortoiseGit_en.xml:575
922 #: ../source/TortoiseGit_en.xml:577
927 #: ../source/TortoiseGit_en.xml:579
929 "TortoiseGit comes with an easy to use installer. Double click on the "
930 "installer file and follow the instructions. The installer will take care of "
935 #: ../source/TortoiseGit_en.xml:585
936 msgid "You need Administrator privileges to install TortoiseGit."
940 #: ../source/TortoiseGit_en.xml:591
941 msgid "Language Packs"
945 #: ../source/TortoiseGit_en.xml:593
946 msgid "language packs"
950 #: ../source/TortoiseGit_en.xml:596
955 #: ../source/TortoiseGit_en.xml:598
957 "The TortoiseGit user interface has been translated into many different "
958 "languages, so you may be able to download a language pack to suit your needs. "
959 "You can find the language packs on our <ulink url=\"http://TortoiseGit.net/"
960 "translation_status\"><citetitle>translation status page</citetitle></ulink>. "
961 "And if there is no language pack available yet, why not join the team and "
962 "submit your own translation ;-)"
964 "TortoiseGit 的界面已经翻译成了许多种语言,所以你可以下载符合你要求的语言包。你"
965 "可以在我们的<ulink url=\"http://TortoiseGit.net/translation_status"
966 "\"><citetitle>翻译状态页</citetitle></ulink>里看到语言包。如果没有你需要的,为"
967 "什么不加入我们的团队并且提交你的翻译呢?-)"
970 #: ../source/TortoiseGit_en.xml:609
972 "Each language pack is packaged as a <literal>.exe</literal> installer. Just "
973 "run the install program and follow the instructions. Next time you restart, "
974 "the translation will be available."
976 "每一种语言包都是一个 <literal>.exe</literal> 安装程序,只要根据向导运行安装程"
977 "序,当你下一次启动程序时,翻译就会生效。"
980 #: ../source/TortoiseGit_en.xml:616
985 #: ../source/TortoiseGit_en.xml:618
990 #: ../source/TortoiseGit_en.xml:621
995 #: ../source/TortoiseGit_en.xml:623
997 "TortoiseGit includes a spell checker which allows you to check your commit "
998 "log messages. This is especially useful if the project language is not your "
999 "native language. The spell checker uses the same dictionary files as <ulink "
1000 "url=\"http://openoffice.org\"><citetitle>OpenOffice</citetitle></ulink> and "
1001 "<ulink url=\"http://mozilla.org\"><citetitle>Mozilla</citetitle></ulink>."
1003 "TortoiseGit 包括了一个拼写检查器,可以检查你的提交日志信息,当你的项目语言不是"
1004 "你的本地语言时尤其有用,拼写检查器使用 <ulink url=\"http://openoffice.org"
1005 "\"><citetitle>OpenOffice</citetitle></ulink> 和 <ulink url=\"http://mozilla."
1006 "org\"><citetitle>Mozilla</citetitle></ulink> 相同的词典。"
1009 #: ../source/TortoiseGit_en.xml:636
1011 "The installer automatically adds the US and UK English dictionaries. If you "
1012 "want other languages, the easiest option is simply to install one of "
1013 "TortoiseGit's language packs. This will install the appropriate dictionary "
1014 "files as well as the TortoiseGit local user interface. Next time you restart, "
1015 "the dictionary will be available too."
1017 "安装程序自动添加 US 和 UK 英语词典。如果你需要其他语言,最简单的方法是安装 "
1018 "TortoiseGit 的语言包,这会安装合适的词典文件和 TortoiseGit 的本地用户界面,当"
1019 "你下一次启动程序时,词典也将会生效。"
1022 #: ../source/TortoiseGit_en.xml:644
1024 "Or you can install the dictionaries yourself. If you have OpenOffice or "
1025 "Mozilla installed, you can copy those dictionaries, which are located in the "
1026 "installation folders for those applications. Otherwise, you need to download "
1027 "the required dictionary files from <ulink url=\"http://wiki.services."
1028 "openoffice.org/wiki/Dictionaries\"><citetitle>http://wiki.services.openoffice."
1029 "org/wiki/Dictionaries</citetitle></ulink>"
1031 "或者你也可以自己安装词典。如果你安装了 OpenOffice 或 Mozilla,你可以复制这些词"
1032 "典,位于那些应用的安装目录。否则,你需要从 <ulink url=\"http://wiki.services."
1033 "openoffice.org/wiki/Dictionaries\"><citetitle>http://wiki.services.openoffice."
1034 "org/wiki/Dictionaries</citetitle></ulink> 下载必要的词典文件。"
1037 #: ../source/TortoiseGit_en.xml:653
1039 "Once you have got the dictionary files, you probably need to rename them so "
1040 "that the filenames only have the locale chars in it. Example: <placeholder-1/"
1041 "> Then just copy them to the <filename>bin</filename> sub-folder of the "
1042 "TortoiseGit installation folder. Normally this will be <filename>C:\\Program "
1043 "Files\\TortoiseGit\\bin</filename>. If you don't want to litter the "
1044 "<filename>bin</filename> sub-folder, you can instead place your spell checker "
1045 "files in <filename>C:\\Program Files\\TortoiseGit\\Languages</filename>. If "
1046 "that folder isn't there, you have to create it first. The next time you start "
1047 "TortoiseGit, the spell checker will be available."
1049 "一旦你得到了词典文件,你可能需要重命名文件,这样文件名只包含位置信息,例如: "
1050 "<placeholder-1/>然后把它们复制到TortoiseGit 安装目录的 <filename>bin</"
1051 "filename> 子目录,通常情况下,可能是在 <filename>C:\\Program Files"
1052 "\\TortoiseGit\\bin</filename>。如果你不希望弄乱<filename>bin</filename>子目"
1053 "录,你可以将拼写检查文件放置在<filename>C:\\Program Files\\TortoiseGit"
1054 "\\Languages</filename>,如果那个目录不存在,你可以自己创建,当你下次启动"
1055 "TortoiseGit 时,就可以使用拼写检查器。"
1058 #: ../source/TortoiseGit_en.xml:661
1063 #: ../source/TortoiseGit_en.xml:666
1068 #: ../source/TortoiseGit_en.xml:679
1070 "If you install multiple dictionaries, TortoiseGit uses these rules to select "
1071 "which one to use. <placeholder-1/>"
1073 "如果你安装了多个词典,TortoiseGit 使用下面的规则选择一个。<placeholder-1/>"
1076 #: ../source/TortoiseGit_en.xml:684
1078 "Check the <literal>tsvn:projectlanguage</literal> setting. Refer to <xref "
1079 "linkend=\"tsvn-dug-propertypage\"/> for information about setting project "
1082 "检查 <literal>tsvn:projectlanguage</literal> 设置,关于设置项目属性可以参考"
1083 "<xref linkend=\"tsvn-dug-propertypage\"/>。"
1086 #: ../source/TortoiseGit_en.xml:691
1088 "If no project language is set, or that language is not installed, try the "
1089 "language corresponding to the Windows locale."
1091 "如果没有设置项目语言,或者那个语言没有安装,尝试使用对应 Windows 区域信息的语"
1095 #: ../source/TortoiseGit_en.xml:697
1097 "If the exact Windows locale doesn't work, try the <quote>Base</quote> "
1098 "language, eg. <literal>de_CH</literal> (Swiss-German) falls back to "
1099 "<literal>de_DE</literal> (German)."
1101 "如果精确的 Windows 区域信息不起作用,可以试一下<quote>基础</quote>语言,例如"
1102 "将 <literal>de_CH</literal>(Swiss-German) 修改为 <literal>de_DE</literal> "
1106 #: ../source/TortoiseGit_en.xml:705
1108 "If none of the above works, then the default language is English, which is "
1109 "included with the standard installation."
1110 msgstr "如果以上都没有效果,则缺省语言是英语,包含在标准安装中。"
1113 #: ../source/TortoiseGit_en.xml:722
1114 msgid "Basic Concepts"
1118 #: ../source/TortoiseGit_en.xml:724
1123 #: ../source/TortoiseGit_en.xml:727
1125 "This chapter is a slightly modified version of the same chapter in the "
1126 "Git book. An online version of the Git book is available here: "
1127 "<ulink url=\"http://svnbook.red-bean.com/\"><citetitle>http://svnbook.red-"
1128 "bean.com/</citetitle></ulink>."
1130 "本章修改自《使用 Git 进行版本管理》的相同章节,它的在线版本位于: "
1131 "<ulink url=\"http://svnbook.red-bean.com/\"><citetitle>http://svnbook.red-"
1132 "bean.com/</citetitle></ulink>。"
1135 #: ../source/TortoiseGit_en.xml:735
1137 "This chapter is a short, casual introduction to Git. If you're new to "
1138 "version control, this chapter is definitely for you. We begin with a "
1139 "discussion of general version control concepts, work our way into the "
1140 "specific ideas behind Git, and show some simple examples of Git "
1143 "这一章是对 Git 一个简短随意的介绍,如果你对版本控制很陌生,这一章节完全"
1144 "是为你准备的,我们从讨论基本概念开始,深入理解 Git 的思想,然后展示许多"
1148 #: ../source/TortoiseGit_en.xml:743
1150 "Even though the examples in this chapter show people sharing collections of "
1151 "program source code, keep in mind that Git can manage any sort of file "
1152 "collection - it's not limited to helping computer programmers."
1154 "尽管我们的例子展示了人们如何分享程序源代码,仍然要记住 Git 可以控制所有"
1155 "类型的文件-它并没有限制只为程序员工作。"
1160 #: ../source/TortoiseGit_en.xml:751 ../source/TortoiseGit_en.xml:1256
1161 #: ../source/TortoiseGit_en.xml:2944
1162 msgid "The Repository"
1167 #: ../source/TortoiseGit_en.xml:753 ../source/TortoiseGit_en.xml:3717
1172 #: ../source/TortoiseGit_en.xml:755
1174 "Git is a centralized system for sharing information. At its core is a "
1175 "<firstterm>repository</firstterm>, which is a central store of data. The "
1176 "repository stores information in the form of a <firstterm>filesystem tree</"
1177 "firstterm> - a typical hierarchy of files and directories. Any number of "
1178 "<firstterm>clients</firstterm> connect to the repository, and then read or "
1179 "write to these files. By writing data, a client makes the information "
1180 "available to others; by reading data, the client receives information from "
1183 "Git 是一种集中的分享信息的系统,它的核心是<firstterm>版本库</"
1184 "firstterm>,储存所有的数据,版本库按照<firstterm>文件树</firstterm>形式储存数"
1185 "据-包括文件和目录,任意数量的<firstterm>客户端</firstterm>可以连接到版本库,"
1186 "读写这些文件。通过写数据,别人可以看到这些信息;通过读数据,可以看到别人的修"
1190 #: ../source/TortoiseGit_en.xml:767
1191 msgid "A Typical Client/Server System"
1192 msgstr "一个典型的客户/服务器系统"
1195 #: ../source/TortoiseGit_en.xml:770
1197 "So why is this interesting? So far, this sounds like the definition of a "
1198 "typical file server. And indeed, the repository <emphasis>is</emphasis> a "
1199 "kind of file server, but it's not your usual breed. What makes the Git "
1200 "repository special is that <emphasis>it remembers every change</emphasis> "
1201 "ever written to it: every change to every file, and even changes to the "
1202 "directory tree itself, such as the addition, deletion, and rearrangement of "
1203 "files and directories."
1205 "所以为什么这很有趣呢?讲了这么多,让人感觉这是一种普通的文件服务器,但实际上,"
1206 "版本库<emphasis>是</emphasis>另一种文件服务器,而不是你常见的那一种。最特别的"
1207 "是 Git <emphasis>会记录每一次的更改</emphasis>,不仅针对文件也包括目录"
1208 "本身,包括增加、删除和重新组织文件和目录。"
1211 #: ../source/TortoiseGit_en.xml:780
1214 "When a client reads data from the repository, it normally sees only the "
1215 "latest version of the filesystem tree. But the client also has the ability to "
1216 "view <emphasis>previous</emphasis> states of the filesystem. For example, a "
1217 "client can ask historical questions like, <quote>what did this directory "
1218 "contain last Wednesday?</quote>, or <quote>who was the last person to change "
1219 "this file, and what changes did they make?</quote> These are the sorts of "
1220 "questions that are at the heart of any <firstterm>version control system</"
1221 "firstterm>: systems that are designed to record and track changes to data "
1224 "当一个客户端从版本库读取数据时,通常只会看到最新的版本,但是客户端也可以去看"
1225 "<emphasis>以前</emphasis>的任何一个版本。举个例子,一个客户端可以问这样的历史"
1226 "问题,<quote>上个星期三的目录是怎样的?</quote>,或者<quote>是谁最后一个修改了"
1227 "这个文件,改动了什么?</quote>,这些是任何<firstterm>版本控制系统</firstterm>"
1228 "的核心问题: 系统是设计用来记录和跟踪每次修改的。"
1231 #: ../source/TortoiseGit_en.xml:795
1232 msgid "Versioning Models"
1236 #: ../source/TortoiseGit_en.xml:796
1238 "All version control systems have to solve the same fundamental problem: how "
1239 "will the system allow users to share information, but prevent them from "
1240 "accidentally stepping on each other's feet? It's all too easy for users to "
1241 "accidentally overwrite each other's changes in the repository."
1243 "所有的版本控制系统都需要解决这样一个基础问题: 怎样让系统允许用户共享信息,而不"
1244 "会让他们因意外而互相干扰?版本库里意外覆盖别人的更改非常的容易。"
1247 #: ../source/TortoiseGit_en.xml:805
1248 msgid "The Problem of File-Sharing"
1252 #: ../source/TortoiseGit_en.xml:806
1254 "Consider this scenario: suppose we have two co-workers, Harry and Sally. They "
1255 "each decide to edit the same repository file at the same time. If Harry saves "
1256 "his changes to the repository first, then it's possible that (a few moments "
1257 "later) Sally could accidentally overwrite them with her own new version of "
1258 "the file. While Harry's version of the file won't be lost forever (because "
1259 "the system remembers every change), any changes Harry made <emphasis>won't</"
1260 "emphasis> be present in Sally's newer version of the file, because she never "
1261 "saw Harry's changes to begin with. Harry's work is still effectively lost - "
1262 "or at least missing from the latest version of the file - and probably by "
1263 "accident. This is definitely a situation we want to avoid!"
1265 "考虑这个情景,我们有两个共同工作者,Harry 和 Sally,他们想同时编辑版本库里的同"
1266 "一个文件,如果首先 Harry 保存它的修改,过了一会,Sally 可能凑巧用自己的版本覆"
1267 "盖了这些文件,Harry 的更改不会永远消失(因为系统记录了每次修改),Harry 所有的修"
1268 "改<emphasis>不会</emphasis>出现在 Sally 的文件中,所以 Harry 的工作还是丢失了"
1269 "—至少是从最新的版本中丢失了—而且是意外的,这就是我们要明确避免的情"
1273 #: ../source/TortoiseGit_en.xml:822
1274 msgid "The Problem to Avoid"
1279 #: ../source/TortoiseGit_en.xml:827 ../source/TortoiseGit_en.xml:843
1280 msgid "The Lock-Modify-Unlock Solution"
1281 msgstr "锁定-修改-解锁 方案"
1284 #: ../source/TortoiseGit_en.xml:828
1287 "Many version control systems use a <firstterm>lock-modify-unlock</firstterm> "
1288 "model to address this problem, which is a very simple solution. In such a "
1289 "system, the repository allows only one person to change a file at a time. "
1290 "First Harry must <emphasis>lock</emphasis> the file before he can begin "
1291 "making changes to it. Locking a file is a lot like borrowing a book from the "
1292 "library; if Harry has locked a file, then Sally cannot make any changes to "
1293 "it. If she tries to lock the file, the repository will deny the request. All "
1294 "she can do is read the file, and wait for Harry to finish his changes and "
1295 "release his lock. After Harry unlocks the file, his turn is over, and now "
1296 "Sally can take her turn by locking and editing."
1298 "许多版本控制系统使用<firstterm>锁定-修改-解锁</firstterm>这种机制解决这种问"
1299 "题,在这样的模型里,在一个时间段里版本库的一个文件只允许被一个人修改。首先在修"
1300 "改之前,Harry 要“锁定”住这个文件,锁定很像是从图书馆借一本书,如果 Harry 锁住"
1301 "这个文件,Sally 不能做任何修改,如果 Sally 想请求得到一个锁,版本库会拒绝这个"
1302 "请求。在 Harry 结束编辑并且放开这个锁之前,她只可以阅读文件。Harry 解锁后,就"
1303 "要换班了,Sally 得到自己的轮换位置,锁定并且开始编辑这个文件。"
1306 #: ../source/TortoiseGit_en.xml:846
1308 "The problem with the lock-modify-unlock model is that it's a bit restrictive, "
1309 "and often becomes a roadblock for users:"
1310 msgstr "锁定-修改-解锁模型有一点问题就是限制太多,经常会成为用户的障碍: "
1313 #: ../source/TortoiseGit_en.xml:853
1315 "<emphasis>Locking may cause administrative problems.</emphasis> Sometimes "
1316 "Harry will lock a file and then forget about it. Meanwhile, because Sally is "
1317 "still waiting to edit the file, her hands are tied. And then Harry goes on "
1318 "vacation. Now Sally has to get an administrator to release Harry's lock. The "
1319 "situation ends up causing a lot of unnecessary delay and wasted time."
1321 "<emphasis>锁定可能导致管理问题。</emphasis>有时候 Harry 会锁住文件然后忘了此"
1322 "事,这就是说 Sally 一直等待解锁来编辑这些文件,她在这里僵住了。然后 Harry 去旅"
1323 "行了,现在 Sally 只好去找管理员放开锁,这种情况会导致不必要的耽搁和时间浪费。"
1326 #: ../source/TortoiseGit_en.xml:864
1328 "<emphasis>Locking may cause unnecessary serialization.</emphasis> What if "
1329 "Harry is editing the beginning of a text file, and Sally simply wants to edit "
1330 "the end of the same file? These changes don't overlap at all. They could "
1331 "easily edit the file simultaneously, and no great harm would come, assuming "
1332 "the changes were properly merged together. There's no need for them to take "
1333 "turns in this situation."
1335 "<emphasis>锁定可能导致不必要的线性化开发。</emphasis>如果 Harry 编辑一个文件的"
1336 "开始,Sally 想编辑同一个文件的结尾,这种修改不会冲突,设想修改可以正确的合并到"
1337 "一起,他们可以轻松的并行工作而没有太多的坏处,没有必要让他们轮流工作。"
1340 #: ../source/TortoiseGit_en.xml:876
1342 "<emphasis>Locking may create a false sense of security.</emphasis> Pretend "
1343 "that Harry locks and edits file A, while Sally simultaneously locks and edits "
1344 "file B. But suppose that A and B depend on one another, and the changes made "
1345 "to each are semantically incompatible. Suddenly A and B don't work together "
1346 "anymore. The locking system was powerless to prevent the problem - yet it "
1347 "somehow provided a sense of false security. It's easy for Harry and Sally to "
1348 "imagine that by locking files, each is beginning a safe, insulated task, and "
1349 "thus inhibits them from discussing their incompatible changes early on."
1351 "<emphasis>锁定可能导致错误的安全状态。</emphasis>假设 Harry 锁定和编辑一个文"
1352 "件 A,同时 Sally 锁定并编辑文件 B,如果 A 和 B 互相依赖,这种变化是必须同时作"
1353 "的,这样 A 和 B 不能正确的工作了,锁定机制对防止此类问题将无能为力—从而产生了"
1354 "一种处于安全状态的假相。很容易想象 Harry 和 Sally 都以为自己锁住了文件,而且从"
1355 "一个安全,孤立的情况开始工作,因而没有尽早发现他们不匹配的修改。"
1359 #: ../source/TortoiseGit_en.xml:894 ../source/TortoiseGit_en.xml:922
1360 msgid "The Copy-Modify-Merge Solution"
1361 msgstr "复制-修改-合并 方案"
1364 #: ../source/TortoiseGit_en.xml:895
1366 "Git, CVS, and other version control systems use a <firstterm>copy-"
1367 "modify-merge</firstterm> model as an alternative to locking. In this model, "
1368 "each user's client reads the repository and creates a personal "
1369 "<firstterm>working copy</firstterm> of the file or project. Users then work "
1370 "in parallel, modifying their private copies. Finally, the private copies are "
1371 "merged together into a new, final version. The version control system often "
1372 "assists with the merging, but ultimately a human being is responsible for "
1373 "making it happen correctly."
1375 "Git,CVS 和一些版本控制系统使用<firstterm>复制-修改-合并</firstterm>模"
1376 "型,在这种模型里,每一个客户读取项目版本库建立一个私有<firstterm>工作副本</"
1377 "firstterm>—版本库中文件和目录的本地映射。用户并行工作,修改各自的工作副"
1378 "本,最终,各个私有的复制合并在一起,成为最终的版本,这种系统通常可以辅助合并操"
1382 #: ../source/TortoiseGit_en.xml:907
1385 "Here's an example. Say that Harry and Sally each create working copies of the "
1386 "same project, copied from the repository. They work concurrently, and make "
1387 "changes to the same file <filename>A</filename> within their copies. Sally "
1388 "saves her changes to the repository first. When Harry attempts to save his "
1389 "changes later, the repository informs him that his file A is <firstterm>out-"
1390 "of-date</firstterm>. In other words, that file A in the repository has "
1391 "somehow changed since he last copied it. So Harry asks his client to "
1392 "<firstterm>merge</firstterm> any new changes from the repository into his "
1393 "working copy of file A. Chances are that Sally's changes don't overlap with "
1394 "his own; so once he has both sets of changes integrated, he saves his working "
1395 "copy back to the repository."
1397 "这是一个例子,Harry 和 Sally 为同一个项目各自建立了一个工作副本,工作是并行"
1398 "的,修改了同一个文件 A,Sally 首先保存修改到版本库,当 Harry 想去提交修改的时"
1399 "候,版本库提示文件 A 已经<firstterm>过期</firstterm>,换句话说,A 在他上次更新"
1400 "之后已经更改了,所以当他通过客户端请求<firstterm>合并</firstterm>版本库和他的"
1401 "工作副本之后,碰巧 Sally 的修改和他的不冲突,所以一旦他把所有的修改集成到一"
1405 #: ../source/TortoiseGit_en.xml:926
1406 msgid "...Copy-Modify-Merge Continued"
1407 msgstr "复制-修改-合并 方案(续)"
1411 #: ../source/TortoiseGit_en.xml:930 ../source/TortoiseGit_en.xml:4897
1416 #: ../source/TortoiseGit_en.xml:932
1418 "But what if Sally's changes <emphasis>do</emphasis> overlap with Harry's "
1419 "changes? What then? This situation is called a <firstterm>conflict</"
1420 "firstterm>, and it's usually not much of a problem. When Harry asks his "
1421 "client to merge the latest repository changes into his working copy, his copy "
1422 "of file A is somehow flagged as being in a state of conflict: he'll be able "
1423 "to see both sets of conflicting changes, and manually choose between them. "
1424 "Note that software can't automatically resolve conflicts; only humans are "
1425 "capable of understanding and making the necessary intelligent choices. Once "
1426 "Harry has manually resolved the overlapping changes (perhaps by discussing "
1427 "the conflict with Sally!), he can safely save the merged file back to the "
1430 "但是如果 Sally 和 Harry 的修改<emphasis>重叠</emphasis>了该怎么办?这种情况叫"
1431 "做<firstterm>冲突</firstterm>,这通常不是个大问题,当 Harry 告诉他的客户端去合"
1432 "并版本库的最新修改到自己的工作副本时,他的文件 A 就会处于冲突状态: 他可以看到"
1433 "一对冲突的修改集,并手工的选择保留一组修改。需要注意的是软件不能自动的解决冲"
1434 "突,只有人可以理解并作出智能的选择,一旦 Harry 手工的解决了冲突(也许需要与 "
1435 "Sally 讨论),他就可以安全的把合并的文件保存到版本库。"
1438 #: ../source/TortoiseGit_en.xml:947
1440 "The copy-modify-merge model may sound a bit chaotic, but in practice, it runs "
1441 "extremely smoothly. Users can work in parallel, never waiting for one "
1442 "another. When they work on the same files, it turns out that most of their "
1443 "concurrent changes don't overlap at all; conflicts are infrequent. And the "
1444 "amount of time it takes to resolve conflicts is far less than the time lost "
1445 "by a locking system."
1447 "复制-修改-合并模型感觉是有一点混乱,但在实践中,通常运行的很平稳,用户可以并行"
1448 "的工作,不必等待别人,当工作在同一个文件上时,也很少会有重叠发生,冲突并不频"
1449 "繁,处理冲突的时间远比等待解锁花费的时间少。"
1452 #: ../source/TortoiseGit_en.xml:956
1454 "In the end, it all comes down to one critical factor: user communication. "
1455 "When users communicate poorly, both syntactic and semantic conflicts "
1456 "increase. No system can force users to communicate perfectly, and no system "
1457 "can detect semantic conflicts. So there's no point in being lulled into a "
1458 "false promise that a locking system will somehow prevent conflicts; in "
1459 "practice, locking seems to inhibit productivity more than anything else."
1461 "最后,一切都要归结到一条重要的因素: 用户交流。当用户交流贫乏,语法和语义的冲突"
1462 "就会增加,没有系统可以强制用户完美的交流,没有系统可以检测语义上的冲突,所以没"
1463 "有任何证据能够承诺锁定系统可以防止冲突,实践中,锁定除了约束了生产力,并没有做"
1467 #: ../source/TortoiseGit_en.xml:966
1469 "There is one common situation where the lock-modify-unlock model comes out "
1470 "better, and that is where you have unmergeable files. For example if your "
1471 "repository contains some graphic images, and two people change the image at "
1472 "the same time, there is no way for those changes to be merged together. "
1473 "Either Harry or Sally will lose their changes."
1475 "有一种情况下锁定-修改-解锁模型会更好,也就是你有不可合并的文件,例如你的版本库"
1476 "包含了图片,两个人同时编辑这个文件,没有办法将这两个修改合并,Harry 或 Sally "
1480 #: ../source/TortoiseGit_en.xml:976
1481 msgid "What does Git Do?"
1485 #: ../source/TortoiseGit_en.xml:977
1487 "Git uses the copy-modify-merge solution by default, and in many cases "
1488 "this is all you will ever need. However, as of Version 1.2, Git also "
1489 "supports file locking, so if you have unmergeable files, or if you are simply "
1490 "forced into a locking policy by management, Git will still provide the "
1491 "features you need."
1493 "Git 缺省使用复制-修改-合并模型,大多数情况下可以满足你的需求。然而,"
1494 "Git 1.2 后还是支持锁定,如果你有不可合并的文件,或者你只是想实行强制管"
1495 "理策略,Git 仍然会提供你需要的特性。"
1498 #: ../source/TortoiseGit_en.xml:989
1499 msgid "Git in Action"
1503 #: ../source/TortoiseGit_en.xml:991
1504 msgid "Working Copies"
1508 #: ../source/TortoiseGit_en.xml:993
1509 msgid "working copy"
1513 #: ../source/TortoiseGit_en.xml:995
1515 "You've already read about working copies; now we'll demonstrate how the "
1516 "Git client creates and uses them."
1518 "你已经阅读过了关于工作副本的内容,现在我们要讲一讲客户端怎样建立和使用它。"
1521 #: ../source/TortoiseGit_en.xml:1000
1523 "A Git working copy is an ordinary directory tree on your local system, "
1524 "containing a collection of files. You can edit these files however you wish, "
1525 "and if they're source code files, you can compile your program from them in "
1526 "the usual way. Your working copy is your own private work area: Git "
1527 "will never incorporate other people's changes, nor make your own changes "
1528 "available to others, until you explicitly tell it to do so."
1530 "一个 Git 工作副本是你本地机器一个普通的目录,保存着一些文件,你可以任意"
1531 "的编辑文件,而且如果是源代码文件,你可以像平常一样编译,你的工作副本是你的私有"
1532 "工作区,在你明确的做了特定操作之前,Git 不会把你的修改与其他人的合并,"
1536 #: ../source/TortoiseGit_en.xml:1010
1539 "After you've made some changes to the files in your working copy and verified "
1540 "that they work properly, Git provides you with commands to "
1541 "<emphasis>publish</emphasis> your changes to the other people working with "
1542 "you on your project (by writing to the repository). If other people publish "
1543 "their own changes, Git provides you with commands to merge those "
1544 "changes into your working directory (by reading from the repository)."
1546 "当你在工作副本作了一些修改并且确认它们工作正常之后,Git 提供了一个命令"
1547 "可以“发布”你的修改给项目中的其他人(通过写到版本库),如果别人发布了各自的修改,"
1548 "Git 提供了手段可以把这些修改与你的工作目录进行合并(通过读取版本库)。"
1551 #: ../source/TortoiseGit_en.xml:1020
1553 "A working copy also contains some extra files, created and maintained by "
1554 "Git, to help it carry out these commands. In particular, each "
1555 "directory in your working copy contains a subdirectory named <filename>.svn</"
1556 "filename>, also known as the working copy <firstterm>administrative "
1557 "directory</firstterm>. The files in each administrative directory help "
1558 "Git recognize which files contain unpublished changes, and which files "
1559 "are out-of-date with respect to others' work."
1561 "一个工作副本也包括一些由 Git 创建并维护的额外文件,用来协助执行这些命"
1562 "令。通常情况下,你的工作副本每一个文件夹有一个以 <filename>.svn</filename> 为"
1563 "名的文件夹,也被叫做工作副本<firstterm>管理目录</firstterm>,这个目录里的文件"
1564 "能够帮助 Git 识别哪一个文件做过修改,哪一个文件相对于别人的工作已经过期"
1568 #: ../source/TortoiseGit_en.xml:1031
1570 "A typical Git repository often holds the files (or source code) for "
1571 "several projects; usually, each project is a subdirectory in the repository's "
1572 "filesystem tree. In this arrangement, a user's working copy will usually "
1573 "correspond to a particular subtree of the repository."
1575 "一个典型的 Git 的版本库经常包含许多项目的文件(或者说源代码),通常每一个"
1576 "项目都是版本库的子目录,在这种安排下,一个用户的工作副本往往对应版本库的的一个"
1580 #: ../source/TortoiseGit_en.xml:1038
1582 "For example, suppose you have a repository that contains two software "
1584 msgstr "举一个例子,你的版本库包含两个软件项目。"
1587 #: ../source/TortoiseGit_en.xml:1043
1588 msgid "The Repository's Filesystem"
1592 #: ../source/TortoiseGit_en.xml:1046
1594 "In other words, the repository's root directory has two subdirectories: "
1595 "<filename>paint</filename> and <filename>calc</filename>."
1597 "换句话说,版本库的根目录包含两个子目录: <filename>paint</filename> 和 "
1598 "<filename>calc</filename>。"
1601 #: ../source/TortoiseGit_en.xml:1051
1604 "To get a working copy, you must <firstterm>check out</firstterm> some subtree "
1605 "of the repository. (The term <emphasis>check out</emphasis> may sound like it "
1606 "has something to do with locking or reserving resources, but it doesn't; it "
1607 "simply creates a private copy of the project for you)."
1609 "为了得到一个工作副本,你必须<firstterm>检出</firstterm>版本库的一个子树,(术"
1610 "语“检出”听起来像是锁定或者保留资源,实际上不是,它只是简单的得到一个项目的私有"
1614 #: ../source/TortoiseGit_en.xml:1058
1616 "Suppose you make changes to <filename>button.c</filename>. Since the "
1617 "<filename>.svn</filename> directory remembers the file's modification date "
1618 "and original contents, Git can tell that you've changed the file. "
1619 "However, Git does not make your changes public until you explicitly "
1620 "tell it to. The act of publishing your changes is more commonly known as "
1621 "<firstterm>committing</firstterm> (or <firstterm>checking in</firstterm>) "
1622 "changes to the repository."
1624 "假定你修改了 <filename>button.c</filename>,因为 <filename>.svn</filename> 目"
1625 "录记录着文件的修改日期和原始内容,Git 可以告诉你已经修改了文件,然而,"
1626 "在你明确告诉它之前,Git 不会将你的改变公开。将改变公开的操作被叫做提交"
1627 "(或者是<firstterm>检入</firstterm>),它提交修改到版本库中。"
1630 #: ../source/TortoiseGit_en.xml:1068
1632 "To publish your changes to others, you can use Git's <command>commit</"
1634 msgstr "发布你的修改给别人,可以使用 Git 的提交命令。"
1637 #: ../source/TortoiseGit_en.xml:1072
1639 "Now your changes to <filename>button.c</filename> have been committed to the "
1640 "repository; if another user checks out a working copy of <filename>/calc</"
1641 "filename>, they will see your changes in the latest version of the file."
1643 "这时你对 <filename>button.c</filename> 的修改已经提交到了版本库,如果其他人取"
1644 "出了 <filename>/calc</filename> 的一个工作副本,他们会看到这个文件最新的版本。"
1647 #: ../source/TortoiseGit_en.xml:1078
1649 "Suppose you have a collaborator, Sally, who checked out a working copy of "
1650 "<filename>/calc</filename> at the same time you did. When you commit your "
1651 "change to <filename>button.c</filename>, Sally's working copy is left "
1652 "unchanged; Git only modifies working copies at the user's request."
1654 "设你有个合作者,Sally,她和你同时取出了 <filename>/calc</filename> 的一个工作"
1655 "副本,你提交了你对 <filename>button.c</filename> 的修改,Sally 的工作副本并没"
1656 "有改变,Git 只在用户要求的时候才改变工作副本。"
1659 #: ../source/TortoiseGit_en.xml:1086
1661 "To bring her project up to date, Sally can ask Git to "
1662 "<firstterm>update</firstterm> her working copy, by using the Git "
1663 "<command>update</command> command. This will incorporate your changes into "
1664 "her working copy, as well as any others that have been committed since she "
1667 "要使项目最新,Sally 可以要求 Git <firstterm>更新</firstterm>她的工作副"
1668 "本,通过使用更新命令,可以将你和所有其他人在她上次更新之后的修改合并到她的工作"
1672 #: ../source/TortoiseGit_en.xml:1094
1674 "Note that Sally didn't need to specify which files to update; Git uses "
1675 "the information in the <filename>.svn</filename> directory, and further "
1676 "information in the repository, to decide which files need to be brought up to "
1679 "注意,Sally 不必指定要更新的文件,Git 利用 <filename>.svn</filename> 以"
1680 "及版本库的进一步信息决定哪些文件需要更新。"
1683 #: ../source/TortoiseGit_en.xml:1103
1684 msgid "Repository URLs"
1688 #: ../source/TortoiseGit_en.xml:1104
1690 "Git repositories can be accessed through many different methods - on "
1691 "local disk, or through various network protocols. A repository location, "
1692 "however, is always a URL. The URL schema indicates the access method:"
1694 "Git 可以通过多种方式访问-本地磁盘访问,或各种各样不同的网络协议,但一"
1695 "个版本库地址永远都是一个 URL,URL 方案反映了访问方法。"
1698 #: ../source/TortoiseGit_en.xml:1112
1699 msgid "Repository Access URLs"
1703 #: ../source/TortoiseGit_en.xml:1118
1708 #: ../source/TortoiseGit_en.xml:1119
1709 msgid "Access Method"
1713 #: ../source/TortoiseGit_en.xml:1125
1718 #: ../source/TortoiseGit_en.xml:1127
1719 msgid "Direct repository access on local or network drive."
1720 msgstr "直接版本库访问(本地磁盘或者网络磁盘)。"
1724 #: ../source/TortoiseGit_en.xml:1133 ../source/TortoiseGit_en.xml:1144
1729 #: ../source/TortoiseGit_en.xml:1135
1730 msgid "Access via WebDAV protocol to Git-aware Apache server."
1731 msgstr "通过 WebDAV 协议访问支持 Git 的 Apache 服务器。"
1734 #: ../source/TortoiseGit_en.xml:1141
1739 #: ../source/TortoiseGit_en.xml:1143
1740 msgid "Same as <placeholder-1/>, but with SSL encryption."
1741 msgstr "与 <placeholder-1/> 相似,但是用 SSL 加密。"
1744 #: ../source/TortoiseGit_en.xml:1149
1749 #: ../source/TortoiseGit_en.xml:1151
1751 "Unauthenticated TCP/IP access via custom protocol to a <placeholder-1/> "
1753 msgstr "通过未认证的 TCP/IP 自定义协议访问 <placeholder-1/> 服务器。"
1759 #: ../source/TortoiseGit_en.xml:1153 ../source/TortoiseGit_en.xml:1162
1760 #: ../source/TortoiseGit_en.xml:2483 ../source/TortoiseGit_en.xml:2622
1765 #: ../source/TortoiseGit_en.xml:1158
1770 #: ../source/TortoiseGit_en.xml:1160
1772 "authenticated, encrypted TCP/IP access via custom protocol to a <placeholder-"
1774 msgstr "通过认证并加密的 TCP/IP 自定义协议访问 <placeholder-1/> 服务器。"
1777 #: ../source/TortoiseGit_en.xml:1168
1780 "For the most part, Git's URLs use the standard syntax, allowing for "
1781 "server names and port numbers to be specified as part of the URL. The "
1782 "<literal>file://</literal> access method is normally used for local access, "
1783 "although it can be used with UNC paths to a networked host. The URL therefore "
1784 "takes the form <systemitem class=\"url\">file://hostname/path/to/repos</"
1785 "systemitem>. For the local machine, the <literal>hostname</literal> portion "
1786 "of the URL is required to be either absent or <literal>localhost</literal>. "
1787 "For this reason, local paths normally appear with three slashes, <systemitem "
1788 "class=\"url\">file:///path/to/repos</systemitem>."
1790 "大多数情况下,Git 的 URL 使用标准语法,允许服务器名称和端口号作为 URL "
1791 "的一部分。<literal>file:</literal>访问方法通常用来本地访问,尽管也可以使用 "
1792 "UNC 路径访问网络主机,采用的 URL 形式为 <literal>file://hostname/path/to/"
1793 "repos</literal>。对于本地主机,主机部分可以为空或者是<literal>localhost</"
1794 "literal>,因此,本地路径通常出现三个斜线-<literal>file:///path/to/repos</"
1798 #: ../source/TortoiseGit_en.xml:1181
1801 "Also, users of the <literal>file://</literal> scheme on Windows platforms "
1802 "will need to use an unofficially <quote>standard</quote> syntax for accessing "
1803 "repositories that are on the same machine, but on a different drive than the "
1804 "client's current working drive. Either of the two following URL path syntaxes "
1805 "will work where <literal>X</literal> is the drive on which the repository "
1808 "另外,在 Windows 平台的 <literal>file:</literal> 方案有时候需要使用一种非正式"
1809 "的<quote>标准</quote>协议访问本地但不是程序运行磁盘的版本库,以下两种 URL 路径"
1810 "语法都可以工作,其中的 <literal>X</literal> 是版本库所在的磁盘: "
1813 #: ../source/TortoiseGit_en.xml:1191
1817 "file:///X:/path/to/repos\n"
1819 "file:///X|/path/to/repos\n"
1823 "file:///X:/path/to/repos\n"
1825 "file:///X|/path/to/repos\n"
1829 #: ../source/TortoiseGit_en.xml:1197
1831 "Note that a URL uses ordinary slashes even though the native (non-URL) form "
1832 "of a path on Windows uses backslashes."
1833 msgstr "注意 URL 使用普通的斜杠,而不是 Windows 本地(非 URL)形式的路径。"
1836 #: ../source/TortoiseGit_en.xml:1201
1838 "You can safely access a FSFS repository via a network share, but you "
1839 "<emphasis>cannot</emphasis> access a BDB repository in this way."
1841 "你可以安全的访问网络共享的 FSFS 版本库,但是你<emphasis>不能</emphasis>以这种"
1846 #: ../source/TortoiseGit_en.xml:1207 ../source/TortoiseGit_en.xml:2609
1848 "Do not create or access a Berkeley DB repository on a network share. It "
1849 "<emphasis>cannot</emphasis> exist on a remote filesystem. Not even if you "
1850 "have the network drive mapped to a drive letter. If you attempt to use "
1851 "Berkeley DB on a network share, the results are unpredictable - you may see "
1852 "mysterious errors right away, or it may be months before you discover that "
1853 "your repository database is subtly corrupted."
1855 "不要创建和访问网络共享上的 Berkeley DB 版本库,它<emphasis>不能</emphasis>存在"
1856 "于一个远程的文件系统,即使是映射到盘符的共享。如果你希望在网络共享使用 "
1857 "Berkeley DB,结果难以预料-你可能会立刻看到奇怪的错误,也有可能几个月之后才发"
1861 #: ../source/TortoiseGit_en.xml:1219
1867 #: ../source/TortoiseGit_en.xml:1221 ../source/TortoiseGit_en.xml:9713
1872 #: ../source/TortoiseGit_en.xml:1223
1874 "A <command>svn commit</command> operation can publish changes to any number "
1875 "of files and directories as a single atomic transaction. In your working "
1876 "copy, you can change files' contents, create, delete, rename and copy files "
1877 "and directories, and then commit the complete set of changes as a unit."
1879 "<command>svn commit</command> 操作可以作为一个原子事务操作发布任意数量文件和目"
1880 "录的修改。在你的工作副本中,你可以改变文件内容,创建、删除、改名和复制文件和目"
1884 #: ../source/TortoiseGit_en.xml:1231
1886 "In the repository, each commit is treated as an atomic transaction: either "
1887 "all the commits changes take place, or none of them take place. Git "
1888 "retains this atomicity in the face of program crashes, system crashes, "
1889 "network problems, and other users' actions."
1891 "在版本库中,每次提交被当作一次原子事务操作: 要么所有的改变发生,要么都不发生,"
1892 "Git 努力保持原子性以应对程序错误、系统错误、网络问题和其他用户行为。"
1895 #: ../source/TortoiseGit_en.xml:1238
1897 "Each time the repository accepts a commit, this creates a new state of the "
1898 "filesystem tree, called a <firstterm>revision</firstterm>. Each revision is "
1899 "assigned a unique natural number, one greater than the number of the previous "
1900 "revision. The initial revision of a freshly created repository is numbered "
1901 "zero, and consists of nothing but an empty root directory."
1903 "每当版本库接受了一个提交,文件系统进入了一个新的状态,叫做版本,每个版本被赋予"
1904 "一个独一无二的自然数,一个比一个大,初始修订号是 0,只创建了一个空目录,没有任"
1908 #: ../source/TortoiseGit_en.xml:1247
1910 "A nice way to visualize the repository is as a series of trees. Imagine an "
1911 "array of revision numbers, starting at 0, stretching from left to right. Each "
1912 "revision number has a filesystem tree hanging below it, and each tree is a "
1913 "<quote>snapshot</quote> of the way the repository looked after each commit."
1915 "可以形象的把版本库看作一系列树,想象有一组版本号,从 0 开始,从左到右,每一个"
1916 "修订号有一个目录树挂在它下面,每一个树好像是一次提交后的版本库“快照”。"
1919 #: ../source/TortoiseGit_en.xml:1260
1920 msgid "Global Revision Numbers"
1924 #: ../source/TortoiseGit_en.xml:1261
1926 "Unlike those of many other version control systems, Git's revision "
1927 "numbers apply to <emphasis>entire trees</emphasis>, not individual files. "
1928 "Each revision number selects an entire tree, a particular state of the "
1929 "repository after some committed change. Another way to think about it is that "
1930 "revision N represents the state of the repository filesystem after the Nth "
1931 "commit. When a Git user talks about ``revision 5 of <filename>foo.c</"
1932 "filename>'', they really mean ``<filename>foo.c</filename> as it appears in "
1933 "revision 5.'' Notice that in general, revisions N and M of a file do "
1934 "<emphasis>not</emphasis> necessarily differ!"
1936 "不像其它版本控制系统,Git 的版本号是针对整个<emphasis>目录树</emphasis>"
1937 "的,而不是单个文件。每一个版本号代表了一次提交后版本库整个目录树的特定状态,另"
1938 "一种理解是版本 N 代表版本库已经经过了 N 次提交。当 Git 用户讨"
1939 "论“<filename>foo.c</filename>的版本 5”时,他们的实际意思是“在版本 5 时的"
1940 "<filename>foo.c</filename>”。需要注意的是,一个文件的版本 N 和 M 并<emphasis>"
1941 "不</emphasis>表示它必定不同。"
1944 #: ../source/TortoiseGit_en.xml:1276
1946 "It's important to note that working copies do not always correspond to any "
1947 "single revision in the repository; they may contain files from several "
1948 "different revisions. For example, suppose you check out a working copy from a "
1949 "repository whose most recent revision is 4:"
1951 "需要特别注意的是,工作副本并不一定对应版本库中的单一版本,他们可能包含多个版本"
1952 "的文件。举个例子,你从版本库检出一个工作副本,最新的版本是 4: "
1955 #: ../source/TortoiseGit_en.xml:1283
1969 #: ../source/TortoiseGit_en.xml:1288
1971 "At the moment, this working directory corresponds exactly to revision 4 in "
1972 "the repository. However, suppose you make a change to <filename>button.c</"
1973 "filename>, and commit that change. Assuming no other commits have taken "
1974 "place, your commit will create revision 5 of the repository, and your working "
1975 "copy will now look like this:"
1977 "此刻,工作目录与版本库的版本 4 完全对应,然而,你修改了 <filename>button.c</"
1978 "filename> 并且提交之后,假设没有别的提交出现,你的提交会在版本库建立版本 5,你"
1982 #: ../source/TortoiseGit_en.xml:1296
1996 #: ../source/TortoiseGit_en.xml:1301
1998 "Suppose that, at this point, Sally commits a change to <filename>integer.c</"
1999 "filename>, creating revision 6. If you use <command>svn update</command> to "
2000 "bring your working copy up to date, then it will look like this:"
2002 "假设此刻,Sally 提交了对 <filename>integer.c</filename> 的修改,建立修订版本 "
2003 "6,如果你使用 <command>svn update</command> 来更新你的工作副本,你会看到: "
2006 #: ../source/TortoiseGit_en.xml:1307
2020 #: ../source/TortoiseGit_en.xml:1312
2022 "Sally's changes to <filename>integer.c</filename> will appear in your working "
2023 "copy, and your change will still be present in <filename>button.c</filename>. "
2024 "In this example, the text of <filename>Makefile</filename> is identical in "
2025 "revisions 4, 5, and 6, but Git will mark your working copy of "
2026 "<filename>Makefile</filename> with revision 6 to indicate that it is still "
2027 "current. So, after you do a clean update at the top of your working copy, it "
2028 "will generally correspond to exactly one revision in the repository."
2030 "Sally 对 <filename>integer.c</filename> 的改变会出现在你的工作副本,你对 "
2031 "<filename>button.c</filename> 的改变还在,在这个例子里,<filename>Makefile</"
2032 "filename> 在 4、5、6 版本都是一样的,但是 Git 会把 "
2033 "<filename>Makefile</filename> 的版本设为 6 来表明它是最新的,所以你在工作副本"
2034 "顶级目录作一次干净的更新,会使所有内容对应版本库的同一修订版本。"
2037 #: ../source/TortoiseGit_en.xml:1325
2038 msgid "How Working Copies Track the Repository"
2039 msgstr "工作副本怎样跟踪版本库"
2042 #: ../source/TortoiseGit_en.xml:1326
2044 "For each file in a working directory, Git records two essential pieces "
2045 "of information in the <filename>.svn/</filename> administrative area:"
2047 "对于工作副本的每一个文件,Git 在管理目录 <filename>.svn/</filename> 记"
2051 #: ../source/TortoiseGit_en.xml:1332
2053 "what revision your working file is based on (this is called the file's "
2054 "<firstterm>working revision</firstterm>), and"
2055 msgstr "工作文件的基准版本(叫做文件的<firstterm>工作版本</firstterm>)和"
2058 #: ../source/TortoiseGit_en.xml:1339
2060 "a timestamp recording when the local copy was last updated by the repository."
2061 msgstr "一个本地副本最后更新的时间戳。"
2064 #: ../source/TortoiseGit_en.xml:1345
2066 "Given this information, by talking to the repository, Git can tell "
2067 "which of the following four states a working file is in:"
2069 "给定这些信息,通过与版本库通讯,Git 可以告诉我们工作文件是处与如下四种"
2073 #: ../source/TortoiseGit_en.xml:1352
2074 msgid "Unchanged, and current"
2078 #: ../source/TortoiseGit_en.xml:1354
2080 "The file is unchanged in the working directory, and no changes to that file "
2081 "have been committed to the repository since its working revision. A "
2082 "<command>commit</command> of the file will do nothing, and an "
2083 "<command>update</command> of the file will do nothing."
2085 "文件在工作目录里没有修改,在工作版本之后没有修改提交到版本库。<command>svn "
2086 "commit</command> 操作不做任何事情,<command>svn update</command> 不做任何事"
2090 #: ../source/TortoiseGit_en.xml:1365
2091 msgid "Locally changed, and current"
2095 #: ../source/TortoiseGit_en.xml:1367
2097 "The file has been changed in the working directory, and no changes to that "
2098 "file have been committed to the repository since its base revision. There are "
2099 "local changes that have not been committed to the repository, thus a "
2100 "<command>commit</command> of the file will succeed in publishing your "
2101 "changes, and an <command>update</command> of the file will do nothing."
2103 "工作副本已经修改,从基准版本之后没有修改提交到版本库。本地修改没有提交,因此 "
2104 "<command>commit</command> 会成功的提交,<command>update</command> 不做任何事"
2108 #: ../source/TortoiseGit_en.xml:1379
2109 msgid "Unchanged, and out-of-date"
2113 #: ../source/TortoiseGit_en.xml:1381
2115 "The file has not been changed in the working directory, but it has been "
2116 "changed in the repository. The file should eventually be updated, to make it "
2117 "current with the public revision. A <command>commit</command> of the file "
2118 "will do nothing, and an <command>update</command> of the file will fold the "
2119 "latest changes into your working copy."
2121 "这个文件在工作副本没有修改,但在版本库中已经修改了。这个文件应当更新到最新公共"
2122 "版本。<command>commit</command> 不做任何事情,<command>update</command> 将会更"
2126 #: ../source/TortoiseGit_en.xml:1393
2127 msgid "Locally changed, and out-of-date"
2131 #: ../source/TortoiseGit_en.xml:1395
2134 "The file has been changed both in the working directory, and in the "
2135 "repository. A <command>commit</command> of the file will fail with an "
2136 "<emphasis>out-of-date</emphasis> error. The file should be updated first; an "
2137 "<command>update</command> command will attempt to merge the public changes "
2138 "with the local changes. If Git can't complete the merge in a plausible "
2139 "way automatically, it leaves it to the user to resolve the conflict."
2141 "这个文件在工作副本和版本库都被修改。<command>commit</command> 将会失败,这个文"
2142 "件必须首先更新,<command>update</command> 命令会尝试合并公共和本地修改,如果 "
2143 "Git 不能自动完成,将会让用户解决冲突。"
2146 #: ../source/TortoiseGit_en.xml:1412
2151 #: ../source/TortoiseGit_en.xml:1413
2153 "We've covered a number of fundamental Git concepts in this chapter:"
2154 msgstr "我们在这一章里学习了许多 Git 基本概念: "
2157 #: ../source/TortoiseGit_en.xml:1419
2159 "We've introduced the notions of the central repository, the client working "
2160 "copy, and the array of repository revision trees."
2161 msgstr "我们介绍了中央版本库、客户工作副本和版本库中版本树队列的概念。"
2164 #: ../source/TortoiseGit_en.xml:1425
2166 "We've seen some simple examples of how two collaborators can use Git "
2167 "to publish and receive changes from one another, using the 'copy-modify-"
2170 "我们介绍了两个协作者如何使用使用<quote>复制-修改-合并</quote>模型,用 "
2174 #: ../source/TortoiseGit_en.xml:1432
2176 "We've talked a bit about the way Git tracks and manages information in "
2178 msgstr "我们讨论了一些 Git 跟踪和管理工作副本信息的方式。"
2181 #: ../source/TortoiseGit_en.xml:1445
2182 msgid "Setting Up A Server"
2186 #: ../source/TortoiseGit_en.xml:1447
2189 "To use TortoiseGit (or any other Git client), you need a place where "
2190 "your repositories are located. You can either store your repositories locally "
2191 "and access them using the <literal>file://</literal> protocol or you can "
2192 "place them on a server and access them with the <literal>http://</literal> or "
2193 "<literal>svn://</literal> protocols. The two server protocols can also be "
2194 "encrypted. You use <literal>https://</literal> or <literal>svn+ssh://</"
2195 "literal>. This chapter shows you step by step on how you can set up such a "
2196 "server on a Windows machine."
2198 "为了使用TortoiseGit(或任何其他Git客户端),你需要放置你的版本库,你可以"
2199 "将版本库存于本地并使用<emphasis>file://</emphasis>协议访问,也可以放置于服务"
2200 "器,使用<emphasis>http://</emphasis>或<emphasis>svn://</emphasis>访问,这两种"
2201 "服务器协议也可以被加密,使用<emphasis>https://</emphasis>或<emphasis>svn"
2202 "+ssh://</emphasis>。本章介绍了在Windows主机上设置一个服务器的步骤。"
2205 #: ../source/TortoiseGit_en.xml:1458
2208 "More detailed information on the Git server options, and how to choose "
2209 "the best architecture for your situation, can be found in the Git book "
2210 "under <ulink url=\"http://svnbook.red-bean.com/en/1.5/svn.serverconfig.html"
2211 "\"><citetitle>Server Configuration</citetitle></ulink>."
2213 "关于 Git 服务器选项的详细信息,以及如何根据你的情况选择最好的架构,可以"
2214 "参考 Git 手册的<ulink url=\"http://svnbook.red-bean.com/en/1.4/svn."
2215 "serverconfig.html\"><citetitle>服务器配置</citetitle></ulink>。"
2218 #: ../source/TortoiseGit_en.xml:1466
2221 "If you don't have a server and you work alone then local repositories are "
2222 "probably your best choice. You can skip this chapter and go directly to <xref "
2223 "linkend=\"tsvn-repository\"/>."
2225 "如果你没有一个服务器,或者你独自工作,本地版本库会是你的最佳选择,你可以跳过本"
2226 "章,直接到<xref linkend=\"tsvn-repository\"/>。"
2229 #: ../source/TortoiseGit_en.xml:1471
2231 "If you were thinking about setting up a multi-user repository on a network "
2232 "share, think again. Read <xref linkend=\"tsvn-repository-local-share\"/> to "
2233 "find out why we think this is a bad idea."
2237 #: ../source/TortoiseGit_en.xml:1480
2238 msgid "Apache Based Server"
2239 msgstr "基于 Apache 的服务器"
2242 #: ../source/TortoiseGit_en.xml:1484
2247 #: ../source/TortoiseGit_en.xml:1486
2249 "The most flexible of all possible server setups for Git is the Apache "
2250 "based one. Although a bit more complicated to set up, it offers benefits that "
2251 "other servers cannot:"
2253 "所有可能的服务器当中,Apache为基础的服务器是最灵活的,尽管配置有一点复杂,但是"
2258 #: ../source/TortoiseGit_en.xml:1492 ../source/TortoiseGit_en.xml:1496
2263 #: ../source/TortoiseGit_en.xml:1498
2266 "The Apache based Git server uses the WebDAV protocol which is "
2267 "supported by many other programs as well. You could e.g. mount such a "
2268 "repository as a <quote>Web folder</quote> in the Windows explorer and then "
2269 "access it like any other folder in the file system."
2271 "基于 Apache 的 Git 服务器使用 WebDAV 协议,许多程序支持这个协议。例如你"
2272 "可以在 Windows 资源管理器中将这样的版本库装载为一个“网络文件夹”,就像访问文件"
2276 #: ../source/TortoiseGit_en.xml:1509
2277 msgid "Browsing The Repository"
2281 #: ../source/TortoiseGit_en.xml:1511
2283 "You can point your browser to the URL of your repository and browse the "
2284 "contents of it without having a Git client installed. This gives "
2285 "access to your data to a much wider circle of users."
2287 "你可以将浏览器指向版本库的URL,无需安装Git客户端就可以浏览内容,这样可"
2292 #: ../source/TortoiseGit_en.xml:1521 ../source/TortoiseGit_en.xml:3646
2293 msgid "Authentication"
2297 #: ../source/TortoiseGit_en.xml:1523
2299 "You can use any authentication mechanism Apache supports, including SSPI and "
2301 msgstr "你可以使用所有Apache支持的认证机制,包括SSPI和LDAP。"
2304 #: ../source/TortoiseGit_en.xml:1530
2309 #: ../source/TortoiseGit_en.xml:1532
2311 "Since Apache is very stable and secure, you automatically get the same "
2312 "security for your repository. This includes SSL encryption."
2314 "因为Apache非常稳定和安全,你的版本库可以自动获得同样的安全性,包括SSL加密。"
2317 #: ../source/TortoiseGit_en.xml:1542
2318 msgid "Installing Apache"
2322 #: ../source/TortoiseGit_en.xml:1543
2324 "The first thing you need before installing Apache is a computer with Windows "
2325 "2000, Windows XP+SP1, Windows 2003, Vista or Server 2008. "
2326 "<warning><placeholder-1/></warning><placeholder-2/><caution><placeholder-3/"
2327 "><placeholder-4/><placeholder-5/><placeholder-6/></caution>"
2329 "安装 Apache 的先决条件是有一台安装了 Windows 2000,Windows XP SP1+,Windows "
2330 "2003,Vista 或 Windows Server 2008 的计算机。<warning><placeholder-1/></"
2331 "warning><placeholder-2/><caution><placeholder-3/><placeholder-4/><placeholder-"
2332 "5/><placeholder-6/></caution>"
2335 #: ../source/TortoiseGit_en.xml:1547
2337 "Please note that Windows XP without the service pack 1 will lead to bogus "
2338 "network data and could therefore corrupt your repository!"
2340 "请注意,Windows XP 如果没有安装 SP1 将会导致不正常的网络传输,从而搞坏你的版本"
2344 #: ../source/TortoiseGit_en.xml:1555
2346 "Download the latest version of the Apache web server from <ulink url=\"http://"
2347 "httpd.apache.org/download.cgi\"><citetitle>http://httpd.apache.org/download."
2348 "cgi</citetitle></ulink>. Make sure that you download the version 2.2.x - the "
2349 "version 1.3.xx won't work!"
2351 "从 <ulink url=\"http://httpd.apache.org/download.cgi\"><citetitle>http://"
2352 "httpd.apache.org/download.cgi</citetitle></ulink> 下载最新版本的 Apache,请确"
2353 "认你下载的版本是 2.2.x - 1.3.xx 的版本不能工作!"
2356 #: ../source/TortoiseGit_en.xml:1564
2358 "The msi installer for Apache can be found by clicking on <literal>other "
2359 "files</literal>, then browse to <filename>binaries/win32</filename>. You may "
2360 "want to choose the msi file <filename>apache-2.2.x-win32-x86-openssl-0.9.x."
2361 "msi</filename> (the one that includes OpenSSL)."
2365 #: ../source/TortoiseGit_en.xml:1572
2367 "Once you have the Apache2 installer you can double click on it and it will "
2368 "guide you through the installation process. Make sure that you enter the "
2369 "server-URL correctly (if you don't have a DNS name for your server just enter "
2370 "the IP-address). I recommend to install Apache <emphasis>for All Users, on "
2371 "Port 80, as a Service</emphasis>. Note: if you already have IIS or any other "
2372 "program running which listens on port 80 the installation might fail. If that "
2373 "happens, go to the programs directory, <filename>\\Apache Group\\Apache2"
2374 "\\conf</filename> and locate the file <filename>httpd.conf</filename>. Edit "
2375 "that file so that <literal>Listen 80</literal> is changed to a free port, e."
2376 "g. <literal>Listen 81</literal>. Then restart the installation - this time it "
2377 "should finish without problems."
2379 "一旦你有了 Apache2 安装程序,你可以双击它,然后它会指导你的安装过程。请确认你"
2380 "输入的服务器 URL 正确(如果你的服务器没有 DNS 名称,请直接输入 IP 地址)。我建议"
2381 "<emphasis>为所有用户在 80 端口安装 Apache 服务</emphasis>。注意: 如果你已经有"
2382 "了 IIS 或其他监听 80 端口的程序,安装会失败。如果发生这种情况,直接到程序的安"
2383 "装目录 <filename>\\Apache Group\\Apache2\\conf</filename>,打开 "
2384 "<filename>httpd.conf</filename>。编辑文件的 <literal>Listen 80</literal> 为其"
2385 "他可用的端口,例如 <literal>Listen 81</literal>,然后重新启动 - 这样就不会那"
2389 #: ../source/TortoiseGit_en.xml:1594
2391 "Now test if the Apache web server is running correctly by pointing your web "
2392 "browser to <systemitem class=\"url\">http://localhost/</systemitem> - a "
2393 "preconfigured Website should show up."
2395 "现在可以测试 Apache 服务器是否正确运行,将浏览器指向 <systemitem class=\"url"
2396 "\">http://localhost/</systemitem> - 将会看到一个预先配置的网站。"
2399 #: ../source/TortoiseGit_en.xml:1603
2401 "If you decide to install Apache as a service, be warned that by default it "
2402 "will run as the local system account. It would be a more secure practice for "
2403 "you to create a separate account for Apache to run as."
2405 "如果你决定将Apache安装为服务,缺省情况以本地系统帐户运行会发出警告,更安全的方"
2406 "法是为Apache创建一个单独的运行帐户。"
2409 #: ../source/TortoiseGit_en.xml:1609
2411 "Make sure that the account on the server that Apache is running as has an "
2412 "explicit entry in the repository directory's access control list (right-click "
2413 "directory | properties | security), with full control. Otherwise, users will "
2414 "not be able to commit their changes."
2416 "请确认Apache运行的帐户是版本库目录的访问控制列表(右键目录|属性|安全)中一个明确"
2417 "的条目,对目录有完全的控制能力,否则,用户不能提交他们的修改。"
2420 #: ../source/TortoiseGit_en.xml:1615
2422 "Even if Apache runs as local system, you still need such an entry (which will "
2423 "be the SYSTEM account in this case)."
2425 "即使Apache运行于本地系统,你仍然需要这个条目(这种情况下将是SYSTEM帐户)。"
2428 #: ../source/TortoiseGit_en.xml:1619
2430 "If Apache does not have this permission set up, your users will get "
2431 "<quote>Access denied</quote> error messages, which show up in the Apache "
2432 "error log as error 500."
2434 "如果没有配置 Apache 的此访问权限,你的用户会得到<quote>拒绝访问(Access denied)"
2435 "</quote>的错误信息,在 Apache 的错误日志中的错误代码是 500。"
2438 #: ../source/TortoiseGit_en.xml:1628
2439 msgid "Installing Git"
2443 #: ../source/TortoiseGit_en.xml:1632
2446 "Download the latest version of the Git Win32 binaries for Apache. Be "
2447 "sure to get the right version to integrate with your version of Apache, "
2448 "otherwise you will get an obscure error message when you try to restart. If "
2449 "you have Apache 2.2.x go to <ulink url=\"http://Git.tigris.org/"
2450 "servlets/ProjectDocumentList?folderID=8100\"><citetitle>http://Git."
2451 "tigris.org/servlets/ProjectDocumentList?folderID=8100</citetitle></ulink>."
2453 "从<ulink url=\"http://Git.tigris.org/servlets/ProjectDocumentList?"
2454 "folderID=91\"><citetitle>http://Git.tigris.org/servlets/"
2455 "ProjectDocumentList?folderID=91</citetitle></ulink>得到最新版本的Git。"
2458 #: ../source/TortoiseGit_en.xml:1644
2460 "Run the Git installer and follow the instructions. If the Git "
2461 "installer recognized that you've installed Apache, then you're almost done. "
2462 "If it couldn't find an Apache server then you have to do some additional "
2465 "运行Git安装程序,并根据指导安装,如果Git认识到你安装了Apache,你"
2466 "就几乎完成了工作,如果它没有找到Apache服务器,你还有额外的步骤。"
2470 #: ../source/TortoiseGit_en.xml:1654 ../source/TortoiseGit_en.xml:1982
2471 msgid "mod_authz_svn"
2472 msgstr "mod_authz_svn"
2475 #: ../source/TortoiseGit_en.xml:1656
2477 "Using the windows explorer, go to the installation directory of Git "
2478 "(usually <filename>c:\\program files\\Git</filename>) and find the "
2479 "files <filename>/httpd/mod_dav_svn.so</filename> and <filename>mod_authz_svn."
2480 "so</filename>. Copy these files to the Apache modules directory (usually "
2481 "<filename>c:\\program files\\apache group\\apache2\\modules </filename>)."
2483 "使用Windwos资源管理器,来到Git的安装目录(通常是<filename>c:\\program "
2484 "files\\Git</filename>),找到文件<filename>/httpd/mod_dav_svn.so</"
2485 "filename>和<filename>mod_authz_svn.so</filename>,复制这些文件到Apache的模块目"
2486 "录(通常是<filename>c:\\program files\\apache group\\apache2\\modules </"
2490 #: ../source/TortoiseGit_en.xml:1669
2492 "Copy the file <filename>/bin/libdb*.dll</filename> and <filename>/bin/"
2493 "intl3_svn.dll</filename> from the Git installation directory to the "
2494 "Apache bin directory."
2496 "从 Git 安装目录将 <filename>/bin/libdb*.dll</filename> 和 <filename>/"
2497 "bin/intl3_svn.dll</filename> 复制到 Apache 的 bin 目录。"
2500 #: ../source/TortoiseGit_en.xml:1677
2502 "Edit Apache's configuration file (usually <filename> C:\\Program Files"
2503 "\\Apache Group\\Apache2\\conf\\httpd.conf</filename>) with a text editor such "
2504 "as Notepad and make the following changes:"
2506 "使用记事本之类的文本编辑器修改Apache的配置文件(通常是<filename> C:\\Program "
2507 "Files\\Apache Group\\Apache2\\conf\\httpd.conf</filename>),做出如下修改: "
2510 #: ../source/TortoiseGit_en.xml:1683
2512 "Uncomment (remove the '<literal>#</literal>' mark) the following lines: "
2514 "#LoadModule dav_fs_module modules/mod_dav_fs.so\n"
2515 "#LoadModule dav_module modules/mod_dav.so\n"
2516 "</screen> Add the following two lines to the end of the <literal>LoadModule</"
2517 "literal> section. <screen>\n"
2518 "LoadModule dav_svn_module modules/mod_dav_svn.so\n"
2519 "LoadModule authz_svn_module modules/mod_authz_svn.so\n"
2522 "去掉以下几行的注释(删除 '<literal>#</literal>'标记): <screen>\n"
2523 "#LoadModule dav_fs_module modules/mod_dav_fs.so\n"
2524 "#LoadModule dav_module modules/mod_dav.so\n"
2525 "</screen> 将以下两行到 <literal>LoadModule</literal> 节的末尾。<screen>\n"
2526 "LoadModule dav_svn_module modules/mod_dav_svn.so\n"
2527 "LoadModule authz_svn_module modules/mod_authz_svn.so\n"
2532 #: ../source/TortoiseGit_en.xml:1702 ../source/TortoiseGit_en.xml:12485
2533 msgid "Configuration"
2537 #: ../source/TortoiseGit_en.xml:1703
2539 "Now you have set up Apache and Git, but Apache doesn't know how to "
2540 "handle Git clients like TortoiseGit yet. To get Apache to know which "
2541 "URL will be used for Git repositories you have to edit the Apache "
2542 "configuration file (usually located in <filename>c:\\program files\\apache "
2543 "group\\apache2\\conf\\httpd.conf</filename>) with any text editor you like (e."
2544 "g. Notepad): <placeholder-1/>"
2546 "现在你已经配置了 Apache 和 Git,但是 Apache 不知道如何处理 Git "
2547 "客户端,例如TortoiseGit。为了让 Apache 知道哪个 URL 是用作 Git 版本库,"
2548 "你需要使用任意文本编辑器(例如记事本)编辑 Apache 的配置文件(通常是 <filename>c:"
2549 "\\program files\\apache group\\apache2\\conf\\httpd.conf</filename>): "
2553 #: ../source/TortoiseGit_en.xml:1713
2556 "At the end of the config file add the following lines: <screen>\n"
2557 "<Location /svn>\n"
2559 " SVNListParentPath on\n"
2560 " SVNParentPath D:\\SVN\n"
2561 " #SVNIndexXSLT \"/svnindex.xsl\"\n"
2563 " AuthName \"Git repositories\"\n"
2564 " AuthUserFile passwd\n"
2565 " #AuthzSVNAccessFile svnaccessfile\n"
2566 " Require valid-user\n"
2567 "</Location>\n"
2568 "</screen> This configures Apache so that all your Git repositories are "
2569 "physically located below <filename>D:\\SVN</filename>. The repositories are "
2570 "served to the outside world from the URL: <systemitem class=\"url\"> http://"
2571 "MyServer/svn/ </systemitem>. Access is restricted to known users/passwords "
2572 "listed in the <filename>passwd</filename> file."
2574 "在配置文件最后添加如下几行: <screen>\n"
2575 "<Location /svn>\n"
2577 "SVNListParentPath on\n"
2578 "SVNParentPath D:\\SVN\n"
2579 "#SVNIndexXSLT \"/svnindex.xsl\"\n"
2581 "AuthName \"Git repositories\"\n"
2582 "AuthUserFile passwd\n"
2583 "#AuthzSVNAccessFile svnaccessfile\n"
2584 "Require valid-user\n"
2585 "</Location>\n"
2586 "</screen>这个配置告诉 Apache 你所有的 Git 版本库位于 <filename>D:"
2587 "\\SVN</filename>。这些版本库对外的 URL 是: <systemitem class=\"url\">http://"
2588 "MyServer/svn/</systemitem>。访问被文件 <filename>passwd</filename> 中的用户/密"
2592 #: ../source/TortoiseGit_en.xml:1740
2594 "To create the <filename>passwd</filename> file, open the command prompt (DOS-"
2595 "Box) again, change to the <filename>apache2</filename> folder (usually "
2596 "<filename>c:\\program files\\apache group\\apache2</filename>) and create the "
2597 "file by entering <screen>\n"
2598 "bin\\htpasswd -c passwd <username>\n"
2599 "</screen> This will create a file with the name <filename>passwd</filename> "
2600 "which is used for authentication. Additional users can be added with "
2602 "bin\\htpasswd passwd <username>\n"
2605 "为了创建 <filename>passwd</filename> 文件,再次打开命令行提示符(DOS 窗口),进"
2606 "入 <filename>apache2</filename> 目录(通常是 <filename>c:\\program files"
2607 "\\apache group\\apache2</filename>),通过输入下面的命令创建文件<screen>\n"
2608 "bin\\htpasswd -c passwd <username>\n"
2609 "</screen>它将会创建名为 passwd 的文件用于认证。用下面的命令增加其它用户"
2611 "bin\\htpasswd passwd <username>\n"
2615 #: ../source/TortoiseGit_en.xml:1759
2616 msgid "Restart the Apache service again."
2617 msgstr "再次重启Apache服务。"
2620 #: ../source/TortoiseGit_en.xml:1764
2622 "Point your browser to <systemitem class=\"url\">http://MyServer/svn/"
2623 "MyNewRepository</systemitem> (where <filename>MyNewRepository</filename> is "
2624 "the name of the Git repository you created before). If all went well "
2625 "you should be prompted for a username and password, then you can see the "
2626 "contents of your repository."
2628 "将浏览器指向<systemitem class=\"url\">http://MyServer/svn/MyNewRepository</"
2629 "systemitem>(<filename>MyNewRepository</filename>是你此前创建的版本库名),如果"
2630 "一切正常,你会被提示输入用户名和密码,然后你会看到版本库的内容。"
2633 #: ../source/TortoiseGit_en.xml:1777
2640 #: ../source/TortoiseGit_en.xml:1780 ../source/TortoiseGit_en.xml:1815
2641 #: ../source/TortoiseGit_en.xml:1950
2642 msgid "SVNParentPath"
2643 msgstr "SVNParentPath"
2646 #: ../source/TortoiseGit_en.xml:1782
2648 "A short explanation of what you just entered: <placeholder-1/> But that's "
2649 "just an example. There are many, many more possibilities of what you can do "
2650 "with the Apache web server. <placeholder-2/>"
2652 "你刚才输入的简短解释是: <placeholder-1/>但是那只是一个例子。对于 Apache 你有很"
2653 "多可能的选择。<placeholder-2/>"
2656 #: ../source/TortoiseGit_en.xml:1785
2657 msgid "Apache <filename>httpd.conf</filename> Settings"
2658 msgstr "设置 Apache 的 <filename>httpd.conf</filename>"
2661 #: ../source/TortoiseGit_en.xml:1791
2666 #: ../source/TortoiseGit_en.xml:1792
2671 #: ../source/TortoiseGit_en.xml:1798
2673 "means that the Git repositories are available from the URL "
2675 msgstr "意思是Git版本库的URL是<placeholder-1/>"
2678 #: ../source/TortoiseGit_en.xml:1800
2679 msgid "http://MyServer/svn/"
2680 msgstr "http://MyServer/svn/"
2683 #: ../source/TortoiseGit_en.xml:1805
2685 "tells Apache which module will be responsible to serve that URL - in this "
2686 "case the Git module."
2687 msgstr "告诉Apache是哪个模块响应那个URL的请求-此刻是Git模块。"
2690 #: ../source/TortoiseGit_en.xml:1812
2692 "For Git version 1.3 and higher, this directive enables listing all the "
2693 "available repositories under <placeholder-1/>."
2695 "对于 Git 1.3 或者更高版本,这个指示会列出所有 <placeholder-1/> 中的版本"
2699 #: ../source/TortoiseGit_en.xml:1820
2700 msgid "tells Git to look for repositories below <placeholder-1/>"
2701 msgstr "告诉Git需要查看的版本库位于<placeholder-1/>之下"
2704 #: ../source/TortoiseGit_en.xml:1822
2709 #: ../source/TortoiseGit_en.xml:1827
2710 msgid "Used to make the browsing with a web browser prettier."
2711 msgstr "使用它可以在用浏览器浏览时更好看。"
2714 #: ../source/TortoiseGit_en.xml:1834
2715 msgid "is to activate basic authentication, i.e. Username/password"
2716 msgstr "激活基本认证,就是用户名/密码"
2719 #: ../source/TortoiseGit_en.xml:1841
2721 "is used as an information whenever an authentication dialog pops up to tell "
2722 "the user what the authentication is for"
2723 msgstr "用来说明何时弹出要求用户输入认证信息的认证对话框"
2726 #: ../source/TortoiseGit_en.xml:1848
2727 msgid "specifies which password file to use for authentication"
2728 msgstr "指定使用的认证密码文件"
2731 #: ../source/TortoiseGit_en.xml:1854
2732 msgid "Location of the Access file for paths inside a Git repository"
2733 msgstr "位置Git版本库的访问控制文件的路径"
2736 #: ../source/TortoiseGit_en.xml:1861
2738 "specifies that only users who entered a correct username/password are allowed "
2740 msgstr "指定只有输入了正确的用户/密码的用户可以访问URL"
2743 #: ../source/TortoiseGit_en.xml:1873
2745 "If you want your repository to have read access for everyone but write access "
2746 "only for specific users you can change the line <screen>\n"
2747 "Require valid-user\n"
2748 "</screen> to <screen>\n"
2749 "<LimitExcept GET PROPFIND OPTIONS REPORT>\n"
2750 "Require valid-user\n"
2751 "</LimitExcept>\n"
2754 "如果你希望所有人可以读你的版本库,但是只有特定用户可以写,你可以修改下面几行"
2756 "Require valid-user\n"
2757 "</screen> to <screen>\n"
2758 "<LimitExcept GET PROPFIND OPTIONS REPORT>\n"
2759 "Require valid-user\n"
2760 "</LimitExcept>\n"
2764 #: ../source/TortoiseGit_en.xml:1888
2766 "Using a <filename>passwd</filename> file limits and grants access to all of "
2767 "your repositories as a unit. If you want more control over which users have "
2768 "access to each folder inside a repository you can uncomment the line "
2770 "#AuthzSVNAccessFile svnaccessfile\n"
2771 "</screen> and create a Git access file. Apache will make sure that "
2772 "only valid users are able to access your <filename>/svn</filename> location, "
2773 "and will then pass the username to Git's <literal>AuthzSVNAccessFile</"
2774 "literal> module so that it can enforce more granular access based upon rules "
2775 "listed in the Git access file. Note that paths are specified either as "
2776 "<literal>repos:path</literal> or simply <literal>path</literal>. If you don't "
2777 "specify a particular repository, that access rule will apply to all "
2778 "repositories under <literal>SVNParentPath</literal>. The format of the "
2779 "authorization-policy file used by <literal>mod_authz_svn</literal> is "
2780 "described in <xref linkend=\"tsvn-serversetup-mod_authz_svn\"/>"
2782 "使用 <filename>passwd</filename> 可以整体的控制对版本库的访问,但是如果你希望"
2783 "精确的控制版本库目录访问,你可以去掉下行的注释<screen>\n"
2784 "#AuthzSVNAccessFile svnaccessfile\n"
2785 "</screen>,并且创建 Git 的访问控制文件。Apache 将会确保只有有效的用户可"
2786 "以访问你的 <filename>/svn</filename> 目录,然后将用户名传递给 Git 的 "
2787 "AuthzSVNAccessFile 模块,这样就可以根据 Git 访问控制文件内的规则实现更"
2788 "细粒度的访问控制。请注意路径可以是 <literal>repos:path</literal> 或简单的 "
2789 "<literal>path</literal>,如果你不指定特定的版本库,访问控制规则会应用到 "
2790 "<literal>SVNParentPath</literal> 下所有的版本库。使用的授权策略文件的格式在"
2791 "<xref linkend=\"tsvn-serversetup-mod_authz_svn\"/>描述。"
2794 #: ../source/TortoiseGit_en.xml:1915
2796 "To make browsing the repository with a web browser 'prettier', uncomment the "
2798 "#SVNIndexXSLT \"/svnindex.xsl\"\n"
2799 "</screen> and put the files <filename>svnindex.xsl</filename>, "
2800 "<filename>svnindex.css</filename> and <filename>menucheckout.ico</filename> "
2801 "in your document root directory (usually <filename>C:/Program Files/Apache "
2802 "Group/Apache2/htdocs</filename>). The directory is set with the "
2803 "<literal>DocumentRoot</literal> directive in your Apache config file."
2805 "如果要使浏览器浏览仓库时更“漂亮”,请将去掉下行注释 <screen>\n"
2806 "#SVNIndexXSLT \"/svnindex.xsl\"\n"
2807 "</screen>,将文件 <filename>svnindex.xsl</filename>, <filename>svnindex.css</"
2808 "filename> 和 <filename>menucheckout.ico</filename> 放到你的文档根目录中(通常"
2809 "是 <filename>C:/Program Files/Apache Group/Apache2/htdocs</filename>)。 这个目"
2810 "录在 Apache 配置文件中用 <literal>DocumentRoot</literal> 指示设置。"
2813 #: ../source/TortoiseGit_en.xml:1928
2816 "You can get those three files directly from our source repository at <ulink "
2817 "url=\"http://TortoiseGit.tigris.org/svn/TortoiseGit/trunk/contrib/other/"
2818 "svnindex\"><citetitle>http://TortoiseGit.tigris.org/svn/TortoiseGit/trunk/"
2819 "contrib/other/svnindex</citetitle></ulink>. (<xref linkend=\"tsvn-preface-"
2820 "source\"/> explains how to access the TortoiseGit source repository)."
2822 "你可以直接在我们的代码库<ulink url=\"http://TortoiseGit.tigris.org/svn/"
2823 "TortoiseGit/trunk/contrib/other/svnindex\"><citetitle>http://TortoiseGit."
2824 "tigris.org/svn/TortoiseGit/trunk/contrib/other/svnindex</citetitle></ulink>中"
2825 "拿到这三个文件。如果访问这个链接需要认证,输入用户名称 <literal>guest</"
2829 #: ../source/TortoiseGit_en.xml:1936
2831 "The XSL file from the TortoiseGit repository has a nice gimmick: if you "
2832 "browse the repository with your web browser, then every folder in your "
2833 "repository has an icon on the right shown. If you click on that icon, the "
2834 "TortoiseGit checkout dialog is started for this URL."
2836 "TortoiseGit 版本库中的 XSL 文件有个特性:如果你用浏览器浏览版本库,那么每个版"
2837 "本库中的目录右边会有个图标。如果你点击此图标,那么 TortoiseGit 会为此 URL 启动"
2841 #: ../source/TortoiseGit_en.xml:1948
2842 msgid "Multiple Repositories"
2846 #: ../source/TortoiseGit_en.xml:1953
2847 msgid "Index of projects"
2851 #: ../source/TortoiseGit_en.xml:1955
2853 "If you used the <literal>SVNParentPath</literal> directive then you don't "
2854 "have to change the Apache config file every time you add a new Git "
2855 "repository. Simply create the new repository under the same location as the "
2856 "first repository and you're done! In my company I have direct access to that "
2857 "specific folder on the server via SMB (normal windows file access). So I just "
2858 "create a new folder there, run the TortoiseGit command "
2859 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Create repository "
2860 "here...</guimenuitem></menuchoice> and a new project has a home..."
2862 "如果你使用 SVNParentPath 指示,你就不必在每次添加新 Git 版本库时修改 "
2863 "Apache 的配置文件,只需要在第一个版本库所在的位置建立新的版本库就可以了。在我"
2864 "的公司,我可以使用 SMB(普通的 windows 文件访问)直接访问服务器的文件夹,所以我"
2865 "直接在那里创建一个目录,运行 TortoiseGit 命令"
2866 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>在此创建版本库...</"
2867 "guimenuitem></menuchoice>,然后一个新的项目建立了..."
2870 #: ../source/TortoiseGit_en.xml:1969
2872 "If you are using Git 1.3 or later, you can use the "
2873 "<literal>SVNListParentPath on</literal> directive to allow Apache to produce "
2874 "a listing of all available projects if you point your browser at the parent "
2875 "path rather than at a specific repository."
2877 "如果你使用 Git 1.3 或更高版本,可以使用 <literal>SVNListParentPath on</"
2878 "literal> 指示,这样当你使用浏览器访问父路径而不是具体某个版本库时 Apache 就会"
2882 #: ../source/TortoiseGit_en.xml:1977
2883 msgid "Path-Based Authorization"
2887 #: ../source/TortoiseGit_en.xml:1979
2888 msgid "Authorization"
2892 #: ../source/TortoiseGit_en.xml:1984
2894 "The <literal>mod_authz_svn</literal> module permits fine-grained control of "
2895 "access permissions based on user names and repository paths. This is "
2896 "available with the Apache server, and as of Git 1.3 it is available "
2897 "with svnserve as well."
2899 "<literal>mod_authz_svn</literal> 模块可以根据用户名和路径实现细粒度的权限控"
2900 "制,它对 Apache 服务器有效,在 Git 1.3 以上版本的 svnserve 中也实现了基"
2904 #: ../source/TortoiseGit_en.xml:1990
2906 "An example file would look like this: <screen>\n"
2908 "admin = john, kate\n"
2909 "devteam1 = john, rachel, sally\n"
2910 "devteam2 = kate, peter, mark\n"
2911 "docs = bob, jane, mike\n"
2913 "# Default access rule for ALL repositories\n"
2914 "# Everyone can read, admins can write, Dan German is excluded.\n"
2919 "# Allow developers complete access to their project repos\n"
2928 "# Give the doc people write access to all the docs folders\n"
2931 "# Give trainees write access in the training repository only\n"
2932 "[TrainingRepos:/]\n"
2936 "一个可能的例子: <screen>\n"
2938 "admin = john, kate\n"
2939 "devteam1 = john, rachel, sally\n"
2940 "devteam2 = kate, peter, mark\n"
2941 "docs = bob, jane, mike\n"
2943 "# Default access rule for ALL repositories\n"
2944 "# Everyone can read, admins can write, Dan German is excluded.\n"
2949 "# Allow developers complete access to their project repos\n"
2958 "# Give the doc people write access to all the docs folders\n"
2961 "# Give trainees write access in the training repository only\n"
2962 "[TrainingRepos:/]\n"
2967 #: ../source/TortoiseGit_en.xml:2022
2969 "Note that checking every path can be an expensive operation, particularly in "
2970 "the case of the revision log. The server checks every changed path in each "
2971 "revision and checks it for readability, which can be time-consuming on "
2972 "revisions which affect large numbers of files."
2974 "请注意,检查每一条路径是一件消耗极大的操作,特别是修订版本日志,服务器会检查在"
2975 "每一个修订版本的每一条路径是否可读,对于影响很多文件的修订将会花费很多时间。"
2978 #: ../source/TortoiseGit_en.xml:2029
2980 "Authentication and authorization are separate processes. If a user wants to "
2981 "gain access to a repository path, she has to meet <emphasis>both</emphasis>, "
2982 "the usual authentication requirements and the authorization requirements of "
2985 "认证和授权是不同的处理过程,如果用户希望获得对版本库的访问,他需要通过"
2986 "<emphasis>全部</emphasis>检查,即通常的认证需求和访问控制文件的授权需求。"
2989 #: ../source/TortoiseGit_en.xml:2037
2990 msgid "Authentication With a Windows Domain"
2991 msgstr "使用 Windows 域认证"
2994 #: ../source/TortoiseGit_en.xml:2039
2995 msgid "Windows domain"
2999 #: ../source/TortoiseGit_en.xml:2042
3000 msgid "domaincontroller"
3004 #: ../source/TortoiseGit_en.xml:2044
3006 "As you might have noticed you need to make a username/password entry in the "
3007 "<filename>passwd</filename> file for each user separately. And if (for "
3008 "security reasons) you want your users to periodically change their passwords "
3009 "you have to make the change manually."
3011 "你已经注意到了,你需要为每个用户在<filename>passwd</filename>文件中创建用户名/"
3012 "密码条目,如果(因为安全原因)他们希望周期性的修改他们的密码,你需要手动的做出修"
3016 #: ../source/TortoiseGit_en.xml:2051
3018 "But there's a solution for that problem - at least if you're accessing the "
3019 "repository from inside a LAN with a windows domain controller: "
3020 "<literal>mod_auth_sspi</literal>!"
3022 "但是对于此问题有另一个解决方案 - 至少是你在使用域控制器的 LAN 中访问版本库"
3023 "时: <literal>mod_auth_sspi</literal>!"
3026 #: ../source/TortoiseGit_en.xml:2057
3031 #: ../source/TortoiseGit_en.xml:2060
3036 #: ../source/TortoiseGit_en.xml:2062
3038 "The original SSPI module was offered by Syneapps including source code. But "
3039 "the development for it has been stopped. But don't despair, the community has "
3040 "picked it up and improved it. It has a new home on <ulink url=\"http://"
3041 "sourceforge.net/projects/mod-auth-sspi/\"><citetitle>SourceForge</citetitle></"
3044 "最初的 SSPI 是由 Syneapps 提供的,包括源代码。但是它的开发已经终止。不过不要失"
3045 "望,社区重新拾起代码并进行了改进,它现在的新主页在<ulink url=\"http://"
3046 "sourceforge.net/projects/mod-auth-sspi/\"><citetitle>SourceForge</citetitle></"
3050 #: ../source/TortoiseGit_en.xml:2073
3052 "Download the module which matches your apache version, then copy the file "
3053 "<filename>mod_auth_sspi.so</filename> into the Apache modules folder."
3055 "下载此匹配你的 Apache 版本的模块,将文件<filename>mod_auth_sspi.so</filename>"
3056 "复制到 Apache 的 modules 目录。"
3059 #: ../source/TortoiseGit_en.xml:2080
3061 "Edit the Apache config file: add the line <screen>\n"
3062 "LoadModule sspi_auth_module modules/mod_auth_sspi.so\n"
3063 "</screen> to the <literal>LoadModule</literal> section. Make sure you insert "
3064 "this line <emphasis>before</emphasis> the line <screen>\n"
3065 "LoadModule auth_module modules/mod_auth.so\n"
3068 "编辑 Apache 的配置文件: 增加一行<screen>\n"
3069 "LoadModule sspi_auth_module modules/mod_auth_sspi.so\n"
3070 "</screen> 到 LoadModule 节。确认你在下行<emphasis>之前</emphasis>插入此行"
3072 "LoadModule auth_module modules/mod_auth.so\n"
3076 #: ../source/TortoiseGit_en.xml:2093
3078 "To make the Git location use this type of authentication you have to "
3079 "change the line <screen>\n"
3081 "</screen> to <screen>\n"
3083 "</screen> also you need to add <screen>\n"
3085 "SSPIAuthoritative On\n"
3086 "SSPIDomain <domaincontroller>\n"
3087 "SSPIOmitDomain on\n"
3088 "SSPIUsernameCase lower\n"
3089 "SSPIPerRequestAuth on\n"
3090 "SSPIOfferBasic On\n"
3091 "</screen> within the <literal><Location /svn></literal> block. If you "
3092 "don't have a domain controller, leave the name of the domain control as "
3093 "<literal><domaincontroller></literal>."
3095 "为了让 Git 领域使用此认证类型,你需要将<screen>\n"
3097 "</screen> 修改为 <screen>\n"
3099 "</screen> 并且在 <Location /svn> 中增加 <screen>\n"
3101 "SSPIAuthoritative On\n"
3102 "SSPIDomain <domaincontroller>\n"
3103 "SSPIOmitDomain on\n"
3104 "SSPIUsernameCase lower\n"
3105 "SSPIPerRequestAuth on\n"
3106 "SSPIOfferBasic On\n"
3107 "</screen>如果你没有域控制器,可以将域控制器的名称置为 <literal><"
3108 "domaincontroller></literal> 。"
3111 #: ../source/TortoiseGit_en.xml:2119
3113 "Note that if you are authenticating using SSPI, then you don't need the "
3114 "<literal>AuthUserFile</literal> line to define a password file any more. "
3115 "Apache authenticates your username and password against your windows domain "
3116 "instead. You will need to update the users list in your "
3117 "<filename>svnaccessfile</filename> to reference <literal>DOMAIN\\username</"
3120 "请注意,当你使用 SSPI 认证时,没有必要再使用 <literal>AuthUserFile</literal> "
3121 "行定义密码文件,Apache 使用 Windows 域验证你的用户名和密码,你需要更新 "
3122 "<filename>svnaccessfile</filename> 中的用户列表来引用 <literal>DOMAIN"
3123 "\\username</literal>。"
3126 #: ../source/TortoiseGit_en.xml:2129
3128 "The SSPI authentication is only enabled for SSL secured connections (https). "
3129 "If you're only using normal http connections to your server, it won't work."
3133 #: ../source/TortoiseGit_en.xml:2134
3135 "To enable SSL on your server, see the chapter: <xref linkend=\"tsvn-"
3136 "serversetup-apache-7\"/>"
3140 #: ../source/TortoiseGit_en.xml:2140
3142 "Git <filename>AuthzSVNAccessFile</filename> files are case sensitive "
3143 "in regard to user names (<literal>JUser</literal> is different from "
3144 "<literal>juser</literal>)."
3146 "Git 的 <filename>AuthzSVNAccessFile</filename> 文件对用户名大小写敏感"
3147 "(<literal>JUser</literal> 与 <literal>juser</literal> 不同)。"
3150 #: ../source/TortoiseGit_en.xml:2145
3152 "In Microsoft's world, Windows domains and user names are not case sensitive. "
3153 "Even so, some network administrators like to create user accounts in "
3154 "CamelCase (e.g. <literal>JUser</literal>)."
3156 "在微软的世界,Windows 域和用户名不是大小写敏感。即使如此,一些网络管理员还是喜"
3157 "欢创建首字母大写的用户帐号(例如 <literal>JUser</literal>)。"
3160 #: ../source/TortoiseGit_en.xml:2150
3162 "This difference can bite you when using SSPI authentication as the windows "
3163 "domain and user names are passed to Git in the same case as the user "
3164 "types them in at the prompt. Internet Explorer often passes the username to "
3165 "Apache automatically using whatever case the account was created with."
3167 "使用SSPI的一个问题是用户名和密码是用户在提示输入时发送到Git的,而IE经常"
3168 "会不管你的帐户是如何建立的都会自动发送你的用户名。"
3171 #: ../source/TortoiseGit_en.xml:2158
3173 "The end result is that you may need at least two entries in your "
3174 "<literal>AuthzSVNAccessFile</literal> for each user -- a lowercase entry and "
3175 "an entry in the same case that Internet Explorer passes to Apache. You will "
3176 "also need to train your users to also type in their credentials using lower "
3177 "case when accessing repositories via TortoiseGit."
3179 "结果就是你必须为每个用户在 <literal>AuthzSVNAccessFile</literal> 中至少创建两"
3180 "个条目:一个小写的条目和一个与 IE 传递给 Apache 一样的条目,你也需要训练你的用"
3181 "户在通过 TortoiseGit 输入访问版本库的凭证时使用小写字母。"
3184 #: ../source/TortoiseGit_en.xml:2166
3186 "Apache's Error and Access logs are your best friend in deciphering problems "
3187 "such as these as they will help you determine the username string passed onto "
3188 "Git's <literal>AuthzSVNAccessFile</literal> module. You may need to "
3189 "experiment with the exact format of the user string in the "
3190 "<literal>svnaccessfile</literal> (e.g. <literal>DOMAIN\\user</literal> vs. "
3191 "<literal>DOMAIN//user</literal>) in order to get everything working."
3193 "Apache 的错误和访问日志是你最好的朋友,例如帮助你检测传递给 Git 的 "
3194 "AuthzSVNAccessFile 模块的用户名,你或许需要试验 svnaccessfile 中用户字符串的精"
3195 "确格式(例如 <literal>DOMAIN\\user</literal> 还是 <literal>DOMAIN//user</"
3196 "literal>)来使一切工作正常。"
3199 #: ../source/TortoiseGit_en.xml:2180
3200 msgid "Multiple Authentication Sources"
3204 #: ../source/TortoiseGit_en.xml:2182
3205 msgid "Multiple authentication"
3209 #: ../source/TortoiseGit_en.xml:2184
3211 "It is also possible to have more than one authentication source for your "
3212 "Git repository. To do this, you need to make each authentication type "
3213 "non-authoritative, so that Apache will check multiple sources for a matching "
3214 "username/password."
3216 "也可以为Git使用不止一个的认证源,为此,你需要将每一种认证设置为non-"
3217 "authoritative,这样Apache会在多个源检查用户名/密码。"
3220 #: ../source/TortoiseGit_en.xml:2190
3222 "A common scenario is to use both Windows domain authentication and a "
3223 "<literal>passwd</literal> file, so that you can provide SVN access to users "
3224 "who don't have a Windows domain login."
3226 "一个常见的场景就是同时使用Windows域和<literal>passwd</literal>文件认证,这样你"
3227 "可以为没有Windows域帐户的用户提供访问SVN的权限。"
3230 #: ../source/TortoiseGit_en.xml:2197
3233 "To enable both Windows domain and <filename>passwd</filename> file "
3234 "authentication, add the following entries within the <literal><Location>"
3235 "</literal> block of your Apache config file: <screen>\n"
3236 "AuthBasicAuthoritative Off\n"
3237 "SSPIAuthoritative Off\n"
3240 "为了同时启用 Windows 域认证和 <filename>passwd</filename> 文件认证,在 Apache "
3241 "配置文件的 <literal><Location></literal> 块中添加如下条目: <screen>\n"
3242 "AuthAuthoritative Off\n"
3243 "SSPIAuthoritative Off\n"
3247 #: ../source/TortoiseGit_en.xml:2208
3250 "Here is an example of the full Apache configuration for combined Windows "
3251 "domain and <literal>passwd</literal> file authentication: <screen>\n"
3252 "<Location /svn>\n"
3254 " SVNListParentPath on\n"
3255 " SVNParentPath D:\\SVN\n"
3257 " AuthName \"Git repositories\"\n"
3258 " AuthzSVNAccessFile svnaccessfile.txt\n"
3260 "# NT Domain Logins.\n"
3263 " SSPIAuthoritative Off\n"
3264 " SSPIDomain <domaincontroller>\n"
3265 " SSPIOfferBasic On\n"
3267 "# Htpasswd Logins.\n"
3269 " AuthBasicAuthoritative Off\n"
3270 " AuthUserFile passwd\n"
3272 " Require valid-user\n"
3273 "</Location>\n"
3276 "下面是组合使用 Windows 域认证和 <literal>passwd</literal> 文件认证的完整配置: "
3278 "<Location /svn>\n"
3280 "SVNListParentPath on\n"
3281 "SVNParentPath D:\\SVN\n"
3283 "AuthName \"Git repositories\"\n"
3284 "AuthzSVNAccessFile svnaccessfile.txt\n"
3286 "# NT Domain Logins.\n"
3289 "SSPIAuthoritative Off\n"
3290 "SSPIDomain <domaincontroller>\n"
3291 "SSPIOfferBasic On\n"
3293 "# Htpasswd Logins.\n"
3295 "AuthAuthoritative Off\n"
3296 "AuthUserFile passwd\n"
3298 "Require valid-user\n"
3299 "</Location>\n"
3303 #: ../source/TortoiseGit_en.xml:2238
3304 msgid "Securing the server with SSL"
3305 msgstr "用 SSL 使服务器更安全"
3308 #: ../source/TortoiseGit_en.xml:2240
3313 #: ../source/TortoiseGit_en.xml:2242
3315 "Even though Apache 2.2.x has OpenSSL support, it is not activated by default. "
3316 "You need to activate this manually."
3320 #: ../source/TortoiseGit_en.xml:2248
3322 "In the apache config file, uncomment the lines: <screen>\n"
3323 "#LoadModule ssl_module modules/mod_ssl.so\n"
3324 "</screen> and at the bottom <screen>\n"
3325 "#Include conf/extra/httpd-ssl.conf\n"
3326 "</screen> then change the line (on one line) <screen>\n"
3327 "SSLMutex \"file:C:/Program Files/Apache Software Foundation/\\\n"
3328 "Apache2.2/logs/ssl_mutex\"\n"
3329 "</screen> to <screen>\n"
3330 "SSLMutex default\n"
3335 #: ../source/TortoiseGit_en.xml:2270
3338 "Next you need to create an SSL certificate. To do that open a command prompt "
3339 "(DOS-Box) and change to the Apache folder (e.g. <filename>C:\\program files"
3340 "\\apache group\\apache2</filename>) and type the following command: <screen>\n"
3341 "bin\\openssl req -config conf\\openssl.cnf -new -out my-server.csr\n"
3342 "</screen> You will be asked for a passphrase. Please don't use simple words "
3343 "but whole sentences, e.g. a part of a poem. The longer the phrase the better. "
3344 "Also you have to enter the URL of your server. All other questions are "
3345 "optional but we recommend you fill those in too."
3347 "然后你需要创建一个 SSL 证书。为此打开一个命令行窗口,进入 Apache 目录(例如 "
3348 "<filename>C:\\program files\\apache group\\apache2</filename>),然后输入命令: "
3350 "bin\\openssl req -config bin\\openssl.cnf -new -out my-server.csr\n"
3351 "</screen> 你会被询问密句。请不要使用简单的单词,而是使用整段话,例如一段诗,越"
3352 "长越好。你也需要输入服务器的 URL,其他所有问题都是可选的,但是我们建议你输入这"
3356 #: ../source/TortoiseGit_en.xml:2285
3359 "Normally the <filename>privkey.pem</filename> file is created automatically, "
3360 "but if it isn't you need to type this command to generate it: <screen>\n"
3361 "bin\\openssl genrsa -out conf\\privkey.pem 2048\n"
3364 "通常会自动产生<filename>privkey.pem</filename>文件,但是如果没有,请输入下面的"
3366 "bin\\openssl genrsa -out privkey.pem 2048\n"
3370 #: ../source/TortoiseGit_en.xml:2293
3373 "Next type the commands <screen>\n"
3374 "bin\\openssl rsa -in conf\\privkey.pem -out conf\\server.key\n"
3375 "</screen> and (on one line) <screen>\n"
3376 "bin\\openssl req -new -key conf\\server.key -out conf\\server.csr \\\n"
3377 "-config conf\\openssl.cnf\n"
3378 "</screen> and then (on one line) <screen>\n"
3379 "bin\\openssl x509 -in conf\\server.csr -out conf\\server.crt\n"
3380 " -req -signkey conf\\server.key -days 4000\n"
3381 "</screen> This will create a certificate which will expire in 4000 days. And "
3382 "finally enter (on one line): <screen>\n"
3383 "bin\\openssl x509 -in conf\\server.cert -out conf\\server.der.crt\n"
3385 "</screen> These commands created some files in the Apache <filename>conf</"
3386 "filename> folder (<filename>server.der.crt</filename>, <filename>server.csr</"
3387 "filename>, <filename>server.key</filename>, <filename>.rnd</filename>, "
3388 "<filename>privkey.pem</filename>, <filename>server.cert</filename>)."
3390 "然后输入这个命令<screen>\n"
3391 "bin\\openssl rsa -in privkey.pem -out my-server.key\n"
3392 "</screen>并且输入(在同一行)<screen>\n"
3393 "bin\\openssl x509 -in my-server.csr -out my-server.cert\n"
3394 " -req -signkey my-server.key -days 4000\n"
3395 "</screen>这样会创建一个在4000天里过期的证书,最后输入: <screen>\n"
3396 "bin\\openssl x509 -in my-server.cert -out my-server.der.crt -outform DER\n"
3397 "</screen>这些命令在Apache目录(<filename>my-server.der.crt</filename>、"
3398 "<filename>my-server.csr</filename>、<filename>my-server.key</filename>、"
3399 "<filename>.rnd</filename>、<filename>privkey.pem</filename>、<filename>my-"
3400 "server.cert</filename>)里创建了一些文件,复制这些文件到目录<filename>conf/"
3401 "ssl</filename>(例如<filename>C:\\program files\\apache group\\apache2\\conf"
3402 "\\ssl</filename>)-如果这个目录不存在,你需要首先创建一个。"
3405 #: ../source/TortoiseGit_en.xml:2325
3406 msgid "Restart the Apache service."
3407 msgstr "重启 apache 服务。"
3410 #: ../source/TortoiseGit_en.xml:2330
3412 "Point your browser to <systemitem class=\"url\">https://servername/svn/"
3413 "project</systemitem> ..."
3415 "将你的浏览器指向<systemitem class=\"url\">https://servername/svn/project</"
3419 #: ../source/TortoiseGit_en.xml:2338
3420 msgid "SSL and Internet Explorer"
3421 msgstr "SSL 和 Internet Explorer"
3424 #: ../source/TortoiseGit_en.xml:2339
3426 "If you're securing your server with SSL and use authentication against a "
3427 "windows domain you will encounter that browsing the repository with the "
3428 "Internet Explorer doesn't work anymore. Don't worry - this is only the "
3429 "Internet Explorer not able to authenticate. Other browsers don't have that "
3430 "problem and TortoiseGit and any other Git client are still able to "
3433 "如果你使用SSL保护你的服务器,并使用windows域来进行认证,你会发现不能使用IE浏览"
3434 "版本库了,不需要担心-那只是因为IE没有经过认证,其他浏览器没有这个问题,"
3435 "TortoiseGit和其他Git客户端仍然可以得到认证。"
3438 #: ../source/TortoiseGit_en.xml:2348
3440 "If you still want to use IE to browse the repository you can either: "
3442 msgstr "如果你一直希望使用IE浏览你的版本库,你可以选择: <placeholder-1/>"
3445 #: ../source/TortoiseGit_en.xml:2353
3447 "define a separate <literal><Location /path></literal> directive in the "
3448 "Apache config file, and add the <literal>SSPIBasicPreferred On</literal>. "
3449 "This will allow IE to authenticate again, but other browsers and Git "
3450 "won't be able to authenticate against that location."
3452 "在 Apache 的配置文件定义一个单独的 <literal><Location /path></literal> "
3453 "指示,增加 <literal>SSPIBasicPreferred On</literal>。这将使 IE 能够认证,但是"
3454 "其他浏览器和 Git 不能对这个领域认证。"
3457 #: ../source/TortoiseGit_en.xml:2363
3459 "Offer browsing with unencrypted authentication (without SSL) too. Strangely "
3460 "IE doesn't have any problems with authenticating if the connection is not "
3463 "也提供未加密(没有SSL)认证的浏览,奇怪的IE在没有使用SSL的认证时没有任何问题。"
3466 #: ../source/TortoiseGit_en.xml:2371
3468 "In the SSL \"standard\" setup there's often the following statement in "
3469 "Apache's virtual SSL host: <screen>\n"
3470 "SetEnvIf User-Agent \".*MSIE.*\" \\\n"
3471 " nokeepalive ssl-unclean-shutdown \\\n"
3472 " downgrade-1.0 force-response-1.0\n"
3473 "</screen> There are (were?) good reasons for this configuration, see <ulink "
3474 "url=\"http://www.modssl.org/docs/2.8/ssl_faq.html#ToC49\"><citetitle>http://"
3475 "www.modssl.org/docs/2.8/ssl_faq.html#ToC49</citetitle></ulink> But if you "
3476 "want NTLM authentication you have to use <literal>keepalive</literal>. If You "
3477 "uncomment the whole <literal>SetEnvIf</literal> you should be able to "
3478 "authenticate IE with windows authentication over SSL against the Apache on "
3479 "Win32 with included <literal>mod_auth_sspi</literal>."
3481 "在 SSL 的“标准”配置中,通常在 apache 的虚拟 SSL 主机内有下面的内容: <screen>\n"
3482 "SetEnvIf User-Agent \".*MSIE.*\" \\\n"
3483 " nokeepalive ssl-unclean-shutdown \\\n"
3484 " downgrade-1.0 force-response-1.0\n"
3485 "</screen>这种设置的充足理由参见 <ulink url=\"http://www.modssl.org/docs/2.8/"
3486 "ssl_faq.html#ToC49\"><citetitle>http://www.modssl.org/docs/2.8/ssl_faq."
3487 "html#ToC49</citetitle></ulink>。但是如果你希望使用 NTLM 认证,就必须使用 "
3488 "<literal>keepalive</literal>。如果启用全部 <literal>SetEnvIf</literal>,你就可"
3489 "以使 IE 用 Windows 认证访问运行在 Win32 上加载了 <literal>mod_auth_sspi</"
3490 "literal> 模块的 Apache。"
3493 #: ../source/TortoiseGit_en.xml:2394
3494 msgid "Forcing SSL access"
3498 #: ../source/TortoiseGit_en.xml:2395
3500 "When you've set up SSL to make your repository more secure, you might want to "
3501 "disable the normal access via non-SSL (http) and only allow https access. To "
3502 "do this, you have to add another directive to the Git <literal><"
3503 "Location></literal> block: <literal>SSLRequireSSL</literal>."
3505 "当你设置了 SSL 让你的版本库更安全,你一定希望关闭普通的非 SSL (http) 访问。为"
3506 "此,你需要在 Git 的 <literal><Location></literal> 增加指示: "
3507 "<literal>SSLRequireSSL</literal>。"
3510 #: ../source/TortoiseGit_en.xml:2402
3513 "An example <literal><Location></literal> block would look like this: "
3515 "<Location /svn>\n"
3517 " SVNParentPath D:\\SVN\n"
3520 " AuthName \"Git repositories\"\n"
3521 " AuthUserFile passwd\n"
3522 " #AuthzSVNAccessFile svnaccessfile\n"
3523 " Require valid-user\n"
3524 "</Location>\n"
3527 "这是一个 <literal><Location></literal> 实例: <screen>\n"
3528 "<Location /svn>\n"
3530 "SVNParentPath D:\\SVN\n"
3533 "AuthName \"Git repositories\"\n"
3534 "AuthUserFile passwd\n"
3535 "#AuthzSVNAccessFile svnaccessfile\n"
3536 "Require valid-user\n"
3537 "</Location>\n"
3541 #: ../source/TortoiseGit_en.xml:2420
3542 msgid "Using client certificates with virtual SSL hosts"
3546 #: ../source/TortoiseGit_en.xml:2421
3547 msgid "Sent to the TortoiseGit mailing list by Nigel Green. Thanks!"
3551 #: ../source/TortoiseGit_en.xml:2424
3553 "In some server configurations you may need to setup a single server "
3554 "containing 2 virtual SSL hosts: The first one for public web access, with no "
3555 "requirement for a client certificate. The second one to be secure with a "
3556 "required client certificate, running a Git server."
3560 #: ../source/TortoiseGit_en.xml:2430
3562 "Adding an <literal>SSLVerifyClient Optional</literal> directive to the "
3563 "<emphasis>per-server</emphasis> section of the Apache configuration (i.e. "
3564 "outside of any <literal>VirtualHost</literal> and <literal>Directory</"
3565 "literal> blocks) forces Apache to request a client Certificate in the initial "
3566 "SSL handshake. Due to a bug in <literal>mod_ssl</literal> it is essential "
3567 "that the certificate is requested at this point as it does not work if the "
3568 "SSL connection is re-negotiated."
3572 #: ../source/TortoiseGit_en.xml:2440
3574 "The solution is to add the following directive to the virtual host directory "
3575 "that you want to lock down for Git: <screen>\n"
3576 "SSLRequire %{SSL_CLIENT_VERIFY} eq \"SUCCESS\"\n"
3577 "</screen> This directive grants access to the directory only if a client "
3578 "certificate was received and verified successfully."
3582 #: ../source/TortoiseGit_en.xml:2449
3584 "To summarise, the relevant lines of the Apache configuration are: <screen>\n"
3585 "SSLVerifyClient Optional\n"
3587 "### Virtual host configuration for the PUBLIC host \n"
3588 "### (not requiring a certificate)\n"
3590 "<VirtualHost 127.0.0.1:443>\n"
3591 " <Directory \"pathtopublicfileroot\">\n"
3592 " </Directory>\n"
3593 "</VirtualHost>\n"
3595 "### Virtual host configuration for Git \n"
3596 "### (requiring a client certificate)\n"
3597 "<VirtualHost 127.0.0.1:443>\n"
3598 " <Directory \"Git host root path\">\n"
3599 " SSLRequire %{SSL_CLIENT_VERIFY} eq \"SUCCESS\"\n"
3600 " </Directory>\n"
3602 " <Location /svn>\n"
3604 " SVNParentPath /pathtorepository\n"
3605 " </Location>\n"
3606 "</VirtualHost>\n"
3611 #: ../source/TortoiseGit_en.xml:2479
3612 msgid "Svnserve Based Server"
3613 msgstr "基于 svnserve 的服务器"
3616 #: ../source/TortoiseGit_en.xml:2485
3618 "There may be situations where it's not possible to use Apache as your server. "
3619 "Fortunately, Git includes Svnserve - a lightweight stand-alone server "
3620 "which uses a custom protocol over an ordinary TCP/IP connection."
3622 "有一些情况下,不能使用Apache作为你的服务器,Git包括Svnserve-一个轻型的"
3623 "独立服务器,使用普通TCP/IP连接之上的自定义协议。"
3626 #: ../source/TortoiseGit_en.xml:2491
3629 "In most cases svnserve is easier to setup and runs faster than the Apache "
3630 "based server. And now that SASL support is included it is easy to secure as "
3632 msgstr "大多数情况下svnserve的设置更加简单,也比Apache的服务器更加快。"
3635 #: ../source/TortoiseGit_en.xml:2498
3636 msgid "Installing svnserve"
3637 msgstr "安装 svnserve"
3640 #: ../source/TortoiseGit_en.xml:2502
3642 "Get the latest version of Git from <ulink url=\"http://Git."
3643 "tigris.org/servlets/ProjectDocumentList?folderID=91\"><citetitle>http://"
3644 "Git.tigris.org/servlets/ProjectDocumentList?folderID=91</citetitle></"
3645 "ulink>. Alternatively get a pre-packaged installer from CollabNet at <ulink "
3646 "url=\"http://www.collab.net/downloads/Git\"><citetitle>http://www."
3647 "collab.net/downloads/Git</citetitle></ulink>. This installer will "
3648 "setup svnserve as a Windows service, and also includes some of the tools you "
3649 "need if you are going to use SASL for security."
3653 #: ../source/TortoiseGit_en.xml:2516
3655 "If you already have a version of Git installed, and svnserve is "
3656 "running, you will need to stop it before continuing."
3658 "如果你已经安装了Git,svnserve已经运行,你需要在继续之前把它停下来。"
3661 #: ../source/TortoiseGit_en.xml:2522
3664 "Run the Git installer. If you run the installer on your server "
3665 "(recommended) you can skip step 4."
3666 msgstr "运行Git安装程序,如果你在你的服务器上运行,可以跳过第4步。"
3669 #: ../source/TortoiseGit_en.xml:2528
3671 "Open the windows-explorer, go to the installation directory of Git "
3672 "(usually <filename>C:\\Program Files\\Git</filename>) and in the "
3673 "<filename>bin</filename> directory, find the files <filename>svnserve.exe</"
3674 "filename>, <filename>intl3_svn.dll</filename>, <filename>libapr.dll</"
3675 "filename>, <filename>libapriconv.dll</filename>, <filename>libapriutil.dll</"
3676 "filename>, <filename>libdb*.dll</filename>, <filename>libeay32.dll</filename> "
3677 "and <filename>ssleay32.dll</filename> - copy these files, or just copy all of "
3678 "the <filename>bin</filename> directory, into a directory on your server e.g. "
3679 "<filename>c:\\svnserve</filename>"
3681 "打开资源管理器,进入Git的安装目录(通常是<filename>C:\\Program Files"
3682 "\\Git</filename>)的<filename>bin</filename>目录,找到文件"
3683 "<filename>svnserve.exe</filename>,<filename>intl3_svn.dll</filename>,"
3684 "<filename>libapr.dll</filename>,<filename>libapriconv.dll</filename>,"
3685 "<filename>libapriutil.dll</filename>,<filename>libdb*.dll</filename>,"
3686 "<filename>libeay32.dll</filename>和<filename>ssleay32.dll</filename>,复制这些"
3687 "文件,或所有<filename>bin</filename>目录内的文件到你的服务器目录,例如"
3688 "<filename>c:\\svnserve</filename>。"
3691 #: ../source/TortoiseGit_en.xml:2550
3692 msgid "Running svnserve"
3693 msgstr "运行 svnserve"
3696 #: ../source/TortoiseGit_en.xml:2551
3698 "Now that svnserve is installed, you need it running on your server. The "
3699 "simplest approach is to run the following from a DOS shell or create a "
3700 "windows shortcut: <screen>\n"
3701 "svnserve.exe --daemon\n"
3702 "</screen> svnserve will now start waiting for incoming requests on port 3690. "
3703 "The --daemon switch tells svnserve to run as a daemon process, so it will "
3704 "always exist until it is manually terminated."
3706 "现在svnserve已经安装了,你需要在你的server运行它,最简单的方法是在DOS窗口或者"
3707 "windows快捷方式输入: <screen>\n"
3708 "svnserve.exe --daemon\n"
3709 "</screen>svnserve将会在端口3690等待请求,--daemon选项告诉svnserve以守护进程方"
3710 "式运行,这样在手动终止之前不会退出。"
3713 #: ../source/TortoiseGit_en.xml:2562
3715 "If you have not yet created a repository, follow the instructions given with "
3716 "the Apache server setup <xref linkend=\"tsvn-serversetup-apache-4\"/>."
3718 "如果你没有创建一个版本库,根据下面的Apache服务器设置指令<xref linkend=\"tsvn-"
3719 "serversetup-apache-4\"/>。"
3722 #: ../source/TortoiseGit_en.xml:2567
3724 "To test that svnserve is working, use <menuchoice><guimenu>TortoiseGit</"
3725 "guimenu><guimenuitem>Repo-Browser</guimenuitem></menuchoice> to view a "
3728 "为了验证svnserve正常工作,使用<menuchoice><guimenu>TortoiseGit</"
3729 "guimenu><guimenuitem>版本库浏览器</guimenuitem></menuchoice>来查看版本库。"
3732 #: ../source/TortoiseGit_en.xml:2575
3734 "Assuming your repository is located in <filename>c:\\repos\\TestRepo</"
3735 "filename>, and your server is called <filename>localhost</filename>, enter: "
3737 "svn://localhost/repos/TestRepo\n"
3738 "</screen> when prompted by the repo browser."
3740 "假定你的版本库位于<filename>c:\\repos\\TestRepo</filename>,你的服务器叫做"
3741 "<filename>localhost</filename>,输入: <screen>\n"
3742 "svn://localhost/repos/TestRepo\n"
3743 "</screen>当被版本库浏览器提示输入。"
3746 #: ../source/TortoiseGit_en.xml:2584
3748 "You can also increase security and save time entering URLs with svnserve by "
3749 "using the --root switch to set the root location and restrict access to a "
3750 "specified directory on the server: <screen>\n"
3751 "svnserve.exe --daemon --root drive:\\path\\to\\repository\\root\n"
3752 "</screen> Using the previous test as a guide, svnserve would now run as: "
3754 "svnserve.exe --daemon --root c:\\repos\n"
3755 "</screen> And in TortoiseGit our repo-browser URL is now shortened to: "
3757 "svn://localhost/TestRepo\n"
3758 "</screen> Note that the --root switch is also needed if your repository is "
3759 "located on a different partition or drive than the location of svnserve on "
3762 "你也可以使用 --root 选项设置根位置来限制访问服务器的目录,从而增加安全性和节约"
3763 "输入 svnserve URL 的时间: <screen>\n"
3764 "svnserve.exe --daemon --root drive:\\path\\to\\repository\\root\n"
3765 "</screen>以前面的测试为例,svnserve 现在的运行命令为: <screen>\n"
3766 "svnserve.exe --daemon --root c:\\repos\n"
3767 "</screen>然后在 TortoiseGit 中我们的版本库浏览器 URL 缩短为: <screen>\n"
3768 "svn://localhost/TestRepo\n"
3769 "</screen>注意,当 svnserve 和版本库位于不同分区或盘符时也需要使用 --root 选"
3773 #: ../source/TortoiseGit_en.xml:2603
3775 "Svnserve will service any number of repositories. Just locate them somewhere "
3776 "below the root folder you just defined, and access them using a URL relative "
3779 "Svnserve 可以提供任意数量的版本库服务。只要将这些版本库放到你刚才定义的根目录"
3780 "下即可,然后使用相对于根的URL访问它们。"
3783 #: ../source/TortoiseGit_en.xml:2620
3784 msgid "Run svnserve as a Service"
3785 msgstr "以服务形式运行 svnserve"
3788 #: ../source/TortoiseGit_en.xml:2624
3790 "Running svnserve as a user is usually not the best way. It means always "
3791 "having a user logged in on your server, and remembering to restart it after a "
3792 "reboot. A better way is to run svnserve as a windows service. Starting with "
3793 "Git 1.4, svnserve can be installed as a native windows service."
3795 "使用普通用户直接运行 svnserve 通常不是最好的方法。它意味着你的服务器必须有一个"
3796 "用户登录,还要记着重新启动服务器后重新启动 svnserve。最好的方法是将 svnserve "
3797 "作为 windows 服务运行。从 Git 1.4 开始,svnserve 可以安装为 windows 服"
3801 #: ../source/TortoiseGit_en.xml:2631
3804 "To install svnserve as a native windows service, execute the following "
3805 "command all on one line to create a service which is automatically started "
3806 "when windows starts. <screen>\n"
3807 "sc create svnserve binpath= \"c:\\svnserve\\svnserve.exe --service \n"
3808 " --root c:\\repos\" displayname= \"Git\" depend= tcpip \n"
3810 "</screen> If any of the paths include spaces, you have to use (escaped) "
3811 "quotes around the path, like this: <screen>\n"
3812 "sc create svnserve binpath= \"\n"
3813 " \\\"C:\\Program Files\\Git\\bin\\svnserve.exe\\\"\n"
3814 " --service --root c:\\repos\" displayname= \"Git\" \n"
3815 " depend= tcpip start= auto\n"
3816 "</screen> You can also add a description after creating the service. This "
3817 "will show up in the Windows Services Manager. <screen>\n"
3818 "sc description svnserve \"Git server (svnserve)\"\n"
3821 "为了将 svnserve 安装为 Windows 服务,在一行内执行下面的命令,创建一个当 "
3822 "Windows 启动后,自动启动的服务。<screen>\n"
3823 "sc create svnserve binpath= \"c:\\svnserve\\svnserve.exe --service \n"
3824 " --root c:\\repos\" displayname= \"Git\" depend= tcpip start= auto\n"
3825 "</screen> 如果任一个路径包含空格,你必须使用双引号(逃逸字符)包含路径,例如:"
3827 "sc create svnserve binpath= \"\\\"C:\\Program Files\\Git\\bin"
3828 "\\svnserve.exe\\\"\n"
3829 " --service --root c:\\repos\" displayname= \"Git\" depend= tcpip "
3831 "</screen> 在创建服务以后,你还可以增加描述。它在 Windows 服务管理器中显示。"
3833 "sc description svnserve \"Git server (svnserve)\"\n"
3837 #: ../source/TortoiseGit_en.xml:2654
3839 "Note the rather unusual command line format used by <literal>sc</literal>. In "
3840 "the <literal>key= value</literal> pairs there must be no space between the "
3841 "key and the <literal>=</literal> but there must be a space before the value."
3843 "注意 <literal>sc</literal> 的命令行很特殊。在 <literal>key= value</literal> 对"
3844 "中,key 与 <literal>=</literal> 之间不能有空格,但是在 value 之前,必须有空"
3848 #: ../source/TortoiseGit_en.xml:2661
3850 "Microsoft now recommend services to be run as under either the Local Service "
3851 "or Network Service account. Refer to <ulink url=\"http://www.microsoft.com/"
3852 "technet/security/topics/serversecurity/serviceaccount/default.mspx"
3853 "\"><citetitle>The Services and Service Accounts Security Planning Guide</"
3854 "citetitle></ulink>. To create the service under the Local Service account, "
3855 "append the following to the example above. <screen>\n"
3856 "obj= \"NT AUTHORITY\\LocalService\"\n"
3857 "</screen> Note that you would have to give the Local Service account "
3858 "appropriate rights to both Git and your repositories, as well as any "
3859 "applications which are used by hook scripts. The built-in group for this is "
3860 "called \"LOCAL SERVICE\"."
3862 "Microsoft 现在建议服务程序使用本地服务或网络服务帐户运行,参考 <ulink url="
3863 "\"http://www.microsoft.com/technet/security/topics/serversecurity/"
3864 "serviceaccount/default.mspx\"><citetitle>The Services and Service Accounts "
3865 "Security Planning Guide</citetitle></ulink>。以本地服务帐户创建服务,需要在上"
3866 "面的例子里追加下面几行。<screen>\n"
3867 "obj= \"NT AUTHORITY\\LocalService\"\n"
3868 "</screen>请注意需要给本地服务帐户一些目录的适当权限,包括的 Git 和你的"
3869 "版本库,还有所有钩子脚本使用的应用。此帐号的内置组名是\"LOCAL SERVICE\"。"
3872 #: ../source/TortoiseGit_en.xml:2678
3874 "Once you have installed the service, you need to go to the services manager "
3875 "to start it (this time only; it will start automatically when the server "
3878 "服务安装完毕后,你需要在服务管理器中启动它(仅此一次;当服务器重启后它会自动启"
3882 #: ../source/TortoiseGit_en.xml:2683
3884 "For more detailed information, refer to <ulink url=\"http://svn.collab.net/"
3885 "repos/svn/trunk/notes/windows-service.txt\"><citetitle>Windows Service "
3886 "Support for Svnserve</citetitle></ulink>."
3888 "为了得到更详细的信息,可参考 <ulink url=\"http://svn.collab.net/repos/svn/"
3889 "trunk/notes/windows-service.txt\"><citetitle>Windows Service Support for "
3890 "Svnserve</citetitle></ulink>。"
3893 #: ../source/TortoiseGit_en.xml:2689
3895 "If you installed an earlier version of svnserve using the "
3896 "<literal>SVNService</literal> wrapper, and you now want to use the native "
3897 "support instead, you will need to unregister the wrapper as a service "
3898 "(remember to stop the service first!). Simply use the command <screen>\n"
3899 "svnservice -remove\n"
3900 "</screen> to remove the service registry entry."
3902 "如果你已经使用 <literal>SvnService</literal> 包装安装了早期的 svnserve,现在想"
3903 "使用内置服务,那么你需要将其从服务中删除(切记先停止服务!)。使用简单的命令 "
3905 "svnservice -remove\n"
3909 #: ../source/TortoiseGit_en.xml:2703
3910 msgid "Basic Authentication with svnserve"
3911 msgstr "svnserve 与基本认证"
3914 #: ../source/TortoiseGit_en.xml:2704
3917 "The default svnserve setup provides anonymous read-only access. This means "
3918 "that you can use an <literal>svn://</literal> URL to checkout and update, or "
3919 "use the repo-browser in TortoiseGit to view the repository, but you won't be "
3920 "able to commit any changes."
3922 "缺省的 svnserve 配置提供了匿名的只读访问。这意味着你可以使用 <filename>svn://"
3923 "</filename> 的 URL 进行检出和更新,或者使用 TortoiseGit 的版本库浏览器查看版本"
3927 #: ../source/TortoiseGit_en.xml:2710
3929 "To enable write access to a repository, you need to edit the <filename>conf/"
3930 "svnserve.conf</filename> file in your repository directory. This file "
3931 "controls the configuration of the svnserve daemon, and also contains useful "
3934 "为了打开对版本库的写访问,你可以编辑版本库目录的<filename>conf/svnserve.conf</"
3935 "filename>文件,这个文件控制了svnserve守护进程的配置,也提供了有用的文档。"
3938 #: ../source/TortoiseGit_en.xml:2716
3940 "You can enable anonymous write access by simply setting: <screen>\n"
3942 "anon-access = write\n"
3943 "</screen> However, you will not know who has made changes to a repository, as "
3944 "the <literal>svn:author</literal> property will be empty. You will also be "
3945 "unable to control who makes changes to a repository. This is a somewhat risky "
3948 "为了打开匿名的写访问,只需要简单得设置: <screen>\n"
3950 "anon-access = write\n"
3951 "</screen>然而,你不会知道谁修改了版本库,因为<literal>svn:author</literal>属性"
3952 "是空的,你也不能控制谁来修改版本库,这是一个很危险的设置。"
3955 #: ../source/TortoiseGit_en.xml:2727
3957 "One way to overcome this is to create a password database: <screen>\n"
3959 "anon-access = none\n"
3960 "auth-access = write\n"
3961 "password-db = userfile\n"
3962 "</screen> Where <filename>userfile</filename> is a file which exists in the "
3963 "same directory as <filename>svnserve.conf</filename>. This file can live "
3964 "elsewhere in your file system (useful for when you have multiple repositories "
3965 "which require the same access rights) and may be referenced using an absolute "
3966 "path, or a path relative to the <filename>conf</filename> directory. If you "
3967 "include a path, it must be written <filename>/the/unix/way</filename>. Using "
3968 "\\ or drive letters will not work. The <filename>userfile</filename> should "
3969 "have a structure of: <screen>\n"
3971 "username = password\n"
3973 "</screen> This example would deny all access for unauthenticated (anonymous) "
3974 "users, and give read-write access to users listed in <filename>userfile</"
3977 "解决这个问题的一个方法是创建密码数据库: <screen>\n"
3979 "anon-access = none\n"
3980 "auth-access = write\n"
3981 "password-db = userfile\n"
3982 "</screen>这里的 <literal>userfile</literal> 与 <filename>svnserve.conf</"
3983 "filename> 文件在同一个目录,这个文件也可以存在于文件系统的其他地方(当多个版本"
3984 "库使用相同的访问权限时尤其有用),可以使用绝对路径,或者是 <filename>conf</"
3985 "filename> 的相对目录,使用 \\ 或盘符不能工作。<filename>userfile</filename> 的"
3988 "anon-access = none\n"
3989 "auth-access = write\n"
3990 "password-db = userfile\n"
3991 "</screen>这个例子拒绝所有的未认证用户(匿名)访问,给 <filename>userfile</"
3992 "filename> 中的用户读写权限。"
3995 #: ../source/TortoiseGit_en.xml:2755
3998 "If you maintain multiple repositories using the same password database, the "
3999 "use of an authentication realm will make life easier for users, as "
4000 "TortoiseGit can cache your credentials so that you only have to enter them "
4001 "once. More information can be found in the Git book, specifically in "
4002 "the sections <ulink url=\"http://svnbook.red-bean.com/en/1.5/svn.serverconfig."
4003 "svnserve.html#svn.serverconfig.svnserve.auth.users\"><citetitle>Create a "
4004 "'users' file and realm</citetitle></ulink> and <ulink url=\"http://svnbook."
4005 "red-bean.com/en/1.5/svn.serverconfig.netmodel.html#svn.serverconfig.netmodel."
4006 "credcache\"><citetitle>Client Credentials Caching</citetitle></ulink>"
4008 "如果使用相同的密码数据库维护多个版本库,使用一个认证域将让用户的工作更加简单,"
4009 "因为 TortoiseGit 可以缓存你的凭证,所以你只需要输入一次,更多的信息可以参考 "
4010 "Git 手册的 <ulink url=\"http://svnbook.red-bean.com/en/1.4/svn."
4011 "serverconfig.svnserve.html#svn.serverconfig.svnserve.auth.users\"><citetitle>"
4012 "创建用户文件和域</citetitle></ulink> 和 <ulink url=\"http://svnbook.red-bean."
4013 "com/en/1.4/svn.serverconfig.netmodel.html#svn.serverconfig.netmodel.credcache"
4014 "\"><citetitle>客户端凭证缓存</citetitle></ulink>。"
4017 #: ../source/TortoiseGit_en.xml:2773
4018 msgid "Better Security with SASL"
4019 msgstr "使用 SASL 以便更安全"
4022 #: ../source/TortoiseGit_en.xml:2775
4027 #: ../source/TortoiseGit_en.xml:2778
4028 msgid "What is SASL?"
4032 #: ../source/TortoiseGit_en.xml:2779
4034 "The Cyrus Simple Authentication and Security Layer is open source software "
4035 "written by Carnegie Mellon University. It adds generic authentication and "
4036 "encryption capabilities to any network protocol, and as of Git 1.5 and "
4037 "later, both the svnserve server and TortoiseGit client know how to make use "
4042 #: ../source/TortoiseGit_en.xml:2787
4044 "For a more complete discussion of the options available, you should look at "
4045 "the Git book in the section <ulink url=\"http://svnbook.red-bean.com/"
4046 "en/1.5/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.sasl"
4047 "\"><citetitle>Using svnserve with SASL</citetitle></ulink>. If you are just "
4048 "looking for a simple way to set up secure authentication and encryption on a "
4049 "Windows server, so that your repository can be accessed safely over the big "
4050 "bad Internet, read on."
4054 #: ../source/TortoiseGit_en.xml:2800
4055 msgid "SASL Authentication"
4059 #: ../source/TortoiseGit_en.xml:2801
4061 "To activate specific SASL mechanisms on the server, you'll need to do three "
4062 "things. First, create a <literal>[sasl]</literal> section in your "
4063 "repository's <filename>svnserve.conf</filename> file, with this key-value "
4070 #: ../source/TortoiseGit_en.xml:2810
4072 "Second, create a file called <filename>svn.conf</filename> in a convenient "
4073 "location - typically in the directory where Git is installed."
4077 #: ../source/TortoiseGit_en.xml:2815
4079 "Thirdly, create two new registry entries to tell SASL where to find things. "
4080 "Create a registry key named <literal>[HKEY_LOCAL_MACHINE\\SOFTWARE\\Carnegie "
4081 "Mellon\\Project Cyrus\\SASL Library]</literal> and place two new string "
4082 "values inside it: <literal>SearchPath</literal> set to the directory path "
4083 "containing the <filename>sasl*.dll</filename> plug-ins (normally in the "
4084 "Git install directory), and <literal>ConfFile</literal> set to the "
4085 "directory containing the <filename>svn.conf</filename> file. If you used the "
4086 "CollabNet installer, these registry keys will already have been created for "
4091 #: ../source/TortoiseGit_en.xml:2827
4093 "Edit the <filename>svn.conf</filename> file to contain the following: "
4095 "pwcheck_method: auxprop\n"
4096 "auxprop_plugin: sasldb\n"
4097 "mech_list: DIGEST-MD5\n"
4098 "sasldb_path: C:\\TortoiseGit\\sasldb\n"
4099 "</screen> The last line shows the location of the authentication database, "
4100 "which is a file called <filename>sasldb</filename>. This could go anywhere, "
4101 "but a convenient choice is the repository parent path. Make sure that the "
4102 "svnserve service has read access to this file."
4106 #: ../source/TortoiseGit_en.xml:2842
4108 "If svnserve was already running, you will need to restart it to ensure it "
4109 "reads the updated configuration."
4113 #: ../source/TortoiseGit_en.xml:2846
4115 "Now that everything is set up, all you need to do is create some users and "
4116 "passwords. To do this you need the <literal>saslpasswd2</literal> program. If "
4117 "you used the CollabNet installer, that program will be in the install "
4118 "directory. Use a command something like this: <screen>\n"
4119 "saslpasswd2 -c -f C:\\TortoiseGit\\sasldb -u realm username\n"
4120 "</screen> The <literal>-f</literal> switch gives the database location, "
4121 "<literal>realm</literal> must be the same as the value you defined in your "
4122 "repository's <filename>svnserve.conf</filename> file, and username is exactly "
4123 "what you expect it to be. Note that the realm is not allowed to contain space "
4128 #: ../source/TortoiseGit_en.xml:2861
4130 "You can list the usernames stored in the database using the "
4131 "<literal>sasldblistusers2</literal> program."
4135 #: ../source/TortoiseGit_en.xml:2867
4136 msgid "SASL Encryption"
4140 #: ../source/TortoiseGit_en.xml:2868
4142 "To enable or disable different levels of encryption, you can set two values "
4143 "in your repository's <filename>svnserve.conf</filename> file: <screen>\n"
4146 "min-encryption = 128\n"
4147 "max-encryption = 256\n"
4152 #: ../source/TortoiseGit_en.xml:2879
4154 "The <literal>min-encryption</literal> and <literal>max-encryption</literal> "
4155 "variables control the level of encryption demanded by the server. To disable "
4156 "encryption completely, set both values to 0. To enable simple checksumming of "
4157 "data (i.e., prevent tampering and guarantee data integrity without "
4158 "encryption), set both values to 1. If you wish to allow (but not require) "
4159 "encryption, set the minimum value to 0, and the maximum value to some bit-"
4160 "length. To require encryption unconditionally, set both values to numbers "
4161 "greater than 1. In our previous example, we require clients to do at least "
4162 "128-bit encryption, but no more than 256-bit encryption."
4166 #: ../source/TortoiseGit_en.xml:2896
4167 msgid "Authentication with svn+ssh"
4168 msgstr "使用 svn+ssh 认证"
4171 #: ../source/TortoiseGit_en.xml:2897
4174 "Another way to authenticate users with a svnserve based server is to use a "
4175 "secure shell (SSH) to tunnel requests through. It is not as simple to set up "
4176 "as SASL, but it may be useful is some cases."
4177 msgstr "另一种svnserve认证的方法是使用SSH来建立请求通道。"
4180 #: ../source/TortoiseGit_en.xml:2903
4182 "With this approach, svnserve is not run as a daemon process, rather, the "
4183 "secure shell starts svnserve for you, running it as the SSH authenticated "
4184 "user. To enable this, you need a secure shell daemon on your server."
4186 "通过此方法,svnserve不会作为守护进程启动,而是SSH为你启动svnserve,以SSH授权用"
4187 "户运行,为此,你需要在你的服务器上有SSH守护进程。"
4190 #: ../source/TortoiseGit_en.xml:2909
4192 "A basic method for setting up your server is given in <xref linkend=\"tsvn-"
4193 "ssh-howto\"/>. You can find other SSH topics within the FAQ by searching for "
4194 "<quote>SSH</quote>."
4198 #: ../source/TortoiseGit_en.xml:2915
4200 "Further information about svnserve can be found in the <ulink url=\"http://"
4201 "svnbook.red-bean.com\"><citetitle>Version Control with Git</"
4202 "citetitle></ulink>."
4204 "更多的关于svnserve的信息可以看<ulink url=\"http://svnbook.red-bean.com"
4205 "\"><citetitle>《使用 Git 进行版本管理》</citetitle></ulink>。"
4208 #: ../source/TortoiseGit_en.xml:2923
4209 msgid "Path-based Authorization with svnserve"
4210 msgstr "svnserve 基于路径的授权"
4213 #: ../source/TortoiseGit_en.xml:2924
4215 "Starting with Git 1.3, svnserve supports the same "
4216 "<literal>mod_authz_svn</literal> path-based authorization scheme that is "
4217 "available with the Apache server. You need to edit the <filename>conf/"
4218 "svnserve.conf</filename> file in your repository directory and add a line "
4219 "referring to your authorization file. <screen>\n"
4221 "authz-db = authz\n"
4222 "</screen> Here, <filename>authz</filename> is a file you create to define the "
4223 "access permissions. You can use a separate file for each repository, or you "
4224 "can use the same file for several repositories. Read <xref linkend=\"tsvn-"
4225 "serversetup-mod_authz_svn\"/> for a description of the file format."
4227 "从Git1.3开始,svnserve支持与<literal>mod_authz_svn</literal>相同的路径"
4228 "为基础的授权模式,你需要编辑版本库路径下的<filename>conf/svnserve.conf</"
4229 "filename>引用的授权文件。<screen>\n"
4231 "authz-db = authz\n"
4232 "</screen>在这里,<filename>authz</filename>是你创建用来定义访问权限的文件,你"
4233 "可以为每一个版本库使用单独的文件,或者为所有的版本库使用相同的文件,关于此文件"
4234 "的格式可以查看<xref linkend=\"tsvn-serversetup-mod_authz_svn\"/>。"
4237 #: ../source/TortoiseGit_en.xml:2946
4239 "No matter which protocol you use to access your repositories, you always need "
4240 "to create at least one repository. This can either be done with the "
4241 "Git command line client or with TortoiseGit."
4243 "无论你用什么协议访问你的版本库,都至少需要创建一个版本库,这可以使用Git"
4244 "命令行客户端或TortoiseGit完成。"
4247 #: ../source/TortoiseGit_en.xml:2951
4249 "If you haven't created a Git repository yet, it's time to do that now."
4250 msgstr "如果你还没有创建Git版本库,是时间开始了。"
4253 #: ../source/TortoiseGit_en.xml:2959
4254 msgid "Repository Creation"
4258 #: ../source/TortoiseGit_en.xml:2961
4259 msgid "create repository"
4263 #: ../source/TortoiseGit_en.xml:2963
4266 "You can create a repository with the FSFS backend or with the older Berkeley "
4267 "Database (BDB) format. The FSFS format is generally faster and easier to "
4268 "administer, and it works on network shares and Windows 98 without problems. "
4269 "The BDB format was once considered more stable simply because it has been in "
4270 "use for longer, but since FSFS has now been in use in the field for several "
4271 "years, that argument is now rather weak. Read <ulink url=\"http://svnbook.red-"
4272 "bean.com/en/1.5/svn.reposadmin.planning.html#svn.reposadmin.basics.backends"
4273 "\"><citetitle>Choosing a Data Store</citetitle></ulink> in the Git "
4274 "book for more information."
4276 "你可以使用 FSFS 或较老的 Berkeley 数据库(BDB)作为版本库的后端,FSFS 格式通常更"
4277 "快一点,还容易管理,而且可以正常运行在网络共享磁盘上 或 Windows 98 中。BDB 格"
4278 "式曾经简单的被认为更加稳定,因为其经过了更长时间的验证,但是既然 FSFS 已经使用"
4279 "了几年,这个论据已经相当不牢固了。参考 Git 手册的 <ulink url=\"http://"
4280 "svnbook.red-bean.com/en/1.4/svn.reposadmin.planning.html#svn.reposadmin."
4281 "basics.backends\"><citetitle>选择数据存储</citetitle></ulink> 以获得更多信息。"
4284 #: ../source/TortoiseGit_en.xml:2978
4285 msgid "Creating a Repository with the Command Line Client"
4286 msgstr "使用命令行工具创建版本库"
4290 #: ../source/TortoiseGit_en.xml:2980 ../source/TortoiseGit_en.xml:3021
4295 #: ../source/TortoiseGit_en.xml:2981
4296 msgid "Command Line Client"
4300 #: ../source/TortoiseGit_en.xml:2985
4302 "Create an empty folder with the name SVN (e.g. <filename>D:\\SVN\\</"
4303 "filename>), which is used as root for all your repositories."
4305 "创建一个名为SVN(例如<filename>D:\\SVN\\</filename>)的空文件夹,作为你的所有版"
4309 #: ../source/TortoiseGit_en.xml:2992
4311 "Create another folder <filename>MyNewRepository</filename> inside <filename>D:"
4312 "\\SVN\\</filename>."
4314 "在<filename>D:\\SVN\\</filename>里创建另一个目录<filename>MyNewRepository</"
4318 #: ../source/TortoiseGit_en.xml:2999
4320 "Open the command prompt (or DOS-Box), change into <filename>D:\\SVN\\</"
4321 "filename> and type <screen>\n"
4322 "svnadmin create --fs-type bdb MyNewRepository\n"
4323 "</screen> or <screen>\n"
4324 "svnadmin create --fs-type fsfs MyNewRepository\n"
4327 "打开命令行窗口(或DOS窗口),进入<filename>D:\\SVN\\</filename>目录,输入"
4329 "svnadmin create --fs-type bdb MyNewRepository\n"
4330 "</screen>或<screen>\n"
4331 "svnadmin create --fs-type fsfs MyNewRepository\n"
4335 #: ../source/TortoiseGit_en.xml:3012
4337 "Now you've got a new repository located at <filename>D:\\SVN"
4338 "\\MyNewRepository</filename>."
4340 "现在你在<filename>D:\\SVN\\MyNewRepository</filename>创建了一个新的版本库。"
4343 #: ../source/TortoiseGit_en.xml:3019
4344 msgid "Creating The Repository With TortoiseGit"
4345 msgstr "使用 TortoiseGit 创建版本库"
4348 #: ../source/TortoiseGit_en.xml:3026
4349 msgid "The TortoiseGit menu for unversioned folders"
4350 msgstr "未版本控制文件夹的 TortoiseGit 菜单"
4353 #: ../source/TortoiseGit_en.xml:3031
4354 msgid "Open the windows explorer"
4358 #: ../source/TortoiseGit_en.xml:3036
4359 msgid "Create a new folder and name it e.g. <filename>SVNRepository</filename>"
4360 msgstr "创建一个新的文件夹,命名为<filename>SVNRepository</filename>"
4363 #: ../source/TortoiseGit_en.xml:3042
4365 "<action>Right-click</action> on the newly created folder and select "
4366 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Create Repository "
4367 "here...</guimenuitem></menuchoice>."
4369 "<action>右键点击</action>新创建的目录,选择<menuchoice><guimenu>TortoiseGit</"
4370 "guimenu><guimenuitem>在此创建版本库...</guimenuitem></menuchoice>。"
4373 #: ../source/TortoiseGit_en.xml:3050
4375 "A repository is then created inside the new folder. <emphasis>Don't edit "
4376 "those files yourself!!!</emphasis>. If you get any errors make sure that the "
4377 "folder is empty and not write protected."
4379 "然后就会在新文件夹创建一个版本库,<emphasis>不要手工编辑这些文件!!!</"
4380 "emphasis>如果你得到什么警告,一定要先确定目录非空并且没有写保护。"
4383 #: ../source/TortoiseGit_en.xml:3059
4385 "TortoiseGit no longer offers the option to create BDB repositories, although "
4386 "you can still use the command line client to create them. FSFS repositories "
4387 "are generally easier for you to maintain, and also makes it easier for us to "
4388 "maintain TortoiseGit due to compatibility issues between the different BDB "
4391 "TortoiseGit 不再给你创建 BDB 版本库的选择,尽管你仍旧可以使用命令行工具创建。"
4392 "FSFS 版本库通常很容易维护,也让我们维护 TortoiseGit 变得更容易,因为我们不再需"
4393 "要处理不同 BDB 版本之间的兼容性问题。"
4396 #: ../source/TortoiseGit_en.xml:3066
4399 "Future versions of TortoiseGit will not support <literal>file://</literal> "
4400 "access to BDB repositories due to these compatibility issues, although it "
4401 "will of course always support this repository format when accessed via a "
4402 "server through the <literal>svn://</literal>, <literal>http://</literal> or "
4403 "<literal>https://</literal> protocols. For this reason, we strongly recommend "
4404 "that any new repository which must be accessed using <literal>file://</"
4405 "literal> protocol is created as FSFS."
4407 "由于这些兼容性问题,将来的 TortoiseGit 不再支持使用 <literal>file:///</"
4408 "literal> 访问 BDB 版本库,尽管我们继续支持使用 <literal>svn://</literal>,"
4409 "<literal>http://</literal> 或 <literal>https://</literal> 协议访问 BDB 版本"
4410 "库。因此,我们强烈建议任何新的必须使用 <literal>file:///</literal> 协议访问的"
4414 #: ../source/TortoiseGit_en.xml:3078
4417 "Of course we also recommend that you don't use <literal>file://</literal> "
4418 "access at all, apart from local testing purposes. Using a server is more "
4419 "secure and more reliable for all but single-developer use."
4421 "当然除了本地测试之外,我们也建议你根本不要使用 <literal>file:///</literal> 协"
4422 "议访问。除非是单个开发人员,使用服务器模型更为安全可靠。"
4425 #: ../source/TortoiseGit_en.xml:3087
4426 msgid "Local Access to the Repository"
4430 #: ../source/TortoiseGit_en.xml:3089
4435 #: ../source/TortoiseGit_en.xml:3092
4440 #: ../source/TortoiseGit_en.xml:3094
4442 "To access your local repository you need the path to that folder. Just "
4443 "remember that Git expects all repository paths in the form <systemitem "
4444 "class=\"url\">file:///C:/SVNRepository/</systemitem>. Note the use of forward "
4445 "slashes throughout."
4447 "为了访问本地版本库,你需要这个文件夹的路径,只要记住Git期望所有的版本库"
4448 "路径使用的形式为<systemitem class=\"url\">file:///C:/SVNRepository/</"
4449 "systemitem>,请注意全部使用的是斜杠。"
4452 #: ../source/TortoiseGit_en.xml:3100
4454 "To access a repository located on a network share you can either use drive "
4455 "mapping, or you can use the UNC path. For UNC paths, the form is <systemitem "
4456 "class=\"url\">file://ServerName/path/to/repos/</systemitem>. Note that there "
4457 "are only 2 leading slashes here."
4459 "为了访问网络共享中的版本库,你可以使用驱动器影射或使用UNC路径,对于UNC路径,形"
4460 "式为<systemitem class=\"url\">file://ServerName/path/to/repos/</systemitem>,"
4464 #: ../source/TortoiseGit_en.xml:3107
4466 "Prior to SVN 1.2, UNC paths had to be given in the more obscure form "
4467 "<systemitem class=\"url\">file:///\\ServerName/path/to/repos</systemitem>. "
4468 "This form is still supported, but not recommended."
4470 "在SVN 1.2之前,UNC路径曾经是一种非常晦涩的格式<systemitem class=\"url"
4471 "\">file:///\\ServerName/path/to/repos</systemitem>,这种格式依然支持,但不推"
4475 #: ../source/TortoiseGit_en.xml:3114
4477 "Do not create or access a Berkeley DB repository on a network share. It "
4478 "<emphasis>cannot</emphasis> exist on a remote file system. Not even if you "
4479 "have the network drive mapped to a drive letter. If you attempt to use "
4480 "Berkeley DB on a network share, the results are unpredictable - you may see "
4481 "mysterious errors right away, or it may be months before you discover that "
4482 "your repository database is subtly corrupted."
4484 "不要创建和访问网络共享上的 Berkeley DB 版本库。它<emphasis>不能</emphasis>存在"
4485 "于远程文件系统。即使是映射到盘符的共享。如果你尝试在网络共享使用 Berkeley DB,"
4486 "结果难以预料 - 你可能会立刻看到奇怪的错误,也有可能几个月之后才发现数据库已经"
4490 #: ../source/TortoiseGit_en.xml:3125
4491 msgid "Accessing a Repository on a Network Share"
4492 msgstr "访问网络共享磁盘上的版本库"
4495 #: ../source/TortoiseGit_en.xml:3127
4496 msgid "Network share"
4500 #: ../source/TortoiseGit_en.xml:3129
4502 "Although in theory it is possible to put a FSFS repository on a network share "
4503 "and have multiple users access it using <literal>file://</literal> protocol, "
4504 "this is most definitely <emphasis>not</emphasis> recommended. In fact we "
4505 "would <emphasis>strongly</emphasis> discourage it, and do not support such "
4510 #: ../source/TortoiseGit_en.xml:3136
4512 "Firstly you are giving every user direct write access to the repository, so "
4513 "any user could accidentally delete the entire repository or make it unusable "
4514 "in some other way."
4518 #: ../source/TortoiseGit_en.xml:3141
4520 "Secondly not all network file sharing protocols support the locking that "
4521 "Git requires, so you may find your repository gets corrupted. It may "
4522 "not happen straight away, but one day two users will try to access the "
4523 "repository at the same time."
4527 #: ../source/TortoiseGit_en.xml:3147
4529 "Thirdly the file permissions have to be set just so. You may just about get "
4530 "away with it on a native Windows share, but SAMBA is particularly difficult."
4534 #: ../source/TortoiseGit_en.xml:3152
4536 "<literal>file://</literal> access is intended for local, single-user access "
4537 "only, particularly testing and debugging. When you want to share the "
4538 "repository you <emphasis>really</emphasis> need to set up a proper server, "
4539 "and it is not nearly as difficult as you might think. Read <xref linkend="
4540 "\"tsvn-serversetup\"/> for guidelines on choosing and setting up a server."
4544 #: ../source/TortoiseGit_en.xml:3162
4545 msgid "Repository Layout"
4549 #: ../source/TortoiseGit_en.xml:3163
4551 "Before you import your data into the repository you should first think about "
4552 "how you want to organize your data. If you use one of the recommended layouts "
4553 "you will later have it much easier."
4555 "在将你的数据导入到版本库之前,首先你得考虑如何组织你的数据。如果你使用一种推荐"
4556 "的布局,你在后面的操作将会更容易许多。"
4559 #: ../source/TortoiseGit_en.xml:3169
4562 "There are some standard, recommended ways to organize a repository. Most "
4563 "people create a <filename>trunk</filename> directory to hold the <quote>main "
4564 "line</quote> of development, a <filename>branches</filename> directory to "
4565 "contain branch copies, and a <filename>tags</filename> directory to contain "
4566 "tag copies. If a repository holds only one project, then often people create "
4567 "these top-level directories:"
4569 "有一些标准的、推荐的方式来组织一个版本库。大多数人建一个<filename>trunk</"
4570 "filename>目录来存放开发的“主线”、一个<filename>branches</filename>目录来容纳分"
4571 "支副本、以及一个<filename>tags</filename>目录来容纳标签复制。如果一个版本库只"
4572 "存放一个项目,人们通常创建三个这样的顶层目录: "
4575 #: ../source/TortoiseGit_en.xml:3178
4589 #: ../source/TortoiseGit_en.xml:3183
4591 "If a repository contains multiple projects, people often index their layout "
4593 msgstr "如果一个版本库包含多个项目,人们通常按分支来安排布局: "
4596 #: ../source/TortoiseGit_en.xml:3187
4616 #: ../source/TortoiseGit_en.xml:3195
4617 msgid "...or by project:"
4621 #: ../source/TortoiseGit_en.xml:3198
4641 #: ../source/TortoiseGit_en.xml:3206
4643 "Indexing by project makes sense if the projects are not closely related and "
4644 "each one is checked out individually. For related projects where you may want "
4645 "to check out all projects in one go, or where the projects are all tied "
4646 "together in a single distribution package, it is often better to index by "
4647 "branch. This way you have only one trunk to checkout, and the relationships "
4648 "between the sub-projects is more easily visible."
4650 "如果项目不是密切相关,而且每一个是单独被检出,那么按项目布局是合理的。对于那些"
4651 "你想一次检出所有项目,或需要将它们打成一个分发包的相关项目,按分支来布局通常比"
4652 "较好。这种方式你只要检出一个分支,而且子项目之间的关系也比较清楚。"
4655 #: ../source/TortoiseGit_en.xml:3214
4657 "If you adopt a top level <filename>/trunk /tags /branches</filename> "
4658 "approach, there is nothing to say that you have to copy the entire trunk for "
4659 "every branch and tag, and in some ways this structure offers the most "
4662 "如果你采用顶层<filename>/trunk /tags /branches</filename>这种方式,并不意味着"
4663 "你必须复制整个主线为分支或标签,而且某些情况下这种结构更具灵活性。"
4666 #: ../source/TortoiseGit_en.xml:3220
4668 "For unrelated projects you may prefer to use separate repositories. When you "
4669 "commit changes, it is the revision number of the whole repository which "
4670 "changes, not the revision number of the project. Having 2 unrelated projects "
4671 "share a repository can mean large gaps in the revision numbers. The "
4672 "Git and TortoiseGit projects appear at the same host address, but are "
4673 "completely separate repositories allowing independent development, and no "
4674 "confusion over build numbers."
4676 "对于不相关的项目,你可能更愿意使用不同的版本库。当你提交时,改变的是整个版本库"
4677 "的修订号,而不是项目的。让两个不相关的项目共用一个版本库,会导致修订号出现较大"
4678 "的跳跃。Git和TortoiseGit项目看起来是在同一个主机地址,但是它们是在完全"
4679 "独立的版本库中开发着,并且版本号也不相干。"
4682 #: ../source/TortoiseGit_en.xml:3230
4684 "Of course, you're free to ignore these common layouts. You can create any "
4685 "sort of variation, whatever works best for you or your team. Remember that "
4686 "whatever you choose, it's not a permanent commitment. You can reorganize your "
4687 "repository at any time. Because branches and tags are ordinary directories, "
4688 "TortoiseGit can move or rename them however you wish."
4690 "当然,你完全可以不理会上面提及的通用布局。你可以自由改变,来满足你和你团队的需"
4691 "要。请记住,不管你选择哪种布局,它都不是永久的。你可以在随时重新组织你的版本"
4692 "库。因为分支和标签是普通的目录,只要你愿意,TortoiseGit可以将它们移动或重命"
4696 #: ../source/TortoiseGit_en.xml:3238
4698 "Switching from one layout to another is just a matter of issuing a series of "
4699 "server-side moves; If you don't like the way things are organized in the "
4700 "repository, just juggle the directories around."
4702 "从一种布局转换到另一种布局仅仅是在服务器端移动一些文件或目录;如果你不喜欢版本"
4703 "库的组织形式,仅管大胆地修改那些目录。"
4706 #: ../source/TortoiseGit_en.xml:3244
4708 "So if you haven't already created a basic folder structure inside your "
4709 "repository you should do that now. There are two ways to achieve this. If you "
4710 "simply want to create a <filename>/trunk /tags /branches</filename> "
4711 "structure, you can use the repository browser to create the three folders (in "
4712 "three separate commits). If you want to create a deeper hierarchy then it is "
4713 "simpler to create a folder structure on disk first and import it in a single "
4714 "commit, like this: <placeholder-1/>"
4718 #: ../source/TortoiseGit_en.xml:3255
4719 msgid "create a new empty folder on your hard drive"
4720 msgstr "在你的硬盘上创建一个空的文件夹"
4723 #: ../source/TortoiseGit_en.xml:3260
4725 "create your desired top-level folder structure inside that folder - don't put "
4726 "any files in it yet!"
4727 msgstr "在那个文件夹下创建你想要的顶级目录--千万不要放任何文件进去!"
4730 #: ../source/TortoiseGit_en.xml:3266
4732 "import this structure into the repository via a <action>right click</action> "
4733 "on the folder and selecting <menuchoice><guimenu>TortoiseGit</"
4734 "guimenu><guimenuitem>Import...</guimenuitem></menuchoice> This will import "
4735 "your temp folder into the repository root to create the basic repository "
4738 "通过在那个文件夹<action>右键</action>,选择<menuchoice><guimenu>TortoiseGit</"
4739 "guimenu><guimenuitem>导入...</guimenuitem></menuchoice> 将这个结构导入到版本库"
4740 "中。这将导入临时文件夹到版本库的根目录形成一个基本的版本库布局。"
4743 #: ../source/TortoiseGit_en.xml:3281
4745 "Note that the name of the folder you are importing does not appear in the "
4746 "repository, only its contents. For example, create the following folder "
4747 "structure: <screen>\n"
4748 "C:\\Temp\\New\\trunk\n"
4749 "C:\\Temp\\New\\branches\n"
4750 "C:\\Temp\\New\\tags\n"
4751 "</screen> Import <filename>C:\\Temp\\New</filename> into the repository root, "
4752 "which will then look like this: <screen>\n"
4758 "注意,你所导入的那个文件夹的名字并不存在于版本库中,仅仅是它所包含的内容。比"
4759 "如,创建如下结构的文件夹<screen>\n"
4760 "C:\\Temp\\New\\trunk\n"
4761 "C:\\Temp\\New\\branches\n"
4762 "C:\\Temp\\New\\tags\n"
4763 "</screen>导入<filename>C:\\Temp\\New</filename>到版本库的根目录,版本库中将会"
4771 #: ../source/TortoiseGit_en.xml:3301
4772 msgid "Repository Backup"
4776 #: ../source/TortoiseGit_en.xml:3303
4781 #: ../source/TortoiseGit_en.xml:3305
4783 "Whichever type of repository you use, it is vitally important that you "
4784 "maintain regular backups, and that you verify the backup. If the server "
4785 "fails, you may be able to access a recent version of your files, but without "
4786 "the repository all your history is lost forever."
4788 "无论你使用何种版本库,定期维护和验证版本库备份非常重要,或许你可以访问最近版本"
4789 "的文件,但是如果没有版本库,所有的历史将会丢失。"
4792 #: ../source/TortoiseGit_en.xml:3312
4794 "The simplest (but not recommended) way is just to copy the repository folder "
4795 "onto the backup medium. However, you have to be absolutely sure that no "
4796 "process is accessing the data. In this context, access means <emphasis>any</"
4797 "emphasis> access at all. A BDB repository is written to even when the "
4798 "operation only appears to require reading, such as getting status. If your "
4799 "repository is accessed at all during the copy, (web browser left open, "
4800 "WebSVN, etc.) the backup will be worthless."
4802 "最简单(但不推荐)的方法是复制整个版本库目录到备份介质,然而你必须绝对确定没有访"
4803 "问数据的进程,在这里“访问”的意思是<emphasis>任何</emphasis>访问,一个BDB版本库"
4804 "即使在访问看起来只需要读时也会有写操作,如果在复制时版本库被访问了(web浏览器,"
4805 "WebSVN等等),备份将毫无价值。"
4808 #: ../source/TortoiseGit_en.xml:3322
4810 "The recommended method is to run <screen>\n"
4811 "svnadmin hotcopy path/to/repository path/to/backup --clean-logs\n"
4812 "</screen> to create a copy of your repository in a safe manner. Then backup "
4813 "the copy. The <literal>--clean-logs</literal> option is not required, but "
4814 "removes any redundant log files when you backup a BDB repository, which may "
4817 "推荐的方法是运行<screen>\n"
4818 "svnadmin hotcopy path/to/repository path/to/backup --clean-logs\n"
4819 "</screen>,用一种安全的方式创建版本库的备份,备份是一个副本,<literal>--clean-"
4820 "logs</literal>选项并不必须,但是通过删除BDB版本库中多余的日志文件可以节省一些"
4824 #: ../source/TortoiseGit_en.xml:3332
4826 "The <literal>svnadmin</literal> tool is installed automatically when you "
4827 "install the Git command line client. If you are installing the command "
4828 "line tools on a Windows PC, the best way is to download the Windows installer "
4829 "version. It is compressed more efficiently than the <filename>.zip</filename> "
4830 "version, so the download is smaller, and it takes care of setting the paths "
4831 "for you. You can download the latest version of the Git command line "
4832 "client from <ulink url=\"http://Git.tigris.org/servlets/"
4833 "ProjectDocumentList?folderID=91\"><citetitle>http://Git.tigris.org/"
4834 "servlets/ProjectDocumentList?folderID=91</citetitle></ulink>."
4836 "<literal>svnadmin</literal>在安装Git命令行客户端时会自动安装,如果你在"
4837 "Windows PC上安装这个命令行工具,最好的方式是下载Windows安装版本,它比"
4838 "<filename>.zip</filename>版本的压缩效率更好,所以更小,并且小心的为你设定路"
4839 "径。你可以从<ulink url=\"http://Git.tigris.org/servlets/"
4840 "ProjectDocumentList?folderID=91\"><citetitle>http://Git.tigris.org/"
4841 "servlets/ProjectDocumentList?folderID=91</citetitle></ulink>下载最新版本的命令"
4845 #: ../source/TortoiseGit_en.xml:3347
4846 msgid "Server side hook scripts"
4850 #: ../source/TortoiseGit_en.xml:3349
4856 #: ../source/TortoiseGit_en.xml:3352 ../source/TortoiseGit_en.xml:12109
4857 msgid "hook scripts"
4861 #: ../source/TortoiseGit_en.xml:3355
4862 msgid "server side hook scripts"
4866 #: ../source/TortoiseGit_en.xml:3357
4869 "A hook script is a program triggered by some repository event, such as the "
4870 "creation of a new revision or the modification of an unversioned property. "
4871 "Each hook is handed enough information to tell what that event is, what target"
4872 "(s) it's operating on, and the username of the person who triggered the "
4873 "event. Depending on the hook's output or return status, the hook program may "
4874 "continue the action, stop it, or suspend it in some way. Please refer to the "
4875 "chapter on <ulink url=\"http://svnbook.red-bean.com/en/1.5/svn.reposadmin."
4876 "create.html#svn.reposadmin.create.hooks\"><citetitle>Hook Scripts</"
4877 "citetitle></ulink> in the Git Book for full details about the hooks "
4878 "which are implemented."
4880 "钩子脚本是被一些版本库事件触发的程序,例如创建新版本,或修改非版本控制的属性。"
4881 "每种钩子都会被告知事件的足够信息,操作的目标,触发事件的用户名。依赖于钩子的输"
4882 "出或返回状态,钩子程序可以继续执行,停止或以某种方式挂起。请参阅 Git 手"
4883 "册的 <ulink url=\"http://svnbook.red-bean.com/en/1.4/svn.reposadmin.create."
4884 "html#svn.reposadmin.create.hooks\"><citetitle>钩子脚本</citetitle></ulink> 部"
4888 #: ../source/TortoiseGit_en.xml:3372
4890 "These hook scripts are executed by the server that hosts the repository. "
4891 "TortoiseGit also allows you to configure client side hook scripts that are "
4892 "executed locally upon certain events. See <xref linkend=\"tsvn-dug-settings-"
4893 "hooks\"/> for more information."
4895 "这些钩子脚本被版本库所在的服务器执行。TortoiseGit 也允许你配置由确定事件触发,"
4896 "在本地执行的客户端脚本。请参看 <xref linkend=\"tsvn-dug-settings-hooks\"/> 以"
4900 #: ../source/TortoiseGit_en.xml:3378
4902 "Sample hook scripts can be found in the <filename>hooks</filename> directory "
4903 "of the repository. These sample scripts are suitable for Unix/Linux servers "
4904 "but need to be modified if your server is Windows based. The hook can be a "
4905 "batch file or an executable. The sample below shows a batch file which might "
4906 "be used to implement a pre-revprop-change hook. <screen>\n"
4907 "rem Only allow log messages to be changed.\n"
4908 "if \"%4\" == \"svn:log\" exit 0\n"
4909 "echo Property '%4' cannot be changed >&2\n"
4911 "</screen> Note that anything sent to stdout is discarded. if you want a "
4912 "message to appear in the Commit Reject dialog you must send it to stderr. In "
4913 "a batch file this is achieved using <filename>>&2</filename>"
4915 "版本库的<filename>hooks</filename>目录中有一些钩子的例子脚本,这些例子脚本适合"
4916 "于Unix/Linux服务器,在Windows下需要修改。钩子可以是批处理文件或可执行文件,下"
4917 "面是用来实现pre-revprop-change钩子的例子。<screen>\n"
4918 "rem Only allow log messages to be changed.\n"
4919 "if \"%4\" == \"svn:log\" exit 0\n"
4920 "echo Property '%4' cannot be changed >&2\n"
4922 "</screen>请注意所有发送到标准输出的东西都会被忽略,如果你希望信息出现在拒绝提"
4923 "交对话框中,你需要将这些信息发送到标准错误,在一个批处理文件中使用"
4924 "<filename>>&2</filename>实现。"
4927 #: ../source/TortoiseGit_en.xml:3398
4928 msgid "Checkout Links"
4932 #: ../source/TortoiseGit_en.xml:3400
4933 msgid "checkout link"
4937 #: ../source/TortoiseGit_en.xml:3403
4938 msgid "TortoiseGit link"
4939 msgstr "TortoiseGit 链接"
4942 #: ../source/TortoiseGit_en.xml:3406
4947 #: ../source/TortoiseGit_en.xml:3409
4952 #: ../source/TortoiseGit_en.xml:3411
4954 "If you want to make your Git repository available to others you may "
4955 "want to include a link to it from your website. One way to make this more "
4956 "accessible is to include a <firstterm>checkout link</firstterm> for other "
4957 "TortoiseGit users."
4959 "如果你希望你的 Git 版本库对于别人可用,你可以在你的站点包含一个链接。为"
4960 "了让其更加容易访问,你可以为其它 TortoiseGit 用户包含一个<firstterm>检出链接</"
4964 #: ../source/TortoiseGit_en.xml:3417
4966 "When you install TortoiseGit, it registers a new <literal>tsvn:</literal> "
4967 "protocol. When a TortoiseGit user clicks on such a link, the checkout dialog "
4968 "will open automatically with the repository URL already filled in."
4970 "当你安装了 TortoiseGit,它会注册一个 <literal>tsvn:</literal> 协议,当 "
4971 "TortoiseGit 用户点击这样一个链接,检出窗口会自动弹出,且版本库 URL 已经填入。"
4974 #: ../source/TortoiseGit_en.xml:3423
4977 "To include such a link in your own html page, you need to add code which "
4978 "looks something like this: <placeholder-1/>"
4980 "为了在你自己的网页上包含这样一个链接,你需要添加类似下面的代码: <screen>\n"
4981 "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk\">"
4986 #: ../source/TortoiseGit_en.xml:3426
4990 "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk\">\n"
4994 "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk\">\n"
4998 #: ../source/TortoiseGit_en.xml:3431
5001 "Of course it would look even better if you included a suitable picture. You "
5002 "can use the <ulink url=\"http://TortoiseGit.tigris.org/images/"
5003 "TortoiseCheckout.png\"><citetitle>TortoiseGit logo</citetitle></ulink> or you "
5004 "can provide your own image. <placeholder-1/>"
5006 "当然,如果你提供一个合适的图片会更好,你可以使用<ulink url=\"http://"
5007 "TortoiseGit.tigris.org/images/TortoiseCheckout.png\"><citetitle>TortoiseGit "
5008 "logo</citetitle></ulink>,也可以使用自己的图片。<screen>\n"
5009 "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk\">\n"
5010 "<img src=TortoiseCheckout.png></a>\n"
5014 #: ../source/TortoiseGit_en.xml:3438
5018 "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk\">\n"
5019 "<img src=TortoiseCheckout.png></a>\n"
5022 "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk\">\n"
5023 "<img src=TortoiseCheckout.png></a>\n"
5026 #: ../source/TortoiseGit_en.xml:3443
5028 "You can also make the link point to a specific revision, for example "
5033 #: ../source/TortoiseGit_en.xml:3445
5037 "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk?100\">\n"
5041 "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk?100\">\n"
5045 #: ../source/TortoiseGit_en.xml:3453
5046 msgid "Daily Use Guide"
5050 #: ../source/TortoiseGit_en.xml:3457
5052 "This document describes day to day usage of the TortoiseGit client. It is "
5053 "<emphasis>not</emphasis> an introduction to version control systems, and "
5054 "<emphasis>not</emphasis> an introduction to Git (SVN). It is more like "
5055 "a place you may turn to when you know approximately what you want to do, but "
5056 "don't quite remember how to do it."
5058 "本文目的在与描述TortoiseGit客户端的日常使用。<emphasis>不是</emphasis>一个版本"
5059 "控制系统指南,也<emphasis>不是</emphasis>Git (SVN)的指南。本文档的价值"
5060 "在于,当你知道大概要做什么,却又记不起应该怎么做的时候,可以有个参考的地方。"
5063 #: ../source/TortoiseGit_en.xml:3465
5065 "If you need an introduction to version control with Git, then we "
5066 "recommend you read the fantastic book: <ulink url=\"http://svnbook.red-bean."
5067 "com/\"><citetitle>Version Control with Git</citetitle></ulink>."
5069 "如果你需要了解使用Git进行版本控制的指南,我们建立你阅读以下这本梦幻之"
5070 "书: <ulink url=\"http://svnbook.red-bean.com/\"><citetitle>《使用 Git "
5071 "进行版本管理》</citetitle></ulink>."
5074 #: ../source/TortoiseGit_en.xml:3472
5076 "This document is also a work in progress, just as TortoiseGit and Git "
5077 "are. If you find any mistakes, please report them to the mailing list so we "
5078 "can update the documentation. Some of the screenshots in the Daily Use Guide "
5079 "(DUG) might not reflect the current state of the software. Please forgive us. "
5080 "We're working on TortoiseGit in our free time."
5082 "本文档与TortoiseGit和Git一样,也是处于“正在开发”的状态。如果你找到了错"
5083 "误之处,请向邮件列表报告,这样我们就可以更新它。日常使用指南(DUG)中的一些屏幕"
5084 "截图也许不符合当前软件中的情况。请您原谅我们。毕竟我们只是用业余的时间在制作"
5088 #: ../source/TortoiseGit_en.xml:3480
5089 msgid "In order to get the most out of the Daily Use Guide: <placeholder-1/>"
5090 msgstr "为了获得比每日用户指南更多的信息: <placeholder-1/>"
5093 #: ../source/TortoiseGit_en.xml:3484
5094 msgid "You should have installed TortoiseGit already."
5095 msgstr "你应该已经安装了TortoiseGit。"
5098 #: ../source/TortoiseGit_en.xml:3489
5099 msgid "You should be familiar with version control systems."
5100 msgstr "你应该熟悉版本控制系统。"
5103 #: ../source/TortoiseGit_en.xml:3494
5104 msgid "You should know the basics of Git."
5105 msgstr "你应该知道Git的基础。"
5108 #: ../source/TortoiseGit_en.xml:3499
5110 "You should have set up a server and/or have access to a Git repository."
5111 msgstr "你应该已经建立了一个服务器并且可以访问Git库。"
5114 #: ../source/TortoiseGit_en.xml:3510
5115 msgid "Getting Started"
5121 #: ../source/TortoiseGit_en.xml:3512 ../source/TortoiseGit_en.xml:5020
5122 #: ../source/TortoiseGit_en.xml:15237
5123 msgid "Icon Overlays"
5127 #: ../source/TortoiseGit_en.xml:3513
5129 "<placeholder-1/> One of the most visible features of TortoiseGit is the icon "
5130 "overlays which appear on files in your working copy. These show you at a "
5131 "glance which of your files have been modified. Refer to <xref linkend=\"tsvn-"
5132 "dug-wcstatus-1\"/> to find out what the different overlays represent."
5134 "<placeholder-1/> TortoiseGit 最明显的特性之一就是图标重载,重载的图标显示在你"
5135 "的工作副本文件上。你一眼就可以看到文件被修改过了。参考 <xref linkend=\"tsvn-"
5136 "dug-wcstatus-1\"/> 查阅不同的重载图标含义。"
5140 #: ../source/TortoiseGit_en.xml:3515 ../source/TortoiseGit_en.xml:5029
5141 msgid "Explorer showing icon overlays"
5142 msgstr "显示重载图标的资源管理器"
5145 #: ../source/TortoiseGit_en.xml:3526
5146 msgid "Context Menus"
5150 #: ../source/TortoiseGit_en.xml:3528
5151 msgid "context menu"
5155 #: ../source/TortoiseGit_en.xml:3531
5160 #: ../source/TortoiseGit_en.xml:3533
5162 "<placeholder-1/> All TortoiseGit commands are invoked from the context menu "
5163 "of the windows explorer. Most are directly visible, when you <action>right "
5164 "click</action> on a file or folder. The commands that are available depend on "
5165 "whether the file or folder or its parent folder is under version control or "
5166 "not. You can also see the TortoiseGit menu as part of the Explorer file menu."
5168 "<placeholder-1/> 所有的TortoiseGit命令都是通过windows资源管理器的右键菜单执"
5169 "行。<action>右键点击</action>一个文件或者文件夹,大多数菜单项都能够直接显示。"
5170 "一个命令是否显示取决于这个文件或文件夹或者它们的父文件夹是否受版本控制,你也可"
5171 "以将TortoiseGit的菜单作为资源管理器菜单的一部分。"
5174 #: ../source/TortoiseGit_en.xml:3535
5175 msgid "Context menu for a directory under version control"
5176 msgstr "版本控制下一个目录的右键菜单"
5179 #: ../source/TortoiseGit_en.xml:3545
5181 "Some commands which are very rarely used are only available in the extended "
5182 "context menu. To bring up the extended context menu, hold down the "
5183 "<keycap>Shift</keycap> key when you <action>right-click</action>."
5187 #: ../source/TortoiseGit_en.xml:3551
5189 "In some cases you may see several TortoiseGit entries. This is not a bug! "
5190 "<placeholder-1/> This example is for an unversioned shortcut within a "
5191 "versioned folder, and in the Explorer file menu there are <emphasis>three</"
5192 "emphasis> entries for TortoiseGit. One is for the folder, one for the "
5193 "shortcut itself, and the third for the object the shortcut is pointing to. To "
5194 "help you distinguish between them, the icons have an indicator in the lower "
5195 "right corner to show whether the menu entry is for a file, a folder, a "
5196 "shortcut or for multiple selected items."
5198 "在某些情况下,你可能看到多个TortoiseGit条目。这不是BUG!<placeholder-1/>本示例"
5199 "是在一个受控文件夹下的某个未受控的快捷方式, 在资源管理器的文件菜单下有"
5200 "<emphasis>三个</emphasis>TortoiseGit条目。一个是受控文件夹本身的,一个是快捷方"
5201 "式本身的,第三个是快捷方式所指向的对象。为了帮助你区分它们,菜单条目的图标的右"
5202 "下角有标志,表明是文件、快捷方式、文件夹或是选中了多项。"
5205 #: ../source/TortoiseGit_en.xml:3554
5206 msgid "Explorer file menu for a shortcut in a versioned folder"
5207 msgstr "在一个版本控制的文件夹下资源管理器文件菜单中的快捷方式。"
5210 #: ../source/TortoiseGit_en.xml:3565
5212 "If you are using Windows 2000 you will find that the context menus are shown "
5213 "as plain text, without the menu icons shown above. We are aware that this was "
5214 "working in previous versions, but Microsoft has changed the way its icon "
5215 "handlers work for Vista, requiring us to use a different display method which "
5216 "unfortunately does not work on Windows 2000."
5221 #: ../source/TortoiseGit_en.xml:3574 ../source/TortoiseGit_en.xml:4505
5222 msgid "Drag and Drop"
5226 #: ../source/TortoiseGit_en.xml:3576
5227 msgid "drag handler"
5231 #: ../source/TortoiseGit_en.xml:3579
5236 #: ../source/TortoiseGit_en.xml:3582
5241 #: ../source/TortoiseGit_en.xml:3584
5243 "<placeholder-1/> Other commands are available as drag handlers, when you "
5244 "<action>right drag</action> files or folders to a new location inside working "
5245 "copies or when you <action>right drag</action> a non-versioned file or folder "
5246 "into a directory which is under version control."
5248 "<placeholder-1/> 在工作副本里<action>右键拖拽</action>文件或目录到新的位置,或"
5249 "者<action>右键拖拽</action>一个非版本控制的文件或文件夹到一个版本控制目录下的"
5250 "时候,右键菜单还能够出现其他的命令。"
5254 #: ../source/TortoiseGit_en.xml:3586 ../source/TortoiseGit_en.xml:6809
5255 msgid "Right drag menu for a directory under version control"
5256 msgstr "版本控制下的一个目录的右键拖拽菜单"
5259 #: ../source/TortoiseGit_en.xml:3596
5260 msgid "Common Shortcuts"
5264 #: ../source/TortoiseGit_en.xml:3597
5266 "Some common operations have well-known Windows shortcuts, but do not appear "
5267 "on buttons or in menus. If you can't work out how to do something obvious, "
5268 "like refreshing a view, check here. <placeholder-1/>"
5270 "一些常见的操作与 Windows 的快捷键是一样的,但没有出现在按钮或是菜单中。如果你"
5271 "找不到一些显而易见的操作,比如刷新视图,请参考以下内容。 <placeholder-1/>"
5274 #: ../source/TortoiseGit_en.xml:3603
5279 #: ../source/TortoiseGit_en.xml:3605
5280 msgid "Help, of course."
5284 #: ../source/TortoiseGit_en.xml:3611
5289 #: ../source/TortoiseGit_en.xml:3613
5291 "Refresh the current view. This is perhaps the single most useful one-key "
5292 "command. For example ... In Explorer this will refresh the icon overlays on "
5293 "your working copy. In the commit dialog it will re-scan the working copy to "
5294 "see what may need to be committed. In the Revision Log dialog it will contact "
5295 "the repository again to check for more recent changes."
5297 "刷新当前视图。这也许是单键命令中唯一一个最常用的了。比如... 在资源浏览器中,这"
5298 "个键可以刷新工作副本中的图标重载。在提交对话框中,它可以重新扫描查找哪些是需要"
5299 "提交的。在版本日志对话框中,可以重新联系版本库以检查更多的最近修改情况。"
5302 #: ../source/TortoiseGit_en.xml:3625
5307 #: ../source/TortoiseGit_en.xml:3627
5309 "Select all. This can be used if you get an error message and want to copy and "
5310 "paste into an email. Use Ctrl-A to select the error message and then ..."
5312 "全选。可用于在得到一个错误消息并想要复制粘贴到电子邮件时。使用Ctrl-A to选择错"
5316 #: ../source/TortoiseGit_en.xml:3635
5321 #: ../source/TortoiseGit_en.xml:3637
5322 msgid "... Copy the selected text."
5323 msgstr "... 复制选中的文本。"
5326 #: ../source/TortoiseGit_en.xml:3648
5327 msgid "authentication"
5331 #: ../source/TortoiseGit_en.xml:3650
5334 "If the repository that you are trying to access is password protected, an "
5335 "authentication Dialog will show up. <placeholder-1/> Enter your username and "
5336 "password. The checkbox will make TortoiseGit store the credentials in "
5337 "Git's default directory: <filename>%APPDATA%\\Git\\auth</"
5338 "filename> in three subdirectories: <placeholder-2/>"
5340 "如果连接的版本库需要口令,就会显示认证对话框。<placeholder-1/> 输入你的用户名"
5341 "和口令。其检查框能让 TortoiseGit 在 Git的 缺省目录:<filename>%APPDATA%"
5342 "\\Git\\auth</filename> 的三个子目录内保存认证信息:<placeholder-2/> 每"
5343 "个文件对应一个服务器,文件是纯文本格式,因此可以用文本编辑器查看文件是对应哪个"
5344 "服务器。如果希望 Git 和 TortoiseGit(或者其它 Git 客户端) 忘记某"
5345 "个服务器的凭证信息,只需删除这个服务器的对应文件即可。"
5348 #: ../source/TortoiseGit_en.xml:3654
5349 msgid "Authentication Dialog"
5353 #: ../source/TortoiseGit_en.xml:3662
5355 "<filename>svn.simple</filename> contains credentials for basic authentication "
5356 "(username/password)."
5358 "<filename>svn.simple</filename>文件里包含了基本认证方式所需要的认证信息(用户"
5362 #: ../source/TortoiseGit_en.xml:3668
5363 msgid "<filename>svn.ssl.server</filename> contains SSL server certificates."
5364 msgstr "<filename>svn.ssl.server</filename>文件里包含了SSL服务器证书。"
5367 #: ../source/TortoiseGit_en.xml:3674
5369 "<filename>svn.username</filename> contains credentials for username-only "
5370 "authentication (no password needed)."
5372 "<filename>svn.username</filename>文件里包含了用户名认证的认证信息(不需要提供密"
5376 #: ../source/TortoiseGit_en.xml:3681
5379 "If you want to clear the authentication cache for all servers, you can do so "
5380 "from the <guilabel>Saved Data</guilabel> page of TortoiseGit's settings "
5381 "dialog. That button will clear all cached authentication data from the "
5382 "Git <filename>auth</filename> directories, as well as any "
5383 "authentication data stored in the registry by earlier versions of "
5384 "TortoiseGit. Refer to <xref linkend=\"tsvn-dug-settings-saved-data\"/>."
5386 "如果想要清除<emphasis>所有</emphasis>服务器的认证缓存,可以通过 TortoiseGit 设"
5387 "置对话框的<guilabel>常规设置</guilabel>页来实现。那个按钮能够清除 Git "
5388 "的 auth 目录中缓存的所有认证数据,以及老版本的 TortoiseGit 存储在注册表里的认"
5389 "证数据。请参考 <xref linkend=\"tsvn-dug-settings-main\"/>。"
5392 #: ../source/TortoiseGit_en.xml:3690
5394 "For more information on how to set up your server for authentication and "
5395 "access control, refer to <xref linkend=\"tsvn-serversetup\"/>"
5397 "关于如何设置服务器的认证和权限的更多信息,请参考<xref linkend=\"tsvn-"
5401 #: ../source/TortoiseGit_en.xml:3697
5402 msgid "Maximizing Windows"
5406 #: ../source/TortoiseGit_en.xml:3699
5411 #: ../source/TortoiseGit_en.xml:3701
5413 "Many of TortoiseGit's dialogs have a lot of information to display, but it is "
5414 "often useful to maximize only the height, or only the width, rather than "
5415 "maximizing to fill the screen. As a convenience, there are shortcuts for this "
5416 "on the <guilabel>Maximize</guilabel> button. Use the <action>middle mouse</"
5417 "action> button to maximize vertically, and <action>right mouse</action> to "
5418 "maximize horizontally."
5420 "大多数 TortoiseGit 的对话框显示很多信息,但是经常只有最大化高度或者宽度有用,"
5421 "而不是全部最大化,覆盖整个屏幕。为了方便,在 <guilabel>最大化</guilabel> 按钮"
5422 "有快捷方式做这些工作。使用鼠标<action>中键</action>最大化高度,<action>右键</"
5426 #: ../source/TortoiseGit_en.xml:3712
5427 msgid "Importing Data Into A Repository"
5431 #: ../source/TortoiseGit_en.xml:3714
5436 #: ../source/TortoiseGit_en.xml:3720
5437 msgid "add files to repository"
5444 #: ../source/TortoiseGit_en.xml:3724 ../source/TortoiseGit_en.xml:14006
5445 #: ../source/TortoiseGit_en.xml:15168 ../source/TortoiseGit_en.xml:15935
5450 #: ../source/TortoiseGit_en.xml:3726
5451 msgid "temporary files"
5455 #: ../source/TortoiseGit_en.xml:3728
5457 "If you are importing into an existing repository which already contains some "
5458 "projects, then the repository structure will already have been decided. If "
5459 "are importing data into a new repository then it is worth taking the time to "
5460 "think about how it will be organised. Read <xref linkend=\"tsvn-repository-"
5461 "layout\"/> for further advice."
5465 #: ../source/TortoiseGit_en.xml:3736
5467 "This section describes the Git import command, which was designed for "
5468 "importing a directory hierarchy into the repository in one shot. Although it "
5469 "does the job, it has several shortcomings: <placeholder-1/> For these reasons "
5470 "we recommend that you do not use the import command at all but rather follow "
5471 "the two-step method described in <xref linkend=\"tsvn-dug-import-in-place\"/"
5472 ">. But since you are here, this is how the basic import works ..."
5476 #: ../source/TortoiseGit_en.xml:3742
5478 "There is no way to select files and folders to include, aside from using the "
5479 "global ignore settings."
5483 #: ../source/TortoiseGit_en.xml:3748
5485 "The folder imported does not become a working copy. You have to do a checkout "
5486 "to copy the files back from the server."
5490 #: ../source/TortoiseGit_en.xml:3754
5492 msgid "It is easy to import to the wrong folder level in the repository."
5496 #: ../source/TortoiseGit_en.xml:3764
5498 "Before you import your project into a repository you should: <placeholder-1/>"
5499 msgstr "在将你的项目导入到版本库之前,你应该: <placeholder-1/>"
5502 #: ../source/TortoiseGit_en.xml:3768
5504 "Remove all files which are not needed to build the project (temporary files, "
5505 "files which are generated by a compiler e.g. *.obj, compiled binaries, ...)"
5507 "删除所有构建工程不需要的文件(临时文件,编译器产生的文件,例如 *.obj,生成的二"
5511 #: ../source/TortoiseGit_en.xml:3776
5513 "Organize the files in folders and sub-folders. Although it is possible to "
5514 "rename/move files later it is highly recommended to get your project's "
5515 "structure straight before importing!"
5517 "组织目录和子目录内的文件。尽管以后可以改名/删除文件,我们还是建议你在导入之前"
5521 #: ../source/TortoiseGit_en.xml:3785
5523 "Now select the top-level folder of your project directory structure in the "
5524 "windows explorer and <action>right click</action> to open the context menu. "
5525 "Select the command <menuchoice><guimenu>TortoiseGit</"
5526 "guimenu><guimenuitem>Import...</guimenuitem></menuchoice> which brings up a "
5527 "dialog box: <placeholder-1/>"
5529 "现在进入资源管理器,选择你的项目的顶层目录,<action>右击</action>打开上下文菜"
5530 "单。选择命令<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>导入 ...</"
5531 "guimenuitem></menuchoice>,它会弹出一个对话框: <placeholder-1/>"
5534 #: ../source/TortoiseGit_en.xml:3796
5535 msgid "The Import dialog"
5539 #: ../source/TortoiseGit_en.xml:3800
5541 "In this dialog you have to enter the URL of the repository location where you "
5542 "want to import your project. It is very important to realise that the local "
5543 "folder you are importing does not itself appear in the repository, only its "
5544 "content. For example if you have a structure: <screen>\n"
5545 "C:\\Projects\\Widget\\source\n"
5546 "C:\\Projects\\Widget\\doc\n"
5547 "C:\\Projects\\Widget\\images\n"
5548 "</screen> and you import <filename>C:\\Projects\\Widget</filename> into "
5549 "<systemitem class=\"url\">http://mydomain.com/svn/trunk</systemitem> then you "
5550 "may be surprised to find that your subdirectories go straight into "
5551 "<literal>trunk</literal> rather than being in a <literal>Widget</literal> "
5552 "subdirectory. You need to specify the subdirectory as part of the URL, "
5553 "<systemitem class=\"url\">http://mydomain.com/svn/trunk/Widget-X</"
5554 "systemitem>. Note that the import command will automatically create "
5555 "subdirectories within the repository if they do not exist."
5559 #: ../source/TortoiseGit_en.xml:3821
5560 msgid "The import message is used as a log message."
5561 msgstr "这个输入信息将用作提交日志。"
5564 #: ../source/TortoiseGit_en.xml:3824
5566 "By default, files and folders which match the global-ignore patterns are "
5567 "<emphasis>not</emphasis> imported. To override this behaviour you can use the "
5568 "<guilabel>Include ignored files</guilabel> checkbox. Refer to <xref linkend="
5569 "\"tsvn-dug-settings-main\"/> for more information on setting a global ignore "
5572 "默认情况下,匹配全局忽略模式的文件和文件夹<emphasis>不会</emphasis>被导入。你"
5573 "可以使用<guilabel>包含忽略文件</guilabel>检验栏来禁止此行为。参考<xref "
5574 "linkend=\"tsvn-dug-settings-main\"/>以获得关于全局忽略模式的更多信息。"
5577 #: ../source/TortoiseGit_en.xml:3831
5580 "As soon as you press <guibutton>OK</guibutton> TortoiseGit imports the "
5581 "complete directory tree including all files into the repository. The project "
5582 "is now stored in the repository under version control. Please note that the "
5583 "folder you imported is <emphasis>NOT</emphasis> under version control! To get "
5584 "a version-controlled <firstterm>working copy</firstterm> you need to do a "
5585 "Checkout of the version you just imported. Or read on to find out how to "
5586 "import a folder in place."
5588 "当你点击<guibutton>确认</guibutton>时,TortoiseGit 会导入包含所有文件的完整目"
5589 "录树到版本库。如前所述,你导入的文件夹名称不会在版本库中出现,只有这个文件夹的"
5590 "内容会在版本库中出现。现在这个工程就存贮在版本库,被版本控制。请注意,你导入的"
5591 "文件夹<emphasis>没有</emphasis>被版本控制!你需要检出刚才导入的版本,以便获得"
5592 "受版本控制的<firstterm>工作目录</firstterm>。或者继续阅读,找到如何导入文件夹"
5596 #: ../source/TortoiseGit_en.xml:3843
5597 msgid "Import in Place"
5601 #: ../source/TortoiseGit_en.xml:3845
5602 msgid "import in place"
5606 #: ../source/TortoiseGit_en.xml:3847
5608 "Assuming you already have a repository, and you want to add a new folder "
5609 "structure to it, just follow these steps: <placeholder-1/>"
5611 "假定你已经有个版本库,你想给它增加一个新目录结构,只需以下步骤: <placeholder-"
5615 #: ../source/TortoiseGit_en.xml:3852
5617 "Use the repository browser to create a new project folder directly in the "
5619 msgstr "使用版本库浏览器直接在版本库中创建项目文件夹。"
5622 #: ../source/TortoiseGit_en.xml:3858
5624 "Checkout the new folder over the top of the folder you want to import. You "
5625 "will get a warning that the local folder is not empty. Now you have a "
5626 "versioned top level folder with unversioned content."
5628 "在你要导入的文件夹检出新目录。你会得到一个本地目录为空的警告。现在你有一个版本"
5629 "控制的顶级目录,含有未版本控制的内容。"
5632 #: ../source/TortoiseGit_en.xml:3865
5634 "Use <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Add...</"
5635 "guimenuitem></menuchoice> on this versioned folder to add some or all of the "
5636 "content. You can add and remove files, set <literal>svn:ignore</literal> "
5637 "properties on folders and make any other changes you need to."
5639 "在此受版本控制的文件夹上使用<menuchoice><guimenu>TortoiseGit</"
5640 "guimenu><guimenuitem>增加...</guimenuitem></menuchoice>增加部分或全部内容。你"
5641 "可以增加或删除文件,在文件夹上设置<literal>svn:ignore</literal>属性,或者你需"
5645 #: ../source/TortoiseGit_en.xml:3877
5647 "Commit the top level folder, and you have a new versioned tree, and a local "
5648 "working copy, created from your existing folder."
5649 msgstr "提交顶级目录,你有一个新的版本树,一份从你已有目录创建的本地工作副本。"
5652 #: ../source/TortoiseGit_en.xml:3886
5653 msgid "Special Files"
5657 #: ../source/TortoiseGit_en.xml:3888
5658 msgid "special files"
5662 #: ../source/TortoiseGit_en.xml:3890
5664 "Sometimes you need to have a file under version control which contains user "
5665 "specific data. That means you have a file which every developer/user needs to "
5666 "modify to suit his/her local setup. But versioning such a file is difficult "
5667 "because every user would commit his/her changes every time to the repository."
5669 "有时候你需要版本控制一个包含用户专用的数据。它意味着你有一个文件,每个开发者/"
5670 "用户都需要修改,一边满足他/她的本地配置。但是版本控制这样的文件是困难的,因为"
5674 #: ../source/TortoiseGit_en.xml:3897
5676 "In such cases we suggest to use <emphasis>template</emphasis> files. You "
5677 "create a file which contains all the data your developers will need, add that "
5678 "file to version control and let the developers check this file out. Then, "
5679 "each developer has to <emphasis>make a copy</emphasis> of that file and "
5680 "rename that copy. After that, modifying the copy is not a problem anymore."
5682 "在这种情况下,我们建议使用<emphasis>模版</emphasis>文件。创建一个包含所有开发"
5683 "者需要的数据的文件,增加到版本库中,让开发者检出。然后,每个开发者<emphasis>创"
5684 "建一个副本</emphasis>,改名此文件。于是,修改这个文件不再是问题。 "
5687 #: ../source/TortoiseGit_en.xml:3905
5689 "As an example, you can have a look at TortoiseGit's build script. It calls a "
5690 "file named <filename>TortoiseVars.bat</filename> which doesn't exist in the "
5691 "repository. Only the file <filename>TortoiseVars.tmpl</filename>. "
5692 "<filename>TortoiseVars.tmpl</filename> is the template file which every "
5693 "developer has to create a copy from and rename that file to "
5694 "<filename>TortoiseVars.bat</filename>. Inside that file, we added comments so "
5695 "that the users will see which lines they have to edit and change according to "
5696 "their local setup to get it working."
5698 "作为例子,你可以看看TortoiseGit的构建脚本。它调用一个<filename>TortoiseVars."
5699 "bat</filename>文件,它并不在版本库中。 只有<filename>TortoiseVars.tmpl</"
5700 "filename>在版本库中。<filename>TortoiseVars.tmpl</filename>是一个模版文件,每"
5701 "个开发者都需要创建一个副本,改名为<filename>TortoiseVars.bat</filename>。在这"
5702 "个文件中,我们增加了注释,所以用户知道他们需要编辑那些行,以便适应他们的本地配"
5706 #: ../source/TortoiseGit_en.xml:3916
5708 "So as not to disturb the users, we also added the file <filename>TortoiseVars."
5709 "bat</filename> to the ignore list of its parent folder, i.e. we've set the "
5710 "Git property <literal>svn:ignore</literal> to include that filename. "
5711 "That way it won't show up as unversioned on every commit."
5713 "于是为了不干扰用户,我们也将<filename>TortoiseVars.bat</filename>增加到它的父"
5714 "目录的忽略列表,也就是,我们设置了Git属性<literal>svn:ignore</literal>"
5715 "包含这个文件名称。这样,每次提交时它都不会作为没有版本控制的文件出现。"
5718 #: ../source/TortoiseGit_en.xml:3925
5719 msgid "Referenced Projects"
5723 #: ../source/TortoiseGit_en.xml:3927
5724 msgid "external repositories"
5729 #: ../source/TortoiseGit_en.xml:3930 ../source/TortoiseGit_en.xml:13588
5734 #: ../source/TortoiseGit_en.xml:3932
5736 "Sometimes it is useful to construct a working copy that is made out of a "
5737 "number of different checkouts. For example, you may want different "
5738 "subdirectories to come from different locations in a repository, or perhaps "
5739 "from different repositories altogether. If you want every user to have the "
5740 "same layout, you can define the <literal>svn:externals</literal> properties."
5742 "有时候,构建一个需要不同检出的工作目录是很有用的。举例来说,你需要不同的子目录"
5743 "来自版本库的不同位置。,或者可能完全来自不同的版本库。如果你需要每个用户具有相"
5744 "同的目录结构,你可以定义<literal>svn:externals</literal>属性。"
5747 #: ../source/TortoiseGit_en.xml:3940
5750 "Let's say you check out a working copy of <filename>/project1</filename> to "
5751 "<filename>D:\\dev\\project1</filename>. Select the folder <filename>D:\\dev"
5752 "\\project1</filename>, <action>right click</action> and choose "
5753 "<menuchoice><guimenu>Windows Menu</guimenu><guimenuitem>Properties</"
5754 "guimenuitem></menuchoice> from the context menu. The Properties Dialog comes "
5755 "up. Then go to the Git tab. There, you can set properties. Click "
5756 "<guibutton>Add...</guibutton>. Select the <literal>svn:externals</literal> "
5757 "property from the combobox and write in the edit box the repository URL in "
5758 "the format <literal>name url</literal> or if you want to specify a particular "
5759 "revision, <literal>name -rREV url</literal> You can add multiple external "
5760 "projects, 1 per line. Note that URLs must be properly escaped or they will "
5761 "not work. For example you must replace each space with <literal>%20</"
5762 "literal>. Note that it is not possible to use folder names with spaces in "
5763 "them. Suppose that you have set these properties on <filename>D:\\dev"
5764 "\\project1</filename>: <screen>\n"
5765 "sounds http://sounds.red-bean.com/repos\n"
5766 "quick_graphs http://graphics.red-bean.com/repos/fast%20graphics\n"
5767 "skins/toolkit -r21 http://svn.red-bean.com/repos/skin-maker\n"
5768 "</screen> Now click <guibutton>Set</guibutton> and commit your changes. When "
5769 "you (or any other user) update your working copy, Git will create a "
5770 "sub-folder <filename>D:\\dev\\project1\\sounds</filename> and checkout the "
5771 "sounds project, another sub-folder <filename>D:\\dev\\project1\\quick graphs</"
5772 "filename> containing the graphics project, and finally a nested sub-folder "
5773 "<filename>D:\\dev\\project1\\skins\\toolkit</filename> containing revision 21 "
5774 "of the skin-maker project."
5776 "比如说,你检出了<filename>/project1</filename>到 <filename>D:\\dev\\project1</"
5777 "filename>。选择目录<filename>D:\\dev\\project1</filename>,<action>右击</"
5778 "action>,选择<menuchoice><guimenu>Windows 菜单</guimenu><guimenuitem>属性</"
5779 "guimenuitem></menuchoice>。出现属性对话框。在Git页,你可以设置属性。点"
5780 "击<guibutton>增加...</guibutton>。从组合框选择<literal>svn:externals</literal>"
5781 "属性,在编辑框按照<literal>名称 URL</literal>格式输入版本库URL,或者你需要一个"
5782 "指定的版本,那么使用<literal>名称 -r版本 URL</literal>。你可以增加多个外部工"
5783 "程,每行一个。注意,URL必须使用逃逸字符编码,不然可能无法正常工作。举例说明,"
5784 "你必须将每个空格替换为<literal>%20</literal>。注意使用包含空格的目录名称是不可"
5785 "能的。假设你为<filename>D:\\dev\\project1</filename>设置了这些属性: <screen>\n"
5786 "sounds http://sounds.red-bean.com/repos\n"
5787 "quick_graphs http://graphics.red-bean.com/repos/fast%20graphics\n"
5788 "skins/toolkit -r21 http://svn.red-bean.com/repos/skin-maker\n"
5789 "</screen> 现在点击 <guibutton>设置</guibutton>,提交你的修改。当你(或其他用户)"
5790 "更新工作副本时, Git 将会创建子目录<filename>D:\\dev\\project1"
5791 "\\sounds</filename>,并且检出sounds工程,另一个子目录<filename>D:\\dev"
5792 "\\project1\\quick_graphs</filename>包含graphics工程,最后一个嵌套的子目录"
5793 "<filename>D:\\dev\\project1\\skins\\toolkit</filename>包含的skin-maker工程的版"
5797 #: ../source/TortoiseGit_en.xml:3980
5800 "You should strongly consider using explicit revision numbers in all of your "
5801 "externals definitions, as described above. Doing so means that you get to "
5802 "decide when to pull down a different snapshot of external information, and "
5803 "exactly which snapshot to pull. Besides the common sense aspect of not being "
5804 "surprised by changes to third-party repositories that you might not have any "
5805 "control over, using explicit revision numbers also means that as you backdate "
5806 "your working copy to a previous revision, your externals definitions will "
5807 "also revert to the way they looked in that previous revision, which in turn "
5808 "means that the external working copies will be updated to match they way "
5809 "<emphasis>they</emphasis> looked back when your repository was at that "
5810 "previous revision. For software projects, this could be the difference "
5811 "between a successful and a failed build of an older snapshot of your complex "
5814 "你应当认真考虑在所有外部定义中使用确定的版本号。这样做意味着你决定何时下载一个"
5815 "不同的快照,并且精确的指明了是哪个快照。与使用通常的分支相比,你不会为第三方版"
5816 "本库的修改感到惊讶,这些版本库你可能没有任何控制,使用精确的版本号能使你回溯工"
5817 "作目录到以前的版本,你的外部定义也遵循此规则,看起来是以前的版本,即外部工作副"
5818 "本的更新匹配<emphasis>它们</emphasis>的老版本。对于软件工程,它是你的复杂代码"
5823 #: ../source/TortoiseGit_en.xml:3999 ../source/TortoiseGit_en.xml:13620
5825 "If the external project is in the same repository, any changes you make there "
5826 "there will be included in the commit list when you commit your main project."
5828 "如果一个外部工程位于同一版本库中,当你向主项目提交你的修改时,你对外部工程做的"
5833 #: ../source/TortoiseGit_en.xml:4004 ../source/TortoiseGit_en.xml:13625
5835 "If the external project is in a different repository, any changes you make to "
5836 "the external project will be notified when you commit the main project, but "
5837 "you have to commit those external changes separately."
5839 "如果外部工程位于不同的版本库,当你向主项目提交你的修改时,你对外部工程做的修改"
5840 "会被通报,但是你必须单独的提交这些外部项目的修改。"
5843 #: ../source/TortoiseGit_en.xml:4010
5845 "If you use absolute URLs in <literal>svn:externals</literal> definitions and "
5846 "you have to relocate your working copy (i.e., if the URL of your repository "
5847 "changes), then your externals won't change and might not work anymore."
5851 #: ../source/TortoiseGit_en.xml:4016
5853 "To avoid such problems, Git clients version 1.5 and higher support "
5854 "relative external URLs. Four different methods of specifying a relative URL "
5855 "are supported. In the following examples, assume we have two repositories: "
5856 "one at <systemitem class=\"url\">http://example.com/svn/repos-1</systemitem> "
5857 "and another at <systemitem class=\"url\">http://example.com/svn/repos-2</"
5858 "systemitem>. We have a checkout of <systemitem class=\"url\">http://example."
5859 "com/svn/repos-1/project/trunk</systemitem> into <filename>C:\\Working</"
5860 "filename> and the <literal>svn:externals</literal> property is set on trunk."
5864 #: ../source/TortoiseGit_en.xml:4031
5865 msgid "Relative to parent directory"
5869 #: ../source/TortoiseGit_en.xml:4033
5871 "These URLs always begin with the string <literal>../</literal> for example: "
5873 "../../widgets/foo common/foo-widget\n"
5874 "</screen> This will extract <systemitem class=\"url\">http://example.com/svn/"
5875 "repos-1/widgets/foo</systemitem> into <filename>C:\\Working\\common\\foo-"
5876 "widget</filename>."
5880 #: ../source/TortoiseGit_en.xml:4044
5882 "Note that the URL is relative to the URL of the directory with the "
5883 "<literal>svn:externals</literal> property, not to the directory where the "
5884 "external is written to disk."
5888 #: ../source/TortoiseGit_en.xml:4052
5889 msgid "Relative to repository root"
5893 #: ../source/TortoiseGit_en.xml:4054
5895 "These URLs always begin with the string <literal>^/</literal> for example: "
5897 "^/widgets/foo common/foo-widget\n"
5898 "</screen> This will extract <systemitem class=\"url\">http://example.com/svn/"
5899 "repos-1/widgets/foo</systemitem> into <filename>C:\\Working\\common\\foo-"
5900 "widget</filename>."
5904 #: ../source/TortoiseGit_en.xml:4065
5906 "You can easily refer to other repositories with the same "
5907 "<literal>SVNParentPath</literal> (a common directory holding several "
5908 "repositories). For example: <screen>\n"
5909 "^/../repos-2/hammers/claw common/claw-hammer\n"
5910 "</screen> This will extract <systemitem class=\"url\">http://example.com/svn/"
5911 "repos-2/hammers/claw</systemitem> into <filename>C:\\Working\\common\\claw-"
5912 "hammer</filename>."
5916 #: ../source/TortoiseGit_en.xml:4080
5917 msgid "Relative to scheme"
5921 #: ../source/TortoiseGit_en.xml:4082
5923 "URLs beginning with the string <literal>//</literal> copy only the scheme "
5924 "part of the URL. This is useful when the same hostname must the accessed with "
5925 "different schemes depending upon network location; e.g. clients in the "
5926 "intranet use <systemitem class=\"url\">http://</systemitem> while external "
5927 "clients use <systemitem class=\"url\">svn+ssh://</systemitem>. For example: "
5929 "//example.com/svn/repos-1/widgets/foo common/foo-widget\n"
5930 "</screen> This will extract <systemitem class=\"url\">http://example.com/svn/"
5931 "repos-1/widgets/foo</systemitem> or <systemitem class=\"url\">svn+ssh://"
5932 "example.com/svn/repos-1/widgets/foo</systemitem> depending on which method "
5933 "was used to checkout <filename>C:\\Working</filename>."
5937 #: ../source/TortoiseGit_en.xml:4102
5938 msgid "Relative to the server's hostname"
5942 #: ../source/TortoiseGit_en.xml:4104
5944 "URLs beginning with the string <literal>/</literal> copy the scheme and the "
5945 "hostname part of the URL, for example: <screen>\n"
5946 "/svn/repos-1/widgets/foo common/foo-widget\n"
5947 "</screen> This will extract <systemitem class=\"url\">http://example.com/svn/"
5948 "repos-1/widgets/foo</systemitem> into <filename>C:\\Working\\common\\foo-"
5949 "widget</filename>. But if you checkout your working copy from another server "
5950 "at <systemitem class=\"url\">svn+ssh://another.mirror.net/svn/repos-1/"
5951 "project1/trunk</systemitem> then the external reference will extract "
5952 "<systemitem class=\"url\">svn+ssh://another.mirror.net/svn/repos-1/widgets/"
5957 #: ../source/TortoiseGit_en.xml:4122
5959 "If you need more information how TortoiseGit handles Properties read <xref "
5960 "linkend=\"tsvn-dug-propertypage\"/>."
5962 "如果你需要TortoiseGit如何处理属性的更多信息,请阅读<xref linkend=\"tsvn-dug-"
5966 #: ../source/TortoiseGit_en.xml:4126
5968 "To find out about different methods of accessing common sub-projects read "
5969 "<xref linkend=\"tsvn-howto-common-projects\"/>."
5971 "如果你需要知道存取公共子个我我你工程的不同方法,请阅读<xref linkend=\"tsvn-"
5972 "howto-common-projects\"/>."
5975 #: ../source/TortoiseGit_en.xml:4133
5976 msgid "Checking Out A Working Copy"
5980 #: ../source/TortoiseGit_en.xml:4135
5985 #: ../source/TortoiseGit_en.xml:4138
5986 msgid "create working copy"
5990 #: ../source/TortoiseGit_en.xml:4141
5992 "To obtain a working copy you need to do a <firstterm>checkout</firstterm> "
5993 "from a repository."
5995 "为了得到一个工作副本,需要进行从版本库<firstterm>检出</firstterm>的操作。"
5998 #: ../source/TortoiseGit_en.xml:4145
6000 "Select a directory in windows explorer where you want to place your working "
6001 "copy. <action>Right click</action> to pop up the context menu and select the "
6002 "command <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Checkout...</"
6003 "guimenuitem></menuchoice>, which brings up the following dialog box: "
6004 "<placeholder-1/> If you enter a folder name that does not yet exist, then a "
6005 "directory with that name is created."
6007 "在Windows资源管理器里选择一个存放工作副本的目录。<action>右键点击</action>弹出"
6008 "右键菜单,选择<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>检出…</"
6009 "guimenuitem></menuchoice>命令。然后就会看到下面的对话框: <placeholder-1/>如果"
6010 "输入一个并不存在的目录名,那么这个名字的目录就会被创建出来。"
6013 #: ../source/TortoiseGit_en.xml:4155
6014 msgid "The Checkout dialog"
6018 #: ../source/TortoiseGit_en.xml:4162
6019 msgid "Checkout Depth"
6023 #: ../source/TortoiseGit_en.xml:4163
6025 "You can choose the <firstterm>depth</firstterm> you want to checkout, which "
6026 "allows you to specify the depth of recursion into child folders. If you want "
6027 "just a few sections of a large tree, You can checkout the top level folder "
6028 "only, then update selected folders recursively. <placeholder-1/>"
6030 "你可以选择要检出的<firstterm>深度</firstterm>,它允许你指定子目录递归的深度。"
6031 "如果你只需要大目录中的几个子条目,你可以只检出最高层目录,然后递归的更新选择的"
6032 "目录。<placeholder-1/>"
6035 #: ../source/TortoiseGit_en.xml:4170
6036 msgid "Fully recursive"
6040 #: ../source/TortoiseGit_en.xml:4172
6041 msgid "Checkout the entire tree, including all child folders and sub-folders."
6042 msgstr "检出完整的目录树,包含所有的文件或子目录。"
6045 #: ../source/TortoiseGit_en.xml:4179
6046 msgid "Immediate children, including folders"
6050 #: ../source/TortoiseGit_en.xml:4181
6052 "Checkout the specified directory, including all files and child folders, but "
6053 "do not populate the child folders."
6054 msgstr "检出目录,包含其中的文件或子目录,但是不递归展开子目录。"
6057 #: ../source/TortoiseGit_en.xml:4188
6058 msgid "Only file children"
6062 #: ../source/TortoiseGit_en.xml:4190
6064 "Checkout the specified directory, including all files but do not checkout any "
6066 msgstr "检出指定目录,包含所有文件,但是不检出任何子目录。"
6069 #: ../source/TortoiseGit_en.xml:4197
6070 msgid "Only this item"
6074 #: ../source/TortoiseGit_en.xml:4199
6076 "Checkout the directory only. Do not populate it with files or child folders."
6077 msgstr "只检出目录。不包含其中的文件或子目录。"
6082 #: ../source/TortoiseGit_en.xml:4206 ../source/TortoiseGit_en.xml:8119
6083 #: ../source/TortoiseGit_en.xml:15087
6084 msgid "Working copy"
6088 #: ../source/TortoiseGit_en.xml:4208
6090 "Retain the depth specified in the working copy. This option is not used in "
6091 "the checkout dialog, but it is the default in all other dialogs which have a "
6094 "保持工作副本指定的深度。此选项不用于检出对话框,但它是其它所有含有深度配置对话"
6098 #: ../source/TortoiseGit_en.xml:4218
6100 "If you check out a sparse working copy (i.e., by choosing something other "
6101 "than <literal>fully recursive</literal> for the checkout depth), you can "
6102 "fetch additional sub-folders by using the repository browser (<xref linkend="
6103 "\"tsvn-dug-repobrowser\"/>) or the check for modifications dialog (<xref "
6104 "linkend=\"tsvn-dug-wcstatus-2\"/>)."
6108 #: ../source/TortoiseGit_en.xml:4225
6111 "In the repository browser, <action>Right click</action> on the checked out "
6112 "folder, then use <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Repo-"
6113 "Browser</guimenuitem></menuchoice> to bring up the repository browser. Find "
6114 "the sub-folder you would like to add to your working copy, then use "
6115 "<menuchoice><guimenu>Context menu</guimenu><guimenuitem>Update item to "
6116 "revision...</guimenuitem></menuchoice> That menu will only be visible if the "
6117 "selected item does not exist yet in your working copy, but the parent item "
6120 "如果希望比较某个文件的两个历史版本,比如同一个文件修订版本100和200,可以用"
6121 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>显示日志</"
6122 "guimenuitem></menuchoice>列出这个文件的历史版本纪录,选择希望比较的两个版本,"
6123 "然后使用<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>比较版本差异</"
6124 "guimenuitem></menuchoice>。"
6127 #: ../source/TortoiseGit_en.xml:4241
6129 "In the check for modifications dialog, first click on the button "
6130 "<guibutton>Check repository</guibutton>. The dialog will show all the files "
6131 "and folders which are in the repository but which you have not checked out as "
6132 "<literal>remotely added</literal>. <action>Right click</action> on the folder"
6133 "(s) you would like to add to your working copy, then use "
6134 "<menuchoice><guimenu>Context menu</guimenu><guimenuitem>Update</guimenuitem></"
6139 #: ../source/TortoiseGit_en.xml:4253
6141 "This feature is very useful when you only want to checkout parts of a large "
6142 "tree, but you want the convenience of updating a single working copy. Suppose "
6143 "you have a large tree which has sub-folders <literal>Project01</literal> to "
6144 "<literal>Project99</literal>, and you only want to checkout "
6145 "<literal>Project03</literal>, <literal>Project25</literal> and "
6146 "<literal>Project76/SubProj</literal>. Use these steps:"
6150 #: ../source/TortoiseGit_en.xml:4266
6152 "Checkout the parent folder with depth <quote>Only this item</quote> You now "
6153 "have an empty top level folder."
6157 #: ../source/TortoiseGit_en.xml:4273
6160 "Select the new folder and use <menuchoice><guimenu>TortoiseGit</"
6161 "guimenu><guimenuitem>Repo browser</guimenuitem></menuchoice> to display the "
6162 "repository content."
6164 "为了验证svnserve正常工作,使用<menuchoice><guimenu>TortoiseGit</"
6165 "guimenu><guimenuitem>版本库浏览器</guimenuitem></menuchoice>来查看版本库。"
6168 #: ../source/TortoiseGit_en.xml:4283
6170 "Right click on <literal>Project03</literal> and <menuchoice><guimenu>Context "
6171 "menu</guimenu><guimenuitem>Update item to revision...</guimenuitem></"
6172 "menuchoice>. Keep the default settings and click on <guibutton>OK</"
6173 "guibutton>. You now have that folder fully populated."
6177 #: ../source/TortoiseGit_en.xml:4293
6178 msgid "Repeat the same process for <literal>Project25</literal>."
6182 #: ../source/TortoiseGit_en.xml:4298
6184 "Navigate to <literal>Project76/SubProj</literal> and do the same. This time "
6185 "note that the <literal>Project76</literal> folder has no content except for "
6186 "<literal>SubProj</literal>, which itself is fully populated. Git has "
6187 "created the intermediate folders for you without populating them."
6191 #: ../source/TortoiseGit_en.xml:4308
6192 msgid "Working copy depth cannot be reduced"
6193 msgstr "不能缩短工作副本的深度"
6196 #: ../source/TortoiseGit_en.xml:4309
6198 "Once you have checked out a working copy to a particular depth you can "
6199 "increase that depth later to get more content. However you cannot reduce the "
6200 "depth again to remove content. That feature may be added in a later version "
6205 #: ../source/TortoiseGit_en.xml:4317
6206 msgid "Using an older server"
6210 #: ../source/TortoiseGit_en.xml:4318
6212 "Pre-1.5 servers do not understand the working copy depth request, so they "
6213 "cannot always deal with requests efficiently. The command will still work, "
6214 "but an older server may send all the data, leaving the client to filter out "
6215 "what is not required, which may mean a lot of network traffic. If possible "
6216 "you should upgrade your server to 1.5."
6220 #: ../source/TortoiseGit_en.xml:4328
6222 "If the project contains references to external projects which you do "
6223 "<emphasis>not</emphasis> want checked out at the same time, use the "
6224 "<guilabel>Omit externals</guilabel> checkbox."
6226 "如果项目含有外部项目的引用,而这些引用你<emphasis>不</emphasis>希望同时检出,"
6227 "请选中<guilabel>忽略外部项目</guilabel>复选框。"
6230 #: ../source/TortoiseGit_en.xml:4334
6233 "If <guilabel>Omit externals</guilabel> is checked, or if you wish to increase "
6234 "the depth value, you will have to perform updates to your working copy using "
6235 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Update to Revision...</"
6236 "guimenuitem></menuchoice> instead of <menuchoice><guimenu>TortoiseGit</"
6237 "guimenu><guimenuitem>Update</guimenuitem></menuchoice>. The standard update "
6238 "will include all externals and keep the existing depth."
6240 "如果这两个选项的任何一个选中了,你应该使用<menuchoice><guimenu>TortoiseGit</"
6241 "guimenu><guimenuitem>更新至版本...</guimenuitem></menuchoice>来更新你的工作副"
6242 "本而不是使用<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>更新</"
6243 "guimenuitem></menuchoice>。标准的更新将会包含所有的子文件夹和外部引用。"
6246 #: ../source/TortoiseGit_en.xml:4350
6248 "It is recommended that you check out only the <literal>trunk</literal> part "
6249 "of the directory tree, or lower. If you specify the parent path of the "
6250 "directory tree in the URL then you might end up with a full hard disk since "
6251 "you will get a copy of the entire repository tree including every branch and "
6252 "tag of your project!"
6254 "强烈建议你只检出 <literal>trunk</literal> 或更低层的目录树。如果你在 URL 中指"
6255 "定了根路径,你的硬盘有可能被塞满,因为你将会得到整个版本库树的副本,包括项目所"
6259 #: ../source/TortoiseGit_en.xml:4358
6264 #: ../source/TortoiseGit_en.xml:4359
6266 "Sometimes you may want to create a local copy without any of those <filename>."
6267 "svn</filename> directories, e.g. to create a zipped tarball of your source. "
6268 "Read <xref linkend=\"tsvn-dug-export\"/> to find out how to do that."
6270 "有时你可能想要建立一个没有<filename>.svn</filename>目录的本地的副本,比如建立"
6271 "一个源代码压缩包。要达到这个目的,请参考<xref linkend=\"tsvn-dug-export\"/>。"
6274 #: ../source/TortoiseGit_en.xml:4368
6275 msgid "Committing Your Changes To The Repository"
6276 msgstr "将你的修改提交到版本库"
6279 #: ../source/TortoiseGit_en.xml:4370
6284 #: ../source/TortoiseGit_en.xml:4373
6285 msgid "send changes"
6289 #: ../source/TortoiseGit_en.xml:4376
6294 #: ../source/TortoiseGit_en.xml:4379
6296 "Sending the changes you made to your working copy is known as "
6297 "<firstterm>committing</firstterm> the changes. But before you commit you have "
6298 "to make sure that your working copy is up to date. You can either use "
6299 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Update</guimenuitem></"
6300 "menuchoice> directly. Or you can use <menuchoice><guimenu>TortoiseGit</"
6301 "guimenu><guimenuitem>Check for Modifications</guimenuitem></menuchoice> "
6302 "first, to see which files have changed locally or on the server."
6304 "将你对工作副本的修改发送给版本库,称为<firstterm>提交</firstterm>修改。但在你"
6305 "提交之前要确保你的工作副本是最新的。你可以直接使用"
6306 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>更新</guimenuitem></"
6307 "menuchoice>,或者,你可以先使用<menuchoice><guimenu>TortoiseGit</"
6308 "guimenu><guimenuitem>检查修改</guimenuitem></menuchoice>看看哪些文件在本地或是"
6312 #: ../source/TortoiseGit_en.xml:4396
6313 msgid "The Commit Dialog"
6317 #: ../source/TortoiseGit_en.xml:4397
6319 "If your working copy is up to date and there are no conflicts, you are ready "
6320 "to commit your changes. Select any file and/or folders you want to commit, "
6321 "then <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Commit...</"
6322 "guimenuitem></menuchoice>. <placeholder-1/>"
6324 "如果你的工作副本是最新的,并且没有冲突,你就已经为提交做好准备了,选择你要提交"
6325 "的文件和/或文件夹,然后<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>"
6326 "提交...</guimenuitem></menuchoice>. <placeholder-1/>"
6329 #: ../source/TortoiseGit_en.xml:4406
6330 msgid "The Commit dialog"
6334 #: ../source/TortoiseGit_en.xml:4410
6336 "The commit dialog will show you every changed file, including added, deleted "
6337 "and unversioned files. If you don't want a changed file to be committed, just "
6338 "uncheck that file. If you want to include an unversioned file, just check "
6339 "that file to add it to the commit."
6341 "提交对话框将显示每个被改动过的文件,包括新增的、删除的和未受控的文件。如果你不"
6342 "想改动被提交,只要将该文件的复选框的勾去掉就可以了。如果你要加入未受控的文件,"
6343 "只要勾选该文件把它加入提交列表就可以了。"
6347 #: ../source/TortoiseGit_en.xml:4417 ../source/TortoiseGit_en.xml:5251
6349 "Items which have been switched to a different repository path are also "
6350 "indicated using an <literal>(s)</literal> marker. You may have switched "
6351 "something while working on a branch and forgotten to switch back to trunk. "
6352 "This is your warning sign!"
6354 "那些被切换(switched)到不同版本库路径的项也用<literal>(s)</literal>标记来表示。"
6355 "当工作在分支上的时候你可能切换到某处,然后忘记切换回主干。这是你的警告信号!"
6358 #: ../source/TortoiseGit_en.xml:4424
6359 msgid "Commit files or folders?"
6363 #: ../source/TortoiseGit_en.xml:4425
6365 "When you commit files, the commit dialog shows only the files you have "
6366 "selected. When you commit a folder the commit dialog will select the changed "
6367 "files automatically. If you forget about a new file you created, committing "
6368 "the folder will find it anyway. Committing a folder does <emphasis>not</"
6369 "emphasis> mean that every file gets marked as changed; It just makes your "
6370 "life easier by doing more work for you."
6372 "当你提交文件时,提交对话框只显示你所提中的文件。当你提交文件夹中,提交对话框将"
6373 "自动选择有改动的文件。如果你忘记了你建立的一个新文件,提交文件夹将使你可以找到"
6374 "它。提交一个文件夹<emphasis>并不</emphasis>意味着每个文件都被标识为修改过的,"
6375 "它仅仅是通过帮你多做些事从而让你的生活更滋润一点。"
6378 #: ../source/TortoiseGit_en.xml:4435
6380 "If you have modified files which have been included from a different "
6381 "repository using <literal>svn:externals</literal>, those changes cannot be "
6382 "included in the same atomic commit. A warning symbol below the file list "
6383 "tells you if this has happened, and the tooltip explains that those external "
6384 "files have to be committed separately."
6386 "如果你修改的文件是使用了<literal>svn:externals</literal>从别的版本库中包含进来"
6387 "的,那么这些改动不会被自动提交。在文件列表下方的警告符号会告诉你是否出现了这种"
6388 "状况,工具提示(tooltip)提示了外部文件必须要分开提交。"
6391 #: ../source/TortoiseGit_en.xml:4443
6392 msgid "Many unversioned files in the commit dialog"
6393 msgstr "在提交对话框中有很多未受控的文件"
6396 #: ../source/TortoiseGit_en.xml:4444
6398 "If you think that the commit dialog shows you too many unversioned (e.g. "
6399 "compiler generated or editor backup) files, there are several ways to handle "
6400 "this. You can: <placeholder-1/> Read <xref linkend=\"tsvn-dug-ignore\"/> for "
6403 "如果你认为提交对话框显示了太多的未受版本控制的文件(如编译器产生的文件或是编辑"
6404 "器的备份文件),有几种方法可以处理这种情况。你可以: <placeholder-1/> 参考 "
6405 "<xref linkend=\"tsvn-dug-ignore\"/> 获得更多的信息。"
6408 #: ../source/TortoiseGit_en.xml:4450
6410 "add the file (or a wildcard extension) to the list of files to exclude on the "
6411 "settings page. This will affect every working copy you have."
6413 "将文件(或是通配符扩展)加入到设置页的排除列表中。这对每个工作副本都起作用。"
6416 #: ../source/TortoiseGit_en.xml:4457
6418 "add the file to the <literal>svn:ignore</literal> list using "
6419 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Add to ignore list</"
6420 "guimenuitem></menuchoice> This will only affect the directory on which you "
6421 "set the <literal>svn:ignore</literal> property. Using the SVN Property "
6422 "Dialog, you can alter the <literal>svn:ignore</literal> property for a "
6425 "使用<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>加入忽略列表</"
6426 "guimenuitem></menuchoice>,将文件加入<literal>svn:ignore</literal>列表。 这只"
6427 "对你设置了<literal>svn:ignore</literal>属性的路径有效。使用SVN属性对话框,你可"
6428 "以改变一个目录的<literal>svn:ignore</literal>属性。"
6431 #: ../source/TortoiseGit_en.xml:4474
6433 "<action>Double clicking</action> on any modified file in the commit dialog "
6434 "will launch the external diff tool to show your changes. The context menu "
6435 "will give you more options, as shown in the screenshot. You can also drag "
6436 "files from here into another application such as a text editor or an IDE."
6438 "在提交对话框中<action>双击</action>任何修改过的文件,将运行外部 diff 工具显示"
6439 "你做的改动。上下文菜单将给你更多的选项,请看屏幕截图。你可以从这里将文件拖动到"
6440 "另一个应用程序中,如文本编辑器或 IDE。"
6443 #: ../source/TortoiseGit_en.xml:4481
6446 "You can select or deselect items by clicking on the checkbox to the left of "
6447 "the item. For directories you can use <keycap>Shift</keycap>-<action>select</"
6448 "action> to make the action recursive."
6450 "你可以点击项目左边的检查框,来选定或者取消。对于目录,你可以用 <action>SHIFT-"
6451 "Select</action> 来执行递归操作。"
6454 #: ../source/TortoiseGit_en.xml:4486
6456 "The columns displayed in the bottom pane are customizable. If you "
6457 "<action>right click</action> on any column header you will see a context menu "
6458 "allowing you to select which columns are displayed. You can also change "
6459 "column width by using the drag handle which appears when you move the mouse "
6460 "over a column boundary. These customizations are preserved, so you will see "
6461 "the same headings next time."
6463 "在底部面板中显示的列是可定制的。如果你<action>右击</action>任何一列的头部,你"
6464 "就会看到一个上下文菜单,允许你选择哪一列要显示。还可以在鼠标移动到列边界时通过"
6465 "拖动手把来改变列的宽度。这些定制的内容都会被保留下来,下一次你会见到相同的列。"
6468 #: ../source/TortoiseGit_en.xml:4495
6470 "By default when you commit changes, any locks that you hold on files are "
6471 "released automatically after the commit succeeds. If you want to keep those "
6472 "locks, make sure the <guilabel>Keep locks</guilabel> checkbox is checked. The "
6473 "default state of this checkbox is taken from the <literal>no_unlock</literal> "
6474 "option in the Git configuration file. Read <xref linkend=\"tsvn-dug-"
6475 "settings-main\"/> for information on how to edit the Git configuration "
6478 "缺省情况下,当你成功提交修改后,你在这些文件上持有的锁会被自动释放。如果你需要"
6479 "保留锁,请确认选中检查框<guilabel>保留锁</guilabel>。此检查框的缺省状态从 "
6480 "Git 配置文件的 <literal>no_unlock</literal> 选项获取。参考 <xref "
6481 "linkend=\"tsvn-dug-settings-main\"/> 以获得更多关于编辑 Git 配置文件的"
6485 #: ../source/TortoiseGit_en.xml:4506
6487 "You can drag files into the commit dialog from elsewhere, so long as the "
6488 "working copies are checked out from the same repository. For example, you may "
6489 "have a huge working copy with several explorer windows open to look at "
6490 "distant folders of the hierarchy. If you want to avoid committing from the "
6491 "top level folder (with a lengthy folder crawl to check for changes) you can "
6492 "open the commit dialog for one folder and drag in items from the other "
6493 "windows to include within the same atomic commit."
6495 "你可以将文件从别的地方拖动到提交对话框,只要工作副本是由同一版本库中检出就可以"
6496 "了。比如,你有一个很大的工作副本,要开好几个资源管理器窗口来查看层次中不同的文"
6497 "件夹。如果你要避免从顶级文件夹提交(冗长而缓慢的文件夹改动检查),你可以打开一个"
6498 "文件夹的提交对话框,然后将别的窗口中的项拖进去,可样就可以一次提交它们了。"
6501 #: ../source/TortoiseGit_en.xml:4516
6503 "You can drag unversioned files which reside within a working copy into the "
6504 "commit dialog, and they will be SVN added automatically."
6505 msgstr "你可以将未版本控制的文件拖到工作副本提交对话框中,它们就会被自动增加。"
6509 #: ../source/TortoiseGit_en.xml:4522 ../source/TortoiseGit_en.xml:5323
6510 msgid "Repairing External Renames"
6515 #: ../source/TortoiseGit_en.xml:4523 ../source/TortoiseGit_en.xml:5324
6517 "Sometimes files get renamed outside of Git, and they show up in the "
6518 "file list as a missing file and an unversioned file. To avoid losing the "
6519 "history you need to notify Git about the connection. Simply select "
6520 "both the old name (missing) and the new name (unversioned) and use "
6521 "<menuchoice><guimenu>Context Menu</guimenu><guimenuitem>Repair Move</"
6522 "guimenuitem></menuchoice> to pair the two files as a rename."
6524 "有时候文件不是用Git改名,于是它们在文件列表中作为丢失和未版本控制的文件"
6525 "出现。为了避免丢失历史,你需要通知Git。简单的选择老名称(丢失)和新名称"
6526 "(未版本控制),然后使用<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>修复"
6527 "移动</guimenuitem></menuchoice>来指明这两个文件是改名关系。"
6531 #: ../source/TortoiseGit_en.xml:4538 ../source/TortoiseGit_en.xml:5369
6532 msgid "Change Lists"
6536 #: ../source/TortoiseGit_en.xml:4539
6538 "The commit dialog supports Git's changelist feature to help with "
6539 "grouping related files together. Find out about this feature in <xref linkend="
6540 "\"tsvn-dug-changelists\"/>."
6544 #: ../source/TortoiseGit_en.xml:4546
6545 msgid "Excluding Items from the Commit List"
6549 #: ../source/TortoiseGit_en.xml:4547
6551 "Sometimes you have versioned files that change frequently but that you really "
6552 "don't want to commit. Sometimes this indicates a flaw in your build process - "
6553 "why are those files versioned? should you be using template files? But "
6554 "occasionally it is inevitable. A classic reason is that your IDE changes a "
6555 "timestamp in the project file every time you build. The project file has to "
6556 "be versioned as it includes all the build settings, but it doesn't need to be "
6557 "committed just because the timestamp changed."
6561 #: ../source/TortoiseGit_en.xml:4557
6563 "To help out in awkward cases like this, we have reserved a changelist called "
6564 "<literal>ignore-on-commit</literal>. Any file added to this changelist will "
6565 "automatically be unchecked in the commit dialog. You can still commit "
6566 "changes, but you have to select it manually in the commit dialog."
6570 #: ../source/TortoiseGit_en.xml:4566
6571 msgid "Commit Log Messages"
6575 #: ../source/TortoiseGit_en.xml:4567
6577 "Be sure to enter a log message which describes the changes you are "
6578 "committing. This will help you to see what happened and when, as you browse "
6579 "through the project log messages at a later date. The message can be as long "
6580 "or as brief as you like; many projects have guidelines for what should be "
6581 "included, the language to use, and sometimes even a strict format."
6583 "确保输入描述你所提交的修改内容的日志信息。这可以帮你回顾做了什么,什么时候做"
6584 "的。信息的内容可长可短,许多项目规定了要包含的内容、使用的语言甚至是严格的格"
6588 #: ../source/TortoiseGit_en.xml:4575
6590 "You can apply simple formatting to your log messages using a convention "
6591 "similar to that used within emails. To apply styling to <literal>text</"
6592 "literal>, use <literal>*text*</literal> for bold, <literal>_text_</literal> "
6593 "for underlining, and <literal>^text^</literal> for italics."
6595 "你可以使用与电子邮件相似的约定,简单格式化日志消息。如果对<literal>文本</"
6596 "literal>采用这些样式,使用<literal>*文本*</literal>表示粗体,<literal>_文本_</"
6597 "literal>表示下划线,<literal>^文本^</literal>表示斜体。"
6600 #: ../source/TortoiseGit_en.xml:4583
6602 "<placeholder-1/> TortoiseGit includes a spellchecker to help you get your log "
6603 "messages right. This will highlight any mis-spelled words. Use the context "
6604 "menu to access the suggested corrections. Of course, it doesn't know "
6605 "<emphasis>every</emphasis> technical term that you do, so correctly spelt "
6606 "words will sometimes show up as errors. But don't worry. You can just add "
6607 "them to your personal dictionary using the context menu."
6609 "<placeholder-1/> TortoiseGit包含了一个拼写检查器帮助你正确地书写日志信息。对任"
6610 "何错误拼写的词都高亮显示。使用右键菜单可以获得修改建议。当然它不会知道"
6611 "<emphasis>所有的</emphasis>技术术语,所以有时一些拼写正确的词会被当作错误。但"
6612 "不用担心,你可以使用右键菜单将它们加入你的个人字典中。"
6615 #: ../source/TortoiseGit_en.xml:4585
6616 msgid "The Commit Dialog Spellchecker"
6617 msgstr "提交对话框的拼写检查器"
6620 #: ../source/TortoiseGit_en.xml:4595
6623 "The log message window also includes a filename and function auto-completion "
6624 "facility. This uses regular expressions to extract class and function names "
6625 "from the (text) files you are committing, as well as the filenames "
6626 "themselves. If a word you are typing matches anything in the list (after you "
6627 "have typed at least 3 characters, or pressed <keycap>Ctrl+Space</keycap>), a "
6628 "drop-down appears allowing you to select the full name. The regular "
6629 "expressions supplied with TortoiseGit are held in the TortoiseGit "
6630 "installation <filename>bin</filename> folder. You can also define your own "
6631 "regexes and store them in <filename>%APPDATA%\\TortoiseGit\\autolist.txt</"
6632 "filename>. Of course your private autolist will not be overwritten when you "
6633 "update your installation of TortoiseGit. If you are unfamiliar with regular "
6634 "expressions, take a look at the introduction at <ulink url=\"http://en."
6635 "wikipedia.org/wiki/Regular_expression\"><citetitle>http://en.wikipedia.org/"
6636 "wiki/Regular_expression</citetitle></ulink>, and the online documentation and "
6637 "tutorial at <ulink url=\"http://www.regular-expressions.info/"
6638 "\"><citetitle>http://www.regular-expressions.info/</citetitle></ulink>."
6640 "日志信息窗口还包含一个文件名和函数自动完成的功能。这使用了正则表达式来从你提交"
6641 "的(文本)文件中提取类和函数名,当然包括文件名本身。如果你现在敲入的一个词与列表"
6642 "中的任意一个匹配(在你输入至少3个字符后),就会出现一个下拉列表,允许你选择完整"
6643 "的名字。与TortoiseGit一起提供的正则表达式位于TortoiseGit安装路径的"
6644 "<filename>bin</filename>文件夹中。你可以定义自己的正则式并将其存放在<filename>"
6645 "%APPDATA%\\TortoiseGit\\autolist.txt</filename>。当然你自定义的自动列表不会在"
6646 "升级安装的时候被覆盖。如果你不熟悉正则表达式,请参考在线文件和教程: <ulink "
6647 "url=\"http://www.regular-expressions.info/\"><citetitle>http://www.regular-"
6648 "expressions.info/</citetitle></ulink>."
6651 #: ../source/TortoiseGit_en.xml:4616
6653 "You can re-use previously entered log messages. Just click on "
6654 "<guibutton>Recent messages</guibutton> to view a list of the last few "
6655 "messages you entered for this working copy. The number of stored messages can "
6656 "be customized in the TortoiseGit settings dialog."
6660 #: ../source/TortoiseGit_en.xml:4622
6662 "You can clear all stored commit messages from the <guilabel>Saved data</"
6663 "guilabel> page of TortoiseGit's settings, or you can clear individual "
6664 "messages from within the <guilabel>Recent messages</guilabel> dialog using "
6665 "the <keycap>Delete</keycap> key."
6669 #: ../source/TortoiseGit_en.xml:4629
6670 msgid "Special Folder Properties"
6674 #: ../source/TortoiseGit_en.xml:4630
6676 "There are several special folder properties which can be used to help give "
6677 "more control over the formatting of commit log messages and the language used "
6678 "by the spellchecker module. Read <xref linkend=\"tsvn-dug-propertypage\"/> "
6679 "for further information."
6681 "有几个特殊的文件夹属性可用于帮助我们得到更多的对提交日志信息的格式以及拼写检查"
6682 "模块的控制。参考<xref linkend=\"tsvn-dug-propertypage\"/>以了解详情。"
6685 #: ../source/TortoiseGit_en.xml:4638
6686 msgid "Integration with Bug Tracking Tools"
6690 #: ../source/TortoiseGit_en.xml:4639
6693 "If you have activated the bug tracking system, you can set one or more Issues "
6694 "in the <guilabel>Bug-ID / Issue-Nr:</guilabel> text box. Multiple issues "
6695 "should be comma separated. Alternatively, if you are using regex-based bug "
6696 "tracking support, just add your issue references as part of the log message. "
6697 "Learn more in <xref linkend=\"tsvn-dug-bugtracker\"/>."
6699 "如果你激活了一个缺陷跟踪系统,你可以在<guilabel>Bug-ID / Issue-Nr:</guilabel>"
6700 "文本框中设置一个或多个问题。多个问题应该用逗号分割。另外,如果你使用基于正则表"
6701 "达式的缺陷跟踪支持,只要将你的问题引用作为日志信息的一部分加入就可以了。详情请"
6702 "见 <xref linkend=\"tsvn-dug-bugtracker\"/>。"
6705 #: ../source/TortoiseGit_en.xml:4650
6706 msgid "Commit Progress"
6710 #: ../source/TortoiseGit_en.xml:4651
6712 "After pressing <guibutton>OK</guibutton>, a dialog appears displaying the "
6713 "progress of the commit. <placeholder-1/>"
6715 "在按下<guibutton>OK</guibutton>之后,会出现一个对话框显示提交的进度。"
6719 #: ../source/TortoiseGit_en.xml:4655
6720 msgid "The Progress dialog showing a commit in progress"
6721 msgstr "显示提交进度的进度对话框"
6724 #: ../source/TortoiseGit_en.xml:4659
6726 "The progress dialog uses colour coding to highlight different commit actions "
6728 msgstr "进度对话框使用颜色代码来高亮显示不同的提交行为。<placeholder-1/>"
6732 #: ../source/TortoiseGit_en.xml:4664 ../source/TortoiseGit_en.xml:5189
6737 #: ../source/TortoiseGit_en.xml:4666
6738 msgid "Committing a modification."
6744 #: ../source/TortoiseGit_en.xml:4672 ../source/TortoiseGit_en.xml:4739
6745 #: ../source/TortoiseGit_en.xml:5197
6750 #: ../source/TortoiseGit_en.xml:4674
6751 msgid "Committing a new addition."
6757 #: ../source/TortoiseGit_en.xml:4680 ../source/TortoiseGit_en.xml:4747
6758 #: ../source/TortoiseGit_en.xml:5209
6763 #: ../source/TortoiseGit_en.xml:4682
6764 msgid "Committing a deletion or a replacement."
6765 msgstr "提交一个删除或是替换。"
6770 #: ../source/TortoiseGit_en.xml:4688 ../source/TortoiseGit_en.xml:4774
6771 #: ../source/TortoiseGit_en.xml:5237
6776 #: ../source/TortoiseGit_en.xml:4690
6777 msgid "All other items."
6783 #: ../source/TortoiseGit_en.xml:4697 ../source/TortoiseGit_en.xml:4784
6784 #: ../source/TortoiseGit_en.xml:5246
6786 "This is the default colour scheme, but you can customise those colours using "
6787 "the settings dialog. Read <xref linkend=\"tsvn-dug-settings-colours\"/> for "
6790 "这是默认的配色方案,但你可以通过设置对话框来定制这些颜色。参考<xref linkend="
6791 "\"tsvn-dug-settings-colours\"/>获得详情。"
6794 #: ../source/TortoiseGit_en.xml:4705
6795 msgid "Update Your Working Copy With Changes From Others"
6796 msgstr "用来自别人的修改更新你的工作副本"
6800 #: ../source/TortoiseGit_en.xml:4707 ../source/TortoiseGit_en.xml:13347
6805 #: ../source/TortoiseGit_en.xml:4710
6806 msgid "fetch changes"
6810 #: ../source/TortoiseGit_en.xml:4712
6813 "<placeholder-1/> Periodically, you should ensure that changes done by others "
6814 "get incorporated in your local working copy. The process of getting changes "
6815 "from the server to your local copy is known as <emphasis>updating</emphasis>. "
6816 "Updating may be done on single files, a set of selected files, or recursively "
6817 "on entire directory hierarchies. To update, select the files and/or "
6818 "directories you want, <action>right click</action> and select "
6819 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Update</guimenuitem></"
6820 "menuchoice> in the explorer context menu. A window will pop up displaying the "
6821 "progress of the update as it runs. Changes done by others will be merged into "
6822 "your files, keeping any changes you may have done to the same files. The "
6823 "repository is <emphasis>not</emphasis> affected by an update."
6825 "<placeholder-1/>你应该定期地确保别人作的修改与你的工作副本可以整合。从服务器上"
6826 "获取改动到你本地副本的过程称为<literal>更新</literal>。更新可以针对一个文件、"
6827 "几个选中的文件或是递归整个目录层次。要进行更新操作,请选择要更新文件和/或路"
6828 "径,<action>右击</action>选择右键菜单中的<menuchoice><guimenu>TortoiseGit</"
6829 "guimenu><guimenuitem>更新</guimenuitem></menuchoice>。会弹出一个窗口显示更新的"
6830 "进度。别人作的修改将合并到你的文件中,你所做的修改会被保留。版本库<emphasis>受"
6831 "</emphasis>更新操作的影响。"
6834 #: ../source/TortoiseGit_en.xml:4714
6835 msgid "Progress dialog showing finished update"
6836 msgstr "已经完成更新的进度对话框"
6839 #: ../source/TortoiseGit_en.xml:4734
6841 "The progress dialog uses colour coding to highlight different update actions "
6843 msgstr "进度对话框使用颜色代码来高亮不同的更新行为<placeholder-1/>"
6846 #: ../source/TortoiseGit_en.xml:4741
6847 msgid "New item added to your WC."
6848 msgstr "新项已经增加到你的工作副本中。"
6851 #: ../source/TortoiseGit_en.xml:4749
6853 "Redundant item deleted from your WC, or missing item replaced in your WC."
6854 msgstr "你的工作副本中删除了多余项,或是你的工作副本中丢失的项被替换。"
6858 #: ../source/TortoiseGit_en.xml:4756 ../source/TortoiseGit_en.xml:5217
6863 #: ../source/TortoiseGit_en.xml:4758
6864 msgid "Changes from repository successfully merged with your local changes."
6865 msgstr "版本库中的修改与你的本地修改成功合并。"
6869 #: ../source/TortoiseGit_en.xml:4765 ../source/TortoiseGit_en.xml:5227
6874 #: ../source/TortoiseGit_en.xml:4767
6876 "Changes from repository merged with local changes, resulting in conflicts "
6877 "which you need to resolve."
6878 msgstr "来自版本库的修改在与本地修改合并时出现了冲突,需要你解决。"
6881 #: ../source/TortoiseGit_en.xml:4776
6883 "Unchanged item in your WC updated with newer version from the repository."
6884 msgstr "你WC中的没有改动的项被来自版本库中新版本所更新。"
6887 #: ../source/TortoiseGit_en.xml:4789
6890 "If you get any <emphasis>conflicts</emphasis> during an update (this can "
6891 "happen if others changed the same lines in the same file as you did and those "
6892 "changes don't match) then the dialog shows those conflicts in red. You can "
6893 "<action>double click</action> on these lines to start the external merge tool "
6894 "to resolve the conflicts."
6896 "如果你在更新中遇到了<literal>冲突</literal>(这是由于别人与你修改了同一个文件的"
6897 "同一行代码,并且两者的修改不匹配),对话框中将冲突显示为红色,你可以<action>双"
6898 "击</action>这些行启动外部合并工具来解决冲突。"
6901 #: ../source/TortoiseGit_en.xml:4796
6904 "When the update is complete, the progress dialog shows a summary of the "
6905 "number of items updated, added, removed, conflicted, etc. below the file "
6906 "list. This summary information can be copied to the clipboard using "
6907 "<keycap>Ctrl+C</keycap>."
6909 "当更新完成后,进度对话框在文件列表下面显示汇总信息,多少项更新,增加,删除,冲"
6910 "突等。汇总信息可以使用<action>CTRL+C</action>复制到剪贴板。"
6913 #: ../source/TortoiseGit_en.xml:4803
6916 "The standard Update command has no options and just updates your working copy "
6917 "to the HEAD revision of the repository, which is the most common use case. If "
6918 "you want more control over the update process, you should use "
6919 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Update to Revision...</"
6920 "guimenuitem></menuchoice> instead. This allows you to update your working "
6921 "copy to a specific revision, not only to the most recent one. Suppose your "
6922 "working copy is at revision 100, but you want it to reflect the state which "
6923 "it had in revision 50 - then simply update to revision 50. In the same dialog "
6924 "you can also choose the <firstterm>depth</firstterm> at which to update the "
6925 "current folder. The terms used are described in <xref linkend=\"tsvn-dug-"
6926 "checkout-depth\"/>. The default depth is <guilabel>Working copy</guilabel>, "
6927 "which preserves the existing depth setting. You can also choose whether to "
6928 "ignore any external projects in the update (i.e. projects referenced using "
6929 "<literal>svn:externals</literal>)."
6931 "标准的更新命令没有选项,仅仅是把你的工作副本更新到版本库中的最新版本,这也是最"
6932 "常用的情况。如果你要对更新过程进行更多的控制,就要使用"
6933 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>更新到版本...</"
6934 "guimenuitem></menuchoice>。这个操作允许你更新工作副本到一个指定的版本,不仅仅"
6935 "是最新的。假设你的工作副本是在版本100,但你要回顾一下版本50是什么样的——那你只"
6936 "要简单地更新到版本50就可以了。在同一个对话框中你还可以选择不递归更新当前文件夹"
6937 "(就是不更新所有的子文件夹)并且可以选择是否在更新中忽略外部的项目(比如具有属性 "
6938 "<literal>svn:externals</literal>的被引用的项目)."
6941 #: ../source/TortoiseGit_en.xml:4825
6944 "If you update a file or folder to a specific revision, you should not make "
6945 "changes to those files. You will get <quote>out of date</quote> error "
6946 "messages when you try to commit them! If you want to undo changes to a file "
6947 "and start afresh from an earlier revision, you can rollback to a previous "
6948 "revision from the revision log dialog. Take a look at <xref linkend=\"tsvn-"
6949 "howto-rollback\"/> for further instructions, and alternative methods."
6951 "如果你把一个文件或是文件夹更新到某个特定的版本,你不应该对这些文件做修改。你在"
6952 "提交的时候会得到一个<literal>已经过期</literal>的错误消息!如果你要取消修改,从"
6953 "一个早前的版本重新开始,你可以通过版本日志对话框回滚到之前的版本。请看<xref "
6954 "linkend=\"tsvn-howto-rollback\"/>以获得详情和其他方法。"
6957 #: ../source/TortoiseGit_en.xml:4835
6959 "<menuchoice><guimenuitem>Update to Revision</guimenuitem></menuchoice> can "
6960 "occasionally be useful to see what your project looked like at some earlier "
6961 "point in its history. But in general, updating individual files to an earlier "
6962 "revision is not a good idea as it leaves your working copy in an inconsistent "
6963 "state. If the file you are updating has changed name, you may even find that "
6964 "the file just disappears from your working copy because no file of that name "
6965 "existed in the earlier revision. If you simply want a local copy of an old "
6966 "version of a file it is better to use the <menuchoice><guimenu>Context Menu</"
6967 "guimenu><guimenuitem>Save revision to...</guimenuitem></menuchoice> command "
6968 "from the log dialog for that file."
6970 "<menuchoice><guimenuitem>更新到版本</guimenuitem></menuchoice>在你偶尔要看看你"
6971 "的项目在早前某时刻是什么样子的时候很有用。但通常,更新单个文件到之前的版本不是"
6972 "一个好主意,因为这会使你的工作副本处于不一致的状态。如果你要更新的文件已经改了"
6973 "名,你可能甚至发现该文件从你的工作副本中消失了,因为早期的版本中不存在这个名字"
6974 "的文件。如果你只是简单地想要一个旧版本文件的本地副本,最好是在该文件的日志对话"
6975 "框中使用<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>另存版本为...</"
6976 "guimenuitem></menuchoice>命令。"
6979 #: ../source/TortoiseGit_en.xml:4854
6980 msgid "Multiple Files/Folders"
6984 #: ../source/TortoiseGit_en.xml:4855
6986 "If you select multiple files and folders in the explorer and then select "
6987 "<menuchoice><guimenuitem>Update</guimenuitem></menuchoice>, all of those "
6988 "files/folders are updated one by one. TortoiseGit makes sure that all files/"
6989 "folders which are from the same repository are updated to the exact same "
6990 "revision! Even if between those updates another commit occurred."
6992 "如果你在资源管理器中选择了多文件和文件夹,然后选择<menuchoice><guimenuitem>更"
6993 "新</guimenuitem></menuchoice>,这些文件/文件夹一个接一个的被更新。TortoiseGit"
6994 "确保所有的来自同一版本库的文件/文件夹被更新到同一个版本!即使在更新过程中发生了"
6998 #: ../source/TortoiseGit_en.xml:4867
6999 msgid "Local File Already Exists"
7003 #: ../source/TortoiseGit_en.xml:4868
7005 "Sometimes when you try to update, the update fails with a message to say that "
7006 "there is already a local file of the same name. This typically happens when "
7007 "Git tries to checkout a newly versioned file, and finds that an "
7008 "unversioned file of the same name already exists in your working folder. "
7009 "Git will never overwrite an unversioned file - it might contain "
7010 "something you are working on, which coincidentally has the same filename as "
7011 "another developer has used for his newly committed file."
7013 "有时在你试图更新的时候,更新失败,提示信息说已经有一个同名的本地文件。通常发生"
7014 "在Git试图检出一个新增的受控文件时,发现一个未受控的同名文件已经在工作路"
7015 "径中存在。Git绝不会覆盖一个未受控的文件——因为它有可能有你需要的东西,却"
7016 "碰巧与另一个开发者新提交的文件重名了。"
7019 #: ../source/TortoiseGit_en.xml:4877
7021 "If you get this error message, the solution is simply to rename the local "
7022 "unversioned file. After completing the update, you can check whether the "
7023 "renamed file is still needed."
7025 "如果你得到这个错误信息,解决的方法就是把本地的未受控文件重命名。在完成更新之"
7026 "后,你再检查被重命名的文件是不是还需要。"
7029 #: ../source/TortoiseGit_en.xml:4882
7031 "If you keep getting error messages, use <menuchoice><guimenu>TortoiseGit</"
7032 "guimenu><guimenuitem>Check for Modifications</guimenuitem></menuchoice> "
7033 "instead to list all the problem files. That way you can deal with them all at "
7036 "如果你一直得到错误,使用<menuchoice><guimenu>TortoiseGit</"
7037 "guimenu><guimenuitem>检查修改</guimenuitem></menuchoice>来列出所有有问题的文"
7041 #: ../source/TortoiseGit_en.xml:4895
7042 msgid "Resolving Conflicts"
7046 #: ../source/TortoiseGit_en.xml:4900
7051 #: ../source/TortoiseGit_en.xml:4902
7053 "Once in a while, you will get a <emphasis>conflict</emphasis> when you update "
7054 "your files from the repository. A conflict occurs when two or more developers "
7055 "have changed the same few lines of a file. As Git knows nothing of "
7056 "your project, it leaves resolving the conflicts to the developers. Whenever a "
7057 "conflict is reported, you should open the file in question, and search for "
7058 "lines starting with the string <literal><<<<<<<</"
7059 "literal>. The conflicting area is marked like this: <screen>\n"
7060 "<<<<<<< filename\n"
7063 " code merged from repository\n"
7064 ">>>>>>> revision\n"
7065 "</screen> Also, for every conflicted file Git places three additional "
7066 "files in your directory: <placeholder-1/>"
7068 "有时当你从版本库中更新你的文件时,会有<emphasis>冲突</emphasis>。冲突出现的原"
7069 "因是两个开发人员修改了文件中相同的几行。由于Git不知道你的项目的具体情"
7070 "况,它把解决冲突的工作留给了开发人员。一旦出现冲突,你就应该打开有问题的文件,"
7071 "查找以字符串<literal><<<<<<<</literal>开头的行。有冲突的"
7072 "区域用如下的方式标记: <screen>\n"
7073 "<<<<<<< filename\n"
7077 ">>>>>>> revision\n"
7078 "</screen> 对于每个冲突的文件Git在你的目录下放置了三个文件: "
7082 #: ../source/TortoiseGit_en.xml:4923
7083 msgid "filename.ext.mine"
7084 msgstr "filename.ext.mine"
7087 #: ../source/TortoiseGit_en.xml:4925
7089 "This is your file as it existed in your working copy before you updated your "
7090 "working copy - that is, without conflict markers. This file has your latest "
7091 "changes in it and nothing else."
7093 "这是你的文件,在你更新你的工作副本之前存在于你的的工作副本中——也就是说,没有冲"
7094 "突标志。这个文件除了你的最新修改外没有别的东西。"
7097 #: ../source/TortoiseGit_en.xml:4934
7098 msgid "filename.ext.rOLDREV"
7099 msgstr "filename.ext.rOLDREV"
7102 #: ../source/TortoiseGit_en.xml:4936
7104 "This is the file that was the BASE revision before you updated your working "
7105 "copy. That is, it the file that you checked out before you made your latest "
7108 "这是在你更新你的工作副本之前的基础版本(BASE revision)文件。也就是说,它是在你"
7112 #: ../source/TortoiseGit_en.xml:4945
7113 msgid "filename.ext.rNEWREV"
7114 msgstr "filename.ext.rNEWREV"
7117 #: ../source/TortoiseGit_en.xml:4947
7119 "This is the file that your Git client just received from the server "
7120 "when you updated your working copy. This file corresponds to the HEAD "
7121 "revision of the repository."
7123 "这个文件是当你更新你的工作副本时,你的Git客户端从服务器接收到的。这个文"
7127 #: ../source/TortoiseGit_en.xml:4957
7129 "You can either launch an external merge tool / conflict editor with "
7130 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Edit Conflicts</"
7131 "guimenuitem></menuchoice> or you can use any other editor to manually resolve "
7132 "the conflict. You should decide what the code should look like, do the "
7133 "necessary changes and save the file."
7135 "你可以通过<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>编辑冲突</"
7136 "guimenuitem></menuchoice>运行外部合并工具/冲突编辑器,或者你可以使用任何别的编"
7137 "辑器手动解决冲突。你需要冲定哪些代码是需要的,做一些必要的修改然后保存。"
7140 #: ../source/TortoiseGit_en.xml:4968
7142 "Afterwards execute the command <menuchoice><guimenu>TortoiseGit</"
7143 "guimenu><guimenuitem>Resolved</guimenuitem></menuchoice> and commit your "
7144 "modifications to the repository. Please note that the Resolve command does "
7145 "not really resolve the conflict. It just removes the <filename>filename.ext."
7146 "mine</filename> and <filename>filename.ext.r*</filename> files, to allow you "
7147 "to commit your changes."
7149 "然后,执行命令<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>已解决</"
7150 "guimenuitem></menuchoice>并提交人的修改到版本库。需要注意的是已解决命令并不是"
7151 "真正的解决了冲突,它只是删除了<filename>filename.ext.mine</filename>和"
7152 "<filename>filename.ext.r*</filename>两个文件,允许你提交修改。"
7155 #: ../source/TortoiseGit_en.xml:4981
7157 "If you have conflicts with binary files, Git does not attempt to merge "
7158 "the files itself. The local file remains unchanged (exactly as you last "
7159 "changed it) and you have <filename>filename.ext.r*</filename> files. If you "
7160 "want to discard your changes and keep the repository version, just use the "
7161 "Revert command. If you want to keep your version and overwrite the repository "
7162 "version, use the Resolved command, then commit your version."
7164 "如果你的二进制文件有冲突,Git不会试图合并文件。本地文件保持不变(完全是"
7165 "你最后修改时的样子),但你会看到<filename>filename.ext.r*</filename>文件。如果"
7166 "你要撤消你的修改,保留版本库中的版本,请使用还原(Revert)命令。如果你要保持你的"
7167 "版本覆盖版本库中的版本,使用已解决命令,然后提交你的版本。"
7170 #: ../source/TortoiseGit_en.xml:4991
7172 "You can use the Resolved command for multiple files if you right click on the "
7173 "parent folder and select <menuchoice><guimenu>TortoiseGit</"
7174 "guimenu><guimenuitem>Resolved...</guimenuitem></menuchoice> This will bring "
7175 "up a dialog listing all conflicted files in that folder, and you can select "
7176 "which ones to mark as resolved."
7178 "你可以右击父文件夹,选择<menuchoice><guimenu>TortoiseGit</"
7179 "guimenu><guimenuitem>已解决...</guimenuitem></menuchoice>,使用“已解决”命令来"
7180 "解决多个文件。这个操作会出现一个对话框,列出文件夹下所有有冲突的文件,你可以选"
7184 #: ../source/TortoiseGit_en.xml:5004
7185 msgid "Getting Status Information"
7190 #: ../source/TortoiseGit_en.xml:5006 ../source/TortoiseGit_en.xml:5155
7195 #: ../source/TortoiseGit_en.xml:5009
7196 msgid "view changes"
7200 #: ../source/TortoiseGit_en.xml:5012
7201 msgid "working copy status"
7205 #: ../source/TortoiseGit_en.xml:5014
7207 "While you are working on your working copy you often need to know which files "
7208 "you have changed/added/removed or renamed, or even which files got changed "
7209 "and committed by others."
7211 "当你在你的工作副本上工作时,你时常需要知道哪些文件你已经修改/增加/删除或改名"
7212 "了,或者甚至是哪个文件已经被其他人修改并提交了。"
7216 #: ../source/TortoiseGit_en.xml:5022 ../source/TortoiseGit_en.xml:15242
7221 #: ../source/TortoiseGit_en.xml:5025
7226 #: ../source/TortoiseGit_en.xml:5033
7228 "Now that you have checked out a working copy from a Git repository you "
7229 "can see your files in the windows explorer with changed icons. This is one of "
7230 "the reasons why TortoiseGit is so popular. TortoiseGit adds a so called "
7231 "overlay icon to each file icon which overlaps the original file icon. "
7232 "Depending on the Git status of the file the overlay icon is different."
7234 "现在你已经从 Git 版本库中检出了一份工作副本,你可以在资源管理器中看一下"
7235 "这些文件的图标有什么变化。这也正是 TortoiseGit 这么流行的原因之一。"
7236 "TortoiseGit 加入了被称为重载图标的功能重载了原始的文件图标。根据文件的 "
7237 "Git 状态的不同,重载的图标也不同。"
7240 #: ../source/TortoiseGit_en.xml:5041
7242 "<graphic fileref=\"../images/InGitIcon.png\"/> A fresh checked out "
7243 "working copy has a green checkmark as overlay. That means the Git "
7244 "status is <emphasis>normal</emphasis>."
7246 "<graphic fileref=\"../images/InGitIcon.png\"/> 一个新检出的工作副本使用"
7247 "绿色的对勾做重载。表示 Git 状态<emphasis>正常</emphasis>."
7250 #: ../source/TortoiseGit_en.xml:5046
7252 "<graphic fileref=\"../images/ModifiedIcon.png\"/> As soon as you start "
7253 "editing a file, the status changes to <emphasis>modified</emphasis> and the "
7254 "icon overlay then changes to a red exclamation mark. That way you can easily "
7255 "see which files were changed since you last updated your working copy and "
7256 "need to be committed."
7258 "<graphic fileref=\"../images/ModifiedIcon.png\"/>在你开始编辑一个文件后,状态"
7259 "就变成了<emphasis>已修改</emphasis>,而图标重载变成了红色感叹号。通过这种方"
7260 "式,你可以很容易地看出哪些文件从你上次更新工作副本后被修改过,需要被提交。"
7263 #: ../source/TortoiseGit_en.xml:5054
7265 "<graphic fileref=\"../images/ConflictIcon.png\"/> If during an update a "
7266 "<emphasis>conflict</emphasis> occurs then the icon changes to a yellow "
7269 "<graphic fileref=\"../images/ConflictIcon.png\"/>如果在更新的过程中出现了"
7270 "<emphasis>冲突</emphasis>,图标会变成黄色感叹号。"
7273 #: ../source/TortoiseGit_en.xml:5059
7275 "<graphic fileref=\"../images/ReadOnlyIcon.png\"/> If you have set the "
7276 "<literal>svn:needs-lock</literal> property on a file, Git makes that "
7277 "file read-only until you get a lock on that file. Such files have this "
7278 "overlay to indicate that you have to get a lock first before you can edit "
7281 "<graphic fileref=\"../images/ReadOnlyIcon.png\"/>如果你给一个文件设置了"
7282 "<literal>svn:needs-lock</literal>属性,Git 会让此文件只读,直到你获得文"
7283 "件锁。具有这个重载图标的文件来表示你必须在编辑之前先得到锁。"
7286 #: ../source/TortoiseGit_en.xml:5066
7288 "<graphic fileref=\"../images/LockedIcon.png\"/> If you hold a lock on a file, "
7289 "and the Git status is <emphasis>normal</emphasis>, this icon overlay "
7290 "reminds you that you should release the lock if you are not using it to allow "
7291 "others to commit their changes to the file."
7293 "<graphic fileref=\"../images/LockedIcon.png\"/>如果你拥有了一个文件的锁,并且 "
7294 "Git 状态是<emphasis>正常</emphasis>,这个重载图标就提醒你如果不使用该文"
7295 "件的话应该释放锁,允许别人提交对该文件的修改。"
7298 #: ../source/TortoiseGit_en.xml:5073
7300 "<graphic fileref=\"../images/DeletedIcon.png\"/> This icon shows you that "
7301 "some files or folders inside the current folder have been scheduled to be "
7302 "<emphasis>deleted</emphasis> from version control or a file under version "
7303 "control is missing in a folder."
7305 "<graphic fileref=\"../images/DeletedIcon.png\"/>这个图标表示当前文件夹下的某些"
7306 "文件或文件夹已经被调度从版本控制中<emphasis>删除</emphasis>,或是该文件夹下某"
7310 #: ../source/TortoiseGit_en.xml:5079
7312 "<graphic fileref=\"../images/AddedIcon.png\"/> The plus sign tells you that a "
7313 "file or folder has been scheduled to be <emphasis>added</emphasis> to version "
7316 "<graphic fileref=\"../images/AddedIcon.png\"/>加号告诉你有一个文件或目录已经被"
7317 "调度<emphasis>加入</emphasis>版本控制。"
7320 #: ../source/TortoiseGit_en.xml:5084
7323 "<graphic fileref=\"../images/IgnoredIcon.png\"/> The bar sign tells you that "
7324 "a file or folder is <emphasis>ignored</emphasis> for version control "
7325 "purposes. This overlay is optional."
7327 "<graphic fileref=\"../images/AddedIcon.png\"/>加号告诉你有一个文件或目录已经被"
7328 "调度<emphasis>加入</emphasis>版本控制。"
7331 #: ../source/TortoiseGit_en.xml:5090
7333 "<graphic fileref=\"../images/UnversionedIcon.png\"/> This icon shows files "
7334 "and folders which are not under version control, but have not been ignored. "
7335 "This overlay is optional."
7339 #: ../source/TortoiseGit_en.xml:5096
7342 "In fact, you may find that not all of these icons are used on your system. "
7343 "This is because the number of overlays allowed by Windows is very limited and "
7344 "if you are also using an old version of TortoiseCVS, then there are not "
7345 "enough overlay slots available. TortoiseGit tries to be a <quote>Good Citizen "
7346 "(TM)</quote> and limits its use of overlays to give other apps a chance too."
7348 "事实上,你会发现并不是所有的图标被你的系统使用。这是由于 Windows 的重载图标很"
7349 "有限。如果你同时使用了 TortoiseCVS,就没有足够的重载可用。TortoiseGit 试图成为"
7350 "一个<quote>良好市民(TM)</quote>,限制自身使用重载图标,为别的应用留下机会。"
7353 #: ../source/TortoiseGit_en.xml:5104
7355 "Now that there are more Tortoise clients around (TortoiseCVS, "
7356 "TortoiseHG, ...) the icon limit becomes a real problem. To work around this, "
7357 "the TortoiseGit project introduced a common shared icon set, loaded as a DLL, "
7358 "which can be used by all Tortoise clients. Check with your client provider to "
7359 "see if this has been integrated yet :-)"
7363 #: ../source/TortoiseGit_en.xml:5111
7365 "For a description of how icon overlays correspond to Git status and "
7366 "other technical details, read <xref linkend=\"tsvn-app-internals-overlays\"/>."
7368 "要获得图表重载与 Git 状态的对应关系,或者其它技术细节,请阅读<xref "
7369 "linkend=\"tsvn-app-internals-overlays\"/>。"
7372 #: ../source/TortoiseGit_en.xml:5118
7373 msgid "TortoiseGit Columns In Windows Explorer"
7374 msgstr "在 Windows 资源管理器中的 TortoiseGit 列"
7377 #: ../source/TortoiseGit_en.xml:5120
7378 msgid "Explorer Columns"
7382 #: ../source/TortoiseGit_en.xml:5122
7384 "The same information which is available from the icon overlays (and much "
7385 "more) can be displayed as additional columns in Windows Explorer's Details "
7388 "在Windows资源管理器的详细信息视图中,附加列中可以显示与图标重载所表达相同的信"
7392 #: ../source/TortoiseGit_en.xml:5127
7395 "Simply right click on one of the headings of a column, choose "
7396 "<guimenuitem>More...</guimenuitem> from the context menu displayed. A dialog "
7397 "will appear where you can specify the columns and their order, which is "
7398 "displayed in the <quote>Detailed View</quote>. Scroll down until the entries "
7399 "starting with SVN come into view. Check the ones you would like to have "
7400 "displayed and close the dialog by pressing <guibutton>OK</guibutton>. The "
7401 "columns will be appended to the right of those currently displayed. You can "
7402 "reorder them by drag and drop, or resize them, so that they fit your needs."
7404 "右键点击列头,从出现的右键菜单中选择<guimenuitem>其他...</guimenuitem>。出现一"
7405 "个对话框,你可以指定在“详细信息视图”中要显示的列及其顺序。滚动对话框中的条目直"
7406 "到SVN开头的条目出现。在你要显示的条目上打勾,然后点击<guibutton>OK</guibutton>"
7407 "按扭关闭对话框。你选择的列就会出现在当前显示的列的右边。你可以通过拖放它们来达"
7411 #: ../source/TortoiseGit_en.xml:5139
7413 "The additional columns in the Windows Explorer are not available on Vista, "
7414 "since Microsoft decided to not allow such columns for <emphasis>all</"
7415 "emphasis> files anymore but only for specific file types."
7419 #: ../source/TortoiseGit_en.xml:5145
7421 "If you want the current layout to be displayed in all your working copies, "
7422 "you may want to make this the default view."
7424 "如果你想要当前的布局对你所有的工作副本都有效,你可以考虑把它设成默认视图。"
7427 #: ../source/TortoiseGit_en.xml:5153
7428 msgid "Local and Remote Status"
7432 #: ../source/TortoiseGit_en.xml:5158
7433 msgid "modifications"
7437 #: ../source/TortoiseGit_en.xml:5160
7439 "<placeholder-1/> It's often very useful to know which files you have changed "
7440 "and also which files got changed and committed by others. That's where the "
7441 "command <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Check For "
7442 "Modifications...</guimenuitem></menuchoice> comes in handy. This dialog will "
7443 "show you every file that has changed in any way in your working copy, as well "
7444 "as any unversioned files you may have."
7446 "<placeholder-1/> 通常知道你修改了哪些文件以及哪些文件已经由另人修改并提交了是"
7447 "很有用的。这就是命令<menuchoice><guimenu>TortoiseGit</"
7448 "guimenu><guimenuitem>Check For Modifications...</guimenuitem></menuchoice> 的"
7449 "用武之地了。这个对话框显示了所有你的工作副本中进行了任何形式的修改的的文件,也"
7454 #: ../source/TortoiseGit_en.xml:5162 ../source/TortoiseGit_en.xml:14934
7455 msgid "Check for Modifications"
7459 #: ../source/TortoiseGit_en.xml:5177
7461 "If you click on the <guibutton>Check Repository</guibutton> then you can also "
7462 "look for changes in the repository. That way you can check before an update "
7463 "if there's a possible conflict. You can also update selected files from the "
7464 "repository without updating the whole folder."
7466 "如果你点击<guibutton>检查版本库</guibutton>,那你还可以看到版本库里的改动。这"
7467 "样,你就可以在提交之前检查是否有存在冲突的可能。你也可以从版本库中更新选中的文"
7471 #: ../source/TortoiseGit_en.xml:5185
7472 msgid "The dialog uses colour coding to highlight the status. <placeholder-1/>"
7473 msgstr "对话框使用颜色代码来高亮显示状态。 <placeholder-1/>"
7476 #: ../source/TortoiseGit_en.xml:5191
7477 msgid "Locally modified items."
7481 #: ../source/TortoiseGit_en.xml:5199
7483 "Added items. Items which have been added with history have a <literal>+</"
7484 "literal> sign in the <guilabel>Text status</guilabel> column, and a tooltip "
7485 "shows where the item was copied from."
7487 "增加的项。那些被加入的项在<guilabel>文本状态</guilabel>列中有个<literal>+</"
7488 "literal>号表示,工具提示(tooltip shows)显示了该项是从哪里复制来的。 where the "
7489 "item was copied from."
7492 #: ../source/TortoiseGit_en.xml:5211
7493 msgid "Deleted or missing items."
7497 #: ../source/TortoiseGit_en.xml:5219
7499 "Items modified locally and in the repository. The changes will be merged on "
7500 "update. These <emphasis>may</emphasis> produce conflicts on update."
7502 "在本地和版本库中都有被修改过的项。改动将在更新的时候被合并。这种情况<emphasis>"
7503 "很可能</emphasis>在更新的时候产生冲突。"
7506 #: ../source/TortoiseGit_en.xml:5229
7508 "Items modified locally and deleted in repository, or modified in repository "
7509 "and deleted locally. These <emphasis>will</emphasis> produce conflicts on "
7512 "在本地被修改过但在版本库中已经被删除的项,或者在版本库中被修改但在本地被删除的"
7513 "项。这种情况<emphasis>必将</emphasis>在更新时产生冲突。"
7516 #: ../source/TortoiseGit_en.xml:5239
7517 msgid "Unchanged and unversioned items."
7521 #: ../source/TortoiseGit_en.xml:5257
7523 "From the context menu of the dialog you can show a diff of the changes. Check "
7524 "the local changes <emphasis>you</emphasis> made using "
7525 "<menuchoice><guimenu>Context Menu</guimenu><guimenuitem>Compare with Base</"
7526 "guimenuitem></menuchoice>. Check the changes in the repository made by others "
7527 "using <menuchoice><guimenu>Context Menu</guimenu><guimenuitem>Show "
7528 "Differences as Unified Diff</guimenuitem></menuchoice>."
7530 "在对话框的上下文菜单中你可以显示改变的差异。使用 <menuchoice><guimenu>上下文菜"
7531 "单</guimenu><guimenuitem>与基础版本比较</guimenuitem></menuchoice>检查"
7532 "<emphasis>你</emphasis>所作的本地修改。使用<menuchoice><guimenu>上下文菜单</"
7533 "guimenu><guimenuitem>使用标准差异格式显示差异</guimenuitem></menuchoice>检查版"
7537 #: ../source/TortoiseGit_en.xml:5270
7540 "You can also revert changes in individual files. If you have deleted a file "
7541 "accidentally, it will show up as <emphasis>Missing</emphasis> and you can use "
7542 "<emphasis>Revert</emphasis> to recover it."
7544 "你还可以对单个文件进行还原(revert)。如果你不小心删除了一个文件,在对话框中会显"
7545 "示为<literal>丢失</literal>你可以使用<literal>还原</literal>来恢复它。"
7548 #: ../source/TortoiseGit_en.xml:5275
7550 "Unversioned and ignored files can be sent to the recycle bin from here using "
7551 "<menuchoice><guimenu>Context Menu</guimenu><guimenuitem>Delete</guimenuitem></"
7552 "menuchoice>. If you want to delete files permanently (bypassing the recycle "
7553 "bin) hold the <keycap>Shift</keycap> key while clicking on <guilabel>Delete</"
7556 "可以使用<menuchoice><guimenu>邮件菜单</guimenu><guimenuitem>删除</"
7557 "guimenuitem></menuchoice>将未版本控制的或忽略的文件丢到垃圾箱。如果你想彻底删"
7558 "除(不使用垃圾箱),在点击<guilabel>删除</guilabel>时,请按着<keycap>Shift</"
7562 #: ../source/TortoiseGit_en.xml:5284
7564 "If you want to examine a file in detail, you can drag it from here into "
7565 "another application such as a text editor or IDE."
7567 "如果你要查询一个文件的详细情况,你可以把它从这里拖到另一个应用程序,比如一个文"
7571 #: ../source/TortoiseGit_en.xml:5288
7573 "The columns are customizable. If you <action>right click</action> on any "
7574 "column header you will see a context menu allowing you to select which "
7575 "columns are displayed. You can also change column width by using the drag "
7576 "handle which appears when you move the mouse over a column boundary. These "
7577 "customizations are preserved, so you will see the same headings next time."
7579 "这些列是可定制的。如果你<action>右击</action>任何一列的头部,你就会看到一个上"
7580 "下文菜单,允许你选择哪一列要显示。还可以在鼠标移动到列边界时通过拖动把手来改变"
7581 "列的宽度。这些定制的内容都会被保留下来,下一次你会见到相同的头部。"
7584 #: ../source/TortoiseGit_en.xml:5297
7586 "If you are working on several unrelated tasks at once, you can also group "
7587 "files together into changelists. Read <xref linkend=\"tsvn-dug-commit-"
7588 "changelists\"/> for more information."
7590 "如果你同时做几个不相关的任务,也可以在修改列表中分组文件。阅读<xref linkend="
7591 "\"tsvn-dug-commit-changelists\"/>以获得更多信息。"
7594 #: ../source/TortoiseGit_en.xml:5302
7597 "At the bottom of the dialog you can see a summary of the range of repository "
7598 "revisions in use in your working copy. These are the <emphasis>commit</"
7599 "emphasis> revisions, not the <emphasis>update</emphasis> revisions; they "
7600 "represent the range of revisions where these files were last committed, not "
7601 "the revisions to which they have been updated. Note that the revision range "
7602 "shown applies only to the items displayed, not to the entire working copy. If "
7603 "you want to see that information for the whole working copy you must check "
7604 "the <guilabel>Show unmodified files</guilabel> checkbox."
7606 "在这个对话框的底部,你可以看到工作副本所用版本库版本的范围概要。这些是 "
7607 "<literal>提交</literal>版本,不是<literal>更新</literal>版本;它们是这些文件最"
7608 "后提交的版本范围,不是已经更新的版本。注意显示的版本范围针对的是显示的项目,不"
7609 "是整个工作副本。如果你想察看整个工作副本的信息,必须选中检查框<guilabel>显示未"
7613 #: ../source/TortoiseGit_en.xml:5313
7615 "If you want a flat view of your working copy, i.e. showing all files and "
7616 "folders at every level of the folder hierarchy, then the <guilabel>Check for "
7617 "Modifications</guilabel> dialog is the easiest way to achieve that. Just "
7618 "check the <guilabel>Show unmodified files</guilabel> checkbox to show all "
7619 "files in your working copy."
7621 "如果你需要工作目录的全面视图,也就是所有文件和文件夹都同时显示,以便方便的使用"
7622 "<guilabel>检查修改对话框</guilabel>。只要选择<guilabel>现实未修改文件</"
7623 "guilabel>检查栏,显示工作目录中的所有文件即可。"
7626 #: ../source/TortoiseGit_en.xml:5339
7627 msgid "Viewing Diffs"
7631 #: ../source/TortoiseGit_en.xml:5341
7636 #: ../source/TortoiseGit_en.xml:5343
7638 "Often you want to look inside your files, to have a look at what you've "
7639 "changed. You can accomplish this by selecting a file which has changed, and "
7640 "selecting <guimenuitem>Diff</guimenuitem> from TortoiseGit's context menu. "
7641 "This starts the external diff-viewer, which will then compare the current "
7642 "file with the pristine copy (<literal>BASE</literal> revision), which was "
7643 "stored after the last checkout or update."
7645 "通常你想要深入文件中了解你修改了什么。要达到这个目的,你可以选中这个文件,然后"
7646 "在TortoiseGit的右键菜单中选择<guimenuitem>比较</guimenuitem>。这个操作会启动一"
7647 "个外部的差别检查程序,由它来比较当前文件与上一次检出或更新后的原始的副本"
7648 "(<literal>基础</literal>版本)。"
7651 #: ../source/TortoiseGit_en.xml:5353
7653 "Even when not inside a working copy or when you have multiple versions of the "
7654 "file lying around, you can still display diffs:"
7656 "即使你不是在一个工作副本中工作或者你有多个版本的文件,你都可以按以下方法来进行"
7660 #: ../source/TortoiseGit_en.xml:5357
7662 "Select the two files you want to compare in explorer (e.g. using "
7663 "<keycap>Ctrl</keycap> and the mouse) and choose <guimenuitem>Diff</"
7664 "guimenuitem> from TortoiseGit's context menu. The file clicked last (the one "
7665 "with the focus, i.e. the dotted rectangle) will be regarded as the later one."
7667 "选择你要比较的两个文件(比如,你可以使用<keycap>Ctrl</keycap> 键加鼠标),然后从"
7668 "TortoiseGit的右键菜单中选择<guimenuitem>比较</guimenuitem>。最后一个被鼠标点中"
7669 "的文件(具有焦点的文件,比如有虚线框的文件具有焦点),将作为被比较文件的后一个。"
7672 #: ../source/TortoiseGit_en.xml:5371
7677 #: ../source/TortoiseGit_en.xml:5373
7679 "In an ideal world, you only ever work on one thing at a time, and your "
7680 "working copy contains only one set of logical changes. OK, back to reality. "
7681 "It often happens that you have to work on several unrelated tasks at once, "
7682 "and when you look in the commit dialog, all the changes are mixed in "
7683 "together. The <firstterm>changelist</firstterm> feature helps you group files "
7684 "together, making it easier to see what you are doing. Of course this can only "
7685 "work if the changes do not overlap. If two different tasks affect the same "
7686 "file, there is no way to separate the changes."
7688 "理想情况下,你任何时候都只做一件事,你的工作副本只包含一个逻辑修改集合。很好,"
7689 "回到现实。你经常会同时做几件不相关的事,当你察看提交对话框时,所有修改混到一"
7690 "起。<firstterm>修改列表</firstterm>特性帮助你分组,让你容易看到正在做什么。当"
7691 "然它只能在修改不重合的时候工作。如果两个不同的任务影响到同一个文件,没有办法隔"
7695 #: ../source/TortoiseGit_en.xml:5384
7698 "The changelist feature in TortoiseGit is only available in Windows XP and "
7699 "later, as it depends on a shell capability which is not present in Windows "
7700 "2000. Sorry, but Win2K is really quite old now, so please don't complain."
7702 "修改列表依赖一个不存在于 Windows 2000 的外壳特性,所以它只能用于 Windows XP 或"
7703 "更新的系统。抱歉,但是现在 Windows 2000 真的很古老了,请不要抱怨。"
7706 #: ../source/TortoiseGit_en.xml:5391
7708 "You can see changelists in several places, but the most important ones are "
7709 "the commit dialog and the check-for-modifications dialog. Let's start in the "
7710 "check-for-modifications dialog after you have worked on several features and "
7711 "many files. When you first open the dialog, all the changed files are listed "
7712 "together. Suppose you now want to organise things and group those files "
7713 "according to feature."
7717 #: ../source/TortoiseGit_en.xml:5399
7720 "Select one or more files and use <menuchoice><guimenu>Context Menu</"
7721 "guimenu><guimenuitem>Move to changelist</guimenuitem></menuchoice> to add an "
7722 "item to a changelist. Initially there will be no changelists, so the first "
7723 "time you do this you will create a new changelist. Give it name which "
7724 "describes what you are using it for, and click <guibutton>OK</guibutton>. The "
7725 "dialog will now change to show groups of items."
7727 "使用<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>移到修改列表</"
7728 "guimenuitem></menuchoice> 可以增加一个项目到修改列表。最初没有修改列表,所以你"
7729 "第一次做的时候,会创建一个新的修改列表。给出一个能描述它的作用的名称,然后点"
7730 "击 <guibutton>OK</guibutton>。提交对话框会改变为显示项目分组。 <placeholder-1/"
7734 #: ../source/TortoiseGit_en.xml:5411
7736 "Once you have created a changelist you can drag and drop items into it, "
7737 "either from another changelist, or from Windows Explorer. Dragging from "
7738 "Explorer can be useful as it allows you to add items to a changelist before "
7739 "the file is modified. You could do that from the check-for-modifications "
7740 "dialog, but only by displaying all unmodified files."
7744 #: ../source/TortoiseGit_en.xml:5418
7747 "<placeholder-1/> In the commit dialog you can see those same files, grouped "
7748 "by changelist. Apart from giving an immediate visual indication of groupings, "
7749 "you can also use the group headings to select which files to commit."
7750 msgstr "除了分组可以直接指示之外,你也可以使用组头选择提交哪些文件。"
7753 #: ../source/TortoiseGit_en.xml:5420
7754 msgid "Commit dialog with Changelists"
7755 msgstr "带有修改列表的提交对话框"
7758 #: ../source/TortoiseGit_en.xml:5427
7760 "On XP, there is a context menu when you right click on a group heading which "
7761 "gives you the choice to check or uncheck all group entries. On Vista however "
7762 "the context menu is not necessary. Click on the group header to select all "
7763 "entries, then check one of the selected entries to check all."
7767 #: ../source/TortoiseGit_en.xml:5433
7769 "TortoiseGit reserves one changelist name for its own use, namely "
7770 "<literal>ignore-on-commit</literal>. This is used to mark versioned files "
7771 "which you almost never want to commit even though they have local changes. "
7772 "This feature is described in <xref linkend=\"tsvn-dug-commit-ignore\"/>."
7776 #: ../source/TortoiseGit_en.xml:5439
7778 "When you commit files belonging to a changelist then normally you would "
7779 "expect that the changelist membership is no longer needed. So by default, "
7780 "files are removed from changelists automatically on commit. If you wish to "
7781 "retain the file in its changelist, use the <guilabel>Keep changelists</"
7782 "guilabel> checkbox at the bottom of the commit dialog."
7786 #: ../source/TortoiseGit_en.xml:5447
7789 "Changelists are purely a local client feature. Creating and removing "
7790 "changelists will not affect the repository, nor anyone else's working copy. "
7791 "They are simply a convenient way for you to organise your files."
7793 "修改列表是纯本地客户端特性。创建和删除修改列表不会影响到版本库,或任何其它客户"
7797 #: ../source/TortoiseGit_en.xml:5455
7798 msgid "Revision Log Dialog"
7802 #: ../source/TortoiseGit_en.xml:5457
7807 #: ../source/TortoiseGit_en.xml:5460
7812 #: ../source/TortoiseGit_en.xml:5463
7813 msgid "commit messages"
7817 #: ../source/TortoiseGit_en.xml:5466
7818 msgid "log messages"
7822 #: ../source/TortoiseGit_en.xml:5469
7824 "For every change you make and commit, you should provide a log message for "
7825 "that change. That way you can later find out what changes you made and why, "
7826 "and you have a detailed log for your development process."
7828 "对于每次进行修改和提交,你应该有针对性地留下日志信息。这样,你就可以在以后方便"
7829 "地看到你都做了什么,为什么这么做。当然这么做还是你拥有了开发过程的详细日志。"
7832 #: ../source/TortoiseGit_en.xml:5475
7834 "The Revision Log Dialog retrieves all those log messages and shows them to "
7835 "you. The display is divided into 3 panes. <placeholder-1/> But it does much "
7836 "more than that - it provides context menu commands which you can use to get "
7837 "even more information about the project history."
7839 "版本日志对话框可以获取所有的日志信息,并将其显示出来。对话框的视图分成3个面"
7840 "板。<placeholder-1/>当然,对话框的作用不止于此——它提供了右键菜单,通过它可以获"
7844 #: ../source/TortoiseGit_en.xml:5481
7846 "The top pane shows a list of revisions where changes to the file/folder have "
7847 "been committed. This summary includes the date and time, the person who "
7848 "committed the revision and the start of the log message."
7850 "最上方的面板显示了版本的列表。这其中包含了日期和时间,以及提交的用户和日志信息"
7854 #: ../source/TortoiseGit_en.xml:5487
7856 "Lines shown in blue indicate that something has been copied to this "
7857 "development line (perhaps from a branch)."
7859 "以蓝色显示的行表示某些内容被复制到该开发版本中(可能是从一个分支中复制而来)。"
7862 #: ../source/TortoiseGit_en.xml:5493
7863 msgid "The middle pane shows the full log message for the selected revision."
7864 msgstr "中间的面板显示了被选中的版本的完整的日志信息。"
7867 #: ../source/TortoiseGit_en.xml:5499
7869 "The bottom pane shows a list of all files and folders that were changed as "
7870 "part of the selected revision."
7871 msgstr "最下面的面板显示了被选中版本中都对哪里文件和文件夹进行了修改。"
7874 #: ../source/TortoiseGit_en.xml:5510
7875 msgid "Invoking the Revision Log Dialog"
7879 #: ../source/TortoiseGit_en.xml:5511
7881 "<placeholder-1/> There are several places from where you can show the Log "
7882 "dialog: <placeholder-2/>"
7883 msgstr "<placeholder-1/>有几种途径可以调出日志对话框: <placeholder-2/>"
7886 #: ../source/TortoiseGit_en.xml:5513
7887 msgid "The Revision Log Dialog"
7891 #: ../source/TortoiseGit_en.xml:5519
7892 msgid "From the TortoiseGit context submenu"
7893 msgstr "从右键菜单的TortoiseGit子菜单中调用"
7896 #: ../source/TortoiseGit_en.xml:5524
7897 msgid "From the property page"
7901 #: ../source/TortoiseGit_en.xml:5529
7903 "From the Progress dialog after an update has finished. Then the Log dialog "
7904 "only shows those revisions which were changed since your last update"
7906 "在更新结束后,从进度对话框中调用。在这里,日志对话框只显示你上一次更新以来的版"
7910 #: ../source/TortoiseGit_en.xml:5539
7911 msgid "Revision Log Actions"
7915 #: ../source/TortoiseGit_en.xml:5540
7917 "The top pane has an <guilabel>Actions</guilabel> column containing icons that "
7918 "summarize what has been done in that revision. There are four different "
7919 "icons, each shown in its own column."
7921 "顶部面板有个<guilabel>动作</guilabel>列,包含了此版本的动作概要图标。有四个不"
7925 #: ../source/TortoiseGit_en.xml:5545
7928 "<graphic fileref=\"../images/ActionModifiedIcon.png\"/> If a revision "
7929 "modified a file or directory, the <emphasis>modified</emphasis> icon is shown "
7930 "in the first column."
7932 "<graphic fileref=\"../images/ActionModifiedIcon.png\"/> 如果某个版本修改了文件"
7933 "和目录,<literal>已修改</literal> 图表就会在首列显示。"
7936 #: ../source/TortoiseGit_en.xml:5550
7939 "<graphic fileref=\"../images/ActionAddedIcon.png\"/> If a revision added a "
7940 "file or directory, the <emphasis>added</emphasis> icon is shown in the second "
7943 "<graphic fileref=\"../images/ActionAddedIcon.png\"/> 如果某个版本增加了文件和"
7944 "目录,<literal>已增加</literal> 图表就会在第二列显示。"
7947 #: ../source/TortoiseGit_en.xml:5555
7950 "<graphic fileref=\"../images/ActionDeletedIcon.png\"/> If a revision deleted "
7951 "a file or directory, the <emphasis>deleted</emphasis> icon is shown in the "
7954 "<graphic fileref=\"../images/ActionDeletedIcon.png\"/> 如果某个版本删除了文件"
7955 "和目录,<literal>已删除</literal> 图表就会在第三列显示。"
7958 #: ../source/TortoiseGit_en.xml:5560
7961 "<graphic fileref=\"../images/ActionReplacedIcon.png\"/> If a revision "
7962 "replaced a file or directory, the <emphasis>replaced</emphasis> icon is shown "
7963 "in the fourth column."
7965 "<graphic fileref=\"../images/ActionReplacedIcon.png\"/> 如果某个版本替换了文件"
7966 "和目录,<literal>已替换</literal> 图标就会在第四列显示。"
7969 #: ../source/TortoiseGit_en.xml:5567
7970 msgid "Getting Additional Information"
7974 #: ../source/TortoiseGit_en.xml:5568
7976 "<placeholder-1/> The top pane of the Log dialog has a context menu that "
7977 "allows you to access much more information. Some of these menu entries appear "
7978 "only when the log is shown for a file, and some only when the log is shown "
7979 "for a folder. <placeholder-2/>"
7983 #: ../source/TortoiseGit_en.xml:5570
7984 msgid "The Revision Log Dialog Top Pane with Context Menu"
7985 msgstr "版本日志对话框的顶部面板的右键菜单"
7988 #: ../source/TortoiseGit_en.xml:5579
7990 "Compare the selected revision with your working copy. The default Diff-Tool "
7991 "is TortoiseMerge which is supplied with TortoiseGit. If the log dialog is for "
7992 "a folder, this will show you a list of changed files, and allow you to review "
7993 "the changes made to each file individually."
7995 "将你的工作版本与选中的版本进行比较。默认的比较工具是与TortoiseSNV一同发布的"
7996 "TortoiseMerge,如果日志对话框是针对文件夹的,那么就会出现一个被修改的文件的列"
7997 "表,你可以单独地查看每个文件所做的修改。"
8000 #: ../source/TortoiseGit_en.xml:5589
8002 "View the changes made in the selected revision as a Unified-Diff file (GNU "
8003 "patch format). This shows only the differences with a few lines of context. "
8004 "It is harder to read than a visual file compare, but will show all file "
8005 "changes together in a compact format."
8007 "将选中的版本作为单一差异文件(GNU补丁格式)查看。相对于可视化的文件比较器,它更"
8008 "难阅读,但它将所有的变化显示在一个格式更为紧凑的文件中。"
8011 #: ../source/TortoiseGit_en.xml:5598
8013 "Compare the selected revision with the previous revision. This works in a "
8014 "similar manner to comparing with your working copy."
8015 msgstr "比较选择的版本和以前版本。它与你比较工作副本类似。"
8018 #: ../source/TortoiseGit_en.xml:5605
8020 "Blame the selected revision, and the file in your working BASE and compare "
8021 "the blame reports using a visual diff tool. Read <xref linkend=\"tsvn-dug-"
8022 "blame-diffs\"/> for more detail. (files only)."
8024 "追溯选中的版本,和你的工作基础文件,使用可视化差异工具比较追溯报告。参阅 "
8025 "<xref linkend=\"tsvn-dug-blame-diffs\"/> 以获得更多信息(仅对于文件)。"
8028 #: ../source/TortoiseGit_en.xml:5613
8030 "Blame the selected revision, and the previous revision, and compare the "
8031 "results using a visual diff tool. (folders only)."
8032 msgstr "追溯选中的版本和旧版本,用可视化差异工具比较结果(仅对于目录)。"
8035 #: ../source/TortoiseGit_en.xml:5620
8037 "Save the selected revision to a file so you have an older version of that "
8038 "file. (files only)."
8039 msgstr "将选中的版本保存到文件,你可以得到一份该文件的旧版本(仅对于文件)。"
8042 #: ../source/TortoiseGit_en.xml:5626
8044 "Open the selected file, either with the default viewer for that file type, or "
8045 "with a program you choose. (files only)."
8046 msgstr "用此文件类型的默认查看器,或你指定的程序打开选中的文件(仅对于文件)。"
8049 #: ../source/TortoiseGit_en.xml:5632
8050 msgid "Blame the file up to the selected revision. (files only)."
8051 msgstr "追溯文件直到选中的版本(仅对于文件)。"
8054 #: ../source/TortoiseGit_en.xml:5637
8056 "Open the repository browser to examine the selected file or folder in the "
8057 "repository as it was at the selected revision."
8058 msgstr "打开版本库浏览器,基于选中的版本,在版本库中检查选中的文件或目录。"
8061 #: ../source/TortoiseGit_en.xml:5643
8063 "Create a branch/tag from a selected revision. This is useful e.g. if you "
8064 "forgot to create a tag and already committed some changes which weren't "
8065 "supposed to get into that release."
8067 "从选中的版本建立一个分支/标记。这个选项很有用。比如: 如果你提交了某些你不想使"
8068 "其进入发行版的修改,却忘记了为此建立标记。"
8071 #: ../source/TortoiseGit_en.xml:5651
8073 "Update your working copy to the selected revision. Useful if you want to have "
8074 "your working copy reflect a time in the past. It is best to update a whole "
8075 "directory in your working copy, not just one file, otherwise your working "
8076 "copy will be inconsistent and you will be unable to commit any changes."
8078 "将你的工作副本更新到选中的版本。如果你想要你的工作副本折返到过去的某个时间,那"
8079 "这个功能就很好用。你最好是更新工作副本的整个目录而不是单一某个文件,因为如果只"
8080 "更新某个文件,你的工作副本就可能不一致,从而导致你无法提交任何修改。"
8083 #: ../source/TortoiseGit_en.xml:5661
8085 "Revert changes from which were made in the selected revision. The changes are "
8086 "reverted in your working copy so this operation does <emphasis>not</emphasis> "
8087 "affect the repository at all! Note that this will undo the changes made in "
8088 "that revision only. It does not replace your working copy with the entire "
8089 "file at the earlier revision. This is very useful for undoing an earlier "
8090 "change when other unrelated changes have been made since. If you have made "
8091 "local changes, this command will merge these changes into your working copy."
8093 "还原选中版本所做的修改。还原的内容只在你的工作副本中,所以此操作完全<emphasis>"
8094 "不会</emphasis>影响版本库!要注意的是,这个操作仅仅还原该版本中的修改。不是将"
8095 "整个文件替换成选中的那个版本。它对于已经做过其它无关修改的还原早期修改非常有"
8096 "用。如果你做了本地修改,此命令将会合并修改到工作副本。"
8099 #: ../source/TortoiseGit_en.xml:5675
8101 "Revert to an earlier revision. If you have made several changes, and then "
8102 "decide that you really want to go back to how things were in revision N, this "
8103 "is the command you need. Again, the changes are reverted in your working copy "
8104 "so this operation does <emphasis>not</emphasis> affect the repository until "
8105 "you commit the changes. Note that this will undo <emphasis>all</emphasis> "
8106 "changes made after the selected revision, replacing the file/folder with the "
8107 "earlier version. If you have made local changes, this command will merge "
8108 "these changes into your working copy."
8110 "恢复到某个以前的版本。如果你做了多处修改,然后决定要返回到版本 N,你就可以使用"
8111 "这个命令。再次说明,恢复的修改位于你的工作副本,在你提交之前,并<emphasis>不会"
8112 "</emphasis>影响版本库。注意,这将会丢弃从那个版本以来的<emphasis>所有</"
8113 "emphasis>修改,使用选中的版本来替换文件/文件夹。"
8116 #: ../source/TortoiseGit_en.xml:5689
8118 "Merge the selected revision(s) into a different working copy. A folder "
8119 "selection dialog allows you to choose the working copy to merge into, but "
8120 "after that there is no confirmation dialog, nor any opportunity to try a dry "
8121 "run. It is a good idea to merge into an unmodified working copy so that you "
8122 "can revert the changes if it doesn't work out! This is a useful feature if "
8123 "you want to merge selected revisions from one branch to another."
8127 #: ../source/TortoiseGit_en.xml:5701
8129 "Make a fresh checkout of the selected folder at the selected revision. This "
8130 "brings up a dialog for you to confirm the URL and revision, and select a "
8131 "location for the checkout."
8133 "检出你选择的目录的选中版本,创建一个全新副本。它弹出对话框,让你确认URL和版"
8137 #: ../source/TortoiseGit_en.xml:5708
8139 "Export the selected file/folder at the selected revision. This brings up a "
8140 "dialog for you to confirm the URL and revision, and select a location for the "
8143 "导出选择的文件/目录的选中版本。它弹出对话框,让你确认URL和版本,选择导出位置。"
8146 #: ../source/TortoiseGit_en.xml:5715
8148 "Edit the log message or author attached to a previous commit. Read <xref "
8149 "linkend=\"tsvn-dug-showlog-4\"/> to find out how this works."
8151 "编辑之前提交时的日志信息或是作者。请阅读<xref linkend=\"tsvn-dug-showlog-4\"/"
8155 #: ../source/TortoiseGit_en.xml:5722
8157 "Copy the log details of the selected revisions to the clipboard. This will "
8158 "copy the revision number, author, date, log message and the list of changed "
8159 "items for each revision."
8161 "将选中版本的详细日志信息复制到剪贴板。它会复制版本号,作者,日期,日志信息,以"
8165 #: ../source/TortoiseGit_en.xml:5729
8167 "Search log messages for the text you enter. This searches the log messages "
8168 "that you entered and also the action summaries created by Git (shown "
8169 "in the bottom pane). The search is not case sensitive."
8171 "在日志信息中搜索你输入的的文字。这个操作搜索日志信息,也搜索由Git建立的"
8172 "提交行为总结(最底部的面板中的内容)。搜索大小写无关。"
8175 #: ../source/TortoiseGit_en.xml:5738
8177 "<placeholder-1/> If you select two revisions at once (using the usual "
8178 "<keycap>Ctrl</keycap>-modifier), the context menu changes and gives you fewer "
8179 "options: <placeholder-2/>"
8181 "<placeholder-1/>如果你使用<keycap>Ctrl</keycap>组合键一次选中了两个版本,右键"
8182 "菜单有所改变: <placeholder-2/>"
8185 #: ../source/TortoiseGit_en.xml:5740
8186 msgid "Top Pane Context Menu for 2 Selected Revisions"
8187 msgstr "选种两个版本的顶部面板的右键菜单"
8190 #: ../source/TortoiseGit_en.xml:5748
8192 "Compare the two selected revisions using a visual difference tool. The "
8193 "default Diff-Tool is TortoiseMerge which is supplied with TortoiseGit."
8195 "使用可视化差异比较工作比较两个选中的版本。默认的比较工作是与TortoiseGit一起提"
8199 #: ../source/TortoiseGit_en.xml:5753
8201 "If you select this option for a folder, a further dialog pops up listing the "
8202 "changed files and offering you further diff options. Read more about the "
8203 "Compare Revisions dialog in <xref linkend=\"tsvn-dug-compare-revs\"/>."
8205 "如果你是针对文件夹选中这个选项,则会弹出一个对话框列出修改过的文件,提供了更多"
8206 "的差异比较选项。请参考比较版本对话框获得详情: <xref linkend=\"tsvn-dug-"
8210 #: ../source/TortoiseGit_en.xml:5761
8213 "Blame the two revisions and compare the blame reports using a visual "
8214 "difference tool. Read <xref linkend=\"tsvn-dug-blame-diffs\"/> for more "
8217 "评审两个版本,并使用差异比较工作比较结果。详情请参考<xref linkend=\"tsvn-dug-"
8221 #: ../source/TortoiseGit_en.xml:5768
8223 "View the differences between the two selected revisions as a Unified-Diff "
8224 "file. This works for files and folders."
8225 msgstr "使用单一差异文件显示差异。这对文件和文件夹都有效。"
8228 #: ../source/TortoiseGit_en.xml:5774
8229 msgid "Copy log messages to clipboard as described above."
8230 msgstr "如前所述将日志消息复制到剪贴板。"
8233 #: ../source/TortoiseGit_en.xml:5779
8234 msgid "Search log messages as described above."
8235 msgstr "如前所述可以搜索日志消息。"
8238 #: ../source/TortoiseGit_en.xml:5785
8241 "If you select two or more revisions (using the usual <keycap>Ctrl</keycap> or "
8242 "<keycap>Shift</keycap> modifiers), the context menu will include an entry to "
8243 "Revert all changes which were made in the selected revisions. This is the "
8244 "easiest way to rollback a group of revisions in one go."
8246 "如果你用<keycap>Ctrl</keycap>或<keycap>Shift</keycap>组合键选择了多个连续的版"
8247 "本,右键菜单将有一个选项,可以让你还原这些版本中的修改。这是一次性还原多个版本"
8251 #: ../source/TortoiseGit_en.xml:5792
8253 "You can also choose to merge the selected revisions to another working copy, "
8254 "as described above."
8258 #: ../source/TortoiseGit_en.xml:5796
8260 "<placeholder-1/> The bottom pane of the Log dialog also has a context menu "
8261 "that allows you to <placeholder-2/>"
8263 "<placeholder-1/> 日志对话框的底部面板也有右键菜单,你可以: <placeholder-2/>"
8266 #: ../source/TortoiseGit_en.xml:5798
8267 msgid "The Log Dialog Bottom Pane with Context Menu"
8268 msgstr "日志对话框的底部面板的右键菜单"
8271 #: ../source/TortoiseGit_en.xml:5804
8274 "Show changes made in the selected revision for the selected file. This "
8275 "context menu is only available for files shown as <emphasis>modified</"
8278 "显示选中版本中的选中文件的差异。这个操作只对显示为<literal>已修改</literal>的"
8282 #: ../source/TortoiseGit_en.xml:5811
8285 "Blame the selected revision and the previous revision for the selected file, "
8286 "and compare the blame reports using a visual diff tool. Read <xref linkend="
8287 "\"tsvn-dug-blame-diffs\"/> for more detail."
8289 "评审选中文件的选中版本与前一个版本,使用可视化差异工具显示差异。详情请参阅"
8290 "<xref linkend=\"tsvn-dug-blame-diffs\"/> 。"
8294 #: ../source/TortoiseGit_en.xml:5819 ../source/TortoiseGit_en.xml:9548
8296 "Open the selected file, either with the default viewer for that file type, or "
8297 "with a program you choose."
8298 msgstr "用默认查看器或你指定的程序打开选中文件的选中版本。"
8301 #: ../source/TortoiseGit_en.xml:5825
8302 msgid "Revert the changes made to the selected file in that revision."
8303 msgstr "还原选中文件的选中版本所作的变更。"
8306 #: ../source/TortoiseGit_en.xml:5830
8307 msgid "View the Git properties for the selected item."
8308 msgstr "查看选中项的Git属性。"
8311 #: ../source/TortoiseGit_en.xml:5835
8312 msgid "Show the revision log for the selected single file."
8313 msgstr "显示选中的单个文件的版本日志。"
8316 #: ../source/TortoiseGit_en.xml:5840
8318 "Save the selected revision to a file so you have an older version of that "
8320 msgstr "将选中的版本保存成文件,你可以得到一份该文件的旧版本。"
8323 #: ../source/TortoiseGit_en.xml:5848
8325 "You may notice that sometimes we refer to changes and other times to "
8326 "differences. What's the difference?"
8327 msgstr "你可能会注意到,我们有时候说改变,有时候说差异。它们的区别在哪儿?"
8330 #: ../source/TortoiseGit_en.xml:5852
8333 "Git uses revision numbers to mean 2 different things. A revision "
8334 "generally represents the state of the repository at a point in time, but it "
8335 "can also be used to represent the changeset which created that revision, eg. "
8336 "<quote>Done in r1234</quote> means that the changes committed in r1234 "
8337 "implement feature X. To make it clearer which sense is being used, we use two "
8340 "Git 使用版本号表达两个意思。版本号通常意味着版本库在那个时间的状态,也"
8341 "用来表达那个版本创建的结果集,例如 “r1234 所做” 意味着 r1234 版本提交的改变实"
8342 "现了特性 X。为了能更清晰的知道使用了哪个语义,我们使用两个不同的术语。"
8345 #: ../source/TortoiseGit_en.xml:5861
8347 "If you select two revisions N and M, the context menu will offer to show the "
8348 "<emphasis>difference</emphasis> between those two revisions. In Git "
8349 "terms this is <literal>diff -r M:N</literal>."
8351 "如果你选择了两个版本 N 和 M,上下文菜单会显示这两个版本的<emphasis>差异</"
8352 "emphasis>。用 Git 术语说,就是<literal>diff -r M:N</literal>。"
8355 #: ../source/TortoiseGit_en.xml:5867
8357 "If you select a single revision N, the context menu will offer to show the "
8358 "<emphasis>changes</emphasis> made in that revision. In Git terms this "
8359 "is <literal>diff -r N-1:N</literal> or <literal>diff -c N</literal>."
8361 "如果你选择了一个版本 N,上下文菜单会显示这个版本的<emphasis>改变</emphasis>。"
8362 "用 Git 术语说,就是<literal>diff -r N-1:N</literal> 或 <literal>diff -"
8366 #: ../source/TortoiseGit_en.xml:5873
8369 "The bottom pane shows the files changed in all selected revisions, so the "
8370 "context menu always offers to show <emphasis>changes</emphasis>."
8372 "显示选中版本中的选中文件的差异。这个操作只对显示为<literal>已修改</literal>的"
8376 #: ../source/TortoiseGit_en.xml:5880
8377 msgid "Getting more log messages"
8381 #: ../source/TortoiseGit_en.xml:5881
8383 "The Log dialog does not always show all changes ever made for a number of "
8384 "reasons: <placeholder-1/>"
8386 "日志对话框并不总是显示所有曾经的修改,日志不显示的可能原因如下: <placeholder-"
8390 #: ../source/TortoiseGit_en.xml:5886
8393 "For a large repository there may be hundreds or even thousands of changes and "
8394 "fetching them all could take a long time. Normally you are only interested in "
8395 "the more recent changes. By default, the number of log messages fetched is "
8396 "limited to 100, but you can change this value in "
8397 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Settings</"
8398 "guimenuitem></menuchoice> (<xref linkend=\"tsvn-dug-settings-dialogs\"/>),"
8400 "对于一个大的库,可能存在几百上千个改动,全部得到它们可能要花上很久的时间。通常"
8401 "你只关心最近的修改。默认情况下,日志消息限制只获取100条,但你可以在"
8402 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>设置</guimenuitem></"
8403 "menuchoice>中修改这个值 (<xref linkend=\"tsvn-dug-settings\"/>),"
8406 #: ../source/TortoiseGit_en.xml:5901
8408 "When the <guilabel>Stop on copy/rename</guilabel> box is checked, Show Log "
8409 "will stop at the point that the selected file or folder was copied from "
8410 "somewhere else within the repository. This can be useful when looking at "
8411 "branches (or tags) as it stops at the root of that branch, and gives a quick "
8412 "indication of changes made in that branch only."
8414 "当<guilabel>复制/重命名时停止</guilabel>复选框被选中时, 如果选中的文件或文件"
8415 "夹是从版本库中的其他地方复制而来的,显示日志将停止在该点。这对于查看分支(或标"
8416 "记)时很有用,因为它会停在分支的根节点上,可以快速查看该分支的修改。"
8419 #: ../source/TortoiseGit_en.xml:5910
8421 "Normally you will want to leave this option unchecked. TortoiseGit remembers "
8422 "the state of the checkbox, so it will respect your preference."
8423 msgstr "一般情况下你可以不要勾选它。 TortoiseGit会记住它的状态,以改进性能。"
8426 #: ../source/TortoiseGit_en.xml:5915
8428 "When the Show Log dialog is invoked from within the Merge dialog, the box is "
8429 "always checked by default. This is because merging is most often looking at "
8430 "changes on branches, and going back beyond the root of the branch does not "
8431 "make sense in that instance."
8433 "如果你在从合并对话框中调用的显示日志对话框,那么这个复选框默认将总是选中的。这"
8434 "是由于合并通常都是查看分支中的修改, 获取分支的根之前的日志在这种情况下通常没"
8438 #: ../source/TortoiseGit_en.xml:5922
8440 "Note that Git currently implements renaming as a copy/delete pair, so "
8441 "renaming a file or folder will also cause the log display to stop if this "
8442 "option is checked."
8444 "注意,Git当前是用复制/删除来实现重命名的,所以重命名一个文件或文件夹也"
8445 "会造成日志显示停止(如果选择了复制/重命名时停止)在该点。"
8448 #: ../source/TortoiseGit_en.xml:5931
8450 "If you want to see more log messages, click the <guibutton>Next 100</"
8451 "guibutton> to retrieve the next 100 log messages. You can repeat this as many "
8454 "如果你要查看更多的日志信息,点击<guibutton>下100个</guibutton>,以获取下100个"
8455 "日志信息。如果有需要你可以多次重复这个操作。"
8458 #: ../source/TortoiseGit_en.xml:5936
8460 "Next to this button there is a multi-function button which remembers the last "
8461 "option you used it for. Click on the arrow to see the other options offered."
8463 "这个按钮旁边的是一个多功能按钮,它可以记住上一次你要它进行的操作。点击它上面的"
8467 #: ../source/TortoiseGit_en.xml:5941
8469 "Use <guibutton>Show Range ...</guibutton> if you want to view a specific "
8470 "range of revisions. A dialog will then prompt you to enter the start and end "
8473 "如果你要查询指定范围的版本,使用<guibutton>显示范围 ...</guibutton>。这会出现"
8474 "一个对话框,要求输入开始和结束的版本。"
8477 #: ../source/TortoiseGit_en.xml:5946
8479 "Use <guibutton>Show All</guibutton> if you want to see <emphasis>all</"
8480 "emphasis> log messages from HEAD right back to revision 1."
8482 "如果你要查询从最新版本直到版本1的<emphasis>所有的</emphasis>日志消息,使用"
8483 "<guibutton>显示所有</guibutton>。"
8486 #: ../source/TortoiseGit_en.xml:5952
8487 msgid "Current Working Copy Revision"
8491 #: ../source/TortoiseGit_en.xml:5953
8493 "Because the log dialog shows you the log from HEAD, not from the current "
8494 "working copy revision, it often happens that there are log messages shown for "
8495 "content which has not yet been updated in your working copy. To help make "
8496 "this clearer, the commit message which corresponds to the revision you have "
8497 "in your working copy is shown in bold."
8501 #: ../source/TortoiseGit_en.xml:5961
8503 "By default this only works for files. This is because the update revision for "
8504 "a folder may not correspond to the update revision of its content, and the "
8505 "only way to find the effective update revision for the folder is to crawl the "
8506 "working copy. This can be a slow operation for large working copies so if you "
8507 "want to enable this feature you must create a <literal>DWORD</literal> "
8508 "registry key with value 1 at <literal>HKCU\\Software\\TortoiseGit"
8509 "\\RecursiveLogRev</literal>."
8513 #: ../source/TortoiseGit_en.xml:5973
8514 msgid "Merge Tracking Features"
8518 #: ../source/TortoiseGit_en.xml:5975
8519 msgid "merge tracking log"
8523 #: ../source/TortoiseGit_en.xml:5977
8525 "Git 1.5 and later keeps a record of merges using properties. This "
8526 "allows us to get a more detailed history of merged changes. For example, if "
8527 "you develop a new feature on a branch and then merge that branch back to "
8528 "trunk, the feature development will show up on the trunk log as a single "
8529 "commit for the merge, even though there may have been 1000 commits during "
8530 "branch development."
8534 #: ../source/TortoiseGit_en.xml:5986
8535 msgid "The Log Dialog Showing Merge Tracking Revisions"
8536 msgstr "日志对话框显示合并跟踪版本"
8539 #: ../source/TortoiseGit_en.xml:5989
8541 "If you want to see the detail of which revisions were merged as part of that "
8542 "commit, use the <guilabel>Include merged revisions</guilabel> checkbox. This "
8543 "will fetch the log messages again, but will also interleave the log messages "
8544 "from revisions which were merged. Merged revisions are shown in grey because "
8545 "they represent changes made on a different part of the tree."
8549 #: ../source/TortoiseGit_en.xml:5997
8551 "Of course, merging is never simple! During feature development on the branch "
8552 "there will probably be occasional merges back from trunk to keep the branch "
8553 "in sync with the main line code. So the merge history of the branch will also "
8554 "include another layer of merge history. These different layers are shown in "
8555 "the log dialog using indentation levels."
8559 #: ../source/TortoiseGit_en.xml:6007
8560 msgid "Changing the Log Message and Author"
8564 #: ../source/TortoiseGit_en.xml:6009
8565 msgid "edit log/author"
8569 #: ../source/TortoiseGit_en.xml:6011
8571 "Sometimes you might want to change a log message you once entered, maybe "
8572 "because there's a spelling error in it or you want to improve the message or "
8573 "change it for other reasons. Or you want to change the author of the commit "
8574 "because you forgot to set up authentication or..."
8576 "有时你可能想要修改你曾经输入的日志消息,也许是因为有拼写错误或是你想改进消息内"
8577 "容,或是其他别的原因。偶尔你还想修改提交者,可能是你忘了设置认证等原因。"
8580 #: ../source/TortoiseGit_en.xml:6018
8583 "Git lets you change both the log message and the author of revisions "
8584 "any time you want. But since such changes can't be undone (those changes are "
8585 "not versioned) this feature is disabled by default. To make this work, you "
8586 "must set up a pre-revprop-change hook. Please refer to the chapter on <ulink "
8587 "url=\"http://svnbook.red-bean.com/en/1.5/svn.reposadmin.create.html#svn."
8588 "reposadmin.create.hooks\"><citetitle>Hook Scripts</citetitle></ulink> in the "
8589 "Git Book for details about how to do that. Read <xref linkend=\"tsvn-"
8590 "repository-hooks\"/> to find some further notes on implementing hooks on a "
8593 "Git允许你在任何时候修改日志消息和作者。但这种改变不可还原(不在版本控制"
8594 "之下),正因如此,这些功能默认是不可用的,如果要开启它,必须设置一个pre-"
8595 "revprop-change钩子。具体如何做,请参考《使用 Git 进行版本管理》的相关章"
8596 "节<ulink url=\"http://svnbook.red-bean.com/en/1.2/svn.reposadmin.create.html"
8597 "\"><citetitle>钩子脚本</citetitle></ulink>。在Windows机器上实现钩子的注意事项"
8598 "请阅读<xref linkend=\"tsvn-repository-hooks\"/>。"
8601 #: ../source/TortoiseGit_en.xml:6031
8604 "Once you've set up your server with the required hooks, you can change both "
8605 "author and log message of any revision, using the context menu from the top "
8606 "pane of the Log dialog. You can also edit a log message using the context "
8607 "menu for the middle pane."
8609 "一旦你按需要为服务器设置了钩子,你就可以使用日志对话框顶部面板的右键菜单来修改"
8613 #: ../source/TortoiseGit_en.xml:6038
8615 "Because Git's revision properties are not versioned, making "
8616 "modifications to such a property (for example, the <literal>svn:log</literal> "
8617 "commit message property) will overwrite the previous value of that property "
8618 "<emphasis>forever</emphasis>."
8620 "由于Git的版本属性不受版本控制,对于这种属性的修改(如 <literal>svn:log</"
8621 "literal>提交信息属性将<emphasis>永久</emphasis>覆盖该属性之前的值。"
8624 #: ../source/TortoiseGit_en.xml:6048
8625 msgid "Filtering Log Messages"
8629 #: ../source/TortoiseGit_en.xml:6050
8634 #: ../source/TortoiseGit_en.xml:6052
8636 "If you want to restrict the log messages to show only those you are "
8637 "interested in rather than scrolling through a list of hundreds, you can use "
8638 "the filter controls at the top of the Log Dialog. The start and end date "
8639 "controls allow you to restrict the output to a known date range. The search "
8640 "box allows you to show only messages which contain a particular phrase."
8642 "如果你只想要显示上千条日志中你所感兴趣的日志,你可以使用日志对话框顶部的过滤器"
8643 "控件。开始和结束日期控件允许你查看指定日期范围内的输出。查找框帮你查出含有指定"
8647 #: ../source/TortoiseGit_en.xml:6061
8649 "Click on the search icon to select which information you want to search in, "
8650 "and to choose <emphasis>regex</emphasis> mode. Normally you will only need a "
8651 "simple text search, but if you need to more flexible search terms, you can "
8652 "use regular expressions. If you hover the mouse over the box, a tooltip will "
8653 "give hints on how to use the regex functions. You can also find online "
8654 "documentation and a tutorial at <ulink url=\"http://www.regular-expressions."
8655 "info/\"><citetitle>http://www.regular-expressions.info/</citetitle></ulink>."
8659 #: ../source/TortoiseGit_en.xml:6073
8661 "Note that these filters act on the messages already retrieved. They do not "
8662 "control downloading of messages from the repository."
8664 "要注意的是,这些过滤器只对已经获取的信息有效。它们并不从版本库中下载信息。"
8667 #: ../source/TortoiseGit_en.xml:6077
8670 "You can also filter the path names in the bottom pane using the "
8671 "<guilabel>Hide unrelated changed paths</guilabel> checkbox. Related paths are "
8672 "those which contain the path used to display the log. If you fetch the log "
8673 "for a folder, that means anything in that folder or below it. For a file it "
8674 "means just that one file. The checkbox is tristate: you can show all paths, "
8675 "grey out the unrelated ones, or hide the unrelated paths completely."
8677 "你还可以使用<guilabel>隐藏无关的修改路径</guilabel> 复选框来过滤底部面板中的路"
8678 "径名称。所谓相关路径,是指那些与日志相关的路径。对于一个文件夹的日志来说,相关"
8679 "路径就是该文件夹以其下的所有内容。对于一个文件的日志来说,相关路径就是与该文件"
8680 "的路径。该复选框是3态的: 可以显示所有的路径,将无关的内容灰色显示,或是完全隐"
8684 #: ../source/TortoiseGit_en.xml:6086
8686 "Sometimes your working practices will require log messages to follow a "
8687 "particular format, which means that the text describing the changes is not "
8688 "visible in the abbreviated summary shown in the top pane. The property "
8689 "<literal>tsvn:logsummary</literal> can be used to extract a portion of the "
8690 "log message to be shown in the top pane. Read <xref linkend=\"tsvn-dug-"
8691 "propertypage-tsvn-props\"/> to find out how to use this property."
8695 #: ../source/TortoiseGit_en.xml:6098
8696 msgid "Statistical Information"
8700 #: ../source/TortoiseGit_en.xml:6100
8705 #: ../source/TortoiseGit_en.xml:6102
8707 "The <guibutton>Statistics</guibutton> button brings up a box showing some "
8708 "interesting information about the revisions shown in the Log dialog. This "
8709 "shows how many authors have been at work, how many commits they have made, "
8710 "progress by week, and much more. Now you can see at a glance who has been "
8711 "working hardest and who is slacking ;-)"
8713 "<guibutton>统计</guibutton>按扭,可以显示一些你感兴趣的关于日志对话框中版本的"
8714 "信息。可以显示已经有几个作者做了工作,他们各提交了几次,按周的统计,等等。现"
8715 "在,你可以发现一个大概情况: 谁最勤快,谁偷懒。;-)"
8718 #: ../source/TortoiseGit_en.xml:6111
8719 msgid "Statistics Page"
8723 #: ../source/TortoiseGit_en.xml:6112
8725 "This page gives you all the numbers you can think of, in particular the "
8726 "period and number of revisions covered, and some min/max/average values."
8728 "此页可以提供所有你可以想到的数据,特别是周期和包括的版本数,还有一些最大/最小/"
8732 #: ../source/TortoiseGit_en.xml:6119
8733 msgid "Commits by Author Page"
8737 #: ../source/TortoiseGit_en.xml:6120
8739 "<placeholder-1/> This graph shows you which authors have been active on the "
8740 "project as a simple histogram, stacked histogram or pie chart. <placeholder-2/"
8743 "<placeholder-1/>此图用简单柱状图、叠加柱状图或饼图显示了哪些作者已经在项目中活"
8744 "跃了。 <placeholder-2/>"
8747 #: ../source/TortoiseGit_en.xml:6122
8748 msgid "Commits-by-Author Histogram"
8749 msgstr "作者提交次数统计柱状图"
8752 #: ../source/TortoiseGit_en.xml:6129
8753 msgid "Commits-by-Author Pie Chart"
8757 #: ../source/TortoiseGit_en.xml:6133
8760 "Where there are a few major authors and many minor contributors, the number "
8761 "of tiny segments can make the graph more difficult to read. The slider at the "
8762 "bottom allows you to set a threshold (as a percentage of total commits) below "
8763 "which any activity is grouped into an <emphasis>Others</emphasis> category."
8765 "其中有几个主要作者和许多辅助的作者。由于太小的部分会导致图形难于阅读,所以在底"
8766 "部有个滑动条,可以设置一个范围(占所有提交的百分比),在这个范围下的所有行为都整"
8767 "合成<emphasis>其他</emphasis>类。"
8770 #: ../source/TortoiseGit_en.xml:6142
8771 msgid "Commits by date Page"
8775 #: ../source/TortoiseGit_en.xml:6143
8777 "<placeholder-1/> This page gives you a graphical representation of project "
8778 "activity in terms of number of commits <emphasis>and</emphasis> author. This "
8779 "gives some idea of when a project is being worked on, and who was working at "
8782 "<placeholder-1/>本页图示了以提交次数<emphasis>和</emphasis>作者作为条件的项目"
8783 "行为统计。这里可以看出项目什么时候有人在工作,以及什么人在什么时候进行了工作。"
8786 #: ../source/TortoiseGit_en.xml:6145
8787 msgid "Commits-by-date Graph"
8791 #: ../source/TortoiseGit_en.xml:6153
8793 "When there are several authors, you will get many lines on the graph. There "
8794 "are two views available here: <emphasis>normal</emphasis>, where each "
8795 "author's activity is relative to the base line, and <emphasis>stacked</"
8796 "emphasis>, where each author's activity is relative to the line underneath. "
8797 "The latter option avoids the lines crossing over, which can make the graph "
8798 "easier to read, but less easy to see one author's output."
8800 "如果有多个作者,你就会在图中看到多行。有两种视图可用<emphasis>正常</"
8801 "emphasis>,在这里,每个作者的行为都相对于基线;<emphasis>叠加</emphasis>,在这"
8802 "里每个作者的行为是相对于他的下面那条线。后一种视图避免了线的交叉,对于图来说更"
8803 "明了,但对查看一个作者的输出比较不直观。"
8806 #: ../source/TortoiseGit_en.xml:6163
8809 "By default the analysis is case-sensitive, so users <literal>PeterEgan</"
8810 "literal> and <literal>PeteRegan</literal> are treated as different authors. "
8811 "However, in many cases user names are not case-sensitive, and are sometimes "
8812 "entered inconsistently, so you may want <literal>DavidMorgan</literal> and "
8813 "<literal>davidmorgan</literal> to be treated as the same person. Use the "
8814 "<guilabel>Authors case insensitive</guilabel> checkbox to control how this is "
8817 "默认统计是区别大小写的,也就是说用户<literal>PeterEgan</literal>与"
8818 "<literal>PeteRegan</literal>被认为是两个不同的作者。但在多数时候用户名并不区别"
8819 "大小写,有时会存在不一致,所以你可能希望<literal>PeterEgan</literal>和"
8820 "<literal>PeteRegan</literal>能被当成是同一个作者。使用<guilabel>作者不区分大小"
8821 "写</guilabel>复选框来控制。"
8824 #: ../source/TortoiseGit_en.xml:6173
8826 "Note that the statistics cover the same period as the Log dialog. If that is "
8827 "only displaying one revision then the statistics will not tell you very much."
8829 "注意,统计只包括了日志对话框中的那段时期。如果日志对话框中只显示一个版本,那么"
8833 #: ../source/TortoiseGit_en.xml:6181
8834 msgid "Offline Mode"
8838 #: ../source/TortoiseGit_en.xml:6182
8840 "If the server is not reachable, and you have log caching enabled you can use "
8841 "the log dialog and revision graph in offline mode. This uses data from the "
8842 "cache, which allows you to continue working although the information may not "
8843 "be up-to-date or even complete."
8848 #: ../source/TortoiseGit_en.xml:6190 ../source/TortoiseGit_en.xml:9965
8849 msgid "Refreshing the View"
8853 #: ../source/TortoiseGit_en.xml:6191
8855 "If you want to check the server again for newer log messages, you can simply "
8856 "refresh the view using <keycap>F5</keycap>. If you are using the log cache "
8857 "(enabled by default), this will check the repository for newer messages and "
8858 "fetch only the new ones. If the log cache was in offline mode, this will also "
8859 "attempt to go back online."
8863 #: ../source/TortoiseGit_en.xml:6199
8865 "If you are using the log cache and you think the message content or author "
8866 "may have changed, you can use <keycap>Shift-F5</keycap> or <keycap>Ctrl-F5</"
8867 "keycap> to re-fetch the displayed messages from the server and update the log "
8868 "cache. Note that this only affects messages currently shown and does not "
8869 "invalidate the entire cache for that repository."
8873 #: ../source/TortoiseGit_en.xml:6210
8874 msgid "Viewing Differences"
8879 #: ../source/TortoiseGit_en.xml:6212 ../source/TortoiseGit_en.xml:9139
8884 #: ../source/TortoiseGit_en.xml:6215
8889 #: ../source/TortoiseGit_en.xml:6217
8892 "One of the commonest requirements in project development is to see what has "
8893 "changed. You might want to look at the differences between two revisions of "
8894 "the same file, or the differences between two separate files. TortoiseGit "
8895 "provides a built-in tool named <application>TortoiseMerge</application> for "
8896 "viewing differences of text files. For viewing differences of image files, "
8897 "TortoiseGit also has a tool named <application>TortoiseIDiff</application>. "
8898 "Of course, you can use your own favourite diff program if you like."
8900 "在项目开发中,有一个很常用的要求就是查看更改。可能是你要求查看同一文件的两个版"
8901 "本之间的差异,或者是查看两个独立的文件的差异。TortoiseGit自带了一个工具叫"
8902 "<application>TortoiseMerge</application>用来查看文本文件的差异。也有一个叫"
8903 "<application>TortoiseIDiff</application>的工具来比较图像文件的差异。当然,你可"
8904 "以根据你自己的喜好来选择比较差异的工具。"
8907 #: ../source/TortoiseGit_en.xml:6231
8908 msgid "File Differences"
8912 #: ../source/TortoiseGit_en.xml:6234
8913 msgid "Local changes"
8917 #: ../source/TortoiseGit_en.xml:6236
8919 "If you want to see what changes <emphasis>you</emphasis> have made in your "
8920 "working copy, just use the explorer context menu and select "
8921 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Diff</guimenuitem></"
8924 "如果你想看到你的本地副本有哪些更加,只用在资源管理器中右键菜单下选"
8925 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>比较差异</"
8926 "guimenuitem></menuchoice>。"
8929 #: ../source/TortoiseGit_en.xml:6248
8930 msgid "Difference to another branch/tag"
8931 msgstr "与另外一个分支/标签之间的差异"
8934 #: ../source/TortoiseGit_en.xml:6250
8936 "If you want to see what has changed on trunk (if you are working on a branch) "
8937 "or on a specific branch (if you are working on trunk), you can use the "
8938 "explorer context menu. Just hold down the <keycap>Shift</keycap> key while "
8939 "you right click on the file. Then select <menuchoice><guimenu>TortoiseGit</"
8940 "guimenu><guimenuitem>Diff with URL</guimenuitem></menuchoice>. In the "
8941 "following dialog, specify the URL in the repository with which you want to "
8942 "compare your local file to."
8944 "如果你想查看主干程序(假如你在分支上开发)有哪些修改或者是某一分支(假如你在主干"
8945 "上开发)有哪些修改,你可以使用右键菜单。在你点击文件的同时按住<keycap>Shift</"
8946 "keycap>键,然后选择<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem> URL"
8947 "比较</guimenuitem></menuchoice>。在弹出的对话框中,将特别显示将与你本地版本做"
8951 #: ../source/TortoiseGit_en.xml:6263
8953 "You can also use the repository browser and select two trees to diff, perhaps "
8954 "two tags, or a branch/tag and trunk. The context menu there allows you to "
8955 "compare them using <guimenuitem>Compare revisions</guimenuitem>. Read more in "
8956 "<xref linkend=\"tsvn-dug-compare-revs\"/>."
8958 "你还可以使用版本库浏览器,选择两个目录树比较,也许是两个标记,或者是分支/标记"
8959 "和最新版本。邮件菜单允许你使用<guimenuitem>比较版本</guimenuitem>来比较它们。"
8960 "阅读<xref linkend=\"tsvn-dug-compare-revs\"/>以便获得更多信息。"
8963 #: ../source/TortoiseGit_en.xml:6273
8964 msgid "Difference from a previous revision"
8968 #: ../source/TortoiseGit_en.xml:6275
8970 "If you want to see the difference between a particular revision and your "
8971 "working copy, use the Revision Log dialog, select the revision of interest, "
8972 "then select <guimenuitem>Compare with working copy</guimenuitem> from the "
8975 "如果你想查看某一特定版本与本地副本之间的差异,使用显示日志对话框,选择要比较的"
8976 "版本,然后选择在右键菜单中选<guimenuitem>与本地副本比较差异</guimenuitem>"
8979 #: ../source/TortoiseGit_en.xml:6282
8981 "If you want to see the difference between the last committed revision and "
8982 "your working copy, assuming that the working copy hasn't been modified, just "
8983 "right click on the file. Then select <menuchoice><guimenu>TortoiseGit</"
8984 "guimenu><guimenuitem>Diff with previous version</guimenuitem></menuchoice>. "
8985 "This will perform a diff between the revision before the last-commit-date (as "
8986 "recorded in your working copy) and the working BASE. This shows you the last "
8987 "change made to that file to bring it to the state you now see in your working "
8988 "copy. It will not show changes newer than your working copy."
8992 #: ../source/TortoiseGit_en.xml:6299
8993 msgid "Difference between two previous revisions"
8997 #: ../source/TortoiseGit_en.xml:6301
8999 "If you want to see the difference between two revisions which are already "
9000 "committed, use the Revision Log dialog and select the two revisions you want "
9001 "to compare (using the usual <keycap>Ctrl</keycap>-modifier). Then select "
9002 "<guimenuitem>Compare revisions</guimenuitem> from the context menu."
9004 "如果你要查看任意已提交的两个历史版本之间的差异,在版本日志对话框中选择你要比较"
9005 "的两个版本(一般使用 <keycap>Ctrl</keycap>-更改),然后在右键菜单中选"
9006 "<guimenuitem>比较版本差异</guimenuitem>"
9009 #: ../source/TortoiseGit_en.xml:6309
9011 "If you did this from the revision log for a folder, a Compare Revisions "
9012 "dialog appears, showing a list of changed files in that folder. Read more in "
9013 "<xref linkend=\"tsvn-dug-compare-revs\"/>."
9015 "如果你在文件夹的版本日志中这样做,就会出现一个比较版本对话框,显示此文件夹的文"
9016 "件修改列表。阅读<xref linkend=\"tsvn-dug-compare-revs\"/>以便获得更多信息。"
9019 #: ../source/TortoiseGit_en.xml:6318
9020 msgid "All changes made in a commit"
9024 #: ../source/TortoiseGit_en.xml:6320
9026 "If you want to see the changes made to all files in a particular revision in "
9027 "one view, you can use Unified-Diff output (GNU patch format). This shows only "
9028 "the differences with a few lines of context. It is harder to read than a "
9029 "visual file compare, but will show all the changes together. From the "
9030 "Revision Log dialog select the revision of interest, then select "
9031 "<guimenuitem>Show Differences as Unified-Diff</guimenuitem> from the context "
9034 "如果你要在一个视窗中查看某一版本的所有更改,你可以使用统一显示所有比较 (GNU 片"
9035 "段整理)。它将显示所有修改中的部分内容。它很难显示一个全面清晰的比较,但是会将"
9036 "所有更改都集中显示出来。在版本日志对话框中选择某一版本,然后在右键菜单中选择"
9037 "<guimenuitem>统一显示所有比较</guimenuitem>。"
9040 #: ../source/TortoiseGit_en.xml:6334
9041 msgid "Difference between files"
9045 #: ../source/TortoiseGit_en.xml:6336
9047 "If you want to see the differences between two different files, you can do "
9048 "that directly in explorer by selecting both files (using the usual "
9049 "<keycap>Ctrl</keycap>-modifier). Then from the explorer context menu select "
9050 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Diff</guimenuitem></"
9053 "如果你要查看两个不同文件之间的差异,你可以直接在资源管理器中选择这两个文件(一"
9054 "般使用 <keycap>Ctrl</keycap>-modifier),然后右键菜单中选"
9055 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>比较差异</"
9056 "guimenuitem></menuchoice>。"
9059 #: ../source/TortoiseGit_en.xml:6349
9060 msgid "Difference between WC file/folder and a URL"
9061 msgstr "WC文件/文件夹与URL之间的比较差异"
9064 #: ../source/TortoiseGit_en.xml:6351
9067 "If you want to see the differences between a file in your working copy, and a "
9068 "file in any Git repository, you can do that directly in explorer by "
9069 "selecting the file then holding down the <keycap>Shift</keycap> key whilst "
9070 "right clicking to obtain the context menu. Select "
9071 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Diff with URL</"
9072 "guimenuitem></menuchoice>. You can do the same thing for a working copy "
9073 "folder. TortoiseMerge shows these differences in the same way as it shows a "
9074 "patch file - a list of changed files which you can view one at a time."
9075 msgstr "如果你要查看你本地副本中的任一文件与版本库中任一文件之间差异,"
9078 #: ../source/TortoiseGit_en.xml:6369
9079 msgid "Difference with blame information"
9080 msgstr "追溯信息之间的比较差异"
9083 #: ../source/TortoiseGit_en.xml:6371
9085 "If you want to see not only the differences but also the author, revision and "
9086 "date that changes were made, you can combine the diff and blame reports from "
9087 "within the revision log dialog. Read <xref linkend=\"tsvn-dug-blame-diffs\"/> "
9090 "如果你要查看的不仅是比较差异而且包括修改该版本的作者,版本号和日期,你可以在版"
9091 "本日志对话框中综合比较差异和谴责信息。这里有更多详细介绍<xref linkend=\"tsvn-"
9092 "dug-blame-diffs\"/>。"
9095 #: ../source/TortoiseGit_en.xml:6380
9096 msgid "Difference between folders"
9100 #: ../source/TortoiseGit_en.xml:6382
9102 "The built-in tools supplied with TortoiseGit do not support viewing "
9103 "differences between directory hierarchies. But if you have an external tool "
9104 "which does support that feature, you can use that instead. In <xref linkend="
9105 "\"tsvn-dug-diff-tools\"/> we tell you about some tools which we have used."
9107 "TortoiseGit 自带的内置工具不支持查看多级目录之间的差异,但你可以使用支持该功能"
9108 "的外置工具来替代。在 <xref linkend=\"tsvn-dug-diff-tools\"/> 介绍了一些我们使"
9112 #: ../source/TortoiseGit_en.xml:6392
9114 "If you have configured a third party diff tool, you can use <keycap>Shift</"
9115 "keycap> when selecting the Diff command to use the alternate tool. Read <xref "
9116 "linkend=\"tsvn-dug-settings-progs\"/> to find out about configuring other "
9121 #: ../source/TortoiseGit_en.xml:6401
9122 msgid "Line-end and Whitespace Options"
9126 #: ../source/TortoiseGit_en.xml:6402
9128 "Sometimes in the life of a project you might change the line endings from "
9129 "<literal>CRLF</literal> to <literal>LF</literal>, or you may change the "
9130 "indentation of a section. Unfortunately this will mark a large number of "
9131 "lines as changed, even though there is no change to the meaning of the code. "
9132 "The options here will help to manage these changes when it comes to comparing "
9133 "and applying differences. You will see these settings in the <guilabel>Merge</"
9134 "guilabel> and <guilabel>Blame</guilabel> dialogs, as well as in the settings "
9135 "for TortoiseMerge."
9139 #: ../source/TortoiseGit_en.xml:6413
9141 "<guilabel>Ignore line endings</guilabel> excludes changes which are due "
9142 "solely to difference in line-end style."
9143 msgstr "<guilabel>忽略行结束符</guilabel>排除仅行结束符的差异。"
9146 #: ../source/TortoiseGit_en.xml:6417
9148 "<guilabel>Compare whitespaces</guilabel> includes all changes in indentation "
9149 "and inline whitespace as added/removed lines."
9151 "<guilabel>比较空白</guilabel>将所有缩进和行内空白差异视为增加/删除的行。"
9154 #: ../source/TortoiseGit_en.xml:6422
9156 "<guilabel>Ignore whitespace changes</guilabel> excludes changes which are due "
9157 "solely to a change in the amount or type of whitespace, eg. changing the "
9158 "indentation or changing tabs to spaces. Adding whitespace where there was "
9159 "none before, or removing a whitespace completely is still shown as a change."
9163 #: ../source/TortoiseGit_en.xml:6430
9165 "<guilabel>Ignore all whitespaces</guilabel> excludes all whitespace-only "
9167 msgstr "<guilabel>忽略所有空白</guilabel>排除仅空白改变的差异。"
9170 #: ../source/TortoiseGit_en.xml:6434
9171 msgid "Naturally, any line with changed content is always included in the diff."
9172 msgstr "自然的,任何已经修改内容的行永远都包含在差异中。"
9175 #: ../source/TortoiseGit_en.xml:6440
9176 msgid "Comparing Folders"
9180 #: ../source/TortoiseGit_en.xml:6442
9181 msgid "compare revisions"
9185 #: ../source/TortoiseGit_en.xml:6445
9186 msgid "export changes"
9190 #: ../source/TortoiseGit_en.xml:6447
9192 "<placeholder-1/> When you select two trees within the repository browser, or "
9193 "when you select two revisions of a folder in the log dialog, you can "
9194 "<menuchoice><guimenu>Context menu</guimenu><guimenuitem>Compare revisions</"
9195 "guimenuitem></menuchoice>."
9197 "<placeholder-1/> 当你在版本库浏览器中选择了两个树,或者在日志对话框中选择了一"
9198 "个文件夹的两个版本,就可以使用<menuchoice><guimenu>上下文菜单</"
9199 "guimenu><guimenuitem>比较版本</guimenuitem></menuchoice>。"
9202 #: ../source/TortoiseGit_en.xml:6449
9203 msgid "The Compare Revisions Dialog"
9204 msgstr "修订版本版本比较对话框"
9207 #: ../source/TortoiseGit_en.xml:6459
9209 "This dialog shows a list of all files which have changed and allows you to "
9210 "compare or blame them individually using context menu."
9212 "这个对话框显示一个所有已经修改的文件列表,允许你使用邮件菜单单独的比较或回溯它"
9216 #: ../source/TortoiseGit_en.xml:6463
9218 "You can also export the list of changed files to a text file, or you can "
9219 "export the changed files themselves to a folder. This operation works on the "
9220 "selected files only, so you need to select the files of interest - usually "
9221 "that means all of them."
9223 "你也可以将已经修改的文件列表导出到一个文本文件中,或者将修改的文件导出到一个目"
9224 "录。这个操作只在选择的文件上工作,所以你需要选择感兴趣的文件 - 通常是所有文"
9228 #: ../source/TortoiseGit_en.xml:6469
9231 "If you want to export the list of files <emphasis>and</emphasis> the actions "
9232 "(modified, added, deleted) as well, you can do that using the keyboard "
9233 "shortcuts <keycap>Ctrl-A</keycap> to select all entries and <keycap>Ctrl-C</"
9234 "keycap> to copy the detailed list to the clipboard."
9236 "如果你需要导出文件列表<emphasis>和</emphasis>和动作(修改,增加,删除),你可以"
9237 "使用快捷键<action>Ctrl-A</action>选择所有项,用<action>Ctrl-C</action>将详细列"
9241 #: ../source/TortoiseGit_en.xml:6475
9243 "The button at the top allows you to change the direction of comparison. You "
9244 "can show the changes need to get from A to B, or if you prefer, from B to A."
9246 "顶部的按钮允许你改变比较的方向。你可以显示从A到B的修改,或者如果你喜欢,显示从"
9250 #: ../source/TortoiseGit_en.xml:6480
9252 "The buttons with the revision numbers on can be used to change to a different "
9253 "revision range. When you change the range, the list of items which differ "
9254 "between the two revisions will be updated automatically."
9256 "有版本数字的按钮可以用来改变版本范围。当你改变范围时,两个版本不同的项目列表会"
9260 #: ../source/TortoiseGit_en.xml:6485
9262 "If the list of filenames is very long, you can use the search box to reduce "
9263 "the list to filenames containing specific text. Note that a simple text "
9264 "search is used, so if you want to restrict the list to C source files you "
9265 "should enter <filename>.c</filename> rather than <filename>*.c</filename>."
9269 #: ../source/TortoiseGit_en.xml:6494
9270 msgid "Diffing Images Using TortoiseIDiff"
9271 msgstr "使用 TortoiseIDiff 进行比较的图像"
9274 #: ../source/TortoiseGit_en.xml:6496
9279 #: ../source/TortoiseGit_en.xml:6499
9280 msgid "TortoiseIDiff"
9281 msgstr "TortoiseIDiff"
9284 #: ../source/TortoiseGit_en.xml:6501
9286 "There are many tools available for diffing text files, including our own "
9287 "TortoiseMerge, but we often find ourselves wanting to see how an image file "
9288 "has changed too. That's why we created TortoiseIDiff."
9290 "我们有许多有用的比较文本文件的工具,包括我们自带的TortoiseMerge,但是我们也需"
9291 "要查看图像文件的更改。这就是我们设计TortoiseIDiff的原因。"
9294 #: ../source/TortoiseGit_en.xml:6506
9296 "<placeholder-1/><menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Diff</"
9297 "guimenuitem></menuchoice> for any of the common image file formats will start "
9298 "TortoiseIDiff to show image differences. By default the images are displayed "
9299 "side-by-side but you can use the View menu or toolbar to switch to a top-"
9300 "bottom view instead, or if you prefer, you can overlay the images and pretend "
9301 "you are using a lightbox."
9303 "<placeholder-1/><menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>比较差"
9304 "异</guimenuitem></menuchoice> 会启动 TortoiseIDiff 显示常用格式的图像差异。一"
9305 "般情况下是左右对称地显示两个图像,但你也可以通过视图菜单或者工具栏切换为上下显"
9306 "示的模式,或者如果你愿意,也可以重叠显示图像。"
9309 #: ../source/TortoiseGit_en.xml:6508
9310 msgid "The image difference viewer"
9314 #: ../source/TortoiseGit_en.xml:6521
9317 "Naturally you can also zoom in and out and pan around the image. You can also "
9318 "pan the image simply by left-dragging it. If you select the <guilabel>Link "
9319 "images together</guilabel> option, then the pan controls (scrollbars, "
9320 "mousewheel) on both images are linked."
9322 "当然你也可以放大和缩小,或者拉伸图像。你也可以简单的通过左拖组合图像。如果你选"
9323 "择<guilabel>连接图像</guilabel>,则被选择(滑动条,鼠标)的两个图像就被关联起"
9327 #: ../source/TortoiseGit_en.xml:6527
9330 "An image info box shows details about the image file, such as the size in "
9331 "pixels, resolution and colour depth. If this box gets in the way, use "
9332 "<menuchoice><guimenu>View</guimenu><guimenuitem>Image Info</guimenuitem></"
9333 "menuchoice> to hide it. You can get the same information in a tooltip if you "
9334 "hover the mouse over the image title bar."
9336 "在图像信息框中显示了图像的基本信息,比如像素的大小,颜色的深度。如果觉得这个框"
9337 "碍眼可以选择<menuchoice><guimenu>视图</guimenu><guimenuitem>图像信息</"
9338 "guimenuitem></menuchoice>来隐藏它"
9341 #: ../source/TortoiseGit_en.xml:6539
9344 "When the images are overlaid, the relative intensity of the images (alpha "
9345 "blend) is controlled by a slider control at the left side. You can click "
9346 "anywhere in the slider to set the blend directly, or you can drag the slider "
9347 "to change the blend interactively. <keycap>Ctrl+Shift</keycap>-<action>Wheel</"
9348 "action> to change the blend."
9350 "当图像重载时,其亮度(alpha 混合)由左边的滑杆控制。你可以在滑杆的任意地方点击,"
9351 "直接设置混合参数,或者通过拖曳滑板来交互改变。<action>Ctrl-Shift-Wheel</"
9355 #: ../source/TortoiseGit_en.xml:6546
9357 "The button above the slider toggles between two preset blends, indicated by "
9358 "the markers on either side of the blend slider. By default one is at the top "
9359 "and the other at the bottom, so the toggle button just switches between one "
9360 "image and the other. You can move the markers to choose the two blend values "
9361 "that the toggle button will use."
9363 "滑杆上部的按钮在两个混合展现之间切换,它标记了混合滑杆控制哪边。默认一个在顶"
9364 "部,另一个在底部,所以切换按钮只是在一个图像与另一个之间转换。你可以移动标记选"
9368 #: ../source/TortoiseGit_en.xml:6553
9370 "Sometimes you want to see a difference rather than a blend. You might have "
9371 "the image files for two revisions of a printed circuit board and want to see "
9372 "which tracks have changed. If you disable alpha blend mode, the difference "
9373 "will be shown as an <emphasis>XOR</emphasis> of the pixel colour values. "
9374 "Unchanged areas will be plain white and changes will be coloured."
9378 #: ../source/TortoiseGit_en.xml:6563
9379 msgid "External Diff/Merge Tools"
9383 #: ../source/TortoiseGit_en.xml:6565
9388 #: ../source/TortoiseGit_en.xml:6568
9393 #: ../source/TortoiseGit_en.xml:6570
9395 "If the tools we provide don't do what you need, try one of the many open-"
9396 "source or commercial programs available. Everyone has their own favourites, "
9397 "and this list is by no means complete, but here are a few that you might "
9400 "如果我们提供的这些工具不是你所需要的,可以尝试使用一些其他开源的或者商业的软"
9401 "件。每个人都有不同喜好,下面列表虽不完全,或许有些你也会认可的: "
9404 #: ../source/TortoiseGit_en.xml:6578
9409 #: ../source/TortoiseGit_en.xml:6580
9411 "<ulink url=\"http://winmerge.sourceforge.net/\"><citetitle>WinMerge</"
9412 "citetitle></ulink> is a great open-source diff tool which can also handle "
9415 "<ulink url=\"http://winmerge.sourceforge.net/\"><citetitle>WinMerge</"
9416 "citetitle></ulink>WinMerge也是一款很好的能处理目录的开源软件。"
9419 #: ../source/TortoiseGit_en.xml:6590
9420 msgid "Perforce Merge"
9421 msgstr "Perforce Merge"
9424 #: ../source/TortoiseGit_en.xml:6592
9426 "Perforce is a commercial RCS, but you can download the diff/merge tool for "
9427 "free. Get more information from <ulink url=\"http://www.perforce.com/perforce/"
9428 "products/merge.html\"><citetitle>Perforce</citetitle></ulink>."
9430 "Perforce 是一款商业 RCS,但是你也可以免费下载到。可以从<ulink url=\"http://"
9431 "www.perforce.com/perforce/products/merge.html\"><citetitle>Perforce</"
9432 "citetitle></ulink>获得更多信息。"
9435 #: ../source/TortoiseGit_en.xml:6602
9440 #: ../source/TortoiseGit_en.xml:6604
9442 "KDiff3 is a free diff tool which can also handle directories. You can "
9443 "download it from <ulink url=\"http://kdiff3.sf.net/\"><citetitle>here</"
9444 "citetitle></ulink>."
9446 "KDiff3也是一款能处理目录的免费比较工具。你可以从<ulink url=\"http://kdiff3.sf."
9447 "net/\"><citetitle>here</citetitle></ulink>下载。"
9450 #: ../source/TortoiseGit_en.xml:6614
9455 #: ../source/TortoiseGit_en.xml:6616
9457 "ExamDiff Standard is freeware. It can handle files but not directories. "
9458 "ExamDiff Pro is shareware and adds a number of goodies including directory "
9459 "diff and editing capability. In both flavours, version 3.2 and above can "
9460 "handle unicode. You can download them from <ulink url=\"http://www.prestosoft."
9461 "com/\"><citetitle>PrestoSoft</citetitle></ulink>."
9463 "ExamDiff Standard是免费软件。它能处理文件但不能处理目录。ExamDiff Pro是共享软"
9464 "件,拥有一系列的功能包括目录比较和编辑的能力。对于以上体验,3.2及以上版本能处"
9465 "理二进制。你可以从<ulink url=\"http://www.prestosoft.com/"
9466 "\"><citetitle>PrestoSoft</citetitle></ulink>下载它们。"
9469 #: ../source/TortoiseGit_en.xml:6631
9470 msgid "Beyond Compare"
9471 msgstr "Beyond Compare"
9474 #: ../source/TortoiseGit_en.xml:6633
9476 "Similar to ExamDiff Pro, this is an excellent shareware diff tool which can "
9477 "handle directory diffs and unicode. Download it from <ulink url=\"http://www."
9478 "scootersoftware.com/\"><citetitle>Scooter Software</citetitle></ulink>."
9480 "和ExamDiff Pro一样,这也是一款很不错的共享软件,同样也能进行目录比较和二进制处"
9481 "理。下载地址<ulink url=\"http://www.scootersoftware.com/\"><citetitle>Scooter "
9482 "Software</citetitle></ulink>。"
9485 #: ../source/TortoiseGit_en.xml:6644
9486 msgid "Araxis Merge"
9487 msgstr "Araxis Merge"
9490 #: ../source/TortoiseGit_en.xml:6646
9493 "Araxis Merge is a useful commercial tool for diff and merging both files and "
9494 "folders. It does three-way comparison in merges and has synchronization links "
9495 "to use if you've changed the order of functions. Download it from <ulink url="
9496 "\"http://www.araxis.com/merge/index.html\"><citetitle>Araxis</citetitle></"
9499 "Araxis Merge是一款能对文件和文件夹进行比较和合并的商业软件。它从三条比较路径进"
9500 "行合并,而且在你修改的同时进行及时有效的链接。可以从这里下载<ulink url="
9501 "\"http://www.araxis.com/merge/index.html\"><citetitle>Araxis</citetitle></"
9505 #: ../source/TortoiseGit_en.xml:6658
9510 #: ../source/TortoiseGit_en.xml:6660
9512 "This text editor includes syntax colouring for unified diffs, making them "
9513 "much easier to read. Download it from <ulink url=\"http://www.scintilla.org/"
9514 "SciTEDownload.html\"><citetitle>Scintilla</citetitle></ulink>."
9516 "这款文本编译器在统一比较时提供语法显示,读起来更加容易。可以从这里下载<ulink "
9517 "url=\"http://www.scintilla.org/SciTEDownload.html\"><citetitle>Scintilla</"
9518 "citetitle></ulink>。"
9521 #: ../source/TortoiseGit_en.xml:6670
9526 #: ../source/TortoiseGit_en.xml:6672
9528 "Notepad2 is designed as a replacement for the standard Windows Notepad "
9529 "program, and is based on the Scintilla open-source edit control. As well as "
9530 "being good for viewing unified diffs, it is much better than the Windows "
9531 "notepad for most jobs. Download it for free <ulink url=\"http://www.flos-"
9532 "freeware.ch/notepad2.html\"><citetitle>here</citetitle></ulink>."
9534 "Notepad2的设计旨在替代 Windows自带的记事本的功能,它以开源编译控制为基础。在查"
9535 "看统一比较时,它能实现比Windows自带的记事本更多功能。免费下载<ulink url="
9536 "\"http://www.flos-freeware.ch/notepad2.html\"><citetitle>here</citetitle></"
9540 #: ../source/TortoiseGit_en.xml:6685
9542 "Read <xref linkend=\"tsvn-dug-settings-progs\"/> for information on how to "
9543 "set up TortoiseGit to use these tools."
9545 "<xref linkend=\"tsvn-dug-settings-progs\"/>这里可以了解到怎样起用TortoiseGit来"
9549 #: ../source/TortoiseGit_en.xml:6692
9550 msgid "Adding New Files And Directories"
9554 #: ../source/TortoiseGit_en.xml:6694
9559 #: ../source/TortoiseGit_en.xml:6697
9560 msgid "version new files"
9564 #: ../source/TortoiseGit_en.xml:6700
9566 "<placeholder-1/> If you created new files and/or directories during your "
9567 "development process then you need to add them to source control too. Select "
9568 "the file(s) and/or directory and use <menuchoice><guimenu>TortoiseGit</"
9569 "guimenu><guimenuitem>Add</guimenuitem></menuchoice>."
9571 "<placeholder-1/>如果在你的开发过程中你创建了新的文件或目录,那么你需要把他们加"
9572 "入你的版本控制中。选择那个文件或目录并使用<menuchoice><guimenu>TortoiseGit</"
9573 "guimenu><guimenuitem>添加(Add)</guimenuitem></menuchoice>."
9577 #: ../source/TortoiseGit_en.xml:6702 ../source/TortoiseGit_en.xml:6882
9578 msgid "Explorer context menu for unversioned files"
9579 msgstr "未受版本控制的文件之资源管理器上下文菜单"
9582 #: ../source/TortoiseGit_en.xml:6714
9584 "After you added the files/directories to source control the file appears with "
9585 "a <literal>added</literal> icon overlay which means you first have to commit "
9586 "your working copy to make those files/directories available to other "
9587 "developers. Adding a file/directory does <emphasis>not</emphasis> affect the "
9590 "当你添加了指定的文件/目录到版本控制系统之后,这个文件上会出现一个"
9591 "<literal>added</literal>标志,这意味着你得先提交你的工作副本使该文件/目录对其"
9592 "他开发者来说成为有效的。添加一个文件/目录不会<emphasis>not</emphasis>影响版本"
9596 #: ../source/TortoiseGit_en.xml:6723
9601 #: ../source/TortoiseGit_en.xml:6724
9604 "You can also use the Add command on already versioned folders. In that case, "
9605 "the add dialog will show you all unversioned files inside that versioned "
9606 "folder. This helps if you have many new files and need to add them all at "
9609 "你也可以在已经版本控制的目录上使用Add命令。那样的话,添加对话框会显示该版本控"
9610 "制目录下所有未版本控制的文件。如果你有许多新文件需要一起添加的话,这是很有帮助"
9614 #: ../source/TortoiseGit_en.xml:6732
9616 "To add files from outside your working copy you can use the drag-and-drop "
9617 "handler: <placeholder-1/>"
9618 msgstr "你可以使用鼠标拖拽的方式从你的工作副本外部添加进文件。<placeholder-1/>"
9621 #: ../source/TortoiseGit_en.xml:6737
9622 msgid "select the files you want to add"
9627 #: ../source/TortoiseGit_en.xml:6742 ../source/TortoiseGit_en.xml:7198
9629 "<action>right-drag</action> them to the new location inside the working copy"
9630 msgstr "<action>拖拽(right-drag)</action>他们到新的工作副本下,"
9634 #: ../source/TortoiseGit_en.xml:6748 ../source/TortoiseGit_en.xml:7204
9635 msgid "release the right mouse button"
9639 #: ../source/TortoiseGit_en.xml:6753
9641 "select <menuchoice><guimenu>Context Menu</guimenu><guimenuitem>SVN Add files "
9642 "to this WC</guimenuitem></menuchoice>. The files will then be copied to the "
9643 "working copy and added to version control."
9645 "选择<menuchoice><guimenu>上下文菜单</guimenu><guimenuitem>SVN 增加文件到工作副"
9646 "本</guimenuitem></menuchoice>。这些文件会被复制到工作副本,加入版本控制。"
9649 #: ../source/TortoiseGit_en.xml:6765
9651 "You can also add files within a working copy simply by left-dragging and "
9652 "dropping them onto the commit dialog."
9653 msgstr "你可以在工作副本中通过左拖,将文件放到提交对话框中,来增加文件。"
9656 #: ../source/TortoiseGit_en.xml:6769
9659 "If you add a file or folder by mistake, you can undo the addition before you "
9660 "commit using <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Undo "
9661 "add...</guimenuitem></menuchoice>."
9663 "在工作副本上选择<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>合并</"
9664 "guimenuitem></menuchoice>。"
9667 #: ../source/TortoiseGit_en.xml:6779
9669 msgid "Copying/Moving/Renaming Files and Folders"
9670 msgstr "复制已存在的文件和目录"
9673 #: ../source/TortoiseGit_en.xml:6781
9678 #: ../source/TortoiseGit_en.xml:6784
9679 msgid "rename files"
9683 #: ../source/TortoiseGit_en.xml:6787
9689 #: ../source/TortoiseGit_en.xml:6790 ../source/TortoiseGit_en.xml:8019
9695 #: ../source/TortoiseGit_en.xml:6793 ../source/TortoiseGit_en.xml:8022
9700 #: ../source/TortoiseGit_en.xml:6795
9702 "It often happens that you already have the files you need in another project "
9703 "in your repository, and you simply want to copy them across. You could simply "
9704 "copy the files and add them as described above, but that would not give you "
9705 "any history. And if you subsequently fix a bug in the original files, you can "
9706 "only merge the fix automatically if the new copy is related to the original "
9709 "经常发生其它项目需要使用某个项目文件的情况,你只想简单的复制它们。你可以使用上"
9710 "述方法复制这些文件,然后增加到版本库,但是这种方法不会给你任何历史信息。并且当"
9711 "你修改了原始文件的问题后,你只能在那些原始文件与新副本在同一个 Git 版本"
9715 #: ../source/TortoiseGit_en.xml:6803
9717 "The easiest way to copy files and folders from within a working copy is to "
9718 "use the right-drag menu. When you <action>right-drag</action> a file or "
9719 "folder from one working copy to another, or even within the same folder, a "
9720 "context menu appears when you release the mouse. <placeholder-1/> Now you can "
9721 "copy existing versioned content to a new location, possibly renaming it at "
9724 "在工作副本中复制文件和目录的最简单的方法是使用右拖菜单。当你从一个工作副本"
9725 "<action>右拖</action>文件或目录到另一个工作副本,甚至是在同一个目录中,当你释"
9726 "放鼠标时,就会出现一个上下文菜单。<placeholder-1/> 现在你可以复制受版本控制的"
9730 #: ../source/TortoiseGit_en.xml:6815
9732 "You can also copy or move versioned files within a working copy, or between "
9733 "two working copies, using the familiar cut-and-paste method. Use the standard "
9734 "Windows <action>Copy</action> or <action>Cut</action> to copy one or more "
9735 "versioned items to the clipboard. If the clipboard contains such versioned "
9736 "items, you can then use <menuchoice><guimenu>TortoiseGit</"
9737 "guimenu><guimenuitem>Paste</guimenuitem></menuchoice> (note: not the standard "
9738 "Windows <action>Paste</action>) to copy or move those items to the new "
9739 "working copy location."
9743 #: ../source/TortoiseGit_en.xml:6827
9746 "You can copy files and folders from your working copy to another location in "
9747 "the repository using <menuchoice><guimenu>TortoiseGit</"
9748 "guimenu><guimenuitem>Branch/Tag</guimenuitem></menuchoice>. Refer to <xref "
9749 "linkend=\"tsvn-dug-branch-1\"/> to find out more."
9751 "你要在同一个版本库中切换一个分支或目录。这么做你可以用"
9752 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>切换...</guimenuitem></"
9756 #: ../source/TortoiseGit_en.xml:6836
9759 "You can locate an older version of a file or folder in the log dialog and "
9760 "copy it to a new location in the repository directly from the log dialog "
9761 "using <menuchoice><guimenu>Context menu</guimenu><guimenuitem>Create branch/"
9762 "tag from revision</guimenuitem></menuchoice>. Refer to <xref linkend=\"tsvn-"
9763 "dug-showlog-2\"/> to find out more."
9765 "你要在同一个版本库中切换一个分支或目录。这么做你可以用"
9766 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>切换...</guimenuitem></"
9770 #: ../source/TortoiseGit_en.xml:6846
9773 "You can also use the repository browser to locate content you want, and copy "
9774 "it into your working copy directly from the repository, or copy between two "
9775 "locations within the repository. Refer to <xref linkend=\"tsvn-dug-repobrowser"
9776 "\"/> to find out more."
9778 "你也可以使用版本库浏览器定位内容,直接从版本库复制到你的工作副本中。参见 "
9779 "<xref linkend=\"tsvn-dug-repobrowser\"/> 以获得更多信息。"
9782 #: ../source/TortoiseGit_en.xml:6853
9784 msgid "Cannot copy between repositories"
9788 #: ../source/TortoiseGit_en.xml:6854
9790 "Whilst you can copy and files and folders <emphasis>within</emphasis> a "
9791 "repository, you <emphasis>cannot</emphasis> copy or move from one repository "
9792 "to another while preserving history using TortoiseGit. Not even if the "
9793 "repositories live on the same server. All you can do is copy the content in "
9794 "its current state and add it as new content to the second repository."
9798 #: ../source/TortoiseGit_en.xml:6862
9800 "If you are uncertain whether two URLs on the same server refer to the same or "
9801 "different repositories, use the repo browser to open one URL and find out "
9802 "where the repository root is. If you can see both locations in one repo "
9803 "browser window then they are in the same repository."
9807 #: ../source/TortoiseGit_en.xml:6872
9808 msgid "Ignoring Files And Directories"
9812 #: ../source/TortoiseGit_en.xml:6874
9817 #: ../source/TortoiseGit_en.xml:6877
9819 msgid "unversioned files/folders"
9823 #: ../source/TortoiseGit_en.xml:6880
9826 "<placeholder-1/> In most projects you will have files and folders that should "
9827 "not be subject to version control. These might include files created by the "
9828 "compiler, <filename>*.obj, *.lst</filename>, maybe an output folder used to "
9829 "store the executable. Whenever you commit changes, TortoiseGit shows your "
9830 "unversioned files, which fills up the file list in the commit dialog. Of "
9831 "course you can turn off this display, but then you might forget to add a new "
9834 "<placeholder-1/>在多数项目中你总会有文件和目录不需要进行版本控制。这可能包括一"
9835 "些由编译器生成的文件,<filename>*.obj,*.lst</filename>。或许是一个外部的用于存"
9836 "放可执行程序的目录。只要你提交变更,TSVN就会在提交对话框的文件列表中列表显示出"
9837 "你的未版本控制文件。当然你可以关闭这个显示,不过你可能会忘记添加新的版本文件。"
9840 #: ../source/TortoiseGit_en.xml:6893
9842 "The best way to avoid these problems is to add the derived files to the "
9843 "project's ignore list. That way they will never show up in the commit dialog, "
9844 "but genuine unversioned source files will still be flagged up."
9846 "最好的避免类似问题的方法是添加参考文件到该项目的忽略列表。这样他们就永远不会出"
9847 "现在提交对话框中,而真正的未版本控制文件则仍然列出。"
9850 #: ../source/TortoiseGit_en.xml:6899
9852 "If you <action>right click</action> on a single unversioned file, and select "
9853 "the command <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Add to "
9854 "Ignore List</guimenuitem></menuchoice> from the context menu, a submenu "
9855 "appears allowing you to select just that file, or all files with the same "
9856 "extension. If you select multiple files, there is no submenu and you can only "
9857 "add those specific files/folders."
9859 "如果你<action>右键</action>一个单独的未版本控制文件,并从菜单栏选择"
9860 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>(加入忽略列表)Add to "
9861 "Ignore List</guimenuitem></menuchoice>,会出现一个子菜单允许你仅选择该文件,或"
9862 "者所有具有相同后缀的文件。如果你选择多种文件,那么就没有子菜单了,你仅能添加这"
9866 #: ../source/TortoiseGit_en.xml:6911
9868 "If you want to remove one or more items from the ignore list, <action>right "
9869 "click</action> on those items and select <menuchoice><guimenu>TortoiseGit</"
9870 "guimenu><guimenuitem>Remove from Ignore List</guimenuitem></menuchoice> You "
9871 "can also access a folder's <literal>svn:ignore</literal> property directly. "
9872 "That allows you to specify more general patterns using filename globbing, "
9873 "described in the section below. Read <xref linkend=\"tsvn-dug-propertypage\"/"
9874 "> for more information on setting properties directly. Please be aware that "
9875 "each ignore pattern has to be placed on a separate line. Separating them by "
9876 "spaces does not work."
9878 "如果你想从忽略列表中移除一个或多个条目,<action>右击</action>这些条目,选择"
9879 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>从忽略列表删除</"
9880 "guimenuitem></menuchoice>。你也可以直接存取目录的<literal>svn:ignore</literal>"
9881 "属性。它允许你使用文件匹配来指定多个模式,这在下面的章节叙述,阅读<xref "
9882 "linkend=\"tsvn-dug-propertypage\"/>获得更多关于直接设置属性的信息。请注意每个"
9883 "忽略模式占一行,不支持使用空格分割。"
9886 #: ../source/TortoiseGit_en.xml:6926
9887 msgid "The Global Ignore List"
9891 #: ../source/TortoiseGit_en.xml:6927
9893 "Another way to ignore files is to add them to the <firstterm>global ignore "
9894 "list</firstterm>. The big difference here is that the global ignore list is a "
9895 "client property. It applies to <emphasis>all</emphasis> Git projects, "
9896 "but on the client PC only. In general it is better to use the <filename>svn:"
9897 "ignore</filename> property where possible, because it can be applied to "
9898 "specific project areas, and it works for everyone who checks out the project. "
9899 "Read <xref linkend=\"tsvn-dug-settings-main\"/> for more information."
9901 "另一个忽略文件的方法是添加这些文件到<firstterm>global ignore list </"
9902 "firstterm>.他们最大的不同是全局忽略列表是一个客户端特性。它会作用到<emphasis> "
9903 "所有的(all)</emphasis>Git 项目。但只能在pc客户端使用。在全局尽可能更好"
9904 "的使用<filename>svn:ignore</filename>特性,因为他能够应用到特殊的项目区域,并"
9905 "却他作用于所有检出该项目的人。阅读<xref linkend=\"tsvn-dug-settings-main\"/>获"
9909 #: ../source/TortoiseGit_en.xml:6940
9910 msgid "Ignoring Versioned Items"
9914 #: ../source/TortoiseGit_en.xml:6941
9916 "Versioned files and folders can never be ignored - that's a feature of "
9917 "Git. If you versioned a file by mistake, read <xref linkend=\"tsvn-"
9918 "howto-unversion\"/> for instructions on how to <quote>unversion</quote> it."
9920 "已版本控制的文件或目录不能够忽略,这是Git的一个特性。如果你错误的版本控"
9921 "制了一个文件,阅读<xref linkend=\"tsvn-howto-unversion\"/>介绍怎样<quote>取消"
9922 "版本控制(unversion)</quote>。"
9925 #: ../source/TortoiseGit_en.xml:6949
9926 msgid "Pattern Matching in Ignore Lists"
9930 #: ../source/TortoiseGit_en.xml:6951
9935 #: ../source/TortoiseGit_en.xml:6954
9936 msgid "pattern matching"
9940 #: ../source/TortoiseGit_en.xml:6956
9942 "Git's ignore patterns make use of filename globbing, a technique "
9943 "originally used in Unix to specify files using meta-characters as wildcards. "
9944 "The following characters have special meaning: <placeholder-1/>"
9946 "Git 的忽略模式使用了文件匹配,一种原先在Unix系统中使用meta字符作为通配"
9947 "符的技术。下面的字符有着特殊的意思: <placeholder-1/>"
9950 #: ../source/TortoiseGit_en.xml:6963
9955 #: ../source/TortoiseGit_en.xml:6965
9957 "Matches any string of characters, including the empty string (no characters)."
9958 msgstr "匹配任何字符串,包括空串(没有字符)"
9961 #: ../source/TortoiseGit_en.xml:6972
9966 #: ../source/TortoiseGit_en.xml:6974
9967 msgid "Matches any single character."
9971 #: ../source/TortoiseGit_en.xml:6980
9976 #: ../source/TortoiseGit_en.xml:6982
9978 "Matches any one of the characters enclosed in the square brackets. Within the "
9979 "brackets, a pair of characters separated by <quote>-</quote> matches any "
9980 "character lexically between the two. For example <literal>[AGm-p]</literal> "
9981 "matches any one of <literal>A</literal>, <literal>G</literal>, <literal>m</"
9982 "literal>, <literal>n</literal>, <literal>o</literal> or <literal>p</literal>."
9984 "匹配任何单在方括号[]内的单字符,在方括号内,一对字符被<quote>-</quote>分隔,匹"
9985 "配任何词汇表(lexically)上在他们中间的字符。例如<literal>[AGm-p]</literal>匹配"
9986 "任何但个的<literal>A</literal>,<literal>G</literal>,<literal>m</literal>,"
9987 "<literal>n</literal>,<literal>o</literal>或者<literal>p</literal>。"
9990 #: ../source/TortoiseGit_en.xml:6996
9992 "Git uses the <literal>/</literal> as the path delimiter in all "
9993 "internal pathnames, and all pattern matching is done against this style of "
9994 "path names. If you want to use a path delimiter in your ignore pattern, be "
9995 "sure to use <literal>/</literal>, and not the Windows backslash."
9997 "Git 在所有内部路径名称中使用 <literal>/</literal> 作为路径分割符,所有"
9998 "模式匹配都使用这种路径名称风格。如果你想在忽略模式中使用路径分割符,确认使用 "
9999 "<literal>/</literal>, 而不是 Windows 的反斜线符号。"
10002 #: ../source/TortoiseGit_en.xml:7002
10004 "Pattern matching is case sensitive, which can cause problems on Windows. You "
10005 "can force case insensitivity the hard way by pairing characters, eg. to "
10006 "ignore <literal>*.tmp</literal> regardless of case, you could use a pattern "
10007 "like <literal>*.[Tt][Mm][Pp]</literal>."
10009 "模式匹配是大小写敏感的,这在windows平台下会出问题。你可以要比较的字符硬性的强"
10010 "制忽略大小写。例如,忽略不记<literal>*.tmp</literal>的大小写。那么你可以使用像"
10011 "<literal>*.[Tt][Mm][Pp]</literal>这样的模式。"
10014 #: ../source/TortoiseGit_en.xml:7009
10016 "Git uses this pattern matching against every path presented to it for "
10017 "action. These paths are generally relative to the directory being acted upon "
10018 "for import, add, commit, etc. The matching pattern therefore has to take "
10019 "account of the fact that there may or may not be path components before the "
10022 "Git 对每个路径使用这种匹配模式。这些路径通常相对于执行导入,增加,提交"
10023 "等动作的目录。因此,此匹配模式考虑在文件名称之前可能有,也可能没有路径组件这个"
10027 #: ../source/TortoiseGit_en.xml:7016
10029 "If directory names are present in a path, the matching algorithm will not "
10030 "trim them off, so pattern <literal>Fred.*</literal> will match <literal>Fred."
10031 "c</literal> but not <literal>subdir/Fred.c</literal>. This is significant if "
10032 "you add a folder which contains some files that you want to be ignored, "
10033 "because those filenames will be preceded with the folder name when Git "
10034 "compares them with the ignore pattern."
10036 "如果目录名称在路径中,匹配算法不会删除它们,所以模式<literal>Fred.*</literal>"
10037 "匹配<literal>Fred.c</literal>,但是不匹配<literal>subdir/Fred.c</literal>。这"
10038 "对于你添加一个包含你想忽略的一些文件的目录来说是非常有意义的,因为在 "
10039 "Git 处理忽略模式时,这些文件名的优先级高于目录名。"
10042 #: ../source/TortoiseGit_en.xml:7025
10044 "The <literal>/</literal> character is not treated in any special way for "
10045 "pattern matching purposes, so the pattern <literal>abc*xyz</literal> would "
10046 "match <literal>abcdxyz</literal> but also <literal>abcdir/subdir/anything/"
10047 "morexyz</literal>."
10049 "在模式匹配中,<literal>/</literal> 字符不会做任何特别处理,所以模式 "
10050 "<literal>abc*xyz</literal> 匹配 <literal>abcdxyz</literal>,但是不匹配 "
10051 "<literal>abcdir/subdir/anything/morexyz</literal>。"
10054 #: ../source/TortoiseGit_en.xml:7031
10057 "To ignore all <literal>CVS</literal> folders you should either specify a "
10058 "pattern of <literal>*CVS</literal> or better, the pair <literal>CVS */CVS</"
10059 "literal>. The first option works, but would also exclude something called "
10060 "<literal>ThisIsNotCVS</literal>. Using <literal>*/CVS</literal> alone will "
10061 "not work on an immediate child <literal>CVS</literal> folder, and "
10062 "<literal>CVS</literal> alone will not work on sub-folders."
10064 "你应该指定一个<literal>*CVS</literal>或者更好的<literal>CVS */CVS</literal>模"
10065 "式中的任意一个来忽略所有的<literal>CVS</literal>目录。执行第一个选择也将会排斥"
10066 "一些像<literal>ThisIsNotCVS</literal>这样的命令。而单独使用<literal>*/CVS</"
10067 "literal>又不能作用在一个紧跟着<literal>CVS</literal>的子目录上,而且单独的"
10068 "<literal>CVS</literal> 不能作用在子目录上。"
10071 #: ../source/TortoiseGit_en.xml:7040
10073 "If you want an official definition for globbing, you can find it in the IEEE "
10074 "specifications for the shell command language <ulink url=\"http://www."
10075 "opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_13"
10076 "\"><citetitle>Pattern Matching Notation</citetitle></ulink>."
10078 "如果你想要定义一个特殊的忽略规则。你可以在关于shell命令行语言的IEEE规范中找到"
10079 "<ulink url=\"http://www.opengroup.org/onlinepubs/009695399/utilities/"
10080 "xcu_chap02.html#tag_02_13\"><citetitle>Pattern Matching Notation</citetitle></"
10084 #: ../source/TortoiseGit_en.xml:7050
10085 msgid "Deleting, Moving and Renaming"
10089 #: ../source/TortoiseGit_en.xml:7051
10091 "Unlike CVS, Git allows renaming and moving of files and folders. So "
10092 "there are menu entries for delete and rename in the TortoiseGit submenu. "
10095 "不像CVS,Git允许重命名和移动文件和目录。因此在TortoiseGit 的子菜单中有删"
10096 "除和重命名的菜单项。<placeholder-1/>"
10099 #: ../source/TortoiseGit_en.xml:7056
10100 msgid "Explorer context menu for versioned files"
10101 msgstr "版本控制文件的菜单浏览"
10104 #: ../source/TortoiseGit_en.xml:7061
10105 msgid "Deleting files and folders"
10106 msgstr "正在删除文件/文件夹"
10109 #: ../source/TortoiseGit_en.xml:7063
10114 #: ../source/TortoiseGit_en.xml:7066
10119 #: ../source/TortoiseGit_en.xml:7068
10122 "Use <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Delete</"
10123 "guimenuitem></menuchoice> to remove files or folders from Git."
10125 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>提交</guimenuitem></"
10129 #: ../source/TortoiseGit_en.xml:7076
10132 "When you <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Delete</"
10133 "guimenuitem></menuchoice> a file, it is removed from your working copy "
10134 "immediately as well as being marked for deletion in the repository on next "
10135 "commit. The file's parent folder shows a <quote>deleted</quote> icon overlay. "
10136 "Up until you commit the change, you can get the file back using "
10137 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Revert</guimenuitem></"
10138 "menuchoice> on the parent folder."
10140 "如果你通过TSVN删除了一个文件/目录,吗呢这个文件被移出你的工作副本并标记为删"
10141 "除。该文件的父目录会覆盖上一个\"删除\"标记。你随时可以通过在父目录调用"
10142 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Revert</guimenuitem></"
10143 "menuchoice>命令来恢复该文件。"
10146 #: ../source/TortoiseGit_en.xml:7092
10149 "When you <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Delete</"
10150 "guimenuitem></menuchoice> a folder, it remains in your working copy, but the "
10151 "overlay changes to indicate that it is marked for deletion. Up until you "
10152 "commit the change, you can get the folder back using "
10153 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Revert</guimenuitem></"
10154 "menuchoice> on the folder itself. This difference in behaviour between files "
10155 "and folders is a part of Git, not TortoiseGit."
10157 "当你<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>删除</"
10158 "guimenuitem></menuchoice>一个文件,它立即被从工作副本删除,并且标记为下次提交"
10159 "从版本库删除。当你<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>删除"
10160 "</guimenuitem></menuchoice>一个目录,它仍旧在你的工作副本中,但是重载图标指出"
10161 "了它标记为删除。这个区别是 Git 的特性,与 TortoiseGit 无关。"
10164 #: ../source/TortoiseGit_en.xml:7109
10167 "If you want to delete an item from the repository, but keep it locally as an "
10168 "unversioned file/folder, use <menuchoice><guimenu>Extended Context Menu</"
10169 "guimenu><guimenuitem>Delete (keep local)</guimenuitem></menuchoice>. You have "
10170 "to hold the <keycap>Shift</keycap> key while right clicking on the item in "
10171 "the explorer list pane (right pane) in order to see this in the extended "
10174 "如果你想从版本库删除项目,但是在本地作为非版本控制的文件/目录保留,可以使用 "
10175 "<menuchoice><guimenu>扩展上下文菜单</guimenu><guimenuitem>删除(保留本地副本)</"
10176 "guimenuitem></menuchoice>。为了看到扩展上下文菜单,你必须在文件管理器列表窗格"
10177 "(右窗格)中的项目上点击右键,同时按着 <keycap>Shift</keycap> 键。"
10180 #: ../source/TortoiseGit_en.xml:7120
10182 "If a <emphasis>file</emphasis> is deleted via the explorer instead of using "
10183 "the TortoiseGit context menu, the commit dialog shows those files and lets "
10184 "you remove them from version control too before the commit. However, if you "
10185 "update your working copy, Git will spot the missing file and replace "
10186 "it with the latest version from the repository. If you need to delete a "
10187 "version-controlled file, always use <menuchoice><guimenu>TortoiseGit</"
10188 "guimenu><guimenuitem>Delete</guimenuitem></menuchoice> so that Git "
10189 "doesn't have to guess what you really want to do."
10191 "如果一个 <emphasis>文件</emphasis> 是通过浏览器而不是使用TortoiseGit 快捷菜单"
10192 "被删除,提交对话框也会显示这些文件并让你在提交前把他们从版本控制中移除。可是,"
10193 "如果你更新你的工作副本, Git 将会混淆这个丢失文件并替换他为版本库中的最"
10194 "新版本。因此,如果你需要删除一个版本控制下的文件,请始终使用"
10195 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Delete</guimenuitem></"
10196 "menuchoice>保证 Git不去猜测你到底想干什么。"
10199 #: ../source/TortoiseGit_en.xml:7134
10201 "If a <emphasis>folder</emphasis> is deleted via the explorer instead of using "
10202 "the TortoiseGit context menu, your working copy will be broken and you will "
10203 "be unable to commit. If you update your working copy, Git will replace "
10204 "the missing folder with the latest version from the repository and you can "
10205 "then delete it the correct way using <menuchoice><guimenu>TortoiseGit</"
10206 "guimenu><guimenuitem>Delete</guimenuitem></menuchoice>."
10208 "如果一个 <emphasis>目录</emphasis> 是通过浏览器而不是使用TortoiseGit 快捷菜单"
10209 "被删除,你的工作副本将回被损坏,并且你将不能提交。如果你更新你的工作副本,如果"
10210 "你更新你的工作副本, Git 将用版本库中的最新版本替换已丢失目录。接下来你"
10211 "就可以使用<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Delete</"
10212 "guimenuitem></menuchoice>这种正确的方法来删除它了。"
10215 #: ../source/TortoiseGit_en.xml:7147
10216 msgid "Getting a deleted file or folder back"
10217 msgstr "找回已删除的文件或目录"
10220 #: ../source/TortoiseGit_en.xml:7148
10222 "If you have deleted a file or a folder and already committed that delete "
10223 "operation to the repository, then a normal <menuchoice><guimenu>TortoiseGit</"
10224 "guimenu><guimenuitem>Revert</guimenuitem></menuchoice> can't bring it back "
10225 "anymore. But the file or folder is not lost at all. If you know the revision "
10226 "the file or folder got deleted (if you don't, use the log dialog to find out) "
10227 "open the repository browser and switch to that revision. Then select the file "
10228 "or folder you deleted, right-click and select <menuchoice><guimenu>Context "
10229 "Menu</guimenu><guimenuitem>Copy to...</guimenuitem></menuchoice> as the "
10230 "target for that copy operation select the path to your working copy."
10232 "如果你删除了洋文件或目录并已经提交该删除操作到版本库,那么 一个常规的"
10233 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Revert</guimenuitem></"
10234 "menuchoice>已不能再将其找回。但是该文件或目录并没有完全丢失。如果你知道该被删"
10235 "除文件或目录的版本(如果不能,使用日志对话框来查找出来),打开数据仓库的浏览器,"
10236 "并选择那个版本。然后选择你删除的文件或目录,右键并选择"
10237 "<menuchoice><guimenu>Context Menu</guimenu><guimenuitem>Copy to...</"
10238 "guimenuitem></menuchoice>作为目标执行复制操作,然后选择你的工作副本的路径。"
10241 #: ../source/TortoiseGit_en.xml:7170
10242 msgid "Moving files and folders"
10248 #: ../source/TortoiseGit_en.xml:7172 ../source/TortoiseGit_en.xml:9511
10249 #: ../source/TortoiseGit_en.xml:13248
10254 #: ../source/TortoiseGit_en.xml:7175
10259 #: ../source/TortoiseGit_en.xml:7178
10262 "If you want to do a simple in-place rename of a file or folder, use "
10263 "<menuchoice><guimenu>Context Menu</guimenu><guimenuitem>Rename...</"
10264 "guimenuitem></menuchoice> Enter the new name for the item and you're done."
10266 "如果<action>右击</action>一个版本你可以使用<menuchoice><guimenu>右键菜单</"
10267 "guimenu><guimenuitem>显示日志</guimenuitem></menuchoice> 来查看它的历史。"
10270 #: ../source/TortoiseGit_en.xml:7187
10273 "If you want to move files around inside your working copy, perhaps to a "
10274 "different sub-folder, use the right-mouse drag-and-drop handler: <placeholder-"
10277 "如果你想在工作副本中移动文件,那么可以这样使用鼠标拖拽: <placeholder-1/>"
10280 #: ../source/TortoiseGit_en.xml:7193
10281 msgid "select the files or directories you want to move"
10282 msgstr "选择你要移动的文件或目录"
10285 #: ../source/TortoiseGit_en.xml:7209
10287 "in the popup menu select <menuchoice><guimenu>Context Menu</"
10288 "guimenu><guimenuitem>SVN Move versioned files here</guimenuitem></menuchoice>"
10290 "在弹出菜单选择<menuchoice><guimenu>上下文菜单</guimenu><guimenuitem>SVN 移动文"
10291 "件</guimenuitem></menuchoice>。"
10294 #: ../source/TortoiseGit_en.xml:7220
10295 msgid "Commit the parent folder"
10299 #: ../source/TortoiseGit_en.xml:7221
10302 "Since renames and moves are done as a delete followed by an add you must "
10303 "commit the parent folder of the renamed/moved file so that the deleted part "
10304 "of the rename/move will show up in the commit dialog. If you don't commit the "
10305 "removed part of the rename/move, it will stay behind in the repository and "
10306 "when your co-workers update, the old file will not be removed. i.e. they will "
10307 "have <emphasis>both</emphasis> the old and the new copies."
10309 "既然重命名和移动都可以像添加之后又删除一样被执行,你必需提交该重命名/移动文件"
10310 "的父目录,所以重命名/移动的删除部分将出现在提交对话框中。如果你不提交重命名/移"
10311 "动的已删除部分,他将保留在仓库中并且你的同组人将更新该未移除的旧文件。例如,他"
10312 "们将有<emphasis>两个</emphasis>一老一新的副本。"
10315 #: ../source/TortoiseGit_en.xml:7231
10317 "You <emphasis>must</emphasis> commit a folder rename before changing any of "
10318 "the files inside the folder, otherwise your working copy can get really "
10321 "你 <emphasis>必须</emphasis>在重命名目录后而在更改目录下的任何文件前进行提交,"
10325 #: ../source/TortoiseGit_en.xml:7237
10328 "You can also use the repository browser to move items around. Read <xref "
10329 "linkend=\"tsvn-dug-repobrowser\"/> to find out more."
10331 "你也可以使用版本库浏览器定位内容,直接从版本库复制到你的工作副本中。参见 "
10332 "<xref linkend=\"tsvn-dug-repobrowser\"/> 以获得更多信息。"
10335 #: ../source/TortoiseGit_en.xml:7242
10336 msgid "Do Not SVN Move Externals"
10337 msgstr "不要使用 SVN 移动外部连接"
10340 #: ../source/TortoiseGit_en.xml:7243
10342 "You should <emphasis>not</emphasis> use the TortoiseGit <guilabel>Move</"
10343 "guilabel> or <guilabel>Rename</guilabel> commands on a folder which has been "
10344 "created using <literal>svn:externals</literal>. This action would cause the "
10345 "external item to be deleted from its parent repository, probably upsetting "
10346 "many other people. If you need to move an externals folder you should use an "
10347 "ordinary shell move, then adjust the <literal>svn:externals</literal> "
10348 "properties of the source and destination parent folders."
10350 "你<emphasis>不应该</emphasis>用 TortoiseGit 的<guilabel>移动</guilabel>或"
10351 "<guilabel>改名</guilabel>命令作用在用 <literal>svn:externals</literal> 创建的"
10352 "目录上。因为这个动作可能会导致外部元素(item)从它的父版本库中删除,这可能会使其"
10353 "它人烦恼。如果你需要移动外部目录,你应该使用普通的外壳移动,然后调整源和目的之"
10354 "父目录的 <literal>svn:externals</literal> 属性。"
10357 #: ../source/TortoiseGit_en.xml:7258
10358 msgid "Changing case in a filename"
10362 #: ../source/TortoiseGit_en.xml:7260
10363 msgid "case change"
10367 #: ../source/TortoiseGit_en.xml:7263
10369 "Making case-only changes to a filename is tricky with Git on Windows, "
10370 "because for a short time during a rename, both filenames have to exist. As "
10371 "Windows has a case-insensitive file system, this does not work using the "
10372 "usual Rename command."
10374 "在 Windows 中,使用 Git 修改文件名称的大小写需要小技巧,因为在改名期"
10375 "间,两个文件名称需要同时存在。因为 Windows 的文件系统是大小写不敏感的,所以使"
10379 #: ../source/TortoiseGit_en.xml:7269
10382 "Fortunately there are (at least) two possible methods to rename a file "
10383 "without losing its log history. It is important to rename it within "
10384 "Git. Just renaming in the explorer will corrupt your working copy!"
10386 "这里(至少)有两种可能的解决方案来重命名文件而不丢失他的日志记录。在Git里"
10387 "重命名它是很重要的。仅在浏览器中重命名将会损坏你的工作副本。"
10390 #: ../source/TortoiseGit_en.xml:7275
10391 msgid "Solution A) (recommended) <placeholder-1/>"
10392 msgstr "解决方案 A)(推荐) <placeholder-1/>"
10395 #: ../source/TortoiseGit_en.xml:7279
10396 msgid "Commit the changes in your working copy."
10397 msgstr "提交你工作副本中的改变到版本库"
10400 #: ../source/TortoiseGit_en.xml:7284
10402 "Rename the file from UPPERcase to upperCASE directly in the repository using "
10403 "the repository browser."
10404 msgstr "使用版本库的浏览器立即重命名该文件的大写(小写)为小写(大写)"
10407 #: ../source/TortoiseGit_en.xml:7290
10408 msgid "Update your working copy."
10412 #: ../source/TortoiseGit_en.xml:7296
10413 msgid "Solution B) <placeholder-1/>"
10414 msgstr "解决方案 B) <placeholder-1/>"
10417 #: ../source/TortoiseGit_en.xml:7300
10419 "Rename from UPPERcase to UPPERcase_ with the rename command in the "
10420 "TortoiseGit submenu."
10421 msgstr "使用TortoiseGit子菜单中的重命名命令将UPPERcase重命名为UPPERcase_ 格式"
10425 #: ../source/TortoiseGit_en.xml:7306 ../source/TortoiseGit_en.xml:7316
10426 msgid "Commit the changes."
10430 #: ../source/TortoiseGit_en.xml:7311
10431 msgid "Rename from UPPERcase_ to upperCASE."
10432 msgstr "将UPPERcase_重命名为upperCASE格式"
10435 #: ../source/TortoiseGit_en.xml:7324
10436 msgid "Dealing with filename case conflicts"
10437 msgstr "处理文件名称大小写冲突"
10440 #: ../source/TortoiseGit_en.xml:7325
10443 "If the repository already contains two files with the same name but differing "
10444 "only in case (e.g. <filename>TEST.TXT</filename> and <filename>test.txt</"
10445 "filename>), you will not be able to update or checkout the parent directory "
10446 "on a Windows client. Whilst Git supports case-sensitive filenames, "
10447 "Windows does not."
10449 "万一在你的版本库中有两个名字相同但大小拼写不同(例如: TEST.TXT和test.txt)的文"
10450 "件,你是不能更新或者检出该包含该文件的目录的。"
10453 #: ../source/TortoiseGit_en.xml:7333
10455 "This sometimes happens when two people commit, from separate working copies, "
10456 "files which happen to have the same name, but with a case difference. It can "
10457 "also happen when files are committed from a system with a case-sensitive file "
10458 "system, like Linux."
10460 "它偶尔在两个人在独立的工作副本提交时发生,文件名称相同,只有大小写不同。它也会"
10461 "在具有大小写敏感的文件系统的系统中提交文件时发生,例如 Linux。"
10464 #: ../source/TortoiseGit_en.xml:7340
10466 "In that case, you have to decide which one of them you want to keep and "
10467 "delete (or rename) the other one from the repository."
10469 "如果是那样的话,你得决定在这个版本库里的哪一个文件是你想保留的,哪一个是要删除"
10473 #: ../source/TortoiseGit_en.xml:7345
10474 msgid "Preventing two files with the same name"
10475 msgstr "防止两个文件名字相同"
10478 #: ../source/TortoiseGit_en.xml:7346
10480 "There is a server hook script available at: <ulink url=\"http://svn.collab."
10481 "net/repos/svn/trunk/contrib/hook-scripts/\"><citetitle>http://svn.collab.net/"
10482 "repos/svn/trunk/contrib/hook-scripts/</citetitle></ulink> that will prevent "
10483 "checkins which result in case conflicts."
10485 "这有一个有用的服务器端脚本在<ulink url=\"http://svn.collab.net/repos/svn/"
10486 "trunk/contrib/hook-scripts/\"><citetitle>http://svn.collab.net/repos/svn/"
10487 "trunk/contrib/hook-scripts/</citetitle></ulink>将会防止检入拼写(大小写)冲突文"
10491 #: ../source/TortoiseGit_en.xml:7356
10492 msgid "Repairing File Renames"
10496 #: ../source/TortoiseGit_en.xml:7357
10498 "Sometimes your friendly IDE will rename files for you as part of a "
10499 "refactoring exercise, and of course it doesn't tell Git. If you try to "
10500 "commit your changes, Git will see the old filename as missing and the "
10501 "new one as an unversioned file. You could just check the new filename to get "
10502 "it added in, but you would then lose the history tracing, as Git does "
10503 "not know the files are related."
10505 "有时候你的IDE会因为执行反射操作,改名文件,当然它不能告诉Git。如果你尝"
10506 "试提交修改,Git会发现丢失了老文件,新增了未版本控制的新文件。你可以简单"
10507 "的增加新文件,但是你将丢失历史记录,因为Git不知道这些文件的关系。"
10510 #: ../source/TortoiseGit_en.xml:7365
10512 "A better way is to notify Git that this change is actually a rename, "
10513 "and you can do this within the <guilabel>Commit</guilabel> and "
10514 "<guilabel>Check for Modifications</guilabel> dialogs. Simply select both the "
10515 "old name (missing) and the new name (unversioned) and use "
10516 "<menuchoice><guimenu>Context Menu</guimenu><guimenuitem>Repair Move</"
10517 "guimenuitem></menuchoice> to pair the two files as a rename."
10519 "更好的方法是通知Git这实际上是改名,你可以在<guilabel>提交</guilabel>和"
10520 "<guilabel>检查修改</guilabel>对话框中做此操作。简单选择老文件(丢失的)和新文件"
10521 "(未版本控制的),使用<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>修复移"
10522 "动</guimenuitem></menuchoice>设置这两个文件是改名关系。"
10525 #: ../source/TortoiseGit_en.xml:7379
10526 msgid "Deleting Unversioned Files"
10527 msgstr "删除未版本控制的文件"
10530 #: ../source/TortoiseGit_en.xml:7380
10532 "Usually you set your ignore list such that all generated files are ignored in "
10533 "Git. But what if you want to clear all those ignored items to produce "
10534 "a clean build? Usually you would set that in your makefile, but if you are "
10535 "debugging the makefile, or changing the build system it is useful to have a "
10536 "way of clearing the decks."
10538 "通常你可以在Git中设置自己的忽略列表,例如忽略所有产生的文件。但是你如何"
10539 "清理这些忽略的项目,从而产生一个干净的构建呢?通常你在makefile中清理,但是如果"
10540 "你在调试makefile,或者修改构建系统,那么有一个清理方法是极为有用的。"
10543 #: ../source/TortoiseGit_en.xml:7387
10545 "TortoiseGit provides just such an option using <menuchoice><guimenu>Extended "
10546 "Context Menu</guimenu><guimenuitem>Delete unversioned items...</guimenuitem></"
10547 "menuchoice>. You have to hold the <keycap>Shift</keycap> while right clicking "
10548 "on a folder in the explorer list pane (right pane) in order to see this in "
10549 "the extended context menu. This will produce a dialog which lists all "
10550 "unversioned files anywhere in your working copy. You can then select or "
10551 "deselect items to be removed."
10553 "TortoiseGit 提供了使用<menuchoice><guimenu>扩展上下文菜单</"
10554 "guimenu><guimenuitem>删除未版本控制的项目...</guimenuitem></menuchoice>来清理"
10555 "工作副本。你可以在目录上右键操作时,保持 <keycap>Shift</keycap>按下,就可以看"
10556 "到这个上下文菜单。它会出现一个对话框,列出工作副本中的所有未版本控制的文件。你"
10560 #: ../source/TortoiseGit_en.xml:7399
10562 "When such items are deleted, the recycle bin is used, so if you make a "
10563 "mistake here and delete a file that should have been versioned, you can still "
10566 "当删除这些项目时,使用了垃圾箱。所以如果你犯了错误,删除了应该版本控制的文件,"
10570 #: ../source/TortoiseGit_en.xml:7407
10571 msgid "Undo Changes"
10576 #: ../source/TortoiseGit_en.xml:7409 ../source/TortoiseGit_en.xml:13376
10581 #: ../source/TortoiseGit_en.xml:7412
10586 #: ../source/TortoiseGit_en.xml:7414
10588 "If you want to undo all changes you made in a file since the last update you "
10589 "need to select the file, <action>right click</action> to pop up the context "
10590 "menu and then select the command <menuchoice><guimenu>TortoiseGit</"
10591 "guimenu><guimenuitem>Revert</guimenuitem></menuchoice> A dialog will pop up "
10592 "showing you the files that you've changed and can revert. Select those you "
10593 "want to revert and click on <guibutton>OK</guibutton>. <placeholder-1/>"
10595 "如果你想要撤消一个文件自上次更新后的所有的变更,你需要选择该文件, <action>右击"
10596 "</action>弹出快捷菜单,然后选择<menuchoice><guimenu>TortoiseGit</"
10597 "guimenu><guimenuitem>Revert</guimenuitem></menuchoice>命令,将会弹出一个显示这"
10598 "个你已经变更并能恢复的文件。选择那些你想要恢复的然后按<guibutton>OK</"
10599 "guibutton>. <placeholder-1/>。"
10602 #: ../source/TortoiseGit_en.xml:7427
10603 msgid "Revert dialog"
10607 #: ../source/TortoiseGit_en.xml:7431
10609 "If you want to undo a deletion or a rename, you need to use Revert on the "
10610 "parent folder as the deleted item does not exist for you to right-click on."
10614 #: ../source/TortoiseGit_en.xml:7436
10617 "If you want to undo the addition of an item, this appears in the context menu "
10618 "as <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Undo add...</"
10619 "guimenuitem></menuchoice>. This is really a revert as well, but the name has "
10620 "been changed to make it more obvious."
10622 "如果<action>右击</action>一个版本你可以使用<menuchoice><guimenu>右键菜单</"
10623 "guimenu><guimenuitem>显示日志</guimenuitem></menuchoice> 来查看它的历史。"
10627 #: ../source/TortoiseGit_en.xml:7446 ../source/TortoiseGit_en.xml:9186
10629 "The columns in this dialog can be customized in the same way as the columns "
10630 "in the <guilabel>Check for modifications</guilabel> dialog. Read <xref "
10631 "linkend=\"tsvn-dug-wcstatus-2\"/> for further details."
10633 "在这一对话框中,纵列和在 <guilabel>检查修改</guilabel>对话框中的纵列同样是可以"
10634 "定制的。更多细节请阅读<xref linkend=\"tsvn-dug-wcstatus-2\"/> "
10637 #: ../source/TortoiseGit_en.xml:7452
10638 msgid "Undoing Changes which have been Committed"
10642 #: ../source/TortoiseGit_en.xml:7453
10644 "<menuchoice><guimenuitem>Revert</guimenuitem></menuchoice> will only undo "
10645 "your local changes. It does <emphasis>not</emphasis> undo any changes which "
10646 "have already been committed. If you want to undo all the changes which were "
10647 "committed in a particular revision, read <xref linkend=\"tsvn-dug-showlog\"/> "
10648 "for further information."
10650 "<menuchoice><guimenuitem>Revert</guimenuitem></menuchoice>仅能撤消你本地的变"
10651 "更。他<emphasis>不</emphasis>能撤消已经提交的的变更。如果你想撤消所有的包括已"
10652 "经提交到一个特定版本的变更,请阅读 <xref linkend=\"tsvn-dug-showlog\"/> 获得更"
10656 #: ../source/TortoiseGit_en.xml:7464
10657 msgid "Revert is Slow"
10661 #: ../source/TortoiseGit_en.xml:7465
10663 "When you revert changes you may find that the operation takes a lot longer "
10664 "than you expect. This is because the modified version of the file is sent to "
10665 "the recycle bin, so you can retrieve your changes if you reverted by mistake. "
10666 "However, if your recycle bin is full, Windows takes a long time to find a "
10667 "place to put the file. The solution is simple: either empty the recycle bin "
10668 "or deactivate the <guilabel>Use recycle bin when reverting</guilabel> box in "
10669 "TortoiseGit's settings."
10676 #: ../source/TortoiseGit_en.xml:7478 ../source/TortoiseGit_en.xml:13994
10677 #: ../source/TortoiseGit_en.xml:15039 ../source/TortoiseGit_en.xml:15828
10682 #: ../source/TortoiseGit_en.xml:7480
10687 #: ../source/TortoiseGit_en.xml:7482
10689 "If a Git command cannot complete successfully, perhaps due to server "
10690 "problems, your working copy can be left in an inconsistent state. In that "
10691 "case you need to use <menuchoice><guimenu>TortoiseGit</"
10692 "guimenu><guimenuitem>Cleanup</guimenuitem></menuchoice> on the folder. It is "
10693 "a good idea to do this at the top level of the working copy."
10695 "也许由于服务器问题,一个Git指令不能成功地完成,你的工作副本因此被滞留在"
10696 "一个不一致的状态。 那样的话,你需要在该目录上使用"
10697 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>清理</guimenuitem></"
10698 "menuchoice>命令。在工作副本的根目录使用它是一个好主意。"
10701 #: ../source/TortoiseGit_en.xml:7493
10704 "Cleanup has another useful side effect. If a file date changes but its "
10705 "content doesn't, Git cannot tell whether it has really changed except "
10706 "by doing a byte-by-byte comparison with the pristine copy. If you have a lot "
10707 "of files in this state it makes acquiring status very slow, which will make "
10708 "many dialogs slow to respond. Executing a Cleanup on your working copy will "
10709 "repair these <quote>broken</quote> timestamps and restore status checks to "
10712 "清理有另外的一个有用的副作用。如果一个文件日期变化了但是它的内容没变,"
10713 "Git除了采用byte-by-byte将该文件和原副本进行对照,不能分清它是否真的变"
10714 "更。 如果你有很多这种状态下的文件,将会使获得状态非常慢,还会导致许多会话响应"
10715 "变慢。在你的工作副本上执行一个清理命令将会修正这些 \" 坏掉的 \" 时戳,从而可以"
10719 #: ../source/TortoiseGit_en.xml:7504
10720 msgid "Use Commit Timestamps"
10724 #: ../source/TortoiseGit_en.xml:7505
10726 "Some earlier releases of Git were affected by a bug which caused "
10727 "timestamp mismatch when you check out with the <guilabel>Use commit "
10728 "timestamps</guilabel> option checked. Use the Cleanup command to speed up "
10729 "these working copies."
10731 "Git的一些早期发布中存在一个bug,当你使用<guilabel>使用提交时戳</"
10732 "guilabel>选项检出的时候会造成时戳混乱。使用清理命令可以修正工作副本中的这些问"
10736 #: ../source/TortoiseGit_en.xml:7515
10737 msgid "Project Settings"
10741 #: ../source/TortoiseGit_en.xml:7517
10746 #: ../source/TortoiseGit_en.xml:7519
10748 "<placeholder-1/> Sometimes you want to have more detailed information about a "
10749 "file/directory than just the icon overlay. You can get all the information "
10750 "Git provides in the explorer properties dialog. Just select the file "
10751 "or directory and select <menuchoice><guimenu>Windows Menu</"
10752 "guimenu><guimenuitem>properties</guimenuitem></menuchoice> in the context "
10753 "menu (note: this is the normal properties menu entry the explorer provides, "
10754 "not the one in the TortoiseGit submenu!). In the properties dialog box "
10755 "TortoiseGit has added a new property page for files/folders under Git "
10756 "control, where you can see all relevant information about the selected file/"
10759 "<placeholder-1/>有时你可能想得到关于一个文件/目录的更多的细节信息而不仅是一个"
10760 "重载的标志。 你能得到Git的属性对话框中浏览到的所有信息。只需选择指定文"
10761 "件或目录,然后在文件菜单中选择<menuchoice><guimenu>Windows Menu</"
10762 "guimenu><guimenuitem>properties</guimenuitem></menuchoice>(注意: 这是浏览器提"
10763 "供的标准属性菜单,而不是TortoiseGit 子菜单的其中之一)。在TortoiseGit 属性对话"
10764 "框中已经为在Git控制下的文件/目录增加新的属性页。在这里你能看到所有的关"
10768 #: ../source/TortoiseGit_en.xml:7521
10769 msgid "Explorer property page, Git tab"
10770 msgstr "资源管理器属性页,Git 页面"
10773 #: ../source/TortoiseGit_en.xml:7541
10774 msgid "Git Properties"
10778 #: ../source/TortoiseGit_en.xml:7543
10779 msgid "Git properties"
10783 #: ../source/TortoiseGit_en.xml:7547
10786 "<placeholder-1/> You can read and set the Git properties from the "
10787 "Windows properties dialog, but also from <menuchoice><guimenu>TortoiseGit</"
10788 "guimenu><guimenuitem>properties</guimenuitem></menuchoice> and within "
10789 "TortoiseGit's status lists, from <menuchoice><guimenu>Context menu</"
10790 "guimenu><guimenuitem>properties</guimenuitem></menuchoice>."
10792 "<placeholder-1/> 你可以在 Windows 属性对话框读写 Git 属性。也可以从"
10793 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>属性</guimenuitem></"
10794 "menuchoice>,或者 <menuchoice><guimenu>上下文菜单</guimenu><guimenuitem>属性</"
10795 "guimenuitem></menuchoice>,来读写 Git 属性。"
10798 #: ../source/TortoiseGit_en.xml:7549
10799 msgid "Git property page"
10803 #: ../source/TortoiseGit_en.xml:7564
10806 "You can add your own properties, or some properties with a special meaning in "
10807 "Git. These begin with <literal>svn:</literal>. <literal>svn:externals</"
10808 "literal> is such a property; see how to handle externals in <xref linkend="
10809 "\"tsvn-dug-import-4\"/>."
10811 "从版本库里删除数据的唯一方法就是使用<literal>svnadmin</literal>这个Git"
10812 "命令行工具。具体如何实现请参考<ulink url=\"svnbook.red-bean.com/en/1.2/svn."
10813 "advanced.props.html\"><citetitle>《使用 Git 进行版本管理》</"
10814 "citetitle></ulink>。"
10817 #: ../source/TortoiseGit_en.xml:7571
10818 msgid "svn:keywords"
10819 msgstr "svn:keywords"
10822 #: ../source/TortoiseGit_en.xml:7573
10827 #: ../source/TortoiseGit_en.xml:7576
10828 msgid "expand keywords"
10832 #: ../source/TortoiseGit_en.xml:7578
10834 "Git supports CVS-like keyword expansion which can be used to embed "
10835 "filename and revision information within the file itself. Keywords currently "
10836 "supported are: <placeholder-1/>"
10838 "Git 支持类似 CVS 的关键字扩展,用来在文件中嵌入文件名称和版本信息。当前"
10839 "支持的关键字有:<placeholder-1/>"
10842 #: ../source/TortoiseGit_en.xml:7586
10844 "Date of last known commit. This is based on information obtained when you "
10845 "update your working copy. It does <emphasis>not</emphasis> check the "
10846 "repository to find more recent changes."
10848 "已知最后提交的日期。它基于你更新工作副本时获得的信息。它<emphasis>不</"
10849 "emphasis>检查版本库查找最新的修改。"
10852 #: ../source/TortoiseGit_en.xml:7597
10853 msgid "Revision of last known commit."
10854 msgstr "已知最后提交的版本。"
10857 #: ../source/TortoiseGit_en.xml:7605
10858 msgid "Author who made the last known commit."
10859 msgstr "已知最后提交的作者。"
10862 #: ../source/TortoiseGit_en.xml:7613
10863 msgid "The full URL of this file in the repository."
10864 msgstr "此文件在版本库中的 URL。"
10867 #: ../source/TortoiseGit_en.xml:7621
10868 msgid "A compressed combination of the previous four keywords."
10869 msgstr "前述四个关键字的压缩组合。"
10872 #: ../source/TortoiseGit_en.xml:7629
10875 "To find out how to use these keywords, look at the <ulink url=\"http://"
10876 "svnbook.red-bean.com/en/1.5/svn.advanced.props.special.keywords.html"
10877 "\"><citetitle>svn:keywords section</citetitle></ulink> in the Git "
10878 "book, which gives a full description of these keywords and how to enable and "
10881 "关键字的用法参见 Git 手册的 <ulink url=\"http://svnbook.red-bean.com/"
10882 "en/1.2/svn.advanced.props.html#svn.advanced.props.special.keywords"
10883 "\"><citetitle>svn:keywords section</citetitle></ulink>,它给出了这些关键字的完"
10887 #: ../source/TortoiseGit_en.xml:7639
10890 "For more information about properties in Git see the <ulink url="
10891 "\"http://svnbook.red-bean.com/en/1.5/svn.advanced.props.html"
10892 "\"><citetitle>Special Properties</citetitle></ulink>."
10894 "更多的关于svnserve的信息可以看<ulink url=\"http://svnbook.red-bean.com"
10895 "\"><citetitle>《使用 Git 进行版本管理》</citetitle></ulink>。"
10898 #: ../source/TortoiseGit_en.xml:7646
10899 msgid "Adding and Editing Properties"
10903 #: ../source/TortoiseGit_en.xml:7647
10905 "<placeholder-1/> To add a new property, first click on <guilabel>Add...</"
10906 "guilabel>. Select the required property name from the combo box, or type in a "
10907 "name of your own choice, then enter a value in the box below. Properties "
10908 "which take multiple values, such as an ignore list, can be entered on "
10909 "multiple lines. Click on <guibutton>OK</guibutton> to add that property to "
10912 "<placeholder-1/>为了增加新属性,先单击<guilabel>增加...</guilabel>,从组合框中"
10913 "选择需要的属性名称,或者输入你自定义的名称,然后在下面的编辑框内输入取值。有多"
10914 "个取值的属性,例如忽略列表,肯呢个输入多行。单极<guibutton>确认</guibutton>将"
10918 #: ../source/TortoiseGit_en.xml:7649
10919 msgid "Adding properties"
10923 #: ../source/TortoiseGit_en.xml:7659
10925 "If you want to apply a property to many items at once, select the files/"
10926 "folders in explorer, then select <menuchoice><guimenu>Context menu</"
10927 "guimenu><guimenuitem>properties</guimenuitem></menuchoice>"
10929 "如果你想一次性设置许多文件的属性,在资源管理器中选择文件/文件夹,然后选择"
10930 "<menuchoice><guimenu>上下文菜单</guimenu><guimenuitem>属性</guimenuitem></"
10934 #: ../source/TortoiseGit_en.xml:7667
10936 "If you want to apply the property to <emphasis>every</emphasis> file and "
10937 "folder in the hierarchy below the current folder, check the "
10938 "<guilabel>Recursive</guilabel> checkbox."
10940 "如果你想设置当前文件夹内的<emphasis>全部</emphasis>文件和文件夹,选中"
10941 "<guilabel>递归</guilabel>检查框。"
10944 #: ../source/TortoiseGit_en.xml:7672
10946 "Some properties, for example <literal>svn:needs-lock</literal>, can only be "
10947 "applied to files, so the property name doesn't appear in the drop down list "
10948 "for folders. You can still apply such a property recursively to all files in "
10949 "a hierarchy, but you have to type in the property name yourself."
10951 "一些属性,例如<literal>svn:needs-lock</literal>只能用于文件,所以它们在文件夹"
10952 "的属性下拉列表内不会出现。你仍旧可以递归的设置目录树中所有文件的属性,但是需要"
10956 #: ../source/TortoiseGit_en.xml:7679
10958 "If you wish to edit an existing property, select that property from the list "
10959 "of existing properties, then click on <guibutton>Edit...</guibutton>."
10961 "如果你想编辑一个已有属性,在已有属性列表中选择它,然后单击<guibutton>编辑...</"
10965 #: ../source/TortoiseGit_en.xml:7683
10967 "If you wish to remove an existing property, select that property from the "
10968 "list of existing properties, then click on <guibutton>Remove</guibutton>."
10970 "如果你想删除已有属性,在已有属性列表中选择它,然后单击<guibutton>删除</"
10974 #: ../source/TortoiseGit_en.xml:7687
10976 "The <literal>svn:externals</literal> property can be used to pull in other "
10977 "projects from the same repository or a completely different repository. For "
10978 "more information, read <xref linkend=\"tsvn-dug-import-4\"/>."
10980 "属性<literal>svn:externals</literal>可以用来下载位于同一版本库或不同版本库的其"
10981 "它工程。阅读<xref linkend=\"tsvn-dug-import-4\"/>以获得更多信息。"
10984 #: ../source/TortoiseGit_en.xml:7695
10986 msgid "Exporting and Importing Properties"
10987 msgstr "导出一个Git工作副本"
10990 #: ../source/TortoiseGit_en.xml:7696
10992 "Often you will find yourself applying the same set of properties many times, "
10993 "for example <literal>bugtraq:logregex</literal>. To simplify the process of "
10994 "copying properties from one project to another, you can use the Export/Import "
10999 #: ../source/TortoiseGit_en.xml:7702
11001 "From the file or folder where the properties are already set, use "
11002 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>properties</"
11003 "guimenuitem></menuchoice>, select the properties you wish to export and click "
11004 "on <guibutton>Export...</guibutton>. You will be prompted for a filename "
11005 "where the property names and values will be saved."
11009 #: ../source/TortoiseGit_en.xml:7712
11011 "From the folder(s) where you wish to apply these properties, use "
11012 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>properties</"
11013 "guimenuitem></menuchoice> and click on <guibutton>Import...</guibutton>. You "
11014 "will be prompted for a filename to import from, so navigate to the place you "
11015 "saved the export file previously and select it. The properties will be added "
11016 "to the folders non-recursively."
11020 #: ../source/TortoiseGit_en.xml:7723
11022 "If you want to add properties to a tree recursively, follow the steps above, "
11023 "then in the property dialog select each property in turn, click on "
11024 "<guibutton>Edit...</guibutton>, check the <guilabel>Apply property "
11025 "recursively</guilabel> box and click on <guibutton>OK</guibutton>."
11029 #: ../source/TortoiseGit_en.xml:7730
11031 "The Import file format is binary and proprietary to TortoiseGit. Its only "
11032 "purpose is to transfer properties using Import and Export, so there is no "
11033 "need to edit these files."
11037 #: ../source/TortoiseGit_en.xml:7737
11038 msgid "Binary Properties"
11042 #: ../source/TortoiseGit_en.xml:7738
11044 "TortoiseGit can handle binary property values using files. To read a binary "
11045 "property value, <guibutton>Save...</guibutton> to a file. To set a binary "
11046 "value, use a hex editor or other appropriate tool to create a file with the "
11047 "content you require, then <guibutton>Load...</guibutton> from that file."
11049 "TortoiseGit可以处理文件的二进制属性。使用<guibutton>保存...</guibutton>到文件"
11050 "读取二进制属性值。使用十六进制编辑器或其它适当的工具创建文件,然后用从文件"
11051 "<guibutton>加载...</guibutton>设置二进制值为此文件的内容。"
11054 #: ../source/TortoiseGit_en.xml:7745
11056 "Although binary properties are not often used, they can be useful in some "
11057 "applications. For example if you are storing huge graphics files, or if the "
11058 "application used to load the file is huge, you might want to store a "
11059 "thumbnail as a property so you can obtain a preview quickly."
11061 "尽管二进制文件不经常使用,它们在一些程序中是有用的。举例来说,如果你存储了巨大"
11062 "的图形文件,或者用程序加载的文件巨大,你可能想将缩略图作为属性存储,于是你可以"
11066 #: ../source/TortoiseGit_en.xml:7753
11067 msgid "Automatic property setting"
11071 #: ../source/TortoiseGit_en.xml:7755
11073 msgstr "auto-props"
11076 #: ../source/TortoiseGit_en.xml:7757
11079 "You can configure Git and TortoiseGit to set properties automatically "
11080 "on files and folders when they are added to the repository. There are two "
11081 "ways of doing this."
11083 "你可以设置当文件和文件夹加入版本库时,自动设置属性。阅读<xref linkend=\"tsvn-"
11084 "dug-settings\"/>以获得更多信息。"
11087 #: ../source/TortoiseGit_en.xml:7762
11089 "You can edit the Git configuration file to enable this feature on your "
11090 "client. The <guilabel>General</guilabel> page of TortoiseGit's settings "
11091 "dialog has an edit button to take you there directly. The config file is a "
11092 "simple text file which controls some of Git's workings. You need to "
11093 "change two things: firstly in the section headed <literal>miscellany</"
11094 "literal> uncomment the line <literal>enable-auto-props = yes</literal>. "
11095 "Secondly you need to edit the section below to define which properties you "
11096 "want added to which file types. This method is a standard Git feature "
11097 "and works with any Git client. However it has to be defined on each "
11098 "client individually - there is no way to propagate these settings from the "
11103 #: ../source/TortoiseGit_en.xml:7779
11105 "An alternative method is to set the <literal>tsvn:autoprops</literal> "
11106 "property on folders, as described in the next section. This method only works "
11107 "for TortoiseGit clients, but it does get propagated to all working copies on "
11112 #: ../source/TortoiseGit_en.xml:7785
11114 "Whichever method you choose, you should note that auto-props are only applied "
11115 "to files at the time they are added to the repository. Auto-props will never "
11116 "change the properties of files which are already versioned."
11120 #: ../source/TortoiseGit_en.xml:7791
11122 "If you want to be absolutely sure that new files have the correct properties "
11123 "applied, you should set up a repository pre-commit hook to reject commits "
11124 "where the required properties are not set."
11128 #: ../source/TortoiseGit_en.xml:7798
11129 msgid "Commit properties"
11133 #: ../source/TortoiseGit_en.xml:7799
11135 "Git properties are versioned. After you change or add a property you "
11136 "have to commit your changes."
11137 msgstr "Git 属性是受版本控制的。在你改变或增加属性后必须提交。"
11140 #: ../source/TortoiseGit_en.xml:7805
11141 msgid "Conflicts on properties"
11145 #: ../source/TortoiseGit_en.xml:7806
11147 "If there's a conflict on committing the changes, because another user has "
11148 "changed the same property, Git generates a <filename>.prej</filename> "
11149 "file. Delete this file after you have resolved the conflict."
11151 "如果因为其他用户已经提交了同样的属性,提交时出现冲突,Git 会产生一个 "
11152 "<filename>.prej</filename> 文件。在你解决冲突后,请删除此文件。"
11155 #: ../source/TortoiseGit_en.xml:7815
11156 msgid "TortoiseGit Project Properties"
11157 msgstr "TortoiseGit 项目属性"
11160 #: ../source/TortoiseGit_en.xml:7817
11161 msgid "project properties"
11165 #: ../source/TortoiseGit_en.xml:7820
11166 msgid "TortoiseGit properties"
11167 msgstr "TortoiseGit 属性"
11170 #: ../source/TortoiseGit_en.xml:7822
11172 "TortoiseGit has a few special properties of its own, and these begin with "
11173 "<literal>tsvn:</literal>. <placeholder-1/>"
11175 "TortoiseGit 有自己专用的几个属性,它们都有<literal>tsvn:</literal>前缀。"
11179 #: ../source/TortoiseGit_en.xml:7827
11181 "<literal>tsvn:logminsize</literal> sets the minimum length of a log message "
11182 "for a commit. If you enter a shorter message than specified here, the commit "
11183 "is disabled. This feature is very useful for reminding you to supply a proper "
11184 "descriptive message for every commit. If this property is not set, or the "
11185 "value is zero, empty log messages are allowed."
11187 "<literal>tsvn:logminsize</literal>设置提交日志的最小长度。如果你输入的日志短于"
11188 "预设值,提交会被禁止。这个属性对于提醒你为每次提交提供一个适当的描述信息非常有"
11189 "用。如果不设置这个属性,或者设置为0,那么就允许空提交信息。"
11192 #: ../source/TortoiseGit_en.xml:7836
11194 "<literal>tsvn:lockmsgminsize</literal> sets the minimum length of a lock "
11195 "message. If you enter a shorter message than specified here, the lock is "
11196 "disabled. This feature is very useful for reminding you to supply a proper "
11197 "descriptive message for every lock you get. If this property is not set, or "
11198 "the value is zero, empty lock messages are allowed."
11200 "<literal>tsvn:lockmsgminsize</literal>设置锁定日志的最小长度。如果你输入的日志"
11201 "短于预设值,加锁会被禁止。这个属性对于提醒你为每次加锁提供一个适当的描述信息非"
11202 "常有用。如果不设置这个属性,或者设置为0,那么就允许空加锁信息。"
11205 #: ../source/TortoiseGit_en.xml:7847
11207 "<literal>tsvn:logwidthmarker</literal> is used with projects which require "
11208 "log messages to be formatted with some maximum width (typically 80 "
11209 "characters) before a line break. Setting this property to a non-zero will do "
11210 "2 things in the log message entry dialog: it places a marker to indicate the "
11211 "maximum width, and it disables word wrap in the display, so that you can see "
11212 "whether the text you entered is too long. Note: this feature will only work "
11213 "correctly if you have a fixed-width font selected for log messages."
11215 "<literal>tsvn:logwidthmarker</literal>用在要求日志信息被格式化为在最大宽度(典"
11216 "型是80字符)处换行非常有用。设置此属性为大于0的值会在日志消息对话框中做两件事: "
11217 "放置一个标记指示最大宽度,和禁止自动换行,于是你可以看到输入的信息是否太长。注"
11218 "意: 这个特性仅在你选择的消息使用固定宽度字体时才能正确工作。"
11221 #: ../source/TortoiseGit_en.xml:7860
11223 "<literal>tsvn:logtemplate</literal> is used with projects which have rules "
11224 "about log message formatting. The property holds a multi-line text string "
11225 "which will be inserted in the commit message box when you start a commit. You "
11226 "can then edit it to include the required information. Note: if you are also "
11227 "using <literal>tsvn:logminsize</literal>, be sure to set the length longer "
11228 "than the template or you will lose the protection mechanism."
11230 "<literal>tsvn:logtemplate</literal>在需要定义日志消息格式化规则的工程中使用。"
11231 "在你开始提交时,这个属性的多行消息会被插入日志消息编辑框。你可以编辑它以便包含"
11232 "需要的信息。注意: 如果你使用了<literal>tsvn:logminsize</literal>属性,请确认这"
11233 "个长度大于模版的长度,不然就会失去其保护作用。"
11236 #: ../source/TortoiseGit_en.xml:7871
11239 "Git allows you to set <quote>autoprops</quote> which will be applied "
11240 "to newly added or imported files, based on the file extension. This depends "
11241 "on every client having set appropriate autoprops in their Git "
11242 "configuration file. <literal>tsvn:autoprops</literal> can be set on folders "
11243 "and these will be merged with the user's local autoprops when importing or "
11244 "adding files. The format is the same as for Git autoprops, e.g. "
11245 "<literal>*.sh = svn:eol-style=native;svn:executable</literal> sets two "
11246 "properties on files with the <literal>.sh</literal> extension."
11248 "Git 允许你设置 <quote>autoprops</quote>,它基于文件扩展名,对新增文件或"
11249 "导入的文件生效。这依赖于每个客户端在 Git 配置文件中设置适当的 "
11250 "autoprops。<literal>tsvn:autoprops</literal> 可以对目录设置,当新增文件或导入"
11251 "文件时,它会与用户的本地 autoprops 合并。"
11254 #: ../source/TortoiseGit_en.xml:7884
11256 "If there is a conflict between the local autoprops and <literal>tsvn:"
11257 "autoprops</literal>, the project settings take precedence because they are "
11258 "specific to that project."
11260 "如果本地 autoprops 与 <literal>tsvn:autoprops</literal> 冲突,项目设置优先(因"
11264 #: ../source/TortoiseGit_en.xml:7891
11267 "In the Commit dialog you have the option to paste in the list of changed "
11268 "files, including the status of each file (added, modified, etc). "
11269 "<literal>tsvn:logfilelistenglish</literal> defines whether the file status is "
11270 "inserted in English or in the localized language. If the property is not set, "
11271 "the default is <literal>true</literal>."
11273 "在提交对话框,你可以复制修改的文件列表,包含每个文件的状态(增加,修改等)。"
11274 "<literal>tsvn:logfilelistenglish</literal>定义了文件状态用英文插入,还是用本地"
11275 "消息插入。此属性的默认值是<literal>真</literal>。"
11278 #: ../source/TortoiseGit_en.xml:7902
11281 "TortoiseGit can use spell checker modules which are also used by OpenOffice "
11282 "and Mozilla. If you have those installed this property will determine which "
11283 "spell checker to use, i.e. in which language the log messages for your "
11284 "project should be written. <literal>tsvn:projectlanguage</literal> sets the "
11285 "language module the spell checking engine should use when you enter a log "
11286 "message. You can find the values for your language on this page: <ulink url="
11287 "\"http://msdn2.microsoft.com/en-us/library/ms776260.aspx\"><citetitle>MSDN: "
11288 "Language Identifiers</citetitle></ulink>."
11290 "TortoiseGit可以使用OpenOffice和Mozilla使用的拼写检查模块。如果你安装了这些模"
11291 "块,那么这个属性将检测使用哪个拼写检查模块。也就是,你的工程的日志信息用的语"
11292 "言。<literal>tsvn:projectlanguage</literal>设置拼写检查引擎应该使用什么语言模"
11293 "块来检查日志信息。你可以在这个叶面找到你的语言的取值: <ulink url=\"http://"
11294 "msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/nls_238z.asp"
11295 "\"><citetitle>MSDN: 语言标示符</citetitle></ulink>。"
11298 #: ../source/TortoiseGit_en.xml:7916
11300 "You can enter this value in decimal, or in hexadecimal if prefixed with "
11301 "<literal>0x</literal>. For example English (US) can be entered as "
11302 "<literal>0x0409</literal> or <literal>1033</literal>."
11304 "你可以用十进制输入取值,如果用<literal>0x</literal>前缀的话,也可以用十六进"
11305 "制。例如英语(美国英语)可以输入<literal>0x0409</literal>或者<literal>1033</"
11309 #: ../source/TortoiseGit_en.xml:7924
11311 "The property <literal>tsvn:logsummary</literal> is used to extract a portion "
11312 "of the log message which is then shown in the log dialog as the log message "
11317 #: ../source/TortoiseGit_en.xml:7929
11319 "The value of the <literal>tsvn:logsummary</literal> property must be set to a "
11320 "one line regex string which contains one regex group. Whatever matches that "
11321 "group is used as the summary."
11325 #: ../source/TortoiseGit_en.xml:7935
11327 "An example: <literal>\\[SUMMARY\\]:\\s+(.*)</literal> Will catch everything "
11328 "after <quote>[SUMMARY]</quote> in the log message and use that as the summary."
11332 #: ../source/TortoiseGit_en.xml:7943
11334 "When you want to add a new property, you can either pick one from the list in "
11335 "the combo box, or you can enter any property name you like. If your project "
11336 "uses some custom properties, and you want those properties to appear in the "
11337 "list in the combo box (to avoid typos when you enter a property name), you "
11338 "can create a list of your custom properties using <literal>tsvn:"
11339 "userfileproperties</literal> and <literal>tsvn:userdirproperties</literal>. "
11340 "Apply these properties to a folder. When you go to edit the properties of any "
11341 "child item, your custom properties will appear in the list of pre-defined "
11344 "当你想增加新属性时,你可以从组合框的下拉列表选取,也可以输入你喜欢的任何属性名"
11345 "称。如果你的项目使用了自定义属性,并且想让这些属性出现在组合框的下拉列表中(避"
11346 "免输入时拼写错误),你可以使用<literal>tsvn:userfileproperties</literal>和"
11347 "<literal>tsvn:userdirproperties</literal>创建自定义属性列表。对目录应用这些属"
11348 "性,当你编辑其任何子项属性时,你自定义的属性将会在预定义属性名称列表中出现。"
11352 #: ../source/TortoiseGit_en.xml:7959 ../source/TortoiseGit_en.xml:10470
11355 "Some <literal>tsvn:</literal> properties require a <literal>true/false</"
11356 "literal> value. TortoiseGit also understands <literal>yes</literal> as a "
11357 "synonym for <literal>true</literal> and <literal>no</literal> as a synonym "
11358 "for <literal>false</literal>."
11360 "一些 <literal>tsvn:</literal> 属性需要 <literal>true/false</literal> 值。它也"
11361 "理解 <literal>yes</literal> 是 <literal>true</literal> 的同义词,<literal>no</"
11362 "literal> 是 <literal>false</literal>的同义词。"
11365 #: ../source/TortoiseGit_en.xml:7965
11368 "TortoiseGit can integrate with some bug tracking tools. This uses project "
11369 "properties that start with <literal>bugtraq:</literal>. Read <xref linkend="
11370 "\"tsvn-dug-bugtracker\"/> for further information."
11372 "TortoiseGit可以与一些问题跟踪工具集成。它使用<literal>bugtraq:</literal>开始的"
11373 "属性。阅读<xref linkend=\"tsvn-dug-bugtracker\"/>以便获得更多信息。"
11376 #: ../source/TortoiseGit_en.xml:7970
11379 "It can also integrate with some web-based repository browsers, using project "
11380 "properties that start with <literal>webviewer:</literal>. Read <xref linkend="
11381 "\"tsvn-dug-repoviewer\"/> for further information."
11383 "它也与一些基于WEB的版本库浏览器集成。阅读<xref linkend=\"tsvn-dug-repoviewer"
11387 #: ../source/TortoiseGit_en.xml:7976
11388 msgid "Set the project properties on folders"
11389 msgstr "设置文件夹的项目属性"
11392 #: ../source/TortoiseGit_en.xml:7977
11395 "These special project properties must be set on <emphasis>folders</emphasis> "
11396 "for the system to work. When you commit a file or folder the properties are "
11397 "read from that folder. If the properties are not found there, TortoiseGit "
11398 "will search upwards through the folder tree to find them until it comes to an "
11399 "unversioned folder, or the tree root (eg. <literal>C:\\</literal>) is found. "
11400 "If you can be sure that each user checks out only from e.g <filename>trunk/</"
11401 "filename> and not some sub-folder, then it is sufficient to set the "
11402 "properties on <filename>trunk/</filename>. If you can't be sure, you should "
11403 "set the properties recursively on each sub-folder. A property setting deeper "
11404 "in the project hierarchy overrides settings on higher levels (closer to "
11405 "<filename>trunk/</filename>)."
11407 "属性<literal>tsvn:</literal>只能在<emphasis>文件夹</emphasis>设置。当你提交文"
11408 "件或文件夹时,这些属性从文件夹读取。如果没有发现这些属性,TortoiseGit会向上级"
11409 "目录搜索,直到未版本控制的文件夹,或到达根目录(例如 <literal>C:\\</"
11410 "literal>) 。如果你确认每个用户都是从同一个目录检出,例如<filename>trunk/</"
11411 "filename>,而不是其它子目录,那么只在<filename>trunk/</filename>设置属性就足够"
11412 "了。如果你不能确定,那么应当递归的设置每个子目录。深层的设置覆盖高层的设置 (靠"
11413 "近 <filename>trunk/</filename>)。"
11416 #: ../source/TortoiseGit_en.xml:7991
11419 "For project properties <emphasis>only</emphasis> you can use the "
11420 "<guilabel>Recursive</guilabel> checkbox to set the property to all sub-"
11421 "folders in the hierarchy, without also setting it on all files."
11423 "对于<literal>tsvn:</literal>属性,你<emphasis>只能</emphasis>对于所有子目录使"
11424 "用<guilabel>递归</guilabel>检查框设置属性,不能设置文件的属性。"
11427 #: ../source/TortoiseGit_en.xml:7998
11429 "When you add new sub-folders using TortoiseGit, any project properties "
11430 "present in the parent folder will automatically be added to the new child "
11433 "当你使用 TortoiseGit 增加新的目录时,任何父目录的项目属性都会被自动增加到子目"
11437 #: ../source/TortoiseGit_en.xml:8004
11440 "Although TortoiseGit's project properties are extremely useful, they only "
11441 "work with TortoiseGit, and some will only work in newer versions of "
11442 "TortoiseGit. If people working on your project use a variety of Git "
11443 "clients, or possibly have old versions of TortoiseGit, you may want to use "
11444 "repository hooks to enforce project policies. project properties can only "
11445 "help to implement a policy, they cannot enforce it."
11447 "尽管 <literal>tsvn:xxx</literal> 属性很有用,它们只适用于 TortoiseGit,而且一"
11448 "些只是对于新版本的 TortoiseGit 才生效。如果你的项目中的人使用各种 Git "
11449 "客户端,或者使用低版本的 TortoiseGit,你可能想使用版本库钩子强制执行项目政策。"
11450 "<literal>tsvn:</literal> 属性只能帮助你实现政策,不能强制执行。"
11453 #: ../source/TortoiseGit_en.xml:8017
11454 msgid "Branching / Tagging"
11459 #: ../source/TortoiseGit_en.xml:8025 ../source/TortoiseGit_en.xml:9508
11464 #: ../source/TortoiseGit_en.xml:8028
11466 msgid "mark release"
11470 #: ../source/TortoiseGit_en.xml:8031
11472 "One of the features of version control systems is the ability to isolate "
11473 "changes onto a separate line of development. This line is known as a "
11474 "<firstterm>branch</firstterm>. Branches are often used to try out new "
11475 "features without disturbing the main line of development with compiler errors "
11476 "and bugs. As soon as the new feature is stable enough then the development "
11477 "branch is <firstterm>merged</firstterm> back into the main branch (trunk)."
11479 "版本控制系统的一个特性是能够把各种修改分离出来放在开发品的一个分割线上。这条线"
11480 "被称为<firstterm>分支</firstterm>。分支经常被用来试验新的特性,而不会对开发有"
11481 "编译错误的干扰。当新的特性足够稳定之后,开发品的分支就可以<firstterm>混合</"
11482 "firstterm>回主分支里(主干线)."
11485 #: ../source/TortoiseGit_en.xml:8041
11487 "Another feature of version control systems is the ability to mark particular "
11488 "revisions (e.g. a release version), so you can at any time recreate a certain "
11489 "build or environment. This process is known as <firstterm>tagging</firstterm>."
11491 "版本控制系统的另一个特性是能够标记特殊的版本(例如某个发布版本),所以你可以在任"
11492 "何时候重新建立一个特定的构件和环境。这个过程被称作<firstterm>标记</"
11496 #: ../source/TortoiseGit_en.xml:8047
11499 "Git does not have special commands for branching or tagging, but uses "
11500 "so-called <quote>cheap copies</quote> instead. Cheap copies are similar to "
11501 "hard links in Unix, which means that instead of making a complete copy in the "
11502 "repository, an internal link is created, pointing to a specific tree/"
11503 "revision. As a result branches and tags are very quick to create, and take up "
11504 "almost no extra space in the repository."
11506 "Git 没有用于建立分支和标记的特殊命令,但是使用所谓的<literal>便宜复制</"
11507 "literal>来代替。便宜复制类似于Unix里的硬连接,它意思是代替一个版本库里的完整的"
11508 "复制,创建一个内部的连接,指向一个具体的版本树。结果分支和标记就迅速被创建,并"
11509 "且没有在版本库里占据任何额外的空间。"
11512 #: ../source/TortoiseGit_en.xml:8057
11513 msgid "Creating a Branch or Tag"
11517 #: ../source/TortoiseGit_en.xml:8058
11519 "If you have imported your project with the recommended directory structure, "
11520 "creating a branch or tag version is very simple: <placeholder-1/> Select the "
11521 "folder in your working copy which you want to copy to a branch or tag, then "
11522 "select the command <menuchoice><guimenu>TortoiseGit</"
11523 "guimenu><guimenuitem>Branch/Tag...</guimenuitem></menuchoice>."
11525 "如果你用推荐的目录结构导入了一个工程,那么创建分支或标记就非常简单: "
11526 "<placeholder-1/>在你当前的工作副本中给你你想要复制的分支或标记选择一个目录,然"
11527 "后选择命令<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>分支/标记..."
11528 "</guimenuitem></menuchoice>。"
11531 #: ../source/TortoiseGit_en.xml:8062
11532 msgid "The Branch/Tag Dialog"
11536 #: ../source/TortoiseGit_en.xml:8072
11538 "The default destination URL for the new branch will be the source URL on "
11539 "which your working copy is based. You will need to edit that URL to the new "
11540 "path for your branch/tag. So instead of <screen>\n"
11541 " http://svn.collab.net/repos/ProjectName/trunk\n"
11542 "</screen> you might now use something like <screen>\n"
11543 " http://svn.collab.net/repos/ProjectName/tags/Release_1.10\n"
11544 "</screen> If you can't remember the naming convention you used last time, "
11545 "click the button on the right to open the repository browser so you can view "
11546 "the existing repository structure."
11548 "默认的目标URL将会是你当前工作副本所处的源URL。你必须给你的分支/标记编辑一个新"
11550 " http://svn.collab.net/repos/ProjectName/trunk\n"
11551 "</screen>你可以使用这样的设置 <screen>\n"
11552 " http://svn.collab.net/repos/ProjectName/tags/Release_1.10\n"
11553 "</screen>如果你忘记了你上一次使用的命名约定,可以用鼠标右键打开版本库浏览器来"
11557 #: ../source/TortoiseGit_en.xml:8088
11559 "Now you have to select the source of the copy. Here you have three options: "
11561 msgstr "现在你必须选择要复制的源位置。在这里你有三个设置选项: <placeholder-1/>"
11565 #: ../source/TortoiseGit_en.xml:8093 ../source/TortoiseGit_en.xml:15085
11566 msgid "HEAD revision in the repository"
11570 #: ../source/TortoiseGit_en.xml:8095
11572 "The new branch is copied directly in the repository from the HEAD revision. "
11573 "No data needs to be transferred from your working copy, and the branch is "
11574 "created very quickly."
11576 "新分支直接从仓库中的最新版本里复制出来。不需要从你的工作副本中传输任何数据,这"
11580 #: ../source/TortoiseGit_en.xml:8104
11581 msgid "Specific revision in the repository"
11582 msgstr "在版本库中指定具体的版本"
11585 #: ../source/TortoiseGit_en.xml:8106
11587 "The new branch is copied directly in the repository but you can choose an "
11588 "older revision. This is useful if you forgot to make a tag when you released "
11589 "your project last week. If you can't remember the revision number, click the "
11590 "button on the right to show the revision log, and select the revision number "
11591 "from there. Again no data is transferred from your working copy, and the "
11592 "branch is created very quickly."
11594 "在仓库中直接复制建立一个新分支同时你也可以选择一个旧版本。假如在你上周发布了项"
11595 "目时忘记了做标记,这将非常有用。如果你记不起来版本号,通过点击鼠标右键来显示版"
11596 "本日志,同时从这里选取版本号。和上次一样不需要从你的工作副本中传输任何数据,这"
11600 #: ../source/TortoiseGit_en.xml:8121
11602 "The new branch is an identical copy of your local working copy. If you have "
11603 "updated some files to an older revision in your WC, or if you have made local "
11604 "changes, that is exactly what goes into the copy. Naturally this sort of "
11605 "complex tag may involve transferring data from your WC back to the repository "
11606 "if it does not exist there already."
11608 "新的分支是一个完全等同于你的本地工作副本的一个副本。如果你更新了一些文件到你的"
11609 "工作副本的某个旧版本里,或者你在本地做出了修改,这些改变将准确无误的进入副本"
11610 "中。自然而然地这种综合的标记会包含正在从工作副本传输到版本库的数据,如果这些数"
11614 #: ../source/TortoiseGit_en.xml:8134
11616 "If you want your working copy to be switched to the newly created branch "
11617 "automatically, use the <guilabel>Switch working copy to new branch/tag</"
11618 "guilabel> checkbox. But if you do that, first make sure that your working "
11619 "copy does not contain modifications. If it does, those changes will be merged "
11620 "into the branch WC when you switch."
11622 "如果你想把你的工作副本自动切换到最新创建的分支,使用<guilabel>转换工作副本至新"
11623 "分支/标记</guilabel> 选择框.但是如果你打算这么做,首先要确认你的工作副本没有被"
11624 "修改。如果有修改的话,当你转换后这些修改将会混合进你的工作副本分支里。"
11627 #: ../source/TortoiseGit_en.xml:8142
11629 "Press <guibutton>OK</guibutton> to commit the new copy to the repository. "
11630 "Don't forget to supply a log message. Note that the copy is created "
11631 "<emphasis>inside the repository</emphasis>."
11633 "按下<guibutton>确认</guibutton>提交新副本到版本库中。别忘了提供一条日志信息。"
11634 "需要注意的是这个副本是在<emphasis>版本库内部</emphasis>创建的。"
11637 #: ../source/TortoiseGit_en.xml:8147
11640 "Note that unless you opted to switch your working copy to the newly created "
11641 "branch, creating a Branch or Tag does <emphasis>not</emphasis> affect your "
11642 "working copy. Even if you create the branch from your WC, those changes are "
11643 "committed to the new branch, not to the trunk, so your WC may still be marked "
11644 "as modified with respect to the trunk."
11646 "需要注意建立一个分支或标记<emphasis>不会</emphasis>影响你的工作副本。即使你复"
11647 "制了你的工作副本,这些修改也会提交到新分支里,而不是到主干里,所以你的工作副本"
11651 #: ../source/TortoiseGit_en.xml:8156
11652 msgid "To Checkout or to Switch..."
11656 #: ../source/TortoiseGit_en.xml:8159
11661 #: ../source/TortoiseGit_en.xml:8161
11664 "...that is (not really) the question. While a checkout downloads everything "
11665 "from the desired branch in the repository to your working directory, "
11666 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Switch...</"
11667 "guimenuitem></menuchoice> only transfers the changed data to your working "
11668 "copy. Good for the network load, good for your patience. :-)"
11670 "...这是个小问题。当你想从预期的分支检出所有数据到你的工作副本目录时"
11671 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>切换...</guimenuitem></"
11672 "menuchoice> 仅仅传输已经被修改的数据到你的工作副本中。这样能减轻你的网络负担,"
11676 #: ../source/TortoiseGit_en.xml:8172
11679 "To be able to work with your freshly generated branch or tag you have several "
11680 "ways to handle it. You can: <placeholder-1/><placeholder-2/>"
11682 "为了能够使用你最新产生的副本你有采用下面几种方法。你可以: <placeholder-1/"
11683 "><placeholder-2/>"
11686 #: ../source/TortoiseGit_en.xml:8177
11688 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Checkout</"
11689 "guimenuitem></menuchoice> to make a fresh checkout in an empty folder. You "
11690 "can check out to any location on your local disk and you can create as many "
11691 "working copies from your repository as you like."
11693 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>检出</guimenuitem></"
11694 "menuchoice>一个最新的项目在一个空目录下。你可以在你的本地磁盘上的任意位置进行"
11695 "检出操作,同时你可以从版本库中按照你的意愿建立出任意数量的副本。"
11698 #: ../source/TortoiseGit_en.xml:8189
11700 "Switch your current working copy to the newly created copy in the repository. "
11701 "Again select the top level folder of your project and use "
11702 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Switch...</"
11703 "guimenuitem></menuchoice> from the context menu."
11705 "在版本库中从你当前的工作副本切换到最新建立的副本。再一次选择你的项目所处的顶级"
11706 "文件夹然后在菜单中使用<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>"
11707 "切换...</guimenuitem></menuchoice>。"
11710 #: ../source/TortoiseGit_en.xml:8199
11712 "In the next dialog enter the URL of the branch you just created. Select the "
11713 "<guilabel>Head Revision</guilabel> radio button and click on <guibutton>OK</"
11714 "guibutton>. Your working copy is switched to the new branch/tag."
11716 "在接下来的对话框中蠕蠕你刚才建立的分支的URL。选择<guilabel>最新版本</guilabel>"
11717 "单选按钮然后<guibutton>确认</guibutton>。你的工作副本就切换到了最新的分支/标"
11721 #: ../source/TortoiseGit_en.xml:8207
11723 "Switch works just like Update in that it never discards your local changes. "
11724 "Any changes you have made to your working copy which have not yet been "
11725 "committed will be merged when you do the Switch. If you do not want this to "
11726 "happen then you must either commit the changes before switching, or revert "
11727 "your working copy to an already-committed revision (typically HEAD)."
11729 "切换操作起来就象更新,因为它没有丢弃你在本地做的修改。在工作副本里当你进行切换"
11730 "的时候任何没有提交过的修改都会被混合。如果你不想看到这样的结果,那么你可以有两"
11731 "种选择,要么在切换前提交修改,要么把工作副本恢复到一个已经提交过的版本(比如最"
11735 #: ../source/TortoiseGit_en.xml:8217
11738 "If you want to work on trunk and branch, but don't want the expense of a "
11739 "fresh checkout, you can use Windows Explorer to make a copy of your trunk "
11740 "checkout in another folder, then <menuchoice><guimenu>TortoiseGit</"
11741 "guimenu><guimenuitem>Switch...</guimenuitem></menuchoice> that copy to your "
11744 "在版本库中从你当前的工作副本切换到最新建立的副本。再一次选择你的项目所处的顶级"
11745 "文件夹然后在菜单中使用<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>"
11746 "切换...</guimenuitem></menuchoice>。"
11749 #: ../source/TortoiseGit_en.xml:8230
11750 msgid "The Switch Dialog"
11754 #: ../source/TortoiseGit_en.xml:8234
11756 "Although Git itself makes no distinction between tags and branches, "
11757 "the way they are typically used differs a bit. <placeholder-1/>"
11759 "尽管Git本身不区分标记和分支,它们的使用方法还是有些不同。<placeholder-"
11763 #: ../source/TortoiseGit_en.xml:8239
11765 "Tags are typically used to create a static snapshot of the project at a "
11766 "particular stage. As such they not normally used for development - that's "
11767 "what branches are for, which is the reason we recommended the <filename>/"
11768 "trunk /branches /tags</filename> repository structure in the first place. "
11769 "Working on a tag revision is <emphasis>not a good idea</emphasis>, but "
11770 "because your local files are not write protected there is nothing to stop you "
11771 "doing this by mistake. However, if you try to commit to a path in the "
11772 "repository which contains <filename>/tags/</filename>, TortoiseGit will warn "
11775 "在某个特殊的阶段标记被用来建立一个项目的静态映像。同样地标记和分支应该被独特地"
11776 "应用于开发品。这就是我们首选推荐 <filename>/trunk /branches /tags</filename>这"
11777 "样的版本库结构的原因。使用标记的版本并不是一个<emphasis>好想法</emphasis>,因"
11778 "为你的本地文件没有写保护,你这样做容易犯错误。不管怎样如果你试着提交(修改)到一"
11779 "个包含<filename>/标记/</filename>的版本库路径下,TortoiseGit 会给你警告。"
11782 #: ../source/TortoiseGit_en.xml:8255
11784 "It may be that you need to make further changes to a release which you have "
11785 "already tagged. The correct way to handle this is to create a new branch from "
11786 "the tag first and commit the branch. Do your Changes on this branch and then "
11787 "create a new tag from this new branch, e.g. <filename>Version_1.0.1</"
11790 "如果你想要在一个已经标记的发布版上做更多的修改。正确的操作方法是先从标记处建立"
11791 "一个新分支然后提交这个分支。在这个分支的基础上进行修改后再从这个新分支上建立一"
11792 "个新标记,例如 <filename>Version_1.0.1</filename>。"
11795 #: ../source/TortoiseGit_en.xml:8265
11797 "If you modify a working copy created from a branch and commit, then all "
11798 "changes go to the new branch and <emphasis>not</emphasis> the trunk. Only the "
11799 "modifications are stored. The rest remains a cheap copy."
11801 "如果你修改了一个从分支建立的工作副本然后又提交了这个副本,那么所有的修改会转到"
11802 "一个新分支里而<emphasis>不是</emphasis> 主干。仅仅是存储了修改的数据。其余的数"
11806 #: ../source/TortoiseGit_en.xml:8278
11814 #: ../source/TortoiseGit_en.xml:8281 ../source/TortoiseGit_en.xml:8407
11815 #: ../source/TortoiseGit_en.xml:8520 ../source/TortoiseGit_en.xml:8553
11820 #: ../source/TortoiseGit_en.xml:8283
11822 "Where branches are used to maintain separate lines of development, at some "
11823 "stage you will want to merge the changes made on one branch back into the "
11824 "trunk, or vice versa."
11826 "分支用来维护独立的开发支线,在一些阶段,你可能需要将分支上的修改合并到最新版"
11827 "本,或者将最新版本的修改合并到分支。"
11830 #: ../source/TortoiseGit_en.xml:8288
11833 "It is important to understand how branching and merging works in Git "
11834 "before you start using it, as it can become quite complex. It is highly "
11835 "recommended that you read the chapter <ulink url=\"http://svnbook.red-bean."
11836 "com/en/1.5/svn.branchmerge.html\"><citetitle>Branching and Merging</"
11837 "citetitle></ulink> in the Git book, which gives a full description and "
11838 "many examples of how it is used."
11840 "因为分支与合并很复杂,所以在你开始使用之前,请先理解它是怎么工作的。强烈建议你"
11841 "阅读《使用 Git 进行版本管理》的<ulink url=\"http://svnbook.red-bean."
11842 "com/en/1.2/svn.branchmerge.html\"><citetitle>分支与合并</citetitle></ulink>章"
11843 "节,它给出了全面的描述,和许多使用举例。"
11846 #: ../source/TortoiseGit_en.xml:8298
11848 "The next point to note is that merging <emphasis>always</emphasis> takes "
11849 "place within a working copy. If you want to merge changes <emphasis>into</"
11850 "emphasis> a branch, you have to have a working copy for that branch checked "
11851 "out, and invoke the merge wizard from that working copy using "
11852 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Merge...</"
11853 "guimenuitem></menuchoice>."
11857 #: ../source/TortoiseGit_en.xml:8309
11859 "In general it is a good idea to perform a merge into an unmodified working "
11860 "copy. If you have made other changes in your WC, commit those first. If the "
11861 "merge does not go as you expect, you may want to revert the changes, and the "
11862 "<guilabel>Revert</guilabel> command will discard <emphasis>all</emphasis> "
11863 "changes including any you made before the merge."
11865 "通常来说,在没有修改的工作副本上执行合并是一个好想法。如果你在工作副本上做了修"
11866 "改,请先提交。如果合并没有按照你的想法执行,你可能需要撤销这些修改,命令"
11867 "<guilabel>恢复</guilabel> 会丢弃包含你执行合并之前的<emphasis>所有</emphasis>"
11871 #: ../source/TortoiseGit_en.xml:8316
11874 "There are three common use cases for merging which are handled in slightly "
11875 "different ways, as described below. The first page of the merge wizard asks "
11876 "you to select the method you need."
11877 msgstr "这里有两个处理稍微不同的用例,如下所述。"
11880 #: ../source/TortoiseGit_en.xml:8324
11881 msgid "Merge a range of revisions"
11885 #: ../source/TortoiseGit_en.xml:8326
11887 "This method covers the case when you have made one or more revisions to a "
11888 "branch (or to the trunk) and you want to port those changes across to a "
11889 "different branch."
11891 "这个方法覆盖了你已经在分支(或者最新版本)上做出了一个或多个修改,并且你想将这些"
11895 #: ../source/TortoiseGit_en.xml:8331
11897 "What you are asking Git to do is this: <quote>Calculate the changes "
11898 "necessary to get [FROM] revision 1 of branch A [TO] revision 7 of branch A, "
11899 "and apply those changes to my working copy (of trunk or branch B).</quote>"
11904 #: ../source/TortoiseGit_en.xml:8340 ../source/TortoiseGit_en.xml:8517
11905 msgid "Reintegrate a branch"
11909 #: ../source/TortoiseGit_en.xml:8342
11912 "This method covers the case when you have made a feature branch as discussed "
11913 "in the Git book. All trunk changes have been ported to the feature "
11914 "branch, week by week, and now the feature is complete you want to merge it "
11915 "back into the trunk. Because you have kept the feature branch synchronized "
11916 "with the trunk, the latest versions of branch and trunk will be absolutely "
11917 "identical except for your branch changes."
11919 "这个用例覆盖了这种情况,当你象《Git手册》里讨论的那样,创建了一个新特性"
11920 "分支。所有最新版本的修改都要每周一次合并到新特性分支,等新特性完成后,你向将它"
11921 "合并到最新版本。因为你已经保持了新特性分支和最新版本同步,所以除了你在分支做的"
11922 "修改,其它部分在分支和最新版本应该是相同的。于是在这种情况下,你应当用比较分支"
11926 #: ../source/TortoiseGit_en.xml:8351
11928 "This is a special case of the tree merge described below, and it requires "
11929 "only the URL to merge from (normally) your development branch. It uses the "
11930 "merge-tracking features of Git to calculate the correct revision "
11931 "ranges to use, and perform additional checks which ensure that the branch has "
11932 "been fully updated with trunk changes. This ensures that you don't "
11933 "accidentally undo work that others have committed to trunk since you last "
11934 "synchronized changes."
11938 #: ../source/TortoiseGit_en.xml:8361
11940 "After the merge, all branch development has been completely merged back into "
11941 "the main development line. The branch is now redundant and can be deleted."
11945 #: ../source/TortoiseGit_en.xml:8366
11947 "Once you have performed a reintegrate merge you should not continue to use it "
11948 "for development. The reason for this is that if you try to resynchronize your "
11949 "existing branch from trunk later on, merge tracking will see your "
11950 "reintegration as a trunk change that has not yet been merged into the branch, "
11951 "and will try to merge the branch-to-trunk merge back into the branch! The "
11952 "solution to this is simply to create a new branch from trunk to continue the "
11953 "next phase of your development."
11957 #: ../source/TortoiseGit_en.xml:8379
11958 msgid "Merge two different trees"
11962 #: ../source/TortoiseGit_en.xml:8381
11964 "This is a more general case of the reintegrate method. What you are asking "
11965 "Git to do is: <quote>Calculate the changes necessary to get [FROM] the "
11966 "head revision of the trunk [TO] the head revision of the branch, and apply "
11967 "those changes to my working copy (of the trunk).</quote> The net result is "
11968 "that trunk now looks exactly like the branch."
11972 #: ../source/TortoiseGit_en.xml:8389
11974 "If your server/repository does not support merge-tracking then this is the "
11975 "only way to merge a branch back to trunk. Another use case occurs when you "
11976 "are using vendor branches and you need to merge the changes following a new "
11977 "vendor drop into your trunk code. For more information read the chapter on "
11978 "<ulink url=\"http://svnbook.red-bean.com/en/1.5/svn.advanced.vendorbr.html"
11979 "\"><citetitle>vendor branches</citetitle></ulink> in the Git Book."
11983 #: ../source/TortoiseGit_en.xml:8404
11984 msgid "Merging a Range of Revisions"
11988 #: ../source/TortoiseGit_en.xml:8408
11989 msgid "revision range"
11993 #: ../source/TortoiseGit_en.xml:8410
11996 "<placeholder-1/> In the <guilabel>From:</guilabel> field enter the full "
11997 "folder URL of the branch or tag containing the changes you want to port into "
11998 "your working copy. You may also click <guibutton>...</guibutton> to browse "
11999 "the repository and find the desired branch. If you have merged from this "
12000 "branch before, then just use the drop down list which shows a history of "
12001 "previously used URLs."
12003 "在<guilabel>从:</guilabel>域输入文件夹在分支或标记中的完整URL,它包含了你想应"
12004 "用到工作副本的修改。你也可以点击<guibutton>...</guibutton>浏览版本库,找到渴望"
12005 "的分支。如果你以前已经从这个分支合并过,可以直接从包含历史的下拉列表选择以前使"
12009 #: ../source/TortoiseGit_en.xml:8412
12010 msgid "The Merge Wizard - Select Revision Range"
12011 msgstr "合并向导 - 选择版本范围"
12014 #: ../source/TortoiseGit_en.xml:8425
12016 "In the <guilabel>Revision range to merge</guilabel> field enter the list of "
12017 "revisions you want to merge. This can be a single revision, a list of "
12018 "specific revisions separated by commas, or a range of revisions separated by "
12019 "a dash, or any combination of these."
12023 #: ../source/TortoiseGit_en.xml:8433
12025 "There is an important difference in the way a revision range is specified "
12026 "with TortoiseGit compared to the command line client. The easiest way to "
12027 "visualise it is to think of a fence with posts and fence panels."
12031 #: ../source/TortoiseGit_en.xml:8439
12033 "With the command line client you specify the changes to merge using two "
12034 "<quote>fence post</quote> revisions which specify the <emphasis>before</"
12035 "emphasis> and <emphasis>after</emphasis> points."
12039 #: ../source/TortoiseGit_en.xml:8445
12041 "With TortoiseGit you specify the changeset to merge using <quote>fence "
12042 "panels</quote>. The reason for this becomes clear when you use the log dialog "
12043 "to specify revisions to merge, where each revision appears as a changeset."
12047 #: ../source/TortoiseGit_en.xml:8452
12049 "If you are merging revisions in chunks, the method shown in the Git "
12050 "book will have you merge 100-200 this time and 200-300 next time. With "
12051 "TortoiseGit you would merge 100-200 this time and 201-300 next time."
12055 #: ../source/TortoiseGit_en.xml:8459
12057 "This difference has generated a lot of heat on the mailing lists. We "
12058 "acknowledge that there is a difference from the command line client, but we "
12059 "believe that for the majority of GUI users it is easier to understand the "
12060 "method we have implemented."
12064 #: ../source/TortoiseGit_en.xml:8467
12067 "The easiest way to select the range of revisions you need is to click on "
12068 "<guibutton>Show Log</guibutton>, as this will list recent changes with their "
12069 "log comments. If you want to merge the changes from a single revision, just "
12070 "select that revision. If you want to merge changes from several revisions, "
12071 "then select that range (using the usual <keycap>Shift</keycap>-modifier). "
12072 "Click on <guibutton>OK</guibutton> and the list of revision numbers to merge "
12073 "will be filled in for you."
12075 "选择版本范围最简单的方法是,点击<guibutton>显示日志</guibutton>,列出最近的修"
12076 "改和日志。如果你要合并单个版本的修改,直接选取那个版本。如果你要合并多个版本,"
12077 "就选择范围(使用通常的<keycap>Shift</keycap>-键)。点击<guibutton>确认</"
12078 "guibutton>,就会为你填写合并对话框的<emphasis>全部</emphasis>域,<guilabel>开"
12079 "始版本</guilabel>和<guilabel>结束版本</guilabel>。"
12082 #: ../source/TortoiseGit_en.xml:8478
12084 "If you want to merge changes back <emphasis>out</emphasis> of your working "
12085 "copy, to revert a change which has already been committed, select the "
12086 "revisions to revert and make sure the <guilabel>Reverse merge</guilabel> box "
12091 #: ../source/TortoiseGit_en.xml:8484
12094 "If you have already merged some changes from this branch, hopefully you will "
12095 "have made a note of the last revision merged in the log message when you "
12096 "committed the change. In that case, you can use <guibutton>Show Log</"
12097 "guibutton> for the Working Copy to trace that log message. Remembering that "
12098 "we are thinking of revisions as changesets, you should Use the revision after "
12099 "the end point of the last merge as the start point for this merge. For "
12100 "example, if you have merged revisions 37 to 39 last time, then the start "
12101 "point for this merge should be revision 40."
12103 "如果你已经从这个分支合并了一些修改,希望你在提交日志中注明最后一个合并的版本"
12104 "号。这时,你可以在工作服本上使用<guibutton>显示日志</guibutton>对话框跟踪日"
12105 "志。使用最后合并的版本号作为本次合并的开始版本。例如,你已经合并了版本37到39,"
12106 "那么本次合并你应该从版本39开始。"
12109 #: ../source/TortoiseGit_en.xml:8497
12111 "If you are using the merge tracking features of Git, you do not need "
12112 "to remember which revisions have already been merged - Git will record "
12113 "that for you. If you leave the revision range blank, all revisions which have "
12114 "not yet been merged will be included. Read <xref linkend=\"tsvn-dug-merge-"
12115 "tracking\"/> to find out more."
12119 #: ../source/TortoiseGit_en.xml:8505
12121 "If other people may be committing changes then be careful about using the "
12122 "HEAD revision. It may not refer to the revision you think it does if someone "
12123 "else made a commit after your last update."
12125 "如果其他用户可能提交,那么要小心使用最新版本。如果有人在你最近更新之后提交了,"
12126 "它指代的版本可能就不是你想的那样了。"
12129 #: ../source/TortoiseGit_en.xml:8511
12131 "Click <guibutton>Next</guibutton> and go to <xref linkend=\"tsvn-dug-merge-"
12134 "点击 <guibutton>下一步</guibutton> 进入 <xref linkend=\"tsvn-dug-merge-options"
12138 #: ../source/TortoiseGit_en.xml:8521
12139 msgid "reintegrate"
12143 #: ../source/TortoiseGit_en.xml:8523
12146 "<placeholder-1/> To merge a feature branch back into the trunk you must start "
12147 "the merge wizard from within a working copy of the trunk."
12149 "为了将新特性从分支合并到最新版本,你需要进入最新版本的工作副本。在右键菜单选"
12150 "择 <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>合并...</"
12151 "guimenuitem></menuchoice> <placeholder-1/>"
12154 #: ../source/TortoiseGit_en.xml:8525
12156 msgid "The Merge Wizard - Reintegrate Merge"
12157 msgstr "合并向导 - 树合并"
12160 #: ../source/TortoiseGit_en.xml:8531
12163 "In the <guilabel>From URL:</guilabel> field enter the full folder URL of the "
12164 "branch that you want to merge back. You may also click <guibutton>...</"
12165 "guibutton> to browse the repository."
12167 "在<guilabel>开始:</guilabel>域输入<emphasis>trunk</emphasis>文件夹的全路径。这"
12168 "听起来好象是错误的,但是切记 trunk 是你想增加分支修改的开始点。也可以点击 "
12169 "<guibutton>...</guibutton>浏览版本库。"
12172 #: ../source/TortoiseGit_en.xml:8538
12174 "There are some conditions which apply to a reintegrate merge. Firstly, the "
12175 "server must support merge tracking. The working copy must be of depth "
12176 "infinite (no sparse checkouts), and it must not have any local modifications, "
12177 "switched items or items that have been updated to revisions other than HEAD. "
12178 "All changes to trunk made during branch development must have been merged "
12179 "across to the branch (or marked as having been merged). The range of "
12180 "revisions to merge will be calculated automatically."
12184 #: ../source/TortoiseGit_en.xml:8550
12185 msgid "Merging Two Different Trees"
12186 msgstr "合并两个不同的目录树"
12189 #: ../source/TortoiseGit_en.xml:8554
12194 #: ../source/TortoiseGit_en.xml:8556
12196 "<placeholder-1/> If you are using this method to merge a feature branch back "
12197 "to trunk, you need to start the merge wizard from within a working copy of "
12202 #: ../source/TortoiseGit_en.xml:8558
12203 msgid "The Merge Wizard - Tree Merge"
12204 msgstr "合并向导 - 树合并"
12207 #: ../source/TortoiseGit_en.xml:8564
12210 "In the <guilabel>From:</guilabel> field enter the full folder URL of the "
12211 "<emphasis>trunk</emphasis>. This may sound wrong, but remember that the trunk "
12212 "is the start point to which you want to add the branch changes. You may also "
12213 "click <guibutton>...</guibutton> to browse the repository."
12215 "在<guilabel>开始:</guilabel>域输入<emphasis>trunk</emphasis>文件夹的全路径。这"
12216 "听起来好象是错误的,但是切记 trunk 是你想增加分支修改的开始点。也可以点击 "
12217 "<guibutton>...</guibutton>浏览版本库。"
12220 #: ../source/TortoiseGit_en.xml:8573
12222 "In the <guilabel>To:</guilabel> field enter the full folder URL of the "
12224 msgstr "在<guilabel>到:</guilabel>域输入关注的分支中文件夹的全路径。"
12227 #: ../source/TortoiseGit_en.xml:8577
12229 "In both the <guilabel>From Revision</guilabel> field and the <guilabel>To "
12230 "Revision</guilabel> field, enter the last revision number at which the two "
12231 "trees were synchronized. If you are sure no-one else is making commits you "
12232 "can use the HEAD revision in both cases. If there is a chance that someone "
12233 "else may have made a commit since that synchronization, use the specific "
12234 "revision number to avoid losing more recent commits."
12236 "在<guilabel>开始版本</guilabel>和<guilabel>结束版本</guilabel> 域,输入两个树"
12237 "被同步的最后一个版本号。如果你确信没有其他人提交,两个都可是输入 HEAD。如果在"
12238 "同步时可能有人提交的话,使用清楚的版本号以便面丢失最新提交。"
12241 #: ../source/TortoiseGit_en.xml:8587
12242 msgid "You can also use <guibutton>Show Log</guibutton> to select the revision."
12243 msgstr "也可以使用 <guibutton>显示日志</guibutton> 选择版本。"
12246 #: ../source/TortoiseGit_en.xml:8593
12247 msgid "Merge Options"
12251 #: ../source/TortoiseGit_en.xml:8595
12253 "This page of the wizard lets you specify advanced options, before starting "
12254 "the merge process. Most of the time you can just use the default settings."
12258 #: ../source/TortoiseGit_en.xml:8600
12261 "You can specify the depth to use for the merge, i.e. how far down into your "
12262 "working copy the merge should go. The depth terms used are described in <xref "
12263 "linkend=\"tsvn-dug-checkout-depth\"/>. The default depth is <guilabel>Working "
12264 "copy</guilabel>, which uses the existing depth setting, and is almost always "
12267 "你可以指定合并的深度。深度这个术语在 <xref linkend=\"tsvn-dug-checkout-depth"
12268 "\"/> 描述。默认深度是<guilabel>工作副本</guilabel>,它使用现有的深度配置。"
12271 #: ../source/TortoiseGit_en.xml:8607
12274 "Most of the time you want merge to take account of the file's history, so "
12275 "that changes relative to a common ancestor are merged. Sometimes you may need "
12276 "to merge files which are perhaps related, but not in your repository. For "
12277 "example you may have imported versions 1 and 2 of a third party library into "
12278 "two separate directories. Although they are logically related, Git has "
12279 "no knowledge of this because it only sees the tarballs you imported. If you "
12280 "attempt to merge the difference between these two trees you would see a "
12281 "complete removal followed by a complete add. To make Git use only path-"
12282 "based differences rather than history-based differences, check the "
12283 "<guilabel>Ignore ancestry</guilabel> box. Read more about this topic in the "
12284 "Git book, <ulink url=\"http://svnbook.red-bean.com/en/1.5/svn."
12285 "branchmerge.advanced.html#svn.branchmerge.advanced.ancestry"
12286 "\"><citetitle>Noticing or Ignoring Ancestry</citetitle></ulink>"
12288 "大部分时候,你要合并文件的历史,所以要相对于公共祖先合并。有时你需要合并或许是"
12289 "有关系的文件,但是不在你的版本库中。例如,你已经将一个第三方库的版本1和2导入到"
12290 "两个单独目录。尽管它们逻辑相关,因为Git只看到你导入的文件,所以它不知道"
12291 "这些关系。如果你试图合并这两个树的修改,将会看到完全的删除和增加。让Git"
12292 "只使用路径差异,不关心历史差异,选中<guilabel>忽略祖先</guilabel>检查框。你可"
12293 "以在《使用 Git 进行版本管理》的<ulink url=\"http://svnbook.red-bean."
12294 "com/en/1.2/svn.branchmerge.copychanges.html\"><citetitle>关心或忽略祖先</"
12295 "citetitle></ulink>中阅读此主题的更多信息。"
12298 #: ../source/TortoiseGit_en.xml:8624
12300 "You can specify the way that line ending and whitespace changes are handled. "
12301 "These options are described in <xref linkend=\"tsvn-dug-diff-eol-whitespace\"/"
12302 ">. The default behaviour is to treat all whitespace and line-end differences "
12303 "as real changes to be merged."
12307 #: ../source/TortoiseGit_en.xml:8630
12309 "If you are using merge tracking and you want to mark a revision as having "
12310 "been merged, without actually doing the merge here, check the <guilabel>Only "
12311 "record the merge</guilabel> checkbox. There are two possible reasons you "
12312 "might want to do this. It may be that the merge is too complicated for the "
12313 "merge algorithms, so you code the changes by hand, then mark the change as "
12314 "merged so that the merge tracking algorithm is aware of it. Or you might want "
12315 "to prevent a particular revision from being merged. Marking it as already "
12316 "merged will prevent the merge occurring with merge-tracking-aware clients."
12320 #: ../source/TortoiseGit_en.xml:8641
12323 "Now everything is set up, all you have to do is click on the "
12324 "<guibutton>Merge</guibutton> button. If you want to preview the results "
12325 "<guibutton>Test Merge</guibutton> performs the merge operation, but does "
12326 "<emphasis>not</emphasis> modify the working copy at all. It shows you a list "
12327 "of the files that will be changed by a real merge, and notes those areas "
12328 "where conflicts will occur."
12330 "<guibutton>演习运行</guibutton>执行合并操作,但是根本<emphasis>不</emphasis> "
12331 "修改工作副本。它显示在真实的合并中要修改的文件列表,还告诉你哪里会出现冲突。"
12334 #: ../source/TortoiseGit_en.xml:8649
12336 "The merge progress dialog shows each stage of the merge, with the revision "
12337 "ranges involved. This may indicate one more revision than you were expecting. "
12338 "For example if you asked to merge revision 123 the progress dialog will "
12339 "report <quote>Merging revisions 122 through 123</quote>. To understand this "
12340 "you need to remember that Merge is closely related to Diff. The merge process "
12341 "works by generating a list of differences between two points in the "
12342 "repository, and applying those differences to your working copy. The progress "
12343 "dialog is simply showing the start and end points for the diff."
12347 #: ../source/TortoiseGit_en.xml:8662
12348 msgid "Reviewing the Merge Results"
12352 #: ../source/TortoiseGit_en.xml:8663
12354 "The merge is now complete. It's a good idea to have a look at the merge and "
12355 "see if it's as expected. Merging is usually quite complicated. Conflicts "
12356 "often arise if the branch has drifted far from the trunk."
12360 #: ../source/TortoiseGit_en.xml:8668
12363 "For Git clients and servers prior to 1.5, no merge information is "
12364 "stored and merged revisions have to be tracked manually. When you have tested "
12365 "the changes and come to commit this revision, your commit log message should "
12366 "<emphasis>always</emphasis> include the revision numbers which have been "
12367 "ported in the merge. If you want to apply another merge at a later time you "
12368 "will need to know what you have already merged, as you do not want to port a "
12369 "change more than once. For more information about this, refer to <ulink url="
12370 "\"http://svnbook.red-bean.com/en/1.4/svn.branchmerge.copychanges.html#svn."
12371 "branchmerge.copychanges.bestprac\"><citetitle>Best Practices for Merging</"
12372 "citetitle></ulink> in the Git book."
12374 "当你已经测试了修改,准备提交时,日志信息应当<emphasis>总是</emphasis>包含这次"
12375 "合并的版本信息。如果你以后需要执行合并,就需要知道已经合并了什么,因为你不想多"
12376 "次合并同一修改。不幸的是,合并信息不会存储在Git版本库中。阅读《使用 "
12377 "Git 进行版本管理》中的<ulink url=\"http://svnbook.red-bean.com/en/1.2/"
12378 "svn.branchmerge.copychanges.html\"><citetitle>合并的最佳实践</citetitle></"
12382 #: ../source/TortoiseGit_en.xml:8685
12384 "If your server and all clients are running Git 1.5 or higher, the "
12385 "merge tracking facility will record the revisions merged and avoid a revision "
12386 "being merged more than once. This makes your life much simpler as you can "
12387 "simply merge the entire revision range each time and know that only new "
12388 "revisions will actually be merged."
12390 "如果你的服务器和所有客户端都使用 Git 1.5 或更高版本,合并跟踪工具会记录"
12391 "已经合并的版本,避免某个版本被合并多次。它会使你的生活更简单,因为你每次都可以"
12392 "简单的合并全部版本范围,并且知道只有新版本才会实际被合并。"
12395 #: ../source/TortoiseGit_en.xml:8692
12397 "Branch management is important. If you want to keep this branch up to date "
12398 "with the trunk, you should be sure to merge often so that the branch and "
12399 "trunk do not drift too far apart. Of course, you should still avoid repeated "
12400 "merging of changes, as explained above."
12402 "分支管理很重要。如果你要保持这个分支与最新版本同步,你应当经常合并,这样分支和"
12403 "最新版本的差别就不会太大。当然,你仍旧应该遵循上面的说明,避免重复合并修改。"
12406 #: ../source/TortoiseGit_en.xml:8699
12409 "If you have just merged a feature branch back into the trunk, the trunk now "
12410 "contains all the new feature code, and the branch is obsolete. You can now "
12411 "delete it from the repository if required."
12413 "这种情况下,因为新特性已经集成到最新版本,你不再需要这个新特性分支。新特性分支"
12414 "变成多余的,如果需要可以从版本库删除它。"
12417 #: ../source/TortoiseGit_en.xml:8707
12420 "Git can't merge a file with a folder and vice versa - only folders to "
12421 "folders and files to files. If you click on a file and open up the merge "
12422 "dialog, then you have to give a path to a file in that dialog. If you select "
12423 "a folder and bring up the dialog, then you must specify a folder URL for the "
12426 "Git不能进行文件与文件夹的合并,反之亦然 - 只能文件夹对文件夹,文件对文"
12427 "件。如果选择了文件,打开合并对话框,那么你必须在对话框中给出文件的路径。如果你"
12428 "选择了文件夹,打开合并对话框,那么你必须给出文件夹的对话框。"
12431 #: ../source/TortoiseGit_en.xml:8717
12432 msgid "Merge Tracking"
12436 #: ../source/TortoiseGit_en.xml:8719
12437 msgid "merge tracking"
12441 #: ../source/TortoiseGit_en.xml:8721
12443 "Git 1.5 introduced facilities for merge tracking. When you merge "
12444 "changes from one tree into another, the revision numbers merged are stored "
12445 "and this information can be used for several different purposes. <placeholder-"
12448 "Git 1.5 引入了合并跟踪特性。当你合并版本树时,版本号会被保存,此信息可"
12449 "以用于几个目的。<placeholder-1/>"
12452 #: ../source/TortoiseGit_en.xml:8727
12454 "You can avoid the danger of merging the same revision twice (repeated merge "
12455 "problem). Once a revision is marked as having been merged, future merges "
12456 "which include that revision in the range will skip over it."
12460 #: ../source/TortoiseGit_en.xml:8735
12462 "When you merge a branch back into trunk, the log dialog can show you the "
12463 "branch commits as part of the trunk log, giving better traceability of "
12468 #: ../source/TortoiseGit_en.xml:8742
12470 "When you show the log dialog from within the merge dialog, revisions already "
12471 "merged are shown in grey."
12475 #: ../source/TortoiseGit_en.xml:8748
12477 "When showing blame information for a file, you can choose to show the "
12478 "original author of merged revisions, rather than the person who did the merge."
12482 #: ../source/TortoiseGit_en.xml:8755
12484 "You can mark revisions as <emphasis>do not merge</emphasis> by including them "
12485 "in the list of merged revisions without actually doing the merge."
12489 #: ../source/TortoiseGit_en.xml:8763
12491 "Merge tracking information is stored in the <literal>svn:mergeinfo</literal> "
12492 "property by the client when it performs a merge. When the merge is committed "
12493 "the server stores that information in a database, and when you request merge, "
12494 "log or blame information, the server can respond appropriately. For the "
12495 "system to work properly you must ensure that the server, the repository and "
12496 "all clients are upgraded. Earlier clients will not store the <literal>svn:"
12497 "mergeinfo</literal> property and earlier servers will not provide the "
12498 "information requested by new clients."
12502 #: ../source/TortoiseGit_en.xml:8773
12505 "Find out more about merge tracking from Git's <ulink url=\"http://"
12506 "Git.tigris.org/merge-tracking/index.html\"><citetitle>Merge tracking "
12507 "documentation</citetitle></ulink>."
12509 "从<ulink url=\"http://Git.tigris.org/servlets/ProjectDocumentList?"
12510 "folderID=91\"><citetitle>http://Git.tigris.org/servlets/"
12511 "ProjectDocumentList?folderID=91</citetitle></ulink>下载最新版本的Git。"
12514 #: ../source/TortoiseGit_en.xml:8781
12515 msgid "Handling Conflicts during Merge"
12519 #: ../source/TortoiseGit_en.xml:8784
12520 msgid "merge conflicts"
12524 #: ../source/TortoiseGit_en.xml:8786
12526 "Merging does not always go smoothly. Sometimes there is a conflict, and if "
12527 "you are merging multiple ranges, you generally want to resolve the conflict "
12528 "before merging of the next range starts. TortoiseGit helps you through this "
12529 "process by showing the <emphasis>merge conflict callback</emphasis> dialog. "
12534 #: ../source/TortoiseGit_en.xml:8793
12535 msgid "The Merge Conflict Callback Dialog"
12539 #: ../source/TortoiseGit_en.xml:8797
12542 "When a conflict occurs during the merge, you have three ways to handle it. "
12544 msgstr "现在你必须选择要复制的源位置。在这里你有三个设置选项: <placeholder-1/>"
12547 #: ../source/TortoiseGit_en.xml:8802
12549 "You may decide that your local changes are much more important, so you want "
12550 "to discard the version from the repository and keep your local version. Or "
12551 "you might discard your local changes in favour of the repository version. "
12552 "Either way, no attempt is made to merge the changes - you choose one or the "
12557 #: ../source/TortoiseGit_en.xml:8812
12559 "Normally you will want to look at the conflicts and resolve them. In that "
12560 "case, choose the <guibutton>Edit Conflict</guibutton> which will start up "
12561 "your merge tool. When you are satisfied with the result, click "
12562 "<guibutton>Resolved</guibutton>."
12566 #: ../source/TortoiseGit_en.xml:8820
12568 "The last option is to postpone resolution and continue with merging. You can "
12569 "choose to do that for the current conflicted file, or for all files in the "
12570 "rest of the merge. However, if there are further changes in that file, it "
12571 "will not be possible to complete the merge."
12575 #: ../source/TortoiseGit_en.xml:8830
12577 "If you do not want to use this interactive callback, there is a checkbox in "
12578 "the merge progress dialog <guilabel>Merge non-interactive</guilabel>. If this "
12579 "is set for a merge and the merge would result in a conflict, the file is "
12580 "marked as in conflict and the merge goes on. You will have to resolve the "
12581 "conflicts after the whole merge is finished. If it is not set, then before a "
12582 "file is marked as conflicted you get the chance to resolve the conflict "
12583 "<emphasis>during</emphasis> the merge. This has the advantage that if a file "
12584 "gets multiple merges (multiple revisions apply a change to that file), "
12585 "subsequent merges might succeed depending on which lines are affected. But of "
12586 "course you can't walk away to get a coffee while the merge is running ;)"
12590 #: ../source/TortoiseGit_en.xml:8845
12591 msgid "Merge a Completed Branch"
12595 #: ../source/TortoiseGit_en.xml:8848
12597 msgid "merge reintegrate"
12601 #: ../source/TortoiseGit_en.xml:8850
12603 "If you want to merge all changes from a feature branch back to trunk, then "
12604 "you can use the <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Merge "
12605 "reintegrate...</guimenuitem></menuchoice> from the extended context menu "
12606 "(hold down the <keycap>Shift</keycap> key while you right click on the file). "
12607 "<placeholder-1/> This dialog is very easy. All you have to do is set the "
12608 "options for the merge, as described in <xref linkend=\"tsvn-dug-merge-options"
12609 "\"/>. The rest is done by TortoiseGit automatically using merge tracking."
12613 #: ../source/TortoiseGit_en.xml:8860
12615 msgid "The Merge reintegrate Dialog"
12619 #: ../source/TortoiseGit_en.xml:8869
12620 msgid "Feature Branch Maintenance"
12624 #: ../source/TortoiseGit_en.xml:8870
12626 "When you develop a new feature on a separate branch it is a good idea to work "
12627 "out a policy for re-integration when the feature is complete. If other work "
12628 "is going on in <literal>trunk</literal> at the same time you may find that "
12629 "the differences become significant over time, and merging back becomes a "
12634 #: ../source/TortoiseGit_en.xml:8877
12636 "If the feature is relatively simple and development will not take long then "
12637 "you can adopt a simple approach, which is to keep the branch entirely "
12638 "separate until the feature is complete, then merge the branch changes back "
12639 "into trunk. In the merge wizard this would be a simple <guilabel>Merge a "
12640 "range of revisions</guilabel>, with the revision range being the revision "
12641 "span of the branch."
12645 #: ../source/TortoiseGit_en.xml:8885
12647 "If the feature is going to take longer and you need to account for changes in "
12648 "<literal>trunk</literal>, then you need to keep the branch synchronised. This "
12649 "simply means that periodically you merge trunk changes into the branch, so "
12650 "that the branch contains all the trunk changes <emphasis>plus</emphasis> the "
12651 "new feature. The synchronisation process uses <guilabel>Merge a range of "
12652 "revisions</guilabel>. When the feature is complete then you can merge it back "
12653 "to <literal>trunk</literal> using either <guilabel>Reintegrate a branch</"
12654 "guilabel> or <guilabel>Merge two different trees</guilabel>."
12658 #: ../source/TortoiseGit_en.xml:8900
12663 #: ../source/TortoiseGit_en.xml:8902
12668 #: ../source/TortoiseGit_en.xml:8905
12673 #: ../source/TortoiseGit_en.xml:8907
12675 "Git generally works best without locking, using the <quote>Copy-Modify-"
12676 "Merge</quote> methods described earlier in <xref linkend=\"tsvn-basics-"
12677 "versioning-copymodifymerge\"/>. However there are a few instances when you "
12678 "may need to implement some form of locking policy. <placeholder-1/>"
12680 "使用之前在<xref linkend=\"tsvn-basics-versioning-copymodifymerge\"/>中描述的"
12681 "<quote>复制-修改-合并</quote> 的方法,Git通常不需要锁就可以很好的工作。"
12682 "但是,在某些情况下你可能需要制定某种锁定策略。<placeholder-1/>"
12685 #: ../source/TortoiseGit_en.xml:8915
12687 "You are using <quote>unmergeable</quote> files, for example, graphics files. "
12688 "If two people change the same file, merging is not possible, so one of you "
12689 "will lose their changes."
12691 "例如,你使用图形文件等<quote>不能合并</quote>的文件。如果两个人修改同一个这样"
12692 "的文件,合并是不可能的,所以你丢失其中一个的修改。"
12695 #: ../source/TortoiseGit_en.xml:8923
12698 "Your company has always used a locking revision control system in the past "
12699 "and there has been a management decision that <quote>locking is best</quote>."
12701 "你的公司过去经常使用VCS锁定,这是个管理决定,<quote>锁定是最好的</quote>。"
12704 #: ../source/TortoiseGit_en.xml:8931
12707 "Firstly you need to ensure that your Git server is upgraded to at "
12708 "least version 1.2. Earlier versions do not support locking at all. If you are "
12709 "using <literal>file://</literal> access, then of course only your client "
12710 "needs to be updated."
12712 "首先,你需要确保你的Git服务器更新到至少1.2版本。早期的版本不支持锁定。"
12713 "如果你使用<filename>file:///</filename>进行访问,那么当然只要更新你的客户端就"
12717 #: ../source/TortoiseGit_en.xml:8938
12718 msgid "How Locking Works in Git"
12719 msgstr "锁定在Subverion中是如何工作的"
12722 #: ../source/TortoiseGit_en.xml:8939
12724 "By default, nothing is locked and anyone who has commit access can commit "
12725 "changes to any file at any time. Others will update their working copies "
12726 "periodically and changes in the repository will be merged with local changes."
12728 "默认情况下,所有的东西都没有锁定,只要有提交权限的人都可以在任何时候提交任何的"
12729 "文件。其他人会定时更新他们的工作副本,在库中的改变的东西都会与本地合并。"
12732 #: ../source/TortoiseGit_en.xml:8945
12734 "If you <firstterm>Get a Lock</firstterm> on a file, then only you can commit "
12735 "that file. Commits by all other users will be blocked until you release the "
12736 "lock. A locked file cannot be modified in any way in the repository, so it "
12737 "cannot be deleted or renamed either, except by the lock owner."
12739 "如果你对一个文件 <firstterm>取得锁定</firstterm>,那么只有你可以提交这个文件。"
12740 "其他用户的提交都会被拒绝,直到你释放了这个锁。一个被锁定的文件不能在库中进行任"
12741 "何形式的合并。所以它不能除锁的拥用者之外的人删除或更名。"
12744 #: ../source/TortoiseGit_en.xml:8952
12746 "However, other users will not necessarily know that you have taken out a "
12747 "lock. Unless they check the lock status regularly, the first they will know "
12748 "about it is when their commit fails, which in most cases is not very useful. "
12749 "To make it easier to manage locks, there is a new Git property "
12750 "<literal>svn:needs-lock</literal>. When this property is set (to any value) "
12751 "on a file, whenever the file is checked out or updated, the local copy is "
12752 "made read-only <emphasis>unless</emphasis> that working copy holds a lock for "
12753 "the file. This acts as a warning that you should not edit that file unless "
12754 "you have first acquired a lock. Files which are versioned and read-only are "
12755 "marked with a special overlay in TortoiseGit to indicate that you need to "
12756 "acquire a lock before editing."
12758 "但是,其他用户不必知道你已经增加了锁定,除非他们定期地检查锁定的状态。这其实没"
12759 "什么意义,因为他们发现提交失败的时候就可以知道锁定了。为了更容易管理锁,而设置"
12760 "了一个新的Git属性 <literal>svn:needs-lock</literal>。当一个文件的这个属"
12761 "性被设置(成任意值)的时候,每当该文件检出或更新时,本地的副本都被设成只读,"
12762 "<emphasis>除非</emphasis>该工作副本就是拥有锁的那个用户的。这么做是为了能警告"
12763 "你,你不应该修改这个文件,除非你申请到了锁定。受控只读的文件在TortoiseGit中用"
12764 "一个特殊的图标来表示你需要在编辑前取得锁定。"
12767 #: ../source/TortoiseGit_en.xml:8968
12769 "Locks are recorded by working copy location as well as by owner. If you have "
12770 "several working copies (at home, at work) then you can only hold a lock in "
12771 "<emphasis>one</emphasis> of those working copies."
12773 "锁除了按所有者记录外,还在工作副本中记录。如果你有多个工作副本(在家,在单位),"
12774 "那么在这些工作副本中,只允许对其中<emphasis>一份</emphasis>拥有锁。"
12777 #: ../source/TortoiseGit_en.xml:8974
12779 "If one of your co-workers acquires a lock and then goes on holiday without "
12780 "releasing it, what do you do? Git provides a means to force locks. "
12781 "Releasing a lock held by someone else is referred to as <firstterm>Breaking</"
12782 "firstterm> the lock, and forcibly acquiring a lock which someone else already "
12783 "holds is referred to as <firstterm>Stealing</firstterm> the lock. Naturally "
12784 "these are not things you should do lightly if you want to remain friends with "
12787 "如果你的合作者之一请求一个锁,但却外出旅游去了,你怎么办?Git提供了一种"
12788 "强制锁。释放别人拥有的锁被称为<firstterm>破坏</firstterm>锁定,强制获得别人拥"
12789 "有的锁称为<firstterm>窃取</firstterm>锁定。当然,如果你想要与你的合作者保持良"
12793 #: ../source/TortoiseGit_en.xml:8984
12795 "Locks are recorded in the repository, and a lock token is created in your "
12796 "local working copy. If there is a discrepancy, for example if someone else "
12797 "has broken the lock, the local lock token becomes invalid. The repository is "
12798 "always the definitive reference."
12800 "锁在库中进行记录,一个锁定令牌建立在你的本地工作副本中。如果有矛盾,比如某人破"
12801 "坏了锁下,那么本地的锁定令牌将不可用。库中的记录将是最权威的参考。"
12804 #: ../source/TortoiseGit_en.xml:8993
12805 msgid "Getting a Lock"
12809 #: ../source/TortoiseGit_en.xml:8994
12811 "Select the file(s) in your working copy for which you want to acquire a lock, "
12812 "then select the command <menuchoice><guimenu>TortoiseGit</"
12813 "guimenu><guimenuitem>Get Lock...</guimenuitem></menuchoice>. <placeholder-1/> "
12814 "A dialog appears, allowing you to enter a comment, so others can see why you "
12815 "have locked the file. The comment is optional and currently only used with "
12816 "Svnserve based repositories. If (and <emphasis>only</emphasis> if) you need "
12817 "to steal the lock from someone else, check the <guilabel>Steal lock</"
12818 "guilabel> box, then click on <guibutton>OK</guibutton>."
12820 "选择工作副本中你想要获取锁定的文件,然后选择命令"
12821 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>取得锁定...</"
12822 "guimenuitem></menuchoice>. <placeholder-1/>出现一个对话框,允许你输入注释,这"
12823 "样别人可以知道你为什么锁定这个文件。注释是可选的,并且只用于基于Svnserve的库。"
12824 "当(且<emphasis>仅</emphasis>当)你需要窃取别人的锁的时候,勾选<guilabel>偷取此"
12825 "锁定</guilabel>复选框,然后点击<guibutton>确定</guibutton>。"
12828 #: ../source/TortoiseGit_en.xml:9002
12829 msgid "The Locking Dialog"
12833 #: ../source/TortoiseGit_en.xml:9014
12836 "If you select a folder and then use <menuchoice><guimenu>TortoiseGit</"
12837 "guimenu><guimenuitem>Get Lock...</guimenuitem></menuchoice> the lock dialog "
12838 "will open with <emphasis>every</emphasis> file in <emphasis>every</emphasis> "
12839 "sub-folder selected for locking. If you really want to lock an entire "
12840 "hierarchy, that is the way to do it, but you could become very unpopular with "
12841 "your co-workers if you lock them out of the whole project. Use with care ..."
12843 "如果你选择一个文件夹,使用<menuchoice><guimenu>TortoiseGit</"
12844 "guimenu><guimenuitem>获取锁定...</guimenuitem></menuchoice>锁定对话框将显示"
12845 "<emphasis>所有</emphasis>子文件夹中的<emphasis>所有</emphasis>文件 。如果你真"
12846 "的要锁定整个目录,就这么做,但如果你这么做,可能会很不受你的合作者的欢迎。小心"
12850 #: ../source/TortoiseGit_en.xml:9028
12851 msgid "Releasing a Lock"
12855 #: ../source/TortoiseGit_en.xml:9029
12857 "To make sure you don't forget to release a lock you don't need any more, "
12858 "locked files are shown in the commit dialog and selected by default. If you "
12859 "continue with the commit, locks you hold on the selected files are removed, "
12860 "even if the files haven't been modified. If you don't want to release a lock "
12861 "on certain files, you can uncheck them (if they're not modified). If you want "
12862 "to keep a lock on a file you've modified, you have to enable the "
12863 "<guilabel>Keep locks</guilabel> checkbox before you commit your changes."
12865 "为了确保你不会忘记释放锁,你不需要做别的事,在提交对话框中,总是会显示锁定的文"
12866 "件,并总是默认被选中。如果你继续提交,选中的文件中的锁就被移除了,就算你从没有"
12867 "修改过。如果你不希望释放某文件的锁,你可以取消选中它(如果你没有修改过)。如果你"
12868 "希望保持一个修改过的文件的锁,你需要在提交之前选中<guilabel>保持锁定</"
12872 #: ../source/TortoiseGit_en.xml:9040
12874 "To release a lock manually, select the file(s) in your working copy for which "
12875 "you want to release the lock, then select the command "
12876 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Release Lock</"
12877 "guimenuitem></menuchoice> There is nothing further to enter so TortoiseGit "
12878 "will contact the repository and release the locks. You can also use this "
12879 "command on a folder to release all locks recursively."
12881 "要手动释放锁定,选中工作副本中要释放的文件,选择命令"
12882 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>释放锁定</"
12883 "guimenuitem></menuchoice>。不需要输入什么 TortoiseGit会联系版本库并释放锁。你"
12884 "可以对一个文件夹来使用这个命令释放其中的所有锁定项。"
12887 #: ../source/TortoiseGit_en.xml:9053
12888 msgid "Checking Lock Status"
12892 #: ../source/TortoiseGit_en.xml:9054
12894 "<placeholder-1/> To see what locks you and others hold, you can use "
12895 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Check for "
12896 "Modifications...</guimenuitem></menuchoice>. Locally held lock tokens show up "
12897 "immediately. To check for locks held by others (and to see if any of your "
12898 "locks are broken or stolen) you need to click on <guibutton>Check Repository</"
12901 "<placeholder-1/>要查看你和他人所拥有的锁,你可以使用"
12902 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>检查更新...</"
12903 "guimenuitem></menuchoice>命令。本地的锁定令牌会立即显示出来,要查看别人拥用的"
12904 "锁定(或是检查你的锁是否被破坏或窃取)你需要点击<guibutton>检查版本库</"
12908 #: ../source/TortoiseGit_en.xml:9056
12909 msgid "The Check for Modifications Dialog"
12913 #: ../source/TortoiseGit_en.xml:9069
12915 "From the context menu here, you can also get and release locks, as well as "
12916 "breaking and stealing locks held by others."
12918 "从此处的右键菜单中,你可以获取锁或是释放锁,也可以破坏或是窃取别人的锁。"
12921 #: ../source/TortoiseGit_en.xml:9074
12922 msgid "Avoid Breaking and Stealing Locks"
12926 #: ../source/TortoiseGit_en.xml:9075
12928 "If you break or steal someone else's lock without telling them, you could "
12929 "potentially cause loss of work. If you are working with unmergeable file "
12930 "types and you steal someone else's lock, once you release the lock they are "
12931 "free to check in their changes and overwrite yours. Git doesn't lose "
12932 "data, but you have lost the team-working protection that locking gave you."
12934 "如果你在破坏或是窃取某人的锁的时候没有告诉他,你可能会丢掉工作。如果你正在写一"
12935 "个不可合并的文件类型,并且你窃取了某人的锁,一旦你释放了锁,他们就可以随意检入"
12936 "他们的修改以覆盖你的。Git并不会丢弃数据,但你却失去了锁带来的对团队工作"
12940 #: ../source/TortoiseGit_en.xml:9087
12941 msgid "Making Non-locked Files Read-Only"
12942 msgstr "让非锁定的文件变成只读"
12945 #: ../source/TortoiseGit_en.xml:9088
12947 "As mentioned above, the most effective way to use locking is to set the "
12948 "<literal>svn:needs-lock</literal> property on files. Refer to <xref linkend="
12949 "\"tsvn-dug-propertypage\"/> for instructions on how to set properties. Files "
12950 "with this property set will always be checked out and updated with the read-"
12951 "only flag set unless your working copy holds a lock. <graphic fileref=\"../"
12952 "images/ReadOnlyIcon.png\"/> As a reminder, TortoiseGit uses a special overlay "
12953 "to indicate this."
12955 "正如上面提到的,最有效的使用锁的方式是对一个文件设置<literal>svn:needs-lock</"
12956 "literal>属性。参考<xref linkend=\"tsvn-dug-propertypage\"/>如何设置属性。带有"
12957 "此属性的文件将总被按只读的方式检出和更新(除非你的工作副本拥有锁定)。<graphic "
12958 "fileref=\"../images/ReadOnlyIcon.png\"/>作为提醒的方式之一,TortoiseGit使用一"
12962 #: ../source/TortoiseGit_en.xml:9098
12965 "If you operate a policy where every file has to be locked then you may find "
12966 "it easier to use Git's auto-props feature to set the property "
12967 "automatically every time you add new files. Read <xref linkend=\"tsvn-dug-"
12968 "propertypage-auto-props\"/> for further information."
12970 "如果你管理的策略要求每个文件都必须被锁定,那么你会发现使用Git的auto-"
12971 "props功能,在你每次加入新文件的时候,自动设置属性是很方便的。请阅读<xref "
12972 "linkend=\"tsvn-dug-settings\"/>。"
12975 #: ../source/TortoiseGit_en.xml:9107
12976 msgid "The Locking Hook Scripts"
12980 #: ../source/TortoiseGit_en.xml:9108
12982 "When you create a new repository with Git 1.2 or higher, four hook "
12983 "templates are created in the repository <filename>hooks</filename> directory. "
12984 "These are called before and after getting a lock, and before and after "
12985 "releasing a lock."
12987 "当你使用Suversion1.2或更新的版本建立新的版本库的时候,建立了四个钩子模板在版本"
12988 "库中的<filename>hooks</filename>目录下。这些钩子模板在取得/释放一个锁定之前和"
12992 #: ../source/TortoiseGit_en.xml:9114
12994 "It is a good idea to install a <literal>post-lock</literal> and <literal>post-"
12995 "unlock</literal> hook script on the server which sends out an email "
12996 "indicating the file which has been locked. With such a script in place, all "
12997 "your users can be notified if someone locks/unlocks a file. You can find an "
12998 "example hook script <filename>hooks/post-lock.tmpl</filename> in your "
12999 "repository folder."
13001 "安装一个 <literal>post-lock</literal>和<literal>post-unlock</literal>钩子,在"
13002 "钩子中为锁定和解锁事件发送邮件,是个好主意 。有了这种脚本,你的所有用户都会在"
13003 "一个文件被锁定/解锁的时候被通知。在你的版本库文件夹下,你可以找到一个示例钩子"
13004 "脚本<filename>hooks/post-lock.tmpl</filename>。"
13007 #: ../source/TortoiseGit_en.xml:9122
13009 "You might also use hooks to disallow breaking or stealing of locks, or "
13010 "perhaps limit it to a named administrator. Or maybe you want to email the "
13011 "owner when one of their locks is broken or stolen."
13013 "你可能也使用hooks来拒绝破坏或是窃取锁定,或是限制只有管理员可以,或是当一个用"
13014 "户破坏或窃取锁定时通知原来的锁定拥有者。"
13017 #: ../source/TortoiseGit_en.xml:9128
13018 msgid "Read <xref linkend=\"tsvn-repository-hooks\"/> to find out more."
13019 msgstr "更多内容请参考 <xref linkend=\"tsvn-repository-hooks\"/>"
13022 #: ../source/TortoiseGit_en.xml:9134
13023 msgid "Creating and Applying Patches"
13027 #: ../source/TortoiseGit_en.xml:9136
13032 #: ../source/TortoiseGit_en.xml:9142
13033 msgid "unified diff"
13037 #: ../source/TortoiseGit_en.xml:9146
13039 "For open source projects (like this one) everyone has read access to the "
13040 "repository, and anyone can make a contribution to the project. So how are "
13041 "those contributions controlled? If just anyone could commit changes, the "
13042 "project would be permanently unstable and probably permanently broken. In "
13043 "this situation the change is managed by submitting a <firstterm>patch</"
13044 "firstterm> file to the development team, who do have write access. They can "
13045 "review the patch first, and then either submit it to the repository or reject "
13046 "it back to the author."
13048 "对开源工程(比如本工程)来说,每个人对仓库都有读访问权,并且任何人都可以对该工程"
13049 "做出修改。那么如何控制这些修改呢?如果任何人都可以提交自己的修改,那么这个工程"
13050 "可能永远都会处于不稳定状态,而且很有可能永远的瘫痪下去。在这种情况下,修改需要"
13051 "以<firstterm>补丁</firstterm>文件的形式先递交到有写访问权限的开发组。开发组可"
13052 "以先对该补丁文件进行审查,然后决定将其提交到仓库里或者是退还给作者。"
13055 #: ../source/TortoiseGit_en.xml:9157
13057 "Patch files are simply Unified-Diff files showing the differences between "
13058 "your working copy and the base revision."
13060 "补丁文件只是简单地用统一的差异描述文件显示出你的工作副本和基础版本的不同点。"
13063 #: ../source/TortoiseGit_en.xml:9162
13064 msgid "Creating a Patch File"
13068 #: ../source/TortoiseGit_en.xml:9163
13070 "First you need to make <emphasis>and test</emphasis> your changes. Then "
13071 "instead of using <menuchoice><guimenu>TortoiseGit</"
13072 "guimenu><guimenuitem>Commit...</guimenuitem></menuchoice> on the parent "
13073 "folder, you select <menuchoice><guimenu>TortoiseGit</"
13074 "guimenu><guimenuitem>Create Patch...</guimenuitem></menuchoice>"
13076 "首先你需要做出修改并测试这个修改的内容。然后在父目录上使用"
13077 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>创建补丁...</"
13078 "guimenuitem></menuchoice>代替<menuchoice><guimenu>TortoiseGit</"
13079 "guimenu><guimenuitem>提交...</guimenuitem></menuchoice>。"
13082 #: ../source/TortoiseGit_en.xml:9177
13083 msgid "The Create Patch dialog"
13087 #: ../source/TortoiseGit_en.xml:9180
13089 "you can now select the files you want included in the patch, just as you "
13090 "would with a full commit. This will produce a single file containing a "
13091 "summary of all the changes you have made to the selected files since the last "
13092 "update from the repository."
13094 "现在你可以选择要包含在补丁中的文件了,就像你要做一个完整的提交一样。这样会产生"
13095 "一个单一的文件,该文件包括一份自从最后一次从仓库更新后你对所选择文件做的全部修"
13099 #: ../source/TortoiseGit_en.xml:9191
13101 "You can produce separate patches containing changes to different sets of "
13102 "files. Of course, if you create a patch file, make some more changes to the "
13103 "<emphasis>same</emphasis> files and then create another patch, the second "
13104 "patch file will include <emphasis>both</emphasis> sets of changes."
13106 "你可以创建包含对不同文件集合修改的相互独立的补丁。当然如果你创建了一个补丁文"
13107 "件,对于<emphasis>同一份</emphasis>文件的更多修改会创建另外一个补丁文件,第二"
13108 "份补丁文件包含了<emphasis>全部</emphasis>的修改。"
13111 #: ../source/TortoiseGit_en.xml:9197
13113 "Just save the file using a filename of your choice. Patch files can have any "
13114 "extension you like, but by convention they should use the <filename>.patch</"
13115 "filename> or <filename>.diff</filename> extension. You are now ready to "
13116 "submit your patch file."
13118 "你可以用一个自己选择的文件名来保存这个补丁文件,补丁文件可以有任意的扩展名,但"
13119 "是按人一般习惯,人们都是用<filename>.patch</filename>或者<filename>.diff</"
13120 "filename>作扩展名,你现在已经做好提交你的补丁文件的准备了。"
13123 #: ../source/TortoiseGit_en.xml:9204
13125 "You can also save the patch to the clipboard instead of to a file. You might "
13126 "want to do this so that you can paste it into an email for review by others. "
13127 "Or if you have two working copies on one machine and you want to transfer "
13128 "changes from one to the other, a patch on the clipboard is a convenient way "
13131 "你也可以将补丁保存到剪贴板,而不是文件。这样你可以粘贴到电子邮件中,让他人审"
13132 "核。或者你在机器上有两个工作副本,想将修改传递到另外的副本。在剪贴板上的补丁就"
13136 #: ../source/TortoiseGit_en.xml:9213
13137 msgid "Applying a Patch File"
13141 #: ../source/TortoiseGit_en.xml:9214
13144 "Patch files are applied to your working copy. This should be done from the "
13145 "same folder level as was used to create the patch. If you are not sure what "
13146 "this is, just look at the first line of the patch file. For example, if the "
13147 "first file being worked on was <filename>doc/source/english/chapter1.xml</"
13148 "filename> and the first line in the patch file is <filename>Index: english/"
13149 "chapter1.xml</filename> then you need to apply the patch to the <filename>doc/"
13150 "source/</filename> folder. However, provided you are in the correct working "
13151 "copy, if you pick the wrong folder level, TortoiseGit will notice and suggest "
13152 "the correct level."
13154 "补丁文件应用于你的工作副本。当你对你的工作副本打补丁的时候,你应当在与创建补丁"
13155 "文件时相同的目录层次上。如果你不能确定在哪个目录层次上,就看一下补丁文件的第一"
13156 "行。例如,如果补丁第一个要处理的文件是<filename>doc/source/english/chapter1."
13157 "xml</filename> 并且补丁文件的第一行是<filename>Index: english/chapter1.xml</"
13158 "filename>说明你必须要对<filename>doc/source/</filename>目录应用这个补丁文件。"
13159 "尽管如此,倘若你在正确的工作副本上工作,如果你选择了一个错误的目录层次,TSVN会"
13160 "察觉到这个错误,并给出正确的建议。"
13163 #: ../source/TortoiseGit_en.xml:9228
13165 "In order to apply a patch file to your working copy, you need to have at "
13166 "least read access to the repository. The reason for this is that the merge "
13167 "program must reference the changes back to the revision against which they "
13168 "were made by the remote developer."
13170 "为了给你的工作副本打补丁,你至少需要对代码库的读权限。因为合并程序必须要参考修"
13174 #: ../source/TortoiseGit_en.xml:9235
13177 "From the context menu for that folder, click on "
13178 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Apply Patch...</"
13179 "guimenuitem></menuchoice> This will bring up a file open dialog allowing you "
13180 "to select the patch file to apply. By default only <filename>.patch</"
13181 "filename> or <filename>.diff</filename> files are shown, but you can opt for "
13182 "<quote>All files</quote>. If you previously saved a patch to the clipboard, "
13183 "you can use <guibutton>Open from clipboard...</guibutton> in the file open "
13186 "从那个目录的上下文菜单,点击<menuchoice><guimenu>TortoiseGit</"
13187 "guimenu><guimenuitem>应用补丁...</guimenuitem></menuchoice> 系统会弹出一个打开"
13188 "文件的对话框,让你选择要应用的补丁文件。默认情况下只显示<filename>.patch</"
13189 "filename>或者<filename>.diff</filename>文件,但是你可以选择\"所有文件\"。如果"
13190 "你以前将补丁保存到了剪贴板,可以使用打开文件对话框的<guibutton>从剪贴板打开..."
13194 #: ../source/TortoiseGit_en.xml:9249
13196 "Alternatively, if the patch file has a <filename>.patch</filename> or "
13197 "<filename>.diff</filename> extension, you can right click on it directly and "
13198 "select <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Apply Patch...</"
13199 "guimenuitem></menuchoice>. In this case you will be prompted to enter a "
13200 "working copy location."
13202 "如果补丁文件以<filename>.patch</filename> 或者 <filename>.diff</filename> 为扩"
13203 "展名的话,你可以选择直接右键点击该补丁文件,选择"
13204 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>应用补丁...</"
13205 "guimenuitem></menuchoice> 在这种情况下,系统会提示你输入工作副本的位置。"
13208 #: ../source/TortoiseGit_en.xml:9259
13210 "These two methods just offer different ways of doing the same thing. With the "
13211 "first method you select the WC and browse to the patch file. With the second "
13212 "you select the patch file and browse to the WC."
13214 "这两种方法只是提供了做同一件事的不同方式。第一种方法,你先选择工作副本,然后浏"
13215 "览补丁文件。第二种方法,你先选择补丁文件,然后浏览工作副本。"
13218 #: ../source/TortoiseGit_en.xml:9264
13220 "Once you have selected the patch file and working copy location, "
13221 "TortoiseMerge runs to merge the changes from the patch file with your working "
13222 "copy. A small window lists the files which have been changed. Double click on "
13223 "each one in turn, review the changes and save the merged files."
13225 "一旦你选定了补丁文件和工作副本的位置,TortoiseMerge就会把布丁文件合并到你的工"
13226 "作副本中。系统会弹出一个小窗口列出所有被更改了的文件。依次双击每一个文件,检查"
13227 "所做的改变,然后保存合并后的文件。远程开发者的补丁现在已经应用到了你的工作副本"
13228 "上,你需要提交它以使每一个人都可以从代码库访问到这些修改。"
13231 #: ../source/TortoiseGit_en.xml:9271
13233 "The remote developer's patch has now been applied to your working copy, so "
13234 "you need to commit to allow everyone else to access the changes from the "
13237 "远程开发者的补丁现在已经应用到了你的工作副本上,你需要提交它以使每一个人都可以"
13241 #: ../source/TortoiseGit_en.xml:9279
13242 msgid "Who Changed Which Line?"
13246 #: ../source/TortoiseGit_en.xml:9281
13251 #: ../source/TortoiseGit_en.xml:9284
13256 #: ../source/TortoiseGit_en.xml:9287
13261 #: ../source/TortoiseGit_en.xml:9290
13263 "Sometimes you need to know not only what lines have changed, but also who "
13264 "exactly changed specific lines in a file. That's when the "
13265 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Blame...</"
13266 "guimenuitem></menuchoice> command, sometimes also referred to as "
13267 "<firstterm>annotate</firstterm> command comes in handy."
13269 "有时你不仅要知道哪一行做了修改,还要精确地知道谁修改了一个文件中的哪一行。这就"
13270 "是<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>追溯...</"
13271 "guimenuitem></menuchoice>命令,有时候也叫做 <firstterm>评注</firstterm> 命令派"
13275 #: ../source/TortoiseGit_en.xml:9300
13277 "This command lists, for every line in a file, the author and the revision the "
13278 "line was changed."
13279 msgstr "对一个文件中的每一行,这个命令列出了作者和该行修改时的版本。"
13282 #: ../source/TortoiseGit_en.xml:9305
13283 msgid "Blame for Files"
13287 #: ../source/TortoiseGit_en.xml:9306
13289 "<placeholder-1/> If you're not interested in changes from earlier revisions "
13290 "you can set the revision from which the blame should start. Set this to "
13291 "<literal>1</literal>, if you want the blame for <emphasis>every</emphasis> "
13294 "<placeholder-1/>如果对早期版本的修改不感兴趣,你可以设置从哪个版本开始追溯。如"
13295 "果你想追溯<emphasis>每一个</emphasis>版本,你可以把那个数值设置为<literal>1</"
13299 #: ../source/TortoiseGit_en.xml:9308
13300 msgid "The Annotate / Blame Dialog"
13304 #: ../source/TortoiseGit_en.xml:9315
13306 "By default the blame file is viewed using <firstterm>TortoiseBlame</"
13307 "firstterm>, which highlights the different revisions to make it easier to "
13308 "read. If you wish to print or edit the blame file, select <guilabel>Use Text "
13309 "viewer to view blames</guilabel>"
13311 "默认情况下,追溯文件使用<firstterm>TortoiseBlame</firstterm>,这个工具可以高亮"
13312 "显示不同版本从而使阅读更加容易。如果想打印或者编辑追溯文件,复选<guilabel>使用"
13313 "文字编辑器查看追溯信息</guilabel>。"
13316 #: ../source/TortoiseGit_en.xml:9321
13318 "You can specify the way that line ending and whitespace changes are handled. "
13319 "These options are described in <xref linkend=\"tsvn-dug-diff-eol-whitespace\"/"
13320 ">. The default behaviour is to treat all whitespace and line-end differences "
13321 "as real changes, but if you want to ignore an indentation change and find the "
13322 "original author, you can choose an appropriate option here."
13324 "你可以指定处理行结束符和空白改变的方法。这些选项在 <xref linkend=\"tsvn-dug-"
13325 "diff-eol-whitespace\"/> 描述。默认是将行结束符和空白改变视为实际改变,但是如果"
13326 "你想忽略缩进改变和找到原始作者,那么可以在这里选择适当的处理方法。"
13329 #: ../source/TortoiseGit_en.xml:9328
13331 "Once you press <guibutton>OK</guibutton> TortoiseGit starts retrieving the "
13332 "data to create the blame file. Please note: This can take several minutes to "
13333 "finish, depending on how much the file has changed and of course your network "
13334 "connection to the repository. Once the blame process has finished the result "
13335 "is written into a temporary file and you can view the results."
13337 "一旦你按了 <guibutton>OK</guibutton> 按钮,TortoiseGit就开始从版本库获取数据创"
13338 "建追溯文件。注意: 视修改的文件的多少和你的网络连接情况,可能会花掉几分钟到几十"
13339 "分钟不等。追溯过程完成后,其结果将会写到一个临时文件中,你可以读到这个结果文"
13343 #: ../source/TortoiseGit_en.xml:9336
13345 "<placeholder-1/> TortoiseBlame, which is included with TortoiseGit, makes the "
13346 "blame file easier to read. When you hover the mouse over a line in the blame "
13347 "info column, all lines with the same revision are shown with a darker "
13348 "background. Lines from other revisions which were changed by the same author "
13349 "are shown with a light background. The colouring may not work as clearly if "
13350 "you have your display set to 256 colour mode."
13352 "<placeholder-1/> TortoiseBlame,包含在TortoiseGit中,使得追溯文件更加容易阅读。"
13353 "当你的鼠标在追溯信息列的某一行上盘旋时,所有和该列具有相同版本号的行都会用一个"
13354 "比较暗的背景色显示。同一作者修改的其他版本的行会用一个亮一些的背景色显示。如果"
13355 "你的显示设置为256色模式,那么颜色显示的可能不会很清楚。"
13358 #: ../source/TortoiseGit_en.xml:9338
13359 msgid "TortoiseBlame"
13360 msgstr "TortoiseBlame"
13363 #: ../source/TortoiseGit_en.xml:9349
13365 "If you <action>left click</action> on a line, all lines with the same "
13366 "revision are highlighted, and lines from other revisions by the same author "
13367 "are highlighted in a lighter colour. This highlighting is sticky, allowing "
13368 "you to move the mouse without losing the highlights. Click on that revision "
13369 "again to turn off highlighting."
13371 "如果在某一行上<action>左击</action>,具有同一版本号的所有行都会高亮显示,同一"
13372 "作者的其他版本的行会用一个更亮的颜色高亮显示。这个高亮具有粘性,也就是说允许你"
13373 "移动鼠标但原先高亮的地方仍然保持高亮。再次点击该版本将关闭高亮显示。"
13376 #: ../source/TortoiseGit_en.xml:9356
13378 "The revision comments (log message) are shown in a hint box whenever the "
13379 "mouse hovers over the blame info column. If you want to copy the log message "
13380 "for that revision, use the context menu which appears when you right click on "
13381 "the blame info column."
13383 "只要鼠标逗留在追溯信息列,版本注释(日志信息)就会作为提示出现。如果你想复制此版"
13384 "本的日志信息,使用在追溯信息列显示的右键菜单。"
13387 #: ../source/TortoiseGit_en.xml:9362
13389 "You can search within the Blame report using <menuchoice><guimenu>Edit</"
13390 "guimenu><guimenuitem>Find...</guimenuitem></menuchoice>. This allows you to "
13391 "search for revision numbers, authors and the content of the file itself. Log "
13392 "messages are not included in the search - you should use the Log Dialog to "
13395 "你可以在追溯报告里用<menuchoice><guimenu>编辑</guimenu><guimenuitem>查找...</"
13396 "guimenuitem></menuchoice>来搜索想要的内容。它允许你搜索版本号,作者还有文件的"
13397 "内容。这个搜索不包含日志信息-你可以在日志对话框里搜索日志信息。"
13400 #: ../source/TortoiseGit_en.xml:9372
13402 "You can also jump to a specific line number using <menuchoice><guimenu>Edit</"
13403 "guimenu><guimenuitem>Go To Line...</guimenuitem></menuchoice>."
13405 "你也可以使用 <menuchoice><guimenu>编辑</guimenu><guimenuitem>转到行 ...</"
13406 "guimenuitem></menuchoice> 来跳到指定行。"
13409 #: ../source/TortoiseGit_en.xml:9379
13411 "When the mouse is over the blame info columns, a context menu is available "
13412 "which helps with comparing revisions and examining history, using the "
13413 "revision number of the line under the mouse as a reference. "
13414 "<menuchoice><guimenu>Context menu</guimenu><guimenuitem>Blame previous "
13415 "revision</guimenuitem></menuchoice> generates a blame report for the same "
13416 "file, but using the previous revision as the upper limit. This gives you the "
13417 "blame report for the state of the file just before the line you are looking "
13418 "at was last changed. <menuchoice><guimenu>Context menu</"
13419 "guimenu><guimenuitem>Show changes</guimenuitem></menuchoice> starts your diff "
13420 "viewer, showing you what changed in the referenced revision. "
13421 "<menuchoice><guimenu>Context menu</guimenu><guimenuitem>Show log</"
13422 "guimenuitem></menuchoice> displays the revision log dialog starting with the "
13423 "referenced revision."
13425 "当鼠标滑过追溯信息列时,有个上下文菜单可以帮助你比较版本和检查历史,它用鼠标下"
13426 "方行的版本号作为参考版本。<menuchoice><guimenu>上下文菜单</"
13427 "guimenu><guimenuitem>追溯以前版本</guimenuitem></menuchoice>产生同一个文件的追"
13428 "溯报告,它使用以前的版本作为上限,给出了你看到最后修改之前的文件状态追溯报告。"
13429 "<menuchoice><guimenu>上下文菜单</guimenu><guimenuitem>显示修改</guimenuitem></"
13430 "menuchoice>启动差异察看器,显示在参考版本中的修改。<menuchoice><guimenu>上下文"
13431 "菜单</guimenu><guimenuitem>显示日志</guimenuitem></menuchoice>从参考版本开始显"
13435 #: ../source/TortoiseGit_en.xml:9401
13437 "If you need a better visual indicator of where the oldest and newest changes "
13438 "are, select <menuchoice><guimenu>View</guimenu><guimenuitem>Color age of "
13439 "lines</guimenuitem></menuchoice>. This will use a colour gradient to show "
13440 "newer lines in red and older lines in blue. The default colouring is quite "
13441 "light, but you can change it using the TortoiseBlame settings."
13445 #: ../source/TortoiseGit_en.xml:9412
13447 "If you are using Merge Tracking, where lines have changed as a result of "
13448 "merging from another path, TortoiseBlame will show the revision and author of "
13449 "the last change in the original file rather than the revision where the merge "
13450 "took place. These lines are indicated by showing the revision and author in "
13451 "italics. If you do not want merged lines shown in this way, uncheck the "
13452 "<guilabel>Include merge info</guilabel> checkbox."
13456 #: ../source/TortoiseGit_en.xml:9421
13459 "If you want to see the paths involved in the merge, select "
13460 "<menuchoice><guimenu>View</guimenu><guimenuitem>Merge paths</guimenuitem></"
13463 "在工作副本上选择<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>合并</"
13464 "guimenuitem></menuchoice>。"
13467 #: ../source/TortoiseGit_en.xml:9428
13470 "The settings for TortoiseBlame can be accessed using "
13471 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Settings...</"
13472 "guimenuitem></menuchoice> on the TortoiseBlame tab. Refer to <xref linkend="
13473 "\"tsvn-dug-settings-tortoiseblame\"/>."
13475 "你要在同一个版本库中切换一个分支或目录。这么做你可以用"
13476 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>切换...</guimenuitem></"
13480 #: ../source/TortoiseGit_en.xml:9439
13481 msgid "Blame Differences"
13485 #: ../source/TortoiseGit_en.xml:9440
13487 "One of the limitations of the Blame report is that it only shows the file as "
13488 "it was in a particular revision, and shows the last person to change each "
13489 "line. Sometimes you want to know what change was made, as well as who made "
13490 "it. What you need here is a combination of the diff and blame reports."
13492 "追溯报告的一个局限性就是它仅仅象显示一个特殊版本一样显示文件,并显示出修改每一"
13493 "行的最后一个人。有时候你想知道谁做了什么修改。你所需要的就是把差异和追溯报告结"
13497 #: ../source/TortoiseGit_en.xml:9446
13499 "The revision log dialog includes several options which allow you to do this. "
13502 "在版本日志对话框里包含了以下几个选项支持你做这样的操作。<placeholder-1/>"
13505 #: ../source/TortoiseGit_en.xml:9450
13506 msgid "Blame Revisions"
13510 #: ../source/TortoiseGit_en.xml:9452
13512 "In the top pane, select 2 revisions, then select <menuchoice><guimenu>Context "
13513 "menu</guimenu><guimenuitem>Blame revisions</guimenuitem></menuchoice>. This "
13514 "will fetch the blame data for the 2 revisions, then use the diff viewer to "
13515 "compare the two blame files."
13517 "在顶部窗口,选择两个版本,然后选择<menuchoice><guimenu>上下文菜单</"
13518 "guimenu><guimenuitem>追溯版本</guimenuitem></menuchoice>。它将取出两个版本的追"
13519 "溯数据,然后使用差异察看器比较这两个追溯文件。"
13522 #: ../source/TortoiseGit_en.xml:9464
13523 msgid "Blame Changes"
13527 #: ../source/TortoiseGit_en.xml:9466
13530 "Select one revision in the top pane, then pick one file in the bottom pane "
13531 "and select <menuchoice><guimenu>Context menu</guimenu><guimenuitem>Blame "
13532 "changes</guimenuitem></menuchoice>. This will fetch the blame data for the "
13533 "selected revision and the previous revision, then use the diff viewer to "
13534 "compare the two blame files."
13536 "在上面的面板里选择一个版本,然后在下面的面板选择一个文件然后选择"
13537 "<menuchoice><guimenu>上下文菜单</guimenu><guimenuitem>追溯差异</guimenuitem></"
13538 "menuchoice>。这会为选定版本及其上一个版本获取追溯数据,然后用差异阅读器比较两"
13542 #: ../source/TortoiseGit_en.xml:9480
13543 msgid "Compare and Blame with Working BASE"
13544 msgstr "与工作副本比较并追溯"
13547 #: ../source/TortoiseGit_en.xml:9482
13549 "Show the log for a single file, and in the top pane, select a single "
13550 "revision, then select <menuchoice><guimenu>Context menu</"
13551 "guimenu><guimenuitem>Compare and Blame with Working BASE</guimenuitem></"
13552 "menuchoice>. This will fetch the blame data for the selected revision, and "
13553 "for the file in the working BASE, then use the diff viewer to compare the two "
13556 "为一个单一文件显示日志,在上面的面板选择一个版本,然后选择"
13557 "<menuchoice><guimenu>上下文菜单</guimenu><guimenuitem>与工作副本比较并追溯</"
13558 "guimenuitem></menuchoice>。这会为文件的选择版本和工作副本获取追溯数据,然后使"
13563 #: ../source/TortoiseGit_en.xml:9500 ../source/TortoiseGit_en.xml:9524
13564 msgid "The Repository Browser"
13568 #: ../source/TortoiseGit_en.xml:9502
13569 msgid "repo-browser"
13573 #: ../source/TortoiseGit_en.xml:9505
13574 msgid "server-side actions"
13578 #: ../source/TortoiseGit_en.xml:9514
13579 msgid "server viewer"
13583 #: ../source/TortoiseGit_en.xml:9517
13585 "Sometimes you need to work directly on the repository, without having a "
13586 "working copy. That's what the <firstterm>Repository Browser</firstterm> is "
13587 "for. Just as the explorer and the icon overlays allow you to view your "
13588 "working copy, so the Repository Browser allows you to view the structure and "
13589 "status of the repository. <placeholder-1/> With the Repository Browser you "
13590 "can execute commands like copy, move, rename, ... directly on the repository."
13592 "有时候我们需要在版本库中直接进行操作,而不是在工作副本中。这就是我们的"
13593 "<firstterm>版本库浏览器</firstterm>可以做到的。正如资源管理器和能浏览你的工作"
13594 "副本一样,版本库浏览器允许你浏览版本库的结构和状态。<placeholder-1/> 在版本库"
13595 "浏览器中你可以执行比如复制,转移,重命名、、、直接操作在版本库上。"
13598 #: ../source/TortoiseGit_en.xml:9530
13600 "The repository browser looks very similar to the Windows explorer, except "
13601 "that it is showing the content of the repository at a particular revision "
13602 "rather than files on your computer. In the left pane you can see a directory "
13603 "tree, and in the right pane are the contents of the selected directory. At "
13604 "the top of the Repository Browser Window you can enter the URL of the "
13605 "repository and the revision you want to browse."
13607 "除了版本库浏览器不是显示计算机中的文件,而是显示版本库中特定版本的内容之外,它"
13608 "看起来很象 Windows 资源管理器。在左边的窗格显示目录树,右边的窗格显示选定目录"
13609 "的内容。在版本库浏览器窗口的顶部,你可以输入你想浏览的版本库 URL和版本。"
13612 #: ../source/TortoiseGit_en.xml:9539
13614 "Just like Windows explorer, you can click on the column headings in the right "
13615 "pane if you want to set the sort order. And as in explorer there are context "
13616 "menus available in both panes."
13618 "就象 Windows 资源管理器一样,如果你想设置排列顺序,可以点击右边窗格中的列首。"
13622 #: ../source/TortoiseGit_en.xml:9544
13623 msgid "The context menu for a file allows you to: <placeholder-1/>"
13624 msgstr "文件的上下文菜单允许你:<placeholder-1/>"
13627 #: ../source/TortoiseGit_en.xml:9554
13628 msgid "Save an unversioned copy of the file to your hard drive."
13629 msgstr "在你的硬盘上保存此文件的一个未版本控制的副本。"
13632 #: ../source/TortoiseGit_en.xml:9559
13634 "Show the revision log for that file, or show a graph of all revisions so you "
13635 "can see where the file came from."
13636 msgstr "显示此文件的版本日志,或者显示所有版本图,从而你可以知道其来源。"
13639 #: ../source/TortoiseGit_en.xml:9565
13640 msgid "Blame the file, to see who changed which line and when."
13641 msgstr "追溯这个文件,查看是谁在何时修改哪些行。"
13644 #: ../source/TortoiseGit_en.xml:9570
13645 msgid "Delete or rename the file."
13649 #: ../source/TortoiseGit_en.xml:9575
13651 "Make a copy of the file, either to a different part of the repository, or to "
13652 "a working copy rooted in the same repository."
13654 "复制这个文件,目的可以是版本库中的其它地方,也可以是同一版本库中的工作副本。"
13657 #: ../source/TortoiseGit_en.xml:9581
13658 msgid "View/Edit the file's properties."
13662 #: ../source/TortoiseGit_en.xml:9587
13663 msgid "The context menu for a folder allows you to: <placeholder-1/>"
13664 msgstr "目录的上下文菜单允许你:<placeholder-1/>"
13667 #: ../source/TortoiseGit_en.xml:9591
13669 "Show the revision log for that folder, or show a graph of all revisions so "
13670 "you can see where the folder came from."
13671 msgstr "显示此目录的版本日志,或者显示所有版本图,从而你可以知道其来源。"
13674 #: ../source/TortoiseGit_en.xml:9597
13675 msgid "Export the folder to a local unversioned copy on your hard drive."
13676 msgstr "导出此目录的未版本控制副本到你的本地硬盘。"
13679 #: ../source/TortoiseGit_en.xml:9602
13680 msgid "Checkout the folder to produce a local working copy on your hard drive."
13681 msgstr "检出此目录到你的硬盘,产生一个本地工作副本。"
13684 #: ../source/TortoiseGit_en.xml:9607
13685 msgid "Create a new folder in the repository."
13686 msgstr "在版本库创建新目录。"
13689 #: ../source/TortoiseGit_en.xml:9612
13690 msgid "Add files or folders directly to the repository."
13691 msgstr "直接向版本库增加文件或目录。"
13694 #: ../source/TortoiseGit_en.xml:9617
13695 msgid "Delete or rename the folder."
13699 #: ../source/TortoiseGit_en.xml:9622
13701 "Make a copy of the folder, either to a different part of the repository, or "
13702 "to a working copy rooted in the same repository."
13704 "复制这个目录,目的可以是版本库中的其它地方,也可以是同一版本库中的工作副本。"
13707 #: ../source/TortoiseGit_en.xml:9628
13708 msgid "View/Edit the folder's properties."
13709 msgstr "察看/编辑目录的属性"
13712 #: ../source/TortoiseGit_en.xml:9633
13713 msgid "Mark the folder for comparison. A marked folder is shown in bold."
13714 msgstr "为比较标记目录。已标记的目录用粗体显示。"
13717 #: ../source/TortoiseGit_en.xml:9638
13719 "Compare the folder with a previously marked folder, either as a unified diff, "
13720 "or as a list of changed files which can then be visually diffed using the "
13721 "default diff tool. This can be particularly useful for comparing two tags, or "
13722 "trunk and branch to see what changed."
13724 "将此文件夹与以前标记的文件夹比较,用统一差异,或者是一个可以用默认比较工具可视"
13725 "化显示差异的文件改变列表。它对于比较两个标签,或者最新版本与分支,查看修改详情"
13729 #: ../source/TortoiseGit_en.xml:9647
13731 "If you select two folders in the right pane, you can view the differences "
13732 "either as a unified-diff, or as a list of files which can be visually diffed "
13733 "using the default diff tool."
13735 "如果你在右窗格选择两个文件夹,你可以用统一差异,或者是一个可以用默认比较工具可"
13736 "视化显示差异的文件改变列表来查看其区别。"
13739 #: ../source/TortoiseGit_en.xml:9652
13741 "If you select multiple folders in the right pane, you can checkout all of "
13742 "them at once into a common parent folder."
13744 "如果你在右边窗格中选择了多个目录,你可以将它们同时检出到同一个父目录之下。"
13747 #: ../source/TortoiseGit_en.xml:9656
13749 "If you select 2 tags which are copied from the same root (typically <literal>/"
13750 "trunk/</literal>), you can use <menuchoice><guimenu>Context Menu</"
13751 "guimenu><guimenuitem>Show Log...</guimenuitem></menuchoice> to view the list "
13752 "of revisions between the two tag points."
13754 "如果你选择两个拥有相同历史的标签(特别是<literal>/主干/</literal>),你可以使用"
13755 "<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>显示日志...</"
13756 "guimenuitem></menuchoice>来查看"
13759 #: ../source/TortoiseGit_en.xml:9665
13762 "You can use <keycap>F5</keycap> to refresh the view as usual. This will "
13763 "refresh everything which is currently displayed. If you want to pre-fetch or "
13764 "refresh the information for nodes which have not been opened yet, use "
13765 "<keycap>Ctrl-F5</keycap>. After that, expanding any node will happen "
13766 "instantly without a network delay while the information is fetched."
13768 "你可以使用 <action>F5</action> 刷新视图。它会刷新现在显示的所有信息。你可以使"
13769 "用 <action>CTRL-F5</action> 预取或刷新还没有打开的节点信息。然后,展开任何节点"
13770 "都会立即显示,因为信息已经预取,所以没有网络延迟。"
13773 #: ../source/TortoiseGit_en.xml:9672
13776 "You can also use the repository browser for drag-and-drop operations. If you "
13777 "drag a folder from explorer into the repo-browser, it will be imported into "
13778 "the repository. Note that if you drag multiple items, they will be imported "
13779 "in separate commits."
13781 "你也可以在版本库浏览器中使用拖拽的操作。如果你把一个文件夹从资源管理器中拖拽到"
13782 "版本库浏览器中,那就实现该文件夹的导入功能。有一点要注意,在导入多个文件时,必"
13786 #: ../source/TortoiseGit_en.xml:9678
13789 "If you want to move an item within the repository, just <action>left drag</"
13790 "action> it to the new location. If you want to create a copy rather than "
13791 "moving the item, <keycap>Ctrl</keycap>-<action>left drag</action> instead. "
13792 "When copying, the cursor has a <quote>plus</quote> symbol on it, just as it "
13793 "does in Explorer."
13795 "如果要在版本库浏览器中移动一个文件,只用<action>左键拖</action>到它要去的位"
13796 "置。如果你更愿意去复制该文件的话,使用这个<action>按住左键拖</action> 。操作就"
13797 "像在资源管理器中一样,复制时指针<quote>加</quote> 来标记。"
13800 #: ../source/TortoiseGit_en.xml:9684
13803 "If you want to copy/move a file or folder to another location and also give "
13804 "it a new name at the same time, you can <action>right drag</action> or "
13805 "<keycap>Ctrl</keycap>-<action>right drag</action> the item instead of using "
13806 "<action>left drag</action>. In that case, a rename dialog is shown where you "
13807 "can enter a new name for the file or folder."
13809 "如果你要复制/移动一个文件或文件夹到一个新的位置并重命名,你可以<action>右键拖"
13810 "</action> 或者 <action>按住右键拖</action>这个文件,而不用<action>左键拖</"
13811 "action>。这样,就会显示对话框来为该文件或文件夹重命名。"
13814 #: ../source/TortoiseGit_en.xml:9691
13816 "Whenever you make changes in the repository using one of these methods, you "
13817 "will be presented with a log message entry dialog. If you dragged something "
13818 "by mistake, this is also your chance to cancel the action."
13820 "无论什么时候对版本库的任意操作,都要求加入它的操作日志。这为你操作失误提供了返"
13824 #: ../source/TortoiseGit_en.xml:9696
13827 "Sometimes when you try to open a path you will get an error message in place "
13828 "of the item details. This might happen if you specified an invalid URL, or if "
13829 "you don't have access permission, or if there is some other server problem. "
13830 "If you need to copy this message to include it in an email, just right click "
13831 "on it and use <menuchoice><guimenu>Context Menu</guimenu><guimenuitem>Copy "
13832 "error message to clipboard</guimenuitem></menuchoice>, or simply use "
13833 "<keycap>Ctrl+C</keycap>."
13835 "有时候当你访问一个路径时,会跳出一个错误信息。也许是不可用的URL,也许是你没有"
13836 "访问权限,或者其他的一些原因,如果你要把这些信息发送出去,只用点击它然后"
13837 "<menuchoice><guimenu>右键</guimenu><guimenuitem>复制错误信息到剪贴板</"
13838 "guimenuitem></menuchoice>,或者简单地用<action>CTRL+C</action>。"
13841 #: ../source/TortoiseGit_en.xml:9711
13842 msgid "Revision Graphs"
13846 #: ../source/TortoiseGit_en.xml:9716
13851 #: ../source/TortoiseGit_en.xml:9719
13852 msgid "revision graph"
13856 #: ../source/TortoiseGit_en.xml:9721
13858 "<placeholder-1/> Sometimes you need to know where branches and tags were "
13859 "taken from the trunk, and the ideal way to view this sort of information is "
13860 "as a graph or tree structure. That's when you need to use "
13861 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Revision Graph...</"
13862 "guimenuitem></menuchoice>"
13864 "<placeholder-1/>有时候,我们需要知道从哪开始有了分支和标签,同时想知道这条支路"
13865 "是单独的分支还是树型结构。如果需要你可以使用<menuchoice><guimenu>TortoiseGit</"
13866 "guimenu><guimenuitem>版本分支图...</guimenuitem></menuchoice>。"
13869 #: ../source/TortoiseGit_en.xml:9723
13870 msgid "A Revision Graph"
13874 #: ../source/TortoiseGit_en.xml:9734
13876 "This command analyses the revision history and attempts to create a tree "
13877 "showing the points at which copies were taken, and when branches/tags were "
13880 "这个版本历史分析图能够显示分支/标签从什么地方开始创建,以及什么时候删除。"
13883 #: ../source/TortoiseGit_en.xml:9740
13886 "In order to generate the graph, TortoiseGit must fetch all log messages from "
13887 "the repository root. Needless to say this can take several minutes even with "
13888 "a repository of a few thousand revisions, depending on server speed, network "
13889 "bandwidth, etc. If you try this with something like the <emphasis>Apache</"
13890 "emphasis> project which currently has over 500,000 revisions you could be "
13891 "waiting for some time."
13893 "要产生版本分支图,TortoiseGit必须从版本库中获取所有的日志信息。一个只有上千版"
13894 "本的版本库也会需要几分钟的时间,这个主要由服务器速度,网络带宽等因素决定。对于"
13895 "类似<literal>Apache</literal>这样的版本号超过500,000的项目,估计要等上比较长"
13899 #: ../source/TortoiseGit_en.xml:9748
13902 "The good news is that if you are using Log Caching, you only have to suffer "
13903 "this delay once. After that, log data is held locally. Log caching is enabled "
13904 "in TortoiseGit's settings."
13906 "好消息是如果你使用日志缓存,你只需要忍受一次耽搁。然后日志保存到本地。日志缓存"
13907 "可以在<guilabel>对话框一</guilabel>启用。"
13910 #: ../source/TortoiseGit_en.xml:9755
13911 msgid "Revision Graph Nodes"
13915 #: ../source/TortoiseGit_en.xml:9756
13917 msgid "The revision graph shows several types of node: <placeholder-1/>"
13918 msgstr "显示<placeholder-1/>目录下的版本变化图。"
13921 #: ../source/TortoiseGit_en.xml:9760
13922 msgid "Added file/folder"
13926 #: ../source/TortoiseGit_en.xml:9762
13928 "Items which have been added, or created by copying another file/folder are "
13929 "shown using a rounded rectangle."
13930 msgstr "已增加或通过复制生成的文件/文件夹以圆圈的方式标记。"
13933 #: ../source/TortoiseGit_en.xml:9769
13934 msgid "Deleted file/folder"
13938 #: ../source/TortoiseGit_en.xml:9771
13940 "Deleted items eg. a branch which is no longer required, are shown using an "
13941 "octagon (rectangle with corners cut off)."
13943 "已删除文件,比如说一个不在需要的分支,将显示octagon(rectangle with corners "
13947 #: ../source/TortoiseGit_en.xml:9778
13948 msgid "Branch tip revision"
13952 #: ../source/TortoiseGit_en.xml:9780
13955 "Where a branch (or trunk or tag) has been modified since the last branch "
13956 "node, this is shown using an ellipse. Shown when the <guilabel>Show HEAD "
13957 "revisions</guilabel> option is selected."
13959 "当一个分支(或者主干或者标签)从最新的节点开始以来有了新的更改,将有一个插件显示"
13960 "出来。也就是说,任意分支的最新版本都会显示在分支图上。"
13963 #: ../source/TortoiseGit_en.xml:9789
13964 msgid "Normal file/folder"
13968 #: ../source/TortoiseGit_en.xml:9791
13969 msgid "All other items are shown using a plain rectangle."
13970 msgstr "其他一般的文件用plain rectangle标示。"
13973 #: ../source/TortoiseGit_en.xml:9798
13976 "Note that by default the graph only shows the points at which items were "
13977 "added or deleted. Showing every revision of a project will generate a very "
13978 "large graph for non-trivial cases. If you really want to see <emphasis>all</"
13979 "emphasis> revisions where changes were made, there is an option to do this in "
13980 "the <guilabel>View</guilabel> menu and on the toolbar."
13982 "版本分支图将显示以下内容: <placeholder-1/>默认的分支信息只会显示那些有增加或删"
13983 "除文件的节点。要显示一个项目的所有版本将会产生一个庞大的毫无价值的版本图。如果"
13984 "你呀看到所有的版本,在视图工具栏里可以找到实现该功能的选项。"
13987 #: ../source/TortoiseGit_en.xml:9807
13988 msgid "Changing the View"
13992 #: ../source/TortoiseGit_en.xml:9808
13994 "Because a revision graph is often quite complex, there are a number of "
13995 "features which can be used to tailor the view the way you want it. These are "
13996 "available in the <guilabel>View</guilabel> menu and from the toolbar. "
13999 "因为版本图经常很复杂,所以有很多方法剪裁视图。你可以在<guilabel>视图</"
14000 "guilabel>菜单或工具栏找到它们。<placeholder-1/>"
14003 #: ../source/TortoiseGit_en.xml:9815
14004 msgid "Group branches"
14008 #: ../source/TortoiseGit_en.xml:9817
14010 "The default behavior (grouping off) will use one row per revision and all "
14011 "rows are sorted strictly by revision. As a result, long-living branches "
14012 "occupy a whole column for only a few changes and the graph becomes very broad."
14016 #: ../source/TortoiseGit_en.xml:9823
14018 "This mode groups changes by branch, so that there is no global revision "
14019 "ordering: Consecutive revisions on a branch will be shown in (often) "
14020 "consecutive lines. Sub-branches, however, are arranged in such a way that "
14021 "later branches will be shown in the same column above older branches to keep "
14022 "the graph slim. As a result, a given row may contain changes from different "
14027 #: ../source/TortoiseGit_en.xml:9835
14028 msgid "Oldest on top"
14032 #: ../source/TortoiseGit_en.xml:9837
14034 "Normally the graph shows the oldest revision at the bottom, and the tree "
14035 "grows upwards. Use this option to grow down from the top instead."
14037 "正常情况下,在图形底部显示最老的版本,版本树向上生长。使用这个选项,版本树从顶"
14041 #: ../source/TortoiseGit_en.xml:9845
14042 msgid "Show HEAD revisions"
14046 #: ../source/TortoiseGit_en.xml:9847
14048 "This ensures that the latest revision on every branch is always shown on the "
14050 msgstr "它确保每个分支的最新版本永远在图中显示。"
14053 #: ../source/TortoiseGit_en.xml:9854
14054 msgid "Exact copy sources"
14058 #: ../source/TortoiseGit_en.xml:9856
14060 "When a branch/tag is made, the default behaviour is to show the branch as "
14061 "taken from the last node where a change was made. Strictly speaking this is "
14062 "inaccurate since the branches are often made from the current HEAD rather "
14063 "than a specific revision. So it is possible to show the more correct (but "
14064 "less useful) revision that was used to create the copy."
14068 #: ../source/TortoiseGit_en.xml:9868
14073 #: ../source/TortoiseGit_en.xml:9870
14075 "If you want to see a graph of software development, tagged releases may be of "
14076 "little interest to you. This option hides the nodes for tags and shows them "
14077 "instead in the tooltip for the node that they were copied from. A tag icon on "
14078 "the right side of the source node indicates that tags were made."
14082 #: ../source/TortoiseGit_en.xml:9881
14083 msgid "Reduce cross lines"
14087 #: ../source/TortoiseGit_en.xml:9883
14089 "If the layout of the graph has produced a lot of crossing lines, use this "
14090 "option to clean it up. This may make the layout columns appear in less "
14091 "logical places, for example in a diagonal line rather than a column, and it "
14092 "may take a little time to optimise."
14094 "如果图形布局产生许多交叉行,可使用这个选项来清理。它可以让布局列在更少的逻辑位"
14095 "置显示,例如使用斜线而不是列,可能需要少许时间来优化显示。"
14098 #: ../source/TortoiseGit_en.xml:9894
14103 #: ../source/TortoiseGit_en.xml:9896
14106 "Sometimes the revision graph contains more revisions than you want to see. "
14107 "This option opens a dialog which allows you to restrict the range of "
14108 "revisions displayed, and to hide particular paths by name."
14110 "有时候版本图包含的信息比你想看到的多。<menuchoice><guimenu>视图</"
14111 "guimenu><guimenuitem>过滤器</guimenuitem></menuchoice>打开对话框,允许你限制显"
14112 "示的版本范围,隐藏指定的路径名称模式。"
14115 #: ../source/TortoiseGit_en.xml:9908
14116 msgid "Using the Graph"
14120 #: ../source/TortoiseGit_en.xml:9909
14122 "To make it easier to navigate a large graph, use the overview window. This "
14123 "shows the entire graph in a small window, with the currently displayed "
14124 "portion highlighted. You can drag the highlighted area to change the "
14125 "displayed region."
14127 "概览窗口可以使遍历大图更容易。它在小窗口中显示整个图形,高亮显示当前详细显示的"
14128 "部分。你可以通过拖曳高亮区域来改变当前详细显示的部分。"
14131 #: ../source/TortoiseGit_en.xml:9915
14133 "The revision date, author and comments are shown in a hint box whenever the "
14134 "mouse hovers over a revision box."
14135 msgstr "任何时候只要鼠标在版本框上滑过,都会显示该版本的日期、作者和备注信息。"
14138 #: ../source/TortoiseGit_en.xml:9919
14141 "If you select two revisions (Use <keycap>Ctrl</keycap>-<action>left click</"
14142 "action>), you can use the context menu to show the differences between these "
14143 "revisions. You can choose to show differences as at the branch creation "
14144 "points, but usually you will want to show the differences at the branch end "
14145 "points, i.e. at the HEAD revision."
14147 "选择两个版本(用ctrl+左击),你可以在右键菜单下查看这两个版本的差异。你可以在分"
14148 "支的起始点查看差异,但一般你会在一个分支的结束点来查看,比如,在最新版本。"
14151 #: ../source/TortoiseGit_en.xml:9926
14153 "You can view the differences as a Unified-Diff file, which shows all "
14154 "differences in a single file with minimal context. If you opt to "
14155 "<menuchoice><guimenu>Context Menu</guimenu><guimenuitem>Compare Revisions</"
14156 "guimenuitem></menuchoice> you will be presented with a list of changed files. "
14157 "<action>Double click</action> on a file name to fetch both revisions of the "
14158 "file and compare them using the visual difference tool."
14160 "你可以用查看单一差异文件的方式来查看差异,它在单一的文件中显示差异。如果你选"
14161 "<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>比较版本</guimenuitem></"
14162 "menuchoice>所有修改过的文件都会呈现在列表中。<action>双击</action>一个文件名可"
14166 #: ../source/TortoiseGit_en.xml:9937
14168 "If you <action>right click</action> on a revision you can use "
14169 "<menuchoice><guimenu>Context Menu</guimenu><guimenuitem>Show Log</"
14170 "guimenuitem></menuchoice> to view the history."
14172 "如果<action>右击</action>一个版本你可以使用<menuchoice><guimenu>右键菜单</"
14173 "guimenu><guimenuitem>显示日志</guimenuitem></menuchoice> 来查看它的历史。"
14176 #: ../source/TortoiseGit_en.xml:9945
14178 "You can also merge changes in the selected revision(s) into a different "
14179 "working copy. A folder selection dialog allows you to choose the working copy "
14180 "to merge into, but after that there is no confirmation dialog, nor any "
14181 "opportunity to try a dry run. It is a good idea to merge into an unmodified "
14182 "working copy so that you can revert the changes if it doesn't work out! This "
14183 "is a useful feature if you want to merge selected revisions from one branch "
14188 #: ../source/TortoiseGit_en.xml:9956
14190 "Because Git cannot provide all the information required, a certain "
14191 "amount of interpretation is required, which can sometimes give strange "
14192 "results. Nevertheless, the output for the trunk will generally give useful "
14195 "因为Git不能支持提供所有请求的信息,在有大量请求信息时,有时它能提供强大"
14196 "的返回信息。但无论如何,主干都会产生有用的输出。"
14199 #: ../source/TortoiseGit_en.xml:9966
14201 "If you want to check the server again for newer information, you can simply "
14202 "refresh the view using <keycap>F5</keycap>. If you are using the log cache "
14203 "(enabled by default), this will check the repository for newer commits and "
14204 "fetch only the new ones. If the log cache was in offline mode, this will also "
14205 "attempt to go back online."
14209 #: ../source/TortoiseGit_en.xml:9974
14211 "If you are using the log cache and you think the message content or author "
14212 "may have changed, you should use the log dialog to refresh the messages you "
14213 "need. Since the revision graph works from the repository root, we would have "
14214 "to invalidate the entire log cache, and refilling it could take a "
14215 "<emphasis>very</emphasis> long time."
14219 #: ../source/TortoiseGit_en.xml:9985
14220 msgid "Exporting a Git Working Copy"
14221 msgstr "导出一个Git工作副本"
14224 #: ../source/TortoiseGit_en.xml:9987
14229 #: ../source/TortoiseGit_en.xml:9990
14231 msgid "unversioned 'working copy'"
14232 msgstr "从工作副本删除版本信息"
14235 #: ../source/TortoiseGit_en.xml:9992
14237 "Sometimes you may want a copy of your working tree without any of those "
14238 "<filename>.svn</filename> directories, e.g. to create a zipped tarball of "
14239 "your source, or to export to a web server. Instead of making a copy and then "
14240 "deleting all those <filename>.svn</filename> directories manually, "
14241 "TortoiseGit offers the command <menuchoice><guimenu>TortoiseGit</"
14242 "guimenu><guimenuitem>Export...</guimenuitem></menuchoice>. Exporting from a "
14243 "URL and exporting from a working copy are treated slightly differently."
14245 "有时候你需要一个没有<filename>.svn</filename>目录的工作目录树,例如,创建一份"
14246 "源代码的压缩文件,或者导出一份用作WEB服务器。不用先复制,然后手工删除所有"
14247 "<filename>.svn</filename>目录。TortoiseGit提供命令"
14248 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>导出...</guimenuitem></"
14249 "menuchoice>。如果你要用这个功能操作拥有一份工作副本,将会在要求你保存一份干净"
14250 "的文件。从URL或工作副本导出有少许不同。"
14253 #: ../source/TortoiseGit_en.xml:10005
14255 "<placeholder-1/> If you execute this command on an unversioned folder, "
14256 "TortoiseGit will assume that the selected folder is the target, and open a "
14257 "dialog for you to enter the URL and revision to export from. This dialog has "
14258 "options to export only the top level folder, to omit external references, and "
14259 "to override the line end style for files which have the <literal>svn:eol-"
14260 "style</literal> property set."
14262 "<placeholder-1/> 如果你在未版本控制的目录执行此命令,TortoiseGit会假定此目录是"
14263 "目标,弹出对话框让你输入要导出的URL和版本。这个对话框有只导出顶级目录,省略外"
14264 "部引用,以及不管<literal>svn:eol-style</literal>的取值,重新设置行结束样式等选"
14268 #: ../source/TortoiseGit_en.xml:10007
14269 msgid "The Export-from-URL Dialog"
14270 msgstr "从 URL 导出对话框"
14273 #: ../source/TortoiseGit_en.xml:10017
14275 "Of course you can export directly from the repository too. Use the Repository "
14276 "Browser to navigate to the relevant subtree in your repository, then use "
14277 "<menuchoice><guimenu>Context Menu</guimenu><guimenuitem>Export</guimenuitem></"
14278 "menuchoice>. You will get the <guilabel>Export from URL</guilabel> dialog "
14281 "当然,你也可以直接从版本库导出。使用版本库浏览器浏览有关子树,然后使用"
14282 "<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>导出</guimenuitem></"
14283 "menuchoice>。就会出现上面所说的<guilabel>从URL导出</guilabel>对话框。"
14286 #: ../source/TortoiseGit_en.xml:10027
14288 "If you execute this command on your working copy you'll be asked for a place "
14289 "to save the <emphasis>clean</emphasis> working copy without the <filename>."
14290 "svn</filename> folders. By default, only the versioned files are exported, "
14291 "but you can use the <guilabel>Export unversioned files too</guilabel> "
14292 "checkbox to include any other unversioned files which exist in your WC and "
14293 "not in the repository. External references using <literal>svn:externals</"
14294 "literal> can be omitted if required."
14296 "如果你要用这个功能操作工作副本,将会询问你要保存<emphasis>干净</emphasis>而没"
14297 "有<filename>.svn</filename>目录的副本到何处。默认情况下,只导出被版本控制的文"
14298 "件,但你可以使用<guilabel>同时导出未受版本控制的文件</guilabel>来将版本库中没"
14299 "有但在你的本地副本中存在的文件导出来。另外可以使用<literal>svn:externals</"
14303 #: ../source/TortoiseGit_en.xml:10037
14305 "Another way to export from a working copy is to <action>right drag</action> "
14306 "the working copy folder to another location and choose "
14307 "<menuchoice><guimenu>Context Menu</guimenu><guimenuitem>SVN Export here</"
14308 "guimenuitem></menuchoice> or <menuchoice><guimenu>Context Menu</"
14309 "guimenu><guimenuitem>SVN Export all here</guimenuitem></menuchoice>. The "
14310 "second option includes the unversioned files as well."
14312 "另外一个导出的方法是 <action>右键拖</action>工作副本到另外的保存位置,然后选择"
14313 "<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>SVN导出到这儿</"
14314 "guimenuitem></menuchoice>或者<menuchoice><guimenu>右键菜单</"
14315 "guimenu><guimenuitem>SVN 导出全部到这儿</guimenuitem></menuchoice>。后者可以把"
14319 #: ../source/TortoiseGit_en.xml:10051
14321 "When exporting from a working copy, if the target folder already contains a "
14322 "folder of the same name as the one you are exporting, you will be given the "
14323 "option to overwrite the existing content, or to create a new folder with an "
14324 "automatically generated name, eg. <literal>Target (1)</literal>."
14326 "导出工作副本时,如果目标目录包含了和你导出的名称相同的目录,你需要使用此选项重"
14327 "写已经存在的内容,或者使用自动生成的名称,例如<literal>目标 (1)</literal>。"
14330 #: ../source/TortoiseGit_en.xml:10059
14332 msgid "Exporting single files"
14333 msgstr "导出一个Git工作副本"
14336 #: ../source/TortoiseGit_en.xml:10060
14338 "The export dialog does not allow exporting single files, even though "
14343 #: ../source/TortoiseGit_en.xml:10064
14345 "To export single files with TortoiseGit, you have to use the repository "
14346 "browser (<xref linkend=\"tsvn-dug-repobrowser\"/>). Simply drag the file(s) "
14347 "you want to export from the repository browser to where you want them in the "
14348 "explorer, or use the context menu in the repository browser to export the "
14353 #: ../source/TortoiseGit_en.xml:10073
14354 msgid "Removing a working copy from version control"
14355 msgstr "从版本控制里移除删除工作副本"
14359 #: ../source/TortoiseGit_en.xml:10075 ../source/TortoiseGit_en.xml:13723
14364 #: ../source/TortoiseGit_en.xml:10077
14366 "Sometimes you have a working copy which you want to convert back to a normal "
14367 "folder without the <literal>.svn</literal> directories. What you really need "
14368 "is an export-in-place command, that just removes the control directories "
14369 "rather than generating a new clean directory tree."
14373 #: ../source/TortoiseGit_en.xml:10084
14375 "The answer is surprisingly simple - export the folder to itself! TortoiseGit "
14376 "detects this special case and asks if you want to make the working copy "
14377 "unversioned. If you answer <emphasis>yes</emphasis> the control directories "
14378 "will be removed and you will have a plain, unversioned directory tree."
14382 #: ../source/TortoiseGit_en.xml:10094
14383 msgid "Relocating a working copy"
14387 #: ../source/TortoiseGit_en.xml:10096
14392 #: ../source/TortoiseGit_en.xml:10099
14393 msgid "URL changed"
14397 #: ../source/TortoiseGit_en.xml:10102
14398 msgid "repository URL changed"
14399 msgstr "版本库的 URL 已改变"
14402 #: ../source/TortoiseGit_en.xml:10105
14403 msgid "server moved"
14407 #: ../source/TortoiseGit_en.xml:10108
14408 msgid "moved server"
14412 #: ../source/TortoiseGit_en.xml:10111
14415 "<placeholder-1/> If your repository has for some reason changed it's location "
14416 "(IP/URL). Maybe you're even stuck and can't commit and you don't want to "
14417 "checkout your working copy again from the new location and to move all your "
14418 "changed data back into the new working copy, "
14419 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Relocate</"
14420 "guimenuitem></menuchoice> is the command you are looking for. It basically "
14421 "does very little: it scans all <filename>entries</filename> files in the "
14422 "<filename>.svn</filename> folder and changes the URL of the entries to the "
14425 "<placeholder-1/>如果你的版本库因为某些原因而重定位了(IP/URL).也许你不能进行操"
14426 "作,不能提交,不能从新的定位检出副本,也不能将修改的数据提交到新位置的版本库"
14427 "中,<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>重新定位</"
14428 "guimenuitem></menuchoice>也许正是你需要的。它的做法很简单: 查找所有 "
14429 "<filename>.svn</filename> 文件的接口然后把URL值改为新的版本库地址。"
14432 #: ../source/TortoiseGit_en.xml:10113
14433 msgid "The Relocate Dialog"
14437 #: ../source/TortoiseGit_en.xml:10131
14439 "<emphasis>This is a very infrequently used operation</emphasis>. The relocate "
14440 "command is <emphasis>only</emphasis> used if the URL of the repository root "
14441 "has changed. Possible reasons are: <placeholder-1/> Put another way, you need "
14442 "to relocate when your working copy is referring to the same location in the "
14443 "same repository, but the repository itself has moved."
14445 "<emphasis>这是一个极少使用的操作</emphasis>.重定位<emphasis>只能</emphasis> 在"
14446 "版本库路径更改时使用。可能的原因是: <placeholder-1/> 换种说法,如果你要重定"
14447 "位,只有当你的工作副本仍然还在同一个版本库中定位,但版本库本身已经没有了。"
14450 #: ../source/TortoiseGit_en.xml:10137
14451 msgid "The IP address of the server has changed."
14452 msgstr "服务器的IP地址已更改。"
14455 #: ../source/TortoiseGit_en.xml:10140
14456 msgid "The protocol has changed (e.g. http:// to https://)."
14457 msgstr "协议已更改(比如从http://改为 https://)。"
14460 #: ../source/TortoiseGit_en.xml:10143
14461 msgid "The repository root path in the server setup has changed."
14462 msgstr "版本库在服务器的路径已更改。"
14465 #: ../source/TortoiseGit_en.xml:10150
14466 msgid "It does not apply if: <placeholder-1/>"
14467 msgstr "以下情况不支持: <placeholder-1/>"
14470 #: ../source/TortoiseGit_en.xml:10154
14472 "You want to move to a different Git repository. In that case you "
14473 "should perform a clean checkout from the new repository location."
14475 "你要移到一个完全不同的版本库。这种情况下,你必须从新的版本库里执行一次干净的检"
14479 #: ../source/TortoiseGit_en.xml:10160
14481 "You want to switch to a different branch or directory within the same "
14482 "repository. To do that you should use <menuchoice><guimenu>TortoiseGit</"
14483 "guimenu><guimenuitem>Switch...</guimenuitem></menuchoice>. Read <xref linkend="
14484 "\"tsvn-dug-switch-1\"/> for more information."
14486 "你要在同一个版本库中切换一个分支或目录。这么做你可以用"
14487 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>切换...</guimenuitem></"
14491 #: ../source/TortoiseGit_en.xml:10172
14493 "If you use relocate in either of the cases above, it <emphasis>will corrupt "
14494 "your working copy</emphasis> and you will get many unexplainable error "
14495 "messages while updating, committing, etc. Once that has happened, the only "
14496 "fix is a fresh checkout."
14498 "如果你使用以上任意一种重定位方式,它<emphasis>将破坏你的工作副本</emphasis>,"
14499 "在你更新、提交等操作时会提示一些令人费解的错误信息。一旦发生这种情况,唯一的办"
14503 #: ../source/TortoiseGit_en.xml:10181
14504 msgid "Integration with Bug Tracking Systems / Issue Trackers"
14505 msgstr "与 BUG 跟踪系统/问题跟踪集成"
14508 #: ../source/TortoiseGit_en.xml:10183
14509 msgid "bug tracking"
14513 #: ../source/TortoiseGit_en.xml:10186
14514 msgid "bug tracker"
14518 #: ../source/TortoiseGit_en.xml:10189
14519 msgid "issue tracker"
14523 #: ../source/TortoiseGit_en.xml:10192
14528 #: ../source/TortoiseGit_en.xml:10194
14530 "It is very common in Software Development for changes to be related to a "
14531 "specific bug or issue ID. Users of bug tracking systems (issue trackers) "
14532 "would like to associate the changes they make in Git with a specific "
14533 "ID in their issue tracker. Most issue trackers therefore provide a pre-commit "
14534 "hook script which parses the log message to find the bug ID with which the "
14535 "commit is associated. This is somewhat error prone since it relies on the "
14536 "user to write the log message properly so that the pre-commit hook script can "
14537 "parse it correctly."
14539 "在软件开发中,修改依赖于一个bug或问题编号是很常见的。bug跟踪系统的用户(问题跟"
14540 "踪者)喜欢在问题跟踪中将Git的修改与一个指定编号联系起来。因此很多问题跟"
14541 "踪者提供了一个预提交钩子脚本,分析日志,查找提交相关的bug编号。这稍微有些不可"
14542 "靠,因为它依赖于用户写完全的日志,预提交钩子才能正确分析。"
14545 #: ../source/TortoiseGit_en.xml:10203
14546 msgid "TortoiseGit can help the user in two ways: <placeholder-1/>"
14547 msgstr "TortoiseGit可以在两个方面帮助用户: <placeholder-1/>"
14550 #: ../source/TortoiseGit_en.xml:10207
14552 "When the user enters a log message, a well defined line including the issue "
14553 "number associated with the commit can be added automatically. This reduces "
14554 "the risk that the user enters the issue number in a way the bug tracking "
14555 "tools can't parse correctly."
14557 "当用户输入日志信息时,一个定义良好,包含问题编号,与此提交相关的的行,会自动增"
14558 "加。这样减少了用户输入的问题编号不能比bug跟踪系统正确分析的风险。"
14561 #: ../source/TortoiseGit_en.xml:10213
14563 "Or TortoiseGit can highlight the part of the entered log message which is "
14564 "recognized by the issue tracker. That way the user knows that the log message "
14565 "can be parsed correctly."
14567 "或者TortoiseGit高亮显示日志消息中能被问题跟踪者识别的部分。这样,用户就知道日"
14571 #: ../source/TortoiseGit_en.xml:10220
14573 "When the user browses the log messages, TortoiseGit creates a link out of "
14574 "each bug ID in the log message which fires up the browser to the issue "
14577 "当用户浏览日志信息,TortoiseGit在日志信息中创建指向每个bug标示的链接,它可以用"
14581 #: ../source/TortoiseGit_en.xml:10229
14583 msgid "Adding Issue Numbers to Log Messages"
14587 #: ../source/TortoiseGit_en.xml:10230
14590 "You can integrate a bug tracking tool of your choice in TortoiseGit. To do "
14591 "this, you have to define some properties, which start with <literal>bugtraq:</"
14592 "literal>. They must be set on Folders: (<xref linkend=\"tsvn-dug-propertypage"
14595 "你可以在TortoiseGit中集成bug跟踪工具。为了使用这个特性,你要定义一些以"
14596 "<literal>bugtraq:</literal>开始的属性,它们只能在文件夹上设置 (<xref linkend="
14597 "\"tsvn-dug-propertypage\"/>)。"
14600 #: ../source/TortoiseGit_en.xml:10236
14603 "There are two ways to integrate TortoiseGit with issue trackers. One is based "
14604 "on simple strings, the other is based on <emphasis>regular expressions</"
14605 "emphasis>. The properties used by both approaches are: <placeholder-1/>"
14607 "有两个方法集成TortoiseGit 和问题跟踪。一个基于简单字符串,另一个基于<literal>"
14608 "正则表达式</literal>。它们的用法是: <placeholder-1/>"
14611 #: ../source/TortoiseGit_en.xml:10245
14614 "Set this property to the URL of your bug tracking tool. It must be properly "
14615 "URI encoded and it has to contain <literal>%BUGID%</literal>. <literal>%BUGID%"
14616 "</literal> is replaced with the Issue number you entered. This allows "
14617 "TortoiseGit to display a link in the log dialog, so when you are looking at "
14618 "the revision log you can jump directly to your bug tracking tool. You do not "
14619 "have to provide this property, but then TortoiseGit shows only the issue "
14620 "number and not the link to it. e.g the TortoiseGit project is using "
14621 "<systemitem class=\"url\">http://issues.TortoiseGit.net/?do=details&id=%"
14622 "BUGID%</systemitem>"
14624 "将这个属性设置为你的bug跟踪工具的地址。它必须编码并且包含<literal>%BUGID%</"
14625 "literal>。<literal>%BUGID%</literal>用你输入的问题编号替换。它允许TortoiseGit "
14626 "在日志对话框中显示链接,于是你可以在察看版本日志时直接进入bug跟踪工具。你可以"
14627 "不提供这个属性,但是这样TortoiseGit就不能显示链接了,只能显示问题编号。例如"
14628 "TortoiseGit 使用<literal>http://issues.TortoiseGit.net/?do=details&id=%"
14629 "BUGID%</literal>。"
14632 #: ../source/TortoiseGit_en.xml:10260
14634 "You can also use relative URLs instead of absolute ones. This is useful when "
14635 "your issue tracker is on the same domain/server as your source repository. In "
14636 "case the domain name ever changes, you don't have to adjust the "
14637 "<literal>bugtraq:url</literal> property. There are two ways to specify a "
14642 #: ../source/TortoiseGit_en.xml:10267
14644 "If it begins with the string <literal>^/</literal> it is assumed to be "
14645 "relative to the repository root. For example, <literal>^/../?do=details&"
14646 "id=%BUGID%</literal> will resolve to <systemitem class=\"url\">http://"
14647 "TortoiseGit.net/?do=details&id=%BUGID%</systemitem> if your repository is "
14648 "located on <systemitem class=\"url\">http://TortoiseGit.net/svn/trunk/</"
14653 #: ../source/TortoiseGit_en.xml:10276
14655 "A URL beginning with the string <literal>/</literal> is assumed to be "
14656 "relative to the server's hostname. For example <literal>/?do=details&id=%"
14657 "BUGID%</literal> will resolve to <systemitem class=\"url\">http://TortoiseGit."
14658 "net/?do=details&id=%BUGID%</systemitem> if your repository is located "
14659 "anywhere on <systemitem class=\"url\">http://TortoiseGit.net</systemitem>."
14663 #: ../source/TortoiseGit_en.xml:10290
14666 "Set this to <literal>true</literal>, if you want TortoiseGit to warn you "
14667 "because of an empty issue-number text field. Valid values are <literal>true/"
14668 "false</literal>. <emphasis> If not defined, <literal>false</literal> is "
14669 "assumed. </emphasis>"
14671 "如果你想TortoiseGit给出空问题编号的警告,就设置为 <literal>真</literal>。有效"
14672 "取值是 <literal>真/假</literal>。<emphasis>如果没有定义,那么假定为 <literal>"
14673 "假</literal></emphasis>。"
14676 #: ../source/TortoiseGit_en.xml:10304
14677 msgid "Issue Number in Text Box"
14681 #: ../source/TortoiseGit_en.xml:10305
14683 "In the simple approach, TortoiseGit shows the user a separate input field "
14684 "where a bug ID can be entered. Then a separate line is appended/prepended to "
14685 "the log message the user entered. <placeholder-1/>"
14687 "在最简单的方法里,TortoiseGit为用户显示了一个单独的bug ID输入字段,然后后面预"
14688 "计会追加一个用户输入日志信息的行。<placeholder-1/>"
14691 #: ../source/TortoiseGit_en.xml:10313
14694 "This property activates the bug tracking system in <emphasis>Input field</"
14695 "emphasis> mode. If this property is set, then TortoiseGit will prompt you to "
14696 "enter an issue number when you commit your changes. It's used to add a line "
14697 "at the end of the log message. It must contain <literal>%BUGID%</literal>, "
14698 "which is replaced with the issue number on commit. This ensures that your "
14699 "commit log contains a reference to the issue number which is always in a "
14700 "consistent format and can be parsed by your bug tracking tool to associate "
14701 "the issue number with a particular commit. As an example you might use "
14702 "<literal>Issue : %BUGID%</literal>, but this depends on your Tool."
14704 "<emphasis>这个属性将问题追踪系统激活为<literal>输入框</literal>模式。 </"
14705 "emphasis>如果设置了这个属性,在拟提交时,TortoiseGit会提示你输入问题单号码。它"
14706 "通常会在日志信息后面添加一行。必须包含<literal>%BUGID%</literal>,在提交时会被"
14707 "替换为问题单号。这确保了你的提交日志包含了问题单号,保证了单号可以被问题追踪工"
14708 "具解析,从而与提交关联。例如TortoiseGit项目使用<literal>Issue : %BUGID%</"
14709 "literal>,但是这依赖于你的工具。"
14712 #: ../source/TortoiseGit_en.xml:10334
14714 "This property defines if the bug-ID is appended (true) to the end of the log "
14715 "message or inserted (false) at the start of the log message. Valid values are "
14716 "<literal>true/false</literal>. <emphasis> If not defined, <literal>true</"
14717 "literal> is assumed, so that existing projects don't break. </emphasis>"
14719 "这个属性定义了bug-ID。是追加到(true)日志信息的末尾,还是插入到(false)日志信息"
14720 "的开始。有效的值包括<literal>true/false</literal>,<emphasis>如果没有定义,默"
14721 "认是<literal>true</literal> ,所以现存的项目不会被打破。</emphasis>"
14724 #: ../source/TortoiseGit_en.xml:10349
14727 "This text is shown by TortoiseGit on the commit dialog to label the edit box "
14728 "where you enter the issue number. If it's not set, <literal>Bug-ID / Issue-Nr:"
14729 "</literal> will be displayed. Keep in mind though that the window will not be "
14730 "resized to fit this label, so keep the size of the label below 20-25 "
14733 "是TortoiseGit的提交对话框中用来输入问题单号码的输入项,如果没有设置,将会显示"
14734 "<literal>Bug-ID / Issue-Nr:</literal>,要记住窗口不会为适应标签而改变大小,所"
14735 "以请保持标签的小于20-25个字符。"
14738 #: ../source/TortoiseGit_en.xml:10363
14741 "If set to <literal>true</literal> only numbers are allowed in the issue-"
14742 "number text field. An exception is the comma, so you can comma separate "
14743 "several numbers. Valid values are <literal>true/false</literal>. <emphasis> "
14744 "If not defined, <literal>true</literal> is assumed. </emphasis>"
14746 "如果设置为<literal>true</literal>,问题单号文本框只能输入数字,一个例外是逗"
14747 "号,所以你可以使用逗号分割输入的多个号码。合法的值包括<literal>true/false</"
14748 "literal>,<emphasis> 如果没有设置,默认是<literal>true</literal>。</emphasis>"
14751 #: ../source/TortoiseGit_en.xml:10378
14752 msgid "Issue Numbers Using Regular Expressions"
14756 #: ../source/TortoiseGit_en.xml:10379
14759 "In the approach with <emphasis>regular expressions</emphasis>, TortoiseGit "
14760 "doesn't show a separate input field but marks the part of the log message the "
14761 "user enters which is recognized by the issue tracker. This is done while the "
14762 "user writes the log message. This also means that the bug ID can be anywhere "
14763 "inside a log message! This method is much more flexible, and is the one used "
14764 "by the TortoiseGit project itself. <placeholder-1/>"
14766 "在使用<literal>正则表达式</literal>的方法中,TortoiseGit不会显示一个单独的输入"
14767 "框,而是标记用户输入的日志信息,认为这些标志可以被问题追踪工具识别。这是在用户"
14768 "编写日志信息的时候完成的,这也意味着bug ID可以出现在日志信息的任何位置!这种方"
14769 "法非常灵活,也是TortoiseGit项目本身使用的方法。<placeholder-1/>"
14772 #: ../source/TortoiseGit_en.xml:10390
14775 "This property activates the bug tracking system in <emphasis>Regex</emphasis> "
14776 "mode. It contains either a single regular expressions, or two regular "
14777 "expressions separated by a newline."
14779 "<emphasis>这个属性会以<literal>正则表达式</literal>模式激活问题追踪系统。</"
14780 "emphasis>它会包含一个或两个正则表达式,以新行作为分割。"
14783 #: ../source/TortoiseGit_en.xml:10396
14785 "If two expressions are set, then the first expression is used as a pre-filter "
14786 "to find expressions which contain bug IDs. The second expression then "
14787 "extracts the bare bug IDs from the result of the first regex. This allows you "
14788 "to use a list of bug IDs and natural language expressions if you wish. e.g. "
14789 "you might fix several bugs and include a string something like this: "
14790 "<quote>This change resolves issues #23, #24 and #25</quote>"
14794 #: ../source/TortoiseGit_en.xml:10406
14797 "If you want to catch bug IDs as used in the expression above inside a log "
14798 "message, you could use the following regex strings, which are the ones used "
14799 "by the TortoiseGit project: <literal>[Ii]ssues?:?(\\s*(,|and)?\\s*#\\d+)+</"
14800 "literal> and <literal>(\\d+)</literal>"
14802 "如果你希望捕获日志中所有形式为\"issue #XXX\"和\"issue #890, #789\"字符串,你可"
14803 "以使用如下的正则表达式: <literal>[Ii]ssue #?(\\d+)(,? ?#(\\d+))*</literal>,而"
14804 "第二个表达式为<literal>(\\d+)</literal>。"
14807 #: ../source/TortoiseGit_en.xml:10413
14809 "The first expression picks out <quote>issues #23, #24 and #25</quote> from "
14810 "the surrounding log message. The second regex extracts plain decimal numbers "
14811 "from the output of the first regex, so it will return <quote>23</quote>, "
14812 "<quote>24</quote> and <quote>25</quote> to use as bug IDs."
14816 #: ../source/TortoiseGit_en.xml:10420
14818 "Breaking the first regex down a little, it must start with the word "
14819 "<quote>issue</quote>, possibly capitalised. This is optionally followed by an "
14820 "<quote>s</quote> (more than one issue) and optionally a colon. This is "
14821 "followed by one or more groups each having zero or more leading whitespace, "
14822 "an optional comma or <quote>and</quote> and more optional space. Finally "
14823 "there is a mandatory <quote>#</quote> and a mandatory decimal number."
14827 #: ../source/TortoiseGit_en.xml:10429
14830 "If only one expression is set, then the bare bug IDs must be matched in the "
14831 "groups of the regex string. Example: <literal>[Ii]ssue(?:s)? #?(\\d+)</"
14832 "literal> This method is required by a few issue trackers, e.g. trac, but it "
14833 "is harder to construct the regex. We recommend that you only use this method "
14834 "if your issue tracker documentation tells you to."
14836 "如果只是设置了一个表达式,然后bug ID必须匹配正则表达式的组,例如<literal>[Ii]"
14837 "ssue(?:s)? #?(\\d+)</literal>。"
14840 #: ../source/TortoiseGit_en.xml:10438
14843 "If you are unfamiliar with regular expressions, take a look at the "
14844 "introduction at <ulink url=\"http://en.wikipedia.org/wiki/Regular_expression"
14845 "\"><citetitle>http://en.wikipedia.org/wiki/Regular_expression</citetitle></"
14846 "ulink>, and the online documentation and tutorial at <ulink url=\"http://www."
14847 "regular-expressions.info/\"><citetitle>http://www.regular-expressions.info/</"
14848 "citetitle></ulink>."
14850 "如果你不熟悉正则表达式,可以看一下<ulink url=\"http://www.regular-expressions."
14851 "info/\"><citetitle>http://www.regular-expressions.info/</citetitle></ulink>上"
14855 #: ../source/TortoiseGit_en.xml:10454
14857 "If both the <literal>bugtraq:message</literal> and <literal>bugtraq:logregex</"
14858 "literal> properties are set, <literal>logregex</literal> takes precedence."
14860 "如果同时设置了<literal>bugtraq:message</literal>和<literal>bugtraq:logregex</"
14861 "literal>属性,<literal>日志正则表达式</literal>会优先使用。"
14864 #: ../source/TortoiseGit_en.xml:10459
14866 "Even if you don't have an issue tracker with a pre-commit hook parsing your "
14867 "log messages, you still can use this to turn the issues mentioned in your log "
14868 "messages into links!"
14870 "即使你的问题追踪工具没有pre-commit钩子来解析日志信息,你仍然可以使用这个功能将"
14874 #: ../source/TortoiseGit_en.xml:10464
14876 "And even if you don't need the links, the issue numbers show up as a separate "
14877 "column in the log dialog, making it easier to find the changes which relate "
14878 "to a particular issue."
14883 #: ../source/TortoiseGit_en.xml:10477 ../source/TortoiseGit_en.xml:10631
14884 msgid "Set the Properties on Folders"
14889 #: ../source/TortoiseGit_en.xml:10478 ../source/TortoiseGit_en.xml:10632
14892 "These properties must be set on folders for the system to work. When you "
14893 "commit a file or folder the properties are read from that folder. If the "
14894 "properties are not found there, TortoiseGit will search upwards through the "
14895 "folder tree to find them until it comes to an unversioned folder, or the tree "
14896 "root (eg. <literal>C:\\</literal>) is found. If you can be sure that each "
14897 "user checks out only from e.g <filename>trunk/</filename> and not some sub-"
14898 "folder, then it's enough if you set the properties on <filename>trunk/</"
14899 "filename>. If you can't be sure, you should set the properties recursively on "
14900 "each sub-folder. A property setting deeper in the project hierarchy overrides "
14901 "settings on higher levels (closer to <filename>trunk/</filename>)."
14903 "为了系统能够工作,这个属性必须设置到文件夹上。当你提交文件或文件夹,属性会从文"
14904 "件夹上读取。如果没有发现属性,TortoiseGit会向上级查找,直到发现一个没有版本控"
14905 "制的文件夹或根目录(例如<literal>C:\\</literal>)才会停止,如果你能够确定每个用"
14906 "户只从<filename>trunk/</filename>检出,而不是其他目录,你可以直接在"
14907 "<filename>trunk/</filename>上使用这个属性,而不必每个子目录都设置。如果你不能"
14908 "确定,你必须为每个子目录设置这些属性。一个深级目录的设置会覆盖高级目录(离"
14909 "<filename>trunk/</filename>更近的)。"
14913 #: ../source/TortoiseGit_en.xml:10492 ../source/TortoiseGit_en.xml:10646
14916 "For <literal>tsvn:</literal> properties <emphasis>only</emphasis> you can use "
14917 "the <guilabel>Recursive</guilabel> checkbox to set the property to all sub-"
14918 "folders in the hierarchy, without also setting it on all files."
14920 "对于<literal>tsvn:</literal>属性,你<emphasis>只能</emphasis>对于所有子目录使"
14921 "用<guilabel>递归</guilabel>检查框设置属性,不能设置文件的属性。"
14924 #: ../source/TortoiseGit_en.xml:10499
14927 "This issue tracker integration is not restricted to TortoiseGit; it can be "
14928 "used with any Git client. For more information, read the full <ulink "
14929 "url=\"http://TortoiseGit.tigris.org/svn/TortoiseGit/trunk/doc/issuetrackers."
14930 "txt\"><citetitle>Issue Tracker Integration Specification</citetitle></ulink> "
14931 "in the TortoiseGit source repository. (<xref linkend=\"tsvn-preface-source\"/"
14932 "> explains how to access the repository)."
14934 "问题追踪集成并没有限制在TortoiseGit,可以用于所有的Git客户端,更多信息"
14935 "可以看<ulink url=\"http://TortoiseGit.tigris.org/svn/TortoiseGit/trunk/doc/"
14936 "issuetrackers.txt\"><citetitle>Issuetracker Integration Specification</"
14937 "citetitle></ulink>。"
14940 #: ../source/TortoiseGit_en.xml:10510
14941 msgid "Getting Information from the Issue Tracker"
14945 #: ../source/TortoiseGit_en.xml:10511
14947 "The previous section deals with adding issue information to the log messages. "
14948 "But what if you need to get information from the issue tracker? The commit "
14949 "dialog has a Windows COM interface which allows integration an external "
14950 "program that can talk to your tracker. Typically you might want to query the "
14951 "tracker to get a list of open issues assigned to you, so that you can pick "
14952 "the issues that are being addressed in this commit."
14956 #: ../source/TortoiseGit_en.xml:10520
14958 "Any such interface is of course highly specific to your system, so we cannot "
14959 "provide this part, and describing how to create such a program is beyond the "
14960 "scope of this manual. The interface definition and sample programs can be "
14961 "obtained from the <literal>contrib</literal> folder in the <ulink url="
14962 "\"http://TortoiseGit.tigris.org/svn/TortoiseGit/trunk/contrib/issue-tracker-"
14963 "plugins\"><citetitle>TortoiseGit repository</citetitle></ulink>. (<xref "
14964 "linkend=\"tsvn-preface-source\"/> explains how to access the repository)."
14968 #: ../source/TortoiseGit_en.xml:10531
14970 "For illustration purposes, let's suppose that your system administrator has "
14971 "provided you with an issue tracker plugin which you have installed, and that "
14972 "you have set up some of your working copies to use the plugin in "
14973 "TortoiseGit's settings dialog. When you open the commit dialog from a working "
14974 "copy to which the plugin has been assigned, you will see a new button at the "
14975 "top of the dialog. <placeholder-1/> In this example you can select one or "
14976 "more open issues. The plugin can then generate specially formatted text which "
14977 "it adds to your log message."
14981 #: ../source/TortoiseGit_en.xml:10539
14982 msgid "Example issue tracker query dialog"
14986 #: ../source/TortoiseGit_en.xml:10549
14987 msgid "Integration with Web-based Repository Viewers"
14988 msgstr "与基于 WEB 的版本库浏览器集成"
14991 #: ../source/TortoiseGit_en.xml:10551
14996 #: ../source/TortoiseGit_en.xml:10554
14997 msgid "repo viewer"
15001 #: ../source/TortoiseGit_en.xml:10557
15006 #: ../source/TortoiseGit_en.xml:10559
15008 "There are several web-based repository viewers available for use with "
15009 "Git such as <ulink url=\"http://www.viewvc.org/\"><citetitle>ViewVC</"
15010 "citetitle></ulink> and <ulink url=\"http://websvn.tigris.org/"
15011 "\"><citetitle>WebSVN</citetitle></ulink>. TortoiseGit provides a means to "
15012 "link with these viewers."
15014 "有许多web为基础的版本库浏览器,例如<ulink url=\"http://www.viewvc.org/"
15015 "\"><citetitle>ViewVC</citetitle></ulink> and <ulink url=\"http://websvn."
15016 "tigris.org/\"><citetitle>WebSVN</citetitle></ulink>,TortoiseGit提供了链接这些"
15020 #: ../source/TortoiseGit_en.xml:10571
15023 "You can integrate a repo viewer of your choice in TortoiseGit. To do this, "
15024 "you have to define some properties which define the linkage. They must be set "
15025 "on Folders: (<xref linkend=\"tsvn-dug-propertypage\"/>)"
15027 "你可以通过TortoiseGit选择集成一种版本库浏览器,为此,你需要定义一些链接的属"
15028 "性,必须设置在文件夹: (<xref linkend=\"tsvn-dug-propertypage\"/>)"
15031 #: ../source/TortoiseGit_en.xml:10581
15034 "Set this property to the URL of your repo viewer to view all changes in a "
15035 "specific revision. It must be properly URI encoded and it has to contain "
15036 "<literal>%REVISION%</literal>. <literal>%REVISION%</literal> is replaced with "
15037 "the revision number in question. This allows TortoiseGit to display a context "
15038 "menu entry in the log dialog <menuchoice><guimenu>Context Menu</"
15039 "guimenu><guimenuitem>View revision in webviewer</guimenuitem></menuchoice>"
15041 "将这个属性设置为版本库浏览器显示所有本版本修改内容的url,它必须是URI编码的,也"
15042 "必须包含<literal>%REVISION%</literal>。在问题单中<literal>%REVISION%</literal>"
15043 "将会被替换成版本号。这允许TortoiseGit在日志对话框的增加这样的条目"
15044 "<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>在版浏览器中查看此修订</"
15045 "guimenuitem></menuchoice>"
15048 #: ../source/TortoiseGit_en.xml:10600
15051 "Set this property to the URL of your repo viewer to view changes to a "
15052 "specific file in a specific revision. It must be properly URI encoded and it "
15053 "has to contain <literal>%REVISION%</literal> and <literal>%PATH%</literal>. "
15054 "<literal>%PATH%</literal> is replaced with the path relative to the "
15055 "repository root. This allows TortoiseGit to display a context menu entry in "
15056 "the log dialog <menuchoice><guimenu>Context Menu</guimenu><guimenuitem>View "
15057 "revision and path in webviewer</guimenuitem></menuchoice> For example, if you "
15058 "right-click in the log dialog bottom pane on a file entry <literal>/trunk/src/"
15059 "file</literal> then the <literal>%PATH%</literal> in the URL will be replaced "
15060 "with <literal>/trunk/src/file</literal>."
15062 "将这个属性设置为版本库浏览器显示所有本版本修改内容的url,它必须是URI编码的,也"
15063 "必须包含<literal>%REVISION%</literal>。在问题单中<literal>%REVISION%</literal>"
15064 "将会被替换成版本号。这允许TortoiseGit在日志对话框的增加这样的条目"
15065 "<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>在版浏览器中查看此修订</"
15066 "guimenuitem></menuchoice>"
15069 #: ../source/TortoiseGit_en.xml:10622
15071 "You can also use relative URLs instead of absolute ones. This is useful in "
15072 "case your web viewer is on the same domain/server as your source repository. "
15073 "In case the domain name ever changes, you don't have to adjust the "
15074 "<literal>webviewer:revision</literal> and <literal>webviewer:pathrevision</"
15075 "literal> property. The format is the same as for the <literal>bugtraq:url</"
15076 "literal> property. See <xref linkend=\"tsvn-dug-bugtracker\"/>."
15080 #: ../source/TortoiseGit_en.xml:10655
15081 msgid "TortoiseGit's Settings"
15082 msgstr "TortoiseGit的设置"
15085 #: ../source/TortoiseGit_en.xml:10657
15090 #: ../source/TortoiseGit_en.xml:10659
15092 "To find out what the different settings are for, just leave your mouse "
15093 "pointer a second on the editbox/checkbox... and a helpful tooltip will popup."
15095 "想知道不同的设置是干什么用的,你只需将鼠标指针在编辑框/选项框上停留一秒钟...一"
15099 #: ../source/TortoiseGit_en.xml:10668
15100 msgid "General Settings"
15104 #: ../source/TortoiseGit_en.xml:10670
15109 #: ../source/TortoiseGit_en.xml:10672
15111 "<placeholder-1/> This dialog allows you to specify your preferred language, "
15112 "and the Git-specific settings."
15114 "<placeholder-1/> 这个对话框允许你指定自己喜欢的语言,同时也可做那些与"
15118 #: ../source/TortoiseGit_en.xml:10674
15119 msgid "The Settings Dialog, General Page"
15120 msgstr "设置对话框,常规设置页面"
15123 #: ../source/TortoiseGit_en.xml:10682
15128 #: ../source/TortoiseGit_en.xml:10684
15129 msgid "Selects your user interface language. What else did you expect?"
15130 msgstr "选择你TSVN的用户界面语言。不然你还期望从这里得到啥别的?"
15133 #: ../source/TortoiseGit_en.xml:10691
15134 msgid "Automatically check for newer versions every week"
15138 #: ../source/TortoiseGit_en.xml:10693
15140 "If checked, TortoiseGit will contact its download site once a week to see if "
15141 "there is a newer version of the program available. Use <guibutton>Check now</"
15142 "guibutton> if you want an answer right away. The new version will not be "
15143 "downloaded; you simply receive an information dialog telling you that the new "
15144 "version is available."
15146 "如果检查过,TSVN将每周联系它的下载站点一次,来看看程序是否有个可用的新版本。若"
15147 "你想马上得到结果,使用 <guibutton>立即检查</guibutton> 按钮。无论如何,新版本"
15148 "不会被自动下载,而只是你将收到一条提示信息对话框,告诉你有新版本可用。"
15151 #: ../source/TortoiseGit_en.xml:10704
15152 msgid "System sounds"
15156 #: ../source/TortoiseGit_en.xml:10706
15158 "TortoiseGit has three custom sounds which are installed by default. "
15159 "<placeholder-1/> You can select different sounds (or turn these sounds off "
15160 "completely) using the Windows Control Panel. <guibutton>Configure</guibutton> "
15161 "is a shortcut to the Control Panel."
15163 "TSVN已经默认安装了三个自定义声音。<placeholder-1/> 你可以使用Windows控制面板中"
15164 "的声音属性,来选择不同的声音(或是把这些声音完全关掉)。<guibutton>配置</"
15165 "guibutton> 按钮是一个打开控制面板声音属性的快捷方式。"
15168 #: ../source/TortoiseGit_en.xml:10710
15173 #: ../source/TortoiseGit_en.xml:10715
15178 #: ../source/TortoiseGit_en.xml:10720
15183 #: ../source/TortoiseGit_en.xml:10732
15184 msgid "Global ignore pattern"
15188 #: ../source/TortoiseGit_en.xml:10735
15189 msgid "exclude pattern"
15193 #: ../source/TortoiseGit_en.xml:10738
15194 msgid "global ignore"
15198 #: ../source/TortoiseGit_en.xml:10740
15200 "Global ignore patterns are used to prevent unversioned files from showing up "
15201 "e.g. in the commit dialog. Files matching the patterns are also ignored by an "
15202 "import. Ignore files or directories by typing in the names or extensions. "
15203 "Patterns are separated by spaces e.g. <literal>*/bin */obj *.bak *.~?? *.jar "
15204 "*.[Tt]mp</literal>. Remember that these patterns may be used against paths "
15205 "which include N levels of parent directory. Setting ignore patterns for "
15206 "anything other than simple file extensions is not as trivial as it first "
15207 "appears, so be sure to read <xref linkend=\"tsvn-dug-ignore-glob\"/> for more "
15208 "information on the pattern-matching syntax, and how paths are checked."
15210 "全局忽略模式被用来防止非版本控制的文件在例如提交时的对话框中被列出来。那些符合"
15211 "模式的文件,在执行导入操作时同样被忽略。通过在模式框中输入文件名或扩展名来忽略"
15212 "文件或文件夹。不同的模式之间以空格分隔,例如 <literal>*/bin */obj *.bak *.~?? "
15213 "*.jar *.[Tt]mp</literal>。请记得这些模式可以用来处理含有 N 级父目录的路径。设"
15214 "置忽略模式并非象刚才显示的那么简单,所以请务必阅读 <xref linkend=\"tsvn-dug-"
15215 "ignore-glob\"/> 以获得更多模式匹配语法信息,和如何检查路径。"
15218 #: ../source/TortoiseGit_en.xml:10754
15220 "Note that the ignore patterns you specify here will also affect other "
15221 "Git clients running on your PC, including the command line client."
15223 "值得注意的是,你在这里指定的忽略样式将同样作用于你本机上的其他Git客户"
15227 #: ../source/TortoiseGit_en.xml:10760
15229 "If you use the Git configuration file to set a <literal>global-"
15230 "ignores</literal> pattern, it will override the settings you make here. The "
15231 "Git configuration file is accessed using the <guibutton>Edit</"
15232 "guibutton> as described below."
15234 "如果你象下面段落那样使用Git配置文件来设置一个 <literal>全局-忽略</"
15235 "literal> 样式,那么它将覆盖你在这里做的设置。该Git配置文件可以象下面段"
15236 "落描述的那样,通过 <guibutton>编辑</guibutton> 按钮来访问。"
15239 #: ../source/TortoiseGit_en.xml:10768
15241 "This ignore pattern will affect all your projects. It is not versioned, so it "
15242 "will not affect other users. By contrast you can also use the versioned "
15243 "<literal>svn:ignore</literal> property to exclude files or directories from "
15244 "version control. Read <xref linkend=\"tsvn-dug-ignore\"/> for more "
15247 "忽略样式将作用于你所有的项目工程。因为它是非版本控制的,所以它将不会对其他的用"
15248 "户起作用。相对而言,你也可以使用可版本控制的 <literal>svn:ignore</literal> 属"
15249 "性来把要忽略的文件或文件夹排斥在版本控制之外。阅读 <xref linkend=\"tsvn-dug-"
15250 "ignore\"/> 以获得更多信息。"
15253 #: ../source/TortoiseGit_en.xml:10780
15255 msgid "Set file dates to the <quote>last commit time</quote>"
15256 msgstr "将文件日期设置为“最后提交时间”"
15259 #: ../source/TortoiseGit_en.xml:10782
15262 "This option tells TortoiseGit to set the file dates to the last commit time "
15263 "when doing a checkout or an update. Otherwise TortoiseGit will use the "
15264 "current date. If you are developing software it is generally best to use the "
15265 "current date because build systems normally look at the date stamps to decide "
15266 "which files need compiling. If you use <quote>last commit time</quote> and "
15267 "revert to an older file revision, your project may not compile as you expect "
15270 "该选项通知TSVN在做检出或更新操作时,把文件日期设置为最后提交的时间。否则TSVN将"
15271 "使用当前日期。如果你在做软件开发的话,使用当前日期是总体上最好的选择,因为那些"
15272 "软件构建器通常通过查看时间戳来决定需要编译哪些文件。如果你使用了“最后提交时"
15273 "间”并把代码文件还原到了一个旧版本,你的工程可能就不会像你期望的那样被编译了。"
15276 #: ../source/TortoiseGit_en.xml:10796
15277 msgid "Git configuration file"
15281 #: ../source/TortoiseGit_en.xml:10798
15284 "Use <guibutton>Edit</guibutton> to edit the Git configuration file "
15285 "directly. Some settings cannot be modified directly by TortoiseGit, and need "
15286 "to be set here instead. For more information about the Git "
15287 "<filename>config</filename> file see the <ulink url=\"http://svnbook.red-bean."
15288 "com/en/1.5/svn.advanced.confarea.html\"><citetitle>Runtime Configuration "
15289 "Area</citetitle></ulink>. The section on <ulink url=\"http://svnbook.red-bean."
15290 "com/en/1.5/svn.advanced.props.html#svn.advanced.props.auto"
15291 "\"><citetitle>Automatic Property Setting</citetitle></ulink> is of particular "
15292 "interest, and that is configured here. Note that Git can read "
15293 "configuration information from several places, and you need to know which one "
15294 "takes priority. Refer to <ulink url=\"http://svnbook.red-bean.com/en/1.5/svn."
15295 "advanced.confarea.html#svn.advanced.confarea.windows-registry"
15296 "\"><citetitle>Configuration and the Windows Registry</citetitle></ulink> to "
15299 "使用 <guibutton>编辑</guibutton> 按钮来直接编译Git配置文件。有些设置不"
15300 "能被TSVN直接修改,就需要在这里完成。可以阅读 <ulink url=\"http://svnbook.red-"
15301 "bean.com/en/1.2/svn.advanced.html\"><citetitle>运行时配置</citetitle></ulink> "
15302 "来获得有关Git <filename>配置</filename> 文件的更多信息。在 <ulink url="
15303 "\"http://svnbook.red-bean.com/en/1.2/svn.advanced.props.html\"><citetitle>设置"
15304 "自动属性</citetitle></ulink> 中的章节介绍了可以在这里配置的特殊偏好部分。值得"
15305 "注意的是,Git可以从许多不同的位置读取配置信息,因此你也就需要了解哪一个"
15306 "将优先起作用。阅读 <ulink url=\"http://svnbook.red-bean.com/en/1.2/svn."
15307 "advanced.html\"><citetitle>配置与Windows注册表</citetitle></ulink> 来获取更多"
15311 #: ../source/TortoiseGit_en.xml:10823
15314 "Use <filename>_svn</filename> instead of <filename>.svn</filename> directories"
15316 "使用文本编辑器打开 Apache 子目录 conf 中的文件 <filename>ssl.conf</filename>。"
15319 #: ../source/TortoiseGit_en.xml:10825
15321 "VS.NET when used with web projects can't handle the <literal>.svn</literal> "
15322 "folders that Git uses to store its internal information. This is not a "
15323 "bug in Git. The bug is in VS.NET and the frontpage extensions it uses. "
15324 "Read <xref linkend=\"tsvn-dug-settings-asp-dot-net\"/> to find out more about "
15327 "在使用VS.NET环境做web工程时,将无法处理 <literal>.svn</literal> 文件夹,但"
15328 "Git是要用这些文件夹来储存自己的内部信息的。这可不是Git的bug,这"
15329 "bug是VS.NET和它使用的frontpage扩展带来的。阅读 <xref linkend=\"tsvn-dug-"
15330 "settings-asp-dot-net\"/> 来获得有关此问题的更多信息。"
15333 #: ../source/TortoiseGit_en.xml:10832
15335 "If you want to change the behaviour of Git and TortoiseGit, you can "
15336 "use this checkbox to set the environment variable which controls this."
15338 "若你想改变Git和TSVN的这些行为,就可以使用这个选项框来设置控制这些的环境"
15342 #: ../source/TortoiseGit_en.xml:10837
15344 "You should note that changing this option will not automatically convert "
15345 "existing working copies to use the new admin directory. You will have to do "
15346 "that yourself using a script (See our FAQ) or simply check out a fresh "
15349 "你应该注意到: 改变该选项将不会使已存在的工作副本中的管理文件夹从“_svn”自动转换"
15350 "到“.svn”。你需要使用一个脚本(查看我们的FAQ)来自行完成这项工作,或是简单地重新"
15354 #: ../source/TortoiseGit_en.xml:10847
15355 msgid "Context Menu Settings"
15359 #: ../source/TortoiseGit_en.xml:10849
15361 "<placeholder-1/> This page allows you to specify which of the TortoiseGit "
15362 "context menu entries will show up in the main context menu, and which will "
15363 "appear in the TortoiseGit submenu. By default most items are unchecked and "
15364 "appear in the submenu."
15366 "<placeholder-1/> 该页面允许你指定: 在TortoiseGit的主上下文菜单中哪些条目可以直"
15367 "接在鼠标右键菜单显示,哪些在TortoiseGit子菜单显示。默认情况下很多项未被勾选,"
15371 #: ../source/TortoiseGit_en.xml:10851
15372 msgid "The Settings Dialog, Context Menu Page"
15373 msgstr "设置对话框,右键菜单页面"
15376 #: ../source/TortoiseGit_en.xml:10859
15378 "There is a special case for <guilabel>Get Lock</guilabel>. You can of course "
15379 "promote it to the top level using the list above, but as most files don't "
15380 "need locking this just adds clutter. However, a file with the <literal>svn:"
15381 "needs-lock</literal> property needs this action every time it is edited, so "
15382 "in that case it is very useful to have at the top level. Checking the box "
15383 "here means that when a file is selected which has the <literal>svn:needs-"
15384 "lock</literal> property set, <guilabel>Get Lock</guilabel> will always appear "
15385 "at the top level."
15387 "<guilabel>获得锁</guilabel>会有一个特别的情况,你可以将其提升到顶级带但,但是"
15388 "大多数文件不需要锁定,这样做只是添加了混乱。然而,一个标记为<literal>svn:"
15389 "needs-lock</literal>属性的文件每次编辑前都需要那个操作,所以这个菜单会进入顶级"
15390 "菜单会比较方便。选定这个选项,会使设置<literal>svn:needs-lock</literal>属性的"
15391 "文件的<guilabel>Get Lock</guilabel>出现在顶级菜单中。"
15394 #: ../source/TortoiseGit_en.xml:10871
15395 msgid "TortoiseGit Dialog Settings 1"
15396 msgstr "TSVN对话框设置一"
15399 #: ../source/TortoiseGit_en.xml:10873
15401 "<placeholder-1/> This dialog allows you to configure some of TortoiseGit's "
15402 "dialogs the way you like them."
15403 msgstr "<placeholder-1/> 此对话框允许你按照喜欢的方式去配置一些TSVN的对话框。"
15406 #: ../source/TortoiseGit_en.xml:10875
15407 msgid "The Settings Dialog, Dialogs 1 Page"
15408 msgstr "设置对话框,对话框一页面"
15411 #: ../source/TortoiseGit_en.xml:10883
15412 msgid "Default number of log messages"
15416 #: ../source/TortoiseGit_en.xml:10885
15419 "Limits the number of log messages that TortoiseGit fetches when you first "
15420 "select <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Show Log</"
15421 "guimenuitem></menuchoice> Useful for slow server connections. You can always "
15422 "use <guibutton>Show All</guibutton> or <guibutton>Next 100</guibutton> to get "
15425 "限制你首次选择 <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>显示日志"
15426 "</guimenuitem></menuchoice> 时,TortoiseGit 从服务器获取的日志信息数。在服务器"
15427 "连接缓慢时很有用。你可以使用 <guibutton>全部获取</guibutton> 或 <guibutton>下"
15428 "100(条)</guibutton> 来获得更多信息。"
15431 #: ../source/TortoiseGit_en.xml:10899
15432 msgid "Font for log messages"
15436 #: ../source/TortoiseGit_en.xml:10901
15438 "Selects the font face and size used to display the log message itself in the "
15439 "middle pane of the Revision Log dialog, and when composing log messages in "
15440 "the Commit dialog."
15442 "选择日志信息显示的字体样式和大小,作用域为版本日志对话框的中间窗格,以及提交对"
15446 #: ../source/TortoiseGit_en.xml:10910
15447 msgid "Short date / time format in log messages"
15448 msgstr "日志信息使用短日期/时间格式"
15451 #: ../source/TortoiseGit_en.xml:10912
15453 "If the standard long messages use up too much space on your screen use the "
15455 msgstr "如果标准长度的日期/时间信息占在用了过多的屏幕空间,可以使用短格式。"
15458 #: ../source/TortoiseGit_en.xml:10919
15459 msgid "Progress Dialog"
15463 #: ../source/TortoiseGit_en.xml:10921
15465 "TortoiseGit can automatically close all progress dialogs when the action is "
15466 "finished without error. This setting allows you to select the conditions for "
15467 "closing the dialogs. The default (recommended) setting is <guilabel>Close "
15468 "manually</guilabel> which allows you to review all messages and check what "
15469 "has happened. However, you may decide that you want to ignore some types of "
15470 "message and have the dialog close automatically if there are no critical "
15473 "当一个动作正确无误地完成时,TSVN可以自动关闭所有的进程对话框。这项设置允许你选"
15474 "择在何种情况下关闭对话框。默认(推荐)的设置是 <guilabel>手动关闭</guilabel> ,"
15475 "允许你重新浏览所有信息并检查发生了什么。当然,你可能会决定忽略某些类型的信息并"
15476 "在你的操作没做出什么重大改变的情况下让对话框自动关闭。"
15479 #: ../source/TortoiseGit_en.xml:10932
15481 "<guilabel>Auto-close if no merges, adds or deletes</guilabel> means that the "
15482 "progress dialog will close if there were simple updates, but if changes from "
15483 "the repository were merged with yours, or if any files were added or deleted, "
15484 "the dialog will remain open. It will also stay open if there were any "
15485 "conflicts or errors during the operation."
15487 "<guilabel>如无合并、添加、删除操作,自动关闭</guilabel> 意味着如果有简单更新的"
15488 "话,进程对话框将关闭。但如果版本库的更改和你的内容进行了合并,或若有任何文件被"
15489 "添加或删除,对话框将保持打开。若操作中发生什么冲突和错误这些对话框也将同样保持"
15493 #: ../source/TortoiseGit_en.xml:10940
15495 "<guilabel>Auto-close if no merges, adds or deletes for local operations</"
15496 "guilabel> means that the progress dialog will close as for <guilabel>Auto-"
15497 "close if no merges, adds or deletes</guilabel> but only for local operations "
15498 "like adding files or reverting changes. For remote operations the dialog will "
15501 "<guilabel>对本地操作自动关闭(如无合并、添加或删除操作,自动关闭)</guilabel> 意"
15502 "味着进程对话框当 <guilabel>如无合并、添加或删除操作</guilabel> 时自动关闭,但"
15503 "仅限于那些如添加文件、还原等本地的操作。在做远程操作时对话框将保持打开。"
15506 #: ../source/TortoiseGit_en.xml:10948
15508 "<guilabel>Auto-close if no conflicts</guilabel> relaxes the criteria further "
15509 "and will close the dialog even if there were merges, adds or deletes. "
15510 "However, if there were any conflicts or errors, the dialog remains open."
15512 "<guilabel>无冲突时自动关闭</guilabel> 更放宽了标准,即使在无合并、添加、删除操"
15513 "作时也同样关闭对话框。当然,如果操作发生了任何冲突或错误,对话框将保持打开。"
15516 #: ../source/TortoiseGit_en.xml:10955
15518 "<guilabel>Auto-close if no errors</guilabel> always closes the dialog even if "
15519 "there were conflicts. The only condition that keeps the dialog open is an "
15520 "error condition, which occurs when Git is unable to complete the task. "
15521 "For example, an update fails because the server is inaccessible, or a commit "
15522 "fails because the working copy is out-of-date."
15524 "<guilabel>如无错误,自动关闭</guilabel> 即使在有冲突发生时也会关闭。维持对话框"
15525 "打开的唯一条件是发生了错误,使得Git无法完成任务。举个例子,一个更新操作"
15526 "由于服务器不可达而失败了,或是一个提交操作因为工作副本已经过期而失败。"
15529 #: ../source/TortoiseGit_en.xml:10967
15531 msgid "Use URL of WC as the default <quote>From:</quote> URL"
15532 msgstr "使用工作副本的URL作为默认的来源URL"
15535 #: ../source/TortoiseGit_en.xml:10969
15537 "In the merge dialog, the default behaviour is for the <guilabel>From:</"
15538 "guilabel> URL to be remembered between merges. However, some people like to "
15539 "perform merges from many different points in their hierarchy, and find it "
15540 "easier to start out with the URL of the current working copy. This can then "
15541 "be edited to refer to a parallel path on another branch."
15543 "在合并对话框里,默认行为是在每次合并中记忆 <guilabel>起始: </guilabel> 的URL。"
15544 "无论如何,都有某些人喜欢在他们的版本进化树中从很多不同的位置执行合并操作,他们"
15545 "发现从当前工作副本的URL开始更方便些。该URL可以随后被编辑来指向一个同级路径或另"
15549 #: ../source/TortoiseGit_en.xml:10981
15550 msgid "Default checkout path"
15554 #: ../source/TortoiseGit_en.xml:10983
15556 "You can specify the default path for checkouts. If you keep all your "
15557 "checkouts in one place, it is useful to have the drive and folder pre-filled "
15558 "so you only have to add the new folder name to the end."
15560 "你可以指定缺省的检出路径。如果你保持所有检出在同一个地方,那么预先填写的路径是"
15561 "极为有用的,这样你只需要在路径末尾增加新的目录名称即可。"
15564 #: ../source/TortoiseGit_en.xml:10992
15565 msgid "Default checkout URL"
15569 #: ../source/TortoiseGit_en.xml:10994
15571 "You can also specify the default URL for checkouts. If you often checkout sub-"
15572 "projects of some very large project, it can be useful to have the URL pre-"
15573 "filled so you only have to add the sub-project name to the end."
15575 "你可以指定缺省的检出URL。如果你经常检出一些大项目的子工程,那么预先填写的URL是"
15576 "极为有用的,这样你只需要在路径末尾增加新的工程名称即可。"
15579 #: ../source/TortoiseGit_en.xml:11005
15580 msgid "TortoiseGit Dialog Settings 2"
15581 msgstr "TSVN对话框设置二"
15584 #: ../source/TortoiseGit_en.xml:11009
15585 msgid "The Settings Dialog, Dialogs 2 Page"
15586 msgstr "设置对话框,对话框二页面"
15589 #: ../source/TortoiseGit_en.xml:11015
15590 msgid "Recurse into unversioned folders"
15591 msgstr "递归处理未进行版本控制的文件夹"
15594 #: ../source/TortoiseGit_en.xml:11017
15596 "If this box is checked (default state), then whenever the status of an "
15597 "unversioned folder is shown in the <guilabel>Add</guilabel>, "
15598 "<guilabel>Commit</guilabel> or <guilabel>Check for Modifications</guilabel> "
15599 "dialog, every child file and folder is also shown. If you uncheck this box, "
15600 "only the unversioned parent is shown. Unchecking reduces clutter in these "
15601 "dialogs. In that case if you select an unversioned folder for Add, it is "
15602 "added recursively."
15604 "若这个选项框被选中(默认状态),那么一个非版本控制的文件夹,不论在 <guilabel>添"
15605 "加</guilabel>,<guilabel>提交</guilabel> 或 <guilabel>检查更新</guilabel> 时显"
15606 "示的是什么状态,它的每个子文件和子文件夹都要同样显示。取消选择将减少这些对话框"
15607 "中的混乱程度。这样一来如果你选择添加一个非版本控制的文件夹,将会非递归地添加。"
15610 #: ../source/TortoiseGit_en.xml:11031
15611 msgid "Use auto-completion of file paths and keywords"
15612 msgstr "自动完成文件路径和关键词"
15615 #: ../source/TortoiseGit_en.xml:11033
15618 "The commit dialog includes a facility to parse the list of filenames being "
15619 "committed. When you type the first 3 letters of an item in the list, the auto-"
15620 "completion box pops up, and you can press Enter to complete the filename. "
15621 "Check the box to enable this feature."
15623 "提交对话框包含了一个功能模块,可以解析被提交的一系列文件名。当你输入一个提交列"
15624 "表中某个文件的前三个字母时,自动完成对话框就会弹出来,使你随后可以点击回车来直"
15625 "接完成这个文件名。选择该选项来使用这个功能特性。"
15628 #: ../source/TortoiseGit_en.xml:11043
15629 msgid "Timeout in seconds to stop the auto-completion parsing"
15630 msgstr "自动完成分析的超时时间(秒)"
15633 #: ../source/TortoiseGit_en.xml:11045
15636 "The auto-completion parser can be quite slow if there are a lot of large "
15637 "files to check. This timeout stops the commit dialog being held up for too "
15638 "long. If you are missing important auto-completion information, you can "
15639 "extend the timeout."
15641 "如果有大量文件需要程序检查,自动完成解析器可能会非常慢。该超时时间设置可以防止"
15642 "提交对话框被长时间挂起。若你错过了某些重要的自动完成信息,你可以延长该超时时"
15646 #: ../source/TortoiseGit_en.xml:11054
15648 "Only use spellchecker when <literal>tsvn:projectlanguage</literal> is set"
15649 msgstr "仅在设置了 <literal>tsvn:projectlanguage</literal> 时才进行拼写检查"
15652 #: ../source/TortoiseGit_en.xml:11056
15654 "If you don't wish to use the spellchecker for all commits, check this box. "
15655 "The spellchecker will still be enabled where the project properties require "
15658 "若你不愿意在所有提交操作时都进行拼写检查,就选择该选项。而后拼写检查功能将在项"
15662 #: ../source/TortoiseGit_en.xml:11064
15663 msgid "Max. items to keep in the log message history"
15664 msgstr "日志中保留的最大条目数量"
15667 #: ../source/TortoiseGit_en.xml:11066
15669 "TortoiseGit stores the last 25 log messages you entered for each repository. "
15670 "You can customize the number stored here. If you have many different "
15671 "repositories, you may wish to reduce this to avoid filling your registry."
15673 "TSVN可以为每个版本库保存你访问时所输入的最后25条日志信息。你可以自定义该数目。"
15674 "若你有很多不同的版本库,你可能会希望减少该数目以防止向注册表中填入过多信息。"
15677 #: ../source/TortoiseGit_en.xml:11075
15678 msgid "Re-open commit and branch/tag dialog after a commit failed"
15679 msgstr "如果提交失败,自动重新打开提交和分支/标签对话框"
15682 #: ../source/TortoiseGit_en.xml:11077
15684 "When a commit fails for some reason (working copy needs updating, pre-commit "
15685 "hook rejects commit, network error, etc), you can select this option to keep "
15686 "the commit dialog open ready to try again. However, you should be aware that "
15687 "this can lead to problems. If the failure means you need to update your "
15688 "working copy, and that update leads to conflicts you must resolve those first."
15690 "当一个提交操作由于某些原因(工作副本需要更新、pre-commit钩子程序拒绝了提交、网"
15691 "络错误等等)失败了,你可以选择该选项来使提交对话框保持打开,以便重新操作。当"
15692 "然,你应该注意到这可能会导致一些问题。若发生的错误意味着你需要更新你的工作副"
15693 "本,而此更新操作将导致冲突,那么你必须先解决这些事情再说。"
15696 #: ../source/TortoiseGit_en.xml:11088
15697 msgid "Select items automatically"
15701 #: ../source/TortoiseGit_en.xml:11090
15703 "The normal behaviour in the commit dialog is for all modified (versioned) "
15704 "items to be selected for commit automatically. If you prefer to start with "
15705 "nothing selected and pick the items for commit manually, uncheck this box."
15709 #: ../source/TortoiseGit_en.xml:11099
15710 msgid "Contact the repository on startup"
15714 #: ../source/TortoiseGit_en.xml:11101
15716 "The Check for Modifications dialog checks the working copy by default, and "
15717 "only contacts the repository when you click <guibutton>Check repository</"
15718 "guibutton>. If you always want to check the repository, you can use this "
15719 "setting to make that action happen automatically."
15721 "“检查更新”对话框将默认检查工作副本,但仅当你点击 <guibutton>检查版本库</"
15722 "guibutton> 时才连接你的版本库做检查。若你想总是去检查版本库,就可以使用该设置"
15723 "来使版本库检查的动作每次都自动启动。"
15726 #: ../source/TortoiseGit_en.xml:11111
15727 msgid "Show Lock dialog before locking files"
15728 msgstr "在锁定文件之前显示加锁对话框"
15731 #: ../source/TortoiseGit_en.xml:11113
15733 "When you select one or more files and then use "
15734 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Lock</guimenuitem></"
15735 "menuchoice> to take out a lock on those files, on some projects it is "
15736 "customary to write a lock message explaining why you have locked the files. "
15737 "If you do not use lock messages, you can uncheck this box to skip that dialog "
15738 "and lock the files immediately."
15740 "当你选择一个或多个文件,然后选择 <menuchoice><guimenu>TortoiseGit</"
15741 "guimenu><guimenuitem>加锁</guimenuitem></menuchoice> 后,一些项目的惯例是写加"
15742 "锁信息,解释你为什么锁定这些文件。如果你不使用加锁信息,可以取消此选择框,从而"
15746 #: ../source/TortoiseGit_en.xml:11125
15748 "If you use the lock command on a folder, you are always presented with the "
15749 "lock dialog as that also gives you the option to select files for locking."
15751 "如果你在目录上使用加锁命令,一定会出现加锁对话框,因为它要让你选择加锁的文件。"
15754 #: ../source/TortoiseGit_en.xml:11130
15756 "If your project is using the <literal>tsvn:lockmsgminsize</literal> property, "
15757 "you will see the lock dialog regardless of this setting because the project "
15758 "<emphasis>requires</emphasis> lock messages."
15760 "如果你的项目使用了 <literal>tsvn:lockmsgminsize</literal> 属性,那么不管你如何"
15761 "设置,都会看到加锁对话框,因为此项目<emphasis>需要</emphasis>加锁信息。"
15764 #: ../source/TortoiseGit_en.xml:11140
15765 msgid "TortoiseGit Colour Settings"
15766 msgstr "TortoiseGit 颜色设置"
15769 #: ../source/TortoiseGit_en.xml:11142
15771 "<placeholder-1/> This dialog allows you to configure the text colours used in "
15772 "TortoiseGit's dialogs the way you like them."
15774 "<placeholder-1/> 此对话框允许你按照你喜欢的方式来配置TSVN对话框使用的文本颜"
15778 #: ../source/TortoiseGit_en.xml:11144
15779 msgid "The Settings Dialog, Colours Page"
15780 msgstr "设置对话框,颜色页面"
15783 #: ../source/TortoiseGit_en.xml:11152
15784 msgid "Possible or real conflict / obstructed"
15785 msgstr "可能或确实有冲突/问题"
15788 #: ../source/TortoiseGit_en.xml:11154
15790 "A conflict has occurred during update, or may occur during merge. Update is "
15791 "obstructed by an existing unversioned file/folder of the same name as a "
15794 "当更新时或合并时发生了冲突。如果对应于版本控制下的文件/文件夹,存在一个同名的"
15795 "非版本控制的文件/文件夹,此时做更新将被阻碍。"
15798 #: ../source/TortoiseGit_en.xml:11159
15799 msgid "This colour is also used for error messages in the progress dialogs."
15800 msgstr "此颜色同样被用在进程对话框的错误信息中。"
15803 #: ../source/TortoiseGit_en.xml:11165
15804 msgid "Added files"
15808 #: ../source/TortoiseGit_en.xml:11167
15809 msgid "Items added to the repository."
15810 msgstr "向版本库添加的条目。"
15813 #: ../source/TortoiseGit_en.xml:11173
15814 msgid "Missing / deleted / replaced"
15815 msgstr "丢失/已删除/已替换"
15818 #: ../source/TortoiseGit_en.xml:11175
15820 "Items deleted from the repository, missing from the working copy, or deleted "
15821 "from the working copy and replaced with another file of the same name."
15823 "已从工作副本中遗失的条目;已从版本库中删除;或已经从工作副本删除并且被另一个同"
15827 #: ../source/TortoiseGit_en.xml:11183
15832 #: ../source/TortoiseGit_en.xml:11185
15834 "Changes from the repository successfully merged into the WC without creating "
15836 msgstr "从版本库所做的更改被成功地合并到工作副本,并无任何冲突产生。"
15839 #: ../source/TortoiseGit_en.xml:11192
15840 msgid "Modified / copied"
15844 #: ../source/TortoiseGit_en.xml:11194
15846 "Add with history, or paths copied in the repository. Also used in the log "
15847 "dialog for entries which include copied items."
15849 "已经增加(现在只是修改),或者在版本库中复制。也在包含复制条目的日志对话框中使"
15853 #: ../source/TortoiseGit_en.xml:11202
15854 msgid "Deleted node"
15858 #: ../source/TortoiseGit_en.xml:11204
15859 msgid "An item which has been deleted from the repository."
15860 msgstr "一个已经从版本库中删除了的条目。"
15863 #: ../source/TortoiseGit_en.xml:11210
15868 #: ../source/TortoiseGit_en.xml:11212
15870 "An item which has been added to the repository, by an add, copy or move "
15872 msgstr "一个通过添加、复制或移动操作,已经被添加到版本库的条目。"
15875 #: ../source/TortoiseGit_en.xml:11219
15876 msgid "Renamed node"
15880 #: ../source/TortoiseGit_en.xml:11221
15881 msgid "An item which has been renamed within the repository."
15882 msgstr "一个在版本库中已经被重命名的条目。"
15885 #: ../source/TortoiseGit_en.xml:11227
15886 msgid "Replaced node"
15890 #: ../source/TortoiseGit_en.xml:11229
15892 "The original item has been deleted and a new item with the same name replaces "
15894 msgstr "该原始条目已经被删除,且有同名条目替换了的条目。"
15897 #: ../source/TortoiseGit_en.xml:11239
15898 msgid "Icon Overlay Settings"
15902 #: ../source/TortoiseGit_en.xml:11241
15905 "<placeholder-1/> This page allows you to choose the items for which "
15906 "TortoiseGit will display icon overlays."
15908 "<placeholder-1/> 此对话框允许你按照你喜欢的方式来配置TSVN对话框使用的文本颜"
15912 #: ../source/TortoiseGit_en.xml:11243
15914 msgid "The Settings Dialog, Icon Overlays Page"
15915 msgstr "设置对话框,图标集页面"
15918 #: ../source/TortoiseGit_en.xml:11249
15921 "By default, overlay icons and context menus will appear in all open/save "
15922 "dialogs as well as in Windows Explorer. If you want them to appear "
15923 "<emphasis>only</emphasis> in Windows Explorer, check the <guilabel>Show "
15924 "overlays and context menu only in explorer</guilabel> box."
15926 "默认情况下,图标重载将不止显示在Windows资源浏览器下,同样会显示在所有的打开/保"
15927 "存对话框里。如果你想让它们 <emphasis>仅仅</emphasis> 显示在Windows资源浏览器"
15928 "下,勾选 <guilabel>仅在资源管理器中显示图标重载</guilabel> 选项。"
15931 #: ../source/TortoiseGit_en.xml:11255
15933 "Ignored items and Unversioned items are not usually given an overlay. If you "
15934 "want to show an overlay in these cases, just check the boxes."
15938 #: ../source/TortoiseGit_en.xml:11259
15941 "You can also choose to mark folders as modified if they contain unversioned "
15942 "items. This could be useful for reminding you that you have created new files "
15943 "which are not yet versioned. This option is only available when you use the "
15944 "<emphasis>default</emphasis> status cache option (see below)."
15946 "若你选择了默认选项,将同样决定如下选择: 在文件夹包含非版本控制的项目时,把文件"
15947 "夹图标重载标记为已修改。这个有用的设置可以提醒你已经创建了非版本控制的新文件。"
15950 #: ../source/TortoiseGit_en.xml:11266
15953 "Since it takes quite a while to fetch the status of a working copy, "
15954 "TortoiseGit uses a cache to store the status so the explorer doesn't get "
15955 "hogged too much when showing the overlays. You can choose which type of cache "
15956 "TortoiseGit should use according to your system and working copy size here: "
15959 "因为它要花费一段时间来获取工作副本的状态,TSVN将使用一个缓存来存储这些状态,从"
15960 "而使浏览器在显示图标重载时,资源占用的不太厉害。你可以根据你的系统和工作副本的"
15961 "大小来在这里选择让TSVN使用哪种类型的缓存: <placeholder-1/>"
15964 #: ../source/TortoiseGit_en.xml:11274
15969 #: ../source/TortoiseGit_en.xml:11276
15972 "Caches all status information in a separate process (<filename>TSVNCache.exe</"
15973 "filename>). That process watches all drives for changes and fetches the "
15974 "status again if files inside a working copy get modified. The process runs "
15975 "with the least possible priority so other programs don't get hogged because "
15976 "of it. That also means that the status information is not <emphasis>real "
15977 "time</emphasis> but it can take a few seconds for the overlays to change."
15979 "把所有状态信息缓存在一个独立进程中(<filename>TSVNCache.exe</filename>)。该进程"
15980 "监视所有驱动器的更改,并在工作副本中的文件被修改时重新获取其状态。该进程以最低"
15981 "优先级运行,所以其他程序不会被它挤兑。这同样意味着状态信息并不是 <emphasis>实"
15982 "时</emphasis> 的,因为它需要几秒钟时间处理图标重载的变化。"
15985 #: ../source/TortoiseGit_en.xml:11287
15988 "Advantage: the overlays show the status recursively, i.e. if a file deep "
15989 "inside a working copy is modified, all folders up to the working copy root "
15990 "will also show the modified overlay. And since the process can send "
15991 "notifications to the shell, the overlays on the left tree view usually change "
15994 "优点: 图标重载递归地显示状态,就是说,如果一个处在工作副本深处的文件被修改了,"
15995 "所有途径的文件夹包括工作副本的根目录都会显示出修改的图标重载。也因为该进程可以"
15996 "向Windows外壳发送通知,资源管理器左面的树形图通常也会更改。"
15999 #: ../source/TortoiseGit_en.xml:11295
16001 "Disadvantage: the process runs constantly, even if you're not working on your "
16002 "projects. It also uses around 10-50 MB of RAM depending on number and size of "
16003 "your working copies."
16005 "缺点: 即使你已经不在项目下工作了,该进程仍然持续运行。取决于你工作副本的数量和"
16006 "大小,它将占用10-50 MB的RAM内存空间。"
16009 #: ../source/TortoiseGit_en.xml:11303
16011 msgstr "Windows 外壳"
16014 #: ../source/TortoiseGit_en.xml:11305
16016 "Caching is done directly inside the shell extension dll, but only for the "
16017 "currently visible folder. Each time you navigate to another folder, the "
16018 "status information is fetched again."
16020 "缓存在外壳扩展dll中直接完成,但仅仅是为那些当前可见的文件夹。每次你浏览到其他"
16024 #: ../source/TortoiseGit_en.xml:11311
16026 "Advantage: needs only very little memory (around 1 MB of RAM) and can show "
16027 "the status in <emphasis>real time</emphasis>."
16029 "优点: 仅仅需要很少的内存(大约 1 MB),并且可以 <emphasis>实时</emphasis> 显示状"
16033 #: ../source/TortoiseGit_en.xml:11315
16035 "Disadvantage: Since only one folder is cached, the overlays don't show the "
16036 "status recursively. For big working copies, it can take more time to show a "
16037 "folder in explorer than with the default cache. Also the mime-type column is "
16040 "缺点: 因为仅有一个文件夹被缓存,图标重载不会递归地显示状态。在大一些的工作副本"
16041 "下,它在浏览器中显示一个文件夹将比默认缓存模式花费更多时间。而且 mime-type 列"
16045 #: ../source/TortoiseGit_en.xml:11325
16050 #: ../source/TortoiseGit_en.xml:11327
16052 "With this setting, the TortoiseGit does not fetch the status at all in "
16053 "Explorer. Because of that, files don't get an overlay and folders only get a "
16054 "'normal' overlay if they're versioned. No other overlays are shown, and no "
16055 "extra columns are available either."
16057 "在这种设置下,TSVN在浏览器里就完全不去获取状态了。因此,版本控制下的文件将不会"
16058 "获得任何图标重载。文件夹也仅仅有个“正常”状态的图标重载,其他的不会显示,也不会"
16062 #: ../source/TortoiseGit_en.xml:11334
16064 "Advantage: uses absolutely no additional memory and does not slow down the "
16065 "Explorer at all while browsing."
16066 msgstr "优点: 绝对不会占用任何额外的内存,也完全不会减慢浏览器的浏览速度。"
16069 #: ../source/TortoiseGit_en.xml:11338
16072 "Disadvantage: Status information of files and folders is not shown in "
16073 "Explorer. To see if your working copies are modified, you have to use the "
16074 "<quote>Check for modifications</quote> dialog."
16076 "缺点: 文件、文件夹的状态信息不会显示在浏览器中。要获知你的工作副本是否被修改"
16077 "了,你需要使用“检查更新”对话框。"
16080 #: ../source/TortoiseGit_en.xml:11347
16083 "The next group allows you to select which classes of storage should show "
16084 "overlays. By default, only hard drives are selected. You can even disable all "
16085 "icon overlays, but where's the fun in that?"
16087 "<placeholder-1/> 此页面允许你选择TSVN为哪些条目显示图标重载。选择网络磁盘可能"
16088 "会非常慢,所以默认情况下不为定位于网络共享中的工作副本显示图标重载。你甚至可以"
16089 "取消所有的图标重载,但那样做还剩下什么好玩儿的呢?"
16092 #: ../source/TortoiseGit_en.xml:11352
16094 "Network drives can be very slow, so by default icons are not shown for "
16095 "working copies located on network shares."
16099 #: ../source/TortoiseGit_en.xml:11356
16101 "USB Flash drives appear to be a special case in that the drive type is "
16102 "identified by the device itself. Some appear as fixed drives, and some as "
16103 "removable drives."
16105 "USB闪存看上去是个特殊情况,因为驱动类型是设备自主标识的。于是有些显示为固定驱"
16109 #: ../source/TortoiseGit_en.xml:11361
16111 "The <guilabel>Exclude Paths</guilabel> are used to tell TortoiseGit those "
16112 "paths for which it should <emphasis>not</emphasis> show icon overlays and "
16113 "status columns. This is useful if you have some very big working copies "
16114 "containing only libraries which you won't change at all and therefore don't "
16115 "need the overlays. For example:"
16117 "<guilabel>排除路径</guilabel> 是被用来告诉TSVN <emphasis>不用</emphasis> 在哪"
16118 "些路径下显示图标重载和状态列。如果你有些很大的工作副本,而这些工作副本仅仅包含"
16119 "你完全不想改变的库文件,从而你也不需要显示图标重载,这时该功能将会很有用。举个"
16123 #: ../source/TortoiseGit_en.xml:11369
16125 "<filename>f:\\development\\SVN\\Git</filename> will disable the "
16126 "overlays <emphasis>only</emphasis> on that specific folder. You still can see "
16127 "the overlays on all files and folder inside that folder."
16129 "填写 <filename>f:\\development\\SVN\\Git</filename> 将 <emphasis>仅仅</"
16130 "emphasis> 在这个特殊文件夹上取消图标覆盖。 你仍然可以在该路径下的所有文件、文"
16134 #: ../source/TortoiseGit_en.xml:11374
16136 "<filename>f:\\development\\SVN\\Git*</filename> will disable the "
16137 "overlays on <emphasis>all</emphasis> files and folders whose path starts with "
16138 "<filename>f:\\development\\SVN\\Git</filename>. That means you won't "
16139 "see overlays for any files and folders below that path."
16141 "填写 <filename>f:\\development\\SVN\\Git*</filename> 将在路径以 "
16142 "<filename>f:\\development\\SVN\\Git</filename> 开始的 <emphasis>所有</"
16143 "emphasis> 文件和文件夹上取消图标重载。这意味着你在该路径下的任何文件/文件夹上"
16147 #: ../source/TortoiseGit_en.xml:11381
16149 "The same applies to the <guilabel>Include Paths</guilabel>. Except that for "
16150 "those paths the overlays are shown even if the overlays are disabled for that "
16151 "specific drive type, or by an exclude path specified above."
16153 "<guilabel>包含路径</guilabel> 也使用同样的语法。除了有些反例: 即使该路径处在某"
16154 "个取消图标重载显示的特定驱动类型下,或是处在上面的排除路径之下, 也依然会显示"
16158 #: ../source/TortoiseGit_en.xml:11386
16160 "Users sometimes ask how these three settings interact, and the definitive "
16161 "answer is: <screen>\n"
16162 "if (path is in include list)\n"
16164 "if (path is allowed drive type) AND (path is not in exclude list)\n"
16166 "</screen> The include list <emphasis>always</emphasis> makes the overlays "
16167 "show. Otherwise, overlays are shown for all marked drive types "
16168 "<emphasis>unless</emphasis> the path is excluded."
16172 #: ../source/TortoiseGit_en.xml:11399
16174 "TSVNCache.exe also uses these paths to restrict its scanning. If you want it "
16175 "to look only in particular folders, disable all drive types and include only "
16176 "the folders you specifically want to be scanned."
16178 "TSVNCache.exe 同样使用这些路径来限制它的扫描。如果你想让它仅仅在某些特定文件夹"
16179 "里监视,就取消所有的驱动器类型,并仅仅包含你允许被扫描的文件夹。"
16182 #: ../source/TortoiseGit_en.xml:11405
16183 msgid "Exclude <literal>SUBST</literal> Drives"
16184 msgstr "排除 <literal>SUBST</literal> 磁盘"
16187 #: ../source/TortoiseGit_en.xml:11407
16188 msgid "SUBST drives"
16192 #: ../source/TortoiseGit_en.xml:11409
16194 "It is often convenient to use a <literal>SUBST</literal> drive to access your "
16195 "working copies, e.g. using the command <screen>\n"
16196 "subst T: C:\\TortoiseGit\\trunk\\doc\n"
16197 "</screen> However this can cause the overlays not to update, as "
16198 "<literal>TSVNCache</literal> will only receive one notification when a file "
16199 "changes, and that is normally for the original path. This means that your "
16200 "overlays on the <literal>subst</literal> path may never be updated."
16204 #: ../source/TortoiseGit_en.xml:11421
16206 "An easy way to work around this is to exclude the original path from showing "
16207 "overlays, so that the overlays show up on the <literal>subst</literal> path "
16212 #: ../source/TortoiseGit_en.xml:11427
16215 "Sometimes you will exclude areas that contain working copies, which saves "
16216 "TSVNCache from scanning and monitoring for changes, but you still want a "
16217 "visual indication that such folders are versioned. The <guilabel>Show "
16218 "excluded folders as 'normal'</guilabel> checkbox allows you to do this. With "
16219 "this option, versioned folders in any excluded area (drive type not checked, "
16220 "or specifically excluded) will show up as normal and up-to-date, with a green "
16221 "check mark. This reminds you that you are looking at a working copy, even "
16222 "though the folder overlays may not be correct. Files do not get an overlay at "
16223 "all. Note that the context menus still work, even though the overlays are not "
16226 "有时候,你会想排除包含工作副本的区域,因为它会节约 TSVNCache 扫描和监视修改的"
16227 "代价,但是你仍旧想让这些目录显示为受版本控制。检查框<guilabel>“正常”显示排除目"
16228 "录</guilabel>允许你这样做。使用这个选项,被排除的区域中受版本控制的目录使用绿"
16229 "色检查标记,正常显示为最新版本。它提醒你在察看工作副本,目录重载图标可能显示不"
16230 "正确。文件根本不显示重载图标。尽管不显示覆盖图标,上下文菜单仍旧工作。"
16233 #: ../source/TortoiseGit_en.xml:11440
16235 "As a special exception to this, drives <literal>A:</literal> and <literal>B:</"
16236 "literal> are never considered for the <guilabel>Show excluded folders as "
16237 "'normal'</guilabel> option. This is because Windows is forced to look on the "
16238 "drive, which can result in a delay of several seconds when starting Explorer, "
16239 "even if your PC does have a floppy drive."
16243 #: ../source/TortoiseGit_en.xml:11449
16244 msgid "Icon Set Selection"
16248 #: ../source/TortoiseGit_en.xml:11451
16250 "<placeholder-1/> You can change the overlay icon set to the one you like "
16251 "best. Note that if you change overlay set, you may have to restart your "
16252 "computer for the changes to take effect."
16254 "<placeholder-1/> 你可以选择你最喜欢的重载图标集。要注意的是,倘若改变了重载图"
16255 "标集,你可能需要重启计算机使更改生效。"
16258 #: ../source/TortoiseGit_en.xml:11453
16259 msgid "The Settings Dialog, Icon Set Page"
16260 msgstr "设置对话框,图标集页面"
16263 #: ../source/TortoiseGit_en.xml:11464
16264 msgid "Network Settings"
16268 #: ../source/TortoiseGit_en.xml:11466
16269 msgid "proxy server"
16273 #: ../source/TortoiseGit_en.xml:11468
16275 "<placeholder-1/> Here you can configure your proxy server, if you need one to "
16276 "get through your company's firewall."
16278 "<placeholder-1> 如果需要穿透你公司的防火墙,在这里可以配置你的代理服务器。"
16281 #: ../source/TortoiseGit_en.xml:11470
16282 msgid "The Settings Dialog, Network Page"
16283 msgstr "设置对话框,网络设置页面"
16286 #: ../source/TortoiseGit_en.xml:11476
16289 "If you need to set up per-repository proxy settings, you will need to use the "
16290 "Git <filename>servers</filename> file to configure this. Use "
16291 "<guibutton>Edit</guibutton> to get there directly. Consult the <ulink url="
16292 "\"http://svnbook.red-bean.com/en/1.5/svn.advanced.confarea.html"
16293 "\"><citetitle>Runtime Configuration Area</citetitle></ulink> for details on "
16294 "how to use this file."
16296 "如果你需要对每个版本库建立一套代理设置,你必须使用Git<literal>服务器</"
16297 "literal>文件来配置。使用<guibutton>编辑</guibutton>来直接访问该配置文件"
16298 "(servers.txt)。该文件的细节和使用方法可以参考<ulink url=\"http://svnbook.red-"
16299 "bean.com/en/1.2/svn.advanced.html\"><citetitle>运行时配置</citetitle></ulink>"
16302 #: ../source/TortoiseGit_en.xml:11486
16304 "You can also specify which program TortoiseGit should use to establish a "
16305 "secure connection to a svn+ssh repository. We recommend that you use "
16306 "TortoisePlink.exe. This is a version of the popular Plink program, and is "
16307 "included with TortoiseGit, but it is compiled as a Windowless app, so you "
16308 "don't get a DOS box popping up every time you authenticate."
16310 "你同样可以在此指定SSH客户端程序,用来支持TortoiseGit同使用svn+ssh协议的版本库"
16311 "建立安全连接。我们推荐您使用TortoisePlink.exe。这是著名的Plink程序的一个定制版"
16312 "本, 并且业已包含在TortoiseGit之中,但它被编译成了一个无窗口的应用,因此当你每"
16313 "次认证的时候将不会看到弹出的DOS窗口。"
16316 #: ../source/TortoiseGit_en.xml:11494
16318 "You must specify the full path to the executable. For TortoisePlink.exe this "
16319 "is the standard TortoiseGit bin directory. Use the <guibutton>Browse</"
16320 "guibutton> button to help locate it."
16324 #: ../source/TortoiseGit_en.xml:11499
16326 "One side-effect of not having a window is that there is nowhere for any error "
16327 "messages to go, so if authentication fails you will simply get a message "
16328 "saying something like <quote>Unable to write to standard output</quote>. For "
16329 "this reason we recommend that you first set up using standard Plink. When "
16330 "everything is working, you can use TortoisePlink with exactly the same "
16333 "这里有个不弹出窗口的副作用: 将没有什么错误信息可供你追踪。因此倘若认证失败你将"
16334 "得到一个信息说: <quote>Unable to write to standard output</quote>。这样一来,"
16335 "我们就推荐你第一次设置时使用原始的Plink程序;而当一切工作正常之时,再使用定制"
16336 "版的TortoisePlink,并且重复利用那些相同的参数。"
16339 #: ../source/TortoiseGit_en.xml:11508
16341 "TortoisePlink does not have any documentation of its own because it is just a "
16342 "minor variant of Plink. Find out about command line parameters from the "
16343 "<ulink url=\"http://www.chiark.greenend.org.uk/~sgtatham/putty/"
16344 "\"><citetitle>PuTTY website</citetitle></ulink>"
16348 #: ../source/TortoiseGit_en.xml:11516
16350 "To avoid being prompted for a password repeatedly, you might also consider "
16351 "using a password caching tool such as Pageant. This is also available for "
16352 "download from the PuTTY website."
16356 #: ../source/TortoiseGit_en.xml:11521
16358 "Finally, setting up SSH on server and clients is a non-trivial process which "
16359 "is beyond the scope of this help file. However, you can find a guide in the "
16360 "TortoiseGit FAQ listed under <ulink url=\"http://TortoiseGit.net/ssh_howto"
16361 "\"><citetitle>Git/TortoiseGit SSH How-To</citetitle></ulink>."
16365 #: ../source/TortoiseGit_en.xml:11531
16366 msgid "External Program Settings"
16370 #: ../source/TortoiseGit_en.xml:11532
16372 "<placeholder-1/> Here you can define your own diff/merge programs that "
16373 "TortoiseGit should use. The default setting is to use TortoiseMerge which is "
16374 "installed alongside TortoiseGit."
16376 "<placeholder-1/> 在这里你可以定义你自己的差异查看/合并工具. 默认设置是使用与"
16377 "TortoiseGit一同安装的TortoiseMerge。"
16380 #: ../source/TortoiseGit_en.xml:11534
16381 msgid "The Settings Dialog, Diff Viewer Page"
16382 msgstr "设置对话框,差异查看页面"
16385 #: ../source/TortoiseGit_en.xml:11542
16387 "Read <xref linkend=\"tsvn-dug-diff-tools\"/> for a list of some of the "
16388 "external diff/merge programs that people are using with TortoiseGit."
16390 "阅读 <xref linkend=\"tsvn-dug-diff-tools\"/> 来了解人们为配合TortoiseGit工作而"
16391 "使用的外部差异查看/合并程序列表。"
16394 #: ../source/TortoiseGit_en.xml:11547
16395 msgid "Diff Viewer"
16399 #: ../source/TortoiseGit_en.xml:11549
16401 "An external diff program may be used for comparing different revisions of "
16402 "files. The external program will need to obtain the filenames from the "
16403 "command line, along with any other command line options. TortoiseGit uses "
16404 "substitution parameters prefixed with <literal>%</literal>. When it "
16405 "encounters one of these it will substitute the appropriate value. The order "
16406 "of the parameters will depend on the Diff program you use. <placeholder-1/>"
16408 "有时你可能需要一个外部的差异查看程序来比较不同版本的文件。在为你的命令行填写各"
16409 "种可选参数的同时,要确保这些外部程序从中获得文件名。在TortoiseGit编辑命令行"
16410 "时,使用以 <literal>%</literal> 开头的替代参数。当外部程序执行至遇到这些替代参"
16411 "数,它将从TortoiseGit那里获取那些实际的值。参数的填写顺序将依赖于你使用的差异"
16412 "查看程序。<placeholder-1/>"
16415 #: ../source/TortoiseGit_en.xml:11562
16416 msgid "The original file without your changes"
16421 #: ../source/TortoiseGit_en.xml:11570 ../source/TortoiseGit_en.xml:11679
16422 msgid "The window title for the base file"
16426 #: ../source/TortoiseGit_en.xml:11578
16427 msgid "Your own file, with your changes"
16432 #: ../source/TortoiseGit_en.xml:11586 ../source/TortoiseGit_en.xml:11695
16433 msgid "The window title for your file"
16437 #: ../source/TortoiseGit_en.xml:11593
16439 "The window titles are not pure filenames. TortoiseGit treats that as a name "
16440 "to display and creates the names accordingly. So e.g. if you're doing a diff "
16441 "from a file in revision 123 with a file in your working copy, the names will "
16442 "be <filename>filename : revision 123</filename> and <filename>filename : "
16443 "working copy</filename>"
16445 "窗口标题并不一定代表真正的文件名。TortoiseGit把它伪装成一个名字用来创建和显"
16446 "示。因此,倘若你在对比一个版本为123的文件和你当前工作副本中的文件,名字将显示"
16447 "为 <filename>文件名 : 版本 123</filename> 和 <filename>文件名 : 工作副本</"
16451 #: ../source/TortoiseGit_en.xml:11603
16454 "For example, with ExamDiff Pro: <screen>\n"
16455 "C:\\Path-To\\ExamDiff.exe %base %mine --left_display_name:%bname\n"
16456 " --right_display_name:%yname\n"
16457 "</screen> or with KDiff3: <screen>\n"
16458 "C:\\Path-To\\kdiff3.exe %base %mine --L1 %bname --L2 %yname\n"
16459 "</screen> or with WinMerge: <screen>\n"
16460 "C:\\Path-To\\WinMerge.exe -e -ub -dl %bname -dr %yname %base %mine\n"
16461 "</screen> or with Araxis: <screen>\n"
16462 "C:\\Path-To\\compare.exe /max /wait /title1:%bname /title2:%yname\n"
16466 "例如,使用 ExamDiff Pro:<screen>\n"
16467 "C:\\Path-To\\ExamDiff.exe %base %mine\n"
16468 "</screen> 或者使用 KDiff3:<screen>\n"
16469 "C:\\Path-To\\kdiff3.exe %base %mine --L1 %bname --L2 %yname\n"
16470 "</screen> 或者使用 WinMerge:<screen>\n"
16471 "C:\\Path-To\\WinMerge.exe -e -ub -dl %bname -dr %yname %base %mine\n"
16472 "</screen> 或者使用 Araxis:<screen>\n"
16473 "C:\\Path-To\\compare.exe /max /wait /title1:%bname /title2:%yname\n"
16478 #: ../source/TortoiseGit_en.xml:11623
16481 "If you use the <literal>svn:keywords</literal> property to expand keywords, "
16482 "and in particular the <emphasis>revision</emphasis> of a file, then there may "
16483 "be a difference between files which is purely due to the current value of the "
16484 "keyword. Also if you use <literal>svn:eol-style = native</literal> the BASE "
16485 "file will have pure <literal>LF</literal> line endings whereas your file will "
16486 "have <literal>CR-LF</literal> line endings. TortoiseGit will normally hide "
16487 "these differences automatically by first parsing the BASE file to expand "
16488 "keywords and line endings before doing the diff operation. However, this can "
16489 "take a long time with large files. If <guilabel>Convert files when diffing "
16490 "against BASE</guilabel> is unchecked then TortoiseGit will skip pre-"
16491 "processing the files."
16493 "如果你使用了 <literal>svn:keywords</literal> 属性来扩展关键词,特别是那些 "
16494 "<literal>revision</literal> 版本关键词,那么在那些纯粹在关键词上取值不同的文件"
16495 "之间对比将有一些不同。同样如果你使用 <literal>svn:eol-style = native</"
16496 "literal>,那么在工作基础版本文件只有纯粹的 <literal>LF</literal> (换行)结束符"
16497 "的地方,你的文件将有完整的 <literal>CR-LF</literal> (回车-换行)结束符。TSVN在"
16498 "做差异对比操作之前,通常会先行对那些扩展关键词和结束符等格式进行解析转换,从而"
16499 "自动隐藏这些差异。无论如何,在遇到大文件时这样做无疑会经过一个很长的处理时间。"
16500 "如果取消对 <guilabel>与基础版本比较时转换文件</guilabel> 的勾选,那么TSVN将忽"
16504 #: ../source/TortoiseGit_en.xml:11637
16506 "You can also specify a different diff tool to use on Git properties. "
16507 "Since these tend to be short simple text strings, you may want to use a "
16508 "simpler more compact viewer."
16510 "你也可以使用 Git 属性来指定其它的比较工具。既然这些是简短的文本,你可能"
16514 #: ../source/TortoiseGit_en.xml:11642
16517 "If you have configured an alternate diff tool, you can access TortoiseMerge "
16518 "<emphasis>and</emphasis> the third party tool from the context menus. "
16519 "<menuchoice><guimenu>Context menu</guimenu><guimenuitem>Diff</guimenuitem></"
16520 "menuchoice> uses the primary diff tool, and <keycap>Shift</keycap>+ "
16521 "<menuchoice><guimenu>Context menu</guimenu><guimenuitem>Diff</guimenuitem></"
16522 "menuchoice> uses the secondary diff tool."
16524 "在对话框的上下文菜单中你可以显示改变的差异。使用 <menuchoice><guimenu>上下文菜"
16525 "单</guimenu><guimenuitem>与基础版本比较</guimenuitem></menuchoice>检查"
16526 "<emphasis>你</emphasis>所作的本地修改。使用<menuchoice><guimenu>上下文菜单</"
16527 "guimenu><guimenuitem>使用标准差异格式显示差异</guimenuitem></menuchoice>检查版"
16531 #: ../source/TortoiseGit_en.xml:11660
16536 #: ../source/TortoiseGit_en.xml:11662
16538 "An external merge program used to resolve conflicted files. Parameter "
16539 "substitution is used in the same way as with the Diff Program. <placeholder-1/"
16542 "外部合并程序被用来解决文件冲突。像差异查看程序那样,替代参数同样被用在命令行"
16543 "中。<placeholder-1/>"
16546 #: ../source/TortoiseGit_en.xml:11670
16547 msgid "the original file without your or the others changes"
16548 msgstr "没有被你或他人更改的原始文件"
16551 #: ../source/TortoiseGit_en.xml:11687
16552 msgid "your own file, with your changes"
16556 #: ../source/TortoiseGit_en.xml:11703
16557 msgid "the file as it is in the repository"
16561 #: ../source/TortoiseGit_en.xml:11711
16562 msgid "The window title for the file in the repository"
16563 msgstr "档案库中文件的窗口标题"
16566 #: ../source/TortoiseGit_en.xml:11719
16567 msgid "the conflicted file, the result of the merge operation"
16568 msgstr "发生冲突的文件,同时将被合并后的文件替换"
16571 #: ../source/TortoiseGit_en.xml:11728
16572 msgid "The window title for the merged file"
16576 #: ../source/TortoiseGit_en.xml:11735
16579 "For example, with Perforce Merge: <screen>\n"
16580 "C:\\Path-To\\P4Merge.exe %base %theirs %mine %merged\n"
16581 "</screen> or with KDiff3: <screen>\n"
16582 "C:\\Path-To\\kdiff3.exe %base %mine %theirs -o %merged\n"
16583 " --L1 %bname --L2 %yname --L3 %tname\n"
16584 "</screen> or with Araxis: <screen>\n"
16585 "C:\\Path-To\\compare.exe /max /wait /3 /title1:%tname /title2:%bname\n"
16586 " /title3:%yname %theirs %base %mine %merged /a2\n"
16587 "</screen> or with WinMerge (2.8 or later): <screen>\n"
16588 "C:\\Path-To\\WinMerge.exe %merged\n"
16591 "例如,使用 Perforce Merge:<screen>\n"
16592 "C:\\Path-To\\P4Merge.exe %base %theirs %mine %merged\n"
16593 "</screen> 或者使用 KDiff3:<screen>\n"
16594 "C:\\Path-To\\kdiff3.exe %base %mine %theirs -o %merged\n"
16595 " --L1 %bname --L2 %yname --L3 %tname\n"
16596 "</screen> 或者使用 Araxis:<screen>\n"
16597 "C:\\Path-To\\compare.exe /max /wait /3 /title1:%tname /title2:%bname\n"
16598 " /title3:%yname %theirs %base %mine %merged /a2\n"
16602 #: ../source/TortoiseGit_en.xml:11757
16603 msgid "Diff/Merge Advanced Settings"
16604 msgstr "差异查看/合并工具的高级设置"
16607 #: ../source/TortoiseGit_en.xml:11759
16610 "<placeholder-1/> In the advanced settings, you can define a different diff "
16611 "and merge program for every file extension. For instance you could associate "
16612 "Photoshop as the <quote>Diff</quote> Program for <filename>.jpg</filename> "
16613 "files :-) You can also associate the <literal>svn:mime-type</literal> "
16614 "property with a diff or merge program."
16616 "<placeholder-1/> 在高级设置中,你可以为每种文件类型都定义一个不同的差异比较/合"
16617 "并程序。例如,你可以指定Photoshop作为.jpg文件的 <quote>比较</quote> 程序 :-) "
16618 "也可以按照 <literal>svn:mime-type</literal> 属性指定差异/合并程序。"
16621 #: ../source/TortoiseGit_en.xml:11761
16622 msgid "The Settings Dialog, Diff/Merge Advanced Dialog"
16623 msgstr "高级差异比较设置/高级合并设置的对话框"
16626 #: ../source/TortoiseGit_en.xml:11770
16628 "To associate using a file extension, you need to specify the extension. Use "
16629 "<literal>.bmp</literal> to describe Windows bitmap files. To associate using "
16630 "the <literal>svn:mime-type</literal> property, specify the mime type, "
16631 "including a slash, for example <literal>text/xml</literal>."
16633 "为了使用文件扩展,你需要指定扩展。使用 <literal>.BMP</literal> 来描述 Windows "
16634 "位图文件。如果使用<literal>svn:mime-type</literal>属性,要指定多媒体文件类型,"
16635 "包含斜线,例如<literal>text/xml</literal>。"
16638 #: ../source/TortoiseGit_en.xml:11779
16639 msgid "Unified Diff Viewer"
16643 #: ../source/TortoiseGit_en.xml:11781
16645 "A viewer program for unified-diff files (patch files). No parameters are "
16646 "required. The <guilabel>Default</guilabel> option is to check for a file "
16647 "association for <filename>.diff</filename> files, and then for <filename>."
16648 "txt</filename> files. If you don't have a viewer for <filename>.diff</"
16649 "filename> files, you will most likely get NotePad."
16651 "一个统一差异文件(补丁文件)的查看程序。不需要任何参数。<guilabel>默认</"
16652 "guilabel> 选项遵循先检查 <filename>.diff</filename> 文件,再检查 <filename>."
16653 "txt</filename> 文件的顺序。如果你没有 <filename>.diff</filename> 文件的查看"
16657 #: ../source/TortoiseGit_en.xml:11790
16659 "The original Windows NotePad program does not behave well on files which do "
16660 "not have standard CR-LF line-endings. Since most unified diff files have pure "
16661 "LF line-endings, they do not view well in NotePad. However, you can download "
16662 "a free NotePad replacement <ulink url=\"http://www.flos-freeware.ch/notepad2."
16663 "html\"><citetitle>Notepad2</citetitle></ulink> which not only displays the "
16664 "line-endings correctly, but also colour codes the added and removed lines."
16666 "原始Windows记事本程序对未使用标准“回车-换行”结束符的文件支持的并不好。而很多统"
16667 "一差异文件都仅仅使用“换行”结束符,因此他们的格式在记事本中显示的并不好。无论如"
16668 "何,你可以下载一个免费的记事本2 <ulink url=\"http://www.flos-freeware.ch/"
16669 "notepad2.html\"><citetitle>Notepad2</citetitle></ulink>,它不但可以正确地显示"
16670 "结束符,更可以为差异文件中添加和删除的那些行做颜色标记。"
16673 #: ../source/TortoiseGit_en.xml:11806
16674 msgid "Saved Data Settings"
16678 #: ../source/TortoiseGit_en.xml:11807
16680 "<placeholder-1/> For your convenience, TortoiseGit saves many of the settings "
16681 "you use, and remembers where you have been lately. If you want to clear out "
16682 "that cache of data, you can do it here."
16684 "<placeholder-1/> 为您方便着想,TortoiseGit保存了很多你用过的设置,并记录你最近"
16685 "浏览过的地址。如果你想清空这些数据缓存,就在这里操作。"
16688 #: ../source/TortoiseGit_en.xml:11809
16689 msgid "The Settings Dialog, Saved Data Page"
16690 msgstr "设置对话框,已保存数据设置页面"
16693 #: ../source/TortoiseGit_en.xml:11818
16694 msgid "URL history"
16698 #: ../source/TortoiseGit_en.xml:11820
16700 "Whenever you checkout a working copy, merge changes or use the repository "
16701 "browser, TortoiseGit keeps a record of recently used URLs and offers them in "
16702 "a combo box. Sometimes that list gets cluttered with outdated URLs so it is "
16703 "useful to flush it out periodically."
16705 "每次你检出一个工作副本,合并那些更改的文件,或仅仅是在使用版本库浏览器时,"
16706 "TortoiseGit都将保存一个记录,记录那些最近使用过的URL,并在一个下拉列表框中显示"
16707 "出来。有时列表会被逐渐增多的过期URL弄得乱糟糟的,所以有定期清理一下的必要。"
16710 #: ../source/TortoiseGit_en.xml:11827
16713 "If you want to remove a single item from one of the combo boxes you can do "
16714 "that in-place. Just click on the arrow to drop the combo box down, move the "
16715 "mouse over the item you want to remove and type <keycap>Shift+Del</keycap>."
16717 "如果你希望从列表中删除单独的条目,可以点击下拉列表,移动鼠标到你要删除的项上,"
16718 "然后按组合键<action>SHIFT+DELETE</action>。"
16721 #: ../source/TortoiseGit_en.xml:11836
16722 msgid "Log messages (Input dialog)"
16723 msgstr "日志信息(输入对话框)"
16726 #: ../source/TortoiseGit_en.xml:11838
16728 "TortoiseGit stores recent commit log messages that you enter. These are "
16729 "stored per repository, so if you access many repositories this list can grow "
16732 "TortoiseGit同时也储存你最近提交时填写的日志信息。对应每个版本库都要储存这些信"
16733 "息,所以如果你访问过很多版本库,这个列表将变得非常大。"
16736 #: ../source/TortoiseGit_en.xml:11846
16737 msgid "Log messages (Show log dialog)"
16738 msgstr "日志信息(显示日志对话框)"
16741 #: ../source/TortoiseGit_en.xml:11848
16743 "TortoiseGit caches log messages fetched by the Show Log dialog to save time "
16744 "when you next show the log. If someone else edits a log message and you "
16745 "already have that message cached, you will not see the change until you clear "
16746 "the cache. Log message caching is enabled on the <guilabel>Log Cache</"
16751 #: ../source/TortoiseGit_en.xml:11859
16752 msgid "Dialog sizes and positions"
16756 #: ../source/TortoiseGit_en.xml:11861
16757 msgid "Many dialogs remember the size and screen position that you last used."
16758 msgstr "许多对话框都可以记录你最后一次使用时的窗口大小和位置。"
16761 #: ../source/TortoiseGit_en.xml:11868
16762 msgid "Authentication data"
16766 #: ../source/TortoiseGit_en.xml:11870
16768 "When you authenticate with a Git server, the username and password are "
16769 "cached locally so you don't have to keep entering them. You may want to clear "
16770 "this for security reasons, or because you want to access the repository under "
16771 "a different username ... does John know you are using his PC?"
16773 "当你在登陆某个Git服务器,填写认证信息时,用户名和密码也可以被保存在本"
16774 "地,你也就不用每次都输入了。但考虑到一些安全因素,你可能会有清除这些认证信息的"
16775 "愿望,或者你仅仅是想换个不同的用户名登陆...John知道你正在用他的机器么?(规范点"
16776 "儿,用你自己的用户名登陆版本库吧,伙计 *by Jax)"
16779 #: ../source/TortoiseGit_en.xml:11877
16782 "If you want to clear authentication data for one particular server only, read "
16783 "<xref linkend=\"tsvn-dug-general-auth\"/> for instructions on how to find the "
16786 "如果你仅想清除某个特定版本库的认证数据,读一下 <xref linkend=\"tsvn-dug-"
16787 "general-auth\"/> 有关怎样寻找缓存数据的说明。"
16790 #: ../source/TortoiseGit_en.xml:11885
16795 #: ../source/TortoiseGit_en.xml:11887
16797 "TortoiseGit keeps a log of everything written to its progress dialogs. This "
16798 "can be useful when, for example, you want to check what happened in a recent "
16803 #: ../source/TortoiseGit_en.xml:11892
16805 "The log file is limited in length and when it grows too big the oldest "
16806 "content is discarded. By default 4000 lines are kept, but you can customize "
16811 #: ../source/TortoiseGit_en.xml:11897
16812 msgid "From here you can view the log file content, and also clear it."
16816 #: ../source/TortoiseGit_en.xml:11906
16817 msgid "Log Caching"
16821 #: ../source/TortoiseGit_en.xml:11908
16826 #: ../source/TortoiseGit_en.xml:11910
16828 "<placeholder-1/> This dialog allows you to configure the log caching feature "
16829 "of TortoiseGit, which retains a local copy of log messages and changed paths "
16830 "to avoid time-consuming downloads from the server. Using the log cache can "
16831 "dramatically speed up the log dialog and the revision graph. Another useful "
16832 "feature is that the log messages can still be accessed when offline."
16836 #: ../source/TortoiseGit_en.xml:11912
16837 msgid "The Settings Dialog, Log Cache Page"
16838 msgstr "设置对话框,日志缓存页面"
16841 #: ../source/TortoiseGit_en.xml:11925
16842 msgid "Enable log caching"
16846 #: ../source/TortoiseGit_en.xml:11927
16848 "Enables log caching whenever log data is requested. If checked, data will be "
16849 "retrieved from the cache when available, and any messages not in the cache "
16850 "will be retrieved from the server and added to the cache."
16854 #: ../source/TortoiseGit_en.xml:11933
16856 "If caching is disabled, data will always be retrieved directly from the "
16857 "server and not stored locally."
16861 #: ../source/TortoiseGit_en.xml:11940
16862 msgid "If the repository cannot be contacted"
16866 #: ../source/TortoiseGit_en.xml:11942
16868 "If you are working offline, or if the repository server is down, the log "
16869 "cache can still be used to supply log messages already held in the cache. Of "
16870 "course the cache may not be up-to-date, so there are options to allow you to "
16871 "select whether this feature should be used."
16875 #: ../source/TortoiseGit_en.xml:11949
16877 "When log data is being taken from the cache without contacting the server, "
16878 "the dialog using those message will show the offline state in its title bar."
16882 #: ../source/TortoiseGit_en.xml:11957
16883 msgid "Timeout before updating the HEAD revision"
16887 #: ../source/TortoiseGit_en.xml:11959
16889 "When you invoke the log dialog you will normally want to contact the server "
16890 "to check for any newer log messages. If the timeout set here is non-zero then "
16891 "the server will only be contacted when the timeout has elapsed since the last "
16892 "time contact. This can reduce server round-trips if you open the log dialog "
16893 "frequently and the server is slow, but the data shown may not be completely "
16894 "up-to-date. If you want to use this feature we suggest using a value of 300 "
16895 "(5 minutes) as a compromise."
16899 #: ../source/TortoiseGit_en.xml:11974
16901 "Below the settings you can see a list of the repositories that are cached "
16902 "locally, and the space used for the cache. If you select one of the "
16903 "repositories you can then use the buttons underneath."
16907 #: ../source/TortoiseGit_en.xml:11981
16908 msgid "Log Cache Statistics"
16912 #: ../source/TortoiseGit_en.xml:11982
16914 "<placeholder-1/> Click on the <guibutton>Details</guibutton> button to see "
16915 "detailed statistics for a particular cache. Many of the fields shown here are "
16916 "mainly of interest to the developers of TortoiseGit, so they are not all "
16917 "described in detail. <placeholder-2/>"
16921 #: ../source/TortoiseGit_en.xml:11984
16922 msgid "The Settings Dialog, Log Cache Statistics"
16923 msgstr "设置对话框,日志缓存统计"
16926 #: ../source/TortoiseGit_en.xml:11993
16931 #: ../source/TortoiseGit_en.xml:11995
16932 msgid "The amount of memory required to service this cache."
16936 #: ../source/TortoiseGit_en.xml:12001
16941 #: ../source/TortoiseGit_en.xml:12003
16943 "The amount of disk space used for the cache. Data is compressed, so disk "
16944 "usage is generally fairly modest."
16948 #: ../source/TortoiseGit_en.xml:12010
16953 #: ../source/TortoiseGit_en.xml:12012
16954 msgid "Shows whether the repository was available last time the cache was used."
16958 #: ../source/TortoiseGit_en.xml:12019
16959 msgid "Last update"
16963 #: ../source/TortoiseGit_en.xml:12021
16965 msgid "The last time the cache content was changed."
16966 msgstr "服务器的IP地址已更改。"
16969 #: ../source/TortoiseGit_en.xml:12027
16970 msgid "Last head update"
16974 #: ../source/TortoiseGit_en.xml:12029
16975 msgid "The last time we requested the HEAD revision from the server."
16979 #: ../source/TortoiseGit_en.xml:12036
16984 #: ../source/TortoiseGit_en.xml:12038
16985 msgid "The number of different authors with messages recorded in the cache."
16989 #: ../source/TortoiseGit_en.xml:12045
16994 #: ../source/TortoiseGit_en.xml:12047
16996 "The number of paths listed, as you would see using <literal>svn log -v</"
17001 #: ../source/TortoiseGit_en.xml:12054
17002 msgid "Skip ranges"
17006 #: ../source/TortoiseGit_en.xml:12056
17008 "The number of revision ranges which we have not fetched, simply because they "
17009 "haven't been requested. This is a measure of the number of holes in the cache."
17013 #: ../source/TortoiseGit_en.xml:12064
17014 msgid "Max revision"
17018 #: ../source/TortoiseGit_en.xml:12066
17019 msgid "The highest revision number stored in the cache."
17023 #: ../source/TortoiseGit_en.xml:12072
17024 msgid "Revision count"
17028 #: ../source/TortoiseGit_en.xml:12074
17030 "The number of revisions stored in the cache. This is another measure of cache "
17035 #: ../source/TortoiseGit_en.xml:12083
17037 "Click on the <guibutton>Update</guibutton> to completely refresh the cache "
17038 "and fill in any holes. For a large repository this could be very time "
17039 "consuming, but useful if you are about to go offline and want the best "
17044 #: ../source/TortoiseGit_en.xml:12089
17046 "Click on the <guibutton>Export</guibutton> button to export the entire cache "
17047 "as a set of CSV files. This could be useful if you want to process the log "
17048 "data using an external program, although it is mainly useful to the "
17053 #: ../source/TortoiseGit_en.xml:12095
17055 "Click on <guibutton>Delete</guibutton> to remove all cached data for the "
17056 "selected repositories. This does not disable caching for the repository so "
17057 "the next time you request log data, a new cache will be created."
17061 #: ../source/TortoiseGit_en.xml:12102
17062 msgid "Client Side Hook Scripts"
17066 #: ../source/TortoiseGit_en.xml:12106
17067 msgid "client hooks"
17071 #: ../source/TortoiseGit_en.xml:12111
17073 "<placeholder-1/> This dialog allows you to set up hook scripts which will be "
17074 "executed automatically when certain Git actions are performed. As "
17075 "opposed to the hook scripts explained in <xref linkend=\"tsvn-repository-hooks"
17076 "\"/>, these scripts are executed locally on the client."
17078 "<placeholder-1/> 这个对话框允许你指定当特定 Git 动作执行时,自动执行的"
17079 "钩子脚本。与 <xref linkend=\"tsvn-repository-hooks\"/> 中说明的钩子脚本相反,"
17083 #: ../source/TortoiseGit_en.xml:12113
17084 msgid "The Settings Dialog, Hook Scripts Page"
17085 msgstr "设置对话框,钩子脚本页"
17088 #: ../source/TortoiseGit_en.xml:12121
17090 "One application for such hooks might be to call a program like "
17091 "<literal>SubWCRev.exe</literal> to update version numbers after a commit, and "
17092 "perhaps to trigger a rebuild."
17094 "应用程序,例如钩子,可能调用如<literal>SubWCRev.exe</literal>这样的程序,来更"
17095 "新提交后的版本号,可能还会出发重新构建。"
17098 #: ../source/TortoiseGit_en.xml:12126
17100 "For various security and implementation reasons, hook scripts are defined "
17101 "locally on a machine, rather than as project properties. You define what "
17102 "happens, no matter what someone else commits to the repository. Of course you "
17103 "can always choose to call a script which is itself under version control."
17105 "由于各种安全理由和实现问题,钩子脚本在本地机器定义,而不是象工程属性那样。不管"
17106 "是谁提交,都可以定义它做什么事情。当然,你也可以选择调用一个受版本控制的脚本。"
17109 #: ../source/TortoiseGit_en.xml:12132
17111 "<placeholder-1/> To add a new hook script, simply click <guibutton>Add</"
17112 "guibutton> and fill in the details."
17114 "<placeholder-1/> 要增加钩子脚本,直接点击 <guibutton>增加</guibutton> ,然后输"
17118 #: ../source/TortoiseGit_en.xml:12134
17119 msgid "The Settings Dialog, Configure Hook Scripts"
17120 msgstr "设置对话框,配置钩子脚本页面"
17123 #: ../source/TortoiseGit_en.xml:12140
17124 msgid "There are currently six types of hook script available <placeholder-1/>"
17125 msgstr "现在有六种钩子脚本类型可用 <placeholder-1/>"
17129 #: ../source/TortoiseGit_en.xml:12144 ../source/TortoiseGit_en.xml:12214
17130 msgid "Start-commit"
17134 #: ../source/TortoiseGit_en.xml:12146
17137 "Called before the commit dialog is shown. You might want to use this if the "
17138 "hook modifies a versioned file and affects the list of files that need to be "
17139 "committed and/or commit message."
17141 "在提交对话框之前调用。当钩子修改受版本控制的文件,影响了提交的文件列表的时候适"
17146 #: ../source/TortoiseGit_en.xml:12155 ../source/TortoiseGit_en.xml:12218
17151 #: ../source/TortoiseGit_en.xml:12157
17153 "Called after the user clicks <guibutton>OK</guibutton> in the commit dialog, "
17154 "and before the actual commit begins."
17155 msgstr "在提交对话框点击<guibutton>确认</guibutton>之后,实际提交之前调用。"
17159 #: ../source/TortoiseGit_en.xml:12164 ../source/TortoiseGit_en.xml:12222
17160 msgid "Post-commit"
17164 #: ../source/TortoiseGit_en.xml:12166
17165 msgid "Called after the commit finishes (whether successful or not)."
17166 msgstr "在提交结束后调用(无论成功或失败)"
17170 #: ../source/TortoiseGit_en.xml:12172 ../source/TortoiseGit_en.xml:12226
17171 msgid "Start-update"
17175 #: ../source/TortoiseGit_en.xml:12174
17176 msgid "Called before the update-to-revision dialog is shown."
17177 msgstr "在更新到版本对话框显示之前调用"
17181 #: ../source/TortoiseGit_en.xml:12180 ../source/TortoiseGit_en.xml:12230
17186 #: ../source/TortoiseGit_en.xml:12182
17187 msgid "Called before the actual Git update begins."
17188 msgstr "在 Git 更新实际开始之前调用"
17192 #: ../source/TortoiseGit_en.xml:12188 ../source/TortoiseGit_en.xml:12234
17193 msgid "Post-update"
17197 #: ../source/TortoiseGit_en.xml:12190
17198 msgid "Called after the update finishes (whether successful or not)."
17199 msgstr "在更新之后调用(无论成功或失败)"
17202 #: ../source/TortoiseGit_en.xml:12197
17204 "A hook is defined for a particular working copy path. You only need to "
17205 "specify the top level path; if you perform an operation in a sub-folder, "
17206 "TortoiseGit will automatically search upwards for a matching path."
17208 "为特定工作目录定义的钩子。你只要指定顶级路径;如果在子目录内执行提交,"
17209 "TortoiseGit 会自动向上搜索匹配路径。"
17212 #: ../source/TortoiseGit_en.xml:12202
17214 "Next you must specify the command line to execute, starting with the path to "
17215 "the hook script or executable. This could be a batch file, an executable file "
17216 "or any other file which has a valid windows file association, eg. a perl "
17219 "然后你要指定要执行的命令行,以钩子脚本或可执行文件的路径开始。它可以是批处理文"
17220 "件,可执行文件,或者有效的windows关联的其它文件类型,例如perl文件。"
17223 #: ../source/TortoiseGit_en.xml:12208
17226 "The command line includes several parameters which get filled in by "
17227 "TortoiseGit. The parameters passed depend upon which hook is called. Each "
17228 "hook has its own parameters which are passed in the following order: "
17231 "命令行可以包含被TortoiseGit填写的几个参数。这些参数依赖于调用了什么脚本。"
17235 #: ../source/TortoiseGit_en.xml:12239
17238 "The meaning of each of these parameters is described here: <placeholder-1/>"
17239 msgstr "每个变量的含义如下: <placeholder-1/>"
17242 #: ../source/TortoiseGit_en.xml:12245
17244 "A path to a temporary file which contains all the paths for which the "
17245 "operation was started. Each path is on a separate line in the temp file."
17247 "指向临时文件的路径,此文件包含了操作开始时的所有路径。在临时文件中,每个路径占"
17251 #: ../source/TortoiseGit_en.xml:12255
17252 msgid "The depth with which the commit/update is done."
17256 #: ../source/TortoiseGit_en.xml:12258
17257 msgid "Possible values are: <placeholder-1/>"
17258 msgstr "可能的取值是:<placeholder-1/>"
17261 #: ../source/TortoiseGit_en.xml:12265
17262 msgid "svn_depth_unknown"
17263 msgstr "svn_depth_unknown"
17266 #: ../source/TortoiseGit_en.xml:12273
17267 msgid "svn_depth_exclude"
17268 msgstr "svn_depth_exclude"
17271 #: ../source/TortoiseGit_en.xml:12281
17272 msgid "svn_depth_empty"
17273 msgstr "svn_depth_empty"
17276 #: ../source/TortoiseGit_en.xml:12289
17277 msgid "svn_depth_files"
17278 msgstr "svn_depth_files"
17281 #: ../source/TortoiseGit_en.xml:12297
17282 msgid "svn_depth_immediates"
17283 msgstr "svn_depth_immediates"
17286 #: ../source/TortoiseGit_en.xml:12305
17287 msgid "svn_depth_infinity"
17288 msgstr "svn_depth_infinity"
17291 #: ../source/TortoiseGit_en.xml:12316
17294 "Path to a file containing the log message for the commit. The file contains "
17295 "the text in UTF-8 encoding. After successful execution of the start-commit "
17296 "hook, the log message is read back, giving the hook a chance to modify it."
17297 msgstr "指向包含提交日志文件的路径。此文件使用 UTF8 编码。"
17300 #: ../source/TortoiseGit_en.xml:12328
17302 "The repository revision to which the update should be done or after a commit "
17304 msgstr "更新或提交完成后的版本库的版本"
17307 #: ../source/TortoiseGit_en.xml:12337
17309 "Path to a file containing the error message. If there was no error, the file "
17314 #: ../source/TortoiseGit_en.xml:12346
17316 "The current working directory with which the script is run. This is set to "
17317 "the common root directory of all affected paths."
17321 #: ../source/TortoiseGit_en.xml:12354
17323 "Note that although we have given these parameters names for convenience, you "
17324 "do not have to refer to those names in the hook settings. All parameters "
17325 "listed for a particular hook are always passed, whether you want them or "
17330 #: ../source/TortoiseGit_en.xml:12360
17332 "If you want the Git operation to hold off until the hook has "
17333 "completed, check <guilabel>Wait for the script to finish</guilabel>."
17335 "如果你想Git 操作直到钩子完成才结束,就选择<guilabel>等待脚本结束</"
17339 #: ../source/TortoiseGit_en.xml:12364
17342 "Normally you will want to hide ugly DOS boxes when the script runs, so "
17343 "<guilabel>Hide the script while running</guilabel> is checked by default."
17345 "通常脚本运行时,你会想隐藏丑陋的控制台窗口,所以默认选择<guilabel>运行时隐藏脚"
17346 "本</guilabel>。为了调试,你可能想观察控制台窗口的输出。"
17349 #: ../source/TortoiseGit_en.xml:12368
17351 "Sample client hook scripts can be found in the <literal>contrib</literal> "
17352 "folder in the <ulink url=\"http://TortoiseGit.tigris.org/svn/TortoiseGit/"
17353 "trunk/contrib/hook-scripts\"><citetitle>TortoiseGit repository</citetitle></"
17354 "ulink>. (<xref linkend=\"tsvn-preface-source\"/> explains how to access the "
17359 #: ../source/TortoiseGit_en.xml:12376
17360 msgid "Issue Tracker Integration"
17364 #: ../source/TortoiseGit_en.xml:12379
17366 "TortoiseGit can use a COM plugin to query issue trackers when in the commit "
17367 "dialog. The use of such plugins is described in <xref linkend=\"tsvn-dug-"
17368 "bugtracker-ref\"/>. If your system administrator has provided you with a "
17369 "plugin, which you have already installed and registered, this is the place to "
17370 "specify how it integrates with your working copy."
17374 #: ../source/TortoiseGit_en.xml:12387
17376 "<placeholder-1/> Click on <guibutton>Add...</guibutton> to use the plugin "
17377 "with a particular working copy. Here you can specify the working copy path, "
17378 "choose which plugin to use from a drop down list of all registered issue "
17379 "tracker plugins, and any parameters to pass. The parameters will be specific "
17380 "to the plugin, but might include your user name on the issue tracker so that "
17381 "the plugin can query for issues which are assigned to you."
17385 #: ../source/TortoiseGit_en.xml:12389
17387 msgid "The Settings Dialog, Issue Tracker Integration Page"
17388 msgstr "设置对话框,常规设置页面"
17391 #: ../source/TortoiseGit_en.xml:12400
17393 "If you want all users to use the same COM plugin for your project, you can "
17394 "specify the plugin also with the properties <literal>bugtraq:provideruuid</"
17395 "literal> and <literal>bugtraq:providerparams</literal>. <placeholder-1/> "
17396 "Please check the documentation of your IBugTraqProvider plugin to find out "
17397 "what to specify in these two properties."
17401 #: ../source/TortoiseGit_en.xml:12409
17403 "This property specifies the COM UUID of the IBugTraqProvider, for example "
17404 "<literal>{91974081-2DC7-4FB1-B3BE-0DE1C8D6CE4E}</literal>."
17408 #: ../source/TortoiseGit_en.xml:12418
17409 msgid "This property specifies the parameters passed to the IBugTraqProvider."
17413 #: ../source/TortoiseGit_en.xml:12431
17414 msgid "TortoiseBlame Settings"
17415 msgstr "TortoiseBlame 的设置"
17418 #: ../source/TortoiseGit_en.xml:12432
17420 "<placeholder-1/> The settings used by TortoiseBlame are controlled from the "
17421 "main context menu, not directly with TortoiseBlame itself."
17423 "<placeholder-1/> TortoiseBlame 使用的配置被主上下文菜单控制,不是被 "
17424 "TortoiseBlame 自己直接控制。"
17427 #: ../source/TortoiseGit_en.xml:12434
17428 msgid "The Settings Dialog, TortoiseBlame Page"
17429 msgstr "设置对话框,TortoiseBlame 页面"
17432 #: ../source/TortoiseGit_en.xml:12442
17437 #: ../source/TortoiseGit_en.xml:12444
17439 "TortoiseBlame can use the background colour to indicate the age of lines in a "
17440 "file. You set the endpoints by specifying the colours for the newest and "
17441 "oldest revisions, and TortoiseBlame uses a linear interpolation between these "
17442 "colours according to the repository revision indicated for each line."
17444 "TortoiseBlame 可以使用背景色指示文件中行的年龄。你设置最新和最旧版本的颜色后,"
17445 "TortoiseBlame 使用线性插补算法根据每行的版本设置其颜色。"
17448 #: ../source/TortoiseGit_en.xml:12454
17453 #: ../source/TortoiseGit_en.xml:12456
17455 "You can select the font used to display the text, and the point size to use. "
17456 "This applies both to the file content, and to the author and revision "
17457 "information shown in the left pane."
17459 "你可以选择显示文本的字体和大小。它同时对文件内容,在左窗格显示的作者和版本信息"
17463 #: ../source/TortoiseGit_en.xml:12464
17468 #: ../source/TortoiseGit_en.xml:12466
17470 "Defines how many spaces to use for expansion when a tab character is found in "
17471 "the file content."
17472 msgstr "定义在文件中出现的制表字符用多少空格扩展。"
17475 #: ../source/TortoiseGit_en.xml:12475
17476 msgid "Registry Settings"
17480 #: ../source/TortoiseGit_en.xml:12477
17485 #: ../source/TortoiseGit_en.xml:12479
17487 "A few infrequently used settings are available only by editing the registry "
17489 msgstr "一些极不常用的设置只有通过直接修改注册表的方式才能生效。"
17492 #: ../source/TortoiseGit_en.xml:12487
17494 "You can specify a different location for the Git configuration file "
17495 "using registry location <literal>HKCU\\Software\\TortoiseGit\\ConfigDir</"
17496 "literal>. This will affect all TortoiseGit operations."
17498 "通过编辑注册表 <literal>HKCU\\Software\\TortoiseGit\\ConfigDir</literal>,你可"
17499 "以为Git的配置文件指定一个不同位置。这将影响到TSVN的所有操作。"
17502 #: ../source/TortoiseGit_en.xml:12496
17503 msgid "Cache tray icon"
17507 #: ../source/TortoiseGit_en.xml:12498
17509 "To add a cache tray icon for the TSVNCache program, create a <literal>DWORD</"
17510 "literal> key with a value of 1 at <literal>HKCU\\Software\\TortoiseGit"
17511 "\\CacheTrayIcon</literal>. This is really only useful for developers as it "
17512 "allows you to terminate the program gracefully."
17514 "要为TSVNCache程序添加一个缓存托盘图标,先在 <literal>HKCU\\Software"
17515 "\\TortoiseGit\\CacheTrayIcon</literal> 的位置,创建一个 <literal>DWORD</"
17516 "literal> 值,取值为1。这确实只对开发者才有点用处,因为它允许你来优雅地关闭"
17517 "TSVNCache,而不是在进程列表里kill掉它。(托盘图标可以显示当前已缓存了的文件夹数"
17521 #: ../source/TortoiseGit_en.xml:12508
17522 msgid "Filenames without extensions in auto-completion list"
17523 msgstr "在自动完成列表的文件名称没有扩展名"
17526 #: ../source/TortoiseGit_en.xml:12510
17528 "The auto-completion list shown in the commit message editor displays the "
17529 "names of files listed for commit. To also include these names with extensions "
17530 "removed, create a <literal>DWORD</literal> key with a value of 1 at "
17531 "<literal>HKCU\\Software\\TortoiseGit\\AutocompleteRemovesExtensions</literal>."
17535 #: ../source/TortoiseGit_en.xml:12520
17537 msgid "Explorer columns everywhere"
17541 #: ../source/TortoiseGit_en.xml:12522
17543 "The extra columns the TortoiseGit adds to the details view in Windows "
17544 "Explorer are normally only active in a working copy. If you want those to be "
17545 "accessible everywhere, not just in working copies, create a <literal>DWORD</"
17546 "literal> key with a value of 1 at <literal>HKCU\\Software\\TortoiseGit"
17547 "\\ColumnsEveryWhere</literal>."
17551 #: ../source/TortoiseGit_en.xml:12533
17552 msgid "Merge log separator"
17556 #: ../source/TortoiseGit_en.xml:12535
17558 "When you merge revisions from another branch, and merge tracking information "
17559 "is available, the log messages from the revisions you merge will be collected "
17560 "to make up a commit log message. A pre-defined string is used to separate the "
17561 "individual log messages of the merged revisions. If you prefer, you can "
17562 "create a <literal>SZ</literal> key at <literal>HKCU\\Software\\TortoiseGit"
17563 "\\MergeLogSeparator</literal> containing a separator string of your choice."
17567 #: ../source/TortoiseGit_en.xml:12548
17568 msgid "Always blame changes with TortoiseMerge"
17569 msgstr "始终用 TortoiseMerge 追溯改变"
17572 #: ../source/TortoiseGit_en.xml:12550
17574 "TortoiseGit allows you to assign external diff viewer. Most such viewers, "
17575 "however, are not suited for change blaming (<xref linkend=\"tsvn-dug-blame-"
17576 "diffs\"/>), so you might wish to fall back to TortoiseMerge in this case. To "
17577 "do so, create a <literal>DWORD</literal> key with a value of 1 at "
17578 "<literal>HKCU\\Software\\TortoiseGit\\DiffBlamesWithTortoiseMerge</literal>."
17582 #: ../source/TortoiseGit_en.xml:12561
17583 msgid "Current revision highlighting for folders in log dialog"
17587 #: ../source/TortoiseGit_en.xml:12563
17589 "The log dialog highlights the current working copy revision when the log is "
17590 "shown for a file. To do the same thing for a folder requires a working copy "
17591 "crawl, which can be a slow operation for large working copies. If you want to "
17592 "enable this feature you must create a <literal>DWORD</literal> registry key "
17593 "with value 1 at <literal>HKCU\\Software\\TortoiseGit\\RecursiveLogRev</"
17598 #: ../source/TortoiseGit_en.xml:12577
17599 msgid "Git Working Folders"
17600 msgstr "Git 的工作文件夹"
17603 #: ../source/TortoiseGit_en.xml:12579
17604 msgid ".svn folder"
17605 msgstr "名为 .svn 的文件夹"
17608 #: ../source/TortoiseGit_en.xml:12582
17609 msgid "_svn folder"
17610 msgstr "名为 _svn 的文件夹"
17613 #: ../source/TortoiseGit_en.xml:12584
17616 "VS.NET 2003 when used with web projects can't handle the <literal>.svn</"
17617 "literal> folders that Git uses to store its internal information. This "
17618 "is not a bug in Git. The bug is in VS.NET 2003 and the frontpage "
17619 "extensions it uses."
17621 "在使用VS.NET环境做web工程时,遇到.svn文件夹会出问题,但Git是要用这些文"
17622 "件夹来储存自己的内部信息的。这可不是Git的bug,这bug是VS.NET和它使用的"
17626 #: ../source/TortoiseGit_en.xml:12591
17627 msgid "Note that the bug is fixed in VS2005 and later versions."
17631 #: ../source/TortoiseGit_en.xml:12595
17634 "As of Version 1.3.0 of Git and TortoiseGit, you can set the "
17635 "environment variable <literal>SVN_ASP_DOT_NET_HACK</literal>. If that "
17636 "variable is set, then Git will use <literal>_svn</literal> folders "
17637 "instead of <literal>.svn</literal> folders. You must restart your shell for "
17638 "that environment variable to take effect. Normally that means rebooting your "
17639 "PC. To make this easier, you can now do this from the general settings page "
17640 "using a simple checkbox - refer to <xref linkend=\"tsvn-dug-settings-main\"/>."
17642 "在Git 1.3.0和TSVN 1.3.0里,你可以设置环境变量 "
17643 "<literal>SVN_ASP_DOT_NET_HACK</literal>,来通知Git用 <literal>_svn</"
17644 "literal> 文件夹替代 <literal>.svn</literal> 文件夹。你必须重启你系统的外壳程序"
17645 "来使环境变量生效,一般意味着你要重启PC。在1.4.0里这项替代工作就变得非常简单,"
17646 "你只需从常规设置页面选择一个单选框: 使用“_svn”目录替代“.svn”目录。——参考 "
17647 "<xref linkend=\"tsvn-dug-settings-main\"/>"
17650 #: ../source/TortoiseGit_en.xml:12605
17653 "For more information, and other ways to avoid this problem in the first "
17654 "place, check out the article about this in our <ulink url=\"http://"
17655 "TortoiseGit.net/aspdotnethack\"><citetitle>FAQ</citetitle></ulink>."
17657 "若想获得更多信息,了解避免该问题的其他方法,请读读我们 <ulink url=\"http://"
17658 "TortoiseGit.net/node/aspdotnethack\"><citetitle>FAQ</citetitle></ulink> 里的文"
17662 #: ../source/TortoiseGit_en.xml:12615
17667 #: ../source/TortoiseGit_en.xml:12621
17672 #: ../source/TortoiseGit_en.xml:12622
17674 "Even though TortoiseGit and TortoiseMerge are free, you can support the "
17675 "developers by sending in patches and play an active role in the development. "
17676 "You can also help to cheer us up during the endless hours we spend in front "
17677 "of our computers."
17679 "尽管TSVN和TortoiseMerge是免费的,你也可以通过提交补丁和在项目开发中扮演一些积"
17680 "极角色,来支持我们的开发人员。你同样也可以给点鼓励,它们会让每天在计算机前没日"
17681 "没夜拼命工作的我们感到非常的振奋。"
17684 #: ../source/TortoiseGit_en.xml:12628
17687 "While working on TortoiseGit we love to listen to music. And since we spend "
17688 "many hours on the project we need a <emphasis>lot</emphasis> of music. "
17689 "Therefore we have set up some wish-lists with our favourite music CDs and "
17690 "DVDs: <ulink url=\"http://TortoiseGit.tigris.org/donate.html"
17691 "\"><citetitle>http://TortoiseGit.tigris.org/donate.html</citetitle></ulink> "
17692 "Please also have a look at the list of people who contributed to the project "
17693 "by sending in patches or translations."
17695 "我们很爱在做TSVN开发工作时听听音乐。也因为花了不少时候忙这个项目,我们就需要 "
17696 "<emphasis>非常多</emphasis> 的音乐。因此我们写了一些愿望表,把我们喜欢的音乐CD"
17697 "和DVD列在 <ulink url=\"http://TortoiseGit.tigris.org/donate.html"
17698 "\"><citetitle>http://TortoiseGit.tigris.org/donate.html</citetitle></ulink>。"
17699 "同时也请关注一下那些为项目提交补丁和翻译的贡献者们的愿望: )"
17702 #: ../source/TortoiseGit_en.xml:12642
17703 msgid "The SubWCRev Program"
17704 msgstr "SubWCRev 程序"
17707 #: ../source/TortoiseGit_en.xml:12644
17708 msgid "version extraction"
17712 #: ../source/TortoiseGit_en.xml:12647
17717 #: ../source/TortoiseGit_en.xml:12650
17722 #: ../source/TortoiseGit_en.xml:12653
17724 msgid "version number in files"
17728 #: ../source/TortoiseGit_en.xml:12656
17730 "SubWCRev is Windows console program which can be used to read the status of a "
17731 "Git working copy and optionally perform keyword substitution in a "
17732 "template file. This is often used as part of the build process as a means of "
17733 "incorporating working copy information into the object you are building. "
17734 "Typically it might be used to include the revision number in an <quote>About</"
17737 "SubWCRev是Windows的命令行工具,可以阅读Git工作副本的状态,可以在模版中"
17738 "随意执行关键字替换。这通常是构建过程的一部分,将工作副本信息结合到创建的对象当"
17739 "中。通常情况下,可能是用来将修订版本号存入<quote>关于</quote>窗口。"
17742 #: ../source/TortoiseGit_en.xml:12670
17743 msgid "The SubWCRev Command Line"
17744 msgstr "SubWCRev 命令行"
17747 #: ../source/TortoiseGit_en.xml:12671
17749 "SubWCRev reads the Git status of all files in a working copy, "
17750 "excluding externals by default. It records the highest commit revision number "
17751 "found, and the commit timestamp of that revision, It also records whether "
17752 "there are local modifications in the working copy, or mixed update revisions. "
17753 "The revision number, update revision range and modification status are "
17754 "displayed on stdout."
17756 "SubWCRev阅读工作副本中所有文件的状态,缺省会忽略外部引用。它记录找到的最高修订"
17757 "版本号,以及那个修订版本的提交时间戳,它也会记录在本地工作副本是否有修改,或混"
17758 "合的修订版本。修订版本号码,更新修订版本范围和修改状态会显示在标准输出。"
17761 #: ../source/TortoiseGit_en.xml:12679
17763 "SubWCRev.exe is called from the command line or a script, and is controlled "
17764 "using the command line parameters. <screen>\n"
17765 "SubWCRev WorkingCopyPath [SrcVersionFile DstVersionFile] [-nmdfe]\n"
17768 "SubWCRev.exe从命令行或脚本中运行,使用命令行参数控制。<screen>\n"
17769 "SubWCRev WorkingCopyPath [SrcVersionFile DstVersionFile] [-nmdfe]\n"
17773 #: ../source/TortoiseGit_en.xml:12686
17775 "<literal>WorkingCopyPath</literal> is the path to the working copy being "
17776 "checked. You can only use SubWCRev on working copies, not directly on the "
17777 "repository. The path may be absolute or relative to the current working "
17780 "<literal>WorkingCopyPath</literal>是要检查的工作副本路径,你可以只对工作副本使"
17781 "用SubWCRev,而不是直接对版本库,这个路径可以是绝对路径,也可以是工作目录的相对"
17785 #: ../source/TortoiseGit_en.xml:12692
17787 "If you want SubWCRev to perform keyword substitution, so that fields like "
17788 "repository revision and URL are saved to a text file, you need to supply a "
17789 "template file <literal>SrcVersionFile</literal> and an output file "
17790 "<literal>DstVersionFile</literal> which contains the substituted version of "
17793 "如果你想让SubWCRev执行关键字替换,象版本库版本,地址等字段保存到文本文件,就需"
17794 "要提供一个模版文件<literal>SrcVersionFile</literal>,输出文件"
17795 "<literal>DstVersionFile</literal>就是模版替换之后的版本。"
17798 #: ../source/TortoiseGit_en.xml:12701
17800 "There are a number of optional switches which affect the way SubWCRev works. "
17801 "If you use more than one, they must be specified as a single group, eg. "
17802 "<literal>-nm</literal>, not <literal>-n -m</literal>. <placeholder-1/>"
17804 "有几个开关影响 SubWCRev工作。如果使用多个,必须用单个组指定,例如要用"
17805 "<literal>-nm</literal>,不能用<literal>-n -m</literal>。<placeholder-1/>"
17809 #: ../source/TortoiseGit_en.xml:12708 ../source/TortoiseGit_en.xml:12793
17810 msgid "List of available command line switches"
17811 msgstr "列出可用的命令行开关"
17817 #: ../source/TortoiseGit_en.xml:12714 ../source/TortoiseGit_en.xml:14002
17818 #: ../source/TortoiseGit_en.xml:15097 ../source/TortoiseGit_en.xml:16111
17827 #: ../source/TortoiseGit_en.xml:12715 ../source/TortoiseGit_en.xml:12800
17828 #: ../source/TortoiseGit_en.xml:13008 ../source/TortoiseGit_en.xml:14258
17829 #: ../source/TortoiseGit_en.xml:14667
17830 msgid "Description"
17834 #: ../source/TortoiseGit_en.xml:12721
17837 "If this switch is given, SubWCRev will exit with <placeholder-1/> if the "
17838 "working copy contains local modifications. This may be used to prevent "
17839 "building with uncommitted changes present."
17841 "如果给出这个开关,当工作副本包含本地修改时,SubWCRev 就会以ERRORLEVEL 7退出。"
17842 "它可以用来在有未提交的修改时阻止构建。"
17845 #: ../source/TortoiseGit_en.xml:12723
17846 msgid "ERRORLEVEL 7"
17847 msgstr "ERRORLEVEL 7"
17850 #: ../source/TortoiseGit_en.xml:12730
17853 "If this switch is given, SubWCRev will exit with <placeholder-1/> if the "
17854 "working copy contains mixed revisions. This may be used to prevent building "
17855 "with a partially updated working copy."
17857 "如果给出这个开关,当工作副本包含混合版本时,SubWCRev 就会以ERRORLEVEL 8退出。"
17858 "它可以用来在部分更新本地目录时阻止构建。"
17861 #: ../source/TortoiseGit_en.xml:12732
17862 msgid "ERRORLEVEL 8"
17863 msgstr "ERRORLEVEL 8"
17866 #: ../source/TortoiseGit_en.xml:12739
17869 "If this switch is given, SubWCRev will exit with <placeholder-1/> if the "
17870 "destination file already exists."
17871 msgstr "如果给出这个开关,当目的文件存在时时,SubWCRev 就会以ERRORLEVEL 9退出。"
17874 #: ../source/TortoiseGit_en.xml:12741
17875 msgid "ERRORLEVEL 9"
17876 msgstr "ERRORLEVEL 9"
17879 #: ../source/TortoiseGit_en.xml:12747
17881 "If this switch is given, SubWCRev will include the last-changed revision of "
17882 "folders. The default behaviour is to use only files when getting the revision "
17885 "如果给出这个开关,SubWCRev 就会包含文件夹的最后修改版本。默认行为是取得版本号"
17889 #: ../source/TortoiseGit_en.xml:12756
17892 "If this switch is given, SubWCRev will examine directories which are included "
17893 "with <placeholder-1/>, but only if they are from the same repository. The "
17894 "default behaviour is to ignore externals."
17896 "如果给出这个开关,SubWCRev 就会检查包含svn:externals的目录,但是只限于在同一版"
17900 #: ../source/TortoiseGit_en.xml:12759
17901 msgid "svn:externals"
17902 msgstr "svn:externals"
17905 #: ../source/TortoiseGit_en.xml:12766
17908 "If this switch is given, SubWCRev will output the revision numbers in HEX."
17909 msgstr "如果给出这个开关,当目的文件存在时时,SubWCRev 就会以ERRORLEVEL 9退出。"
17912 #: ../source/TortoiseGit_en.xml:12773
17915 "If this switch is given, SubWCRev will output the revision numbers in HEX, "
17916 "with '0X' prepended."
17917 msgstr "如果给出这个开关,当目的文件存在时时,SubWCRev 就会以ERRORLEVEL 9退出。"
17920 #: ../source/TortoiseGit_en.xml:12788
17921 msgid "Keyword Substitution"
17925 #: ../source/TortoiseGit_en.xml:12789
17927 "If a source and destination files are supplied, SubWCRev copies source to "
17928 "destination, performing keyword substitution as follows: <placeholder-1/>"
17930 "如果提供了源文件和目的文件,SubWCRev 会复制源文件到目标文件,执行如下所属的关"
17931 "键字替换: <placeholder-1/>"
17934 #: ../source/TortoiseGit_en.xml:12799
17939 #: ../source/TortoiseGit_en.xml:12806
17940 msgid "Replaced with the highest commit revision in the working copy."
17941 msgstr "用工作副本中最高的提交版本来替换"
17944 #: ../source/TortoiseGit_en.xml:12813
17946 "Replaced with the commit date/time of the highest commit revision. By "
17947 "default, international format is used: <placeholder-1/>. Alternatively, you "
17948 "can specify a custom format which will be used with <placeholder-2/>, for "
17949 "example: <placeholder-3/>. For a list of available formatting characters, "
17950 "look at the <ulink url=\"http://www.cppreference.com/stddate/strftime.html"
17951 "\"><placeholder-4/></ulink>."
17953 "用最高提交版本的日期/时间替换。默认使用国际化格式:<placeholder-1/>。作为选"
17954 "择,你可以指定 <placeholder-2/> 使用自定义格式,例如:<placeholder-3/>。格式字"
17955 "符的列表参见 <ulink url=\"http://www.cppreference.com/stddate/strftime.html"
17956 "\"><placeholder-4/></ulink>。"
17959 #: ../source/TortoiseGit_en.xml:12817
17960 msgid "yyyy-mm-dd hh:mm:ss"
17961 msgstr "yyyy-mm-dd hh:mm:ss"
17964 #: ../source/TortoiseGit_en.xml:12819
17966 msgstr "strftime()"
17969 #: ../source/TortoiseGit_en.xml:12821
17970 msgid "$WCDATE=%a %b %d %I:%M:%S %p$"
17971 msgstr "$WCDATE=%a %b %d %I:%M:%S %p$"
17974 #: ../source/TortoiseGit_en.xml:12824
17975 msgid "online reference"
17979 #: ../source/TortoiseGit_en.xml:12830
17982 "Replaced with the current system date/time. This can be used to indicate the "
17983 "build time. Time formatting is as described above."
17985 "用当前的系统日期/时间替换。它用来指出构建时间。同样为了避免混淆,使用国际化格"
17989 #: ../source/TortoiseGit_en.xml:12838
17991 "Replaced with the update revision range in the working copy. If the working "
17992 "copy is in a consistent state, this will be a single revision. If the working "
17993 "copy contains mixed revisions, either due to being out of date, or due to a "
17994 "deliberate update-to-revision, then the range will be shown in the form "
17997 "在工作目录用更新版本范围替换。如果工作目录处于一致的状态,它是一个单一版本。如"
17998 "果工作目录包含混合版本,或者是过时,或者是故意更新到版本,那么这个范围会用象"
18002 #: ../source/TortoiseGit_en.xml:12850
18004 "<placeholder-1/> is replaced with <placeholder-2/> if there are mixed update "
18005 "revisions, or <placeholder-3/> if not."
18007 "当有混合版本时用 <placeholder-2/> 替换 <placeholder-1/>,否则用 <placeholder-"
18011 #: ../source/TortoiseGit_en.xml:12851
18012 msgid "$WCMIXED?TText:FText$"
18013 msgstr "$WCMIXED?TText:FText$"
18020 #: ../source/TortoiseGit_en.xml:12852 ../source/TortoiseGit_en.xml:12860
18021 #: ../source/TortoiseGit_en.xml:12887 ../source/TortoiseGit_en.xml:12895
18022 #: ../source/TortoiseGit_en.xml:12904
18031 #: ../source/TortoiseGit_en.xml:12853 ../source/TortoiseGit_en.xml:12861
18032 #: ../source/TortoiseGit_en.xml:12888 ../source/TortoiseGit_en.xml:12897
18033 #: ../source/TortoiseGit_en.xml:12905
18038 #: ../source/TortoiseGit_en.xml:12858
18040 "<placeholder-1/> is replaced with <placeholder-2/> if there are local "
18041 "modifications, or <placeholder-3/> if not."
18043 "若本地存在修改,就用 <placeholder-2/> 替换 <placeholder-1/>,否则用 "
18044 "<placeholder-3/> 替换。"
18047 #: ../source/TortoiseGit_en.xml:12859
18048 msgid "$WCMODS?TText:FText$"
18049 msgstr "$WCMODS?TText:FText$"
18052 #: ../source/TortoiseGit_en.xml:12866
18054 "Replaced with the repository URL of the working copy path passed to SubWCRev."
18055 msgstr "用传递给SubWCRev的工作目录的版本库地址替换。"
18058 #: ../source/TortoiseGit_en.xml:12873
18059 msgid "Replaced with the current time and date"
18063 #: ../source/TortoiseGit_en.xml:12879
18064 msgid "Replaced with the current time and date in standard format"
18068 #: ../source/TortoiseGit_en.xml:12885
18071 "<placeholder-1/> is replaced with <placeholder-2/> if the entry is versioned, "
18072 "or <placeholder-3/> if not."
18074 "当有混合版本时用 <placeholder-2/> 替换 <placeholder-1/>,否则用 <placeholder-"
18078 #: ../source/TortoiseGit_en.xml:12886
18079 msgid "$WCINSVN?TText:FText$"
18080 msgstr "$WCINSVN?TText:FText$"
18083 #: ../source/TortoiseGit_en.xml:12893
18086 "<placeholder-1/> is replaced with <placeholder-2/> if the entry has the "
18087 "<placeholder-3/> property set, or <placeholder-4/> if not."
18089 "若本地存在修改,就用 <placeholder-2/> 替换 <placeholder-1/>,否则用 "
18090 "<placeholder-3/> 替换。"
18093 #: ../source/TortoiseGit_en.xml:12894
18094 msgid "$WCNEEDSLOCK?TText:FText$"
18095 msgstr "$WCNEEDSLOCK?TText:FText$"
18099 #: ../source/TortoiseGit_en.xml:12896 ../source/TortoiseGit_en.xml:13077
18100 msgid "svn:needs-lock"
18104 #: ../source/TortoiseGit_en.xml:12902
18107 "<placeholder-1/> is replaced with <placeholder-2/> if the entry is locked, or "
18108 "<placeholder-3/> if not."
18110 "若本地存在修改,就用 <placeholder-2/> 替换 <placeholder-1/>,否则用 "
18111 "<placeholder-3/> 替换。"
18114 #: ../source/TortoiseGit_en.xml:12903
18115 msgid "$WCISLOCKED?TText:FText$"
18116 msgstr "$WCISLOCKED?TText:FText$"
18119 #: ../source/TortoiseGit_en.xml:12910
18121 msgid "Replaced with the lock date"
18125 #: ../source/TortoiseGit_en.xml:12916
18126 msgid "Replaced with the name of the lock owner"
18130 #: ../source/TortoiseGit_en.xml:12922
18132 msgid "Replaced with the comment of the lock"
18133 msgstr "用工作副本中最高的提交版本来替换"
18136 #: ../source/TortoiseGit_en.xml:12935
18137 msgid "Keyword Example"
18141 #: ../source/TortoiseGit_en.xml:12936
18143 "The example below shows how keywords in a template file are substituted in "
18145 msgstr "下面的例子显示了模版文件中的关键字是如何在输出文件中被替换的。"
18147 #. (programlisting)
18148 #: ../source/TortoiseGit_en.xml:12940
18152 "// Test file for SubWCRev: testfile.tmpl\n"
18154 "char *Revision = \"$WCREV$\";\n"
18155 "char *Modified = \"$WCMODS?Modified:Not modified$\";\n"
18156 "char *Date = \"$WCDATE$\";\n"
18157 "char *Range = \"$WCRANGE$\";\n"
18158 "char *Mixed = \"$WCMIXED?Mixed revision WC:Not mixed$\";\n"
18159 "char *URL = \"$WCURL$\";\n"
18161 "#if $WCMODS?1:0$\n"
18162 "#error Source is modified\n"
18168 "// Test file for SubWCRev: testfile.tmpl\n"
18170 "char *Revision = \"$WCREV$\";\n"
18171 "char *Modified = \"$WCMODS?Modified:Not modified$\";\n"
18172 "char *Date = \"$WCDATE$\";\n"
18173 "char *Range = \"$WCRANGE$\";\n"
18174 "char *Mixed = \"$WCMIXED?Mixed revision WC:Not mixed$\";\n"
18175 "char *URL = \"$WCURL$\";\n"
18177 "#if $WCMODS?1:0$\n"
18178 "#error Source is modified\n"
18184 #: ../source/TortoiseGit_en.xml:12956
18186 "After running <literal>SubWCRev.exe path\\to\\workingcopy testfile.tmpl "
18187 "testfile.txt</literal>, the output file <literal>testfile.txt</literal> would "
18191 #. (programlisting)
18192 #: ../source/TortoiseGit_en.xml:12960
18196 "// Test file for SubWCRev: testfile.txt\n"
18198 "char *Revision = \"3701\";\n"
18199 "char *Modified = \"Modified\";\n"
18200 "char *Date = \"2005/06/15 11:15:12\";\n"
18201 "char *Range = \"3699:3701\";\n"
18202 "char *Mixed = \"Mixed revision WC\";\n"
18203 "char *URL = \"http://TortoiseGit.tigris.org/svn/TortoiseGit/...\n"
18204 "trunk/src/SubWCRev\";\n"
18207 "#error Source is modified\n"
18213 "// Test file for SubWCRev: testfile.txt\n"
18215 "char *Revision = \"3701\";\n"
18216 "char *Modified = \"Modified\";\n"
18217 "char *Date = \"2005/06/15 11:15:12\";\n"
18218 "char *Range = \"3699:3701\";\n"
18219 "char *Mixed = \"Mixed revision WC\";\n"
18220 "char *URL = \"http://TortoiseGit.tigris.org/svn/TortoiseGit/...\n"
18221 "trunk/src/SubWCRev\";\n"
18224 "#error Source is modified\n"
18230 #: ../source/TortoiseGit_en.xml:12978
18232 "A file like this will be included in the build so you would expect it to be "
18233 "versioned. Be sure to version the template file, not the generated file, "
18234 "otherwise each time you regenerate the version file you need to commit the "
18235 "change, which in turn means the version file needs to be updated."
18239 #: ../source/TortoiseGit_en.xml:12991
18240 msgid "COM interface"
18244 #: ../source/TortoiseGit_en.xml:12993
18245 msgid "COM SubWCRev interface"
18246 msgstr "SubWCRev 的 COM 接口"
18249 #: ../source/TortoiseGit_en.xml:12995
18251 "If you need to access Git revision information from other programs, "
18252 "you can use the COM interface of SubWCRev. The object to create is "
18253 "<literal>SubWCRev.object</literal>, and the following methods are supported: "
18256 "如果你需要在其它程序中访问 Git 版本信息,可以使用 SubWCRev 的 COM 接"
18257 "口。创建的对象名称是 <literal>SubWCRev.object</literal>,支持下述方法:"
18261 #: ../source/TortoiseGit_en.xml:13001
18262 msgid "COM/automation methods supported"
18263 msgstr "支持 COM/自动化 方法"
18266 #: ../source/TortoiseGit_en.xml:13007
18271 #: ../source/TortoiseGit_en.xml:13014
18273 "This method traverses the working copy gathering the revision information. "
18274 "Naturally you must call this before you can access the information using the "
18275 "remaining methods. The first parameter is the path. The second parameter "
18276 "should be true if you want to include folder revisions. Equivalent to the "
18277 "<placeholder-1/> command line switch. The third parameter should be true if "
18278 "you want to include svn:externals. Equivalent to the <placeholder-2/> command "
18283 #: ../source/TortoiseGit_en.xml:13020
18288 #: ../source/TortoiseGit_en.xml:13023
18293 #: ../source/TortoiseGit_en.xml:13029
18295 "The highest commit revision in the working copy. Equivalent to <placeholder-1/"
18297 msgstr "工作副本中的最高提交版本。等价于 <placeholder-1/>"
18300 #: ../source/TortoiseGit_en.xml:13031
18305 #: ../source/TortoiseGit_en.xml:13036
18307 "The commit date/time of the highest commit revision. Equivalent to "
18309 msgstr "最高提交版本的提交日期/时间。等价于 <placeholder-1/>"
18312 #: ../source/TortoiseGit_en.xml:13038
18317 #: ../source/TortoiseGit_en.xml:13043
18319 "The author of the highest commit revision, that is, the last person to commit "
18320 "changes to the working copy."
18321 msgstr "最高提交版本的作者,也就是工作副本中最后提交修改的人。"
18325 #: ../source/TortoiseGit_en.xml:13050 ../source/TortoiseGit_en.xml:13054
18330 #: ../source/TortoiseGit_en.xml:13050
18331 msgid "The minimum update revision, as shown in <placeholder-1/>"
18332 msgstr "最小的更新版本,在 <placeholder-1/> 中描述"
18335 #: ../source/TortoiseGit_en.xml:13054
18336 msgid "The maximum update revision, as shown in <placeholder-1/>"
18337 msgstr "最大的更新版本,在 <placeholder-1/> 中描述"
18340 #: ../source/TortoiseGit_en.xml:13058
18341 msgid "True if there are local modifications"
18342 msgstr "若本地存在修改,就为真"
18345 #: ../source/TortoiseGit_en.xml:13062
18347 "Replaced with the repository URL of the working copy path used in "
18348 "<placeholder-1/>. Equivalent to <placeholder-2/>"
18350 "在 <placeholder-1/> 中使用,用工作副本的版本库之 URL 替换。等价于 "
18354 #: ../source/TortoiseGit_en.xml:13064
18359 #: ../source/TortoiseGit_en.xml:13065
18364 #: ../source/TortoiseGit_en.xml:13070
18365 msgid "True if the item is versioned."
18369 #: ../source/TortoiseGit_en.xml:13076
18371 msgid "True if the item has the <placeholder-1/> property set."
18372 msgstr "将<placeholder-1/>的文件添加到版本控制 。"
18375 #: ../source/TortoiseGit_en.xml:13083
18376 msgid "True if the item is locked."
18380 #: ../source/TortoiseGit_en.xml:13089
18382 "String representing the date when the lock was created, or an empty string if "
18383 "the item is not locked."
18387 #: ../source/TortoiseGit_en.xml:13096
18389 "String representing the lock owner, or an empty string if the item is not "
18394 #: ../source/TortoiseGit_en.xml:13103
18395 msgid "The message entered when the lock was created."
18399 #: ../source/TortoiseGit_en.xml:13111
18401 "The following example shows how the interface might be used. <placeholder-1/>"
18402 msgstr "下述例子显示了如何使用接口。<placeholder-1/>"
18404 #. (programlisting)
18405 #: ../source/TortoiseGit_en.xml:13113
18409 "// testCOM.js - javascript file\n"
18410 "// test script for the SubWCRev COM/Automation-object\n"
18412 "filesystem = new ActiveXObject(\"Scripting.FileSystemObject\");\n"
18414 "subwcrevObject1 = new ActiveXObject(\"SubWCRev.object\");\n"
18415 "subwcrevObject2 = new ActiveXObject(\"SubWCRev.object\");\n"
18416 "subwcrevObject3 = new ActiveXObject(\"SubWCRev.object\");\n"
18417 "subwcrevObject4 = new ActiveXObject(\"SubWCRev.object\");\n"
18419 "subwcrevObject1.GetWCInfo(filesystem.GetAbsolutePathName(\".\"), 1, 1);\n"
18420 "subwcrevObject2.GetWCInfo(filesystem.GetAbsolutePathName(\"..\"), 1, 1);\n"
18421 "subwcrevObject3.GetWCInfo(filesystem.GetAbsolutePathName(\"SubWCRev.cpp\"), 1, 1);\n"
18422 "subwcrevObject4.GetWCInfo(filesystem.GetAbsolutePathName(\"..\\\\..\"), 1, 1);\n"
18424 "wcInfoString1 = \"Revision = \" + subwcrevObject1.Revision + \n"
18425 "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject1.MinRev + \n"
18426 "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject1.MaxRev + \n"
18427 "\t\t\t\t\"\\nDate = \" + subwcrevObject1.Date + \n"
18428 "\t\t\t\t\"\\nURL = \" + subwcrevObject1.Url + \"\\nAuthor = \" + \n"
18429 "\t\t\t\tsubwcrevObject1.Author + \"\\nHasMods = \" + \n"
18430 "\t\t\t\tsubwcrevObject1.HasModifications + \"\\nIsSvnItem = \" + \n"
18431 "\t\t\t\tsubwcrevObject1.IsSvnItem + \"\\nNeedsLocking = \" + \n"
18432 "\t\t\t\tsubwcrevObject1.NeedsLocking + \"\\nIsLocked = \" + \n"
18433 "\t\t\t\tsubwcrevObject1.IsLocked + \"\\nLockCreationDate = \" + \n"
18434 "\t\t\t\tsubwcrevObject1.LockCreationDate + \"\\nLockOwner = \" + \n"
18435 "\t\t\t\tsubwcrevObject1.LockOwner + \"\\nLockComment = \" + \n"
18436 "\t\t\t\tsubwcrevObject1.LockComment;\n"
18437 "wcInfoString2 = \"Revision = \" + subwcrevObject2.Revision + \n"
18438 "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject2.MinRev + \n"
18439 "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject2.MaxRev + \n"
18440 "\t\t\t\t\"\\nDate = \" + subwcrevObject2.Date + \n"
18441 "\t\t\t\t\"\\nURL = \" + subwcrevObject2.Url + \"\\nAuthor = \" + \n"
18442 "\t\t\t\tsubwcrevObject2.Author + \"\\nHasMods = \" + \n"
18443 "\t\t\t\tsubwcrevObject2.HasModifications + \"\\nIsSvnItem = \" + \n"
18444 "\t\t\t\tsubwcrevObject2.IsSvnItem + \"\\nNeedsLocking = \" + \n"
18445 "\t\t\t\tsubwcrevObject2.NeedsLocking + \"\\nIsLocked = \" + \n"
18446 "\t\t\t\tsubwcrevObject2.IsLocked + \"\\nLockCreationDate = \" + \n"
18447 "\t\t\t\tsubwcrevObject2.LockCreationDate + \"\\nLockOwner = \" + \n"
18448 "\t\t\t\tsubwcrevObject2.LockOwner + \"\\nLockComment = \" + \n"
18449 "\t\t\t\tsubwcrevObject2.LockComment;\n"
18450 "wcInfoString3 = \"Revision = \" + subwcrevObject3.Revision + \n"
18451 "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject3.MinRev + \n"
18452 "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject3.MaxRev + \n"
18453 "\t\t\t\t\"\\nDate = \" + subwcrevObject3.Date + \n"
18454 "\t\t\t\t\"\\nURL = \" + subwcrevObject3.Url + \"\\nAuthor = \" + \n"
18455 "\t\t\t\tsubwcrevObject3.Author + \"\\nHasMods = \" + \n"
18456 "\t\t\t\tsubwcrevObject3.HasModifications + \"\\nIsSvnItem = \" + \n"
18457 "\t\t\t\tsubwcrevObject3.IsSvnItem + \"\\nNeedsLocking = \" + \n"
18458 "\t\t\t\tsubwcrevObject3.NeedsLocking + \"\\nIsLocked = \" + \n"
18459 "\t\t\t\tsubwcrevObject3.IsLocked + \"\\nLockCreationDate = \" + \n"
18460 "\t\t\t\tsubwcrevObject3.LockCreationDate + \"\\nLockOwner = \" + \n"
18461 "\t\t\t\tsubwcrevObject3.LockOwner + \"\\nLockComment = \" + \n"
18462 "\t\t\t\tsubwcrevObject3.LockComment;\n"
18463 "wcInfoString4 = \"Revision = \" + subwcrevObject4.Revision + \n"
18464 "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject4.MinRev + \n"
18465 "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject4.MaxRev + \n"
18466 "\t\t\t\t\"\\nDate = \" + subwcrevObject4.Date + \n"
18467 "\t\t\t\t\"\\nURL = \" + subwcrevObject4.Url + \"\\nAuthor = \" + \n"
18468 "\t\t\t\tsubwcrevObject4.Author + \"\\nHasMods = \" + \n"
18469 "\t\t\t\tsubwcrevObject4.HasModifications + \"\\nIsSvnItem = \" + \n"
18470 "\t\t\t\tsubwcrevObject4.IsSvnItem + \"\\nNeedsLocking = \" + \n"
18471 "\t\t\t\tsubwcrevObject4.NeedsLocking + \"\\nIsLocked = \" + \n"
18472 "\t\t\t\tsubwcrevObject4.IsLocked + \"\\nLockCreationDate = \" + \n"
18473 "\t\t\t\tsubwcrevObject4.LockCreationDate + \"\\nLockOwner = \" + \n"
18474 "\t\t\t\tsubwcrevObject4.LockOwner + \"\\nLockComment = \" + \n"
18475 "\t\t\t\tsubwcrevObject4.LockComment;\n"
18477 "WScript.Echo(wcInfoString1);\n"
18478 "WScript.Echo(wcInfoString2);\n"
18479 "WScript.Echo(wcInfoString3);\n"
18480 "WScript.Echo(wcInfoString4);\n"
18484 "// testCOM.js - javascript file\n"
18485 "// test script for the SubWCRev COM/Automation-object\n"
18487 "filesystem = new ActiveXObject(\"Scripting.FileSystemObject\");\n"
18489 "subwcrevObject1 = new ActiveXObject(\"SubWCRev.object\");\n"
18490 "subwcrevObject2 = new ActiveXObject(\"SubWCRev.object\");\n"
18491 "subwcrevObject3 = new ActiveXObject(\"SubWCRev.object\");\n"
18492 "subwcrevObject4 = new ActiveXObject(\"SubWCRev.object\");\n"
18494 "subwcrevObject1.GetWCInfo(filesystem.GetAbsolutePathName(\".\"), 1, 1);\n"
18495 "subwcrevObject2.GetWCInfo(filesystem.GetAbsolutePathName(\"..\"), 1, 1);\n"
18496 "subwcrevObject3.GetWCInfo(filesystem.GetAbsolutePathName(\"SubWCRev.cpp\"), 1, 1);\n"
18497 "subwcrevObject4.GetWCInfo(filesystem.GetAbsolutePathName(\"..\\\\..\"), 1, 1);\n"
18499 "wcInfoString1 = \"Revision = \" + subwcrevObject1.Revision + \n"
18500 "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject1.MinRev + \n"
18501 "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject1.MaxRev + \n"
18502 "\t\t\t\t\"\\nDate = \" + subwcrevObject1.Date + \n"
18503 "\t\t\t\t\"\\nURL = \" + subwcrevObject1.Url + \"\\nAuthor = \" + \n"
18504 "\t\t\t\tsubwcrevObject1.Author + \"\\nHasMods = \" + \n"
18505 "\t\t\t\tsubwcrevObject1.HasModifications + \"\\nIsSvnItem = \" + \n"
18506 "\t\t\t\tsubwcrevObject1.IsSvnItem + \"\\nNeedsLocking = \" + \n"
18507 "\t\t\t\tsubwcrevObject1.NeedsLocking + \"\\nIsLocked = \" + \n"
18508 "\t\t\t\tsubwcrevObject1.IsLocked + \"\\nLockCreationDate = \" + \n"
18509 "\t\t\t\tsubwcrevObject1.LockCreationDate + \"\\nLockOwner = \" + \n"
18510 "\t\t\t\tsubwcrevObject1.LockOwner + \"\\nLockComment = \" + \n"
18511 "\t\t\t\tsubwcrevObject1.LockComment;\n"
18512 "wcInfoString2 = \"Revision = \" + subwcrevObject2.Revision + \n"
18513 "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject2.MinRev + \n"
18514 "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject2.MaxRev + \n"
18515 "\t\t\t\t\"\\nDate = \" + subwcrevObject2.Date + \n"
18516 "\t\t\t\t\"\\nURL = \" + subwcrevObject2.Url + \"\\nAuthor = \" + \n"
18517 "\t\t\t\tsubwcrevObject2.Author + \"\\nHasMods = \" + \n"
18518 "\t\t\t\tsubwcrevObject2.HasModifications + \"\\nIsSvnItem = \" + \n"
18519 "\t\t\t\tsubwcrevObject2.IsSvnItem + \"\\nNeedsLocking = \" + \n"
18520 "\t\t\t\tsubwcrevObject2.NeedsLocking + \"\\nIsLocked = \" + \n"
18521 "\t\t\t\tsubwcrevObject2.IsLocked + \"\\nLockCreationDate = \" + \n"
18522 "\t\t\t\tsubwcrevObject2.LockCreationDate + \"\\nLockOwner = \" + \n"
18523 "\t\t\t\tsubwcrevObject2.LockOwner + \"\\nLockComment = \" + \n"
18524 "\t\t\t\tsubwcrevObject2.LockComment;\n"
18525 "wcInfoString3 = \"Revision = \" + subwcrevObject3.Revision + \n"
18526 "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject3.MinRev + \n"
18527 "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject3.MaxRev + \n"
18528 "\t\t\t\t\"\\nDate = \" + subwcrevObject3.Date + \n"
18529 "\t\t\t\t\"\\nURL = \" + subwcrevObject3.Url + \"\\nAuthor = \" + \n"
18530 "\t\t\t\tsubwcrevObject3.Author + \"\\nHasMods = \" + \n"
18531 "\t\t\t\tsubwcrevObject3.HasModifications + \"\\nIsSvnItem = \" + \n"
18532 "\t\t\t\tsubwcrevObject3.IsSvnItem + \"\\nNeedsLocking = \" + \n"
18533 "\t\t\t\tsubwcrevObject3.NeedsLocking + \"\\nIsLocked = \" + \n"
18534 "\t\t\t\tsubwcrevObject3.IsLocked + \"\\nLockCreationDate = \" + \n"
18535 "\t\t\t\tsubwcrevObject3.LockCreationDate + \"\\nLockOwner = \" + \n"
18536 "\t\t\t\tsubwcrevObject3.LockOwner + \"\\nLockComment = \" + \n"
18537 "\t\t\t\tsubwcrevObject3.LockComment;\n"
18538 "wcInfoString4 = \"Revision = \" + subwcrevObject4.Revision + \n"
18539 "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject4.MinRev + \n"
18540 "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject4.MaxRev + \n"
18541 "\t\t\t\t\"\\nDate = \" + subwcrevObject4.Date + \n"
18542 "\t\t\t\t\"\\nURL = \" + subwcrevObject4.Url + \"\\nAuthor = \" + \n"
18543 "\t\t\t\tsubwcrevObject4.Author + \"\\nHasMods = \" + \n"
18544 "\t\t\t\tsubwcrevObject4.HasModifications + \"\\nIsSvnItem = \" + \n"
18545 "\t\t\t\tsubwcrevObject4.IsSvnItem + \"\\nNeedsLocking = \" + \n"
18546 "\t\t\t\tsubwcrevObject4.NeedsLocking + \"\\nIsLocked = \" + \n"
18547 "\t\t\t\tsubwcrevObject4.IsLocked + \"\\nLockCreationDate = \" + \n"
18548 "\t\t\t\tsubwcrevObject4.LockCreationDate + \"\\nLockOwner = \" + \n"
18549 "\t\t\t\tsubwcrevObject4.LockOwner + \"\\nLockComment = \" + \n"
18550 "\t\t\t\tsubwcrevObject4.LockComment;\n"
18552 "WScript.Echo(wcInfoString1);\n"
18553 "WScript.Echo(wcInfoString2);\n"
18554 "WScript.Echo(wcInfoString3);\n"
18555 "WScript.Echo(wcInfoString4);\n"
18559 #: ../source/TortoiseGit_en.xml:13192
18560 msgid "Frequently Asked Questions (FAQ)"
18564 #: ../source/TortoiseGit_en.xml:13194
18569 #: ../source/TortoiseGit_en.xml:13197
18572 "Because TortoiseGit is being developed all the time it is sometimes hard to "
18573 "keep the documentation completely up to date. We maintain an <ulink url="
18574 "\"http://TortoiseGit.tigris.org/faq.html\"><citetitle>online FAQ</citetitle></"
18575 "ulink> which contains a selection of the questions we are asked the most on "
18576 "the TortoiseGit mailing lists <email>tortoisegit-dev@googlegroups.com </email> and "
18577 "<email>tortoisegit-users@googlegroups.com </email>."
18579 "因为TortoiseGit一直处于开发状态,所以有时很难保持文档完全是最新的。我们在"
18580 "<ulink url=\"http://TortoiseGit.net/faq\">维护了一份<citetitle>交互式的在线"
18581 "FAQ</citetitle></ulink>。那里面包括了TortoiseGit邮件列表"
18582 "<email>tortoisegit-dev@googlegroups.com </email>里最常被问到的问题。"
18585 #: ../source/TortoiseGit_en.xml:13209
18588 "We also maintain a project <ulink url=\"http://issues.TortoiseGit.net"
18589 "\"><citetitle>Issue Tracker</citetitle></ulink> which tells you about some of "
18590 "the things we have on our To-Do list, and bugs which have already been fixed. "
18591 "If you think you have found a bug, or want to request a new feature, check "
18592 "here first to see if someone else got there before you."
18594 "我们还在<ulink url=\"http://issues.TortoiseGit.net\">维护了一个<citetitle>项目"
18595 "问题跟踪系统</citetitle></ulink>。在那里面可以查到哪些功能已经被加到了我们的"
18596 "To Do列表里,哪些错误已经被修正了。如果你认为发现了一个错误,或者需要一个新功"
18597 "能,请先到那里看看是否其他人已经在你之前提出过相同的内容了。"
18600 #: ../source/TortoiseGit_en.xml:13219
18602 "If you have a question which is not answered anywhere else, the best place to "
18603 "ask it is on one of the mailing lists. <email>tortoisegit-users@googlegroups.com </"
18604 "email> is the one to use if you have questions about using TortoiseGit. If "
18605 "you want to help out with the development of TortoiseGit, then you should "
18606 "take part in discussions on <email>tortoisegit-dev@googlegroups.com </email>."
18610 #: ../source/TortoiseGit_en.xml:13235
18611 msgid "How Do I..."
18615 #: ../source/TortoiseGit_en.xml:13237
18617 "This appendix contains solutions to problems/questions you might have when "
18618 "using TortoiseGit."
18619 msgstr "这个附录包括了 TortoiseGit 使用中可能碰到的一些困难或疑问的解决方法。"
18622 #: ../source/TortoiseGit_en.xml:13243
18623 msgid "Move/copy a lot of files at once"
18624 msgstr "一次移动或复制多个文件"
18627 #: ../source/TortoiseGit_en.xml:13245
18632 #: ../source/TortoiseGit_en.xml:13251
18637 #: ../source/TortoiseGit_en.xml:13253
18639 "Moving/Copying single files can be done by using "
18640 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Rename...</"
18641 "guimenuitem></menuchoice>. But if you want to move/copy a lot of files, this "
18642 "way is just too slow and too much work."
18644 "移动或复制单个文件可以通过 <menuchoice><guimenu>TortoiseGit</"
18645 "guimenu><guimenuitem> 重命名…</guimenuitem></menuchoice>实现。但是如果想移动或"
18646 "复制很多文件,这种方法就显得太慢而且工作量太大了。"
18649 #: ../source/TortoiseGit_en.xml:13262
18652 "The recommended way is by <action>right-dragging</action> the files to the "
18653 "new location. Simply <action>right-click</action> on the files you want to "
18654 "move/copy without releasing the mouse button. Then drag the files to the new "
18655 "location and release the mouse button. A context menu will appear where you "
18656 "can either choose <menuchoice><guimenu>Context Menu</guimenu><guimenuitem>SVN "
18657 "Copy versioned files here</guimenuitem></menuchoice>. or "
18658 "<menuchoice><guimenu>Context Menu</guimenu><guimenuitem>SVN Move versioned "
18659 "files here</guimenuitem></menuchoice>."
18661 "推荐的方法是: 用鼠标<action>右键拖拽</action>这些文件到新的位置。就是用鼠标"
18662 "<action>右键选中</action>想要移动或复制的文件,不要释放鼠标右键。把选中的文件"
18663 "拖拽到新的位置后释放鼠标右键。在出现的右键菜单里可以选择<menuchoice><guimenu>"
18664 "右键菜单</guimenu><guimenuitem>SVN 复制版本控制文件到当前位置</guimenuitem></"
18665 "menuchoice>或<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>SVN 移动版本"
18666 "控制文件到当前位置</guimenuitem></menuchoice>。"
18669 #: ../source/TortoiseGit_en.xml:13285
18670 msgid "Force users to enter a log message"
18674 #: ../source/TortoiseGit_en.xml:13287
18675 msgid "log message"
18679 #: ../source/TortoiseGit_en.xml:13290
18680 msgid "commit message"
18684 #: ../source/TortoiseGit_en.xml:13293
18685 msgid "empty message"
18689 #: ../source/TortoiseGit_en.xml:13295
18691 "There are two ways to prevent users from committing with an empty log "
18692 "message. One is specific to TortoiseGit, the other works for all Git "
18693 "clients, but requires access to the server directly."
18695 "有两种方法可以防止用户在不写日志的情况下进行提交操作。一种方式只对TortoiseGit"
18696 "有效,另外一种方法对任何Git的客户端都有效,但是需要直接访问服务器。"
18699 #: ../source/TortoiseGit_en.xml:13301
18700 msgid "Hook-script on the server"
18701 msgstr "服务器端的钩子脚本(Hook-script)"
18704 #: ../source/TortoiseGit_en.xml:13302
18706 "If you have direct access to the repository server, you can install a pre-"
18707 "commit hook script which rejects all commits with an empty or too short log "
18710 "如果能够直接访问服务器,可以安装一个pre-commit钩子脚本,通过这个脚本可以阻止所"
18711 "有空白日志或者日志太简短的提交操作。"
18714 #: ../source/TortoiseGit_en.xml:13307
18717 "In the repository folder on the server, there's a sub-folder <filename>hooks</"
18718 "filename> which contains some example hook scripts you can use. The file "
18719 "<filename>pre-commit.tmpl</filename> contains a sample script which will "
18720 "reject commits if no log message is supplied, or the message is too short. "
18721 "The file also contains comments on how to install/use this script. Just "
18722 "follow the instructions in that file."
18724 "在服务器端的版本库目录下有一个<filename>hooks</filename>子目录,这个子目录下有"
18725 "一些钩子脚本的例子。在 <filename>pre-commit.tmpl</filename> 这个例子里,示范了"
18726 "当日志是空白或者过于简短的时候如何拒绝提交。这个例子的注释里包括了安装和使用这"
18727 "个脚本的说明,按照那里面的指示做就能够使用了。"
18730 #: ../source/TortoiseGit_en.xml:13317
18732 "This method is the recommended way if your users also use other Git "
18733 "clients than TortoiseGit. The drawback is that the commit is rejected by the "
18734 "server and therefore users will get an error message. The client can't know "
18735 "before the commit that it will be rejected. If you want to make TortoiseGit "
18736 "have the <guibutton>OK</guibutton> button disabled until the log message is "
18737 "long enough then please use the method described below."
18739 "除了TortoiseGit,如果还要同时使用其他的Git客户端,推荐使用这种方法。缺"
18740 "点是提交是被服务器端拒绝的,因此用户会看到一个错误消息。客户端无法在提交之前就"
18741 "知道会被拒绝。如果希望在日志的内容达到足够长之前,TortoiseGit 的 "
18742 "<guibutton>OK</guibutton> 按钮处于无效的状态,请使用下面的方法。"
18745 #: ../source/TortoiseGit_en.xml:13328
18746 msgid "Project properties"
18747 msgstr "工程(Project)属性"
18750 #: ../source/TortoiseGit_en.xml:13329
18752 "TortoiseGit uses properties to control some of its features. One of those "
18753 "properties is the <literal>tsvn:logminsize</literal> property."
18755 "TortoiseGit 使用属性来控制它的一些特性。这其中有一个 <literal>tsvn:"
18756 "logminsize</literal> 属性。"
18759 #: ../source/TortoiseGit_en.xml:13333
18761 "If you set that property on a folder, then TortoiseGit will disable the "
18762 "<guibutton>OK</guibutton> button in all commit dialogs until the user has "
18763 "entered a log message with at least the length specified in the property."
18765 "如果给一个文件夹设置了这个属性,在提交对话框里的日志信息达到属性里定义的长度之"
18766 "前,提交对话框的 <guibutton>OK</guibutton> 按钮会处于无效状态。"
18769 #: ../source/TortoiseGit_en.xml:13338
18771 "For detailed information on those project properties, please refer to <xref "
18772 "linkend=\"tsvn-dug-propertypage\"/>"
18774 "关于工程属性的具体信息,请参照 <xref linkend=\"tsvn-dug-propertypage\"/>"
18777 #: ../source/TortoiseGit_en.xml:13345
18778 msgid "Update selected files from the repository"
18779 msgstr "从版本库里更新选定的文件到本地"
18782 #: ../source/TortoiseGit_en.xml:13349
18784 "Normally you update your working copy using <menuchoice><guimenu>TortoiseGit</"
18785 "guimenu><guimenuitem>Update</guimenuitem></menuchoice>. But if you only want "
18786 "to pick up some new files that a colleague has added without merging in any "
18787 "changes to other files at the same time, you need a different approach."
18789 "通常,我们可以使用<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>更新"
18790 "</guimenuitem></menuchoice>把工作副本更新到最新版。但是,如果只想更新某位同事"
18791 "添加的文件,而保留工作副本里其他文件的状态,就必须使用其它的方法。"
18794 #: ../source/TortoiseGit_en.xml:13359
18796 "Use <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Check for "
18797 "Modifications</guimenuitem></menuchoice>. and click on <guibutton>Check "
18798 "repository</guibutton> to see what has changed in the repository. Select the "
18799 "files you want to update locally, then use the context menu to update just "
18802 "选择<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>查看更新</"
18803 "guimenuitem></menuchoice>,然后点击<guibutton>查看版本库</guibutton>按钮,就能"
18804 "够看到上次更新以后版本库里发生了哪些变化。选中想更新到本地的文件,然后用右键菜"
18808 #: ../source/TortoiseGit_en.xml:13371
18810 msgid "Roll back (Undo) revisions in the repository"
18814 #: ../source/TortoiseGit_en.xml:13373
18819 #: ../source/TortoiseGit_en.xml:13379
18820 msgid "undo commit"
18824 #: ../source/TortoiseGit_en.xml:13382
18825 msgid "undo change"
18829 #: ../source/TortoiseGit_en.xml:13385
18830 msgid "Use the revision log dialog"
18834 #: ../source/TortoiseGit_en.xml:13386
18836 "The easiest way to revert the changes from a single revision, or from a range "
18837 "of revisions, is to use the revision log dialog. This is also the method to "
18838 "use of you want to discard recent changes and make an earlier revision the "
18841 "如果想恢复某个版本或者版本范围的变更,最简单的方法是使用版本日志对话框。这种方"
18842 "法也可以用来撤销最近的若干次变更,把以前的某个版本变成最新版。"
18845 #: ../source/TortoiseGit_en.xml:13395
18847 "Select the file or folder in which you need to revert the changes. If you "
18848 "want to revert all changes, this should be the top level folder."
18850 "选中想要恢复变更的文件或者文件夹。如果想要恢复所有的变更,需要选中最顶层的文件"
18854 #: ../source/TortoiseGit_en.xml:13402
18857 "Select <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Show Log</"
18858 "guimenuitem></menuchoice> to display a list of revisions. You may need to use "
18859 "<guibutton>Show All</guibutton> or <guibutton>Next 100</guibutton> to show "
18860 "the revision(s) you are interested in."
18862 "选择<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>显示日志</"
18863 "guimenuitem></menuchoice>,显示出版本列表。有可能需要使用<guibutton>全部显示</"
18864 "guibutton>或者<guibutton>下100</guibutton> 按钮,把想要恢复的版本显示出来。"
18867 #: ../source/TortoiseGit_en.xml:13415
18870 "Select the revision you wish to revert. If you want to undo a range of "
18871 "revisions, select the first one and hold the <keycap>Shift</keycap> key while "
18872 "selecting the last one. Note that for multiple revisions, the range must be "
18873 "unbroken with no gaps. <action>Right click</action> on the selected revision"
18874 "(s), then select <menuchoice><guimenu>Context Menu</"
18875 "guimenu><guimenuitem>Revert changes from this revision</guimenuitem></"
18878 "选中想要恢复的版本。如果想要恢复一个版本范围,选中想要恢复的第一个版本,按住"
18879 "shift键,然后选中想要恢复的最后一个版本。注意,当恢复多个版本的时候,这些版本"
18880 "必须在列表中是连续的。用鼠标<action>右键点击</action>选中的版本(段),然后选择"
18881 "<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>恢复这些版本的变更</"
18882 "guimenuitem></menuchoice>。"
18885 #: ../source/TortoiseGit_en.xml:13430
18888 "Or if you want to make an earlier revision the new HEAD revision, "
18889 "<action>right click</action> on the selected revision, then select "
18890 "<menuchoice><guimenu>Context Menu</guimenu><guimenuitem>Revert to this "
18891 "revision</guimenuitem></menuchoice>. This will discard <emphasis>all</"
18892 "emphasis> changes after the selected revision."
18894 "如果想要把以前的某个版本变成最新版本,<action>右键点击</action>选中的版本(范"
18895 "围),然后选择<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>恢复到此版本"
18896 "</guimenuitem></menuchoice>。就能够撤销被选中版本后面<emphasis>所有</emphasis>"
18901 #: ../source/TortoiseGit_en.xml:13443 ../source/TortoiseGit_en.xml:13500
18903 "You have reverted the changes within your working copy. Check the results, "
18904 "then commit the changes."
18905 msgstr "工作副本已经恢复到了变更以前的状态。检查恢复后的结果,然后提交变更。"
18908 #: ../source/TortoiseGit_en.xml:13449
18909 msgid "Use the merge dialog"
18913 #: ../source/TortoiseGit_en.xml:13450
18915 "To undo a larger range of revisions, you can use the Merge dialog. The "
18916 "previous method uses merging behind the scenes; this method uses it "
18919 "如果要撤销更大版本范围的变更,可以使用合并对话框。上一个方法在后台使用了合并的"
18920 "机制,在这个方法里我们直接使用合并功能。"
18923 #: ../source/TortoiseGit_en.xml:13457
18925 "In your working copy select <menuchoice><guimenu>TortoiseGit</"
18926 "guimenu><guimenuitem>Merge</guimenuitem></menuchoice>."
18928 "在工作副本上选择<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>合并</"
18929 "guimenuitem></menuchoice>。"
18932 #: ../source/TortoiseGit_en.xml:13466
18935 "In the <guilabel>From:</guilabel> field enter the full folder URL of the "
18936 "branch or tag containing the changes you want to revert in your working copy. "
18937 "This should come up as the default URL."
18939 "在<guilabel>起始: </guilabel>文本框里输入想要恢复的变更所在的分支或标签的URL。"
18943 #: ../source/TortoiseGit_en.xml:13474
18945 "In the <guilabel>From Revision</guilabel> field enter the revision number "
18946 "that you are currently at. If you are sure there is no-one else making "
18947 "changes, you can use the HEAD revision."
18949 "在<guilabel>起始版本</guilabel>文本框里输入当前工作副本的版本号。如果能够保证"
18950 "没有其他人会提交变更,可以使用<guilabel>最新版本</guilabel>。"
18953 #: ../source/TortoiseGit_en.xml:13482
18955 "make sure the <guilabel>Use \"From:\" URL</guilabel> checkbox is checked."
18956 msgstr "确认<guilabel>使用“起始: ”的 URL</guilabel>检查框处于被选中的状态。"
18959 #: ../source/TortoiseGit_en.xml:13488
18962 "In the <guilabel>To Revision</guilabel> field enter the revision number that "
18963 "you want to revert to, namely the one <emphasis>before</emphasis> the first "
18964 "revision to be reverted."
18966 "在<guilabel>结束版本</guilabel>里输入想要恢复到的版本号。比如,想要恢复的最小"
18967 "版本号的<emphasis>前</emphasis>一个版本号。"
18970 #: ../source/TortoiseGit_en.xml:13495
18971 msgid "Click <guibutton>OK</guibutton> to complete the merge."
18972 msgstr "点击<guibutton>合并</guibutton>按钮完成合并。"
18975 #: ../source/TortoiseGit_en.xml:13506
18976 msgid "Use <literal>svndumpfilter</literal>"
18977 msgstr "使用 <literal>svndumpfilter</literal>"
18980 #: ../source/TortoiseGit_en.xml:13507
18982 "Since TortoiseGit never loses data, your <quote>rolled back</quote> revisions "
18983 "still exist as intermediate revisions in the repository. Only the HEAD "
18984 "revision was changed to a previous state. If you want to make revisions "
18985 "disappear completely from your repository, erasing all trace that they ever "
18986 "existed, you have to use more extreme measures. Unless there is a really good "
18987 "reason to do this, it is <emphasis>not recommended</emphasis>. One possible "
18988 "reason would be that someone committed a confidential document to a public "
18991 "因为TortoiseGit绝不会丢弃数据,所以那些被回滚的版本仍然以中间版本的形式被保留"
18992 "在版本库里。只是最新版本已经回到了以前的状态。如果想让版本库里的某些版本彻底消"
18993 "失,擦去这些版本曾经存在过的所有痕迹,就必须采取更极端的手段。<emphasis>不推荐"
18994 "</emphasis>使用这种方法,除非有很好的理由。比如某人向一个公开的版本库里提交了"
18998 #: ../source/TortoiseGit_en.xml:13518
19001 "The only way to remove data from the repository is to use the Git "
19002 "command line tool <literal>svnadmin</literal>. You can find a description of "
19003 "how this works in the <ulink url=\"http://svnbook.red-bean.com/en/1.5/svn."
19004 "reposadmin.maint.html\"><citetitle>Repository Maintenance</citetitle></ulink>."
19006 "从版本库里删除数据的唯一方法就是使用<literal>svnadmin</literal>这个Git"
19007 "命令行工具。具体如何实现请参考<ulink url=\"svnbook.red-bean.com/en/1.2/svn."
19008 "reposadmin.maint.html\"><citetitle>版本库维护</citetitle></ulink>。"
19011 #: ../source/TortoiseGit_en.xml:13529
19012 msgid "Compare two revisions of a file"
19013 msgstr "比较一个文件的两个版本"
19016 #: ../source/TortoiseGit_en.xml:13531
19017 msgid "compare files"
19021 #: ../source/TortoiseGit_en.xml:13534
19026 #: ../source/TortoiseGit_en.xml:13536
19028 "If you want to compare two revisions in a file's history, for example "
19029 "revisions 100 and 200 of the same file, just use "
19030 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Show Log</"
19031 "guimenuitem></menuchoice> to list the revision history for that file. Pick "
19032 "the two revisions you want to compare then use <menuchoice><guimenu>Context "
19033 "Menu</guimenu><guimenuitem>Compare Revisions</guimenuitem></menuchoice>."
19035 "如果希望比较某个文件的两个历史版本,比如同一个文件修订版本100和200,可以用"
19036 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>显示日志</"
19037 "guimenuitem></menuchoice>列出这个文件的历史版本纪录,选择希望比较的两个版本,"
19038 "然后使用<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>比较版本差异</"
19039 "guimenuitem></menuchoice>。"
19042 #: ../source/TortoiseGit_en.xml:13550
19044 "If you want to compare the same file in two different trees, for example the "
19045 "trunk and a branch, you can use the repository browser to open up both trees, "
19046 "select the file in both places, then use <menuchoice><guimenu>Context Menu</"
19047 "guimenu><guimenuitem>Compare Revisions</guimenuitem></menuchoice>."
19049 "如果希望比较两个不同目录树下的同一个文件,比如主干和分支,可以使用版本库浏览器"
19050 "打开两个目录树,在两个目录树下选择同一个文件,然后使用 <menuchoice><guimenu>右"
19051 "键菜单</guimenu><guimenuitem>比较版本差异</guimenuitem></menuchoice>。"
19054 #: ../source/TortoiseGit_en.xml:13560
19056 "If you want to compare two trees to see what has changed, for example the "
19057 "trunk and a tagged release, you can use <menuchoice><guimenu>TortoiseGit</"
19058 "guimenu><guimenuitem>Revision Graph</guimenuitem></menuchoice> Select the two "
19059 "nodes to compare, then use <menuchoice><guimenu>Context Menu</"
19060 "guimenu><guimenuitem>Compare HEAD Revisions</guimenuitem></menuchoice>. This "
19061 "will show a list of changed files, and you can then select individual files "
19062 "to view the changes in detail. Alternatively use <menuchoice><guimenu>Context "
19063 "Menu</guimenu><guimenuitem>Unified Diff of HEAD Revisions</guimenuitem></"
19064 "menuchoice> to see a summary of all differences, with minimal context."
19066 "如果希望比较两个目录树下的所有变化,比如主干和某个发布标签,可以使用"
19067 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>版本分支图</"
19068 "guimenuitem></menuchoice>。选择两个想要比较的节点,然后使用"
19069 "<menuchoice><guimenu>右键菜单</guimenu><guimenuitem>比较最新版本</"
19070 "guimenuitem></menuchoice>,就会列出一个变更文件列表。在列表上选择单个文件就能"
19071 "够浏览该文件的具体变更内容。另外一个方法是使用<menuchoice><guimenu>右键菜单</"
19072 "guimenu><guimenuitem>最新版本的标准差异(Unified diff)</guimenuitem></"
19073 "menuchoice>显示所有变更的汇总和最少限度的上下文。"
19076 #: ../source/TortoiseGit_en.xml:13583
19077 msgid "Include a common sub-project"
19078 msgstr "包含一个普通的子项目"
19081 #: ../source/TortoiseGit_en.xml:13585
19082 msgid "common projects"
19086 #: ../source/TortoiseGit_en.xml:13591
19088 msgid "vendor projects"
19092 #: ../source/TortoiseGit_en.xml:13593
19094 "Sometimes you will want to include another project within your working copy, "
19095 "perhaps some library code. You don't want to make a duplicate of this code in "
19096 "your repository because then you would lose connection with the original (and "
19097 "maintained) code. Or maybe you have several projects which share core code. "
19098 "There are at least 3 ways of dealing with this."
19100 "有时候你希望在你的工作副本中引入另一个项目,或许是一些库代码,你不必在你的版本"
19101 "库复制一份,因为你会失去与原始(且维护的)代码的联系,或者你可能有多个项目共享同"
19102 "一份核心代码,有至少三种方法处理这个问题。"
19105 #: ../source/TortoiseGit_en.xml:13603
19106 msgid "Use svn:externals"
19107 msgstr "使用 svn:externals"
19110 #: ../source/TortoiseGit_en.xml:13604
19113 "Set the <literal>svn:externals</literal> property for a folder in your "
19114 "project. This property consists of one or more lines; each line has the name "
19115 "of a sub-folder which you want to use as the checkout folder for common code, "
19116 "and the repository URL that you want to be checked out there. For full "
19117 "details refer to <xref linkend=\"tsvn-dug-import-4\"/>."
19119 "在你的项目的一个目录设置<literal>svn:externals</literal>属性,这个属性包含一到"
19120 "多行;每一行都有一个用作检出的子目录的名字,和一个你希望检出的版本库URL,细节"
19121 "请参考<xref linkend=\"tsvn-dug-import-4\"/>。"
19124 #: ../source/TortoiseGit_en.xml:13612
19127 "Commit the new folder. Now when you update, Git will pull a copy of "
19128 "that project from its repository into your working copy. The sub-folders will "
19129 "be created automatically if required. Each time you update your main working "
19130 "copy, you will also receive the latest version of all external projects."
19132 "提交新的目录,然后当你更新时,Git会将那个项目的一个副本从它的版本库检出"
19133 "到工作目录,如果需要,子目录会自动创建,每当你更新你的工作副本,你会得到所有外"
19137 #: ../source/TortoiseGit_en.xml:13631
19139 "Of the three methods described, this is the only one which needs no setup on "
19140 "the client side. Once externals are specified in the folder properties, all "
19141 "clients will get populated folders when they update."
19143 "在已述的三种方法中,这是唯一不需要在客户端设置的方法。一旦在目录属性中指定了外"
19144 "部资源,所有客户端在更新时都会创建相应的目录。"
19147 #: ../source/TortoiseGit_en.xml:13639
19148 msgid "Use a nested working copy"
19152 #: ../source/TortoiseGit_en.xml:13640
19154 "Create a new folder within your project to contain the common code, but do "
19155 "not add it to Git"
19156 msgstr "在你的项目创建一个包含普通代码的新目录,但不将其添加到Git"
19159 #: ../source/TortoiseGit_en.xml:13644
19161 "Select <menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Checkout</"
19162 "guimenuitem></menuchoice> for the new folder and checkout a copy of the "
19163 "common code into it. You now have a separate working copy nested within your "
19164 "main working copy."
19166 "在新目录下选择<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>检出</"
19167 "guimenuitem></menuchoice>,在其中检出普通代码的副本,现在你在主要的工作副本有"
19171 #: ../source/TortoiseGit_en.xml:13654
19173 "The two working copies are independent. When you commit changes to the "
19174 "parent, changes to the nested WC are ignored. Likewise when you update the "
19175 "parent, the nested WC is not updated."
19177 "两个工作副本是独立的,当你在父目录提交修改,嵌套的工作副本会被忽略,同样当你更"
19178 "新你的父目录,嵌套的工作副本不会被更新。"
19181 #: ../source/TortoiseGit_en.xml:13661
19182 msgid "Use a relative location"
19186 #: ../source/TortoiseGit_en.xml:13662
19188 "If you use the same common core code in several projects, and you do not want "
19189 "to keep multiple working copies of it for every project that uses it, you can "
19190 "just check it out to a separate location which is related to all the other "
19191 "projects which use it. For example: <screen>\n"
19192 "C:\\Projects\\Proj1\n"
19193 "C:\\Projects\\Proj2\n"
19194 "C:\\Projects\\Proj3\n"
19195 "C:\\Projects\\Common\n"
19196 "</screen> and refer to the common code using a relative path, eg. <filename>.."
19197 "\\..\\Common\\DSPcore</filename>."
19199 "如果你在多个项目中使用共同的代码,而你不想为每个项目保存一份副本,你可以将其检"
19200 "出到一个单独的位置,与其他项目关联,例如: <screen>\n"
19201 "C:\\Projects\\Proj1\n"
19202 "C:\\Projects\\Proj2\n"
19203 "C:\\Projects\\Proj3\n"
19204 "C:\\Projects\\Common\n"
19205 "</screen>然后使用相对路径例如<filename>..\\..\\Common\\DSPcore</filename>引用"
19209 #: ../source/TortoiseGit_en.xml:13677
19211 "If your projects are scattered in unrelated locations you can use a variant "
19212 "of this, which is to put the common code in one location and use drive letter "
19213 "substitution to map that location to something you can hard code in your "
19214 "projects, eg. Checkout the common code to <filename>D:\\Documents\\Framework</"
19215 "filename> or <filename>C:\\Documents and Settings\\{login}\\My Documents"
19216 "\\framework</filename> then use <screen>\n"
19217 "SUBST X: \"D:\\Documents\\framework\"\n"
19218 "</screen> to create the drive mapping used in your source code. Your code can "
19219 "then use absolute locations. <screen>\n"
19220 "#include \"X:\\superio\\superio.h\"\n"
19223 "如果你的项目分散到不相关的位置,你可以使用一个变种方式,可以将通用代码放到一个"
19224 "位置,且使用盘符映射到你可以在项目硬编码的内容,例如将通用代码检出到"
19225 "<filename>D:\\Documents\\Framework</filename>或<filename>C:\\Documents and "
19226 "Settings\\{login}\\My Documents\\framework</filename>,然后使用<screen>\n"
19227 "SUBST X: \"D:\\Documents\\framework\"\n"
19228 "</screen>在你的源代码创建磁盘映射,你的代码可以使用绝对位置。<screen>\n"
19229 "#include \"X:\\superio\\superio.h\"\n"
19233 #: ../source/TortoiseGit_en.xml:13695
19235 "This method will only work in an all-PC environment, and you will need to "
19236 "document the required drive mappings so your team know where these mysterious "
19237 "files are. This method is strictly for use in closed development "
19238 "environments, and not recommended for general use."
19240 "这个方法职能工作在完全PC的环境,你所做的就是记录必须的磁盘映射,所以你的团队知"
19241 "道这些神秘文件的位置,这个方法只能用于紧密地开发环境,在普通的使用中并不推荐。"
19244 #: ../source/TortoiseGit_en.xml:13705
19245 msgid "Create a shortcut to a repository"
19246 msgstr "创建到版本库的快捷方式"
19249 #: ../source/TortoiseGit_en.xml:13707
19254 #: ../source/TortoiseGit_en.xml:13709
19256 "If you frequently need to open the repository browser at a particular "
19257 "location, you can create a desktop shortcut using the automation interface to "
19258 "TortoiseProc. Just create a new shortcut and set the target to: <screen>\n"
19259 "TortoiseProc.exe /command:repobrowser /path:\"url/to/repository\"\n"
19260 "</screen> Of course you need to include the real repository URL."
19262 "如果你经常需要从某个位置打开版本库浏览器,你可以使用 TortoiseProc 自动化接口创"
19263 "建一个快捷方式。只需要创建一个新的快捷方式,将目标设置为: <screen>\n"
19264 "TortoiseProc.exe /command:repobrowser /path:\"url/to/repository\"\n"
19265 "</screen> 当然你需要包含真实的版本库 URL。"
19268 #: ../source/TortoiseGit_en.xml:13721
19269 msgid "Ignore files which are already versioned"
19270 msgstr "忽略已经版本控制的文件"
19273 #: ../source/TortoiseGit_en.xml:13726
19275 msgid "remove versioning"
19279 #: ../source/TortoiseGit_en.xml:13729
19281 msgid "detach from repository"
19285 #: ../source/TortoiseGit_en.xml:13731
19287 "If you accidentally added some files which should have been ignored, how do "
19288 "you get them out of version control without losing them? Maybe you have your "
19289 "own IDE configuration file which is not part of the project, but which took "
19290 "you a long time to set up just the way you like it."
19292 "如果你不小心添加了一些应该被忽略的文件,你如何将它们从版本控制中去除而不会丢失"
19293 "它们?或许你有自己的IDE配置文件,不是项目的一部分,但将会花费很多时间使之按照"
19297 #: ../source/TortoiseGit_en.xml:13738
19299 "If you have not yet committed the add, then all you have to do is use "
19300 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Revert...</"
19301 "guimenuitem></menuchoice> to undo the add. You should then add the file(s) to "
19302 "the ignore list so they don't get added again later by mistake."
19304 "如果你还没有提交,你只需要<menuchoice><guimenu>TortoiseGit</"
19305 "guimenu><guimenuitem>Revert...</guimenuitem></menuchoice>来取消添加,你需要将"
19306 "这个文件添加到忽略列表,这样它们才不会被再次误添加近来。"
19309 #: ../source/TortoiseGit_en.xml:13748
19311 "If the files are already in the repository, you have to do a little more "
19312 "work. <placeholder-1/>"
19313 msgstr "如果文件已经存在于版本库,你需要做更多的工作。<placeholder-1/>"
19316 #: ../source/TortoiseGit_en.xml:13753
19318 "Hold the <keycap>Shift</keycap> key to get the extended context menu and use "
19319 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Delete (keep local)</"
19320 "guimenuitem></menuchoice> to mark the file/folder for deletion from the "
19321 "repository without losing the local copy."
19323 "用 <keycap>Shift</keycap> 键获得扩展上下文菜单,使用 "
19324 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>删除(保留版本副本)</"
19325 "guimenuitem></menuchoice> 标记文件/目录从版本库删除,但是保留版本副本。"
19328 #: ../source/TortoiseGit_en.xml:13765
19330 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Commit</guimenuitem></"
19331 "menuchoice> the parent folder."
19333 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>提交</guimenuitem></"
19337 #: ../source/TortoiseGit_en.xml:13774
19339 "Add the file/folder to the ignore list so you don't get into the same trouble "
19341 msgstr "将文件/目录增加到忽略列表,所以你不会再遇到同样的麻烦。"
19344 #: ../source/TortoiseGit_en.xml:13783
19345 msgid "Unversion a working copy"
19346 msgstr "从工作副本删除版本信息"
19349 #: ../source/TortoiseGit_en.xml:13784
19352 "If you have a working copy which you want to convert back to a plain folder "
19353 "tree without the <literal>.svn</literal> directories, you can simply export "
19354 "it to itself. Read <xref linkend=\"tsvn-dug-export-unversion\"/> to find out "
19357 "有时你可能想要建立一个没有<filename>.svn</filename>目录的本地的副本,比如建立"
19358 "一个源代码压缩包。要达到这个目的,请参考<xref linkend=\"tsvn-dug-export\"/>。"
19361 #: ../source/TortoiseGit_en.xml:13792
19362 msgid "Remove a working copy"
19366 #: ../source/TortoiseGit_en.xml:13793
19368 "If you have a working copy which you no longer need, how do you get rid of it "
19369 "cleanly? Easy - just delete it in Windows Explorer! Working copies are "
19370 "private local entities, and they are self-contained."
19374 #: ../source/TortoiseGit_en.xml:13801
19376 msgid "Useful Tips For Administrators"
19380 #: ../source/TortoiseGit_en.xml:13803
19382 "This appendix contains solutions to problems/questions you might have when "
19383 "you are responsible for deploying TortoiseGit to multiple client computers."
19384 msgstr "附录包含了将TortoiseGit部署到多个客户端电脑时可能发生问题的解决方案。"
19387 #: ../source/TortoiseGit_en.xml:13810
19388 msgid "Deploy TortoiseGit via group policies"
19389 msgstr "通过组策略部署 TortoiseGit"
19393 #: ../source/TortoiseGit_en.xml:13812 ../source/TortoiseGit_en.xml:13937
19394 msgid "group policies"
19399 #: ../source/TortoiseGit_en.xml:13815 ../source/TortoiseGit_en.xml:15919
19404 #: ../source/TortoiseGit_en.xml:13818
19409 #: ../source/TortoiseGit_en.xml:13821
19410 msgid "domain controller"
19414 #: ../source/TortoiseGit_en.xml:13824
19419 #: ../source/TortoiseGit_en.xml:13826
19422 "The TortoiseGit installer comes as an MSI file, which means you should have "
19423 "no problems adding that MSI file to the group policies of your domain "
19426 "TortoiseGit安装程序使用msi文件,意味着你必须能够将msi文件添加到你的域控制器的"
19430 #: ../source/TortoiseGit_en.xml:13831
19433 "A good walk-through on how to do that can be found in the knowledge base "
19434 "article 314934 from Microsoft: <ulink url=\"http://support.microsoft.com/?"
19435 "kbid=314934\"><citetitle>http://support.microsoft.com/?kbid=314934</"
19436 "citetitle></ulink>."
19438 "你可以从微软的知识库文章314934中看到如何做的方法: <ulink url=\"http://support."
19439 "microsoft.com/?kbid=314934\"><citetitle>http://support.microsoft.com/?"
19440 "kbid=314934</citetitle></ulink>。"
19443 #: ../source/TortoiseGit_en.xml:13838
19446 "Versions 1.3.0 and later of TortoiseGit must be installed under "
19447 "<emphasis>Computer Configuration</emphasis> and not under <emphasis>User "
19448 "Configuration</emphasis>. This is because those versions need the new CRT and "
19449 "MFC DLLs, which can only be deployed <emphasis>per computer</emphasis> and "
19450 "not <emphasis>per user</emphasis>. If you really must install TortoiseGit on "
19451 "a per user basis, then you must first install the MFC and CRT package version "
19452 "8 from Microsoft on each computer you want to install TortoiseGit as per user."
19454 "TortoiseGit的1.3和之后的版本,必须安装在<emphasis>电脑配置</emphasis>下,而不"
19455 "是<emphasis>用户配置</emphasis>。这是因为那些版本需要新的CRT和MFC的dll,只能部"
19456 "署在<emphasis>每电脑</emphasis>,而不是<emphasis>每用户</emphasis>。如果你必须"
19457 "以每用户防是安装TortoiseGit,你必须在每个需要安装TortoiseGit电脑上为每个用户安"
19461 #: ../source/TortoiseGit_en.xml:13850
19462 msgid "Redirect the upgrade check"
19466 #: ../source/TortoiseGit_en.xml:13852
19467 msgid "upgrade check"
19471 #: ../source/TortoiseGit_en.xml:13855
19472 msgid "check new version"
19476 #: ../source/TortoiseGit_en.xml:13858
19481 #: ../source/TortoiseGit_en.xml:13860
19483 "TortoiseGit checks if there's a new version available every few days. If "
19484 "there is a newer version available, a dialog shows up informing the user "
19487 "TortoiseGit会每隔几天检查是否有新版本可以下载,如果有新版本存在,会给用户显示"
19491 #: ../source/TortoiseGit_en.xml:13866
19492 msgid "The upgrade dialog"
19496 #: ../source/TortoiseGit_en.xml:13869
19498 "If you're responsible for a lot of users in your domain, you might want your "
19499 "users to use only versions you have approved and not have them install always "
19500 "the latest version. You probably don't want that upgrade dialog to show up so "
19501 "your users don't go and upgrade immediately."
19503 "如果你为你的域中的许多用户负责,你或许希望所有的用户使用你允许的版本,而不是最"
19504 "新的版本,你可能不希望显示升级对话框而使得用户立刻升级。"
19507 #: ../source/TortoiseGit_en.xml:13875
19510 "Versions 1.4.0 and later of TortoiseGit allow you to redirect that upgrade "
19511 "check to your intranet server. You can set the registry key <filename>HKCU"
19512 "\\Software\\TortoiseGit\\UpdateCheckURL</filename> (string value) to an URL "
19513 "pointing to a text file in your intranet. That text file must have the "
19514 "following format: <screen>\n"
19516 "A new version of TortoiseGit is available for you to download!\n"
19517 "http://192.168.2.1/downloads/TortoiseGit-1.4.1.6000-svn-1.4.0.msi\n"
19518 "</screen> The first line in that file is the version string. You must make "
19519 "sure that it matches the exact version string of the TortoiseGit installation "
19520 "package. The second line is a custom text, shown in the upgrade dialog. You "
19521 "can write there whatever you want. Just note that the space in the upgrade "
19522 "dialog is limited. Too long messages will get truncated! The third line is "
19523 "the URL to the new installation package. This URL is opened when the user "
19524 "clicks on the custom message label in the upgrade dialog. You can also just "
19525 "point the user to a web page instead of the MSI file directly. The URL is "
19526 "opened with the default web browser, so if you specify a web page, that page "
19527 "is opened and shown to the user. If you specify the MSI package, the browser "
19528 "will ask the user to save the MSI file locally."
19530 "Versions 1.4.0和之后的TortoiseGit允许你重定向你的升级检查到本地服务器,你可以"
19531 "设置注册表<filename>HKCU\\Software\\TortoiseGit\\UpdateCheckURL</filename>(字"
19532 "符串值)指向本地网的文本文件。这个文本文件必须是下面的格式: <screen>\n"
19534 "A new version of TortoiseGit is available for you to download!\n"
19535 "http://192.168.2.1/downloads/TortoiseGit-1.4.1.6000-svn-1.4.0.msi\n"
19536 "</screen>文件的第一行是版本串,你必须确定这与TortoiseGit安装包的信息完全一致。"
19537 "第二行是自定义字符,显示在省级对话框,你可以在里面写任何信息,只是要注意升级对"
19538 "话框中的数据长度是有限制的,过长的信息会被截断。第三行是最新安装包的位置,当用"
19539 "户选择升级时就会打开这个URL。你可以将文件指向网页,而不是msi文件,如果你指向了"
19540 "msi包,浏览器会询问用户在本地保存msi文件。"
19543 #: ../source/TortoiseGit_en.xml:13900
19544 msgid "Setting the <literal>SVN_ASP_DOT_NET_HACK</literal> environment variable"
19545 msgstr "设置 <literal>SVN_ASP_DOT_NET_HACK</literal> 环境变量"
19548 #: ../source/TortoiseGit_en.xml:13902
19549 msgid "SVN_ASP_DOT_NET_HACK"
19550 msgstr "SVN_ASP_DOT_NET_HACK"
19553 #: ../source/TortoiseGit_en.xml:13905
19558 #: ../source/TortoiseGit_en.xml:13908
19559 msgid "ASP projects"
19563 #: ../source/TortoiseGit_en.xml:13910
19566 "As of version 1.4.0 and later, the TortoiseGit installer doesn't provide the "
19567 "user with the option to set the <literal>SVN_ASP_DOT_NET_HACK</literal> "
19568 "environment variable anymore, since that caused many problems and confusions "
19569 "with users which always install <emphasis>everything</emphasis> no matter if "
19570 "they know what it is for."
19572 "1.4及之后的版本,TortoiseGit安装包不会支持用户在环境变量中使用"
19573 "SVN_ASP_DOT_NET_HACK,因为这样导致许多问题,也会使一直安装<emphasis>任何事情</"
19574 "emphasis>,而不管是什么的用户感到迷惑。"
19577 #: ../source/TortoiseGit_en.xml:13918
19580 "But that option is only hidden for the user. You still can force the "
19581 "TortoiseGit installer to set that environment variable by setting the "
19582 "<literal>ASPDOTNETHACK</literal> property to TRUE. For example, you can start "
19583 "the installer like this: <screen>\n"
19584 "msiexec /i TortoiseGit-1.4.0.msi ASPDOTNETHACK=TRUE\n"
19587 "但是这个选项只是对用户隐藏了,你仍然可以通过设置ASPDOTNETHACK属性为TRUE强制"
19588 "TortoiseGit安装程序设置这个环境变量。例如,你可以这样启动安装脚本: <screen>\n"
19589 "msiexec /i TortoiseGit-1.4.0.msi ASPDOTNETHACK=TRUE\n"
19593 #: ../source/TortoiseGit_en.xml:13929
19594 msgid "Disable context menu entries"
19598 #: ../source/TortoiseGit_en.xml:13931
19599 msgid "context menu entries"
19603 #: ../source/TortoiseGit_en.xml:13934
19604 msgid "disable functions"
19608 #: ../source/TortoiseGit_en.xml:13939
19610 "As of version 1.5.0 and later, TortoiseGit allows you to disable (actually, "
19611 "hide) context menu entries. Since this is a feature which should not be used "
19612 "lightly but only if there is a compelling reason, there is no GUI for this "
19613 "and it has to be done directly in the registry. This can be used to disable "
19614 "certain commands for users who should not use them. But please note that only "
19615 "the context menu entries in the <emphasis>explorer</emphasis> are hidden, and "
19616 "the commands are still available through other means, e.g. the command line "
19617 "or even other dialogs in TortoiseGit itself!"
19621 #: ../source/TortoiseGit_en.xml:13949
19623 "The registry keys which hold the information on which context menus to show "
19624 "are <filename>HKEY_CURRENT_USER\\Software\\TortoiseGit"
19625 "\\ContextMenuEntriesMaskLow</filename> and <filename>HKEY_CURRENT_USER"
19626 "\\Software\\TortoiseGit\\ContextMenuEntriesMaskHigh</filename>."
19628 "控制上下文菜单显示的注册表键是<filename>HKEY_CURRENT_USER\\Software"
19629 "\\TortoiseGit\\ContextMenuEntriesMaskLow</filename> 和 "
19630 "<filename>HKEY_CURRENT_USER\\Software\\TortoiseGit"
19631 "\\ContextMenuEntriesMaskHigh</filename>。"
19634 #: ../source/TortoiseGit_en.xml:13954
19636 "Each of these registry entries is a <literal>DWORD</literal> value, with each "
19637 "bit corresponding to a specific menu entry. A set bit means the corresponding "
19638 "menu entry is deactivated."
19640 "每个注册表条目都是 <literal>DWORD</literal> 类型,每位对应一个指定的菜单项。置"
19644 #: ../source/TortoiseGit_en.xml:13961
19645 msgid "Menu entries and their values"
19649 #: ../source/TortoiseGit_en.xml:13967
19654 #: ../source/TortoiseGit_en.xml:13968
19661 #: ../source/TortoiseGit_en.xml:13974 ../source/TortoiseGit_en.xml:14791
19662 #: ../source/TortoiseGit_en.xml:15819
19669 #: ../source/TortoiseGit_en.xml:13978 ../source/TortoiseGit_en.xml:14809
19670 #: ../source/TortoiseGit_en.xml:16125
19677 #: ../source/TortoiseGit_en.xml:13982 ../source/TortoiseGit_en.xml:14848
19678 #: ../source/TortoiseGit_en.xml:15845
19685 #: ../source/TortoiseGit_en.xml:13986 ../source/TortoiseGit_en.xml:15158
19686 #: ../source/TortoiseGit_en.xml:15762
19693 #: ../source/TortoiseGit_en.xml:13990 ../source/TortoiseGit_en.xml:15017
19694 #: ../source/TortoiseGit_en.xml:16058
19700 #: ../source/TortoiseGit_en.xml:13998 ../source/TortoiseGit_en.xml:16046
19707 #: ../source/TortoiseGit_en.xml:14010 ../source/TortoiseGit_en.xml:15121
19708 #: ../source/TortoiseGit_en.xml:15900
19713 #: ../source/TortoiseGit_en.xml:14014
19714 msgid "Create Repository here"
19715 msgstr "在当前位置创建版本库"
19719 #: ../source/TortoiseGit_en.xml:14018 ../source/TortoiseGit_en.xml:15073
19726 #: ../source/TortoiseGit_en.xml:14022 ../source/TortoiseGit_en.xml:15104
19727 #: ../source/TortoiseGit_en.xml:15972
19734 #: ../source/TortoiseGit_en.xml:14026 ../source/TortoiseGit_en.xml:15011
19735 #: ../source/TortoiseGit_en.xml:15879
19741 #: ../source/TortoiseGit_en.xml:14030 ../source/TortoiseGit_en.xml:15005
19746 #: ../source/TortoiseGit_en.xml:14034
19747 msgid "Update to revision"
19753 #: ../source/TortoiseGit_en.xml:14038 ../source/TortoiseGit_en.xml:14895
19754 #: ../source/TortoiseGit_en.xml:15891
19760 #: ../source/TortoiseGit_en.xml:14042 ../source/TortoiseGit_en.xml:14916
19766 #: ../source/TortoiseGit_en.xml:14046 ../source/TortoiseGit_en.xml:14991
19767 msgid "Edit Conflicts"
19773 #: ../source/TortoiseGit_en.xml:14050 ../source/TortoiseGit_en.xml:15146
19774 #: ../source/TortoiseGit_en.xml:16018
19779 #: ../source/TortoiseGit_en.xml:14054
19780 msgid "Check for modifications"
19784 #: ../source/TortoiseGit_en.xml:14058
19789 #: ../source/TortoiseGit_en.xml:14062
19790 msgid "Repository Browser"
19796 #: ../source/TortoiseGit_en.xml:14066 ../source/TortoiseGit_en.xml:15178
19797 #: ../source/TortoiseGit_en.xml:15783
19803 #: ../source/TortoiseGit_en.xml:14070 ../source/TortoiseGit_en.xml:15204
19804 msgid "Create Patch"
19809 #: ../source/TortoiseGit_en.xml:14074 ../source/TortoiseGit_en.xml:15214
19810 msgid "Apply Patch"
19811 msgstr "应用补丁(Apply Patch)"
19814 #: ../source/TortoiseGit_en.xml:14078
19815 msgid "Revision graph"
19820 #: ../source/TortoiseGit_en.xml:14082 ../source/TortoiseGit_en.xml:15944
19825 #: ../source/TortoiseGit_en.xml:14086
19826 msgid "Remove Lock"
19830 #: ../source/TortoiseGit_en.xml:14090
19835 #: ../source/TortoiseGit_en.xml:14094
19836 msgid "Diff with URL"
19840 #: ../source/TortoiseGit_en.xml:14098
19841 msgid "Delete unversioned items"
19842 msgstr "删除未版本控制的项目"
19845 #: ../source/TortoiseGit_en.xml:14102
19850 #: ../source/TortoiseGit_en.xml:14106
19855 #: ../source/TortoiseGit_en.xml:14110
19860 #: ../source/TortoiseGit_en.xml:14116
19863 "Example: to disable the <quote>Relocate</quote> the <quote>Delete unversioned "
19864 "items</quote> and the <quote>Settings</quote> menu entries, add the values "
19865 "assigned to the entries like this: <screen>\n"
19866 " 0x0000000000080000\n"
19867 "+ 0x0000000080000000\n"
19868 "+ 0x2000000000000000\n"
19869 "= 0x2000000080080000\n"
19870 "</screen> The lower <literal>DWORD</literal> value (<literal>0x80080000</"
19871 "literal>) must then be stored in <filename>HKEY_CURRENT_USER\\Software"
19872 "\\TortoiseGit\\ContextMenuEntriesMaskLow</filename>, the higher "
19873 "<literal>DWORD</literal> value (<literal>0x20000000</literal>) in "
19874 "<filename>HKEY_CURRENT_USER\\Software\\TortoiseGit"
19875 "\\ContextMenuEntriesMaskHigh</filename>."
19877 "例如,为了禁用“重新定位”,“删除未版本控制条目”和“配置”菜单项,如下增加这些条目"
19879 " 0x0000000000080000\n"
19880 "+ 0x0000000080000000\n"
19881 "+ 0x2000000000000000\n"
19882 "= 0x2000000080080000\n"
19883 "</screen><literal>DWORD</literal> 的较小值(<literal>0x80080000</literal>)必须"
19884 "保存到 <filename>HKEY_CURRENT_USER\\Software\\TortoiseGit"
19885 "\\ContextMenuEntriesMaskLow</filename>,<literal>DWORD</literal> 的较大值"
19886 "(<literal>0x20000000</literal>)必须保存到<filename>HKEY_CURRENT_USER\\Software"
19887 "\\TortoiseGit\\ContextMenuEntriesMaskHigh</filename>。"
19890 #: ../source/TortoiseGit_en.xml:14133
19891 msgid "To enable the menu entries again, simply delete the two registry keys."
19892 msgstr "简单删除这两个注册键,即可重新激活菜单项。"
19895 #: ../source/TortoiseGit_en.xml:14139
19896 msgid "Automating TortoiseGit"
19897 msgstr "TortoiseGit 操作"
19900 #: ../source/TortoiseGit_en.xml:14141
19902 "Since all commands for TortoiseGit are controlled through command line "
19903 "parameters, you can automate it with batch scripts or start specific commands "
19904 "and dialogs from other programs (e.g. your favourite text editor)."
19906 "因为所有的命令使用命令行参数控制,你可以使用特定的批处理脚本或从其它程序(例如"
19910 #: ../source/TortoiseGit_en.xml:14147
19912 "Remember that TortoiseGit is a GUI client, and this automation guide shows "
19913 "you how to make the TortoiseGit dialogs appear to collect user input. If you "
19914 "want to write a script which requires no input, you should use the official "
19915 "Git command line client instead."
19917 "请记住TortoiseGit是一个GUI客户端,这个自动化指导为你展示了让TortoiseGit对话框"
19918 "显示并收集客户输入,如果你希望编写不需要输入的脚本,你应该使用官方的Git"
19923 #: ../source/TortoiseGit_en.xml:14159 ../source/TortoiseGit_en.xml:14789
19924 msgid "TortoiseGit Commands"
19925 msgstr "TortoiseGit 命令"
19929 #: ../source/TortoiseGit_en.xml:14161 ../source/TortoiseGit_en.xml:14634
19935 #: ../source/TortoiseGit_en.xml:14164 ../source/TortoiseGit_en.xml:14637
19936 msgid "command line"
19940 #: ../source/TortoiseGit_en.xml:14166
19942 "The TortoiseGit GUI program is called <literal>TortoiseProc.exe</literal>. "
19943 "All commands are specified with the parameter <option>/command:abcd</option> "
19944 "where <literal>abcd</literal> is the required command name. Most of these "
19945 "commands need at least one path argument, which is given with <option>/path:"
19946 "\"some\\path\"</option>. In the following table the command refers to the "
19947 "<option>/command:abcd</option> parameter and the path refers to the <option>/"
19948 "path:\"some\\path\"</option> parameter."
19950 "TortoiseGit的GUI程序叫做<literal>TortoiseProc.exe</literal>。所有的命令通过参"
19951 "数<option>/command:abcd</option>指定,其中<literal>abcd</literal>是必须的命令"
19952 "名。大多数此类命令至少需要一个路径参数,使用<option>/path:\"some\\path\"</"
19953 "option>指定。在下面的命令表格中,命令引用的是<option>/command:abcd</option>参"
19954 "数,余下的代表了<option>/path:\"some\\path\"</option>参数。"
19957 #: ../source/TortoiseGit_en.xml:14175
19959 "Since some of the commands can take a list of target paths (e.g. committing "
19960 "several specific files) the <option>/path</option> parameter can take several "
19961 "paths, separated by a <literal>*</literal> character."
19963 "因为一些命令需要一个目标路径的列表(例如提交一些特定的文件),<option>/path</"
19964 "option>参数可以接收多个路径,使用<literal>*</literal>分割。"
19967 #: ../source/TortoiseGit_en.xml:14180
19969 "TortoiseGit uses temporary files to pass multiple arguments between the shell "
19970 "extension and the main program. From TortoiseGit 1.5.0 on and later, <option>/"
19971 "notempfile</option> parameter is obsolete and there is no need to add it "
19974 "TortoiseGit 使用临时文件在 shell 扩展和主程序之间传递多个参数。从 TortoiseGit "
19975 "1.5.0 开始,废弃<option>/notempfile</option>参数,不再需要增加此参数。"
19978 #: ../source/TortoiseGit_en.xml:14186
19981 "The progress dialog which is used for commits, updates and many more commands "
19982 "usually stays open after the command has finished until the user presses the "
19983 "<guibutton>OK</guibutton> button. This can be changed by checking the "
19984 "corresponding option in the settings dialog. But using that setting will "
19985 "close the progress dialog, no matter if you start the command from your batch "
19986 "file or from the TortoiseGit context menu."
19988 "进度对话框用来显示提交,更新等命令,结束后通常需要用户点<guibutton>确认</"
19989 "guibutton>按钮才退出,这个可以通过检查对应的对话框选项中设置。但是使用那个设置"
19990 "会关闭进度窗口,无论你是使用批处理文件还是用TortoiseGit右键菜单。"
19993 #: ../source/TortoiseGit_en.xml:14194
19996 "To specify a different location of the configuration file, use the parameter "
19997 "<option>/configdir:\"path\\to\\config\\directory\"</option>. This will "
19998 "override the default path, including any registry setting."
20000 "为了指定另外一个的配置文件,可以使用<option>/configdir:\"path\\to\\config\\dir"
20001 "\"</option>参数,这将会覆盖默认的路径和注册表设置。"
20004 #: ../source/TortoiseGit_en.xml:14199
20006 "To close the progress dialog at the end of a command automatically without "
20007 "using the permanent setting you can pass the <option>/closeonend</option> "
20008 "parameter. <placeholder-1/>"
20010 "如果想在进度对话框执行完毕后自动关闭,而又不必设置永久性的参数,可以传递"
20011 "<option>/closeonend</option>参数。<placeholder-1/>"
20014 #: ../source/TortoiseGit_en.xml:14205
20015 msgid "<option>/closeonend:0</option> don't close the dialog automatically"
20016 msgstr "<option>/closeonend:0</option> 不自动关闭对话框"
20019 #: ../source/TortoiseGit_en.xml:14210
20020 msgid "<option>/closeonend:1</option> auto close if no errors"
20021 msgstr "<option>/closeonend:1</option> 如果没发生错误则自动关闭对话框"
20024 #: ../source/TortoiseGit_en.xml:14215
20025 msgid "<option>/closeonend:2</option> auto close if no errors and conflicts"
20026 msgstr "<option>/closeonend:2</option> 如果没发生错误和冲突则自动关闭对话框"
20029 #: ../source/TortoiseGit_en.xml:14220
20031 "<option>/closeonend:3</option> auto close if no errors, conflicts and merges"
20032 msgstr "<option>/closeonend:3</option>如果没有错误、冲突和合并,会自动关闭"
20035 #: ../source/TortoiseGit_en.xml:14225
20037 "<option>/closeonend:4</option> auto close if no errors, conflicts and merges "
20038 "for local operations"
20039 msgstr "<option>/closeonend:4</option>如果没有错误、冲突和合并,会自动关闭"
20042 #: ../source/TortoiseGit_en.xml:14232
20044 "The table below lists all the commands which can be accessed using the "
20045 "TortoiseProc.exe command line. As described above, these should be used in "
20046 "the form <literal>/command:abcd</literal>. In the table, the <literal>/"
20047 "command</literal> prefix is omitted to save space."
20049 "下面的列表列出了所有可以使用TortoiseProc.exe访问的命令,就像上面的描述,必须使"
20050 "用<literal>/command:abcd</literal>的形式,在列表中,因为节省空间的关系省略了"
20051 "<literal>/command</literal>的前缀。"
20054 #: ../source/TortoiseGit_en.xml:14251
20055 msgid "List of available commands and options"
20059 #: ../source/TortoiseGit_en.xml:14257
20064 #: ../source/TortoiseGit_en.xml:14264
20065 msgid "Shows the about dialog. This is also shown if no command is given."
20066 msgstr "显示关于对话框。如果没有给命令也会显示。"
20069 #: ../source/TortoiseGit_en.xml:14271
20071 "Opens the log dialog. The <placeholder-1/> specifies the file or folder for "
20072 "which the log should be shown. Three additional options can be set: "
20073 "<placeholder-2/>, <placeholder-3/> and <placeholder-4/>"
20075 "打开日志对话框,<placeholder-1/> 指定了显示日志的文件或目录,另外还有三个选项"
20076 "可以设置: <placeholder-2/>、<placeholder-3/>和<placeholder-4/>"
20112 #: ../source/TortoiseGit_en.xml:14272 ../source/TortoiseGit_en.xml:14283
20113 #: ../source/TortoiseGit_en.xml:14291 ../source/TortoiseGit_en.xml:14298
20114 #: ../source/TortoiseGit_en.xml:14310 ../source/TortoiseGit_en.xml:14327
20115 #: ../source/TortoiseGit_en.xml:14335 ../source/TortoiseGit_en.xml:14343
20116 #: ../source/TortoiseGit_en.xml:14350 ../source/TortoiseGit_en.xml:14359
20117 #: ../source/TortoiseGit_en.xml:14365 ../source/TortoiseGit_en.xml:14372
20118 #: ../source/TortoiseGit_en.xml:14373 ../source/TortoiseGit_en.xml:14375
20119 #: ../source/TortoiseGit_en.xml:14381 ../source/TortoiseGit_en.xml:14397
20120 #: ../source/TortoiseGit_en.xml:14405 ../source/TortoiseGit_en.xml:14426
20121 #: ../source/TortoiseGit_en.xml:14433 ../source/TortoiseGit_en.xml:14443
20122 #: ../source/TortoiseGit_en.xml:14449 ../source/TortoiseGit_en.xml:14482
20123 #: ../source/TortoiseGit_en.xml:14488 ../source/TortoiseGit_en.xml:14501
20124 #: ../source/TortoiseGit_en.xml:14510 ../source/TortoiseGit_en.xml:14516
20125 #: ../source/TortoiseGit_en.xml:14524 ../source/TortoiseGit_en.xml:14559
20126 #: ../source/TortoiseGit_en.xml:14569 ../source/TortoiseGit_en.xml:14576
20127 #: ../source/TortoiseGit_en.xml:14583 ../source/TortoiseGit_en.xml:14592
20128 #: ../source/TortoiseGit_en.xml:14609
20134 #: ../source/TortoiseGit_en.xml:14275 ../source/TortoiseGit_en.xml:14451
20135 msgid "/startrev:xxx"
20136 msgstr "/startrev:xxx"
20140 #: ../source/TortoiseGit_en.xml:14276 ../source/TortoiseGit_en.xml:14452
20141 msgid "/endrev:xxx"
20142 msgstr "/endrev:xxx"
20145 #: ../source/TortoiseGit_en.xml:14277
20150 #: ../source/TortoiseGit_en.xml:14282
20152 "Opens the checkout dialog. The <placeholder-1/> specifies the target "
20153 "directory and the <placeholder-2/> specifies the URL to checkout from."
20155 "打开检出对话框,<placeholder-1/>指定了目标路径,而<placeholder-2/>制定了检出的"
20160 #: ../source/TortoiseGit_en.xml:14284 ../source/TortoiseGit_en.xml:14407
20165 #: ../source/TortoiseGit_en.xml:14290
20167 "Opens the import dialog. The <placeholder-1/> specifies the directory with "
20168 "the data to import."
20169 msgstr "打开导入对话框,<placeholder-1/> 指定了数据导入路径。"
20172 #: ../source/TortoiseGit_en.xml:14297
20174 "Updates the working copy in <placeholder-1/> to HEAD. If the option "
20175 "<placeholder-2/> is given then a dialog is shown to ask the user to which "
20176 "revision the update should go. To avoid the dialog specify a revision number "
20177 "<placeholder-3/>. Other options are <placeholder-4/> and <placeholder-5/>."
20179 "将工作副本的<placeholder-1/>更新到HEAD,如果给定参数<placeholder-2/>,就会弹出"
20180 "一个对话框询问用户需要更新到哪个修订版本。为了防止指定修订版本号<placeholder-"
20181 "3/>的对话框,需要选项<placeholder-4/>和<placeholder-5/>。"
20184 #: ../source/TortoiseGit_en.xml:14299
20189 #: ../source/TortoiseGit_en.xml:14302
20194 #: ../source/TortoiseGit_en.xml:14303
20195 msgid "/nonrecursive"
20196 msgstr "/nonrecursive"
20199 #: ../source/TortoiseGit_en.xml:14304
20200 msgid "/ignoreexternals"
20201 msgstr "/ignoreexternals"
20204 #: ../source/TortoiseGit_en.xml:14309
20206 "Opens the commit dialog. The <placeholder-1/> specifies the target directory "
20207 "or the list of files to commit. You can also specify the <placeholder-2/> "
20208 "switch to pass a predefined log message to the commit dialog. Or, if you "
20209 "don't want to pass the log message on the command line, use <placeholder-3/>, "
20210 "where <placeholder-4/> points to a file containing the log message. To pre-"
20211 "fill the bug ID box (in case you've set up integration with bug trackers "
20212 "properly), you can use the <placeholder-5/> to do that."
20214 "打开提交对话框,<placeholder-1/> 指定了目标路径或需要提交的文件列表,你也可以"
20215 "使用参数 <placeholder-2/> 给提交窗口传递预定义的日志信息,或者你不希望将日志传"
20216 "递给命令行,你也可以使用 <placeholder-3/>,<placeholder-4/> 指向了保存日志信息"
20217 "的文件。为了预先填入bug的ID(如果你设置了集成bug追踪属性),你可以使用"
20218 "<placeholder-5/>完成这个任务。"
20222 #: ../source/TortoiseGit_en.xml:14312 ../source/TortoiseGit_en.xml:14409
20228 #: ../source/TortoiseGit_en.xml:14315 ../source/TortoiseGit_en.xml:14412
20229 msgid "/logmsgfile:path"
20230 msgstr "/logmsgfile:path"
20234 #: ../source/TortoiseGit_en.xml:14316 ../source/TortoiseGit_en.xml:14413
20239 #: ../source/TortoiseGit_en.xml:14320
20240 msgid "/bugid:\"the bug id here\""
20241 msgstr "/bugid:\"the bug id here\""
20244 #: ../source/TortoiseGit_en.xml:14326
20245 msgid "Adds the files in <placeholder-1/> to version control."
20246 msgstr "将<placeholder-1/>的文件添加到版本控制 。"
20249 #: ../source/TortoiseGit_en.xml:14333
20251 "Reverts local modifications of a working copy. The <placeholder-1/> tells "
20252 "which items to revert."
20253 msgstr "恢复工作副本的本地修改,<placeholder-1/>说明恢复哪些条目。"
20256 #: ../source/TortoiseGit_en.xml:14341
20258 "Cleans up interrupted or aborted operations and unlocks the working copy in "
20259 "<placeholder-1/>."
20260 msgstr "清理中断和终止的操作,将工作副本的<placeholder-1/>解锁。"
20263 #: ../source/TortoiseGit_en.xml:14348
20265 "Marks a conflicted file specified in <placeholder-1/> as resolved. If "
20266 "<placeholder-2/> is given, then resolving is done without asking the user "
20267 "first if it really should be done."
20269 "将<placeholder-1/>指定文件的冲突标示为解决,如果给定<placeholder-2/>,解决不会"
20275 #: ../source/TortoiseGit_en.xml:14351 ../source/TortoiseGit_en.xml:14436
20276 #: ../source/TortoiseGit_en.xml:14602
20277 msgid "/noquestion"
20278 msgstr "/noquestion"
20281 #: ../source/TortoiseGit_en.xml:14358
20282 msgid "Creates a repository in <placeholder-1/>"
20283 msgstr "在<placeholder-1/>创建一个版本库。"
20286 #: ../source/TortoiseGit_en.xml:14364
20288 "Opens the switch dialog. The <placeholder-1/> specifies the target directory."
20289 msgstr "打开选项对话框。<placeholder-1/> 指定目标目录。"
20292 #: ../source/TortoiseGit_en.xml:14371
20294 "Exports the working copy in <placeholder-1/> to another directory. If the "
20295 "<placeholder-2/> points to an unversioned directory, a dialog will ask for an "
20296 "URL to export to the directory in <placeholder-3/>."
20298 "将<placeholder-1/>的工作副本导出到另一个目录,如果<placeholder-2/>指向另一个未"
20299 "版本控制目录,对话框会询问要导出到<placeholder-3/>的URL。"
20302 #: ../source/TortoiseGit_en.xml:14380
20305 "Opens the merge dialog. The <placeholder-1/> specifies the target directory. "
20306 "For merging a revision range, the following options are available: "
20307 "<placeholder-2/>, <placeholder-3/>. For merging two repository trees, the "
20308 "following options are available: <placeholder-4/>, <placeholder-5/>, "
20309 "<placeholder-6/> and <placeholder-7/>. These pre-fill the relevant fields in "
20310 "the merge dialog."
20312 "打开合并对话框,<placeholder-1/> 指定了目标目录,可以设置另外三个参数: "
20313 "<placeholder-2/>、<placeholder-3/>和<placeholder-4/>,这些值将会预先填入相关的"
20318 #: ../source/TortoiseGit_en.xml:14384 ../source/TortoiseGit_en.xml:14387
20319 msgid "/fromurl:URL"
20320 msgstr "/fromurl:URL"
20323 #: ../source/TortoiseGit_en.xml:14385
20324 msgid "/revrange:string"
20325 msgstr "/revrange:string"
20328 #: ../source/TortoiseGit_en.xml:14388
20330 msgstr "/tourl:URL"
20333 #: ../source/TortoiseGit_en.xml:14389
20334 msgid "/fromrev:xxx"
20335 msgstr "/fromrev:xxx"
20338 #: ../source/TortoiseGit_en.xml:14390
20340 msgstr "/torev:xxx"
20343 #: ../source/TortoiseGit_en.xml:14396
20346 "Opens the merge all dialog. The <placeholder-1/> specifies the target "
20348 msgstr "打开选项对话框。<placeholder-1/> 指定目标目录。"
20351 #: ../source/TortoiseGit_en.xml:14403
20354 "Brings up the branch/tag dialog. The <placeholder-1/> is the working copy to "
20355 "branch/tag from. And the <placeholder-2/> is the target URL. You can also "
20356 "specify the <placeholder-3/> switch to pass a predefined log message to the "
20357 "branch/tag dialog. Or, if you don't want to pass the log message on the "
20358 "command line, use <placeholder-4/>, where <placeholder-5/> points to a file "
20359 "containing the log message."
20361 "打开提交对话框,<placeholder-1/> 指定了目标路径或需要提交的文件列表,你也可以"
20362 "使用参数 <placeholder-2/> 给提交窗口传递预定义的日志信息,或者你不希望将日志传"
20363 "递给命令行,你也可以使用 <placeholder-3/>,<placeholder-4/> 指向了保存日志信息"
20364 "的文件。为了预先填入bug的ID(如果你设置了集成bug追踪属性),你可以使用"
20365 "<placeholder-5/>完成这个任务。"
20368 #: ../source/TortoiseGit_en.xml:14419
20369 msgid "Opens the settings dialog."
20373 #: ../source/TortoiseGit_en.xml:14425
20374 msgid "Removes the file(s) in <placeholder-1/> from version control."
20375 msgstr "从版本控制里移除<placeholder-1/>中的文件。"
20378 #: ../source/TortoiseGit_en.xml:14432
20380 "Renames the file in <placeholder-1/>. The new name for the file is asked with "
20381 "a dialog. To avoid the question about renaming similar files in one step, "
20382 "pass <placeholder-2/>."
20384 "重命名<placeholder-1/>的文件,会在对话框中询问新文件,为了防止一个步骤中询问相"
20385 "似文件,传递<placeholder-2/>。"
20388 #: ../source/TortoiseGit_en.xml:14441
20391 "Starts the external diff program specified in the TortoiseGit settings. The "
20392 "<placeholder-1/> specifies the first file. If the option <placeholder-2/> is "
20393 "set, then the diff program is started with those two files. If <placeholder-3/"
20394 "> is omitted, then the diff is done between the file in <placeholder-4/> and "
20395 "its BASE. To explicitly set the revision numbers use <placeholder-5/> and "
20396 "<placeholder-6/>. If <placeholder-7/> is set and <placeholder-8/> is not set, "
20397 "then the diff is done by first blaming the files with the given revisions."
20399 "启动 TortoiseGit 设置的外置比较程序,<placeholder-1/>指定了第一个文件,如果设"
20400 "置了<placeholder-2/>选项,比较程序会用这两个文件启动,如果省略<placeholder-3/"
20401 ">,比较程序会比较<placeholder-4/>和它的 BASE。"
20406 #: ../source/TortoiseGit_en.xml:14445 ../source/TortoiseGit_en.xml:14447
20407 #: ../source/TortoiseGit_en.xml:14453
20412 #: ../source/TortoiseGit_en.xml:14453
20417 #: ../source/TortoiseGit_en.xml:14461
20419 "Depending on the URLs and revisions to compare, this either shows a unified "
20420 "diff (if the option <option>unified</option> is set), a dialog with a list of "
20421 "files that have changed or if the URLs point to files starts the diff viewer "
20422 "for those two files."
20426 #: ../source/TortoiseGit_en.xml:14468
20428 "The options <option>url1</option>, <option>url2</option>, <option>revision1</"
20429 "option> and <option>revision2</option> must be specified. The options "
20430 "<option>pegrevision</option>, <option>ignoreancestry</option>, <option>blame</"
20431 "option> and <option>unified</option> are optional."
20435 #: ../source/TortoiseGit_en.xml:14479
20438 "Starts the conflict editor specified in the TortoiseGit settings with the "
20439 "correct files for the conflicted file in <placeholder-1/>."
20441 "打开TortoiseGit设置的冲突工具,在<placeholder-1/>中需要设置冲突文件的正确文"
20445 #: ../source/TortoiseGit_en.xml:14487
20447 "Opens the relocate dialog. The <placeholder-1/> specifies the working copy "
20448 "path to relocate."
20449 msgstr "打开重定位对话框,<placeholder-1/>指定了重定位的工作副本路径。"
20452 #: ../source/TortoiseGit_en.xml:14494
20453 msgid "Opens the help file."
20457 #: ../source/TortoiseGit_en.xml:14500
20459 "Opens the check-for-modifications dialog. The <placeholder-1/> specifies the "
20460 "working copy directory."
20461 msgstr "打开为修改检出对话框,<placeholder-1/> 指定了工作副本目录。"
20464 #: ../source/TortoiseGit_en.xml:14507
20467 "Starts the repository browser dialog, pointing to the URL of the working copy "
20468 "given in <placeholder-1/> or <placeholder-2/> points directly to an URL. An "
20469 "additional option <placeholder-3/> can be used to specify the revision which "
20470 "the repository browser should show. If the <placeholder-4/> is omitted, it "
20471 "defaults to HEAD. If <placeholder-5/> points to an URL, the <placeholder-6/> "
20472 "specifies the path from where to read and use the project properties."
20474 "打开版本库浏览对话框,URL为工作副本<placeholder-1/>指向的或<placeholder-2/>直"
20475 "接指出的,另外一个选项是<placeholder-3/>,可以用来指定要显示的修订版本号,如果"
20476 "省略<placeholder-4/>,缺省是HEAD。"
20480 #: ../source/TortoiseGit_en.xml:14512 ../source/TortoiseGit_en.xml:14514
20485 #: ../source/TortoiseGit_en.xml:14517
20486 msgid "/projectpropertiespath:path/to/wc"
20487 msgstr "/projectpropertiespath:path/to/wc"
20490 #: ../source/TortoiseGit_en.xml:14523
20492 "Adds all targets in <placeholder-1/> to the ignore list, i.e. adds the "
20493 "<placeholder-2/> property to those files."
20495 "将<placeholder-1/>中的对象加入到忽略列表,也就是将这些文件添加到 <placeholder-"
20499 #: ../source/TortoiseGit_en.xml:14525
20501 msgstr "svn:ignore"
20504 #: ../source/TortoiseGit_en.xml:14532
20505 msgid "Opens the blame dialog for the file specified in <option>/path</option>."
20506 msgstr "为 <option>/path</option> 选项指定的文件打开追溯对话框。"
20509 #: ../source/TortoiseGit_en.xml:14536
20511 "If the options <option>/startrev</option> and <option>/endrev</option> are "
20512 "set, then the dialog asking for the blame range is not shown but the revision "
20513 "values of those options are used instead."
20515 "如果设置了 <option>/startrev</option> 和 <option>/endrev</option> 选项,不会显"
20516 "示询问追溯范围对话框,直接使用这些选项中的版本号。"
20519 #: ../source/TortoiseGit_en.xml:14543
20521 "If the option <option>/line:nnn</option> is set, TortoiseBlame will open with "
20522 "the specified line number showing."
20524 "如果设置了 <option>/line:nnn</option> 选项,TortoiseBlame 会显示指定行数。"
20527 #: ../source/TortoiseGit_en.xml:14548
20529 "The options <option>/ignoreeol</option>, <option>/ignorespaces</option> and "
20530 "<option>/ignoreallspaces</option> are also supported."
20532 "也支持 <option>/ignoreeol</option>,<option>/ignorespaces</option> 和 "
20533 "<option>/ignoreallspaces</option> 选项。"
20536 #: ../source/TortoiseGit_en.xml:14557
20538 "Saves a file from an URL or working copy path given in <placeholder-1/> to "
20539 "the location given in <placeholder-2/>. The revision is given in <placeholder-"
20540 "3/>. This can be used to get a file with a specific revision."
20542 "将<placeholder-1/>指定的工作副本或URL的文件保存到<placeholder-2/>,修订版本号"
20543 "在<placeholder-3/>,这样可以得到特定修订版本的文件。"
20546 #: ../source/TortoiseGit_en.xml:14560
20547 msgid "/savepath:path"
20548 msgstr "/savepath:path"
20551 #: ../source/TortoiseGit_en.xml:14561
20552 msgid "/revision:xxx"
20553 msgstr "/revision:xxx"
20556 #: ../source/TortoiseGit_en.xml:14567
20557 msgid "Creates a patch file for the path given in <placeholder-1/>."
20558 msgstr "创建<placeholder-1/>下的补丁文件。"
20561 #: ../source/TortoiseGit_en.xml:14574
20562 msgid "Shows the revision graph for the path given in <placeholder-1/>."
20563 msgstr "显示<placeholder-1/>目录下的版本变化图。"
20566 #: ../source/TortoiseGit_en.xml:14581
20569 "Locks a file or all files in a directory given in <placeholder-1/>. The "
20570 "'lock' dialog is shown so the user can enter a comment for the lock."
20572 "锁定一个文件或一个目录内的所有文件。它会显示‘锁定’对话框,所以用户可以为锁定输"
20573 "入注释。<placeholder-1/>"
20576 #: ../source/TortoiseGit_en.xml:14590
20578 msgid "Unlocks a file or all files in a directory given in <placeholder-1/>."
20579 msgstr "解锁一个文件或一个目录内的所有文件... <placeholder-1/>"
20582 #: ../source/TortoiseGit_en.xml:14597
20585 "Rebuilds the windows icon cache. Only use this in case the windows icons are "
20586 "corrupted. A side effect of this (which can't be avoided) is that the icons "
20587 "on the desktop get rearranged. To suppress the message box, pass <placeholder-"
20590 "重建windows的图标缓存,只有windows的图标缓存出了问题才需要这样做,一个副作用就"
20591 "是(不可避免)桌面的图标会重新组织。<placeholder-1/>"
20594 #: ../source/TortoiseGit_en.xml:14607
20595 msgid "Shows the properties dialog for the path given in <placeholder-1/>."
20596 msgstr "显示 <placeholder-1/> 给出的路径之属性对话框。"
20599 #: ../source/TortoiseGit_en.xml:14616
20602 "Examples (which should be entered on one line): <screen>\n"
20603 "TortoiseProc.exe /command:commit\n"
20604 " /path:\"c:\\svn_wc\\file1.txt*c:\\svn_wc\\file2.txt\"\n"
20605 " /logmsg:\"test log message\" /closeonend:0\n"
20607 "TortoiseProc.exe /command:update /path:\"c:\\svn_wc\\\" /closeonend:0\n"
20609 "TortoiseProc.exe /command:log /path:\"c:\\svn_wc\\file1.txt\"\n"
20610 " /startrev:50 /endrev:60 /closeonend:0\n"
20613 "例子(必须在一行输入): <screen>\n"
20614 "TortoiseProc.exe /command:commit /path:\"c:\\svn_wc\\file1.txt*c:\\svn_wc"
20616 " /logmsg:\"test log message\" /closeonend\n"
20618 "TortoiseProc.exe /command:update /path:\"c:\\svn_wc\\\" /closeonend\n"
20620 "TortoiseProc.exe /command:log /path:\"c:\\svn_wc\\file1.txt\"\n"
20621 " /startrev:50 /endrev:60 /closeonend\n"
20625 #: ../source/TortoiseGit_en.xml:14632
20626 msgid "TortoiseIDiff Commands"
20627 msgstr "TortoiseIDiff 命令"
20630 #: ../source/TortoiseGit_en.xml:14639
20632 "The image diff tool has a few command line options which you can use to "
20633 "control how the tool is started. The program is called <literal>TortoiseIDiff."
20636 "图形比较工具有几个用于控制启动的命令行选项。程序名称是<literal>TortoiseIDiff."
20640 #: ../source/TortoiseGit_en.xml:14644
20642 "The table below lists all the options which can be passed to the image diff "
20643 "tool on the command line."
20644 msgstr "下表列出可以在命令行传递给图形比较工具的所有选项。"
20647 #: ../source/TortoiseGit_en.xml:14660
20648 msgid "List of available options"
20652 #: ../source/TortoiseGit_en.xml:14666
20657 #: ../source/TortoiseGit_en.xml:14673
20658 msgid "Path to the file shown on the left."
20659 msgstr "显示在左边的文件路径。"
20663 #: ../source/TortoiseGit_en.xml:14679 ../source/TortoiseGit_en.xml:14692
20665 "A title string. This string is used in the image view title instead of the "
20666 "full path to the image file."
20667 msgstr "标题字符串。此字符串用于图形视图标题,替换图形文件的全路径名称。"
20670 #: ../source/TortoiseGit_en.xml:14686
20671 msgid "Path to the file shown on the right."
20672 msgstr "显示在右边的文件路径。"
20675 #: ../source/TortoiseGit_en.xml:14699
20677 "If specified, the image diff tool switches to the overlay mode (alpha blend)."
20678 msgstr "如果指定,图形比较工具切换到重载模式(alpha 混合)。"
20681 #: ../source/TortoiseGit_en.xml:14706
20682 msgid "If specified, the image diff tool fits both images together."
20683 msgstr "如果指定,图形比较工具最大化所有图形。"
20686 #: ../source/TortoiseGit_en.xml:14713
20687 msgid "Shows the image info box."
20691 #: ../source/TortoiseGit_en.xml:14721
20693 "Example (which should be entered on one line): <screen>\n"
20694 "TortoiseIDiff.exe /left:\"c:\\images\\img1.jpg\" /lefttitle:\"image 1\"\n"
20695 " /right:\"c:\\images\\img2.jpg\" /righttitle:\"image 2\"\n"
20699 "样例(应该在同一行输入): <screen>\n"
20700 "TortoiseIDiff.exe /left:\"c:\\images\\img1.jpg\" /lefttitle:\"image 1\"\n"
20701 " /right:\"c:\\images\\img2.jpg\" /righttitle:\"image 2\"\n"
20706 #: ../source/TortoiseGit_en.xml:14733
20707 msgid "Command Line Interface Cross Reference"
20711 #: ../source/TortoiseGit_en.xml:14735
20712 msgid "command line client"
20716 #: ../source/TortoiseGit_en.xml:14738
20721 #: ../source/TortoiseGit_en.xml:14741
20723 "Sometimes this manual refers you to the main Git documentation, which "
20724 "describes Git in terms of the Command Line Interface (CLI). To help "
20725 "you understand what TortoiseGit is doing behind the scenes, we have compiled "
20726 "a list showing the equivalent CLI commands for each of TortoiseGit's GUI "
20729 "有时候,本手册会参考Git的文档,会以命令行方式(CLI)描述Git术语,"
20730 "为了理解TortoiseGit后台的操作,我们编辑了一份列表,用来展示命令行命令和对应的"
20731 "TortoiseGit的GUI操作的关系。"
20734 #: ../source/TortoiseGit_en.xml:14750
20736 "Even though there are CLI equivalents to what TortoiseGit does, remember that "
20737 "TortoiseGit does <emphasis>not</emphasis> call the CLI but uses the "
20738 "Git library directly."
20740 "即使有命令行对应TortoiseGit的操作,请记住TortoiseGit<emphasis>没有</emphasis>"
20741 "调用命令行,而是直接使用了Git库。"
20744 #: ../source/TortoiseGit_en.xml:14756
20747 "If you think you have found a bug in TortoiseGit, we may ask you to try to "
20748 "reproduce it using the CLI, so that we can distinguish TortoiseGit issues "
20749 "from Git issues. This reference tells you which command to try."
20751 "如果你发现了TortoiseGit的bug,我们会希望你能用命令行重现它,这样我们可以区分这"
20752 "是TSVN还是Git的问题,这个参考告诉你该找那个命令。"
20755 #: ../source/TortoiseGit_en.xml:14764
20756 msgid "Conventions and Basic Rules"
20760 #: ../source/TortoiseGit_en.xml:14765
20763 "In the descriptions which follow, the URL for a repository location is shown "
20764 "simply as <literal>URL</literal>, and an example might be <systemitem class="
20765 "\"url\">http://TortoiseGit.tigris.org/svn/TortoiseGit/trunk</systemitem>. The "
20766 "working copy path is shown simply as <literal>PATH</literal>, and an example "
20767 "might be <filename>C:\\TortoiseGit\\trunk</filename>."
20769 "在这个描述里,版本库位置URL使用<literal>URL</literal>显示,一个例子是"
20770 "<literal>http://TortoiseGit.tigris.org/svn/TortoiseGit/trunk</literal>,工作副"
20771 "本使用<literal>PATH</literal>显示,一个例子是<literal>C:\\TortoiseGit\\trunk</"
20775 #: ../source/TortoiseGit_en.xml:14775
20777 "Because TortoiseGit is a Windows Shell Extension, it is not able to use the "
20778 "notion of a current working directory. All working copy paths must be given "
20779 "using the absolute path, not a relative path."
20781 "因为TortoiseGit是一个Windows外壳扩展,它不能使用当前工作副本的概念,所有的工作"
20782 "副本必须使用绝对路径,而不是相对的。"
20785 #: ../source/TortoiseGit_en.xml:14782
20787 "Certain items are optional, and these are often controlled by checkboxes or "
20788 "radio buttons in TortoiseGit. These options are shown in [square brackets] in "
20789 "the command line definitions."
20791 "特定项目是可选的,TortoiseGit里这是通过多选项和单选项控制的,这些选项是在命令"
20795 #: ../source/TortoiseGit_en.xml:14792
20799 "svn checkout [-N] [--ignore-externals] [-r rev] URL PATH\n"
20802 "svn checkout [-N] [--ignore-externals] [-r rev] URL PATH\n"
20805 #: ../source/TortoiseGit_en.xml:14795
20807 "If <guilabel>Only checkout the top folder</guilabel> is checked, use the "
20808 "<literal>-N</literal> switch."
20810 "如果希望<guilabel>只检出顶级目录</guilabel>被选中,使用<literal>-N</literal>选"
20815 #: ../source/TortoiseGit_en.xml:14799 ../source/TortoiseGit_en.xml:14842
20817 "If <guilabel>Omit externals</guilabel> is checked, use the <literal>--ignore-"
20818 "externals</literal> switch."
20820 "如果希望<guilabel>忽略外部</guilabel>被选中,使用<literal>--ignore-externals</"
20824 #: ../source/TortoiseGit_en.xml:14803
20826 "If you are checking out a specific revision, specify that after the URL using "
20827 "<literal>-r</literal> switch."
20828 msgstr "如果你正在检出特定的修订版本,在URL后使用<literal>-r</literal>指定。"
20831 #: ../source/TortoiseGit_en.xml:14810
20835 "svn info URL_of_WC\n"
20836 "svn update [-r rev] PATH\n"
20839 "svn info URL_of_WC\n"
20840 "svn update [-r rev] PATH\n"
20843 #: ../source/TortoiseGit_en.xml:14814
20845 "Updating multiple items is currently not an atomic operation in Git. "
20846 "So TortoiseGit first finds the HEAD revision of the repository, and then "
20847 "updates all items to that particular revision number to avoid creating a "
20848 "mixed revision working copy."
20850 "更新多个项目在Git还不是原子操作,所以TortoiseGit会首先找到版本库的HEAD"
20851 "修订版本,然后将所有项目更新到特定修订版本,防止出现混合修订版本的工作副本。"
20854 #: ../source/TortoiseGit_en.xml:14821
20856 "If only one item is selected for updating or the selected items are not all "
20857 "from the same repository, TortoiseGit just updates to HEAD."
20859 "如果只有一个项目被选中更新,或选中的项目来自不同的版本库,TortoiseGit只会更新"
20863 #: ../source/TortoiseGit_en.xml:14826
20865 "No command line options are used here. <guilabel>Update to revision</"
20866 "guilabel> also implements the update command, but offers more options."
20868 "没有使用命令行选项,<guilabel>更新到修订版本</guilabel>也实现了更新命令,但提"
20872 #: ../source/TortoiseGit_en.xml:14833
20873 msgid "Update to Revision"
20877 #: ../source/TortoiseGit_en.xml:14834
20881 "svn info URL_of_WC\n"
20882 "svn update [-r rev] [-N] [--ignore-externals] PATH\n"
20885 "svn info URL_of_WC\n"
20886 "svn update [-r rev] [-N] [--ignore-externals] PATH\n"
20889 #: ../source/TortoiseGit_en.xml:14838
20891 "If <guilabel>Only update the top folder</guilabel> is checked, use the "
20892 "<literal>-N</literal> switch."
20894 "如果希望<guilabel>只更新顶级目录</guilabel>,使用<literal>-N</literal>选项。"
20897 #: ../source/TortoiseGit_en.xml:14849
20899 "In TortoiseGit, the commit dialog uses several Git commands. The first "
20900 "stage is a status check which determines the items in your working copy which "
20901 "can potentially be committed. You can review the list, diff files against "
20902 "BASE and select the items you want to be included in the commit."
20904 "在TortoiseGit,提交对话框使用Git命令,第一部分是检查工作副本哪些文件可"
20905 "能被提交,然后你可以检查列表,比较与BASE的区别,选择你希望提交包含的项目。"
20910 #: ../source/TortoiseGit_en.xml:14856 ../source/TortoiseGit_en.xml:15018
20911 #: ../source/TortoiseGit_en.xml:15046
20915 "svn status -v PATH\n"
20918 "svn status -v PATH\n"
20922 #: ../source/TortoiseGit_en.xml:14859 ../source/TortoiseGit_en.xml:14947
20924 "If <guilabel>Show unversioned files</guilabel> is checked, TortoiseGit will "
20925 "also show all unversioned files and folders in the working copy hierarchy, "
20926 "taking account of the ignore rules. This particular feature has no direct "
20927 "equivalent in Git, as the <literal>svn status</literal> command does "
20928 "not descend into unversioned folders."
20930 "如果选择了<guilabel>显示未版本控制的文件</guilabel>,TortoiseGit会遵循忽略规则"
20931 "显示工作目录中所有未版本控制的文件和文件夹。这个特性在Git中没有等价操"
20932 "作,因为<literal>svn status</literal> 命令不扫描未版本控制的文件夹。"
20935 #: ../source/TortoiseGit_en.xml:14867
20937 "If you check any unversioned files and folders, those items will first be "
20938 "added to your working copy."
20940 "如果你选择了未版本控制的文件和文件夹,这些项目都会先增加到你的工作副本。"
20944 #: ../source/TortoiseGit_en.xml:14871 ../source/TortoiseGit_en.xml:15159
20948 "svn add PATH...\n"
20951 "svn add PATH...\n"
20954 #: ../source/TortoiseGit_en.xml:14874
20956 "When you click on OK, the Git commit takes place. If you have left all "
20957 "the file selection checkboxes in their default state, TortoiseGit uses a "
20958 "single recursive commit of the working copy. If you deselect some files, then "
20959 "a non-recursive commit (<literal>-N</literal>) must be used, and every path "
20960 "must be specified individually on the commit command line."
20962 "当你点击确认,开始执行Git提交。如果你不修改所有的文件检查框,"
20963 "TortoiseGit 会递归提交工作副本。如果你取消选择一些文件,那么就必须使用非递归提"
20964 "交 (<literal>-N</literal>) ,每个路径都必须在命令行上单独指定。"
20967 #: ../source/TortoiseGit_en.xml:14882
20971 "svn commit -m \"LogMessage\" [-N] [--no-unlock] PATH...\n"
20974 "svn commit -m \"LogMessage\" [-N] [--no-unlock] PATH...\n"
20979 #: ../source/TortoiseGit_en.xml:14885 ../source/TortoiseGit_en.xml:15091
20980 #: ../source/TortoiseGit_en.xml:15172
20982 "<literal>LogMessage</literal> here represents the contents of the log message "
20983 "edit box. This can be empty."
20984 msgstr "<literal>日志消息</literal>是日志编辑框的内容。它可以为空。"
20987 #: ../source/TortoiseGit_en.xml:14889
20989 "If <guilabel>Keep locks</guilabel> is checked, use the <literal>--no-unlock</"
20992 "如果选择了<guilabel>保持锁</guilabel>,就使用<literal>--no-unlock</literal>开"
20996 #: ../source/TortoiseGit_en.xml:14896
21006 #: ../source/TortoiseGit_en.xml:14899
21009 "If you use Diff from the main context menu, you are diffing a modified file "
21010 "against its BASE revision. The output from the CLI command above also does "
21011 "this and produces output in unified-diff format. However, this is not what "
21012 "TortoiseGit is using. TortoiseGit uses TortoiseMerge (or a diff program of "
21013 "your choosing) to display differences visually between full-text files, so "
21014 "there is no direct CLI equivalent."
21016 "如果你在右键菜单使用差异,就会将修改的文件与基础版本比较。控制台的命令输出也是"
21017 "执行这个操作,输出统一差异格式。然而,TortoiseGit不使用它。TortoiseGit 使用"
21018 "TortoiseMerge (或者你选择的比较差异程序)可视化的全文显示差异,所以它没有控制台"
21022 #: ../source/TortoiseGit_en.xml:14908
21024 "You can also diff any 2 files using TortoiseGit, whether or not they are "
21025 "version controlled. TortoiseGit just feeds the two files into the chosen diff "
21026 "program and lets it work out where the differences lie."
21028 "你可以使用TortoiseGit,比较任意两个文件的差异,不管他们是否受版本控制。"
21029 "TortoiseGit只是把这两个文件传递给已经选择的比较差异程序,让它比较差异。"
21032 #: ../source/TortoiseGit_en.xml:14917
21036 "svn log -v -r 0:N --limit 100 [--stop-on-copy] PATH\n"
21038 "svn log -v -r M:N [--stop-on-copy] PATH\n"
21041 "svn log -v -r 0:N --limit 100 [--stop-on-copy] PATH\n"
21043 "svn log -v -r M:N [--stop-on-copy] PATH\n"
21046 #: ../source/TortoiseGit_en.xml:14922
21048 "By default, TortoiseGit tries to fetch 100 log messages using the --limit "
21049 "method. If the settings instruct it to use old APIs, then the second form is "
21050 "used to fetch the log messages for 100 repository revisions."
21052 "默认情况下,TortoiseGit尝试用--limit方法取得100个日志消息。如果设置了让它使用"
21053 "旧借口,那么就使用第二种个是获得100个日志消息。"
21056 #: ../source/TortoiseGit_en.xml:14928
21058 "If <guilabel>Stop on copy/rename</guilabel> is checked, use the <literal>--"
21059 "stop-on-copy</literal> switch."
21061 "如果选择了<guilabel>停止于复制/改名</guilabel>,就使用<literal>--stop-on-"
21062 "copy</literal>开关。"
21065 #: ../source/TortoiseGit_en.xml:14935
21069 "svn status -v PATH\n"
21071 "svn status -u -v PATH\n"
21074 "svn status -v PATH\n"
21076 "svn status -u -v PATH\n"
21079 #: ../source/TortoiseGit_en.xml:14940
21081 "The initial status check looks only at your working copy. If you click on "
21082 "<guibutton>Check repository</guibutton> then the repository is also checked "
21083 "to see which files would be changed by an update, which requires the "
21084 "<literal>-u</literal> switch."
21086 "只在你的工作副本执行初始的状态检查。如果你点击<guibutton>检查版本库</"
21087 "guibutton>,那么也检查版本库,察看哪些文件会被更新操作修改,它需要<literal>-"
21091 #: ../source/TortoiseGit_en.xml:14957
21092 msgid "Revision Graph"
21096 #: ../source/TortoiseGit_en.xml:14958
21098 "The revision graph is a feature of TortoiseGit only. There's no equivalent in "
21099 "the command line client."
21100 msgstr "版本图是TortoiseGit特有的,命令行客户端没有等价实现。"
21103 #: ../source/TortoiseGit_en.xml:14962
21105 "What TortoiseGit does is an <screen>\n"
21106 "svn info URL_of_WC\n"
21108 "</screen> where URL is the repository <emphasis>root</emphasis> and then "
21109 "analyzes the data returned."
21111 "TortoiseGit执行了这些操作 <screen>\n"
21112 "svn info URL_of_WC\n"
21114 "</screen>其中URL是版本库的 <emphasis>根</emphasis>,返回分析数据。"
21117 #: ../source/TortoiseGit_en.xml:14973
21118 msgid "Repo Browser"
21122 #: ../source/TortoiseGit_en.xml:14974
21126 "svn info URL_of_WC\n"
21127 "svn list [-r rev] -v URL\n"
21130 "svn info URL_of_WC\n"
21131 "svn list [-r rev] -v URL\n"
21134 #: ../source/TortoiseGit_en.xml:14978
21136 "You can use <literal>svn info</literal> to determine the repository root, "
21137 "which is the top level shown in the repository browser. You cannot navigate "
21138 "<literal>Up</literal> above this level. Also, this command returns all the "
21139 "locking information shown in the repository browser."
21141 "你可以使用<literal>svn info</literal>检查版本库的根,它在版本库浏览器的顶级显"
21142 "示。你不能浏览它的<literal>上级目录</literal>。同样,这个命令返回所有显示在版"
21146 #: ../source/TortoiseGit_en.xml:14985
21148 "The <literal>svn list</literal> call will list the contents of a directory, "
21149 "given a URL and revision."
21150 msgstr "给出URL和可选的版本号,<literal>svn list</literal>列出目录中的内容。"
21153 #: ../source/TortoiseGit_en.xml:14992
21155 "This command has no CLI equivalent. It invokes TortoiseMerge or an external 3-"
21156 "way diff/merge tool to look at the files involved in the conflict and sort "
21157 "out which lines to use."
21159 "这个命令没有控制台等价实现。它调用TortoiseMerge或者外部三路差异/合并工具察看棘"
21163 #: ../source/TortoiseGit_en.xml:14999
21168 #: ../source/TortoiseGit_en.xml:15000
21172 "svn resolved PATH\n"
21175 "svn resolved PATH\n"
21178 #: ../source/TortoiseGit_en.xml:15006
21182 "svn rename CURR_PATH NEW_PATH\n"
21185 "svn rename CURR_PATH NEW_PATH\n"
21188 #: ../source/TortoiseGit_en.xml:15012
21192 "svn delete PATH\n"
21195 "svn delete PATH\n"
21198 #: ../source/TortoiseGit_en.xml:15021
21200 "The first stage is a status check which determines the items in your working "
21201 "copy which can potentially be reverted. You can review the list, diff files "
21202 "against BASE and select the items you want to be included in the revert."
21204 "首先开始状态检查,察看你的工作副本有哪些项目可以被撤销。你可以复审文件列表,检"
21205 "查这些文件的修改,然后选择你要撤销的项目。"
21208 #: ../source/TortoiseGit_en.xml:15027
21210 "When you click on OK, the Git revert takes place. If you have left all "
21211 "the file selection checkboxes in their default state, TortoiseGit uses a "
21212 "single recursive (<literal>-R</literal>) revert of the working copy. If you "
21213 "deselect some files, then every path must be specified individually on the "
21214 "revert command line."
21216 "当你点击确认时,开始Git撤销操作。如果你不修改所有的文件检查框,"
21217 "TortoiseGit 会递归撤销 (<literal>-R</literal>)工作副本的修改。如果你取消选择一"
21218 "些文件,那么就必须使用非递归撤销 ,每个路径都必须在命令行上单独指定。\""
21221 #: ../source/TortoiseGit_en.xml:15034
21225 "svn revert [-R] PATH...\n"
21228 "svn revert [-R] PATH...\n"
21231 #: ../source/TortoiseGit_en.xml:15040
21235 "svn cleanup PATH\n"
21238 "svn cleanup PATH\n"
21241 #: ../source/TortoiseGit_en.xml:15045
21246 #: ../source/TortoiseGit_en.xml:15049
21248 "The first stage is a status check which determines the files in your working "
21249 "copy which can potentially be locked. You can select the items you want to be "
21252 "首先开始状态检查,察看你的工作副本有哪些项目可以被加锁。你可以选择想加锁的项"
21256 #: ../source/TortoiseGit_en.xml:15054
21260 "svn lock -m \"LockMessage\" [--force] PATH...\n"
21263 "svn lock -m \"LockMessage\" [--force] PATH...\n"
21266 #: ../source/TortoiseGit_en.xml:15057
21268 "<literal>LockMessage</literal> here represents the contents of the lock "
21269 "message edit box. This can be empty."
21270 msgstr "<literal>加锁信息</literal>是加锁编辑框的内容。它可以为空。\""
21273 #: ../source/TortoiseGit_en.xml:15061
21275 "If <guilabel>Steal the locks</guilabel> is checked, use the <literal>--force</"
21278 "如果选择了<guilabel>强制锁定</guilabel> ,就使用<literal>--force</literal>开"
21282 #: ../source/TortoiseGit_en.xml:15067
21283 msgid "Release Lock"
21287 #: ../source/TortoiseGit_en.xml:15068
21291 "svn unlock PATH\n"
21294 "svn unlock PATH\n"
21297 #: ../source/TortoiseGit_en.xml:15074
21301 "svn copy -m \"LogMessage\" URL URL\n"
21303 "svn copy -m \"LogMessage\" URL@rev URL@rev\n"
21305 "svn copy -m \"LogMessage\" PATH URL\n"
21308 "svn copy -m \"LogMessage\" URL URL\n"
21310 "svn copy -m \"LogMessage\" URL@rev URL@rev\n"
21312 "svn copy -m \"LogMessage\" PATH URL\n"
21315 #: ../source/TortoiseGit_en.xml:15081
21317 "The Branch/Tag dialog performs a copy to the repository. There are 3 radio "
21318 "button options: <placeholder-1/> which correspond to the 3 command line "
21321 "分支/标签对话框在版本库执行复制。有三个单选按钮: <placeholder-1/> 对应上面的三"
21325 #: ../source/TortoiseGit_en.xml:15086
21326 msgid "Specific revision in repository"
21330 #: ../source/TortoiseGit_en.xml:15098
21334 "svn info URL_of_WC\n"
21335 "svn switch [-r rev] URL PATH\n"
21338 "svn info URL_of_WC\n"
21339 "svn switch [-r rev] URL PATH\n"
21342 #: ../source/TortoiseGit_en.xml:15105
21346 "svn merge [--dry-run] --force From_URL@revN To_URL@revM PATH\n"
21349 "svn merge [--dry-run] --force From_URL@revN To_URL@revM PATH\n"
21352 #: ../source/TortoiseGit_en.xml:15108
21354 "The <guibutton>Dry run</guibutton> performs the same merge with the "
21355 "<literal>--dry-run</literal> switch."
21357 "<guibutton>Dry run</guibutton>与使用<literal>--dry-run</literal>选项的merge相"
21361 #: ../source/TortoiseGit_en.xml:15112
21365 "svn diff From_URL@revN To_URL@revM\n"
21368 "svn diff From_URL@revN To_URL@revM\n"
21371 #: ../source/TortoiseGit_en.xml:15115
21373 "The <guibutton>Unified diff</guibutton> shows the diff operation which will "
21374 "be used to do the merge."
21375 msgstr "<guibutton>Unified diff</guibutton>显示了用来合并的区别操作。"
21378 #: ../source/TortoiseGit_en.xml:15122
21382 "svn export [-r rev] [--ignore-externals] URL Export_PATH\n"
21385 "svn export [-r rev] [--ignore-externals] URL Export_PATH\n"
21388 #: ../source/TortoiseGit_en.xml:15125
21390 "This form is used when accessed from an unversioned folder, and the folder is "
21391 "used as the destination."
21392 msgstr "这个形式是当从一个未版本控制目录访问,并且文件夹作为目标。"
21395 #: ../source/TortoiseGit_en.xml:15129
21397 "Exporting a working copy to a different location is done without using the "
21398 "Git library, so there's no matching command line equivalent."
21400 "导出一个工作副本到一个目录没有使用Git的库,所以没有等同的命令行匹配。"
21403 #: ../source/TortoiseGit_en.xml:15134
21405 "What TortoiseGit does is to copy all files to the new location while showing "
21406 "you the progress of the operation. Unversioned files/folders can optionally "
21409 "TortoiseGit做的只是将所有文件复制到一个新的位置,并且会显示操作的过程。未版本"
21413 #: ../source/TortoiseGit_en.xml:15139
21415 "In both cases, if <guilabel>Omit externals</guilabel> is checked, use the "
21416 "<literal>--ignore-externals</literal> switch."
21418 "在两种情况下,如果<guilabel>Omit externals</guilabel>被选中,就相当于使用了"
21419 "<literal>--ignore-externals</literal>选项。"
21422 #: ../source/TortoiseGit_en.xml:15147
21426 "svn switch --relocate From_URL To_URL\n"
21429 "svn switch --relocate From_URL To_URL\n"
21432 #: ../source/TortoiseGit_en.xml:15152
21433 msgid "Create Repository Here"
21434 msgstr "在当前位置创建版本库"
21437 #: ../source/TortoiseGit_en.xml:15153
21441 "svnadmin create --fs-type fsfs PATH\n"
21444 "svnadmin create --fs-type fsfs PATH\n"
21447 #: ../source/TortoiseGit_en.xml:15162
21449 "If you selected a folder, TortoiseGit first scans it recursively for items "
21450 "which can be added."
21451 msgstr "如果选择了一个文件夹,TortoiseGit会首先会递归的访问可以添加的条目。"
21454 #: ../source/TortoiseGit_en.xml:15169
21458 "svn import -m LogMessage PATH URL\n"
21461 "svn import -m LogMessage PATH URL\n"
21464 #: ../source/TortoiseGit_en.xml:15179
21468 "svn blame -r N:M -v PATH\n"
21469 "svn log -r N:M PATH\n"
21472 "svn blame -r N:M -v PATH\n"
21473 "svn log -r N:M PATH\n"
21476 #: ../source/TortoiseGit_en.xml:15183
21479 "If you use TortoiseBlame to view the blame info, the file log is also "
21480 "required to show log messages in a tooltip. If you view blame as a text file, "
21481 "this information is not required."
21483 "如果你使用TortoiseBlame来查看追溯信息,文件日志也需要在工具提上上显示日志信"
21484 "息,如果你以文件方式查看追溯,这个信息不是必须的。"
21487 #: ../source/TortoiseGit_en.xml:15191
21488 msgid "Add to Ignore List"
21492 #: ../source/TortoiseGit_en.xml:15192
21496 "svn propget svn:ignore PATH > tempfile\n"
21497 "{edit new ignore item into tempfile}\n"
21498 "svn propset svn:ignore -F tempfile PATH\n"
21501 "svn propget svn:ignore PATH > tempfile\n"
21502 "{编辑新的忽略内容到tempfile文件中}\n"
21503 "svn propset svn:ignore -F tempfile PATH\n"
21506 #: ../source/TortoiseGit_en.xml:15197
21509 "Because the <literal>svn:ignore</literal> property is often a multi-line "
21510 "value, it is shown here as being changed via a text file rather than directly "
21511 "on the command line."
21513 "因为svn:ignore通常是多行的,这里是通过文件显示,而不是直接使用命令行操作。"
21516 #: ../source/TortoiseGit_en.xml:15205
21520 "svn diff PATH > patch-file\n"
21523 "svn diff PATH > patch-file\n"
21526 #: ../source/TortoiseGit_en.xml:15208
21529 "TortoiseGit creates a patch file in unified diff format by comparing the "
21530 "working copy with its BASE version."
21532 "TortoiseGit通过比较工作副本和它的基础版本产生一个标准区别格式(unified diff "
21536 #: ../source/TortoiseGit_en.xml:15215
21538 "Applying patches is a tricky business unless the patch and working copy are "
21539 "at the same revision. Luckily for you, you can use TortoiseMerge, which has "
21540 "no direct equivalent in Git."
21542 "如果补丁和工作副本不是同一版本的话,那么应用补丁会是一件很棘手的事情。幸运的"
21543 "是,你可以使用 TortoiseMerge(在Git中没有等同的工具)。"
21546 #: ../source/TortoiseGit_en.xml:15229
21547 msgid "Implementation Details"
21551 #: ../source/TortoiseGit_en.xml:15231
21554 "This appendix contains a more detailed discussion of the implementation of "
21555 "some of TortoiseGit's features."
21556 msgstr "这个附录包括了 TortoiseGit 使用中可能碰到的一些困难或疑问的解决方法。"
21559 #: ../source/TortoiseGit_en.xml:15239
21560 msgid "overlay priority"
21564 #: ../source/TortoiseGit_en.xml:15244
21566 "Every file and folder has a Git status value as reported by the "
21567 "Git library. In the command line client, these are represented by "
21568 "single letter codes, but in TortoiseGit they are shown graphically using the "
21569 "icon overlays. Because the number of overlays is very limited, each overlay "
21570 "may represent one of several status values."
21574 #: ../source/TortoiseGit_en.xml:15252
21576 "<graphic fileref=\"images/ConflictIcon.png\"/> The <emphasis>Conflicted</"
21577 "emphasis> overlay is used to represent the <literal>conflicted</literal> "
21578 "state, where an update or switch results in conflicts between local changes "
21579 "and changes downloaded from the repository. It is also used to indicate the "
21580 "<literal>obstructed</literal> state, which can occur when an operation is "
21581 "unable to complete."
21585 #: ../source/TortoiseGit_en.xml:15261
21587 "<graphic fileref=\"images/ModifiedIcon.png\"/> The <emphasis>Modified</"
21588 "emphasis> overlay represents the <literal>modified</literal> state, where you "
21589 "have made local modifications, the <literal>merged</literal> state, where "
21590 "changes from the repository have been merged with local changes, and the "
21591 "<literal>replaced</literal> state, where a file has been deleted and replaced "
21592 "by another different file with the same name."
21596 #: ../source/TortoiseGit_en.xml:15271
21598 "<graphic fileref=\"images/DeletedIcon.png\"/> The <emphasis>Deleted</"
21599 "emphasis> overlay represents the <literal>deleted</literal> state, where an "
21600 "item is scheduled for deletion, or the <literal>missing</literal> state, "
21601 "where an item is not present. Naturally an item which is missing cannot have "
21602 "an overlay itself, but the parent folder can be marked if one of its child "
21603 "items is missing."
21607 #: ../source/TortoiseGit_en.xml:15280
21610 "<graphic fileref=\"images/AddedIcon.png\"/> The <emphasis>Added</emphasis> "
21611 "overlay is simply used to represent the <literal>added</literal> status when "
21612 "an item has been added to version control."
21614 "<graphic fileref=\"../images/AddedIcon.png\"/>加号告诉你有一个文件或是目录已经"
21615 "被计划<literal>加入</literal>版本控制。"
21618 #: ../source/TortoiseGit_en.xml:15286
21620 "<graphic fileref=\"images/InGitIcon.png\"/> The <emphasis>In "
21621 "Git</emphasis> overlay is used to represent an item which is in the "
21622 "<literal>normal</literal> state, or a versioned item whose state is not yet "
21623 "known. Because TortoiseGit uses a background caching process to gather "
21624 "status, it may take a few seconds before the overlay updates."
21628 #: ../source/TortoiseGit_en.xml:15295
21630 "<graphic fileref=\"images/ReadOnlyIcon.png\"/> The <emphasis>Needs Lock</"
21631 "emphasis> overlay is used to indicate when a file has the <literal>svn:needs-"
21632 "lock</literal> property set. For working copies which were created using "
21633 "Git 1.4.0 and later, the <literal>svn:needs-lock</literal> status is "
21634 "cached locally by Git and this is used to determine when to show this "
21635 "overlay. For working copies which are in pre-1.4.x format, TortoiseGit shows "
21636 "this overlay when the file has read-only status. Note that Git "
21637 "automatically upgrades working copies when you update them, although the "
21638 "caching of the <literal>svn:needs-lock</literal> property may not happen "
21639 "until the file itself is updated."
21643 #: ../source/TortoiseGit_en.xml:15309
21645 "<graphic fileref=\"images/LockedIcon.png\"/> The <emphasis>Locked</emphasis> "
21646 "overlay is used when the local working copy holds a lock for that file."
21648 "<graphic fileref=\"images/LockedIcon.png\"/><emphasis>已经锁定</emphasis>覆盖"
21652 #: ../source/TortoiseGit_en.xml:15314
21655 "<graphic fileref=\"images/IgnoredIcon.png\"/> The <emphasis>Ignored</"
21656 "emphasis> overlay is used to represent an item which is in the "
21657 "<literal>ignored</literal> state, either due to a global ignore pattern, or "
21658 "the <literal>svn:ignore</literal> property of the parent folder. This overlay "
21661 "<graphic fileref=\"../images/AddedIcon.png\"/>加号告诉你有一个文件或是目录已经"
21662 "被计划<literal>加入</literal>版本控制。"
21665 #: ../source/TortoiseGit_en.xml:15322
21668 "<graphic fileref=\"images/UnversionedIcon.png\"/> The <emphasis>Unversioned</"
21669 "emphasis> overlay is used to represent an item which is in the "
21670 "<literal>unversioned</literal> state. This is an item in a versioned folder, "
21671 "but which is not under version control itself. This overlay is optional."
21673 "<graphic fileref=\"../images/AddedIcon.png\"/>加号告诉你有一个文件或是目录已经"
21674 "被计划<literal>加入</literal>版本控制。"
21677 #: ../source/TortoiseGit_en.xml:15330
21679 "If an item has Git status <literal>none</literal> (the item is not "
21680 "within a working copy) then no overlay is shown. If you have chosen to "
21681 "disable the <emphasis>Ignored</emphasis> and <emphasis>Unversioned</emphasis> "
21682 "overlays then no overlay will be shown for those files either."
21686 #: ../source/TortoiseGit_en.xml:15337
21688 "An item can only have one Git status value. For example a file could "
21689 "be locally modified and it could be marked for deletion at the same time. "
21690 "Git returns a single status value - in this case <literal>deleted</"
21691 "literal>. Those priorities are defined within Git itself."
21693 "每个条目只有一个 Git 状态。例如一个文件可以被本地修改,同时被标记为删"
21694 "除。Git 返回一个状态 - 即<literal>已经删除</literal>。这些优先级是 "
21698 #: ../source/TortoiseGit_en.xml:15344
21700 "When TortoiseGit displays the status recursively (the default setting), each "
21701 "folder displays an overlay reflecting its own status and the status of all "
21702 "its children. In order to display a single <emphasis>summary</emphasis> "
21703 "overlay, we use the priority order shown above to determine which overlay to "
21704 "use, with the <emphasis>Conflicted</emphasis> overlay taking highest priority."
21706 "当 TortoiseGit 递归显示状态时(默认配置),每个目录用重载图标显示自己的状态和所"
21707 "有子孙的状态。为了显示单个<emphasis>概要</emphasis>重载,我们使用上述优先级决"
21708 "定使用哪个重载,<emphasis>冲突</emphasis>重载使用最高优先级。"
21711 #: ../source/TortoiseGit_en.xml:15353
21714 "In fact, you may find that not all of these icons are used on your system. "
21715 "This is because the number of overlays allowed by Windows is limited to 15. "
21716 "Windows uses 4 of those, and the remaining 11 can be used by other "
21717 "applications. If there are not enough overlay slots available, TortoiseGit "
21718 "tries to be a <quote>Good Citizen (TM)</quote> and limits its use of overlays "
21719 "to give other apps a chance."
21721 "事实上,你会发现并不是所有的图标被使用在你的系统上。这是由于Windows限制图标重"
21722 "载不能超过15个。Windows自己用了4个,剩下11个可被别的应用程序使用。如果你同时使"
21723 "用了TortoiseCVS,就没有足够的空位了,所以TortoiseGit希望成为一个<quote>良好市"
21724 "民(TM)</quote>,限制自身的使用,为别的应用留下机会。"
21727 #: ../source/TortoiseGit_en.xml:15364
21730 "<emphasis>Normal</emphasis>, <emphasis>Modified</emphasis> and "
21731 "<emphasis>Conflicted</emphasis> are always loaded and visible."
21733 "<literal>正常</literal>, <literal>已修改</literal>和<literal>冲突</literal>总"
21737 #: ../source/TortoiseGit_en.xml:15372
21740 "<emphasis>Deleted</emphasis> is loaded if possible, but falls back to "
21741 "<emphasis>Modified</emphasis> if there are not enough slots."
21743 "<literal>已删除</literal>只要有可能的就载入,但如果没有足够的空位,就使用"
21744 "<literal>已修改</literal>来代替。"
21747 #: ../source/TortoiseGit_en.xml:15379
21750 "<emphasis>Read-Only</emphasis> is loaded if possible, but falls back to "
21751 "<emphasis>Normal</emphasis> if there are not enough slots."
21753 "<literal>只读</literal>只要有可能就载入,但如果没有足够的空位就使用<literal>正"
21757 #: ../source/TortoiseGit_en.xml:15386
21760 "<emphasis>Locked</emphasis> is only loaded if there are fewer than 13 "
21761 "overlays already loaded. It falls back to <emphasis>Normal</emphasis> if "
21762 "there are not enough slots."
21764 "<literal>已锁定</literal>只在少于13个重载已经载入的情况下才加载,如果不满足这"
21765 "个条件就使用<literal>正常</literal>来代替。"
21768 #: ../source/TortoiseGit_en.xml:15394
21771 "<emphasis>Added</emphasis> is only loaded if there are fewer than 14 overlays "
21772 "already loaded. It falls back to <emphasis>Modified</emphasis> if there are "
21773 "not enough slots."
21775 "<literal>已增加</literal>只在少于14个重载已经载入的情况下才加载,如果不满足这"
21776 "个条件就使用<literal>已修改</literal>来代替"
21779 #: ../source/TortoiseGit_en.xml:15405
21780 msgid "Securing Svnserve using SSH"
21781 msgstr "用 SSH 使服务器更安全"
21784 #: ../source/TortoiseGit_en.xml:15407
21786 "This section provides a step-by-step guide to setting up Git and "
21787 "TortoiseGit to use the <literal>svn+ssh</literal> protocol. If you already "
21788 "use authenticated SSH connections to login to your server, then you are "
21789 "already there and you can find more detail in the Git book. If you are "
21790 "not using SSH but would like to do so to protect your Git "
21791 "installation, this guide gives a simple method which does not involve "
21792 "creating a separate SSH user account on the server for every Git user."
21796 #: ../source/TortoiseGit_en.xml:15417
21798 "In this implementation we create a single SSH user account for all Git "
21799 "users, and use different authentication keys to differentiate between the "
21804 #: ../source/TortoiseGit_en.xml:15422
21806 "In this appendix we assume that you already have the Git tools "
21807 "installed, and that you have created a repository as detailed elsewhere in "
21808 "this manual. Note that you should <emphasis>not</emphasis> start svnserve as "
21809 "a service or daemon when used with SSH."
21813 #: ../source/TortoiseGit_en.xml:15428
21815 "Much of the information here comes from a tutorial provided by Marc Logemann, "
21816 "which can be found at <ulink url=\"http://www.logemann.org/2007/03/13/"
21817 "Git-TortoiseGit-ssh-howto/\"><citetitle>www.logemann.org</citetitle></"
21818 "ulink> Additional information on setting up a Windows server was provided by "
21819 "Thorsten Müller. Thanks guys!"
21823 #: ../source/TortoiseGit_en.xml:15439
21824 msgid "Setting Up a Linux Server"
21825 msgstr "配置 Linux 服务器"
21828 #: ../source/TortoiseGit_en.xml:15440
21830 "You need to have SSH enabled on the server, and here we assume that you will "
21831 "be using OpenSSH. On most distributions this will already be installed. To "
21832 "find out, type: <screen>\n"
21833 "ps xa | grep sshd\n"
21834 "</screen> and look for ssh jobs."
21838 #: ../source/TortoiseGit_en.xml:15449
21840 "One point to note is that if you build Git from source and do not "
21841 "provide any argument to <filename>./configure</filename>, Git creates "
21842 "a <filename>bin</filename> directory under <filename>/usr/local</filename> "
21843 "and places its binaries there. If you want to use tunneling mode with SSH, "
21844 "you have to be aware that the user logging in via SSH needs to execute the "
21845 "svnserve program and some other binaries. For this reason, either place "
21846 "<filename>/usr/local/bin</filename> into the <literal>PATH</literal> variable "
21847 "or create symbolic links of your binaries to the <filename>/usr/sbin</"
21848 "filename> directory, or to any other directory which is commonly in the "
21849 "<literal>PATH</literal>."
21853 #: ../source/TortoiseGit_en.xml:15462
21855 "To check that everything is OK, login in as the target user with SSH and "
21858 "</screen> This command should tell you if svnserve is reachable."
21862 #: ../source/TortoiseGit_en.xml:15470
21864 "Create a new user which we will use to access the svn repository: <screen>\n"
21865 "useradd -m svnuser\n"
21866 "</screen> Be sure to give this user full access rights to the repository."
21870 #: ../source/TortoiseGit_en.xml:15479
21871 msgid "Setting Up a Windows Server"
21872 msgstr "配置 Windows 服务器"
21875 #: ../source/TortoiseGit_en.xml:15480
21877 "Install Cygwin SSH daemon as described here: <ulink url=\"http://pigtail.net/"
21878 "LRP/printsrv/cygwin-sshd.html\"><citetitle>http://pigtail.net/LRP/printsrv/"
21879 "cygwin-sshd.html</citetitle></ulink>"
21883 #: ../source/TortoiseGit_en.xml:15486
21885 "Create a new Windows user account <literal>svnuser</literal> which we will "
21886 "use to access the repository. Be sure to give this user full access rights to "
21891 #: ../source/TortoiseGit_en.xml:15491
21893 "If there is no password file yet then create one from the Cygwin console "
21894 "using: <screen>\n"
21895 "mkpasswd -l > /etc/passwd\n"
21900 #: ../source/TortoiseGit_en.xml:15499
21901 msgid "SSH Client Tools for use with TortoiseGit"
21902 msgstr "用于 TortoiseGit 的 SSH 客户端工具"
21905 #: ../source/TortoiseGit_en.xml:15500
21907 "Grab the tools we need for using SSH on the windows client from this site: "
21908 "<ulink url=\"http://www.chiark.greenend.org.uk/~sgtatham/putty/"
21909 "\"><citetitle>http://www.chiark.greenend.org.uk/~sgtatham/putty/</citetitle></"
21910 "ulink> Just go to the download section and get <filename>Putty</filename>, "
21911 "<filename>Plink</filename>, <filename>Pageant</filename> and "
21912 "<filename>Puttygen</filename>."
21916 #: ../source/TortoiseGit_en.xml:15513
21917 msgid "Creating OpenSSH Certificates"
21918 msgstr "创建 OpenSSH 证书"
21921 #: ../source/TortoiseGit_en.xml:15514
21923 "The next step is to create a key pair for authentication. There are two "
21924 "possible ways to create keys. The first is to create the keys with PuTTYgen "
21925 "on the client, upload the public key to your server and use the private key "
21926 "with PuTTY. The other is to create the key pair with the OpenSSH tool ssh-"
21927 "keygen, download the private key to your client and convert the private key "
21928 "to a PuTTY-style private key."
21932 #: ../source/TortoiseGit_en.xml:15524
21933 msgid "Create Keys using ssh-keygen"
21934 msgstr "使用 ssh-keygen 创建密钥"
21937 #: ../source/TortoiseGit_en.xml:15525
21939 "Login to the server as <literal>root</literal> or <literal>svnuser</literal> "
21940 "and type: <screen>\n"
21941 "ssh-keygen -b 1024 -t dsa -N passphrase -f keyfile\n"
21942 "</screen> substituting a real pass-phrase (which only you know) and key file. "
21943 "We just created a SSH2 DSA key with 1024 bit key-phrase. If you type "
21946 "</screen> you will see two files, <filename>keyfile</filename> and "
21947 "<filename>keyfile.pub</filename>. As you might guess, the <filename>.pub</"
21948 "filename> file is the public key file, the other is the private one."
21952 #: ../source/TortoiseGit_en.xml:15542
21954 "Append the public key to those in the <filename>.ssh</filename> folder within "
21955 "the <literal>svnuser</literal> home directory: <screen>\n"
21956 "cat keyfile.pub >> /home/svnuser/.ssh/authorized_keys\n"
21961 #: ../source/TortoiseGit_en.xml:15549
21963 "In order to use the private key we generated, we have to convert it to a "
21964 "putty format. This is because the private key file format is not specified by "
21965 "a standards body. After you download the private key file to your client PC, "
21966 "start PuTTYgen and use <menuchoice><guimenu>Conversions</"
21967 "guimenu><guimenuitem>Import key</guimenuitem></menuchoice>. Browse to your "
21968 "file <filename>keyfile</filename> which you got from the server the "
21969 "passphrase you used when creating the key. Finally click on <guibutton>Save "
21970 "private key</guibutton> and save the file as <filename>keyfile.PPK</filename>."
21974 #: ../source/TortoiseGit_en.xml:15566
21975 msgid "Create Keys using PuTTYgen"
21976 msgstr "使用 PuTTYgen 创建密钥"
21979 #: ../source/TortoiseGit_en.xml:15567
21981 "Use PuTTYgen to generate a public-key/private-key pair and save it. Copy the "
21982 "public key to the server and append it to those in the <filename>.ssh</"
21983 "filename> folder within the <literal>svnuser</literal> home directory: "
21985 "cat keyfile.pub >> /home/svnuser/.ssh/authorized_keys\n"
21990 #: ../source/TortoiseGit_en.xml:15579
21991 msgid "Test using PuTTY"
21992 msgstr "使用 PuTTY 测试"
21995 #: ../source/TortoiseGit_en.xml:15580
21997 "To test the connection we will use PuTTY. Start the program and on the "
21998 "<guilabel>Session</guilabel> tab set the hostname to the name or IP address "
21999 "of your server, the protocol to SSH and save the session as "
22000 "<literal>SvnConnection</literal> or whatever name you prefer. On the "
22001 "<guilabel>SSH</guilabel> tab set the preferred SSH protocol version to 2 and "
22002 "from <guilabel>Auth</guilabel> set the full path to the <literal>.PPK</"
22003 "literal> private key file you converted earlier. Go back to the "
22004 "<guilabel>Sessions</guilabel> tab and hit the <guilabel>Save</guilabel> "
22005 "button. You will now see <literal>SvnConnection</literal> in the list of "
22010 #: ../source/TortoiseGit_en.xml:15593
22012 "Click on <guilabel>Open</guilabel> and you should see a telnet style login "
22013 "prompt. Use <literal>svnuser</literal> as the user name and if all is well "
22014 "you should connect directly without being prompted for a password."
22018 #: ../source/TortoiseGit_en.xml:15599
22020 "You may need to edit <filename>/etc/sshd_config</filename> on the server. "
22021 "Edit lines as follows and restart the SSH service afterwards. <screen>\n"
22022 "PubkeyAuthentication yes\n"
22023 "PasswordAuthentication no\n"
22024 "PermitEmptyPasswords no\n"
22025 "ChallengeResponseAuthentication no\n"
22030 #: ../source/TortoiseGit_en.xml:15611
22031 msgid "Testing SSH with TortoiseGit"
22032 msgstr "使用 TortoiseGit 测试 SSH"
22035 #: ../source/TortoiseGit_en.xml:15612
22037 "So far we have only tested that you can login using SSH. Now we need to make "
22038 "sure that the SSH connection can actually run svnserve. On the server modify "
22039 "<filename>/home/svnuser/.ssh/authorized_keys</filename> as follows to allow "
22040 "many Git authors to use the same system account, <literal>svnuser</"
22041 "literal>. Note that every Git author uses the same login but a "
22042 "different authentication key, thus you have to add one line for every author."
22046 #: ../source/TortoiseGit_en.xml:15621
22048 "Note: This is all on one very long line. <screen>\n"
22049 "command=\"svnserve -t -r <ReposRootPath> --tunnel-user=<author>"
22051 " no-port-forwarding,no-agent-forwarding,no-X11-forwarding,\n"
22052 " no-pty ssh-rsa <PublicKey> <Comment>\n"
22053 "</screen> There are several values that you need to set according to your "
22058 #: ../source/TortoiseGit_en.xml:15630
22060 "<literal><ReposRootPath></literal> should be replaced with the path to "
22061 "the directory containing your repositories. This avoids the need to specify "
22062 "full server paths within URLs. Note that you must use forward slashes even on "
22063 "a Windows server, e.g. <filename>c:/svn/reposroot</filename>. In the examples "
22064 "below we assume that you have a repository folder within the repository root "
22065 "called <filename>repos</filename>."
22069 #: ../source/TortoiseGit_en.xml:15639
22071 "<literal><author></literal> should be replaced with the svn author that "
22072 "you want to be stored on commit. This also allows svnserve to use its own "
22073 "access rights within <filename>svnserve.conf</filename>."
22077 #: ../source/TortoiseGit_en.xml:15644
22079 "<literal><PublicKey></literal> should be replaced with the public key "
22080 "that you generated earlier."
22084 #: ../source/TortoiseGit_en.xml:15648
22086 "<literal><Comment></literal> can be any comment you like, but it is "
22087 "useful for mapping an svn author name to the person's real name."
22091 #: ../source/TortoiseGit_en.xml:15652
22093 "Right click on any folder in Windows Explorer and select "
22094 "<menuchoice><guimenu>TortoiseGit</guimenu><guimenuitem>Repo-Browser</"
22095 "guimenuitem></menuchoice>. You will be prompted to enter a URL, so enter one "
22096 "in this form: <screen>\n"
22097 "svn+ssh://svnuser@SvnConnection/repos\n"
22098 "</screen> What does this URL mean? The Schema name is <literal>svn+ssh</"
22099 "literal> which tells TortoiseGit how to handle the requests to the server. "
22100 "After the double slash, you specify the user to connect to the server, in our "
22101 "case <literal>svnuser</literal>. After the <literal>@</literal> we supply our "
22102 "PuTTY session name. This session name contains all details like where to find "
22103 "the private key and the server's IP or DNS. Lastly we have to provide the "
22104 "path to the repository, relative to the repository root on the server, as "
22105 "specified in the <filename>authorized_keys</filename> file."
22109 #: ../source/TortoiseGit_en.xml:15672
22111 "Click on <guibutton>OK</guibutton> and you should be able to browse the "
22112 "repository content. If so you now have a running SSH tunnel in conjunction "
22113 "with TortoiseGit."
22117 #: ../source/TortoiseGit_en.xml:15677
22119 "Note that by default TortoiseGit uses its own version of Plink to connect. "
22120 "This avoids a console window popping up for every authentication attempt, but "
22121 "it also means that there is nowhere for error messages to appear. If you "
22122 "receive the error <quote>Unable to write to standard output</quote>, you can "
22123 "try specifying Plink as the client in TortoiseGit's network settings. This "
22124 "will allow you to see the real error message generated by Plink."
22128 #: ../source/TortoiseGit_en.xml:15687
22129 msgid "SSH Configuration Variants"
22133 #: ../source/TortoiseGit_en.xml:15688
22135 "One way to simplify the URL in TortoiseGit is to set the user inside the "
22136 "PuTTY session. For this you have to load your already defined session "
22137 "<literal>SvnConnection</literal> in PuTTY and in the <guilabel>Connection</"
22138 "guilabel> tab set <guilabel>Auto login user</guilabel> to the user name, e.g. "
22139 "<literal>svnuser</literal>. Save your PuTTY session as before and try the "
22140 "following URL inside TortoiseGit: <screen>\n"
22141 "svn+ssh://SvnConnection/repos\n"
22142 "</screen> This time we only provide the PuTTY session <literal>SvnConnection</"
22143 "literal> to the SSH client TortoiseGit uses (TortoisePlink.exe). This client "
22144 "will check the session for all necessary details."
22148 #: ../source/TortoiseGit_en.xml:15703
22150 "At the time of writing PuTTY does not check all saved configurations, so if "
22151 "you have multiple configurations with the same server name, it will pick the "
22152 "first one which matches. Also, if you edit the default configuration and save "
22153 "it, the auto login user name is <emphasis>not</emphasis> saved."
22157 #: ../source/TortoiseGit_en.xml:15710
22159 "Many people like to use Pageant for storing all their keys. Because a PuTTY "
22160 "session is capable of storing a key, you don't always need Pageant. But "
22161 "imagine you want to store keys for several different servers; in that case "
22162 "you would have to edit the PuTTY session over and over again, depending on "
22163 "the server you are trying to connect with. In this situation Pageant makes "
22164 "perfect sense, because when PuTTY, Plink, TortoisePlink or any other PuTTY-"
22165 "based tool is trying to connect to an SSH server, it checks all private keys "
22166 "that Pageant holds to initiate the connection."
22170 #: ../source/TortoiseGit_en.xml:15721
22172 "For this task, simply run Pageant and add the private key. It should be the "
22173 "same private key you defined in the PuTTY session above. If you use Pageant "
22174 "for private key storage, you can delete the reference to the private key file "
22175 "in your saved PuTTY session. You can add more keys for other servers, or "
22176 "other users of course."
22180 #: ../source/TortoiseGit_en.xml:15728
22182 "If you don't want to repeat this procedure after every reboot of your client, "
22183 "you should place Pageant in the auto-start group of your Windows "
22184 "installation. You can append the keys with complete paths as command line "
22185 "arguments to Pageant.exe"
22189 #: ../source/TortoiseGit_en.xml:15734
22191 "The last way to connect to an SSH server is simply by using this URL inside "
22192 "TortoiseGit: <screen>\n"
22193 "svn+ssh://svnuser@100.101.102.103/repos\n"
22194 "svn+ssh://svnuser@mydomain.com/repos\n"
22195 "</screen> As you can see, we don't use a saved PuTTY session but an IP "
22196 "address (or domain name) as the connection target. We also supply the user, "
22197 "but you might ask how the private key file will be found. Because "
22198 "TortoisePlink.exe is just a modified version of the standard Plink tool from "
22199 "the PuTTY suite, TortoiseGit will also try all the keys stored in Pageant."
22203 #: ../source/TortoiseGit_en.xml:15748
22205 "If you use this last method, be sure you do not have a default username set "
22206 "in PuTTY. We have had reports of a bug in PuTTY causing connections to close "
22207 "in this case. To remove the default user, simply clear "
22208 "<filename>HKEY_CURRENT_USER\\Software\\SimonTatham\\Putty\\Sessions\\Default%"
22209 "20Settings\\HostName</filename>"
22213 #: ../source/TortoiseGit_en.xml:15760
22218 #: ../source/TortoiseGit_en.xml:15764
22220 "A Git command that is used to add a file or directory to your working "
22221 "copy. The new items are added to the repository when you commit."
22223 "向你的工作副本中增加文件或者目录时使用的 Git 命令。在你提交的时候新的项"
22227 #: ../source/TortoiseGit_en.xml:15772
22228 msgid "BASE revision"
22229 msgstr "基础版本(BASE revision)"
22232 #: ../source/TortoiseGit_en.xml:15774
22234 "The current base revision of a file or folder in your <emphasis>working copy</"
22235 "emphasis>. This is the revision the file or folder was in, when the last "
22236 "checkout, update or commit was run. The BASE revision is normally not equal "
22237 "to the HEAD revision."
22239 "当前<emphasis>工作副本</emphasis>里的文件或目录的基础版本。是文件或目录最后被"
22240 "检出、更新或者提交时的版本。基础版本通常和HEAD版本不一致。"
22243 #: ../source/TortoiseGit_en.xml:15785
22245 "This command is for text files only, and it annotates every line to show the "
22246 "repository revision in which it was last changed, and the author who made "
22247 "that change. Our GUI implementation is called TortoiseBlame and it also shows "
22248 "the commit date/time and the log message when you hover the mouse of the "
22251 "这个命令只能用于文本文件,它将会标记每一行来显示版本库修订版本的最后修改的修订"
22252 "和作出修改的人。我们的GUI实现叫做TortoiseBlame,在你将鼠标移到修订版本号码上"
22256 #: ../source/TortoiseGit_en.xml:15795
22261 #: ../source/TortoiseGit_en.xml:15797
22263 "Berkeley DB. A well tested database backend for repositories, that cannot be "
22264 "used on network shares. Default for pre 1.2 repositories."
22266 "伯克利DB(Berkeley DB),版本库可以使用的一种经过充分测试的后台数据库实现,不能"
22267 "在通过网络共享的文件系统上使用,伯克利DB是 Git 1.2 版本以前的缺省版本库"
22271 #: ../source/TortoiseGit_en.xml:15804
22276 #: ../source/TortoiseGit_en.xml:15806
22279 "A term frequently used in revision control systems to describe what happens "
22280 "when development forks at a particular point and follows 2 separate paths. "
22281 "You can create a branch off the main development line so as to develop a new "
22282 "feature without rendering the main line unstable. Or you can branch a stable "
22283 "release to which you make only bug fixes, while new developments take place "
22284 "on the unstable trunk. In Git a branch is implemented as a "
22285 "<quote>cheap copy</quote>."
22287 "有一个版本控制系统经常使用,来描述在某个时间点的两个人追随不同的路径的术语。你"
22288 "可以创建一个分支离开开发的主线来添加一个新特性,而不必影响主线的稳定,或者你可"
22289 "以创建一个分支用来发布bug修正,而新的开发发生在不稳定的主干。在 Git,分"
22290 "支是使用<quote>廉价的复制</quote>实现的。"
22293 #: ../source/TortoiseGit_en.xml:15821
22295 "A Git command which creates a local working copy in an empty directory "
22296 "by downloading versioned files from the repository."
22298 "一个 Git 命令在空目录通过从版本库下载版本控制的文件来创建本地工作副本。"
22301 #: ../source/TortoiseGit_en.xml:15830
22304 "To quote from the Git book: <quote> Recursively clean up the working "
22305 "copy, removing locks and resuming unfinished operations. If you ever get a "
22306 "<emphasis>working copy locked</emphasis> error, run this command to remove "
22307 "stale locks and get your working copy into a usable state again. </quote> "
22308 "Note that in this context <emphasis>lock</emphasis> refers to local "
22309 "filesystem locking, not repository locking."
22311 "来自 Git 手册的引用: <quote>递归的清理工作副本,删除锁定和保留的未完成"
22312 "操作。如果你得到<literal>工作副本已锁定</literal>的错误,运行这个命令删除无用"
22313 "的锁定,并将工作副本恢复到可用状态。</quote>"
22316 #: ../source/TortoiseGit_en.xml:15847
22318 "This Git command is used to pass the changes in your local working "
22319 "copy back into the repository, creating a new repository revision."
22321 "一个 Git 操作,用来将本地修改的内容传递回版本库,创建一个新的版本库修订"
22325 #: ../source/TortoiseGit_en.xml:15855
22330 #: ../source/TortoiseGit_en.xml:15857
22332 "When changes from the repository are merged with local changes, sometimes "
22333 "those changes occur on the same lines. In this case Git cannot "
22334 "automatically decide which version to use and the file is said to be in "
22335 "conflict. You have to edit the file manually and resolve the conflict before "
22336 "you can commit any further changes."
22338 "当版本库的修改合并到本地修改,有时候修改发生在同一行,这种情况下,Git "
22339 "不能自动决定使用文件的那一行,在提交之前,你需要手工编辑文件解决冲突。"
22342 #: ../source/TortoiseGit_en.xml:15867
22347 #: ../source/TortoiseGit_en.xml:15869
22349 "In a Git repository you can create a copy of a single file or an "
22350 "entire tree. These are implemented as <quote>cheap copies</quote> which act a "
22351 "bit like a link to the original in that they take up almost no space. Making "
22352 "a copy preserves the history of the item in the copy, so you can trace "
22353 "changes made before the copy was made."
22355 "在 Git 版本库,你可以创建一个文件或整个目录树的副本,这是通过<quote>廉"
22356 "价复制</quote>实现的,看起来很像链接到原来的位置,几乎不占用任何空间。创建一个"
22357 "保存历史的副本,这样你就可以跟踪副本之前的修改。"
22360 #: ../source/TortoiseGit_en.xml:15881
22363 "When you delete a versioned item (and commit the change) the item no longer "
22364 "exists in the repository after the committed revision. But of course it still "
22365 "exists in earlier repository revisions, so you can still access it. If "
22366 "necessary, you can copy a deleted item and <quote>resurrect</quote> it "
22367 "complete with history."
22369 "当你删除了一个版本控制的条目(并且提交这个修改),这个条目将不会存在于版本库以后"
22370 "的修订。但它还是存在于版本库的以前的修订版本里,如果必要,你可以复制一个删除的"
22374 #: ../source/TortoiseGit_en.xml:15893
22376 "Shorthand for <quote>Show Differences</quote>. Very useful when you want to "
22377 "see exactly what changes have been made."
22379 "<quote>显示区别</quote>的快捷方式,当你希望查看你所做修改的时候非常有用。"
22382 #: ../source/TortoiseGit_en.xml:15902
22384 "This command produces a copy of a versioned folder, just like a working copy, "
22385 "but without the local <literal>.svn</literal> folders."
22387 "这个命令创建了一个版本控制目录的副本,就像工作副本,但是没有<literal>.svn</"
22391 #: ../source/TortoiseGit_en.xml:15910
22396 #: ../source/TortoiseGit_en.xml:15912
22399 "A proprietary Git filesystem backend for repositories. Can be used on "
22400 "network shares. Default for 1.2 and newer repositories."
22402 "FS文件系统,版本库可以使用的一种 Git 专用的后台文件系统格式,能够在通过"
22403 "网络共享的文件系统上使用,FSFS 是Git 1.2 版本以后的缺省版本库格式。"
22406 #: ../source/TortoiseGit_en.xml:15921
22407 msgid "Group policy object"
22411 #: ../source/TortoiseGit_en.xml:15927
22412 msgid "HEAD revision"
22413 msgstr "最新版本(HEAD revision)"
22416 #: ../source/TortoiseGit_en.xml:15929
22418 "The latest revision of a file or folder in the <emphasis>repository</"
22420 msgstr "<emphasis>版本库</emphasis>里文件或目录的最新版本。"
22423 #: ../source/TortoiseGit_en.xml:15937
22425 "Git command to import an entire folder hierarchy into the repository "
22426 "in a single revision."
22427 msgstr "在一个修订里将整个目录导入到版本库的 Git 命令。"
22430 #: ../source/TortoiseGit_en.xml:15946
22433 "When you take out a lock on a versioned item, you mark it in the repository "
22434 "as non-committable, except from the working copy where the lock was taken out."
22436 "当一个版本控制条目的被你锁定,就是将它在版本库里标示为不可提交,只有作出锁定的"
22440 #: ../source/TortoiseGit_en.xml:15954
22445 #: ../source/TortoiseGit_en.xml:15956
22447 "Show the revision history of a file or folder. Also known as <quote>History</"
22449 msgstr "显示一个文件或是文件夹的版本历史。也就是<quote>历史</quote>。"
22452 #: ../source/TortoiseGit_en.xml:15963
22457 #: ../source/TortoiseGit_en.xml:15965
22459 "Show the revision history of a file or folder. Also known as <quote>Log</"
22461 msgstr "显示文件或目录的历史修订,也被称为<quote>Log</quote>。"
22464 #: ../source/TortoiseGit_en.xml:15974
22466 "The process by which changes from the repository are added to your working "
22467 "copy without disrupting any changes you have already made locally. Sometimes "
22468 "these changes cannot be reconciled automatically and the working copy is said "
22469 "to be in conflict."
22471 "这个过程会查看版本库添加到工作副本的的修改,而不会破坏你在本地的修改,有时候这"
22472 "些修改可能不会自动的结合,也就是冲突了。"
22475 #: ../source/TortoiseGit_en.xml:15980
22477 "Merging happens automatically when you update your working copy. You can also "
22478 "merge specific changes from another branch using TortoiseGit's Merge command."
22480 "在你更新工作副本时会自动合并,你也可以使用TortoiseGit的合并命令从另一条分支进"
22484 #: ../source/TortoiseGit_en.xml:15988
22489 #: ../source/TortoiseGit_en.xml:15990
22491 "If a working copy has changes to text files only, it is possible to use "
22492 "Git's Diff command to generate a single file summary of those changes "
22493 "in Unified Diff format. A file of this type is often referred to as a "
22494 "<quote>Patch</quote>, and it can be emailed to someone else (or to a mailing "
22495 "list) and applied to another working copy. Someone without commit access can "
22496 "make changes and submit a patch file for an authorized committer to apply. Or "
22497 "if you are unsure about a change you can submit a patch for others to review."
22499 "如果工作副本只有文本文件有修改,也可以使用 Git 的 Diff 命令生成标准区别"
22500 "格式的单文件的修改摘要。这种文件通常被叫做<quote>补丁</quote>,可以邮寄给任何"
22501 "人,使之可以应用到另一个工作副本。一些没有提交访问的人可以通过提交补丁文件给有"
22502 "授权的人来应用补丁,或者是在不确定修改时提交补丁给别人进行评审。"
22505 #: ../source/TortoiseGit_en.xml:16003
22510 #: ../source/TortoiseGit_en.xml:16005
22512 "In addition to versioning your directories and files, Git allows you "
22513 "to add versioned metadata - referred to as <quote>properties</quote> to each "
22514 "of your versioned directories and files. Each property has a name and a "
22515 "value, rather like a registry key. Git has some special properties "
22516 "which it uses internally, such as <literal>svn:eol-style</literal>. "
22517 "TortoiseGit has some too, such as <literal>tsvn:logminsize</literal>. You can "
22518 "add your own properties with any name and value you choose."
22520 "除了版本控制文件和目录,Git 允许你添加版本控制的元数据 - 被称作每个文件"
22521 "和目录的<quote>属性</quote> 。每个属性都有一个名称和一个值,非常类似于注册表"
22522 "键。Git 有一些内置的特别属性,例如 <literal>svn:eol-style</literal>。"
22523 "TortoiseGit 也有一些类似的,例如 <literal>tsvn:logminsize</literal>,你可以选"
22527 #: ../source/TortoiseGit_en.xml:16020
22529 "If your repository moves, perhaps because you have moved it to a different "
22530 "directory on your server, or the server domain name has changed, you need to "
22531 "<quote>relocate</quote> your working copy so that its repository URLs point "
22532 "to the new location."
22534 "如果你的版本库移动了,或许是因为移动到了一个新的目录,或者是域名改变,你需要"
22535 "<quote>relocate</quote>你的工作副本,这样你的版本库URL指向新的地址。"
22538 #: ../source/TortoiseGit_en.xml:16026
22540 "Note: you should only use this command if your working copy is referring to "
22541 "the same location in the same repository, but the repository itself has "
22542 "moved. In any other circumstance you probably need the <quote>Switch</quote> "
22545 "注意: 工作副本必须是指向同一个版本库的同一个位置,是版本库本身移动了。在其他几"
22546 "种情况下,你很有可能是需要<quote>Switch</quote>命令。"
22549 #: ../source/TortoiseGit_en.xml:16035
22554 #: ../source/TortoiseGit_en.xml:16037
22556 "A repository is a central place where data is stored and maintained. A "
22557 "repository can be a place where multiple databases or files are located for "
22558 "distribution over a network, or a repository can be a location that is "
22559 "directly accessible to the user without having to travel across a network."
22561 "版本库是进行数据存储和维护的中心。版本库既可以由分布在网络上的若干数据库或者文"
22562 "件组成,也可以存放在用户不需要通过网络就可以直接访问的某个位置。"
22565 #: ../source/TortoiseGit_en.xml:16048
22567 "When files in a working copy are left in a conflicted state following a "
22568 "merge, those conflicts must be sorted out by a human using an editor (or "
22569 "perhaps TortoiseMerge). This process is referred to as <quote>Resolving "
22570 "Conflicts</quote>. When this is complete you can mark the conflicted files as "
22571 "being resolved, which allows them to be committed."
22573 "当合并之后版本库的文件进入了冲突状态,必须有人用编辑器解决冲突(或者是"
22574 "TortoiseMerge),这个过程称作<quote>解决冲突</quote>,当此过程结束,你可以将冲"
22575 "突文件标示为解决,将会运行提交这个文件。"
22578 #: ../source/TortoiseGit_en.xml:16060
22580 "Git keeps a local <quote>pristine</quote> copy of each file as it was "
22581 "when you last updated your working copy. If you have made changes and decide "
22582 "you want to undo them, you can use the <quote>revert</quote> command to go "
22583 "back to the pristine copy."
22585 "Git 会为每个更新到工作副本的文件保留一份<quote>原始</quote>副本。如果你"
22586 "做出了修改,并希望取消修改,你可以使用<quote>revert</quote>回到原始状态。"
22589 #: ../source/TortoiseGit_en.xml:16069
22594 #: ../source/TortoiseGit_en.xml:16071
22596 "Every time you commit a set of changes, you create one new <quote>revision</"
22597 "quote> in the repository. Each revision represents the state of the "
22598 "repository tree at a certain point in its history. If you want to go back in "
22599 "time you can examine the repository as it was at revision N."
22601 "每当你提交一组修改,你会在版本库创建一个<quote>修订版本</quote>,每个修订代表"
22602 "了版本库树在历史上某一点的状态,如果你希望回到历史,你可以回到以前的修订版本"
22606 #: ../source/TortoiseGit_en.xml:16078
22608 "In another sense, a revision can refer to the set of changes that were made "
22609 "when that revision was created."
22610 msgstr "另一种情况下,你可以把修订看作修订版本建立的修改集。"
22613 #: ../source/TortoiseGit_en.xml:16085
22614 msgid "Revision Property (revprop)"
22615 msgstr "版本属性(revprop)"
22618 #: ../source/TortoiseGit_en.xml:16087
22620 "Just as files can have properties, so can each revision in the repository. "
22621 "Some special revprops are added automatically when the revision is created, "
22622 "namely: <literal>svn:date svn:author svn:log</literal> which represent the "
22623 "commit date/time, the committer and the log message respectively. These "
22624 "properties can be edited, but they are not versioned, so any change is "
22625 "permanent and cannot be undone."
22627 "就像文件,版本库的每个修订也可以有属性。一些特殊的修订属性会在修订版本创建时自"
22628 "动生成,例如: <literal>svn:date svn:author svn:log</literal>代表了提交的时间,"
22629 "提交者和日志信息。这些属性可以编辑,但是这些属性都不是版本控制的,所以任何修改"
22633 #: ../source/TortoiseGit_en.xml:16099
22638 #: ../source/TortoiseGit_en.xml:16101
22639 msgid "A frequently-used abbreviation for Git."
22640 msgstr "Git 的常见缩写形式。"
22643 #: ../source/TortoiseGit_en.xml:16104
22645 "The name of the Git custom protocol used by the <quote>svnserve</"
22646 "quote> repository server."
22647 msgstr "Git 的<quote>svnserve</quote>版本库服务器使用的自定义协议名称。"
22650 #: ../source/TortoiseGit_en.xml:16113
22652 "Just as <quote>Update-to-revision</quote> changes the time window of a "
22653 "working copy to look at a different point in history, so <quote>Switch</"
22654 "quote> changes the space window of a working copy so that it points to a "
22655 "different part of the repository. It is particularly useful when working on "
22656 "trunk and branches where only a few files differ. You can switch your working "
22657 "copy between the two and only the changed files will be transferred."
22659 "就像<quote>Update-to-revision</quote>从历史上改变了工作副本的视点,"
22660 "<quote>Switch</quote>改变了工作副本空间上的视点。当主干和分支只有微小差别时,"
22661 "这个命令非常有用,你可以在目录之间跳转,而只会有很小区别需要传输。"
22664 #: ../source/TortoiseGit_en.xml:16127
22666 "This Git command pulls down the latest changes from the repository "
22667 "into your working copy, merging any changes made by others with local changes "
22668 "in the working copy."
22670 "这个命令将最新的修改从版本库下载到工作副本,合并其他人的修改和工作副本的本地修"
22674 #: ../source/TortoiseGit_en.xml:16135
22675 msgid "Working Copy"
22679 #: ../source/TortoiseGit_en.xml:16137
22681 "This is your local <quote>sandbox</quote>, the area where you work on the "
22682 "versioned files, and it normally resides on your local hard disk. You create "
22683 "a working copy by doing a <quote>Checkout</quote> from a repository, and you "
22684 "feed your changes back into the repository using <quote>Commit</quote>."
22686 "这是你的本地<quote>沙盒</quote>,这个区域是你工作在版本控制文件的地方,它一般"
22687 "存在于你的本地磁盘,你可以使用<quote>Checkout</quote>从版本库创建一个工作副"
22688 "本,然后使用<quote>Commit</quote>将修改传递回版本库。"