# translation of kdevformatters.po to 简体中文 # Copyright (C) 2002,2003, 2004, 2008, 2009 Free Software Foundation, Inc. # # Qi Liang , 2001. # Xiong Jiang , 2002,2003, 2004. # Funda Wang , 2005. # Ni Hui , 2008, 2009, 2010. # Sign , 2013. msgid "" msgstr "" "Project-Id-Version: kdevformatters\n" "Report-Msgid-Bugs-To: xakepa10@gmail.com\n" "POT-Creation-Date: 2015-11-05 07:06+0200\n" "PO-Revision-Date: 2013-01-26 15:11+0800\n" "Last-Translator: Sign \n" "Language-Team: Chinese Simplified \n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Lokalize 1.4\n" #: astyle/astyle_plugin.cpp:37 msgid "Astyle Formatter" msgstr "Astyle 格式化器" #: astyle/astyle_plugin.cpp:37 msgid "A formatting tool using astyle" msgstr "一个使用 astyle 的格式化工具" #: astyle/astyle_plugin.cpp:65 msgid "" "Artistic Style is a source code indenter, formatter, and beautifier " "for the C, C++, C# and Java programming languages.
Home Page: http://astyle.sourceforge.net" msgstr "" "Artistic Style 是个用于 C、C++、C# 和 Java 编程语言的源代码缩进器、格" "式化器和美化器。
主页:http://astyle.sourceforge.net" #. i18n: file: astyle/astyle_preferences.ui:21 #. i18n: ectx: attribute (title), widget (QWidget, tabIndentqtion) #: rc.cpp:3 msgid "Indentation" msgstr "缩进" #. i18n: file: astyle/astyle_preferences.ui:36 #. i18n: ectx: property (text), item, widget (KComboBox, cbIndentType) #: rc.cpp:6 msgctxt "Indentation type" msgid "Tabs" msgstr "制表符" #. i18n: file: astyle/astyle_preferences.ui:41 #. i18n: ectx: property (text), item, widget (KComboBox, cbIndentType) #: rc.cpp:9 msgctxt "Indentation type" msgid "Force tabs" msgstr "强制制表符" #. i18n: file: astyle/astyle_preferences.ui:46 #. i18n: ectx: property (text), item, widget (KComboBox, cbIndentType) #: rc.cpp:12 msgctxt "Indentation type" msgid "Spaces" msgstr "空格" #. i18n: file: astyle/astyle_preferences.ui:74 #. i18n: ectx: property (toolTip), widget (QSpinBox, inpNuberSpaces) #: rc.cpp:15 msgid "" "Number of spaces that will be converted to a tab.\n" "The number of spaces per tab is controled by the editor." msgstr "" "要转换为制表符的空格数。\n" "每个制表符的空格数由编辑器控制。" #. i18n: file: astyle/astyle_preferences.ui:92 #. i18n: ectx: property (toolTip), widget (QCheckBox, chkConvertTabs) #: rc.cpp:19 msgid "Convert tabs to spaces." msgstr "转换制表符为空格。" #. i18n: file: astyle/astyle_preferences.ui:95 #. i18n: ectx: property (text), widget (QCheckBox, chkConvertTabs) #: rc.cpp:22 msgid "Con&vert tabs into spaces" msgstr "转换制表符为空格(&V)" #. i18n: file: astyle/astyle_preferences.ui:102 #. i18n: ectx: property (toolTip), widget (QCheckBox, chkFillEmptyLines) #: rc.cpp:25 msgid "Fill empty lines with the white space of their previous lines." msgstr "用前面行的空格填补空行。" #. i18n: file: astyle/astyle_preferences.ui:105 #. i18n: ectx: property (text), widget (QCheckBox, chkFillEmptyLines) #: rc.cpp:28 msgid "Fill empt&y lines" msgstr "填补空行(&Y)" #. i18n: file: astyle/astyle_preferences.ui:127 #. i18n: ectx: property (text), widget (QLabel, lblIndentObjects) #: rc.cpp:31 msgid "Indent" msgstr "缩进" #. i18n: file: astyle/astyle_preferences.ui:144 #. i18n: ectx: property (text), item, widget (KListWidget, listIdentObjects) #. i18n: file: astyle/astyle_preferences.ui:352 #. i18n: ectx: property (title), widget (QGroupBox, gpBlocks) #: rc.cpp:34 rc.cpp:117 msgid "Blocks" msgstr "语句块" #. i18n: file: astyle/astyle_preferences.ui:149 #. i18n: ectx: property (text), item, widget (KListWidget, listIdentObjects) #. i18n: file: astyle/astyle_preferences.ui:269 #. i18n: ectx: property (title), widget (QGroupBox, gpBrackets) #: rc.cpp:37 rc.cpp:86 msgid "Brackets" msgstr "括号" #. i18n: file: astyle/astyle_preferences.ui:154 #. i18n: ectx: property (text), item, widget (KListWidget, listIdentObjects) #: rc.cpp:40 msgid "Cases" msgstr "Case 关键字" #. i18n: file: astyle/astyle_preferences.ui:159 #. i18n: ectx: property (text), item, widget (KListWidget, listIdentObjects) #: rc.cpp:43 msgid "Class" msgstr "类" #. i18n: file: astyle/astyle_preferences.ui:164 #. i18n: ectx: property (text), item, widget (KListWidget, listIdentObjects) #: rc.cpp:46 msgid "Labels" msgstr "标签" #. i18n: file: astyle/astyle_preferences.ui:169 #. i18n: ectx: property (text), item, widget (KListWidget, listIdentObjects) #: rc.cpp:49 msgid "Namespaces" msgstr "命名空间" #. i18n: file: astyle/astyle_preferences.ui:174 #. i18n: ectx: property (text), item, widget (KListWidget, listIdentObjects) #: rc.cpp:52 msgid "Preprocessor directives" msgstr "预处理指令" #. i18n: file: astyle/astyle_preferences.ui:179 #. i18n: ectx: property (text), item, widget (KListWidget, listIdentObjects) #: rc.cpp:55 msgid "Switches" msgstr "Switch 关键字" #. i18n: file: astyle/astyle_preferences.ui:192 #. i18n: ectx: property (toolTip), widget (QSpinBox, inpMaxStatement) #. i18n: file: astyle/astyle_preferences.ui:234 #. i18n: ectx: property (toolTip), widget (QLabel, TextLabel2_2) #: rc.cpp:58 rc.cpp:76 msgid "" "Indent a maximal # spaces in a continuous statement,\n" "relative to the previous line." msgstr "" #. i18n: file: astyle/astyle_preferences.ui:203 #. i18n: ectx: property (toolTip), widget (QLabel, TextLabel3_2) #. i18n: file: astyle/astyle_preferences.ui:217 #. i18n: ectx: property (toolTip), widget (QSpinBox, inpMinConditional) #: rc.cpp:62 rc.cpp:69 msgid "" "Indent a minimal # spaces in a continuous conditional\n" "belonging to a conditional header." msgstr "" #. i18n: file: astyle/astyle_preferences.ui:206 #. i18n: ectx: property (text), widget (QLabel, TextLabel3_2) #: rc.cpp:66 msgid "Minimum in conditional:" msgstr "条件中至少使用次数:" #. i18n: file: astyle/astyle_preferences.ui:220 #. i18n: ectx: property (specialValueText), widget (QSpinBox, inpMinConditional) #: rc.cpp:73 msgid "Twice current" msgstr "双倍于当前" #. i18n: file: astyle/astyle_preferences.ui:237 #. i18n: ectx: property (text), widget (QLabel, TextLabel2_2) #: rc.cpp:80 msgid "Maximum in statement:" msgstr "语句中最多使用次数:" #. i18n: file: astyle/astyle_preferences.ui:263 #. i18n: ectx: attribute (title), widget (QWidget, tabOther) #. i18n: file: astyle/astyle_preferences.ui:521 #. i18n: ectx: property (title), widget (QGroupBox, gpOther) #: rc.cpp:83 rc.cpp:209 msgid "Other" msgstr "其它" #. i18n: file: astyle/astyle_preferences.ui:283 #. i18n: ectx: property (text), widget (QLabel, lblBrackets) #. i18n: file: astyle/astyle_preferences.ui:550 #. i18n: ectx: property (text), item, widget (QComboBox, cbPointerAlign) #: rc.cpp:89 rc.cpp:224 msgid "Type" msgstr "类型" #. i18n: file: astyle/astyle_preferences.ui:297 #. i18n: ectx: property (toolTip), widget (QCheckBox, chkBracketsCloseHeaders) #: rc.cpp:92 msgid "" "Break brackets before closing headers (e.g. 'else', 'catch', ...)\n" "from their immediately preceding closing brackets." msgstr "" #. i18n: file: astyle/astyle_preferences.ui:300 #. i18n: ectx: property (text), widget (QCheckBox, chkBracketsCloseHeaders) #: rc.cpp:96 msgid "Brea&k closing headers" msgstr "" #. i18n: file: astyle/astyle_preferences.ui:314 #. i18n: ectx: property (text), item, widget (KComboBox, cbBrackets) #. i18n: file: astyle/astyle_preferences.ui:426 #. i18n: ectx: property (text), item, widget (KComboBox, cbParenthesisPadding) #. i18n: file: astyle/astyle_preferences.ui:535 #. i18n: ectx: property (text), item, widget (QComboBox, cbPointerAlign) #: rc.cpp:99 rc.cpp:161 rc.cpp:215 msgid "No change" msgstr "无更改" #. i18n: file: astyle/astyle_preferences.ui:319 #. i18n: ectx: property (text), item, widget (KComboBox, cbBrackets) #: rc.cpp:102 msgid "Attach" msgstr "附加" #. i18n: file: astyle/astyle_preferences.ui:324 #. i18n: ectx: property (text), item, widget (KComboBox, cbBrackets) #: rc.cpp:105 msgid "Break" msgstr "断开" #. i18n: file: astyle/astyle_preferences.ui:329 #. i18n: ectx: property (text), item, widget (KComboBox, cbBrackets) #: rc.cpp:108 msgid "Linux" msgstr "Linux" #. i18n: file: astyle/astyle_preferences.ui:334 #. i18n: ectx: property (text), item, widget (KComboBox, cbBrackets) #: rc.cpp:111 msgid "Stroustrup" msgstr "Stroustrup" #. i18n: file: astyle/astyle_preferences.ui:339 #. i18n: ectx: property (text), item, widget (KComboBox, cbBrackets) #: rc.cpp:114 msgid "Run-In" msgstr "运行" #. i18n: file: astyle/astyle_preferences.ui:367 #. i18n: ectx: property (toolTip), widget (QCheckBox, chkBlockBreak) #: rc.cpp:120 msgid "" "Insert empty lines around unrelated blocks, labels, classes,...\n" "Known problems:\n" "\n" "1. If a statement is NOT part of a block, \n" "the following statements are all double spaced. \n" "Statements enclosed in a block are formatted \n" "correctly.\n" "\n" "2. Comments are broken from the block.\n" msgstr "" #. i18n: file: astyle/astyle_preferences.ui:370 #. i18n: ectx: property (text), widget (QCheckBox, chkBlockBreak) #: rc.cpp:132 msgctxt "Means break unrelated blocks by a newline" msgid "&Break blocks" msgstr "断开语句块(&B)" #. i18n: file: astyle/astyle_preferences.ui:388 #. i18n: ectx: property (toolTip), widget (QCheckBox, chkBlockBreakAll) #: rc.cpp:135 msgid "" "Like --break-blocks, except also insert empty lines \n" "around closing headers (e.g. 'else', 'catch', ...).\n" "\n" "Known problems:\n" "\n" "1. If a statement is NOT part of a block, \n" "the following statements are all double spaced. \n" "Statements enclosed in a block are formatted \n" "correctly.\n" "\n" "2. Comments are broken from the block.\n" msgstr "" #. i18n: file: astyle/astyle_preferences.ui:391 #. i18n: ectx: property (text), widget (QCheckBox, chkBlockBreakAll) #: rc.cpp:149 msgctxt "Means break all blocks with a newline" msgid "Break all bl&ocks" msgstr "断开全部语句块(&O)" #. i18n: file: astyle/astyle_preferences.ui:398 #. i18n: ectx: property (toolTip), widget (QCheckBox, chkBlockIfElse) #: rc.cpp:152 msgid "Break 'else if()' statements into two different lines." msgstr "将“else if()”语句断为两行。" #. i18n: file: astyle/astyle_preferences.ui:401 #. i18n: ectx: property (text), widget (QCheckBox, chkBlockIfElse) #: rc.cpp:155 msgctxt "Means break else if() into separate lines" msgid "Break i&f-else" msgstr "断开 if-else(&F)" #. i18n: file: astyle/astyle_preferences.ui:411 #. i18n: ectx: property (title), widget (QGroupBox, gpPadding) #: rc.cpp:158 msgid "Padding" msgstr "加空格" #. i18n: file: astyle/astyle_preferences.ui:431 #. i18n: ectx: property (text), item, widget (KComboBox, cbParenthesisPadding) #: rc.cpp:164 msgid "Unpad" msgstr "不加空格" #. i18n: file: astyle/astyle_preferences.ui:436 #. i18n: ectx: property (text), item, widget (KComboBox, cbParenthesisPadding) #: rc.cpp:167 msgid "Inside only" msgstr "仅内部" #. i18n: file: astyle/astyle_preferences.ui:441 #. i18n: ectx: property (text), item, widget (KComboBox, cbParenthesisPadding) #: rc.cpp:170 msgid "Outside only" msgstr "仅外部" #. i18n: file: astyle/astyle_preferences.ui:446 #. i18n: ectx: property (text), item, widget (KComboBox, cbParenthesisPadding) #: rc.cpp:173 msgid "Inside and outside" msgstr "内部和外部" #. i18n: file: astyle/astyle_preferences.ui:456 #. i18n: ectx: property (toolTip), widget (QCheckBox, chkPadOperators) #: rc.cpp:176 msgid "" "Insert space padding around operators.\n" "Once padded, operators stay padded.\n" "There is no unpad operator option." msgstr "" #. i18n: file: astyle/astyle_preferences.ui:459 #. i18n: ectx: property (text), widget (QCheckBox, chkPadOperators) #: rc.cpp:181 msgid "&Add spaces around operators" msgstr "在操作符周围加空格(&A)" #. i18n: file: astyle/astyle_preferences.ui:466 #. i18n: ectx: property (text), widget (QLabel, lblParenthesis) #: rc.cpp:184 msgid "Pad parenthesis" msgstr "对括号加空格" #. i18n: file: astyle/astyle_preferences.ui:476 #. i18n: ectx: property (toolTip), widget (QCheckBox, chkPadParenthesisHeader) #: rc.cpp:187 msgid "" "Insert space padding after parenthesis headers (e.g. 'if', 'for', " "'while', ...)" msgstr "" #. i18n: file: astyle/astyle_preferences.ui:479 #. i18n: ectx: property (text), widget (QCheckBox, chkPadParenthesisHeader) #: rc.cpp:190 msgid "Add spaces after parenthesis &headers" msgstr "" #. i18n: file: astyle/astyle_preferences.ui:491 #. i18n: ectx: property (title), widget (QGroupBox, gpOneLiners) #: rc.cpp:193 msgid "One liners" msgstr "单行代码" #. i18n: file: astyle/astyle_preferences.ui:498 #. i18n: ectx: property (toolTip), widget (QCheckBox, chkKeepStatements) #: rc.cpp:196 msgid "" "Do not break lines containing multiple statements into\n" "multiple single-statement lines." msgstr "" #. i18n: file: astyle/astyle_preferences.ui:501 #. i18n: ectx: property (text), widget (QCheckBox, chkKeepStatements) #: rc.cpp:200 msgid "&Keep one-line statements" msgstr "保持单行代码语句(&K)" #. i18n: file: astyle/astyle_preferences.ui:508 #. i18n: ectx: property (toolTip), widget (QCheckBox, chkKeepBlocks) #: rc.cpp:203 msgid "Do not break blocks residing completely on one line." msgstr "" #. i18n: file: astyle/astyle_preferences.ui:511 #. i18n: ectx: property (text), widget (QCheckBox, chkKeepBlocks) #: rc.cpp:206 msgid "Keep o&ne-line blocks" msgstr "保持单行代码块(&N)" #. i18n: file: astyle/astyle_preferences.ui:527 #. i18n: ectx: property (text), widget (QLabel, lblPointerAlign) #: rc.cpp:212 msgid "Pointer Alignment" msgstr "指针对齐" #. i18n: file: astyle/astyle_preferences.ui:540 #. i18n: ectx: property (text), item, widget (QComboBox, cbPointerAlign) #: rc.cpp:218 msgid "Name" msgstr "名称" #. i18n: file: astyle/astyle_preferences.ui:545 #. i18n: ectx: property (text), item, widget (QComboBox, cbPointerAlign) #: rc.cpp:221 msgid "Middle" msgstr "中间" #: customscript/customscript_plugin.cpp:50 msgid "Custom Script Formatter" msgstr "自定义脚本格式化器" #: customscript/customscript_plugin.cpp:50 msgid "A formatter using custom scripts" msgstr "一个使用自定义脚本的格式化器" #: customscript/customscript_plugin.cpp:99 msgid "" "Indent and Format Source Code.
This plugin allows using powerful " "external formatting tools that can be invoked through the command-line.
For example, the uncrustify, astyle or indent " "formatters can be used.
The advantage of command-line formatters is " "that formatting configurations can be easily shared by all team members, " "independent of their preferred IDE." msgstr "" #: customscript/customscript_plugin.cpp:242 msgid "Gnu Indent: GNU" msgstr "Gnu 缩进:GNU 风格" #: customscript/customscript_plugin.cpp:245 msgid "Gnu Indent: Kernighan & Ritchie" msgstr "Gnu 缩进:Kernighan 与 Ritchie 风格" #: customscript/customscript_plugin.cpp:248 msgid "Gnu Indent: Original Berkeley indent style" msgstr "Gnu 缩进:原伯克利风格" #: customscript/customscript_plugin.cpp:254 msgid "" "Description:
kdev_format_source is a script bundled with " "KDevelop which allows using fine-grained formatting rules by placing meta-" "files called format_sources into the file-system.

Each " "line of the format_sources files defines a list of wildcards followed " "by a colon and the used formatting-command.

The formatting-" "command should use $TMPFILE to reference the temporary file to " "reformat.

Example:
*.cpp *.h : myformatter $TMPFILE
This will reformat all files ending with .cpp or .h " "using the custom formatting script myformatter.

Example: " "
subdir/* : uncrustify -l CPP -f $TMPFILE -c uncrustify.config -o " "$TMPFILE
This will reformat all files in subdirectory subdir using the uncrustify tool with the config-file uncrustify." "config." msgstr "" #: customscript/customscript_plugin.cpp:504 msgid "Command: " msgstr "命令:" #: customscript/customscript_plugin.cpp:510 msgid "" "You can enter an arbitrary shell command.
The unformatted source-" "code is reached to the command
through the standard input, and the " "
formatted result is read from the standard output.

If you " "add $TMPFILE into the command, then
a temporary file is used " "for transferring the code." msgstr "" #: customscript/customscript_plugin.cpp:521 msgid "More Variables" msgstr "更多变量" #: customscript/customscript_plugin.cpp:531 msgid "Style: %1" msgstr "样式:%1" #: customscript/customscript_plugin.cpp:544 msgid "" "$TMPFILE will be replaced with the path to a temporary file.
The code will be written into the file, the temporary
file will be " "substituted into that position, and the result
will be read out of " "that file.

$FILE will be replaced with the path of the " "original file.
The contents of the file must not be modified, changes " "are allowed
only in $TMPFILE.

${PROJECT_NAME} will " "be replaced by the path of
the currently open project with the " "matching name." msgstr "" #: customscript/customscript_plugin.cpp:556 msgid "Variable Replacements" msgstr "变量替换"