msgid "" msgstr "" "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2025-11-17 11:54+0000\n" "PO-Revision-Date: 2024-04-23 19:30\n" "Last-Translator: \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-Crowdin-Project: kdeorg\n" "X-Crowdin-Project-ID: 269464\n" "X-Crowdin-Language: zh-CN\n" "X-Crowdin-File: /kf6-trunk/messages/heaptrack/heaptrack.pot\n" "X-Crowdin-File-ID: 57500\n" #, kde-format msgctxt "NAME OF TRANSLATORS" msgid "Your names" msgstr "KDE 中国" #, kde-format msgctxt "EMAIL OF TRANSLATORS" msgid "Your emails" msgstr "kde-china@kde.org" #: gui/callercalleemodel.cpp:40 gui/callercalleemodel.h:333 #: gui/treemodel.cpp:73 #, kde-format msgid "Location" msgstr "位置" #: gui/callercalleemodel.cpp:42 gui/callercalleemodel.h:335 #, kde-format msgid "Allocations (Self)" msgstr "分配 (Self)" #: gui/callercalleemodel.cpp:44 gui/callercalleemodel.h:337 #, kde-format msgid "Temporary (Self)" msgstr "临时(Self)" #: gui/callercalleemodel.cpp:46 gui/callercalleemodel.h:339 #, kde-format msgid "Peak (Self)" msgstr "峰值 (Self)" #: gui/callercalleemodel.cpp:48 gui/callercalleemodel.h:341 #, kde-format msgid "Leaked (Self)" msgstr "泄漏(Self)" #: gui/callercalleemodel.cpp:50 gui/callercalleemodel.h:343 #, kde-format msgid "Allocations (Incl.)" msgstr "分配(内存)" #: gui/callercalleemodel.cpp:52 gui/callercalleemodel.h:345 #, kde-format msgid "Temporary (Incl.)" msgstr "临时(内存)" #: gui/callercalleemodel.cpp:54 gui/callercalleemodel.h:347 #, kde-format msgid "Peak (Incl.)" msgstr "峰值(内存)" #: gui/callercalleemodel.cpp:56 gui/callercalleemodel.h:349 #, kde-format msgid "Leaked (Incl.)" msgstr "泄漏(内存)" #: gui/callercalleemodel.cpp:63 #, kde-format msgid "" "The parent symbol that called an allocation function. The function name " "may be unresolved when debug information is missing." msgstr "" #: gui/callercalleemodel.cpp:66 gui/callercalleemodel.h:359 #, kde-format msgid "" "The number of times an allocation function was directly called from this " "location." msgstr "从此位置直接调用分配函数的次数。" #: gui/callercalleemodel.cpp:69 gui/callercalleemodel.h:362 #, kde-format msgid "" "The number of direct temporary allocations. These allocations are " "directly followed by a free without any other allocations in-between." msgstr "" "直接临时分配的数量。这些分配之后是免费分配,中间没有任何其他分配。。" #: gui/callercalleemodel.cpp:73 gui/callercalleemodel.h:366 #, kde-format msgid "" "The maximum heap memory in bytes consumed from allocations originating " "directly at this location. This takes deallocations into account." msgstr "" "直接源自此位置的分配消耗的最大堆内存(以字节为单位)。这考虑了处置。" #: gui/callercalleemodel.cpp:78 gui/callercalleemodel.h:371 #, kde-format msgid "" "The bytes allocated directly at this location that have not been " "deallocated." msgstr "直接分配到这个位置的字节尚未被分配。" #: gui/callercalleemodel.cpp:81 gui/callercalleemodel.h:181 #: gui/callercalleemodel.h:374 #, kde-format msgid "" "The inclusive number of times an allocation function was called from " "this location or any functions called from here." msgstr "包含从此位置调用分配函数或从此处调用的任何函数的次数。" #: gui/callercalleemodel.cpp:85 gui/callercalleemodel.h:185 #: gui/callercalleemodel.h:378 #, kde-format msgid "" "The number of inclusive temporary allocations. These allocations are " "directly followed by a free without any other allocations in-between." msgstr "" "包含临时分配的数量。这些分配之后是免费分配,中间没有任何其他分配。" #: gui/callercalleemodel.cpp:89 gui/callercalleemodel.h:173 #: gui/callercalleemodel.h:382 #, kde-format msgid "" "The inclusive maximum heap memory in bytes consumed from allocations " "originating at this location or from functions called from here. This takes " "deallocations into account." msgstr "" "源自此位置的分配或从此处调用的函数消耗的最大堆内存(以字节为单位)。这考" "虑了处置。" #: gui/callercalleemodel.cpp:94 gui/callercalleemodel.h:178 #: gui/callercalleemodel.h:387 gui/treemodel.cpp:91 #, kde-format msgid "" "The bytes allocated at this location that have not been deallocated." msgstr "分配给这个位置的字节尚未分配。" #: gui/callercalleemodel.cpp:202 #, kde-format msgid "Caller" msgstr "调用方" #: gui/callercalleemodel.cpp:214 #, kde-format msgid "Callee" msgstr "被调用方" #: gui/callercalleemodel.h:156 gui/treemodel.cpp:69 gui/util.cpp:112 #: gui/util.cpp:141 gui/util.cpp:170 #, kde-format msgid "Peak" msgstr "峰值" #: gui/callercalleemodel.h:158 gui/flamegraph.cpp:429 gui/treemodel.cpp:71 #: gui/util.cpp:113 gui/util.cpp:142 gui/util.cpp:171 #, kde-format msgid "Leaked" msgstr "泄漏" #: gui/callercalleemodel.h:160 gui/flamegraph.cpp:434 gui/mainwindow.cpp:477 #: gui/treemodel.cpp:65 gui/util.cpp:114 gui/util.cpp:143 gui/util.cpp:172 #, kde-format msgid "Allocations" msgstr "内存申请" #: gui/callercalleemodel.h:162 gui/treemodel.cpp:67 #, kde-format msgid "Temporary" msgstr "临时" #: gui/callercalleemodel.h:170 #, kde-format msgid "" "The location of the %1. The function name may be unresolved when debug " "information is missing." msgstr "" #: gui/callercalleemodel.h:356 #, kde-format msgid "" "The source code location that called an allocation function. May be " "unknown when debug information is missing." msgstr "调用分配函数的源代码位置。当缺少调试信息时其可能是未知的。" #: gui/chartmodel.cpp:52 #, kde-format msgid "Memory Allocations" msgstr "内存申请" #: gui/chartmodel.cpp:54 #, kde-format msgid "Memory Consumed" msgstr "内存已使用" #: gui/chartmodel.cpp:56 gui/flamegraph.cpp:439 gui/mainwindow.cpp:479 #: gui/util.cpp:115 gui/util.cpp:144 gui/util.cpp:173 #, kde-format msgid "Temporary Allocations" msgstr "临时分配" #: gui/chartmodel.cpp:76 gui/chartwidget.cpp:457 #, kde-format msgid "Elapsed Time" msgstr "已用时间" #: gui/chartmodel.cpp:83 #, kde-format msgid "Total Memory Allocations" msgstr "合计内存分配" #: gui/chartmodel.cpp:85 #, kde-format msgid "Total Memory Consumption" msgstr "合计内存消耗" #: gui/chartmodel.cpp:87 #, kde-format msgid "Total Temporary Allocations" msgstr "合计临时分配" #: gui/chartmodel.cpp:113 #, kde-format msgid "%1" msgstr "%1" #: gui/chartmodel.cpp:166 #, kde-format msgctxt "" "%1: the formatted byte size, e.g. \"1.2KB\", %2: the raw byte size, e.g. " "\"1300\"" msgid "%1 (%2 bytes)" msgstr "%1 (%2 字节)" #: gui/chartmodel.cpp:174 #, kde-format msgid "%1 allocations in total after %2" msgstr "%1 分配总在 %2之后" #: gui/chartmodel.cpp:176 #, kde-format msgid "%1 temporary allocations in total after %2" msgstr "%1 临时分配次数总计在 %2之后" #: gui/chartmodel.cpp:178 #, kde-format msgid "%1 consumed in total after %2" msgstr "%1 在 %2之后总消耗" #: gui/chartmodel.cpp:184 #, kde-format msgid "" "%2 allocations after %3 from:

%1

" msgstr "%2 在 %3 之后分配:

%1

" #: gui/chartmodel.cpp:188 #, kde-format msgid "" "%2 temporary allocations after %3 from:

%1" msgstr "%2 临时分配后 %3 来自:

%1

" #: gui/chartmodel.cpp:192 #, kde-format msgid "%2 consumed after %3 from:

%1

" msgstr "%2 在 %3 之后消费:

%1

" #: gui/chartwidget.cpp:153 #, kde-format msgid "Export As..." msgstr "导出为..." #: gui/chartwidget.cpp:156 #, kde-format msgid "Show legend" msgstr "显示图例" #: gui/chartwidget.cpp:163 #, kde-format msgid "Show total cost graph" msgstr "" #: gui/chartwidget.cpp:171 #, kde-format msgid "Show detailed cost graph" msgstr "" #: gui/chartwidget.cpp:178 #, kde-format msgid "Stacked diagrams:" msgstr "" #: gui/chartwidget.cpp:225 #, kde-format msgid "Filter In On Selection" msgstr "" #. i18n: ectx: property (text), widget (QMenu, menuFilter) #: gui/chartwidget.cpp:235 gui/mainwindow.ui:895 #, kde-format msgid "Reset Filter" msgstr "重置过滤器" #: gui/chartwidget.cpp:374 #, kde-format msgid "Save %1" msgstr "保存 %1" #: gui/chartwidget.cpp:375 #, kde-format msgid "Raster Image (*.png *.jpg *.tiff);;Vector Image (*.svg)" msgstr "栅格图像(*.png *.jpg *.tiff);矢量图形 (*.svg)" #: gui/chartwidget.cpp:391 #, kde-format msgid "Failed to save the image to %1" msgstr "保存图像到 %1 失败" #: gui/chartwidget.cpp:411 #, kde-format msgid "StartEndDelta" msgstr "开始结束差值" #: gui/chartwidget.cpp:412 #, kde-format msgid "Time%1%2%3" msgstr "时间%1%2%3" #: gui/chartwidget.cpp:416 #, kde-format msgid "Consumed%1%2%3" msgstr "消耗%1%2%3" #: gui/chartwidget.cpp:420 #, kde-format msgid "Allocations%1%2%3" msgstr "分配%1%2%3" #: gui/chartwidget.cpp:424 #, kde-format msgid "" "Temporary Allocations%1%2%3" msgstr "临时分配%1%2%3" #: gui/chartwidget.cpp:432 #, kde-format msgid "" "Shows the heap memory consumption over time.
Click and drag to select " "a time range for filtering.
" msgstr "" "显示一段时间内的堆内存消耗。
点击并拖动以选择一个时间范围进行过滤。" #: gui/chartwidget.cpp:436 #, kde-format msgid "" "Shows number of memory allocations over time.
Click and drag to " "select a time range for filtering.
" msgstr "" "显示随时间变化的内存分配数。
点击并拖拽以选择要过滤的时间范围。
" #: gui/chartwidget.cpp:440 #, kde-format msgid "" "Shows number of temporary memory allocations over time. A temporary " "allocation is one that is followed immediately by its corresponding " "deallocation, without other allocations happening in-between.
Click and " "drag to select a time range for filtering.
" msgstr "" "显示随时间变化的临时内存分配数。临时分配是指相应内存分配后紧接着被释放," "中间没有发生其他分配。
点击并拖拽以选择要过滤的时间范围。
" #: gui/chartwidget.cpp:462 #, kde-format msgid "%1 (filtered from %2 to %3, Δ%4)" msgstr "%1 (从 %2 过滤到 %3,Δ%4)" #: gui/chartwidget.cpp:466 #, kde-format msgid "%1 (filtered delta)" msgstr "%1 (过滤的差异)" #: gui/chartwidget.cpp:555 #, kde-format msgid "Click and drag to select time range for filtering." msgstr "点击并拖动以选择要过滤的时间范围。" #: gui/chartwidget.cpp:561 #, kde-format msgid "" "T = %1, Consumed: %2. Click and drag to select time range for filtering." msgstr "T = %1,已消耗:%2。点击并拖动以选择要过滤的时间范围。" #: gui/chartwidget.cpp:565 #, kde-format msgid "" "T = %1, Allocations: %2. Click and drag to select time range for filtering." msgstr "T = %1,已分配:%2。点击并拖动以选择要过滤的时间范围。" #: gui/chartwidget.cpp:569 #, kde-format msgid "" "T = %1, Temporary Allocations: %2. Click and drag to select time range for " "filtering." msgstr "T = %1,临时分配:%2。点击并拖动以选择要过滤的时间范围。" #: gui/flamegraph.cpp:174 gui/histogrammodel.cpp:63 #, kde-format msgid "%1 allocations in total" msgstr "%1 分配总计" #: gui/flamegraph.cpp:176 #, kde-format msgid "%1 temporary allocations in total" msgstr "%1 临时分配总计" #: gui/flamegraph.cpp:178 #, kde-format msgid "%1 peak memory consumption" msgstr "%1 内存消耗峰值" #: gui/flamegraph.cpp:180 #, kde-format msgid "%1 leaked in total" msgstr "%1 泄露总量" #: gui/flamegraph.cpp:233 #, kde-format msgctxt "%1: number of allocations, %2: relative number, %3: function label" msgid "%1 (%2%) allocations in %3 and below." msgstr "%1 (%2%) 在 %3 及以下的分配。" #: gui/flamegraph.cpp:238 #, kde-format msgctxt "" "%1: number of temporary allocations, %2: relative number, %3 function label" msgid "%1 (%2%) temporary allocations in %3 and below." msgstr "%1 (%2%) 在 %3 及以下的临时分配。" #: gui/flamegraph.cpp:243 #, kde-format msgctxt "" "%1: peak consumption in bytes, %2: relative number, %3: function label" msgid "%1 (%2%) contribution to peak consumption in %3 and below." msgstr "%3 及以下共对峰值资源消耗贡献了 %1 (%2%)。" #: gui/flamegraph.cpp:247 #, kde-format msgctxt "%1: leaked bytes, %2: relative number, %3: function label" msgid "%1 (%2%) leaked in %3 and below." msgstr "%1 (%2%) 泄漏在 %3 及以下地方。" #: gui/flamegraph.cpp:424 #, kde-format msgid "Memory Peak" msgstr "内存占用峰值" #: gui/flamegraph.cpp:426 #, kde-format msgid "" "Show a flame graph over the contributions to the peak heap memory " "consumption of your application." msgstr "显示一个火焰图,描绘了您的程序对于峰值堆内存占用的贡献" #: gui/flamegraph.cpp:431 #, kde-format msgid "" "Show a flame graph over the leaked heap memory of your application. Memory " "is considered to be leaked when it never got deallocated. " msgstr "" "在您的应用程序所泄露的堆内存上显示火焰图。从未被释放的内存被认为已泄露。 " #: gui/flamegraph.cpp:436 #, kde-format msgid "" "Show a flame graph over the number of allocations triggered by functions in " "your code." msgstr "在您的代码中显示由函数触发的分配数的火焰图。" #: gui/flamegraph.cpp:441 #, kde-format msgid "" "Show a flame graph over the number of temporary allocations triggered by " "functions in your code. Allocations are marked as temporary when they are " "immediately followed by their deallocation." msgstr "" "显示代码中函数触发的临时分配数的火焰图。当分配紧随其后的是解除分配时,它们被" "标记为临时分配。" #: gui/flamegraph.cpp:448 #, kde-format msgid "Select the data source that should be visualized in the flame graph." msgstr "选择在火焰图形中可视化的数据源。" #: gui/flamegraph.cpp:463 #, kde-format msgid "Bottom-Up View" msgstr "从下至上视图" #: gui/flamegraph.cpp:464 #, kde-format msgid "" "Enable the bottom-up flame graph view. When this is unchecked, the top-down " "view is enabled by default." msgstr "启用自下而上的火焰图视图。如果不勾选,默认启用自上而下的视图。" #: gui/flamegraph.cpp:472 #, kde-format msgid "Collapse Recursion" msgstr "折叠递归" #: gui/flamegraph.cpp:474 #, kde-format msgid "" "Collapse stack frames for functions calling themselves. When this is " "unchecked, recursive frames will be visualized separately." msgstr "折叠调用自身的函数的堆栈帧。如果未选中此选项,将单独可视化递归帧。" #: gui/flamegraph.cpp:486 #, kde-format msgid "Cost Threshold: " msgstr "成本阈值: " #: gui/flamegraph.cpp:490 #, kde-format msgid "" "The cost threshold defines a fractional cut-off value. Items with a " "relative cost below this value will not be shown in the flame graph. This is " "done as an optimization to quickly generate graphs for large data sets with " "low memory overhead. If you need more details, decrease the threshold value, " "or set it to zero." msgstr "" "成本阈值定义分数截止值。相对成本低于此值的项目将不会显示在火焰图中。这样" "做是为了优化,以便为内存开销低的大型数据集快速生成图形。如果需要更多详细信" "息,请减小阈值或将其设置为零。" #: gui/flamegraph.cpp:502 #, kde-format msgid "Search..." msgstr "搜索..." #: gui/flamegraph.cpp:503 #, kde-format msgid "Search the flame graph for a symbol." msgstr "在火焰图中搜索符号。" #: gui/flamegraph.cpp:541 #, kde-format msgid "Reset View" msgstr "重置视图" #: gui/flamegraph.cpp:551 gui/mainwindow.cpp:142 #, kde-format msgid "View Caller/Callee" msgstr "查看调用方/被调用方" #: gui/flamegraph.cpp:692 #, kde-format msgid "generating flame graph..." msgstr "正在生成火焰图..." #: gui/flamegraph.cpp:769 #, kde-format msgid "%1 (%2% of total of %3) allocations matched by search." msgstr "搜索共匹配了 %1 个 (共 %3 个中的 %2% 个) 分配。" #: gui/flamegraph.cpp:774 #, kde-format msgid "%1 (%2% of total of %3) matched by search." msgstr "搜索匹配了 %1 (共 %3 中的 %2%)。" #: gui/gui.cpp:63 #, kde-format msgid "Heaptrack GUI" msgstr "Heaptrack 图形界面" #: gui/gui.cpp:64 #, kde-format msgid "A visualizer for heaptrack data files." msgstr "Heaptrack 数据文件的可视化工具。" #: gui/gui.cpp:65 #, kde-format msgid "Copyright 2015, Milian Wolff " msgstr "Copyright 2015, Milian Wolff " #: gui/gui.cpp:68 #, kde-format msgid "Milian Wolff" msgstr "Milian Wolff" #: gui/gui.cpp:68 #, kde-format msgid "Original author, maintainer" msgstr "原作者,维护者" #: gui/gui.cpp:80 #, kde-format msgid "Base profile data to compare other files to." msgstr "比较其他文件的基本配置数据。" #: gui/gui.cpp:85 #, kde-format msgid "" "Load list of leak suppressions from the specified file. Specify one " "suppression per line, and start each line with 'leak:', i.e. use the LSAN " "suppression file format." msgstr "" #: gui/gui.cpp:91 gui/mainwindow.cpp:637 #, kde-format msgid "" "Ignore suppression definitions that are embedded into the heaptrack data " "file. By default, heaptrack will copy the suppressions optionally defined " "via a `const char *__lsan_default_suppressions()` symbol in the debuggee " "application. These are then always applied when analyzing the data, unless " "this feature is explicitly disabled using this command line option." msgstr "" #: gui/gui.cpp:99 #, kde-format msgid "" "Ignore suppression definitions that are built into heaptrack. By default, " "heaptrack will suppress certain known leaks in common system libraries." msgstr "" #: gui/gui.cpp:102 #, kde-format msgid "Files to load" msgstr "要加载的文件" #: gui/gui.cpp:102 #, kde-format msgid "[FILE...]" msgstr "[文件...]" #: gui/histogrammodel.cpp:65 #, kde-format msgid "" "%1 allocations from %2, totalling %3 allocated with an average of %4 per " "allocation" msgstr "" #: gui/histogramwidget.cpp:97 #, kde-format msgid "Requested Allocation Size" msgstr "请求的分配大小" #: gui/histogramwidget.cpp:103 #, kde-format msgid "Number of Allocations" msgstr "分配数量" #: gui/mainwindow.cpp:171 #, kde-format msgid "Open file in editor" msgstr "在编辑器中打开文件" #: gui/mainwindow.cpp:394 #, kde-format msgid "" "
debuggee:
%1 " "(attached)
" msgstr "" "
调试器:
%1 (附件)" #: gui/mainwindow.cpp:397 #, kde-format msgid "
debuggee:
%1
" msgstr "" "
调试器:
%1
(附件" #: gui/mainwindow.cpp:401 #, kde-format msgid "
total runtime:
%1, filtered from %2 to %3 (%4)
" msgstr "" #: gui/mainwindow.cpp:406 #, kde-format msgid "
total runtime:
%1
" msgstr "" #: gui/mainwindow.cpp:408 #, kde-format msgid "
total system memory:
%1
" msgstr "
系统内存总额:
%1
" #: gui/mainwindow.cpp:415 #, kde-format msgid "
calls to allocation functions:
%1 (%2/s)
" msgstr "
调用分配函数:
%1 (%2/s)
" #: gui/mainwindow.cpp:418 #, kde-format msgid "
temporary allocations:
%1 (%2%, %3/s)
" msgstr "
临时分配:
%1 (%2%, %3/s)
" #: gui/mainwindow.cpp:428 #, kde-format msgid "
peak heap memory consumption:
%1 after %2
" msgstr "
内存消耗峰值:
%2 后 %1
" #: gui/mainwindow.cpp:431 #, kde-format msgid "
peak RSS (including heaptrack overhead):
%1
" msgstr "
峰RSS (包括Heaptrack 间接费用):
%1
" #: gui/mainwindow.cpp:435 #, kde-format msgid "
memory consumption delta:
%1
" msgstr "
内存消耗差值:
%1
" #: gui/mainwindow.cpp:439 #, kde-format msgid "
total memory leaked:
%1 (%2 suppressed)
" msgstr "
总体内存泄漏:
%1 (已排除 %2)
" #: gui/mainwindow.cpp:442 #, kde-format msgid "
total memory leaked:
%1
" msgstr "
整个内存泄漏:
%1
" #: gui/mainwindow.cpp:470 #, kde-format msgid "Failed to parse file %1." msgstr "解析文件 %1 失败。" #: gui/mainwindow.cpp:475 #, kde-format msgid "Consumed" msgstr "已消耗的" #: gui/mainwindow.cpp:491 #, kde-format msgid "Sizes" msgstr "大小" #: gui/mainwindow.cpp:555 #, kde-format msgid "Input data %1 does not exist." msgstr "输入数据 %1 不存在。" #: gui/mainwindow.cpp:557 #, kde-format msgid "Input data %1 is not a file." msgstr "输入数据 %1 不是一个文件。" #: gui/mainwindow.cpp:559 #, kde-format msgid "Input data %1 is not readable." msgstr "输入数据 %1 不可读。" #: gui/mainwindow.cpp:592 #, kde-format msgid "Failed to parse suppression file." msgstr "" #: gui/mainwindow.cpp:607 #, kde-format msgid "Heaptrack" msgstr "Heaptrack" #: gui/mainwindow.cpp:635 #, kde-format msgid "Disable Embedded Suppressions" msgstr "" #: gui/mainwindow.cpp:647 #, kde-format msgid "Disable Builtin Suppressions" msgstr "" #: gui/mainwindow.cpp:649 #, kde-format msgid "" "Ignore suppression definitions that are built into heaptrack. By default, " "heaptrack will suppress certain known leaks from common system libraries." msgstr "" #: gui/mainwindow.cpp:677 #, kde-format msgid "Loading file %1, please wait..." msgstr "加载文件 %1,请稍候..." #: gui/mainwindow.cpp:679 #, kde-format msgctxt "%1: file name that is open" msgid "Heaptrack - %1" msgstr "Heaptrack - %1" #: gui/mainwindow.cpp:682 #, kde-format msgctxt "%1, %2: file names that are open" msgid "Heaptrack - %1 compared to %2" msgstr "Heaptrack - %1 与 %2 比较" #: gui/mainwindow.cpp:698 #, kde-format msgid "Reparsing file, please wait..." msgstr "正在重新解析文件,请稍候…" #: gui/mainwindow.cpp:741 #, kde-format msgid " / %1" msgstr " / %1" #: gui/mainwindow.cpp:781 #, kde-format msgid "Code Navigation" msgstr "代码导航" #: gui/mainwindow.cpp:808 #, kde-format msgid "Custom..." msgstr "自定义..." #: gui/mainwindow.cpp:820 #, kde-format msgid "Automatic (No Line numbers)" msgstr "自动(无行号)" #: gui/mainwindow.cpp:840 #, kde-format msgid "Custom Code Navigation" msgstr "自定义代码导航" #: gui/mainwindow.cpp:841 #, kde-format msgid "" "Specify command to use for code navigation, '%f' will be replaced by the " "file name, '%l' by the line number and '%c' by the column number." msgstr "" "指定用于代码导航的命令,'%f' 会被替换成文件名,'%l' 会被替换成行号,'%c' 会被" "替换成列号。" #. i18n: ectx: property (windowTitle), widget (QMainWindow, MainWindow) #: gui/mainwindow.ui:14 #, kde-format msgid "MainWindow" msgstr "主窗口" #. i18n: ectx: property (toolTip), widget (QMainWindow, MainWindow) #. i18n: ectx: property (toolTip), widget (QLabel, suppressionsLabel) #: gui/mainwindow.ui:17 gui/mainwindow.ui:112 #, kde-format msgid "Path to a file containing leak suppression rules in the LSAN format." msgstr "包含 LSAN 格式的泄漏抑制规则的文件的路径。" #. i18n: ectx: property (title), widget (QGroupBox, groupBox) #: gui/mainwindow.ui:63 #, kde-format msgid "Open Heaptrack Data" msgstr "打开Heaptrack 数据" #. i18n: ectx: property (toolTip), widget (KUrlRequester, openFile) #: gui/mainwindow.ui:72 #, kde-format msgid "" "

This field specifies the primary heaptrack data file. These files are " "called heaptrack.$APP.$PID.gz or heaptrack.$APP.$PID.zst. " "You can produce such a file by profiling your application, e.g. via:

\n" "
heaptrack <yourapplication> ...
\n" "

Or, alternatively, you can attach to a running process via

\n" "
heaptrack --pid $(pidof <yourapplication>)
" msgstr "" #. i18n: ectx: property (placeholderText), widget (KUrlRequester, openFile) #. i18n: ectx: property (placeholderText), widget (KUrlRequester, compareTo) #: gui/mainwindow.ui:75 gui/mainwindow.ui:85 #, kde-format msgid "path/to/heaptrack.$APP.$PID.{gz,zst}" msgstr "path/to/heaptrack.$APP.$PID.{gz,zst}" #. i18n: ectx: property (toolTip), widget (KUrlRequester, compareTo) #: gui/mainwindow.ui:82 #, kde-format msgid "" "You can optionally specify a second heaptrack data file to compare to. " "If set, this file will be used as a base and its cost gets subtracted from " "the primary data costs." msgstr "" "您可以选择指定要与之比较的第二个heaptrack数据文件。如果设置,此文件将用作" "基础文件,其成本将从主数据成本中减去。" #. i18n: ectx: property (text), widget (QLabel, openFileLabel) #: gui/mainwindow.ui:92 #, kde-format msgid "Profile &Data:" msgstr "个人资料&数据:" #. i18n: ectx: property (text), widget (QLabel, compareToLabel) #: gui/mainwindow.ui:102 #, kde-format msgid "Compare to:" msgstr "与之比较:" #. i18n: ectx: property (text), widget (QLabel, suppressionsLabel) #: gui/mainwindow.ui:115 #, kde-format msgid "Suppressions:" msgstr "" #. i18n: ectx: property (placeholderText), widget (KUrlRequester, suppressions) #: gui/mainwindow.ui:125 #, kde-format msgid "path/to/lsan_suppressions.txt" msgstr "path/to/lsan_suppressions.txt" #. i18n: ectx: attribute (title), widget (QWidget, summaryTab) #: gui/mainwindow.ui:241 #, kde-format msgid "Summary" msgstr "总计" #. i18n: ectx: property (toolTip), widget (QLabel, topPeakLabel) #. i18n: ectx: property (toolTip), widget (QTreeView, topPeak) #: gui/mainwindow.ui:342 gui/mainwindow.ui:355 #, kde-format msgid "List of functions that allocated the most memory at a given time." msgstr "在给定的时间分配最多内存的函数的列表。" #. i18n: ectx: property (text), widget (QLabel, topPeakLabel) #: gui/mainwindow.ui:345 #, kde-format msgid "Peak Contributions" msgstr "峰值贡献" #. i18n: ectx: property (toolTip), widget (QLabel, topLeakedLabel) #. i18n: ectx: property (toolTip), widget (QTreeView, topLeaked) #: gui/mainwindow.ui:381 gui/mainwindow.ui:394 #, kde-format msgid "List of functions that leak the most memory." msgstr "泄漏内存最多的函数的列表。" #. i18n: ectx: property (text), widget (QLabel, topLeakedLabel) #: gui/mainwindow.ui:384 #, kde-format msgid "Largest Memory Leaks" msgstr "最大内存泄漏" #. i18n: ectx: property (toolTip), widget (QLabel, topAllocationsLabel) #. i18n: ectx: property (toolTip), widget (QTreeView, topAllocations) #: gui/mainwindow.ui:420 gui/mainwindow.ui:433 #, kde-format msgid "List of functions that allocate memory most often." msgstr "最经常分配内存的函数的列表。" #. i18n: ectx: property (text), widget (QLabel, topAllocationsLabel) #: gui/mainwindow.ui:423 #, kde-format msgid "Most Memory Allocations" msgstr "最多内存分配" #. i18n: ectx: property (toolTip), widget (QLabel, topTemporaryLabel) #. i18n: ectx: property (toolTip), widget (QTreeView, topTemporary) #: gui/mainwindow.ui:462 gui/mainwindow.ui:475 #, kde-format msgid "List of functions that produced the most temporary memory allocations." msgstr "最临时的内存分配的函数的列表。" #. i18n: ectx: property (text), widget (QLabel, topTemporaryLabel) #: gui/mainwindow.ui:465 #, kde-format msgid "Most Temporary Allocations" msgstr "最临时的分配" #. i18n: ectx: property (title), widget (KCollapsibleGroupBox, suppressionBox) #: gui/mainwindow.ui:498 #, kde-format msgid "Suppressions" msgstr "" #. i18n: ectx: attribute (title), widget (QWidget, bottomUpTab) #: gui/mainwindow.ui:530 #, kde-format msgid "Bottom-Up" msgstr "自底向上" #. i18n: ectx: property (placeholderText), widget (QLineEdit, bottomUpFilterFunction) #. i18n: ectx: property (placeholderText), widget (QLineEdit, callerCalleeFilterFunction) #. i18n: ectx: property (placeholderText), widget (QLineEdit, topDownFilterFunction) #: gui/mainwindow.ui:554 gui/mainwindow.ui:622 gui/mainwindow.ui:750 #, kde-format msgid "filter by function..." msgstr "按函数过滤..." #. i18n: ectx: property (placeholderText), widget (QLineEdit, bottomUpFilterFile) #. i18n: ectx: property (placeholderText), widget (QLineEdit, topDownFilterFile) #: gui/mainwindow.ui:561 gui/mainwindow.ui:757 #, kde-format msgid "filter by file..." msgstr "按文件过滤..." #. i18n: ectx: property (placeholderText), widget (QLineEdit, bottomUpFilterModule) #. i18n: ectx: property (placeholderText), widget (QLineEdit, callerCalleeFilterModule) #. i18n: ectx: property (placeholderText), widget (QLineEdit, topDownFilterModule) #: gui/mainwindow.ui:568 gui/mainwindow.ui:629 gui/mainwindow.ui:764 #, kde-format msgid "filter by module..." msgstr "按模块过滤..." #. i18n: ectx: attribute (title), widget (QWidget, callerCalleeTab) #: gui/mainwindow.ui:598 #, kde-format msgid "Caller / Callee" msgstr "调用方 / 被调用方" #. i18n: ectx: attribute (title), widget (QWidget, topDownTab) #: gui/mainwindow.ui:729 #, kde-format msgid "Top-Down" msgstr "自上而下" #. i18n: ectx: attribute (title), widget (FlameGraph, flameGraphTab) #: gui/mainwindow.ui:794 #, kde-format msgid "Flame Graph" msgstr "火焰图" #. i18n: ectx: property (windowTitle), widget (QDockWidget, stacksDock) #: gui/mainwindow.ui:810 #, kde-format msgid "S&tacks" msgstr "S&tacks" #. i18n: ectx: property (text), widget (QLabel, stackSpinnerLabel) #: gui/mainwindow.ui:835 #, kde-format msgid "Selected Stack:" msgstr "选定的堆栈:" #. i18n: ectx: property (title), widget (QMenu, menu_File) #: gui/mainwindow.ui:872 #, kde-format msgid "&File" msgstr "文件(&F)" #. i18n: ectx: property (title), widget (QMenu, menu_Settings) #: gui/mainwindow.ui:877 #, kde-format msgid "Setti&ngs" msgstr "设置(&N)" #. i18n: ectx: property (title), widget (QMenu, menuFilter) #: gui/mainwindow.ui:882 #, kde-format msgid "Filter" msgstr "过滤" #: gui/parser.cpp:388 #, kde-format msgid "merging allocations... %1%" msgstr "合并分配... %1%" #: gui/parser.cpp:559 #, kde-format msgid "total" msgstr "总共" #: gui/parser.cpp:561 #, kde-format msgid "0B to 8B" msgstr "0B 到 8B" #: gui/parser.cpp:562 #, kde-format msgid "9B to 16B" msgstr "9B 到 16B" #: gui/parser.cpp:563 #, kde-format msgid "17B to 32B" msgstr "17B 到 32B" #: gui/parser.cpp:564 #, kde-format msgid "33B to 64B" msgstr "33B 到 64B" #: gui/parser.cpp:565 #, kde-format msgid "65B to 128B" msgstr "65B 到 128B" #: gui/parser.cpp:566 #, kde-format msgid "129B to 256B" msgstr "129B 到 256B" #: gui/parser.cpp:567 #, kde-format msgid "257B to 512B" msgstr "257B 到 512B" #: gui/parser.cpp:568 #, kde-format msgid "512B to 1KB" msgstr "512B 到 1KB" #: gui/parser.cpp:569 #, kde-format msgid "more than 1KB" msgstr "超过 1KB" #: gui/parser.cpp:647 #, kde-format msgid "reparsing data" msgstr "正在重新解析数据" #: gui/parser.cpp:647 #, kde-format msgid "parsing data" msgstr "正在解析数据" #: gui/parser.cpp:661 #, kde-format msgid "%1 pass: %2/%3 spent: %4 remaining: %5" msgstr "%1 轮数:%2/%3 花费:%4 剩余:%5" #: gui/parser.cpp:719 #, kde-format msgid "merging allocations..." msgstr "合并分配..." #: gui/parser.cpp:731 #, kde-format msgid "building size histogram..." msgstr "正在构建大小直方图......" #: gui/parser.cpp:745 #, kde-format msgid "building charts..." msgstr "正在构建图表..." #: gui/stacksmodel.cpp:99 #, kde-format msgid "Backtrace" msgstr "回溯跟踪" #: gui/treemodel.cpp:80 #, kde-format msgid "" "The number of times an allocation function was called from this location." "" msgstr "分配函数从这个位置调用的次数" #: gui/treemodel.cpp:83 #, kde-format msgid "" "The number of temporary allocations. These allocations are directly " "followed by a free without any other allocations in-between." msgstr "" "临时分配的数量。这些分配的直接后面是免费的,中间没有任何其他分配。" #: gui/treemodel.cpp:87 #, kde-format msgid "" "The contributions from a given location to the maximum heap memory " "consumption in bytes. This takes deallocations into account." msgstr "指定位置对峰值堆内存占用的贡献,以字节计。这也计入内存释放。" #: gui/treemodel.cpp:94 #, kde-format msgid "" "The location from which an allocation function was called. Function " "symbol and file information may be unknown when debug information was " "missing when heaptrack was run." msgstr "" "调用函数的位置。 当运行Heaptrack 时缺少调试信息时,函数符号和文件信息可能" "未知" #: gui/treemodel.cpp:149 gui/treemodel.cpp:173 #, kde-format msgctxt "1: function, 2: module, 3: module path" msgid "" "%1\n" " in %2 (%3)" msgstr "" #: gui/treemodel.cpp:159 #, kde-format msgid "peak contribution: %1 (%2% of total)\n" msgstr "峰值贡献: %1 (合计的 %2%)\n" #: gui/treemodel.cpp:160 #, kde-format msgid "leaked: %1 (%2% of total)\n" msgstr "泄漏: %1 (占总数的%2%)\n" #: gui/treemodel.cpp:161 #, kde-format msgid "allocations: %1 (%2% of total)\n" msgstr "分配: %1 (占总数的%2%)\n" #: gui/treemodel.cpp:162 #, kde-format msgid "temporary: %1 (%2% of allocations, %3% of total)\n" msgstr "临时: %1 (%2%分配, %3%)\n" #: gui/treemodel.cpp:168 #, kde-format msgid "backtrace:" msgstr "回溯跟踪:" #: gui/treemodel.cpp:180 #, kde-format msgid "called from one location" msgid_plural "called from %1 locations" msgstr[0] "从 %1 个位置被调用" #: gui/util.cpp:32 #, kde-format msgid "??" msgstr "??" #: gui/util.cpp:108 #, kde-format msgid "%1: %2
  %4% out of %3 total" msgstr "" #: gui/util.cpp:134 gui/util.cpp:163 #, kde-format msgid "%1 (self): %2
  %4% out of %3 total" msgstr "" #: gui/util.cpp:137 gui/util.cpp:166 #, kde-format msgid "%1 (inclusive): %2
  %4% out of %3 total" msgstr "" #: gui/util.cpp:183 #, kde-format msgid "symbol: %1
binary: %2 (%3)" msgstr "" #: gui/util.cpp:187 #, kde-format msgctxt "%1: function name, %2: binary basename" msgid "%1 in %2" msgstr "" #: gui/util.cpp:209 #, kde-format msgid "" msgstr ""