# # Simplified Chinese translation for TortoiseGit # Copyright (C) 2004-2008 the TortoiseGit team # This file is distributed under the same license as TortoiseGit # # Last commit by: # $Author: luebbe $ # $Date: 2009-01-08 17:19:56 +0800 (Thu, 08 Jan 2009) $ # $Rev: 15043 $ # # Authors: # Dongsheng Song , 2006-2008 # rocksun , 2006-2007 # amo , 2006 # Jaxx_chen , 2006 # kkeric , 2006 # liuheqi , 2006 # lulu2me , 2006 # Stan , 2006 # sunjing , 2006 # Tan Ruyan , 2006 # xingyu.wang , 2006 # yasakya , 2006 # # Update to new pot: # msgmerge --update TortoiseGit_zh_CN.po TortoiseGit.pot # # Check translation: # msgfmt --statistics -c TortoiseGit_zh_CN.po # # Please format your translation before commit: # msgmerge --width=80 --sort-by-file -o TortoiseGit_zh_CN_new.po TortoiseGit_zh_CN.po TortoiseGit.pot # mv -f TortoiseGit_zh_CN_new.po TortoiseGit_zh_CN.po # # Dictionary: # BASE revision 基础版本 # blame 追溯 # checkout 检出 # default 默认 # HEAD revision 最新版本 # overlay 重载 # remove 删除 # rename 改名 # repository 版本库 # revert 恢复 # revision 版本 # Git book Git 手册 # undo 撤销 # unified diff 标准差异 # unversioned 未版本控制 # versioned 已版本控制 # working copy 工作副本 # msgid "" msgstr "" "Project-Id-Version: TortoiseGit Documentation\n" "POT-Creation-Date: 2008-12-01 11:10 +0000\n" "PO-Revision-Date: 2008-12-24 09:40+0800\n" "Last-Translator: Dongsheng Song \n" "Language-Team: TortoiseGit translation team \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Put one translator per line, in the form of NAME . #. (None) #: ../source/TortoiseGit_en.xml:0 msgid "translator-credits" msgstr "" "Dongsheng Song , 2006-2008\n" "rocksun , 2006-2007\n" "amo , 2006\n" "Jaxx_chen , 2006\n" "kkeric , 2006\n" "liuheqi , 2006\n" "lulu2me , 2006\n" "Stan , 2006\n" "sunjing , 2006\n" "Tan Ruyan , 2006\n" "xingyu.wang , 2006\n" "yasakya , 2006" #. Place the translation of 'translation' here. #. (None) #: ../source/TortoiseGit_en.xml:0 msgid "translator-translation" msgstr "译者" #. (title) #. (secondary) #: ../source/TortoiseGit_en.xml:4 ../source/TortoiseGit_en.xml:3022 msgid "TortoiseGit" msgstr "TortoiseGit" #. (subtitle) #: ../source/TortoiseGit_en.xml:5 msgid "A Git client for Windows" msgstr "针对 Windows 平台的 Git 客户端" #. TRANSLATORS: "$MajorVersion$.$MinorVersion$.$MicroVersion$" is a literal value and should not be translated #. (subtitle) #: ../source/TortoiseGit_en.xml:6 msgid "Version $MajorVersion$.$MinorVersion$.$MicroVersion$" msgstr "版本 $MajorVersion$.$MinorVersion$.$MicroVersion$" #. (edition) #: ../source/TortoiseGit_en.xml:8 msgid "First" msgstr "首先" #. (firstname) #: ../source/TortoiseGit_en.xml:11 msgid "Stefan" msgstr "Stefan" #. (surname) #: ../source/TortoiseGit_en.xml:12 msgid "Küng" msgstr "Küng" #. (firstname) #: ../source/TortoiseGit_en.xml:15 msgid "Lübbe" msgstr "Lübbe" #. (surname) #: ../source/TortoiseGit_en.xml:16 msgid "Onken" msgstr "Onken" #. (firstname) #: ../source/TortoiseGit_en.xml:19 msgid "Simon" msgstr "Simon" #. (surname) #: ../source/TortoiseGit_en.xml:20 msgid "Large" msgstr "Large" #. (title) #: ../source/TortoiseGit_en.xml:27 msgid "Preface" msgstr "前言" #. (para) #: ../source/TortoiseGit_en.xml:35 msgid "Do you work in a team?" msgstr "你是否在一个团队中工作?" #. (para) #: ../source/TortoiseGit_en.xml:40 msgid "" "Has it ever happened that you were working on a file, and someone else was " "working on the same file at the same time? Did you lose your changes to that " "file because of that?" msgstr "" "是否发生过这样的情况: 当你在修改一个文件时,其他人也在修改这个文件?而你是否因" "此丢失过自己所作的修改呢?" #. (para) #: ../source/TortoiseGit_en.xml:47 msgid "" "Have you ever saved a file, and then wanted to revert the changes you made? " "Have you ever wished you could see what a file looked like some time ago?" msgstr "" "是否曾经保存完一个修改,然后又想把个文件恢复到修改以前的状态?是否曾经希望能够" "看到一个文件以前某个时间点的状态?" #. (para) #: ../source/TortoiseGit_en.xml:54 msgid "" "Have you ever found a bug in your project and wanted to know when that bug " "got into your files?" msgstr "是否曾经在项目中发现了一个 BUG,然后想调查它是什么时候产生的?" #. (para) #: ../source/TortoiseGit_en.xml:61 msgid "" "If you answered yes to one of these questions, then " "TortoiseGit is for you! Just read on to find out how TortoiseGit can help you " "in your work. It's not that difficult." msgstr "" "如果这些问题中的任何一个回答的话,那么 TortoiseGit 就是为你准" "备的!请继续读下去,你就能知道怎样让 TortoiseGit 对你的工作起到帮助,这其实并" "不困难。" #. (title) #: ../source/TortoiseGit_en.xml:71 msgid "Audience" msgstr "致读者" #. (para) #: ../source/TortoiseGit_en.xml:72 msgid "" "This book is written for computer literate folk who want to use Git to " "manage their data, but are uncomfortable using the command line client to do " "so. Since TortoiseGit is a windows shell extension it's assumed that the user " "is familiar with the windows explorer and knows how to use it." msgstr "" "本书面向这样的计算机用户: 希望使用 Git 管理数据,但又不愿意使用 " "Git 的命令行客户端。因为 TortoiseGit 是 Windows 的外壳扩展应用,所以我" "们假设用户很熟悉 Windows 资源管理器的使用。" #. (title) #: ../source/TortoiseGit_en.xml:84 msgid "Reading Guide" msgstr "阅读指南" #. (para) #: ../source/TortoiseGit_en.xml:85 #, fuzzy msgid "" "This explains a little about the TortoiseGit " "project, the community of people who work on it, and the licensing conditions " "for using it and distributing it." msgstr "" "在前言里简单介绍了 TortoiseGit 项目,以及其开发团体,还介" "绍了使用及分发该软件应遵循的许可证。" #. (para) #: ../source/TortoiseGit_en.xml:90 #, fuzzy msgid "" "The explains what TortoiseGit is, what " "it does, where it comes from and the basics for installing it on your PC." msgstr "" "在简介一章里解释了 TortoiseGit 是什么,能够做什么,它的开" "发过程以及安装相关的基础知识。" #. (para) #: ../source/TortoiseGit_en.xml:95 #, fuzzy msgid "" "In we give a short introduction to the " "Git revision control system which underlies " "TortoiseGit. This is borrowed from the documentation for the Git " "project and explains the different approaches to version control, and how " "Git works." msgstr "" "在基本概念一章里简短地介绍了 Git 版本控制系统,Git 是 TortoiseGit 的基础。这一章引用了 " "Git 工程的文档,介绍了各种版本控制模式,以及 Git 的工作原理。" #. (para) #: ../source/TortoiseGit_en.xml:102 msgid "" "Even most Git users will never have to set up a server themselves. The " "next chapter deals with how to set up such a server, and is useful for " "administrators." msgstr "" "在服务器安装一章里介绍了如何安装一个版本控制服务器。虽然" "大部分的 Git 用户从来不需要自己安装服务器,但是对系统管理员来说这一章非" "常有用。" #. (para) #: ../source/TortoiseGit_en.xml:107 #, fuzzy msgid "" "The chapter on explains how to set up a " "local repository, which is useful for testing Git and TortoiseGit " "using a single PC. It also explains a bit about repository administration " "which is also relevant to repositories located on a server." msgstr "" "版本库这一章解释了如何设置一个本地版本库,怎样在一台 PC " "上测试 Git 和 TortoiseGit,这一章也介绍了一点版本库管理,也就是如何管理" "服务器上的版本库。" #. (para) #: ../source/TortoiseGit_en.xml:113 #, fuzzy msgid "" "The is the most important section as it explains " "all the main features of TortoiseGit and how to use them. It takes the form " "of a tutorial, starting with checking out a working copy, modifying it, " "committing your changes, etc. It then progresses to more advanced topics." msgstr "" "日常使用指南是最重要的章节,介绍了 TortoiseGit 最主要特性" "的使用。它以教程的形式,从检出一个工作副本开始,然后修改,提交你的修改,之后进" "入高级主题。" #. (para) #: ../source/TortoiseGit_en.xml:120 #, fuzzy msgid "" " is a separate program included with " "TortoiseGit which can extract the information from your working copy and " "write it into a file. This is useful for including build information in your " "projects." msgstr "" "SubWCRev 是 TortoiseGit 的一个独立程序,可以从工作副本抽" "取信息并记录到一个文件,可以用来在项目中包含构建信息。" #. (para) #: ../source/TortoiseGit_en.xml:125 #, fuzzy msgid "" "The section answers some common questions " "about performing tasks which are not explicitly covered elsewhere." msgstr "" "我该怎么做 …这一节回答了一些操作方面的常见问题。这些常见" "问题在其他章节没有被明确的提到过。" #. (para) #: ../source/TortoiseGit_en.xml:129 #, fuzzy msgid "" "The section on shows how the TortoiseGit " "GUI dialogs can be called from the command line. This is useful for scripting " "where you still need user interaction." msgstr "" "自动化 TortoiseGit 这一小节展示了如何使用命令行调用 " "TortoiseGit 的 GUI 对话框,当你在使用脚本时仍希望用户交互时非常有用。" #. (para) #: ../source/TortoiseGit_en.xml:134 #, fuzzy msgid "" "The give a correlation between TortoiseGit " "commands and their equivalents in the Git command line client " "svn.exe." msgstr "" "命令行交叉索引给出了 TortoiseGit 命令与其对应的 " "Git 命令行工具 svn.exe 命令之间的关系。" #. (title) #: ../source/TortoiseGit_en.xml:144 msgid "TortoiseGit is free!" msgstr "TortoiseGit 是完全免费的!" #. (para) #: ../source/TortoiseGit_en.xml:145 msgid "" "TortoiseGit is free. You don't have to pay to use it, and you can use it any " "way you want. It is developed under the GNU General Public License (GPL)." msgstr "" "TortoiseGit 是免费的,你不需要为使用它而付费,可以用任何你希望的方式使用它,它" "开发的许可证是 GNU General Public License (GPL)。" #. (para) #: ../source/TortoiseGit_en.xml:149 msgid "" "TortoiseGit is an Open Source project. That means you have full read access " "to the source code of this program. You can browse it on this link http://" "TortoiseGit.tigris.org/svn/TortoiseGit/. You will be " "prompted to enter username and password. The username is guest, and the password must be left blank. The most recent version (where " "we're currently working) is located under /trunk/, and " "the released versions are located under /tags/." msgstr "" "TortoiseGit 是一个开源软件项目。这意味着你可以取得它的全部源代码。你可以访问以" "下链接得到源代码:http://TortoiseGit.tigris.org/svn/TortoiseGit/。你会被提示输入用户名称和密码。用户名称是 guest,不" "能填写密码。最新的版本(我们当前正在开发的)放在 /trunk/ ," "已发布版本放在 /tags/ 。" #. (title) #: ../source/TortoiseGit_en.xml:168 msgid "Community" msgstr "社区" #. (para) #: ../source/TortoiseGit_en.xml:169 msgid "" "Both TortoiseGit and Git are developed by a community of people who " "are working on those projects. They come from different countries all over " "the world and joined together to create wonderful programs." msgstr "" "TortoiseGit 和 Git 由工作在这些项目的社区成员开发。他们来自全世界不同的" "国家,联合起来创造美妙的程序。" #. (title) #: ../source/TortoiseGit_en.xml:180 msgid "Acknowledgments" msgstr "致谢" #. (term) #: ../source/TortoiseGit_en.xml:183 msgid "Tim Kemp" msgstr "时间机器" #. (para) #: ../source/TortoiseGit_en.xml:185 msgid "for founding the TortoiseGit project" msgstr "TortoiseGit 项目的发起者" #. (term) #: ../source/TortoiseGit_en.xml:191 msgid "Stefan Küng" msgstr "Stefan Küng" #. (para) #: ../source/TortoiseGit_en.xml:193 msgid "for the hard work to get TortoiseGit to what it is now" msgstr "TortoiseGit 的主要开发者" #. (term) #: ../source/TortoiseGit_en.xml:199 msgid "Lübbe Onken" msgstr "Lübbe Onken" #. (para) #: ../source/TortoiseGit_en.xml:201 #, fuzzy msgid "" "for the beautiful icons, logo, bug hunting, translating and managing the " "translations" msgstr "制作了漂亮的图标、Logo,错误跟踪及文档维护" #. (term) #: ../source/TortoiseGit_en.xml:208 msgid "Simon Large" msgstr "Simon Large" #. (para) #: ../source/TortoiseGit_en.xml:210 msgid "for helping with the documentation and bug hunting" msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:216 msgid "The Git Book" msgstr "Git 手册" #. (para) #: ../source/TortoiseGit_en.xml:218 msgid "" "for the great introduction to Git and its chapter 2 which we copied " "here" msgstr "为了对 Git 大量介绍,我们复制了其第二章" #. (term) #: ../source/TortoiseGit_en.xml:225 msgid "The Tigris Style project" msgstr "Tigris 样式项目" #. (para) #: ../source/TortoiseGit_en.xml:227 msgid "for some of the styles which are reused in this documentation" msgstr "我们在本文重用了一些样式" #. (term) #: ../source/TortoiseGit_en.xml:233 msgid "Our Contributors" msgstr "我们的贡献者" #. (para) #: ../source/TortoiseGit_en.xml:235 msgid "" "for the patches, bug reports and new ideas, and for helping others by " "answering questions on our mailing list." msgstr "为了那些补丁,问题报告和新创意,以及在邮件列表里通过回答问题帮助别人。" #. (term) #: ../source/TortoiseGit_en.xml:242 msgid "Our Donators" msgstr "我们的捐赠者" #. (para) #: ../source/TortoiseGit_en.xml:244 msgid "for many hours of joy with the music they sent us" msgstr "他们发送给我们的那些音乐带来了快乐" #. (title) #: ../source/TortoiseGit_en.xml:255 msgid "Terminology used in this document" msgstr "本文使用的术语" #. (para) #: ../source/TortoiseGit_en.xml:256 msgid "" "To make reading the docs easier, the names of all the screens and Menus from " "TortoiseGit are marked up in a different font. The Log Dialog for instance." msgstr "" "为了使文档更加易读,所有 TortoiseGit 的窗口名和菜单名使用不同的字体,例如" "日志对话框。" #. (para) #: ../source/TortoiseGit_en.xml:261 msgid "" "A menu choice is indicated with an arrow. TortoiseGitShow Log means: select " "Show Log from the TortoiseGit " "context menu." msgstr "" "菜单选择使用箭头显示。TortoiseGit" "显示日志的含义是: 从TortoiseGit右键菜单选择显示日志。" #. (para) #: ../source/TortoiseGit_en.xml:270 msgid "" "Where a local context menu appears within one of the TortoiseGit dialogs, it " "is shown like this: Context MenuSave As ..." msgstr "" "在 TortoiseGit 对话框中出现的右键菜单,可能是这个样子: 右" "键菜单另存为 ..." #. (para) #: ../source/TortoiseGit_en.xml:278 msgid "" "User Interface Buttons are indicated like this: Press OK to continue." msgstr "用户界面按钮的显示形式: 点击OK以继续。" #. (para) #: ../source/TortoiseGit_en.xml:282 #, fuzzy msgid "" "User Actions are indicated using a bold font. Alt+A: press " "the Alt-Key on your keyboard and while holding it down press " "the A-Key as well. Right-drag: press the " "right mouse button and while holding it down drag the " "items to the new location." msgstr "" "用户动作使用粗体显示。ALT+A: 按下键盘的ALT" "键,同时按下A键,右键拖拽: 点击鼠标邮件并保" "持,将项目拖放到新位置。" #. (para) #: ../source/TortoiseGit_en.xml:290 msgid "" "System output and keyboard input is indicated with a different font as well." msgstr "系统输出和键盘输入也使用不同的字体显示。" #. (para) #: ../source/TortoiseGit_en.xml:295 msgid "Important notes are marked with an icon." msgstr "使用图标标记的重要提示。" #. (para) #: ../source/TortoiseGit_en.xml:300 msgid "Tips that make your life easier." msgstr "技巧让你的生活更加简单。" #. (para) #: ../source/TortoiseGit_en.xml:305 msgid "Places where you have to be careful what you are doing." msgstr "操作时需要小心的地方。" #. (para) #: ../source/TortoiseGit_en.xml:310 msgid "" "Where extreme care has to be taken, data corruption or other nasty things may " "occur if these warnings are ignored." msgstr "" "需要特别关注的地方,如果忽略这些警告,会导致数据损坏或其他令人讨厌的事情。" #. (title) #. (title) #. (title) #: ../source/TortoiseGit_en.xml:319 ../source/TortoiseGit_en.xml:1482 #: ../source/TortoiseGit_en.xml:2481 msgid "Introduction" msgstr "简介" #. (primary) #: ../source/TortoiseGit_en.xml:322 msgid "version control" msgstr "版本控制" #. (para) #: ../source/TortoiseGit_en.xml:325 msgid "" "Version control is the art of managing changes to information. It has long " "been a critical tool for programmers, who typically spend their time making " "small changes to software and then undoing or checking some of those changes " "the next day. Imagine a team of such developers working concurrently - and " "perhaps even simultaneously on the very same files! - and you can see why a " "good system is needed to manage the potential chaos." msgstr "" "版本控制是管理信息修改的艺术,它一直是程序员最重要的工具,程序员经常会花时间作" "出小的修改,然后又在某一天取消了这些修改,想象一下一个开发者并行工作的团队 - " "或许是同时工作在同一个文件!- 你就会明白为什么一个好的系统需要管理潜" "在的混乱。" #. (title) #: ../source/TortoiseGit_en.xml:339 msgid "What is TortoiseGit?" msgstr "什么是 TortoiseGit?" #. (para) #: ../source/TortoiseGit_en.xml:340 msgid "" "TortoiseGit is a free open-source client for the Git version control system. That is, TortoiseGit manages files and " "directories over time. Files are stored in a central repository. The repository is much like an ordinary file server, except that " "it remembers every change ever made to your files and directories. This " "allows you to recover older versions of your files and examine the history of " "how and when your data changed, and who changed it. This is why many people " "think of Git and version control systems in general as a sort of " "time machine." msgstr "" "TortoiseGit 是 Git 版本控制系统的一个免费开源客" "户端,可以超越时间的管理文件和目录。文件保存在中央版本库,除了能记住文件和目录的每次修改以外,版本库非常像普通的文件服务器。" "你可以将文件恢复到过去的版本,并且可以通过检查历史知道数据做了哪些修改,谁做的" "修改。这就是为什么许多人将 Git 和版本控制系统看作一种时间机器。" #. (para) #: ../source/TortoiseGit_en.xml:352 msgid "" "Some version control systems are also software configuration management (SCM) " "systems. These systems are specifically tailored to manage trees of source " "code, and have many features that are specific to software development - such " "as natively understanding programming languages, or supplying tools for " "building software. Git, however, is not one of these systems; it is a " "general system that can be used to manage any collection " "of files, including source code." msgstr "" "某些版本控制系统也是软件配置管理(SCM)系统,这种系统经过精巧的设计,专门用来管" "理源代码树,并且具备许多与软件开发有关的特性 - 比如,对编程语言的支持,或者提" "供程序构建工具。不过 Git 并不是这样的系统;它是一个通用系统,可以管理" "任何类型的文件集,包括源代码。" #. (title) #: ../source/TortoiseGit_en.xml:368 msgid "TortoiseGit's History" msgstr "TortoiseGit 的历史" #. (para) #: ../source/TortoiseGit_en.xml:369 msgid "" "In 2002, Tim Kemp found that Git was a very good version control " "system, but it lacked a good GUI client. The idea for a Git client as " "a Windows shell integration was inspired by the similar client for CVS named " "TortoiseCVS." msgstr "" "在2002年,Tim Kemp 发现 Git 是一个很好的版本控制系统,但是没有好的图形" "化客户端,创建一个作为 Windows 外壳集成的 Git 客户端的创意来自 " "TortoiseCVS,一个非常类似的 CVS 客户端。" #. (para) #: ../source/TortoiseGit_en.xml:375 msgid "" "Tim studied the source code of TortoiseCVS and used it as a base for " "TortoiseGit. He then started the project, registered the domain " "TortoiseGit.org and put the source code online. During " "that time, Stefan Küng was looking for a good and free version control system " "and found Git and the source for TortoiseGit. Since TortoiseGit was " "still not ready for use then he joined the project and started programming. " "Soon he rewrote most of the existing code and started adding commands and " "features, up to a point where nothing of the original code remained." msgstr "" "Tim 学习了 TortoiseCVS 的源代码,将其作为 TortoiseGit 的基础,然后开始这个项" "目,注册了域名 TortoiseGit.org,并将源代码提交到网上。此时 " "Stefan Küng 正在寻找一个好的免费版本控制系统,他发现了 Git 和 " "TortoiseGit,由于 TortoiseGit 还不能够使用,他加入了这个项目并开始编程。很快他" "便重写了大多数代码,并且开始添加命令和特性,此时,最初的代码都已经不复存在了。" #. (para) #: ../source/TortoiseGit_en.xml:386 msgid "" "As Git became more stable it attracted more and more users who also " "started using TortoiseGit as their Git client. The user base grew " "quickly (and is still growing every day). That's when Lübbe Onken offered to " "help out with some nice icons and a logo for TortoiseGit. And he takes care " "of the website and manages the translation." msgstr "" "随着 Git 越来越稳定,吸引了越来越多的用户开始使用 TortoiseGit 作为他们" "的 Git 客户端。用户群增长迅速(每天都持续增长)。Lübbe Onken 提供了许多漂" "亮图标和 TortoiseGit 的 logo,细心照料网站并且管理翻译。" #. (title) #: ../source/TortoiseGit_en.xml:399 msgid "TortoiseGit's Features" msgstr "TortoiseGit 的特性" #. (para) #: ../source/TortoiseGit_en.xml:400 msgid "" "What makes TortoiseGit such a good Git client? Here's a short list of " "features." msgstr "" "是什么让 TortoiseGit 成为一个好的 Git 客户端?下面是一个简短的特性列" "表。" #. (term) #: ../source/TortoiseGit_en.xml:406 msgid "Shell integration" msgstr "外壳集成" #. (primary) #: ../source/TortoiseGit_en.xml:409 msgid "Windows shell" msgstr "Windows 外壳" #. (primary) #: ../source/TortoiseGit_en.xml:412 msgid "explorer" msgstr "资源管理器" #. (para) #: ../source/TortoiseGit_en.xml:414 msgid "" "TortoiseGit integrates seamlessly into the Windows shell (i.e. the explorer). " "This means you can keep working with the tools you're already familiar with. " "And you do not have to change into a different application each time you need " "functions of the version control!" msgstr "" "TortoiseGit 与Windows 外壳(例如资源管理器)无缝集成,你可以保持在熟悉的工具上工" "作,不需要在每次使用版本控制功能时切换应用程序。" #. (para) #: ../source/TortoiseGit_en.xml:421 msgid "" "And you are not even forced to use the Windows Explorer. TortoiseGit's " "context menus work in many other file managers, and in the File/Open dialog " "which is common to most standard Windows applications. You should, however, " "bear in mind that TortoiseGit is intentionally developed as extension for the " "Windows Explorer. Thus it is possible that in other applications the " "integration is not as complete and e.g. the icon overlays may not be shown." msgstr "" "并且你不一定必须使用 Windows 资源管理器,TortoiseGit 的右键菜单可以工作在其他" "文件管理器,以及文件/打开对话框等标准的 Windows 应用程序中。你必须牢记," "TortoiseGit 是有意作为 Windows 资源管理器的扩展开发,因此在其他程序可能集成的" "并不完整,例如重载图标可能不会显示。" #. (term) #: ../source/TortoiseGit_en.xml:435 msgid "Icon overlays" msgstr "重载图标" #. (para) #: ../source/TortoiseGit_en.xml:437 msgid "" "The status of every versioned file and folder is indicated by small overlay " "icons. That way you can see right away what the status of your working copy " "is." msgstr "" "每个版本控制的文件和目录的状态使用小的重载图标表示,可以让你立刻看出工作副本的" "状态。" #. (term) #: ../source/TortoiseGit_en.xml:445 msgid "Easy access to Git commands" msgstr "Git 命令的简便访问" #. (para) #: ../source/TortoiseGit_en.xml:447 msgid "" "All Git commands are available from the explorer context menu. " "TortoiseGit adds its own submenu there." msgstr "" "所有的 Git 命令存在于资源管理器的右键菜单,TortoiseGit 在那里添加子菜" "单。" #. (para) #: ../source/TortoiseGit_en.xml:454 msgid "" "Since TortoiseGit is a Git client, we would also like to show you some " "of the features of Git itself:" msgstr "" "因为 TortoiseGit 是一个 Git 客户端,我们也很愿意为你展示一些 " "Git 本身的特性: " #. (term) #: ../source/TortoiseGit_en.xml:460 msgid "Directory versioning" msgstr "目录版本控制" #. (para) #: ../source/TortoiseGit_en.xml:462 msgid "" "CVS only tracks the history of individual files, but Git implements a " "virtual versioned filesystem that tracks changes to whole " "directory trees over time. Files and directories are " "versioned. As a result, there are real client-side move " "and copy commands that operate on files and directories." msgstr "" "CVS 只能追踪单个文件的历史,但是 Git 实现了一个虚拟文件" "系统,可以追踪整个目录树的修改,文件目录都是版本控制" "的,结果就是可以在客户端对文件和目录执行移动复制" "命令。" #. (term) #: ../source/TortoiseGit_en.xml:475 msgid "Atomic commits" msgstr "原子提交" #. (para) #: ../source/TortoiseGit_en.xml:477 msgid "" "A commit either goes into the repository completely, or not at all. This " "allows developers to construct and commit changes as logical chunks." msgstr "" "提交要么完全进入版本库,要么一点都没有,这允许开发者以一个逻辑块提交修改。" #. (term) #: ../source/TortoiseGit_en.xml:485 msgid "Versioned metadata" msgstr "版本控制的元数据" #. (para) #: ../source/TortoiseGit_en.xml:487 msgid "" "Each file and directory has an invisible set of properties " "attached. You can invent and store any arbitrary key/value pairs you wish. " "Properties are versioned over time, just like file contents." msgstr "" "每个文件和目录都有一组附加的属性,你可以发明和保存任意的键/值" "对,属性是版本控制的,就像文件内容。" #. (term) #: ../source/TortoiseGit_en.xml:497 msgid "Choice of network layers" msgstr "可选的网络层" #. (para) #: ../source/TortoiseGit_en.xml:499 msgid "" "Git has an abstracted notion of repository access, making it easy for " "people to implement new network mechanisms. Git's advanced network server is a module for the Apache web server, which speaks a " "variant of HTTP called WebDAV/DeltaV. This gives Git a big advantage " "in stability and interoperability, and provides various key features for " "free: authentication, authorization, wire compression, and repository " "browsing, for example. A smaller, standalone Git server process is " "also available. This server speaks a custom protocol which can be easily " "tunneled over ssh." msgstr "" "Git 在版本库访问方面有一个抽象概念,利于人们去实现新的网络机制," "Git 的高级服务器是 Apache 网络服务器的一个模块,使用 " "HTTP 的变种协议 WebDAV/DeltaV 通讯,这给了 Git 在稳定性和交互性方面很大" "的好处,可以直接使用服务器的特性,例如认证、授权、传输压缩和版本库浏览等等。也" "有一个轻型的,单独运行的 Git 服务器,这个服务器使用自己的协议,可以轻松" "的用 SSH 封装。" #. (term) #: ../source/TortoiseGit_en.xml:516 msgid "Consistent data handling" msgstr "一致的数据处理" #. (para) #: ../source/TortoiseGit_en.xml:518 msgid "" "Git expresses file differences using a binary differencing algorithm, " "which works identically on both text (human-readable) and binary (human-" "unreadable) files. Both types of files are stored equally compressed in the " "repository, and differences are transmitted in both directions across the " "network." msgstr "" "Git 使用二进制文件差异算法展现文件的区别,对于文本(人类可读)和二进制(人" "类不可读)文件具备一致的操作方式,两种类型的文件都压缩存放在版本库中,差异在网" "络上双向传递。" #. (term) #: ../source/TortoiseGit_en.xml:529 msgid "Efficient branching and tagging" msgstr "高效的分支和标签" #. (para) #: ../source/TortoiseGit_en.xml:531 msgid "" "The cost of branching and tagging need not be proportional to the project " "size. Git creates branches and tags by simply copying the project, " "using a mechanism similar to a hard-link. Thus these operations take only a " "very small, constant amount of time, and very little space in the repository." msgstr "" "分支与标签的代价不与工程的大小成比例,Git 建立分支与标签时只是复制项" "目,使用了一种类似于硬链接的机制,因而这类操作通常只会花费很少并且相对固定的时" "间,以及很小的版本库空间。" #. (term) #: ../source/TortoiseGit_en.xml:542 msgid "Hackability" msgstr "良好的维护能力" #. (para) #: ../source/TortoiseGit_en.xml:544 msgid "" "Git has no historical baggage; it is implemented as a collection of " "shared C libraries with well-defined APIs. This makes Git extremely " "maintainable and usable by other applications and languages." msgstr "" "Git 没有历史负担,它由一系列良好的共享 C 库实现,具有定义良好的 API,这" "使 Git 非常容易维护,可以轻易的被其他语言和程序使用。" #. (title) #: ../source/TortoiseGit_en.xml:558 msgid "Installing TortoiseGit" msgstr "安装 TortoiseGit" #. (title) #: ../source/TortoiseGit_en.xml:560 msgid "System requirements" msgstr "系统要求" #. (para) #: ../source/TortoiseGit_en.xml:561 msgid "" "TortoiseGit runs on Windows 2000 SP2, Windows XP or higher. Windows 98, " "Windows ME and Windows NT4 are no longer supported since TortoiseGit 1.2.0, " "but you can still download the older versions if you really need them." msgstr "" "TortoiseGit 可以运行在 Windows 2000 SP2,Windows XP 或更高的版本。" "TortoiseGit 1.2.0 以后不再支持 Windows 98, Windows ME 和 Windows NT4,但是如果" "需要的话,你仍旧可以下载以前的版本。" #. (para) #: ../source/TortoiseGit_en.xml:567 msgid "" "If you encounter any problems during or after installing TortoiseGit please " "refer to first." msgstr "" "如果在安装 TortoiseGit 时发现了任何问题,请首先参考。" #. (title) #: ../source/TortoiseGit_en.xml:575 msgid "Installation" msgstr "安装" #. (primary) #: ../source/TortoiseGit_en.xml:577 msgid "install" msgstr "安装" #. (para) #: ../source/TortoiseGit_en.xml:579 msgid "" "TortoiseGit comes with an easy to use installer. Double click on the " "installer file and follow the instructions. The installer will take care of " "the rest." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:585 msgid "You need Administrator privileges to install TortoiseGit." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:591 msgid "Language Packs" msgstr "语言包" #. (primary) #: ../source/TortoiseGit_en.xml:593 msgid "language packs" msgstr "语言包" #. (primary) #: ../source/TortoiseGit_en.xml:596 msgid "translations" msgstr "翻译" #. (para) #: ../source/TortoiseGit_en.xml:598 msgid "" "The TortoiseGit user interface has been translated into many different " "languages, so you may be able to download a language pack to suit your needs. " "You can find the language packs on our translation status page. " "And if there is no language pack available yet, why not join the team and " "submit your own translation ;-)" msgstr "" "TortoiseGit 的界面已经翻译成了许多种语言,所以你可以下载符合你要求的语言包。你" "可以在我们的翻译状态页里看到语言包。如果没有你需要的,为" "什么不加入我们的团队并且提交你的翻译呢?-)" #. (para) #: ../source/TortoiseGit_en.xml:609 msgid "" "Each language pack is packaged as a .exe installer. Just " "run the install program and follow the instructions. Next time you restart, " "the translation will be available." msgstr "" "每一种语言包都是一个 .exe 安装程序,只要根据向导运行安装程" "序,当你下一次启动程序时,翻译就会生效。" #. (title) #: ../source/TortoiseGit_en.xml:616 msgid "Spellchecker" msgstr "拼写检查器" #. (primary) #: ../source/TortoiseGit_en.xml:618 msgid "spellchecker" msgstr "拼写检查器" #. (primary) #: ../source/TortoiseGit_en.xml:621 msgid "dictionary" msgstr "词典" #. (para) #: ../source/TortoiseGit_en.xml:623 msgid "" "TortoiseGit includes a spell checker which allows you to check your commit " "log messages. This is especially useful if the project language is not your " "native language. The spell checker uses the same dictionary files as OpenOffice and " "Mozilla." msgstr "" "TortoiseGit 包括了一个拼写检查器,可以检查你的提交日志信息,当你的项目语言不是" "你的本地语言时尤其有用,拼写检查器使用 OpenOfficeMozilla 相同的词典。" #. (para) #: ../source/TortoiseGit_en.xml:636 msgid "" "The installer automatically adds the US and UK English dictionaries. If you " "want other languages, the easiest option is simply to install one of " "TortoiseGit's language packs. This will install the appropriate dictionary " "files as well as the TortoiseGit local user interface. Next time you restart, " "the dictionary will be available too." msgstr "" "安装程序自动添加 US 和 UK 英语词典。如果你需要其他语言,最简单的方法是安装 " "TortoiseGit 的语言包,这会安装合适的词典文件和 TortoiseGit 的本地用户界面,当" "你下一次启动程序时,词典也将会生效。" #. (para) #: ../source/TortoiseGit_en.xml:644 msgid "" "Or you can install the dictionaries yourself. If you have OpenOffice or " "Mozilla installed, you can copy those dictionaries, which are located in the " "installation folders for those applications. Otherwise, you need to download " "the required dictionary files from http://wiki.services.openoffice." "org/wiki/Dictionaries" msgstr "" "或者你也可以自己安装词典。如果你安装了 OpenOffice 或 Mozilla,你可以复制这些词" "典,位于那些应用的安装目录。否则,你需要从 http://wiki.services.openoffice." "org/wiki/Dictionaries 下载必要的词典文件。" #. (para) #: ../source/TortoiseGit_en.xml:653 msgid "" "Once you have got the dictionary files, you probably need to rename them so " "that the filenames only have the locale chars in it. Example: Then just copy them to the bin sub-folder of the " "TortoiseGit installation folder. Normally this will be C:\\Program " "Files\\TortoiseGit\\bin. If you don't want to litter the " "bin sub-folder, you can instead place your spell checker " "files in C:\\Program Files\\TortoiseGit\\Languages. If " "that folder isn't there, you have to create it first. The next time you start " "TortoiseGit, the spell checker will be available." msgstr "" "一旦你得到了词典文件,你可能需要重命名文件,这样文件名只包含位置信息,例如: " "然后把它们复制到TortoiseGit 安装目录的 bin 子目录,通常情况下,可能是在 C:\\Program Files" "\\TortoiseGit\\bin。如果你不希望弄乱bin子目" "录,你可以将拼写检查文件放置在C:\\Program Files\\TortoiseGit" "\\Languages,如果那个目录不存在,你可以自己创建,当你下次启动" "TortoiseGit 时,就可以使用拼写检查器。" #. (filename) #: ../source/TortoiseGit_en.xml:661 msgid "en_US.aff" msgstr "en_US.aff" #. (filename) #: ../source/TortoiseGit_en.xml:666 msgid "en_US.dic" msgstr "en_US.dic" #. (para) #: ../source/TortoiseGit_en.xml:679 msgid "" "If you install multiple dictionaries, TortoiseGit uses these rules to select " "which one to use. " msgstr "" "如果你安装了多个词典,TortoiseGit 使用下面的规则选择一个。" #. (para) #: ../source/TortoiseGit_en.xml:684 msgid "" "Check the tsvn:projectlanguage setting. Refer to for information about setting project " "properties." msgstr "" "检查 tsvn:projectlanguage 设置,关于设置项目属性可以参考" "。" #. (para) #: ../source/TortoiseGit_en.xml:691 msgid "" "If no project language is set, or that language is not installed, try the " "language corresponding to the Windows locale." msgstr "" "如果没有设置项目语言,或者那个语言没有安装,尝试使用对应 Windows 区域信息的语" "言。" #. (para) #: ../source/TortoiseGit_en.xml:697 msgid "" "If the exact Windows locale doesn't work, try the Base " "language, eg. de_CH (Swiss-German) falls back to " "de_DE (German)." msgstr "" "如果精确的 Windows 区域信息不起作用,可以试一下基础语言,例如" "将 de_CH(Swiss-German) 修改为 de_DE " "(German)。" #. (para) #: ../source/TortoiseGit_en.xml:705 msgid "" "If none of the above works, then the default language is English, which is " "included with the standard installation." msgstr "如果以上都没有效果,则缺省语言是英语,包含在标准安装中。" #. (title) #: ../source/TortoiseGit_en.xml:722 msgid "Basic Concepts" msgstr "基本概念" #. (primary) #: ../source/TortoiseGit_en.xml:724 msgid "Git book" msgstr "Git 手册" #. (para) #: ../source/TortoiseGit_en.xml:727 msgid "" "This chapter is a slightly modified version of the same chapter in the " "Git book. An online version of the Git book is available here: " "http://svnbook.red-" "bean.com/." msgstr "" "本章修改自《使用 Git 进行版本管理》的相同章节,它的在线版本位于: " "http://svnbook.red-" "bean.com/。" #. (para) #: ../source/TortoiseGit_en.xml:735 msgid "" "This chapter is a short, casual introduction to Git. If you're new to " "version control, this chapter is definitely for you. We begin with a " "discussion of general version control concepts, work our way into the " "specific ideas behind Git, and show some simple examples of Git " "in use." msgstr "" "这一章是对 Git 一个简短随意的介绍,如果你对版本控制很陌生,这一章节完全" "是为你准备的,我们从讨论基本概念开始,深入理解 Git 的思想,然后展示许多" "简单的实例。" #. (para) #: ../source/TortoiseGit_en.xml:743 msgid "" "Even though the examples in this chapter show people sharing collections of " "program source code, keep in mind that Git can manage any sort of file " "collection - it's not limited to helping computer programmers." msgstr "" "尽管我们的例子展示了人们如何分享程序源代码,仍然要记住 Git 可以控制所有" "类型的文件-它并没有限制只为程序员工作。" #. (title) #. (title) #. (title) #: ../source/TortoiseGit_en.xml:751 ../source/TortoiseGit_en.xml:1256 #: ../source/TortoiseGit_en.xml:2944 msgid "The Repository" msgstr "版本库" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:753 ../source/TortoiseGit_en.xml:3717 msgid "repository" msgstr "版本库" #. (para) #: ../source/TortoiseGit_en.xml:755 msgid "" "Git is a centralized system for sharing information. At its core is a " "repository, which is a central store of data. The " "repository stores information in the form of a filesystem tree - a typical hierarchy of files and directories. Any number of " "clients connect to the repository, and then read or " "write to these files. By writing data, a client makes the information " "available to others; by reading data, the client receives information from " "others." msgstr "" "Git 是一种集中的分享信息的系统,它的核心是版本库,储存所有的数据,版本库按照文件树形式储存数" "据-包括文件和目录,任意数量的客户端可以连接到版本库," "读写这些文件。通过写数据,别人可以看到这些信息;通过读数据,可以看到别人的修" "改。" #. (title) #: ../source/TortoiseGit_en.xml:767 msgid "A Typical Client/Server System" msgstr "一个典型的客户/服务器系统" #. (para) #: ../source/TortoiseGit_en.xml:770 msgid "" "So why is this interesting? So far, this sounds like the definition of a " "typical file server. And indeed, the repository is a " "kind of file server, but it's not your usual breed. What makes the Git " "repository special is that it remembers every change " "ever written to it: every change to every file, and even changes to the " "directory tree itself, such as the addition, deletion, and rearrangement of " "files and directories." msgstr "" "所以为什么这很有趣呢?讲了这么多,让人感觉这是一种普通的文件服务器,但实际上," "版本库另一种文件服务器,而不是你常见的那一种。最特别的" "是 Git 会记录每一次的更改,不仅针对文件也包括目录" "本身,包括增加、删除和重新组织文件和目录。" #. (para) #: ../source/TortoiseGit_en.xml:780 #, fuzzy msgid "" "When a client reads data from the repository, it normally sees only the " "latest version of the filesystem tree. But the client also has the ability to " "view previous states of the filesystem. For example, a " "client can ask historical questions like, what did this directory " "contain last Wednesday?, or who was the last person to change " "this file, and what changes did they make? These are the sorts of " "questions that are at the heart of any version control system: systems that are designed to record and track changes to data " "over time." msgstr "" "当一个客户端从版本库读取数据时,通常只会看到最新的版本,但是客户端也可以去看" "以前的任何一个版本。举个例子,一个客户端可以问这样的历史" "问题,上个星期三的目录是怎样的?,或者是谁最后一个修改了" "这个文件,改动了什么?,这些是任何版本控制系统" "的核心问题: 系统是设计用来记录和跟踪每次修改的。" #. (title) #: ../source/TortoiseGit_en.xml:795 msgid "Versioning Models" msgstr "版本模型" #. (para) #: ../source/TortoiseGit_en.xml:796 msgid "" "All version control systems have to solve the same fundamental problem: how " "will the system allow users to share information, but prevent them from " "accidentally stepping on each other's feet? It's all too easy for users to " "accidentally overwrite each other's changes in the repository." msgstr "" "所有的版本控制系统都需要解决这样一个基础问题: 怎样让系统允许用户共享信息,而不" "会让他们因意外而互相干扰?版本库里意外覆盖别人的更改非常的容易。" #. (title) #: ../source/TortoiseGit_en.xml:805 msgid "The Problem of File-Sharing" msgstr "文件共享的问题" #. (para) #: ../source/TortoiseGit_en.xml:806 msgid "" "Consider this scenario: suppose we have two co-workers, Harry and Sally. They " "each decide to edit the same repository file at the same time. If Harry saves " "his changes to the repository first, then it's possible that (a few moments " "later) Sally could accidentally overwrite them with her own new version of " "the file. While Harry's version of the file won't be lost forever (because " "the system remembers every change), any changes Harry made won't be present in Sally's newer version of the file, because she never " "saw Harry's changes to begin with. Harry's work is still effectively lost - " "or at least missing from the latest version of the file - and probably by " "accident. This is definitely a situation we want to avoid!" msgstr "" "考虑这个情景,我们有两个共同工作者,Harry 和 Sally,他们想同时编辑版本库里的同" "一个文件,如果首先 Harry 保存它的修改,过了一会,Sally 可能凑巧用自己的版本覆" "盖了这些文件,Harry 的更改不会永远消失(因为系统记录了每次修改),Harry 所有的修" "改不会出现在 Sally 的文件中,所以 Harry 的工作还是丢失了" "—至少是从最新的版本中丢失了—而且是意外的,这就是我们要明确避免的情" "况!" #. (title) #: ../source/TortoiseGit_en.xml:822 msgid "The Problem to Avoid" msgstr "需要避免的问题" #. (title) #. (title) #: ../source/TortoiseGit_en.xml:827 ../source/TortoiseGit_en.xml:843 msgid "The Lock-Modify-Unlock Solution" msgstr "锁定-修改-解锁 方案" #. (para) #: ../source/TortoiseGit_en.xml:828 #, fuzzy msgid "" "Many version control systems use a lock-modify-unlock " "model to address this problem, which is a very simple solution. In such a " "system, the repository allows only one person to change a file at a time. " "First Harry must lock the file before he can begin " "making changes to it. Locking a file is a lot like borrowing a book from the " "library; if Harry has locked a file, then Sally cannot make any changes to " "it. If she tries to lock the file, the repository will deny the request. All " "she can do is read the file, and wait for Harry to finish his changes and " "release his lock. After Harry unlocks the file, his turn is over, and now " "Sally can take her turn by locking and editing." msgstr "" "许多版本控制系统使用锁定-修改-解锁这种机制解决这种问" "题,在这样的模型里,在一个时间段里版本库的一个文件只允许被一个人修改。首先在修" "改之前,Harry 要“锁定”住这个文件,锁定很像是从图书馆借一本书,如果 Harry 锁住" "这个文件,Sally 不能做任何修改,如果 Sally 想请求得到一个锁,版本库会拒绝这个" "请求。在 Harry 结束编辑并且放开这个锁之前,她只可以阅读文件。Harry 解锁后,就" "要换班了,Sally 得到自己的轮换位置,锁定并且开始编辑这个文件。" #. (para) #: ../source/TortoiseGit_en.xml:846 msgid "" "The problem with the lock-modify-unlock model is that it's a bit restrictive, " "and often becomes a roadblock for users:" msgstr "锁定-修改-解锁模型有一点问题就是限制太多,经常会成为用户的障碍: " #. (para) #: ../source/TortoiseGit_en.xml:853 msgid "" "Locking may cause administrative problems. Sometimes " "Harry will lock a file and then forget about it. Meanwhile, because Sally is " "still waiting to edit the file, her hands are tied. And then Harry goes on " "vacation. Now Sally has to get an administrator to release Harry's lock. The " "situation ends up causing a lot of unnecessary delay and wasted time." msgstr "" "锁定可能导致管理问题。有时候 Harry 会锁住文件然后忘了此" "事,这就是说 Sally 一直等待解锁来编辑这些文件,她在这里僵住了。然后 Harry 去旅" "行了,现在 Sally 只好去找管理员放开锁,这种情况会导致不必要的耽搁和时间浪费。" #. (para) #: ../source/TortoiseGit_en.xml:864 msgid "" "Locking may cause unnecessary serialization. What if " "Harry is editing the beginning of a text file, and Sally simply wants to edit " "the end of the same file? These changes don't overlap at all. They could " "easily edit the file simultaneously, and no great harm would come, assuming " "the changes were properly merged together. There's no need for them to take " "turns in this situation." msgstr "" "锁定可能导致不必要的线性化开发。如果 Harry 编辑一个文件的" "开始,Sally 想编辑同一个文件的结尾,这种修改不会冲突,设想修改可以正确的合并到" "一起,他们可以轻松的并行工作而没有太多的坏处,没有必要让他们轮流工作。" #. (para) #: ../source/TortoiseGit_en.xml:876 msgid "" "Locking may create a false sense of security. Pretend " "that Harry locks and edits file A, while Sally simultaneously locks and edits " "file B. But suppose that A and B depend on one another, and the changes made " "to each are semantically incompatible. Suddenly A and B don't work together " "anymore. The locking system was powerless to prevent the problem - yet it " "somehow provided a sense of false security. It's easy for Harry and Sally to " "imagine that by locking files, each is beginning a safe, insulated task, and " "thus inhibits them from discussing their incompatible changes early on." msgstr "" "锁定可能导致错误的安全状态。假设 Harry 锁定和编辑一个文" "件 A,同时 Sally 锁定并编辑文件 B,如果 A 和 B 互相依赖,这种变化是必须同时作" "的,这样 A 和 B 不能正确的工作了,锁定机制对防止此类问题将无能为力—从而产生了" "一种处于安全状态的假相。很容易想象 Harry 和 Sally 都以为自己锁住了文件,而且从" "一个安全,孤立的情况开始工作,因而没有尽早发现他们不匹配的修改。" #. (title) #. (title) #: ../source/TortoiseGit_en.xml:894 ../source/TortoiseGit_en.xml:922 msgid "The Copy-Modify-Merge Solution" msgstr "复制-修改-合并 方案" #. (para) #: ../source/TortoiseGit_en.xml:895 msgid "" "Git, CVS, and other version control systems use a copy-" "modify-merge model as an alternative to locking. In this model, " "each user's client reads the repository and creates a personal " "working copy of the file or project. Users then work " "in parallel, modifying their private copies. Finally, the private copies are " "merged together into a new, final version. The version control system often " "assists with the merging, but ultimately a human being is responsible for " "making it happen correctly." msgstr "" "Git,CVS 和一些版本控制系统使用复制-修改-合并模" "型,在这种模型里,每一个客户读取项目版本库建立一个私有工作副本—版本库中文件和目录的本地映射。用户并行工作,修改各自的工作副" "本,最终,各个私有的复制合并在一起,成为最终的版本,这种系统通常可以辅助合并操" "作,但是最终要靠人工去确定正误。" #. (para) #: ../source/TortoiseGit_en.xml:907 #, fuzzy msgid "" "Here's an example. Say that Harry and Sally each create working copies of the " "same project, copied from the repository. They work concurrently, and make " "changes to the same file A within their copies. Sally " "saves her changes to the repository first. When Harry attempts to save his " "changes later, the repository informs him that his file A is out-" "of-date. In other words, that file A in the repository has " "somehow changed since he last copied it. So Harry asks his client to " "merge any new changes from the repository into his " "working copy of file A. Chances are that Sally's changes don't overlap with " "his own; so once he has both sets of changes integrated, he saves his working " "copy back to the repository." msgstr "" "这是一个例子,Harry 和 Sally 为同一个项目各自建立了一个工作副本,工作是并行" "的,修改了同一个文件 A,Sally 首先保存修改到版本库,当 Harry 想去提交修改的时" "候,版本库提示文件 A 已经过期,换句话说,A 在他上次更新" "之后已经更改了,所以当他通过客户端请求合并版本库和他的" "工作副本之后,碰巧 Sally 的修改和他的不冲突,所以一旦他把所有的修改集成到一" "起,他可以将工作副本保存到版本库。" #. (title) #: ../source/TortoiseGit_en.xml:926 msgid "...Copy-Modify-Merge Continued" msgstr "复制-修改-合并 方案(续)" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:930 ../source/TortoiseGit_en.xml:4897 msgid "conflict" msgstr "冲突" #. (para) #: ../source/TortoiseGit_en.xml:932 msgid "" "But what if Sally's changes do overlap with Harry's " "changes? What then? This situation is called a conflict, and it's usually not much of a problem. When Harry asks his " "client to merge the latest repository changes into his working copy, his copy " "of file A is somehow flagged as being in a state of conflict: he'll be able " "to see both sets of conflicting changes, and manually choose between them. " "Note that software can't automatically resolve conflicts; only humans are " "capable of understanding and making the necessary intelligent choices. Once " "Harry has manually resolved the overlapping changes (perhaps by discussing " "the conflict with Sally!), he can safely save the merged file back to the " "repository." msgstr "" "但是如果 Sally 和 Harry 的修改重叠了该怎么办?这种情况叫" "做冲突,这通常不是个大问题,当 Harry 告诉他的客户端去合" "并版本库的最新修改到自己的工作副本时,他的文件 A 就会处于冲突状态: 他可以看到" "一对冲突的修改集,并手工的选择保留一组修改。需要注意的是软件不能自动的解决冲" "突,只有人可以理解并作出智能的选择,一旦 Harry 手工的解决了冲突(也许需要与 " "Sally 讨论),他就可以安全的把合并的文件保存到版本库。" #. (para) #: ../source/TortoiseGit_en.xml:947 msgid "" "The copy-modify-merge model may sound a bit chaotic, but in practice, it runs " "extremely smoothly. Users can work in parallel, never waiting for one " "another. When they work on the same files, it turns out that most of their " "concurrent changes don't overlap at all; conflicts are infrequent. And the " "amount of time it takes to resolve conflicts is far less than the time lost " "by a locking system." msgstr "" "复制-修改-合并模型感觉是有一点混乱,但在实践中,通常运行的很平稳,用户可以并行" "的工作,不必等待别人,当工作在同一个文件上时,也很少会有重叠发生,冲突并不频" "繁,处理冲突的时间远比等待解锁花费的时间少。" #. (para) #: ../source/TortoiseGit_en.xml:956 msgid "" "In the end, it all comes down to one critical factor: user communication. " "When users communicate poorly, both syntactic and semantic conflicts " "increase. No system can force users to communicate perfectly, and no system " "can detect semantic conflicts. So there's no point in being lulled into a " "false promise that a locking system will somehow prevent conflicts; in " "practice, locking seems to inhibit productivity more than anything else." msgstr "" "最后,一切都要归结到一条重要的因素: 用户交流。当用户交流贫乏,语法和语义的冲突" "就会增加,没有系统可以强制用户完美的交流,没有系统可以检测语义上的冲突,所以没" "有任何证据能够承诺锁定系统可以防止冲突,实践中,锁定除了约束了生产力,并没有做" "什么事。" #. (para) #: ../source/TortoiseGit_en.xml:966 msgid "" "There is one common situation where the lock-modify-unlock model comes out " "better, and that is where you have unmergeable files. For example if your " "repository contains some graphic images, and two people change the image at " "the same time, there is no way for those changes to be merged together. " "Either Harry or Sally will lose their changes." msgstr "" "有一种情况下锁定-修改-解锁模型会更好,也就是你有不可合并的文件,例如你的版本库" "包含了图片,两个人同时编辑这个文件,没有办法将这两个修改合并,Harry 或 Sally " "会丢失他们的修改。" #. (title) #: ../source/TortoiseGit_en.xml:976 msgid "What does Git Do?" msgstr "Git 怎么做?" #. (para) #: ../source/TortoiseGit_en.xml:977 msgid "" "Git uses the copy-modify-merge solution by default, and in many cases " "this is all you will ever need. However, as of Version 1.2, Git also " "supports file locking, so if you have unmergeable files, or if you are simply " "forced into a locking policy by management, Git will still provide the " "features you need." msgstr "" "Git 缺省使用复制-修改-合并模型,大多数情况下可以满足你的需求。然而," "Git 1.2 后还是支持锁定,如果你有不可合并的文件,或者你只是想实行强制管" "理策略,Git 仍然会提供你需要的特性。" #. (title) #: ../source/TortoiseGit_en.xml:989 msgid "Git in Action" msgstr "Git 实战" #. (title) #: ../source/TortoiseGit_en.xml:991 msgid "Working Copies" msgstr "工作副本" #. (primary) #: ../source/TortoiseGit_en.xml:993 msgid "working copy" msgstr "工作副本" #. (para) #: ../source/TortoiseGit_en.xml:995 msgid "" "You've already read about working copies; now we'll demonstrate how the " "Git client creates and uses them." msgstr "" "你已经阅读过了关于工作副本的内容,现在我们要讲一讲客户端怎样建立和使用它。" #. (para) #: ../source/TortoiseGit_en.xml:1000 msgid "" "A Git working copy is an ordinary directory tree on your local system, " "containing a collection of files. You can edit these files however you wish, " "and if they're source code files, you can compile your program from them in " "the usual way. Your working copy is your own private work area: Git " "will never incorporate other people's changes, nor make your own changes " "available to others, until you explicitly tell it to do so." msgstr "" "一个 Git 工作副本是你本地机器一个普通的目录,保存着一些文件,你可以任意" "的编辑文件,而且如果是源代码文件,你可以像平常一样编译,你的工作副本是你的私有" "工作区,在你明确的做了特定操作之前,Git 不会把你的修改与其他人的合并," "也不会把你的修改展示给别人。" #. (para) #: ../source/TortoiseGit_en.xml:1010 #, fuzzy msgid "" "After you've made some changes to the files in your working copy and verified " "that they work properly, Git provides you with commands to " "publish your changes to the other people working with " "you on your project (by writing to the repository). If other people publish " "their own changes, Git provides you with commands to merge those " "changes into your working directory (by reading from the repository)." msgstr "" "当你在工作副本作了一些修改并且确认它们工作正常之后,Git 提供了一个命令" "可以“发布”你的修改给项目中的其他人(通过写到版本库),如果别人发布了各自的修改," "Git 提供了手段可以把这些修改与你的工作目录进行合并(通过读取版本库)。" #. (para) #: ../source/TortoiseGit_en.xml:1020 msgid "" "A working copy also contains some extra files, created and maintained by " "Git, to help it carry out these commands. In particular, each " "directory in your working copy contains a subdirectory named .svn, also known as the working copy administrative " "directory. The files in each administrative directory help " "Git recognize which files contain unpublished changes, and which files " "are out-of-date with respect to others' work." msgstr "" "一个工作副本也包括一些由 Git 创建并维护的额外文件,用来协助执行这些命" "令。通常情况下,你的工作副本每一个文件夹有一个以 .svn 为" "名的文件夹,也被叫做工作副本管理目录,这个目录里的文件" "能够帮助 Git 识别哪一个文件做过修改,哪一个文件相对于别人的工作已经过期" "了。" #. (para) #: ../source/TortoiseGit_en.xml:1031 msgid "" "A typical Git repository often holds the files (or source code) for " "several projects; usually, each project is a subdirectory in the repository's " "filesystem tree. In this arrangement, a user's working copy will usually " "correspond to a particular subtree of the repository." msgstr "" "一个典型的 Git 的版本库经常包含许多项目的文件(或者说源代码),通常每一个" "项目都是版本库的子目录,在这种安排下,一个用户的工作副本往往对应版本库的的一个" "子目录。" #. (para) #: ../source/TortoiseGit_en.xml:1038 msgid "" "For example, suppose you have a repository that contains two software " "projects." msgstr "举一个例子,你的版本库包含两个软件项目。" #. (title) #: ../source/TortoiseGit_en.xml:1043 msgid "The Repository's Filesystem" msgstr "版本库的文件系统" #. (para) #: ../source/TortoiseGit_en.xml:1046 msgid "" "In other words, the repository's root directory has two subdirectories: " "paint and calc." msgstr "" "换句话说,版本库的根目录包含两个子目录: paint 和 " "calc。" #. (para) #: ../source/TortoiseGit_en.xml:1051 #, fuzzy msgid "" "To get a working copy, you must check out some subtree " "of the repository. (The term check out may sound like it " "has something to do with locking or reserving resources, but it doesn't; it " "simply creates a private copy of the project for you)." msgstr "" "为了得到一个工作副本,你必须检出版本库的一个子树,(术" "语“检出”听起来像是锁定或者保留资源,实际上不是,它只是简单的得到一个项目的私有" "副本)。" #. (para) #: ../source/TortoiseGit_en.xml:1058 msgid "" "Suppose you make changes to button.c. Since the " ".svn directory remembers the file's modification date " "and original contents, Git can tell that you've changed the file. " "However, Git does not make your changes public until you explicitly " "tell it to. The act of publishing your changes is more commonly known as " "committing (or checking in) " "changes to the repository." msgstr "" "假定你修改了 button.c,因为 .svn 目" "录记录着文件的修改日期和原始内容,Git 可以告诉你已经修改了文件,然而," "在你明确告诉它之前,Git 不会将你的改变公开。将改变公开的操作被叫做提交" "(或者是检入),它提交修改到版本库中。" #. (para) #: ../source/TortoiseGit_en.xml:1068 msgid "" "To publish your changes to others, you can use Git's commit command." msgstr "发布你的修改给别人,可以使用 Git 的提交命令。" #. (para) #: ../source/TortoiseGit_en.xml:1072 msgid "" "Now your changes to button.c have been committed to the " "repository; if another user checks out a working copy of /calc, they will see your changes in the latest version of the file." msgstr "" "这时你对 button.c 的修改已经提交到了版本库,如果其他人取" "出了 /calc 的一个工作副本,他们会看到这个文件最新的版本。" #. (para) #: ../source/TortoiseGit_en.xml:1078 msgid "" "Suppose you have a collaborator, Sally, who checked out a working copy of " "/calc at the same time you did. When you commit your " "change to button.c, Sally's working copy is left " "unchanged; Git only modifies working copies at the user's request." msgstr "" "设你有个合作者,Sally,她和你同时取出了 /calc 的一个工作" "副本,你提交了你对 button.c 的修改,Sally 的工作副本并没" "有改变,Git 只在用户要求的时候才改变工作副本。" #. (para) #: ../source/TortoiseGit_en.xml:1086 msgid "" "To bring her project up to date, Sally can ask Git to " "update her working copy, by using the Git " "update command. This will incorporate your changes into " "her working copy, as well as any others that have been committed since she " "checked it out." msgstr "" "要使项目最新,Sally 可以要求 Git 更新她的工作副" "本,通过使用更新命令,可以将你和所有其他人在她上次更新之后的修改合并到她的工作" "副本。" #. (para) #: ../source/TortoiseGit_en.xml:1094 msgid "" "Note that Sally didn't need to specify which files to update; Git uses " "the information in the .svn directory, and further " "information in the repository, to decide which files need to be brought up to " "date." msgstr "" "注意,Sally 不必指定要更新的文件,Git 利用 .svn 以" "及版本库的进一步信息决定哪些文件需要更新。" #. (title) #: ../source/TortoiseGit_en.xml:1103 msgid "Repository URLs" msgstr "版本库的 URL" #. (para) #: ../source/TortoiseGit_en.xml:1104 msgid "" "Git repositories can be accessed through many different methods - on " "local disk, or through various network protocols. A repository location, " "however, is always a URL. The URL schema indicates the access method:" msgstr "" "Git 可以通过多种方式访问-本地磁盘访问,或各种各样不同的网络协议,但一" "个版本库地址永远都是一个 URL,URL 方案反映了访问方法。" #. (title) #: ../source/TortoiseGit_en.xml:1112 msgid "Repository Access URLs" msgstr "版本库访问 URL" #. (entry) #: ../source/TortoiseGit_en.xml:1118 msgid "Schema" msgstr "方案" #. (entry) #: ../source/TortoiseGit_en.xml:1119 msgid "Access Method" msgstr "访问方法" #. (literal) #: ../source/TortoiseGit_en.xml:1125 msgid "file://" msgstr "file://" #. (entry) #: ../source/TortoiseGit_en.xml:1127 msgid "Direct repository access on local or network drive." msgstr "直接版本库访问(本地磁盘或者网络磁盘)。" #. (literal) #. (literal) #: ../source/TortoiseGit_en.xml:1133 ../source/TortoiseGit_en.xml:1144 msgid "http://" msgstr "http://" #. (entry) #: ../source/TortoiseGit_en.xml:1135 msgid "Access via WebDAV protocol to Git-aware Apache server." msgstr "通过 WebDAV 协议访问支持 Git 的 Apache 服务器。" #. (literal) #: ../source/TortoiseGit_en.xml:1141 msgid "https://" msgstr "https://" #. (entry) #: ../source/TortoiseGit_en.xml:1143 msgid "Same as , but with SSL encryption." msgstr "与 相似,但是用 SSL 加密。" #. (literal) #: ../source/TortoiseGit_en.xml:1149 msgid "svn://" msgstr "svn://" #. (entry) #: ../source/TortoiseGit_en.xml:1151 msgid "" "Unauthenticated TCP/IP access via custom protocol to a " "server." msgstr "通过未认证的 TCP/IP 自定义协议访问 服务器。" #. (literal) #. (literal) #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:1153 ../source/TortoiseGit_en.xml:1162 #: ../source/TortoiseGit_en.xml:2483 ../source/TortoiseGit_en.xml:2622 msgid "svnserve" msgstr "svnserve" #. (literal) #: ../source/TortoiseGit_en.xml:1158 msgid "svn+ssh://" msgstr "svn+ssh://" #. (entry) #: ../source/TortoiseGit_en.xml:1160 msgid "" "authenticated, encrypted TCP/IP access via custom protocol to a server." msgstr "通过认证并加密的 TCP/IP 自定义协议访问 服务器。" #. (para) #: ../source/TortoiseGit_en.xml:1168 #, fuzzy msgid "" "For the most part, Git's URLs use the standard syntax, allowing for " "server names and port numbers to be specified as part of the URL. The " "file:// access method is normally used for local access, " "although it can be used with UNC paths to a networked host. The URL therefore " "takes the form file://hostname/path/to/repos. For the local machine, the hostname portion " "of the URL is required to be either absent or localhost. " "For this reason, local paths normally appear with three slashes, file:///path/to/repos." msgstr "" "大多数情况下,Git 的 URL 使用标准语法,允许服务器名称和端口号作为 URL " "的一部分。file:访问方法通常用来本地访问,尽管也可以使用 " "UNC 路径访问网络主机,采用的 URL 形式为 file://hostname/path/to/" "repos。对于本地主机,主机部分可以为空或者是localhost,因此,本地路径通常出现三个斜线-file:///path/to/repos。" #. (para) #: ../source/TortoiseGit_en.xml:1181 #, fuzzy msgid "" "Also, users of the file:// scheme on Windows platforms " "will need to use an unofficially standard syntax for accessing " "repositories that are on the same machine, but on a different drive than the " "client's current working drive. Either of the two following URL path syntaxes " "will work where X is the drive on which the repository " "resides:" msgstr "" "另外,在 Windows 平台的 file: 方案有时候需要使用一种非正式" "的标准协议访问本地但不是程序运行磁盘的版本库,以下两种 URL 路径" "语法都可以工作,其中的 X 是版本库所在的磁盘: " #. (screen) #: ../source/TortoiseGit_en.xml:1191 #, no-wrap msgid "" "\n" "file:///X:/path/to/repos\n" "...\n" "file:///X|/path/to/repos\n" "...\n" msgstr "" "\n" "file:///X:/path/to/repos\n" "...\n" "file:///X|/path/to/repos\n" "...\n" #. (para) #: ../source/TortoiseGit_en.xml:1197 msgid "" "Note that a URL uses ordinary slashes even though the native (non-URL) form " "of a path on Windows uses backslashes." msgstr "注意 URL 使用普通的斜杠,而不是 Windows 本地(非 URL)形式的路径。" #. (para) #: ../source/TortoiseGit_en.xml:1201 msgid "" "You can safely access a FSFS repository via a network share, but you " "cannot access a BDB repository in this way." msgstr "" "你可以安全的访问网络共享的 FSFS 版本库,但是你不能以这种" "方式访问 BDB 版本库。" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:1207 ../source/TortoiseGit_en.xml:2609 msgid "" "Do not create or access a Berkeley DB repository on a network share. It " "cannot exist on a remote filesystem. Not even if you " "have the network drive mapped to a drive letter. If you attempt to use " "Berkeley DB on a network share, the results are unpredictable - you may see " "mysterious errors right away, or it may be months before you discover that " "your repository database is subtly corrupted." msgstr "" "不要创建和访问网络共享上的 Berkeley DB 版本库,它不能存在" "于一个远程的文件系统,即使是映射到盘符的共享。如果你希望在网络共享使用 " "Berkeley DB,结果难以预料-你可能会立刻看到奇怪的错误,也有可能几个月之后才发" "现数据库已经损坏了。" #. (title) #: ../source/TortoiseGit_en.xml:1219 msgid "Revisions" msgstr "修订版本" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:1221 ../source/TortoiseGit_en.xml:9713 msgid "revision" msgstr "修订版本" #. (para) #: ../source/TortoiseGit_en.xml:1223 msgid "" "A svn commit operation can publish changes to any number " "of files and directories as a single atomic transaction. In your working " "copy, you can change files' contents, create, delete, rename and copy files " "and directories, and then commit the complete set of changes as a unit." msgstr "" "svn commit 操作可以作为一个原子事务操作发布任意数量文件和目" "录的修改。在你的工作副本中,你可以改变文件内容,创建、删除、改名和复制文件和目" "录,然后作为一个整体提交。" #. (para) #: ../source/TortoiseGit_en.xml:1231 msgid "" "In the repository, each commit is treated as an atomic transaction: either " "all the commits changes take place, or none of them take place. Git " "retains this atomicity in the face of program crashes, system crashes, " "network problems, and other users' actions." msgstr "" "在版本库中,每次提交被当作一次原子事务操作: 要么所有的改变发生,要么都不发生," "Git 努力保持原子性以应对程序错误、系统错误、网络问题和其他用户行为。" #. (para) #: ../source/TortoiseGit_en.xml:1238 msgid "" "Each time the repository accepts a commit, this creates a new state of the " "filesystem tree, called a revision. Each revision is " "assigned a unique natural number, one greater than the number of the previous " "revision. The initial revision of a freshly created repository is numbered " "zero, and consists of nothing but an empty root directory." msgstr "" "每当版本库接受了一个提交,文件系统进入了一个新的状态,叫做版本,每个版本被赋予" "一个独一无二的自然数,一个比一个大,初始修订号是 0,只创建了一个空目录,没有任" "何内容。" #. (para) #: ../source/TortoiseGit_en.xml:1247 msgid "" "A nice way to visualize the repository is as a series of trees. Imagine an " "array of revision numbers, starting at 0, stretching from left to right. Each " "revision number has a filesystem tree hanging below it, and each tree is a " "snapshot of the way the repository looked after each commit." msgstr "" "可以形象的把版本库看作一系列树,想象有一组版本号,从 0 开始,从左到右,每一个" "修订号有一个目录树挂在它下面,每一个树好像是一次提交后的版本库“快照”。" #. (title) #: ../source/TortoiseGit_en.xml:1260 msgid "Global Revision Numbers" msgstr "全局版本号" #. (para) #: ../source/TortoiseGit_en.xml:1261 msgid "" "Unlike those of many other version control systems, Git's revision " "numbers apply to entire trees, not individual files. " "Each revision number selects an entire tree, a particular state of the " "repository after some committed change. Another way to think about it is that " "revision N represents the state of the repository filesystem after the Nth " "commit. When a Git user talks about ``revision 5 of foo.c'', they really mean ``foo.c as it appears in " "revision 5.'' Notice that in general, revisions N and M of a file do " "not necessarily differ!" msgstr "" "不像其它版本控制系统,Git 的版本号是针对整个目录树" "的,而不是单个文件。每一个版本号代表了一次提交后版本库整个目录树的特定状态,另" "一种理解是版本 N 代表版本库已经经过了 N 次提交。当 Git 用户讨" "论“foo.c的版本 5”时,他们的实际意思是“在版本 5 时的" "foo.c”。需要注意的是,一个文件的版本 N 和 M 并" "不表示它必定不同。" #. (para) #: ../source/TortoiseGit_en.xml:1276 msgid "" "It's important to note that working copies do not always correspond to any " "single revision in the repository; they may contain files from several " "different revisions. For example, suppose you check out a working copy from a " "repository whose most recent revision is 4:" msgstr "" "需要特别注意的是,工作副本并不一定对应版本库中的单一版本,他们可能包含多个版本" "的文件。举个例子,你从版本库检出一个工作副本,最新的版本是 4: " #. (screen) #: ../source/TortoiseGit_en.xml:1283 #, no-wrap msgid "" "\n" "calc/Makefile:4\n" " integer.c:4\n" " button.c:4\n" msgstr "" "\n" "calc/Makefile:4\n" " integer.c:4\n" " button.c:4\n" #. (para) #: ../source/TortoiseGit_en.xml:1288 msgid "" "At the moment, this working directory corresponds exactly to revision 4 in " "the repository. However, suppose you make a change to button.c, and commit that change. Assuming no other commits have taken " "place, your commit will create revision 5 of the repository, and your working " "copy will now look like this:" msgstr "" "此刻,工作目录与版本库的版本 4 完全对应,然而,你修改了 button.c 并且提交之后,假设没有别的提交出现,你的提交会在版本库建立版本 5,你" "的工作副本会是这个样子的: " #. (screen) #: ../source/TortoiseGit_en.xml:1296 #, no-wrap msgid "" "\n" "calc/Makefile:4\n" " integer.c:4\n" " button.c:5\n" msgstr "" "\n" "calc/Makefile:4\n" " integer.c:4\n" " button.c:5\n" #. (para) #: ../source/TortoiseGit_en.xml:1301 msgid "" "Suppose that, at this point, Sally commits a change to integer.c, creating revision 6. If you use svn update to " "bring your working copy up to date, then it will look like this:" msgstr "" "假设此刻,Sally 提交了对 integer.c 的修改,建立修订版本 " "6,如果你使用 svn update 来更新你的工作副本,你会看到: " #. (screen) #: ../source/TortoiseGit_en.xml:1307 #, no-wrap msgid "" "\n" "calc/Makefile:6\n" " integer.c:6\n" " button.c:6\n" msgstr "" "\n" "calc/Makefile:6\n" " integer.c:6\n" " button.c:6\n" #. (para) #: ../source/TortoiseGit_en.xml:1312 msgid "" "Sally's changes to integer.c will appear in your working " "copy, and your change will still be present in button.c. " "In this example, the text of Makefile is identical in " "revisions 4, 5, and 6, but Git will mark your working copy of " "Makefile with revision 6 to indicate that it is still " "current. So, after you do a clean update at the top of your working copy, it " "will generally correspond to exactly one revision in the repository." msgstr "" "Sally 对 integer.c 的改变会出现在你的工作副本,你对 " "button.c 的改变还在,在这个例子里,Makefile 在 4、5、6 版本都是一样的,但是 Git 会把 " "Makefile 的版本设为 6 来表明它是最新的,所以你在工作副本" "顶级目录作一次干净的更新,会使所有内容对应版本库的同一修订版本。" #. (title) #: ../source/TortoiseGit_en.xml:1325 msgid "How Working Copies Track the Repository" msgstr "工作副本怎样跟踪版本库" #. (para) #: ../source/TortoiseGit_en.xml:1326 msgid "" "For each file in a working directory, Git records two essential pieces " "of information in the .svn/ administrative area:" msgstr "" "对于工作副本的每一个文件,Git 在管理目录 .svn/ 记" "录两项关键的信息: " #. (para) #: ../source/TortoiseGit_en.xml:1332 msgid "" "what revision your working file is based on (this is called the file's " "working revision), and" msgstr "工作文件的基准版本(叫做文件的工作版本)和" #. (para) #: ../source/TortoiseGit_en.xml:1339 msgid "" "a timestamp recording when the local copy was last updated by the repository." msgstr "一个本地副本最后更新的时间戳。" #. (para) #: ../source/TortoiseGit_en.xml:1345 msgid "" "Given this information, by talking to the repository, Git can tell " "which of the following four states a working file is in:" msgstr "" "给定这些信息,通过与版本库通讯,Git 可以告诉我们工作文件是处与如下四种" "状态的那一种: " #. (term) #: ../source/TortoiseGit_en.xml:1352 msgid "Unchanged, and current" msgstr "未修改且是当前的" #. (para) #: ../source/TortoiseGit_en.xml:1354 msgid "" "The file is unchanged in the working directory, and no changes to that file " "have been committed to the repository since its working revision. A " "commit of the file will do nothing, and an " "update of the file will do nothing." msgstr "" "文件在工作目录里没有修改,在工作版本之后没有修改提交到版本库。svn " "commit 操作不做任何事情,svn update 不做任何事" "情。" #. (term) #: ../source/TortoiseGit_en.xml:1365 msgid "Locally changed, and current" msgstr "本地已修改且是当前的" #. (para) #: ../source/TortoiseGit_en.xml:1367 msgid "" "The file has been changed in the working directory, and no changes to that " "file have been committed to the repository since its base revision. There are " "local changes that have not been committed to the repository, thus a " "commit of the file will succeed in publishing your " "changes, and an update of the file will do nothing." msgstr "" "工作副本已经修改,从基准版本之后没有修改提交到版本库。本地修改没有提交,因此 " "commit 会成功的提交,update 不做任何事" "情。" #. (term) #: ../source/TortoiseGit_en.xml:1379 msgid "Unchanged, and out-of-date" msgstr "本地未修改且过时" #. (para) #: ../source/TortoiseGit_en.xml:1381 msgid "" "The file has not been changed in the working directory, but it has been " "changed in the repository. The file should eventually be updated, to make it " "current with the public revision. A commit of the file " "will do nothing, and an update of the file will fold the " "latest changes into your working copy." msgstr "" "这个文件在工作副本没有修改,但在版本库中已经修改了。这个文件应当更新到最新公共" "版本。commit 不做任何事情,update 将会更" "新工作副本到最新的版本。" #. (term) #: ../source/TortoiseGit_en.xml:1393 msgid "Locally changed, and out-of-date" msgstr "本地已修改且过时" #. (para) #: ../source/TortoiseGit_en.xml:1395 #, fuzzy msgid "" "The file has been changed both in the working directory, and in the " "repository. A commit of the file will fail with an " "out-of-date error. The file should be updated first; an " "update command will attempt to merge the public changes " "with the local changes. If Git can't complete the merge in a plausible " "way automatically, it leaves it to the user to resolve the conflict." msgstr "" "这个文件在工作副本和版本库都被修改。commit 将会失败,这个文" "件必须首先更新,update 命令会尝试合并公共和本地修改,如果 " "Git 不能自动完成,将会让用户解决冲突。" #. (title) #: ../source/TortoiseGit_en.xml:1412 msgid "Summary" msgstr "摘要" #. (para) #: ../source/TortoiseGit_en.xml:1413 msgid "" "We've covered a number of fundamental Git concepts in this chapter:" msgstr "我们在这一章里学习了许多 Git 基本概念: " #. (para) #: ../source/TortoiseGit_en.xml:1419 msgid "" "We've introduced the notions of the central repository, the client working " "copy, and the array of repository revision trees." msgstr "我们介绍了中央版本库、客户工作副本和版本库中版本树队列的概念。" #. (para) #: ../source/TortoiseGit_en.xml:1425 msgid "" "We've seen some simple examples of how two collaborators can use Git " "to publish and receive changes from one another, using the 'copy-modify-" "merge' model." msgstr "" "我们介绍了两个协作者如何使用使用复制-修改-合并模型,用 " "Git 发布和获得对方的修改。" #. (para) #: ../source/TortoiseGit_en.xml:1432 msgid "" "We've talked a bit about the way Git tracks and manages information in " "a working copy." msgstr "我们讨论了一些 Git 跟踪和管理工作副本信息的方式。" #. (title) #: ../source/TortoiseGit_en.xml:1445 msgid "Setting Up A Server" msgstr "配置服务器" #. (para) #: ../source/TortoiseGit_en.xml:1447 #, fuzzy msgid "" "To use TortoiseGit (or any other Git client), you need a place where " "your repositories are located. You can either store your repositories locally " "and access them using the file:// protocol or you can " "place them on a server and access them with the http:// or " "svn:// protocols. The two server protocols can also be " "encrypted. You use https:// or svn+ssh://. This chapter shows you step by step on how you can set up such a " "server on a Windows machine." msgstr "" "为了使用TortoiseGit(或任何其他Git客户端),你需要放置你的版本库,你可以" "将版本库存于本地并使用file://协议访问,也可以放置于服务" "器,使用http://svn://访问,这两种" "服务器协议也可以被加密,使用https://svn" "+ssh://。本章介绍了在Windows主机上设置一个服务器的步骤。" #. (para) #: ../source/TortoiseGit_en.xml:1458 #, fuzzy msgid "" "More detailed information on the Git server options, and how to choose " "the best architecture for your situation, can be found in the Git book " "under Server Configuration." msgstr "" "关于 Git 服务器选项的详细信息,以及如何根据你的情况选择最好的架构,可以" "参考 Git 手册的服务器配置。" #. (para) #: ../source/TortoiseGit_en.xml:1466 #, fuzzy msgid "" "If you don't have a server and you work alone then local repositories are " "probably your best choice. You can skip this chapter and go directly to ." msgstr "" "如果你没有一个服务器,或者你独自工作,本地版本库会是你的最佳选择,你可以跳过本" "章,直接到。" #. (para) #: ../source/TortoiseGit_en.xml:1471 msgid "" "If you were thinking about setting up a multi-user repository on a network " "share, think again. Read to " "find out why we think this is a bad idea." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:1480 msgid "Apache Based Server" msgstr "基于 Apache 的服务器" #. (primary) #: ../source/TortoiseGit_en.xml:1484 msgid "Apache" msgstr "Apache" #. (para) #: ../source/TortoiseGit_en.xml:1486 msgid "" "The most flexible of all possible server setups for Git is the Apache " "based one. Although a bit more complicated to set up, it offers benefits that " "other servers cannot:" msgstr "" "所有可能的服务器当中,Apache为基础的服务器是最灵活的,尽管配置有一点复杂,但是" "提供了其他服务器没有的便利: " #. (primary) #. (term) #: ../source/TortoiseGit_en.xml:1492 ../source/TortoiseGit_en.xml:1496 msgid "WebDAV" msgstr "WebDAV" #. (para) #: ../source/TortoiseGit_en.xml:1498 #, fuzzy msgid "" "The Apache based Git server uses the WebDAV protocol which is " "supported by many other programs as well. You could e.g. mount such a " "repository as a Web folder in the Windows explorer and then " "access it like any other folder in the file system." msgstr "" "基于 Apache 的 Git 服务器使用 WebDAV 协议,许多程序支持这个协议。例如你" "可以在 Windows 资源管理器中将这样的版本库装载为一个“网络文件夹”,就像访问文件" "系统的目录一样访问它。" #. (term) #: ../source/TortoiseGit_en.xml:1509 msgid "Browsing The Repository" msgstr "浏览版本库" #. (para) #: ../source/TortoiseGit_en.xml:1511 msgid "" "You can point your browser to the URL of your repository and browse the " "contents of it without having a Git client installed. This gives " "access to your data to a much wider circle of users." msgstr "" "你可以将浏览器指向版本库的URL,无需安装Git客户端就可以浏览内容,这样可" "以扩大访问你数据的用户圈。" #. (term) #. (title) #: ../source/TortoiseGit_en.xml:1521 ../source/TortoiseGit_en.xml:3646 msgid "Authentication" msgstr "认证" #. (para) #: ../source/TortoiseGit_en.xml:1523 msgid "" "You can use any authentication mechanism Apache supports, including SSPI and " "LDAP." msgstr "你可以使用所有Apache支持的认证机制,包括SSPI和LDAP。" #. (term) #: ../source/TortoiseGit_en.xml:1530 msgid "Security" msgstr "安全" #. (para) #: ../source/TortoiseGit_en.xml:1532 msgid "" "Since Apache is very stable and secure, you automatically get the same " "security for your repository. This includes SSL encryption." msgstr "" "因为Apache非常稳定和安全,你的版本库可以自动获得同样的安全性,包括SSL加密。" #. (title) #: ../source/TortoiseGit_en.xml:1542 msgid "Installing Apache" msgstr "安装 Apache" #. (para) #: ../source/TortoiseGit_en.xml:1543 msgid "" "The first thing you need before installing Apache is a computer with Windows " "2000, Windows XP+SP1, Windows 2003, Vista or Server 2008. " "" msgstr "" "安装 Apache 的先决条件是有一台安装了 Windows 2000,Windows XP SP1+,Windows " "2003,Vista 或 Windows Server 2008 的计算机。" #. (para) #: ../source/TortoiseGit_en.xml:1547 msgid "" "Please note that Windows XP without the service pack 1 will lead to bogus " "network data and could therefore corrupt your repository!" msgstr "" "请注意,Windows XP 如果没有安装 SP1 将会导致不正常的网络传输,从而搞坏你的版本" "库!" #. (para) #: ../source/TortoiseGit_en.xml:1555 msgid "" "Download the latest version of the Apache web server from http://httpd.apache.org/download." "cgi. Make sure that you download the version 2.2.x - the " "version 1.3.xx won't work!" msgstr "" "从 http://" "httpd.apache.org/download.cgi 下载最新版本的 Apache,请确" "认你下载的版本是 2.2.x - 1.3.xx 的版本不能工作!" #. (para) #: ../source/TortoiseGit_en.xml:1564 msgid "" "The msi installer for Apache can be found by clicking on other " "files, then browse to binaries/win32. You may " "want to choose the msi file apache-2.2.x-win32-x86-openssl-0.9.x." "msi (the one that includes OpenSSL)." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:1572 msgid "" "Once you have the Apache2 installer you can double click on it and it will " "guide you through the installation process. Make sure that you enter the " "server-URL correctly (if you don't have a DNS name for your server just enter " "the IP-address). I recommend to install Apache for All Users, on " "Port 80, as a Service. Note: if you already have IIS or any other " "program running which listens on port 80 the installation might fail. If that " "happens, go to the programs directory, \\Apache Group\\Apache2" "\\conf and locate the file httpd.conf. Edit " "that file so that Listen 80 is changed to a free port, e." "g. Listen 81. Then restart the installation - this time it " "should finish without problems." msgstr "" "一旦你有了 Apache2 安装程序,你可以双击它,然后它会指导你的安装过程。请确认你" "输入的服务器 URL 正确(如果你的服务器没有 DNS 名称,请直接输入 IP 地址)。我建议" "为所有用户在 80 端口安装 Apache 服务。注意: 如果你已经有" "了 IIS 或其他监听 80 端口的程序,安装会失败。如果发生这种情况,直接到程序的安" "装目录 \\Apache Group\\Apache2\\conf,打开 " "httpd.conf。编辑文件的 Listen 80 为其" "他可用的端口,例如 Listen 81,然后重新启动 - 这样就不会那" "个问题了。" #. (para) #: ../source/TortoiseGit_en.xml:1594 msgid "" "Now test if the Apache web server is running correctly by pointing your web " "browser to http://localhost/ - a " "preconfigured Website should show up." msgstr "" "现在可以测试 Apache 服务器是否正确运行,将浏览器指向 http://localhost/ - 将会看到一个预先配置的网站。" #. (para) #: ../source/TortoiseGit_en.xml:1603 msgid "" "If you decide to install Apache as a service, be warned that by default it " "will run as the local system account. It would be a more secure practice for " "you to create a separate account for Apache to run as." msgstr "" "如果你决定将Apache安装为服务,缺省情况以本地系统帐户运行会发出警告,更安全的方" "法是为Apache创建一个单独的运行帐户。" #. (para) #: ../source/TortoiseGit_en.xml:1609 msgid "" "Make sure that the account on the server that Apache is running as has an " "explicit entry in the repository directory's access control list (right-click " "directory | properties | security), with full control. Otherwise, users will " "not be able to commit their changes." msgstr "" "请确认Apache运行的帐户是版本库目录的访问控制列表(右键目录|属性|安全)中一个明确" "的条目,对目录有完全的控制能力,否则,用户不能提交他们的修改。" #. (para) #: ../source/TortoiseGit_en.xml:1615 msgid "" "Even if Apache runs as local system, you still need such an entry (which will " "be the SYSTEM account in this case)." msgstr "" "即使Apache运行于本地系统,你仍然需要这个条目(这种情况下将是SYSTEM帐户)。" #. (para) #: ../source/TortoiseGit_en.xml:1619 msgid "" "If Apache does not have this permission set up, your users will get " "Access denied error messages, which show up in the Apache " "error log as error 500." msgstr "" "如果没有配置 Apache 的此访问权限,你的用户会得到拒绝访问(Access denied)" "的错误信息,在 Apache 的错误日志中的错误代码是 500。" #. (title) #: ../source/TortoiseGit_en.xml:1628 msgid "Installing Git" msgstr "安装 Git" #. (para) #: ../source/TortoiseGit_en.xml:1632 #, fuzzy msgid "" "Download the latest version of the Git Win32 binaries for Apache. Be " "sure to get the right version to integrate with your version of Apache, " "otherwise you will get an obscure error message when you try to restart. If " "you have Apache 2.2.x go to http://Git." "tigris.org/servlets/ProjectDocumentList?folderID=8100." msgstr "" "从http://Git.tigris.org/servlets/" "ProjectDocumentList?folderID=91得到最新版本的Git。" #. (para) #: ../source/TortoiseGit_en.xml:1644 msgid "" "Run the Git installer and follow the instructions. If the Git " "installer recognized that you've installed Apache, then you're almost done. " "If it couldn't find an Apache server then you have to do some additional " "steps." msgstr "" "运行Git安装程序,并根据指导安装,如果Git认识到你安装了Apache,你" "就几乎完成了工作,如果它没有找到Apache服务器,你还有额外的步骤。" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:1654 ../source/TortoiseGit_en.xml:1982 msgid "mod_authz_svn" msgstr "mod_authz_svn" #. (para) #: ../source/TortoiseGit_en.xml:1656 msgid "" "Using the windows explorer, go to the installation directory of Git " "(usually c:\\program files\\Git) and find the " "files /httpd/mod_dav_svn.so and mod_authz_svn." "so. Copy these files to the Apache modules directory (usually " "c:\\program files\\apache group\\apache2\\modules )." msgstr "" "使用Windwos资源管理器,来到Git的安装目录(通常是c:\\program " "files\\Git),找到文件/httpd/mod_dav_svn.somod_authz_svn.so,复制这些文件到Apache的模块目" "录(通常是c:\\program files\\apache group\\apache2\\modules )。" #. (para) #: ../source/TortoiseGit_en.xml:1669 msgid "" "Copy the file /bin/libdb*.dll and /bin/" "intl3_svn.dll from the Git installation directory to the " "Apache bin directory." msgstr "" "从 Git 安装目录将 /bin/libdb*.dll/" "bin/intl3_svn.dll 复制到 Apache 的 bin 目录。" #. (para) #: ../source/TortoiseGit_en.xml:1677 msgid "" "Edit Apache's configuration file (usually C:\\Program Files" "\\Apache Group\\Apache2\\conf\\httpd.conf) with a text editor such " "as Notepad and make the following changes:" msgstr "" "使用记事本之类的文本编辑器修改Apache的配置文件(通常是 C:\\Program " "Files\\Apache Group\\Apache2\\conf\\httpd.conf),做出如下修改: " #. (para) #: ../source/TortoiseGit_en.xml:1683 msgid "" "Uncomment (remove the '#' mark) the following lines: " "\n" "#LoadModule dav_fs_module modules/mod_dav_fs.so\n" "#LoadModule dav_module modules/mod_dav.so\n" " Add the following two lines to the end of the LoadModule section. \n" "LoadModule dav_svn_module modules/mod_dav_svn.so\n" "LoadModule authz_svn_module modules/mod_authz_svn.so\n" "" msgstr "" "去掉以下几行的注释(删除 '#'标记): \n" "#LoadModule dav_fs_module modules/mod_dav_fs.so\n" "#LoadModule dav_module modules/mod_dav.so\n" " 将以下两行到 LoadModule 节的末尾。\n" "LoadModule dav_svn_module modules/mod_dav_svn.so\n" "LoadModule authz_svn_module modules/mod_authz_svn.so\n" "" #. (title) #. (term) #: ../source/TortoiseGit_en.xml:1702 ../source/TortoiseGit_en.xml:12485 msgid "Configuration" msgstr "配置" #. (para) #: ../source/TortoiseGit_en.xml:1703 msgid "" "Now you have set up Apache and Git, but Apache doesn't know how to " "handle Git clients like TortoiseGit yet. To get Apache to know which " "URL will be used for Git repositories you have to edit the Apache " "configuration file (usually located in c:\\program files\\apache " "group\\apache2\\conf\\httpd.conf) with any text editor you like (e." "g. Notepad): " msgstr "" "现在你已经配置了 Apache 和 Git,但是 Apache 不知道如何处理 Git " "客户端,例如TortoiseGit。为了让 Apache 知道哪个 URL 是用作 Git 版本库," "你需要使用任意文本编辑器(例如记事本)编辑 Apache 的配置文件(通常是 c:" "\\program files\\apache group\\apache2\\conf\\httpd.conf): " "" #. (para) #: ../source/TortoiseGit_en.xml:1713 #, fuzzy msgid "" "At the end of the config file add the following lines: \n" "<Location /svn>\n" " DAV svn\n" " SVNListParentPath on\n" " SVNParentPath D:\\SVN\n" " #SVNIndexXSLT \"/svnindex.xsl\"\n" " AuthType Basic\n" " AuthName \"Git repositories\"\n" " AuthUserFile passwd\n" " #AuthzSVNAccessFile svnaccessfile\n" " Require valid-user\n" "</Location>\n" " This configures Apache so that all your Git repositories are " "physically located below D:\\SVN. The repositories are " "served to the outside world from the URL: http://" "MyServer/svn/ . Access is restricted to known users/passwords " "listed in the passwd file." msgstr "" "在配置文件最后添加如下几行: \n" "<Location /svn>\n" "DAV svn\n" "SVNListParentPath on\n" "SVNParentPath D:\\SVN\n" "#SVNIndexXSLT \"/svnindex.xsl\"\n" "AuthType Basic\n" "AuthName \"Git repositories\"\n" "AuthUserFile passwd\n" "#AuthzSVNAccessFile svnaccessfile\n" "Require valid-user\n" "</Location>\n" "这个配置告诉 Apache 你所有的 Git 版本库位于 D:" "\\SVN。这些版本库对外的 URL 是: http://" "MyServer/svn/。访问被文件 passwd 中的用户/密" "码限制。" #. (para) #: ../source/TortoiseGit_en.xml:1740 msgid "" "To create the passwd file, open the command prompt (DOS-" "Box) again, change to the apache2 folder (usually " "c:\\program files\\apache group\\apache2) and create the " "file by entering \n" "bin\\htpasswd -c passwd <username>\n" " This will create a file with the name passwd " "which is used for authentication. Additional users can be added with " "\n" "bin\\htpasswd passwd <username>\n" "" msgstr "" "为了创建 passwd 文件,再次打开命令行提示符(DOS 窗口),进" "入 apache2 目录(通常是 c:\\program files" "\\apache group\\apache2),通过输入下面的命令创建文件\n" "bin\\htpasswd -c passwd <username>\n" "它将会创建名为 passwd 的文件用于认证。用下面的命令增加其它用户" "\n" "bin\\htpasswd passwd <username>\n" "" #. (para) #: ../source/TortoiseGit_en.xml:1759 msgid "Restart the Apache service again." msgstr "再次重启Apache服务。" #. (para) #: ../source/TortoiseGit_en.xml:1764 msgid "" "Point your browser to http://MyServer/svn/" "MyNewRepository (where MyNewRepository is " "the name of the Git repository you created before). If all went well " "you should be prompted for a username and password, then you can see the " "contents of your repository." msgstr "" "将浏览器指向http://MyServer/svn/MyNewRepository(MyNewRepository是你此前创建的版本库名),如果" "一切正常,你会被提示输入用户名和密码,然后你会看到版本库的内容。" #. (primary) #: ../source/TortoiseGit_en.xml:1777 msgid "SVNPath" msgstr "SVNPath" #. (primary) #. (literal) #. (primary) #: ../source/TortoiseGit_en.xml:1780 ../source/TortoiseGit_en.xml:1815 #: ../source/TortoiseGit_en.xml:1950 msgid "SVNParentPath" msgstr "SVNParentPath" #. (para) #: ../source/TortoiseGit_en.xml:1782 msgid "" "A short explanation of what you just entered: But that's " "just an example. There are many, many more possibilities of what you can do " "with the Apache web server. " msgstr "" "你刚才输入的简短解释是: 但是那只是一个例子。对于 Apache 你有很" "多可能的选择。" #. (title) #: ../source/TortoiseGit_en.xml:1785 msgid "Apache httpd.conf Settings" msgstr "设置 Apache 的 httpd.conf" #. (entry) #: ../source/TortoiseGit_en.xml:1791 msgid "Setting" msgstr "设置" #. (entry) #: ../source/TortoiseGit_en.xml:1792 msgid "Explanation" msgstr "解释" #. (entry) #: ../source/TortoiseGit_en.xml:1798 msgid "" "means that the Git repositories are available from the URL " "" msgstr "意思是Git版本库的URL是" #. (systemitem) #: ../source/TortoiseGit_en.xml:1800 msgid "http://MyServer/svn/" msgstr "http://MyServer/svn/" #. (entry) #: ../source/TortoiseGit_en.xml:1805 msgid "" "tells Apache which module will be responsible to serve that URL - in this " "case the Git module." msgstr "告诉Apache是哪个模块响应那个URL的请求-此刻是Git模块。" #. (entry) #: ../source/TortoiseGit_en.xml:1812 msgid "" "For Git version 1.3 and higher, this directive enables listing all the " "available repositories under ." msgstr "" "对于 Git 1.3 或者更高版本,这个指示会列出所有 中的版本" "库。" #. (entry) #: ../source/TortoiseGit_en.xml:1820 msgid "tells Git to look for repositories below " msgstr "告诉Git需要查看的版本库位于之下" #. (filename) #: ../source/TortoiseGit_en.xml:1822 msgid "D:\\SVN" msgstr "D:\\SVN" #. (entry) #: ../source/TortoiseGit_en.xml:1827 msgid "Used to make the browsing with a web browser prettier." msgstr "使用它可以在用浏览器浏览时更好看。" #. (entry) #: ../source/TortoiseGit_en.xml:1834 msgid "is to activate basic authentication, i.e. Username/password" msgstr "激活基本认证,就是用户名/密码" #. (entry) #: ../source/TortoiseGit_en.xml:1841 msgid "" "is used as an information whenever an authentication dialog pops up to tell " "the user what the authentication is for" msgstr "用来说明何时弹出要求用户输入认证信息的认证对话框" #. (entry) #: ../source/TortoiseGit_en.xml:1848 msgid "specifies which password file to use for authentication" msgstr "指定使用的认证密码文件" #. (entry) #: ../source/TortoiseGit_en.xml:1854 msgid "Location of the Access file for paths inside a Git repository" msgstr "位置Git版本库的访问控制文件的路径" #. (entry) #: ../source/TortoiseGit_en.xml:1861 msgid "" "specifies that only users who entered a correct username/password are allowed " "to access the URL" msgstr "指定只有输入了正确的用户/密码的用户可以访问URL" #. (para) #: ../source/TortoiseGit_en.xml:1873 msgid "" "If you want your repository to have read access for everyone but write access " "only for specific users you can change the line \n" "Require valid-user\n" " to \n" "<LimitExcept GET PROPFIND OPTIONS REPORT>\n" "Require valid-user\n" "</LimitExcept>\n" "" msgstr "" "如果你希望所有人可以读你的版本库,但是只有特定用户可以写,你可以修改下面几行" "\n" "Require valid-user\n" " to \n" "<LimitExcept GET PROPFIND OPTIONS REPORT>\n" "Require valid-user\n" "</LimitExcept>\n" "" #. (para) #: ../source/TortoiseGit_en.xml:1888 msgid "" "Using a passwd file limits and grants access to all of " "your repositories as a unit. If you want more control over which users have " "access to each folder inside a repository you can uncomment the line " "\n" "#AuthzSVNAccessFile svnaccessfile\n" " and create a Git access file. Apache will make sure that " "only valid users are able to access your /svn location, " "and will then pass the username to Git's AuthzSVNAccessFile module so that it can enforce more granular access based upon rules " "listed in the Git access file. Note that paths are specified either as " "repos:path or simply path. If you don't " "specify a particular repository, that access rule will apply to all " "repositories under SVNParentPath. The format of the " "authorization-policy file used by mod_authz_svn is " "described in " msgstr "" "使用 passwd 可以整体的控制对版本库的访问,但是如果你希望" "精确的控制版本库目录访问,你可以去掉下行的注释\n" "#AuthzSVNAccessFile svnaccessfile\n" ",并且创建 Git 的访问控制文件。Apache 将会确保只有有效的用户可" "以访问你的 /svn 目录,然后将用户名传递给 Git 的 " "AuthzSVNAccessFile 模块,这样就可以根据 Git 访问控制文件内的规则实现更" "细粒度的访问控制。请注意路径可以是 repos:path 或简单的 " "path,如果你不指定特定的版本库,访问控制规则会应用到 " "SVNParentPath 下所有的版本库。使用的授权策略文件的格式在" "描述。" #. (para) #: ../source/TortoiseGit_en.xml:1915 msgid "" "To make browsing the repository with a web browser 'prettier', uncomment the " "line \n" "#SVNIndexXSLT \"/svnindex.xsl\"\n" " and put the files svnindex.xsl, " "svnindex.css and menucheckout.ico " "in your document root directory (usually C:/Program Files/Apache " "Group/Apache2/htdocs). The directory is set with the " "DocumentRoot directive in your Apache config file." msgstr "" "如果要使浏览器浏览仓库时更“漂亮”,请将去掉下行注释 \n" "#SVNIndexXSLT \"/svnindex.xsl\"\n" ",将文件 svnindex.xsl, svnindex.cssmenucheckout.ico 放到你的文档根目录中(通常" "是 C:/Program Files/Apache Group/Apache2/htdocs)。 这个目" "录在 Apache 配置文件中用 DocumentRoot 指示设置。" #. (para) #: ../source/TortoiseGit_en.xml:1928 #, fuzzy msgid "" "You can get those three files directly from our source repository at http://TortoiseGit.tigris.org/svn/TortoiseGit/trunk/" "contrib/other/svnindex. ( explains how to access the TortoiseGit source repository)." msgstr "" "你可以直接在我们的代码库http://TortoiseGit." "tigris.org/svn/TortoiseGit/trunk/contrib/other/svnindex中" "拿到这三个文件。如果访问这个链接需要认证,输入用户名称 guest,无需密码。" #. (para) #: ../source/TortoiseGit_en.xml:1936 msgid "" "The XSL file from the TortoiseGit repository has a nice gimmick: if you " "browse the repository with your web browser, then every folder in your " "repository has an icon on the right shown. If you click on that icon, the " "TortoiseGit checkout dialog is started for this URL." msgstr "" "TortoiseGit 版本库中的 XSL 文件有个特性:如果你用浏览器浏览版本库,那么每个版" "本库中的目录右边会有个图标。如果你点击此图标,那么 TortoiseGit 会为此 URL 启动" "检出对话框。" #. (title) #: ../source/TortoiseGit_en.xml:1948 msgid "Multiple Repositories" msgstr "多版本库" #. (primary) #: ../source/TortoiseGit_en.xml:1953 msgid "Index of projects" msgstr "项目索引" #. (para) #: ../source/TortoiseGit_en.xml:1955 msgid "" "If you used the SVNParentPath directive then you don't " "have to change the Apache config file every time you add a new Git " "repository. Simply create the new repository under the same location as the " "first repository and you're done! In my company I have direct access to that " "specific folder on the server via SMB (normal windows file access). So I just " "create a new folder there, run the TortoiseGit command " "TortoiseGitCreate repository " "here... and a new project has a home..." msgstr "" "如果你使用 SVNParentPath 指示,你就不必在每次添加新 Git 版本库时修改 " "Apache 的配置文件,只需要在第一个版本库所在的位置建立新的版本库就可以了。在我" "的公司,我可以使用 SMB(普通的 windows 文件访问)直接访问服务器的文件夹,所以我" "直接在那里创建一个目录,运行 TortoiseGit 命令" "TortoiseGit在此创建版本库...,然后一个新的项目建立了..." #. (para) #: ../source/TortoiseGit_en.xml:1969 msgid "" "If you are using Git 1.3 or later, you can use the " "SVNListParentPath on directive to allow Apache to produce " "a listing of all available projects if you point your browser at the parent " "path rather than at a specific repository." msgstr "" "如果你使用 Git 1.3 或更高版本,可以使用 SVNListParentPath on 指示,这样当你使用浏览器访问父路径而不是具体某个版本库时 Apache 就会" "显示所有版本库列表。" #. (title) #: ../source/TortoiseGit_en.xml:1977 msgid "Path-Based Authorization" msgstr "路径为基础的授权" #. (primary) #: ../source/TortoiseGit_en.xml:1979 msgid "Authorization" msgstr "授权" #. (para) #: ../source/TortoiseGit_en.xml:1984 msgid "" "The mod_authz_svn module permits fine-grained control of " "access permissions based on user names and repository paths. This is " "available with the Apache server, and as of Git 1.3 it is available " "with svnserve as well." msgstr "" "mod_authz_svn 模块可以根据用户名和路径实现细粒度的权限控" "制,它对 Apache 服务器有效,在 Git 1.3 以上版本的 svnserve 中也实现了基" "于路径的授权。" #. (para) #: ../source/TortoiseGit_en.xml:1990 msgid "" "An example file would look like this: \n" "[groups]\n" "admin = john, kate\n" "devteam1 = john, rachel, sally\n" "devteam2 = kate, peter, mark\n" "docs = bob, jane, mike\n" "training = zak\n" "# Default access rule for ALL repositories\n" "# Everyone can read, admins can write, Dan German is excluded.\n" "[/]\n" "* = r\n" "@admin = rw\n" "dangerman =\n" "# Allow developers complete access to their project repos\n" "[proj1:/]\n" "@devteam1 = rw\n" "[proj2:/]\n" "@devteam2 = rw\n" "[bigproj:/]\n" "@devteam1 = rw\n" "@devteam2 = rw\n" "trevor = rw\n" "# Give the doc people write access to all the docs folders\n" "[/trunk/doc]\n" "@docs = rw\n" "# Give trainees write access in the training repository only\n" "[TrainingRepos:/]\n" "@training = rw\n" "" msgstr "" "一个可能的例子: \n" "[groups]\n" "admin = john, kate\n" "devteam1 = john, rachel, sally\n" "devteam2 = kate, peter, mark\n" "docs = bob, jane, mike\n" "training = zak\n" "# Default access rule for ALL repositories\n" "# Everyone can read, admins can write, Dan German is excluded.\n" "[/]\n" "* = r\n" "@admin = rw\n" "dangerman =\n" "# Allow developers complete access to their project repos\n" "[proj1:/]\n" "@devteam1 = rw\n" "[proj2:/]\n" "@devteam2 = rw\n" "[bigproj:/]\n" "@devteam1 = rw\n" "@devteam2 = rw\n" "trevor = rw\n" "# Give the doc people write access to all the docs folders\n" "[/trunk/doc]\n" "@docs = rw\n" "# Give trainees write access in the training repository only\n" "[TrainingRepos:/]\n" "@training = rw\n" "" #. (para) #: ../source/TortoiseGit_en.xml:2022 msgid "" "Note that checking every path can be an expensive operation, particularly in " "the case of the revision log. The server checks every changed path in each " "revision and checks it for readability, which can be time-consuming on " "revisions which affect large numbers of files." msgstr "" "请注意,检查每一条路径是一件消耗极大的操作,特别是修订版本日志,服务器会检查在" "每一个修订版本的每一条路径是否可读,对于影响很多文件的修订将会花费很多时间。" #. (para) #: ../source/TortoiseGit_en.xml:2029 msgid "" "Authentication and authorization are separate processes. If a user wants to " "gain access to a repository path, she has to meet both, " "the usual authentication requirements and the authorization requirements of " "the access file." msgstr "" "认证和授权是不同的处理过程,如果用户希望获得对版本库的访问,他需要通过" "全部检查,即通常的认证需求和访问控制文件的授权需求。" #. (title) #: ../source/TortoiseGit_en.xml:2037 msgid "Authentication With a Windows Domain" msgstr "使用 Windows 域认证" #. (primary) #: ../source/TortoiseGit_en.xml:2039 msgid "Windows domain" msgstr "Windows 域" #. (primary) #: ../source/TortoiseGit_en.xml:2042 msgid "domaincontroller" msgstr "域控制器" #. (para) #: ../source/TortoiseGit_en.xml:2044 msgid "" "As you might have noticed you need to make a username/password entry in the " "passwd file for each user separately. And if (for " "security reasons) you want your users to periodically change their passwords " "you have to make the change manually." msgstr "" "你已经注意到了,你需要为每个用户在passwd文件中创建用户名/" "密码条目,如果(因为安全原因)他们希望周期性的修改他们的密码,你需要手动的做出修" "改。" #. (para) #: ../source/TortoiseGit_en.xml:2051 msgid "" "But there's a solution for that problem - at least if you're accessing the " "repository from inside a LAN with a windows domain controller: " "mod_auth_sspi!" msgstr "" "但是对于此问题有另一个解决方案 - 至少是你在使用域控制器的 LAN 中访问版本库" "时: mod_auth_sspi!" #. (primary) #: ../source/TortoiseGit_en.xml:2057 msgid "SSPI" msgstr "SSPI" #. (primary) #: ../source/TortoiseGit_en.xml:2060 msgid "NTLM" msgstr "NTLM" #. (para) #: ../source/TortoiseGit_en.xml:2062 msgid "" "The original SSPI module was offered by Syneapps including source code. But " "the development for it has been stopped. But don't despair, the community has " "picked it up and improved it. It has a new home on SourceForge." msgstr "" "最初的 SSPI 是由 Syneapps 提供的,包括源代码。但是它的开发已经终止。不过不要失" "望,社区重新拾起代码并进行了改进,它现在的新主页在SourceForge。" #. (para) #: ../source/TortoiseGit_en.xml:2073 msgid "" "Download the module which matches your apache version, then copy the file " "mod_auth_sspi.so into the Apache modules folder." msgstr "" "下载此匹配你的 Apache 版本的模块,将文件mod_auth_sspi.so" "复制到 Apache 的 modules 目录。" #. (para) #: ../source/TortoiseGit_en.xml:2080 msgid "" "Edit the Apache config file: add the line \n" "LoadModule sspi_auth_module modules/mod_auth_sspi.so\n" " to the LoadModule section. Make sure you insert " "this line before the line \n" "LoadModule auth_module modules/mod_auth.so\n" "" msgstr "" "编辑 Apache 的配置文件: 增加一行\n" "LoadModule sspi_auth_module modules/mod_auth_sspi.so\n" " 到 LoadModule 节。确认你在下行之前插入此行" "\n" "LoadModule auth_module modules/mod_auth.so\n" "" #. (para) #: ../source/TortoiseGit_en.xml:2093 msgid "" "To make the Git location use this type of authentication you have to " "change the line \n" "AuthType Basic\n" " to \n" "AuthType SSPI\n" " also you need to add \n" "SSPIAuth On\n" "SSPIAuthoritative On\n" "SSPIDomain <domaincontroller>\n" "SSPIOmitDomain on\n" "SSPIUsernameCase lower\n" "SSPIPerRequestAuth on\n" "SSPIOfferBasic On\n" " within the <Location /svn> block. If you " "don't have a domain controller, leave the name of the domain control as " "<domaincontroller>." msgstr "" "为了让 Git 领域使用此认证类型,你需要将\n" "AuthType Basic\n" " 修改为 \n" "AuthType SSPI\n" " 并且在 <Location /svn> 中增加 \n" "SSPIAuth On\n" "SSPIAuthoritative On\n" "SSPIDomain <domaincontroller>\n" "SSPIOmitDomain on\n" "SSPIUsernameCase lower\n" "SSPIPerRequestAuth on\n" "SSPIOfferBasic On\n" "如果你没有域控制器,可以将域控制器的名称置为 <" "domaincontroller> 。" #. (para) #: ../source/TortoiseGit_en.xml:2119 msgid "" "Note that if you are authenticating using SSPI, then you don't need the " "AuthUserFile line to define a password file any more. " "Apache authenticates your username and password against your windows domain " "instead. You will need to update the users list in your " "svnaccessfile to reference DOMAIN\\username as well." msgstr "" "请注意,当你使用 SSPI 认证时,没有必要再使用 AuthUserFile " "行定义密码文件,Apache 使用 Windows 域验证你的用户名和密码,你需要更新 " "svnaccessfile 中的用户列表来引用 DOMAIN" "\\username。" #. (para) #: ../source/TortoiseGit_en.xml:2129 msgid "" "The SSPI authentication is only enabled for SSL secured connections (https). " "If you're only using normal http connections to your server, it won't work." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2134 msgid "" "To enable SSL on your server, see the chapter: " msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2140 msgid "" "Git AuthzSVNAccessFile files are case sensitive " "in regard to user names (JUser is different from " "juser)." msgstr "" "Git 的 AuthzSVNAccessFile 文件对用户名大小写敏感" "(JUserjuser 不同)。" #. (para) #: ../source/TortoiseGit_en.xml:2145 msgid "" "In Microsoft's world, Windows domains and user names are not case sensitive. " "Even so, some network administrators like to create user accounts in " "CamelCase (e.g. JUser)." msgstr "" "在微软的世界,Windows 域和用户名不是大小写敏感。即使如此,一些网络管理员还是喜" "欢创建首字母大写的用户帐号(例如 JUser)。" #. (para) #: ../source/TortoiseGit_en.xml:2150 msgid "" "This difference can bite you when using SSPI authentication as the windows " "domain and user names are passed to Git in the same case as the user " "types them in at the prompt. Internet Explorer often passes the username to " "Apache automatically using whatever case the account was created with." msgstr "" "使用SSPI的一个问题是用户名和密码是用户在提示输入时发送到Git的,而IE经常" "会不管你的帐户是如何建立的都会自动发送你的用户名。" #. (para) #: ../source/TortoiseGit_en.xml:2158 msgid "" "The end result is that you may need at least two entries in your " "AuthzSVNAccessFile for each user -- a lowercase entry and " "an entry in the same case that Internet Explorer passes to Apache. You will " "also need to train your users to also type in their credentials using lower " "case when accessing repositories via TortoiseGit." msgstr "" "结果就是你必须为每个用户在 AuthzSVNAccessFile 中至少创建两" "个条目:一个小写的条目和一个与 IE 传递给 Apache 一样的条目,你也需要训练你的用" "户在通过 TortoiseGit 输入访问版本库的凭证时使用小写字母。" #. (para) #: ../source/TortoiseGit_en.xml:2166 msgid "" "Apache's Error and Access logs are your best friend in deciphering problems " "such as these as they will help you determine the username string passed onto " "Git's AuthzSVNAccessFile module. You may need to " "experiment with the exact format of the user string in the " "svnaccessfile (e.g. DOMAIN\\user vs. " "DOMAIN//user) in order to get everything working." msgstr "" "Apache 的错误和访问日志是你最好的朋友,例如帮助你检测传递给 Git 的 " "AuthzSVNAccessFile 模块的用户名,你或许需要试验 svnaccessfile 中用户字符串的精" "确格式(例如 DOMAIN\\user 还是 DOMAIN//user)来使一切工作正常。" #. (title) #: ../source/TortoiseGit_en.xml:2180 msgid "Multiple Authentication Sources" msgstr "多重认证源" #. (primary) #: ../source/TortoiseGit_en.xml:2182 msgid "Multiple authentication" msgstr "多重认证" #. (para) #: ../source/TortoiseGit_en.xml:2184 msgid "" "It is also possible to have more than one authentication source for your " "Git repository. To do this, you need to make each authentication type " "non-authoritative, so that Apache will check multiple sources for a matching " "username/password." msgstr "" "也可以为Git使用不止一个的认证源,为此,你需要将每一种认证设置为non-" "authoritative,这样Apache会在多个源检查用户名/密码。" #. (para) #: ../source/TortoiseGit_en.xml:2190 msgid "" "A common scenario is to use both Windows domain authentication and a " "passwd file, so that you can provide SVN access to users " "who don't have a Windows domain login." msgstr "" "一个常见的场景就是同时使用Windows域和passwd文件认证,这样你" "可以为没有Windows域帐户的用户提供访问SVN的权限。" #. (para) #: ../source/TortoiseGit_en.xml:2197 #, fuzzy msgid "" "To enable both Windows domain and passwd file " "authentication, add the following entries within the <Location>" " block of your Apache config file: \n" "AuthBasicAuthoritative Off\n" "SSPIAuthoritative Off\n" "" msgstr "" "为了同时启用 Windows 域认证和 passwd 文件认证,在 Apache " "配置文件的 <Location> 块中添加如下条目: \n" "AuthAuthoritative Off\n" "SSPIAuthoritative Off\n" "" #. (para) #: ../source/TortoiseGit_en.xml:2208 #, fuzzy msgid "" "Here is an example of the full Apache configuration for combined Windows " "domain and passwd file authentication: \n" "<Location /svn>\n" " DAV svn\n" " SVNListParentPath on\n" " SVNParentPath D:\\SVN\n" "\n" " AuthName \"Git repositories\"\n" " AuthzSVNAccessFile svnaccessfile.txt\n" "\n" "# NT Domain Logins.\n" " AuthType SSPI\n" " SSPIAuth On\n" " SSPIAuthoritative Off\n" " SSPIDomain <domaincontroller>\n" " SSPIOfferBasic On\n" "\n" "# Htpasswd Logins.\n" " AuthType Basic\n" " AuthBasicAuthoritative Off\n" " AuthUserFile passwd\n" "\n" " Require valid-user\n" "</Location>\n" "" msgstr "" "下面是组合使用 Windows 域认证和 passwd 文件认证的完整配置: " "\n" "<Location /svn>\n" "DAV svn\n" "SVNListParentPath on\n" "SVNParentPath D:\\SVN\n" "\n" "AuthName \"Git repositories\"\n" "AuthzSVNAccessFile svnaccessfile.txt\n" "\n" "# NT Domain Logins.\n" "AuthType SSPI\n" "SSPIAuth On\n" "SSPIAuthoritative Off\n" "SSPIDomain <domaincontroller>\n" "SSPIOfferBasic On\n" "\n" "# Htpasswd Logins.\n" "AuthType Basic\n" "AuthAuthoritative Off\n" "AuthUserFile passwd\n" "\n" "Require valid-user\n" "</Location>\n" "" #. (title) #: ../source/TortoiseGit_en.xml:2238 msgid "Securing the server with SSL" msgstr "用 SSL 使服务器更安全" #. (primary) #: ../source/TortoiseGit_en.xml:2240 msgid "SSL" msgstr "SSL" #. (para) #: ../source/TortoiseGit_en.xml:2242 msgid "" "Even though Apache 2.2.x has OpenSSL support, it is not activated by default. " "You need to activate this manually." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2248 msgid "" "In the apache config file, uncomment the lines: \n" "#LoadModule ssl_module modules/mod_ssl.so\n" " and at the bottom \n" "#Include conf/extra/httpd-ssl.conf\n" " then change the line (on one line) \n" "SSLMutex \"file:C:/Program Files/Apache Software Foundation/\\\n" "Apache2.2/logs/ssl_mutex\"\n" " to \n" "SSLMutex default\n" "" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2270 #, fuzzy msgid "" "Next you need to create an SSL certificate. To do that open a command prompt " "(DOS-Box) and change to the Apache folder (e.g. C:\\program files" "\\apache group\\apache2) and type the following command: \n" "bin\\openssl req -config conf\\openssl.cnf -new -out my-server.csr\n" " You will be asked for a passphrase. Please don't use simple words " "but whole sentences, e.g. a part of a poem. The longer the phrase the better. " "Also you have to enter the URL of your server. All other questions are " "optional but we recommend you fill those in too." msgstr "" "然后你需要创建一个 SSL 证书。为此打开一个命令行窗口,进入 Apache 目录(例如 " "C:\\program files\\apache group\\apache2),然后输入命令: " "\n" "bin\\openssl req -config bin\\openssl.cnf -new -out my-server.csr\n" " 你会被询问密句。请不要使用简单的单词,而是使用整段话,例如一段诗,越" "长越好。你也需要输入服务器的 URL,其他所有问题都是可选的,但是我们建议你输入这" "些信息。" #. (para) #: ../source/TortoiseGit_en.xml:2285 #, fuzzy msgid "" "Normally the privkey.pem file is created automatically, " "but if it isn't you need to type this command to generate it: \n" "bin\\openssl genrsa -out conf\\privkey.pem 2048\n" "" msgstr "" "通常会自动产生privkey.pem文件,但是如果没有,请输入下面的" "命令生成它: \n" "bin\\openssl genrsa -out privkey.pem 2048\n" "" #. (para) #: ../source/TortoiseGit_en.xml:2293 #, fuzzy msgid "" "Next type the commands \n" "bin\\openssl rsa -in conf\\privkey.pem -out conf\\server.key\n" " and (on one line) \n" "bin\\openssl req -new -key conf\\server.key -out conf\\server.csr \\\n" "-config conf\\openssl.cnf\n" " and then (on one line) \n" "bin\\openssl x509 -in conf\\server.csr -out conf\\server.crt\n" " -req -signkey conf\\server.key -days 4000\n" " This will create a certificate which will expire in 4000 days. And " "finally enter (on one line): \n" "bin\\openssl x509 -in conf\\server.cert -out conf\\server.der.crt\n" " -outform DER\n" " These commands created some files in the Apache conf folder (server.der.crt, server.csr, server.key, .rnd, " "privkey.pem, server.cert)." msgstr "" "然后输入这个命令\n" "bin\\openssl rsa -in privkey.pem -out my-server.key\n" "并且输入(在同一行)\n" "bin\\openssl x509 -in my-server.csr -out my-server.cert\n" " -req -signkey my-server.key -days 4000\n" "这样会创建一个在4000天里过期的证书,最后输入: \n" "bin\\openssl x509 -in my-server.cert -out my-server.der.crt -outform DER\n" "这些命令在Apache目录(my-server.der.crt、" "my-server.csrmy-server.key、" ".rndprivkey.pemmy-" "server.cert)里创建了一些文件,复制这些文件到目录conf/" "ssl(例如C:\\program files\\apache group\\apache2\\conf" "\\ssl)-如果这个目录不存在,你需要首先创建一个。" #. (para) #: ../source/TortoiseGit_en.xml:2325 msgid "Restart the Apache service." msgstr "重启 apache 服务。" #. (para) #: ../source/TortoiseGit_en.xml:2330 msgid "" "Point your browser to https://servername/svn/" "project ..." msgstr "" "将你的浏览器指向https://servername/svn/project ..." #. (title) #: ../source/TortoiseGit_en.xml:2338 msgid "SSL and Internet Explorer" msgstr "SSL 和 Internet Explorer" #. (para) #: ../source/TortoiseGit_en.xml:2339 msgid "" "If you're securing your server with SSL and use authentication against a " "windows domain you will encounter that browsing the repository with the " "Internet Explorer doesn't work anymore. Don't worry - this is only the " "Internet Explorer not able to authenticate. Other browsers don't have that " "problem and TortoiseGit and any other Git client are still able to " "authenticate." msgstr "" "如果你使用SSL保护你的服务器,并使用windows域来进行认证,你会发现不能使用IE浏览" "版本库了,不需要担心-那只是因为IE没有经过认证,其他浏览器没有这个问题," "TortoiseGit和其他Git客户端仍然可以得到认证。" #. (para) #: ../source/TortoiseGit_en.xml:2348 msgid "" "If you still want to use IE to browse the repository you can either: " "" msgstr "如果你一直希望使用IE浏览你的版本库,你可以选择: " #. (para) #: ../source/TortoiseGit_en.xml:2353 msgid "" "define a separate <Location /path> directive in the " "Apache config file, and add the SSPIBasicPreferred On. " "This will allow IE to authenticate again, but other browsers and Git " "won't be able to authenticate against that location." msgstr "" "在 Apache 的配置文件定义一个单独的 <Location /path> " "指示,增加 SSPIBasicPreferred On。这将使 IE 能够认证,但是" "其他浏览器和 Git 不能对这个领域认证。" #. (para) #: ../source/TortoiseGit_en.xml:2363 msgid "" "Offer browsing with unencrypted authentication (without SSL) too. Strangely " "IE doesn't have any problems with authenticating if the connection is not " "secured with SSL." msgstr "" "也提供未加密(没有SSL)认证的浏览,奇怪的IE在没有使用SSL的认证时没有任何问题。" #. (para) #: ../source/TortoiseGit_en.xml:2371 msgid "" "In the SSL \"standard\" setup there's often the following statement in " "Apache's virtual SSL host: \n" "SetEnvIf User-Agent \".*MSIE.*\" \\\n" " nokeepalive ssl-unclean-shutdown \\\n" " downgrade-1.0 force-response-1.0\n" " There are (were?) good reasons for this configuration, see http://" "www.modssl.org/docs/2.8/ssl_faq.html#ToC49 But if you " "want NTLM authentication you have to use keepalive. If You " "uncomment the whole SetEnvIf you should be able to " "authenticate IE with windows authentication over SSL against the Apache on " "Win32 with included mod_auth_sspi." msgstr "" "在 SSL 的“标准”配置中,通常在 apache 的虚拟 SSL 主机内有下面的内容: \n" "SetEnvIf User-Agent \".*MSIE.*\" \\\n" " nokeepalive ssl-unclean-shutdown \\\n" " downgrade-1.0 force-response-1.0\n" "这种设置的充足理由参见 http://www.modssl.org/docs/2.8/ssl_faq." "html#ToC49。但是如果你希望使用 NTLM 认证,就必须使用 " "keepalive。如果启用全部 SetEnvIf,你就可" "以使 IE 用 Windows 认证访问运行在 Win32 上加载了 mod_auth_sspi 模块的 Apache。" #. (title) #: ../source/TortoiseGit_en.xml:2394 msgid "Forcing SSL access" msgstr "强制 SSL 访问" #. (para) #: ../source/TortoiseGit_en.xml:2395 msgid "" "When you've set up SSL to make your repository more secure, you might want to " "disable the normal access via non-SSL (http) and only allow https access. To " "do this, you have to add another directive to the Git <" "Location> block: SSLRequireSSL." msgstr "" "当你设置了 SSL 让你的版本库更安全,你一定希望关闭普通的非 SSL (http) 访问。为" "此,你需要在 Git 的 <Location> 增加指示: " "SSLRequireSSL。" #. (para) #: ../source/TortoiseGit_en.xml:2402 #, fuzzy msgid "" "An example <Location> block would look like this: " "\n" "<Location /svn>\n" " DAV svn\n" " SVNParentPath D:\\SVN\n" " SSLRequireSSL\n" " AuthType Basic\n" " AuthName \"Git repositories\"\n" " AuthUserFile passwd\n" " #AuthzSVNAccessFile svnaccessfile\n" " Require valid-user\n" "</Location>\n" "" msgstr "" "这是一个 <Location> 实例: \n" "<Location /svn>\n" "DAV svn\n" "SVNParentPath D:\\SVN\n" "SSLRequireSSL\n" "AuthType Basic\n" "AuthName \"Git repositories\"\n" "AuthUserFile passwd\n" "#AuthzSVNAccessFile svnaccessfile\n" "Require valid-user\n" "</Location>\n" "" #. (title) #: ../source/TortoiseGit_en.xml:2420 msgid "Using client certificates with virtual SSL hosts" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2421 msgid "Sent to the TortoiseGit mailing list by Nigel Green. Thanks!" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2424 msgid "" "In some server configurations you may need to setup a single server " "containing 2 virtual SSL hosts: The first one for public web access, with no " "requirement for a client certificate. The second one to be secure with a " "required client certificate, running a Git server." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2430 msgid "" "Adding an SSLVerifyClient Optional directive to the " "per-server section of the Apache configuration (i.e. " "outside of any VirtualHost and Directory blocks) forces Apache to request a client Certificate in the initial " "SSL handshake. Due to a bug in mod_ssl it is essential " "that the certificate is requested at this point as it does not work if the " "SSL connection is re-negotiated." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2440 msgid "" "The solution is to add the following directive to the virtual host directory " "that you want to lock down for Git: \n" "SSLRequire %{SSL_CLIENT_VERIFY} eq \"SUCCESS\"\n" " This directive grants access to the directory only if a client " "certificate was received and verified successfully." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2449 msgid "" "To summarise, the relevant lines of the Apache configuration are: \n" "SSLVerifyClient Optional\n" "\n" "### Virtual host configuration for the PUBLIC host \n" "### (not requiring a certificate)\n" "\n" "<VirtualHost 127.0.0.1:443>\n" " <Directory \"pathtopublicfileroot\">\n" " </Directory>\n" "</VirtualHost>\n" "\n" "### Virtual host configuration for Git \n" "### (requiring a client certificate)\n" "<VirtualHost 127.0.0.1:443>\n" " <Directory \"Git host root path\">\n" " SSLRequire %{SSL_CLIENT_VERIFY} eq \"SUCCESS\"\n" " </Directory>\n" "\n" " <Location /svn>\n" " DAV svn\n" " SVNParentPath /pathtorepository\n" " </Location>\n" "</VirtualHost>\n" "" msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:2479 msgid "Svnserve Based Server" msgstr "基于 svnserve 的服务器" #. (para) #: ../source/TortoiseGit_en.xml:2485 msgid "" "There may be situations where it's not possible to use Apache as your server. " "Fortunately, Git includes Svnserve - a lightweight stand-alone server " "which uses a custom protocol over an ordinary TCP/IP connection." msgstr "" "有一些情况下,不能使用Apache作为你的服务器,Git包括Svnserve-一个轻型的" "独立服务器,使用普通TCP/IP连接之上的自定义协议。" #. (para) #: ../source/TortoiseGit_en.xml:2491 #, fuzzy msgid "" "In most cases svnserve is easier to setup and runs faster than the Apache " "based server. And now that SASL support is included it is easy to secure as " "well." msgstr "大多数情况下svnserve的设置更加简单,也比Apache的服务器更加快。" #. (title) #: ../source/TortoiseGit_en.xml:2498 msgid "Installing svnserve" msgstr "安装 svnserve" #. (para) #: ../source/TortoiseGit_en.xml:2502 msgid "" "Get the latest version of Git from http://" "Git.tigris.org/servlets/ProjectDocumentList?folderID=91. Alternatively get a pre-packaged installer from CollabNet at http://www." "collab.net/downloads/Git. This installer will " "setup svnserve as a Windows service, and also includes some of the tools you " "need if you are going to use SASL for security." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2516 msgid "" "If you already have a version of Git installed, and svnserve is " "running, you will need to stop it before continuing." msgstr "" "如果你已经安装了Git,svnserve已经运行,你需要在继续之前把它停下来。" #. (para) #: ../source/TortoiseGit_en.xml:2522 #, fuzzy msgid "" "Run the Git installer. If you run the installer on your server " "(recommended) you can skip step 4." msgstr "运行Git安装程序,如果你在你的服务器上运行,可以跳过第4步。" #. (para) #: ../source/TortoiseGit_en.xml:2528 msgid "" "Open the windows-explorer, go to the installation directory of Git " "(usually C:\\Program Files\\Git) and in the " "bin directory, find the files svnserve.exe, intl3_svn.dll, libapr.dll, libapriconv.dll, libapriutil.dll, libdb*.dll, libeay32.dll " "and ssleay32.dll - copy these files, or just copy all of " "the bin directory, into a directory on your server e.g. " "c:\\svnserve" msgstr "" "打开资源管理器,进入Git的安装目录(通常是C:\\Program Files" "\\Git)的bin目录,找到文件" "svnserve.exeintl3_svn.dll," "libapr.dlllibapriconv.dll," "libapriutil.dlllibdb*.dll," "libeay32.dllssleay32.dll,复制这些" "文件,或所有bin目录内的文件到你的服务器目录,例如" "c:\\svnserve。" #. (title) #: ../source/TortoiseGit_en.xml:2550 msgid "Running svnserve" msgstr "运行 svnserve" #. (para) #: ../source/TortoiseGit_en.xml:2551 msgid "" "Now that svnserve is installed, you need it running on your server. The " "simplest approach is to run the following from a DOS shell or create a " "windows shortcut: \n" "svnserve.exe --daemon\n" " svnserve will now start waiting for incoming requests on port 3690. " "The --daemon switch tells svnserve to run as a daemon process, so it will " "always exist until it is manually terminated." msgstr "" "现在svnserve已经安装了,你需要在你的server运行它,最简单的方法是在DOS窗口或者" "windows快捷方式输入: \n" "svnserve.exe --daemon\n" "svnserve将会在端口3690等待请求,--daemon选项告诉svnserve以守护进程方" "式运行,这样在手动终止之前不会退出。" #. (para) #: ../source/TortoiseGit_en.xml:2562 msgid "" "If you have not yet created a repository, follow the instructions given with " "the Apache server setup ." msgstr "" "如果你没有创建一个版本库,根据下面的Apache服务器设置指令。" #. (para) #: ../source/TortoiseGit_en.xml:2567 msgid "" "To test that svnserve is working, use TortoiseGitRepo-Browser to view a " "repository." msgstr "" "为了验证svnserve正常工作,使用TortoiseGit版本库浏览器来查看版本库。" #. (para) #: ../source/TortoiseGit_en.xml:2575 msgid "" "Assuming your repository is located in c:\\repos\\TestRepo, and your server is called localhost, enter: " "\n" "svn://localhost/repos/TestRepo\n" " when prompted by the repo browser." msgstr "" "假定你的版本库位于c:\\repos\\TestRepo,你的服务器叫做" "localhost,输入: \n" "svn://localhost/repos/TestRepo\n" "当被版本库浏览器提示输入。" #. (para) #: ../source/TortoiseGit_en.xml:2584 msgid "" "You can also increase security and save time entering URLs with svnserve by " "using the --root switch to set the root location and restrict access to a " "specified directory on the server: \n" "svnserve.exe --daemon --root drive:\\path\\to\\repository\\root\n" " Using the previous test as a guide, svnserve would now run as: " "\n" "svnserve.exe --daemon --root c:\\repos\n" " And in TortoiseGit our repo-browser URL is now shortened to: " "\n" "svn://localhost/TestRepo\n" " Note that the --root switch is also needed if your repository is " "located on a different partition or drive than the location of svnserve on " "your server." msgstr "" "你也可以使用 --root 选项设置根位置来限制访问服务器的目录,从而增加安全性和节约" "输入 svnserve URL 的时间: \n" "svnserve.exe --daemon --root drive:\\path\\to\\repository\\root\n" "以前面的测试为例,svnserve 现在的运行命令为: \n" "svnserve.exe --daemon --root c:\\repos\n" "然后在 TortoiseGit 中我们的版本库浏览器 URL 缩短为: \n" "svn://localhost/TestRepo\n" "注意,当 svnserve 和版本库位于不同分区或盘符时也需要使用 --root 选" "项。" #. (para) #: ../source/TortoiseGit_en.xml:2603 msgid "" "Svnserve will service any number of repositories. Just locate them somewhere " "below the root folder you just defined, and access them using a URL relative " "to that root." msgstr "" "Svnserve 可以提供任意数量的版本库服务。只要将这些版本库放到你刚才定义的根目录" "下即可,然后使用相对于根的URL访问它们。" #. (title) #: ../source/TortoiseGit_en.xml:2620 msgid "Run svnserve as a Service" msgstr "以服务形式运行 svnserve" #. (para) #: ../source/TortoiseGit_en.xml:2624 msgid "" "Running svnserve as a user is usually not the best way. It means always " "having a user logged in on your server, and remembering to restart it after a " "reboot. A better way is to run svnserve as a windows service. Starting with " "Git 1.4, svnserve can be installed as a native windows service." msgstr "" "使用普通用户直接运行 svnserve 通常不是最好的方法。它意味着你的服务器必须有一个" "用户登录,还要记着重新启动服务器后重新启动 svnserve。最好的方法是将 svnserve " "作为 windows 服务运行。从 Git 1.4 开始,svnserve 可以安装为 windows 服" "务。" #. (para) #: ../source/TortoiseGit_en.xml:2631 #, fuzzy msgid "" "To install svnserve as a native windows service, execute the following " "command all on one line to create a service which is automatically started " "when windows starts. \n" "sc create svnserve binpath= \"c:\\svnserve\\svnserve.exe --service \n" " --root c:\\repos\" displayname= \"Git\" depend= tcpip \n" " start= auto\n" " If any of the paths include spaces, you have to use (escaped) " "quotes around the path, like this: \n" "sc create svnserve binpath= \"\n" " \\\"C:\\Program Files\\Git\\bin\\svnserve.exe\\\"\n" " --service --root c:\\repos\" displayname= \"Git\" \n" " depend= tcpip start= auto\n" " You can also add a description after creating the service. This " "will show up in the Windows Services Manager. \n" "sc description svnserve \"Git server (svnserve)\"\n" "" msgstr "" "为了将 svnserve 安装为 Windows 服务,在一行内执行下面的命令,创建一个当 " "Windows 启动后,自动启动的服务。\n" "sc create svnserve binpath= \"c:\\svnserve\\svnserve.exe --service \n" " --root c:\\repos\" displayname= \"Git\" depend= tcpip start= auto\n" " 如果任一个路径包含空格,你必须使用双引号(逃逸字符)包含路径,例如:" "\n" "sc create svnserve binpath= \"\\\"C:\\Program Files\\Git\\bin" "\\svnserve.exe\\\"\n" " --service --root c:\\repos\" displayname= \"Git\" depend= tcpip " "start= auto\n" " 在创建服务以后,你还可以增加描述。它在 Windows 服务管理器中显示。" "\n" "sc description svnserve \"Git server (svnserve)\"\n" "" #. (para) #: ../source/TortoiseGit_en.xml:2654 msgid "" "Note the rather unusual command line format used by sc. In " "the key= value pairs there must be no space between the " "key and the = but there must be a space before the value." msgstr "" "注意 sc 的命令行很特殊。在 key= value 对" "中,key 与 = 之间不能有空格,但是在 value 之前,必须有空" "格。" #. (para) #: ../source/TortoiseGit_en.xml:2661 msgid "" "Microsoft now recommend services to be run as under either the Local Service " "or Network Service account. Refer to The Services and Service Accounts Security Planning Guide. To create the service under the Local Service account, " "append the following to the example above. \n" "obj= \"NT AUTHORITY\\LocalService\"\n" " Note that you would have to give the Local Service account " "appropriate rights to both Git and your repositories, as well as any " "applications which are used by hook scripts. The built-in group for this is " "called \"LOCAL SERVICE\"." msgstr "" "Microsoft 现在建议服务程序使用本地服务或网络服务帐户运行,参考 The Services and Service Accounts " "Security Planning Guide。以本地服务帐户创建服务,需要在上" "面的例子里追加下面几行。\n" "obj= \"NT AUTHORITY\\LocalService\"\n" "请注意需要给本地服务帐户一些目录的适当权限,包括的 Git 和你的" "版本库,还有所有钩子脚本使用的应用。此帐号的内置组名是\"LOCAL SERVICE\"。" #. (para) #: ../source/TortoiseGit_en.xml:2678 msgid "" "Once you have installed the service, you need to go to the services manager " "to start it (this time only; it will start automatically when the server " "reboots)." msgstr "" "服务安装完毕后,你需要在服务管理器中启动它(仅此一次;当服务器重启后它会自动启" "动)。" #. (para) #: ../source/TortoiseGit_en.xml:2683 msgid "" "For more detailed information, refer to Windows Service " "Support for Svnserve." msgstr "" "为了得到更详细的信息,可参考 Windows Service Support for " "Svnserve。" #. (para) #: ../source/TortoiseGit_en.xml:2689 msgid "" "If you installed an earlier version of svnserve using the " "SVNService wrapper, and you now want to use the native " "support instead, you will need to unregister the wrapper as a service " "(remember to stop the service first!). Simply use the command \n" "svnservice -remove\n" " to remove the service registry entry." msgstr "" "如果你已经使用 SvnService 包装安装了早期的 svnserve,现在想" "使用内置服务,那么你需要将其从服务中删除(切记先停止服务!)。使用简单的命令 " "\n" "svnservice -remove\n" " 即可删除服务。" #. (title) #: ../source/TortoiseGit_en.xml:2703 msgid "Basic Authentication with svnserve" msgstr "svnserve 与基本认证" #. (para) #: ../source/TortoiseGit_en.xml:2704 #, fuzzy msgid "" "The default svnserve setup provides anonymous read-only access. This means " "that you can use an svn:// URL to checkout and update, or " "use the repo-browser in TortoiseGit to view the repository, but you won't be " "able to commit any changes." msgstr "" "缺省的 svnserve 配置提供了匿名的只读访问。这意味着你可以使用 svn://" " 的 URL 进行检出和更新,或者使用 TortoiseGit 的版本库浏览器查看版本" "库,但是不能提交任何修改。" #. (para) #: ../source/TortoiseGit_en.xml:2710 msgid "" "To enable write access to a repository, you need to edit the conf/" "svnserve.conf file in your repository directory. This file " "controls the configuration of the svnserve daemon, and also contains useful " "documentation." msgstr "" "为了打开对版本库的写访问,你可以编辑版本库目录的conf/svnserve.conf文件,这个文件控制了svnserve守护进程的配置,也提供了有用的文档。" #. (para) #: ../source/TortoiseGit_en.xml:2716 msgid "" "You can enable anonymous write access by simply setting: \n" "[general]\n" "anon-access = write\n" " However, you will not know who has made changes to a repository, as " "the svn:author property will be empty. You will also be " "unable to control who makes changes to a repository. This is a somewhat risky " "setup!" msgstr "" "为了打开匿名的写访问,只需要简单得设置: \n" "[general]\n" "anon-access = write\n" "然而,你不会知道谁修改了版本库,因为svn:author属性" "是空的,你也不能控制谁来修改版本库,这是一个很危险的设置。" #. (para) #: ../source/TortoiseGit_en.xml:2727 msgid "" "One way to overcome this is to create a password database: \n" "[general]\n" "anon-access = none\n" "auth-access = write\n" "password-db = userfile\n" " Where userfile is a file which exists in the " "same directory as svnserve.conf. This file can live " "elsewhere in your file system (useful for when you have multiple repositories " "which require the same access rights) and may be referenced using an absolute " "path, or a path relative to the conf directory. If you " "include a path, it must be written /the/unix/way. Using " "\\ or drive letters will not work. The userfile should " "have a structure of: \n" "[users]\n" "username = password\n" "...\n" " This example would deny all access for unauthenticated (anonymous) " "users, and give read-write access to users listed in userfile." msgstr "" "解决这个问题的一个方法是创建密码数据库: \n" "[general]\n" "anon-access = none\n" "auth-access = write\n" "password-db = userfile\n" "这里的 userfilesvnserve.conf 文件在同一个目录,这个文件也可以存在于文件系统的其他地方(当多个版本" "库使用相同的访问权限时尤其有用),可以使用绝对路径,或者是 conf 的相对目录,使用 \\ 或盘符不能工作。userfile 的" "结构如下:\n" "[general]\n" "anon-access = none\n" "auth-access = write\n" "password-db = userfile\n" "这个例子拒绝所有的未认证用户(匿名)访问,给 userfile 中的用户读写权限。" #. (para) #: ../source/TortoiseGit_en.xml:2755 #, fuzzy msgid "" "If you maintain multiple repositories using the same password database, the " "use of an authentication realm will make life easier for users, as " "TortoiseGit can cache your credentials so that you only have to enter them " "once. More information can be found in the Git book, specifically in " "the sections Create a " "'users' file and realm and Client Credentials Caching" msgstr "" "如果使用相同的密码数据库维护多个版本库,使用一个认证域将让用户的工作更加简单," "因为 TortoiseGit 可以缓存你的凭证,所以你只需要输入一次,更多的信息可以参考 " "Git 手册的 " "创建用户文件和域客户端凭证缓存。" #. (title) #: ../source/TortoiseGit_en.xml:2773 msgid "Better Security with SASL" msgstr "使用 SASL 以便更安全" #. (primary) #: ../source/TortoiseGit_en.xml:2775 msgid "SASL" msgstr "SASL" #. (title) #: ../source/TortoiseGit_en.xml:2778 msgid "What is SASL?" msgstr "什么是 SASL?" #. (para) #: ../source/TortoiseGit_en.xml:2779 msgid "" "The Cyrus Simple Authentication and Security Layer is open source software " "written by Carnegie Mellon University. It adds generic authentication and " "encryption capabilities to any network protocol, and as of Git 1.5 and " "later, both the svnserve server and TortoiseGit client know how to make use " "of this library." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2787 msgid "" "For a more complete discussion of the options available, you should look at " "the Git book in the section Using svnserve with SASL. If you are just " "looking for a simple way to set up secure authentication and encryption on a " "Windows server, so that your repository can be accessed safely over the big " "bad Internet, read on." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:2800 msgid "SASL Authentication" msgstr "SASL 认证" #. (para) #: ../source/TortoiseGit_en.xml:2801 msgid "" "To activate specific SASL mechanisms on the server, you'll need to do three " "things. First, create a [sasl] section in your " "repository's svnserve.conf file, with this key-value " "pair: \n" "use-sasl = true\n" "" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2810 msgid "" "Second, create a file called svn.conf in a convenient " "location - typically in the directory where Git is installed." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2815 msgid "" "Thirdly, create two new registry entries to tell SASL where to find things. " "Create a registry key named [HKEY_LOCAL_MACHINE\\SOFTWARE\\Carnegie " "Mellon\\Project Cyrus\\SASL Library] and place two new string " "values inside it: SearchPath set to the directory path " "containing the sasl*.dll plug-ins (normally in the " "Git install directory), and ConfFile set to the " "directory containing the svn.conf file. If you used the " "CollabNet installer, these registry keys will already have been created for " "you." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2827 msgid "" "Edit the svn.conf file to contain the following: " "\n" "pwcheck_method: auxprop\n" "auxprop_plugin: sasldb\n" "mech_list: DIGEST-MD5\n" "sasldb_path: C:\\TortoiseGit\\sasldb\n" " The last line shows the location of the authentication database, " "which is a file called sasldb. This could go anywhere, " "but a convenient choice is the repository parent path. Make sure that the " "svnserve service has read access to this file." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2842 msgid "" "If svnserve was already running, you will need to restart it to ensure it " "reads the updated configuration." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2846 msgid "" "Now that everything is set up, all you need to do is create some users and " "passwords. To do this you need the saslpasswd2 program. If " "you used the CollabNet installer, that program will be in the install " "directory. Use a command something like this: \n" "saslpasswd2 -c -f C:\\TortoiseGit\\sasldb -u realm username\n" " The -f switch gives the database location, " "realm must be the same as the value you defined in your " "repository's svnserve.conf file, and username is exactly " "what you expect it to be. Note that the realm is not allowed to contain space " "characters." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2861 msgid "" "You can list the usernames stored in the database using the " "sasldblistusers2 program." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:2867 msgid "SASL Encryption" msgstr "SASL 加密" #. (para) #: ../source/TortoiseGit_en.xml:2868 msgid "" "To enable or disable different levels of encryption, you can set two values " "in your repository's svnserve.conf file: \n" "[sasl]\n" "use-sasl = true\n" "min-encryption = 128\n" "max-encryption = 256\n" "" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2879 msgid "" "The min-encryption and max-encryption " "variables control the level of encryption demanded by the server. To disable " "encryption completely, set both values to 0. To enable simple checksumming of " "data (i.e., prevent tampering and guarantee data integrity without " "encryption), set both values to 1. If you wish to allow (but not require) " "encryption, set the minimum value to 0, and the maximum value to some bit-" "length. To require encryption unconditionally, set both values to numbers " "greater than 1. In our previous example, we require clients to do at least " "128-bit encryption, but no more than 256-bit encryption." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:2896 msgid "Authentication with svn+ssh" msgstr "使用 svn+ssh 认证" #. (para) #: ../source/TortoiseGit_en.xml:2897 #, fuzzy msgid "" "Another way to authenticate users with a svnserve based server is to use a " "secure shell (SSH) to tunnel requests through. It is not as simple to set up " "as SASL, but it may be useful is some cases." msgstr "另一种svnserve认证的方法是使用SSH来建立请求通道。" #. (para) #: ../source/TortoiseGit_en.xml:2903 msgid "" "With this approach, svnserve is not run as a daemon process, rather, the " "secure shell starts svnserve for you, running it as the SSH authenticated " "user. To enable this, you need a secure shell daemon on your server." msgstr "" "通过此方法,svnserve不会作为守护进程启动,而是SSH为你启动svnserve,以SSH授权用" "户运行,为此,你需要在你的服务器上有SSH守护进程。" #. (para) #: ../source/TortoiseGit_en.xml:2909 msgid "" "A basic method for setting up your server is given in . You can find other SSH topics within the FAQ by searching for " "SSH." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:2915 msgid "" "Further information about svnserve can be found in the Version Control with Git." msgstr "" "更多的关于svnserve的信息可以看《使用 Git 进行版本管理》。" #. (title) #: ../source/TortoiseGit_en.xml:2923 msgid "Path-based Authorization with svnserve" msgstr "svnserve 基于路径的授权" #. (para) #: ../source/TortoiseGit_en.xml:2924 msgid "" "Starting with Git 1.3, svnserve supports the same " "mod_authz_svn path-based authorization scheme that is " "available with the Apache server. You need to edit the conf/" "svnserve.conf file in your repository directory and add a line " "referring to your authorization file. \n" "[general]\n" "authz-db = authz\n" " Here, authz is a file you create to define the " "access permissions. You can use a separate file for each repository, or you " "can use the same file for several repositories. Read for a description of the file format." msgstr "" "从Git1.3开始,svnserve支持与mod_authz_svn相同的路径" "为基础的授权模式,你需要编辑版本库路径下的conf/svnserve.conf引用的授权文件。\n" "[general]\n" "authz-db = authz\n" "在这里,authz是你创建用来定义访问权限的文件,你" "可以为每一个版本库使用单独的文件,或者为所有的版本库使用相同的文件,关于此文件" "的格式可以查看。" #. (para) #: ../source/TortoiseGit_en.xml:2946 msgid "" "No matter which protocol you use to access your repositories, you always need " "to create at least one repository. This can either be done with the " "Git command line client or with TortoiseGit." msgstr "" "无论你用什么协议访问你的版本库,都至少需要创建一个版本库,这可以使用Git" "命令行客户端或TortoiseGit完成。" #. (para) #: ../source/TortoiseGit_en.xml:2951 msgid "" "If you haven't created a Git repository yet, it's time to do that now." msgstr "如果你还没有创建Git版本库,是时间开始了。" #. (title) #: ../source/TortoiseGit_en.xml:2959 msgid "Repository Creation" msgstr "创建版本库" #. (primary) #: ../source/TortoiseGit_en.xml:2961 msgid "create repository" msgstr "创建版本库" #. (para) #: ../source/TortoiseGit_en.xml:2963 #, fuzzy msgid "" "You can create a repository with the FSFS backend or with the older Berkeley " "Database (BDB) format. The FSFS format is generally faster and easier to " "administer, and it works on network shares and Windows 98 without problems. " "The BDB format was once considered more stable simply because it has been in " "use for longer, but since FSFS has now been in use in the field for several " "years, that argument is now rather weak. Read Choosing a Data Store in the Git " "book for more information." msgstr "" "你可以使用 FSFS 或较老的 Berkeley 数据库(BDB)作为版本库的后端,FSFS 格式通常更" "快一点,还容易管理,而且可以正常运行在网络共享磁盘上 或 Windows 98 中。BDB 格" "式曾经简单的被认为更加稳定,因为其经过了更长时间的验证,但是既然 FSFS 已经使用" "了几年,这个论据已经相当不牢固了。参考 Git 手册的 选择数据存储 以获得更多信息。" #. (title) #: ../source/TortoiseGit_en.xml:2978 msgid "Creating a Repository with the Command Line Client" msgstr "使用命令行工具创建版本库" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:2980 ../source/TortoiseGit_en.xml:3021 msgid "Create" msgstr "创建" #. (secondary) #: ../source/TortoiseGit_en.xml:2981 msgid "Command Line Client" msgstr "命令行工具" #. (para) #: ../source/TortoiseGit_en.xml:2985 msgid "" "Create an empty folder with the name SVN (e.g. D:\\SVN\\), which is used as root for all your repositories." msgstr "" "创建一个名为SVN(例如D:\\SVN\\)的空文件夹,作为你的所有版" "本库的根。" #. (para) #: ../source/TortoiseGit_en.xml:2992 msgid "" "Create another folder MyNewRepository inside D:" "\\SVN\\." msgstr "" "在D:\\SVN\\里创建另一个目录MyNewRepository。" #. (para) #: ../source/TortoiseGit_en.xml:2999 msgid "" "Open the command prompt (or DOS-Box), change into D:\\SVN\\ and type \n" "svnadmin create --fs-type bdb MyNewRepository\n" " or \n" "svnadmin create --fs-type fsfs MyNewRepository\n" "" msgstr "" "打开命令行窗口(或DOS窗口),进入D:\\SVN\\目录,输入" "\n" "svnadmin create --fs-type bdb MyNewRepository\n" "\n" "svnadmin create --fs-type fsfs MyNewRepository\n" "" #. (para) #: ../source/TortoiseGit_en.xml:3012 msgid "" "Now you've got a new repository located at D:\\SVN" "\\MyNewRepository." msgstr "" "现在你在D:\\SVN\\MyNewRepository创建了一个新的版本库。" #. (title) #: ../source/TortoiseGit_en.xml:3019 msgid "Creating The Repository With TortoiseGit" msgstr "使用 TortoiseGit 创建版本库" #. (title) #: ../source/TortoiseGit_en.xml:3026 msgid "The TortoiseGit menu for unversioned folders" msgstr "未版本控制文件夹的 TortoiseGit 菜单" #. (para) #: ../source/TortoiseGit_en.xml:3031 msgid "Open the windows explorer" msgstr "打开资源管理器" #. (para) #: ../source/TortoiseGit_en.xml:3036 msgid "Create a new folder and name it e.g. SVNRepository" msgstr "创建一个新的文件夹,命名为SVNRepository" #. (para) #: ../source/TortoiseGit_en.xml:3042 msgid "" "Right-click on the newly created folder and select " "TortoiseGitCreate Repository " "here...." msgstr "" "右键点击新创建的目录,选择TortoiseGit在此创建版本库...。" #. (para) #: ../source/TortoiseGit_en.xml:3050 msgid "" "A repository is then created inside the new folder. Don't edit " "those files yourself!!!. If you get any errors make sure that the " "folder is empty and not write protected." msgstr "" "然后就会在新文件夹创建一个版本库,不要手工编辑这些文件!!!如果你得到什么警告,一定要先确定目录非空并且没有写保护。" #. (para) #: ../source/TortoiseGit_en.xml:3059 msgid "" "TortoiseGit no longer offers the option to create BDB repositories, although " "you can still use the command line client to create them. FSFS repositories " "are generally easier for you to maintain, and also makes it easier for us to " "maintain TortoiseGit due to compatibility issues between the different BDB " "versions." msgstr "" "TortoiseGit 不再给你创建 BDB 版本库的选择,尽管你仍旧可以使用命令行工具创建。" "FSFS 版本库通常很容易维护,也让我们维护 TortoiseGit 变得更容易,因为我们不再需" "要处理不同 BDB 版本之间的兼容性问题。" #. (para) #: ../source/TortoiseGit_en.xml:3066 #, fuzzy msgid "" "Future versions of TortoiseGit will not support file:// " "access to BDB repositories due to these compatibility issues, although it " "will of course always support this repository format when accessed via a " "server through the svn://, http:// or " "https:// protocols. For this reason, we strongly recommend " "that any new repository which must be accessed using file:// protocol is created as FSFS." msgstr "" "由于这些兼容性问题,将来的 TortoiseGit 不再支持使用 file:/// 访问 BDB 版本库,尽管我们继续支持使用 svn://," "http://https:// 协议访问 BDB 版本" "库。因此,我们强烈建议任何新的必须使用 file:/// 协议访问的" "版本库使用 FSFS 格式。" #. (para) #: ../source/TortoiseGit_en.xml:3078 #, fuzzy msgid "" "Of course we also recommend that you don't use file:// " "access at all, apart from local testing purposes. Using a server is more " "secure and more reliable for all but single-developer use." msgstr "" "当然除了本地测试之外,我们也建议你根本不要使用 file:/// 协" "议访问。除非是单个开发人员,使用服务器模型更为安全可靠。" #. (title) #: ../source/TortoiseGit_en.xml:3087 msgid "Local Access to the Repository" msgstr "本地访问版本库" #. (primary) #: ../source/TortoiseGit_en.xml:3089 msgid "Access" msgstr "访问" #. (primary) #: ../source/TortoiseGit_en.xml:3092 msgid "UNC paths" msgstr "UNC路径" #. (para) #: ../source/TortoiseGit_en.xml:3094 msgid "" "To access your local repository you need the path to that folder. Just " "remember that Git expects all repository paths in the form file:///C:/SVNRepository/. Note the use of forward " "slashes throughout." msgstr "" "为了访问本地版本库,你需要这个文件夹的路径,只要记住Git期望所有的版本库" "路径使用的形式为file:///C:/SVNRepository/,请注意全部使用的是斜杠。" #. (para) #: ../source/TortoiseGit_en.xml:3100 msgid "" "To access a repository located on a network share you can either use drive " "mapping, or you can use the UNC path. For UNC paths, the form is file://ServerName/path/to/repos/. Note that there " "are only 2 leading slashes here." msgstr "" "为了访问网络共享中的版本库,你可以使用驱动器影射或使用UNC路径,对于UNC路径,形" "式为file://ServerName/path/to/repos/," "请注意这里前面只有两个斜杠。" #. (para) #: ../source/TortoiseGit_en.xml:3107 msgid "" "Prior to SVN 1.2, UNC paths had to be given in the more obscure form " "file:///\\ServerName/path/to/repos. " "This form is still supported, but not recommended." msgstr "" "在SVN 1.2之前,UNC路径曾经是一种非常晦涩的格式file:///\\ServerName/path/to/repos,这种格式依然支持,但不推" "荐。" #. (para) #: ../source/TortoiseGit_en.xml:3114 msgid "" "Do not create or access a Berkeley DB repository on a network share. It " "cannot exist on a remote file system. Not even if you " "have the network drive mapped to a drive letter. If you attempt to use " "Berkeley DB on a network share, the results are unpredictable - you may see " "mysterious errors right away, or it may be months before you discover that " "your repository database is subtly corrupted." msgstr "" "不要创建和访问网络共享上的 Berkeley DB 版本库。它不能存在" "于远程文件系统。即使是映射到盘符的共享。如果你尝试在网络共享使用 Berkeley DB," "结果难以预料 - 你可能会立刻看到奇怪的错误,也有可能几个月之后才发现数据库已经" "损坏了。" #. (title) #: ../source/TortoiseGit_en.xml:3125 msgid "Accessing a Repository on a Network Share" msgstr "访问网络共享磁盘上的版本库" #. (primary) #: ../source/TortoiseGit_en.xml:3127 msgid "Network share" msgstr "网络共享" #. (para) #: ../source/TortoiseGit_en.xml:3129 msgid "" "Although in theory it is possible to put a FSFS repository on a network share " "and have multiple users access it using file:// protocol, " "this is most definitely not recommended. In fact we " "would strongly discourage it, and do not support such " "use." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:3136 msgid "" "Firstly you are giving every user direct write access to the repository, so " "any user could accidentally delete the entire repository or make it unusable " "in some other way." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:3141 msgid "" "Secondly not all network file sharing protocols support the locking that " "Git requires, so you may find your repository gets corrupted. It may " "not happen straight away, but one day two users will try to access the " "repository at the same time." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:3147 msgid "" "Thirdly the file permissions have to be set just so. You may just about get " "away with it on a native Windows share, but SAMBA is particularly difficult." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:3152 msgid "" "file:// access is intended for local, single-user access " "only, particularly testing and debugging. When you want to share the " "repository you really need to set up a proper server, " "and it is not nearly as difficult as you might think. Read for guidelines on choosing and setting up a server." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:3162 msgid "Repository Layout" msgstr "版本库布局" #. (para) #: ../source/TortoiseGit_en.xml:3163 msgid "" "Before you import your data into the repository you should first think about " "how you want to organize your data. If you use one of the recommended layouts " "you will later have it much easier." msgstr "" "在将你的数据导入到版本库之前,首先你得考虑如何组织你的数据。如果你使用一种推荐" "的布局,你在后面的操作将会更容易许多。" #. (para) #: ../source/TortoiseGit_en.xml:3169 #, fuzzy msgid "" "There are some standard, recommended ways to organize a repository. Most " "people create a trunk directory to hold the main " "line of development, a branches directory to " "contain branch copies, and a tags directory to contain " "tag copies. If a repository holds only one project, then often people create " "these top-level directories:" msgstr "" "有一些标准的、推荐的方式来组织一个版本库。大多数人建一个trunk目录来存放开发的“主线”、一个branches目录来容纳分" "支副本、以及一个tags目录来容纳标签复制。如果一个版本库只" "存放一个项目,人们通常创建三个这样的顶层目录: " #. (screen) #: ../source/TortoiseGit_en.xml:3178 #, no-wrap msgid "" "\n" "/trunk\n" "/branches\n" "/tags\n" msgstr "" "\n" "/trunk\n" "/branches\n" "/tags\n" #. (para) #: ../source/TortoiseGit_en.xml:3183 msgid "" "If a repository contains multiple projects, people often index their layout " "by branch:" msgstr "如果一个版本库包含多个项目,人们通常按分支来安排布局: " #. (screen) #: ../source/TortoiseGit_en.xml:3187 #, no-wrap msgid "" "\n" "/trunk/paint\n" "/trunk/calc\n" "/branches/paint\n" "/branches/calc\n" "/tags/paint\n" "/tags/calc\n" msgstr "" "\n" "/trunk/paint\n" "/trunk/calc\n" "/branches/paint\n" "/branches/calc\n" "/tags/paint\n" "/tags/calc\n" #. (para) #: ../source/TortoiseGit_en.xml:3195 msgid "...or by project:" msgstr "……或者按项目: " #. (screen) #: ../source/TortoiseGit_en.xml:3198 #, no-wrap msgid "" "\n" "/paint/trunk\n" "/paint/branches\n" "/paint/tags\n" "/calc/trunk\n" "/calc/branches\n" "/calc/tags\n" msgstr "" "\n" "/paint/trunk\n" "/paint/branches\n" "/paint/tags\n" "/calc/trunk\n" "/calc/branches\n" "/calc/tags\n" #. (para) #: ../source/TortoiseGit_en.xml:3206 msgid "" "Indexing by project makes sense if the projects are not closely related and " "each one is checked out individually. For related projects where you may want " "to check out all projects in one go, or where the projects are all tied " "together in a single distribution package, it is often better to index by " "branch. This way you have only one trunk to checkout, and the relationships " "between the sub-projects is more easily visible." msgstr "" "如果项目不是密切相关,而且每一个是单独被检出,那么按项目布局是合理的。对于那些" "你想一次检出所有项目,或需要将它们打成一个分发包的相关项目,按分支来布局通常比" "较好。这种方式你只要检出一个分支,而且子项目之间的关系也比较清楚。" #. (para) #: ../source/TortoiseGit_en.xml:3214 msgid "" "If you adopt a top level /trunk /tags /branches " "approach, there is nothing to say that you have to copy the entire trunk for " "every branch and tag, and in some ways this structure offers the most " "flexibility." msgstr "" "如果你采用顶层/trunk /tags /branches这种方式,并不意味着" "你必须复制整个主线为分支或标签,而且某些情况下这种结构更具灵活性。" #. (para) #: ../source/TortoiseGit_en.xml:3220 msgid "" "For unrelated projects you may prefer to use separate repositories. When you " "commit changes, it is the revision number of the whole repository which " "changes, not the revision number of the project. Having 2 unrelated projects " "share a repository can mean large gaps in the revision numbers. The " "Git and TortoiseGit projects appear at the same host address, but are " "completely separate repositories allowing independent development, and no " "confusion over build numbers." msgstr "" "对于不相关的项目,你可能更愿意使用不同的版本库。当你提交时,改变的是整个版本库" "的修订号,而不是项目的。让两个不相关的项目共用一个版本库,会导致修订号出现较大" "的跳跃。Git和TortoiseGit项目看起来是在同一个主机地址,但是它们是在完全" "独立的版本库中开发着,并且版本号也不相干。" #. (para) #: ../source/TortoiseGit_en.xml:3230 msgid "" "Of course, you're free to ignore these common layouts. You can create any " "sort of variation, whatever works best for you or your team. Remember that " "whatever you choose, it's not a permanent commitment. You can reorganize your " "repository at any time. Because branches and tags are ordinary directories, " "TortoiseGit can move or rename them however you wish." msgstr "" "当然,你完全可以不理会上面提及的通用布局。你可以自由改变,来满足你和你团队的需" "要。请记住,不管你选择哪种布局,它都不是永久的。你可以在随时重新组织你的版本" "库。因为分支和标签是普通的目录,只要你愿意,TortoiseGit可以将它们移动或重命" "名。" #. (para) #: ../source/TortoiseGit_en.xml:3238 msgid "" "Switching from one layout to another is just a matter of issuing a series of " "server-side moves; If you don't like the way things are organized in the " "repository, just juggle the directories around." msgstr "" "从一种布局转换到另一种布局仅仅是在服务器端移动一些文件或目录;如果你不喜欢版本" "库的组织形式,仅管大胆地修改那些目录。" #. (para) #: ../source/TortoiseGit_en.xml:3244 msgid "" "So if you haven't already created a basic folder structure inside your " "repository you should do that now. There are two ways to achieve this. If you " "simply want to create a /trunk /tags /branches " "structure, you can use the repository browser to create the three folders (in " "three separate commits). If you want to create a deeper hierarchy then it is " "simpler to create a folder structure on disk first and import it in a single " "commit, like this: " msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:3255 msgid "create a new empty folder on your hard drive" msgstr "在你的硬盘上创建一个空的文件夹" #. (para) #: ../source/TortoiseGit_en.xml:3260 msgid "" "create your desired top-level folder structure inside that folder - don't put " "any files in it yet!" msgstr "在那个文件夹下创建你想要的顶级目录--千万不要放任何文件进去!" #. (para) #: ../source/TortoiseGit_en.xml:3266 msgid "" "import this structure into the repository via a right click " "on the folder and selecting TortoiseGitImport... This will import " "your temp folder into the repository root to create the basic repository " "layout." msgstr "" "通过在那个文件夹右键,选择TortoiseGit导入... 将这个结构导入到版本库" "中。这将导入临时文件夹到版本库的根目录形成一个基本的版本库布局。" #. (para) #: ../source/TortoiseGit_en.xml:3281 msgid "" "Note that the name of the folder you are importing does not appear in the " "repository, only its contents. For example, create the following folder " "structure: \n" "C:\\Temp\\New\\trunk\n" "C:\\Temp\\New\\branches\n" "C:\\Temp\\New\\tags\n" " Import C:\\Temp\\New into the repository root, " "which will then look like this: \n" "/trunk\n" "/branches\n" "/tags\n" "" msgstr "" "注意,你所导入的那个文件夹的名字并不存在于版本库中,仅仅是它所包含的内容。比" "如,创建如下结构的文件夹\n" "C:\\Temp\\New\\trunk\n" "C:\\Temp\\New\\branches\n" "C:\\Temp\\New\\tags\n" "导入C:\\Temp\\New到版本库的根目录,版本库中将会" "是这样: \n" "/trunk\n" "/branches\n" "/tags\n" "" #. (title) #: ../source/TortoiseGit_en.xml:3301 msgid "Repository Backup" msgstr "版本库备份" #. (primary) #: ../source/TortoiseGit_en.xml:3303 msgid "backup" msgstr "备份" #. (para) #: ../source/TortoiseGit_en.xml:3305 msgid "" "Whichever type of repository you use, it is vitally important that you " "maintain regular backups, and that you verify the backup. If the server " "fails, you may be able to access a recent version of your files, but without " "the repository all your history is lost forever." msgstr "" "无论你使用何种版本库,定期维护和验证版本库备份非常重要,或许你可以访问最近版本" "的文件,但是如果没有版本库,所有的历史将会丢失。" #. (para) #: ../source/TortoiseGit_en.xml:3312 msgid "" "The simplest (but not recommended) way is just to copy the repository folder " "onto the backup medium. However, you have to be absolutely sure that no " "process is accessing the data. In this context, access means any access at all. A BDB repository is written to even when the " "operation only appears to require reading, such as getting status. If your " "repository is accessed at all during the copy, (web browser left open, " "WebSVN, etc.) the backup will be worthless." msgstr "" "最简单(但不推荐)的方法是复制整个版本库目录到备份介质,然而你必须绝对确定没有访" "问数据的进程,在这里“访问”的意思是任何访问,一个BDB版本库" "即使在访问看起来只需要读时也会有写操作,如果在复制时版本库被访问了(web浏览器," "WebSVN等等),备份将毫无价值。" #. (para) #: ../source/TortoiseGit_en.xml:3322 msgid "" "The recommended method is to run \n" "svnadmin hotcopy path/to/repository path/to/backup --clean-logs\n" " to create a copy of your repository in a safe manner. Then backup " "the copy. The --clean-logs option is not required, but " "removes any redundant log files when you backup a BDB repository, which may " "save some space." msgstr "" "推荐的方法是运行\n" "svnadmin hotcopy path/to/repository path/to/backup --clean-logs\n" ",用一种安全的方式创建版本库的备份,备份是一个副本,--clean-" "logs选项并不必须,但是通过删除BDB版本库中多余的日志文件可以节省一些" "空间。" #. (para) #: ../source/TortoiseGit_en.xml:3332 msgid "" "The svnadmin tool is installed automatically when you " "install the Git command line client. If you are installing the command " "line tools on a Windows PC, the best way is to download the Windows installer " "version. It is compressed more efficiently than the .zip " "version, so the download is smaller, and it takes care of setting the paths " "for you. You can download the latest version of the Git command line " "client from http://Git.tigris.org/" "servlets/ProjectDocumentList?folderID=91." msgstr "" "svnadmin在安装Git命令行客户端时会自动安装,如果你在" "Windows PC上安装这个命令行工具,最好的方式是下载Windows安装版本,它比" ".zip版本的压缩效率更好,所以更小,并且小心的为你设定路" "径。你可以从http://Git.tigris.org/" "servlets/ProjectDocumentList?folderID=91下载最新版本的命令" "行客户端。" #. (title) #: ../source/TortoiseGit_en.xml:3347 msgid "Server side hook scripts" msgstr "服务器端钩子脚本" #. (primary) #: ../source/TortoiseGit_en.xml:3349 msgid "hooks" msgstr "钩子" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:3352 ../source/TortoiseGit_en.xml:12109 msgid "hook scripts" msgstr "钩子脚本" #. (primary) #: ../source/TortoiseGit_en.xml:3355 msgid "server side hook scripts" msgstr "服务器端钩子脚本" #. (para) #: ../source/TortoiseGit_en.xml:3357 #, fuzzy msgid "" "A hook script is a program triggered by some repository event, such as the " "creation of a new revision or the modification of an unversioned property. " "Each hook is handed enough information to tell what that event is, what target" "(s) it's operating on, and the username of the person who triggered the " "event. Depending on the hook's output or return status, the hook program may " "continue the action, stop it, or suspend it in some way. Please refer to the " "chapter on Hook Scripts in the Git Book for full details about the hooks " "which are implemented." msgstr "" "钩子脚本是被一些版本库事件触发的程序,例如创建新版本,或修改非版本控制的属性。" "每种钩子都会被告知事件的足够信息,操作的目标,触发事件的用户名。依赖于钩子的输" "出或返回状态,钩子程序可以继续执行,停止或以某种方式挂起。请参阅 Git 手" "册的 钩子脚本 部" "分以获得关于实现钩子的细节。" #. (para) #: ../source/TortoiseGit_en.xml:3372 msgid "" "These hook scripts are executed by the server that hosts the repository. " "TortoiseGit also allows you to configure client side hook scripts that are " "executed locally upon certain events. See for more information." msgstr "" "这些钩子脚本被版本库所在的服务器执行。TortoiseGit 也允许你配置由确定事件触发," "在本地执行的客户端脚本。请参看 以" "获得更多信息。" #. (para) #: ../source/TortoiseGit_en.xml:3378 msgid "" "Sample hook scripts can be found in the hooks directory " "of the repository. These sample scripts are suitable for Unix/Linux servers " "but need to be modified if your server is Windows based. The hook can be a " "batch file or an executable. The sample below shows a batch file which might " "be used to implement a pre-revprop-change hook. \n" "rem Only allow log messages to be changed.\n" "if \"%4\" == \"svn:log\" exit 0\n" "echo Property '%4' cannot be changed >&2\n" "exit 1\n" " Note that anything sent to stdout is discarded. if you want a " "message to appear in the Commit Reject dialog you must send it to stderr. In " "a batch file this is achieved using >&2" msgstr "" "版本库的hooks目录中有一些钩子的例子脚本,这些例子脚本适合" "于Unix/Linux服务器,在Windows下需要修改。钩子可以是批处理文件或可执行文件,下" "面是用来实现pre-revprop-change钩子的例子。\n" "rem Only allow log messages to be changed.\n" "if \"%4\" == \"svn:log\" exit 0\n" "echo Property '%4' cannot be changed >&2\n" "exit 1\n" "请注意所有发送到标准输出的东西都会被忽略,如果你希望信息出现在拒绝提" "交对话框中,你需要将这些信息发送到标准错误,在一个批处理文件中使用" ">&2实现。" #. (title) #: ../source/TortoiseGit_en.xml:3398 msgid "Checkout Links" msgstr "检出链接" #. (primary) #: ../source/TortoiseGit_en.xml:3400 msgid "checkout link" msgstr "检出链接" #. (primary) #: ../source/TortoiseGit_en.xml:3403 msgid "TortoiseGit link" msgstr "TortoiseGit 链接" #. (primary) #: ../source/TortoiseGit_en.xml:3406 msgid "link" msgstr "链接" #. (primary) #: ../source/TortoiseGit_en.xml:3409 msgid "website" msgstr "WEB 站点" #. (para) #: ../source/TortoiseGit_en.xml:3411 msgid "" "If you want to make your Git repository available to others you may " "want to include a link to it from your website. One way to make this more " "accessible is to include a checkout link for other " "TortoiseGit users." msgstr "" "如果你希望你的 Git 版本库对于别人可用,你可以在你的站点包含一个链接。为" "了让其更加容易访问,你可以为其它 TortoiseGit 用户包含一个检出链接。" #. (para) #: ../source/TortoiseGit_en.xml:3417 msgid "" "When you install TortoiseGit, it registers a new tsvn: " "protocol. When a TortoiseGit user clicks on such a link, the checkout dialog " "will open automatically with the repository URL already filled in." msgstr "" "当你安装了 TortoiseGit,它会注册一个 tsvn: 协议,当 " "TortoiseGit 用户点击这样一个链接,检出窗口会自动弹出,且版本库 URL 已经填入。" #. (para) #: ../source/TortoiseGit_en.xml:3423 #, fuzzy msgid "" "To include such a link in your own html page, you need to add code which " "looks something like this: " msgstr "" "为了在你自己的网页上包含这样一个链接,你需要添加类似下面的代码: \n" "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk\">" "</a>\n" "" #. (programlisting) #: ../source/TortoiseGit_en.xml:3426 #, no-wrap msgid "" "\n" "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk\">\n" "</a>\n" msgstr "" "\n" "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk\">\n" "</a>\n" #. (para) #: ../source/TortoiseGit_en.xml:3431 #, fuzzy msgid "" "Of course it would look even better if you included a suitable picture. You " "can use the TortoiseGit logo or you " "can provide your own image. " msgstr "" "当然,如果你提供一个合适的图片会更好,你可以使用TortoiseGit " "logo,也可以使用自己的图片。\n" "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk\">\n" "<img src=TortoiseCheckout.png></a>\n" "" #. (programlisting) #: ../source/TortoiseGit_en.xml:3438 #, no-wrap msgid "" "\n" "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk\">\n" "<img src=TortoiseCheckout.png></a>\n" msgstr "" "\n" "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk\">\n" "<img src=TortoiseCheckout.png></a>\n" #. (para) #: ../source/TortoiseGit_en.xml:3443 msgid "" "You can also make the link point to a specific revision, for example " "" msgstr "" #. (programlisting) #: ../source/TortoiseGit_en.xml:3445 #, no-wrap msgid "" "\n" "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk?100\">\n" "</a>\n" msgstr "" "\n" "<a href=\"tsvn:https://TortoiseGit.tigris.org/svn/TortoiseGit/trunk?100\">\n" "</a>\n" #. (title) #: ../source/TortoiseGit_en.xml:3453 msgid "Daily Use Guide" msgstr "日常使用指南" #. (para) #: ../source/TortoiseGit_en.xml:3457 msgid "" "This document describes day to day usage of the TortoiseGit client. It is " "not an introduction to version control systems, and " "not an introduction to Git (SVN). It is more like " "a place you may turn to when you know approximately what you want to do, but " "don't quite remember how to do it." msgstr "" "本文目的在与描述TortoiseGit客户端的日常使用。不是一个版本" "控制系统指南,也不是Git (SVN)的指南。本文档的价值" "在于,当你知道大概要做什么,却又记不起应该怎么做的时候,可以有个参考的地方。" #. (para) #: ../source/TortoiseGit_en.xml:3465 msgid "" "If you need an introduction to version control with Git, then we " "recommend you read the fantastic book: Version Control with Git." msgstr "" "如果你需要了解使用Git进行版本控制的指南,我们建立你阅读以下这本梦幻之" "书: 《使用 Git " "进行版本管理》." #. (para) #: ../source/TortoiseGit_en.xml:3472 msgid "" "This document is also a work in progress, just as TortoiseGit and Git " "are. If you find any mistakes, please report them to the mailing list so we " "can update the documentation. Some of the screenshots in the Daily Use Guide " "(DUG) might not reflect the current state of the software. Please forgive us. " "We're working on TortoiseGit in our free time." msgstr "" "本文档与TortoiseGit和Git一样,也是处于“正在开发”的状态。如果你找到了错" "误之处,请向邮件列表报告,这样我们就可以更新它。日常使用指南(DUG)中的一些屏幕" "截图也许不符合当前软件中的情况。请您原谅我们。毕竟我们只是用业余的时间在制作" "TortoiseGit 。" #. (para) #: ../source/TortoiseGit_en.xml:3480 msgid "In order to get the most out of the Daily Use Guide: " msgstr "为了获得比每日用户指南更多的信息: " #. (para) #: ../source/TortoiseGit_en.xml:3484 msgid "You should have installed TortoiseGit already." msgstr "你应该已经安装了TortoiseGit。" #. (para) #: ../source/TortoiseGit_en.xml:3489 msgid "You should be familiar with version control systems." msgstr "你应该熟悉版本控制系统。" #. (para) #: ../source/TortoiseGit_en.xml:3494 msgid "You should know the basics of Git." msgstr "你应该知道Git的基础。" #. (para) #: ../source/TortoiseGit_en.xml:3499 msgid "" "You should have set up a server and/or have access to a Git repository." msgstr "你应该已经建立了一个服务器并且可以访问Git库。" #. (title) #: ../source/TortoiseGit_en.xml:3510 msgid "Getting Started" msgstr "开始" #. (title) #. (title) #. (title) #: ../source/TortoiseGit_en.xml:3512 ../source/TortoiseGit_en.xml:5020 #: ../source/TortoiseGit_en.xml:15237 msgid "Icon Overlays" msgstr "图标重载" #. (para) #: ../source/TortoiseGit_en.xml:3513 msgid "" " One of the most visible features of TortoiseGit is the icon " "overlays which appear on files in your working copy. These show you at a " "glance which of your files have been modified. Refer to to find out what the different overlays represent." msgstr "" " TortoiseGit 最明显的特性之一就是图标重载,重载的图标显示在你" "的工作副本文件上。你一眼就可以看到文件被修改过了。参考 查阅不同的重载图标含义。" #. (title) #. (title) #: ../source/TortoiseGit_en.xml:3515 ../source/TortoiseGit_en.xml:5029 msgid "Explorer showing icon overlays" msgstr "显示重载图标的资源管理器" #. (title) #: ../source/TortoiseGit_en.xml:3526 msgid "Context Menus" msgstr "右键菜单" #. (primary) #: ../source/TortoiseGit_en.xml:3528 msgid "context menu" msgstr "右键菜单" #. (primary) #: ../source/TortoiseGit_en.xml:3531 msgid "right-click" msgstr "右击" #. (para) #: ../source/TortoiseGit_en.xml:3533 msgid "" " All TortoiseGit commands are invoked from the context menu " "of the windows explorer. Most are directly visible, when you right " "click on a file or folder. The commands that are available depend on " "whether the file or folder or its parent folder is under version control or " "not. You can also see the TortoiseGit menu as part of the Explorer file menu." msgstr "" " 所有的TortoiseGit命令都是通过windows资源管理器的右键菜单执" "行。右键点击一个文件或者文件夹,大多数菜单项都能够直接显示。" "一个命令是否显示取决于这个文件或文件夹或者它们的父文件夹是否受版本控制,你也可" "以将TortoiseGit的菜单作为资源管理器菜单的一部分。" #. (title) #: ../source/TortoiseGit_en.xml:3535 msgid "Context menu for a directory under version control" msgstr "版本控制下一个目录的右键菜单" #. (para) #: ../source/TortoiseGit_en.xml:3545 msgid "" "Some commands which are very rarely used are only available in the extended " "context menu. To bring up the extended context menu, hold down the " "Shift key when you right-click." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:3551 msgid "" "In some cases you may see several TortoiseGit entries. This is not a bug! " " This example is for an unversioned shortcut within a " "versioned folder, and in the Explorer file menu there are three entries for TortoiseGit. One is for the folder, one for the " "shortcut itself, and the third for the object the shortcut is pointing to. To " "help you distinguish between them, the icons have an indicator in the lower " "right corner to show whether the menu entry is for a file, a folder, a " "shortcut or for multiple selected items." msgstr "" "在某些情况下,你可能看到多个TortoiseGit条目。这不是BUG!本示例" "是在一个受控文件夹下的某个未受控的快捷方式, 在资源管理器的文件菜单下有" "三个TortoiseGit条目。一个是受控文件夹本身的,一个是快捷方" "式本身的,第三个是快捷方式所指向的对象。为了帮助你区分它们,菜单条目的图标的右" "下角有标志,表明是文件、快捷方式、文件夹或是选中了多项。" #. (title) #: ../source/TortoiseGit_en.xml:3554 msgid "Explorer file menu for a shortcut in a versioned folder" msgstr "在一个版本控制的文件夹下资源管理器文件菜单中的快捷方式。" #. (para) #: ../source/TortoiseGit_en.xml:3565 msgid "" "If you are using Windows 2000 you will find that the context menus are shown " "as plain text, without the menu icons shown above. We are aware that this was " "working in previous versions, but Microsoft has changed the way its icon " "handlers work for Vista, requiring us to use a different display method which " "unfortunately does not work on Windows 2000." msgstr "" #. (title) #. (title) #: ../source/TortoiseGit_en.xml:3574 ../source/TortoiseGit_en.xml:4505 msgid "Drag and Drop" msgstr "拖放" #. (primary) #: ../source/TortoiseGit_en.xml:3576 msgid "drag handler" msgstr "拖拽句柄" #. (primary) #: ../source/TortoiseGit_en.xml:3579 msgid "drag-n-drop" msgstr "拖放" #. (primary) #: ../source/TortoiseGit_en.xml:3582 msgid "right drag" msgstr "右键拖动" #. (para) #: ../source/TortoiseGit_en.xml:3584 msgid "" " Other commands are available as drag handlers, when you " "right drag files or folders to a new location inside working " "copies or when you right drag a non-versioned file or folder " "into a directory which is under version control." msgstr "" " 在工作副本里右键拖拽文件或目录到新的位置,或" "者右键拖拽一个非版本控制的文件或文件夹到一个版本控制目录下的" "时候,右键菜单还能够出现其他的命令。" #. (title) #. (title) #: ../source/TortoiseGit_en.xml:3586 ../source/TortoiseGit_en.xml:6809 msgid "Right drag menu for a directory under version control" msgstr "版本控制下的一个目录的右键拖拽菜单" #. (title) #: ../source/TortoiseGit_en.xml:3596 msgid "Common Shortcuts" msgstr "常用快捷方式" #. (para) #: ../source/TortoiseGit_en.xml:3597 msgid "" "Some common operations have well-known Windows shortcuts, but do not appear " "on buttons or in menus. If you can't work out how to do something obvious, " "like refreshing a view, check here. " msgstr "" "一些常见的操作与 Windows 的快捷键是一样的,但没有出现在按钮或是菜单中。如果你" "找不到一些显而易见的操作,比如刷新视图,请参考以下内容。 " #. (term) #: ../source/TortoiseGit_en.xml:3603 msgid "F1" msgstr "F1" #. (para) #: ../source/TortoiseGit_en.xml:3605 msgid "Help, of course." msgstr "当然是帮助。" #. (term) #: ../source/TortoiseGit_en.xml:3611 msgid "F5" msgstr "F5" #. (para) #: ../source/TortoiseGit_en.xml:3613 msgid "" "Refresh the current view. This is perhaps the single most useful one-key " "command. For example ... In Explorer this will refresh the icon overlays on " "your working copy. In the commit dialog it will re-scan the working copy to " "see what may need to be committed. In the Revision Log dialog it will contact " "the repository again to check for more recent changes." msgstr "" "刷新当前视图。这也许是单键命令中唯一一个最常用的了。比如... 在资源浏览器中,这" "个键可以刷新工作副本中的图标重载。在提交对话框中,它可以重新扫描查找哪些是需要" "提交的。在版本日志对话框中,可以重新联系版本库以检查更多的最近修改情况。" #. (term) #: ../source/TortoiseGit_en.xml:3625 msgid "Ctrl-A" msgstr "Ctrl-A" #. (para) #: ../source/TortoiseGit_en.xml:3627 msgid "" "Select all. This can be used if you get an error message and want to copy and " "paste into an email. Use Ctrl-A to select the error message and then ..." msgstr "" "全选。可用于在得到一个错误消息并想要复制粘贴到电子邮件时。使用Ctrl-A to选择错" "误错误,然后..." #. (term) #: ../source/TortoiseGit_en.xml:3635 msgid "Ctrl-C" msgstr "Ctrl-C" #. (para) #: ../source/TortoiseGit_en.xml:3637 msgid "... Copy the selected text." msgstr "... 复制选中的文本。" #. (primary) #: ../source/TortoiseGit_en.xml:3648 msgid "authentication" msgstr "认证" #. (para) #: ../source/TortoiseGit_en.xml:3650 #, fuzzy msgid "" "If the repository that you are trying to access is password protected, an " "authentication Dialog will show up. Enter your username and " "password. The checkbox will make TortoiseGit store the credentials in " "Git's default directory: %APPDATA%\\Git\\auth in three subdirectories: " msgstr "" "如果连接的版本库需要口令,就会显示认证对话框。 输入你的用户名" "和口令。其检查框能让 TortoiseGit 在 Git的 缺省目录:%APPDATA%" "\\Git\\auth 的三个子目录内保存认证信息: 每" "个文件对应一个服务器,文件是纯文本格式,因此可以用文本编辑器查看文件是对应哪个" "服务器。如果希望 Git 和 TortoiseGit(或者其它 Git 客户端) 忘记某" "个服务器的凭证信息,只需删除这个服务器的对应文件即可。" #. (title) #: ../source/TortoiseGit_en.xml:3654 msgid "Authentication Dialog" msgstr "认证对话框" #. (para) #: ../source/TortoiseGit_en.xml:3662 msgid "" "svn.simple contains credentials for basic authentication " "(username/password)." msgstr "" "svn.simple文件里包含了基本认证方式所需要的认证信息(用户" "名/口令)。" #. (para) #: ../source/TortoiseGit_en.xml:3668 msgid "svn.ssl.server contains SSL server certificates." msgstr "svn.ssl.server文件里包含了SSL服务器证书。" #. (para) #: ../source/TortoiseGit_en.xml:3674 msgid "" "svn.username contains credentials for username-only " "authentication (no password needed)." msgstr "" "svn.username文件里包含了用户名认证的认证信息(不需要提供密" "码)。" #. (para) #: ../source/TortoiseGit_en.xml:3681 #, fuzzy msgid "" "If you want to clear the authentication cache for all servers, you can do so " "from the Saved Data page of TortoiseGit's settings " "dialog. That button will clear all cached authentication data from the " "Git auth directories, as well as any " "authentication data stored in the registry by earlier versions of " "TortoiseGit. Refer to ." msgstr "" "如果想要清除所有服务器的认证缓存,可以通过 TortoiseGit 设" "置对话框的常规设置页来实现。那个按钮能够清除 Git " "的 auth 目录中缓存的所有认证数据,以及老版本的 TortoiseGit 存储在注册表里的认" "证数据。请参考 。" #. (para) #: ../source/TortoiseGit_en.xml:3690 msgid "" "For more information on how to set up your server for authentication and " "access control, refer to " msgstr "" "关于如何设置服务器的认证和权限的更多信息,请参考" #. (title) #: ../source/TortoiseGit_en.xml:3697 msgid "Maximizing Windows" msgstr "最大化窗口" #. (primary) #: ../source/TortoiseGit_en.xml:3699 msgid "maximize" msgstr "最大化" #. (para) #: ../source/TortoiseGit_en.xml:3701 msgid "" "Many of TortoiseGit's dialogs have a lot of information to display, but it is " "often useful to maximize only the height, or only the width, rather than " "maximizing to fill the screen. As a convenience, there are shortcuts for this " "on the Maximize button. Use the middle mouse button to maximize vertically, and right mouse to " "maximize horizontally." msgstr "" "大多数 TortoiseGit 的对话框显示很多信息,但是经常只有最大化高度或者宽度有用," "而不是全部最大化,覆盖整个屏幕。为了方便,在 最大化 按钮" "有快捷方式做这些工作。使用鼠标中键最大化高度,右键最大化宽度。" #. (title) #: ../source/TortoiseGit_en.xml:3712 msgid "Importing Data Into A Repository" msgstr "导入数据到版本库" #. (primary) #: ../source/TortoiseGit_en.xml:3714 msgid "import" msgstr "导入" #. (primary) #: ../source/TortoiseGit_en.xml:3720 msgid "add files to repository" msgstr "向版本库增加文件" #. (title) #. (entry) #. (title) #. (glossterm) #: ../source/TortoiseGit_en.xml:3724 ../source/TortoiseGit_en.xml:14006 #: ../source/TortoiseGit_en.xml:15168 ../source/TortoiseGit_en.xml:15935 msgid "Import" msgstr "导入" #. (primary) #: ../source/TortoiseGit_en.xml:3726 msgid "temporary files" msgstr "临时文件" #. (para) #: ../source/TortoiseGit_en.xml:3728 msgid "" "If you are importing into an existing repository which already contains some " "projects, then the repository structure will already have been decided. If " "are importing data into a new repository then it is worth taking the time to " "think about how it will be organised. Read for further advice." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:3736 msgid "" "This section describes the Git import command, which was designed for " "importing a directory hierarchy into the repository in one shot. Although it " "does the job, it has several shortcomings: For these reasons " "we recommend that you do not use the import command at all but rather follow " "the two-step method described in . But since you are here, this is how the basic import works ..." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:3742 msgid "" "There is no way to select files and folders to include, aside from using the " "global ignore settings." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:3748 msgid "" "The folder imported does not become a working copy. You have to do a checkout " "to copy the files back from the server." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:3754 #, fuzzy msgid "It is easy to import to the wrong folder level in the repository." msgstr "在版本库创建新目录。" #. (para) #: ../source/TortoiseGit_en.xml:3764 msgid "" "Before you import your project into a repository you should: " msgstr "在将你的项目导入到版本库之前,你应该: " #. (para) #: ../source/TortoiseGit_en.xml:3768 msgid "" "Remove all files which are not needed to build the project (temporary files, " "files which are generated by a compiler e.g. *.obj, compiled binaries, ...)" msgstr "" "删除所有构建工程不需要的文件(临时文件,编译器产生的文件,例如 *.obj,生成的二" "进制文件,...)" #. (para) #: ../source/TortoiseGit_en.xml:3776 msgid "" "Organize the files in folders and sub-folders. Although it is possible to " "rename/move files later it is highly recommended to get your project's " "structure straight before importing!" msgstr "" "组织目录和子目录内的文件。尽管以后可以改名/删除文件,我们还是建议你在导入之前" "使你的项目结构组织良好!" #. (para) #: ../source/TortoiseGit_en.xml:3785 msgid "" "Now select the top-level folder of your project directory structure in the " "windows explorer and right click to open the context menu. " "Select the command TortoiseGitImport... which brings up a " "dialog box: " msgstr "" "现在进入资源管理器,选择你的项目的顶层目录,右击打开上下文菜" "单。选择命令TortoiseGit导入 ...,它会弹出一个对话框: " #. (title) #: ../source/TortoiseGit_en.xml:3796 msgid "The Import dialog" msgstr "导入对话框" #. (para) #: ../source/TortoiseGit_en.xml:3800 msgid "" "In this dialog you have to enter the URL of the repository location where you " "want to import your project. It is very important to realise that the local " "folder you are importing does not itself appear in the repository, only its " "content. For example if you have a structure: \n" "C:\\Projects\\Widget\\source\n" "C:\\Projects\\Widget\\doc\n" "C:\\Projects\\Widget\\images\n" " and you import C:\\Projects\\Widget into " "http://mydomain.com/svn/trunk then you " "may be surprised to find that your subdirectories go straight into " "trunk rather than being in a Widget " "subdirectory. You need to specify the subdirectory as part of the URL, " "http://mydomain.com/svn/trunk/Widget-X. Note that the import command will automatically create " "subdirectories within the repository if they do not exist." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:3821 msgid "The import message is used as a log message." msgstr "这个输入信息将用作提交日志。" #. (para) #: ../source/TortoiseGit_en.xml:3824 msgid "" "By default, files and folders which match the global-ignore patterns are " "not imported. To override this behaviour you can use the " "Include ignored files checkbox. Refer to for more information on setting a global ignore " "pattern." msgstr "" "默认情况下,匹配全局忽略模式的文件和文件夹不会被导入。你" "可以使用包含忽略文件检验栏来禁止此行为。参考以获得关于全局忽略模式的更多信息。" #. (para) #: ../source/TortoiseGit_en.xml:3831 #, fuzzy msgid "" "As soon as you press OK TortoiseGit imports the " "complete directory tree including all files into the repository. The project " "is now stored in the repository under version control. Please note that the " "folder you imported is NOT under version control! To get " "a version-controlled working copy you need to do a " "Checkout of the version you just imported. Or read on to find out how to " "import a folder in place." msgstr "" "当你点击确认时,TortoiseGit 会导入包含所有文件的完整目" "录树到版本库。如前所述,你导入的文件夹名称不会在版本库中出现,只有这个文件夹的" "内容会在版本库中出现。现在这个工程就存贮在版本库,被版本控制。请注意,你导入的" "文件夹没有被版本控制!你需要检出刚才导入的版本,以便获得" "受版本控制的工作目录。或者继续阅读,找到如何导入文件夹" "到合适的位置。" #. (title) #: ../source/TortoiseGit_en.xml:3843 msgid "Import in Place" msgstr "导入适当的位置" #. (primary) #: ../source/TortoiseGit_en.xml:3845 msgid "import in place" msgstr "导入适当的位置" #. (para) #: ../source/TortoiseGit_en.xml:3847 msgid "" "Assuming you already have a repository, and you want to add a new folder " "structure to it, just follow these steps: " msgstr "" "假定你已经有个版本库,你想给它增加一个新目录结构,只需以下步骤: " #. (para) #: ../source/TortoiseGit_en.xml:3852 msgid "" "Use the repository browser to create a new project folder directly in the " "repository." msgstr "使用版本库浏览器直接在版本库中创建项目文件夹。" #. (para) #: ../source/TortoiseGit_en.xml:3858 msgid "" "Checkout the new folder over the top of the folder you want to import. You " "will get a warning that the local folder is not empty. Now you have a " "versioned top level folder with unversioned content." msgstr "" "在你要导入的文件夹检出新目录。你会得到一个本地目录为空的警告。现在你有一个版本" "控制的顶级目录,含有未版本控制的内容。" #. (para) #: ../source/TortoiseGit_en.xml:3865 msgid "" "Use TortoiseGitAdd... on this versioned folder to add some or all of the " "content. You can add and remove files, set svn:ignore " "properties on folders and make any other changes you need to." msgstr "" "在此受版本控制的文件夹上使用TortoiseGit增加...增加部分或全部内容。你" "可以增加或删除文件,在文件夹上设置svn:ignore属性,或者你需" "要的其它修改。" #. (para) #: ../source/TortoiseGit_en.xml:3877 msgid "" "Commit the top level folder, and you have a new versioned tree, and a local " "working copy, created from your existing folder." msgstr "提交顶级目录,你有一个新的版本树,一份从你已有目录创建的本地工作副本。" #. (title) #: ../source/TortoiseGit_en.xml:3886 msgid "Special Files" msgstr "专用文件" #. (primary) #: ../source/TortoiseGit_en.xml:3888 msgid "special files" msgstr "专用文件" #. (para) #: ../source/TortoiseGit_en.xml:3890 msgid "" "Sometimes you need to have a file under version control which contains user " "specific data. That means you have a file which every developer/user needs to " "modify to suit his/her local setup. But versioning such a file is difficult " "because every user would commit his/her changes every time to the repository." msgstr "" "有时候你需要版本控制一个包含用户专用的数据。它意味着你有一个文件,每个开发者/" "用户都需要修改,一边满足他/她的本地配置。但是版本控制这样的文件是困难的,因为" "每个用户可能都要提交他/她的修改。" #. (para) #: ../source/TortoiseGit_en.xml:3897 msgid "" "In such cases we suggest to use template files. You " "create a file which contains all the data your developers will need, add that " "file to version control and let the developers check this file out. Then, " "each developer has to make a copy of that file and " "rename that copy. After that, modifying the copy is not a problem anymore." msgstr "" "在这种情况下,我们建议使用模版文件。创建一个包含所有开发" "者需要的数据的文件,增加到版本库中,让开发者检出。然后,每个开发者创" "建一个副本,改名此文件。于是,修改这个文件不再是问题。 " #. (para) #: ../source/TortoiseGit_en.xml:3905 msgid "" "As an example, you can have a look at TortoiseGit's build script. It calls a " "file named TortoiseVars.bat which doesn't exist in the " "repository. Only the file TortoiseVars.tmpl. " "TortoiseVars.tmpl is the template file which every " "developer has to create a copy from and rename that file to " "TortoiseVars.bat. Inside that file, we added comments so " "that the users will see which lines they have to edit and change according to " "their local setup to get it working." msgstr "" "作为例子,你可以看看TortoiseGit的构建脚本。它调用一个TortoiseVars." "bat文件,它并不在版本库中。 只有TortoiseVars.tmpl在版本库中。TortoiseVars.tmpl是一个模版文件,每" "个开发者都需要创建一个副本,改名为TortoiseVars.bat。在这" "个文件中,我们增加了注释,所以用户知道他们需要编辑那些行,以便适应他们的本地配" "置,使其能工作。" #. (para) #: ../source/TortoiseGit_en.xml:3916 msgid "" "So as not to disturb the users, we also added the file TortoiseVars." "bat to the ignore list of its parent folder, i.e. we've set the " "Git property svn:ignore to include that filename. " "That way it won't show up as unversioned on every commit." msgstr "" "于是为了不干扰用户,我们也将TortoiseVars.bat增加到它的父" "目录的忽略列表,也就是,我们设置了Git属性svn:ignore" "包含这个文件名称。这样,每次提交时它都不会作为没有版本控制的文件出现。" #. (title) #: ../source/TortoiseGit_en.xml:3925 msgid "Referenced Projects" msgstr "引用的工程" #. (primary) #: ../source/TortoiseGit_en.xml:3927 msgid "external repositories" msgstr "外部版本库" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:3930 ../source/TortoiseGit_en.xml:13588 msgid "externals" msgstr "外部" #. (para) #: ../source/TortoiseGit_en.xml:3932 msgid "" "Sometimes it is useful to construct a working copy that is made out of a " "number of different checkouts. For example, you may want different " "subdirectories to come from different locations in a repository, or perhaps " "from different repositories altogether. If you want every user to have the " "same layout, you can define the svn:externals properties." msgstr "" "有时候,构建一个需要不同检出的工作目录是很有用的。举例来说,你需要不同的子目录" "来自版本库的不同位置。,或者可能完全来自不同的版本库。如果你需要每个用户具有相" "同的目录结构,你可以定义svn:externals属性。" #. (para) #: ../source/TortoiseGit_en.xml:3940 #, fuzzy msgid "" "Let's say you check out a working copy of /project1 to " "D:\\dev\\project1. Select the folder D:\\dev" "\\project1, right click and choose " "Windows MenuProperties from the context menu. The Properties Dialog comes " "up. Then go to the Git tab. There, you can set properties. Click " "Add.... Select the svn:externals " "property from the combobox and write in the edit box the repository URL in " "the format name url or if you want to specify a particular " "revision, name -rREV url You can add multiple external " "projects, 1 per line. Note that URLs must be properly escaped or they will " "not work. For example you must replace each space with %20. Note that it is not possible to use folder names with spaces in " "them. Suppose that you have set these properties on D:\\dev" "\\project1: \n" "sounds http://sounds.red-bean.com/repos\n" "quick_graphs http://graphics.red-bean.com/repos/fast%20graphics\n" "skins/toolkit -r21 http://svn.red-bean.com/repos/skin-maker\n" " Now click Set and commit your changes. When " "you (or any other user) update your working copy, Git will create a " "sub-folder D:\\dev\\project1\\sounds and checkout the " "sounds project, another sub-folder D:\\dev\\project1\\quick graphs containing the graphics project, and finally a nested sub-folder " "D:\\dev\\project1\\skins\\toolkit containing revision 21 " "of the skin-maker project." msgstr "" "比如说,你检出了/project1D:\\dev\\project1。选择目录D:\\dev\\project1右击,选择Windows 菜单属性。出现属性对话框。在Git页,你可以设置属性。点" "击增加...。从组合框选择svn:externals" "属性,在编辑框按照名称 URL格式输入版本库URL,或者你需要一个" "指定的版本,那么使用名称 -r版本 URL。你可以增加多个外部工" "程,每行一个。注意,URL必须使用逃逸字符编码,不然可能无法正常工作。举例说明," "你必须将每个空格替换为%20。注意使用包含空格的目录名称是不可" "能的。假设你为D:\\dev\\project1设置了这些属性: \n" "sounds http://sounds.red-bean.com/repos\n" "quick_graphs http://graphics.red-bean.com/repos/fast%20graphics\n" "skins/toolkit -r21 http://svn.red-bean.com/repos/skin-maker\n" " 现在点击 设置,提交你的修改。当你(或其他用户)" "更新工作副本时, Git 将会创建子目录D:\\dev\\project1" "\\sounds,并且检出sounds工程,另一个子目录D:\\dev" "\\project1\\quick_graphs包含graphics工程,最后一个嵌套的子目录" "D:\\dev\\project1\\skins\\toolkit包含的skin-maker工程的版" "本21。" #. (para) #: ../source/TortoiseGit_en.xml:3980 #, fuzzy msgid "" "You should strongly consider using explicit revision numbers in all of your " "externals definitions, as described above. Doing so means that you get to " "decide when to pull down a different snapshot of external information, and " "exactly which snapshot to pull. Besides the common sense aspect of not being " "surprised by changes to third-party repositories that you might not have any " "control over, using explicit revision numbers also means that as you backdate " "your working copy to a previous revision, your externals definitions will " "also revert to the way they looked in that previous revision, which in turn " "means that the external working copies will be updated to match they way " "they looked back when your repository was at that " "previous revision. For software projects, this could be the difference " "between a successful and a failed build of an older snapshot of your complex " "code base." msgstr "" "你应当认真考虑在所有外部定义中使用确定的版本号。这样做意味着你决定何时下载一个" "不同的快照,并且精确的指明了是哪个快照。与使用通常的分支相比,你不会为第三方版" "本库的修改感到惊讶,这些版本库你可能没有任何控制,使用精确的版本号能使你回溯工" "作目录到以前的版本,你的外部定义也遵循此规则,看起来是以前的版本,即外部工作副" "本的更新匹配它们的老版本。对于软件工程,它是你的复杂代码" "构建成功或失败的重要区别。" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:3999 ../source/TortoiseGit_en.xml:13620 msgid "" "If the external project is in the same repository, any changes you make there " "there will be included in the commit list when you commit your main project." msgstr "" "如果一个外部工程位于同一版本库中,当你向主项目提交你的修改时,你对外部工程做的" "修改也会包含在提交列表中。" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:4004 ../source/TortoiseGit_en.xml:13625 msgid "" "If the external project is in a different repository, any changes you make to " "the external project will be notified when you commit the main project, but " "you have to commit those external changes separately." msgstr "" "如果外部工程位于不同的版本库,当你向主项目提交你的修改时,你对外部工程做的修改" "会被通报,但是你必须单独的提交这些外部项目的修改。" #. (para) #: ../source/TortoiseGit_en.xml:4010 msgid "" "If you use absolute URLs in svn:externals definitions and " "you have to relocate your working copy (i.e., if the URL of your repository " "changes), then your externals won't change and might not work anymore." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:4016 msgid "" "To avoid such problems, Git clients version 1.5 and higher support " "relative external URLs. Four different methods of specifying a relative URL " "are supported. In the following examples, assume we have two repositories: " "one at http://example.com/svn/repos-1 " "and another at http://example.com/svn/repos-2. We have a checkout of http://example." "com/svn/repos-1/project/trunk into C:\\Working and the svn:externals property is set on trunk." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:4031 msgid "Relative to parent directory" msgstr "相对于父目录" #. (para) #: ../source/TortoiseGit_en.xml:4033 msgid "" "These URLs always begin with the string ../ for example: " "\n" "../../widgets/foo common/foo-widget\n" " This will extract http://example.com/svn/" "repos-1/widgets/foo into C:\\Working\\common\\foo-" "widget." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:4044 msgid "" "Note that the URL is relative to the URL of the directory with the " "svn:externals property, not to the directory where the " "external is written to disk." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:4052 msgid "Relative to repository root" msgstr "相对于版本库的根" #. (para) #: ../source/TortoiseGit_en.xml:4054 msgid "" "These URLs always begin with the string ^/ for example: " "\n" "^/widgets/foo common/foo-widget\n" " This will extract http://example.com/svn/" "repos-1/widgets/foo into C:\\Working\\common\\foo-" "widget." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:4065 msgid "" "You can easily refer to other repositories with the same " "SVNParentPath (a common directory holding several " "repositories). For example: \n" "^/../repos-2/hammers/claw common/claw-hammer\n" " This will extract http://example.com/svn/" "repos-2/hammers/claw into C:\\Working\\common\\claw-" "hammer." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:4080 msgid "Relative to scheme" msgstr "相对于方案" #. (para) #: ../source/TortoiseGit_en.xml:4082 msgid "" "URLs beginning with the string // copy only the scheme " "part of the URL. This is useful when the same hostname must the accessed with " "different schemes depending upon network location; e.g. clients in the " "intranet use http:// while external " "clients use svn+ssh://. For example: " "\n" "//example.com/svn/repos-1/widgets/foo common/foo-widget\n" " This will extract http://example.com/svn/" "repos-1/widgets/foo or svn+ssh://" "example.com/svn/repos-1/widgets/foo depending on which method " "was used to checkout C:\\Working." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:4102 msgid "Relative to the server's hostname" msgstr "相对于服务器主机名称" #. (para) #: ../source/TortoiseGit_en.xml:4104 msgid "" "URLs beginning with the string / copy the scheme and the " "hostname part of the URL, for example: \n" "/svn/repos-1/widgets/foo common/foo-widget\n" " This will extract http://example.com/svn/" "repos-1/widgets/foo into C:\\Working\\common\\foo-" "widget. But if you checkout your working copy from another server " "at svn+ssh://another.mirror.net/svn/repos-1/" "project1/trunk then the external reference will extract " "svn+ssh://another.mirror.net/svn/repos-1/widgets/" "foo." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:4122 msgid "" "If you need more information how TortoiseGit handles Properties read ." msgstr "" "如果你需要TortoiseGit如何处理属性的更多信息,请阅读。" #. (para) #: ../source/TortoiseGit_en.xml:4126 msgid "" "To find out about different methods of accessing common sub-projects read " "." msgstr "" "如果你需要知道存取公共子个我我你工程的不同方法,请阅读." #. (title) #: ../source/TortoiseGit_en.xml:4133 msgid "Checking Out A Working Copy" msgstr "检出工作副本" #. (primary) #: ../source/TortoiseGit_en.xml:4135 msgid "checkout" msgstr "检出" #. (primary) #: ../source/TortoiseGit_en.xml:4138 msgid "create working copy" msgstr "创建工作副本" #. (para) #: ../source/TortoiseGit_en.xml:4141 msgid "" "To obtain a working copy you need to do a checkout " "from a repository." msgstr "" "为了得到一个工作副本,需要进行从版本库检出的操作。" #. (para) #: ../source/TortoiseGit_en.xml:4145 msgid "" "Select a directory in windows explorer where you want to place your working " "copy. Right click to pop up the context menu and select the " "command TortoiseGitCheckout..., which brings up the following dialog box: " " If you enter a folder name that does not yet exist, then a " "directory with that name is created." msgstr "" "在Windows资源管理器里选择一个存放工作副本的目录。右键点击弹出" "右键菜单,选择TortoiseGit检出…命令。然后就会看到下面的对话框: 如果" "输入一个并不存在的目录名,那么这个名字的目录就会被创建出来。" #. (title) #: ../source/TortoiseGit_en.xml:4155 msgid "The Checkout dialog" msgstr "检出对话框" #. (title) #: ../source/TortoiseGit_en.xml:4162 msgid "Checkout Depth" msgstr "检出深度" #. (para) #: ../source/TortoiseGit_en.xml:4163 msgid "" "You can choose the depth you want to checkout, which " "allows you to specify the depth of recursion into child folders. If you want " "just a few sections of a large tree, You can checkout the top level folder " "only, then update selected folders recursively. " msgstr "" "你可以选择要检出的深度,它允许你指定子目录递归的深度。" "如果你只需要大目录中的几个子条目,你可以只检出最高层目录,然后递归的更新选择的" "目录。" #. (term) #: ../source/TortoiseGit_en.xml:4170 msgid "Fully recursive" msgstr "全递归" #. (para) #: ../source/TortoiseGit_en.xml:4172 msgid "Checkout the entire tree, including all child folders and sub-folders." msgstr "检出完整的目录树,包含所有的文件或子目录。" #. (term) #: ../source/TortoiseGit_en.xml:4179 msgid "Immediate children, including folders" msgstr "直接节点,包含目录。" #. (para) #: ../source/TortoiseGit_en.xml:4181 msgid "" "Checkout the specified directory, including all files and child folders, but " "do not populate the child folders." msgstr "检出目录,包含其中的文件或子目录,但是不递归展开子目录。" #. (term) #: ../source/TortoiseGit_en.xml:4188 msgid "Only file children" msgstr "文件子节电" #. (para) #: ../source/TortoiseGit_en.xml:4190 msgid "" "Checkout the specified directory, including all files but do not checkout any " "child folders." msgstr "检出指定目录,包含所有文件,但是不检出任何子目录。" #. (term) #: ../source/TortoiseGit_en.xml:4197 msgid "Only this item" msgstr "仅此项。" #. (para) #: ../source/TortoiseGit_en.xml:4199 msgid "" "Checkout the directory only. Do not populate it with files or child folders." msgstr "只检出目录。不包含其中的文件或子目录。" #. (term) #. (term) #. (listitem) #: ../source/TortoiseGit_en.xml:4206 ../source/TortoiseGit_en.xml:8119 #: ../source/TortoiseGit_en.xml:15087 msgid "Working copy" msgstr "工作副本" #. (para) #: ../source/TortoiseGit_en.xml:4208 msgid "" "Retain the depth specified in the working copy. This option is not used in " "the checkout dialog, but it is the default in all other dialogs which have a " "depth setting." msgstr "" "保持工作副本指定的深度。此选项不用于检出对话框,但它是其它所有含有深度配置对话" "框的默认配置。" #. (para) #: ../source/TortoiseGit_en.xml:4218 msgid "" "If you check out a sparse working copy (i.e., by choosing something other " "than fully recursive for the checkout depth), you can " "fetch additional sub-folders by using the repository browser () or the check for modifications dialog ()." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:4225 #, fuzzy msgid "" "In the repository browser, Right click on the checked out " "folder, then use TortoiseGitRepo-" "Browser to bring up the repository browser. Find " "the sub-folder you would like to add to your working copy, then use " "Context menuUpdate item to " "revision... That menu will only be visible if the " "selected item does not exist yet in your working copy, but the parent item " "does exist." msgstr "" "如果希望比较某个文件的两个历史版本,比如同一个文件修订版本100和200,可以用" "TortoiseGit显示日志列出这个文件的历史版本纪录,选择希望比较的两个版本," "然后使用右键菜单比较版本差异。" #. (para) #: ../source/TortoiseGit_en.xml:4241 msgid "" "In the check for modifications dialog, first click on the button " "Check repository. The dialog will show all the files " "and folders which are in the repository but which you have not checked out as " "remotely added. Right click on the folder" "(s) you would like to add to your working copy, then use " "Context menuUpdate." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:4253 msgid "" "This feature is very useful when you only want to checkout parts of a large " "tree, but you want the convenience of updating a single working copy. Suppose " "you have a large tree which has sub-folders Project01 to " "Project99, and you only want to checkout " "Project03, Project25 and " "Project76/SubProj. Use these steps:" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:4266 msgid "" "Checkout the parent folder with depth Only this item You now " "have an empty top level folder." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:4273 #, fuzzy msgid "" "Select the new folder and use TortoiseGitRepo browser to display the " "repository content." msgstr "" "为了验证svnserve正常工作,使用TortoiseGit版本库浏览器来查看版本库。" #. (para) #: ../source/TortoiseGit_en.xml:4283 msgid "" "Right click on Project03 and Context " "menuUpdate item to revision.... Keep the default settings and click on OK. You now have that folder fully populated." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:4293 msgid "Repeat the same process for Project25." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:4298 msgid "" "Navigate to Project76/SubProj and do the same. This time " "note that the Project76 folder has no content except for " "SubProj, which itself is fully populated. Git has " "created the intermediate folders for you without populating them." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:4308 msgid "Working copy depth cannot be reduced" msgstr "不能缩短工作副本的深度" #. (para) #: ../source/TortoiseGit_en.xml:4309 msgid "" "Once you have checked out a working copy to a particular depth you can " "increase that depth later to get more content. However you cannot reduce the " "depth again to remove content. That feature may be added in a later version " "of Git." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:4317 msgid "Using an older server" msgstr "使用旧版本服务器" #. (para) #: ../source/TortoiseGit_en.xml:4318 msgid "" "Pre-1.5 servers do not understand the working copy depth request, so they " "cannot always deal with requests efficiently. The command will still work, " "but an older server may send all the data, leaving the client to filter out " "what is not required, which may mean a lot of network traffic. If possible " "you should upgrade your server to 1.5." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:4328 msgid "" "If the project contains references to external projects which you do " "not want checked out at the same time, use the " "Omit externals checkbox." msgstr "" "如果项目含有外部项目的引用,而这些引用你希望同时检出," "请选中忽略外部项目复选框。" #. (para) #: ../source/TortoiseGit_en.xml:4334 #, fuzzy msgid "" "If Omit externals is checked, or if you wish to increase " "the depth value, you will have to perform updates to your working copy using " "TortoiseGitUpdate to Revision... instead of TortoiseGitUpdate. The standard update " "will include all externals and keep the existing depth." msgstr "" "如果这两个选项的任何一个选中了,你应该使用TortoiseGit更新至版本...来更新你的工作副" "本而不是使用TortoiseGit更新。标准的更新将会包含所有的子文件夹和外部引用。" #. (para) #: ../source/TortoiseGit_en.xml:4350 msgid "" "It is recommended that you check out only the trunk part " "of the directory tree, or lower. If you specify the parent path of the " "directory tree in the URL then you might end up with a full hard disk since " "you will get a copy of the entire repository tree including every branch and " "tag of your project!" msgstr "" "强烈建议你只检出 trunk 或更低层的目录树。如果你在 URL 中指" "定了根路径,你的硬盘有可能被塞满,因为你将会得到整个版本库树的副本,包括项目所" "有的分支和标签(tag)!" #. (title) #: ../source/TortoiseGit_en.xml:4358 msgid "Exporting" msgstr "关于导出" #. (para) #: ../source/TortoiseGit_en.xml:4359 msgid "" "Sometimes you may want to create a local copy without any of those ." "svn directories, e.g. to create a zipped tarball of your source. " "Read to find out how to do that." msgstr "" "有时你可能想要建立一个没有.svn目录的本地的副本,比如建立" "一个源代码压缩包。要达到这个目的,请参考。" #. (title) #: ../source/TortoiseGit_en.xml:4368 msgid "Committing Your Changes To The Repository" msgstr "将你的修改提交到版本库" #. (primary) #: ../source/TortoiseGit_en.xml:4370 msgid "commit" msgstr "提交" #. (primary) #: ../source/TortoiseGit_en.xml:4373 msgid "send changes" msgstr "发送更改" #. (primary) #: ../source/TortoiseGit_en.xml:4376 msgid "check in" msgstr "提交" #. (para) #: ../source/TortoiseGit_en.xml:4379 msgid "" "Sending the changes you made to your working copy is known as " "committing the changes. But before you commit you have " "to make sure that your working copy is up to date. You can either use " "TortoiseGitUpdate directly. Or you can use TortoiseGitCheck for Modifications " "first, to see which files have changed locally or on the server." msgstr "" "将你对工作副本的修改发送给版本库,称为提交修改。但在你" "提交之前要确保你的工作副本是最新的。你可以直接使用" "TortoiseGit更新,或者,你可以先使用TortoiseGit检查修改看看哪些文件在本地或是" "服务器上已经有了改动。" #. (title) #: ../source/TortoiseGit_en.xml:4396 msgid "The Commit Dialog" msgstr "提交对话框" #. (para) #: ../source/TortoiseGit_en.xml:4397 msgid "" "If your working copy is up to date and there are no conflicts, you are ready " "to commit your changes. Select any file and/or folders you want to commit, " "then TortoiseGitCommit.... " msgstr "" "如果你的工作副本是最新的,并且没有冲突,你就已经为提交做好准备了,选择你要提交" "的文件和/或文件夹,然后TortoiseGit" "提交.... " #. (title) #: ../source/TortoiseGit_en.xml:4406 msgid "The Commit dialog" msgstr "提交对话框" #. (para) #: ../source/TortoiseGit_en.xml:4410 msgid "" "The commit dialog will show you every changed file, including added, deleted " "and unversioned files. If you don't want a changed file to be committed, just " "uncheck that file. If you want to include an unversioned file, just check " "that file to add it to the commit." msgstr "" "提交对话框将显示每个被改动过的文件,包括新增的、删除的和未受控的文件。如果你不" "想改动被提交,只要将该文件的复选框的勾去掉就可以了。如果你要加入未受控的文件," "只要勾选该文件把它加入提交列表就可以了。" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:4417 ../source/TortoiseGit_en.xml:5251 msgid "" "Items which have been switched to a different repository path are also " "indicated using an (s) marker. You may have switched " "something while working on a branch and forgotten to switch back to trunk. " "This is your warning sign!" msgstr "" "那些被切换(switched)到不同版本库路径的项也用(s)标记来表示。" "当工作在分支上的时候你可能切换到某处,然后忘记切换回主干。这是你的警告信号!" #. (title) #: ../source/TortoiseGit_en.xml:4424 msgid "Commit files or folders?" msgstr "提交文件还是文件夹?" #. (para) #: ../source/TortoiseGit_en.xml:4425 msgid "" "When you commit files, the commit dialog shows only the files you have " "selected. When you commit a folder the commit dialog will select the changed " "files automatically. If you forget about a new file you created, committing " "the folder will find it anyway. Committing a folder does not mean that every file gets marked as changed; It just makes your " "life easier by doing more work for you." msgstr "" "当你提交文件时,提交对话框只显示你所提中的文件。当你提交文件夹中,提交对话框将" "自动选择有改动的文件。如果你忘记了你建立的一个新文件,提交文件夹将使你可以找到" "它。提交一个文件夹并不意味着每个文件都被标识为修改过的," "它仅仅是通过帮你多做些事从而让你的生活更滋润一点。" #. (para) #: ../source/TortoiseGit_en.xml:4435 msgid "" "If you have modified files which have been included from a different " "repository using svn:externals, those changes cannot be " "included in the same atomic commit. A warning symbol below the file list " "tells you if this has happened, and the tooltip explains that those external " "files have to be committed separately." msgstr "" "如果你修改的文件是使用了svn:externals从别的版本库中包含进来" "的,那么这些改动不会被自动提交。在文件列表下方的警告符号会告诉你是否出现了这种" "状况,工具提示(tooltip)提示了外部文件必须要分开提交。" #. (title) #: ../source/TortoiseGit_en.xml:4443 msgid "Many unversioned files in the commit dialog" msgstr "在提交对话框中有很多未受控的文件" #. (para) #: ../source/TortoiseGit_en.xml:4444 msgid "" "If you think that the commit dialog shows you too many unversioned (e.g. " "compiler generated or editor backup) files, there are several ways to handle " "this. You can: Read for " "more information." msgstr "" "如果你认为提交对话框显示了太多的未受版本控制的文件(如编译器产生的文件或是编辑" "器的备份文件),有几种方法可以处理这种情况。你可以: 参考 " " 获得更多的信息。" #. (para) #: ../source/TortoiseGit_en.xml:4450 msgid "" "add the file (or a wildcard extension) to the list of files to exclude on the " "settings page. This will affect every working copy you have." msgstr "" "将文件(或是通配符扩展)加入到设置页的排除列表中。这对每个工作副本都起作用。" #. (para) #: ../source/TortoiseGit_en.xml:4457 msgid "" "add the file to the svn:ignore list using " "TortoiseGitAdd to ignore list This will only affect the directory on which you " "set the svn:ignore property. Using the SVN Property " "Dialog, you can alter the svn:ignore property for a " "directory." msgstr "" "使用TortoiseGit加入忽略列表,将文件加入svn:ignore列表。 这只" "对你设置了svn:ignore属性的路径有效。使用SVN属性对话框,你可" "以改变一个目录的svn:ignore属性。" #. (para) #: ../source/TortoiseGit_en.xml:4474 msgid "" "Double clicking on any modified file in the commit dialog " "will launch the external diff tool to show your changes. The context menu " "will give you more options, as shown in the screenshot. You can also drag " "files from here into another application such as a text editor or an IDE." msgstr "" "在提交对话框中双击任何修改过的文件,将运行外部 diff 工具显示" "你做的改动。上下文菜单将给你更多的选项,请看屏幕截图。你可以从这里将文件拖动到" "另一个应用程序中,如文本编辑器或 IDE。" #. (para) #: ../source/TortoiseGit_en.xml:4481 #, fuzzy msgid "" "You can select or deselect items by clicking on the checkbox to the left of " "the item. For directories you can use Shift-select to make the action recursive." msgstr "" "你可以点击项目左边的检查框,来选定或者取消。对于目录,你可以用 SHIFT-" "Select 来执行递归操作。" #. (para) #: ../source/TortoiseGit_en.xml:4486 msgid "" "The columns displayed in the bottom pane are customizable. If you " "right click on any column header you will see a context menu " "allowing you to select which columns are displayed. You can also change " "column width by using the drag handle which appears when you move the mouse " "over a column boundary. These customizations are preserved, so you will see " "the same headings next time." msgstr "" "在底部面板中显示的列是可定制的。如果你右击任何一列的头部,你" "就会看到一个上下文菜单,允许你选择哪一列要显示。还可以在鼠标移动到列边界时通过" "拖动手把来改变列的宽度。这些定制的内容都会被保留下来,下一次你会见到相同的列。" #. (para) #: ../source/TortoiseGit_en.xml:4495 msgid "" "By default when you commit changes, any locks that you hold on files are " "released automatically after the commit succeeds. If you want to keep those " "locks, make sure the Keep locks checkbox is checked. The " "default state of this checkbox is taken from the no_unlock " "option in the Git configuration file. Read for information on how to edit the Git configuration " "file." msgstr "" "缺省情况下,当你成功提交修改后,你在这些文件上持有的锁会被自动释放。如果你需要" "保留锁,请确认选中检查框保留锁。此检查框的缺省状态从 " "Git 配置文件的 no_unlock 选项获取。参考 以获得更多关于编辑 Git 配置文件的" "信息。" #. (para) #: ../source/TortoiseGit_en.xml:4506 msgid "" "You can drag files into the commit dialog from elsewhere, so long as the " "working copies are checked out from the same repository. For example, you may " "have a huge working copy with several explorer windows open to look at " "distant folders of the hierarchy. If you want to avoid committing from the " "top level folder (with a lengthy folder crawl to check for changes) you can " "open the commit dialog for one folder and drag in items from the other " "windows to include within the same atomic commit." msgstr "" "你可以将文件从别的地方拖动到提交对话框,只要工作副本是由同一版本库中检出就可以" "了。比如,你有一个很大的工作副本,要开好几个资源管理器窗口来查看层次中不同的文" "件夹。如果你要避免从顶级文件夹提交(冗长而缓慢的文件夹改动检查),你可以打开一个" "文件夹的提交对话框,然后将别的窗口中的项拖进去,可样就可以一次提交它们了。" #. (para) #: ../source/TortoiseGit_en.xml:4516 msgid "" "You can drag unversioned files which reside within a working copy into the " "commit dialog, and they will be SVN added automatically." msgstr "你可以将未版本控制的文件拖到工作副本提交对话框中,它们就会被自动增加。" #. (title) #. (title) #: ../source/TortoiseGit_en.xml:4522 ../source/TortoiseGit_en.xml:5323 msgid "Repairing External Renames" msgstr "修复外部改名" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:4523 ../source/TortoiseGit_en.xml:5324 msgid "" "Sometimes files get renamed outside of Git, and they show up in the " "file list as a missing file and an unversioned file. To avoid losing the " "history you need to notify Git about the connection. Simply select " "both the old name (missing) and the new name (unversioned) and use " "Context MenuRepair Move to pair the two files as a rename." msgstr "" "有时候文件不是用Git改名,于是它们在文件列表中作为丢失和未版本控制的文件" "出现。为了避免丢失历史,你需要通知Git。简单的选择老名称(丢失)和新名称" "(未版本控制),然后使用右键菜单修复" "移动来指明这两个文件是改名关系。" #. (title) #. (title) #: ../source/TortoiseGit_en.xml:4538 ../source/TortoiseGit_en.xml:5369 msgid "Change Lists" msgstr "修改列表" #. (para) #: ../source/TortoiseGit_en.xml:4539 msgid "" "The commit dialog supports Git's changelist feature to help with " "grouping related files together. Find out about this feature in ." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:4546 msgid "Excluding Items from the Commit List" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:4547 msgid "" "Sometimes you have versioned files that change frequently but that you really " "don't want to commit. Sometimes this indicates a flaw in your build process - " "why are those files versioned? should you be using template files? But " "occasionally it is inevitable. A classic reason is that your IDE changes a " "timestamp in the project file every time you build. The project file has to " "be versioned as it includes all the build settings, but it doesn't need to be " "committed just because the timestamp changed." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:4557 msgid "" "To help out in awkward cases like this, we have reserved a changelist called " "ignore-on-commit. Any file added to this changelist will " "automatically be unchecked in the commit dialog. You can still commit " "changes, but you have to select it manually in the commit dialog." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:4566 msgid "Commit Log Messages" msgstr "提交日志信息" #. (para) #: ../source/TortoiseGit_en.xml:4567 msgid "" "Be sure to enter a log message which describes the changes you are " "committing. This will help you to see what happened and when, as you browse " "through the project log messages at a later date. The message can be as long " "or as brief as you like; many projects have guidelines for what should be " "included, the language to use, and sometimes even a strict format." msgstr "" "确保输入描述你所提交的修改内容的日志信息。这可以帮你回顾做了什么,什么时候做" "的。信息的内容可长可短,许多项目规定了要包含的内容、使用的语言甚至是严格的格" "式。" #. (para) #: ../source/TortoiseGit_en.xml:4575 msgid "" "You can apply simple formatting to your log messages using a convention " "similar to that used within emails. To apply styling to text, use *text* for bold, _text_ " "for underlining, and ^text^ for italics." msgstr "" "你可以使用与电子邮件相似的约定,简单格式化日志消息。如果对文本采用这些样式,使用*文本*表示粗体,_文本_表示下划线,^文本^表示斜体。" #. (para) #: ../source/TortoiseGit_en.xml:4583 msgid "" " TortoiseGit includes a spellchecker to help you get your log " "messages right. This will highlight any mis-spelled words. Use the context " "menu to access the suggested corrections. Of course, it doesn't know " "every technical term that you do, so correctly spelt " "words will sometimes show up as errors. But don't worry. You can just add " "them to your personal dictionary using the context menu." msgstr "" " TortoiseGit包含了一个拼写检查器帮助你正确地书写日志信息。对任" "何错误拼写的词都高亮显示。使用右键菜单可以获得修改建议。当然它不会知道" "所有的技术术语,所以有时一些拼写正确的词会被当作错误。但" "不用担心,你可以使用右键菜单将它们加入你的个人字典中。" #. (title) #: ../source/TortoiseGit_en.xml:4585 msgid "The Commit Dialog Spellchecker" msgstr "提交对话框的拼写检查器" #. (para) #: ../source/TortoiseGit_en.xml:4595 #, fuzzy msgid "" "The log message window also includes a filename and function auto-completion " "facility. This uses regular expressions to extract class and function names " "from the (text) files you are committing, as well as the filenames " "themselves. If a word you are typing matches anything in the list (after you " "have typed at least 3 characters, or pressed Ctrl+Space), a " "drop-down appears allowing you to select the full name. The regular " "expressions supplied with TortoiseGit are held in the TortoiseGit " "installation bin folder. You can also define your own " "regexes and store them in %APPDATA%\\TortoiseGit\\autolist.txt. Of course your private autolist will not be overwritten when you " "update your installation of TortoiseGit. If you are unfamiliar with regular " "expressions, take a look at the introduction at http://en.wikipedia.org/" "wiki/Regular_expression, and the online documentation and " "tutorial at http://www.regular-expressions.info/." msgstr "" "日志信息窗口还包含一个文件名和函数自动完成的功能。这使用了正则表达式来从你提交" "的(文本)文件中提取类和函数名,当然包括文件名本身。如果你现在敲入的一个词与列表" "中的任意一个匹配(在你输入至少3个字符后),就会出现一个下拉列表,允许你选择完整" "的名字。与TortoiseGit一起提供的正则表达式位于TortoiseGit安装路径的" "bin文件夹中。你可以定义自己的正则式并将其存放在" "%APPDATA%\\TortoiseGit\\autolist.txt。当然你自定义的自动列表不会在" "升级安装的时候被覆盖。如果你不熟悉正则表达式,请参考在线文件和教程: http://www.regular-" "expressions.info/." #. (para) #: ../source/TortoiseGit_en.xml:4616 msgid "" "You can re-use previously entered log messages. Just click on " "Recent messages to view a list of the last few " "messages you entered for this working copy. The number of stored messages can " "be customized in the TortoiseGit settings dialog." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:4622 msgid "" "You can clear all stored commit messages from the Saved data page of TortoiseGit's settings, or you can clear individual " "messages from within the Recent messages dialog using " "the Delete key." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:4629 msgid "Special Folder Properties" msgstr "指定文件夹属性" #. (para) #: ../source/TortoiseGit_en.xml:4630 msgid "" "There are several special folder properties which can be used to help give " "more control over the formatting of commit log messages and the language used " "by the spellchecker module. Read " "for further information." msgstr "" "有几个特殊的文件夹属性可用于帮助我们得到更多的对提交日志信息的格式以及拼写检查" "模块的控制。参考以了解详情。" #. (title) #: ../source/TortoiseGit_en.xml:4638 msgid "Integration with Bug Tracking Tools" msgstr "与缺陷跟踪工具集成" #. (para) #: ../source/TortoiseGit_en.xml:4639 #, fuzzy msgid "" "If you have activated the bug tracking system, you can set one or more Issues " "in the Bug-ID / Issue-Nr: text box. Multiple issues " "should be comma separated. Alternatively, if you are using regex-based bug " "tracking support, just add your issue references as part of the log message. " "Learn more in ." msgstr "" "如果你激活了一个缺陷跟踪系统,你可以在Bug-ID / Issue-Nr:" "文本框中设置一个或多个问题。多个问题应该用逗号分割。另外,如果你使用基于正则表" "达式的缺陷跟踪支持,只要将你的问题引用作为日志信息的一部分加入就可以了。详情请" "见 。" #. (title) #: ../source/TortoiseGit_en.xml:4650 msgid "Commit Progress" msgstr "提交进程" #. (para) #: ../source/TortoiseGit_en.xml:4651 msgid "" "After pressing OK, a dialog appears displaying the " "progress of the commit. " msgstr "" "在按下OK之后,会出现一个对话框显示提交的进度。" "" #. (title) #: ../source/TortoiseGit_en.xml:4655 msgid "The Progress dialog showing a commit in progress" msgstr "显示提交进度的进度对话框" #. (para) #: ../source/TortoiseGit_en.xml:4659 msgid "" "The progress dialog uses colour coding to highlight different commit actions " "" msgstr "进度对话框使用颜色代码来高亮显示不同的提交行为。" #. (term) #. (term) #: ../source/TortoiseGit_en.xml:4664 ../source/TortoiseGit_en.xml:5189 msgid "Blue" msgstr "蓝色" #. (para) #: ../source/TortoiseGit_en.xml:4666 msgid "Committing a modification." msgstr "提交一个修改。" #. (term) #. (term) #. (term) #: ../source/TortoiseGit_en.xml:4672 ../source/TortoiseGit_en.xml:4739 #: ../source/TortoiseGit_en.xml:5197 msgid "Purple" msgstr "紫色" #. (para) #: ../source/TortoiseGit_en.xml:4674 msgid "Committing a new addition." msgstr "提交一个新增项。" #. (term) #. (term) #. (term) #: ../source/TortoiseGit_en.xml:4680 ../source/TortoiseGit_en.xml:4747 #: ../source/TortoiseGit_en.xml:5209 msgid "Dark red" msgstr "深红" #. (para) #: ../source/TortoiseGit_en.xml:4682 msgid "Committing a deletion or a replacement." msgstr "提交一个删除或是替换。" #. (term) #. (term) #. (term) #: ../source/TortoiseGit_en.xml:4688 ../source/TortoiseGit_en.xml:4774 #: ../source/TortoiseGit_en.xml:5237 msgid "Black" msgstr "黑色" #. (para) #: ../source/TortoiseGit_en.xml:4690 msgid "All other items." msgstr "所有其他项。" #. (para) #. (para) #. (para) #: ../source/TortoiseGit_en.xml:4697 ../source/TortoiseGit_en.xml:4784 #: ../source/TortoiseGit_en.xml:5246 msgid "" "This is the default colour scheme, but you can customise those colours using " "the settings dialog. Read for " "more information." msgstr "" "这是默认的配色方案,但你可以通过设置对话框来定制这些颜色。参考获得详情。" #. (title) #: ../source/TortoiseGit_en.xml:4705 msgid "Update Your Working Copy With Changes From Others" msgstr "用来自别人的修改更新你的工作副本" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:4707 ../source/TortoiseGit_en.xml:13347 msgid "update" msgstr "更新" #. (primary) #: ../source/TortoiseGit_en.xml:4710 msgid "fetch changes" msgstr "获取改变" #. (para) #: ../source/TortoiseGit_en.xml:4712 #, fuzzy msgid "" " Periodically, you should ensure that changes done by others " "get incorporated in your local working copy. The process of getting changes " "from the server to your local copy is known as updating. " "Updating may be done on single files, a set of selected files, or recursively " "on entire directory hierarchies. To update, select the files and/or " "directories you want, right click and select " "TortoiseGitUpdate in the explorer context menu. A window will pop up displaying the " "progress of the update as it runs. Changes done by others will be merged into " "your files, keeping any changes you may have done to the same files. The " "repository is not affected by an update." msgstr "" "你应该定期地确保别人作的修改与你的工作副本可以整合。从服务器上" "获取改动到你本地副本的过程称为更新。更新可以针对一个文件、" "几个选中的文件或是递归整个目录层次。要进行更新操作,请选择要更新文件和/或路" "径,右击选择右键菜单中的TortoiseGit更新。会弹出一个窗口显示更新的" "进度。别人作的修改将合并到你的文件中,你所做的修改会被保留。版本库受" "更新操作的影响。" #. (title) #: ../source/TortoiseGit_en.xml:4714 msgid "Progress dialog showing finished update" msgstr "已经完成更新的进度对话框" #. (para) #: ../source/TortoiseGit_en.xml:4734 msgid "" "The progress dialog uses colour coding to highlight different update actions " "" msgstr "进度对话框使用颜色代码来高亮不同的更新行为" #. (para) #: ../source/TortoiseGit_en.xml:4741 msgid "New item added to your WC." msgstr "新项已经增加到你的工作副本中。" #. (para) #: ../source/TortoiseGit_en.xml:4749 msgid "" "Redundant item deleted from your WC, or missing item replaced in your WC." msgstr "你的工作副本中删除了多余项,或是你的工作副本中丢失的项被替换。" #. (term) #. (term) #: ../source/TortoiseGit_en.xml:4756 ../source/TortoiseGit_en.xml:5217 msgid "Green" msgstr "绿色" #. (para) #: ../source/TortoiseGit_en.xml:4758 msgid "Changes from repository successfully merged with your local changes." msgstr "版本库中的修改与你的本地修改成功合并。" #. (term) #. (term) #: ../source/TortoiseGit_en.xml:4765 ../source/TortoiseGit_en.xml:5227 msgid "Bright red" msgstr "亮红" #. (para) #: ../source/TortoiseGit_en.xml:4767 msgid "" "Changes from repository merged with local changes, resulting in conflicts " "which you need to resolve." msgstr "来自版本库的修改在与本地修改合并时出现了冲突,需要你解决。" #. (para) #: ../source/TortoiseGit_en.xml:4776 msgid "" "Unchanged item in your WC updated with newer version from the repository." msgstr "你WC中的没有改动的项被来自版本库中新版本所更新。" #. (para) #: ../source/TortoiseGit_en.xml:4789 #, fuzzy msgid "" "If you get any conflicts during an update (this can " "happen if others changed the same lines in the same file as you did and those " "changes don't match) then the dialog shows those conflicts in red. You can " "double click on these lines to start the external merge tool " "to resolve the conflicts." msgstr "" "如果你在更新中遇到了冲突(这是由于别人与你修改了同一个文件的" "同一行代码,并且两者的修改不匹配),对话框中将冲突显示为红色,你可以双" "击这些行启动外部合并工具来解决冲突。" #. (para) #: ../source/TortoiseGit_en.xml:4796 #, fuzzy msgid "" "When the update is complete, the progress dialog shows a summary of the " "number of items updated, added, removed, conflicted, etc. below the file " "list. This summary information can be copied to the clipboard using " "Ctrl+C." msgstr "" "当更新完成后,进度对话框在文件列表下面显示汇总信息,多少项更新,增加,删除,冲" "突等。汇总信息可以使用CTRL+C复制到剪贴板。" #. (para) #: ../source/TortoiseGit_en.xml:4803 #, fuzzy msgid "" "The standard Update command has no options and just updates your working copy " "to the HEAD revision of the repository, which is the most common use case. If " "you want more control over the update process, you should use " "TortoiseGitUpdate to Revision... instead. This allows you to update your working " "copy to a specific revision, not only to the most recent one. Suppose your " "working copy is at revision 100, but you want it to reflect the state which " "it had in revision 50 - then simply update to revision 50. In the same dialog " "you can also choose the depth at which to update the " "current folder. The terms used are described in . The default depth is Working copy, " "which preserves the existing depth setting. You can also choose whether to " "ignore any external projects in the update (i.e. projects referenced using " "svn:externals)." msgstr "" "标准的更新命令没有选项,仅仅是把你的工作副本更新到版本库中的最新版本,这也是最" "常用的情况。如果你要对更新过程进行更多的控制,就要使用" "TortoiseGit更新到版本...。这个操作允许你更新工作副本到一个指定的版本,不仅仅" "是最新的。假设你的工作副本是在版本100,但你要回顾一下版本50是什么样的——那你只" "要简单地更新到版本50就可以了。在同一个对话框中你还可以选择不递归更新当前文件夹" "(就是不更新所有的子文件夹)并且可以选择是否在更新中忽略外部的项目(比如具有属性 " "svn:externals的被引用的项目)." #. (para) #: ../source/TortoiseGit_en.xml:4825 #, fuzzy msgid "" "If you update a file or folder to a specific revision, you should not make " "changes to those files. You will get out of date error " "messages when you try to commit them! If you want to undo changes to a file " "and start afresh from an earlier revision, you can rollback to a previous " "revision from the revision log dialog. Take a look at for further instructions, and alternative methods." msgstr "" "如果你把一个文件或是文件夹更新到某个特定的版本,你不应该对这些文件做修改。你在" "提交的时候会得到一个已经过期的错误消息!如果你要取消修改,从" "一个早前的版本重新开始,你可以通过版本日志对话框回滚到之前的版本。请看以获得详情和其他方法。" #. (para) #: ../source/TortoiseGit_en.xml:4835 msgid "" "Update to Revision can " "occasionally be useful to see what your project looked like at some earlier " "point in its history. But in general, updating individual files to an earlier " "revision is not a good idea as it leaves your working copy in an inconsistent " "state. If the file you are updating has changed name, you may even find that " "the file just disappears from your working copy because no file of that name " "existed in the earlier revision. If you simply want a local copy of an old " "version of a file it is better to use the Context MenuSave revision to... command " "from the log dialog for that file." msgstr "" "更新到版本在你偶尔要看看你" "的项目在早前某时刻是什么样子的时候很有用。但通常,更新单个文件到之前的版本不是" "一个好主意,因为这会使你的工作副本处于不一致的状态。如果你要更新的文件已经改了" "名,你可能甚至发现该文件从你的工作副本中消失了,因为早期的版本中不存在这个名字" "的文件。如果你只是简单地想要一个旧版本文件的本地副本,最好是在该文件的日志对话" "框中使用右键菜单另存版本为...命令。" #. (title) #: ../source/TortoiseGit_en.xml:4854 msgid "Multiple Files/Folders" msgstr "多文件/文件夹" #. (para) #: ../source/TortoiseGit_en.xml:4855 msgid "" "If you select multiple files and folders in the explorer and then select " "Update, all of those " "files/folders are updated one by one. TortoiseGit makes sure that all files/" "folders which are from the same repository are updated to the exact same " "revision! Even if between those updates another commit occurred." msgstr "" "如果你在资源管理器中选择了多文件和文件夹,然后选择更" "新,这些文件/文件夹一个接一个的被更新。TortoiseGit" "确保所有的来自同一版本库的文件/文件夹被更新到同一个版本!即使在更新过程中发生了" "另一个提交。" #. (title) #: ../source/TortoiseGit_en.xml:4867 msgid "Local File Already Exists" msgstr "本地文件已经存在" #. (para) #: ../source/TortoiseGit_en.xml:4868 msgid "" "Sometimes when you try to update, the update fails with a message to say that " "there is already a local file of the same name. This typically happens when " "Git tries to checkout a newly versioned file, and finds that an " "unversioned file of the same name already exists in your working folder. " "Git will never overwrite an unversioned file - it might contain " "something you are working on, which coincidentally has the same filename as " "another developer has used for his newly committed file." msgstr "" "有时在你试图更新的时候,更新失败,提示信息说已经有一个同名的本地文件。通常发生" "在Git试图检出一个新增的受控文件时,发现一个未受控的同名文件已经在工作路" "径中存在。Git绝不会覆盖一个未受控的文件——因为它有可能有你需要的东西,却" "碰巧与另一个开发者新提交的文件重名了。" #. (para) #: ../source/TortoiseGit_en.xml:4877 msgid "" "If you get this error message, the solution is simply to rename the local " "unversioned file. After completing the update, you can check whether the " "renamed file is still needed." msgstr "" "如果你得到这个错误信息,解决的方法就是把本地的未受控文件重命名。在完成更新之" "后,你再检查被重命名的文件是不是还需要。" #. (para) #: ../source/TortoiseGit_en.xml:4882 msgid "" "If you keep getting error messages, use TortoiseGitCheck for Modifications " "instead to list all the problem files. That way you can deal with them all at " "once." msgstr "" "如果你一直得到错误,使用TortoiseGit检查修改来列出所有有问题的文" "件。这样你可以一次性解决它们。" #. (title) #: ../source/TortoiseGit_en.xml:4895 msgid "Resolving Conflicts" msgstr "解决冲突" #. (primary) #: ../source/TortoiseGit_en.xml:4900 msgid "resolve" msgstr "解决" #. (para) #: ../source/TortoiseGit_en.xml:4902 msgid "" "Once in a while, you will get a conflict when you update " "your files from the repository. A conflict occurs when two or more developers " "have changed the same few lines of a file. As Git knows nothing of " "your project, it leaves resolving the conflicts to the developers. Whenever a " "conflict is reported, you should open the file in question, and search for " "lines starting with the string <<<<<<<. The conflicting area is marked like this: \n" "<<<<<<< filename\n" " your changes\n" "=======\n" " code merged from repository\n" ">>>>>>> revision\n" " Also, for every conflicted file Git places three additional " "files in your directory: " msgstr "" "有时当你从版本库中更新你的文件时,会有冲突。冲突出现的原" "因是两个开发人员修改了文件中相同的几行。由于Git不知道你的项目的具体情" "况,它把解决冲突的工作留给了开发人员。一旦出现冲突,你就应该打开有问题的文件," "查找以字符串<<<<<<<开头的行。有冲突的" "区域用如下的方式标记: \n" "<<<<<<< filename\n" " 你的修改\n" "=======\n" " 来自版本库中的代码\n" ">>>>>>> revision\n" " 对于每个冲突的文件Git在你的目录下放置了三个文件: " "" #. (term) #: ../source/TortoiseGit_en.xml:4923 msgid "filename.ext.mine" msgstr "filename.ext.mine" #. (para) #: ../source/TortoiseGit_en.xml:4925 msgid "" "This is your file as it existed in your working copy before you updated your " "working copy - that is, without conflict markers. This file has your latest " "changes in it and nothing else." msgstr "" "这是你的文件,在你更新你的工作副本之前存在于你的的工作副本中——也就是说,没有冲" "突标志。这个文件除了你的最新修改外没有别的东西。" #. (term) #: ../source/TortoiseGit_en.xml:4934 msgid "filename.ext.rOLDREV" msgstr "filename.ext.rOLDREV" #. (para) #: ../source/TortoiseGit_en.xml:4936 msgid "" "This is the file that was the BASE revision before you updated your working " "copy. That is, it the file that you checked out before you made your latest " "edits." msgstr "" "这是在你更新你的工作副本之前的基础版本(BASE revision)文件。也就是说,它是在你" "做最后修改之前所检出的文件。" #. (term) #: ../source/TortoiseGit_en.xml:4945 msgid "filename.ext.rNEWREV" msgstr "filename.ext.rNEWREV" #. (para) #: ../source/TortoiseGit_en.xml:4947 msgid "" "This is the file that your Git client just received from the server " "when you updated your working copy. This file corresponds to the HEAD " "revision of the repository." msgstr "" "这个文件是当你更新你的工作副本时,你的Git客户端从服务器接收到的。这个文" "件对应与版本库中的最新版本。" #. (para) #: ../source/TortoiseGit_en.xml:4957 msgid "" "You can either launch an external merge tool / conflict editor with " "TortoiseGitEdit Conflicts or you can use any other editor to manually resolve " "the conflict. You should decide what the code should look like, do the " "necessary changes and save the file." msgstr "" "你可以通过TortoiseGit编辑冲突运行外部合并工具/冲突编辑器,或者你可以使用任何别的编" "辑器手动解决冲突。你需要冲定哪些代码是需要的,做一些必要的修改然后保存。" #. (para) #: ../source/TortoiseGit_en.xml:4968 msgid "" "Afterwards execute the command TortoiseGitResolved and commit your " "modifications to the repository. Please note that the Resolve command does " "not really resolve the conflict. It just removes the filename.ext." "mine and filename.ext.r* files, to allow you " "to commit your changes." msgstr "" "然后,执行命令TortoiseGit已解决并提交人的修改到版本库。需要注意的是已解决命令并不是" "真正的解决了冲突,它只是删除了filename.ext.mine和" "filename.ext.r*两个文件,允许你提交修改。" #. (para) #: ../source/TortoiseGit_en.xml:4981 msgid "" "If you have conflicts with binary files, Git does not attempt to merge " "the files itself. The local file remains unchanged (exactly as you last " "changed it) and you have filename.ext.r* files. If you " "want to discard your changes and keep the repository version, just use the " "Revert command. If you want to keep your version and overwrite the repository " "version, use the Resolved command, then commit your version." msgstr "" "如果你的二进制文件有冲突,Git不会试图合并文件。本地文件保持不变(完全是" "你最后修改时的样子),但你会看到filename.ext.r*文件。如果" "你要撤消你的修改,保留版本库中的版本,请使用还原(Revert)命令。如果你要保持你的" "版本覆盖版本库中的版本,使用已解决命令,然后提交你的版本。" #. (para) #: ../source/TortoiseGit_en.xml:4991 msgid "" "You can use the Resolved command for multiple files if you right click on the " "parent folder and select TortoiseGitResolved... This will bring " "up a dialog listing all conflicted files in that folder, and you can select " "which ones to mark as resolved." msgstr "" "你可以右击父文件夹,选择TortoiseGit已解决...,使用“已解决”命令来" "解决多个文件。这个操作会出现一个对话框,列出文件夹下所有有冲突的文件,你可以选" "择将哪些标记成已解决。" #. (title) #: ../source/TortoiseGit_en.xml:5004 msgid "Getting Status Information" msgstr "获得状态信息" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:5006 ../source/TortoiseGit_en.xml:5155 msgid "status" msgstr "状态" #. (primary) #: ../source/TortoiseGit_en.xml:5009 msgid "view changes" msgstr "查看修改" #. (primary) #: ../source/TortoiseGit_en.xml:5012 msgid "working copy status" msgstr "工作副本状态" #. (para) #: ../source/TortoiseGit_en.xml:5014 msgid "" "While you are working on your working copy you often need to know which files " "you have changed/added/removed or renamed, or even which files got changed " "and committed by others." msgstr "" "当你在你的工作副本上工作时,你时常需要知道哪些文件你已经修改/增加/删除或改名" "了,或者甚至是哪个文件已经被其他人修改并提交了。" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:5022 ../source/TortoiseGit_en.xml:15242 msgid "overlays" msgstr "重载" #. (primary) #: ../source/TortoiseGit_en.xml:5025 msgid "icons" msgstr "图标" #. (para) #: ../source/TortoiseGit_en.xml:5033 msgid "" "Now that you have checked out a working copy from a Git repository you " "can see your files in the windows explorer with changed icons. This is one of " "the reasons why TortoiseGit is so popular. TortoiseGit adds a so called " "overlay icon to each file icon which overlaps the original file icon. " "Depending on the Git status of the file the overlay icon is different." msgstr "" "现在你已经从 Git 版本库中检出了一份工作副本,你可以在资源管理器中看一下" "这些文件的图标有什么变化。这也正是 TortoiseGit 这么流行的原因之一。" "TortoiseGit 加入了被称为重载图标的功能重载了原始的文件图标。根据文件的 " "Git 状态的不同,重载的图标也不同。" #. (para) #: ../source/TortoiseGit_en.xml:5041 msgid "" " A fresh checked out " "working copy has a green checkmark as overlay. That means the Git " "status is normal." msgstr "" " 一个新检出的工作副本使用" "绿色的对勾做重载。表示 Git 状态正常." #. (para) #: ../source/TortoiseGit_en.xml:5046 msgid "" " As soon as you start " "editing a file, the status changes to modified and the " "icon overlay then changes to a red exclamation mark. That way you can easily " "see which files were changed since you last updated your working copy and " "need to be committed." msgstr "" "在你开始编辑一个文件后,状态" "就变成了已修改,而图标重载变成了红色感叹号。通过这种方" "式,你可以很容易地看出哪些文件从你上次更新工作副本后被修改过,需要被提交。" #. (para) #: ../source/TortoiseGit_en.xml:5054 msgid "" " If during an update a " "conflict occurs then the icon changes to a yellow " "exclamation mark." msgstr "" "如果在更新的过程中出现了" "冲突,图标会变成黄色感叹号。" #. (para) #: ../source/TortoiseGit_en.xml:5059 msgid "" " If you have set the " "svn:needs-lock property on a file, Git makes that " "file read-only until you get a lock on that file. Such files have this " "overlay to indicate that you have to get a lock first before you can edit " "that file." msgstr "" "如果你给一个文件设置了" "svn:needs-lock属性,Git 会让此文件只读,直到你获得文" "件锁。具有这个重载图标的文件来表示你必须在编辑之前先得到锁。" #. (para) #: ../source/TortoiseGit_en.xml:5066 msgid "" " If you hold a lock on a file, " "and the Git status is normal, this icon overlay " "reminds you that you should release the lock if you are not using it to allow " "others to commit their changes to the file." msgstr "" "如果你拥有了一个文件的锁,并且 " "Git 状态是正常,这个重载图标就提醒你如果不使用该文" "件的话应该释放锁,允许别人提交对该文件的修改。" #. (para) #: ../source/TortoiseGit_en.xml:5073 msgid "" " This icon shows you that " "some files or folders inside the current folder have been scheduled to be " "deleted from version control or a file under version " "control is missing in a folder." msgstr "" "这个图标表示当前文件夹下的某些" "文件或文件夹已经被调度从版本控制中删除,或是该文件夹下某" "个受版本控制的文件丢失了。" #. (para) #: ../source/TortoiseGit_en.xml:5079 msgid "" " The plus sign tells you that a " "file or folder has been scheduled to be added to version " "control." msgstr "" "加号告诉你有一个文件或目录已经被" "调度加入版本控制。" #. (para) #: ../source/TortoiseGit_en.xml:5084 #, fuzzy msgid "" " The bar sign tells you that " "a file or folder is ignored for version control " "purposes. This overlay is optional." msgstr "" "加号告诉你有一个文件或目录已经被" "调度加入版本控制。" #. (para) #: ../source/TortoiseGit_en.xml:5090 msgid "" " This icon shows files " "and folders which are not under version control, but have not been ignored. " "This overlay is optional." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:5096 #, fuzzy msgid "" "In fact, you may find that not all of these icons are used on your system. " "This is because the number of overlays allowed by Windows is very limited and " "if you are also using an old version of TortoiseCVS, then there are not " "enough overlay slots available. TortoiseGit tries to be a Good Citizen " "(TM) and limits its use of overlays to give other apps a chance too." msgstr "" "事实上,你会发现并不是所有的图标被你的系统使用。这是由于 Windows 的重载图标很" "有限。如果你同时使用了 TortoiseCVS,就没有足够的重载可用。TortoiseGit 试图成为" "一个良好市民(TM),限制自身使用重载图标,为别的应用留下机会。" #. (para) #: ../source/TortoiseGit_en.xml:5104 msgid "" "Now that there are more Tortoise clients around (TortoiseCVS, " "TortoiseHG, ...) the icon limit becomes a real problem. To work around this, " "the TortoiseGit project introduced a common shared icon set, loaded as a DLL, " "which can be used by all Tortoise clients. Check with your client provider to " "see if this has been integrated yet :-)" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:5111 msgid "" "For a description of how icon overlays correspond to Git status and " "other technical details, read ." msgstr "" "要获得图表重载与 Git 状态的对应关系,或者其它技术细节,请阅读。" #. (title) #: ../source/TortoiseGit_en.xml:5118 msgid "TortoiseGit Columns In Windows Explorer" msgstr "在 Windows 资源管理器中的 TortoiseGit 列" #. (primary) #: ../source/TortoiseGit_en.xml:5120 msgid "Explorer Columns" msgstr "资源管理器的列" #. (para) #: ../source/TortoiseGit_en.xml:5122 msgid "" "The same information which is available from the icon overlays (and much " "more) can be displayed as additional columns in Windows Explorer's Details " "View." msgstr "" "在Windows资源管理器的详细信息视图中,附加列中可以显示与图标重载所表达相同的信" "息(还可以显示更多其他信息)。" #. (para) #: ../source/TortoiseGit_en.xml:5127 #, fuzzy msgid "" "Simply right click on one of the headings of a column, choose " "More... from the context menu displayed. A dialog " "will appear where you can specify the columns and their order, which is " "displayed in the Detailed View. Scroll down until the entries " "starting with SVN come into view. Check the ones you would like to have " "displayed and close the dialog by pressing OK. The " "columns will be appended to the right of those currently displayed. You can " "reorder them by drag and drop, or resize them, so that they fit your needs." msgstr "" "右键点击列头,从出现的右键菜单中选择其他...。出现一" "个对话框,你可以指定在“详细信息视图”中要显示的列及其顺序。滚动对话框中的条目直" "到SVN开头的条目出现。在你要显示的条目上打勾,然后点击OK" "按扭关闭对话框。你选择的列就会出现在当前显示的列的右边。你可以通过拖放它们来达" "到重新排序或是修改列宽度的目的。" #. (para) #: ../source/TortoiseGit_en.xml:5139 msgid "" "The additional columns in the Windows Explorer are not available on Vista, " "since Microsoft decided to not allow such columns for all files anymore but only for specific file types." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:5145 msgid "" "If you want the current layout to be displayed in all your working copies, " "you may want to make this the default view." msgstr "" "如果你想要当前的布局对你所有的工作副本都有效,你可以考虑把它设成默认视图。" #. (title) #: ../source/TortoiseGit_en.xml:5153 msgid "Local and Remote Status" msgstr "本地与远程状态" #. (primary) #: ../source/TortoiseGit_en.xml:5158 msgid "modifications" msgstr "修改" #. (para) #: ../source/TortoiseGit_en.xml:5160 msgid "" " It's often very useful to know which files you have changed " "and also which files got changed and committed by others. That's where the " "command TortoiseGitCheck For " "Modifications... comes in handy. This dialog will " "show you every file that has changed in any way in your working copy, as well " "as any unversioned files you may have." msgstr "" " 通常知道你修改了哪些文件以及哪些文件已经由另人修改并提交了是" "很有用的。这就是命令TortoiseGitCheck For Modifications... 的" "用武之地了。这个对话框显示了所有你的工作副本中进行了任何形式的修改的的文件,也" "包括了当前存在的未受控的文件。" #. (title) #. (title) #: ../source/TortoiseGit_en.xml:5162 ../source/TortoiseGit_en.xml:14934 msgid "Check for Modifications" msgstr "检查所作的修改" #. (para) #: ../source/TortoiseGit_en.xml:5177 msgid "" "If you click on the Check Repository then you can also " "look for changes in the repository. That way you can check before an update " "if there's a possible conflict. You can also update selected files from the " "repository without updating the whole folder." msgstr "" "如果你点击检查版本库,那你还可以看到版本库里的改动。这" "样,你就可以在提交之前检查是否有存在冲突的可能。你也可以从版本库中更新选中的文" "件而用不着更新整个文件夹。" #. (para) #: ../source/TortoiseGit_en.xml:5185 msgid "The dialog uses colour coding to highlight the status. " msgstr "对话框使用颜色代码来高亮显示状态。 " #. (para) #: ../source/TortoiseGit_en.xml:5191 msgid "Locally modified items." msgstr "本地被修改过的项" #. (para) #: ../source/TortoiseGit_en.xml:5199 msgid "" "Added items. Items which have been added with history have a + sign in the Text status column, and a tooltip " "shows where the item was copied from." msgstr "" "增加的项。那些被加入的项在文本状态列中有个+号表示,工具提示(tooltip shows)显示了该项是从哪里复制来的。 where the " "item was copied from." #. (para) #: ../source/TortoiseGit_en.xml:5211 msgid "Deleted or missing items." msgstr "删除的或是丢失的项。" #. (para) #: ../source/TortoiseGit_en.xml:5219 msgid "" "Items modified locally and in the repository. The changes will be merged on " "update. These may produce conflicts on update." msgstr "" "在本地和版本库中都有被修改过的项。改动将在更新的时候被合并。这种情况" "很可能在更新的时候产生冲突。" #. (para) #: ../source/TortoiseGit_en.xml:5229 msgid "" "Items modified locally and deleted in repository, or modified in repository " "and deleted locally. These will produce conflicts on " "update." msgstr "" "在本地被修改过但在版本库中已经被删除的项,或者在版本库中被修改但在本地被删除的" "项。这种情况必将在更新时产生冲突。" #. (para) #: ../source/TortoiseGit_en.xml:5239 msgid "Unchanged and unversioned items." msgstr "未修改和未受控的项。" #. (para) #: ../source/TortoiseGit_en.xml:5257 msgid "" "From the context menu of the dialog you can show a diff of the changes. Check " "the local changes you made using " "Context MenuCompare with Base. Check the changes in the repository made by others " "using Context MenuShow " "Differences as Unified Diff." msgstr "" "在对话框的上下文菜单中你可以显示改变的差异。使用 上下文菜" "单与基础版本比较检查" "所作的本地修改。使用上下文菜单使用标准差异格式显示差异检查版" "本库中别人作的修改。" #. (para) #: ../source/TortoiseGit_en.xml:5270 #, fuzzy msgid "" "You can also revert changes in individual files. If you have deleted a file " "accidentally, it will show up as Missing and you can use " "Revert to recover it." msgstr "" "你还可以对单个文件进行还原(revert)。如果你不小心删除了一个文件,在对话框中会显" "示为丢失你可以使用还原来恢复它。" #. (para) #: ../source/TortoiseGit_en.xml:5275 msgid "" "Unversioned and ignored files can be sent to the recycle bin from here using " "Context MenuDelete. If you want to delete files permanently (bypassing the recycle " "bin) hold the Shift key while clicking on Delete." msgstr "" "可以使用邮件菜单删除将未版本控制的或忽略的文件丢到垃圾箱。如果你想彻底删" "除(不使用垃圾箱),在点击删除时,请按着Shift键。" #. (para) #: ../source/TortoiseGit_en.xml:5284 msgid "" "If you want to examine a file in detail, you can drag it from here into " "another application such as a text editor or IDE." msgstr "" "如果你要查询一个文件的详细情况,你可以把它从这里拖到另一个应用程序,比如一个文" "本编辑器或是IDE中。" #. (para) #: ../source/TortoiseGit_en.xml:5288 msgid "" "The columns are customizable. If you right click on any " "column header you will see a context menu allowing you to select which " "columns are displayed. You can also change column width by using the drag " "handle which appears when you move the mouse over a column boundary. These " "customizations are preserved, so you will see the same headings next time." msgstr "" "这些列是可定制的。如果你右击任何一列的头部,你就会看到一个上" "下文菜单,允许你选择哪一列要显示。还可以在鼠标移动到列边界时通过拖动把手来改变" "列的宽度。这些定制的内容都会被保留下来,下一次你会见到相同的头部。" #. (para) #: ../source/TortoiseGit_en.xml:5297 msgid "" "If you are working on several unrelated tasks at once, you can also group " "files together into changelists. Read for more information." msgstr "" "如果你同时做几个不相关的任务,也可以在修改列表中分组文件。阅读以获得更多信息。" #. (para) #: ../source/TortoiseGit_en.xml:5302 #, fuzzy msgid "" "At the bottom of the dialog you can see a summary of the range of repository " "revisions in use in your working copy. These are the commit revisions, not the update revisions; they " "represent the range of revisions where these files were last committed, not " "the revisions to which they have been updated. Note that the revision range " "shown applies only to the items displayed, not to the entire working copy. If " "you want to see that information for the whole working copy you must check " "the Show unmodified files checkbox." msgstr "" "在这个对话框的底部,你可以看到工作副本所用版本库版本的范围概要。这些是 " "提交版本,不是更新版本;它们是这些文件最" "后提交的版本范围,不是已经更新的版本。注意显示的版本范围针对的是显示的项目,不" "是整个工作副本。如果你想察看整个工作副本的信息,必须选中检查框显示未" "修改的文件。" #. (para) #: ../source/TortoiseGit_en.xml:5313 msgid "" "If you want a flat view of your working copy, i.e. showing all files and " "folders at every level of the folder hierarchy, then the Check for " "Modifications dialog is the easiest way to achieve that. Just " "check the Show unmodified files checkbox to show all " "files in your working copy." msgstr "" "如果你需要工作目录的全面视图,也就是所有文件和文件夹都同时显示,以便方便的使用" "检查修改对话框。只要选择现实未修改文件检查栏,显示工作目录中的所有文件即可。" #. (title) #: ../source/TortoiseGit_en.xml:5339 msgid "Viewing Diffs" msgstr "查看差别" #. (primary) #: ../source/TortoiseGit_en.xml:5341 msgid "diffing" msgstr "比较" #. (para) #: ../source/TortoiseGit_en.xml:5343 msgid "" "Often you want to look inside your files, to have a look at what you've " "changed. You can accomplish this by selecting a file which has changed, and " "selecting Diff from TortoiseGit's context menu. " "This starts the external diff-viewer, which will then compare the current " "file with the pristine copy (BASE revision), which was " "stored after the last checkout or update." msgstr "" "通常你想要深入文件中了解你修改了什么。要达到这个目的,你可以选中这个文件,然后" "在TortoiseGit的右键菜单中选择比较。这个操作会启动一" "个外部的差别检查程序,由它来比较当前文件与上一次检出或更新后的原始的副本" "(基础版本)。" #. (para) #: ../source/TortoiseGit_en.xml:5353 msgid "" "Even when not inside a working copy or when you have multiple versions of the " "file lying around, you can still display diffs:" msgstr "" "即使你不是在一个工作副本中工作或者你有多个版本的文件,你都可以按以下方法来进行" "比较: " #. (para) #: ../source/TortoiseGit_en.xml:5357 msgid "" "Select the two files you want to compare in explorer (e.g. using " "Ctrl and the mouse) and choose Diff from TortoiseGit's context menu. The file clicked last (the one " "with the focus, i.e. the dotted rectangle) will be regarded as the later one." msgstr "" "选择你要比较的两个文件(比如,你可以使用Ctrl 键加鼠标),然后从" "TortoiseGit的右键菜单中选择比较。最后一个被鼠标点中" "的文件(具有焦点的文件,比如有虚线框的文件具有焦点),将作为被比较文件的后一个。" #. (primary) #: ../source/TortoiseGit_en.xml:5371 msgid "changelist" msgstr "修改列表" #. (para) #: ../source/TortoiseGit_en.xml:5373 msgid "" "In an ideal world, you only ever work on one thing at a time, and your " "working copy contains only one set of logical changes. OK, back to reality. " "It often happens that you have to work on several unrelated tasks at once, " "and when you look in the commit dialog, all the changes are mixed in " "together. The changelist feature helps you group files " "together, making it easier to see what you are doing. Of course this can only " "work if the changes do not overlap. If two different tasks affect the same " "file, there is no way to separate the changes." msgstr "" "理想情况下,你任何时候都只做一件事,你的工作副本只包含一个逻辑修改集合。很好," "回到现实。你经常会同时做几件不相关的事,当你察看提交对话框时,所有修改混到一" "起。修改列表特性帮助你分组,让你容易看到正在做什么。当" "然它只能在修改不重合的时候工作。如果两个不同的任务影响到同一个文件,没有办法隔" "离修改。" #. (para) #: ../source/TortoiseGit_en.xml:5384 #, fuzzy msgid "" "The changelist feature in TortoiseGit is only available in Windows XP and " "later, as it depends on a shell capability which is not present in Windows " "2000. Sorry, but Win2K is really quite old now, so please don't complain." msgstr "" "修改列表依赖一个不存在于 Windows 2000 的外壳特性,所以它只能用于 Windows XP 或" "更新的系统。抱歉,但是现在 Windows 2000 真的很古老了,请不要抱怨。" #. (para) #: ../source/TortoiseGit_en.xml:5391 msgid "" "You can see changelists in several places, but the most important ones are " "the commit dialog and the check-for-modifications dialog. Let's start in the " "check-for-modifications dialog after you have worked on several features and " "many files. When you first open the dialog, all the changed files are listed " "together. Suppose you now want to organise things and group those files " "according to feature." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:5399 #, fuzzy msgid "" "Select one or more files and use Context MenuMove to changelist to add an " "item to a changelist. Initially there will be no changelists, so the first " "time you do this you will create a new changelist. Give it name which " "describes what you are using it for, and click OK. The " "dialog will now change to show groups of items." msgstr "" "使用右键菜单移到修改列表 可以增加一个项目到修改列表。最初没有修改列表,所以你" "第一次做的时候,会创建一个新的修改列表。给出一个能描述它的作用的名称,然后点" "击 OK。提交对话框会改变为显示项目分组。 " #. (para) #: ../source/TortoiseGit_en.xml:5411 msgid "" "Once you have created a changelist you can drag and drop items into it, " "either from another changelist, or from Windows Explorer. Dragging from " "Explorer can be useful as it allows you to add items to a changelist before " "the file is modified. You could do that from the check-for-modifications " "dialog, but only by displaying all unmodified files." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:5418 #, fuzzy msgid "" " In the commit dialog you can see those same files, grouped " "by changelist. Apart from giving an immediate visual indication of groupings, " "you can also use the group headings to select which files to commit." msgstr "除了分组可以直接指示之外,你也可以使用组头选择提交哪些文件。" #. (title) #: ../source/TortoiseGit_en.xml:5420 msgid "Commit dialog with Changelists" msgstr "带有修改列表的提交对话框" #. (para) #: ../source/TortoiseGit_en.xml:5427 msgid "" "On XP, there is a context menu when you right click on a group heading which " "gives you the choice to check or uncheck all group entries. On Vista however " "the context menu is not necessary. Click on the group header to select all " "entries, then check one of the selected entries to check all." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:5433 msgid "" "TortoiseGit reserves one changelist name for its own use, namely " "ignore-on-commit. This is used to mark versioned files " "which you almost never want to commit even though they have local changes. " "This feature is described in ." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:5439 msgid "" "When you commit files belonging to a changelist then normally you would " "expect that the changelist membership is no longer needed. So by default, " "files are removed from changelists automatically on commit. If you wish to " "retain the file in its changelist, use the Keep changelists checkbox at the bottom of the commit dialog." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:5447 #, fuzzy msgid "" "Changelists are purely a local client feature. Creating and removing " "changelists will not affect the repository, nor anyone else's working copy. " "They are simply a convenient way for you to organise your files." msgstr "" "修改列表是纯本地客户端特性。创建和删除修改列表不会影响到版本库,或任何其它客户" "端。" #. (title) #: ../source/TortoiseGit_en.xml:5455 msgid "Revision Log Dialog" msgstr "版本日志对话框" #. (primary) #: ../source/TortoiseGit_en.xml:5457 msgid "log" msgstr "日志" #. (primary) #: ../source/TortoiseGit_en.xml:5460 msgid "history" msgstr "历史" #. (primary) #: ../source/TortoiseGit_en.xml:5463 msgid "commit messages" msgstr "提交信息" #. (primary) #: ../source/TortoiseGit_en.xml:5466 msgid "log messages" msgstr "日志信息" #. (para) #: ../source/TortoiseGit_en.xml:5469 msgid "" "For every change you make and commit, you should provide a log message for " "that change. That way you can later find out what changes you made and why, " "and you have a detailed log for your development process." msgstr "" "对于每次进行修改和提交,你应该有针对性地留下日志信息。这样,你就可以在以后方便" "地看到你都做了什么,为什么这么做。当然这么做还是你拥有了开发过程的详细日志。" #. (para) #: ../source/TortoiseGit_en.xml:5475 msgid "" "The Revision Log Dialog retrieves all those log messages and shows them to " "you. The display is divided into 3 panes. But it does much " "more than that - it provides context menu commands which you can use to get " "even more information about the project history." msgstr "" "版本日志对话框可以获取所有的日志信息,并将其显示出来。对话框的视图分成3个面" "板。当然,对话框的作用不止于此——它提供了右键菜单,通过它可以获" "取更多的项目历史信息。" #. (para) #: ../source/TortoiseGit_en.xml:5481 msgid "" "The top pane shows a list of revisions where changes to the file/folder have " "been committed. This summary includes the date and time, the person who " "committed the revision and the start of the log message." msgstr "" "最上方的面板显示了版本的列表。这其中包含了日期和时间,以及提交的用户和日志信息" "开头的部分内容。" #. (para) #: ../source/TortoiseGit_en.xml:5487 msgid "" "Lines shown in blue indicate that something has been copied to this " "development line (perhaps from a branch)." msgstr "" "以蓝色显示的行表示某些内容被复制到该开发版本中(可能是从一个分支中复制而来)。" #. (para) #: ../source/TortoiseGit_en.xml:5493 msgid "The middle pane shows the full log message for the selected revision." msgstr "中间的面板显示了被选中的版本的完整的日志信息。" #. (para) #: ../source/TortoiseGit_en.xml:5499 msgid "" "The bottom pane shows a list of all files and folders that were changed as " "part of the selected revision." msgstr "最下面的面板显示了被选中版本中都对哪里文件和文件夹进行了修改。" #. (title) #: ../source/TortoiseGit_en.xml:5510 msgid "Invoking the Revision Log Dialog" msgstr "调用版本日志对话框" #. (para) #: ../source/TortoiseGit_en.xml:5511 msgid "" " There are several places from where you can show the Log " "dialog: " msgstr "有几种途径可以调出日志对话框: " #. (title) #: ../source/TortoiseGit_en.xml:5513 msgid "The Revision Log Dialog" msgstr "版本日志对话框" #. (para) #: ../source/TortoiseGit_en.xml:5519 msgid "From the TortoiseGit context submenu" msgstr "从右键菜单的TortoiseGit子菜单中调用" #. (para) #: ../source/TortoiseGit_en.xml:5524 msgid "From the property page" msgstr "从属性页中调用" #. (para) #: ../source/TortoiseGit_en.xml:5529 msgid "" "From the Progress dialog after an update has finished. Then the Log dialog " "only shows those revisions which were changed since your last update" msgstr "" "在更新结束后,从进度对话框中调用。在这里,日志对话框只显示你上一次更新以来的版" "本变化。" #. (title) #: ../source/TortoiseGit_en.xml:5539 msgid "Revision Log Actions" msgstr "版本日志动作" #. (para) #: ../source/TortoiseGit_en.xml:5540 msgid "" "The top pane has an Actions column containing icons that " "summarize what has been done in that revision. There are four different " "icons, each shown in its own column." msgstr "" "顶部面板有个动作列,包含了此版本的动作概要图标。有四个不" "同的图标,每个都在自己的列显示。" #. (para) #: ../source/TortoiseGit_en.xml:5545 #, fuzzy msgid "" " If a revision " "modified a file or directory, the modified icon is shown " "in the first column." msgstr "" " 如果某个版本修改了文件" "和目录,已修改 图表就会在首列显示。" #. (para) #: ../source/TortoiseGit_en.xml:5550 #, fuzzy msgid "" " If a revision added a " "file or directory, the added icon is shown in the second " "column." msgstr "" " 如果某个版本增加了文件和" "目录,已增加 图表就会在第二列显示。" #. (para) #: ../source/TortoiseGit_en.xml:5555 #, fuzzy msgid "" " If a revision deleted " "a file or directory, the deleted icon is shown in the " "third column." msgstr "" " 如果某个版本删除了文件" "和目录,已删除 图表就会在第三列显示。" #. (para) #: ../source/TortoiseGit_en.xml:5560 #, fuzzy msgid "" " If a revision " "replaced a file or directory, the replaced icon is shown " "in the fourth column." msgstr "" " 如果某个版本替换了文件" "和目录,已替换 图标就会在第四列显示。" #. (title) #: ../source/TortoiseGit_en.xml:5567 msgid "Getting Additional Information" msgstr "获得更多信息" #. (para) #: ../source/TortoiseGit_en.xml:5568 msgid "" " The top pane of the Log dialog has a context menu that " "allows you to access much more information. Some of these menu entries appear " "only when the log is shown for a file, and some only when the log is shown " "for a folder. " msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:5570 msgid "The Revision Log Dialog Top Pane with Context Menu" msgstr "版本日志对话框的顶部面板的右键菜单" #. (para) #: ../source/TortoiseGit_en.xml:5579 msgid "" "Compare the selected revision with your working copy. The default Diff-Tool " "is TortoiseMerge which is supplied with TortoiseGit. If the log dialog is for " "a folder, this will show you a list of changed files, and allow you to review " "the changes made to each file individually." msgstr "" "将你的工作版本与选中的版本进行比较。默认的比较工具是与TortoiseSNV一同发布的" "TortoiseMerge,如果日志对话框是针对文件夹的,那么就会出现一个被修改的文件的列" "表,你可以单独地查看每个文件所做的修改。" #. (para) #: ../source/TortoiseGit_en.xml:5589 msgid "" "View the changes made in the selected revision as a Unified-Diff file (GNU " "patch format). This shows only the differences with a few lines of context. " "It is harder to read than a visual file compare, but will show all file " "changes together in a compact format." msgstr "" "将选中的版本作为单一差异文件(GNU补丁格式)查看。相对于可视化的文件比较器,它更" "难阅读,但它将所有的变化显示在一个格式更为紧凑的文件中。" #. (para) #: ../source/TortoiseGit_en.xml:5598 msgid "" "Compare the selected revision with the previous revision. This works in a " "similar manner to comparing with your working copy." msgstr "比较选择的版本和以前版本。它与你比较工作副本类似。" #. (para) #: ../source/TortoiseGit_en.xml:5605 msgid "" "Blame the selected revision, and the file in your working BASE and compare " "the blame reports using a visual diff tool. Read for more detail. (files only)." msgstr "" "追溯选中的版本,和你的工作基础文件,使用可视化差异工具比较追溯报告。参阅 " " 以获得更多信息(仅对于文件)。" #. (para) #: ../source/TortoiseGit_en.xml:5613 msgid "" "Blame the selected revision, and the previous revision, and compare the " "results using a visual diff tool. (folders only)." msgstr "追溯选中的版本和旧版本,用可视化差异工具比较结果(仅对于目录)。" #. (para) #: ../source/TortoiseGit_en.xml:5620 msgid "" "Save the selected revision to a file so you have an older version of that " "file. (files only)." msgstr "将选中的版本保存到文件,你可以得到一份该文件的旧版本(仅对于文件)。" #. (para) #: ../source/TortoiseGit_en.xml:5626 msgid "" "Open the selected file, either with the default viewer for that file type, or " "with a program you choose. (files only)." msgstr "用此文件类型的默认查看器,或你指定的程序打开选中的文件(仅对于文件)。" #. (para) #: ../source/TortoiseGit_en.xml:5632 msgid "Blame the file up to the selected revision. (files only)." msgstr "追溯文件直到选中的版本(仅对于文件)。" #. (para) #: ../source/TortoiseGit_en.xml:5637 msgid "" "Open the repository browser to examine the selected file or folder in the " "repository as it was at the selected revision." msgstr "打开版本库浏览器,基于选中的版本,在版本库中检查选中的文件或目录。" #. (para) #: ../source/TortoiseGit_en.xml:5643 msgid "" "Create a branch/tag from a selected revision. This is useful e.g. if you " "forgot to create a tag and already committed some changes which weren't " "supposed to get into that release." msgstr "" "从选中的版本建立一个分支/标记。这个选项很有用。比如: 如果你提交了某些你不想使" "其进入发行版的修改,却忘记了为此建立标记。" #. (para) #: ../source/TortoiseGit_en.xml:5651 msgid "" "Update your working copy to the selected revision. Useful if you want to have " "your working copy reflect a time in the past. It is best to update a whole " "directory in your working copy, not just one file, otherwise your working " "copy will be inconsistent and you will be unable to commit any changes." msgstr "" "将你的工作副本更新到选中的版本。如果你想要你的工作副本折返到过去的某个时间,那" "这个功能就很好用。你最好是更新工作副本的整个目录而不是单一某个文件,因为如果只" "更新某个文件,你的工作副本就可能不一致,从而导致你无法提交任何修改。" #. (para) #: ../source/TortoiseGit_en.xml:5661 msgid "" "Revert changes from which were made in the selected revision. The changes are " "reverted in your working copy so this operation does not " "affect the repository at all! Note that this will undo the changes made in " "that revision only. It does not replace your working copy with the entire " "file at the earlier revision. This is very useful for undoing an earlier " "change when other unrelated changes have been made since. If you have made " "local changes, this command will merge these changes into your working copy." msgstr "" "还原选中版本所做的修改。还原的内容只在你的工作副本中,所以此操作完全" "不会影响版本库!要注意的是,这个操作仅仅还原该版本中的修改。不是将" "整个文件替换成选中的那个版本。它对于已经做过其它无关修改的还原早期修改非常有" "用。如果你做了本地修改,此命令将会合并修改到工作副本。" #. (para) #: ../source/TortoiseGit_en.xml:5675 msgid "" "Revert to an earlier revision. If you have made several changes, and then " "decide that you really want to go back to how things were in revision N, this " "is the command you need. Again, the changes are reverted in your working copy " "so this operation does not affect the repository until " "you commit the changes. Note that this will undo all " "changes made after the selected revision, replacing the file/folder with the " "earlier version. If you have made local changes, this command will merge " "these changes into your working copy." msgstr "" "恢复到某个以前的版本。如果你做了多处修改,然后决定要返回到版本 N,你就可以使用" "这个命令。再次说明,恢复的修改位于你的工作副本,在你提交之前,并不会" "影响版本库。注意,这将会丢弃从那个版本以来的所有修改,使用选中的版本来替换文件/文件夹。" #. (para) #: ../source/TortoiseGit_en.xml:5689 msgid "" "Merge the selected revision(s) into a different working copy. A folder " "selection dialog allows you to choose the working copy to merge into, but " "after that there is no confirmation dialog, nor any opportunity to try a dry " "run. It is a good idea to merge into an unmodified working copy so that you " "can revert the changes if it doesn't work out! This is a useful feature if " "you want to merge selected revisions from one branch to another." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:5701 msgid "" "Make a fresh checkout of the selected folder at the selected revision. This " "brings up a dialog for you to confirm the URL and revision, and select a " "location for the checkout." msgstr "" "检出你选择的目录的选中版本,创建一个全新副本。它弹出对话框,让你确认URL和版" "本,并且选择保存的位置。" #. (para) #: ../source/TortoiseGit_en.xml:5708 msgid "" "Export the selected file/folder at the selected revision. This brings up a " "dialog for you to confirm the URL and revision, and select a location for the " "export." msgstr "" "导出选择的文件/目录的选中版本。它弹出对话框,让你确认URL和版本,选择导出位置。" #. (para) #: ../source/TortoiseGit_en.xml:5715 msgid "" "Edit the log message or author attached to a previous commit. Read to find out how this works." msgstr "" "编辑之前提交时的日志信息或是作者。请阅读,了解其工作原理。" #. (para) #: ../source/TortoiseGit_en.xml:5722 msgid "" "Copy the log details of the selected revisions to the clipboard. This will " "copy the revision number, author, date, log message and the list of changed " "items for each revision." msgstr "" "将选中版本的详细日志信息复制到剪贴板。它会复制版本号,作者,日期,日志信息,以" "及每个版本的改变项目列表。" #. (para) #: ../source/TortoiseGit_en.xml:5729 msgid "" "Search log messages for the text you enter. This searches the log messages " "that you entered and also the action summaries created by Git (shown " "in the bottom pane). The search is not case sensitive." msgstr "" "在日志信息中搜索你输入的的文字。这个操作搜索日志信息,也搜索由Git建立的" "提交行为总结(最底部的面板中的内容)。搜索大小写无关。" #. (para) #: ../source/TortoiseGit_en.xml:5738 msgid "" " If you select two revisions at once (using the usual " "Ctrl-modifier), the context menu changes and gives you fewer " "options: " msgstr "" "如果你使用Ctrl组合键一次选中了两个版本,右键" "菜单有所改变: " #. (title) #: ../source/TortoiseGit_en.xml:5740 msgid "Top Pane Context Menu for 2 Selected Revisions" msgstr "选种两个版本的顶部面板的右键菜单" #. (para) #: ../source/TortoiseGit_en.xml:5748 msgid "" "Compare the two selected revisions using a visual difference tool. The " "default Diff-Tool is TortoiseMerge which is supplied with TortoiseGit." msgstr "" "使用可视化差异比较工作比较两个选中的版本。默认的比较工作是与TortoiseGit一起提" "供的TortoiseMerge。" #. (para) #: ../source/TortoiseGit_en.xml:5753 msgid "" "If you select this option for a folder, a further dialog pops up listing the " "changed files and offering you further diff options. Read more about the " "Compare Revisions dialog in ." msgstr "" "如果你是针对文件夹选中这个选项,则会弹出一个对话框列出修改过的文件,提供了更多" "的差异比较选项。请参考比较版本对话框获得详情: 。" #. (para) #: ../source/TortoiseGit_en.xml:5761 #, fuzzy msgid "" "Blame the two revisions and compare the blame reports using a visual " "difference tool. Read for more " "detail." msgstr "" "评审两个版本,并使用差异比较工作比较结果。详情请参考 。" #. (para) #: ../source/TortoiseGit_en.xml:5768 msgid "" "View the differences between the two selected revisions as a Unified-Diff " "file. This works for files and folders." msgstr "使用单一差异文件显示差异。这对文件和文件夹都有效。" #. (para) #: ../source/TortoiseGit_en.xml:5774 msgid "Copy log messages to clipboard as described above." msgstr "如前所述将日志消息复制到剪贴板。" #. (para) #: ../source/TortoiseGit_en.xml:5779 msgid "Search log messages as described above." msgstr "如前所述可以搜索日志消息。" #. (para) #: ../source/TortoiseGit_en.xml:5785 #, fuzzy msgid "" "If you select two or more revisions (using the usual Ctrl or " "Shift modifiers), the context menu will include an entry to " "Revert all changes which were made in the selected revisions. This is the " "easiest way to rollback a group of revisions in one go." msgstr "" "如果你用CtrlShift组合键选择了多个连续的版" "本,右键菜单将有一个选项,可以让你还原这些版本中的修改。这是一次性还原多个版本" "中修改的最简方法。" #. (para) #: ../source/TortoiseGit_en.xml:5792 msgid "" "You can also choose to merge the selected revisions to another working copy, " "as described above." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:5796 msgid "" " The bottom pane of the Log dialog also has a context menu " "that allows you to " msgstr "" " 日志对话框的底部面板也有右键菜单,你可以: " #. (title) #: ../source/TortoiseGit_en.xml:5798 msgid "The Log Dialog Bottom Pane with Context Menu" msgstr "日志对话框的底部面板的右键菜单" #. (para) #: ../source/TortoiseGit_en.xml:5804 #, fuzzy msgid "" "Show changes made in the selected revision for the selected file. This " "context menu is only available for files shown as modified." msgstr "" "显示选中版本中的选中文件的差异。这个操作只对显示为已修改的" "文件有效。" #. (para) #: ../source/TortoiseGit_en.xml:5811 #, fuzzy msgid "" "Blame the selected revision and the previous revision for the selected file, " "and compare the blame reports using a visual diff tool. Read for more detail." msgstr "" "评审选中文件的选中版本与前一个版本,使用可视化差异工具显示差异。详情请参阅" " 。" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:5819 ../source/TortoiseGit_en.xml:9548 msgid "" "Open the selected file, either with the default viewer for that file type, or " "with a program you choose." msgstr "用默认查看器或你指定的程序打开选中文件的选中版本。" #. (para) #: ../source/TortoiseGit_en.xml:5825 msgid "Revert the changes made to the selected file in that revision." msgstr "还原选中文件的选中版本所作的变更。" #. (para) #: ../source/TortoiseGit_en.xml:5830 msgid "View the Git properties for the selected item." msgstr "查看选中项的Git属性。" #. (para) #: ../source/TortoiseGit_en.xml:5835 msgid "Show the revision log for the selected single file." msgstr "显示选中的单个文件的版本日志。" #. (para) #: ../source/TortoiseGit_en.xml:5840 msgid "" "Save the selected revision to a file so you have an older version of that " "file." msgstr "将选中的版本保存成文件,你可以得到一份该文件的旧版本。" #. (para) #: ../source/TortoiseGit_en.xml:5848 msgid "" "You may notice that sometimes we refer to changes and other times to " "differences. What's the difference?" msgstr "你可能会注意到,我们有时候说改变,有时候说差异。它们的区别在哪儿?" #. (para) #: ../source/TortoiseGit_en.xml:5852 #, fuzzy msgid "" "Git uses revision numbers to mean 2 different things. A revision " "generally represents the state of the repository at a point in time, but it " "can also be used to represent the changeset which created that revision, eg. " "Done in r1234 means that the changes committed in r1234 " "implement feature X. To make it clearer which sense is being used, we use two " "different terms." msgstr "" "Git 使用版本号表达两个意思。版本号通常意味着版本库在那个时间的状态,也" "用来表达那个版本创建的结果集,例如 “r1234 所做” 意味着 r1234 版本提交的改变实" "现了特性 X。为了能更清晰的知道使用了哪个语义,我们使用两个不同的术语。" #. (para) #: ../source/TortoiseGit_en.xml:5861 msgid "" "If you select two revisions N and M, the context menu will offer to show the " "difference between those two revisions. In Git " "terms this is diff -r M:N." msgstr "" "如果你选择了两个版本 N 和 M,上下文菜单会显示这两个版本的差异。用 Git 术语说,就是diff -r M:N。" #. (para) #: ../source/TortoiseGit_en.xml:5867 msgid "" "If you select a single revision N, the context menu will offer to show the " "changes made in that revision. In Git terms this " "is diff -r N-1:N or diff -c N." msgstr "" "如果你选择了一个版本 N,上下文菜单会显示这个版本的改变。" "用 Git 术语说,就是diff -r N-1:Ndiff -" "c N。" #. (para) #: ../source/TortoiseGit_en.xml:5873 #, fuzzy msgid "" "The bottom pane shows the files changed in all selected revisions, so the " "context menu always offers to show changes." msgstr "" "显示选中版本中的选中文件的差异。这个操作只对显示为已修改的" "文件有效。" #. (title) #: ../source/TortoiseGit_en.xml:5880 msgid "Getting more log messages" msgstr "获取更多的日志信息" #. (para) #: ../source/TortoiseGit_en.xml:5881 msgid "" "The Log dialog does not always show all changes ever made for a number of " "reasons: " msgstr "" "日志对话框并不总是显示所有曾经的修改,日志不显示的可能原因如下: " #. (para) #: ../source/TortoiseGit_en.xml:5886 #, fuzzy msgid "" "For a large repository there may be hundreds or even thousands of changes and " "fetching them all could take a long time. Normally you are only interested in " "the more recent changes. By default, the number of log messages fetched is " "limited to 100, but you can change this value in " "TortoiseGitSettings ()," msgstr "" "对于一个大的库,可能存在几百上千个改动,全部得到它们可能要花上很久的时间。通常" "你只关心最近的修改。默认情况下,日志消息限制只获取100条,但你可以在" "TortoiseGit设置中修改这个值 ()," #. (para) #: ../source/TortoiseGit_en.xml:5901 msgid "" "When the Stop on copy/rename box is checked, Show Log " "will stop at the point that the selected file or folder was copied from " "somewhere else within the repository. This can be useful when looking at " "branches (or tags) as it stops at the root of that branch, and gives a quick " "indication of changes made in that branch only." msgstr "" "当复制/重命名时停止复选框被选中时, 如果选中的文件或文件" "夹是从版本库中的其他地方复制而来的,显示日志将停止在该点。这对于查看分支(或标" "记)时很有用,因为它会停在分支的根节点上,可以快速查看该分支的修改。" #. (para) #: ../source/TortoiseGit_en.xml:5910 msgid "" "Normally you will want to leave this option unchecked. TortoiseGit remembers " "the state of the checkbox, so it will respect your preference." msgstr "一般情况下你可以不要勾选它。 TortoiseGit会记住它的状态,以改进性能。" #. (para) #: ../source/TortoiseGit_en.xml:5915 msgid "" "When the Show Log dialog is invoked from within the Merge dialog, the box is " "always checked by default. This is because merging is most often looking at " "changes on branches, and going back beyond the root of the branch does not " "make sense in that instance." msgstr "" "如果你在从合并对话框中调用的显示日志对话框,那么这个复选框默认将总是选中的。这" "是由于合并通常都是查看分支中的修改, 获取分支的根之前的日志在这种情况下通常没" "有什么意义。" #. (para) #: ../source/TortoiseGit_en.xml:5922 msgid "" "Note that Git currently implements renaming as a copy/delete pair, so " "renaming a file or folder will also cause the log display to stop if this " "option is checked." msgstr "" "注意,Git当前是用复制/删除来实现重命名的,所以重命名一个文件或文件夹也" "会造成日志显示停止(如果选择了复制/重命名时停止)在该点。" #. (para) #: ../source/TortoiseGit_en.xml:5931 msgid "" "If you want to see more log messages, click the Next 100 to retrieve the next 100 log messages. You can repeat this as many " "times as needed." msgstr "" "如果你要查看更多的日志信息,点击下100个,以获取下100个" "日志信息。如果有需要你可以多次重复这个操作。" #. (para) #: ../source/TortoiseGit_en.xml:5936 msgid "" "Next to this button there is a multi-function button which remembers the last " "option you used it for. Click on the arrow to see the other options offered." msgstr "" "这个按钮旁边的是一个多功能按钮,它可以记住上一次你要它进行的操作。点击它上面的" "箭头,可以看到更多的选项。" #. (para) #: ../source/TortoiseGit_en.xml:5941 msgid "" "Use Show Range ... if you want to view a specific " "range of revisions. A dialog will then prompt you to enter the start and end " "revision." msgstr "" "如果你要查询指定范围的版本,使用显示范围 ...。这会出现" "一个对话框,要求输入开始和结束的版本。" #. (para) #: ../source/TortoiseGit_en.xml:5946 msgid "" "Use Show All if you want to see all log messages from HEAD right back to revision 1." msgstr "" "如果你要查询从最新版本直到版本1的所有的日志消息,使用" "显示所有。" #. (title) #: ../source/TortoiseGit_en.xml:5952 msgid "Current Working Copy Revision" msgstr "当前工作副本的版本" #. (para) #: ../source/TortoiseGit_en.xml:5953 msgid "" "Because the log dialog shows you the log from HEAD, not from the current " "working copy revision, it often happens that there are log messages shown for " "content which has not yet been updated in your working copy. To help make " "this clearer, the commit message which corresponds to the revision you have " "in your working copy is shown in bold." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:5961 msgid "" "By default this only works for files. This is because the update revision for " "a folder may not correspond to the update revision of its content, and the " "only way to find the effective update revision for the folder is to crawl the " "working copy. This can be a slow operation for large working copies so if you " "want to enable this feature you must create a DWORD " "registry key with value 1 at HKCU\\Software\\TortoiseGit" "\\RecursiveLogRev." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:5973 msgid "Merge Tracking Features" msgstr "合并跟踪特性" #. (primary) #: ../source/TortoiseGit_en.xml:5975 msgid "merge tracking log" msgstr "合并跟踪记录" #. (para) #: ../source/TortoiseGit_en.xml:5977 msgid "" "Git 1.5 and later keeps a record of merges using properties. This " "allows us to get a more detailed history of merged changes. For example, if " "you develop a new feature on a branch and then merge that branch back to " "trunk, the feature development will show up on the trunk log as a single " "commit for the merge, even though there may have been 1000 commits during " "branch development." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:5986 msgid "The Log Dialog Showing Merge Tracking Revisions" msgstr "日志对话框显示合并跟踪版本" #. (para) #: ../source/TortoiseGit_en.xml:5989 msgid "" "If you want to see the detail of which revisions were merged as part of that " "commit, use the Include merged revisions checkbox. This " "will fetch the log messages again, but will also interleave the log messages " "from revisions which were merged. Merged revisions are shown in grey because " "they represent changes made on a different part of the tree." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:5997 msgid "" "Of course, merging is never simple! During feature development on the branch " "there will probably be occasional merges back from trunk to keep the branch " "in sync with the main line code. So the merge history of the branch will also " "include another layer of merge history. These different layers are shown in " "the log dialog using indentation levels." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:6007 msgid "Changing the Log Message and Author" msgstr "修改日志消息和作者" #. (primary) #: ../source/TortoiseGit_en.xml:6009 msgid "edit log/author" msgstr "编辑日志/作者" #. (para) #: ../source/TortoiseGit_en.xml:6011 msgid "" "Sometimes you might want to change a log message you once entered, maybe " "because there's a spelling error in it or you want to improve the message or " "change it for other reasons. Or you want to change the author of the commit " "because you forgot to set up authentication or..." msgstr "" "有时你可能想要修改你曾经输入的日志消息,也许是因为有拼写错误或是你想改进消息内" "容,或是其他别的原因。偶尔你还想修改提交者,可能是你忘了设置认证等原因。" #. (para) #: ../source/TortoiseGit_en.xml:6018 #, fuzzy msgid "" "Git lets you change both the log message and the author of revisions " "any time you want. But since such changes can't be undone (those changes are " "not versioned) this feature is disabled by default. To make this work, you " "must set up a pre-revprop-change hook. Please refer to the chapter on Hook Scripts in the " "Git Book for details about how to do that. Read to find some further notes on implementing hooks on a " "Windows machine." msgstr "" "Git允许你在任何时候修改日志消息和作者。但这种改变不可还原(不在版本控制" "之下),正因如此,这些功能默认是不可用的,如果要开启它,必须设置一个pre-" "revprop-change钩子。具体如何做,请参考《使用 Git 进行版本管理》的相关章" "节钩子脚本。在Windows机器上实现钩子的注意事项" "请阅读。" #. (para) #: ../source/TortoiseGit_en.xml:6031 #, fuzzy msgid "" "Once you've set up your server with the required hooks, you can change both " "author and log message of any revision, using the context menu from the top " "pane of the Log dialog. You can also edit a log message using the context " "menu for the middle pane." msgstr "" "一旦你按需要为服务器设置了钩子,你就可以使用日志对话框顶部面板的右键菜单来修改" "任意版本的作者和日志信息了。" #. (para) #: ../source/TortoiseGit_en.xml:6038 msgid "" "Because Git's revision properties are not versioned, making " "modifications to such a property (for example, the svn:log " "commit message property) will overwrite the previous value of that property " "forever." msgstr "" "由于Git的版本属性不受版本控制,对于这种属性的修改(如 svn:log提交信息属性将永久覆盖该属性之前的值。" #. (title) #: ../source/TortoiseGit_en.xml:6048 msgid "Filtering Log Messages" msgstr "过滤日志信息" #. (primary) #: ../source/TortoiseGit_en.xml:6050 msgid "filter" msgstr "过滤器" #. (para) #: ../source/TortoiseGit_en.xml:6052 msgid "" "If you want to restrict the log messages to show only those you are " "interested in rather than scrolling through a list of hundreds, you can use " "the filter controls at the top of the Log Dialog. The start and end date " "controls allow you to restrict the output to a known date range. The search " "box allows you to show only messages which contain a particular phrase." msgstr "" "如果你只想要显示上千条日志中你所感兴趣的日志,你可以使用日志对话框顶部的过滤器" "控件。开始和结束日期控件允许你查看指定日期范围内的输出。查找框帮你查出含有指定" "内容的信息。" #. (para) #: ../source/TortoiseGit_en.xml:6061 msgid "" "Click on the search icon to select which information you want to search in, " "and to choose regex mode. Normally you will only need a " "simple text search, but if you need to more flexible search terms, you can " "use regular expressions. If you hover the mouse over the box, a tooltip will " "give hints on how to use the regex functions. You can also find online " "documentation and a tutorial at http://www.regular-expressions.info/." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:6073 msgid "" "Note that these filters act on the messages already retrieved. They do not " "control downloading of messages from the repository." msgstr "" "要注意的是,这些过滤器只对已经获取的信息有效。它们并不从版本库中下载信息。" #. (para) #: ../source/TortoiseGit_en.xml:6077 #, fuzzy msgid "" "You can also filter the path names in the bottom pane using the " "Hide unrelated changed paths checkbox. Related paths are " "those which contain the path used to display the log. If you fetch the log " "for a folder, that means anything in that folder or below it. For a file it " "means just that one file. The checkbox is tristate: you can show all paths, " "grey out the unrelated ones, or hide the unrelated paths completely." msgstr "" "你还可以使用隐藏无关的修改路径 复选框来过滤底部面板中的路" "径名称。所谓相关路径,是指那些与日志相关的路径。对于一个文件夹的日志来说,相关" "路径就是该文件夹以其下的所有内容。对于一个文件的日志来说,相关路径就是与该文件" "的路径。该复选框是3态的: 可以显示所有的路径,将无关的内容灰色显示,或是完全隐" "藏无关路径。" #. (para) #: ../source/TortoiseGit_en.xml:6086 msgid "" "Sometimes your working practices will require log messages to follow a " "particular format, which means that the text describing the changes is not " "visible in the abbreviated summary shown in the top pane. The property " "tsvn:logsummary can be used to extract a portion of the " "log message to be shown in the top pane. Read to find out how to use this property." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:6098 msgid "Statistical Information" msgstr "统计信息" #. (primary) #: ../source/TortoiseGit_en.xml:6100 msgid "statistics" msgstr "统计" #. (para) #: ../source/TortoiseGit_en.xml:6102 msgid "" "The Statistics button brings up a box showing some " "interesting information about the revisions shown in the Log dialog. This " "shows how many authors have been at work, how many commits they have made, " "progress by week, and much more. Now you can see at a glance who has been " "working hardest and who is slacking ;-)" msgstr "" "统计按扭,可以显示一些你感兴趣的关于日志对话框中版本的" "信息。可以显示已经有几个作者做了工作,他们各提交了几次,按周的统计,等等。现" "在,你可以发现一个大概情况: 谁最勤快,谁偷懒。;-)" #. (title) #: ../source/TortoiseGit_en.xml:6111 msgid "Statistics Page" msgstr "统计页" #. (para) #: ../source/TortoiseGit_en.xml:6112 msgid "" "This page gives you all the numbers you can think of, in particular the " "period and number of revisions covered, and some min/max/average values." msgstr "" "此页可以提供所有你可以想到的数据,特别是周期和包括的版本数,还有一些最大/最小/" "平均值。" #. (title) #: ../source/TortoiseGit_en.xml:6119 msgid "Commits by Author Page" msgstr "作者提交次数统计页" #. (para) #: ../source/TortoiseGit_en.xml:6120 msgid "" " This graph shows you which authors have been active on the " "project as a simple histogram, stacked histogram or pie chart. " msgstr "" "此图用简单柱状图、叠加柱状图或饼图显示了哪些作者已经在项目中活" "跃了。 " #. (title) #: ../source/TortoiseGit_en.xml:6122 msgid "Commits-by-Author Histogram" msgstr "作者提交次数统计柱状图" #. (title) #: ../source/TortoiseGit_en.xml:6129 msgid "Commits-by-Author Pie Chart" msgstr "作者提交次数统计饼图" #. (para) #: ../source/TortoiseGit_en.xml:6133 #, fuzzy msgid "" "Where there are a few major authors and many minor contributors, the number " "of tiny segments can make the graph more difficult to read. The slider at the " "bottom allows you to set a threshold (as a percentage of total commits) below " "which any activity is grouped into an Others category." msgstr "" "其中有几个主要作者和许多辅助的作者。由于太小的部分会导致图形难于阅读,所以在底" "部有个滑动条,可以设置一个范围(占所有提交的百分比),在这个范围下的所有行为都整" "合成其他类。" #. (title) #: ../source/TortoiseGit_en.xml:6142 msgid "Commits by date Page" msgstr "按日期提交统计页" #. (para) #: ../source/TortoiseGit_en.xml:6143 msgid "" " This page gives you a graphical representation of project " "activity in terms of number of commits and author. This " "gives some idea of when a project is being worked on, and who was working at " "which time." msgstr "" "本页图示了以提交次数作者作为条件的项目" "行为统计。这里可以看出项目什么时候有人在工作,以及什么人在什么时候进行了工作。" #. (title) #: ../source/TortoiseGit_en.xml:6145 msgid "Commits-by-date Graph" msgstr "按日期提交统计图" #. (para) #: ../source/TortoiseGit_en.xml:6153 msgid "" "When there are several authors, you will get many lines on the graph. There " "are two views available here: normal, where each " "author's activity is relative to the base line, and stacked, where each author's activity is relative to the line underneath. " "The latter option avoids the lines crossing over, which can make the graph " "easier to read, but less easy to see one author's output." msgstr "" "如果有多个作者,你就会在图中看到多行。有两种视图可用正常,在这里,每个作者的行为都相对于基线;叠加,在这" "里每个作者的行为是相对于他的下面那条线。后一种视图避免了线的交叉,对于图来说更" "明了,但对查看一个作者的输出比较不直观。" #. (para) #: ../source/TortoiseGit_en.xml:6163 #, fuzzy msgid "" "By default the analysis is case-sensitive, so users PeterEgan and PeteRegan are treated as different authors. " "However, in many cases user names are not case-sensitive, and are sometimes " "entered inconsistently, so you may want DavidMorgan and " "davidmorgan to be treated as the same person. Use the " "Authors case insensitive checkbox to control how this is " "handled." msgstr "" "默认统计是区别大小写的,也就是说用户PeterEgan与" "PeteRegan被认为是两个不同的作者。但在多数时候用户名并不区别" "大小写,有时会存在不一致,所以你可能希望PeterEgan和" "PeteRegan能被当成是同一个作者。使用作者不区分大小" "写复选框来控制。" #. (para) #: ../source/TortoiseGit_en.xml:6173 msgid "" "Note that the statistics cover the same period as the Log dialog. If that is " "only displaying one revision then the statistics will not tell you very much." msgstr "" "注意,统计只包括了日志对话框中的那段时期。如果日志对话框中只显示一个版本,那么" "统计就没有什么意义了。" #. (title) #: ../source/TortoiseGit_en.xml:6181 msgid "Offline Mode" msgstr "离线方式" #. (para) #: ../source/TortoiseGit_en.xml:6182 msgid "" "If the server is not reachable, and you have log caching enabled you can use " "the log dialog and revision graph in offline mode. This uses data from the " "cache, which allows you to continue working although the information may not " "be up-to-date or even complete." msgstr "" #. (title) #. (title) #: ../source/TortoiseGit_en.xml:6190 ../source/TortoiseGit_en.xml:9965 msgid "Refreshing the View" msgstr "刷新视图" #. (para) #: ../source/TortoiseGit_en.xml:6191 msgid "" "If you want to check the server again for newer log messages, you can simply " "refresh the view using F5. If you are using the log cache " "(enabled by default), this will check the repository for newer messages and " "fetch only the new ones. If the log cache was in offline mode, this will also " "attempt to go back online." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:6199 msgid "" "If you are using the log cache and you think the message content or author " "may have changed, you can use Shift-F5 or Ctrl-F5 to re-fetch the displayed messages from the server and update the log " "cache. Note that this only affects messages currently shown and does not " "invalidate the entire cache for that repository." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:6210 msgid "Viewing Differences" msgstr "查看差异" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:6212 ../source/TortoiseGit_en.xml:9139 msgid "diff" msgstr "比较" #. (primary) #: ../source/TortoiseGit_en.xml:6215 msgid "compare" msgstr "比较" #. (para) #: ../source/TortoiseGit_en.xml:6217 #, fuzzy msgid "" "One of the commonest requirements in project development is to see what has " "changed. You might want to look at the differences between two revisions of " "the same file, or the differences between two separate files. TortoiseGit " "provides a built-in tool named TortoiseMerge for " "viewing differences of text files. For viewing differences of image files, " "TortoiseGit also has a tool named TortoiseIDiff. " "Of course, you can use your own favourite diff program if you like." msgstr "" "在项目开发中,有一个很常用的要求就是查看更改。可能是你要求查看同一文件的两个版" "本之间的差异,或者是查看两个独立的文件的差异。TortoiseGit自带了一个工具叫" "TortoiseMerge用来查看文本文件的差异。也有一个叫" "TortoiseIDiff的工具来比较图像文件的差异。当然,你可" "以根据你自己的喜好来选择比较差异的工具。" #. (title) #: ../source/TortoiseGit_en.xml:6231 msgid "File Differences" msgstr "文件差异" #. (term) #: ../source/TortoiseGit_en.xml:6234 msgid "Local changes" msgstr "本地修改" #. (para) #: ../source/TortoiseGit_en.xml:6236 msgid "" "If you want to see what changes you have made in your " "working copy, just use the explorer context menu and select " "TortoiseGitDiff." msgstr "" "如果你想看到你的本地副本有哪些更加,只用在资源管理器中右键菜单下选" "TortoiseGit比较差异。" #. (term) #: ../source/TortoiseGit_en.xml:6248 msgid "Difference to another branch/tag" msgstr "与另外一个分支/标签之间的差异" #. (para) #: ../source/TortoiseGit_en.xml:6250 msgid "" "If you want to see what has changed on trunk (if you are working on a branch) " "or on a specific branch (if you are working on trunk), you can use the " "explorer context menu. Just hold down the Shift key while " "you right click on the file. Then select TortoiseGitDiff with URL. In the " "following dialog, specify the URL in the repository with which you want to " "compare your local file to." msgstr "" "如果你想查看主干程序(假如你在分支上开发)有哪些修改或者是某一分支(假如你在主干" "上开发)有哪些修改,你可以使用右键菜单。在你点击文件的同时按住Shift键,然后选择TortoiseGit URL" "比较。在弹出的对话框中,将特别显示将与你本地版本做" "比较的版本的URL地址。" #. (para) #: ../source/TortoiseGit_en.xml:6263 msgid "" "You can also use the repository browser and select two trees to diff, perhaps " "two tags, or a branch/tag and trunk. The context menu there allows you to " "compare them using Compare revisions. Read more in " "." msgstr "" "你还可以使用版本库浏览器,选择两个目录树比较,也许是两个标记,或者是分支/标记" "和最新版本。邮件菜单允许你使用比较版本来比较它们。" "阅读以便获得更多信息。" #. (term) #: ../source/TortoiseGit_en.xml:6273 msgid "Difference from a previous revision" msgstr "与历史版本的比较差异" #. (para) #: ../source/TortoiseGit_en.xml:6275 msgid "" "If you want to see the difference between a particular revision and your " "working copy, use the Revision Log dialog, select the revision of interest, " "then select Compare with working copy from the " "context menu." msgstr "" "如果你想查看某一特定版本与本地副本之间的差异,使用显示日志对话框,选择要比较的" "版本,然后选择在右键菜单中选与本地副本比较差异" #. (para) #: ../source/TortoiseGit_en.xml:6282 msgid "" "If you want to see the difference between the last committed revision and " "your working copy, assuming that the working copy hasn't been modified, just " "right click on the file. Then select TortoiseGitDiff with previous version. " "This will perform a diff between the revision before the last-commit-date (as " "recorded in your working copy) and the working BASE. This shows you the last " "change made to that file to bring it to the state you now see in your working " "copy. It will not show changes newer than your working copy." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:6299 msgid "Difference between two previous revisions" msgstr "两个历史版本的比较" #. (para) #: ../source/TortoiseGit_en.xml:6301 msgid "" "If you want to see the difference between two revisions which are already " "committed, use the Revision Log dialog and select the two revisions you want " "to compare (using the usual Ctrl-modifier). Then select " "Compare revisions from the context menu." msgstr "" "如果你要查看任意已提交的两个历史版本之间的差异,在版本日志对话框中选择你要比较" "的两个版本(一般使用 Ctrl-更改),然后在右键菜单中选" "比较版本差异" #. (para) #: ../source/TortoiseGit_en.xml:6309 msgid "" "If you did this from the revision log for a folder, a Compare Revisions " "dialog appears, showing a list of changed files in that folder. Read more in " "." msgstr "" "如果你在文件夹的版本日志中这样做,就会出现一个比较版本对话框,显示此文件夹的文" "件修改列表。阅读以便获得更多信息。" #. (term) #: ../source/TortoiseGit_en.xml:6318 msgid "All changes made in a commit" msgstr "提交所有修改" #. (para) #: ../source/TortoiseGit_en.xml:6320 msgid "" "If you want to see the changes made to all files in a particular revision in " "one view, you can use Unified-Diff output (GNU patch format). This shows only " "the differences with a few lines of context. It is harder to read than a " "visual file compare, but will show all the changes together. From the " "Revision Log dialog select the revision of interest, then select " "Show Differences as Unified-Diff from the context " "menu." msgstr "" "如果你要在一个视窗中查看某一版本的所有更改,你可以使用统一显示所有比较 (GNU 片" "段整理)。它将显示所有修改中的部分内容。它很难显示一个全面清晰的比较,但是会将" "所有更改都集中显示出来。在版本日志对话框中选择某一版本,然后在右键菜单中选择" "统一显示所有比较。" #. (term) #: ../source/TortoiseGit_en.xml:6334 msgid "Difference between files" msgstr "文件差异" #. (para) #: ../source/TortoiseGit_en.xml:6336 msgid "" "If you want to see the differences between two different files, you can do " "that directly in explorer by selecting both files (using the usual " "Ctrl-modifier). Then from the explorer context menu select " "TortoiseGitDiff." msgstr "" "如果你要查看两个不同文件之间的差异,你可以直接在资源管理器中选择这两个文件(一" "般使用 Ctrl-modifier),然后右键菜单中选" "TortoiseGit比较差异。" #. (term) #: ../source/TortoiseGit_en.xml:6349 msgid "Difference between WC file/folder and a URL" msgstr "WC文件/文件夹与URL之间的比较差异" #. (para) #: ../source/TortoiseGit_en.xml:6351 #, fuzzy msgid "" "If you want to see the differences between a file in your working copy, and a " "file in any Git repository, you can do that directly in explorer by " "selecting the file then holding down the Shift key whilst " "right clicking to obtain the context menu. Select " "TortoiseGitDiff with URL. You can do the same thing for a working copy " "folder. TortoiseMerge shows these differences in the same way as it shows a " "patch file - a list of changed files which you can view one at a time." msgstr "如果你要查看你本地副本中的任一文件与版本库中任一文件之间差异," #. (term) #: ../source/TortoiseGit_en.xml:6369 msgid "Difference with blame information" msgstr "追溯信息之间的比较差异" #. (para) #: ../source/TortoiseGit_en.xml:6371 msgid "" "If you want to see not only the differences but also the author, revision and " "date that changes were made, you can combine the diff and blame reports from " "within the revision log dialog. Read " "for more detail." msgstr "" "如果你要查看的不仅是比较差异而且包括修改该版本的作者,版本号和日期,你可以在版" "本日志对话框中综合比较差异和谴责信息。这里有更多详细介绍。" #. (term) #: ../source/TortoiseGit_en.xml:6380 msgid "Difference between folders" msgstr "比较文件夹差异" #. (para) #: ../source/TortoiseGit_en.xml:6382 msgid "" "The built-in tools supplied with TortoiseGit do not support viewing " "differences between directory hierarchies. But if you have an external tool " "which does support that feature, you can use that instead. In we tell you about some tools which we have used." msgstr "" "TortoiseGit 自带的内置工具不支持查看多级目录之间的差异,但你可以使用支持该功能" "的外置工具来替代。在 介绍了一些我们使" "用过的工具。" #. (para) #: ../source/TortoiseGit_en.xml:6392 msgid "" "If you have configured a third party diff tool, you can use Shift when selecting the Diff command to use the alternate tool. Read to find out about configuring other " "diff tools." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:6401 msgid "Line-end and Whitespace Options" msgstr "行结束符和空白选项" #. (para) #: ../source/TortoiseGit_en.xml:6402 msgid "" "Sometimes in the life of a project you might change the line endings from " "CRLF to LF, or you may change the " "indentation of a section. Unfortunately this will mark a large number of " "lines as changed, even though there is no change to the meaning of the code. " "The options here will help to manage these changes when it comes to comparing " "and applying differences. You will see these settings in the Merge and Blame dialogs, as well as in the settings " "for TortoiseMerge." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:6413 msgid "" "Ignore line endings excludes changes which are due " "solely to difference in line-end style." msgstr "忽略行结束符排除仅行结束符的差异。" #. (para) #: ../source/TortoiseGit_en.xml:6417 msgid "" "Compare whitespaces includes all changes in indentation " "and inline whitespace as added/removed lines." msgstr "" "比较空白将所有缩进和行内空白差异视为增加/删除的行。" #. (para) #: ../source/TortoiseGit_en.xml:6422 msgid "" "Ignore whitespace changes excludes changes which are due " "solely to a change in the amount or type of whitespace, eg. changing the " "indentation or changing tabs to spaces. Adding whitespace where there was " "none before, or removing a whitespace completely is still shown as a change." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:6430 msgid "" "Ignore all whitespaces excludes all whitespace-only " "changes." msgstr "忽略所有空白排除仅空白改变的差异。" #. (para) #: ../source/TortoiseGit_en.xml:6434 msgid "Naturally, any line with changed content is always included in the diff." msgstr "自然的,任何已经修改内容的行永远都包含在差异中。" #. (title) #: ../source/TortoiseGit_en.xml:6440 msgid "Comparing Folders" msgstr "比较文件夹" #. (primary) #: ../source/TortoiseGit_en.xml:6442 msgid "compare revisions" msgstr "比较两个修订版本" #. (primary) #: ../source/TortoiseGit_en.xml:6445 msgid "export changes" msgstr "导出修改" #. (para) #: ../source/TortoiseGit_en.xml:6447 msgid "" " When you select two trees within the repository browser, or " "when you select two revisions of a folder in the log dialog, you can " "Context menuCompare revisions." msgstr "" " 当你在版本库浏览器中选择了两个树,或者在日志对话框中选择了一" "个文件夹的两个版本,就可以使用上下文菜单比较版本。" #. (title) #: ../source/TortoiseGit_en.xml:6449 msgid "The Compare Revisions Dialog" msgstr "修订版本版本比较对话框" #. (para) #: ../source/TortoiseGit_en.xml:6459 msgid "" "This dialog shows a list of all files which have changed and allows you to " "compare or blame them individually using context menu." msgstr "" "这个对话框显示一个所有已经修改的文件列表,允许你使用邮件菜单单独的比较或回溯它" "们。" #. (para) #: ../source/TortoiseGit_en.xml:6463 msgid "" "You can also export the list of changed files to a text file, or you can " "export the changed files themselves to a folder. This operation works on the " "selected files only, so you need to select the files of interest - usually " "that means all of them." msgstr "" "你也可以将已经修改的文件列表导出到一个文本文件中,或者将修改的文件导出到一个目" "录。这个操作只在选择的文件上工作,所以你需要选择感兴趣的文件 - 通常是所有文" "件。" #. (para) #: ../source/TortoiseGit_en.xml:6469 #, fuzzy msgid "" "If you want to export the list of files and the actions " "(modified, added, deleted) as well, you can do that using the keyboard " "shortcuts Ctrl-A to select all entries and Ctrl-C to copy the detailed list to the clipboard." msgstr "" "如果你需要导出文件列表和动作(修改,增加,删除),你可以" "使用快捷键Ctrl-A选择所有项,用Ctrl-C将详细列" "表复制到剪贴板。" #. (para) #: ../source/TortoiseGit_en.xml:6475 msgid "" "The button at the top allows you to change the direction of comparison. You " "can show the changes need to get from A to B, or if you prefer, from B to A." msgstr "" "顶部的按钮允许你改变比较的方向。你可以显示从A到B的修改,或者如果你喜欢,显示从" "B到A的修改。" #. (para) #: ../source/TortoiseGit_en.xml:6480 msgid "" "The buttons with the revision numbers on can be used to change to a different " "revision range. When you change the range, the list of items which differ " "between the two revisions will be updated automatically." msgstr "" "有版本数字的按钮可以用来改变版本范围。当你改变范围时,两个版本不同的项目列表会" "自动更新。" #. (para) #: ../source/TortoiseGit_en.xml:6485 msgid "" "If the list of filenames is very long, you can use the search box to reduce " "the list to filenames containing specific text. Note that a simple text " "search is used, so if you want to restrict the list to C source files you " "should enter .c rather than *.c." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:6494 msgid "Diffing Images Using TortoiseIDiff" msgstr "使用 TortoiseIDiff 进行比较的图像" #. (primary) #: ../source/TortoiseGit_en.xml:6496 msgid "image diff" msgstr "图像比较" #. (primary) #: ../source/TortoiseGit_en.xml:6499 msgid "TortoiseIDiff" msgstr "TortoiseIDiff" #. (para) #: ../source/TortoiseGit_en.xml:6501 msgid "" "There are many tools available for diffing text files, including our own " "TortoiseMerge, but we often find ourselves wanting to see how an image file " "has changed too. That's why we created TortoiseIDiff." msgstr "" "我们有许多有用的比较文本文件的工具,包括我们自带的TortoiseMerge,但是我们也需" "要查看图像文件的更改。这就是我们设计TortoiseIDiff的原因。" #. (para) #: ../source/TortoiseGit_en.xml:6506 msgid "" "TortoiseGitDiff for any of the common image file formats will start " "TortoiseIDiff to show image differences. By default the images are displayed " "side-by-side but you can use the View menu or toolbar to switch to a top-" "bottom view instead, or if you prefer, you can overlay the images and pretend " "you are using a lightbox." msgstr "" "TortoiseGit比较差" "异 会启动 TortoiseIDiff 显示常用格式的图像差异。一" "般情况下是左右对称地显示两个图像,但你也可以通过视图菜单或者工具栏切换为上下显" "示的模式,或者如果你愿意,也可以重叠显示图像。" #. (title) #: ../source/TortoiseGit_en.xml:6508 msgid "The image difference viewer" msgstr "差异察看器截图" #. (para) #: ../source/TortoiseGit_en.xml:6521 #, fuzzy msgid "" "Naturally you can also zoom in and out and pan around the image. You can also " "pan the image simply by left-dragging it. If you select the Link " "images together option, then the pan controls (scrollbars, " "mousewheel) on both images are linked." msgstr "" "当然你也可以放大和缩小,或者拉伸图像。你也可以简单的通过左拖组合图像。如果你选" "择连接图像,则被选择(滑动条,鼠标)的两个图像就被关联起" "来。" #. (para) #: ../source/TortoiseGit_en.xml:6527 #, fuzzy msgid "" "An image info box shows details about the image file, such as the size in " "pixels, resolution and colour depth. If this box gets in the way, use " "ViewImage Info to hide it. You can get the same information in a tooltip if you " "hover the mouse over the image title bar." msgstr "" "在图像信息框中显示了图像的基本信息,比如像素的大小,颜色的深度。如果觉得这个框" "碍眼可以选择视图图像信息来隐藏它" #. (para) #: ../source/TortoiseGit_en.xml:6539 #, fuzzy msgid "" "When the images are overlaid, the relative intensity of the images (alpha " "blend) is controlled by a slider control at the left side. You can click " "anywhere in the slider to set the blend directly, or you can drag the slider " "to change the blend interactively. Ctrl+Shift-Wheel to change the blend." msgstr "" "当图像重载时,其亮度(alpha 混合)由左边的滑杆控制。你可以在滑杆的任意地方点击," "直接设置混合参数,或者通过拖曳滑板来交互改变。Ctrl-Shift-Wheel也可以改变混合。" #. (para) #: ../source/TortoiseGit_en.xml:6546 msgid "" "The button above the slider toggles between two preset blends, indicated by " "the markers on either side of the blend slider. By default one is at the top " "and the other at the bottom, so the toggle button just switches between one " "image and the other. You can move the markers to choose the two blend values " "that the toggle button will use." msgstr "" "滑杆上部的按钮在两个混合展现之间切换,它标记了混合滑杆控制哪边。默认一个在顶" "部,另一个在底部,所以切换按钮只是在一个图像与另一个之间转换。你可以移动标记选" "择切换按钮使用哪个混合值。" #. (para) #: ../source/TortoiseGit_en.xml:6553 msgid "" "Sometimes you want to see a difference rather than a blend. You might have " "the image files for two revisions of a printed circuit board and want to see " "which tracks have changed. If you disable alpha blend mode, the difference " "will be shown as an XOR of the pixel colour values. " "Unchanged areas will be plain white and changes will be coloured." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:6563 msgid "External Diff/Merge Tools" msgstr "其他的比较/合并工具" #. (primary) #: ../source/TortoiseGit_en.xml:6565 msgid "diff tools" msgstr "差异比较工具" #. (primary) #: ../source/TortoiseGit_en.xml:6568 msgid "merge tools" msgstr "合并工具" #. (para) #: ../source/TortoiseGit_en.xml:6570 msgid "" "If the tools we provide don't do what you need, try one of the many open-" "source or commercial programs available. Everyone has their own favourites, " "and this list is by no means complete, but here are a few that you might " "consider:" msgstr "" "如果我们提供的这些工具不是你所需要的,可以尝试使用一些其他开源的或者商业的软" "件。每个人都有不同喜好,下面列表虽不完全,或许有些你也会认可的: " #. (term) #: ../source/TortoiseGit_en.xml:6578 msgid "WinMerge" msgstr "WinMerge" #. (para) #: ../source/TortoiseGit_en.xml:6580 msgid "" "WinMerge is a great open-source diff tool which can also handle " "directories." msgstr "" "WinMergeWinMerge也是一款很好的能处理目录的开源软件。" #. (term) #: ../source/TortoiseGit_en.xml:6590 msgid "Perforce Merge" msgstr "Perforce Merge" #. (para) #: ../source/TortoiseGit_en.xml:6592 msgid "" "Perforce is a commercial RCS, but you can download the diff/merge tool for " "free. Get more information from Perforce." msgstr "" "Perforce 是一款商业 RCS,但是你也可以免费下载到。可以从Perforce获得更多信息。" #. (term) #: ../source/TortoiseGit_en.xml:6602 msgid "KDiff3" msgstr "KDiff3" #. (para) #: ../source/TortoiseGit_en.xml:6604 msgid "" "KDiff3 is a free diff tool which can also handle directories. You can " "download it from here." msgstr "" "KDiff3也是一款能处理目录的免费比较工具。你可以从here下载。" #. (term) #: ../source/TortoiseGit_en.xml:6614 msgid "ExamDiff" msgstr "ExamDiff" #. (para) #: ../source/TortoiseGit_en.xml:6616 msgid "" "ExamDiff Standard is freeware. It can handle files but not directories. " "ExamDiff Pro is shareware and adds a number of goodies including directory " "diff and editing capability. In both flavours, version 3.2 and above can " "handle unicode. You can download them from PrestoSoft." msgstr "" "ExamDiff Standard是免费软件。它能处理文件但不能处理目录。ExamDiff Pro是共享软" "件,拥有一系列的功能包括目录比较和编辑的能力。对于以上体验,3.2及以上版本能处" "理二进制。你可以从PrestoSoft下载它们。" #. (term) #: ../source/TortoiseGit_en.xml:6631 msgid "Beyond Compare" msgstr "Beyond Compare" #. (para) #: ../source/TortoiseGit_en.xml:6633 msgid "" "Similar to ExamDiff Pro, this is an excellent shareware diff tool which can " "handle directory diffs and unicode. Download it from Scooter Software." msgstr "" "和ExamDiff Pro一样,这也是一款很不错的共享软件,同样也能进行目录比较和二进制处" "理。下载地址Scooter " "Software。" #. (term) #: ../source/TortoiseGit_en.xml:6644 msgid "Araxis Merge" msgstr "Araxis Merge" #. (para) #: ../source/TortoiseGit_en.xml:6646 #, fuzzy msgid "" "Araxis Merge is a useful commercial tool for diff and merging both files and " "folders. It does three-way comparison in merges and has synchronization links " "to use if you've changed the order of functions. Download it from Araxis." msgstr "" "Araxis Merge是一款能对文件和文件夹进行比较和合并的商业软件。它从三条比较路径进" "行合并,而且在你修改的同时进行及时有效的链接。可以从这里下载Araxis。" #. (term) #: ../source/TortoiseGit_en.xml:6658 msgid "SciTE" msgstr "SciTE" #. (para) #: ../source/TortoiseGit_en.xml:6660 msgid "" "This text editor includes syntax colouring for unified diffs, making them " "much easier to read. Download it from Scintilla." msgstr "" "这款文本编译器在统一比较时提供语法显示,读起来更加容易。可以从这里下载Scintilla。" #. (term) #: ../source/TortoiseGit_en.xml:6670 msgid "Notepad2" msgstr "Notepad2" #. (para) #: ../source/TortoiseGit_en.xml:6672 msgid "" "Notepad2 is designed as a replacement for the standard Windows Notepad " "program, and is based on the Scintilla open-source edit control. As well as " "being good for viewing unified diffs, it is much better than the Windows " "notepad for most jobs. Download it for free here." msgstr "" "Notepad2的设计旨在替代 Windows自带的记事本的功能,它以开源编译控制为基础。在查" "看统一比较时,它能实现比Windows自带的记事本更多功能。免费下载here。" #. (para) #: ../source/TortoiseGit_en.xml:6685 msgid "" "Read for information on how to " "set up TortoiseGit to use these tools." msgstr "" "这里可以了解到怎样起用TortoiseGit来" "使用这些工具。" #. (title) #: ../source/TortoiseGit_en.xml:6692 msgid "Adding New Files And Directories" msgstr "添加新文件和目录" #. (primary) #: ../source/TortoiseGit_en.xml:6694 msgid "add" msgstr "增加" #. (primary) #: ../source/TortoiseGit_en.xml:6697 msgid "version new files" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:6700 msgid "" " If you created new files and/or directories during your " "development process then you need to add them to source control too. Select " "the file(s) and/or directory and use TortoiseGitAdd." msgstr "" "如果在你的开发过程中你创建了新的文件或目录,那么你需要把他们加" "入你的版本控制中。选择那个文件或目录并使用TortoiseGit添加(Add)." #. (title) #. (title) #: ../source/TortoiseGit_en.xml:6702 ../source/TortoiseGit_en.xml:6882 msgid "Explorer context menu for unversioned files" msgstr "未受版本控制的文件之资源管理器上下文菜单" #. (para) #: ../source/TortoiseGit_en.xml:6714 msgid "" "After you added the files/directories to source control the file appears with " "a added icon overlay which means you first have to commit " "your working copy to make those files/directories available to other " "developers. Adding a file/directory does not affect the " "repository!" msgstr "" "当你添加了指定的文件/目录到版本控制系统之后,这个文件上会出现一个" "added标志,这意味着你得先提交你的工作副本使该文件/目录对其" "他开发者来说成为有效的。添加一个文件/目录不会not影响版本" "库" #. (title) #: ../source/TortoiseGit_en.xml:6723 msgid "Many Adds" msgstr "更多" #. (para) #: ../source/TortoiseGit_en.xml:6724 #, fuzzy msgid "" "You can also use the Add command on already versioned folders. In that case, " "the add dialog will show you all unversioned files inside that versioned " "folder. This helps if you have many new files and need to add them all at " "once." msgstr "" "你也可以在已经版本控制的目录上使用Add命令。那样的话,添加对话框会显示该版本控" "制目录下所有未版本控制的文件。如果你有许多新文件需要一起添加的话,这是很有帮助" "的。" #. (para) #: ../source/TortoiseGit_en.xml:6732 msgid "" "To add files from outside your working copy you can use the drag-and-drop " "handler: " msgstr "你可以使用鼠标拖拽的方式从你的工作副本外部添加进文件。" #. (para) #: ../source/TortoiseGit_en.xml:6737 msgid "select the files you want to add" msgstr "选择你要添加的文件" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:6742 ../source/TortoiseGit_en.xml:7198 msgid "" "right-drag them to the new location inside the working copy" msgstr "拖拽(right-drag)他们到新的工作副本下," #. (para) #. (para) #: ../source/TortoiseGit_en.xml:6748 ../source/TortoiseGit_en.xml:7204 msgid "release the right mouse button" msgstr "松开鼠标右键" #. (para) #: ../source/TortoiseGit_en.xml:6753 msgid "" "select Context MenuSVN Add files " "to this WC. The files will then be copied to the " "working copy and added to version control." msgstr "" "选择上下文菜单SVN 增加文件到工作副" "本。这些文件会被复制到工作副本,加入版本控制。" #. (para) #: ../source/TortoiseGit_en.xml:6765 msgid "" "You can also add files within a working copy simply by left-dragging and " "dropping them onto the commit dialog." msgstr "你可以在工作副本中通过左拖,将文件放到提交对话框中,来增加文件。" #. (para) #: ../source/TortoiseGit_en.xml:6769 #, fuzzy msgid "" "If you add a file or folder by mistake, you can undo the addition before you " "commit using TortoiseGitUndo " "add...." msgstr "" "在工作副本上选择TortoiseGit合并。" #. (title) #: ../source/TortoiseGit_en.xml:6779 #, fuzzy msgid "Copying/Moving/Renaming Files and Folders" msgstr "复制已存在的文件和目录" #. (primary) #: ../source/TortoiseGit_en.xml:6781 msgid "copy files" msgstr "复制文件" #. (primary) #: ../source/TortoiseGit_en.xml:6784 msgid "rename files" msgstr "改名文件" #. (primary) #: ../source/TortoiseGit_en.xml:6787 msgid "move files" msgstr "移动文件" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:6790 ../source/TortoiseGit_en.xml:8019 msgid "branch" msgstr "分支" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:6793 ../source/TortoiseGit_en.xml:8022 msgid "tag" msgstr "标记" #. (para) #: ../source/TortoiseGit_en.xml:6795 msgid "" "It often happens that you already have the files you need in another project " "in your repository, and you simply want to copy them across. You could simply " "copy the files and add them as described above, but that would not give you " "any history. And if you subsequently fix a bug in the original files, you can " "only merge the fix automatically if the new copy is related to the original " "in Git." msgstr "" "经常发生其它项目需要使用某个项目文件的情况,你只想简单的复制它们。你可以使用上" "述方法复制这些文件,然后增加到版本库,但是这种方法不会给你任何历史信息。并且当" "你修改了原始文件的问题后,你只能在那些原始文件与新副本在同一个 Git 版本" "库的情况下自动合并修改。" #. (para) #: ../source/TortoiseGit_en.xml:6803 msgid "" "The easiest way to copy files and folders from within a working copy is to " "use the right-drag menu. When you right-drag a file or " "folder from one working copy to another, or even within the same folder, a " "context menu appears when you release the mouse. Now you can " "copy existing versioned content to a new location, possibly renaming it at " "the same time." msgstr "" "在工作副本中复制文件和目录的最简单的方法是使用右拖菜单。当你从一个工作副本" "右拖文件或目录到另一个工作副本,甚至是在同一个目录中,当你释" "放鼠标时,就会出现一个上下文菜单。 现在你可以复制受版本控制的" "内容到新位置,可能同时有改名操作。" #. (para) #: ../source/TortoiseGit_en.xml:6815 msgid "" "You can also copy or move versioned files within a working copy, or between " "two working copies, using the familiar cut-and-paste method. Use the standard " "Windows Copy or Cut to copy one or more " "versioned items to the clipboard. If the clipboard contains such versioned " "items, you can then use TortoiseGitPaste (note: not the standard " "Windows Paste) to copy or move those items to the new " "working copy location." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:6827 #, fuzzy msgid "" "You can copy files and folders from your working copy to another location in " "the repository using TortoiseGitBranch/Tag. Refer to to find out more." msgstr "" "你要在同一个版本库中切换一个分支或目录。这么做你可以用" "TortoiseGit切换.... " #. (para) #: ../source/TortoiseGit_en.xml:6836 #, fuzzy msgid "" "You can locate an older version of a file or folder in the log dialog and " "copy it to a new location in the repository directly from the log dialog " "using Context menuCreate branch/" "tag from revision. Refer to to find out more." msgstr "" "你要在同一个版本库中切换一个分支或目录。这么做你可以用" "TortoiseGit切换.... " #. (para) #: ../source/TortoiseGit_en.xml:6846 #, fuzzy msgid "" "You can also use the repository browser to locate content you want, and copy " "it into your working copy directly from the repository, or copy between two " "locations within the repository. Refer to to find out more." msgstr "" "你也可以使用版本库浏览器定位内容,直接从版本库复制到你的工作副本中。参见 " " 以获得更多信息。" #. (title) #: ../source/TortoiseGit_en.xml:6853 #, fuzzy msgid "Cannot copy between repositories" msgstr "外部版本库" #. (para) #: ../source/TortoiseGit_en.xml:6854 msgid "" "Whilst you can copy and files and folders within a " "repository, you cannot copy or move from one repository " "to another while preserving history using TortoiseGit. Not even if the " "repositories live on the same server. All you can do is copy the content in " "its current state and add it as new content to the second repository." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:6862 msgid "" "If you are uncertain whether two URLs on the same server refer to the same or " "different repositories, use the repo browser to open one URL and find out " "where the repository root is. If you can see both locations in one repo " "browser window then they are in the same repository." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:6872 msgid "Ignoring Files And Directories" msgstr "忽略文件和目录" #. (primary) #: ../source/TortoiseGit_en.xml:6874 msgid "ignore" msgstr "忽略" #. (primary) #: ../source/TortoiseGit_en.xml:6877 #, fuzzy msgid "unversioned files/folders" msgstr "已删除文件/文件夹" #. (para) #: ../source/TortoiseGit_en.xml:6880 #, fuzzy msgid "" " In most projects you will have files and folders that should " "not be subject to version control. These might include files created by the " "compiler, *.obj, *.lst, maybe an output folder used to " "store the executable. Whenever you commit changes, TortoiseGit shows your " "unversioned files, which fills up the file list in the commit dialog. Of " "course you can turn off this display, but then you might forget to add a new " "source file." msgstr "" "在多数项目中你总会有文件和目录不需要进行版本控制。这可能包括一" "些由编译器生成的文件,*.obj,*.lst。或许是一个外部的用于存" "放可执行程序的目录。只要你提交变更,TSVN就会在提交对话框的文件列表中列表显示出" "你的未版本控制文件。当然你可以关闭这个显示,不过你可能会忘记添加新的版本文件。" #. (para) #: ../source/TortoiseGit_en.xml:6893 msgid "" "The best way to avoid these problems is to add the derived files to the " "project's ignore list. That way they will never show up in the commit dialog, " "but genuine unversioned source files will still be flagged up." msgstr "" "最好的避免类似问题的方法是添加参考文件到该项目的忽略列表。这样他们就永远不会出" "现在提交对话框中,而真正的未版本控制文件则仍然列出。" #. (para) #: ../source/TortoiseGit_en.xml:6899 msgid "" "If you right click on a single unversioned file, and select " "the command TortoiseGitAdd to " "Ignore List from the context menu, a submenu " "appears allowing you to select just that file, or all files with the same " "extension. If you select multiple files, there is no submenu and you can only " "add those specific files/folders." msgstr "" "如果你右键一个单独的未版本控制文件,并从菜单栏选择" "TortoiseGit(加入忽略列表)Add to " "Ignore List,会出现一个子菜单允许你仅选择该文件,或" "者所有具有相同后缀的文件。如果你选择多种文件,那么就没有子菜单了,你仅能添加这" "些特定的文件/目录。" #. (para) #: ../source/TortoiseGit_en.xml:6911 msgid "" "If you want to remove one or more items from the ignore list, right " "click on those items and select TortoiseGitRemove from Ignore List You " "can also access a folder's svn:ignore property directly. " "That allows you to specify more general patterns using filename globbing, " "described in the section below. Read for more information on setting properties directly. Please be aware that " "each ignore pattern has to be placed on a separate line. Separating them by " "spaces does not work." msgstr "" "如果你想从忽略列表中移除一个或多个条目,右击这些条目,选择" "TortoiseGit从忽略列表删除。你也可以直接存取目录的svn:ignore" "属性。它允许你使用文件匹配来指定多个模式,这在下面的章节叙述,阅读获得更多关于直接设置属性的信息。请注意每个" "忽略模式占一行,不支持使用空格分割。" #. (title) #: ../source/TortoiseGit_en.xml:6926 msgid "The Global Ignore List" msgstr "全局忽略列表" #. (para) #: ../source/TortoiseGit_en.xml:6927 msgid "" "Another way to ignore files is to add them to the global ignore " "list. The big difference here is that the global ignore list is a " "client property. It applies to all Git projects, " "but on the client PC only. In general it is better to use the svn:" "ignore property where possible, because it can be applied to " "specific project areas, and it works for everyone who checks out the project. " "Read for more information." msgstr "" "另一个忽略文件的方法是添加这些文件到global ignore list .他们最大的不同是全局忽略列表是一个客户端特性。它会作用到 " "所有的(all)Git 项目。但只能在pc客户端使用。在全局尽可能更好" "的使用svn:ignore特性,因为他能够应用到特殊的项目区域,并" "却他作用于所有检出该项目的人。阅读获" "得更多信息。" #. (title) #: ../source/TortoiseGit_en.xml:6940 msgid "Ignoring Versioned Items" msgstr "忽略已版本控制的条目" #. (para) #: ../source/TortoiseGit_en.xml:6941 msgid "" "Versioned files and folders can never be ignored - that's a feature of " "Git. If you versioned a file by mistake, read for instructions on how to unversion it." msgstr "" "已版本控制的文件或目录不能够忽略,这是Git的一个特性。如果你错误的版本控" "制了一个文件,阅读介绍怎样取消" "版本控制(unversion)。" #. (title) #: ../source/TortoiseGit_en.xml:6949 msgid "Pattern Matching in Ignore Lists" msgstr "忽略列表中的模式匹配" #. (primary) #: ../source/TortoiseGit_en.xml:6951 msgid "globbing" msgstr "globbing" #. (primary) #: ../source/TortoiseGit_en.xml:6954 msgid "pattern matching" msgstr "模式匹配" #. (para) #: ../source/TortoiseGit_en.xml:6956 msgid "" "Git's ignore patterns make use of filename globbing, a technique " "originally used in Unix to specify files using meta-characters as wildcards. " "The following characters have special meaning: " msgstr "" "Git 的忽略模式使用了文件匹配,一种原先在Unix系统中使用meta字符作为通配" "符的技术。下面的字符有着特殊的意思: " #. (term) #: ../source/TortoiseGit_en.xml:6963 msgid "*" msgstr "*" #. (para) #: ../source/TortoiseGit_en.xml:6965 msgid "" "Matches any string of characters, including the empty string (no characters)." msgstr "匹配任何字符串,包括空串(没有字符)" #. (term) #: ../source/TortoiseGit_en.xml:6972 msgid "?" msgstr "?" #. (para) #: ../source/TortoiseGit_en.xml:6974 msgid "Matches any single character." msgstr "匹配任何单字符" #. (term) #: ../source/TortoiseGit_en.xml:6980 msgid "[...]" msgstr "[...]" #. (para) #: ../source/TortoiseGit_en.xml:6982 msgid "" "Matches any one of the characters enclosed in the square brackets. Within the " "brackets, a pair of characters separated by - matches any " "character lexically between the two. For example [AGm-p] " "matches any one of A, G, m, n, o or p." msgstr "" "匹配任何单在方括号[]内的单字符,在方括号内,一对字符被-分隔,匹" "配任何词汇表(lexically)上在他们中间的字符。例如[AGm-p]匹配" "任何但个的A,G,m," "n,o或者p。" #. (para) #: ../source/TortoiseGit_en.xml:6996 msgid "" "Git uses the / as the path delimiter in all " "internal pathnames, and all pattern matching is done against this style of " "path names. If you want to use a path delimiter in your ignore pattern, be " "sure to use /, and not the Windows backslash." msgstr "" "Git 在所有内部路径名称中使用 / 作为路径分割符,所有" "模式匹配都使用这种路径名称风格。如果你想在忽略模式中使用路径分割符,确认使用 " "/, 而不是 Windows 的反斜线符号。" #. (para) #: ../source/TortoiseGit_en.xml:7002 msgid "" "Pattern matching is case sensitive, which can cause problems on Windows. You " "can force case insensitivity the hard way by pairing characters, eg. to " "ignore *.tmp regardless of case, you could use a pattern " "like *.[Tt][Mm][Pp]." msgstr "" "模式匹配是大小写敏感的,这在windows平台下会出问题。你可以要比较的字符硬性的强" "制忽略大小写。例如,忽略不记*.tmp的大小写。那么你可以使用像" "*.[Tt][Mm][Pp]这样的模式。" #. (para) #: ../source/TortoiseGit_en.xml:7009 msgid "" "Git uses this pattern matching against every path presented to it for " "action. These paths are generally relative to the directory being acted upon " "for import, add, commit, etc. The matching pattern therefore has to take " "account of the fact that there may or may not be path components before the " "filename." msgstr "" "Git 对每个路径使用这种匹配模式。这些路径通常相对于执行导入,增加,提交" "等动作的目录。因此,此匹配模式考虑在文件名称之前可能有,也可能没有路径组件这个" "事实。" #. (para) #: ../source/TortoiseGit_en.xml:7016 msgid "" "If directory names are present in a path, the matching algorithm will not " "trim them off, so pattern Fred.* will match Fred." "c but not subdir/Fred.c. This is significant if " "you add a folder which contains some files that you want to be ignored, " "because those filenames will be preceded with the folder name when Git " "compares them with the ignore pattern." msgstr "" "如果目录名称在路径中,匹配算法不会删除它们,所以模式Fred.*" "匹配Fred.c,但是不匹配subdir/Fred.c。这" "对于你添加一个包含你想忽略的一些文件的目录来说是非常有意义的,因为在 " "Git 处理忽略模式时,这些文件名的优先级高于目录名。" #. (para) #: ../source/TortoiseGit_en.xml:7025 msgid "" "The / character is not treated in any special way for " "pattern matching purposes, so the pattern abc*xyz would " "match abcdxyz but also abcdir/subdir/anything/" "morexyz." msgstr "" "在模式匹配中,/ 字符不会做任何特别处理,所以模式 " "abc*xyz 匹配 abcdxyz,但是不匹配 " "abcdir/subdir/anything/morexyz。" #. (para) #: ../source/TortoiseGit_en.xml:7031 #, fuzzy msgid "" "To ignore all CVS folders you should either specify a " "pattern of *CVS or better, the pair CVS */CVS. The first option works, but would also exclude something called " "ThisIsNotCVS. Using */CVS alone will " "not work on an immediate child CVS folder, and " "CVS alone will not work on sub-folders." msgstr "" "你应该指定一个*CVS或者更好的CVS */CVS模" "式中的任意一个来忽略所有的CVS目录。执行第一个选择也将会排斥" "一些像ThisIsNotCVS这样的命令。而单独使用*/CVS又不能作用在一个紧跟着CVS的子目录上,而且单独的" "CVS 不能作用在子目录上。" #. (para) #: ../source/TortoiseGit_en.xml:7040 msgid "" "If you want an official definition for globbing, you can find it in the IEEE " "specifications for the shell command language Pattern Matching Notation." msgstr "" "如果你想要定义一个特殊的忽略规则。你可以在关于shell命令行语言的IEEE规范中找到" "Pattern Matching Notation。" #. (title) #: ../source/TortoiseGit_en.xml:7050 msgid "Deleting, Moving and Renaming" msgstr "删除、移动和改名" #. (para) #: ../source/TortoiseGit_en.xml:7051 msgid "" "Unlike CVS, Git allows renaming and moving of files and folders. So " "there are menu entries for delete and rename in the TortoiseGit submenu. " "" msgstr "" "不像CVS,Git允许重命名和移动文件和目录。因此在TortoiseGit 的子菜单中有删" "除和重命名的菜单项。" #. (title) #: ../source/TortoiseGit_en.xml:7056 msgid "Explorer context menu for versioned files" msgstr "版本控制文件的菜单浏览" #. (title) #: ../source/TortoiseGit_en.xml:7061 msgid "Deleting files and folders" msgstr "正在删除文件/文件夹" #. (primary) #: ../source/TortoiseGit_en.xml:7063 msgid "delete" msgstr "删除" #. (primary) #: ../source/TortoiseGit_en.xml:7066 msgid "remove" msgstr "删除" #. (para) #: ../source/TortoiseGit_en.xml:7068 #, fuzzy msgid "" "Use TortoiseGitDelete to remove files or folders from Git." msgstr "" "TortoiseGit提交父目录。" #. (para) #: ../source/TortoiseGit_en.xml:7076 #, fuzzy msgid "" "When you TortoiseGitDelete a file, it is removed from your working copy " "immediately as well as being marked for deletion in the repository on next " "commit. The file's parent folder shows a deleted icon overlay. " "Up until you commit the change, you can get the file back using " "TortoiseGitRevert on the parent folder." msgstr "" "如果你通过TSVN删除了一个文件/目录,吗呢这个文件被移出你的工作副本并标记为删" "除。该文件的父目录会覆盖上一个\"删除\"标记。你随时可以通过在父目录调用" "TortoiseGitRevert命令来恢复该文件。" #. (para) #: ../source/TortoiseGit_en.xml:7092 #, fuzzy msgid "" "When you TortoiseGitDelete a folder, it remains in your working copy, but the " "overlay changes to indicate that it is marked for deletion. Up until you " "commit the change, you can get the folder back using " "TortoiseGitRevert on the folder itself. This difference in behaviour between files " "and folders is a part of Git, not TortoiseGit." msgstr "" "当你TortoiseGit删除一个文件,它立即被从工作副本删除,并且标记为下次提交" "从版本库删除。当你TortoiseGit删除" "一个目录,它仍旧在你的工作副本中,但是重载图标指出" "了它标记为删除。这个区别是 Git 的特性,与 TortoiseGit 无关。" #. (para) #: ../source/TortoiseGit_en.xml:7109 #, fuzzy msgid "" "If you want to delete an item from the repository, but keep it locally as an " "unversioned file/folder, use Extended Context MenuDelete (keep local). You have " "to hold the Shift key while right clicking on the item in " "the explorer list pane (right pane) in order to see this in the extended " "context menu." msgstr "" "如果你想从版本库删除项目,但是在本地作为非版本控制的文件/目录保留,可以使用 " "扩展上下文菜单删除(保留本地副本)。为了看到扩展上下文菜单,你必须在文件管理器列表窗格" "(右窗格)中的项目上点击右键,同时按着 Shift 键。" #. (para) #: ../source/TortoiseGit_en.xml:7120 msgid "" "If a file is deleted via the explorer instead of using " "the TortoiseGit context menu, the commit dialog shows those files and lets " "you remove them from version control too before the commit. However, if you " "update your working copy, Git will spot the missing file and replace " "it with the latest version from the repository. If you need to delete a " "version-controlled file, always use TortoiseGitDelete so that Git " "doesn't have to guess what you really want to do." msgstr "" "如果一个 文件 是通过浏览器而不是使用TortoiseGit 快捷菜单" "被删除,提交对话框也会显示这些文件并让你在提交前把他们从版本控制中移除。可是," "如果你更新你的工作副本, Git 将会混淆这个丢失文件并替换他为版本库中的最" "新版本。因此,如果你需要删除一个版本控制下的文件,请始终使用" "TortoiseGitDelete保证 Git不去猜测你到底想干什么。" #. (para) #: ../source/TortoiseGit_en.xml:7134 msgid "" "If a folder is deleted via the explorer instead of using " "the TortoiseGit context menu, your working copy will be broken and you will " "be unable to commit. If you update your working copy, Git will replace " "the missing folder with the latest version from the repository and you can " "then delete it the correct way using TortoiseGitDelete." msgstr "" "如果一个 目录 是通过浏览器而不是使用TortoiseGit 快捷菜单" "被删除,你的工作副本将回被损坏,并且你将不能提交。如果你更新你的工作副本,如果" "你更新你的工作副本, Git 将用版本库中的最新版本替换已丢失目录。接下来你" "就可以使用TortoiseGitDelete这种正确的方法来删除它了。" #. (title) #: ../source/TortoiseGit_en.xml:7147 msgid "Getting a deleted file or folder back" msgstr "找回已删除的文件或目录" #. (para) #: ../source/TortoiseGit_en.xml:7148 msgid "" "If you have deleted a file or a folder and already committed that delete " "operation to the repository, then a normal TortoiseGitRevert can't bring it back " "anymore. But the file or folder is not lost at all. If you know the revision " "the file or folder got deleted (if you don't, use the log dialog to find out) " "open the repository browser and switch to that revision. Then select the file " "or folder you deleted, right-click and select Context " "MenuCopy to... as the " "target for that copy operation select the path to your working copy." msgstr "" "如果你删除了洋文件或目录并已经提交该删除操作到版本库,那么 一个常规的" "TortoiseGitRevert已不能再将其找回。但是该文件或目录并没有完全丢失。如果你知道该被删" "除文件或目录的版本(如果不能,使用日志对话框来查找出来),打开数据仓库的浏览器," "并选择那个版本。然后选择你删除的文件或目录,右键并选择" "Context MenuCopy to...作为目标执行复制操作,然后选择你的工作副本的路径。" #. (title) #: ../source/TortoiseGit_en.xml:7170 msgid "Moving files and folders" msgstr "移动文件和文件夹" #. (primary) #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:7172 ../source/TortoiseGit_en.xml:9511 #: ../source/TortoiseGit_en.xml:13248 msgid "rename" msgstr "改名" #. (primary) #: ../source/TortoiseGit_en.xml:7175 msgid "move" msgstr "移动" #. (para) #: ../source/TortoiseGit_en.xml:7178 #, fuzzy msgid "" "If you want to do a simple in-place rename of a file or folder, use " "Context MenuRename... Enter the new name for the item and you're done." msgstr "" "如果右击一个版本你可以使用右键菜单显示日志 来查看它的历史。" #. (para) #: ../source/TortoiseGit_en.xml:7187 #, fuzzy msgid "" "If you want to move files around inside your working copy, perhaps to a " "different sub-folder, use the right-mouse drag-and-drop handler: " msgstr "" "如果你想在工作副本中移动文件,那么可以这样使用鼠标拖拽: " #. (para) #: ../source/TortoiseGit_en.xml:7193 msgid "select the files or directories you want to move" msgstr "选择你要移动的文件或目录" #. (para) #: ../source/TortoiseGit_en.xml:7209 msgid "" "in the popup menu select Context MenuSVN Move versioned files here" msgstr "" "在弹出菜单选择上下文菜单SVN 移动文" "件。" #. (title) #: ../source/TortoiseGit_en.xml:7220 msgid "Commit the parent folder" msgstr "提交父目录" #. (para) #: ../source/TortoiseGit_en.xml:7221 #, fuzzy msgid "" "Since renames and moves are done as a delete followed by an add you must " "commit the parent folder of the renamed/moved file so that the deleted part " "of the rename/move will show up in the commit dialog. If you don't commit the " "removed part of the rename/move, it will stay behind in the repository and " "when your co-workers update, the old file will not be removed. i.e. they will " "have both the old and the new copies." msgstr "" "既然重命名和移动都可以像添加之后又删除一样被执行,你必需提交该重命名/移动文件" "的父目录,所以重命名/移动的删除部分将出现在提交对话框中。如果你不提交重命名/移" "动的已删除部分,他将保留在仓库中并且你的同组人将更新该未移除的旧文件。例如,他" "们将有两个一老一新的副本。" #. (para) #: ../source/TortoiseGit_en.xml:7231 msgid "" "You must commit a folder rename before changing any of " "the files inside the folder, otherwise your working copy can get really " "messed up." msgstr "" "你 必须在重命名目录后而在更改目录下的任何文件前进行提交," "不然你的工作副本就回真的混淆。" #. (para) #: ../source/TortoiseGit_en.xml:7237 #, fuzzy msgid "" "You can also use the repository browser to move items around. Read to find out more." msgstr "" "你也可以使用版本库浏览器定位内容,直接从版本库复制到你的工作副本中。参见 " " 以获得更多信息。" #. (title) #: ../source/TortoiseGit_en.xml:7242 msgid "Do Not SVN Move Externals" msgstr "不要使用 SVN 移动外部连接" #. (para) #: ../source/TortoiseGit_en.xml:7243 msgid "" "You should not use the TortoiseGit Move or Rename commands on a folder which has been " "created using svn:externals. This action would cause the " "external item to be deleted from its parent repository, probably upsetting " "many other people. If you need to move an externals folder you should use an " "ordinary shell move, then adjust the svn:externals " "properties of the source and destination parent folders." msgstr "" "你不应该用 TortoiseGit 的移动或" "改名命令作用在用 svn:externals 创建的" "目录上。因为这个动作可能会导致外部元素(item)从它的父版本库中删除,这可能会使其" "它人烦恼。如果你需要移动外部目录,你应该使用普通的外壳移动,然后调整源和目的之" "父目录的 svn:externals 属性。" #. (title) #: ../source/TortoiseGit_en.xml:7258 msgid "Changing case in a filename" msgstr "改变文件名称大小写" #. (primary) #: ../source/TortoiseGit_en.xml:7260 msgid "case change" msgstr "大小写改变" #. (para) #: ../source/TortoiseGit_en.xml:7263 msgid "" "Making case-only changes to a filename is tricky with Git on Windows, " "because for a short time during a rename, both filenames have to exist. As " "Windows has a case-insensitive file system, this does not work using the " "usual Rename command." msgstr "" "在 Windows 中,使用 Git 修改文件名称的大小写需要小技巧,因为在改名期" "间,两个文件名称需要同时存在。因为 Windows 的文件系统是大小写不敏感的,所以使" "用平常的改名命令是不能工作的。" #. (para) #: ../source/TortoiseGit_en.xml:7269 #, fuzzy msgid "" "Fortunately there are (at least) two possible methods to rename a file " "without losing its log history. It is important to rename it within " "Git. Just renaming in the explorer will corrupt your working copy!" msgstr "" "这里(至少)有两种可能的解决方案来重命名文件而不丢失他的日志记录。在Git里" "重命名它是很重要的。仅在浏览器中重命名将会损坏你的工作副本。" #. (para) #: ../source/TortoiseGit_en.xml:7275 msgid "Solution A) (recommended) " msgstr "解决方案 A)(推荐) " #. (para) #: ../source/TortoiseGit_en.xml:7279 msgid "Commit the changes in your working copy." msgstr "提交你工作副本中的改变到版本库" #. (para) #: ../source/TortoiseGit_en.xml:7284 msgid "" "Rename the file from UPPERcase to upperCASE directly in the repository using " "the repository browser." msgstr "使用版本库的浏览器立即重命名该文件的大写(小写)为小写(大写)" #. (para) #: ../source/TortoiseGit_en.xml:7290 msgid "Update your working copy." msgstr "更新你的工作副本" #. (para) #: ../source/TortoiseGit_en.xml:7296 msgid "Solution B) " msgstr "解决方案 B) " #. (para) #: ../source/TortoiseGit_en.xml:7300 msgid "" "Rename from UPPERcase to UPPERcase_ with the rename command in the " "TortoiseGit submenu." msgstr "使用TortoiseGit子菜单中的重命名命令将UPPERcase重命名为UPPERcase_ 格式" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:7306 ../source/TortoiseGit_en.xml:7316 msgid "Commit the changes." msgstr "提交该更改" #. (para) #: ../source/TortoiseGit_en.xml:7311 msgid "Rename from UPPERcase_ to upperCASE." msgstr "将UPPERcase_重命名为upperCASE格式" #. (title) #: ../source/TortoiseGit_en.xml:7324 msgid "Dealing with filename case conflicts" msgstr "处理文件名称大小写冲突" #. (para) #: ../source/TortoiseGit_en.xml:7325 #, fuzzy msgid "" "If the repository already contains two files with the same name but differing " "only in case (e.g. TEST.TXT and test.txt), you will not be able to update or checkout the parent directory " "on a Windows client. Whilst Git supports case-sensitive filenames, " "Windows does not." msgstr "" "万一在你的版本库中有两个名字相同但大小拼写不同(例如: TEST.TXT和test.txt)的文" "件,你是不能更新或者检出该包含该文件的目录的。" #. (para) #: ../source/TortoiseGit_en.xml:7333 msgid "" "This sometimes happens when two people commit, from separate working copies, " "files which happen to have the same name, but with a case difference. It can " "also happen when files are committed from a system with a case-sensitive file " "system, like Linux." msgstr "" "它偶尔在两个人在独立的工作副本提交时发生,文件名称相同,只有大小写不同。它也会" "在具有大小写敏感的文件系统的系统中提交文件时发生,例如 Linux。" #. (para) #: ../source/TortoiseGit_en.xml:7340 msgid "" "In that case, you have to decide which one of them you want to keep and " "delete (or rename) the other one from the repository." msgstr "" "如果是那样的话,你得决定在这个版本库里的哪一个文件是你想保留的,哪一个是要删除" "(或重命名)的" #. (title) #: ../source/TortoiseGit_en.xml:7345 msgid "Preventing two files with the same name" msgstr "防止两个文件名字相同" #. (para) #: ../source/TortoiseGit_en.xml:7346 msgid "" "There is a server hook script available at: http://svn.collab.net/" "repos/svn/trunk/contrib/hook-scripts/ that will prevent " "checkins which result in case conflicts." msgstr "" "这有一个有用的服务器端脚本在http://svn.collab.net/repos/svn/" "trunk/contrib/hook-scripts/将会防止检入拼写(大小写)冲突文" "件。" #. (title) #: ../source/TortoiseGit_en.xml:7356 msgid "Repairing File Renames" msgstr "修复文件改名" #. (para) #: ../source/TortoiseGit_en.xml:7357 msgid "" "Sometimes your friendly IDE will rename files for you as part of a " "refactoring exercise, and of course it doesn't tell Git. If you try to " "commit your changes, Git will see the old filename as missing and the " "new one as an unversioned file. You could just check the new filename to get " "it added in, but you would then lose the history tracing, as Git does " "not know the files are related." msgstr "" "有时候你的IDE会因为执行反射操作,改名文件,当然它不能告诉Git。如果你尝" "试提交修改,Git会发现丢失了老文件,新增了未版本控制的新文件。你可以简单" "的增加新文件,但是你将丢失历史记录,因为Git不知道这些文件的关系。" #. (para) #: ../source/TortoiseGit_en.xml:7365 msgid "" "A better way is to notify Git that this change is actually a rename, " "and you can do this within the Commit and " "Check for Modifications dialogs. Simply select both the " "old name (missing) and the new name (unversioned) and use " "Context MenuRepair Move to pair the two files as a rename." msgstr "" "更好的方法是通知Git这实际上是改名,你可以在提交和" "检查修改对话框中做此操作。简单选择老文件(丢失的)和新文件" "(未版本控制的),使用右键菜单修复移" "动设置这两个文件是改名关系。" #. (title) #: ../source/TortoiseGit_en.xml:7379 msgid "Deleting Unversioned Files" msgstr "删除未版本控制的文件" #. (para) #: ../source/TortoiseGit_en.xml:7380 msgid "" "Usually you set your ignore list such that all generated files are ignored in " "Git. But what if you want to clear all those ignored items to produce " "a clean build? Usually you would set that in your makefile, but if you are " "debugging the makefile, or changing the build system it is useful to have a " "way of clearing the decks." msgstr "" "通常你可以在Git中设置自己的忽略列表,例如忽略所有产生的文件。但是你如何" "清理这些忽略的项目,从而产生一个干净的构建呢?通常你在makefile中清理,但是如果" "你在调试makefile,或者修改构建系统,那么有一个清理方法是极为有用的。" #. (para) #: ../source/TortoiseGit_en.xml:7387 msgid "" "TortoiseGit provides just such an option using Extended " "Context MenuDelete unversioned items.... You have to hold the Shift while right clicking " "on a folder in the explorer list pane (right pane) in order to see this in " "the extended context menu. This will produce a dialog which lists all " "unversioned files anywhere in your working copy. You can then select or " "deselect items to be removed." msgstr "" "TortoiseGit 提供了使用扩展上下文菜单删除未版本控制的项目...来清理" "工作副本。你可以在目录上右键操作时,保持 Shift按下,就可以看" "到这个上下文菜单。它会出现一个对话框,列出工作副本中的所有未版本控制的文件。你" "可以选择或取消删除的项目。" #. (para) #: ../source/TortoiseGit_en.xml:7399 msgid "" "When such items are deleted, the recycle bin is used, so if you make a " "mistake here and delete a file that should have been versioned, you can still " "recover it." msgstr "" "当删除这些项目时,使用了垃圾箱。所以如果你犯了错误,删除了应该版本控制的文件," "你仍旧可以恢复。" #. (title) #: ../source/TortoiseGit_en.xml:7407 msgid "Undo Changes" msgstr "撤消更改" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:7409 ../source/TortoiseGit_en.xml:13376 msgid "revert" msgstr "恢复" #. (primary) #: ../source/TortoiseGit_en.xml:7412 msgid "undo" msgstr "撤消" #. (para) #: ../source/TortoiseGit_en.xml:7414 msgid "" "If you want to undo all changes you made in a file since the last update you " "need to select the file, right click to pop up the context " "menu and then select the command TortoiseGitRevert A dialog will pop up " "showing you the files that you've changed and can revert. Select those you " "want to revert and click on OK. " msgstr "" "如果你想要撤消一个文件自上次更新后的所有的变更,你需要选择该文件, 右击" "弹出快捷菜单,然后选择TortoiseGitRevert命令,将会弹出一个显示这" "个你已经变更并能恢复的文件。选择那些你想要恢复的然后按OK. 。" #. (title) #: ../source/TortoiseGit_en.xml:7427 msgid "Revert dialog" msgstr "恢复对话框" #. (para) #: ../source/TortoiseGit_en.xml:7431 msgid "" "If you want to undo a deletion or a rename, you need to use Revert on the " "parent folder as the deleted item does not exist for you to right-click on." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:7436 #, fuzzy msgid "" "If you want to undo the addition of an item, this appears in the context menu " "as TortoiseGitUndo add.... This is really a revert as well, but the name has " "been changed to make it more obvious." msgstr "" "如果右击一个版本你可以使用右键菜单显示日志 来查看它的历史。" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:7446 ../source/TortoiseGit_en.xml:9186 msgid "" "The columns in this dialog can be customized in the same way as the columns " "in the Check for modifications dialog. Read for further details." msgstr "" "在这一对话框中,纵列和在 检查修改对话框中的纵列同样是可以" "定制的。更多细节请阅读 " #. (title) #: ../source/TortoiseGit_en.xml:7452 msgid "Undoing Changes which have been Committed" msgstr "取消已经提交的改变" #. (para) #: ../source/TortoiseGit_en.xml:7453 msgid "" "Revert will only undo " "your local changes. It does not undo any changes which " "have already been committed. If you want to undo all the changes which were " "committed in a particular revision, read " "for further information." msgstr "" "Revert仅能撤消你本地的变" "更。他能撤消已经提交的的变更。如果你想撤消所有的包括已" "经提交到一个特定版本的变更,请阅读 获得更" "多信息。" #. (title) #: ../source/TortoiseGit_en.xml:7464 msgid "Revert is Slow" msgstr "撤销较慢" #. (para) #: ../source/TortoiseGit_en.xml:7465 msgid "" "When you revert changes you may find that the operation takes a lot longer " "than you expect. This is because the modified version of the file is sent to " "the recycle bin, so you can retrieve your changes if you reverted by mistake. " "However, if your recycle bin is full, Windows takes a long time to find a " "place to put the file. The solution is simple: either empty the recycle bin " "or deactivate the Use recycle bin when reverting box in " "TortoiseGit's settings." msgstr "" #. (title) #. (entry) #. (title) #. (glossterm) #: ../source/TortoiseGit_en.xml:7478 ../source/TortoiseGit_en.xml:13994 #: ../source/TortoiseGit_en.xml:15039 ../source/TortoiseGit_en.xml:15828 msgid "Cleanup" msgstr "清理" #. (primary) #: ../source/TortoiseGit_en.xml:7480 msgid "cleanup" msgstr "清理" #. (para) #: ../source/TortoiseGit_en.xml:7482 msgid "" "If a Git command cannot complete successfully, perhaps due to server " "problems, your working copy can be left in an inconsistent state. In that " "case you need to use TortoiseGitCleanup on the folder. It is " "a good idea to do this at the top level of the working copy." msgstr "" "也许由于服务器问题,一个Git指令不能成功地完成,你的工作副本因此被滞留在" "一个不一致的状态。 那样的话,你需要在该目录上使用" "TortoiseGit清理命令。在工作副本的根目录使用它是一个好主意。" #. (para) #: ../source/TortoiseGit_en.xml:7493 #, fuzzy msgid "" "Cleanup has another useful side effect. If a file date changes but its " "content doesn't, Git cannot tell whether it has really changed except " "by doing a byte-by-byte comparison with the pristine copy. If you have a lot " "of files in this state it makes acquiring status very slow, which will make " "many dialogs slow to respond. Executing a Cleanup on your working copy will " "repair these broken timestamps and restore status checks to " "full speed." msgstr "" "清理有另外的一个有用的副作用。如果一个文件日期变化了但是它的内容没变," "Git除了采用byte-by-byte将该文件和原副本进行对照,不能分清它是否真的变" "更。 如果你有很多这种状态下的文件,将会使获得状态非常慢,还会导致许多会话响应" "变慢。在你的工作副本上执行一个清理命令将会修正这些 \" 坏掉的 \" 时戳,从而可以" "全速检查它们的状态。" #. (title) #: ../source/TortoiseGit_en.xml:7504 msgid "Use Commit Timestamps" msgstr "使用提交时戳" #. (para) #: ../source/TortoiseGit_en.xml:7505 msgid "" "Some earlier releases of Git were affected by a bug which caused " "timestamp mismatch when you check out with the Use commit " "timestamps option checked. Use the Cleanup command to speed up " "these working copies." msgstr "" "Git的一些早期发布中存在一个bug,当你使用使用提交时戳选项检出的时候会造成时戳混乱。使用清理命令可以修正工作副本中的这些问" "题。" #. (title) #: ../source/TortoiseGit_en.xml:7515 msgid "Project Settings" msgstr "项目设置" #. (primary) #: ../source/TortoiseGit_en.xml:7517 msgid "properties" msgstr "属性" #. (para) #: ../source/TortoiseGit_en.xml:7519 msgid "" " Sometimes you want to have more detailed information about a " "file/directory than just the icon overlay. You can get all the information " "Git provides in the explorer properties dialog. Just select the file " "or directory and select Windows Menuproperties in the context " "menu (note: this is the normal properties menu entry the explorer provides, " "not the one in the TortoiseGit submenu!). In the properties dialog box " "TortoiseGit has added a new property page for files/folders under Git " "control, where you can see all relevant information about the selected file/" "directory." msgstr "" "有时你可能想得到关于一个文件/目录的更多的细节信息而不仅是一个" "重载的标志。 你能得到Git的属性对话框中浏览到的所有信息。只需选择指定文" "件或目录,然后在文件菜单中选择Windows Menuproperties(注意: 这是浏览器提" "供的标准属性菜单,而不是TortoiseGit 子菜单的其中之一)。在TortoiseGit 属性对话" "框中已经为在Git控制下的文件/目录增加新的属性页。在这里你能看到所有的关" "于选择文件/目录的相关信息。" #. (title) #: ../source/TortoiseGit_en.xml:7521 msgid "Explorer property page, Git tab" msgstr "资源管理器属性页,Git 页面" #. (title) #: ../source/TortoiseGit_en.xml:7541 msgid "Git Properties" msgstr "Git 属性" #. (primary) #: ../source/TortoiseGit_en.xml:7543 msgid "Git properties" msgstr "Git 属性" #. (para) #: ../source/TortoiseGit_en.xml:7547 #, fuzzy msgid "" " You can read and set the Git properties from the " "Windows properties dialog, but also from TortoiseGitproperties and within " "TortoiseGit's status lists, from Context menuproperties." msgstr "" " 你可以在 Windows 属性对话框读写 Git 属性。也可以从" "TortoiseGit属性,或者 上下文菜单属性,来读写 Git 属性。" #. (title) #: ../source/TortoiseGit_en.xml:7549 msgid "Git property page" msgstr "Git 属性页" #. (para) #: ../source/TortoiseGit_en.xml:7564 #, fuzzy msgid "" "You can add your own properties, or some properties with a special meaning in " "Git. These begin with svn:. svn:externals is such a property; see how to handle externals in ." msgstr "" "从版本库里删除数据的唯一方法就是使用svnadmin这个Git" "命令行工具。具体如何实现请参考《使用 Git 进行版本管理》。" #. (title) #: ../source/TortoiseGit_en.xml:7571 msgid "svn:keywords" msgstr "svn:keywords" #. (primary) #: ../source/TortoiseGit_en.xml:7573 msgid "keywords" msgstr "关键字" #. (primary) #: ../source/TortoiseGit_en.xml:7576 msgid "expand keywords" msgstr "展开关键字" #. (para) #: ../source/TortoiseGit_en.xml:7578 msgid "" "Git supports CVS-like keyword expansion which can be used to embed " "filename and revision information within the file itself. Keywords currently " "supported are: " msgstr "" "Git 支持类似 CVS 的关键字扩展,用来在文件中嵌入文件名称和版本信息。当前" "支持的关键字有:" #. (para) #: ../source/TortoiseGit_en.xml:7586 msgid "" "Date of last known commit. This is based on information obtained when you " "update your working copy. It does not check the " "repository to find more recent changes." msgstr "" "已知最后提交的日期。它基于你更新工作副本时获得的信息。它检查版本库查找最新的修改。" #. (para) #: ../source/TortoiseGit_en.xml:7597 msgid "Revision of last known commit." msgstr "已知最后提交的版本。" #. (para) #: ../source/TortoiseGit_en.xml:7605 msgid "Author who made the last known commit." msgstr "已知最后提交的作者。" #. (para) #: ../source/TortoiseGit_en.xml:7613 msgid "The full URL of this file in the repository." msgstr "此文件在版本库中的 URL。" #. (para) #: ../source/TortoiseGit_en.xml:7621 msgid "A compressed combination of the previous four keywords." msgstr "前述四个关键字的压缩组合。" #. (para) #: ../source/TortoiseGit_en.xml:7629 #, fuzzy msgid "" "To find out how to use these keywords, look at the svn:keywords section in the Git " "book, which gives a full description of these keywords and how to enable and " "use them." msgstr "" "关键字的用法参见 Git 手册的 svn:keywords section,它给出了这些关键字的完" "整描述和启用方法。" #. (para) #: ../source/TortoiseGit_en.xml:7639 #, fuzzy msgid "" "For more information about properties in Git see the Special Properties." msgstr "" "更多的关于svnserve的信息可以看《使用 Git 进行版本管理》。" #. (title) #: ../source/TortoiseGit_en.xml:7646 msgid "Adding and Editing Properties" msgstr "增加和编辑属性" #. (para) #: ../source/TortoiseGit_en.xml:7647 msgid "" " To add a new property, first click on Add.... Select the required property name from the combo box, or type in a " "name of your own choice, then enter a value in the box below. Properties " "which take multiple values, such as an ignore list, can be entered on " "multiple lines. Click on OK to add that property to " "the list." msgstr "" "为了增加新属性,先单击增加...,从组合框中" "选择需要的属性名称,或者输入你自定义的名称,然后在下面的编辑框内输入取值。有多" "个取值的属性,例如忽略列表,肯呢个输入多行。单极确认将" "属性增加到属性列表。" #. (title) #: ../source/TortoiseGit_en.xml:7649 msgid "Adding properties" msgstr "增加属性" #. (para) #: ../source/TortoiseGit_en.xml:7659 msgid "" "If you want to apply a property to many items at once, select the files/" "folders in explorer, then select Context menuproperties" msgstr "" "如果你想一次性设置许多文件的属性,在资源管理器中选择文件/文件夹,然后选择" "上下文菜单属性。" #. (para) #: ../source/TortoiseGit_en.xml:7667 msgid "" "If you want to apply the property to every file and " "folder in the hierarchy below the current folder, check the " "Recursive checkbox." msgstr "" "如果你想设置当前文件夹内的全部文件和文件夹,选中" "递归检查框。" #. (para) #: ../source/TortoiseGit_en.xml:7672 msgid "" "Some properties, for example svn:needs-lock, can only be " "applied to files, so the property name doesn't appear in the drop down list " "for folders. You can still apply such a property recursively to all files in " "a hierarchy, but you have to type in the property name yourself." msgstr "" "一些属性,例如svn:needs-lock只能用于文件,所以它们在文件夹" "的属性下拉列表内不会出现。你仍旧可以递归的设置目录树中所有文件的属性,但是需要" "你自己输入属性名称。" #. (para) #: ../source/TortoiseGit_en.xml:7679 msgid "" "If you wish to edit an existing property, select that property from the list " "of existing properties, then click on Edit...." msgstr "" "如果你想编辑一个已有属性,在已有属性列表中选择它,然后单击编辑...即可。" #. (para) #: ../source/TortoiseGit_en.xml:7683 msgid "" "If you wish to remove an existing property, select that property from the " "list of existing properties, then click on Remove." msgstr "" "如果你想删除已有属性,在已有属性列表中选择它,然后单击删除即可。" #. (para) #: ../source/TortoiseGit_en.xml:7687 msgid "" "The svn:externals property can be used to pull in other " "projects from the same repository or a completely different repository. For " "more information, read ." msgstr "" "属性svn:externals可以用来下载位于同一版本库或不同版本库的其" "它工程。阅读以获得更多信息。" #. (title) #: ../source/TortoiseGit_en.xml:7695 #, fuzzy msgid "Exporting and Importing Properties" msgstr "导出一个Git工作副本" #. (para) #: ../source/TortoiseGit_en.xml:7696 msgid "" "Often you will find yourself applying the same set of properties many times, " "for example bugtraq:logregex. To simplify the process of " "copying properties from one project to another, you can use the Export/Import " "feature." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:7702 msgid "" "From the file or folder where the properties are already set, use " "TortoiseGitproperties, select the properties you wish to export and click " "on Export.... You will be prompted for a filename " "where the property names and values will be saved." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:7712 msgid "" "From the folder(s) where you wish to apply these properties, use " "TortoiseGitproperties and click on Import.... You " "will be prompted for a filename to import from, so navigate to the place you " "saved the export file previously and select it. The properties will be added " "to the folders non-recursively." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:7723 msgid "" "If you want to add properties to a tree recursively, follow the steps above, " "then in the property dialog select each property in turn, click on " "Edit..., check the Apply property " "recursively box and click on OK." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:7730 msgid "" "The Import file format is binary and proprietary to TortoiseGit. Its only " "purpose is to transfer properties using Import and Export, so there is no " "need to edit these files." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:7737 msgid "Binary Properties" msgstr "二进制属性" #. (para) #: ../source/TortoiseGit_en.xml:7738 msgid "" "TortoiseGit can handle binary property values using files. To read a binary " "property value, Save... to a file. To set a binary " "value, use a hex editor or other appropriate tool to create a file with the " "content you require, then Load... from that file." msgstr "" "TortoiseGit可以处理文件的二进制属性。使用保存...到文件" "读取二进制属性值。使用十六进制编辑器或其它适当的工具创建文件,然后用从文件" "加载...设置二进制值为此文件的内容。" #. (para) #: ../source/TortoiseGit_en.xml:7745 msgid "" "Although binary properties are not often used, they can be useful in some " "applications. For example if you are storing huge graphics files, or if the " "application used to load the file is huge, you might want to store a " "thumbnail as a property so you can obtain a preview quickly." msgstr "" "尽管二进制文件不经常使用,它们在一些程序中是有用的。举例来说,如果你存储了巨大" "的图形文件,或者用程序加载的文件巨大,你可能想将缩略图作为属性存储,于是你可以" "快速的预览。" #. (title) #: ../source/TortoiseGit_en.xml:7753 msgid "Automatic property setting" msgstr "自动属性设置" #. (primary) #: ../source/TortoiseGit_en.xml:7755 msgid "auto-props" msgstr "auto-props" #. (para) #: ../source/TortoiseGit_en.xml:7757 #, fuzzy msgid "" "You can configure Git and TortoiseGit to set properties automatically " "on files and folders when they are added to the repository. There are two " "ways of doing this." msgstr "" "你可以设置当文件和文件夹加入版本库时,自动设置属性。阅读以获得更多信息。" #. (para) #: ../source/TortoiseGit_en.xml:7762 msgid "" "You can edit the Git configuration file to enable this feature on your " "client. The General page of TortoiseGit's settings " "dialog has an edit button to take you there directly. The config file is a " "simple text file which controls some of Git's workings. You need to " "change two things: firstly in the section headed miscellany uncomment the line enable-auto-props = yes. " "Secondly you need to edit the section below to define which properties you " "want added to which file types. This method is a standard Git feature " "and works with any Git client. However it has to be defined on each " "client individually - there is no way to propagate these settings from the " "repository." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:7779 msgid "" "An alternative method is to set the tsvn:autoprops " "property on folders, as described in the next section. This method only works " "for TortoiseGit clients, but it does get propagated to all working copies on " "update." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:7785 msgid "" "Whichever method you choose, you should note that auto-props are only applied " "to files at the time they are added to the repository. Auto-props will never " "change the properties of files which are already versioned." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:7791 msgid "" "If you want to be absolutely sure that new files have the correct properties " "applied, you should set up a repository pre-commit hook to reject commits " "where the required properties are not set." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:7798 msgid "Commit properties" msgstr "提交属性" #. (para) #: ../source/TortoiseGit_en.xml:7799 msgid "" "Git properties are versioned. After you change or add a property you " "have to commit your changes." msgstr "Git 属性是受版本控制的。在你改变或增加属性后必须提交。" #. (title) #: ../source/TortoiseGit_en.xml:7805 msgid "Conflicts on properties" msgstr "属性冲突" #. (para) #: ../source/TortoiseGit_en.xml:7806 msgid "" "If there's a conflict on committing the changes, because another user has " "changed the same property, Git generates a .prej " "file. Delete this file after you have resolved the conflict." msgstr "" "如果因为其他用户已经提交了同样的属性,提交时出现冲突,Git 会产生一个 " ".prej 文件。在你解决冲突后,请删除此文件。" #. (title) #: ../source/TortoiseGit_en.xml:7815 msgid "TortoiseGit Project Properties" msgstr "TortoiseGit 项目属性" #. (primary) #: ../source/TortoiseGit_en.xml:7817 msgid "project properties" msgstr "工程属性" #. (primary) #: ../source/TortoiseGit_en.xml:7820 msgid "TortoiseGit properties" msgstr "TortoiseGit 属性" #. (para) #: ../source/TortoiseGit_en.xml:7822 msgid "" "TortoiseGit has a few special properties of its own, and these begin with " "tsvn:. " msgstr "" "TortoiseGit 有自己专用的几个属性,它们都有tsvn:前缀。" "" #. (para) #: ../source/TortoiseGit_en.xml:7827 msgid "" "tsvn:logminsize sets the minimum length of a log message " "for a commit. If you enter a shorter message than specified here, the commit " "is disabled. This feature is very useful for reminding you to supply a proper " "descriptive message for every commit. If this property is not set, or the " "value is zero, empty log messages are allowed." msgstr "" "tsvn:logminsize设置提交日志的最小长度。如果你输入的日志短于" "预设值,提交会被禁止。这个属性对于提醒你为每次提交提供一个适当的描述信息非常有" "用。如果不设置这个属性,或者设置为0,那么就允许空提交信息。" #. (para) #: ../source/TortoiseGit_en.xml:7836 msgid "" "tsvn:lockmsgminsize sets the minimum length of a lock " "message. If you enter a shorter message than specified here, the lock is " "disabled. This feature is very useful for reminding you to supply a proper " "descriptive message for every lock you get. If this property is not set, or " "the value is zero, empty lock messages are allowed." msgstr "" "tsvn:lockmsgminsize设置锁定日志的最小长度。如果你输入的日志" "短于预设值,加锁会被禁止。这个属性对于提醒你为每次加锁提供一个适当的描述信息非" "常有用。如果不设置这个属性,或者设置为0,那么就允许空加锁信息。" #. (para) #: ../source/TortoiseGit_en.xml:7847 msgid "" "tsvn:logwidthmarker is used with projects which require " "log messages to be formatted with some maximum width (typically 80 " "characters) before a line break. Setting this property to a non-zero will do " "2 things in the log message entry dialog: it places a marker to indicate the " "maximum width, and it disables word wrap in the display, so that you can see " "whether the text you entered is too long. Note: this feature will only work " "correctly if you have a fixed-width font selected for log messages." msgstr "" "tsvn:logwidthmarker用在要求日志信息被格式化为在最大宽度(典" "型是80字符)处换行非常有用。设置此属性为大于0的值会在日志消息对话框中做两件事: " "放置一个标记指示最大宽度,和禁止自动换行,于是你可以看到输入的信息是否太长。注" "意: 这个特性仅在你选择的消息使用固定宽度字体时才能正确工作。" #. (para) #: ../source/TortoiseGit_en.xml:7860 msgid "" "tsvn:logtemplate is used with projects which have rules " "about log message formatting. The property holds a multi-line text string " "which will be inserted in the commit message box when you start a commit. You " "can then edit it to include the required information. Note: if you are also " "using tsvn:logminsize, be sure to set the length longer " "than the template or you will lose the protection mechanism." msgstr "" "tsvn:logtemplate在需要定义日志消息格式化规则的工程中使用。" "在你开始提交时,这个属性的多行消息会被插入日志消息编辑框。你可以编辑它以便包含" "需要的信息。注意: 如果你使用了tsvn:logminsize属性,请确认这" "个长度大于模版的长度,不然就会失去其保护作用。" #. (para) #: ../source/TortoiseGit_en.xml:7871 #, fuzzy msgid "" "Git allows you to set autoprops which will be applied " "to newly added or imported files, based on the file extension. This depends " "on every client having set appropriate autoprops in their Git " "configuration file. tsvn:autoprops can be set on folders " "and these will be merged with the user's local autoprops when importing or " "adding files. The format is the same as for Git autoprops, e.g. " "*.sh = svn:eol-style=native;svn:executable sets two " "properties on files with the .sh extension." msgstr "" "Git 允许你设置 autoprops,它基于文件扩展名,对新增文件或" "导入的文件生效。这依赖于每个客户端在 Git 配置文件中设置适当的 " "autoprops。tsvn:autoprops 可以对目录设置,当新增文件或导入" "文件时,它会与用户的本地 autoprops 合并。" #. (para) #: ../source/TortoiseGit_en.xml:7884 msgid "" "If there is a conflict between the local autoprops and tsvn:" "autoprops, the project settings take precedence because they are " "specific to that project." msgstr "" "如果本地 autoprops 与 tsvn:autoprops 冲突,项目设置优先(因" "为它们是针对此项目的)。" #. (para) #: ../source/TortoiseGit_en.xml:7891 #, fuzzy msgid "" "In the Commit dialog you have the option to paste in the list of changed " "files, including the status of each file (added, modified, etc). " "tsvn:logfilelistenglish defines whether the file status is " "inserted in English or in the localized language. If the property is not set, " "the default is true." msgstr "" "在提交对话框,你可以复制修改的文件列表,包含每个文件的状态(增加,修改等)。" "tsvn:logfilelistenglish定义了文件状态用英文插入,还是用本地" "消息插入。此属性的默认值是。" #. (para) #: ../source/TortoiseGit_en.xml:7902 #, fuzzy msgid "" "TortoiseGit can use spell checker modules which are also used by OpenOffice " "and Mozilla. If you have those installed this property will determine which " "spell checker to use, i.e. in which language the log messages for your " "project should be written. tsvn:projectlanguage sets the " "language module the spell checking engine should use when you enter a log " "message. You can find the values for your language on this page: MSDN: " "Language Identifiers." msgstr "" "TortoiseGit可以使用OpenOffice和Mozilla使用的拼写检查模块。如果你安装了这些模" "块,那么这个属性将检测使用哪个拼写检查模块。也就是,你的工程的日志信息用的语" "言。tsvn:projectlanguage设置拼写检查引擎应该使用什么语言模" "块来检查日志信息。你可以在这个叶面找到你的语言的取值: MSDN: 语言标示符。" #. (para) #: ../source/TortoiseGit_en.xml:7916 msgid "" "You can enter this value in decimal, or in hexadecimal if prefixed with " "0x. For example English (US) can be entered as " "0x0409 or 1033." msgstr "" "你可以用十进制输入取值,如果用0x前缀的话,也可以用十六进" "制。例如英语(美国英语)可以输入0x0409或者1033。" #. (para) #: ../source/TortoiseGit_en.xml:7924 msgid "" "The property tsvn:logsummary is used to extract a portion " "of the log message which is then shown in the log dialog as the log message " "summary." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:7929 msgid "" "The value of the tsvn:logsummary property must be set to a " "one line regex string which contains one regex group. Whatever matches that " "group is used as the summary." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:7935 msgid "" "An example: \\[SUMMARY\\]:\\s+(.*) Will catch everything " "after [SUMMARY] in the log message and use that as the summary." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:7943 msgid "" "When you want to add a new property, you can either pick one from the list in " "the combo box, or you can enter any property name you like. If your project " "uses some custom properties, and you want those properties to appear in the " "list in the combo box (to avoid typos when you enter a property name), you " "can create a list of your custom properties using tsvn:" "userfileproperties and tsvn:userdirproperties. " "Apply these properties to a folder. When you go to edit the properties of any " "child item, your custom properties will appear in the list of pre-defined " "property names." msgstr "" "当你想增加新属性时,你可以从组合框的下拉列表选取,也可以输入你喜欢的任何属性名" "称。如果你的项目使用了自定义属性,并且想让这些属性出现在组合框的下拉列表中(避" "免输入时拼写错误),你可以使用tsvn:userfileproperties和" "tsvn:userdirproperties创建自定义属性列表。对目录应用这些属" "性,当你编辑其任何子项属性时,你自定义的属性将会在预定义属性名称列表中出现。" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:7959 ../source/TortoiseGit_en.xml:10470 #, fuzzy msgid "" "Some tsvn: properties require a true/false value. TortoiseGit also understands yes as a " "synonym for true and no as a synonym " "for false." msgstr "" "一些 tsvn: 属性需要 true/false 值。它也" "理解 yestrue 的同义词,nofalse的同义词。" #. (para) #: ../source/TortoiseGit_en.xml:7965 #, fuzzy msgid "" "TortoiseGit can integrate with some bug tracking tools. This uses project " "properties that start with bugtraq:. Read for further information." msgstr "" "TortoiseGit可以与一些问题跟踪工具集成。它使用bugtraq:开始的" "属性。阅读以便获得更多信息。" #. (para) #: ../source/TortoiseGit_en.xml:7970 #, fuzzy msgid "" "It can also integrate with some web-based repository browsers, using project " "properties that start with webviewer:. Read for further information." msgstr "" "它也与一些基于WEB的版本库浏览器集成。阅读以获得更多信息。" #. (title) #: ../source/TortoiseGit_en.xml:7976 msgid "Set the project properties on folders" msgstr "设置文件夹的项目属性" #. (para) #: ../source/TortoiseGit_en.xml:7977 #, fuzzy msgid "" "These special project properties must be set on folders " "for the system to work. When you commit a file or folder the properties are " "read from that folder. If the properties are not found there, TortoiseGit " "will search upwards through the folder tree to find them until it comes to an " "unversioned folder, or the tree root (eg. C:\\) is found. " "If you can be sure that each user checks out only from e.g trunk/ and not some sub-folder, then it is sufficient to set the " "properties on trunk/. If you can't be sure, you should " "set the properties recursively on each sub-folder. A property setting deeper " "in the project hierarchy overrides settings on higher levels (closer to " "trunk/)." msgstr "" "属性tsvn:只能在文件夹设置。当你提交文" "件或文件夹时,这些属性从文件夹读取。如果没有发现这些属性,TortoiseGit会向上级" "目录搜索,直到未版本控制的文件夹,或到达根目录(例如 C:\\) 。如果你确认每个用户都是从同一个目录检出,例如trunk/,而不是其它子目录,那么只在trunk/设置属性就足够" "了。如果你不能确定,那么应当递归的设置每个子目录。深层的设置覆盖高层的设置 (靠" "近 trunk/)。" #. (para) #: ../source/TortoiseGit_en.xml:7991 #, fuzzy msgid "" "For project properties only you can use the " "Recursive checkbox to set the property to all sub-" "folders in the hierarchy, without also setting it on all files." msgstr "" "对于tsvn:属性,你只能对于所有子目录使" "用递归检查框设置属性,不能设置文件的属性。" #. (para) #: ../source/TortoiseGit_en.xml:7998 msgid "" "When you add new sub-folders using TortoiseGit, any project properties " "present in the parent folder will automatically be added to the new child " "folder too." msgstr "" "当你使用 TortoiseGit 增加新的目录时,任何父目录的项目属性都会被自动增加到子目" "录。" #. (para) #: ../source/TortoiseGit_en.xml:8004 #, fuzzy msgid "" "Although TortoiseGit's project properties are extremely useful, they only " "work with TortoiseGit, and some will only work in newer versions of " "TortoiseGit. If people working on your project use a variety of Git " "clients, or possibly have old versions of TortoiseGit, you may want to use " "repository hooks to enforce project policies. project properties can only " "help to implement a policy, they cannot enforce it." msgstr "" "尽管 tsvn:xxx 属性很有用,它们只适用于 TortoiseGit,而且一" "些只是对于新版本的 TortoiseGit 才生效。如果你的项目中的人使用各种 Git " "客户端,或者使用低版本的 TortoiseGit,你可能想使用版本库钩子强制执行项目政策。" "tsvn: 属性只能帮助你实现政策,不能强制执行。" #. (title) #: ../source/TortoiseGit_en.xml:8017 msgid "Branching / Tagging" msgstr "分支/标记" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:8025 ../source/TortoiseGit_en.xml:9508 msgid "copy" msgstr "复制" #. (primary) #: ../source/TortoiseGit_en.xml:8028 #, fuzzy msgid "mark release" msgstr "深红" #. (para) #: ../source/TortoiseGit_en.xml:8031 msgid "" "One of the features of version control systems is the ability to isolate " "changes onto a separate line of development. This line is known as a " "branch. Branches are often used to try out new " "features without disturbing the main line of development with compiler errors " "and bugs. As soon as the new feature is stable enough then the development " "branch is merged back into the main branch (trunk)." msgstr "" "版本控制系统的一个特性是能够把各种修改分离出来放在开发品的一个分割线上。这条线" "被称为分支。分支经常被用来试验新的特性,而不会对开发有" "编译错误的干扰。当新的特性足够稳定之后,开发品的分支就可以混合回主分支里(主干线)." #. (para) #: ../source/TortoiseGit_en.xml:8041 msgid "" "Another feature of version control systems is the ability to mark particular " "revisions (e.g. a release version), so you can at any time recreate a certain " "build or environment. This process is known as tagging." msgstr "" "版本控制系统的另一个特性是能够标记特殊的版本(例如某个发布版本),所以你可以在任" "何时候重新建立一个特定的构件和环境。这个过程被称作标记。" #. (para) #: ../source/TortoiseGit_en.xml:8047 #, fuzzy msgid "" "Git does not have special commands for branching or tagging, but uses " "so-called cheap copies instead. Cheap copies are similar to " "hard links in Unix, which means that instead of making a complete copy in the " "repository, an internal link is created, pointing to a specific tree/" "revision. As a result branches and tags are very quick to create, and take up " "almost no extra space in the repository." msgstr "" "Git 没有用于建立分支和标记的特殊命令,但是使用所谓的便宜复制来代替。便宜复制类似于Unix里的硬连接,它意思是代替一个版本库里的完整的" "复制,创建一个内部的连接,指向一个具体的版本树。结果分支和标记就迅速被创建,并" "且没有在版本库里占据任何额外的空间。" #. (title) #: ../source/TortoiseGit_en.xml:8057 msgid "Creating a Branch or Tag" msgstr "创建一个分支或标记" #. (para) #: ../source/TortoiseGit_en.xml:8058 msgid "" "If you have imported your project with the recommended directory structure, " "creating a branch or tag version is very simple: Select the " "folder in your working copy which you want to copy to a branch or tag, then " "select the command TortoiseGitBranch/Tag...." msgstr "" "如果你用推荐的目录结构导入了一个工程,那么创建分支或标记就非常简单: " "在你当前的工作副本中给你你想要复制的分支或标记选择一个目录,然" "后选择命令TortoiseGit分支/标记..." "。" #. (title) #: ../source/TortoiseGit_en.xml:8062 msgid "The Branch/Tag Dialog" msgstr "分支/标记对话框" #. (para) #: ../source/TortoiseGit_en.xml:8072 msgid "" "The default destination URL for the new branch will be the source URL on " "which your working copy is based. You will need to edit that URL to the new " "path for your branch/tag. So instead of \n" " http://svn.collab.net/repos/ProjectName/trunk\n" " you might now use something like \n" " http://svn.collab.net/repos/ProjectName/tags/Release_1.10\n" " If you can't remember the naming convention you used last time, " "click the button on the right to open the repository browser so you can view " "the existing repository structure." msgstr "" "默认的目标URL将会是你当前工作副本所处的源URL。你必须给你的分支/标记编辑一个新" "路径。来取代\n" " http://svn.collab.net/repos/ProjectName/trunk\n" "你可以使用这样的设置 \n" " http://svn.collab.net/repos/ProjectName/tags/Release_1.10\n" "如果你忘记了你上一次使用的命名约定,可以用鼠标右键打开版本库浏览器来" "察看已经存在的版本库结构。" #. (para) #: ../source/TortoiseGit_en.xml:8088 msgid "" "Now you have to select the source of the copy. Here you have three options: " "" msgstr "现在你必须选择要复制的源位置。在这里你有三个设置选项: " #. (term) #. (listitem) #: ../source/TortoiseGit_en.xml:8093 ../source/TortoiseGit_en.xml:15085 msgid "HEAD revision in the repository" msgstr "版本库中的最新版本" #. (para) #: ../source/TortoiseGit_en.xml:8095 msgid "" "The new branch is copied directly in the repository from the HEAD revision. " "No data needs to be transferred from your working copy, and the branch is " "created very quickly." msgstr "" "新分支直接从仓库中的最新版本里复制出来。不需要从你的工作副本中传输任何数据,这" "个分支的建立是非常快的。" #. (term) #: ../source/TortoiseGit_en.xml:8104 msgid "Specific revision in the repository" msgstr "在版本库中指定具体的版本" #. (para) #: ../source/TortoiseGit_en.xml:8106 msgid "" "The new branch is copied directly in the repository but you can choose an " "older revision. This is useful if you forgot to make a tag when you released " "your project last week. If you can't remember the revision number, click the " "button on the right to show the revision log, and select the revision number " "from there. Again no data is transferred from your working copy, and the " "branch is created very quickly." msgstr "" "在仓库中直接复制建立一个新分支同时你也可以选择一个旧版本。假如在你上周发布了项" "目时忘记了做标记,这将非常有用。如果你记不起来版本号,通过点击鼠标右键来显示版" "本日志,同时从这里选取版本号。和上次一样不需要从你的工作副本中传输任何数据,这" "个分支建立起来是非常快的。" #. (para) #: ../source/TortoiseGit_en.xml:8121 msgid "" "The new branch is an identical copy of your local working copy. If you have " "updated some files to an older revision in your WC, or if you have made local " "changes, that is exactly what goes into the copy. Naturally this sort of " "complex tag may involve transferring data from your WC back to the repository " "if it does not exist there already." msgstr "" "新的分支是一个完全等同于你的本地工作副本的一个副本。如果你更新了一些文件到你的" "工作副本的某个旧版本里,或者你在本地做出了修改,这些改变将准确无误的进入副本" "中。自然而然地这种综合的标记会包含正在从工作副本传输到版本库的数据,如果这些数" "据还不存在的话。" #. (para) #: ../source/TortoiseGit_en.xml:8134 msgid "" "If you want your working copy to be switched to the newly created branch " "automatically, use the Switch working copy to new branch/tag checkbox. But if you do that, first make sure that your working " "copy does not contain modifications. If it does, those changes will be merged " "into the branch WC when you switch." msgstr "" "如果你想把你的工作副本自动切换到最新创建的分支,使用转换工作副本至新" "分支/标记 选择框.但是如果你打算这么做,首先要确认你的工作副本没有被" "修改。如果有修改的话,当你转换后这些修改将会混合进你的工作副本分支里。" #. (para) #: ../source/TortoiseGit_en.xml:8142 msgid "" "Press OK to commit the new copy to the repository. " "Don't forget to supply a log message. Note that the copy is created " "inside the repository." msgstr "" "按下确认提交新副本到版本库中。别忘了提供一条日志信息。" "需要注意的是这个副本是在版本库内部创建的。" #. (para) #: ../source/TortoiseGit_en.xml:8147 #, fuzzy msgid "" "Note that unless you opted to switch your working copy to the newly created " "branch, creating a Branch or Tag does not affect your " "working copy. Even if you create the branch from your WC, those changes are " "committed to the new branch, not to the trunk, so your WC may still be marked " "as modified with respect to the trunk." msgstr "" "需要注意建立一个分支或标记不会影响你的工作副本。即使你复" "制了你的工作副本,这些修改也会提交到新分支里,而不是到主干里,所以你的工作副本" "可能仍然标记为已修改状态。" #. (title) #: ../source/TortoiseGit_en.xml:8156 msgid "To Checkout or to Switch..." msgstr "检出或者切换" #. (primary) #: ../source/TortoiseGit_en.xml:8159 msgid "switch" msgstr "切换" #. (para) #: ../source/TortoiseGit_en.xml:8161 #, fuzzy msgid "" "...that is (not really) the question. While a checkout downloads everything " "from the desired branch in the repository to your working directory, " "TortoiseGitSwitch... only transfers the changed data to your working " "copy. Good for the network load, good for your patience. :-)" msgstr "" "...这是个小问题。当你想从预期的分支检出所有数据到你的工作副本目录时" "TortoiseGit切换... 仅仅传输已经被修改的数据到你的工作副本中。这样能减轻你的网络负担," "也能减少你的耐心。" #. (para) #: ../source/TortoiseGit_en.xml:8172 #, fuzzy msgid "" "To be able to work with your freshly generated branch or tag you have several " "ways to handle it. You can: " msgstr "" "为了能够使用你最新产生的副本你有采用下面几种方法。你可以: " #. (para) #: ../source/TortoiseGit_en.xml:8177 msgid "" "TortoiseGitCheckout to make a fresh checkout in an empty folder. You " "can check out to any location on your local disk and you can create as many " "working copies from your repository as you like." msgstr "" "TortoiseGit检出一个最新的项目在一个空目录下。你可以在你的本地磁盘上的任意位置进行" "检出操作,同时你可以从版本库中按照你的意愿建立出任意数量的副本。" #. (para) #: ../source/TortoiseGit_en.xml:8189 msgid "" "Switch your current working copy to the newly created copy in the repository. " "Again select the top level folder of your project and use " "TortoiseGitSwitch... from the context menu." msgstr "" "在版本库中从你当前的工作副本切换到最新建立的副本。再一次选择你的项目所处的顶级" "文件夹然后在菜单中使用TortoiseGit" "切换...。" #. (para) #: ../source/TortoiseGit_en.xml:8199 msgid "" "In the next dialog enter the URL of the branch you just created. Select the " "Head Revision radio button and click on OK. Your working copy is switched to the new branch/tag." msgstr "" "在接下来的对话框中蠕蠕你刚才建立的分支的URL。选择最新版本" "单选按钮然后确认。你的工作副本就切换到了最新的分支/标" "记。" #. (para) #: ../source/TortoiseGit_en.xml:8207 msgid "" "Switch works just like Update in that it never discards your local changes. " "Any changes you have made to your working copy which have not yet been " "committed will be merged when you do the Switch. If you do not want this to " "happen then you must either commit the changes before switching, or revert " "your working copy to an already-committed revision (typically HEAD)." msgstr "" "切换操作起来就象更新,因为它没有丢弃你在本地做的修改。在工作副本里当你进行切换" "的时候任何没有提交过的修改都会被混合。如果你不想看到这样的结果,那么你可以有两" "种选择,要么在切换前提交修改,要么把工作副本恢复到一个已经提交过的版本(比如最" "新版本)。" #. (para) #: ../source/TortoiseGit_en.xml:8217 #, fuzzy msgid "" "If you want to work on trunk and branch, but don't want the expense of a " "fresh checkout, you can use Windows Explorer to make a copy of your trunk " "checkout in another folder, then TortoiseGitSwitch... that copy to your " "new branch." msgstr "" "在版本库中从你当前的工作副本切换到最新建立的副本。再一次选择你的项目所处的顶级" "文件夹然后在菜单中使用TortoiseGit" "切换...。" #. (title) #: ../source/TortoiseGit_en.xml:8230 msgid "The Switch Dialog" msgstr "切换对话框" #. (para) #: ../source/TortoiseGit_en.xml:8234 msgid "" "Although Git itself makes no distinction between tags and branches, " "the way they are typically used differs a bit. " msgstr "" "尽管Git本身不区分标记和分支,它们的使用方法还是有些不同。" #. (para) #: ../source/TortoiseGit_en.xml:8239 msgid "" "Tags are typically used to create a static snapshot of the project at a " "particular stage. As such they not normally used for development - that's " "what branches are for, which is the reason we recommended the /" "trunk /branches /tags repository structure in the first place. " "Working on a tag revision is not a good idea, but " "because your local files are not write protected there is nothing to stop you " "doing this by mistake. However, if you try to commit to a path in the " "repository which contains /tags/, TortoiseGit will warn " "you." msgstr "" "在某个特殊的阶段标记被用来建立一个项目的静态映像。同样地标记和分支应该被独特地" "应用于开发品。这就是我们首选推荐 /trunk /branches /tags这" "样的版本库结构的原因。使用标记的版本并不是一个好想法,因" "为你的本地文件没有写保护,你这样做容易犯错误。不管怎样如果你试着提交(修改)到一" "个包含/标记/的版本库路径下,TortoiseGit 会给你警告。" #. (para) #: ../source/TortoiseGit_en.xml:8255 msgid "" "It may be that you need to make further changes to a release which you have " "already tagged. The correct way to handle this is to create a new branch from " "the tag first and commit the branch. Do your Changes on this branch and then " "create a new tag from this new branch, e.g. Version_1.0.1." msgstr "" "如果你想要在一个已经标记的发布版上做更多的修改。正确的操作方法是先从标记处建立" "一个新分支然后提交这个分支。在这个分支的基础上进行修改后再从这个新分支上建立一" "个新标记,例如 Version_1.0.1。" #. (para) #: ../source/TortoiseGit_en.xml:8265 msgid "" "If you modify a working copy created from a branch and commit, then all " "changes go to the new branch and not the trunk. Only the " "modifications are stored. The rest remains a cheap copy." msgstr "" "如果你修改了一个从分支建立的工作副本然后又提交了这个副本,那么所有的修改会转到" "一个新分支里而不是 主干。仅仅是存储了修改的数据。其余的数" "据还是便宜复制。" #. (title) #: ../source/TortoiseGit_en.xml:8278 msgid "Merging" msgstr "正在合并" #. (primary) #. (primary) #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:8281 ../source/TortoiseGit_en.xml:8407 #: ../source/TortoiseGit_en.xml:8520 ../source/TortoiseGit_en.xml:8553 msgid "merge" msgstr "合并" #. (para) #: ../source/TortoiseGit_en.xml:8283 msgid "" "Where branches are used to maintain separate lines of development, at some " "stage you will want to merge the changes made on one branch back into the " "trunk, or vice versa." msgstr "" "分支用来维护独立的开发支线,在一些阶段,你可能需要将分支上的修改合并到最新版" "本,或者将最新版本的修改合并到分支。" #. (para) #: ../source/TortoiseGit_en.xml:8288 #, fuzzy msgid "" "It is important to understand how branching and merging works in Git " "before you start using it, as it can become quite complex. It is highly " "recommended that you read the chapter Branching and Merging in the Git book, which gives a full description and " "many examples of how it is used." msgstr "" "因为分支与合并很复杂,所以在你开始使用之前,请先理解它是怎么工作的。强烈建议你" "阅读《使用 Git 进行版本管理》的分支与合并章" "节,它给出了全面的描述,和许多使用举例。" #. (para) #: ../source/TortoiseGit_en.xml:8298 msgid "" "The next point to note is that merging always takes " "place within a working copy. If you want to merge changes into a branch, you have to have a working copy for that branch checked " "out, and invoke the merge wizard from that working copy using " "TortoiseGitMerge...." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8309 msgid "" "In general it is a good idea to perform a merge into an unmodified working " "copy. If you have made other changes in your WC, commit those first. If the " "merge does not go as you expect, you may want to revert the changes, and the " "Revert command will discard all " "changes including any you made before the merge." msgstr "" "通常来说,在没有修改的工作副本上执行合并是一个好想法。如果你在工作副本上做了修" "改,请先提交。如果合并没有按照你的想法执行,你可能需要撤销这些修改,命令" "恢复 会丢弃包含你执行合并之前的所有" "修改。" #. (para) #: ../source/TortoiseGit_en.xml:8316 #, fuzzy msgid "" "There are three common use cases for merging which are handled in slightly " "different ways, as described below. The first page of the merge wizard asks " "you to select the method you need." msgstr "这里有两个处理稍微不同的用例,如下所述。" #. (term) #: ../source/TortoiseGit_en.xml:8324 msgid "Merge a range of revisions" msgstr "合并版本范围" #. (para) #: ../source/TortoiseGit_en.xml:8326 msgid "" "This method covers the case when you have made one or more revisions to a " "branch (or to the trunk) and you want to port those changes across to a " "different branch." msgstr "" "这个方法覆盖了你已经在分支(或者最新版本)上做出了一个或多个修改,并且你想将这些" "修改应用到不同分支的情况。" #. (para) #: ../source/TortoiseGit_en.xml:8331 msgid "" "What you are asking Git to do is this: Calculate the changes " "necessary to get [FROM] revision 1 of branch A [TO] revision 7 of branch A, " "and apply those changes to my working copy (of trunk or branch B)." msgstr "" #. (term) #. (title) #: ../source/TortoiseGit_en.xml:8340 ../source/TortoiseGit_en.xml:8517 msgid "Reintegrate a branch" msgstr "复兴分支" #. (para) #: ../source/TortoiseGit_en.xml:8342 #, fuzzy msgid "" "This method covers the case when you have made a feature branch as discussed " "in the Git book. All trunk changes have been ported to the feature " "branch, week by week, and now the feature is complete you want to merge it " "back into the trunk. Because you have kept the feature branch synchronized " "with the trunk, the latest versions of branch and trunk will be absolutely " "identical except for your branch changes." msgstr "" "这个用例覆盖了这种情况,当你象《Git手册》里讨论的那样,创建了一个新特性" "分支。所有最新版本的修改都要每周一次合并到新特性分支,等新特性完成后,你向将它" "合并到最新版本。因为你已经保持了新特性分支和最新版本同步,所以除了你在分支做的" "修改,其它部分在分支和最新版本应该是相同的。于是在这种情况下,你应当用比较分支" "和最新版本的方法来合并。" #. (para) #: ../source/TortoiseGit_en.xml:8351 msgid "" "This is a special case of the tree merge described below, and it requires " "only the URL to merge from (normally) your development branch. It uses the " "merge-tracking features of Git to calculate the correct revision " "ranges to use, and perform additional checks which ensure that the branch has " "been fully updated with trunk changes. This ensures that you don't " "accidentally undo work that others have committed to trunk since you last " "synchronized changes." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8361 msgid "" "After the merge, all branch development has been completely merged back into " "the main development line. The branch is now redundant and can be deleted." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8366 msgid "" "Once you have performed a reintegrate merge you should not continue to use it " "for development. The reason for this is that if you try to resynchronize your " "existing branch from trunk later on, merge tracking will see your " "reintegration as a trunk change that has not yet been merged into the branch, " "and will try to merge the branch-to-trunk merge back into the branch! The " "solution to this is simply to create a new branch from trunk to continue the " "next phase of your development." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:8379 msgid "Merge two different trees" msgstr "合并两个不同的树" #. (para) #: ../source/TortoiseGit_en.xml:8381 msgid "" "This is a more general case of the reintegrate method. What you are asking " "Git to do is: Calculate the changes necessary to get [FROM] the " "head revision of the trunk [TO] the head revision of the branch, and apply " "those changes to my working copy (of the trunk). The net result is " "that trunk now looks exactly like the branch." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8389 msgid "" "If your server/repository does not support merge-tracking then this is the " "only way to merge a branch back to trunk. Another use case occurs when you " "are using vendor branches and you need to merge the changes following a new " "vendor drop into your trunk code. For more information read the chapter on " "vendor branches in the Git Book." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:8404 msgid "Merging a Range of Revisions" msgstr "合并指定版本范围" #. (secondary) #: ../source/TortoiseGit_en.xml:8408 msgid "revision range" msgstr "版本范围" #. (para) #: ../source/TortoiseGit_en.xml:8410 #, fuzzy msgid "" " In the From: field enter the full " "folder URL of the branch or tag containing the changes you want to port into " "your working copy. You may also click ... to browse " "the repository and find the desired branch. If you have merged from this " "branch before, then just use the drop down list which shows a history of " "previously used URLs." msgstr "" "在从:域输入文件夹在分支或标记中的完整URL,它包含了你想应" "用到工作副本的修改。你也可以点击...浏览版本库,找到渴望" "的分支。如果你以前已经从这个分支合并过,可以直接从包含历史的下拉列表选择以前使" "用的URL。" #. (title) #: ../source/TortoiseGit_en.xml:8412 msgid "The Merge Wizard - Select Revision Range" msgstr "合并向导 - 选择版本范围" #. (para) #: ../source/TortoiseGit_en.xml:8425 msgid "" "In the Revision range to merge field enter the list of " "revisions you want to merge. This can be a single revision, a list of " "specific revisions separated by commas, or a range of revisions separated by " "a dash, or any combination of these." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8433 msgid "" "There is an important difference in the way a revision range is specified " "with TortoiseGit compared to the command line client. The easiest way to " "visualise it is to think of a fence with posts and fence panels." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8439 msgid "" "With the command line client you specify the changes to merge using two " "fence post revisions which specify the before and after points." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8445 msgid "" "With TortoiseGit you specify the changeset to merge using fence " "panels. The reason for this becomes clear when you use the log dialog " "to specify revisions to merge, where each revision appears as a changeset." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8452 msgid "" "If you are merging revisions in chunks, the method shown in the Git " "book will have you merge 100-200 this time and 200-300 next time. With " "TortoiseGit you would merge 100-200 this time and 201-300 next time." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8459 msgid "" "This difference has generated a lot of heat on the mailing lists. We " "acknowledge that there is a difference from the command line client, but we " "believe that for the majority of GUI users it is easier to understand the " "method we have implemented." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8467 #, fuzzy msgid "" "The easiest way to select the range of revisions you need is to click on " "Show Log, as this will list recent changes with their " "log comments. If you want to merge the changes from a single revision, just " "select that revision. If you want to merge changes from several revisions, " "then select that range (using the usual Shift-modifier). " "Click on OK and the list of revision numbers to merge " "will be filled in for you." msgstr "" "选择版本范围最简单的方法是,点击显示日志,列出最近的修" "改和日志。如果你要合并单个版本的修改,直接选取那个版本。如果你要合并多个版本," "就选择范围(使用通常的Shift-键)。点击确认,就会为你填写合并对话框的全部域,开" "始版本结束版本。" #. (para) #: ../source/TortoiseGit_en.xml:8478 msgid "" "If you want to merge changes back out of your working " "copy, to revert a change which has already been committed, select the " "revisions to revert and make sure the Reverse merge box " "is checked." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8484 #, fuzzy msgid "" "If you have already merged some changes from this branch, hopefully you will " "have made a note of the last revision merged in the log message when you " "committed the change. In that case, you can use Show Log for the Working Copy to trace that log message. Remembering that " "we are thinking of revisions as changesets, you should Use the revision after " "the end point of the last merge as the start point for this merge. For " "example, if you have merged revisions 37 to 39 last time, then the start " "point for this merge should be revision 40." msgstr "" "如果你已经从这个分支合并了一些修改,希望你在提交日志中注明最后一个合并的版本" "号。这时,你可以在工作服本上使用显示日志对话框跟踪日" "志。使用最后合并的版本号作为本次合并的开始版本。例如,你已经合并了版本37到39," "那么本次合并你应该从版本39开始。" #. (para) #: ../source/TortoiseGit_en.xml:8497 msgid "" "If you are using the merge tracking features of Git, you do not need " "to remember which revisions have already been merged - Git will record " "that for you. If you leave the revision range blank, all revisions which have " "not yet been merged will be included. Read to find out more." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8505 msgid "" "If other people may be committing changes then be careful about using the " "HEAD revision. It may not refer to the revision you think it does if someone " "else made a commit after your last update." msgstr "" "如果其他用户可能提交,那么要小心使用最新版本。如果有人在你最近更新之后提交了," "它指代的版本可能就不是你想的那样了。" #. (para) #: ../source/TortoiseGit_en.xml:8511 msgid "" "Click Next and go to " msgstr "" "点击 下一步 进入 " #. (secondary) #: ../source/TortoiseGit_en.xml:8521 msgid "reintegrate" msgstr "复兴" #. (para) #: ../source/TortoiseGit_en.xml:8523 #, fuzzy msgid "" " To merge a feature branch back into the trunk you must start " "the merge wizard from within a working copy of the trunk." msgstr "" "为了将新特性从分支合并到最新版本,你需要进入最新版本的工作副本。在右键菜单选" "择 TortoiseGit合并... " #. (title) #: ../source/TortoiseGit_en.xml:8525 #, fuzzy msgid "The Merge Wizard - Reintegrate Merge" msgstr "合并向导 - 树合并" #. (para) #: ../source/TortoiseGit_en.xml:8531 #, fuzzy msgid "" "In the From URL: field enter the full folder URL of the " "branch that you want to merge back. You may also click ... to browse the repository." msgstr "" "在开始:域输入trunk文件夹的全路径。这" "听起来好象是错误的,但是切记 trunk 是你想增加分支修改的开始点。也可以点击 " "...浏览版本库。" #. (para) #: ../source/TortoiseGit_en.xml:8538 msgid "" "There are some conditions which apply to a reintegrate merge. Firstly, the " "server must support merge tracking. The working copy must be of depth " "infinite (no sparse checkouts), and it must not have any local modifications, " "switched items or items that have been updated to revisions other than HEAD. " "All changes to trunk made during branch development must have been merged " "across to the branch (or marked as having been merged). The range of " "revisions to merge will be calculated automatically." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:8550 msgid "Merging Two Different Trees" msgstr "合并两个不同的目录树" #. (secondary) #: ../source/TortoiseGit_en.xml:8554 msgid "two trees" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8556 msgid "" " If you are using this method to merge a feature branch back " "to trunk, you need to start the merge wizard from within a working copy of " "trunk." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:8558 msgid "The Merge Wizard - Tree Merge" msgstr "合并向导 - 树合并" #. (para) #: ../source/TortoiseGit_en.xml:8564 #, fuzzy msgid "" "In the From: field enter the full folder URL of the " "trunk. This may sound wrong, but remember that the trunk " "is the start point to which you want to add the branch changes. You may also " "click ... to browse the repository." msgstr "" "在开始:域输入trunk文件夹的全路径。这" "听起来好象是错误的,但是切记 trunk 是你想增加分支修改的开始点。也可以点击 " "...浏览版本库。" #. (para) #: ../source/TortoiseGit_en.xml:8573 msgid "" "In the To: field enter the full folder URL of the " "feature branch." msgstr "在到:域输入关注的分支中文件夹的全路径。" #. (para) #: ../source/TortoiseGit_en.xml:8577 msgid "" "In both the From Revision field and the To " "Revision field, enter the last revision number at which the two " "trees were synchronized. If you are sure no-one else is making commits you " "can use the HEAD revision in both cases. If there is a chance that someone " "else may have made a commit since that synchronization, use the specific " "revision number to avoid losing more recent commits." msgstr "" "在开始版本结束版本 域,输入两个树" "被同步的最后一个版本号。如果你确信没有其他人提交,两个都可是输入 HEAD。如果在" "同步时可能有人提交的话,使用清楚的版本号以便面丢失最新提交。" #. (para) #: ../source/TortoiseGit_en.xml:8587 msgid "You can also use Show Log to select the revision." msgstr "也可以使用 显示日志 选择版本。" #. (title) #: ../source/TortoiseGit_en.xml:8593 msgid "Merge Options" msgstr "合并选项" #. (para) #: ../source/TortoiseGit_en.xml:8595 msgid "" "This page of the wizard lets you specify advanced options, before starting " "the merge process. Most of the time you can just use the default settings." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8600 #, fuzzy msgid "" "You can specify the depth to use for the merge, i.e. how far down into your " "working copy the merge should go. The depth terms used are described in . The default depth is Working " "copy, which uses the existing depth setting, and is almost always " "what you want." msgstr "" "你可以指定合并的深度。深度这个术语在 描述。默认深度是工作副本,它使用现有的深度配置。" #. (para) #: ../source/TortoiseGit_en.xml:8607 #, fuzzy msgid "" "Most of the time you want merge to take account of the file's history, so " "that changes relative to a common ancestor are merged. Sometimes you may need " "to merge files which are perhaps related, but not in your repository. For " "example you may have imported versions 1 and 2 of a third party library into " "two separate directories. Although they are logically related, Git has " "no knowledge of this because it only sees the tarballs you imported. If you " "attempt to merge the difference between these two trees you would see a " "complete removal followed by a complete add. To make Git use only path-" "based differences rather than history-based differences, check the " "Ignore ancestry box. Read more about this topic in the " "Git book, Noticing or Ignoring Ancestry" msgstr "" "大部分时候,你要合并文件的历史,所以要相对于公共祖先合并。有时你需要合并或许是" "有关系的文件,但是不在你的版本库中。例如,你已经将一个第三方库的版本1和2导入到" "两个单独目录。尽管它们逻辑相关,因为Git只看到你导入的文件,所以它不知道" "这些关系。如果你试图合并这两个树的修改,将会看到完全的删除和增加。让Git" "只使用路径差异,不关心历史差异,选中忽略祖先检查框。你可" "以在《使用 Git 进行版本管理》的关心或忽略祖先中阅读此主题的更多信息。" #. (para) #: ../source/TortoiseGit_en.xml:8624 msgid "" "You can specify the way that line ending and whitespace changes are handled. " "These options are described in . The default behaviour is to treat all whitespace and line-end differences " "as real changes to be merged." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8630 msgid "" "If you are using merge tracking and you want to mark a revision as having " "been merged, without actually doing the merge here, check the Only " "record the merge checkbox. There are two possible reasons you " "might want to do this. It may be that the merge is too complicated for the " "merge algorithms, so you code the changes by hand, then mark the change as " "merged so that the merge tracking algorithm is aware of it. Or you might want " "to prevent a particular revision from being merged. Marking it as already " "merged will prevent the merge occurring with merge-tracking-aware clients." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8641 #, fuzzy msgid "" "Now everything is set up, all you have to do is click on the " "Merge button. If you want to preview the results " "Test Merge performs the merge operation, but does " "not modify the working copy at all. It shows you a list " "of the files that will be changed by a real merge, and notes those areas " "where conflicts will occur." msgstr "" "演习运行执行合并操作,但是根本 " "修改工作副本。它显示在真实的合并中要修改的文件列表,还告诉你哪里会出现冲突。" #. (para) #: ../source/TortoiseGit_en.xml:8649 msgid "" "The merge progress dialog shows each stage of the merge, with the revision " "ranges involved. This may indicate one more revision than you were expecting. " "For example if you asked to merge revision 123 the progress dialog will " "report Merging revisions 122 through 123. To understand this " "you need to remember that Merge is closely related to Diff. The merge process " "works by generating a list of differences between two points in the " "repository, and applying those differences to your working copy. The progress " "dialog is simply showing the start and end points for the diff." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:8662 msgid "Reviewing the Merge Results" msgstr "预览合并结果" #. (para) #: ../source/TortoiseGit_en.xml:8663 msgid "" "The merge is now complete. It's a good idea to have a look at the merge and " "see if it's as expected. Merging is usually quite complicated. Conflicts " "often arise if the branch has drifted far from the trunk." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8668 #, fuzzy msgid "" "For Git clients and servers prior to 1.5, no merge information is " "stored and merged revisions have to be tracked manually. When you have tested " "the changes and come to commit this revision, your commit log message should " "always include the revision numbers which have been " "ported in the merge. If you want to apply another merge at a later time you " "will need to know what you have already merged, as you do not want to port a " "change more than once. For more information about this, refer to Best Practices for Merging in the Git book." msgstr "" "当你已经测试了修改,准备提交时,日志信息应当总是包含这次" "合并的版本信息。如果你以后需要执行合并,就需要知道已经合并了什么,因为你不想多" "次合并同一修改。不幸的是,合并信息不会存储在Git版本库中。阅读《使用 " "Git 进行版本管理》中的合并的最佳实践章节以获得更多信息。" #. (para) #: ../source/TortoiseGit_en.xml:8685 msgid "" "If your server and all clients are running Git 1.5 or higher, the " "merge tracking facility will record the revisions merged and avoid a revision " "being merged more than once. This makes your life much simpler as you can " "simply merge the entire revision range each time and know that only new " "revisions will actually be merged." msgstr "" "如果你的服务器和所有客户端都使用 Git 1.5 或更高版本,合并跟踪工具会记录" "已经合并的版本,避免某个版本被合并多次。它会使你的生活更简单,因为你每次都可以" "简单的合并全部版本范围,并且知道只有新版本才会实际被合并。" #. (para) #: ../source/TortoiseGit_en.xml:8692 msgid "" "Branch management is important. If you want to keep this branch up to date " "with the trunk, you should be sure to merge often so that the branch and " "trunk do not drift too far apart. Of course, you should still avoid repeated " "merging of changes, as explained above." msgstr "" "分支管理很重要。如果你要保持这个分支与最新版本同步,你应当经常合并,这样分支和" "最新版本的差别就不会太大。当然,你仍旧应该遵循上面的说明,避免重复合并修改。" #. (para) #: ../source/TortoiseGit_en.xml:8699 #, fuzzy msgid "" "If you have just merged a feature branch back into the trunk, the trunk now " "contains all the new feature code, and the branch is obsolete. You can now " "delete it from the repository if required." msgstr "" "这种情况下,因为新特性已经集成到最新版本,你不再需要这个新特性分支。新特性分支" "变成多余的,如果需要可以从版本库删除它。" #. (para) #: ../source/TortoiseGit_en.xml:8707 #, fuzzy msgid "" "Git can't merge a file with a folder and vice versa - only folders to " "folders and files to files. If you click on a file and open up the merge " "dialog, then you have to give a path to a file in that dialog. If you select " "a folder and bring up the dialog, then you must specify a folder URL for the " "merge." msgstr "" "Git不能进行文件与文件夹的合并,反之亦然 - 只能文件夹对文件夹,文件对文" "件。如果选择了文件,打开合并对话框,那么你必须在对话框中给出文件的路径。如果你" "选择了文件夹,打开合并对话框,那么你必须给出文件夹的对话框。" #. (title) #: ../source/TortoiseGit_en.xml:8717 msgid "Merge Tracking" msgstr "合并跟踪" #. (primary) #: ../source/TortoiseGit_en.xml:8719 msgid "merge tracking" msgstr "合并跟踪" #. (para) #: ../source/TortoiseGit_en.xml:8721 msgid "" "Git 1.5 introduced facilities for merge tracking. When you merge " "changes from one tree into another, the revision numbers merged are stored " "and this information can be used for several different purposes. " msgstr "" "Git 1.5 引入了合并跟踪特性。当你合并版本树时,版本号会被保存,此信息可" "以用于几个目的。" #. (para) #: ../source/TortoiseGit_en.xml:8727 msgid "" "You can avoid the danger of merging the same revision twice (repeated merge " "problem). Once a revision is marked as having been merged, future merges " "which include that revision in the range will skip over it." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8735 msgid "" "When you merge a branch back into trunk, the log dialog can show you the " "branch commits as part of the trunk log, giving better traceability of " "changes." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8742 msgid "" "When you show the log dialog from within the merge dialog, revisions already " "merged are shown in grey." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8748 msgid "" "When showing blame information for a file, you can choose to show the " "original author of merged revisions, rather than the person who did the merge." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8755 msgid "" "You can mark revisions as do not merge by including them " "in the list of merged revisions without actually doing the merge." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8763 msgid "" "Merge tracking information is stored in the svn:mergeinfo " "property by the client when it performs a merge. When the merge is committed " "the server stores that information in a database, and when you request merge, " "log or blame information, the server can respond appropriately. For the " "system to work properly you must ensure that the server, the repository and " "all clients are upgraded. Earlier clients will not store the svn:" "mergeinfo property and earlier servers will not provide the " "information requested by new clients." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8773 #, fuzzy msgid "" "Find out more about merge tracking from Git's Merge tracking " "documentation." msgstr "" "从http://Git.tigris.org/servlets/" "ProjectDocumentList?folderID=91下载最新版本的Git。" #. (title) #: ../source/TortoiseGit_en.xml:8781 msgid "Handling Conflicts during Merge" msgstr "子合并期间处理冲突" #. (primary) #: ../source/TortoiseGit_en.xml:8784 msgid "merge conflicts" msgstr "合并冲突" #. (para) #: ../source/TortoiseGit_en.xml:8786 msgid "" "Merging does not always go smoothly. Sometimes there is a conflict, and if " "you are merging multiple ranges, you generally want to resolve the conflict " "before merging of the next range starts. TortoiseGit helps you through this " "process by showing the merge conflict callback dialog. " "" msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:8793 msgid "The Merge Conflict Callback Dialog" msgstr "合并冲突回调对话框" #. (para) #: ../source/TortoiseGit_en.xml:8797 #, fuzzy msgid "" "When a conflict occurs during the merge, you have three ways to handle it. " "" msgstr "现在你必须选择要复制的源位置。在这里你有三个设置选项: " #. (para) #: ../source/TortoiseGit_en.xml:8802 msgid "" "You may decide that your local changes are much more important, so you want " "to discard the version from the repository and keep your local version. Or " "you might discard your local changes in favour of the repository version. " "Either way, no attempt is made to merge the changes - you choose one or the " "other." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8812 msgid "" "Normally you will want to look at the conflicts and resolve them. In that " "case, choose the Edit Conflict which will start up " "your merge tool. When you are satisfied with the result, click " "Resolved." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8820 msgid "" "The last option is to postpone resolution and continue with merging. You can " "choose to do that for the current conflicted file, or for all files in the " "rest of the merge. However, if there are further changes in that file, it " "will not be possible to complete the merge." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8830 msgid "" "If you do not want to use this interactive callback, there is a checkbox in " "the merge progress dialog Merge non-interactive. If this " "is set for a merge and the merge would result in a conflict, the file is " "marked as in conflict and the merge goes on. You will have to resolve the " "conflicts after the whole merge is finished. If it is not set, then before a " "file is marked as conflicted you get the chance to resolve the conflict " "during the merge. This has the advantage that if a file " "gets multiple merges (multiple revisions apply a change to that file), " "subsequent merges might succeed depending on which lines are affected. But of " "course you can't walk away to get a coffee while the merge is running ;)" msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:8845 msgid "Merge a Completed Branch" msgstr "" #. (primary) #: ../source/TortoiseGit_en.xml:8848 #, fuzzy msgid "merge reintegrate" msgstr "复兴" #. (para) #: ../source/TortoiseGit_en.xml:8850 msgid "" "If you want to merge all changes from a feature branch back to trunk, then " "you can use the TortoiseGitMerge " "reintegrate... from the extended context menu " "(hold down the Shift key while you right click on the file). " " This dialog is very easy. All you have to do is set the " "options for the merge, as described in . The rest is done by TortoiseGit automatically using merge tracking." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:8860 #, fuzzy msgid "The Merge reintegrate Dialog" msgstr "合并全部对话框" #. (title) #: ../source/TortoiseGit_en.xml:8869 msgid "Feature Branch Maintenance" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8870 msgid "" "When you develop a new feature on a separate branch it is a good idea to work " "out a policy for re-integration when the feature is complete. If other work " "is going on in trunk at the same time you may find that " "the differences become significant over time, and merging back becomes a " "nightmare." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8877 msgid "" "If the feature is relatively simple and development will not take long then " "you can adopt a simple approach, which is to keep the branch entirely " "separate until the feature is complete, then merge the branch changes back " "into trunk. In the merge wizard this would be a simple Merge a " "range of revisions, with the revision range being the revision " "span of the branch." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:8885 msgid "" "If the feature is going to take longer and you need to account for changes in " "trunk, then you need to keep the branch synchronised. This " "simply means that periodically you merge trunk changes into the branch, so " "that the branch contains all the trunk changes plus the " "new feature. The synchronisation process uses Merge a range of " "revisions. When the feature is complete then you can merge it back " "to trunk using either Reintegrate a branch or Merge two different trees." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:8900 msgid "Locking" msgstr "锁" #. (primary) #: ../source/TortoiseGit_en.xml:8902 msgid "locking" msgstr "加锁" #. (primary) #: ../source/TortoiseGit_en.xml:8905 msgid "readonly" msgstr "只读" #. (para) #: ../source/TortoiseGit_en.xml:8907 msgid "" "Git generally works best without locking, using the Copy-Modify-" "Merge methods described earlier in . However there are a few instances when you " "may need to implement some form of locking policy. " msgstr "" "使用之前在中描述的" "复制-修改-合并 的方法,Git通常不需要锁就可以很好的工作。" "但是,在某些情况下你可能需要制定某种锁定策略。" #. (para) #: ../source/TortoiseGit_en.xml:8915 msgid "" "You are using unmergeable files, for example, graphics files. " "If two people change the same file, merging is not possible, so one of you " "will lose their changes." msgstr "" "例如,你使用图形文件等不能合并的文件。如果两个人修改同一个这样" "的文件,合并是不可能的,所以你丢失其中一个的修改。" #. (para) #: ../source/TortoiseGit_en.xml:8923 #, fuzzy msgid "" "Your company has always used a locking revision control system in the past " "and there has been a management decision that locking is best." msgstr "" "你的公司过去经常使用VCS锁定,这是个管理决定,锁定是最好的。" #. (para) #: ../source/TortoiseGit_en.xml:8931 #, fuzzy msgid "" "Firstly you need to ensure that your Git server is upgraded to at " "least version 1.2. Earlier versions do not support locking at all. If you are " "using file:// access, then of course only your client " "needs to be updated." msgstr "" "首先,你需要确保你的Git服务器更新到至少1.2版本。早期的版本不支持锁定。" "如果你使用file:///进行访问,那么当然只要更新你的客户端就" "可以了。" #. (title) #: ../source/TortoiseGit_en.xml:8938 msgid "How Locking Works in Git" msgstr "锁定在Subverion中是如何工作的" #. (para) #: ../source/TortoiseGit_en.xml:8939 msgid "" "By default, nothing is locked and anyone who has commit access can commit " "changes to any file at any time. Others will update their working copies " "periodically and changes in the repository will be merged with local changes." msgstr "" "默认情况下,所有的东西都没有锁定,只要有提交权限的人都可以在任何时候提交任何的" "文件。其他人会定时更新他们的工作副本,在库中的改变的东西都会与本地合并。" #. (para) #: ../source/TortoiseGit_en.xml:8945 msgid "" "If you Get a Lock on a file, then only you can commit " "that file. Commits by all other users will be blocked until you release the " "lock. A locked file cannot be modified in any way in the repository, so it " "cannot be deleted or renamed either, except by the lock owner." msgstr "" "如果你对一个文件 取得锁定,那么只有你可以提交这个文件。" "其他用户的提交都会被拒绝,直到你释放了这个锁。一个被锁定的文件不能在库中进行任" "何形式的合并。所以它不能除锁的拥用者之外的人删除或更名。" #. (para) #: ../source/TortoiseGit_en.xml:8952 msgid "" "However, other users will not necessarily know that you have taken out a " "lock. Unless they check the lock status regularly, the first they will know " "about it is when their commit fails, which in most cases is not very useful. " "To make it easier to manage locks, there is a new Git property " "svn:needs-lock. When this property is set (to any value) " "on a file, whenever the file is checked out or updated, the local copy is " "made read-only unless that working copy holds a lock for " "the file. This acts as a warning that you should not edit that file unless " "you have first acquired a lock. Files which are versioned and read-only are " "marked with a special overlay in TortoiseGit to indicate that you need to " "acquire a lock before editing." msgstr "" "但是,其他用户不必知道你已经增加了锁定,除非他们定期地检查锁定的状态。这其实没" "什么意义,因为他们发现提交失败的时候就可以知道锁定了。为了更容易管理锁,而设置" "了一个新的Git属性 svn:needs-lock。当一个文件的这个属" "性被设置(成任意值)的时候,每当该文件检出或更新时,本地的副本都被设成只读," "除非该工作副本就是拥有锁的那个用户的。这么做是为了能警告" "你,你不应该修改这个文件,除非你申请到了锁定。受控只读的文件在TortoiseGit中用" "一个特殊的图标来表示你需要在编辑前取得锁定。" #. (para) #: ../source/TortoiseGit_en.xml:8968 msgid "" "Locks are recorded by working copy location as well as by owner. If you have " "several working copies (at home, at work) then you can only hold a lock in " "one of those working copies." msgstr "" "锁除了按所有者记录外,还在工作副本中记录。如果你有多个工作副本(在家,在单位)," "那么在这些工作副本中,只允许对其中一份拥有锁。" #. (para) #: ../source/TortoiseGit_en.xml:8974 msgid "" "If one of your co-workers acquires a lock and then goes on holiday without " "releasing it, what do you do? Git provides a means to force locks. " "Releasing a lock held by someone else is referred to as Breaking the lock, and forcibly acquiring a lock which someone else already " "holds is referred to as Stealing the lock. Naturally " "these are not things you should do lightly if you want to remain friends with " "your co-workers." msgstr "" "如果你的合作者之一请求一个锁,但却外出旅游去了,你怎么办?Git提供了一种" "强制锁。释放别人拥有的锁被称为破坏锁定,强制获得别人拥" "有的锁称为窃取锁定。当然,如果你想要与你的合作者保持良" "好的关系,轻易不要这么做。" #. (para) #: ../source/TortoiseGit_en.xml:8984 msgid "" "Locks are recorded in the repository, and a lock token is created in your " "local working copy. If there is a discrepancy, for example if someone else " "has broken the lock, the local lock token becomes invalid. The repository is " "always the definitive reference." msgstr "" "锁在库中进行记录,一个锁定令牌建立在你的本地工作副本中。如果有矛盾,比如某人破" "坏了锁下,那么本地的锁定令牌将不可用。库中的记录将是最权威的参考。" #. (title) #: ../source/TortoiseGit_en.xml:8993 msgid "Getting a Lock" msgstr "取得锁定" #. (para) #: ../source/TortoiseGit_en.xml:8994 msgid "" "Select the file(s) in your working copy for which you want to acquire a lock, " "then select the command TortoiseGitGet Lock.... " "A dialog appears, allowing you to enter a comment, so others can see why you " "have locked the file. The comment is optional and currently only used with " "Svnserve based repositories. If (and only if) you need " "to steal the lock from someone else, check the Steal lock box, then click on OK." msgstr "" "选择工作副本中你想要获取锁定的文件,然后选择命令" "TortoiseGit取得锁定.... 出现一个对话框,允许你输入注释,这" "样别人可以知道你为什么锁定这个文件。注释是可选的,并且只用于基于Svnserve的库。" "当(且当)你需要窃取别人的锁的时候,勾选偷取此" "锁定复选框,然后点击确定。" #. (title) #: ../source/TortoiseGit_en.xml:9002 msgid "The Locking Dialog" msgstr "锁定对话框" #. (para) #: ../source/TortoiseGit_en.xml:9014 #, fuzzy msgid "" "If you select a folder and then use TortoiseGitGet Lock... the lock dialog " "will open with every file in every " "sub-folder selected for locking. If you really want to lock an entire " "hierarchy, that is the way to do it, but you could become very unpopular with " "your co-workers if you lock them out of the whole project. Use with care ..." msgstr "" "如果你选择一个文件夹,使用TortoiseGit获取锁定...锁定对话框将显示" "所有子文件夹中的所有文件 。如果你真" "的要锁定整个目录,就这么做,但如果你这么做,可能会很不受你的合作者的欢迎。小心" "使用..." #. (title) #: ../source/TortoiseGit_en.xml:9028 msgid "Releasing a Lock" msgstr "释放锁定" #. (para) #: ../source/TortoiseGit_en.xml:9029 msgid "" "To make sure you don't forget to release a lock you don't need any more, " "locked files are shown in the commit dialog and selected by default. If you " "continue with the commit, locks you hold on the selected files are removed, " "even if the files haven't been modified. If you don't want to release a lock " "on certain files, you can uncheck them (if they're not modified). If you want " "to keep a lock on a file you've modified, you have to enable the " "Keep locks checkbox before you commit your changes." msgstr "" "为了确保你不会忘记释放锁,你不需要做别的事,在提交对话框中,总是会显示锁定的文" "件,并总是默认被选中。如果你继续提交,选中的文件中的锁就被移除了,就算你从没有" "修改过。如果你不希望释放某文件的锁,你可以取消选中它(如果你没有修改过)。如果你" "希望保持一个修改过的文件的锁,你需要在提交之前选中保持锁定复选框。" #. (para) #: ../source/TortoiseGit_en.xml:9040 msgid "" "To release a lock manually, select the file(s) in your working copy for which " "you want to release the lock, then select the command " "TortoiseGitRelease Lock There is nothing further to enter so TortoiseGit " "will contact the repository and release the locks. You can also use this " "command on a folder to release all locks recursively." msgstr "" "要手动释放锁定,选中工作副本中要释放的文件,选择命令" "TortoiseGit释放锁定。不需要输入什么 TortoiseGit会联系版本库并释放锁。你" "可以对一个文件夹来使用这个命令释放其中的所有锁定项。" #. (title) #: ../source/TortoiseGit_en.xml:9053 msgid "Checking Lock Status" msgstr "检查锁定状态" #. (para) #: ../source/TortoiseGit_en.xml:9054 msgid "" " To see what locks you and others hold, you can use " "TortoiseGitCheck for " "Modifications.... Locally held lock tokens show up " "immediately. To check for locks held by others (and to see if any of your " "locks are broken or stolen) you need to click on Check Repository." msgstr "" "要查看你和他人所拥有的锁,你可以使用" "TortoiseGit检查更新...命令。本地的锁定令牌会立即显示出来,要查看别人拥用的" "锁定(或是检查你的锁是否被破坏或窃取)你需要点击检查版本库。" #. (title) #: ../source/TortoiseGit_en.xml:9056 msgid "The Check for Modifications Dialog" msgstr "检查修改对话框" #. (para) #: ../source/TortoiseGit_en.xml:9069 msgid "" "From the context menu here, you can also get and release locks, as well as " "breaking and stealing locks held by others." msgstr "" "从此处的右键菜单中,你可以获取锁或是释放锁,也可以破坏或是窃取别人的锁。" #. (title) #: ../source/TortoiseGit_en.xml:9074 msgid "Avoid Breaking and Stealing Locks" msgstr "避免破坏和窃取锁定" #. (para) #: ../source/TortoiseGit_en.xml:9075 msgid "" "If you break or steal someone else's lock without telling them, you could " "potentially cause loss of work. If you are working with unmergeable file " "types and you steal someone else's lock, once you release the lock they are " "free to check in their changes and overwrite yours. Git doesn't lose " "data, but you have lost the team-working protection that locking gave you." msgstr "" "如果你在破坏或是窃取某人的锁的时候没有告诉他,你可能会丢掉工作。如果你正在写一" "个不可合并的文件类型,并且你窃取了某人的锁,一旦你释放了锁,他们就可以随意检入" "他们的修改以覆盖你的。Git并不会丢弃数据,但你却失去了锁带来的对团队工作" "的保护。" #. (title) #: ../source/TortoiseGit_en.xml:9087 msgid "Making Non-locked Files Read-Only" msgstr "让非锁定的文件变成只读" #. (para) #: ../source/TortoiseGit_en.xml:9088 msgid "" "As mentioned above, the most effective way to use locking is to set the " "svn:needs-lock property on files. Refer to for instructions on how to set properties. Files " "with this property set will always be checked out and updated with the read-" "only flag set unless your working copy holds a lock. As a reminder, TortoiseGit uses a special overlay " "to indicate this." msgstr "" "正如上面提到的,最有效的使用锁的方式是对一个文件设置svn:needs-lock属性。参考如何设置属性。带有" "此属性的文件将总被按只读的方式检出和更新(除非你的工作副本拥有锁定)。作为提醒的方式之一,TortoiseGit使用一" "个特殊的图标表示。" #. (para) #: ../source/TortoiseGit_en.xml:9098 #, fuzzy msgid "" "If you operate a policy where every file has to be locked then you may find " "it easier to use Git's auto-props feature to set the property " "automatically every time you add new files. Read for further information." msgstr "" "如果你管理的策略要求每个文件都必须被锁定,那么你会发现使用Git的auto-" "props功能,在你每次加入新文件的时候,自动设置属性是很方便的。请阅读。" #. (title) #: ../source/TortoiseGit_en.xml:9107 msgid "The Locking Hook Scripts" msgstr "锁定钩子脚本" #. (para) #: ../source/TortoiseGit_en.xml:9108 msgid "" "When you create a new repository with Git 1.2 or higher, four hook " "templates are created in the repository hooks directory. " "These are called before and after getting a lock, and before and after " "releasing a lock." msgstr "" "当你使用Suversion1.2或更新的版本建立新的版本库的时候,建立了四个钩子模板在版本" "库中的hooks目录下。这些钩子模板在取得/释放一个锁定之前和" "之后会被分别调用。" #. (para) #: ../source/TortoiseGit_en.xml:9114 msgid "" "It is a good idea to install a post-lock and post-" "unlock hook script on the server which sends out an email " "indicating the file which has been locked. With such a script in place, all " "your users can be notified if someone locks/unlocks a file. You can find an " "example hook script hooks/post-lock.tmpl in your " "repository folder." msgstr "" "安装一个 post-lockpost-unlock钩子,在" "钩子中为锁定和解锁事件发送邮件,是个好主意 。有了这种脚本,你的所有用户都会在" "一个文件被锁定/解锁的时候被通知。在你的版本库文件夹下,你可以找到一个示例钩子" "脚本hooks/post-lock.tmpl。" #. (para) #: ../source/TortoiseGit_en.xml:9122 msgid "" "You might also use hooks to disallow breaking or stealing of locks, or " "perhaps limit it to a named administrator. Or maybe you want to email the " "owner when one of their locks is broken or stolen." msgstr "" "你可能也使用hooks来拒绝破坏或是窃取锁定,或是限制只有管理员可以,或是当一个用" "户破坏或窃取锁定时通知原来的锁定拥有者。" #. (para) #: ../source/TortoiseGit_en.xml:9128 msgid "Read to find out more." msgstr "更多内容请参考 " #. (title) #: ../source/TortoiseGit_en.xml:9134 msgid "Creating and Applying Patches" msgstr "创建并应用补丁" #. (primary) #: ../source/TortoiseGit_en.xml:9136 msgid "patch" msgstr "补丁" #. (primary) #: ../source/TortoiseGit_en.xml:9142 msgid "unified diff" msgstr "统一差异" #. (para) #: ../source/TortoiseGit_en.xml:9146 msgid "" "For open source projects (like this one) everyone has read access to the " "repository, and anyone can make a contribution to the project. So how are " "those contributions controlled? If just anyone could commit changes, the " "project would be permanently unstable and probably permanently broken. In " "this situation the change is managed by submitting a patch file to the development team, who do have write access. They can " "review the patch first, and then either submit it to the repository or reject " "it back to the author." msgstr "" "对开源工程(比如本工程)来说,每个人对仓库都有读访问权,并且任何人都可以对该工程" "做出修改。那么如何控制这些修改呢?如果任何人都可以提交自己的修改,那么这个工程" "可能永远都会处于不稳定状态,而且很有可能永远的瘫痪下去。在这种情况下,修改需要" "以补丁文件的形式先递交到有写访问权限的开发组。开发组可" "以先对该补丁文件进行审查,然后决定将其提交到仓库里或者是退还给作者。" #. (para) #: ../source/TortoiseGit_en.xml:9157 msgid "" "Patch files are simply Unified-Diff files showing the differences between " "your working copy and the base revision." msgstr "" "补丁文件只是简单地用统一的差异描述文件显示出你的工作副本和基础版本的不同点。" #. (title) #: ../source/TortoiseGit_en.xml:9162 msgid "Creating a Patch File" msgstr "创建一个补丁文件" #. (para) #: ../source/TortoiseGit_en.xml:9163 msgid "" "First you need to make and test your changes. Then " "instead of using TortoiseGitCommit... on the parent " "folder, you select TortoiseGitCreate Patch..." msgstr "" "首先你需要做出修改并测试这个修改的内容。然后在父目录上使用" "TortoiseGit创建补丁...代替TortoiseGit提交...。" #. (title) #: ../source/TortoiseGit_en.xml:9177 msgid "The Create Patch dialog" msgstr "创建补丁的对话框" #. (para) #: ../source/TortoiseGit_en.xml:9180 msgid "" "you can now select the files you want included in the patch, just as you " "would with a full commit. This will produce a single file containing a " "summary of all the changes you have made to the selected files since the last " "update from the repository." msgstr "" "现在你可以选择要包含在补丁中的文件了,就像你要做一个完整的提交一样。这样会产生" "一个单一的文件,该文件包括一份自从最后一次从仓库更新后你对所选择文件做的全部修" "改的摘要。" #. (para) #: ../source/TortoiseGit_en.xml:9191 msgid "" "You can produce separate patches containing changes to different sets of " "files. Of course, if you create a patch file, make some more changes to the " "same files and then create another patch, the second " "patch file will include both sets of changes." msgstr "" "你可以创建包含对不同文件集合修改的相互独立的补丁。当然如果你创建了一个补丁文" "件,对于同一份文件的更多修改会创建另外一个补丁文件,第二" "份补丁文件包含了全部的修改。" #. (para) #: ../source/TortoiseGit_en.xml:9197 msgid "" "Just save the file using a filename of your choice. Patch files can have any " "extension you like, but by convention they should use the .patch or .diff extension. You are now ready to " "submit your patch file." msgstr "" "你可以用一个自己选择的文件名来保存这个补丁文件,补丁文件可以有任意的扩展名,但" "是按人一般习惯,人们都是用.patch或者.diff作扩展名,你现在已经做好提交你的补丁文件的准备了。" #. (para) #: ../source/TortoiseGit_en.xml:9204 msgid "" "You can also save the patch to the clipboard instead of to a file. You might " "want to do this so that you can paste it into an email for review by others. " "Or if you have two working copies on one machine and you want to transfer " "changes from one to the other, a patch on the clipboard is a convenient way " "of doing this." msgstr "" "你也可以将补丁保存到剪贴板,而不是文件。这样你可以粘贴到电子邮件中,让他人审" "核。或者你在机器上有两个工作副本,想将修改传递到另外的副本。在剪贴板上的补丁就" "是为这些操作提供便利。" #. (title) #: ../source/TortoiseGit_en.xml:9213 msgid "Applying a Patch File" msgstr "应用一个补丁文件" #. (para) #: ../source/TortoiseGit_en.xml:9214 #, fuzzy msgid "" "Patch files are applied to your working copy. This should be done from the " "same folder level as was used to create the patch. If you are not sure what " "this is, just look at the first line of the patch file. For example, if the " "first file being worked on was doc/source/english/chapter1.xml and the first line in the patch file is Index: english/" "chapter1.xml then you need to apply the patch to the doc/" "source/ folder. However, provided you are in the correct working " "copy, if you pick the wrong folder level, TortoiseGit will notice and suggest " "the correct level." msgstr "" "补丁文件应用于你的工作副本。当你对你的工作副本打补丁的时候,你应当在与创建补丁" "文件时相同的目录层次上。如果你不能确定在哪个目录层次上,就看一下补丁文件的第一" "行。例如,如果补丁第一个要处理的文件是doc/source/english/chapter1." "xml 并且补丁文件的第一行是Index: english/chapter1.xml说明你必须要对doc/source/目录应用这个补丁文件。" "尽管如此,倘若你在正确的工作副本上工作,如果你选择了一个错误的目录层次,TSVN会" "察觉到这个错误,并给出正确的建议。" #. (para) #: ../source/TortoiseGit_en.xml:9228 msgid "" "In order to apply a patch file to your working copy, you need to have at " "least read access to the repository. The reason for this is that the merge " "program must reference the changes back to the revision against which they " "were made by the remote developer." msgstr "" "为了给你的工作副本打补丁,你至少需要对代码库的读权限。因为合并程序必须要参考修" "订版本中其他开发人员做的修改。" #. (para) #: ../source/TortoiseGit_en.xml:9235 #, fuzzy msgid "" "From the context menu for that folder, click on " "TortoiseGitApply Patch... This will bring up a file open dialog allowing you " "to select the patch file to apply. By default only .patch or .diff files are shown, but you can opt for " "All files. If you previously saved a patch to the clipboard, " "you can use Open from clipboard... in the file open " "dialog." msgstr "" "从那个目录的上下文菜单,点击TortoiseGit应用补丁... 系统会弹出一个打开" "文件的对话框,让你选择要应用的补丁文件。默认情况下只显示.patch或者.diff文件,但是你可以选择\"所有文件\"。如果" "你以前将补丁保存到了剪贴板,可以使用打开文件对话框的从剪贴板打开..." " " #. (para) #: ../source/TortoiseGit_en.xml:9249 msgid "" "Alternatively, if the patch file has a .patch or " ".diff extension, you can right click on it directly and " "select TortoiseGitApply Patch.... In this case you will be prompted to enter a " "working copy location." msgstr "" "如果补丁文件以.patch 或者 .diff 为扩" "展名的话,你可以选择直接右键点击该补丁文件,选择" "TortoiseGit应用补丁... 在这种情况下,系统会提示你输入工作副本的位置。" #. (para) #: ../source/TortoiseGit_en.xml:9259 msgid "" "These two methods just offer different ways of doing the same thing. With the " "first method you select the WC and browse to the patch file. With the second " "you select the patch file and browse to the WC." msgstr "" "这两种方法只是提供了做同一件事的不同方式。第一种方法,你先选择工作副本,然后浏" "览补丁文件。第二种方法,你先选择补丁文件,然后浏览工作副本。" #. (para) #: ../source/TortoiseGit_en.xml:9264 msgid "" "Once you have selected the patch file and working copy location, " "TortoiseMerge runs to merge the changes from the patch file with your working " "copy. A small window lists the files which have been changed. Double click on " "each one in turn, review the changes and save the merged files." msgstr "" "一旦你选定了补丁文件和工作副本的位置,TortoiseMerge就会把布丁文件合并到你的工" "作副本中。系统会弹出一个小窗口列出所有被更改了的文件。依次双击每一个文件,检查" "所做的改变,然后保存合并后的文件。远程开发者的补丁现在已经应用到了你的工作副本" "上,你需要提交它以使每一个人都可以从代码库访问到这些修改。" #. (para) #: ../source/TortoiseGit_en.xml:9271 msgid "" "The remote developer's patch has now been applied to your working copy, so " "you need to commit to allow everyone else to access the changes from the " "repository." msgstr "" "远程开发者的补丁现在已经应用到了你的工作副本上,你需要提交它以使每一个人都可以" "从代码库访问到这些修改。" #. (title) #: ../source/TortoiseGit_en.xml:9279 msgid "Who Changed Which Line?" msgstr "谁修改了哪一行?" #. (primary) #: ../source/TortoiseGit_en.xml:9281 msgid "blame" msgstr "追溯" #. (primary) #: ../source/TortoiseGit_en.xml:9284 msgid "annotate" msgstr "评注" #. (primary) #: ../source/TortoiseGit_en.xml:9287 msgid "praise" msgstr "称赞" #. (para) #: ../source/TortoiseGit_en.xml:9290 msgid "" "Sometimes you need to know not only what lines have changed, but also who " "exactly changed specific lines in a file. That's when the " "TortoiseGitBlame... command, sometimes also referred to as " "annotate command comes in handy." msgstr "" "有时你不仅要知道哪一行做了修改,还要精确地知道谁修改了一个文件中的哪一行。这就" "是TortoiseGit追溯...命令,有时候也叫做 评注 命令派" "上用场的时候了。" #. (para) #: ../source/TortoiseGit_en.xml:9300 msgid "" "This command lists, for every line in a file, the author and the revision the " "line was changed." msgstr "对一个文件中的每一行,这个命令列出了作者和该行修改时的版本。" #. (title) #: ../source/TortoiseGit_en.xml:9305 msgid "Blame for Files" msgstr "追溯文件" #. (para) #: ../source/TortoiseGit_en.xml:9306 msgid "" " If you're not interested in changes from earlier revisions " "you can set the revision from which the blame should start. Set this to " "1, if you want the blame for every " "revision." msgstr "" "如果对早期版本的修改不感兴趣,你可以设置从哪个版本开始追溯。如" "果你想追溯每一个版本,你可以把那个数值设置为1。" #. (title) #: ../source/TortoiseGit_en.xml:9308 msgid "The Annotate / Blame Dialog" msgstr "评注/追溯对话框" #. (para) #: ../source/TortoiseGit_en.xml:9315 msgid "" "By default the blame file is viewed using TortoiseBlame, which highlights the different revisions to make it easier to " "read. If you wish to print or edit the blame file, select Use Text " "viewer to view blames" msgstr "" "默认情况下,追溯文件使用TortoiseBlame,这个工具可以高亮" "显示不同版本从而使阅读更加容易。如果想打印或者编辑追溯文件,复选使用" "文字编辑器查看追溯信息。" #. (para) #: ../source/TortoiseGit_en.xml:9321 msgid "" "You can specify the way that line ending and whitespace changes are handled. " "These options are described in . The default behaviour is to treat all whitespace and line-end differences " "as real changes, but if you want to ignore an indentation change and find the " "original author, you can choose an appropriate option here." msgstr "" "你可以指定处理行结束符和空白改变的方法。这些选项在 描述。默认是将行结束符和空白改变视为实际改变,但是如果" "你想忽略缩进改变和找到原始作者,那么可以在这里选择适当的处理方法。" #. (para) #: ../source/TortoiseGit_en.xml:9328 msgid "" "Once you press OK TortoiseGit starts retrieving the " "data to create the blame file. Please note: This can take several minutes to " "finish, depending on how much the file has changed and of course your network " "connection to the repository. Once the blame process has finished the result " "is written into a temporary file and you can view the results." msgstr "" "一旦你按了 OK 按钮,TortoiseGit就开始从版本库获取数据创" "建追溯文件。注意: 视修改的文件的多少和你的网络连接情况,可能会花掉几分钟到几十" "分钟不等。追溯过程完成后,其结果将会写到一个临时文件中,你可以读到这个结果文" "件。" #. (para) #: ../source/TortoiseGit_en.xml:9336 msgid "" " TortoiseBlame, which is included with TortoiseGit, makes the " "blame file easier to read. When you hover the mouse over a line in the blame " "info column, all lines with the same revision are shown with a darker " "background. Lines from other revisions which were changed by the same author " "are shown with a light background. The colouring may not work as clearly if " "you have your display set to 256 colour mode." msgstr "" " TortoiseBlame,包含在TortoiseGit中,使得追溯文件更加容易阅读。" "当你的鼠标在追溯信息列的某一行上盘旋时,所有和该列具有相同版本号的行都会用一个" "比较暗的背景色显示。同一作者修改的其他版本的行会用一个亮一些的背景色显示。如果" "你的显示设置为256色模式,那么颜色显示的可能不会很清楚。" #. (title) #: ../source/TortoiseGit_en.xml:9338 msgid "TortoiseBlame" msgstr "TortoiseBlame" #. (para) #: ../source/TortoiseGit_en.xml:9349 msgid "" "If you left click on a line, all lines with the same " "revision are highlighted, and lines from other revisions by the same author " "are highlighted in a lighter colour. This highlighting is sticky, allowing " "you to move the mouse without losing the highlights. Click on that revision " "again to turn off highlighting." msgstr "" "如果在某一行上左击,具有同一版本号的所有行都会高亮显示,同一" "作者的其他版本的行会用一个更亮的颜色高亮显示。这个高亮具有粘性,也就是说允许你" "移动鼠标但原先高亮的地方仍然保持高亮。再次点击该版本将关闭高亮显示。" #. (para) #: ../source/TortoiseGit_en.xml:9356 msgid "" "The revision comments (log message) are shown in a hint box whenever the " "mouse hovers over the blame info column. If you want to copy the log message " "for that revision, use the context menu which appears when you right click on " "the blame info column." msgstr "" "只要鼠标逗留在追溯信息列,版本注释(日志信息)就会作为提示出现。如果你想复制此版" "本的日志信息,使用在追溯信息列显示的右键菜单。" #. (para) #: ../source/TortoiseGit_en.xml:9362 msgid "" "You can search within the Blame report using EditFind.... This allows you to " "search for revision numbers, authors and the content of the file itself. Log " "messages are not included in the search - you should use the Log Dialog to " "search those." msgstr "" "你可以在追溯报告里用编辑查找...来搜索想要的内容。它允许你搜索版本号,作者还有文件的" "内容。这个搜索不包含日志信息-你可以在日志对话框里搜索日志信息。" #. (para) #: ../source/TortoiseGit_en.xml:9372 msgid "" "You can also jump to a specific line number using EditGo To Line...." msgstr "" "你也可以使用 编辑转到行 ... 来跳到指定行。" #. (para) #: ../source/TortoiseGit_en.xml:9379 msgid "" "When the mouse is over the blame info columns, a context menu is available " "which helps with comparing revisions and examining history, using the " "revision number of the line under the mouse as a reference. " "Context menuBlame previous " "revision generates a blame report for the same " "file, but using the previous revision as the upper limit. This gives you the " "blame report for the state of the file just before the line you are looking " "at was last changed. Context menuShow changes starts your diff " "viewer, showing you what changed in the referenced revision. " "Context menuShow log displays the revision log dialog starting with the " "referenced revision." msgstr "" "当鼠标滑过追溯信息列时,有个上下文菜单可以帮助你比较版本和检查历史,它用鼠标下" "方行的版本号作为参考版本。上下文菜单追溯以前版本产生同一个文件的追" "溯报告,它使用以前的版本作为上限,给出了你看到最后修改之前的文件状态追溯报告。" "上下文菜单显示修改启动差异察看器,显示在参考版本中的修改。上下文" "菜单显示日志从参考版本开始显" "示版本日志。" #. (para) #: ../source/TortoiseGit_en.xml:9401 msgid "" "If you need a better visual indicator of where the oldest and newest changes " "are, select ViewColor age of " "lines. This will use a colour gradient to show " "newer lines in red and older lines in blue. The default colouring is quite " "light, but you can change it using the TortoiseBlame settings." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:9412 msgid "" "If you are using Merge Tracking, where lines have changed as a result of " "merging from another path, TortoiseBlame will show the revision and author of " "the last change in the original file rather than the revision where the merge " "took place. These lines are indicated by showing the revision and author in " "italics. If you do not want merged lines shown in this way, uncheck the " "Include merge info checkbox." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:9421 #, fuzzy msgid "" "If you want to see the paths involved in the merge, select " "ViewMerge paths." msgstr "" "在工作副本上选择TortoiseGit合并。" #. (para) #: ../source/TortoiseGit_en.xml:9428 #, fuzzy msgid "" "The settings for TortoiseBlame can be accessed using " "TortoiseGitSettings... on the TortoiseBlame tab. Refer to ." msgstr "" "你要在同一个版本库中切换一个分支或目录。这么做你可以用" "TortoiseGit切换.... " #. (title) #: ../source/TortoiseGit_en.xml:9439 msgid "Blame Differences" msgstr "追溯不同点" #. (para) #: ../source/TortoiseGit_en.xml:9440 msgid "" "One of the limitations of the Blame report is that it only shows the file as " "it was in a particular revision, and shows the last person to change each " "line. Sometimes you want to know what change was made, as well as who made " "it. What you need here is a combination of the diff and blame reports." msgstr "" "追溯报告的一个局限性就是它仅仅象显示一个特殊版本一样显示文件,并显示出修改每一" "行的最后一个人。有时候你想知道谁做了什么修改。你所需要的就是把差异和追溯报告结" "合起来。" #. (para) #: ../source/TortoiseGit_en.xml:9446 msgid "" "The revision log dialog includes several options which allow you to do this. " "" msgstr "" "在版本日志对话框里包含了以下几个选项支持你做这样的操作。" #. (term) #: ../source/TortoiseGit_en.xml:9450 msgid "Blame Revisions" msgstr "追溯版本" #. (para) #: ../source/TortoiseGit_en.xml:9452 msgid "" "In the top pane, select 2 revisions, then select Context " "menuBlame revisions. This " "will fetch the blame data for the 2 revisions, then use the diff viewer to " "compare the two blame files." msgstr "" "在顶部窗口,选择两个版本,然后选择上下文菜单追溯版本。它将取出两个版本的追" "溯数据,然后使用差异察看器比较这两个追溯文件。" #. (term) #: ../source/TortoiseGit_en.xml:9464 msgid "Blame Changes" msgstr "追溯修改" #. (para) #: ../source/TortoiseGit_en.xml:9466 #, fuzzy msgid "" "Select one revision in the top pane, then pick one file in the bottom pane " "and select Context menuBlame " "changes. This will fetch the blame data for the " "selected revision and the previous revision, then use the diff viewer to " "compare the two blame files." msgstr "" "在上面的面板里选择一个版本,然后在下面的面板选择一个文件然后选择" "上下文菜单追溯差异。这会为选定版本及其上一个版本获取追溯数据,然后用差异阅读器比较两" "份追溯文件。" #. (term) #: ../source/TortoiseGit_en.xml:9480 msgid "Compare and Blame with Working BASE" msgstr "与工作副本比较并追溯" #. (para) #: ../source/TortoiseGit_en.xml:9482 msgid "" "Show the log for a single file, and in the top pane, select a single " "revision, then select Context menuCompare and Blame with Working BASE. This will fetch the blame data for the selected revision, and " "for the file in the working BASE, then use the diff viewer to compare the two " "blame files." msgstr "" "为一个单一文件显示日志,在上面的面板选择一个版本,然后选择" "上下文菜单与工作副本比较并追溯。这会为文件的选择版本和工作副本获取追溯数据,然后使" "用差异阅读器比较两份追溯文件。" #. (title) #. (title) #: ../source/TortoiseGit_en.xml:9500 ../source/TortoiseGit_en.xml:9524 msgid "The Repository Browser" msgstr "版本库浏览器" #. (primary) #: ../source/TortoiseGit_en.xml:9502 msgid "repo-browser" msgstr "版本库浏览器" #. (primary) #: ../source/TortoiseGit_en.xml:9505 msgid "server-side actions" msgstr "服务器端动作" #. (primary) #: ../source/TortoiseGit_en.xml:9514 msgid "server viewer" msgstr "服务器浏览器" #. (para) #: ../source/TortoiseGit_en.xml:9517 msgid "" "Sometimes you need to work directly on the repository, without having a " "working copy. That's what the Repository Browser is " "for. Just as the explorer and the icon overlays allow you to view your " "working copy, so the Repository Browser allows you to view the structure and " "status of the repository. With the Repository Browser you " "can execute commands like copy, move, rename, ... directly on the repository." msgstr "" "有时候我们需要在版本库中直接进行操作,而不是在工作副本中。这就是我们的" "版本库浏览器可以做到的。正如资源管理器和能浏览你的工作" "副本一样,版本库浏览器允许你浏览版本库的结构和状态。 在版本库" "浏览器中你可以执行比如复制,转移,重命名、、、直接操作在版本库上。" #. (para) #: ../source/TortoiseGit_en.xml:9530 msgid "" "The repository browser looks very similar to the Windows explorer, except " "that it is showing the content of the repository at a particular revision " "rather than files on your computer. In the left pane you can see a directory " "tree, and in the right pane are the contents of the selected directory. At " "the top of the Repository Browser Window you can enter the URL of the " "repository and the revision you want to browse." msgstr "" "除了版本库浏览器不是显示计算机中的文件,而是显示版本库中特定版本的内容之外,它" "看起来很象 Windows 资源管理器。在左边的窗格显示目录树,右边的窗格显示选定目录" "的内容。在版本库浏览器窗口的顶部,你可以输入你想浏览的版本库 URL和版本。" #. (para) #: ../source/TortoiseGit_en.xml:9539 msgid "" "Just like Windows explorer, you can click on the column headings in the right " "pane if you want to set the sort order. And as in explorer there are context " "menus available in both panes." msgstr "" "就象 Windows 资源管理器一样,如果你想设置排列顺序,可以点击右边窗格中的列首。" "并且所有窗格都有上下文菜单。" #. (para) #: ../source/TortoiseGit_en.xml:9544 msgid "The context menu for a file allows you to: " msgstr "文件的上下文菜单允许你:" #. (para) #: ../source/TortoiseGit_en.xml:9554 msgid "Save an unversioned copy of the file to your hard drive." msgstr "在你的硬盘上保存此文件的一个未版本控制的副本。" #. (para) #: ../source/TortoiseGit_en.xml:9559 msgid "" "Show the revision log for that file, or show a graph of all revisions so you " "can see where the file came from." msgstr "显示此文件的版本日志,或者显示所有版本图,从而你可以知道其来源。" #. (para) #: ../source/TortoiseGit_en.xml:9565 msgid "Blame the file, to see who changed which line and when." msgstr "追溯这个文件,查看是谁在何时修改哪些行。" #. (para) #: ../source/TortoiseGit_en.xml:9570 msgid "Delete or rename the file." msgstr "删除或改名文件。" #. (para) #: ../source/TortoiseGit_en.xml:9575 msgid "" "Make a copy of the file, either to a different part of the repository, or to " "a working copy rooted in the same repository." msgstr "" "复制这个文件,目的可以是版本库中的其它地方,也可以是同一版本库中的工作副本。" #. (para) #: ../source/TortoiseGit_en.xml:9581 msgid "View/Edit the file's properties." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:9587 msgid "The context menu for a folder allows you to: " msgstr "目录的上下文菜单允许你:" #. (para) #: ../source/TortoiseGit_en.xml:9591 msgid "" "Show the revision log for that folder, or show a graph of all revisions so " "you can see where the folder came from." msgstr "显示此目录的版本日志,或者显示所有版本图,从而你可以知道其来源。" #. (para) #: ../source/TortoiseGit_en.xml:9597 msgid "Export the folder to a local unversioned copy on your hard drive." msgstr "导出此目录的未版本控制副本到你的本地硬盘。" #. (para) #: ../source/TortoiseGit_en.xml:9602 msgid "Checkout the folder to produce a local working copy on your hard drive." msgstr "检出此目录到你的硬盘,产生一个本地工作副本。" #. (para) #: ../source/TortoiseGit_en.xml:9607 msgid "Create a new folder in the repository." msgstr "在版本库创建新目录。" #. (para) #: ../source/TortoiseGit_en.xml:9612 msgid "Add files or folders directly to the repository." msgstr "直接向版本库增加文件或目录。" #. (para) #: ../source/TortoiseGit_en.xml:9617 msgid "Delete or rename the folder." msgstr "删除或改名文件夹。" #. (para) #: ../source/TortoiseGit_en.xml:9622 msgid "" "Make a copy of the folder, either to a different part of the repository, or " "to a working copy rooted in the same repository." msgstr "" "复制这个目录,目的可以是版本库中的其它地方,也可以是同一版本库中的工作副本。" #. (para) #: ../source/TortoiseGit_en.xml:9628 msgid "View/Edit the folder's properties." msgstr "察看/编辑目录的属性" #. (para) #: ../source/TortoiseGit_en.xml:9633 msgid "Mark the folder for comparison. A marked folder is shown in bold." msgstr "为比较标记目录。已标记的目录用粗体显示。" #. (para) #: ../source/TortoiseGit_en.xml:9638 msgid "" "Compare the folder with a previously marked folder, either as a unified diff, " "or as a list of changed files which can then be visually diffed using the " "default diff tool. This can be particularly useful for comparing two tags, or " "trunk and branch to see what changed." msgstr "" "将此文件夹与以前标记的文件夹比较,用统一差异,或者是一个可以用默认比较工具可视" "化显示差异的文件改变列表。它对于比较两个标签,或者最新版本与分支,查看修改详情" "时尤其有用。" #. (para) #: ../source/TortoiseGit_en.xml:9647 msgid "" "If you select two folders in the right pane, you can view the differences " "either as a unified-diff, or as a list of files which can be visually diffed " "using the default diff tool." msgstr "" "如果你在右窗格选择两个文件夹,你可以用统一差异,或者是一个可以用默认比较工具可" "视化显示差异的文件改变列表来查看其区别。" #. (para) #: ../source/TortoiseGit_en.xml:9652 msgid "" "If you select multiple folders in the right pane, you can checkout all of " "them at once into a common parent folder." msgstr "" "如果你在右边窗格中选择了多个目录,你可以将它们同时检出到同一个父目录之下。" #. (para) #: ../source/TortoiseGit_en.xml:9656 msgid "" "If you select 2 tags which are copied from the same root (typically /" "trunk/), you can use Context MenuShow Log... to view the list " "of revisions between the two tag points." msgstr "" "如果你选择两个拥有相同历史的标签(特别是/主干/),你可以使用" "右键菜单显示日志...来查看" #. (para) #: ../source/TortoiseGit_en.xml:9665 #, fuzzy msgid "" "You can use F5 to refresh the view as usual. This will " "refresh everything which is currently displayed. If you want to pre-fetch or " "refresh the information for nodes which have not been opened yet, use " "Ctrl-F5. After that, expanding any node will happen " "instantly without a network delay while the information is fetched." msgstr "" "你可以使用 F5 刷新视图。它会刷新现在显示的所有信息。你可以使" "用 CTRL-F5 预取或刷新还没有打开的节点信息。然后,展开任何节点" "都会立即显示,因为信息已经预取,所以没有网络延迟。" #. (para) #: ../source/TortoiseGit_en.xml:9672 #, fuzzy msgid "" "You can also use the repository browser for drag-and-drop operations. If you " "drag a folder from explorer into the repo-browser, it will be imported into " "the repository. Note that if you drag multiple items, they will be imported " "in separate commits." msgstr "" "你也可以在版本库浏览器中使用拖拽的操作。如果你把一个文件夹从资源管理器中拖拽到" "版本库浏览器中,那就实现该文件夹的导入功能。有一点要注意,在导入多个文件时,必" "须分开一个一个地拖进去。" #. (para) #: ../source/TortoiseGit_en.xml:9678 #, fuzzy msgid "" "If you want to move an item within the repository, just left drag it to the new location. If you want to create a copy rather than " "moving the item, Ctrl-left drag instead. " "When copying, the cursor has a plus symbol on it, just as it " "does in Explorer." msgstr "" "如果要在版本库浏览器中移动一个文件,只用左键拖到它要去的位" "置。如果你更愿意去复制该文件的话,使用这个按住左键拖 。操作就" "像在资源管理器中一样,复制时指针 来标记。" #. (para) #: ../source/TortoiseGit_en.xml:9684 #, fuzzy msgid "" "If you want to copy/move a file or folder to another location and also give " "it a new name at the same time, you can right drag or " "Ctrl-right drag the item instead of using " "left drag. In that case, a rename dialog is shown where you " "can enter a new name for the file or folder." msgstr "" "如果你要复制/移动一个文件或文件夹到一个新的位置并重命名,你可以右键拖" " 或者 按住右键拖这个文件,而不用左键拖。这样,就会显示对话框来为该文件或文件夹重命名。" #. (para) #: ../source/TortoiseGit_en.xml:9691 msgid "" "Whenever you make changes in the repository using one of these methods, you " "will be presented with a log message entry dialog. If you dragged something " "by mistake, this is also your chance to cancel the action." msgstr "" "无论什么时候对版本库的任意操作,都要求加入它的操作日志。这为你操作失误提供了返" "回的机会。" #. (para) #: ../source/TortoiseGit_en.xml:9696 #, fuzzy msgid "" "Sometimes when you try to open a path you will get an error message in place " "of the item details. This might happen if you specified an invalid URL, or if " "you don't have access permission, or if there is some other server problem. " "If you need to copy this message to include it in an email, just right click " "on it and use Context MenuCopy " "error message to clipboard, or simply use " "Ctrl+C." msgstr "" "有时候当你访问一个路径时,会跳出一个错误信息。也许是不可用的URL,也许是你没有" "访问权限,或者其他的一些原因,如果你要把这些信息发送出去,只用点击它然后" "右键复制错误信息到剪贴板,或者简单地用CTRL+C。" #. (title) #: ../source/TortoiseGit_en.xml:9711 msgid "Revision Graphs" msgstr "版本分支图" #. (primary) #: ../source/TortoiseGit_en.xml:9716 msgid "graph" msgstr "分支" #. (primary) #: ../source/TortoiseGit_en.xml:9719 msgid "revision graph" msgstr "版本图" #. (para) #: ../source/TortoiseGit_en.xml:9721 msgid "" " Sometimes you need to know where branches and tags were " "taken from the trunk, and the ideal way to view this sort of information is " "as a graph or tree structure. That's when you need to use " "TortoiseGitRevision Graph..." msgstr "" "有时候,我们需要知道从哪开始有了分支和标签,同时想知道这条支路" "是单独的分支还是树型结构。如果需要你可以使用TortoiseGit版本分支图...。" #. (title) #: ../source/TortoiseGit_en.xml:9723 msgid "A Revision Graph" msgstr "一个版本分支" #. (para) #: ../source/TortoiseGit_en.xml:9734 msgid "" "This command analyses the revision history and attempts to create a tree " "showing the points at which copies were taken, and when branches/tags were " "deleted." msgstr "" "这个版本历史分析图能够显示分支/标签从什么地方开始创建,以及什么时候删除。" #. (para) #: ../source/TortoiseGit_en.xml:9740 #, fuzzy msgid "" "In order to generate the graph, TortoiseGit must fetch all log messages from " "the repository root. Needless to say this can take several minutes even with " "a repository of a few thousand revisions, depending on server speed, network " "bandwidth, etc. If you try this with something like the Apache project which currently has over 500,000 revisions you could be " "waiting for some time." msgstr "" "要产生版本分支图,TortoiseGit必须从版本库中获取所有的日志信息。一个只有上千版" "本的版本库也会需要几分钟的时间,这个主要由服务器速度,网络带宽等因素决定。对于" "类似Apache这样的版本号超过500,000的项目,估计要等上比较长" "的时间了。" #. (para) #: ../source/TortoiseGit_en.xml:9748 #, fuzzy msgid "" "The good news is that if you are using Log Caching, you only have to suffer " "this delay once. After that, log data is held locally. Log caching is enabled " "in TortoiseGit's settings." msgstr "" "好消息是如果你使用日志缓存,你只需要忍受一次耽搁。然后日志保存到本地。日志缓存" "可以在对话框一启用。" #. (title) #: ../source/TortoiseGit_en.xml:9755 msgid "Revision Graph Nodes" msgstr "版本图节点" #. (para) #: ../source/TortoiseGit_en.xml:9756 #, fuzzy msgid "The revision graph shows several types of node: " msgstr "显示目录下的版本变化图。" #. (term) #: ../source/TortoiseGit_en.xml:9760 msgid "Added file/folder" msgstr "增加文件/文件夹" #. (para) #: ../source/TortoiseGit_en.xml:9762 msgid "" "Items which have been added, or created by copying another file/folder are " "shown using a rounded rectangle." msgstr "已增加或通过复制生成的文件/文件夹以圆圈的方式标记。" #. (term) #: ../source/TortoiseGit_en.xml:9769 msgid "Deleted file/folder" msgstr "已删除文件/文件夹" #. (para) #: ../source/TortoiseGit_en.xml:9771 msgid "" "Deleted items eg. a branch which is no longer required, are shown using an " "octagon (rectangle with corners cut off)." msgstr "" "已删除文件,比如说一个不在需要的分支,将显示octagon(rectangle with corners " "cut off)。" #. (term) #: ../source/TortoiseGit_en.xml:9778 msgid "Branch tip revision" msgstr "分支最新版本" #. (para) #: ../source/TortoiseGit_en.xml:9780 #, fuzzy msgid "" "Where a branch (or trunk or tag) has been modified since the last branch " "node, this is shown using an ellipse. Shown when the Show HEAD " "revisions option is selected." msgstr "" "当一个分支(或者主干或者标签)从最新的节点开始以来有了新的更改,将有一个插件显示" "出来。也就是说,任意分支的最新版本都会显示在分支图上。" #. (term) #: ../source/TortoiseGit_en.xml:9789 msgid "Normal file/folder" msgstr "一般的文件/文件夹" #. (para) #: ../source/TortoiseGit_en.xml:9791 msgid "All other items are shown using a plain rectangle." msgstr "其他一般的文件用plain rectangle标示。" #. (para) #: ../source/TortoiseGit_en.xml:9798 #, fuzzy msgid "" "Note that by default the graph only shows the points at which items were " "added or deleted. Showing every revision of a project will generate a very " "large graph for non-trivial cases. If you really want to see all revisions where changes were made, there is an option to do this in " "the View menu and on the toolbar." msgstr "" "版本分支图将显示以下内容: 默认的分支信息只会显示那些有增加或删" "除文件的节点。要显示一个项目的所有版本将会产生一个庞大的毫无价值的版本图。如果" "你呀看到所有的版本,在视图工具栏里可以找到实现该功能的选项。" #. (title) #: ../source/TortoiseGit_en.xml:9807 msgid "Changing the View" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:9808 msgid "" "Because a revision graph is often quite complex, there are a number of " "features which can be used to tailor the view the way you want it. These are " "available in the View menu and from the toolbar. " "" msgstr "" "因为版本图经常很复杂,所以有很多方法剪裁视图。你可以在视图菜单或工具栏找到它们。" #. (term) #: ../source/TortoiseGit_en.xml:9815 msgid "Group branches" msgstr "分组分支" #. (para) #: ../source/TortoiseGit_en.xml:9817 msgid "" "The default behavior (grouping off) will use one row per revision and all " "rows are sorted strictly by revision. As a result, long-living branches " "occupy a whole column for only a few changes and the graph becomes very broad." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:9823 msgid "" "This mode groups changes by branch, so that there is no global revision " "ordering: Consecutive revisions on a branch will be shown in (often) " "consecutive lines. Sub-branches, however, are arranged in such a way that " "later branches will be shown in the same column above older branches to keep " "the graph slim. As a result, a given row may contain changes from different " "revisions." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:9835 msgid "Oldest on top" msgstr "最老的在顶部" #. (para) #: ../source/TortoiseGit_en.xml:9837 msgid "" "Normally the graph shows the oldest revision at the bottom, and the tree " "grows upwards. Use this option to grow down from the top instead." msgstr "" "正常情况下,在图形底部显示最老的版本,版本树向上生长。使用这个选项,版本树从顶" "部向下生长。" #. (term) #: ../source/TortoiseGit_en.xml:9845 msgid "Show HEAD revisions" msgstr "显示最新版本" #. (para) #: ../source/TortoiseGit_en.xml:9847 msgid "" "This ensures that the latest revision on every branch is always shown on the " "graph." msgstr "它确保每个分支的最新版本永远在图中显示。" #. (term) #: ../source/TortoiseGit_en.xml:9854 msgid "Exact copy sources" msgstr "精确复制源" #. (para) #: ../source/TortoiseGit_en.xml:9856 msgid "" "When a branch/tag is made, the default behaviour is to show the branch as " "taken from the last node where a change was made. Strictly speaking this is " "inaccurate since the branches are often made from the current HEAD rather " "than a specific revision. So it is possible to show the more correct (but " "less useful) revision that was used to create the copy." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:9868 msgid "Fold tags" msgstr "折叠标签" #. (para) #: ../source/TortoiseGit_en.xml:9870 msgid "" "If you want to see a graph of software development, tagged releases may be of " "little interest to you. This option hides the nodes for tags and shows them " "instead in the tooltip for the node that they were copied from. A tag icon on " "the right side of the source node indicates that tags were made." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:9881 msgid "Reduce cross lines" msgstr "减少交叉行" #. (para) #: ../source/TortoiseGit_en.xml:9883 msgid "" "If the layout of the graph has produced a lot of crossing lines, use this " "option to clean it up. This may make the layout columns appear in less " "logical places, for example in a diagonal line rather than a column, and it " "may take a little time to optimise." msgstr "" "如果图形布局产生许多交叉行,可使用这个选项来清理。它可以让布局列在更少的逻辑位" "置显示,例如使用斜线而不是列,可能需要少许时间来优化显示。" #. (term) #: ../source/TortoiseGit_en.xml:9894 msgid "Filter" msgstr "过滤器" #. (para) #: ../source/TortoiseGit_en.xml:9896 #, fuzzy msgid "" "Sometimes the revision graph contains more revisions than you want to see. " "This option opens a dialog which allows you to restrict the range of " "revisions displayed, and to hide particular paths by name." msgstr "" "有时候版本图包含的信息比你想看到的多。视图过滤器打开对话框,允许你限制显" "示的版本范围,隐藏指定的路径名称模式。" #. (title) #: ../source/TortoiseGit_en.xml:9908 msgid "Using the Graph" msgstr "使用图" #. (para) #: ../source/TortoiseGit_en.xml:9909 msgid "" "To make it easier to navigate a large graph, use the overview window. This " "shows the entire graph in a small window, with the currently displayed " "portion highlighted. You can drag the highlighted area to change the " "displayed region." msgstr "" "概览窗口可以使遍历大图更容易。它在小窗口中显示整个图形,高亮显示当前详细显示的" "部分。你可以通过拖曳高亮区域来改变当前详细显示的部分。" #. (para) #: ../source/TortoiseGit_en.xml:9915 msgid "" "The revision date, author and comments are shown in a hint box whenever the " "mouse hovers over a revision box." msgstr "任何时候只要鼠标在版本框上滑过,都会显示该版本的日期、作者和备注信息。" #. (para) #: ../source/TortoiseGit_en.xml:9919 #, fuzzy msgid "" "If you select two revisions (Use Ctrl-left click), you can use the context menu to show the differences between these " "revisions. You can choose to show differences as at the branch creation " "points, but usually you will want to show the differences at the branch end " "points, i.e. at the HEAD revision." msgstr "" "选择两个版本(用ctrl+左击),你可以在右键菜单下查看这两个版本的差异。你可以在分" "支的起始点查看差异,但一般你会在一个分支的结束点来查看,比如,在最新版本。" #. (para) #: ../source/TortoiseGit_en.xml:9926 msgid "" "You can view the differences as a Unified-Diff file, which shows all " "differences in a single file with minimal context. If you opt to " "Context MenuCompare Revisions you will be presented with a list of changed files. " "Double click on a file name to fetch both revisions of the " "file and compare them using the visual difference tool." msgstr "" "你可以用查看单一差异文件的方式来查看差异,它在单一的文件中显示差异。如果你选" "右键菜单比较版本所有修改过的文件都会呈现在列表中。双击一个文件名可" "以返回文件版本号和他们差异。" #. (para) #: ../source/TortoiseGit_en.xml:9937 msgid "" "If you right click on a revision you can use " "Context MenuShow Log to view the history." msgstr "" "如果右击一个版本你可以使用右键菜单显示日志 来查看它的历史。" #. (para) #: ../source/TortoiseGit_en.xml:9945 msgid "" "You can also merge changes in the selected revision(s) into a different " "working copy. A folder selection dialog allows you to choose the working copy " "to merge into, but after that there is no confirmation dialog, nor any " "opportunity to try a dry run. It is a good idea to merge into an unmodified " "working copy so that you can revert the changes if it doesn't work out! This " "is a useful feature if you want to merge selected revisions from one branch " "to another." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:9956 msgid "" "Because Git cannot provide all the information required, a certain " "amount of interpretation is required, which can sometimes give strange " "results. Nevertheless, the output for the trunk will generally give useful " "results." msgstr "" "因为Git不能支持提供所有请求的信息,在有大量请求信息时,有时它能提供强大" "的返回信息。但无论如何,主干都会产生有用的输出。" #. (para) #: ../source/TortoiseGit_en.xml:9966 msgid "" "If you want to check the server again for newer information, you can simply " "refresh the view using F5. If you are using the log cache " "(enabled by default), this will check the repository for newer commits and " "fetch only the new ones. If the log cache was in offline mode, this will also " "attempt to go back online." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:9974 msgid "" "If you are using the log cache and you think the message content or author " "may have changed, you should use the log dialog to refresh the messages you " "need. Since the revision graph works from the repository root, we would have " "to invalidate the entire log cache, and refilling it could take a " "very long time." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:9985 msgid "Exporting a Git Working Copy" msgstr "导出一个Git工作副本" #. (primary) #: ../source/TortoiseGit_en.xml:9987 msgid "export" msgstr "导出" #. (primary) #: ../source/TortoiseGit_en.xml:9990 #, fuzzy msgid "unversioned 'working copy'" msgstr "从工作副本删除版本信息" #. (para) #: ../source/TortoiseGit_en.xml:9992 msgid "" "Sometimes you may want a copy of your working tree without any of those " ".svn directories, e.g. to create a zipped tarball of " "your source, or to export to a web server. Instead of making a copy and then " "deleting all those .svn directories manually, " "TortoiseGit offers the command TortoiseGitExport.... Exporting from a " "URL and exporting from a working copy are treated slightly differently." msgstr "" "有时候你需要一个没有.svn目录的工作目录树,例如,创建一份" "源代码的压缩文件,或者导出一份用作WEB服务器。不用先复制,然后手工删除所有" ".svn目录。TortoiseGit提供命令" "TortoiseGit导出...。如果你要用这个功能操作拥有一份工作副本,将会在要求你保存一份干净" "的文件。从URL或工作副本导出有少许不同。" #. (para) #: ../source/TortoiseGit_en.xml:10005 msgid "" " If you execute this command on an unversioned folder, " "TortoiseGit will assume that the selected folder is the target, and open a " "dialog for you to enter the URL and revision to export from. This dialog has " "options to export only the top level folder, to omit external references, and " "to override the line end style for files which have the svn:eol-" "style property set." msgstr "" " 如果你在未版本控制的目录执行此命令,TortoiseGit会假定此目录是" "目标,弹出对话框让你输入要导出的URL和版本。这个对话框有只导出顶级目录,省略外" "部引用,以及不管svn:eol-style的取值,重新设置行结束样式等选" "项。" #. (title) #: ../source/TortoiseGit_en.xml:10007 msgid "The Export-from-URL Dialog" msgstr "从 URL 导出对话框" #. (para) #: ../source/TortoiseGit_en.xml:10017 msgid "" "Of course you can export directly from the repository too. Use the Repository " "Browser to navigate to the relevant subtree in your repository, then use " "Context MenuExport. You will get the Export from URL dialog " "described above." msgstr "" "当然,你也可以直接从版本库导出。使用版本库浏览器浏览有关子树,然后使用" "右键菜单导出。就会出现上面所说的从URL导出对话框。" #. (para) #: ../source/TortoiseGit_en.xml:10027 msgid "" "If you execute this command on your working copy you'll be asked for a place " "to save the clean working copy without the ." "svn folders. By default, only the versioned files are exported, " "but you can use the Export unversioned files too " "checkbox to include any other unversioned files which exist in your WC and " "not in the repository. External references using svn:externals can be omitted if required." msgstr "" "如果你要用这个功能操作工作副本,将会询问你要保存干净而没" "有.svn目录的副本到何处。默认情况下,只导出被版本控制的文" "件,但你可以使用同时导出未受版本控制的文件来将版本库中没" "有但在你的本地副本中存在的文件导出来。另外可以使用svn:externals来忽略外部引用。" #. (para) #: ../source/TortoiseGit_en.xml:10037 msgid "" "Another way to export from a working copy is to right drag " "the working copy folder to another location and choose " "Context MenuSVN Export here or Context MenuSVN Export all here. The " "second option includes the unversioned files as well." msgstr "" "另外一个导出的方法是 右键拖工作副本到另外的保存位置,然后选择" "右键菜单SVN导出到这儿或者右键菜单SVN 导出全部到这儿。后者可以把" "未受版本控制的文件也导出。" #. (para) #: ../source/TortoiseGit_en.xml:10051 msgid "" "When exporting from a working copy, if the target folder already contains a " "folder of the same name as the one you are exporting, you will be given the " "option to overwrite the existing content, or to create a new folder with an " "automatically generated name, eg. Target (1)." msgstr "" "导出工作副本时,如果目标目录包含了和你导出的名称相同的目录,你需要使用此选项重" "写已经存在的内容,或者使用自动生成的名称,例如目标 (1)。" #. (title) #: ../source/TortoiseGit_en.xml:10059 #, fuzzy msgid "Exporting single files" msgstr "导出一个Git工作副本" #. (para) #: ../source/TortoiseGit_en.xml:10060 msgid "" "The export dialog does not allow exporting single files, even though " "Git can." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:10064 msgid "" "To export single files with TortoiseGit, you have to use the repository " "browser (). Simply drag the file(s) " "you want to export from the repository browser to where you want them in the " "explorer, or use the context menu in the repository browser to export the " "files." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:10073 msgid "Removing a working copy from version control" msgstr "从版本控制里移除删除工作副本" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:10075 ../source/TortoiseGit_en.xml:13723 msgid "unversion" msgstr "没有版本控制" #. (para) #: ../source/TortoiseGit_en.xml:10077 msgid "" "Sometimes you have a working copy which you want to convert back to a normal " "folder without the .svn directories. What you really need " "is an export-in-place command, that just removes the control directories " "rather than generating a new clean directory tree." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:10084 msgid "" "The answer is surprisingly simple - export the folder to itself! TortoiseGit " "detects this special case and asks if you want to make the working copy " "unversioned. If you answer yes the control directories " "will be removed and you will have a plain, unversioned directory tree." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:10094 msgid "Relocating a working copy" msgstr "重新定位工作副本" #. (primary) #: ../source/TortoiseGit_en.xml:10096 msgid "relocate" msgstr "重新定位" #. (primary) #: ../source/TortoiseGit_en.xml:10099 msgid "URL changed" msgstr "URL 已改变" #. (primary) #: ../source/TortoiseGit_en.xml:10102 msgid "repository URL changed" msgstr "版本库的 URL 已改变" #. (primary) #: ../source/TortoiseGit_en.xml:10105 msgid "server moved" msgstr "服务器已移动" #. (primary) #: ../source/TortoiseGit_en.xml:10108 msgid "moved server" msgstr "已移动的服务器" #. (para) #: ../source/TortoiseGit_en.xml:10111 #, fuzzy msgid "" " If your repository has for some reason changed it's location " "(IP/URL). Maybe you're even stuck and can't commit and you don't want to " "checkout your working copy again from the new location and to move all your " "changed data back into the new working copy, " "TortoiseGitRelocate is the command you are looking for. It basically " "does very little: it scans all entries files in the " ".svn folder and changes the URL of the entries to the " "new value." msgstr "" "如果你的版本库因为某些原因而重定位了(IP/URL).也许你不能进行操" "作,不能提交,不能从新的定位检出副本,也不能将修改的数据提交到新位置的版本库" "中,TortoiseGit重新定位也许正是你需要的。它的做法很简单: 查找所有 " ".svn 文件的接口然后把URL值改为新的版本库地址。" #. (title) #: ../source/TortoiseGit_en.xml:10113 msgid "The Relocate Dialog" msgstr "重定位对话框" #. (para) #: ../source/TortoiseGit_en.xml:10131 msgid "" "This is a very infrequently used operation. The relocate " "command is only used if the URL of the repository root " "has changed. Possible reasons are: Put another way, you need " "to relocate when your working copy is referring to the same location in the " "same repository, but the repository itself has moved." msgstr "" "这是一个极少使用的操作.重定位只能 在" "版本库路径更改时使用。可能的原因是: 换种说法,如果你要重定" "位,只有当你的工作副本仍然还在同一个版本库中定位,但版本库本身已经没有了。" #. (para) #: ../source/TortoiseGit_en.xml:10137 msgid "The IP address of the server has changed." msgstr "服务器的IP地址已更改。" #. (para) #: ../source/TortoiseGit_en.xml:10140 msgid "The protocol has changed (e.g. http:// to https://)." msgstr "协议已更改(比如从http://改为 https://)。" #. (para) #: ../source/TortoiseGit_en.xml:10143 msgid "The repository root path in the server setup has changed." msgstr "版本库在服务器的路径已更改。" #. (para) #: ../source/TortoiseGit_en.xml:10150 msgid "It does not apply if: " msgstr "以下情况不支持: " #. (para) #: ../source/TortoiseGit_en.xml:10154 msgid "" "You want to move to a different Git repository. In that case you " "should perform a clean checkout from the new repository location." msgstr "" "你要移到一个完全不同的版本库。这种情况下,你必须从新的版本库里执行一次干净的检" "出。" #. (para) #: ../source/TortoiseGit_en.xml:10160 msgid "" "You want to switch to a different branch or directory within the same " "repository. To do that you should use TortoiseGitSwitch.... Read for more information." msgstr "" "你要在同一个版本库中切换一个分支或目录。这么做你可以用" "TortoiseGit切换.... " #. (para) #: ../source/TortoiseGit_en.xml:10172 msgid "" "If you use relocate in either of the cases above, it will corrupt " "your working copy and you will get many unexplainable error " "messages while updating, committing, etc. Once that has happened, the only " "fix is a fresh checkout." msgstr "" "如果你使用以上任意一种重定位方式,它将破坏你的工作副本," "在你更新、提交等操作时会提示一些令人费解的错误信息。一旦发生这种情况,唯一的办" "法就是检出最新版本。" #. (title) #: ../source/TortoiseGit_en.xml:10181 msgid "Integration with Bug Tracking Systems / Issue Trackers" msgstr "与 BUG 跟踪系统/问题跟踪集成" #. (primary) #: ../source/TortoiseGit_en.xml:10183 msgid "bug tracking" msgstr "BUG 跟踪" #. (primary) #: ../source/TortoiseGit_en.xml:10186 msgid "bug tracker" msgstr "BUG 跟踪者" #. (primary) #: ../source/TortoiseGit_en.xml:10189 msgid "issue tracker" msgstr "问题跟踪者" #. (primary) #: ../source/TortoiseGit_en.xml:10192 msgid "bugtracker" msgstr "BUG 跟踪器" #. (para) #: ../source/TortoiseGit_en.xml:10194 msgid "" "It is very common in Software Development for changes to be related to a " "specific bug or issue ID. Users of bug tracking systems (issue trackers) " "would like to associate the changes they make in Git with a specific " "ID in their issue tracker. Most issue trackers therefore provide a pre-commit " "hook script which parses the log message to find the bug ID with which the " "commit is associated. This is somewhat error prone since it relies on the " "user to write the log message properly so that the pre-commit hook script can " "parse it correctly." msgstr "" "在软件开发中,修改依赖于一个bug或问题编号是很常见的。bug跟踪系统的用户(问题跟" "踪者)喜欢在问题跟踪中将Git的修改与一个指定编号联系起来。因此很多问题跟" "踪者提供了一个预提交钩子脚本,分析日志,查找提交相关的bug编号。这稍微有些不可" "靠,因为它依赖于用户写完全的日志,预提交钩子才能正确分析。" #. (para) #: ../source/TortoiseGit_en.xml:10203 msgid "TortoiseGit can help the user in two ways: " msgstr "TortoiseGit可以在两个方面帮助用户: " #. (para) #: ../source/TortoiseGit_en.xml:10207 msgid "" "When the user enters a log message, a well defined line including the issue " "number associated with the commit can be added automatically. This reduces " "the risk that the user enters the issue number in a way the bug tracking " "tools can't parse correctly." msgstr "" "当用户输入日志信息时,一个定义良好,包含问题编号,与此提交相关的的行,会自动增" "加。这样减少了用户输入的问题编号不能比bug跟踪系统正确分析的风险。" #. (para) #: ../source/TortoiseGit_en.xml:10213 msgid "" "Or TortoiseGit can highlight the part of the entered log message which is " "recognized by the issue tracker. That way the user knows that the log message " "can be parsed correctly." msgstr "" "或者TortoiseGit高亮显示日志消息中能被问题跟踪者识别的部分。这样,用户就知道日" "志消息能被正确解析。" #. (para) #: ../source/TortoiseGit_en.xml:10220 msgid "" "When the user browses the log messages, TortoiseGit creates a link out of " "each bug ID in the log message which fires up the browser to the issue " "mentioned." msgstr "" "当用户浏览日志信息,TortoiseGit在日志信息中创建指向每个bug标示的链接,它可以用" "浏览器打开。" #. (title) #: ../source/TortoiseGit_en.xml:10229 #, fuzzy msgid "Adding Issue Numbers to Log Messages" msgstr "默认的日志信息数" #. (para) #: ../source/TortoiseGit_en.xml:10230 #, fuzzy msgid "" "You can integrate a bug tracking tool of your choice in TortoiseGit. To do " "this, you have to define some properties, which start with bugtraq:. They must be set on Folders: ()" msgstr "" "你可以在TortoiseGit中集成bug跟踪工具。为了使用这个特性,你要定义一些以" "bugtraq:开始的属性,它们只能在文件夹上设置 ()。" #. (para) #: ../source/TortoiseGit_en.xml:10236 #, fuzzy msgid "" "There are two ways to integrate TortoiseGit with issue trackers. One is based " "on simple strings, the other is based on regular expressions. The properties used by both approaches are: " msgstr "" "有两个方法集成TortoiseGit 和问题跟踪。一个基于简单字符串,另一个基于" "正则表达式。它们的用法是: " #. (para) #: ../source/TortoiseGit_en.xml:10245 #, fuzzy msgid "" "Set this property to the URL of your bug tracking tool. It must be properly " "URI encoded and it has to contain %BUGID%. %BUGID%" " is replaced with the Issue number you entered. This allows " "TortoiseGit to display a link in the log dialog, so when you are looking at " "the revision log you can jump directly to your bug tracking tool. You do not " "have to provide this property, but then TortoiseGit shows only the issue " "number and not the link to it. e.g the TortoiseGit project is using " "http://issues.TortoiseGit.net/?do=details&id=%" "BUGID%" msgstr "" "将这个属性设置为你的bug跟踪工具的地址。它必须编码并且包含%BUGID%%BUGID%用你输入的问题编号替换。它允许TortoiseGit " "在日志对话框中显示链接,于是你可以在察看版本日志时直接进入bug跟踪工具。你可以" "不提供这个属性,但是这样TortoiseGit就不能显示链接了,只能显示问题编号。例如" "TortoiseGit 使用http://issues.TortoiseGit.net/?do=details&id=%" "BUGID%。" #. (para) #: ../source/TortoiseGit_en.xml:10260 msgid "" "You can also use relative URLs instead of absolute ones. This is useful when " "your issue tracker is on the same domain/server as your source repository. In " "case the domain name ever changes, you don't have to adjust the " "bugtraq:url property. There are two ways to specify a " "relative URL:" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:10267 msgid "" "If it begins with the string ^/ it is assumed to be " "relative to the repository root. For example, ^/../?do=details&" "id=%BUGID% will resolve to http://" "TortoiseGit.net/?do=details&id=%BUGID% if your repository is " "located on http://TortoiseGit.net/svn/trunk/." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:10276 msgid "" "A URL beginning with the string / is assumed to be " "relative to the server's hostname. For example /?do=details&id=%" "BUGID% will resolve to http://TortoiseGit." "net/?do=details&id=%BUGID% if your repository is located " "anywhere on http://TortoiseGit.net." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:10290 #, fuzzy msgid "" "Set this to true, if you want TortoiseGit to warn you " "because of an empty issue-number text field. Valid values are true/" "false. If not defined, false is " "assumed. " msgstr "" "如果你想TortoiseGit给出空问题编号的警告,就设置为 。有效" "取值是 真/假如果没有定义,那么假定为 " "假。" #. (title) #: ../source/TortoiseGit_en.xml:10304 msgid "Issue Number in Text Box" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:10305 msgid "" "In the simple approach, TortoiseGit shows the user a separate input field " "where a bug ID can be entered. Then a separate line is appended/prepended to " "the log message the user entered. " msgstr "" "在最简单的方法里,TortoiseGit为用户显示了一个单独的bug ID输入字段,然后后面预" "计会追加一个用户输入日志信息的行。" #. (para) #: ../source/TortoiseGit_en.xml:10313 #, fuzzy msgid "" "This property activates the bug tracking system in Input field mode. If this property is set, then TortoiseGit will prompt you to " "enter an issue number when you commit your changes. It's used to add a line " "at the end of the log message. It must contain %BUGID%, " "which is replaced with the issue number on commit. This ensures that your " "commit log contains a reference to the issue number which is always in a " "consistent format and can be parsed by your bug tracking tool to associate " "the issue number with a particular commit. As an example you might use " "Issue : %BUGID%, but this depends on your Tool." msgstr "" "这个属性将问题追踪系统激活为输入框模式。 如果设置了这个属性,在拟提交时,TortoiseGit会提示你输入问题单号码。它" "通常会在日志信息后面添加一行。必须包含%BUGID%,在提交时会被" "替换为问题单号。这确保了你的提交日志包含了问题单号,保证了单号可以被问题追踪工" "具解析,从而与提交关联。例如TortoiseGit项目使用Issue : %BUGID%,但是这依赖于你的工具。" #. (para) #: ../source/TortoiseGit_en.xml:10334 msgid "" "This property defines if the bug-ID is appended (true) to the end of the log " "message or inserted (false) at the start of the log message. Valid values are " "true/false. If not defined, true is assumed, so that existing projects don't break. " msgstr "" "这个属性定义了bug-ID。是追加到(true)日志信息的末尾,还是插入到(false)日志信息" "的开始。有效的值包括true/false如果没有定义,默" "认是true ,所以现存的项目不会被打破。" #. (para) #: ../source/TortoiseGit_en.xml:10349 #, fuzzy msgid "" "This text is shown by TortoiseGit on the commit dialog to label the edit box " "where you enter the issue number. If it's not set, Bug-ID / Issue-Nr:" " will be displayed. Keep in mind though that the window will not be " "resized to fit this label, so keep the size of the label below 20-25 " "characters." msgstr "" "是TortoiseGit的提交对话框中用来输入问题单号码的输入项,如果没有设置,将会显示" "Bug-ID / Issue-Nr:,要记住窗口不会为适应标签而改变大小,所" "以请保持标签的小于20-25个字符。" #. (para) #: ../source/TortoiseGit_en.xml:10363 #, fuzzy msgid "" "If set to true only numbers are allowed in the issue-" "number text field. An exception is the comma, so you can comma separate " "several numbers. Valid values are true/false. " "If not defined, true is assumed. " msgstr "" "如果设置为true,问题单号文本框只能输入数字,一个例外是逗" "号,所以你可以使用逗号分割输入的多个号码。合法的值包括true/false 如果没有设置,默认是true" #. (title) #: ../source/TortoiseGit_en.xml:10378 msgid "Issue Numbers Using Regular Expressions" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:10379 #, fuzzy msgid "" "In the approach with regular expressions, TortoiseGit " "doesn't show a separate input field but marks the part of the log message the " "user enters which is recognized by the issue tracker. This is done while the " "user writes the log message. This also means that the bug ID can be anywhere " "inside a log message! This method is much more flexible, and is the one used " "by the TortoiseGit project itself. " msgstr "" "在使用正则表达式的方法中,TortoiseGit不会显示一个单独的输入" "框,而是标记用户输入的日志信息,认为这些标志可以被问题追踪工具识别。这是在用户" "编写日志信息的时候完成的,这也意味着bug ID可以出现在日志信息的任何位置!这种方" "法非常灵活,也是TortoiseGit项目本身使用的方法。" #. (para) #: ../source/TortoiseGit_en.xml:10390 #, fuzzy msgid "" "This property activates the bug tracking system in Regex " "mode. It contains either a single regular expressions, or two regular " "expressions separated by a newline." msgstr "" "这个属性会以正则表达式模式激活问题追踪系统。它会包含一个或两个正则表达式,以新行作为分割。" #. (para) #: ../source/TortoiseGit_en.xml:10396 msgid "" "If two expressions are set, then the first expression is used as a pre-filter " "to find expressions which contain bug IDs. The second expression then " "extracts the bare bug IDs from the result of the first regex. This allows you " "to use a list of bug IDs and natural language expressions if you wish. e.g. " "you might fix several bugs and include a string something like this: " "This change resolves issues #23, #24 and #25" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:10406 #, fuzzy msgid "" "If you want to catch bug IDs as used in the expression above inside a log " "message, you could use the following regex strings, which are the ones used " "by the TortoiseGit project: [Ii]ssues?:?(\\s*(,|and)?\\s*#\\d+)+ and (\\d+)" msgstr "" "如果你希望捕获日志中所有形式为\"issue #XXX\"和\"issue #890, #789\"字符串,你可" "以使用如下的正则表达式: [Ii]ssue #?(\\d+)(,? ?#(\\d+))*,而" "第二个表达式为(\\d+)。" #. (para) #: ../source/TortoiseGit_en.xml:10413 msgid "" "The first expression picks out issues #23, #24 and #25 from " "the surrounding log message. The second regex extracts plain decimal numbers " "from the output of the first regex, so it will return 23, " "24 and 25 to use as bug IDs." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:10420 msgid "" "Breaking the first regex down a little, it must start with the word " "issue, possibly capitalised. This is optionally followed by an " "s (more than one issue) and optionally a colon. This is " "followed by one or more groups each having zero or more leading whitespace, " "an optional comma or and and more optional space. Finally " "there is a mandatory # and a mandatory decimal number." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:10429 #, fuzzy msgid "" "If only one expression is set, then the bare bug IDs must be matched in the " "groups of the regex string. Example: [Ii]ssue(?:s)? #?(\\d+) This method is required by a few issue trackers, e.g. trac, but it " "is harder to construct the regex. We recommend that you only use this method " "if your issue tracker documentation tells you to." msgstr "" "如果只是设置了一个表达式,然后bug ID必须匹配正则表达式的组,例如[Ii]" "ssue(?:s)? #?(\\d+)。" #. (para) #: ../source/TortoiseGit_en.xml:10438 #, fuzzy msgid "" "If you are unfamiliar with regular expressions, take a look at the " "introduction at http://en.wikipedia.org/wiki/Regular_expression, and the online documentation and tutorial at http://www.regular-expressions.info/." msgstr "" "如果你不熟悉正则表达式,可以看一下http://www.regular-expressions.info/上" "的在线文档和教程。" #. (para) #: ../source/TortoiseGit_en.xml:10454 msgid "" "If both the bugtraq:message and bugtraq:logregex properties are set, logregex takes precedence." msgstr "" "如果同时设置了bugtraq:messagebugtraq:logregex属性,日志正则表达式会优先使用。" #. (para) #: ../source/TortoiseGit_en.xml:10459 msgid "" "Even if you don't have an issue tracker with a pre-commit hook parsing your " "log messages, you still can use this to turn the issues mentioned in your log " "messages into links!" msgstr "" "即使你的问题追踪工具没有pre-commit钩子来解析日志信息,你仍然可以使用这个功能将" "日志信息中的问题单转化为链接!" #. (para) #: ../source/TortoiseGit_en.xml:10464 msgid "" "And even if you don't need the links, the issue numbers show up as a separate " "column in the log dialog, making it easier to find the changes which relate " "to a particular issue." msgstr "" #. (title) #. (title) #: ../source/TortoiseGit_en.xml:10477 ../source/TortoiseGit_en.xml:10631 msgid "Set the Properties on Folders" msgstr "设置文件夹的属性" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:10478 ../source/TortoiseGit_en.xml:10632 #, fuzzy msgid "" "These properties must be set on folders for the system to work. When you " "commit a file or folder the properties are read from that folder. If the " "properties are not found there, TortoiseGit will search upwards through the " "folder tree to find them until it comes to an unversioned folder, or the tree " "root (eg. C:\\) is found. If you can be sure that each " "user checks out only from e.g trunk/ and not some sub-" "folder, then it's enough if you set the properties on trunk/. If you can't be sure, you should set the properties recursively on " "each sub-folder. A property setting deeper in the project hierarchy overrides " "settings on higher levels (closer to trunk/)." msgstr "" "为了系统能够工作,这个属性必须设置到文件夹上。当你提交文件或文件夹,属性会从文" "件夹上读取。如果没有发现属性,TortoiseGit会向上级查找,直到发现一个没有版本控" "制的文件夹或根目录(例如C:\\)才会停止,如果你能够确定每个用" "户只从trunk/检出,而不是其他目录,你可以直接在" "trunk/上使用这个属性,而不必每个子目录都设置。如果你不能" "确定,你必须为每个子目录设置这些属性。一个深级目录的设置会覆盖高级目录(离" "trunk/更近的)。" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:10492 ../source/TortoiseGit_en.xml:10646 #, fuzzy msgid "" "For tsvn: properties only you can use " "the Recursive checkbox to set the property to all sub-" "folders in the hierarchy, without also setting it on all files." msgstr "" "对于tsvn:属性,你只能对于所有子目录使" "用递归检查框设置属性,不能设置文件的属性。" #. (para) #: ../source/TortoiseGit_en.xml:10499 #, fuzzy msgid "" "This issue tracker integration is not restricted to TortoiseGit; it can be " "used with any Git client. For more information, read the full Issue Tracker Integration Specification " "in the TortoiseGit source repository. ( explains how to access the repository)." msgstr "" "问题追踪集成并没有限制在TortoiseGit,可以用于所有的Git客户端,更多信息" "可以看Issuetracker Integration Specification。" #. (title) #: ../source/TortoiseGit_en.xml:10510 msgid "Getting Information from the Issue Tracker" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:10511 msgid "" "The previous section deals with adding issue information to the log messages. " "But what if you need to get information from the issue tracker? The commit " "dialog has a Windows COM interface which allows integration an external " "program that can talk to your tracker. Typically you might want to query the " "tracker to get a list of open issues assigned to you, so that you can pick " "the issues that are being addressed in this commit." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:10520 msgid "" "Any such interface is of course highly specific to your system, so we cannot " "provide this part, and describing how to create such a program is beyond the " "scope of this manual. The interface definition and sample programs can be " "obtained from the contrib folder in the TortoiseGit repository. ( explains how to access the repository)." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:10531 msgid "" "For illustration purposes, let's suppose that your system administrator has " "provided you with an issue tracker plugin which you have installed, and that " "you have set up some of your working copies to use the plugin in " "TortoiseGit's settings dialog. When you open the commit dialog from a working " "copy to which the plugin has been assigned, you will see a new button at the " "top of the dialog. In this example you can select one or " "more open issues. The plugin can then generate specially formatted text which " "it adds to your log message." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:10539 msgid "Example issue tracker query dialog" msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:10549 msgid "Integration with Web-based Repository Viewers" msgstr "与基于 WEB 的版本库浏览器集成" #. (primary) #: ../source/TortoiseGit_en.xml:10551 msgid "web view" msgstr "WEB 浏览" #. (primary) #: ../source/TortoiseGit_en.xml:10554 msgid "repo viewer" msgstr "版本库浏览器" #. (primary) #: ../source/TortoiseGit_en.xml:10557 msgid "ViewCS" msgstr "ViewCS" #. (para) #: ../source/TortoiseGit_en.xml:10559 msgid "" "There are several web-based repository viewers available for use with " "Git such as ViewVC and WebSVN. TortoiseGit provides a means to " "link with these viewers." msgstr "" "有许多web为基础的版本库浏览器,例如ViewVC and WebSVN,TortoiseGit提供了链接这些" "浏览器的方法。" #. (para) #: ../source/TortoiseGit_en.xml:10571 #, fuzzy msgid "" "You can integrate a repo viewer of your choice in TortoiseGit. To do this, " "you have to define some properties which define the linkage. They must be set " "on Folders: ()" msgstr "" "你可以通过TortoiseGit选择集成一种版本库浏览器,为此,你需要定义一些链接的属" "性,必须设置在文件夹: ()" #. (para) #: ../source/TortoiseGit_en.xml:10581 #, fuzzy msgid "" "Set this property to the URL of your repo viewer to view all changes in a " "specific revision. It must be properly URI encoded and it has to contain " "%REVISION%. %REVISION% is replaced with " "the revision number in question. This allows TortoiseGit to display a context " "menu entry in the log dialog Context MenuView revision in webviewer" msgstr "" "将这个属性设置为版本库浏览器显示所有本版本修改内容的url,它必须是URI编码的,也" "必须包含%REVISION%。在问题单中%REVISION%" "将会被替换成版本号。这允许TortoiseGit在日志对话框的增加这样的条目" "右键菜单在版浏览器中查看此修订" #. (para) #: ../source/TortoiseGit_en.xml:10600 #, fuzzy msgid "" "Set this property to the URL of your repo viewer to view changes to a " "specific file in a specific revision. It must be properly URI encoded and it " "has to contain %REVISION% and %PATH%. " "%PATH% is replaced with the path relative to the " "repository root. This allows TortoiseGit to display a context menu entry in " "the log dialog Context MenuView " "revision and path in webviewer For example, if you " "right-click in the log dialog bottom pane on a file entry /trunk/src/" "file then the %PATH% in the URL will be replaced " "with /trunk/src/file." msgstr "" "将这个属性设置为版本库浏览器显示所有本版本修改内容的url,它必须是URI编码的,也" "必须包含%REVISION%。在问题单中%REVISION%" "将会被替换成版本号。这允许TortoiseGit在日志对话框的增加这样的条目" "右键菜单在版浏览器中查看此修订" #. (para) #: ../source/TortoiseGit_en.xml:10622 msgid "" "You can also use relative URLs instead of absolute ones. This is useful in " "case your web viewer is on the same domain/server as your source repository. " "In case the domain name ever changes, you don't have to adjust the " "webviewer:revision and webviewer:pathrevision property. The format is the same as for the bugtraq:url property. See ." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:10655 msgid "TortoiseGit's Settings" msgstr "TortoiseGit的设置" #. (primary) #: ../source/TortoiseGit_en.xml:10657 msgid "settings" msgstr "设置" #. (para) #: ../source/TortoiseGit_en.xml:10659 msgid "" "To find out what the different settings are for, just leave your mouse " "pointer a second on the editbox/checkbox... and a helpful tooltip will popup." msgstr "" "想知道不同的设置是干什么用的,你只需将鼠标指针在编辑框/选项框上停留一秒钟...一" "个帮助提示气泡就会弹出来。" #. (title) #: ../source/TortoiseGit_en.xml:10668 msgid "General Settings" msgstr "常规设置" #. (primary) #: ../source/TortoiseGit_en.xml:10670 msgid "sounds" msgstr "声音" #. (para) #: ../source/TortoiseGit_en.xml:10672 msgid "" " This dialog allows you to specify your preferred language, " "and the Git-specific settings." msgstr "" " 这个对话框允许你指定自己喜欢的语言,同时也可做那些与" "Git相关的特殊设置。" #. (title) #: ../source/TortoiseGit_en.xml:10674 msgid "The Settings Dialog, General Page" msgstr "设置对话框,常规设置页面" #. (term) #: ../source/TortoiseGit_en.xml:10682 msgid "Language" msgstr "语言" #. (para) #: ../source/TortoiseGit_en.xml:10684 msgid "Selects your user interface language. What else did you expect?" msgstr "选择你TSVN的用户界面语言。不然你还期望从这里得到啥别的?" #. (term) #: ../source/TortoiseGit_en.xml:10691 msgid "Automatically check for newer versions every week" msgstr "每周自动检查新版本" #. (para) #: ../source/TortoiseGit_en.xml:10693 msgid "" "If checked, TortoiseGit will contact its download site once a week to see if " "there is a newer version of the program available. Use Check now if you want an answer right away. The new version will not be " "downloaded; you simply receive an information dialog telling you that the new " "version is available." msgstr "" "如果检查过,TSVN将每周联系它的下载站点一次,来看看程序是否有个可用的新版本。若" "你想马上得到结果,使用 立即检查 按钮。无论如何,新版本" "不会被自动下载,而只是你将收到一条提示信息对话框,告诉你有新版本可用。" #. (term) #: ../source/TortoiseGit_en.xml:10704 msgid "System sounds" msgstr "系统声音" #. (para) #: ../source/TortoiseGit_en.xml:10706 msgid "" "TortoiseGit has three custom sounds which are installed by default. " " You can select different sounds (or turn these sounds off " "completely) using the Windows Control Panel. Configure " "is a shortcut to the Control Panel." msgstr "" "TSVN已经默认安装了三个自定义声音。 你可以使用Windows控制面板中" "的声音属性,来选择不同的声音(或是把这些声音完全关掉)。配置 按钮是一个打开控制面板声音属性的快捷方式。" #. (para) #: ../source/TortoiseGit_en.xml:10710 msgid "Error" msgstr "错误" #. (para) #: ../source/TortoiseGit_en.xml:10715 msgid "Notice" msgstr "提示" #. (para) #: ../source/TortoiseGit_en.xml:10720 msgid "Warning" msgstr "警告" #. (term) #: ../source/TortoiseGit_en.xml:10732 msgid "Global ignore pattern" msgstr "全局忽略样式" #. (primary) #: ../source/TortoiseGit_en.xml:10735 msgid "exclude pattern" msgstr "排斥样式" #. (primary) #: ../source/TortoiseGit_en.xml:10738 msgid "global ignore" msgstr "全局忽略" #. (para) #: ../source/TortoiseGit_en.xml:10740 msgid "" "Global ignore patterns are used to prevent unversioned files from showing up " "e.g. in the commit dialog. Files matching the patterns are also ignored by an " "import. Ignore files or directories by typing in the names or extensions. " "Patterns are separated by spaces e.g. */bin */obj *.bak *.~?? *.jar " "*.[Tt]mp. Remember that these patterns may be used against paths " "which include N levels of parent directory. Setting ignore patterns for " "anything other than simple file extensions is not as trivial as it first " "appears, so be sure to read for more " "information on the pattern-matching syntax, and how paths are checked." msgstr "" "全局忽略模式被用来防止非版本控制的文件在例如提交时的对话框中被列出来。那些符合" "模式的文件,在执行导入操作时同样被忽略。通过在模式框中输入文件名或扩展名来忽略" "文件或文件夹。不同的模式之间以空格分隔,例如 */bin */obj *.bak *.~?? " "*.jar *.[Tt]mp。请记得这些模式可以用来处理含有 N 级父目录的路径。设" "置忽略模式并非象刚才显示的那么简单,所以请务必阅读 以获得更多模式匹配语法信息,和如何检查路径。" #. (para) #: ../source/TortoiseGit_en.xml:10754 msgid "" "Note that the ignore patterns you specify here will also affect other " "Git clients running on your PC, including the command line client." msgstr "" "值得注意的是,你在这里指定的忽略样式将同样作用于你本机上的其他Git客户" "端,包括命令行客户端。" #. (para) #: ../source/TortoiseGit_en.xml:10760 msgid "" "If you use the Git configuration file to set a global-" "ignores pattern, it will override the settings you make here. The " "Git configuration file is accessed using the Edit as described below." msgstr "" "如果你象下面段落那样使用Git配置文件来设置一个 全局-忽略 样式,那么它将覆盖你在这里做的设置。该Git配置文件可以象下面段" "落描述的那样,通过 编辑 按钮来访问。" #. (para) #: ../source/TortoiseGit_en.xml:10768 msgid "" "This ignore pattern will affect all your projects. It is not versioned, so it " "will not affect other users. By contrast you can also use the versioned " "svn:ignore property to exclude files or directories from " "version control. Read for more " "information." msgstr "" "忽略样式将作用于你所有的项目工程。因为它是非版本控制的,所以它将不会对其他的用" "户起作用。相对而言,你也可以使用可版本控制的 svn:ignore 属" "性来把要忽略的文件或文件夹排斥在版本控制之外。阅读 以获得更多信息。" #. (term) #: ../source/TortoiseGit_en.xml:10780 #, fuzzy msgid "Set file dates to the last commit time" msgstr "将文件日期设置为“最后提交时间”" #. (para) #: ../source/TortoiseGit_en.xml:10782 #, fuzzy msgid "" "This option tells TortoiseGit to set the file dates to the last commit time " "when doing a checkout or an update. Otherwise TortoiseGit will use the " "current date. If you are developing software it is generally best to use the " "current date because build systems normally look at the date stamps to decide " "which files need compiling. If you use last commit time and " "revert to an older file revision, your project may not compile as you expect " "it to." msgstr "" "该选项通知TSVN在做检出或更新操作时,把文件日期设置为最后提交的时间。否则TSVN将" "使用当前日期。如果你在做软件开发的话,使用当前日期是总体上最好的选择,因为那些" "软件构建器通常通过查看时间戳来决定需要编译哪些文件。如果你使用了“最后提交时" "间”并把代码文件还原到了一个旧版本,你的工程可能就不会像你期望的那样被编译了。" #. (term) #: ../source/TortoiseGit_en.xml:10796 msgid "Git configuration file" msgstr "Git配置文件" #. (para) #: ../source/TortoiseGit_en.xml:10798 #, fuzzy msgid "" "Use Edit to edit the Git configuration file " "directly. Some settings cannot be modified directly by TortoiseGit, and need " "to be set here instead. For more information about the Git " "config file see the Runtime Configuration " "Area. The section on Automatic Property Setting is of particular " "interest, and that is configured here. Note that Git can read " "configuration information from several places, and you need to know which one " "takes priority. Refer to Configuration and the Windows Registry to " "find out more." msgstr "" "使用 编辑 按钮来直接编译Git配置文件。有些设置不" "能被TSVN直接修改,就需要在这里完成。可以阅读 运行时配置 " "来获得有关Git 配置 文件的更多信息。在 设置" "自动属性 中的章节介绍了可以在这里配置的特殊偏好部分。值得" "注意的是,Git可以从许多不同的位置读取配置信息,因此你也就需要了解哪一个" "将优先起作用。阅读 配置与Windows注册表 来获取更多" "信息。" #. (term) #: ../source/TortoiseGit_en.xml:10823 #, fuzzy msgid "" "Use _svn instead of .svn directories" msgstr "" "使用文本编辑器打开 Apache 子目录 conf 中的文件 ssl.conf。" #. (para) #: ../source/TortoiseGit_en.xml:10825 msgid "" "VS.NET when used with web projects can't handle the .svn " "folders that Git uses to store its internal information. This is not a " "bug in Git. The bug is in VS.NET and the frontpage extensions it uses. " "Read to find out more about " "this issue." msgstr "" "在使用VS.NET环境做web工程时,将无法处理 .svn 文件夹,但" "Git是要用这些文件夹来储存自己的内部信息的。这可不是Git的bug,这" "bug是VS.NET和它使用的frontpage扩展带来的。阅读 来获得有关此问题的更多信息。" #. (para) #: ../source/TortoiseGit_en.xml:10832 msgid "" "If you want to change the behaviour of Git and TortoiseGit, you can " "use this checkbox to set the environment variable which controls this." msgstr "" "若你想改变Git和TSVN的这些行为,就可以使用这个选项框来设置控制这些的环境" "变量。" #. (para) #: ../source/TortoiseGit_en.xml:10837 msgid "" "You should note that changing this option will not automatically convert " "existing working copies to use the new admin directory. You will have to do " "that yourself using a script (See our FAQ) or simply check out a fresh " "working copy." msgstr "" "你应该注意到: 改变该选项将不会使已存在的工作副本中的管理文件夹从“_svn”自动转换" "到“.svn”。你需要使用一个脚本(查看我们的FAQ)来自行完成这项工作,或是简单地重新" "检出一个新的工作副本。" #. (title) #: ../source/TortoiseGit_en.xml:10847 msgid "Context Menu Settings" msgstr "右键菜单配置" #. (para) #: ../source/TortoiseGit_en.xml:10849 msgid "" " This page allows you to specify which of the TortoiseGit " "context menu entries will show up in the main context menu, and which will " "appear in the TortoiseGit submenu. By default most items are unchecked and " "appear in the submenu." msgstr "" " 该页面允许你指定: 在TortoiseGit的主上下文菜单中哪些条目可以直" "接在鼠标右键菜单显示,哪些在TortoiseGit子菜单显示。默认情况下很多项未被勾选," "只在子菜单显示。" #. (title) #: ../source/TortoiseGit_en.xml:10851 msgid "The Settings Dialog, Context Menu Page" msgstr "设置对话框,右键菜单页面" #. (para) #: ../source/TortoiseGit_en.xml:10859 msgid "" "There is a special case for Get Lock. You can of course " "promote it to the top level using the list above, but as most files don't " "need locking this just adds clutter. However, a file with the svn:" "needs-lock property needs this action every time it is edited, so " "in that case it is very useful to have at the top level. Checking the box " "here means that when a file is selected which has the svn:needs-" "lock property set, Get Lock will always appear " "at the top level." msgstr "" "获得锁会有一个特别的情况,你可以将其提升到顶级带但,但是" "大多数文件不需要锁定,这样做只是添加了混乱。然而,一个标记为svn:" "needs-lock属性的文件每次编辑前都需要那个操作,所以这个菜单会进入顶级" "菜单会比较方便。选定这个选项,会使设置svn:needs-lock属性的" "文件的Get Lock出现在顶级菜单中。" #. (title) #: ../source/TortoiseGit_en.xml:10871 msgid "TortoiseGit Dialog Settings 1" msgstr "TSVN对话框设置一" #. (para) #: ../source/TortoiseGit_en.xml:10873 msgid "" " This dialog allows you to configure some of TortoiseGit's " "dialogs the way you like them." msgstr " 此对话框允许你按照喜欢的方式去配置一些TSVN的对话框。" #. (title) #: ../source/TortoiseGit_en.xml:10875 msgid "The Settings Dialog, Dialogs 1 Page" msgstr "设置对话框,对话框一页面" #. (term) #: ../source/TortoiseGit_en.xml:10883 msgid "Default number of log messages" msgstr "默认的日志信息数" #. (para) #: ../source/TortoiseGit_en.xml:10885 #, fuzzy msgid "" "Limits the number of log messages that TortoiseGit fetches when you first " "select TortoiseGitShow Log Useful for slow server connections. You can always " "use Show All or Next 100 to get " "more messages." msgstr "" "限制你首次选择 TortoiseGit显示日志" " 时,TortoiseGit 从服务器获取的日志信息数。在服务器" "连接缓慢时很有用。你可以使用 全部获取下" "100(条) 来获得更多信息。" #. (term) #: ../source/TortoiseGit_en.xml:10899 msgid "Font for log messages" msgstr "日志信息字体" #. (para) #: ../source/TortoiseGit_en.xml:10901 msgid "" "Selects the font face and size used to display the log message itself in the " "middle pane of the Revision Log dialog, and when composing log messages in " "the Commit dialog." msgstr "" "选择日志信息显示的字体样式和大小,作用域为版本日志对话框的中间窗格,以及提交对" "话框时填写日志信息的窗格。" #. (term) #: ../source/TortoiseGit_en.xml:10910 msgid "Short date / time format in log messages" msgstr "日志信息使用短日期/时间格式" #. (para) #: ../source/TortoiseGit_en.xml:10912 msgid "" "If the standard long messages use up too much space on your screen use the " "short format." msgstr "如果标准长度的日期/时间信息占在用了过多的屏幕空间,可以使用短格式。" #. (term) #: ../source/TortoiseGit_en.xml:10919 msgid "Progress Dialog" msgstr "进程对话框" #. (para) #: ../source/TortoiseGit_en.xml:10921 msgid "" "TortoiseGit can automatically close all progress dialogs when the action is " "finished without error. This setting allows you to select the conditions for " "closing the dialogs. The default (recommended) setting is Close " "manually which allows you to review all messages and check what " "has happened. However, you may decide that you want to ignore some types of " "message and have the dialog close automatically if there are no critical " "changes." msgstr "" "当一个动作正确无误地完成时,TSVN可以自动关闭所有的进程对话框。这项设置允许你选" "择在何种情况下关闭对话框。默认(推荐)的设置是 手动关闭 ," "允许你重新浏览所有信息并检查发生了什么。当然,你可能会决定忽略某些类型的信息并" "在你的操作没做出什么重大改变的情况下让对话框自动关闭。" #. (para) #: ../source/TortoiseGit_en.xml:10932 msgid "" "Auto-close if no merges, adds or deletes means that the " "progress dialog will close if there were simple updates, but if changes from " "the repository were merged with yours, or if any files were added or deleted, " "the dialog will remain open. It will also stay open if there were any " "conflicts or errors during the operation." msgstr "" "如无合并、添加、删除操作,自动关闭 意味着如果有简单更新的" "话,进程对话框将关闭。但如果版本库的更改和你的内容进行了合并,或若有任何文件被" "添加或删除,对话框将保持打开。若操作中发生什么冲突和错误这些对话框也将同样保持" "打开。" #. (para) #: ../source/TortoiseGit_en.xml:10940 msgid "" "Auto-close if no merges, adds or deletes for local operations means that the progress dialog will close as for Auto-" "close if no merges, adds or deletes but only for local operations " "like adding files or reverting changes. For remote operations the dialog will " "stay open." msgstr "" "对本地操作自动关闭(如无合并、添加或删除操作,自动关闭) 意" "味着进程对话框当 如无合并、添加或删除操作 时自动关闭,但" "仅限于那些如添加文件、还原等本地的操作。在做远程操作时对话框将保持打开。" #. (para) #: ../source/TortoiseGit_en.xml:10948 msgid "" "Auto-close if no conflicts relaxes the criteria further " "and will close the dialog even if there were merges, adds or deletes. " "However, if there were any conflicts or errors, the dialog remains open." msgstr "" "无冲突时自动关闭 更放宽了标准,即使在无合并、添加、删除操" "作时也同样关闭对话框。当然,如果操作发生了任何冲突或错误,对话框将保持打开。" #. (para) #: ../source/TortoiseGit_en.xml:10955 msgid "" "Auto-close if no errors always closes the dialog even if " "there were conflicts. The only condition that keeps the dialog open is an " "error condition, which occurs when Git is unable to complete the task. " "For example, an update fails because the server is inaccessible, or a commit " "fails because the working copy is out-of-date." msgstr "" "如无错误,自动关闭 即使在有冲突发生时也会关闭。维持对话框" "打开的唯一条件是发生了错误,使得Git无法完成任务。举个例子,一个更新操作" "由于服务器不可达而失败了,或是一个提交操作因为工作副本已经过期而失败。" #. (term) #: ../source/TortoiseGit_en.xml:10967 #, fuzzy msgid "Use URL of WC as the default From: URL" msgstr "使用工作副本的URL作为默认的来源URL" #. (para) #: ../source/TortoiseGit_en.xml:10969 msgid "" "In the merge dialog, the default behaviour is for the From: URL to be remembered between merges. However, some people like to " "perform merges from many different points in their hierarchy, and find it " "easier to start out with the URL of the current working copy. This can then " "be edited to refer to a parallel path on another branch." msgstr "" "在合并对话框里,默认行为是在每次合并中记忆 起始: 的URL。" "无论如何,都有某些人喜欢在他们的版本进化树中从很多不同的位置执行合并操作,他们" "发现从当前工作副本的URL开始更方便些。该URL可以随后被编辑来指向一个同级路径或另" "一个分支。" #. (term) #: ../source/TortoiseGit_en.xml:10981 msgid "Default checkout path" msgstr "缺省检出路径" #. (para) #: ../source/TortoiseGit_en.xml:10983 msgid "" "You can specify the default path for checkouts. If you keep all your " "checkouts in one place, it is useful to have the drive and folder pre-filled " "so you only have to add the new folder name to the end." msgstr "" "你可以指定缺省的检出路径。如果你保持所有检出在同一个地方,那么预先填写的路径是" "极为有用的,这样你只需要在路径末尾增加新的目录名称即可。" #. (term) #: ../source/TortoiseGit_en.xml:10992 msgid "Default checkout URL" msgstr "缺省检出URL" #. (para) #: ../source/TortoiseGit_en.xml:10994 msgid "" "You can also specify the default URL for checkouts. If you often checkout sub-" "projects of some very large project, it can be useful to have the URL pre-" "filled so you only have to add the sub-project name to the end." msgstr "" "你可以指定缺省的检出URL。如果你经常检出一些大项目的子工程,那么预先填写的URL是" "极为有用的,这样你只需要在路径末尾增加新的工程名称即可。" #. (title) #: ../source/TortoiseGit_en.xml:11005 msgid "TortoiseGit Dialog Settings 2" msgstr "TSVN对话框设置二" #. (title) #: ../source/TortoiseGit_en.xml:11009 msgid "The Settings Dialog, Dialogs 2 Page" msgstr "设置对话框,对话框二页面" #. (term) #: ../source/TortoiseGit_en.xml:11015 msgid "Recurse into unversioned folders" msgstr "递归处理未进行版本控制的文件夹" #. (para) #: ../source/TortoiseGit_en.xml:11017 msgid "" "If this box is checked (default state), then whenever the status of an " "unversioned folder is shown in the Add, " "Commit or Check for Modifications " "dialog, every child file and folder is also shown. If you uncheck this box, " "only the unversioned parent is shown. Unchecking reduces clutter in these " "dialogs. In that case if you select an unversioned folder for Add, it is " "added recursively." msgstr "" "若这个选项框被选中(默认状态),那么一个非版本控制的文件夹,不论在 添" "加提交检查更新 时显" "示的是什么状态,它的每个子文件和子文件夹都要同样显示。取消选择将减少这些对话框" "中的混乱程度。这样一来如果你选择添加一个非版本控制的文件夹,将会非递归地添加。" #. (term) #: ../source/TortoiseGit_en.xml:11031 msgid "Use auto-completion of file paths and keywords" msgstr "自动完成文件路径和关键词" #. (para) #: ../source/TortoiseGit_en.xml:11033 #, fuzzy msgid "" "The commit dialog includes a facility to parse the list of filenames being " "committed. When you type the first 3 letters of an item in the list, the auto-" "completion box pops up, and you can press Enter to complete the filename. " "Check the box to enable this feature." msgstr "" "提交对话框包含了一个功能模块,可以解析被提交的一系列文件名。当你输入一个提交列" "表中某个文件的前三个字母时,自动完成对话框就会弹出来,使你随后可以点击回车来直" "接完成这个文件名。选择该选项来使用这个功能特性。" #. (term) #: ../source/TortoiseGit_en.xml:11043 msgid "Timeout in seconds to stop the auto-completion parsing" msgstr "自动完成分析的超时时间(秒)" #. (para) #: ../source/TortoiseGit_en.xml:11045 #, fuzzy msgid "" "The auto-completion parser can be quite slow if there are a lot of large " "files to check. This timeout stops the commit dialog being held up for too " "long. If you are missing important auto-completion information, you can " "extend the timeout." msgstr "" "如果有大量文件需要程序检查,自动完成解析器可能会非常慢。该超时时间设置可以防止" "提交对话框被长时间挂起。若你错过了某些重要的自动完成信息,你可以延长该超时时" "间。" #. (term) #: ../source/TortoiseGit_en.xml:11054 msgid "" "Only use spellchecker when tsvn:projectlanguage is set" msgstr "仅在设置了 tsvn:projectlanguage 时才进行拼写检查" #. (para) #: ../source/TortoiseGit_en.xml:11056 msgid "" "If you don't wish to use the spellchecker for all commits, check this box. " "The spellchecker will still be enabled where the project properties require " "it." msgstr "" "若你不愿意在所有提交操作时都进行拼写检查,就选择该选项。而后拼写检查功能将在项" "目属性做出明确要求时才生效。" #. (term) #: ../source/TortoiseGit_en.xml:11064 msgid "Max. items to keep in the log message history" msgstr "日志中保留的最大条目数量" #. (para) #: ../source/TortoiseGit_en.xml:11066 msgid "" "TortoiseGit stores the last 25 log messages you entered for each repository. " "You can customize the number stored here. If you have many different " "repositories, you may wish to reduce this to avoid filling your registry." msgstr "" "TSVN可以为每个版本库保存你访问时所输入的最后25条日志信息。你可以自定义该数目。" "若你有很多不同的版本库,你可能会希望减少该数目以防止向注册表中填入过多信息。" #. (term) #: ../source/TortoiseGit_en.xml:11075 msgid "Re-open commit and branch/tag dialog after a commit failed" msgstr "如果提交失败,自动重新打开提交和分支/标签对话框" #. (para) #: ../source/TortoiseGit_en.xml:11077 msgid "" "When a commit fails for some reason (working copy needs updating, pre-commit " "hook rejects commit, network error, etc), you can select this option to keep " "the commit dialog open ready to try again. However, you should be aware that " "this can lead to problems. If the failure means you need to update your " "working copy, and that update leads to conflicts you must resolve those first." msgstr "" "当一个提交操作由于某些原因(工作副本需要更新、pre-commit钩子程序拒绝了提交、网" "络错误等等)失败了,你可以选择该选项来使提交对话框保持打开,以便重新操作。当" "然,你应该注意到这可能会导致一些问题。若发生的错误意味着你需要更新你的工作副" "本,而此更新操作将导致冲突,那么你必须先解决这些事情再说。" #. (term) #: ../source/TortoiseGit_en.xml:11088 msgid "Select items automatically" msgstr "自动选择项目" #. (para) #: ../source/TortoiseGit_en.xml:11090 msgid "" "The normal behaviour in the commit dialog is for all modified (versioned) " "items to be selected for commit automatically. If you prefer to start with " "nothing selected and pick the items for commit manually, uncheck this box." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:11099 msgid "Contact the repository on startup" msgstr "启动时连接版本库" #. (para) #: ../source/TortoiseGit_en.xml:11101 msgid "" "The Check for Modifications dialog checks the working copy by default, and " "only contacts the repository when you click Check repository. If you always want to check the repository, you can use this " "setting to make that action happen automatically." msgstr "" "“检查更新”对话框将默认检查工作副本,但仅当你点击 检查版本库 时才连接你的版本库做检查。若你想总是去检查版本库,就可以使用该设置" "来使版本库检查的动作每次都自动启动。" #. (term) #: ../source/TortoiseGit_en.xml:11111 msgid "Show Lock dialog before locking files" msgstr "在锁定文件之前显示加锁对话框" #. (para) #: ../source/TortoiseGit_en.xml:11113 msgid "" "When you select one or more files and then use " "TortoiseGitLock to take out a lock on those files, on some projects it is " "customary to write a lock message explaining why you have locked the files. " "If you do not use lock messages, you can uncheck this box to skip that dialog " "and lock the files immediately." msgstr "" "当你选择一个或多个文件,然后选择 TortoiseGit加锁 后,一些项目的惯例是写加" "锁信息,解释你为什么锁定这些文件。如果你不使用加锁信息,可以取消此选择框,从而" "略过对话框,直接锁定文件。" #. (para) #: ../source/TortoiseGit_en.xml:11125 msgid "" "If you use the lock command on a folder, you are always presented with the " "lock dialog as that also gives you the option to select files for locking." msgstr "" "如果你在目录上使用加锁命令,一定会出现加锁对话框,因为它要让你选择加锁的文件。" #. (para) #: ../source/TortoiseGit_en.xml:11130 msgid "" "If your project is using the tsvn:lockmsgminsize property, " "you will see the lock dialog regardless of this setting because the project " "requires lock messages." msgstr "" "如果你的项目使用了 tsvn:lockmsgminsize 属性,那么不管你如何" "设置,都会看到加锁对话框,因为此项目需要加锁信息。" #. (title) #: ../source/TortoiseGit_en.xml:11140 msgid "TortoiseGit Colour Settings" msgstr "TortoiseGit 颜色设置" #. (para) #: ../source/TortoiseGit_en.xml:11142 msgid "" " This dialog allows you to configure the text colours used in " "TortoiseGit's dialogs the way you like them." msgstr "" " 此对话框允许你按照你喜欢的方式来配置TSVN对话框使用的文本颜" "色。" #. (title) #: ../source/TortoiseGit_en.xml:11144 msgid "The Settings Dialog, Colours Page" msgstr "设置对话框,颜色页面" #. (term) #: ../source/TortoiseGit_en.xml:11152 msgid "Possible or real conflict / obstructed" msgstr "可能或确实有冲突/问题" #. (para) #: ../source/TortoiseGit_en.xml:11154 msgid "" "A conflict has occurred during update, or may occur during merge. Update is " "obstructed by an existing unversioned file/folder of the same name as a " "versioned one." msgstr "" "当更新时或合并时发生了冲突。如果对应于版本控制下的文件/文件夹,存在一个同名的" "非版本控制的文件/文件夹,此时做更新将被阻碍。" #. (para) #: ../source/TortoiseGit_en.xml:11159 msgid "This colour is also used for error messages in the progress dialogs." msgstr "此颜色同样被用在进程对话框的错误信息中。" #. (term) #: ../source/TortoiseGit_en.xml:11165 msgid "Added files" msgstr "添加文件" #. (para) #: ../source/TortoiseGit_en.xml:11167 msgid "Items added to the repository." msgstr "向版本库添加的条目。" #. (term) #: ../source/TortoiseGit_en.xml:11173 msgid "Missing / deleted / replaced" msgstr "丢失/已删除/已替换" #. (para) #: ../source/TortoiseGit_en.xml:11175 msgid "" "Items deleted from the repository, missing from the working copy, or deleted " "from the working copy and replaced with another file of the same name." msgstr "" "已从工作副本中遗失的条目;已从版本库中删除;或已经从工作副本删除并且被另一个同" "名文件替换。" #. (term) #: ../source/TortoiseGit_en.xml:11183 msgid "Merged" msgstr "已合并" #. (para) #: ../source/TortoiseGit_en.xml:11185 msgid "" "Changes from the repository successfully merged into the WC without creating " "any conflicts." msgstr "从版本库所做的更改被成功地合并到工作副本,并无任何冲突产生。" #. (term) #: ../source/TortoiseGit_en.xml:11192 msgid "Modified / copied" msgstr "已修改/已复制" #. (para) #: ../source/TortoiseGit_en.xml:11194 msgid "" "Add with history, or paths copied in the repository. Also used in the log " "dialog for entries which include copied items." msgstr "" "已经增加(现在只是修改),或者在版本库中复制。也在包含复制条目的日志对话框中使" "用。" #. (term) #: ../source/TortoiseGit_en.xml:11202 msgid "Deleted node" msgstr "删除的节点" #. (para) #: ../source/TortoiseGit_en.xml:11204 msgid "An item which has been deleted from the repository." msgstr "一个已经从版本库中删除了的条目。" #. (term) #: ../source/TortoiseGit_en.xml:11210 msgid "Added node" msgstr "添加的节点" #. (para) #: ../source/TortoiseGit_en.xml:11212 msgid "" "An item which has been added to the repository, by an add, copy or move " "operation." msgstr "一个通过添加、复制或移动操作,已经被添加到版本库的条目。" #. (term) #: ../source/TortoiseGit_en.xml:11219 msgid "Renamed node" msgstr "重命名的节点" #. (para) #: ../source/TortoiseGit_en.xml:11221 msgid "An item which has been renamed within the repository." msgstr "一个在版本库中已经被重命名的条目。" #. (term) #: ../source/TortoiseGit_en.xml:11227 msgid "Replaced node" msgstr "替换的节点" #. (para) #: ../source/TortoiseGit_en.xml:11229 msgid "" "The original item has been deleted and a new item with the same name replaces " "it." msgstr "该原始条目已经被删除,且有同名条目替换了的条目。" #. (title) #: ../source/TortoiseGit_en.xml:11239 msgid "Icon Overlay Settings" msgstr "图标叠加设置" #. (para) #: ../source/TortoiseGit_en.xml:11241 #, fuzzy msgid "" " This page allows you to choose the items for which " "TortoiseGit will display icon overlays." msgstr "" " 此对话框允许你按照你喜欢的方式来配置TSVN对话框使用的文本颜" "色。" #. (title) #: ../source/TortoiseGit_en.xml:11243 #, fuzzy msgid "The Settings Dialog, Icon Overlays Page" msgstr "设置对话框,图标集页面" #. (para) #: ../source/TortoiseGit_en.xml:11249 #, fuzzy msgid "" "By default, overlay icons and context menus will appear in all open/save " "dialogs as well as in Windows Explorer. If you want them to appear " "only in Windows Explorer, check the Show " "overlays and context menu only in explorer box." msgstr "" "默认情况下,图标重载将不止显示在Windows资源浏览器下,同样会显示在所有的打开/保" "存对话框里。如果你想让它们 仅仅 显示在Windows资源浏览器" "下,勾选 仅在资源管理器中显示图标重载 选项。" #. (para) #: ../source/TortoiseGit_en.xml:11255 msgid "" "Ignored items and Unversioned items are not usually given an overlay. If you " "want to show an overlay in these cases, just check the boxes." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:11259 #, fuzzy msgid "" "You can also choose to mark folders as modified if they contain unversioned " "items. This could be useful for reminding you that you have created new files " "which are not yet versioned. This option is only available when you use the " "default status cache option (see below)." msgstr "" "若你选择了默认选项,将同样决定如下选择: 在文件夹包含非版本控制的项目时,把文件" "夹图标重载标记为已修改。这个有用的设置可以提醒你已经创建了非版本控制的新文件。" #. (para) #: ../source/TortoiseGit_en.xml:11266 #, fuzzy msgid "" "Since it takes quite a while to fetch the status of a working copy, " "TortoiseGit uses a cache to store the status so the explorer doesn't get " "hogged too much when showing the overlays. You can choose which type of cache " "TortoiseGit should use according to your system and working copy size here: " "" msgstr "" "因为它要花费一段时间来获取工作副本的状态,TSVN将使用一个缓存来存储这些状态,从" "而使浏览器在显示图标重载时,资源占用的不太厉害。你可以根据你的系统和工作副本的" "大小来在这里选择让TSVN使用哪种类型的缓存: " #. (term) #: ../source/TortoiseGit_en.xml:11274 msgid "Default" msgstr "默认" #. (para) #: ../source/TortoiseGit_en.xml:11276 #, fuzzy msgid "" "Caches all status information in a separate process (TSVNCache.exe). That process watches all drives for changes and fetches the " "status again if files inside a working copy get modified. The process runs " "with the least possible priority so other programs don't get hogged because " "of it. That also means that the status information is not real " "time but it can take a few seconds for the overlays to change." msgstr "" "把所有状态信息缓存在一个独立进程中(TSVNCache.exe)。该进程" "监视所有驱动器的更改,并在工作副本中的文件被修改时重新获取其状态。该进程以最低" "优先级运行,所以其他程序不会被它挤兑。这同样意味着状态信息并不是 实" "时 的,因为它需要几秒钟时间处理图标重载的变化。" #. (para) #: ../source/TortoiseGit_en.xml:11287 #, fuzzy msgid "" "Advantage: the overlays show the status recursively, i.e. if a file deep " "inside a working copy is modified, all folders up to the working copy root " "will also show the modified overlay. And since the process can send " "notifications to the shell, the overlays on the left tree view usually change " "too." msgstr "" "优点: 图标重载递归地显示状态,就是说,如果一个处在工作副本深处的文件被修改了," "所有途径的文件夹包括工作副本的根目录都会显示出修改的图标重载。也因为该进程可以" "向Windows外壳发送通知,资源管理器左面的树形图通常也会更改。" #. (para) #: ../source/TortoiseGit_en.xml:11295 msgid "" "Disadvantage: the process runs constantly, even if you're not working on your " "projects. It also uses around 10-50 MB of RAM depending on number and size of " "your working copies." msgstr "" "缺点: 即使你已经不在项目下工作了,该进程仍然持续运行。取决于你工作副本的数量和" "大小,它将占用10-50 MB的RAM内存空间。" #. (term) #: ../source/TortoiseGit_en.xml:11303 msgid "Shell" msgstr "Windows 外壳" #. (para) #: ../source/TortoiseGit_en.xml:11305 msgid "" "Caching is done directly inside the shell extension dll, but only for the " "currently visible folder. Each time you navigate to another folder, the " "status information is fetched again." msgstr "" "缓存在外壳扩展dll中直接完成,但仅仅是为那些当前可见的文件夹。每次你浏览到其他" "文件夹,状态信息就会被重新获取。" #. (para) #: ../source/TortoiseGit_en.xml:11311 msgid "" "Advantage: needs only very little memory (around 1 MB of RAM) and can show " "the status in real time." msgstr "" "优点: 仅仅需要很少的内存(大约 1 MB),并且可以 实时 显示状" "态。" #. (para) #: ../source/TortoiseGit_en.xml:11315 msgid "" "Disadvantage: Since only one folder is cached, the overlays don't show the " "status recursively. For big working copies, it can take more time to show a " "folder in explorer than with the default cache. Also the mime-type column is " "not available." msgstr "" "缺点: 因为仅有一个文件夹被缓存,图标重载不会递归地显示状态。在大一些的工作副本" "下,它在浏览器中显示一个文件夹将比默认缓存模式花费更多时间。而且 mime-type 列" "将无效。" #. (term) #: ../source/TortoiseGit_en.xml:11325 msgid "None" msgstr "无" #. (para) #: ../source/TortoiseGit_en.xml:11327 msgid "" "With this setting, the TortoiseGit does not fetch the status at all in " "Explorer. Because of that, files don't get an overlay and folders only get a " "'normal' overlay if they're versioned. No other overlays are shown, and no " "extra columns are available either." msgstr "" "在这种设置下,TSVN在浏览器里就完全不去获取状态了。因此,版本控制下的文件将不会" "获得任何图标重载。文件夹也仅仅有个“正常”状态的图标重载,其他的不会显示,也不会" "有其他额外的列可用。" #. (para) #: ../source/TortoiseGit_en.xml:11334 msgid "" "Advantage: uses absolutely no additional memory and does not slow down the " "Explorer at all while browsing." msgstr "优点: 绝对不会占用任何额外的内存,也完全不会减慢浏览器的浏览速度。" #. (para) #: ../source/TortoiseGit_en.xml:11338 #, fuzzy msgid "" "Disadvantage: Status information of files and folders is not shown in " "Explorer. To see if your working copies are modified, you have to use the " "Check for modifications dialog." msgstr "" "缺点: 文件、文件夹的状态信息不会显示在浏览器中。要获知你的工作副本是否被修改" "了,你需要使用“检查更新”对话框。" #. (para) #: ../source/TortoiseGit_en.xml:11347 #, fuzzy msgid "" "The next group allows you to select which classes of storage should show " "overlays. By default, only hard drives are selected. You can even disable all " "icon overlays, but where's the fun in that?" msgstr "" " 此页面允许你选择TSVN为哪些条目显示图标重载。选择网络磁盘可能" "会非常慢,所以默认情况下不为定位于网络共享中的工作副本显示图标重载。你甚至可以" "取消所有的图标重载,但那样做还剩下什么好玩儿的呢?" #. (para) #: ../source/TortoiseGit_en.xml:11352 msgid "" "Network drives can be very slow, so by default icons are not shown for " "working copies located on network shares." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:11356 msgid "" "USB Flash drives appear to be a special case in that the drive type is " "identified by the device itself. Some appear as fixed drives, and some as " "removable drives." msgstr "" "USB闪存看上去是个特殊情况,因为驱动类型是设备自主标识的。于是有些显示为固定驱" "动器,而有些显示为可移动磁盘。" #. (para) #: ../source/TortoiseGit_en.xml:11361 msgid "" "The Exclude Paths are used to tell TortoiseGit those " "paths for which it should not show icon overlays and " "status columns. This is useful if you have some very big working copies " "containing only libraries which you won't change at all and therefore don't " "need the overlays. For example:" msgstr "" "排除路径 是被用来告诉TSVN 不用 在哪" "些路径下显示图标重载和状态列。如果你有些很大的工作副本,而这些工作副本仅仅包含" "你完全不想改变的库文件,从而你也不需要显示图标重载,这时该功能将会很有用。举个" "例子: " #. (para) #: ../source/TortoiseGit_en.xml:11369 msgid "" "f:\\development\\SVN\\Git will disable the " "overlays only on that specific folder. You still can see " "the overlays on all files and folder inside that folder." msgstr "" "填写 f:\\development\\SVN\\Git仅仅 在这个特殊文件夹上取消图标覆盖。 你仍然可以在该路径下的所有文件、文" "件夹上看到图标重载。" #. (para) #: ../source/TortoiseGit_en.xml:11374 msgid "" "f:\\development\\SVN\\Git* will disable the " "overlays on all files and folders whose path starts with " "f:\\development\\SVN\\Git. That means you won't " "see overlays for any files and folders below that path." msgstr "" "填写 f:\\development\\SVN\\Git* 将在路径以 " "f:\\development\\SVN\\Git 开始的 所有 文件和文件夹上取消图标重载。这意味着你在该路径下的任何文件/文件夹上" "都将看不到图标重载了。" #. (para) #: ../source/TortoiseGit_en.xml:11381 msgid "" "The same applies to the Include Paths. Except that for " "those paths the overlays are shown even if the overlays are disabled for that " "specific drive type, or by an exclude path specified above." msgstr "" "包含路径 也使用同样的语法。除了有些反例: 即使该路径处在某" "个取消图标重载显示的特定驱动类型下,或是处在上面的排除路径之下, 也依然会显示" "图标重载。" #. (para) #: ../source/TortoiseGit_en.xml:11386 msgid "" "Users sometimes ask how these three settings interact, and the definitive " "answer is: \n" "if (path is in include list)\n" " show overlays\n" "if (path is allowed drive type) AND (path is not in exclude list)\n" " show overlays\n" " The include list always makes the overlays " "show. Otherwise, overlays are shown for all marked drive types " "unless the path is excluded." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:11399 msgid "" "TSVNCache.exe also uses these paths to restrict its scanning. If you want it " "to look only in particular folders, disable all drive types and include only " "the folders you specifically want to be scanned." msgstr "" "TSVNCache.exe 同样使用这些路径来限制它的扫描。如果你想让它仅仅在某些特定文件夹" "里监视,就取消所有的驱动器类型,并仅仅包含你允许被扫描的文件夹。" #. (title) #: ../source/TortoiseGit_en.xml:11405 msgid "Exclude SUBST Drives" msgstr "排除 SUBST 磁盘" #. (primary) #: ../source/TortoiseGit_en.xml:11407 msgid "SUBST drives" msgstr "SUBST 磁盘" #. (para) #: ../source/TortoiseGit_en.xml:11409 msgid "" "It is often convenient to use a SUBST drive to access your " "working copies, e.g. using the command \n" "subst T: C:\\TortoiseGit\\trunk\\doc\n" " However this can cause the overlays not to update, as " "TSVNCache will only receive one notification when a file " "changes, and that is normally for the original path. This means that your " "overlays on the subst path may never be updated." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:11421 msgid "" "An easy way to work around this is to exclude the original path from showing " "overlays, so that the overlays show up on the subst path " "instead." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:11427 #, fuzzy msgid "" "Sometimes you will exclude areas that contain working copies, which saves " "TSVNCache from scanning and monitoring for changes, but you still want a " "visual indication that such folders are versioned. The Show " "excluded folders as 'normal' checkbox allows you to do this. With " "this option, versioned folders in any excluded area (drive type not checked, " "or specifically excluded) will show up as normal and up-to-date, with a green " "check mark. This reminds you that you are looking at a working copy, even " "though the folder overlays may not be correct. Files do not get an overlay at " "all. Note that the context menus still work, even though the overlays are not " "shown." msgstr "" "有时候,你会想排除包含工作副本的区域,因为它会节约 TSVNCache 扫描和监视修改的" "代价,但是你仍旧想让这些目录显示为受版本控制。检查框“正常”显示排除目" "录允许你这样做。使用这个选项,被排除的区域中受版本控制的目录使用绿" "色检查标记,正常显示为最新版本。它提醒你在察看工作副本,目录重载图标可能显示不" "正确。文件根本不显示重载图标。尽管不显示覆盖图标,上下文菜单仍旧工作。" #. (para) #: ../source/TortoiseGit_en.xml:11440 msgid "" "As a special exception to this, drives A: and B: are never considered for the Show excluded folders as " "'normal' option. This is because Windows is forced to look on the " "drive, which can result in a delay of several seconds when starting Explorer, " "even if your PC does have a floppy drive." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:11449 msgid "Icon Set Selection" msgstr "图标集选择" #. (para) #: ../source/TortoiseGit_en.xml:11451 msgid "" " You can change the overlay icon set to the one you like " "best. Note that if you change overlay set, you may have to restart your " "computer for the changes to take effect." msgstr "" " 你可以选择你最喜欢的重载图标集。要注意的是,倘若改变了重载图" "标集,你可能需要重启计算机使更改生效。" #. (title) #: ../source/TortoiseGit_en.xml:11453 msgid "The Settings Dialog, Icon Set Page" msgstr "设置对话框,图标集页面" #. (title) #: ../source/TortoiseGit_en.xml:11464 msgid "Network Settings" msgstr "网络设置" #. (primary) #: ../source/TortoiseGit_en.xml:11466 msgid "proxy server" msgstr "代理服务器" #. (para) #: ../source/TortoiseGit_en.xml:11468 msgid "" " Here you can configure your proxy server, if you need one to " "get through your company's firewall." msgstr "" " 如果需要穿透你公司的防火墙,在这里可以配置你的代理服务器。" #. (title) #: ../source/TortoiseGit_en.xml:11470 msgid "The Settings Dialog, Network Page" msgstr "设置对话框,网络设置页面" #. (para) #: ../source/TortoiseGit_en.xml:11476 #, fuzzy msgid "" "If you need to set up per-repository proxy settings, you will need to use the " "Git servers file to configure this. Use " "Edit to get there directly. Consult the Runtime Configuration Area for details on " "how to use this file." msgstr "" "如果你需要对每个版本库建立一套代理设置,你必须使用Git服务器文件来配置。使用编辑来直接访问该配置文件" "(servers.txt)。该文件的细节和使用方法可以参考运行时配置" #. (para) #: ../source/TortoiseGit_en.xml:11486 msgid "" "You can also specify which program TortoiseGit should use to establish a " "secure connection to a svn+ssh repository. We recommend that you use " "TortoisePlink.exe. This is a version of the popular Plink program, and is " "included with TortoiseGit, but it is compiled as a Windowless app, so you " "don't get a DOS box popping up every time you authenticate." msgstr "" "你同样可以在此指定SSH客户端程序,用来支持TortoiseGit同使用svn+ssh协议的版本库" "建立安全连接。我们推荐您使用TortoisePlink.exe。这是著名的Plink程序的一个定制版" "本, 并且业已包含在TortoiseGit之中,但它被编译成了一个无窗口的应用,因此当你每" "次认证的时候将不会看到弹出的DOS窗口。" #. (para) #: ../source/TortoiseGit_en.xml:11494 msgid "" "You must specify the full path to the executable. For TortoisePlink.exe this " "is the standard TortoiseGit bin directory. Use the Browse button to help locate it." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:11499 msgid "" "One side-effect of not having a window is that there is nowhere for any error " "messages to go, so if authentication fails you will simply get a message " "saying something like Unable to write to standard output. For " "this reason we recommend that you first set up using standard Plink. When " "everything is working, you can use TortoisePlink with exactly the same " "parameters." msgstr "" "这里有个不弹出窗口的副作用: 将没有什么错误信息可供你追踪。因此倘若认证失败你将" "得到一个信息说: Unable to write to standard output。这样一来," "我们就推荐你第一次设置时使用原始的Plink程序;而当一切工作正常之时,再使用定制" "版的TortoisePlink,并且重复利用那些相同的参数。" #. (para) #: ../source/TortoiseGit_en.xml:11508 msgid "" "TortoisePlink does not have any documentation of its own because it is just a " "minor variant of Plink. Find out about command line parameters from the " "PuTTY website" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:11516 msgid "" "To avoid being prompted for a password repeatedly, you might also consider " "using a password caching tool such as Pageant. This is also available for " "download from the PuTTY website." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:11521 msgid "" "Finally, setting up SSH on server and clients is a non-trivial process which " "is beyond the scope of this help file. However, you can find a guide in the " "TortoiseGit FAQ listed under Git/TortoiseGit SSH How-To." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:11531 msgid "External Program Settings" msgstr "外部程序设置" #. (para) #: ../source/TortoiseGit_en.xml:11532 msgid "" " Here you can define your own diff/merge programs that " "TortoiseGit should use. The default setting is to use TortoiseMerge which is " "installed alongside TortoiseGit." msgstr "" " 在这里你可以定义你自己的差异查看/合并工具. 默认设置是使用与" "TortoiseGit一同安装的TortoiseMerge。" #. (title) #: ../source/TortoiseGit_en.xml:11534 msgid "The Settings Dialog, Diff Viewer Page" msgstr "设置对话框,差异查看页面" #. (para) #: ../source/TortoiseGit_en.xml:11542 msgid "" "Read for a list of some of the " "external diff/merge programs that people are using with TortoiseGit." msgstr "" "阅读 来了解人们为配合TortoiseGit工作而" "使用的外部差异查看/合并程序列表。" #. (title) #: ../source/TortoiseGit_en.xml:11547 msgid "Diff Viewer" msgstr "差异查看器" #. (para) #: ../source/TortoiseGit_en.xml:11549 msgid "" "An external diff program may be used for comparing different revisions of " "files. The external program will need to obtain the filenames from the " "command line, along with any other command line options. TortoiseGit uses " "substitution parameters prefixed with %. When it " "encounters one of these it will substitute the appropriate value. The order " "of the parameters will depend on the Diff program you use. " msgstr "" "有时你可能需要一个外部的差异查看程序来比较不同版本的文件。在为你的命令行填写各" "种可选参数的同时,要确保这些外部程序从中获得文件名。在TortoiseGit编辑命令行" "时,使用以 % 开头的替代参数。当外部程序执行至遇到这些替代参" "数,它将从TortoiseGit那里获取那些实际的值。参数的填写顺序将依赖于你使用的差异" "查看程序。" #. (para) #: ../source/TortoiseGit_en.xml:11562 msgid "The original file without your changes" msgstr "没更改的原始文件" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:11570 ../source/TortoiseGit_en.xml:11679 msgid "The window title for the base file" msgstr "原始文件的窗口标题" #. (para) #: ../source/TortoiseGit_en.xml:11578 msgid "Your own file, with your changes" msgstr "你更改过的新文件" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:11586 ../source/TortoiseGit_en.xml:11695 msgid "The window title for your file" msgstr "你新文件的窗口标题" #. (para) #: ../source/TortoiseGit_en.xml:11593 msgid "" "The window titles are not pure filenames. TortoiseGit treats that as a name " "to display and creates the names accordingly. So e.g. if you're doing a diff " "from a file in revision 123 with a file in your working copy, the names will " "be filename : revision 123 and filename : " "working copy" msgstr "" "窗口标题并不一定代表真正的文件名。TortoiseGit把它伪装成一个名字用来创建和显" "示。因此,倘若你在对比一个版本为123的文件和你当前工作副本中的文件,名字将显示" "为 文件名 : 版本 123文件名 : 工作副本" #. (para) #: ../source/TortoiseGit_en.xml:11603 #, fuzzy msgid "" "For example, with ExamDiff Pro: \n" "C:\\Path-To\\ExamDiff.exe %base %mine --left_display_name:%bname\n" " --right_display_name:%yname\n" " or with KDiff3: \n" "C:\\Path-To\\kdiff3.exe %base %mine --L1 %bname --L2 %yname\n" " or with WinMerge: \n" "C:\\Path-To\\WinMerge.exe -e -ub -dl %bname -dr %yname %base %mine\n" " or with Araxis: \n" "C:\\Path-To\\compare.exe /max /wait /title1:%bname /title2:%yname\n" " %base %mine\n" "" msgstr "" "例如,使用 ExamDiff Pro:\n" "C:\\Path-To\\ExamDiff.exe %base %mine\n" " 或者使用 KDiff3:\n" "C:\\Path-To\\kdiff3.exe %base %mine --L1 %bname --L2 %yname\n" " 或者使用 WinMerge:\n" "C:\\Path-To\\WinMerge.exe -e -ub -dl %bname -dr %yname %base %mine\n" " 或者使用 Araxis:\n" "C:\\Path-To\\compare.exe /max /wait /title1:%bname /title2:%yname\n" " %base %mine\n" "" #. (para) #: ../source/TortoiseGit_en.xml:11623 #, fuzzy msgid "" "If you use the svn:keywords property to expand keywords, " "and in particular the revision of a file, then there may " "be a difference between files which is purely due to the current value of the " "keyword. Also if you use svn:eol-style = native the BASE " "file will have pure LF line endings whereas your file will " "have CR-LF line endings. TortoiseGit will normally hide " "these differences automatically by first parsing the BASE file to expand " "keywords and line endings before doing the diff operation. However, this can " "take a long time with large files. If Convert files when diffing " "against BASE is unchecked then TortoiseGit will skip pre-" "processing the files." msgstr "" "如果你使用了 svn:keywords 属性来扩展关键词,特别是那些 " "revision 版本关键词,那么在那些纯粹在关键词上取值不同的文件" "之间对比将有一些不同。同样如果你使用 svn:eol-style = native,那么在工作基础版本文件只有纯粹的 LF (换行)结束符" "的地方,你的文件将有完整的 CR-LF (回车-换行)结束符。TSVN在" "做差异对比操作之前,通常会先行对那些扩展关键词和结束符等格式进行解析转换,从而" "自动隐藏这些差异。无论如何,在遇到大文件时这样做无疑会经过一个很长的处理时间。" "如果取消对 与基础版本比较时转换文件 的勾选,那么TSVN将忽" "略这些对文件的预处理。" #. (para) #: ../source/TortoiseGit_en.xml:11637 msgid "" "You can also specify a different diff tool to use on Git properties. " "Since these tend to be short simple text strings, you may want to use a " "simpler more compact viewer." msgstr "" "你也可以使用 Git 属性来指定其它的比较工具。既然这些是简短的文本,你可能" "想要使用简单的查看器。" #. (para) #: ../source/TortoiseGit_en.xml:11642 #, fuzzy msgid "" "If you have configured an alternate diff tool, you can access TortoiseMerge " "and the third party tool from the context menus. " "Context menuDiff uses the primary diff tool, and Shift+ " "Context menuDiff uses the secondary diff tool." msgstr "" "在对话框的上下文菜单中你可以显示改变的差异。使用 上下文菜" "单与基础版本比较检查" "所作的本地修改。使用上下文菜单使用标准差异格式显示差异检查版" "本库中别人作的修改。" #. (title) #: ../source/TortoiseGit_en.xml:11660 msgid "Merge Tool" msgstr "合并工具" #. (para) #: ../source/TortoiseGit_en.xml:11662 msgid "" "An external merge program used to resolve conflicted files. Parameter " "substitution is used in the same way as with the Diff Program. " msgstr "" "外部合并程序被用来解决文件冲突。像差异查看程序那样,替代参数同样被用在命令行" "中。" #. (para) #: ../source/TortoiseGit_en.xml:11670 msgid "the original file without your or the others changes" msgstr "没有被你或他人更改的原始文件" #. (para) #: ../source/TortoiseGit_en.xml:11687 msgid "your own file, with your changes" msgstr "你更改过的新文件" #. (para) #: ../source/TortoiseGit_en.xml:11703 msgid "the file as it is in the repository" msgstr "档案库中存放的文件" #. (para) #: ../source/TortoiseGit_en.xml:11711 msgid "The window title for the file in the repository" msgstr "档案库中文件的窗口标题" #. (para) #: ../source/TortoiseGit_en.xml:11719 msgid "the conflicted file, the result of the merge operation" msgstr "发生冲突的文件,同时将被合并后的文件替换" #. (para) #: ../source/TortoiseGit_en.xml:11728 msgid "The window title for the merged file" msgstr "合并文件的窗口标题" #. (para) #: ../source/TortoiseGit_en.xml:11735 #, fuzzy msgid "" "For example, with Perforce Merge: \n" "C:\\Path-To\\P4Merge.exe %base %theirs %mine %merged\n" " or with KDiff3: \n" "C:\\Path-To\\kdiff3.exe %base %mine %theirs -o %merged\n" " --L1 %bname --L2 %yname --L3 %tname\n" " or with Araxis: \n" "C:\\Path-To\\compare.exe /max /wait /3 /title1:%tname /title2:%bname\n" " /title3:%yname %theirs %base %mine %merged /a2\n" " or with WinMerge (2.8 or later): \n" "C:\\Path-To\\WinMerge.exe %merged\n" "" msgstr "" "例如,使用 Perforce Merge:\n" "C:\\Path-To\\P4Merge.exe %base %theirs %mine %merged\n" " 或者使用 KDiff3:\n" "C:\\Path-To\\kdiff3.exe %base %mine %theirs -o %merged\n" " --L1 %bname --L2 %yname --L3 %tname\n" " 或者使用 Araxis:\n" "C:\\Path-To\\compare.exe /max /wait /3 /title1:%tname /title2:%bname\n" " /title3:%yname %theirs %base %mine %merged /a2\n" "" #. (title) #: ../source/TortoiseGit_en.xml:11757 msgid "Diff/Merge Advanced Settings" msgstr "差异查看/合并工具的高级设置" #. (para) #: ../source/TortoiseGit_en.xml:11759 #, fuzzy msgid "" " In the advanced settings, you can define a different diff " "and merge program for every file extension. For instance you could associate " "Photoshop as the Diff Program for .jpg " "files :-) You can also associate the svn:mime-type " "property with a diff or merge program." msgstr "" " 在高级设置中,你可以为每种文件类型都定义一个不同的差异比较/合" "并程序。例如,你可以指定Photoshop作为.jpg文件的 比较 程序 :-) " "也可以按照 svn:mime-type 属性指定差异/合并程序。" #. (title) #: ../source/TortoiseGit_en.xml:11761 msgid "The Settings Dialog, Diff/Merge Advanced Dialog" msgstr "高级差异比较设置/高级合并设置的对话框" #. (para) #: ../source/TortoiseGit_en.xml:11770 msgid "" "To associate using a file extension, you need to specify the extension. Use " ".bmp to describe Windows bitmap files. To associate using " "the svn:mime-type property, specify the mime type, " "including a slash, for example text/xml." msgstr "" "为了使用文件扩展,你需要指定扩展。使用 .BMP 来描述 Windows " "位图文件。如果使用svn:mime-type属性,要指定多媒体文件类型," "包含斜线,例如text/xml。" #. (title) #: ../source/TortoiseGit_en.xml:11779 msgid "Unified Diff Viewer" msgstr "统一的差异查看器" #. (para) #: ../source/TortoiseGit_en.xml:11781 msgid "" "A viewer program for unified-diff files (patch files). No parameters are " "required. The Default option is to check for a file " "association for .diff files, and then for ." "txt files. If you don't have a viewer for .diff files, you will most likely get NotePad." msgstr "" "一个统一差异文件(补丁文件)的查看程序。不需要任何参数。默认 选项遵循先检查 .diff 文件,再检查 ." "txt 文件的顺序。如果你没有 .diff 文件的查看" "器,就需要用记事本来查看了。" #. (para) #: ../source/TortoiseGit_en.xml:11790 msgid "" "The original Windows NotePad program does not behave well on files which do " "not have standard CR-LF line-endings. Since most unified diff files have pure " "LF line-endings, they do not view well in NotePad. However, you can download " "a free NotePad replacement Notepad2 which not only displays the " "line-endings correctly, but also colour codes the added and removed lines." msgstr "" "原始Windows记事本程序对未使用标准“回车-换行”结束符的文件支持的并不好。而很多统" "一差异文件都仅仅使用“换行”结束符,因此他们的格式在记事本中显示的并不好。无论如" "何,你可以下载一个免费的记事本2 Notepad2,它不但可以正确地显示" "结束符,更可以为差异文件中添加和删除的那些行做颜色标记。" #. (title) #: ../source/TortoiseGit_en.xml:11806 msgid "Saved Data Settings" msgstr "已保存数据的设置" #. (para) #: ../source/TortoiseGit_en.xml:11807 msgid "" " For your convenience, TortoiseGit saves many of the settings " "you use, and remembers where you have been lately. If you want to clear out " "that cache of data, you can do it here." msgstr "" " 为您方便着想,TortoiseGit保存了很多你用过的设置,并记录你最近" "浏览过的地址。如果你想清空这些数据缓存,就在这里操作。" #. (title) #: ../source/TortoiseGit_en.xml:11809 msgid "The Settings Dialog, Saved Data Page" msgstr "设置对话框,已保存数据设置页面" #. (term) #: ../source/TortoiseGit_en.xml:11818 msgid "URL history" msgstr "URL历史记录" #. (para) #: ../source/TortoiseGit_en.xml:11820 msgid "" "Whenever you checkout a working copy, merge changes or use the repository " "browser, TortoiseGit keeps a record of recently used URLs and offers them in " "a combo box. Sometimes that list gets cluttered with outdated URLs so it is " "useful to flush it out periodically." msgstr "" "每次你检出一个工作副本,合并那些更改的文件,或仅仅是在使用版本库浏览器时," "TortoiseGit都将保存一个记录,记录那些最近使用过的URL,并在一个下拉列表框中显示" "出来。有时列表会被逐渐增多的过期URL弄得乱糟糟的,所以有定期清理一下的必要。" #. (para) #: ../source/TortoiseGit_en.xml:11827 #, fuzzy msgid "" "If you want to remove a single item from one of the combo boxes you can do " "that in-place. Just click on the arrow to drop the combo box down, move the " "mouse over the item you want to remove and type Shift+Del." msgstr "" "如果你希望从列表中删除单独的条目,可以点击下拉列表,移动鼠标到你要删除的项上," "然后按组合键SHIFT+DELETE。" #. (term) #: ../source/TortoiseGit_en.xml:11836 msgid "Log messages (Input dialog)" msgstr "日志信息(输入对话框)" #. (para) #: ../source/TortoiseGit_en.xml:11838 msgid "" "TortoiseGit stores recent commit log messages that you enter. These are " "stored per repository, so if you access many repositories this list can grow " "quite large." msgstr "" "TortoiseGit同时也储存你最近提交时填写的日志信息。对应每个版本库都要储存这些信" "息,所以如果你访问过很多版本库,这个列表将变得非常大。" #. (term) #: ../source/TortoiseGit_en.xml:11846 msgid "Log messages (Show log dialog)" msgstr "日志信息(显示日志对话框)" #. (para) #: ../source/TortoiseGit_en.xml:11848 msgid "" "TortoiseGit caches log messages fetched by the Show Log dialog to save time " "when you next show the log. If someone else edits a log message and you " "already have that message cached, you will not see the change until you clear " "the cache. Log message caching is enabled on the Log Cache tab." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:11859 msgid "Dialog sizes and positions" msgstr "窗口大小及位置" #. (para) #: ../source/TortoiseGit_en.xml:11861 msgid "Many dialogs remember the size and screen position that you last used." msgstr "许多对话框都可以记录你最后一次使用时的窗口大小和位置。" #. (term) #: ../source/TortoiseGit_en.xml:11868 msgid "Authentication data" msgstr "认证数据" #. (para) #: ../source/TortoiseGit_en.xml:11870 msgid "" "When you authenticate with a Git server, the username and password are " "cached locally so you don't have to keep entering them. You may want to clear " "this for security reasons, or because you want to access the repository under " "a different username ... does John know you are using his PC?" msgstr "" "当你在登陆某个Git服务器,填写认证信息时,用户名和密码也可以被保存在本" "地,你也就不用每次都输入了。但考虑到一些安全因素,你可能会有清除这些认证信息的" "愿望,或者你仅仅是想换个不同的用户名登陆...John知道你正在用他的机器么?(规范点" "儿,用你自己的用户名登陆版本库吧,伙计 *by Jax)" #. (para) #: ../source/TortoiseGit_en.xml:11877 #, fuzzy msgid "" "If you want to clear authentication data for one particular server only, read " " for instructions on how to find the " "cached data." msgstr "" "如果你仅想清除某个特定版本库的认证数据,读一下 有关怎样寻找缓存数据的说明。" #. (term) #: ../source/TortoiseGit_en.xml:11885 msgid "Action log" msgstr "动作日志" #. (para) #: ../source/TortoiseGit_en.xml:11887 msgid "" "TortoiseGit keeps a log of everything written to its progress dialogs. This " "can be useful when, for example, you want to check what happened in a recent " "update command." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:11892 msgid "" "The log file is limited in length and when it grows too big the oldest " "content is discarded. By default 4000 lines are kept, but you can customize " "that number." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:11897 msgid "From here you can view the log file content, and also clear it." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:11906 msgid "Log Caching" msgstr "日志缓存" #. (primary) #: ../source/TortoiseGit_en.xml:11908 msgid "log cache" msgstr "日志缓存" #. (para) #: ../source/TortoiseGit_en.xml:11910 msgid "" " This dialog allows you to configure the log caching feature " "of TortoiseGit, which retains a local copy of log messages and changed paths " "to avoid time-consuming downloads from the server. Using the log cache can " "dramatically speed up the log dialog and the revision graph. Another useful " "feature is that the log messages can still be accessed when offline." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:11912 msgid "The Settings Dialog, Log Cache Page" msgstr "设置对话框,日志缓存页面" #. (term) #: ../source/TortoiseGit_en.xml:11925 msgid "Enable log caching" msgstr "启用日志缓存" #. (para) #: ../source/TortoiseGit_en.xml:11927 msgid "" "Enables log caching whenever log data is requested. If checked, data will be " "retrieved from the cache when available, and any messages not in the cache " "will be retrieved from the server and added to the cache." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:11933 msgid "" "If caching is disabled, data will always be retrieved directly from the " "server and not stored locally." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:11940 msgid "If the repository cannot be contacted" msgstr "如果不能连接版本库" #. (para) #: ../source/TortoiseGit_en.xml:11942 msgid "" "If you are working offline, or if the repository server is down, the log " "cache can still be used to supply log messages already held in the cache. Of " "course the cache may not be up-to-date, so there are options to allow you to " "select whether this feature should be used." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:11949 msgid "" "When log data is being taken from the cache without contacting the server, " "the dialog using those message will show the offline state in its title bar." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:11957 msgid "Timeout before updating the HEAD revision" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:11959 msgid "" "When you invoke the log dialog you will normally want to contact the server " "to check for any newer log messages. If the timeout set here is non-zero then " "the server will only be contacted when the timeout has elapsed since the last " "time contact. This can reduce server round-trips if you open the log dialog " "frequently and the server is slow, but the data shown may not be completely " "up-to-date. If you want to use this feature we suggest using a value of 300 " "(5 minutes) as a compromise." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:11974 msgid "" "Below the settings you can see a list of the repositories that are cached " "locally, and the space used for the cache. If you select one of the " "repositories you can then use the buttons underneath." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:11981 msgid "Log Cache Statistics" msgstr "日志缓存统计" #. (para) #: ../source/TortoiseGit_en.xml:11982 msgid "" " Click on the Details button to see " "detailed statistics for a particular cache. Many of the fields shown here are " "mainly of interest to the developers of TortoiseGit, so they are not all " "described in detail. " msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:11984 msgid "The Settings Dialog, Log Cache Statistics" msgstr "设置对话框,日志缓存统计" #. (term) #: ../source/TortoiseGit_en.xml:11993 msgid "RAM" msgstr "RAM" #. (para) #: ../source/TortoiseGit_en.xml:11995 msgid "The amount of memory required to service this cache." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:12001 msgid "Disk" msgstr "磁盘" #. (para) #: ../source/TortoiseGit_en.xml:12003 msgid "" "The amount of disk space used for the cache. Data is compressed, so disk " "usage is generally fairly modest." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:12010 msgid "Connection" msgstr "连接" #. (para) #: ../source/TortoiseGit_en.xml:12012 msgid "Shows whether the repository was available last time the cache was used." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:12019 msgid "Last update" msgstr "最近更新" #. (para) #: ../source/TortoiseGit_en.xml:12021 #, fuzzy msgid "The last time the cache content was changed." msgstr "服务器的IP地址已更改。" #. (term) #: ../source/TortoiseGit_en.xml:12027 msgid "Last head update" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:12029 msgid "The last time we requested the HEAD revision from the server." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:12036 msgid "Authors" msgstr "作者" #. (para) #: ../source/TortoiseGit_en.xml:12038 msgid "The number of different authors with messages recorded in the cache." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:12045 msgid "Paths" msgstr "路径" #. (para) #: ../source/TortoiseGit_en.xml:12047 msgid "" "The number of paths listed, as you would see using svn log -v." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:12054 msgid "Skip ranges" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:12056 msgid "" "The number of revision ranges which we have not fetched, simply because they " "haven't been requested. This is a measure of the number of holes in the cache." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:12064 msgid "Max revision" msgstr "最大版本号" #. (para) #: ../source/TortoiseGit_en.xml:12066 msgid "The highest revision number stored in the cache." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:12072 msgid "Revision count" msgstr "版本计数" #. (para) #: ../source/TortoiseGit_en.xml:12074 msgid "" "The number of revisions stored in the cache. This is another measure of cache " "completeness." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:12083 msgid "" "Click on the Update to completely refresh the cache " "and fill in any holes. For a large repository this could be very time " "consuming, but useful if you are about to go offline and want the best " "available cache." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:12089 msgid "" "Click on the Export button to export the entire cache " "as a set of CSV files. This could be useful if you want to process the log " "data using an external program, although it is mainly useful to the " "developers." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:12095 msgid "" "Click on Delete to remove all cached data for the " "selected repositories. This does not disable caching for the repository so " "the next time you request log data, a new cache will be created." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:12102 msgid "Client Side Hook Scripts" msgstr "客户端钩子脚本" #. (primary) #: ../source/TortoiseGit_en.xml:12106 msgid "client hooks" msgstr "客户端钩子" #. (para) #: ../source/TortoiseGit_en.xml:12111 msgid "" " This dialog allows you to set up hook scripts which will be " "executed automatically when certain Git actions are performed. As " "opposed to the hook scripts explained in , these scripts are executed locally on the client." msgstr "" " 这个对话框允许你指定当特定 Git 动作执行时,自动执行的" "钩子脚本。与 中说明的钩子脚本相反," "这些脚本在客户端本地执行。" #. (title) #: ../source/TortoiseGit_en.xml:12113 msgid "The Settings Dialog, Hook Scripts Page" msgstr "设置对话框,钩子脚本页" #. (para) #: ../source/TortoiseGit_en.xml:12121 msgid "" "One application for such hooks might be to call a program like " "SubWCRev.exe to update version numbers after a commit, and " "perhaps to trigger a rebuild." msgstr "" "应用程序,例如钩子,可能调用如SubWCRev.exe这样的程序,来更" "新提交后的版本号,可能还会出发重新构建。" #. (para) #: ../source/TortoiseGit_en.xml:12126 msgid "" "For various security and implementation reasons, hook scripts are defined " "locally on a machine, rather than as project properties. You define what " "happens, no matter what someone else commits to the repository. Of course you " "can always choose to call a script which is itself under version control." msgstr "" "由于各种安全理由和实现问题,钩子脚本在本地机器定义,而不是象工程属性那样。不管" "是谁提交,都可以定义它做什么事情。当然,你也可以选择调用一个受版本控制的脚本。" #. (para) #: ../source/TortoiseGit_en.xml:12132 msgid "" " To add a new hook script, simply click Add and fill in the details." msgstr "" " 要增加钩子脚本,直接点击 增加 ,然后输" "入脚本即可。" #. (title) #: ../source/TortoiseGit_en.xml:12134 msgid "The Settings Dialog, Configure Hook Scripts" msgstr "设置对话框,配置钩子脚本页面" #. (para) #: ../source/TortoiseGit_en.xml:12140 msgid "There are currently six types of hook script available " msgstr "现在有六种钩子脚本类型可用 " #. (term) #. (term) #: ../source/TortoiseGit_en.xml:12144 ../source/TortoiseGit_en.xml:12214 msgid "Start-commit" msgstr "开始提交" #. (para) #: ../source/TortoiseGit_en.xml:12146 #, fuzzy msgid "" "Called before the commit dialog is shown. You might want to use this if the " "hook modifies a versioned file and affects the list of files that need to be " "committed and/or commit message." msgstr "" "在提交对话框之前调用。当钩子修改受版本控制的文件,影响了提交的文件列表的时候适" "用。" #. (term) #. (term) #: ../source/TortoiseGit_en.xml:12155 ../source/TortoiseGit_en.xml:12218 msgid "Pre-commit" msgstr "提交之前" #. (para) #: ../source/TortoiseGit_en.xml:12157 msgid "" "Called after the user clicks OK in the commit dialog, " "and before the actual commit begins." msgstr "在提交对话框点击确认之后,实际提交之前调用。" #. (term) #. (term) #: ../source/TortoiseGit_en.xml:12164 ../source/TortoiseGit_en.xml:12222 msgid "Post-commit" msgstr "提交之后" #. (para) #: ../source/TortoiseGit_en.xml:12166 msgid "Called after the commit finishes (whether successful or not)." msgstr "在提交结束后调用(无论成功或失败)" #. (term) #. (term) #: ../source/TortoiseGit_en.xml:12172 ../source/TortoiseGit_en.xml:12226 msgid "Start-update" msgstr "开始更新" #. (para) #: ../source/TortoiseGit_en.xml:12174 msgid "Called before the update-to-revision dialog is shown." msgstr "在更新到版本对话框显示之前调用" #. (term) #. (term) #: ../source/TortoiseGit_en.xml:12180 ../source/TortoiseGit_en.xml:12230 msgid "Pre-update" msgstr "更新之前" #. (para) #: ../source/TortoiseGit_en.xml:12182 msgid "Called before the actual Git update begins." msgstr "在 Git 更新实际开始之前调用" #. (term) #. (term) #: ../source/TortoiseGit_en.xml:12188 ../source/TortoiseGit_en.xml:12234 msgid "Post-update" msgstr "更新之后" #. (para) #: ../source/TortoiseGit_en.xml:12190 msgid "Called after the update finishes (whether successful or not)." msgstr "在更新之后调用(无论成功或失败)" #. (para) #: ../source/TortoiseGit_en.xml:12197 msgid "" "A hook is defined for a particular working copy path. You only need to " "specify the top level path; if you perform an operation in a sub-folder, " "TortoiseGit will automatically search upwards for a matching path." msgstr "" "为特定工作目录定义的钩子。你只要指定顶级路径;如果在子目录内执行提交," "TortoiseGit 会自动向上搜索匹配路径。" #. (para) #: ../source/TortoiseGit_en.xml:12202 msgid "" "Next you must specify the command line to execute, starting with the path to " "the hook script or executable. This could be a batch file, an executable file " "or any other file which has a valid windows file association, eg. a perl " "script." msgstr "" "然后你要指定要执行的命令行,以钩子脚本或可执行文件的路径开始。它可以是批处理文" "件,可执行文件,或者有效的windows关联的其它文件类型,例如perl文件。" #. (para) #: ../source/TortoiseGit_en.xml:12208 #, fuzzy msgid "" "The command line includes several parameters which get filled in by " "TortoiseGit. The parameters passed depend upon which hook is called. Each " "hook has its own parameters which are passed in the following order: " "" msgstr "" "命令行可以包含被TortoiseGit填写的几个参数。这些参数依赖于调用了什么脚本。" "" #. (para) #: ../source/TortoiseGit_en.xml:12239 #, fuzzy msgid "" "The meaning of each of these parameters is described here: " msgstr "每个变量的含义如下: " #. (para) #: ../source/TortoiseGit_en.xml:12245 msgid "" "A path to a temporary file which contains all the paths for which the " "operation was started. Each path is on a separate line in the temp file." msgstr "" "指向临时文件的路径,此文件包含了操作开始时的所有路径。在临时文件中,每个路径占" "一行。" #. (para) #: ../source/TortoiseGit_en.xml:12255 msgid "The depth with which the commit/update is done." msgstr "提交/更新的深度。" #. (para) #: ../source/TortoiseGit_en.xml:12258 msgid "Possible values are: " msgstr "可能的取值是:" #. (literal) #: ../source/TortoiseGit_en.xml:12265 msgid "svn_depth_unknown" msgstr "svn_depth_unknown" #. (literal) #: ../source/TortoiseGit_en.xml:12273 msgid "svn_depth_exclude" msgstr "svn_depth_exclude" #. (literal) #: ../source/TortoiseGit_en.xml:12281 msgid "svn_depth_empty" msgstr "svn_depth_empty" #. (literal) #: ../source/TortoiseGit_en.xml:12289 msgid "svn_depth_files" msgstr "svn_depth_files" #. (literal) #: ../source/TortoiseGit_en.xml:12297 msgid "svn_depth_immediates" msgstr "svn_depth_immediates" #. (literal) #: ../source/TortoiseGit_en.xml:12305 msgid "svn_depth_infinity" msgstr "svn_depth_infinity" #. (para) #: ../source/TortoiseGit_en.xml:12316 #, fuzzy msgid "" "Path to a file containing the log message for the commit. The file contains " "the text in UTF-8 encoding. After successful execution of the start-commit " "hook, the log message is read back, giving the hook a chance to modify it." msgstr "指向包含提交日志文件的路径。此文件使用 UTF8 编码。" #. (para) #: ../source/TortoiseGit_en.xml:12328 msgid "" "The repository revision to which the update should be done or after a commit " "completes." msgstr "更新或提交完成后的版本库的版本" #. (para) #: ../source/TortoiseGit_en.xml:12337 msgid "" "Path to a file containing the error message. If there was no error, the file " "will be empty." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:12346 msgid "" "The current working directory with which the script is run. This is set to " "the common root directory of all affected paths." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:12354 msgid "" "Note that although we have given these parameters names for convenience, you " "do not have to refer to those names in the hook settings. All parameters " "listed for a particular hook are always passed, whether you want them or " "not ;-)" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:12360 msgid "" "If you want the Git operation to hold off until the hook has " "completed, check Wait for the script to finish." msgstr "" "如果你想Git 操作直到钩子完成才结束,就选择等待脚本结束。" #. (para) #: ../source/TortoiseGit_en.xml:12364 #, fuzzy msgid "" "Normally you will want to hide ugly DOS boxes when the script runs, so " "Hide the script while running is checked by default." msgstr "" "通常脚本运行时,你会想隐藏丑陋的控制台窗口,所以默认选择运行时隐藏脚" "本。为了调试,你可能想观察控制台窗口的输出。" #. (para) #: ../source/TortoiseGit_en.xml:12368 msgid "" "Sample client hook scripts can be found in the contrib " "folder in the TortoiseGit repository. ( explains how to access the " "repository)." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:12376 msgid "Issue Tracker Integration" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:12379 msgid "" "TortoiseGit can use a COM plugin to query issue trackers when in the commit " "dialog. The use of such plugins is described in . If your system administrator has provided you with a " "plugin, which you have already installed and registered, this is the place to " "specify how it integrates with your working copy." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:12387 msgid "" " Click on Add... to use the plugin " "with a particular working copy. Here you can specify the working copy path, " "choose which plugin to use from a drop down list of all registered issue " "tracker plugins, and any parameters to pass. The parameters will be specific " "to the plugin, but might include your user name on the issue tracker so that " "the plugin can query for issues which are assigned to you." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:12389 #, fuzzy msgid "The Settings Dialog, Issue Tracker Integration Page" msgstr "设置对话框,常规设置页面" #. (para) #: ../source/TortoiseGit_en.xml:12400 msgid "" "If you want all users to use the same COM plugin for your project, you can " "specify the plugin also with the properties bugtraq:provideruuid and bugtraq:providerparams. " "Please check the documentation of your IBugTraqProvider plugin to find out " "what to specify in these two properties." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:12409 msgid "" "This property specifies the COM UUID of the IBugTraqProvider, for example " "{91974081-2DC7-4FB1-B3BE-0DE1C8D6CE4E}." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:12418 msgid "This property specifies the parameters passed to the IBugTraqProvider." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:12431 msgid "TortoiseBlame Settings" msgstr "TortoiseBlame 的设置" #. (para) #: ../source/TortoiseGit_en.xml:12432 msgid "" " The settings used by TortoiseBlame are controlled from the " "main context menu, not directly with TortoiseBlame itself." msgstr "" " TortoiseBlame 使用的配置被主上下文菜单控制,不是被 " "TortoiseBlame 自己直接控制。" #. (title) #: ../source/TortoiseGit_en.xml:12434 msgid "The Settings Dialog, TortoiseBlame Page" msgstr "设置对话框,TortoiseBlame 页面" #. (term) #: ../source/TortoiseGit_en.xml:12442 msgid "Colors" msgstr "颜色" #. (para) #: ../source/TortoiseGit_en.xml:12444 msgid "" "TortoiseBlame can use the background colour to indicate the age of lines in a " "file. You set the endpoints by specifying the colours for the newest and " "oldest revisions, and TortoiseBlame uses a linear interpolation between these " "colours according to the repository revision indicated for each line." msgstr "" "TortoiseBlame 可以使用背景色指示文件中行的年龄。你设置最新和最旧版本的颜色后," "TortoiseBlame 使用线性插补算法根据每行的版本设置其颜色。" #. (term) #: ../source/TortoiseGit_en.xml:12454 msgid "Font" msgstr "字体" #. (para) #: ../source/TortoiseGit_en.xml:12456 msgid "" "You can select the font used to display the text, and the point size to use. " "This applies both to the file content, and to the author and revision " "information shown in the left pane." msgstr "" "你可以选择显示文本的字体和大小。它同时对文件内容,在左窗格显示的作者和版本信息" "等生效。" #. (term) #: ../source/TortoiseGit_en.xml:12464 msgid "Tabs" msgstr "制表" #. (para) #: ../source/TortoiseGit_en.xml:12466 msgid "" "Defines how many spaces to use for expansion when a tab character is found in " "the file content." msgstr "定义在文件中出现的制表字符用多少空格扩展。" #. (title) #: ../source/TortoiseGit_en.xml:12475 msgid "Registry Settings" msgstr "注册表设置" #. (primary) #: ../source/TortoiseGit_en.xml:12477 msgid "registry" msgstr "注册表" #. (para) #: ../source/TortoiseGit_en.xml:12479 msgid "" "A few infrequently used settings are available only by editing the registry " "directly." msgstr "一些极不常用的设置只有通过直接修改注册表的方式才能生效。" #. (para) #: ../source/TortoiseGit_en.xml:12487 msgid "" "You can specify a different location for the Git configuration file " "using registry location HKCU\\Software\\TortoiseGit\\ConfigDir. This will affect all TortoiseGit operations." msgstr "" "通过编辑注册表 HKCU\\Software\\TortoiseGit\\ConfigDir,你可" "以为Git的配置文件指定一个不同位置。这将影响到TSVN的所有操作。" #. (term) #: ../source/TortoiseGit_en.xml:12496 msgid "Cache tray icon" msgstr "缓存托盘图标" #. (para) #: ../source/TortoiseGit_en.xml:12498 msgid "" "To add a cache tray icon for the TSVNCache program, create a DWORD key with a value of 1 at HKCU\\Software\\TortoiseGit" "\\CacheTrayIcon. This is really only useful for developers as it " "allows you to terminate the program gracefully." msgstr "" "要为TSVNCache程序添加一个缓存托盘图标,先在 HKCU\\Software" "\\TortoiseGit\\CacheTrayIcon 的位置,创建一个 DWORD 值,取值为1。这确实只对开发者才有点用处,因为它允许你来优雅地关闭" "TSVNCache,而不是在进程列表里kill掉它。(托盘图标可以显示当前已缓存了的文件夹数" "目 *by Jax)" #. (term) #: ../source/TortoiseGit_en.xml:12508 msgid "Filenames without extensions in auto-completion list" msgstr "在自动完成列表的文件名称没有扩展名" #. (para) #: ../source/TortoiseGit_en.xml:12510 msgid "" "The auto-completion list shown in the commit message editor displays the " "names of files listed for commit. To also include these names with extensions " "removed, create a DWORD key with a value of 1 at " "HKCU\\Software\\TortoiseGit\\AutocompleteRemovesExtensions." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:12520 #, fuzzy msgid "Explorer columns everywhere" msgstr "资源管理器的列" #. (para) #: ../source/TortoiseGit_en.xml:12522 msgid "" "The extra columns the TortoiseGit adds to the details view in Windows " "Explorer are normally only active in a working copy. If you want those to be " "accessible everywhere, not just in working copies, create a DWORD key with a value of 1 at HKCU\\Software\\TortoiseGit" "\\ColumnsEveryWhere." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:12533 msgid "Merge log separator" msgstr "合并日志分隔符" #. (para) #: ../source/TortoiseGit_en.xml:12535 msgid "" "When you merge revisions from another branch, and merge tracking information " "is available, the log messages from the revisions you merge will be collected " "to make up a commit log message. A pre-defined string is used to separate the " "individual log messages of the merged revisions. If you prefer, you can " "create a SZ key at HKCU\\Software\\TortoiseGit" "\\MergeLogSeparator containing a separator string of your choice." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:12548 msgid "Always blame changes with TortoiseMerge" msgstr "始终用 TortoiseMerge 追溯改变" #. (para) #: ../source/TortoiseGit_en.xml:12550 msgid "" "TortoiseGit allows you to assign external diff viewer. Most such viewers, " "however, are not suited for change blaming (), so you might wish to fall back to TortoiseMerge in this case. To " "do so, create a DWORD key with a value of 1 at " "HKCU\\Software\\TortoiseGit\\DiffBlamesWithTortoiseMerge." msgstr "" #. (term) #: ../source/TortoiseGit_en.xml:12561 msgid "Current revision highlighting for folders in log dialog" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:12563 msgid "" "The log dialog highlights the current working copy revision when the log is " "shown for a file. To do the same thing for a folder requires a working copy " "crawl, which can be a slow operation for large working copies. If you want to " "enable this feature you must create a DWORD registry key " "with value 1 at HKCU\\Software\\TortoiseGit\\RecursiveLogRev." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:12577 msgid "Git Working Folders" msgstr "Git 的工作文件夹" #. (primary) #: ../source/TortoiseGit_en.xml:12579 msgid ".svn folder" msgstr "名为 .svn 的文件夹" #. (primary) #: ../source/TortoiseGit_en.xml:12582 msgid "_svn folder" msgstr "名为 _svn 的文件夹" #. (para) #: ../source/TortoiseGit_en.xml:12584 #, fuzzy msgid "" "VS.NET 2003 when used with web projects can't handle the .svn folders that Git uses to store its internal information. This " "is not a bug in Git. The bug is in VS.NET 2003 and the frontpage " "extensions it uses." msgstr "" "在使用VS.NET环境做web工程时,遇到.svn文件夹会出问题,但Git是要用这些文" "件夹来储存自己的内部信息的。这可不是Git的bug,这bug是VS.NET和它使用的" "frontpage扩展带来的。" #. (para) #: ../source/TortoiseGit_en.xml:12591 msgid "Note that the bug is fixed in VS2005 and later versions." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:12595 #, fuzzy msgid "" "As of Version 1.3.0 of Git and TortoiseGit, you can set the " "environment variable SVN_ASP_DOT_NET_HACK. If that " "variable is set, then Git will use _svn folders " "instead of .svn folders. You must restart your shell for " "that environment variable to take effect. Normally that means rebooting your " "PC. To make this easier, you can now do this from the general settings page " "using a simple checkbox - refer to ." msgstr "" "在Git 1.3.0和TSVN 1.3.0里,你可以设置环境变量 " "SVN_ASP_DOT_NET_HACK,来通知Git用 _svn 文件夹替代 .svn 文件夹。你必须重启你系统的外壳程序" "来使环境变量生效,一般意味着你要重启PC。在1.4.0里这项替代工作就变得非常简单," "你只需从常规设置页面选择一个单选框: 使用“_svn”目录替代“.svn”目录。——参考 " "" #. (para) #: ../source/TortoiseGit_en.xml:12605 #, fuzzy msgid "" "For more information, and other ways to avoid this problem in the first " "place, check out the article about this in our FAQ." msgstr "" "若想获得更多信息,了解避免该问题的其他方法,请读读我们 FAQ 里的文" "章。" #. (title) #: ../source/TortoiseGit_en.xml:12615 msgid "Final Step" msgstr "最后步骤" #. (title) #: ../source/TortoiseGit_en.xml:12621 msgid "Donate!" msgstr "捐赠!" #. (para) #: ../source/TortoiseGit_en.xml:12622 msgid "" "Even though TortoiseGit and TortoiseMerge are free, you can support the " "developers by sending in patches and play an active role in the development. " "You can also help to cheer us up during the endless hours we spend in front " "of our computers." msgstr "" "尽管TSVN和TortoiseMerge是免费的,你也可以通过提交补丁和在项目开发中扮演一些积" "极角色,来支持我们的开发人员。你同样也可以给点鼓励,它们会让每天在计算机前没日" "没夜拼命工作的我们感到非常的振奋。" #. (para) #: ../source/TortoiseGit_en.xml:12628 #, fuzzy msgid "" "While working on TortoiseGit we love to listen to music. And since we spend " "many hours on the project we need a lot of music. " "Therefore we have set up some wish-lists with our favourite music CDs and " "DVDs: http://TortoiseGit.tigris.org/donate.html " "Please also have a look at the list of people who contributed to the project " "by sending in patches or translations." msgstr "" "我们很爱在做TSVN开发工作时听听音乐。也因为花了不少时候忙这个项目,我们就需要 " "非常多 的音乐。因此我们写了一些愿望表,把我们喜欢的音乐CD" "和DVD列在 http://TortoiseGit.tigris.org/donate.html。" "同时也请关注一下那些为项目提交补丁和翻译的贡献者们的愿望: )" #. (title) #: ../source/TortoiseGit_en.xml:12642 msgid "The SubWCRev Program" msgstr "SubWCRev 程序" #. (primary) #: ../source/TortoiseGit_en.xml:12644 msgid "version extraction" msgstr "版本抽取" #. (primary) #: ../source/TortoiseGit_en.xml:12647 msgid "SubWCRev" msgstr "SubWCRev" #. (primary) #: ../source/TortoiseGit_en.xml:12650 msgid "COM" msgstr "COM" #. (primary) #: ../source/TortoiseGit_en.xml:12653 #, fuzzy msgid "version number in files" msgstr "Git配置文件" #. (para) #: ../source/TortoiseGit_en.xml:12656 msgid "" "SubWCRev is Windows console program which can be used to read the status of a " "Git working copy and optionally perform keyword substitution in a " "template file. This is often used as part of the build process as a means of " "incorporating working copy information into the object you are building. " "Typically it might be used to include the revision number in an About box." msgstr "" "SubWCRev是Windows的命令行工具,可以阅读Git工作副本的状态,可以在模版中" "随意执行关键字替换。这通常是构建过程的一部分,将工作副本信息结合到创建的对象当" "中。通常情况下,可能是用来将修订版本号存入关于窗口。" #. (title) #: ../source/TortoiseGit_en.xml:12670 msgid "The SubWCRev Command Line" msgstr "SubWCRev 命令行" #. (para) #: ../source/TortoiseGit_en.xml:12671 msgid "" "SubWCRev reads the Git status of all files in a working copy, " "excluding externals by default. It records the highest commit revision number " "found, and the commit timestamp of that revision, It also records whether " "there are local modifications in the working copy, or mixed update revisions. " "The revision number, update revision range and modification status are " "displayed on stdout." msgstr "" "SubWCRev阅读工作副本中所有文件的状态,缺省会忽略外部引用。它记录找到的最高修订" "版本号,以及那个修订版本的提交时间戳,它也会记录在本地工作副本是否有修改,或混" "合的修订版本。修订版本号码,更新修订版本范围和修改状态会显示在标准输出。" #. (para) #: ../source/TortoiseGit_en.xml:12679 msgid "" "SubWCRev.exe is called from the command line or a script, and is controlled " "using the command line parameters. \n" "SubWCRev WorkingCopyPath [SrcVersionFile DstVersionFile] [-nmdfe]\n" "" msgstr "" "SubWCRev.exe从命令行或脚本中运行,使用命令行参数控制。\n" "SubWCRev WorkingCopyPath [SrcVersionFile DstVersionFile] [-nmdfe]\n" "" #. (para) #: ../source/TortoiseGit_en.xml:12686 msgid "" "WorkingCopyPath is the path to the working copy being " "checked. You can only use SubWCRev on working copies, not directly on the " "repository. The path may be absolute or relative to the current working " "directory." msgstr "" "WorkingCopyPath是要检查的工作副本路径,你可以只对工作副本使" "用SubWCRev,而不是直接对版本库,这个路径可以是绝对路径,也可以是工作目录的相对" "路径。" #. (para) #: ../source/TortoiseGit_en.xml:12692 msgid "" "If you want SubWCRev to perform keyword substitution, so that fields like " "repository revision and URL are saved to a text file, you need to supply a " "template file SrcVersionFile and an output file " "DstVersionFile which contains the substituted version of " "the template." msgstr "" "如果你想让SubWCRev执行关键字替换,象版本库版本,地址等字段保存到文本文件,就需" "要提供一个模版文件SrcVersionFile,输出文件" "DstVersionFile就是模版替换之后的版本。" #. (para) #: ../source/TortoiseGit_en.xml:12701 msgid "" "There are a number of optional switches which affect the way SubWCRev works. " "If you use more than one, they must be specified as a single group, eg. " "-nm, not -n -m. " msgstr "" "有几个开关影响 SubWCRev工作。如果使用多个,必须用单个组指定,例如要用" "-nm,不能用-n -m" #. (title) #. (title) #: ../source/TortoiseGit_en.xml:12708 ../source/TortoiseGit_en.xml:12793 msgid "List of available command line switches" msgstr "列出可用的命令行开关" #. (entry) #. (entry) #. (title) #. (glossterm) #: ../source/TortoiseGit_en.xml:12714 ../source/TortoiseGit_en.xml:14002 #: ../source/TortoiseGit_en.xml:15097 ../source/TortoiseGit_en.xml:16111 msgid "Switch" msgstr "切换" #. (entry) #. (entry) #. (entry) #. (entry) #. (entry) #: ../source/TortoiseGit_en.xml:12715 ../source/TortoiseGit_en.xml:12800 #: ../source/TortoiseGit_en.xml:13008 ../source/TortoiseGit_en.xml:14258 #: ../source/TortoiseGit_en.xml:14667 msgid "Description" msgstr "描述" #. (entry) #: ../source/TortoiseGit_en.xml:12721 #, fuzzy msgid "" "If this switch is given, SubWCRev will exit with if the " "working copy contains local modifications. This may be used to prevent " "building with uncommitted changes present." msgstr "" "如果给出这个开关,当工作副本包含本地修改时,SubWCRev 就会以ERRORLEVEL 7退出。" "它可以用来在有未提交的修改时阻止构建。" #. (literal) #: ../source/TortoiseGit_en.xml:12723 msgid "ERRORLEVEL 7" msgstr "ERRORLEVEL 7" #. (entry) #: ../source/TortoiseGit_en.xml:12730 #, fuzzy msgid "" "If this switch is given, SubWCRev will exit with if the " "working copy contains mixed revisions. This may be used to prevent building " "with a partially updated working copy." msgstr "" "如果给出这个开关,当工作副本包含混合版本时,SubWCRev 就会以ERRORLEVEL 8退出。" "它可以用来在部分更新本地目录时阻止构建。" #. (literal) #: ../source/TortoiseGit_en.xml:12732 msgid "ERRORLEVEL 8" msgstr "ERRORLEVEL 8" #. (entry) #: ../source/TortoiseGit_en.xml:12739 #, fuzzy msgid "" "If this switch is given, SubWCRev will exit with if the " "destination file already exists." msgstr "如果给出这个开关,当目的文件存在时时,SubWCRev 就会以ERRORLEVEL 9退出。" #. (literal) #: ../source/TortoiseGit_en.xml:12741 msgid "ERRORLEVEL 9" msgstr "ERRORLEVEL 9" #. (entry) #: ../source/TortoiseGit_en.xml:12747 msgid "" "If this switch is given, SubWCRev will include the last-changed revision of " "folders. The default behaviour is to use only files when getting the revision " "numbers." msgstr "" "如果给出这个开关,SubWCRev 就会包含文件夹的最后修改版本。默认行为是取得版本号" "时只考虑文件。" #. (entry) #: ../source/TortoiseGit_en.xml:12756 #, fuzzy msgid "" "If this switch is given, SubWCRev will examine directories which are included " "with , but only if they are from the same repository. The " "default behaviour is to ignore externals." msgstr "" "如果给出这个开关,SubWCRev 就会检查包含svn:externals的目录,但是只限于在同一版" "本库。默认行为是忽略外部引用。" #. (literal) #: ../source/TortoiseGit_en.xml:12759 msgid "svn:externals" msgstr "svn:externals" #. (entry) #: ../source/TortoiseGit_en.xml:12766 #, fuzzy msgid "" "If this switch is given, SubWCRev will output the revision numbers in HEX." msgstr "如果给出这个开关,当目的文件存在时时,SubWCRev 就会以ERRORLEVEL 9退出。" #. (entry) #: ../source/TortoiseGit_en.xml:12773 #, fuzzy msgid "" "If this switch is given, SubWCRev will output the revision numbers in HEX, " "with '0X' prepended." msgstr "如果给出这个开关,当目的文件存在时时,SubWCRev 就会以ERRORLEVEL 9退出。" #. (title) #: ../source/TortoiseGit_en.xml:12788 msgid "Keyword Substitution" msgstr "关键字替换" #. (para) #: ../source/TortoiseGit_en.xml:12789 msgid "" "If a source and destination files are supplied, SubWCRev copies source to " "destination, performing keyword substitution as follows: " msgstr "" "如果提供了源文件和目的文件,SubWCRev 会复制源文件到目标文件,执行如下所属的关" "键字替换: " #. (entry) #: ../source/TortoiseGit_en.xml:12799 msgid "Keyword" msgstr "关键字" #. (entry) #: ../source/TortoiseGit_en.xml:12806 msgid "Replaced with the highest commit revision in the working copy." msgstr "用工作副本中最高的提交版本来替换" #. (entry) #: ../source/TortoiseGit_en.xml:12813 msgid "" "Replaced with the commit date/time of the highest commit revision. By " "default, international format is used: . Alternatively, you " "can specify a custom format which will be used with , for " "example: . For a list of available formatting characters, " "look at the ." msgstr "" "用最高提交版本的日期/时间替换。默认使用国际化格式:。作为选" "择,你可以指定 使用自定义格式,例如:。格式字" "符的列表参见 。" #. (literal) #: ../source/TortoiseGit_en.xml:12817 msgid "yyyy-mm-dd hh:mm:ss" msgstr "yyyy-mm-dd hh:mm:ss" #. (literal) #: ../source/TortoiseGit_en.xml:12819 msgid "strftime()" msgstr "strftime()" #. (literal) #: ../source/TortoiseGit_en.xml:12821 msgid "$WCDATE=%a %b %d %I:%M:%S %p$" msgstr "$WCDATE=%a %b %d %I:%M:%S %p$" #. (citetitle) #: ../source/TortoiseGit_en.xml:12824 msgid "online reference" msgstr "在线引用" #. (entry) #: ../source/TortoiseGit_en.xml:12830 #, fuzzy msgid "" "Replaced with the current system date/time. This can be used to indicate the " "build time. Time formatting is as described above." msgstr "" "用当前的系统日期/时间替换。它用来指出构建时间。同样为了避免混淆,使用国际化格" "式。" #. (entry) #: ../source/TortoiseGit_en.xml:12838 msgid "" "Replaced with the update revision range in the working copy. If the working " "copy is in a consistent state, this will be a single revision. If the working " "copy contains mixed revisions, either due to being out of date, or due to a " "deliberate update-to-revision, then the range will be shown in the form " "100:200" msgstr "" "在工作目录用更新版本范围替换。如果工作目录处于一致的状态,它是一个单一版本。如" "果工作目录包含混合版本,或者是过时,或者是故意更新到版本,那么这个范围会用象" "100:200这样的格式来显示。" #. (entry) #: ../source/TortoiseGit_en.xml:12850 msgid "" " is replaced with if there are mixed update " "revisions, or if not." msgstr "" "当有混合版本时用 替换 ,否则用 替换。" #. (literal) #: ../source/TortoiseGit_en.xml:12851 msgid "$WCMIXED?TText:FText$" msgstr "$WCMIXED?TText:FText$" #. (literal) #. (literal) #. (literal) #. (literal) #. (literal) #: ../source/TortoiseGit_en.xml:12852 ../source/TortoiseGit_en.xml:12860 #: ../source/TortoiseGit_en.xml:12887 ../source/TortoiseGit_en.xml:12895 #: ../source/TortoiseGit_en.xml:12904 msgid "TText" msgstr "TText" #. (literal) #. (literal) #. (literal) #. (literal) #. (literal) #: ../source/TortoiseGit_en.xml:12853 ../source/TortoiseGit_en.xml:12861 #: ../source/TortoiseGit_en.xml:12888 ../source/TortoiseGit_en.xml:12897 #: ../source/TortoiseGit_en.xml:12905 msgid "FText" msgstr "FText" #. (entry) #: ../source/TortoiseGit_en.xml:12858 msgid "" " is replaced with if there are local " "modifications, or if not." msgstr "" "若本地存在修改,就用 替换 ,否则用 " " 替换。" #. (literal) #: ../source/TortoiseGit_en.xml:12859 msgid "$WCMODS?TText:FText$" msgstr "$WCMODS?TText:FText$" #. (entry) #: ../source/TortoiseGit_en.xml:12866 msgid "" "Replaced with the repository URL of the working copy path passed to SubWCRev." msgstr "用传递给SubWCRev的工作目录的版本库地址替换。" #. (entry) #: ../source/TortoiseGit_en.xml:12873 msgid "Replaced with the current time and date" msgstr "" #. (entry) #: ../source/TortoiseGit_en.xml:12879 msgid "Replaced with the current time and date in standard format" msgstr "" #. (entry) #: ../source/TortoiseGit_en.xml:12885 #, fuzzy msgid "" " is replaced with if the entry is versioned, " "or if not." msgstr "" "当有混合版本时用 替换 ,否则用 替换。" #. (literal) #: ../source/TortoiseGit_en.xml:12886 msgid "$WCINSVN?TText:FText$" msgstr "$WCINSVN?TText:FText$" #. (entry) #: ../source/TortoiseGit_en.xml:12893 #, fuzzy msgid "" " is replaced with if the entry has the " " property set, or if not." msgstr "" "若本地存在修改,就用 替换 ,否则用 " " 替换。" #. (literal) #: ../source/TortoiseGit_en.xml:12894 msgid "$WCNEEDSLOCK?TText:FText$" msgstr "$WCNEEDSLOCK?TText:FText$" #. (literal) #. (literal) #: ../source/TortoiseGit_en.xml:12896 ../source/TortoiseGit_en.xml:13077 msgid "svn:needs-lock" msgstr "" #. (entry) #: ../source/TortoiseGit_en.xml:12902 #, fuzzy msgid "" " is replaced with if the entry is locked, or " " if not." msgstr "" "若本地存在修改,就用 替换 ,否则用 " " 替换。" #. (literal) #: ../source/TortoiseGit_en.xml:12903 msgid "$WCISLOCKED?TText:FText$" msgstr "$WCISLOCKED?TText:FText$" #. (entry) #: ../source/TortoiseGit_en.xml:12910 #, fuzzy msgid "Replaced with the lock date" msgstr "替换的节点" #. (entry) #: ../source/TortoiseGit_en.xml:12916 msgid "Replaced with the name of the lock owner" msgstr "" #. (entry) #: ../source/TortoiseGit_en.xml:12922 #, fuzzy msgid "Replaced with the comment of the lock" msgstr "用工作副本中最高的提交版本来替换" #. (title) #: ../source/TortoiseGit_en.xml:12935 msgid "Keyword Example" msgstr "关键字例子" #. (para) #: ../source/TortoiseGit_en.xml:12936 msgid "" "The example below shows how keywords in a template file are substituted in " "the output file." msgstr "下面的例子显示了模版文件中的关键字是如何在输出文件中被替换的。" #. (programlisting) #: ../source/TortoiseGit_en.xml:12940 #, no-wrap msgid "" "\n" "// Test file for SubWCRev: testfile.tmpl\n" "\n" "char *Revision = \"$WCREV$\";\n" "char *Modified = \"$WCMODS?Modified:Not modified$\";\n" "char *Date = \"$WCDATE$\";\n" "char *Range = \"$WCRANGE$\";\n" "char *Mixed = \"$WCMIXED?Mixed revision WC:Not mixed$\";\n" "char *URL = \"$WCURL$\";\n" "\n" "#if $WCMODS?1:0$\n" "#error Source is modified\n" "#endif\n" "\n" "// End of file\n" msgstr "" "\n" "// Test file for SubWCRev: testfile.tmpl\n" "\n" "char *Revision = \"$WCREV$\";\n" "char *Modified = \"$WCMODS?Modified:Not modified$\";\n" "char *Date = \"$WCDATE$\";\n" "char *Range = \"$WCRANGE$\";\n" "char *Mixed = \"$WCMIXED?Mixed revision WC:Not mixed$\";\n" "char *URL = \"$WCURL$\";\n" "\n" "#if $WCMODS?1:0$\n" "#error Source is modified\n" "#endif\n" "\n" "// End of file\n" #. (para) #: ../source/TortoiseGit_en.xml:12956 msgid "" "After running SubWCRev.exe path\\to\\workingcopy testfile.tmpl " "testfile.txt, the output file testfile.txt would " "looks like this:" msgstr "" #. (programlisting) #: ../source/TortoiseGit_en.xml:12960 #, no-wrap msgid "" "\n" "// Test file for SubWCRev: testfile.txt\n" "\n" "char *Revision = \"3701\";\n" "char *Modified = \"Modified\";\n" "char *Date = \"2005/06/15 11:15:12\";\n" "char *Range = \"3699:3701\";\n" "char *Mixed = \"Mixed revision WC\";\n" "char *URL = \"http://TortoiseGit.tigris.org/svn/TortoiseGit/...\n" "trunk/src/SubWCRev\";\n" "\n" "#if 1\n" "#error Source is modified\n" "#endif\n" "\n" "// End of file\n" msgstr "" "\n" "// Test file for SubWCRev: testfile.txt\n" "\n" "char *Revision = \"3701\";\n" "char *Modified = \"Modified\";\n" "char *Date = \"2005/06/15 11:15:12\";\n" "char *Range = \"3699:3701\";\n" "char *Mixed = \"Mixed revision WC\";\n" "char *URL = \"http://TortoiseGit.tigris.org/svn/TortoiseGit/...\n" "trunk/src/SubWCRev\";\n" "\n" "#if 1\n" "#error Source is modified\n" "#endif\n" "\n" "// End of file\n" #. (para) #: ../source/TortoiseGit_en.xml:12978 msgid "" "A file like this will be included in the build so you would expect it to be " "versioned. Be sure to version the template file, not the generated file, " "otherwise each time you regenerate the version file you need to commit the " "change, which in turn means the version file needs to be updated." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:12991 msgid "COM interface" msgstr "COM 接口" #. (primary) #: ../source/TortoiseGit_en.xml:12993 msgid "COM SubWCRev interface" msgstr "SubWCRev 的 COM 接口" #. (para) #: ../source/TortoiseGit_en.xml:12995 msgid "" "If you need to access Git revision information from other programs, " "you can use the COM interface of SubWCRev. The object to create is " "SubWCRev.object, and the following methods are supported: " "" msgstr "" "如果你需要在其它程序中访问 Git 版本信息,可以使用 SubWCRev 的 COM 接" "口。创建的对象名称是 SubWCRev.object,支持下述方法:" "" #. (title) #: ../source/TortoiseGit_en.xml:13001 msgid "COM/automation methods supported" msgstr "支持 COM/自动化 方法" #. (entry) #: ../source/TortoiseGit_en.xml:13007 msgid "Method" msgstr "方法" #. (entry) #: ../source/TortoiseGit_en.xml:13014 msgid "" "This method traverses the working copy gathering the revision information. " "Naturally you must call this before you can access the information using the " "remaining methods. The first parameter is the path. The second parameter " "should be true if you want to include folder revisions. Equivalent to the " " command line switch. The third parameter should be true if " "you want to include svn:externals. Equivalent to the command " "line switch." msgstr "" #. (literal) #: ../source/TortoiseGit_en.xml:13020 msgid "-f" msgstr "-f" #. (literal) #: ../source/TortoiseGit_en.xml:13023 msgid "-e" msgstr "-e" #. (entry) #: ../source/TortoiseGit_en.xml:13029 msgid "" "The highest commit revision in the working copy. Equivalent to " msgstr "工作副本中的最高提交版本。等价于 " #. (literal) #: ../source/TortoiseGit_en.xml:13031 msgid "$WCREV$" msgstr "$WCREV$" #. (entry) #: ../source/TortoiseGit_en.xml:13036 msgid "" "The commit date/time of the highest commit revision. Equivalent to " "" msgstr "最高提交版本的提交日期/时间。等价于 " #. (literal) #: ../source/TortoiseGit_en.xml:13038 msgid "$WCDATE$" msgstr "$WCDATE$" #. (entry) #: ../source/TortoiseGit_en.xml:13043 msgid "" "The author of the highest commit revision, that is, the last person to commit " "changes to the working copy." msgstr "最高提交版本的作者,也就是工作副本中最后提交修改的人。" #. (literal) #. (literal) #: ../source/TortoiseGit_en.xml:13050 ../source/TortoiseGit_en.xml:13054 msgid "$WCRANGE$" msgstr "$WCRANGE$" #. (entry) #: ../source/TortoiseGit_en.xml:13050 msgid "The minimum update revision, as shown in " msgstr "最小的更新版本,在 中描述" #. (entry) #: ../source/TortoiseGit_en.xml:13054 msgid "The maximum update revision, as shown in " msgstr "最大的更新版本,在 中描述" #. (entry) #: ../source/TortoiseGit_en.xml:13058 msgid "True if there are local modifications" msgstr "若本地存在修改,就为真" #. (entry) #: ../source/TortoiseGit_en.xml:13062 msgid "" "Replaced with the repository URL of the working copy path used in " ". Equivalent to " msgstr "" "在 中使用,用工作副本的版本库之 URL 替换。等价于 " "" #. (literal) #: ../source/TortoiseGit_en.xml:13064 msgid "GetWCInfo" msgstr "GetWCInfo" #. (literal) #: ../source/TortoiseGit_en.xml:13065 msgid "$WCURL$" msgstr "$WCURL$" #. (entry) #: ../source/TortoiseGit_en.xml:13070 msgid "True if the item is versioned." msgstr "" #. (entry) #: ../source/TortoiseGit_en.xml:13076 #, fuzzy msgid "True if the item has the property set." msgstr "将的文件添加到版本控制 。" #. (entry) #: ../source/TortoiseGit_en.xml:13083 msgid "True if the item is locked." msgstr "" #. (entry) #: ../source/TortoiseGit_en.xml:13089 msgid "" "String representing the date when the lock was created, or an empty string if " "the item is not locked." msgstr "" #. (entry) #: ../source/TortoiseGit_en.xml:13096 msgid "" "String representing the lock owner, or an empty string if the item is not " "locked." msgstr "" #. (entry) #: ../source/TortoiseGit_en.xml:13103 msgid "The message entered when the lock was created." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:13111 msgid "" "The following example shows how the interface might be used. " msgstr "下述例子显示了如何使用接口。" #. (programlisting) #: ../source/TortoiseGit_en.xml:13113 #, no-wrap msgid "" "\n" "// testCOM.js - javascript file\n" "// test script for the SubWCRev COM/Automation-object\n" "\n" "filesystem = new ActiveXObject(\"Scripting.FileSystemObject\");\n" "\n" "subwcrevObject1 = new ActiveXObject(\"SubWCRev.object\");\n" "subwcrevObject2 = new ActiveXObject(\"SubWCRev.object\");\n" "subwcrevObject3 = new ActiveXObject(\"SubWCRev.object\");\n" "subwcrevObject4 = new ActiveXObject(\"SubWCRev.object\");\n" "\n" "subwcrevObject1.GetWCInfo(filesystem.GetAbsolutePathName(\".\"), 1, 1);\n" "subwcrevObject2.GetWCInfo(filesystem.GetAbsolutePathName(\"..\"), 1, 1);\n" "subwcrevObject3.GetWCInfo(filesystem.GetAbsolutePathName(\"SubWCRev.cpp\"), 1, 1);\n" "subwcrevObject4.GetWCInfo(filesystem.GetAbsolutePathName(\"..\\\\..\"), 1, 1);\n" "\n" "wcInfoString1 = \"Revision = \" + subwcrevObject1.Revision + \n" "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject1.MinRev + \n" "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject1.MaxRev + \n" "\t\t\t\t\"\\nDate = \" + subwcrevObject1.Date + \n" "\t\t\t\t\"\\nURL = \" + subwcrevObject1.Url + \"\\nAuthor = \" + \n" "\t\t\t\tsubwcrevObject1.Author + \"\\nHasMods = \" + \n" "\t\t\t\tsubwcrevObject1.HasModifications + \"\\nIsSvnItem = \" + \n" "\t\t\t\tsubwcrevObject1.IsSvnItem + \"\\nNeedsLocking = \" + \n" "\t\t\t\tsubwcrevObject1.NeedsLocking + \"\\nIsLocked = \" + \n" "\t\t\t\tsubwcrevObject1.IsLocked + \"\\nLockCreationDate = \" + \n" "\t\t\t\tsubwcrevObject1.LockCreationDate + \"\\nLockOwner = \" + \n" "\t\t\t\tsubwcrevObject1.LockOwner + \"\\nLockComment = \" + \n" "\t\t\t\tsubwcrevObject1.LockComment;\n" "wcInfoString2 = \"Revision = \" + subwcrevObject2.Revision + \n" "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject2.MinRev + \n" "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject2.MaxRev + \n" "\t\t\t\t\"\\nDate = \" + subwcrevObject2.Date + \n" "\t\t\t\t\"\\nURL = \" + subwcrevObject2.Url + \"\\nAuthor = \" + \n" "\t\t\t\tsubwcrevObject2.Author + \"\\nHasMods = \" + \n" "\t\t\t\tsubwcrevObject2.HasModifications + \"\\nIsSvnItem = \" + \n" "\t\t\t\tsubwcrevObject2.IsSvnItem + \"\\nNeedsLocking = \" + \n" "\t\t\t\tsubwcrevObject2.NeedsLocking + \"\\nIsLocked = \" + \n" "\t\t\t\tsubwcrevObject2.IsLocked + \"\\nLockCreationDate = \" + \n" "\t\t\t\tsubwcrevObject2.LockCreationDate + \"\\nLockOwner = \" + \n" "\t\t\t\tsubwcrevObject2.LockOwner + \"\\nLockComment = \" + \n" "\t\t\t\tsubwcrevObject2.LockComment;\n" "wcInfoString3 = \"Revision = \" + subwcrevObject3.Revision + \n" "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject3.MinRev + \n" "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject3.MaxRev + \n" "\t\t\t\t\"\\nDate = \" + subwcrevObject3.Date + \n" "\t\t\t\t\"\\nURL = \" + subwcrevObject3.Url + \"\\nAuthor = \" + \n" "\t\t\t\tsubwcrevObject3.Author + \"\\nHasMods = \" + \n" "\t\t\t\tsubwcrevObject3.HasModifications + \"\\nIsSvnItem = \" + \n" "\t\t\t\tsubwcrevObject3.IsSvnItem + \"\\nNeedsLocking = \" + \n" "\t\t\t\tsubwcrevObject3.NeedsLocking + \"\\nIsLocked = \" + \n" "\t\t\t\tsubwcrevObject3.IsLocked + \"\\nLockCreationDate = \" + \n" "\t\t\t\tsubwcrevObject3.LockCreationDate + \"\\nLockOwner = \" + \n" "\t\t\t\tsubwcrevObject3.LockOwner + \"\\nLockComment = \" + \n" "\t\t\t\tsubwcrevObject3.LockComment;\n" "wcInfoString4 = \"Revision = \" + subwcrevObject4.Revision + \n" "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject4.MinRev + \n" "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject4.MaxRev + \n" "\t\t\t\t\"\\nDate = \" + subwcrevObject4.Date + \n" "\t\t\t\t\"\\nURL = \" + subwcrevObject4.Url + \"\\nAuthor = \" + \n" "\t\t\t\tsubwcrevObject4.Author + \"\\nHasMods = \" + \n" "\t\t\t\tsubwcrevObject4.HasModifications + \"\\nIsSvnItem = \" + \n" "\t\t\t\tsubwcrevObject4.IsSvnItem + \"\\nNeedsLocking = \" + \n" "\t\t\t\tsubwcrevObject4.NeedsLocking + \"\\nIsLocked = \" + \n" "\t\t\t\tsubwcrevObject4.IsLocked + \"\\nLockCreationDate = \" + \n" "\t\t\t\tsubwcrevObject4.LockCreationDate + \"\\nLockOwner = \" + \n" "\t\t\t\tsubwcrevObject4.LockOwner + \"\\nLockComment = \" + \n" "\t\t\t\tsubwcrevObject4.LockComment;\n" "\n" "WScript.Echo(wcInfoString1);\n" "WScript.Echo(wcInfoString2);\n" "WScript.Echo(wcInfoString3);\n" "WScript.Echo(wcInfoString4);\n" "\n" msgstr "" "\n" "// testCOM.js - javascript file\n" "// test script for the SubWCRev COM/Automation-object\n" "\n" "filesystem = new ActiveXObject(\"Scripting.FileSystemObject\");\n" "\n" "subwcrevObject1 = new ActiveXObject(\"SubWCRev.object\");\n" "subwcrevObject2 = new ActiveXObject(\"SubWCRev.object\");\n" "subwcrevObject3 = new ActiveXObject(\"SubWCRev.object\");\n" "subwcrevObject4 = new ActiveXObject(\"SubWCRev.object\");\n" "\n" "subwcrevObject1.GetWCInfo(filesystem.GetAbsolutePathName(\".\"), 1, 1);\n" "subwcrevObject2.GetWCInfo(filesystem.GetAbsolutePathName(\"..\"), 1, 1);\n" "subwcrevObject3.GetWCInfo(filesystem.GetAbsolutePathName(\"SubWCRev.cpp\"), 1, 1);\n" "subwcrevObject4.GetWCInfo(filesystem.GetAbsolutePathName(\"..\\\\..\"), 1, 1);\n" "\n" "wcInfoString1 = \"Revision = \" + subwcrevObject1.Revision + \n" "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject1.MinRev + \n" "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject1.MaxRev + \n" "\t\t\t\t\"\\nDate = \" + subwcrevObject1.Date + \n" "\t\t\t\t\"\\nURL = \" + subwcrevObject1.Url + \"\\nAuthor = \" + \n" "\t\t\t\tsubwcrevObject1.Author + \"\\nHasMods = \" + \n" "\t\t\t\tsubwcrevObject1.HasModifications + \"\\nIsSvnItem = \" + \n" "\t\t\t\tsubwcrevObject1.IsSvnItem + \"\\nNeedsLocking = \" + \n" "\t\t\t\tsubwcrevObject1.NeedsLocking + \"\\nIsLocked = \" + \n" "\t\t\t\tsubwcrevObject1.IsLocked + \"\\nLockCreationDate = \" + \n" "\t\t\t\tsubwcrevObject1.LockCreationDate + \"\\nLockOwner = \" + \n" "\t\t\t\tsubwcrevObject1.LockOwner + \"\\nLockComment = \" + \n" "\t\t\t\tsubwcrevObject1.LockComment;\n" "wcInfoString2 = \"Revision = \" + subwcrevObject2.Revision + \n" "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject2.MinRev + \n" "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject2.MaxRev + \n" "\t\t\t\t\"\\nDate = \" + subwcrevObject2.Date + \n" "\t\t\t\t\"\\nURL = \" + subwcrevObject2.Url + \"\\nAuthor = \" + \n" "\t\t\t\tsubwcrevObject2.Author + \"\\nHasMods = \" + \n" "\t\t\t\tsubwcrevObject2.HasModifications + \"\\nIsSvnItem = \" + \n" "\t\t\t\tsubwcrevObject2.IsSvnItem + \"\\nNeedsLocking = \" + \n" "\t\t\t\tsubwcrevObject2.NeedsLocking + \"\\nIsLocked = \" + \n" "\t\t\t\tsubwcrevObject2.IsLocked + \"\\nLockCreationDate = \" + \n" "\t\t\t\tsubwcrevObject2.LockCreationDate + \"\\nLockOwner = \" + \n" "\t\t\t\tsubwcrevObject2.LockOwner + \"\\nLockComment = \" + \n" "\t\t\t\tsubwcrevObject2.LockComment;\n" "wcInfoString3 = \"Revision = \" + subwcrevObject3.Revision + \n" "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject3.MinRev + \n" "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject3.MaxRev + \n" "\t\t\t\t\"\\nDate = \" + subwcrevObject3.Date + \n" "\t\t\t\t\"\\nURL = \" + subwcrevObject3.Url + \"\\nAuthor = \" + \n" "\t\t\t\tsubwcrevObject3.Author + \"\\nHasMods = \" + \n" "\t\t\t\tsubwcrevObject3.HasModifications + \"\\nIsSvnItem = \" + \n" "\t\t\t\tsubwcrevObject3.IsSvnItem + \"\\nNeedsLocking = \" + \n" "\t\t\t\tsubwcrevObject3.NeedsLocking + \"\\nIsLocked = \" + \n" "\t\t\t\tsubwcrevObject3.IsLocked + \"\\nLockCreationDate = \" + \n" "\t\t\t\tsubwcrevObject3.LockCreationDate + \"\\nLockOwner = \" + \n" "\t\t\t\tsubwcrevObject3.LockOwner + \"\\nLockComment = \" + \n" "\t\t\t\tsubwcrevObject3.LockComment;\n" "wcInfoString4 = \"Revision = \" + subwcrevObject4.Revision + \n" "\t\t\t\t\"\\nMin Revision = \" + subwcrevObject4.MinRev + \n" "\t\t\t\t\"\\nMax Revision = \" + subwcrevObject4.MaxRev + \n" "\t\t\t\t\"\\nDate = \" + subwcrevObject4.Date + \n" "\t\t\t\t\"\\nURL = \" + subwcrevObject4.Url + \"\\nAuthor = \" + \n" "\t\t\t\tsubwcrevObject4.Author + \"\\nHasMods = \" + \n" "\t\t\t\tsubwcrevObject4.HasModifications + \"\\nIsSvnItem = \" + \n" "\t\t\t\tsubwcrevObject4.IsSvnItem + \"\\nNeedsLocking = \" + \n" "\t\t\t\tsubwcrevObject4.NeedsLocking + \"\\nIsLocked = \" + \n" "\t\t\t\tsubwcrevObject4.IsLocked + \"\\nLockCreationDate = \" + \n" "\t\t\t\tsubwcrevObject4.LockCreationDate + \"\\nLockOwner = \" + \n" "\t\t\t\tsubwcrevObject4.LockOwner + \"\\nLockComment = \" + \n" "\t\t\t\tsubwcrevObject4.LockComment;\n" "\n" "WScript.Echo(wcInfoString1);\n" "WScript.Echo(wcInfoString2);\n" "WScript.Echo(wcInfoString3);\n" "WScript.Echo(wcInfoString4);\n" "\n" #. (title) #: ../source/TortoiseGit_en.xml:13192 msgid "Frequently Asked Questions (FAQ)" msgstr "常见问题(FAQ)" #. (primary) #: ../source/TortoiseGit_en.xml:13194 msgid "FAQ" msgstr "常见问题解答" #. (para) #: ../source/TortoiseGit_en.xml:13197 #, fuzzy msgid "" "Because TortoiseGit is being developed all the time it is sometimes hard to " "keep the documentation completely up to date. We maintain an online FAQ which contains a selection of the questions we are asked the most on " "the TortoiseGit mailing lists tortoisegit-dev@googlegroups.com and " "tortoisegit-users@googlegroups.com ." msgstr "" "因为TortoiseGit一直处于开发状态,所以有时很难保持文档完全是最新的。我们在" "维护了一份交互式的在线" "FAQ。那里面包括了TortoiseGit邮件列表" "tortoisegit-dev@googlegroups.com 里最常被问到的问题。" #. (para) #: ../source/TortoiseGit_en.xml:13209 #, fuzzy msgid "" "We also maintain a project Issue Tracker which tells you about some of " "the things we have on our To-Do list, and bugs which have already been fixed. " "If you think you have found a bug, or want to request a new feature, check " "here first to see if someone else got there before you." msgstr "" "我们还在维护了一个项目" "问题跟踪系统。在那里面可以查到哪些功能已经被加到了我们的" "To Do列表里,哪些错误已经被修正了。如果你认为发现了一个错误,或者需要一个新功" "能,请先到那里看看是否其他人已经在你之前提出过相同的内容了。" #. (para) #: ../source/TortoiseGit_en.xml:13219 msgid "" "If you have a question which is not answered anywhere else, the best place to " "ask it is on one of the mailing lists. tortoisegit-users@googlegroups.com is the one to use if you have questions about using TortoiseGit. If " "you want to help out with the development of TortoiseGit, then you should " "take part in discussions on tortoisegit-dev@googlegroups.com ." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:13235 msgid "How Do I..." msgstr "如何实现 …" #. (para) #: ../source/TortoiseGit_en.xml:13237 msgid "" "This appendix contains solutions to problems/questions you might have when " "using TortoiseGit." msgstr "这个附录包括了 TortoiseGit 使用中可能碰到的一些困难或疑问的解决方法。" #. (title) #: ../source/TortoiseGit_en.xml:13243 msgid "Move/copy a lot of files at once" msgstr "一次移动或复制多个文件" #. (primary) #: ../source/TortoiseGit_en.xml:13245 msgid "moving" msgstr "移动" #. (primary) #: ../source/TortoiseGit_en.xml:13251 msgid "reorganize" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:13253 msgid "" "Moving/Copying single files can be done by using " "TortoiseGitRename.... But if you want to move/copy a lot of files, this " "way is just too slow and too much work." msgstr "" "移动或复制单个文件可以通过 TortoiseGit 重命名…实现。但是如果想移动或" "复制很多文件,这种方法就显得太慢而且工作量太大了。" #. (para) #: ../source/TortoiseGit_en.xml:13262 #, fuzzy msgid "" "The recommended way is by right-dragging the files to the " "new location. Simply right-click on the files you want to " "move/copy without releasing the mouse button. Then drag the files to the new " "location and release the mouse button. A context menu will appear where you " "can either choose Context MenuSVN " "Copy versioned files here. or " "Context MenuSVN Move versioned " "files here." msgstr "" "推荐的方法是: 用鼠标右键拖拽这些文件到新的位置。就是用鼠标" "右键选中想要移动或复制的文件,不要释放鼠标右键。把选中的文件" "拖拽到新的位置后释放鼠标右键。在出现的右键菜单里可以选择" "右键菜单SVN 复制版本控制文件到当前位置右键菜单SVN 移动版本" "控制文件到当前位置。" #. (title) #: ../source/TortoiseGit_en.xml:13285 msgid "Force users to enter a log message" msgstr "强制用户写日志" #. (primary) #: ../source/TortoiseGit_en.xml:13287 msgid "log message" msgstr "日志信息" #. (primary) #: ../source/TortoiseGit_en.xml:13290 msgid "commit message" msgstr "提交信息" #. (primary) #: ../source/TortoiseGit_en.xml:13293 msgid "empty message" msgstr "空信息" #. (para) #: ../source/TortoiseGit_en.xml:13295 msgid "" "There are two ways to prevent users from committing with an empty log " "message. One is specific to TortoiseGit, the other works for all Git " "clients, but requires access to the server directly." msgstr "" "有两种方法可以防止用户在不写日志的情况下进行提交操作。一种方式只对TortoiseGit" "有效,另外一种方法对任何Git的客户端都有效,但是需要直接访问服务器。" #. (title) #: ../source/TortoiseGit_en.xml:13301 msgid "Hook-script on the server" msgstr "服务器端的钩子脚本(Hook-script)" #. (para) #: ../source/TortoiseGit_en.xml:13302 msgid "" "If you have direct access to the repository server, you can install a pre-" "commit hook script which rejects all commits with an empty or too short log " "message." msgstr "" "如果能够直接访问服务器,可以安装一个pre-commit钩子脚本,通过这个脚本可以阻止所" "有空白日志或者日志太简短的提交操作。" #. (para) #: ../source/TortoiseGit_en.xml:13307 #, fuzzy msgid "" "In the repository folder on the server, there's a sub-folder hooks which contains some example hook scripts you can use. The file " "pre-commit.tmpl contains a sample script which will " "reject commits if no log message is supplied, or the message is too short. " "The file also contains comments on how to install/use this script. Just " "follow the instructions in that file." msgstr "" "在服务器端的版本库目录下有一个hooks子目录,这个子目录下有" "一些钩子脚本的例子。在 pre-commit.tmpl 这个例子里,示范了" "当日志是空白或者过于简短的时候如何拒绝提交。这个例子的注释里包括了安装和使用这" "个脚本的说明,按照那里面的指示做就能够使用了。" #. (para) #: ../source/TortoiseGit_en.xml:13317 msgid "" "This method is the recommended way if your users also use other Git " "clients than TortoiseGit. The drawback is that the commit is rejected by the " "server and therefore users will get an error message. The client can't know " "before the commit that it will be rejected. If you want to make TortoiseGit " "have the OK button disabled until the log message is " "long enough then please use the method described below." msgstr "" "除了TortoiseGit,如果还要同时使用其他的Git客户端,推荐使用这种方法。缺" "点是提交是被服务器端拒绝的,因此用户会看到一个错误消息。客户端无法在提交之前就" "知道会被拒绝。如果希望在日志的内容达到足够长之前,TortoiseGit 的 " "OK 按钮处于无效的状态,请使用下面的方法。" #. (title) #: ../source/TortoiseGit_en.xml:13328 msgid "Project properties" msgstr "工程(Project)属性" #. (para) #: ../source/TortoiseGit_en.xml:13329 msgid "" "TortoiseGit uses properties to control some of its features. One of those " "properties is the tsvn:logminsize property." msgstr "" "TortoiseGit 使用属性来控制它的一些特性。这其中有一个 tsvn:" "logminsize 属性。" #. (para) #: ../source/TortoiseGit_en.xml:13333 msgid "" "If you set that property on a folder, then TortoiseGit will disable the " "OK button in all commit dialogs until the user has " "entered a log message with at least the length specified in the property." msgstr "" "如果给一个文件夹设置了这个属性,在提交对话框里的日志信息达到属性里定义的长度之" "前,提交对话框的 OK 按钮会处于无效状态。" #. (para) #: ../source/TortoiseGit_en.xml:13338 msgid "" "For detailed information on those project properties, please refer to " msgstr "" "关于工程属性的具体信息,请参照 " #. (title) #: ../source/TortoiseGit_en.xml:13345 msgid "Update selected files from the repository" msgstr "从版本库里更新选定的文件到本地" #. (para) #: ../source/TortoiseGit_en.xml:13349 msgid "" "Normally you update your working copy using TortoiseGitUpdate. But if you only want " "to pick up some new files that a colleague has added without merging in any " "changes to other files at the same time, you need a different approach." msgstr "" "通常,我们可以使用TortoiseGit更新" "把工作副本更新到最新版。但是,如果只想更新某位同事" "添加的文件,而保留工作副本里其他文件的状态,就必须使用其它的方法。" #. (para) #: ../source/TortoiseGit_en.xml:13359 msgid "" "Use TortoiseGitCheck for " "Modifications. and click on Check " "repository to see what has changed in the repository. Select the " "files you want to update locally, then use the context menu to update just " "those files." msgstr "" "选择TortoiseGit查看更新,然后点击查看版本库按钮,就能" "够看到上次更新以后版本库里发生了哪些变化。选中想更新到本地的文件,然后用右键菜" "单更新这些文件。" #. (title) #: ../source/TortoiseGit_en.xml:13371 #, fuzzy msgid "Roll back (Undo) revisions in the repository" msgstr "回滚版本库里的版本" #. (primary) #: ../source/TortoiseGit_en.xml:13373 msgid "rollback" msgstr "回滚" #. (primary) #: ../source/TortoiseGit_en.xml:13379 msgid "undo commit" msgstr "撤销提交" #. (primary) #: ../source/TortoiseGit_en.xml:13382 msgid "undo change" msgstr "撤消更改" #. (title) #: ../source/TortoiseGit_en.xml:13385 msgid "Use the revision log dialog" msgstr "使用版本日志对话框" #. (para) #: ../source/TortoiseGit_en.xml:13386 msgid "" "The easiest way to revert the changes from a single revision, or from a range " "of revisions, is to use the revision log dialog. This is also the method to " "use of you want to discard recent changes and make an earlier revision the " "new HEAD." msgstr "" "如果想恢复某个版本或者版本范围的变更,最简单的方法是使用版本日志对话框。这种方" "法也可以用来撤销最近的若干次变更,把以前的某个版本变成最新版。" #. (para) #: ../source/TortoiseGit_en.xml:13395 msgid "" "Select the file or folder in which you need to revert the changes. If you " "want to revert all changes, this should be the top level folder." msgstr "" "选中想要恢复变更的文件或者文件夹。如果想要恢复所有的变更,需要选中最顶层的文件" "夹。" #. (para) #: ../source/TortoiseGit_en.xml:13402 #, fuzzy msgid "" "Select TortoiseGitShow Log to display a list of revisions. You may need to use " "Show All or Next 100 to show " "the revision(s) you are interested in." msgstr "" "选择TortoiseGit显示日志,显示出版本列表。有可能需要使用全部显示或者下100 按钮,把想要恢复的版本显示出来。" #. (para) #: ../source/TortoiseGit_en.xml:13415 #, fuzzy msgid "" "Select the revision you wish to revert. If you want to undo a range of " "revisions, select the first one and hold the Shift key while " "selecting the last one. Note that for multiple revisions, the range must be " "unbroken with no gaps. Right click on the selected revision" "(s), then select Context MenuRevert changes from this revision." msgstr "" "选中想要恢复的版本。如果想要恢复一个版本范围,选中想要恢复的第一个版本,按住" "shift键,然后选中想要恢复的最后一个版本。注意,当恢复多个版本的时候,这些版本" "必须在列表中是连续的。用鼠标右键点击选中的版本(段),然后选择" "右键菜单恢复这些版本的变更。" #. (para) #: ../source/TortoiseGit_en.xml:13430 #, fuzzy msgid "" "Or if you want to make an earlier revision the new HEAD revision, " "right click on the selected revision, then select " "Context MenuRevert to this " "revision. This will discard all changes after the selected revision." msgstr "" "如果想要把以前的某个版本变成最新版本,右键点击选中的版本(范" "围),然后选择右键菜单恢复到此版本" "。就能够撤销被选中版本后面所有" "的变更。" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:13443 ../source/TortoiseGit_en.xml:13500 msgid "" "You have reverted the changes within your working copy. Check the results, " "then commit the changes." msgstr "工作副本已经恢复到了变更以前的状态。检查恢复后的结果,然后提交变更。" #. (title) #: ../source/TortoiseGit_en.xml:13449 msgid "Use the merge dialog" msgstr "使用合并对话框" #. (para) #: ../source/TortoiseGit_en.xml:13450 msgid "" "To undo a larger range of revisions, you can use the Merge dialog. The " "previous method uses merging behind the scenes; this method uses it " "explicitly." msgstr "" "如果要撤销更大版本范围的变更,可以使用合并对话框。上一个方法在后台使用了合并的" "机制,在这个方法里我们直接使用合并功能。" #. (para) #: ../source/TortoiseGit_en.xml:13457 msgid "" "In your working copy select TortoiseGitMerge." msgstr "" "在工作副本上选择TortoiseGit合并。" #. (para) #: ../source/TortoiseGit_en.xml:13466 #, fuzzy msgid "" "In the From: field enter the full folder URL of the " "branch or tag containing the changes you want to revert in your working copy. " "This should come up as the default URL." msgstr "" "在起始: 文本框里输入想要恢复的变更所在的分支或标签的URL。" "它也将作为默认URL。" #. (para) #: ../source/TortoiseGit_en.xml:13474 msgid "" "In the From Revision field enter the revision number " "that you are currently at. If you are sure there is no-one else making " "changes, you can use the HEAD revision." msgstr "" "在起始版本文本框里输入当前工作副本的版本号。如果能够保证" "没有其他人会提交变更,可以使用最新版本。" #. (para) #: ../source/TortoiseGit_en.xml:13482 msgid "" "make sure the Use \"From:\" URL checkbox is checked." msgstr "确认使用“起始: ”的 URL检查框处于被选中的状态。" #. (para) #: ../source/TortoiseGit_en.xml:13488 #, fuzzy msgid "" "In the To Revision field enter the revision number that " "you want to revert to, namely the one before the first " "revision to be reverted." msgstr "" "在结束版本里输入想要恢复到的版本号。比如,想要恢复的最小" "版本号的一个版本号。" #. (para) #: ../source/TortoiseGit_en.xml:13495 msgid "Click OK to complete the merge." msgstr "点击合并按钮完成合并。" #. (title) #: ../source/TortoiseGit_en.xml:13506 msgid "Use svndumpfilter" msgstr "使用 svndumpfilter" #. (para) #: ../source/TortoiseGit_en.xml:13507 msgid "" "Since TortoiseGit never loses data, your rolled back revisions " "still exist as intermediate revisions in the repository. Only the HEAD " "revision was changed to a previous state. If you want to make revisions " "disappear completely from your repository, erasing all trace that they ever " "existed, you have to use more extreme measures. Unless there is a really good " "reason to do this, it is not recommended. One possible " "reason would be that someone committed a confidential document to a public " "repository." msgstr "" "因为TortoiseGit绝不会丢弃数据,所以那些被回滚的版本仍然以中间版本的形式被保留" "在版本库里。只是最新版本已经回到了以前的状态。如果想让版本库里的某些版本彻底消" "失,擦去这些版本曾经存在过的所有痕迹,就必须采取更极端的手段。不推荐" "使用这种方法,除非有很好的理由。比如某人向一个公开的版本库里提交了" "一份机密文件。" #. (para) #: ../source/TortoiseGit_en.xml:13518 #, fuzzy msgid "" "The only way to remove data from the repository is to use the Git " "command line tool svnadmin. You can find a description of " "how this works in the Repository Maintenance." msgstr "" "从版本库里删除数据的唯一方法就是使用svnadmin这个Git" "命令行工具。具体如何实现请参考版本库维护。" #. (title) #: ../source/TortoiseGit_en.xml:13529 msgid "Compare two revisions of a file" msgstr "比较一个文件的两个版本" #. (primary) #: ../source/TortoiseGit_en.xml:13531 msgid "compare files" msgstr "比较文件" #. (primary) #: ../source/TortoiseGit_en.xml:13534 msgid "changes" msgstr "修改" #. (para) #: ../source/TortoiseGit_en.xml:13536 msgid "" "If you want to compare two revisions in a file's history, for example " "revisions 100 and 200 of the same file, just use " "TortoiseGitShow Log to list the revision history for that file. Pick " "the two revisions you want to compare then use Context " "MenuCompare Revisions." msgstr "" "如果希望比较某个文件的两个历史版本,比如同一个文件修订版本100和200,可以用" "TortoiseGit显示日志列出这个文件的历史版本纪录,选择希望比较的两个版本," "然后使用右键菜单比较版本差异。" #. (para) #: ../source/TortoiseGit_en.xml:13550 msgid "" "If you want to compare the same file in two different trees, for example the " "trunk and a branch, you can use the repository browser to open up both trees, " "select the file in both places, then use Context MenuCompare Revisions." msgstr "" "如果希望比较两个不同目录树下的同一个文件,比如主干和分支,可以使用版本库浏览器" "打开两个目录树,在两个目录树下选择同一个文件,然后使用 右" "键菜单比较版本差异。" #. (para) #: ../source/TortoiseGit_en.xml:13560 msgid "" "If you want to compare two trees to see what has changed, for example the " "trunk and a tagged release, you can use TortoiseGitRevision Graph Select the two " "nodes to compare, then use Context MenuCompare HEAD Revisions. This " "will show a list of changed files, and you can then select individual files " "to view the changes in detail. Alternatively use Context " "MenuUnified Diff of HEAD Revisions to see a summary of all differences, with minimal context." msgstr "" "如果希望比较两个目录树下的所有变化,比如主干和某个发布标签,可以使用" "TortoiseGit版本分支图。选择两个想要比较的节点,然后使用" "右键菜单比较最新版本,就会列出一个变更文件列表。在列表上选择单个文件就能" "够浏览该文件的具体变更内容。另外一个方法是使用右键菜单最新版本的标准差异(Unified diff)显示所有变更的汇总和最少限度的上下文。" #. (title) #: ../source/TortoiseGit_en.xml:13583 msgid "Include a common sub-project" msgstr "包含一个普通的子项目" #. (primary) #: ../source/TortoiseGit_en.xml:13585 msgid "common projects" msgstr "普通项目" #. (primary) #: ../source/TortoiseGit_en.xml:13591 #, fuzzy msgid "vendor projects" msgstr "项目索引" #. (para) #: ../source/TortoiseGit_en.xml:13593 msgid "" "Sometimes you will want to include another project within your working copy, " "perhaps some library code. You don't want to make a duplicate of this code in " "your repository because then you would lose connection with the original (and " "maintained) code. Or maybe you have several projects which share core code. " "There are at least 3 ways of dealing with this." msgstr "" "有时候你希望在你的工作副本中引入另一个项目,或许是一些库代码,你不必在你的版本" "库复制一份,因为你会失去与原始(且维护的)代码的联系,或者你可能有多个项目共享同" "一份核心代码,有至少三种方法处理这个问题。" #. (title) #: ../source/TortoiseGit_en.xml:13603 msgid "Use svn:externals" msgstr "使用 svn:externals" #. (para) #: ../source/TortoiseGit_en.xml:13604 #, fuzzy msgid "" "Set the svn:externals property for a folder in your " "project. This property consists of one or more lines; each line has the name " "of a sub-folder which you want to use as the checkout folder for common code, " "and the repository URL that you want to be checked out there. For full " "details refer to ." msgstr "" "在你的项目的一个目录设置svn:externals属性,这个属性包含一到" "多行;每一行都有一个用作检出的子目录的名字,和一个你希望检出的版本库URL,细节" "请参考。" #. (para) #: ../source/TortoiseGit_en.xml:13612 #, fuzzy msgid "" "Commit the new folder. Now when you update, Git will pull a copy of " "that project from its repository into your working copy. The sub-folders will " "be created automatically if required. Each time you update your main working " "copy, you will also receive the latest version of all external projects." msgstr "" "提交新的目录,然后当你更新时,Git会将那个项目的一个副本从它的版本库检出" "到工作目录,如果需要,子目录会自动创建,每当你更新你的工作副本,你会得到所有外" "部项目的最新版本。" #. (para) #: ../source/TortoiseGit_en.xml:13631 msgid "" "Of the three methods described, this is the only one which needs no setup on " "the client side. Once externals are specified in the folder properties, all " "clients will get populated folders when they update." msgstr "" "在已述的三种方法中,这是唯一不需要在客户端设置的方法。一旦在目录属性中指定了外" "部资源,所有客户端在更新时都会创建相应的目录。" #. (title) #: ../source/TortoiseGit_en.xml:13639 msgid "Use a nested working copy" msgstr "使用嵌套工作副本" #. (para) #: ../source/TortoiseGit_en.xml:13640 msgid "" "Create a new folder within your project to contain the common code, but do " "not add it to Git" msgstr "在你的项目创建一个包含普通代码的新目录,但不将其添加到Git" #. (para) #: ../source/TortoiseGit_en.xml:13644 msgid "" "Select TortoiseGitCheckout for the new folder and checkout a copy of the " "common code into it. You now have a separate working copy nested within your " "main working copy." msgstr "" "在新目录下选择TortoiseGit检出,在其中检出普通代码的副本,现在你在主要的工作副本有" "了一个独立的嵌套的工作副本。" #. (para) #: ../source/TortoiseGit_en.xml:13654 msgid "" "The two working copies are independent. When you commit changes to the " "parent, changes to the nested WC are ignored. Likewise when you update the " "parent, the nested WC is not updated." msgstr "" "两个工作副本是独立的,当你在父目录提交修改,嵌套的工作副本会被忽略,同样当你更" "新你的父目录,嵌套的工作副本不会被更新。" #. (title) #: ../source/TortoiseGit_en.xml:13661 msgid "Use a relative location" msgstr "使用相对位置" #. (para) #: ../source/TortoiseGit_en.xml:13662 msgid "" "If you use the same common core code in several projects, and you do not want " "to keep multiple working copies of it for every project that uses it, you can " "just check it out to a separate location which is related to all the other " "projects which use it. For example: \n" "C:\\Projects\\Proj1\n" "C:\\Projects\\Proj2\n" "C:\\Projects\\Proj3\n" "C:\\Projects\\Common\n" " and refer to the common code using a relative path, eg. .." "\\..\\Common\\DSPcore." msgstr "" "如果你在多个项目中使用共同的代码,而你不想为每个项目保存一份副本,你可以将其检" "出到一个单独的位置,与其他项目关联,例如: \n" "C:\\Projects\\Proj1\n" "C:\\Projects\\Proj2\n" "C:\\Projects\\Proj3\n" "C:\\Projects\\Common\n" "然后使用相对路径例如..\\..\\Common\\DSPcore引用" "通用代码。" #. (para) #: ../source/TortoiseGit_en.xml:13677 msgid "" "If your projects are scattered in unrelated locations you can use a variant " "of this, which is to put the common code in one location and use drive letter " "substitution to map that location to something you can hard code in your " "projects, eg. Checkout the common code to D:\\Documents\\Framework or C:\\Documents and Settings\\{login}\\My Documents" "\\framework then use \n" "SUBST X: \"D:\\Documents\\framework\"\n" " to create the drive mapping used in your source code. Your code can " "then use absolute locations. \n" "#include \"X:\\superio\\superio.h\"\n" "" msgstr "" "如果你的项目分散到不相关的位置,你可以使用一个变种方式,可以将通用代码放到一个" "位置,且使用盘符映射到你可以在项目硬编码的内容,例如将通用代码检出到" "D:\\Documents\\FrameworkC:\\Documents and " "Settings\\{login}\\My Documents\\framework,然后使用\n" "SUBST X: \"D:\\Documents\\framework\"\n" "在你的源代码创建磁盘映射,你的代码可以使用绝对位置。\n" "#include \"X:\\superio\\superio.h\"\n" "" #. (para) #: ../source/TortoiseGit_en.xml:13695 msgid "" "This method will only work in an all-PC environment, and you will need to " "document the required drive mappings so your team know where these mysterious " "files are. This method is strictly for use in closed development " "environments, and not recommended for general use." msgstr "" "这个方法职能工作在完全PC的环境,你所做的就是记录必须的磁盘映射,所以你的团队知" "道这些神秘文件的位置,这个方法只能用于紧密地开发环境,在普通的使用中并不推荐。" #. (title) #: ../source/TortoiseGit_en.xml:13705 msgid "Create a shortcut to a repository" msgstr "创建到版本库的快捷方式" #. (primary) #: ../source/TortoiseGit_en.xml:13707 msgid "shortcut" msgstr "快捷方式" #. (para) #: ../source/TortoiseGit_en.xml:13709 msgid "" "If you frequently need to open the repository browser at a particular " "location, you can create a desktop shortcut using the automation interface to " "TortoiseProc. Just create a new shortcut and set the target to: \n" "TortoiseProc.exe /command:repobrowser /path:\"url/to/repository\"\n" " Of course you need to include the real repository URL." msgstr "" "如果你经常需要从某个位置打开版本库浏览器,你可以使用 TortoiseProc 自动化接口创" "建一个快捷方式。只需要创建一个新的快捷方式,将目标设置为: \n" "TortoiseProc.exe /command:repobrowser /path:\"url/to/repository\"\n" " 当然你需要包含真实的版本库 URL。" #. (title) #: ../source/TortoiseGit_en.xml:13721 msgid "Ignore files which are already versioned" msgstr "忽略已经版本控制的文件" #. (primary) #: ../source/TortoiseGit_en.xml:13726 #, fuzzy msgid "remove versioning" msgstr "目录版本控制" #. (primary) #: ../source/TortoiseGit_en.xml:13729 #, fuzzy msgid "detach from repository" msgstr "版本库" #. (para) #: ../source/TortoiseGit_en.xml:13731 msgid "" "If you accidentally added some files which should have been ignored, how do " "you get them out of version control without losing them? Maybe you have your " "own IDE configuration file which is not part of the project, but which took " "you a long time to set up just the way you like it." msgstr "" "如果你不小心添加了一些应该被忽略的文件,你如何将它们从版本控制中去除而不会丢失" "它们?或许你有自己的IDE配置文件,不是项目的一部分,但将会花费很多时间使之按照" "自己的方式工作。" #. (para) #: ../source/TortoiseGit_en.xml:13738 msgid "" "If you have not yet committed the add, then all you have to do is use " "TortoiseGitRevert... to undo the add. You should then add the file(s) to " "the ignore list so they don't get added again later by mistake." msgstr "" "如果你还没有提交,你只需要TortoiseGitRevert...来取消添加,你需要将" "这个文件添加到忽略列表,这样它们才不会被再次误添加近来。" #. (para) #: ../source/TortoiseGit_en.xml:13748 msgid "" "If the files are already in the repository, you have to do a little more " "work. " msgstr "如果文件已经存在于版本库,你需要做更多的工作。" #. (para) #: ../source/TortoiseGit_en.xml:13753 msgid "" "Hold the Shift key to get the extended context menu and use " "TortoiseGitDelete (keep local) to mark the file/folder for deletion from the " "repository without losing the local copy." msgstr "" "用 Shift 键获得扩展上下文菜单,使用 " "TortoiseGit删除(保留版本副本) 标记文件/目录从版本库删除,但是保留版本副本。" #. (para) #: ../source/TortoiseGit_en.xml:13765 msgid "" "TortoiseGitCommit the parent folder." msgstr "" "TortoiseGit提交父目录。" #. (para) #: ../source/TortoiseGit_en.xml:13774 msgid "" "Add the file/folder to the ignore list so you don't get into the same trouble " "again." msgstr "将文件/目录增加到忽略列表,所以你不会再遇到同样的麻烦。" #. (title) #: ../source/TortoiseGit_en.xml:13783 msgid "Unversion a working copy" msgstr "从工作副本删除版本信息" #. (para) #: ../source/TortoiseGit_en.xml:13784 #, fuzzy msgid "" "If you have a working copy which you want to convert back to a plain folder " "tree without the .svn directories, you can simply export " "it to itself. Read to find out " "how." msgstr "" "有时你可能想要建立一个没有.svn目录的本地的副本,比如建立" "一个源代码压缩包。要达到这个目的,请参考。" #. (title) #: ../source/TortoiseGit_en.xml:13792 msgid "Remove a working copy" msgstr "删除工作副本" #. (para) #: ../source/TortoiseGit_en.xml:13793 msgid "" "If you have a working copy which you no longer need, how do you get rid of it " "cleanly? Easy - just delete it in Windows Explorer! Working copies are " "private local entities, and they are self-contained." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:13801 #, fuzzy msgid "Useful Tips For Administrators" msgstr "管理员" #. (para) #: ../source/TortoiseGit_en.xml:13803 msgid "" "This appendix contains solutions to problems/questions you might have when " "you are responsible for deploying TortoiseGit to multiple client computers." msgstr "附录包含了将TortoiseGit部署到多个客户端电脑时可能发生问题的解决方案。" #. (title) #: ../source/TortoiseGit_en.xml:13810 msgid "Deploy TortoiseGit via group policies" msgstr "通过组策略部署 TortoiseGit" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:13812 ../source/TortoiseGit_en.xml:13937 msgid "group policies" msgstr "组策略" #. (primary) #. (glossterm) #: ../source/TortoiseGit_en.xml:13815 ../source/TortoiseGit_en.xml:15919 msgid "GPO" msgstr "GPO" #. (primary) #: ../source/TortoiseGit_en.xml:13818 msgid "msi" msgstr "msi" #. (primary) #: ../source/TortoiseGit_en.xml:13821 msgid "domain controller" msgstr "域控制器" #. (primary) #: ../source/TortoiseGit_en.xml:13824 msgid "deploy" msgstr "部署" #. (para) #: ../source/TortoiseGit_en.xml:13826 #, fuzzy msgid "" "The TortoiseGit installer comes as an MSI file, which means you should have " "no problems adding that MSI file to the group policies of your domain " "controller." msgstr "" "TortoiseGit安装程序使用msi文件,意味着你必须能够将msi文件添加到你的域控制器的" "组策略中。" #. (para) #: ../source/TortoiseGit_en.xml:13831 #, fuzzy msgid "" "A good walk-through on how to do that can be found in the knowledge base " "article 314934 from Microsoft: http://support.microsoft.com/?kbid=314934." msgstr "" "你可以从微软的知识库文章314934中看到如何做的方法: http://support.microsoft.com/?" "kbid=314934。" #. (para) #: ../source/TortoiseGit_en.xml:13838 #, fuzzy msgid "" "Versions 1.3.0 and later of TortoiseGit must be installed under " "Computer Configuration and not under User " "Configuration. This is because those versions need the new CRT and " "MFC DLLs, which can only be deployed per computer and " "not per user. If you really must install TortoiseGit on " "a per user basis, then you must first install the MFC and CRT package version " "8 from Microsoft on each computer you want to install TortoiseGit as per user." msgstr "" "TortoiseGit的1.3和之后的版本,必须安装在电脑配置下,而不" "是用户配置。这是因为那些版本需要新的CRT和MFC的dll,只能部" "署在每电脑,而不是每用户。如果你必须" "以每用户防是安装TortoiseGit,你必须在每个需要安装TortoiseGit电脑上为每个用户安" "装MFC和CRT包。" #. (title) #: ../source/TortoiseGit_en.xml:13850 msgid "Redirect the upgrade check" msgstr "重定向升级检查" #. (primary) #: ../source/TortoiseGit_en.xml:13852 msgid "upgrade check" msgstr "升级检查" #. (primary) #: ../source/TortoiseGit_en.xml:13855 msgid "check new version" msgstr "检查新版本" #. (primary) #: ../source/TortoiseGit_en.xml:13858 msgid "version" msgstr "版本" #. (para) #: ../source/TortoiseGit_en.xml:13860 msgid "" "TortoiseGit checks if there's a new version available every few days. If " "there is a newer version available, a dialog shows up informing the user " "about that." msgstr "" "TortoiseGit会每隔几天检查是否有新版本可以下载,如果有新版本存在,会给用户显示" "相关信息的对话框。" #. (title) #: ../source/TortoiseGit_en.xml:13866 msgid "The upgrade dialog" msgstr "升级对话框" #. (para) #: ../source/TortoiseGit_en.xml:13869 msgid "" "If you're responsible for a lot of users in your domain, you might want your " "users to use only versions you have approved and not have them install always " "the latest version. You probably don't want that upgrade dialog to show up so " "your users don't go and upgrade immediately." msgstr "" "如果你为你的域中的许多用户负责,你或许希望所有的用户使用你允许的版本,而不是最" "新的版本,你可能不希望显示升级对话框而使得用户立刻升级。" #. (para) #: ../source/TortoiseGit_en.xml:13875 #, fuzzy msgid "" "Versions 1.4.0 and later of TortoiseGit allow you to redirect that upgrade " "check to your intranet server. You can set the registry key HKCU" "\\Software\\TortoiseGit\\UpdateCheckURL (string value) to an URL " "pointing to a text file in your intranet. That text file must have the " "following format: \n" "1.4.1.6000\n" "A new version of TortoiseGit is available for you to download!\n" "http://192.168.2.1/downloads/TortoiseGit-1.4.1.6000-svn-1.4.0.msi\n" " The first line in that file is the version string. You must make " "sure that it matches the exact version string of the TortoiseGit installation " "package. The second line is a custom text, shown in the upgrade dialog. You " "can write there whatever you want. Just note that the space in the upgrade " "dialog is limited. Too long messages will get truncated! The third line is " "the URL to the new installation package. This URL is opened when the user " "clicks on the custom message label in the upgrade dialog. You can also just " "point the user to a web page instead of the MSI file directly. The URL is " "opened with the default web browser, so if you specify a web page, that page " "is opened and shown to the user. If you specify the MSI package, the browser " "will ask the user to save the MSI file locally." msgstr "" "Versions 1.4.0和之后的TortoiseGit允许你重定向你的升级检查到本地服务器,你可以" "设置注册表HKCU\\Software\\TortoiseGit\\UpdateCheckURL(字" "符串值)指向本地网的文本文件。这个文本文件必须是下面的格式: \n" "1.4.1.6000\n" "A new version of TortoiseGit is available for you to download!\n" "http://192.168.2.1/downloads/TortoiseGit-1.4.1.6000-svn-1.4.0.msi\n" "文件的第一行是版本串,你必须确定这与TortoiseGit安装包的信息完全一致。" "第二行是自定义字符,显示在省级对话框,你可以在里面写任何信息,只是要注意升级对" "话框中的数据长度是有限制的,过长的信息会被截断。第三行是最新安装包的位置,当用" "户选择升级时就会打开这个URL。你可以将文件指向网页,而不是msi文件,如果你指向了" "msi包,浏览器会询问用户在本地保存msi文件。" #. (title) #: ../source/TortoiseGit_en.xml:13900 msgid "Setting the SVN_ASP_DOT_NET_HACK environment variable" msgstr "设置 SVN_ASP_DOT_NET_HACK 环境变量" #. (primary) #: ../source/TortoiseGit_en.xml:13902 msgid "SVN_ASP_DOT_NET_HACK" msgstr "SVN_ASP_DOT_NET_HACK" #. (primary) #: ../source/TortoiseGit_en.xml:13905 msgid "VS2003" msgstr "VS2003" #. (primary) #: ../source/TortoiseGit_en.xml:13908 msgid "ASP projects" msgstr "ASP 工程" #. (para) #: ../source/TortoiseGit_en.xml:13910 #, fuzzy msgid "" "As of version 1.4.0 and later, the TortoiseGit installer doesn't provide the " "user with the option to set the SVN_ASP_DOT_NET_HACK " "environment variable anymore, since that caused many problems and confusions " "with users which always install everything no matter if " "they know what it is for." msgstr "" "1.4及之后的版本,TortoiseGit安装包不会支持用户在环境变量中使用" "SVN_ASP_DOT_NET_HACK,因为这样导致许多问题,也会使一直安装任何事情,而不管是什么的用户感到迷惑。" #. (para) #: ../source/TortoiseGit_en.xml:13918 #, fuzzy msgid "" "But that option is only hidden for the user. You still can force the " "TortoiseGit installer to set that environment variable by setting the " "ASPDOTNETHACK property to TRUE. For example, you can start " "the installer like this: \n" "msiexec /i TortoiseGit-1.4.0.msi ASPDOTNETHACK=TRUE\n" "" msgstr "" "但是这个选项只是对用户隐藏了,你仍然可以通过设置ASPDOTNETHACK属性为TRUE强制" "TortoiseGit安装程序设置这个环境变量。例如,你可以这样启动安装脚本: \n" "msiexec /i TortoiseGit-1.4.0.msi ASPDOTNETHACK=TRUE\n" "" #. (title) #: ../source/TortoiseGit_en.xml:13929 msgid "Disable context menu entries" msgstr "禁用上下文菜单" #. (primary) #: ../source/TortoiseGit_en.xml:13931 msgid "context menu entries" msgstr "上下文菜单" #. (primary) #: ../source/TortoiseGit_en.xml:13934 msgid "disable functions" msgstr "禁用功能" #. (para) #: ../source/TortoiseGit_en.xml:13939 msgid "" "As of version 1.5.0 and later, TortoiseGit allows you to disable (actually, " "hide) context menu entries. Since this is a feature which should not be used " "lightly but only if there is a compelling reason, there is no GUI for this " "and it has to be done directly in the registry. This can be used to disable " "certain commands for users who should not use them. But please note that only " "the context menu entries in the explorer are hidden, and " "the commands are still available through other means, e.g. the command line " "or even other dialogs in TortoiseGit itself!" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:13949 msgid "" "The registry keys which hold the information on which context menus to show " "are HKEY_CURRENT_USER\\Software\\TortoiseGit" "\\ContextMenuEntriesMaskLow and HKEY_CURRENT_USER" "\\Software\\TortoiseGit\\ContextMenuEntriesMaskHigh." msgstr "" "控制上下文菜单显示的注册表键是HKEY_CURRENT_USER\\Software" "\\TortoiseGit\\ContextMenuEntriesMaskLow 和 " "HKEY_CURRENT_USER\\Software\\TortoiseGit" "\\ContextMenuEntriesMaskHigh。" #. (para) #: ../source/TortoiseGit_en.xml:13954 msgid "" "Each of these registry entries is a DWORD value, with each " "bit corresponding to a specific menu entry. A set bit means the corresponding " "menu entry is deactivated." msgstr "" "每个注册表条目都是 DWORD 类型,每位对应一个指定的菜单项。置" "位意味着对应的菜单项禁用。" #. (title) #: ../source/TortoiseGit_en.xml:13961 msgid "Menu entries and their values" msgstr "菜单入口和取值" #. (entry) #: ../source/TortoiseGit_en.xml:13967 msgid "Value" msgstr "取值" #. (entry) #: ../source/TortoiseGit_en.xml:13968 msgid "Menu entry" msgstr "菜单入口" #. (entry) #. (title) #. (glossterm) #: ../source/TortoiseGit_en.xml:13974 ../source/TortoiseGit_en.xml:14791 #: ../source/TortoiseGit_en.xml:15819 msgid "Checkout" msgstr "检出" #. (entry) #. (title) #. (glossterm) #: ../source/TortoiseGit_en.xml:13978 ../source/TortoiseGit_en.xml:14809 #: ../source/TortoiseGit_en.xml:16125 msgid "Update" msgstr "更新" #. (entry) #. (title) #. (glossterm) #: ../source/TortoiseGit_en.xml:13982 ../source/TortoiseGit_en.xml:14848 #: ../source/TortoiseGit_en.xml:15845 msgid "Commit" msgstr "提交" #. (entry) #. (title) #. (glossterm) #: ../source/TortoiseGit_en.xml:13986 ../source/TortoiseGit_en.xml:15158 #: ../source/TortoiseGit_en.xml:15762 msgid "Add" msgstr "添加" #. (entry) #. (title) #. (glossterm) #: ../source/TortoiseGit_en.xml:13990 ../source/TortoiseGit_en.xml:15017 #: ../source/TortoiseGit_en.xml:16058 msgid "Revert" msgstr "恢复" #. (entry) #. (glossterm) #: ../source/TortoiseGit_en.xml:13998 ../source/TortoiseGit_en.xml:16046 msgid "Resolve" msgstr "解决" #. (entry) #. (title) #. (glossterm) #: ../source/TortoiseGit_en.xml:14010 ../source/TortoiseGit_en.xml:15121 #: ../source/TortoiseGit_en.xml:15900 msgid "Export" msgstr "输出" #. (entry) #: ../source/TortoiseGit_en.xml:14014 msgid "Create Repository here" msgstr "在当前位置创建版本库" #. (entry) #. (title) #: ../source/TortoiseGit_en.xml:14018 ../source/TortoiseGit_en.xml:15073 msgid "Branch/Tag" msgstr "分支/标记" #. (entry) #. (title) #. (glossterm) #: ../source/TortoiseGit_en.xml:14022 ../source/TortoiseGit_en.xml:15104 #: ../source/TortoiseGit_en.xml:15972 msgid "Merge" msgstr "合并" #. (entry) #. (title) #. (glossterm) #: ../source/TortoiseGit_en.xml:14026 ../source/TortoiseGit_en.xml:15011 #: ../source/TortoiseGit_en.xml:15879 msgid "Delete" msgstr "删除" #. (entry) #. (title) #: ../source/TortoiseGit_en.xml:14030 ../source/TortoiseGit_en.xml:15005 msgid "Rename" msgstr "改名" #. (entry) #: ../source/TortoiseGit_en.xml:14034 msgid "Update to revision" msgstr "更新到版本" #. (entry) #. (title) #. (glossterm) #: ../source/TortoiseGit_en.xml:14038 ../source/TortoiseGit_en.xml:14895 #: ../source/TortoiseGit_en.xml:15891 msgid "Diff" msgstr "差异" #. (entry) #. (title) #: ../source/TortoiseGit_en.xml:14042 ../source/TortoiseGit_en.xml:14916 msgid "Show Log" msgstr "显示日志" #. (entry) #. (title) #: ../source/TortoiseGit_en.xml:14046 ../source/TortoiseGit_en.xml:14991 msgid "Edit Conflicts" msgstr "编辑冲突" #. (entry) #. (title) #. (glossterm) #: ../source/TortoiseGit_en.xml:14050 ../source/TortoiseGit_en.xml:15146 #: ../source/TortoiseGit_en.xml:16018 msgid "Relocate" msgstr "重新定位" #. (entry) #: ../source/TortoiseGit_en.xml:14054 msgid "Check for modifications" msgstr "检查修改" #. (entry) #: ../source/TortoiseGit_en.xml:14058 msgid "Ignore" msgstr "忽略" #. (entry) #: ../source/TortoiseGit_en.xml:14062 msgid "Repository Browser" msgstr "版本库浏览器" #. (entry) #. (title) #. (glossterm) #: ../source/TortoiseGit_en.xml:14066 ../source/TortoiseGit_en.xml:15178 #: ../source/TortoiseGit_en.xml:15783 msgid "Blame" msgstr "追溯" #. (entry) #. (title) #: ../source/TortoiseGit_en.xml:14070 ../source/TortoiseGit_en.xml:15204 msgid "Create Patch" msgstr "创建补丁" #. (entry) #. (title) #: ../source/TortoiseGit_en.xml:14074 ../source/TortoiseGit_en.xml:15214 msgid "Apply Patch" msgstr "应用补丁(Apply Patch)" #. (entry) #: ../source/TortoiseGit_en.xml:14078 msgid "Revision graph" msgstr "版本图" #. (entry) #. (glossterm) #: ../source/TortoiseGit_en.xml:14082 ../source/TortoiseGit_en.xml:15944 msgid "Lock" msgstr "锁" #. (entry) #: ../source/TortoiseGit_en.xml:14086 msgid "Remove Lock" msgstr "删除锁" #. (entry) #: ../source/TortoiseGit_en.xml:14090 msgid "Properties" msgstr "属性" #. (entry) #: ../source/TortoiseGit_en.xml:14094 msgid "Diff with URL" msgstr "与 URL 比较" #. (entry) #: ../source/TortoiseGit_en.xml:14098 msgid "Delete unversioned items" msgstr "删除未版本控制的项目" #. (entry) #: ../source/TortoiseGit_en.xml:14102 msgid "Settings" msgstr "设置" #. (entry) #: ../source/TortoiseGit_en.xml:14106 msgid "Help" msgstr "帮助" #. (entry) #: ../source/TortoiseGit_en.xml:14110 msgid "About" msgstr "关于" #. (para) #: ../source/TortoiseGit_en.xml:14116 #, fuzzy msgid "" "Example: to disable the Relocate the Delete unversioned " "items and the Settings menu entries, add the values " "assigned to the entries like this: \n" " 0x0000000000080000\n" "+ 0x0000000080000000\n" "+ 0x2000000000000000\n" "= 0x2000000080080000\n" " The lower DWORD value (0x80080000) must then be stored in HKEY_CURRENT_USER\\Software" "\\TortoiseGit\\ContextMenuEntriesMaskLow, the higher " "DWORD value (0x20000000) in " "HKEY_CURRENT_USER\\Software\\TortoiseGit" "\\ContextMenuEntriesMaskHigh." msgstr "" "例如,为了禁用“重新定位”,“删除未版本控制条目”和“配置”菜单项,如下增加这些条目" "的分配值:\n" " 0x0000000000080000\n" "+ 0x0000000080000000\n" "+ 0x2000000000000000\n" "= 0x2000000080080000\n" "DWORD 的较小值(0x80080000)必须" "保存到 HKEY_CURRENT_USER\\Software\\TortoiseGit" "\\ContextMenuEntriesMaskLowDWORD 的较大值" "(0x20000000)必须保存到HKEY_CURRENT_USER\\Software" "\\TortoiseGit\\ContextMenuEntriesMaskHigh。" #. (para) #: ../source/TortoiseGit_en.xml:14133 msgid "To enable the menu entries again, simply delete the two registry keys." msgstr "简单删除这两个注册键,即可重新激活菜单项。" #. (title) #: ../source/TortoiseGit_en.xml:14139 msgid "Automating TortoiseGit" msgstr "TortoiseGit 操作" #. (para) #: ../source/TortoiseGit_en.xml:14141 msgid "" "Since all commands for TortoiseGit are controlled through command line " "parameters, you can automate it with batch scripts or start specific commands " "and dialogs from other programs (e.g. your favourite text editor)." msgstr "" "因为所有的命令使用命令行参数控制,你可以使用特定的批处理脚本或从其它程序(例如" "你喜欢的文本编辑器)启动。" #. (para) #: ../source/TortoiseGit_en.xml:14147 msgid "" "Remember that TortoiseGit is a GUI client, and this automation guide shows " "you how to make the TortoiseGit dialogs appear to collect user input. If you " "want to write a script which requires no input, you should use the official " "Git command line client instead." msgstr "" "请记住TortoiseGit是一个GUI客户端,这个自动化指导为你展示了让TortoiseGit对话框" "显示并收集客户输入,如果你希望编写不需要输入的脚本,你应该使用官方的Git" "命令行客户端。" #. (title) #. (title) #: ../source/TortoiseGit_en.xml:14159 ../source/TortoiseGit_en.xml:14789 msgid "TortoiseGit Commands" msgstr "TortoiseGit 命令" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:14161 ../source/TortoiseGit_en.xml:14634 msgid "automation" msgstr "自动化" #. (primary) #. (primary) #: ../source/TortoiseGit_en.xml:14164 ../source/TortoiseGit_en.xml:14637 msgid "command line" msgstr "命令行" #. (para) #: ../source/TortoiseGit_en.xml:14166 msgid "" "The TortoiseGit GUI program is called TortoiseProc.exe. " "All commands are specified with the parameter " "where abcd is the required command name. Most of these " "commands need at least one path argument, which is given with . In the following table the command refers to the " " parameter and the path refers to the parameter." msgstr "" "TortoiseGit的GUI程序叫做TortoiseProc.exe。所有的命令通过参" "数指定,其中abcd是必须的命令" "名。大多数此类命令至少需要一个路径参数,使用参" "数,余下的代表了参数。" #. (para) #: ../source/TortoiseGit_en.xml:14175 msgid "" "Since some of the commands can take a list of target paths (e.g. committing " "several specific files) the parameter can take several " "paths, separated by a * character." msgstr "" "因为一些命令需要一个目标路径的列表(例如提交一些特定的文件), parameter is obsolete and there is no need to add it " "anymore." msgstr "" "TortoiseGit 使用临时文件在 shell 扩展和主程序之间传递多个参数。从 TortoiseGit " "1.5.0 开始,废弃参数,不再需要增加此参数。" #. (para) #: ../source/TortoiseGit_en.xml:14186 #, fuzzy msgid "" "The progress dialog which is used for commits, updates and many more commands " "usually stays open after the command has finished until the user presses the " "OK button. This can be changed by checking the " "corresponding option in the settings dialog. But using that setting will " "close the progress dialog, no matter if you start the command from your batch " "file or from the TortoiseGit context menu." msgstr "" "进度对话框用来显示提交,更新等命令,结束后通常需要用户点确认按钮才退出,这个可以通过检查对应的对话框选项中设置。但是使用那个设置" "会关闭进度窗口,无论你是使用批处理文件还是用TortoiseGit右键菜单。" #. (para) #: ../source/TortoiseGit_en.xml:14194 #, fuzzy msgid "" "To specify a different location of the configuration file, use the parameter " ". This will " "override the default path, including any registry setting." msgstr "" "为了指定另外一个的配置文件,可以使用参数,这将会覆盖默认的路径和注册表设置。" #. (para) #: ../source/TortoiseGit_en.xml:14199 msgid "" "To close the progress dialog at the end of a command automatically without " "using the permanent setting you can pass the " "parameter. " msgstr "" "如果想在进度对话框执行完毕后自动关闭,而又不必设置永久性的参数,可以传递" "参数。" #. (para) #: ../source/TortoiseGit_en.xml:14205 msgid " don't close the dialog automatically" msgstr " 不自动关闭对话框" #. (para) #: ../source/TortoiseGit_en.xml:14210 msgid " auto close if no errors" msgstr " 如果没发生错误则自动关闭对话框" #. (para) #: ../source/TortoiseGit_en.xml:14215 msgid " auto close if no errors and conflicts" msgstr " 如果没发生错误和冲突则自动关闭对话框" #. (para) #: ../source/TortoiseGit_en.xml:14220 msgid "" " auto close if no errors, conflicts and merges" msgstr "如果没有错误、冲突和合并,会自动关闭" #. (para) #: ../source/TortoiseGit_en.xml:14225 msgid "" " auto close if no errors, conflicts and merges " "for local operations" msgstr "如果没有错误、冲突和合并,会自动关闭" #. (para) #: ../source/TortoiseGit_en.xml:14232 msgid "" "The table below lists all the commands which can be accessed using the " "TortoiseProc.exe command line. As described above, these should be used in " "the form /command:abcd. In the table, the /" "command prefix is omitted to save space." msgstr "" "下面的列表列出了所有可以使用TortoiseProc.exe访问的命令,就像上面的描述,必须使" "用/command:abcd的形式,在列表中,因为节省空间的关系省略了" "/command的前缀。" #. (title) #: ../source/TortoiseGit_en.xml:14251 msgid "List of available commands and options" msgstr "有效命令及选项列表" #. (entry) #: ../source/TortoiseGit_en.xml:14257 msgid "Command" msgstr "命令" #. (entry) #: ../source/TortoiseGit_en.xml:14264 msgid "Shows the about dialog. This is also shown if no command is given." msgstr "显示关于对话框。如果没有给命令也会显示。" #. (entry) #: ../source/TortoiseGit_en.xml:14271 msgid "" "Opens the log dialog. The specifies the file or folder for " "which the log should be shown. Three additional options can be set: " ", and " msgstr "" "打开日志对话框, 指定了显示日志的文件或目录,另外还有三个选项" "可以设置: " #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #. (option) #: ../source/TortoiseGit_en.xml:14272 ../source/TortoiseGit_en.xml:14283 #: ../source/TortoiseGit_en.xml:14291 ../source/TortoiseGit_en.xml:14298 #: ../source/TortoiseGit_en.xml:14310 ../source/TortoiseGit_en.xml:14327 #: ../source/TortoiseGit_en.xml:14335 ../source/TortoiseGit_en.xml:14343 #: ../source/TortoiseGit_en.xml:14350 ../source/TortoiseGit_en.xml:14359 #: ../source/TortoiseGit_en.xml:14365 ../source/TortoiseGit_en.xml:14372 #: ../source/TortoiseGit_en.xml:14373 ../source/TortoiseGit_en.xml:14375 #: ../source/TortoiseGit_en.xml:14381 ../source/TortoiseGit_en.xml:14397 #: ../source/TortoiseGit_en.xml:14405 ../source/TortoiseGit_en.xml:14426 #: ../source/TortoiseGit_en.xml:14433 ../source/TortoiseGit_en.xml:14443 #: ../source/TortoiseGit_en.xml:14449 ../source/TortoiseGit_en.xml:14482 #: ../source/TortoiseGit_en.xml:14488 ../source/TortoiseGit_en.xml:14501 #: ../source/TortoiseGit_en.xml:14510 ../source/TortoiseGit_en.xml:14516 #: ../source/TortoiseGit_en.xml:14524 ../source/TortoiseGit_en.xml:14559 #: ../source/TortoiseGit_en.xml:14569 ../source/TortoiseGit_en.xml:14576 #: ../source/TortoiseGit_en.xml:14583 ../source/TortoiseGit_en.xml:14592 #: ../source/TortoiseGit_en.xml:14609 msgid "/path" msgstr "/path" #. (option) #. (option) #: ../source/TortoiseGit_en.xml:14275 ../source/TortoiseGit_en.xml:14451 msgid "/startrev:xxx" msgstr "/startrev:xxx" #. (option) #. (option) #: ../source/TortoiseGit_en.xml:14276 ../source/TortoiseGit_en.xml:14452 msgid "/endrev:xxx" msgstr "/endrev:xxx" #. (option) #: ../source/TortoiseGit_en.xml:14277 msgid "/strict" msgstr "/strict" #. (entry) #: ../source/TortoiseGit_en.xml:14282 msgid "" "Opens the checkout dialog. The specifies the target " "directory and the specifies the URL to checkout from." msgstr "" "打开检出对话框,指定了目标路径,而制定了检出的" "URL。" #. (option) #. (option) #: ../source/TortoiseGit_en.xml:14284 ../source/TortoiseGit_en.xml:14407 msgid "/url" msgstr "/url" #. (entry) #: ../source/TortoiseGit_en.xml:14290 msgid "" "Opens the import dialog. The specifies the directory with " "the data to import." msgstr "打开导入对话框, 指定了数据导入路径。" #. (entry) #: ../source/TortoiseGit_en.xml:14297 msgid "" "Updates the working copy in to HEAD. If the option " " is given then a dialog is shown to ask the user to which " "revision the update should go. To avoid the dialog specify a revision number " ". Other options are and ." msgstr "" "将工作副本的更新到HEAD,如果给定参数,就会弹出" "一个对话框询问用户需要更新到哪个修订版本。为了防止指定修订版本号的对话框,需要选项。" #. (option) #: ../source/TortoiseGit_en.xml:14299 msgid "/rev" msgstr "/rev" #. (option) #: ../source/TortoiseGit_en.xml:14302 msgid "/rev:1234" msgstr "/rev:1234" #. (option) #: ../source/TortoiseGit_en.xml:14303 msgid "/nonrecursive" msgstr "/nonrecursive" #. (option) #: ../source/TortoiseGit_en.xml:14304 msgid "/ignoreexternals" msgstr "/ignoreexternals" #. (entry) #: ../source/TortoiseGit_en.xml:14309 msgid "" "Opens the commit dialog. The specifies the target directory " "or the list of files to commit. You can also specify the " "switch to pass a predefined log message to the commit dialog. Or, if you " "don't want to pass the log message on the command line, use , " "where points to a file containing the log message. To pre-" "fill the bug ID box (in case you've set up integration with bug trackers " "properly), you can use the to do that." msgstr "" "打开提交对话框, 指定了目标路径或需要提交的文件列表,你也可以" "使用参数 给提交窗口传递预定义的日志信息,或者你不希望将日志传" "递给命令行,你也可以使用 指向了保存日志信息" "的文件。为了预先填入bug的ID(如果你设置了集成bug追踪属性),你可以使用" "完成这个任务。" #. (option) #. (option) #: ../source/TortoiseGit_en.xml:14312 ../source/TortoiseGit_en.xml:14409 msgid "/logmsg" msgstr "/logmsg" #. (option) #. (option) #: ../source/TortoiseGit_en.xml:14315 ../source/TortoiseGit_en.xml:14412 msgid "/logmsgfile:path" msgstr "/logmsgfile:path" #. (option) #. (option) #: ../source/TortoiseGit_en.xml:14316 ../source/TortoiseGit_en.xml:14413 msgid "path" msgstr "path" #. (option) #: ../source/TortoiseGit_en.xml:14320 msgid "/bugid:\"the bug id here\"" msgstr "/bugid:\"the bug id here\"" #. (entry) #: ../source/TortoiseGit_en.xml:14326 msgid "Adds the files in to version control." msgstr "将的文件添加到版本控制 。" #. (entry) #: ../source/TortoiseGit_en.xml:14333 msgid "" "Reverts local modifications of a working copy. The tells " "which items to revert." msgstr "恢复工作副本的本地修改,说明恢复哪些条目。" #. (entry) #: ../source/TortoiseGit_en.xml:14341 msgid "" "Cleans up interrupted or aborted operations and unlocks the working copy in " "." msgstr "清理中断和终止的操作,将工作副本的解锁。" #. (entry) #: ../source/TortoiseGit_en.xml:14348 msgid "" "Marks a conflicted file specified in as resolved. If " " is given, then resolving is done without asking the user " "first if it really should be done." msgstr "" "将指定文件的冲突标示为解决,如果给定,解决不会" "向用户确认操作。" #. (option) #. (option) #. (option) #: ../source/TortoiseGit_en.xml:14351 ../source/TortoiseGit_en.xml:14436 #: ../source/TortoiseGit_en.xml:14602 msgid "/noquestion" msgstr "/noquestion" #. (entry) #: ../source/TortoiseGit_en.xml:14358 msgid "Creates a repository in " msgstr "在创建一个版本库。" #. (entry) #: ../source/TortoiseGit_en.xml:14364 msgid "" "Opens the switch dialog. The specifies the target directory." msgstr "打开选项对话框。 指定目标目录。" #. (entry) #: ../source/TortoiseGit_en.xml:14371 msgid "" "Exports the working copy in to another directory. If the " " points to an unversioned directory, a dialog will ask for an " "URL to export to the directory in ." msgstr "" "将的工作副本导出到另一个目录,如果指向另一个未" "版本控制目录,对话框会询问要导出到的URL。" #. (entry) #: ../source/TortoiseGit_en.xml:14380 #, fuzzy msgid "" "Opens the merge dialog. The specifies the target directory. " "For merging a revision range, the following options are available: " ", . For merging two repository trees, the " "following options are available: , , " " and . These pre-fill the relevant fields in " "the merge dialog." msgstr "" "打开合并对话框, 指定了目标目录,可以设置另外三个参数: " ",这些值将会预先填入相关的" "字段。" #. (option) #. (option) #: ../source/TortoiseGit_en.xml:14384 ../source/TortoiseGit_en.xml:14387 msgid "/fromurl:URL" msgstr "/fromurl:URL" #. (option) #: ../source/TortoiseGit_en.xml:14385 msgid "/revrange:string" msgstr "/revrange:string" #. (option) #: ../source/TortoiseGit_en.xml:14388 msgid "/tourl:URL" msgstr "/tourl:URL" #. (option) #: ../source/TortoiseGit_en.xml:14389 msgid "/fromrev:xxx" msgstr "/fromrev:xxx" #. (option) #: ../source/TortoiseGit_en.xml:14390 msgid "/torev:xxx" msgstr "/torev:xxx" #. (entry) #: ../source/TortoiseGit_en.xml:14396 #, fuzzy msgid "" "Opens the merge all dialog. The specifies the target " "directory." msgstr "打开选项对话框。 指定目标目录。" #. (entry) #: ../source/TortoiseGit_en.xml:14403 #, fuzzy msgid "" "Brings up the branch/tag dialog. The is the working copy to " "branch/tag from. And the is the target URL. You can also " "specify the switch to pass a predefined log message to the " "branch/tag dialog. Or, if you don't want to pass the log message on the " "command line, use , where points to a file " "containing the log message." msgstr "" "打开提交对话框, 指定了目标路径或需要提交的文件列表,你也可以" "使用参数 给提交窗口传递预定义的日志信息,或者你不希望将日志传" "递给命令行,你也可以使用 指向了保存日志信息" "的文件。为了预先填入bug的ID(如果你设置了集成bug追踪属性),你可以使用" "完成这个任务。" #. (entry) #: ../source/TortoiseGit_en.xml:14419 msgid "Opens the settings dialog." msgstr "打开设置对话框。" #. (entry) #: ../source/TortoiseGit_en.xml:14425 msgid "Removes the file(s) in from version control." msgstr "从版本控制里移除中的文件。" #. (entry) #: ../source/TortoiseGit_en.xml:14432 msgid "" "Renames the file in . The new name for the file is asked with " "a dialog. To avoid the question about renaming similar files in one step, " "pass ." msgstr "" "重命名的文件,会在对话框中询问新文件,为了防止一个步骤中询问相" "似文件,传递。" #. (entry) #: ../source/TortoiseGit_en.xml:14441 #, fuzzy msgid "" "Starts the external diff program specified in the TortoiseGit settings. The " " specifies the first file. If the option is " "set, then the diff program is started with those two files. If is omitted, then the diff is done between the file in and " "its BASE. To explicitly set the revision numbers use and " ". If is set and is not set, " "then the diff is done by first blaming the files with the given revisions." msgstr "" "启动 TortoiseGit 设置的外置比较程序,指定了第一个文件,如果设" "置了选项,比较程序会用这两个文件启动,如果省略,比较程序会比较和它的 BASE。" #. (option) #. (option) #. (option) #: ../source/TortoiseGit_en.xml:14445 ../source/TortoiseGit_en.xml:14447 #: ../source/TortoiseGit_en.xml:14453 msgid "/path2" msgstr "/path2" #. (option) #: ../source/TortoiseGit_en.xml:14453 msgid "/blame" msgstr "/blame" #. (para) #: ../source/TortoiseGit_en.xml:14461 msgid "" "Depending on the URLs and revisions to compare, this either shows a unified " "diff (if the option is set), a dialog with a list of " "files that have changed or if the URLs point to files starts the diff viewer " "for those two files." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:14468 msgid "" "The options , , must be specified. The options " ", , are optional." msgstr "" #. (entry) #: ../source/TortoiseGit_en.xml:14479 #, fuzzy msgid "" "Starts the conflict editor specified in the TortoiseGit settings with the " "correct files for the conflicted file in ." msgstr "" "打开TortoiseGit设置的冲突工具,在中需要设置冲突文件的正确文" "件。" #. (entry) #: ../source/TortoiseGit_en.xml:14487 msgid "" "Opens the relocate dialog. The specifies the working copy " "path to relocate." msgstr "打开重定位对话框,指定了重定位的工作副本路径。" #. (entry) #: ../source/TortoiseGit_en.xml:14494 msgid "Opens the help file." msgstr "打开帮助文件" #. (entry) #: ../source/TortoiseGit_en.xml:14500 msgid "" "Opens the check-for-modifications dialog. The specifies the " "working copy directory." msgstr "打开为修改检出对话框, 指定了工作副本目录。" #. (entry) #: ../source/TortoiseGit_en.xml:14507 #, fuzzy msgid "" "Starts the repository browser dialog, pointing to the URL of the working copy " "given in or points directly to an URL. An " "additional option can be used to specify the revision which " "the repository browser should show. If the is omitted, it " "defaults to HEAD. If points to an URL, the " "specifies the path from where to read and use the project properties." msgstr "" "打开版本库浏览对话框,URL为工作副本指向的或直" "接指出的,另外一个选项是,可以用来指定要显示的修订版本号,如果" "省略,缺省是HEAD。" #. (option) #. (option) #: ../source/TortoiseGit_en.xml:14512 ../source/TortoiseGit_en.xml:14514 msgid "/rev:xxx" msgstr "/rev:xxx" #. (option) #: ../source/TortoiseGit_en.xml:14517 msgid "/projectpropertiespath:path/to/wc" msgstr "/projectpropertiespath:path/to/wc" #. (entry) #: ../source/TortoiseGit_en.xml:14523 msgid "" "Adds all targets in to the ignore list, i.e. adds the " " property to those files." msgstr "" "将中的对象加入到忽略列表,也就是将这些文件添加到 属性。" #. (literal) #: ../source/TortoiseGit_en.xml:14525 msgid "svn:ignore" msgstr "svn:ignore" #. (para) #: ../source/TortoiseGit_en.xml:14532 msgid "Opens the blame dialog for the file specified in ." msgstr "为 选项指定的文件打开追溯对话框。" #. (para) #: ../source/TortoiseGit_en.xml:14536 msgid "" "If the options and are " "set, then the dialog asking for the blame range is not shown but the revision " "values of those options are used instead." msgstr "" "如果设置了 选项,不会显" "示询问追溯范围对话框,直接使用这些选项中的版本号。" #. (para) #: ../source/TortoiseGit_en.xml:14543 msgid "" "If the option is set, TortoiseBlame will open with " "the specified line number showing." msgstr "" "如果设置了 选项,TortoiseBlame 会显示指定行数。" #. (para) #: ../source/TortoiseGit_en.xml:14548 msgid "" "The options , and " " are also supported." msgstr "" "也支持 和 " " 选项。" #. (entry) #: ../source/TortoiseGit_en.xml:14557 msgid "" "Saves a file from an URL or working copy path given in to " "the location given in . The revision is given in . This can be used to get a file with a specific revision." msgstr "" "将指定的工作副本或URL的文件保存到,修订版本号" "在,这样可以得到特定修订版本的文件。" #. (option) #: ../source/TortoiseGit_en.xml:14560 msgid "/savepath:path" msgstr "/savepath:path" #. (option) #: ../source/TortoiseGit_en.xml:14561 msgid "/revision:xxx" msgstr "/revision:xxx" #. (entry) #: ../source/TortoiseGit_en.xml:14567 msgid "Creates a patch file for the path given in ." msgstr "创建下的补丁文件。" #. (entry) #: ../source/TortoiseGit_en.xml:14574 msgid "Shows the revision graph for the path given in ." msgstr "显示目录下的版本变化图。" #. (entry) #: ../source/TortoiseGit_en.xml:14581 #, fuzzy msgid "" "Locks a file or all files in a directory given in . The " "'lock' dialog is shown so the user can enter a comment for the lock." msgstr "" "锁定一个文件或一个目录内的所有文件。它会显示‘锁定’对话框,所以用户可以为锁定输" "入注释。" #. (entry) #: ../source/TortoiseGit_en.xml:14590 #, fuzzy msgid "Unlocks a file or all files in a directory given in ." msgstr "解锁一个文件或一个目录内的所有文件... " #. (entry) #: ../source/TortoiseGit_en.xml:14597 #, fuzzy msgid "" "Rebuilds the windows icon cache. Only use this in case the windows icons are " "corrupted. A side effect of this (which can't be avoided) is that the icons " "on the desktop get rearranged. To suppress the message box, pass ." msgstr "" "重建windows的图标缓存,只有windows的图标缓存出了问题才需要这样做,一个副作用就" "是(不可避免)桌面的图标会重新组织。" #. (entry) #: ../source/TortoiseGit_en.xml:14607 msgid "Shows the properties dialog for the path given in ." msgstr "显示 给出的路径之属性对话框。" #. (para) #: ../source/TortoiseGit_en.xml:14616 #, fuzzy msgid "" "Examples (which should be entered on one line): \n" "TortoiseProc.exe /command:commit\n" " /path:\"c:\\svn_wc\\file1.txt*c:\\svn_wc\\file2.txt\"\n" " /logmsg:\"test log message\" /closeonend:0\n" "\n" "TortoiseProc.exe /command:update /path:\"c:\\svn_wc\\\" /closeonend:0\n" "\n" "TortoiseProc.exe /command:log /path:\"c:\\svn_wc\\file1.txt\"\n" " /startrev:50 /endrev:60 /closeonend:0\n" "" msgstr "" "例子(必须在一行输入): \n" "TortoiseProc.exe /command:commit /path:\"c:\\svn_wc\\file1.txt*c:\\svn_wc" "\\file2.txt\"\n" " /logmsg:\"test log message\" /closeonend\n" "\n" "TortoiseProc.exe /command:update /path:\"c:\\svn_wc\\\" /closeonend\n" "\n" "TortoiseProc.exe /command:log /path:\"c:\\svn_wc\\file1.txt\"\n" " /startrev:50 /endrev:60 /closeonend\n" "" #. (title) #: ../source/TortoiseGit_en.xml:14632 msgid "TortoiseIDiff Commands" msgstr "TortoiseIDiff 命令" #. (para) #: ../source/TortoiseGit_en.xml:14639 msgid "" "The image diff tool has a few command line options which you can use to " "control how the tool is started. The program is called TortoiseIDiff." "exe." msgstr "" "图形比较工具有几个用于控制启动的命令行选项。程序名称是TortoiseIDiff." "exe。" #. (para) #: ../source/TortoiseGit_en.xml:14644 msgid "" "The table below lists all the options which can be passed to the image diff " "tool on the command line." msgstr "下表列出可以在命令行传递给图形比较工具的所有选项。" #. (title) #: ../source/TortoiseGit_en.xml:14660 msgid "List of available options" msgstr "可用选项列表" #. (entry) #: ../source/TortoiseGit_en.xml:14666 msgid "Option" msgstr "选项" #. (entry) #: ../source/TortoiseGit_en.xml:14673 msgid "Path to the file shown on the left." msgstr "显示在左边的文件路径。" #. (entry) #. (entry) #: ../source/TortoiseGit_en.xml:14679 ../source/TortoiseGit_en.xml:14692 msgid "" "A title string. This string is used in the image view title instead of the " "full path to the image file." msgstr "标题字符串。此字符串用于图形视图标题,替换图形文件的全路径名称。" #. (entry) #: ../source/TortoiseGit_en.xml:14686 msgid "Path to the file shown on the right." msgstr "显示在右边的文件路径。" #. (entry) #: ../source/TortoiseGit_en.xml:14699 msgid "" "If specified, the image diff tool switches to the overlay mode (alpha blend)." msgstr "如果指定,图形比较工具切换到重载模式(alpha 混合)。" #. (entry) #: ../source/TortoiseGit_en.xml:14706 msgid "If specified, the image diff tool fits both images together." msgstr "如果指定,图形比较工具最大化所有图形。" #. (entry) #: ../source/TortoiseGit_en.xml:14713 msgid "Shows the image info box." msgstr "显示图片信息框。" #. (para) #: ../source/TortoiseGit_en.xml:14721 msgid "" "Example (which should be entered on one line): \n" "TortoiseIDiff.exe /left:\"c:\\images\\img1.jpg\" /lefttitle:\"image 1\"\n" " /right:\"c:\\images\\img2.jpg\" /righttitle:\"image 2\"\n" " /fit /overlay\n" "" msgstr "" "样例(应该在同一行输入): \n" "TortoiseIDiff.exe /left:\"c:\\images\\img1.jpg\" /lefttitle:\"image 1\"\n" " /right:\"c:\\images\\img2.jpg\" /righttitle:\"image 2\"\n" " /fit /overlay\n" "" #. (title) #: ../source/TortoiseGit_en.xml:14733 msgid "Command Line Interface Cross Reference" msgstr "命令行交叉索引" #. (primary) #: ../source/TortoiseGit_en.xml:14735 msgid "command line client" msgstr "命令行客户端" #. (primary) #: ../source/TortoiseGit_en.xml:14738 msgid "CLI" msgstr "CLI" #. (para) #: ../source/TortoiseGit_en.xml:14741 msgid "" "Sometimes this manual refers you to the main Git documentation, which " "describes Git in terms of the Command Line Interface (CLI). To help " "you understand what TortoiseGit is doing behind the scenes, we have compiled " "a list showing the equivalent CLI commands for each of TortoiseGit's GUI " "operations." msgstr "" "有时候,本手册会参考Git的文档,会以命令行方式(CLI)描述Git术语," "为了理解TortoiseGit后台的操作,我们编辑了一份列表,用来展示命令行命令和对应的" "TortoiseGit的GUI操作的关系。" #. (para) #: ../source/TortoiseGit_en.xml:14750 msgid "" "Even though there are CLI equivalents to what TortoiseGit does, remember that " "TortoiseGit does not call the CLI but uses the " "Git library directly." msgstr "" "即使有命令行对应TortoiseGit的操作,请记住TortoiseGit没有" "调用命令行,而是直接使用了Git库。" #. (para) #: ../source/TortoiseGit_en.xml:14756 #, fuzzy msgid "" "If you think you have found a bug in TortoiseGit, we may ask you to try to " "reproduce it using the CLI, so that we can distinguish TortoiseGit issues " "from Git issues. This reference tells you which command to try." msgstr "" "如果你发现了TortoiseGit的bug,我们会希望你能用命令行重现它,这样我们可以区分这" "是TSVN还是Git的问题,这个参考告诉你该找那个命令。" #. (title) #: ../source/TortoiseGit_en.xml:14764 msgid "Conventions and Basic Rules" msgstr "约定和基本规则" #. (para) #: ../source/TortoiseGit_en.xml:14765 #, fuzzy msgid "" "In the descriptions which follow, the URL for a repository location is shown " "simply as URL, and an example might be http://TortoiseGit.tigris.org/svn/TortoiseGit/trunk. The " "working copy path is shown simply as PATH, and an example " "might be C:\\TortoiseGit\\trunk." msgstr "" "在这个描述里,版本库位置URL使用URL显示,一个例子是" "http://TortoiseGit.tigris.org/svn/TortoiseGit/trunk,工作副" "本使用PATH显示,一个例子是C:\\TortoiseGit\\trunk。" #. (para) #: ../source/TortoiseGit_en.xml:14775 msgid "" "Because TortoiseGit is a Windows Shell Extension, it is not able to use the " "notion of a current working directory. All working copy paths must be given " "using the absolute path, not a relative path." msgstr "" "因为TortoiseGit是一个Windows外壳扩展,它不能使用当前工作副本的概念,所有的工作" "副本必须使用绝对路径,而不是相对的。" #. (para) #: ../source/TortoiseGit_en.xml:14782 msgid "" "Certain items are optional, and these are often controlled by checkboxes or " "radio buttons in TortoiseGit. These options are shown in [square brackets] in " "the command line definitions." msgstr "" "特定项目是可选的,TortoiseGit里这是通过多选项和单选项控制的,这些选项是在命令" "行定义的[方括号]里显示的。" #. (screen) #: ../source/TortoiseGit_en.xml:14792 #, no-wrap msgid "" "\n" "svn checkout [-N] [--ignore-externals] [-r rev] URL PATH\n" msgstr "" "\n" "svn checkout [-N] [--ignore-externals] [-r rev] URL PATH\n" #. (para) #: ../source/TortoiseGit_en.xml:14795 msgid "" "If Only checkout the top folder is checked, use the " "-N switch." msgstr "" "如果希望只检出顶级目录被选中,使用-N选" "项。" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:14799 ../source/TortoiseGit_en.xml:14842 msgid "" "If Omit externals is checked, use the --ignore-" "externals switch." msgstr "" "如果希望忽略外部被选中,使用--ignore-externals选型。" #. (para) #: ../source/TortoiseGit_en.xml:14803 msgid "" "If you are checking out a specific revision, specify that after the URL using " "-r switch." msgstr "如果你正在检出特定的修订版本,在URL后使用-r指定。" #. (screen) #: ../source/TortoiseGit_en.xml:14810 #, no-wrap msgid "" "\n" "svn info URL_of_WC\n" "svn update [-r rev] PATH\n" msgstr "" "\n" "svn info URL_of_WC\n" "svn update [-r rev] PATH\n" #. (para) #: ../source/TortoiseGit_en.xml:14814 msgid "" "Updating multiple items is currently not an atomic operation in Git. " "So TortoiseGit first finds the HEAD revision of the repository, and then " "updates all items to that particular revision number to avoid creating a " "mixed revision working copy." msgstr "" "更新多个项目在Git还不是原子操作,所以TortoiseGit会首先找到版本库的HEAD" "修订版本,然后将所有项目更新到特定修订版本,防止出现混合修订版本的工作副本。" #. (para) #: ../source/TortoiseGit_en.xml:14821 msgid "" "If only one item is selected for updating or the selected items are not all " "from the same repository, TortoiseGit just updates to HEAD." msgstr "" "如果只有一个项目被选中更新,或选中的项目来自不同的版本库,TortoiseGit只会更新" "到HEAD。" #. (para) #: ../source/TortoiseGit_en.xml:14826 msgid "" "No command line options are used here. Update to revision also implements the update command, but offers more options." msgstr "" "没有使用命令行选项,更新到修订版本也实现了更新命令,但提" "供了更多的选项。" #. (title) #: ../source/TortoiseGit_en.xml:14833 msgid "Update to Revision" msgstr "更新到版本" #. (screen) #: ../source/TortoiseGit_en.xml:14834 #, no-wrap msgid "" "\n" "svn info URL_of_WC\n" "svn update [-r rev] [-N] [--ignore-externals] PATH\n" msgstr "" "\n" "svn info URL_of_WC\n" "svn update [-r rev] [-N] [--ignore-externals] PATH\n" #. (para) #: ../source/TortoiseGit_en.xml:14838 msgid "" "If Only update the top folder is checked, use the " "-N switch." msgstr "" "如果希望只更新顶级目录,使用-N选项。" #. (para) #: ../source/TortoiseGit_en.xml:14849 msgid "" "In TortoiseGit, the commit dialog uses several Git commands. The first " "stage is a status check which determines the items in your working copy which " "can potentially be committed. You can review the list, diff files against " "BASE and select the items you want to be included in the commit." msgstr "" "在TortoiseGit,提交对话框使用Git命令,第一部分是检查工作副本哪些文件可" "能被提交,然后你可以检查列表,比较与BASE的区别,选择你希望提交包含的项目。" #. (screen) #. (screen) #. (screen) #: ../source/TortoiseGit_en.xml:14856 ../source/TortoiseGit_en.xml:15018 #: ../source/TortoiseGit_en.xml:15046 #, no-wrap msgid "" "\n" "svn status -v PATH\n" msgstr "" "\n" "svn status -v PATH\n" #. (para) #. (para) #: ../source/TortoiseGit_en.xml:14859 ../source/TortoiseGit_en.xml:14947 msgid "" "If Show unversioned files is checked, TortoiseGit will " "also show all unversioned files and folders in the working copy hierarchy, " "taking account of the ignore rules. This particular feature has no direct " "equivalent in Git, as the svn status command does " "not descend into unversioned folders." msgstr "" "如果选择了显示未版本控制的文件,TortoiseGit会遵循忽略规则" "显示工作目录中所有未版本控制的文件和文件夹。这个特性在Git中没有等价操" "作,因为svn status 命令不扫描未版本控制的文件夹。" #. (para) #: ../source/TortoiseGit_en.xml:14867 msgid "" "If you check any unversioned files and folders, those items will first be " "added to your working copy." msgstr "" "如果你选择了未版本控制的文件和文件夹,这些项目都会先增加到你的工作副本。" #. (screen) #. (screen) #: ../source/TortoiseGit_en.xml:14871 ../source/TortoiseGit_en.xml:15159 #, no-wrap msgid "" "\n" "svn add PATH...\n" msgstr "" "\n" "svn add PATH...\n" #. (para) #: ../source/TortoiseGit_en.xml:14874 msgid "" "When you click on OK, the Git commit takes place. If you have left all " "the file selection checkboxes in their default state, TortoiseGit uses a " "single recursive commit of the working copy. If you deselect some files, then " "a non-recursive commit (-N) must be used, and every path " "must be specified individually on the commit command line." msgstr "" "当你点击确认,开始执行Git提交。如果你不修改所有的文件检查框," "TortoiseGit 会递归提交工作副本。如果你取消选择一些文件,那么就必须使用非递归提" "交 (-N) ,每个路径都必须在命令行上单独指定。" #. (screen) #: ../source/TortoiseGit_en.xml:14882 #, no-wrap msgid "" "\n" "svn commit -m \"LogMessage\" [-N] [--no-unlock] PATH...\n" msgstr "" "\n" "svn commit -m \"LogMessage\" [-N] [--no-unlock] PATH...\n" #. (para) #. (para) #. (para) #: ../source/TortoiseGit_en.xml:14885 ../source/TortoiseGit_en.xml:15091 #: ../source/TortoiseGit_en.xml:15172 msgid "" "LogMessage here represents the contents of the log message " "edit box. This can be empty." msgstr "日志消息是日志编辑框的内容。它可以为空。" #. (para) #: ../source/TortoiseGit_en.xml:14889 msgid "" "If Keep locks is checked, use the --no-unlock switch." msgstr "" "如果选择了保持锁,就使用--no-unlock开" "关。" #. (screen) #: ../source/TortoiseGit_en.xml:14896 #, no-wrap msgid "" "\n" "svn diff PATH\n" msgstr "" "\n" "svn diff PATH\n" #. (para) #: ../source/TortoiseGit_en.xml:14899 #, fuzzy msgid "" "If you use Diff from the main context menu, you are diffing a modified file " "against its BASE revision. The output from the CLI command above also does " "this and produces output in unified-diff format. However, this is not what " "TortoiseGit is using. TortoiseGit uses TortoiseMerge (or a diff program of " "your choosing) to display differences visually between full-text files, so " "there is no direct CLI equivalent." msgstr "" "如果你在右键菜单使用差异,就会将修改的文件与基础版本比较。控制台的命令输出也是" "执行这个操作,输出统一差异格式。然而,TortoiseGit不使用它。TortoiseGit 使用" "TortoiseMerge (或者你选择的比较差异程序)可视化的全文显示差异,所以它没有控制台" "等价操作。" #. (para) #: ../source/TortoiseGit_en.xml:14908 msgid "" "You can also diff any 2 files using TortoiseGit, whether or not they are " "version controlled. TortoiseGit just feeds the two files into the chosen diff " "program and lets it work out where the differences lie." msgstr "" "你可以使用TortoiseGit,比较任意两个文件的差异,不管他们是否受版本控制。" "TortoiseGit只是把这两个文件传递给已经选择的比较差异程序,让它比较差异。" #. (screen) #: ../source/TortoiseGit_en.xml:14917 #, no-wrap msgid "" "\n" "svn log -v -r 0:N --limit 100 [--stop-on-copy] PATH\n" " or\n" "svn log -v -r M:N [--stop-on-copy] PATH\n" msgstr "" "\n" "svn log -v -r 0:N --limit 100 [--stop-on-copy] PATH\n" " 或者\n" "svn log -v -r M:N [--stop-on-copy] PATH\n" #. (para) #: ../source/TortoiseGit_en.xml:14922 msgid "" "By default, TortoiseGit tries to fetch 100 log messages using the --limit " "method. If the settings instruct it to use old APIs, then the second form is " "used to fetch the log messages for 100 repository revisions." msgstr "" "默认情况下,TortoiseGit尝试用--limit方法取得100个日志消息。如果设置了让它使用" "旧借口,那么就使用第二种个是获得100个日志消息。" #. (para) #: ../source/TortoiseGit_en.xml:14928 msgid "" "If Stop on copy/rename is checked, use the --" "stop-on-copy switch." msgstr "" "如果选择了停止于复制/改名,就使用--stop-on-" "copy开关。" #. (screen) #: ../source/TortoiseGit_en.xml:14935 #, no-wrap msgid "" "\n" "svn status -v PATH\n" " or\n" "svn status -u -v PATH\n" msgstr "" "\n" "svn status -v PATH\n" " 或者\n" "svn status -u -v PATH\n" #. (para) #: ../source/TortoiseGit_en.xml:14940 msgid "" "The initial status check looks only at your working copy. If you click on " "Check repository then the repository is also checked " "to see which files would be changed by an update, which requires the " "-u switch." msgstr "" "只在你的工作副本执行初始的状态检查。如果你点击检查版本库,那么也检查版本库,察看哪些文件会被更新操作修改,它需要-" "u开关。" #. (title) #: ../source/TortoiseGit_en.xml:14957 msgid "Revision Graph" msgstr "版本图" #. (para) #: ../source/TortoiseGit_en.xml:14958 msgid "" "The revision graph is a feature of TortoiseGit only. There's no equivalent in " "the command line client." msgstr "版本图是TortoiseGit特有的,命令行客户端没有等价实现。" #. (para) #: ../source/TortoiseGit_en.xml:14962 msgid "" "What TortoiseGit does is an \n" "svn info URL_of_WC\n" "svn log -v URL\n" " where URL is the repository root and then " "analyzes the data returned." msgstr "" "TortoiseGit执行了这些操作 \n" "svn info URL_of_WC\n" "svn log -v URL\n" "其中URL是版本库的 ,返回分析数据。" #. (title) #: ../source/TortoiseGit_en.xml:14973 msgid "Repo Browser" msgstr "版本库浏览器" #. (screen) #: ../source/TortoiseGit_en.xml:14974 #, no-wrap msgid "" "\n" "svn info URL_of_WC\n" "svn list [-r rev] -v URL\n" msgstr "" "\n" "svn info URL_of_WC\n" "svn list [-r rev] -v URL\n" #. (para) #: ../source/TortoiseGit_en.xml:14978 msgid "" "You can use svn info to determine the repository root, " "which is the top level shown in the repository browser. You cannot navigate " "Up above this level. Also, this command returns all the " "locking information shown in the repository browser." msgstr "" "你可以使用svn info检查版本库的根,它在版本库浏览器的顶级显" "示。你不能浏览它的上级目录。同样,这个命令返回所有显示在版" "本库浏览器的锁信息。" #. (para) #: ../source/TortoiseGit_en.xml:14985 msgid "" "The svn list call will list the contents of a directory, " "given a URL and revision." msgstr "给出URL和可选的版本号,svn list列出目录中的内容。" #. (para) #: ../source/TortoiseGit_en.xml:14992 msgid "" "This command has no CLI equivalent. It invokes TortoiseMerge or an external 3-" "way diff/merge tool to look at the files involved in the conflict and sort " "out which lines to use." msgstr "" "这个命令没有控制台等价实现。它调用TortoiseMerge或者外部三路差异/合并工具察看棘" "手的冲突,挑选出冲突行。" #. (title) #: ../source/TortoiseGit_en.xml:14999 msgid "Resolved" msgstr "已解决" #. (screen) #: ../source/TortoiseGit_en.xml:15000 #, no-wrap msgid "" "\n" "svn resolved PATH\n" msgstr "" "\n" "svn resolved PATH\n" #. (screen) #: ../source/TortoiseGit_en.xml:15006 #, no-wrap msgid "" "\n" "svn rename CURR_PATH NEW_PATH\n" msgstr "" "\n" "svn rename CURR_PATH NEW_PATH\n" #. (screen) #: ../source/TortoiseGit_en.xml:15012 #, no-wrap msgid "" "\n" "svn delete PATH\n" msgstr "" "\n" "svn delete PATH\n" #. (para) #: ../source/TortoiseGit_en.xml:15021 msgid "" "The first stage is a status check which determines the items in your working " "copy which can potentially be reverted. You can review the list, diff files " "against BASE and select the items you want to be included in the revert." msgstr "" "首先开始状态检查,察看你的工作副本有哪些项目可以被撤销。你可以复审文件列表,检" "查这些文件的修改,然后选择你要撤销的项目。" #. (para) #: ../source/TortoiseGit_en.xml:15027 msgid "" "When you click on OK, the Git revert takes place. If you have left all " "the file selection checkboxes in their default state, TortoiseGit uses a " "single recursive (-R) revert of the working copy. If you " "deselect some files, then every path must be specified individually on the " "revert command line." msgstr "" "当你点击确认时,开始Git撤销操作。如果你不修改所有的文件检查框," "TortoiseGit 会递归撤销 (-R)工作副本的修改。如果你取消选择一" "些文件,那么就必须使用非递归撤销 ,每个路径都必须在命令行上单独指定。\"" #. (screen) #: ../source/TortoiseGit_en.xml:15034 #, no-wrap msgid "" "\n" "svn revert [-R] PATH...\n" msgstr "" "\n" "svn revert [-R] PATH...\n" #. (screen) #: ../source/TortoiseGit_en.xml:15040 #, no-wrap msgid "" "\n" "svn cleanup PATH\n" msgstr "" "\n" "svn cleanup PATH\n" #. (title) #: ../source/TortoiseGit_en.xml:15045 msgid "Get Lock" msgstr "获得锁" #. (para) #: ../source/TortoiseGit_en.xml:15049 msgid "" "The first stage is a status check which determines the files in your working " "copy which can potentially be locked. You can select the items you want to be " "locked." msgstr "" "首先开始状态检查,察看你的工作副本有哪些项目可以被加锁。你可以选择想加锁的项" "目。" #. (screen) #: ../source/TortoiseGit_en.xml:15054 #, no-wrap msgid "" "\n" "svn lock -m \"LockMessage\" [--force] PATH...\n" msgstr "" "\n" "svn lock -m \"LockMessage\" [--force] PATH...\n" #. (para) #: ../source/TortoiseGit_en.xml:15057 msgid "" "LockMessage here represents the contents of the lock " "message edit box. This can be empty." msgstr "加锁信息是加锁编辑框的内容。它可以为空。\"" #. (para) #: ../source/TortoiseGit_en.xml:15061 msgid "" "If Steal the locks is checked, use the --force switch." msgstr "" "如果选择了强制锁定 ,就使用--force开" "关。" #. (title) #: ../source/TortoiseGit_en.xml:15067 msgid "Release Lock" msgstr "释放锁" #. (screen) #: ../source/TortoiseGit_en.xml:15068 #, no-wrap msgid "" "\n" "svn unlock PATH\n" msgstr "" "\n" "svn unlock PATH\n" #. (screen) #: ../source/TortoiseGit_en.xml:15074 #, no-wrap msgid "" "\n" "svn copy -m \"LogMessage\" URL URL\n" " or\n" "svn copy -m \"LogMessage\" URL@rev URL@rev\n" " or\n" "svn copy -m \"LogMessage\" PATH URL\n" msgstr "" "\n" "svn copy -m \"LogMessage\" URL URL\n" " 或\n" "svn copy -m \"LogMessage\" URL@rev URL@rev\n" " 或\n" "svn copy -m \"LogMessage\" PATH URL\n" #. (para) #: ../source/TortoiseGit_en.xml:15081 msgid "" "The Branch/Tag dialog performs a copy to the repository. There are 3 radio " "button options: which correspond to the 3 command line " "variants above." msgstr "" "分支/标签对话框在版本库执行复制。有三个单选按钮: 对应上面的三" "个命令行参数。" #. (listitem) #: ../source/TortoiseGit_en.xml:15086 msgid "Specific revision in repository" msgstr "指定版本库中的版本" #. (screen) #: ../source/TortoiseGit_en.xml:15098 #, no-wrap msgid "" "\n" "svn info URL_of_WC\n" "svn switch [-r rev] URL PATH\n" msgstr "" "\n" "svn info URL_of_WC\n" "svn switch [-r rev] URL PATH\n" #. (screen) #: ../source/TortoiseGit_en.xml:15105 #, no-wrap msgid "" "\n" "svn merge [--dry-run] --force From_URL@revN To_URL@revM PATH\n" msgstr "" "\n" "svn merge [--dry-run] --force From_URL@revN To_URL@revM PATH\n" #. (para) #: ../source/TortoiseGit_en.xml:15108 msgid "" "The Dry run performs the same merge with the " "--dry-run switch." msgstr "" "Dry run与使用--dry-run选项的merge相" "同。" #. (screen) #: ../source/TortoiseGit_en.xml:15112 #, no-wrap msgid "" "\n" "svn diff From_URL@revN To_URL@revM\n" msgstr "" "\n" "svn diff From_URL@revN To_URL@revM\n" #. (para) #: ../source/TortoiseGit_en.xml:15115 msgid "" "The Unified diff shows the diff operation which will " "be used to do the merge." msgstr "Unified diff显示了用来合并的区别操作。" #. (screen) #: ../source/TortoiseGit_en.xml:15122 #, no-wrap msgid "" "\n" "svn export [-r rev] [--ignore-externals] URL Export_PATH\n" msgstr "" "\n" "svn export [-r rev] [--ignore-externals] URL Export_PATH\n" #. (para) #: ../source/TortoiseGit_en.xml:15125 msgid "" "This form is used when accessed from an unversioned folder, and the folder is " "used as the destination." msgstr "这个形式是当从一个未版本控制目录访问,并且文件夹作为目标。" #. (para) #: ../source/TortoiseGit_en.xml:15129 msgid "" "Exporting a working copy to a different location is done without using the " "Git library, so there's no matching command line equivalent." msgstr "" "导出一个工作副本到一个目录没有使用Git的库,所以没有等同的命令行匹配。" #. (para) #: ../source/TortoiseGit_en.xml:15134 msgid "" "What TortoiseGit does is to copy all files to the new location while showing " "you the progress of the operation. Unversioned files/folders can optionally " "be exported too." msgstr "" "TortoiseGit做的只是将所有文件复制到一个新的位置,并且会显示操作的过程。未版本" "控制的文件/文件夹也可以被导出。" #. (para) #: ../source/TortoiseGit_en.xml:15139 msgid "" "In both cases, if Omit externals is checked, use the " "--ignore-externals switch." msgstr "" "在两种情况下,如果Omit externals被选中,就相当于使用了" "--ignore-externals选项。" #. (screen) #: ../source/TortoiseGit_en.xml:15147 #, no-wrap msgid "" "\n" "svn switch --relocate From_URL To_URL\n" msgstr "" "\n" "svn switch --relocate From_URL To_URL\n" #. (title) #: ../source/TortoiseGit_en.xml:15152 msgid "Create Repository Here" msgstr "在当前位置创建版本库" #. (screen) #: ../source/TortoiseGit_en.xml:15153 #, no-wrap msgid "" "\n" "svnadmin create --fs-type fsfs PATH\n" msgstr "" "\n" "svnadmin create --fs-type fsfs PATH\n" #. (para) #: ../source/TortoiseGit_en.xml:15162 msgid "" "If you selected a folder, TortoiseGit first scans it recursively for items " "which can be added." msgstr "如果选择了一个文件夹,TortoiseGit会首先会递归的访问可以添加的条目。" #. (screen) #: ../source/TortoiseGit_en.xml:15169 #, no-wrap msgid "" "\n" "svn import -m LogMessage PATH URL\n" msgstr "" "\n" "svn import -m LogMessage PATH URL\n" #. (screen) #: ../source/TortoiseGit_en.xml:15179 #, no-wrap msgid "" "\n" "svn blame -r N:M -v PATH\n" "svn log -r N:M PATH\n" msgstr "" "\n" "svn blame -r N:M -v PATH\n" "svn log -r N:M PATH\n" #. (para) #: ../source/TortoiseGit_en.xml:15183 #, fuzzy msgid "" "If you use TortoiseBlame to view the blame info, the file log is also " "required to show log messages in a tooltip. If you view blame as a text file, " "this information is not required." msgstr "" "如果你使用TortoiseBlame来查看追溯信息,文件日志也需要在工具提上上显示日志信" "息,如果你以文件方式查看追溯,这个信息不是必须的。" #. (title) #: ../source/TortoiseGit_en.xml:15191 msgid "Add to Ignore List" msgstr "加入忽略列表" #. (screen) #: ../source/TortoiseGit_en.xml:15192 #, no-wrap msgid "" "\n" "svn propget svn:ignore PATH > tempfile\n" "{edit new ignore item into tempfile}\n" "svn propset svn:ignore -F tempfile PATH\n" msgstr "" "\n" "svn propget svn:ignore PATH > tempfile\n" "{编辑新的忽略内容到tempfile文件中}\n" "svn propset svn:ignore -F tempfile PATH\n" #. (para) #: ../source/TortoiseGit_en.xml:15197 #, fuzzy msgid "" "Because the svn:ignore property is often a multi-line " "value, it is shown here as being changed via a text file rather than directly " "on the command line." msgstr "" "因为svn:ignore通常是多行的,这里是通过文件显示,而不是直接使用命令行操作。" #. (screen) #: ../source/TortoiseGit_en.xml:15205 #, no-wrap msgid "" "\n" "svn diff PATH > patch-file\n" msgstr "" "\n" "svn diff PATH > patch-file\n" #. (para) #: ../source/TortoiseGit_en.xml:15208 #, fuzzy msgid "" "TortoiseGit creates a patch file in unified diff format by comparing the " "working copy with its BASE version." msgstr "" "TortoiseGit通过比较工作副本和它的基础版本产生一个标准区别格式(unified diff " "format)的补丁文件。" #. (para) #: ../source/TortoiseGit_en.xml:15215 msgid "" "Applying patches is a tricky business unless the patch and working copy are " "at the same revision. Luckily for you, you can use TortoiseMerge, which has " "no direct equivalent in Git." msgstr "" "如果补丁和工作副本不是同一版本的话,那么应用补丁会是一件很棘手的事情。幸运的" "是,你可以使用 TortoiseMerge(在Git中没有等同的工具)。" #. (title) #: ../source/TortoiseGit_en.xml:15229 msgid "Implementation Details" msgstr "实现细节" #. (para) #: ../source/TortoiseGit_en.xml:15231 #, fuzzy msgid "" "This appendix contains a more detailed discussion of the implementation of " "some of TortoiseGit's features." msgstr "这个附录包括了 TortoiseGit 使用中可能碰到的一些困难或疑问的解决方法。" #. (primary) #: ../source/TortoiseGit_en.xml:15239 msgid "overlay priority" msgstr "重载优先级" #. (para) #: ../source/TortoiseGit_en.xml:15244 msgid "" "Every file and folder has a Git status value as reported by the " "Git library. In the command line client, these are represented by " "single letter codes, but in TortoiseGit they are shown graphically using the " "icon overlays. Because the number of overlays is very limited, each overlay " "may represent one of several status values." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15252 msgid "" " The Conflicted overlay is used to represent the conflicted " "state, where an update or switch results in conflicts between local changes " "and changes downloaded from the repository. It is also used to indicate the " "obstructed state, which can occur when an operation is " "unable to complete." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15261 msgid "" " The Modified overlay represents the modified state, where you " "have made local modifications, the merged state, where " "changes from the repository have been merged with local changes, and the " "replaced state, where a file has been deleted and replaced " "by another different file with the same name." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15271 msgid "" " The Deleted overlay represents the deleted state, where an " "item is scheduled for deletion, or the missing state, " "where an item is not present. Naturally an item which is missing cannot have " "an overlay itself, but the parent folder can be marked if one of its child " "items is missing." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15280 #, fuzzy msgid "" " The Added " "overlay is simply used to represent the added status when " "an item has been added to version control." msgstr "" "加号告诉你有一个文件或是目录已经" "被计划加入版本控制。" #. (para) #: ../source/TortoiseGit_en.xml:15286 msgid "" " The In " "Git overlay is used to represent an item which is in the " "normal state, or a versioned item whose state is not yet " "known. Because TortoiseGit uses a background caching process to gather " "status, it may take a few seconds before the overlay updates." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15295 msgid "" " The Needs Lock overlay is used to indicate when a file has the svn:needs-" "lock property set. For working copies which were created using " "Git 1.4.0 and later, the svn:needs-lock status is " "cached locally by Git and this is used to determine when to show this " "overlay. For working copies which are in pre-1.4.x format, TortoiseGit shows " "this overlay when the file has read-only status. Note that Git " "automatically upgrades working copies when you update them, although the " "caching of the svn:needs-lock property may not happen " "until the file itself is updated." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15309 msgid "" " The Locked " "overlay is used when the local working copy holds a lock for that file." msgstr "" "已经锁定覆盖" "用于本地工作副本持有此文件的锁。" #. (para) #: ../source/TortoiseGit_en.xml:15314 #, fuzzy msgid "" " The Ignored overlay is used to represent an item which is in the " "ignored state, either due to a global ignore pattern, or " "the svn:ignore property of the parent folder. This overlay " "is optional." msgstr "" "加号告诉你有一个文件或是目录已经" "被计划加入版本控制。" #. (para) #: ../source/TortoiseGit_en.xml:15322 #, fuzzy msgid "" " The Unversioned overlay is used to represent an item which is in the " "unversioned state. This is an item in a versioned folder, " "but which is not under version control itself. This overlay is optional." msgstr "" "加号告诉你有一个文件或是目录已经" "被计划加入版本控制。" #. (para) #: ../source/TortoiseGit_en.xml:15330 msgid "" "If an item has Git status none (the item is not " "within a working copy) then no overlay is shown. If you have chosen to " "disable the Ignored and Unversioned " "overlays then no overlay will be shown for those files either." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15337 msgid "" "An item can only have one Git status value. For example a file could " "be locally modified and it could be marked for deletion at the same time. " "Git returns a single status value - in this case deleted. Those priorities are defined within Git itself." msgstr "" "每个条目只有一个 Git 状态。例如一个文件可以被本地修改,同时被标记为删" "除。Git 返回一个状态 - 即已经删除。这些优先级是 " "Git 自己定义的。" #. (para) #: ../source/TortoiseGit_en.xml:15344 msgid "" "When TortoiseGit displays the status recursively (the default setting), each " "folder displays an overlay reflecting its own status and the status of all " "its children. In order to display a single summary " "overlay, we use the priority order shown above to determine which overlay to " "use, with the Conflicted overlay taking highest priority." msgstr "" "当 TortoiseGit 递归显示状态时(默认配置),每个目录用重载图标显示自己的状态和所" "有子孙的状态。为了显示单个概要重载,我们使用上述优先级决" "定使用哪个重载,冲突重载使用最高优先级。" #. (para) #: ../source/TortoiseGit_en.xml:15353 #, fuzzy msgid "" "In fact, you may find that not all of these icons are used on your system. " "This is because the number of overlays allowed by Windows is limited to 15. " "Windows uses 4 of those, and the remaining 11 can be used by other " "applications. If there are not enough overlay slots available, TortoiseGit " "tries to be a Good Citizen (TM) and limits its use of overlays " "to give other apps a chance." msgstr "" "事实上,你会发现并不是所有的图标被使用在你的系统上。这是由于Windows限制图标重" "载不能超过15个。Windows自己用了4个,剩下11个可被别的应用程序使用。如果你同时使" "用了TortoiseCVS,就没有足够的空位了,所以TortoiseGit希望成为一个良好市" "民(TM),限制自身的使用,为别的应用留下机会。" #. (para) #: ../source/TortoiseGit_en.xml:15364 #, fuzzy msgid "" "Normal, Modified and " "Conflicted are always loaded and visible." msgstr "" "正常, 已修改冲突总" "是被载入,并可见。" #. (para) #: ../source/TortoiseGit_en.xml:15372 #, fuzzy msgid "" "Deleted is loaded if possible, but falls back to " "Modified if there are not enough slots." msgstr "" "已删除只要有可能的就载入,但如果没有足够的空位,就使用" "已修改来代替。" #. (para) #: ../source/TortoiseGit_en.xml:15379 #, fuzzy msgid "" "Read-Only is loaded if possible, but falls back to " "Normal if there are not enough slots." msgstr "" "只读只要有可能就载入,但如果没有足够的空位就使用正" "常来代替。" #. (para) #: ../source/TortoiseGit_en.xml:15386 #, fuzzy msgid "" "Locked is only loaded if there are fewer than 13 " "overlays already loaded. It falls back to Normal if " "there are not enough slots." msgstr "" "已锁定只在少于13个重载已经载入的情况下才加载,如果不满足这" "个条件就使用正常来代替。" #. (para) #: ../source/TortoiseGit_en.xml:15394 #, fuzzy msgid "" "Added is only loaded if there are fewer than 14 overlays " "already loaded. It falls back to Modified if there are " "not enough slots." msgstr "" "已增加只在少于14个重载已经载入的情况下才加载,如果不满足这" "个条件就使用已修改来代替" #. (title) #: ../source/TortoiseGit_en.xml:15405 msgid "Securing Svnserve using SSH" msgstr "用 SSH 使服务器更安全" #. (para) #: ../source/TortoiseGit_en.xml:15407 msgid "" "This section provides a step-by-step guide to setting up Git and " "TortoiseGit to use the svn+ssh protocol. If you already " "use authenticated SSH connections to login to your server, then you are " "already there and you can find more detail in the Git book. If you are " "not using SSH but would like to do so to protect your Git " "installation, this guide gives a simple method which does not involve " "creating a separate SSH user account on the server for every Git user." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15417 msgid "" "In this implementation we create a single SSH user account for all Git " "users, and use different authentication keys to differentiate between the " "real Git users." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15422 msgid "" "In this appendix we assume that you already have the Git tools " "installed, and that you have created a repository as detailed elsewhere in " "this manual. Note that you should not start svnserve as " "a service or daemon when used with SSH." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15428 msgid "" "Much of the information here comes from a tutorial provided by Marc Logemann, " "which can be found at www.logemann.org Additional information on setting up a Windows server was provided by " "Thorsten Müller. Thanks guys!" msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:15439 msgid "Setting Up a Linux Server" msgstr "配置 Linux 服务器" #. (para) #: ../source/TortoiseGit_en.xml:15440 msgid "" "You need to have SSH enabled on the server, and here we assume that you will " "be using OpenSSH. On most distributions this will already be installed. To " "find out, type: \n" "ps xa | grep sshd\n" " and look for ssh jobs." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15449 msgid "" "One point to note is that if you build Git from source and do not " "provide any argument to ./configure, Git creates " "a bin directory under /usr/local " "and places its binaries there. If you want to use tunneling mode with SSH, " "you have to be aware that the user logging in via SSH needs to execute the " "svnserve program and some other binaries. For this reason, either place " "/usr/local/bin into the PATH variable " "or create symbolic links of your binaries to the /usr/sbin directory, or to any other directory which is commonly in the " "PATH." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15462 msgid "" "To check that everything is OK, login in as the target user with SSH and " "type: \n" "which svnserve\n" " This command should tell you if svnserve is reachable." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15470 msgid "" "Create a new user which we will use to access the svn repository: \n" "useradd -m svnuser\n" " Be sure to give this user full access rights to the repository." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:15479 msgid "Setting Up a Windows Server" msgstr "配置 Windows 服务器" #. (para) #: ../source/TortoiseGit_en.xml:15480 msgid "" "Install Cygwin SSH daemon as described here: http://pigtail.net/LRP/printsrv/" "cygwin-sshd.html" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15486 msgid "" "Create a new Windows user account svnuser which we will " "use to access the repository. Be sure to give this user full access rights to " "the repository." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15491 msgid "" "If there is no password file yet then create one from the Cygwin console " "using: \n" "mkpasswd -l > /etc/passwd\n" "" msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:15499 msgid "SSH Client Tools for use with TortoiseGit" msgstr "用于 TortoiseGit 的 SSH 客户端工具" #. (para) #: ../source/TortoiseGit_en.xml:15500 msgid "" "Grab the tools we need for using SSH on the windows client from this site: " "http://www.chiark.greenend.org.uk/~sgtatham/putty/ Just go to the download section and get Putty, " "Plink, Pageant and " "Puttygen." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:15513 msgid "Creating OpenSSH Certificates" msgstr "创建 OpenSSH 证书" #. (para) #: ../source/TortoiseGit_en.xml:15514 msgid "" "The next step is to create a key pair for authentication. There are two " "possible ways to create keys. The first is to create the keys with PuTTYgen " "on the client, upload the public key to your server and use the private key " "with PuTTY. The other is to create the key pair with the OpenSSH tool ssh-" "keygen, download the private key to your client and convert the private key " "to a PuTTY-style private key." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:15524 msgid "Create Keys using ssh-keygen" msgstr "使用 ssh-keygen 创建密钥" #. (para) #: ../source/TortoiseGit_en.xml:15525 msgid "" "Login to the server as root or svnuser " "and type: \n" "ssh-keygen -b 1024 -t dsa -N passphrase -f keyfile\n" " substituting a real pass-phrase (which only you know) and key file. " "We just created a SSH2 DSA key with 1024 bit key-phrase. If you type " "\n" "ls -l keyfile*\n" " you will see two files, keyfile and " "keyfile.pub. As you might guess, the .pub file is the public key file, the other is the private one." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15542 msgid "" "Append the public key to those in the .ssh folder within " "the svnuser home directory: \n" "cat keyfile.pub >> /home/svnuser/.ssh/authorized_keys\n" "" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15549 msgid "" "In order to use the private key we generated, we have to convert it to a " "putty format. This is because the private key file format is not specified by " "a standards body. After you download the private key file to your client PC, " "start PuTTYgen and use ConversionsImport key. Browse to your " "file keyfile which you got from the server the " "passphrase you used when creating the key. Finally click on Save " "private key and save the file as keyfile.PPK." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:15566 msgid "Create Keys using PuTTYgen" msgstr "使用 PuTTYgen 创建密钥" #. (para) #: ../source/TortoiseGit_en.xml:15567 msgid "" "Use PuTTYgen to generate a public-key/private-key pair and save it. Copy the " "public key to the server and append it to those in the .ssh folder within the svnuser home directory: " "\n" "cat keyfile.pub >> /home/svnuser/.ssh/authorized_keys\n" "" msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:15579 msgid "Test using PuTTY" msgstr "使用 PuTTY 测试" #. (para) #: ../source/TortoiseGit_en.xml:15580 msgid "" "To test the connection we will use PuTTY. Start the program and on the " "Session tab set the hostname to the name or IP address " "of your server, the protocol to SSH and save the session as " "SvnConnection or whatever name you prefer. On the " "SSH tab set the preferred SSH protocol version to 2 and " "from Auth set the full path to the .PPK private key file you converted earlier. Go back to the " "Sessions tab and hit the Save " "button. You will now see SvnConnection in the list of " "saved sessions." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15593 msgid "" "Click on Open and you should see a telnet style login " "prompt. Use svnuser as the user name and if all is well " "you should connect directly without being prompted for a password." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15599 msgid "" "You may need to edit /etc/sshd_config on the server. " "Edit lines as follows and restart the SSH service afterwards. \n" "PubkeyAuthentication yes\n" "PasswordAuthentication no\n" "PermitEmptyPasswords no\n" "ChallengeResponseAuthentication no\n" "" msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:15611 msgid "Testing SSH with TortoiseGit" msgstr "使用 TortoiseGit 测试 SSH" #. (para) #: ../source/TortoiseGit_en.xml:15612 msgid "" "So far we have only tested that you can login using SSH. Now we need to make " "sure that the SSH connection can actually run svnserve. On the server modify " "/home/svnuser/.ssh/authorized_keys as follows to allow " "many Git authors to use the same system account, svnuser. Note that every Git author uses the same login but a " "different authentication key, thus you have to add one line for every author." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15621 msgid "" "Note: This is all on one very long line. \n" "command=\"svnserve -t -r <ReposRootPath> --tunnel-user=<author>" "\",\n" " no-port-forwarding,no-agent-forwarding,no-X11-forwarding,\n" " no-pty ssh-rsa <PublicKey> <Comment>\n" " There are several values that you need to set according to your " "setup." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15630 msgid "" "<ReposRootPath> should be replaced with the path to " "the directory containing your repositories. This avoids the need to specify " "full server paths within URLs. Note that you must use forward slashes even on " "a Windows server, e.g. c:/svn/reposroot. In the examples " "below we assume that you have a repository folder within the repository root " "called repos." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15639 msgid "" "<author> should be replaced with the svn author that " "you want to be stored on commit. This also allows svnserve to use its own " "access rights within svnserve.conf." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15644 msgid "" "<PublicKey> should be replaced with the public key " "that you generated earlier." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15648 msgid "" "<Comment> can be any comment you like, but it is " "useful for mapping an svn author name to the person's real name." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15652 msgid "" "Right click on any folder in Windows Explorer and select " "TortoiseGitRepo-Browser. You will be prompted to enter a URL, so enter one " "in this form: \n" "svn+ssh://svnuser@SvnConnection/repos\n" " What does this URL mean? The Schema name is svn+ssh which tells TortoiseGit how to handle the requests to the server. " "After the double slash, you specify the user to connect to the server, in our " "case svnuser. After the @ we supply our " "PuTTY session name. This session name contains all details like where to find " "the private key and the server's IP or DNS. Lastly we have to provide the " "path to the repository, relative to the repository root on the server, as " "specified in the authorized_keys file." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15672 msgid "" "Click on OK and you should be able to browse the " "repository content. If so you now have a running SSH tunnel in conjunction " "with TortoiseGit." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15677 msgid "" "Note that by default TortoiseGit uses its own version of Plink to connect. " "This avoids a console window popping up for every authentication attempt, but " "it also means that there is nowhere for error messages to appear. If you " "receive the error Unable to write to standard output, you can " "try specifying Plink as the client in TortoiseGit's network settings. This " "will allow you to see the real error message generated by Plink." msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:15687 msgid "SSH Configuration Variants" msgstr "SSH 配置参数" #. (para) #: ../source/TortoiseGit_en.xml:15688 msgid "" "One way to simplify the URL in TortoiseGit is to set the user inside the " "PuTTY session. For this you have to load your already defined session " "SvnConnection in PuTTY and in the Connection tab set Auto login user to the user name, e.g. " "svnuser. Save your PuTTY session as before and try the " "following URL inside TortoiseGit: \n" "svn+ssh://SvnConnection/repos\n" " This time we only provide the PuTTY session SvnConnection to the SSH client TortoiseGit uses (TortoisePlink.exe). This client " "will check the session for all necessary details." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15703 msgid "" "At the time of writing PuTTY does not check all saved configurations, so if " "you have multiple configurations with the same server name, it will pick the " "first one which matches. Also, if you edit the default configuration and save " "it, the auto login user name is not saved." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15710 msgid "" "Many people like to use Pageant for storing all their keys. Because a PuTTY " "session is capable of storing a key, you don't always need Pageant. But " "imagine you want to store keys for several different servers; in that case " "you would have to edit the PuTTY session over and over again, depending on " "the server you are trying to connect with. In this situation Pageant makes " "perfect sense, because when PuTTY, Plink, TortoisePlink or any other PuTTY-" "based tool is trying to connect to an SSH server, it checks all private keys " "that Pageant holds to initiate the connection." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15721 msgid "" "For this task, simply run Pageant and add the private key. It should be the " "same private key you defined in the PuTTY session above. If you use Pageant " "for private key storage, you can delete the reference to the private key file " "in your saved PuTTY session. You can add more keys for other servers, or " "other users of course." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15728 msgid "" "If you don't want to repeat this procedure after every reboot of your client, " "you should place Pageant in the auto-start group of your Windows " "installation. You can append the keys with complete paths as command line " "arguments to Pageant.exe" msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15734 msgid "" "The last way to connect to an SSH server is simply by using this URL inside " "TortoiseGit: \n" "svn+ssh://svnuser@100.101.102.103/repos\n" "svn+ssh://svnuser@mydomain.com/repos\n" " As you can see, we don't use a saved PuTTY session but an IP " "address (or domain name) as the connection target. We also supply the user, " "but you might ask how the private key file will be found. Because " "TortoisePlink.exe is just a modified version of the standard Plink tool from " "the PuTTY suite, TortoiseGit will also try all the keys stored in Pageant." msgstr "" #. (para) #: ../source/TortoiseGit_en.xml:15748 msgid "" "If you use this last method, be sure you do not have a default username set " "in PuTTY. We have had reports of a bug in PuTTY causing connections to close " "in this case. To remove the default user, simply clear " "HKEY_CURRENT_USER\\Software\\SimonTatham\\Putty\\Sessions\\Default%" "20Settings\\HostName" msgstr "" #. (title) #: ../source/TortoiseGit_en.xml:15760 msgid "Glossary" msgstr "术语表" #. (para) #: ../source/TortoiseGit_en.xml:15764 msgid "" "A Git command that is used to add a file or directory to your working " "copy. The new items are added to the repository when you commit." msgstr "" "向你的工作副本中增加文件或者目录时使用的 Git 命令。在你提交的时候新的项" "就会被加入到版本库中。" #. (glossterm) #: ../source/TortoiseGit_en.xml:15772 msgid "BASE revision" msgstr "基础版本(BASE revision)" #. (para) #: ../source/TortoiseGit_en.xml:15774 msgid "" "The current base revision of a file or folder in your working copy. This is the revision the file or folder was in, when the last " "checkout, update or commit was run. The BASE revision is normally not equal " "to the HEAD revision." msgstr "" "当前工作副本里的文件或目录的基础版本。是文件或目录最后被" "检出、更新或者提交时的版本。基础版本通常和HEAD版本不一致。" #. (para) #: ../source/TortoiseGit_en.xml:15785 msgid "" "This command is for text files only, and it annotates every line to show the " "repository revision in which it was last changed, and the author who made " "that change. Our GUI implementation is called TortoiseBlame and it also shows " "the commit date/time and the log message when you hover the mouse of the " "revision number." msgstr "" "这个命令只能用于文本文件,它将会标记每一行来显示版本库修订版本的最后修改的修订" "和作出修改的人。我们的GUI实现叫做TortoiseBlame,在你将鼠标移到修订版本号码上" "时,它也会显示时间和日志信息。" #. (glossterm) #: ../source/TortoiseGit_en.xml:15795 msgid "BDB" msgstr "BDB" #. (para) #: ../source/TortoiseGit_en.xml:15797 msgid "" "Berkeley DB. A well tested database backend for repositories, that cannot be " "used on network shares. Default for pre 1.2 repositories." msgstr "" "伯克利DB(Berkeley DB),版本库可以使用的一种经过充分测试的后台数据库实现,不能" "在通过网络共享的文件系统上使用,伯克利DB是 Git 1.2 版本以前的缺省版本库" "格式。" #. (glossterm) #: ../source/TortoiseGit_en.xml:15804 msgid "Branch" msgstr "分支" #. (para) #: ../source/TortoiseGit_en.xml:15806 #, fuzzy msgid "" "A term frequently used in revision control systems to describe what happens " "when development forks at a particular point and follows 2 separate paths. " "You can create a branch off the main development line so as to develop a new " "feature without rendering the main line unstable. Or you can branch a stable " "release to which you make only bug fixes, while new developments take place " "on the unstable trunk. In Git a branch is implemented as a " "cheap copy." msgstr "" "有一个版本控制系统经常使用,来描述在某个时间点的两个人追随不同的路径的术语。你" "可以创建一个分支离开开发的主线来添加一个新特性,而不必影响主线的稳定,或者你可" "以创建一个分支用来发布bug修正,而新的开发发生在不稳定的主干。在 Git,分" "支是使用廉价的复制实现的。" #. (para) #: ../source/TortoiseGit_en.xml:15821 msgid "" "A Git command which creates a local working copy in an empty directory " "by downloading versioned files from the repository." msgstr "" "一个 Git 命令在空目录通过从版本库下载版本控制的文件来创建本地工作副本。" #. (para) #: ../source/TortoiseGit_en.xml:15830 #, fuzzy msgid "" "To quote from the Git book: Recursively clean up the working " "copy, removing locks and resuming unfinished operations. If you ever get a " "working copy locked error, run this command to remove " "stale locks and get your working copy into a usable state again. " "Note that in this context lock refers to local " "filesystem locking, not repository locking." msgstr "" "来自 Git 手册的引用: 递归的清理工作副本,删除锁定和保留的未完成" "操作。如果你得到工作副本已锁定的错误,运行这个命令删除无用" "的锁定,并将工作副本恢复到可用状态。" #. (para) #: ../source/TortoiseGit_en.xml:15847 msgid "" "This Git command is used to pass the changes in your local working " "copy back into the repository, creating a new repository revision." msgstr "" "一个 Git 操作,用来将本地修改的内容传递回版本库,创建一个新的版本库修订" "版本。" #. (glossterm) #: ../source/TortoiseGit_en.xml:15855 msgid "Conflict" msgstr "冲突" #. (para) #: ../source/TortoiseGit_en.xml:15857 msgid "" "When changes from the repository are merged with local changes, sometimes " "those changes occur on the same lines. In this case Git cannot " "automatically decide which version to use and the file is said to be in " "conflict. You have to edit the file manually and resolve the conflict before " "you can commit any further changes." msgstr "" "当版本库的修改合并到本地修改,有时候修改发生在同一行,这种情况下,Git " "不能自动决定使用文件的那一行,在提交之前,你需要手工编辑文件解决冲突。" #. (glossterm) #: ../source/TortoiseGit_en.xml:15867 msgid "Copy" msgstr "复制" #. (para) #: ../source/TortoiseGit_en.xml:15869 msgid "" "In a Git repository you can create a copy of a single file or an " "entire tree. These are implemented as cheap copies which act a " "bit like a link to the original in that they take up almost no space. Making " "a copy preserves the history of the item in the copy, so you can trace " "changes made before the copy was made." msgstr "" "在 Git 版本库,你可以创建一个文件或整个目录树的副本,这是通过廉" "价复制实现的,看起来很像链接到原来的位置,几乎不占用任何空间。创建一个" "保存历史的副本,这样你就可以跟踪副本之前的修改。" #. (para) #: ../source/TortoiseGit_en.xml:15881 #, fuzzy msgid "" "When you delete a versioned item (and commit the change) the item no longer " "exists in the repository after the committed revision. But of course it still " "exists in earlier repository revisions, so you can still access it. If " "necessary, you can copy a deleted item and resurrect it " "complete with history." msgstr "" "当你删除了一个版本控制的条目(并且提交这个修改),这个条目将不会存在于版本库以后" "的修订。但它还是存在于版本库的以前的修订版本里,如果必要,你可以复制一个删除的" "条目回来,并且保持所有的历史。" #. (para) #: ../source/TortoiseGit_en.xml:15893 msgid "" "Shorthand for Show Differences. Very useful when you want to " "see exactly what changes have been made." msgstr "" "显示区别的快捷方式,当你希望查看你所做修改的时候非常有用。" #. (para) #: ../source/TortoiseGit_en.xml:15902 msgid "" "This command produces a copy of a versioned folder, just like a working copy, " "but without the local .svn folders." msgstr "" "这个命令创建了一个版本控制目录的副本,就像工作副本,但是没有.svn目录。" #. (glossterm) #: ../source/TortoiseGit_en.xml:15910 msgid "FSFS" msgstr "FSFS" #. (para) #: ../source/TortoiseGit_en.xml:15912 #, fuzzy msgid "" "A proprietary Git filesystem backend for repositories. Can be used on " "network shares. Default for 1.2 and newer repositories." msgstr "" "FS文件系统,版本库可以使用的一种 Git 专用的后台文件系统格式,能够在通过" "网络共享的文件系统上使用,FSFS 是Git 1.2 版本以后的缺省版本库格式。" #. (para) #: ../source/TortoiseGit_en.xml:15921 msgid "Group policy object" msgstr "组策略对象" #. (glossterm) #: ../source/TortoiseGit_en.xml:15927 msgid "HEAD revision" msgstr "最新版本(HEAD revision)" #. (para) #: ../source/TortoiseGit_en.xml:15929 msgid "" "The latest revision of a file or folder in the repository." msgstr "版本库里文件或目录的最新版本。" #. (para) #: ../source/TortoiseGit_en.xml:15937 msgid "" "Git command to import an entire folder hierarchy into the repository " "in a single revision." msgstr "在一个修订里将整个目录导入到版本库的 Git 命令。" #. (para) #: ../source/TortoiseGit_en.xml:15946 #, fuzzy msgid "" "When you take out a lock on a versioned item, you mark it in the repository " "as non-committable, except from the working copy where the lock was taken out." msgstr "" "当一个版本控制条目的被你锁定,就是将它在版本库里标示为不可提交,只有作出锁定的" "工作副本可以提交。" #. (glossterm) #: ../source/TortoiseGit_en.xml:15954 msgid "Log" msgstr "日志" #. (para) #: ../source/TortoiseGit_en.xml:15956 msgid "" "Show the revision history of a file or folder. Also known as History." msgstr "显示一个文件或是文件夹的版本历史。也就是历史。" #. (glossterm) #: ../source/TortoiseGit_en.xml:15963 msgid "History" msgstr "历史" #. (para) #: ../source/TortoiseGit_en.xml:15965 msgid "" "Show the revision history of a file or folder. Also known as Log." msgstr "显示文件或目录的历史修订,也被称为Log。" #. (para) #: ../source/TortoiseGit_en.xml:15974 msgid "" "The process by which changes from the repository are added to your working " "copy without disrupting any changes you have already made locally. Sometimes " "these changes cannot be reconciled automatically and the working copy is said " "to be in conflict." msgstr "" "这个过程会查看版本库添加到工作副本的的修改,而不会破坏你在本地的修改,有时候这" "些修改可能不会自动的结合,也就是冲突了。" #. (para) #: ../source/TortoiseGit_en.xml:15980 msgid "" "Merging happens automatically when you update your working copy. You can also " "merge specific changes from another branch using TortoiseGit's Merge command." msgstr "" "在你更新工作副本时会自动合并,你也可以使用TortoiseGit的合并命令从另一条分支进" "行合并。" #. (glossterm) #: ../source/TortoiseGit_en.xml:15988 msgid "Patch" msgstr "补丁" #. (para) #: ../source/TortoiseGit_en.xml:15990 msgid "" "If a working copy has changes to text files only, it is possible to use " "Git's Diff command to generate a single file summary of those changes " "in Unified Diff format. A file of this type is often referred to as a " "Patch, and it can be emailed to someone else (or to a mailing " "list) and applied to another working copy. Someone without commit access can " "make changes and submit a patch file for an authorized committer to apply. Or " "if you are unsure about a change you can submit a patch for others to review." msgstr "" "如果工作副本只有文本文件有修改,也可以使用 Git 的 Diff 命令生成标准区别" "格式的单文件的修改摘要。这种文件通常被叫做补丁,可以邮寄给任何" "人,使之可以应用到另一个工作副本。一些没有提交访问的人可以通过提交补丁文件给有" "授权的人来应用补丁,或者是在不确定修改时提交补丁给别人进行评审。" #. (glossterm) #: ../source/TortoiseGit_en.xml:16003 msgid "Property" msgstr "属性" #. (para) #: ../source/TortoiseGit_en.xml:16005 msgid "" "In addition to versioning your directories and files, Git allows you " "to add versioned metadata - referred to as properties to each " "of your versioned directories and files. Each property has a name and a " "value, rather like a registry key. Git has some special properties " "which it uses internally, such as svn:eol-style. " "TortoiseGit has some too, such as tsvn:logminsize. You can " "add your own properties with any name and value you choose." msgstr "" "除了版本控制文件和目录,Git 允许你添加版本控制的元数据 - 被称作每个文件" "和目录的属性 。每个属性都有一个名称和一个值,非常类似于注册表" "键。Git 有一些内置的特别属性,例如 svn:eol-style。" "TortoiseGit 也有一些类似的,例如 tsvn:logminsize,你可以选" "择名称和值添加你自己的属性。" #. (para) #: ../source/TortoiseGit_en.xml:16020 msgid "" "If your repository moves, perhaps because you have moved it to a different " "directory on your server, or the server domain name has changed, you need to " "relocate your working copy so that its repository URLs point " "to the new location." msgstr "" "如果你的版本库移动了,或许是因为移动到了一个新的目录,或者是域名改变,你需要" "relocate你的工作副本,这样你的版本库URL指向新的地址。" #. (para) #: ../source/TortoiseGit_en.xml:16026 msgid "" "Note: you should only use this command if your working copy is referring to " "the same location in the same repository, but the repository itself has " "moved. In any other circumstance you probably need the Switch " "command instead." msgstr "" "注意: 工作副本必须是指向同一个版本库的同一个位置,是版本库本身移动了。在其他几" "种情况下,你很有可能是需要Switch命令。" #. (glossterm) #: ../source/TortoiseGit_en.xml:16035 msgid "Repository" msgstr "版本库" #. (para) #: ../source/TortoiseGit_en.xml:16037 msgid "" "A repository is a central place where data is stored and maintained. A " "repository can be a place where multiple databases or files are located for " "distribution over a network, or a repository can be a location that is " "directly accessible to the user without having to travel across a network." msgstr "" "版本库是进行数据存储和维护的中心。版本库既可以由分布在网络上的若干数据库或者文" "件组成,也可以存放在用户不需要通过网络就可以直接访问的某个位置。" #. (para) #: ../source/TortoiseGit_en.xml:16048 msgid "" "When files in a working copy are left in a conflicted state following a " "merge, those conflicts must be sorted out by a human using an editor (or " "perhaps TortoiseMerge). This process is referred to as Resolving " "Conflicts. When this is complete you can mark the conflicted files as " "being resolved, which allows them to be committed." msgstr "" "当合并之后版本库的文件进入了冲突状态,必须有人用编辑器解决冲突(或者是" "TortoiseMerge),这个过程称作解决冲突,当此过程结束,你可以将冲" "突文件标示为解决,将会运行提交这个文件。" #. (para) #: ../source/TortoiseGit_en.xml:16060 msgid "" "Git keeps a local pristine copy of each file as it was " "when you last updated your working copy. If you have made changes and decide " "you want to undo them, you can use the revert command to go " "back to the pristine copy." msgstr "" "Git 会为每个更新到工作副本的文件保留一份原始副本。如果你" "做出了修改,并希望取消修改,你可以使用revert回到原始状态。" #. (glossterm) #: ../source/TortoiseGit_en.xml:16069 msgid "Revision" msgstr "Revision" #. (para) #: ../source/TortoiseGit_en.xml:16071 msgid "" "Every time you commit a set of changes, you create one new revision in the repository. Each revision represents the state of the " "repository tree at a certain point in its history. If you want to go back in " "time you can examine the repository as it was at revision N." msgstr "" "每当你提交一组修改,你会在版本库创建一个修订版本,每个修订代表" "了版本库树在历史上某一点的状态,如果你希望回到历史,你可以回到以前的修订版本" "N。" #. (para) #: ../source/TortoiseGit_en.xml:16078 msgid "" "In another sense, a revision can refer to the set of changes that were made " "when that revision was created." msgstr "另一种情况下,你可以把修订看作修订版本建立的修改集。" #. (glossterm) #: ../source/TortoiseGit_en.xml:16085 msgid "Revision Property (revprop)" msgstr "版本属性(revprop)" #. (para) #: ../source/TortoiseGit_en.xml:16087 msgid "" "Just as files can have properties, so can each revision in the repository. " "Some special revprops are added automatically when the revision is created, " "namely: svn:date svn:author svn:log which represent the " "commit date/time, the committer and the log message respectively. These " "properties can be edited, but they are not versioned, so any change is " "permanent and cannot be undone." msgstr "" "就像文件,版本库的每个修订也可以有属性。一些特殊的修订属性会在修订版本创建时自" "动生成,例如: svn:date svn:author svn:log代表了提交的时间," "提交者和日志信息。这些属性可以编辑,但是这些属性都不是版本控制的,所以任何修改" "都是永久的,不可回退的。" #. (glossterm) #: ../source/TortoiseGit_en.xml:16099 msgid "SVN" msgstr "SVN" #. (para) #: ../source/TortoiseGit_en.xml:16101 msgid "A frequently-used abbreviation for Git." msgstr "Git 的常见缩写形式。" #. (para) #: ../source/TortoiseGit_en.xml:16104 msgid "" "The name of the Git custom protocol used by the svnserve repository server." msgstr "Git 的svnserve版本库服务器使用的自定义协议名称。" #. (para) #: ../source/TortoiseGit_en.xml:16113 msgid "" "Just as Update-to-revision changes the time window of a " "working copy to look at a different point in history, so Switch changes the space window of a working copy so that it points to a " "different part of the repository. It is particularly useful when working on " "trunk and branches where only a few files differ. You can switch your working " "copy between the two and only the changed files will be transferred." msgstr "" "就像Update-to-revision从历史上改变了工作副本的视点," "Switch改变了工作副本空间上的视点。当主干和分支只有微小差别时," "这个命令非常有用,你可以在目录之间跳转,而只会有很小区别需要传输。" #. (para) #: ../source/TortoiseGit_en.xml:16127 msgid "" "This Git command pulls down the latest changes from the repository " "into your working copy, merging any changes made by others with local changes " "in the working copy." msgstr "" "这个命令将最新的修改从版本库下载到工作副本,合并其他人的修改和工作副本的本地修" "改。" #. (glossterm) #: ../source/TortoiseGit_en.xml:16135 msgid "Working Copy" msgstr "工作副本" #. (para) #: ../source/TortoiseGit_en.xml:16137 msgid "" "This is your local sandbox, the area where you work on the " "versioned files, and it normally resides on your local hard disk. You create " "a working copy by doing a Checkout from a repository, and you " "feed your changes back into the repository using Commit." msgstr "" "这是你的本地沙盒,这个区域是你工作在版本控制文件的地方,它一般" "存在于你的本地磁盘,你可以使用Checkout从版本库创建一个工作副" "本,然后使用Commit将修改传递回版本库。"