|
From: <fed...@us...> - 2010-03-22 02:15:21
|
Revision: 292
http://bugzilla-ru.svn.sourceforge.net/bugzilla-ru/?rev=292&view=rev
Author: fedrushkov
Date: 2010-03-22 02:15:12 +0000 (Mon, 22 Mar 2010)
Log Message:
-----------
Work in progress
Modified Paths:
--------------
bugzilla-ru/docs/ru/xml/installation.xml
bugzilla-ru/template/ru/default/admin/params/editparams.html.tmpl
bugzilla-ru/template/ru/default/admin/products/edit-common.html.tmpl
bugzilla-ru/template/ru/default/admin/products/edit.html.tmpl
bugzilla-ru/template/ru/default/admin/products/updated.html.tmpl
bugzilla-ru/template/ru/default/bug/comments.html.tmpl
bugzilla-ru/template/ru/default/bug/create/create.html.tmpl
bugzilla-ru/template/ru/default/bug/format_comment.txt.tmpl
bugzilla-ru/template/ru/default/bug/knob.html.tmpl
bugzilla-ru/template/ru/default/bug/process/header.html.tmpl
bugzilla-ru/template/ru/default/filterexceptions.pl
bugzilla-ru/template/ru/default/reports/components.html.tmpl
Added Paths:
-----------
bugzilla-ru/template/ru/default/email/lockout.txt.tmpl
Modified: bugzilla-ru/docs/ru/xml/installation.xml
===================================================================
--- bugzilla-ru/docs/ru/xml/installation.xml 2010-01-15 02:05:04 UTC (rev 291)
+++ bugzilla-ru/docs/ru/xml/installation.xml 2010-03-22 02:15:12 UTC (rev 292)
@@ -7,72 +7,71 @@
<title>Установка</title>
<note>
- <para>If you just want to <emphasis>use</emphasis> Bugzilla,
- you do not need to install it. None of this chapter is relevant to
- you. Ask your Bugzilla administrator for the URL to access it from
- your web browser.
+ <para>Если вы хотите просто <emphasis>использовать</emphasis>
+ Bugzilla, устанавливать ее нет необходимости. Ничего из этого раздела
+ вам не понадобится. Обратитесь к администратору Bugzilla и узнайте
+ адрес для доступе через веб-обозреватель.
</para>
</note>
- <para>The Bugzilla server software is usually installed on Linux or
- Solaris.
- If you are installing on another OS, check <xref linkend="os-specific"/>
- before you start your installation to see if there are any special
- instructions.
+ <para>Программное обеспечение Bugzilla устанавливается обычно на сервер
+ Linux или Solaris.
+ Если вы устанавливаете на другой операционной системе, изучите
+ <xref linkend="os-specific"/> до начала установки, там могут быть
+ описаны особенности.
</para>
- <para>This guide assumes that you have administrative access to the
- Bugzilla machine. It not possible to
- install and run Bugzilla itself without administrative access except
- in the very unlikely event that every single prerequisite is
- already installed.
+ <para>Данное руководство предполагает, что у вас имеется доступ к
+ системе на уровне администратора. Установить и запустить Bugzilla
+ без такого доступа невозможно, за исключением очень маловероятной
+ ситуации, когда все требуемое программное обеспечение уже установлено.
</para>
<warning>
- <para>The installation process may make your machine insecure for
- short periods of time. Make sure there is a firewall between you
- and the Internet.
+ <para>Процесс установки может сделать систему уязвимой на короткие
+ периоды времени. Позаботьтесь о межсетевом экране между вами и
+ Интернетом.
</para>
</warning>
<para>
- You are strongly recommended to make a backup of your system
- before installing Bugzilla (and at regular intervals thereafter :-).
+ Настоятельно рекомендуется выполнить резервное копирование системы
+ перед началом установки (и разумеется регулярно после установки :-).
</para>
- <para>In outline, the installation proceeds as follows:
+ <para>Последовательность установки в общих чертах:
</para>
<procedure>
<step>
- <para><link linkend="install-perl">Install Perl</link>
- (&min-perl-ver; or above)
+ <para><link linkend="install-perl">Установка Perl</link>
+ (&min-perl-ver; и выше)
</para>
</step>
<step>
- <para><link linkend="install-database">Install a Database Engine</link>
+ <para><link linkend="install-database">Установка базы данных</link>
</para>
</step>
<step>
- <para><link linkend="install-webserver">Install a Webserver</link>
+ <para><link linkend="install-webserver">Установка веб-сервера</link>
</para>
</step>
<step>
- <para><link linkend="install-bzfiles">Install Bugzilla</link>
+ <para><link linkend="install-bzfiles">Установка Bugzilla</link>
</para>
</step>
<step>
- <para><link linkend="install-perlmodules">Install Perl modules</link>
+ <para><link linkend="install-perlmodules">Установка модулей Perl</link>
</para>
</step>
<step>
<para>
- <link linkend="install-MTA">Install a Mail Transfer Agent</link>
- (Sendmail 8.7 or above, or an MTA that is Sendmail-compatible with at least this version)
+ <link linkend="install-MTA">Установка почтового транспорта</link>
+ (Sendmail 8.7 и выше, либо другой транспорт, совместимый с этой версией)
</para>
</step>
<step>
- <para>Configure all of the above.
+ <para>Настройка всего перечисленного.
</para>
</step>
</procedure>
@@ -80,42 +79,42 @@
<section id="install-perl">
<title>Perl</title>
- <para>Installed Version Test: <programlisting>perl -v</programlisting></para>
+ <para>Определите установленную версию: <programlisting>perl -v</programlisting></para>
- <para>Any machine that doesn't have Perl on it is a sad machine indeed.
- If you don't have it and your OS doesn't provide official packages,
- visit <ulink url="http://www.perl.com"/>.
- Although Bugzilla runs with Perl &min-perl-ver;,
- it's a good idea to be using the latest stable version.
+ <para>Система, на которой не установлен Perl -- тяжелый случай.
+ Если он не установлен и дситрибутив системы не содержит его,
+ обратитесь на <ulink url="http://www.perl.com"/>.
+ Bugzilla может работать с Perl &min-perl-ver;,
+ но рекомендуется использовать наиболее свежую стабильную версию.
</para>
</section>
<section id="install-database">
- <title>Database Engine</title>
+ <title>База данных</title>
<para>
- Bugzilla supports MySQL, PostgreSQL and Oracle as database servers.
- You only require one of these systems to make use of Bugzilla.
+ Bugzilla поддерживает MySQL, PostgreSQL и Oracle в качестве сервера базы данных.
+ Для использования Bugzilla требуется одна из этих систем.
</para>
<section id="install-mysql">
<title>MySQL</title>
- <para>Installed Version Test: <programlisting>mysql -V</programlisting></para>
+ <para>Определите установленную версию: <programlisting>mysql -V</programlisting></para>
<para>
- If you don't have it and your OS doesn't provide official packages,
- visit <ulink url="http://www.mysql.com"/>. You need MySQL version
- &min-mysql-ver; or higher.
+ Если MySQL не установлен и дистрибутив системы не содержит его,
+ обратитесь на <ulink url="http://www.mysql.com"/>. Потребуется версия
+ &min-mysql-ver; или выше.
</para>
<note>
- <para> Many of the binary
- versions of MySQL store their data files in
+ <para> Многие готовые дистрибутивы
+ MySQL размещают файлы данных в
<filename class="directory">/var</filename>.
- On some Unix systems, this is part of a smaller root partition,
- and may not have room for your bug database. To change the data
- directory, you have to build MySQL from source yourself, and
- set it as an option to <filename>configure</filename>.</para>
+ На некоторых системах Unix это часть корневого раздела небольшого размера,
+ где может не хватить свободного пространства для размещения базы данных.
+ Для изменения каталога потребуется собрать MySQL из исходных текстов самостоятельно, и
+ установить другой каталог на этапе <filename>configure</filename>.</para>
</note>
<para>If you install from something other than a packaging/installation
Modified: bugzilla-ru/template/ru/default/admin/params/editparams.html.tmpl
===================================================================
--- bugzilla-ru/template/ru/default/admin/params/editparams.html.tmpl 2010-01-15 02:05:04 UTC (rev 291)
+++ bugzilla-ru/template/ru/default/admin/params/editparams.html.tmpl 2010-03-22 02:15:12 UTC (rev 292)
@@ -29,7 +29,7 @@
[% PROCESS global/variables.none.tmpl %]
[% curpanel = -1 %]
-[% panels = panels.sort('sortkey') %]
+[% panels = panels.nsort('sortkey') %]
[% FOREACH panel = panels %]
[% PROCESS "admin/params/${panel.name}.html.tmpl"
Modified: bugzilla-ru/template/ru/default/admin/products/edit-common.html.tmpl
===================================================================
--- bugzilla-ru/template/ru/default/admin/products/edit-common.html.tmpl 2010-01-15 02:05:04 UTC (rev 291)
+++ bugzilla-ru/template/ru/default/admin/products/edit-common.html.tmpl 2010-03-22 02:15:12 UTC (rev 292)
@@ -47,12 +47,6 @@
[% IF Param('usetargetmilestone') -%]
<tr>
- <th align="right">Ссылка на описание планов продукта:</th>
- <td><input type="text" size="64" maxlength="255" name="milestoneurl"
- value="[% product.milestoneurl FILTER html %]">
- </td>
- </tr>
- <tr>
<th align="right">План по умолчанию:</th>
<td>
[% IF product.milestones.size %]
@@ -77,39 +71,44 @@
[% ' checked="checked"' IF product.is_active %]>
</td>
</tr>
-
-[% IF !Param('usevotes') %]
-<tr class="param_disabled">
- <td colspan="2"
- style="font-family: arial; font-style: italic; font-size: 0.7em; text-align: center;">
- Настройка системы 'usevotes' отключена. Параметры
- голосования будут действовать только после его включения.</td>
-</tr>
-[% END %]
-<tr [% IF !Param('usevotes') %]class="param_disabled" [% END %]>
- <th align="right">Максимальное количество голосов пользователя:</th>
- <td><input size="5" maxlength="5" name="votesperuser"
- value="[% product.votesperuser FILTER html %]">
- </td>
-</tr>
-<tr [% IF !Param('usevotes') %]class="param_disabled" [% END %]>
+<tr>
<th align="right">
- Максимальное количество голосов на одну [% terms.bug_acc %]:
+ <label for="allows_unconfirmed">Разрешить состояние
+ '[% display_value('bug_status', 'UNCONFIRMED') FILTER html %]'
+ в этом продукте:</label>
</th>
- <td><input size="5" maxlength="5" name="maxvotesperbug"
- value="[% product.maxvotesperbug FILTER html %]">
+ <td><input type="checkbox" id="allows_unconfirmed" name="allows_unconfirmed"
+ [% ' checked="checked"' IF product.allows_unconfirmed %]
+ [% IF Param('usevotes') %]
+ onchange="bz_toggleClass('votes_to_confirm_container',
+ 'bz_default_hidden')"
+ [% END %]>
+ [% IF Param('usevotes') %]
+ <span id="votes_to_confirm_container"
+ [% ' class="bz_default_hidden"' IF !product.allows_unconfirmed %]>
+ ...и автоматически подтверждать [% terms.bugs %] при получении
+ <input size="3" maxlength="5" name="votestoconfirm" id="votestoconfirm"
+ value="[% product.votes_to_confirm FILTER html %]">
+ голосов. (Установка значения 0 отключает автоматическое подтверждение [% terms.bugs_gen %]
+ голосованием.)
+ </span>
+ [% END %]
</td>
</tr>
-<tr [% IF !Param('usevotes') %]class="param_disabled" [% END %]>
- <th align="right">
- Порог подтверждения:
- </th>
- <td>
- Количество голосов, необходимое для автоматического
- перевода [% terms.bug_gen %] из состояния
- <a href="page.cgi?id=fields.html#status">[% display_value("bug_status", "UNCONFIRMED") FILTER html %]</a>
- :
- <input size="5" maxlength="5" name="votestoconfirm"
- value="[% product.votestoconfirm FILTER html %]">
- </td>
-</tr>
+
+[% IF Param('usevotes') %]
+ <tr>
+ <th align="right">Максимальное количество голосов пользователя:</th>
+ <td><input size="5" maxlength="5" name="votesperuser" id="votesperuser"
+ value="[% product.votesperuser FILTER html %]">
+ </td>
+ </tr>
+ <tr>
+ <th align="right">
+ Максимальное количество голосов на одну [% terms.bug_acc %]:
+ </th>
+ <td><input size="5" maxlength="5" name="maxvotesperbug" id="maxvotesperbug"
+ value="[% product.maxvotesperbug FILTER html %]">
+ </td>
+ </tr>
+[% END %]
Modified: bugzilla-ru/template/ru/default/admin/products/edit.html.tmpl
===================================================================
--- bugzilla-ru/template/ru/default/admin/products/edit.html.tmpl 2010-01-15 02:05:04 UTC (rev 291)
+++ bugzilla-ru/template/ru/default/admin/products/edit.html.tmpl 2010-03-22 02:15:12 UTC (rev 292)
@@ -31,6 +31,7 @@
[% PROCESS global/header.html.tmpl
title = title
style_urls = ['skins/standard/admin.css']
+ javascript_urls = ['js/util.js']
%]
[% group_control = {${constants.CONTROLMAPNA} => 'Запрещено',
Modified: bugzilla-ru/template/ru/default/admin/products/updated.html.tmpl
===================================================================
--- bugzilla-ru/template/ru/default/admin/products/updated.html.tmpl 2010-01-15 02:05:04 UTC (rev 291)
+++ bugzilla-ru/template/ru/default/admin/products/updated.html.tmpl 2010-03-22 02:15:12 UTC (rev 292)
@@ -41,6 +41,8 @@
style_urls = ['skins/standard/admin.css']
%]
+[% PROCESS "global/field-descs.none.tmpl" %]
+
[% IF changes.name.defined %]
<p>
Название продукта изменено с '[% changes.name.0 FILTER html %]' на
@@ -69,23 +71,6 @@
</p>
[% END %]
-[% IF changes.milestoneurl.defined %]
- <p>
- Описание планов продукта изменено
- [% IF changes.milestoneurl.0 != '' %]
- c<br> <a href="[%- changes.milestoneurl.0 FILTER html %]">
- [%- changes.milestoneurl.0 FILTER html %]</a>
- [% END %]
- на
- [% IF product.milestone_url != '' %]
- <br><a href="[%- product.milestone_url FILTER html %]">
- [%- product.milestone_url FILTER html %]</a>.
- [% ELSE %]
- пустое.
- [% END %]
- </p>
-[% END %]
-
[% IF changes.defaultmilestone.defined %]
<p>
План по умолчанию изменен с '[% changes.defaultmilestone.0 FILTER html %]' на
@@ -120,6 +105,24 @@
[% checkvotes = 1 %]
[% END %]
+[% IF changes.allows_unconfirmed.defined %]
+ <p>
+ [% IF product.allows_unconfirmed %]
+ Для [% terms.bugs_gen %] продукта разрешено состояние
+ '[% display_value('bug_status', 'UNCONFIRMED') FILTER html %]'.
+ [% ELSE %]
+ Для [% terms.bugs_gen %] продукта запрещено состояние
+ '[% display_value('bug_status', 'UNCONFIRMED') FILTER html %]'.
+ Все
+ <a href="buglist.cgi?product=
+ [%- product.name FILTER url_quote %]&bug_status=UNCONFIRMED">
+ [%- terms.bugs %], находящиеся в данный момент в состоянии
+ '[% display_value('bug_status', 'UNCONFIRMED') FILTER html %]'</a>,
+ сохранят его до ближайшего редактирования.
+ [% END %]
+ </p>
+[% END %]
+
[% IF !changes.keys.size %]
<p>Изменений продукта '[% product.name FILTER html %]' не обнаружено.</p>
[% END %]
Modified: bugzilla-ru/template/ru/default/bug/comments.html.tmpl
===================================================================
--- bugzilla-ru/template/ru/default/bug/comments.html.tmpl 2010-01-15 02:05:04 UTC (rev 291)
+++ bugzilla-ru/template/ru/default/bug/comments.html.tmpl 2010-03-22 02:15:12 UTC (rev 292)
@@ -123,11 +123,10 @@
[% END %]
[% END %]
-[% IF mode == "edit" %]
- <a href="#" onclick="toggle_all_comments('collapse'); return false;">Свернуть все комментарии</a> -
- <a href="#" onclick="toggle_all_comments('expand'); return false;">Развернуть все комментарии</a>
- <hr>
-[% END %]
+<!-- This auto-sizes the comments and positions the collapse/expand links
+ to the right. -->
+<table class="bz_comment_table" cellpadding="0" cellspacing="0"><tr>
+<td>
[% FOREACH comment = comments %]
[% IF count >= start_at %]
@@ -142,6 +141,19 @@
#%]
[% Hook.process("aftercomments") %]
+</td>
+<td>
+ [% IF mode == "edit" %]
+ <ul class="bz_collapse_expand_comments">
+ <li><a href="#" onclick="toggle_all_comments('collapse');
+ return false;">Свернуть все комментарии</a></li>
+ <li><a href="#" onclick="toggle_all_comments('expand');
+ return false;">Развернуть все комментарии</a></li>
+ </ul>
+ [% END %]
+</td>
+</tr></table>
+
[%############################################################################%]
[%# Block for individual comments #%]
[%############################################################################%]
Modified: bugzilla-ru/template/ru/default/bug/create/create.html.tmpl
===================================================================
--- bugzilla-ru/template/ru/default/bug/create/create.html.tmpl 2010-01-15 02:05:04 UTC (rev 291)
+++ bugzilla-ru/template/ru/default/bug/create/create.html.tmpl 2010-03-22 02:15:12 UTC (rev 292)
@@ -191,7 +191,7 @@
[%# Migration note: The following file corresponds to the old Param
# 'entryheaderhtml'
#%]
- [% INCLUDE 'bug/create/user-message.html.tmpl' %]
+ [% PROCESS 'bug/create/user-message.html.tmpl' %]
</td>
</tr>
@@ -438,7 +438,7 @@
<tr>
<th>Оценка трудоемкости:</th>
<td colspan="2">
- <input name="estimated_time" size="6" maxlength="6" value="0.0">
+ <input name="estimated_time" size="6" maxlength="6" value="[% estimated_time FILTER html %]">
</td>
</tr>
<tr>
@@ -458,7 +458,7 @@
<tr>
<th>Имя:</th>
<td colspan="2">
- <input name="alias" size="20">
+ <input name="alias" size="20" value="[% alias FILTER html %]">
</td>
</tr>
[% END %]
Modified: bugzilla-ru/template/ru/default/bug/format_comment.txt.tmpl
===================================================================
--- bugzilla-ru/template/ru/default/bug/format_comment.txt.tmpl 2010-01-15 02:05:04 UTC (rev 291)
+++ bugzilla-ru/template/ru/default/bug/format_comment.txt.tmpl 2010-03-22 02:15:12 UTC (rev 292)
@@ -59,6 +59,14 @@
[%+ comment.attachment.description %]
[%+ comment.body %]
+[% ELSIF comment.type == constants.CMT_ATTACHMENT_UPDATED %]
+Комментарий к приложению [% comment.extra_data %]
+[% IF is_bugmail %]
+ --> [% urlbase _ "attachment.cgi?id=" _ comment.extra_data %]
+[% END %]
+[%+ comment.attachment.description %]
+
+[%+ comment.body %]
[% ELSE %]
X[% comment_body %]
[% END %]
Modified: bugzilla-ru/template/ru/default/bug/knob.html.tmpl
===================================================================
--- bugzilla-ru/template/ru/default/bug/knob.html.tmpl 2010-01-15 02:05:04 UTC (rev 291)
+++ bugzilla-ru/template/ru/default/bug/knob.html.tmpl 2010-03-22 02:15:12 UTC (rev 292)
@@ -25,71 +25,33 @@
[% PROCESS global/variables.none.tmpl %]
<div id="status">
- [% initial_action_shown = 0 %]
- [% show_resolution = 0 %]
- [% bug_status_select_displayed = 0 %]
+ [% PROCESS bug/field.html.tmpl
+ no_tds = 1
+ field = bug_fields.bug_status
+ value = bug.bug_status
+ override_legal_values = bug.choices.bug_status
+ editable = bug.choices.bug_status.size > 1
+ %]
- [% closed_status_array = [] %]
- [%# These actions are based on the current custom workflow. %]
- [% FOREACH bug_status = bug.status.can_change_to %]
- [% NEXT IF bug.isunconfirmed && bug_status.is_open && !bug.user.canconfirm %]
- [% NEXT IF bug.isopened && !bug.isunconfirmed && bug_status.is_open && !bug.user.canedit %]
- [% NEXT IF (!bug_status.is_open || !bug.isopened) && !bug.user.canedit && !bug.user.isreporter %]
- [%# Special hack to only display UNCO or REOP when reopening, but not both;
- # for compatibility with older versions. %]
- [% NEXT IF !bug.isopened && (bug.everconfirmed && bug_status.name == "UNCONFIRMED"
- || !bug.everconfirmed && bug_status.name == "REOPENED") %]
- [% IF NOT bug_status_select_displayed %]
- <select name="bug_status" id="bug_status">
- [% bug_status_select_displayed = 1 %]
- [% END %]
- [% PROCESS initial_action %]
- [% NEXT IF bug_status.name == bug.bug_status %]
- <option value="[% bug_status.name FILTER html %]">
- [% display_value("bug_status", bug_status.name) FILTER html %]
- </option>
- [% IF !bug_status.is_open %]
- [% show_resolution = 1 %]
- [% filtered_status = bug_status.name FILTER js %]
- [% closed_status_array.push( filtered_status ) %]
- [% END %]
+ [% IF bug.resolution
+ OR bug.check_can_change_field('resolution', bug.resolution, 1)
+ %]
+ <noscript><br>решена </noscript>
[% END %]
- [%# These actions are special and are independent of the workflow. %]
- [% IF bug.user.canedit || bug.user.isreporter %]
- [% IF NOT bug_status_select_displayed %]
- <select name="bug_status" id="bug_status">
- [% bug_status_select_displayed = 1 %]
- [% END %]
- [% IF bug.isopened %]
- [% IF bug.resolution %]
- [% PROCESS initial_action %]
- [% END %]
- [% ELSIF bug.resolution != "MOVED" || bug.user.canmove %]
- [% PROCESS initial_action %]
- [% show_resolution = 1 %]
- [% END %]
- [% END %]
- [% IF bug_status_select_displayed %]
- </select>
- [% ELSE %]
- [% display_value("bug_status", bug.bug_status) FILTER html %]
- [% IF bug.resolution %]
- [%+ display_value("resolution", bug.resolution) FILTER html %]
- [% IF bug.dup_id %]
- <span id="duplicate_display">дублирует
- [% "${terms.bug_acc} ${bug.dup_id}" FILTER bug_link(bug.dup_id) FILTER none %]</span>
- [% END %]
- [% END %]
- [% END %]
- [% IF bug.user.canedit || bug.user.isreporter %]
- [% IF show_resolution %]
- <noscript><br>resolved as </noscript>
- <span id="resolution_settings">[% PROCESS select_resolution %]</span>
- [% END %]
+ <span id="resolution_settings">
+ [% PROCESS bug/field.html.tmpl
+ no_tds = 1
+ field = bug_fields.resolution
+ value = bug.resolution
+ override_legal_values = bug.choices.resolution
+ editable = bug.check_can_change_field('resolution', bug.resolution, 1)
+ %]
+ </span>
+
+ [% IF bug.check_can_change_field('dup_id', 0, 1) %]
<noscript><br> дублирует</noscript>
-
- <span id="duplicate_settings">
+ <span id="duplicate_settings">
<span id="dup_id_container" class="bz_default_hidden">
[% "${terms.bug_acc} ${bug.dup_id}" FILTER bug_link(bug.dup_id) FILTER none %]
(<a href="#" id="dup_id_edit_action">изменить</a>)
@@ -103,11 +65,20 @@
<div id="dup_id_discoverable" class="bz_default_hidden">
<a href="#" id="dup_id_discoverable_action">Дублирует [% terms.bug_acc FILTER none -%]...</a>
</div>
+ [% ELSIF bug.dup_id %]
+ <noscript><br> дублирует</noscript>
+ <span id="duplicate_display">
+ [% "${terms.bug_acc} ${bug.dup_id}" FILTER bug_link(bug.dup_id) FILTER none %]</span>
[% END %]
</div>
+
<script type="text/javascript">
- var close_status_array = new Array("[% closed_status_array.join('", "') FILTER replace(',$', '')
- FILTER none %]");
+ var close_status_array = [
+ [% FOREACH status = bug.choices.bug_status %]
+ [% NEXT IF status.is_open %]
+ '[% status.name FILTER js %]'[% ',' UNLESS loop.last %]
+ [% END %]
+ ];
YAHOO.util.Dom.removeClass('dup_id_discoverable', 'bz_default_hidden');
hideEditableField( "dup_id_container", "dup_id", 'dup_id_edit_action',
'dup_id', '[% bug.dup_id FILTER js %]' )
@@ -129,29 +100,3 @@
[% INCLUDE "bug/field-events.js.tmpl" field = select_fields.bug_status %]
[% INCLUDE "bug/field-events.js.tmpl" field = select_fields.resolution %]
</script>
-
-[%# Common actions %]
-
-[% BLOCK initial_action %]
- [% IF !initial_action_shown %]
- <option selected value="[% bug.bug_status FILTER html %]">
- [% display_value("bug_status", bug.bug_status) FILTER html %]
- </option>
- [% IF !bug.isopened %]
- [% show_resolution = 1 %]
- [% filtered_status = bug.bug_status FILTER js %]
- [% closed_status_array.push(filtered_status) %]
- [% END %]
- [% initial_action_shown = 1 %]
- [% END %]
-[% END %]
-
-[% BLOCK select_resolution %]
- <select name="resolution" id="resolution">
- [% FOREACH r = bug.choices.resolution %]
- <option value="[% r.name FILTER html %]"
- [% ' selected="selected"' IF r.name == bug.resolution %]>
- [% display_value("resolution", r.name) FILTER html %]</option>
- [% END %]
- </select>
-[% END %]
Modified: bugzilla-ru/template/ru/default/bug/process/header.html.tmpl
===================================================================
--- bugzilla-ru/template/ru/default/bug/process/header.html.tmpl 2010-01-15 02:05:04 UTC (rev 291)
+++ bugzilla-ru/template/ru/default/bug/process/header.html.tmpl 2010-03-22 02:15:12 UTC (rev 292)
@@ -46,8 +46,4 @@
[% title = "Измените результаты голосования" %]
[% END %]
-[% PROCESS global/header.html.tmpl
- # We don't have a bug object at this point, unfortunately, so we can't
- # actually display all the proper header info.
- header_addl_info = ''
-%]
+[% PROCESS global/header.html.tmpl %]
Added: bugzilla-ru/template/ru/default/email/lockout.txt.tmpl
===================================================================
--- bugzilla-ru/template/ru/default/email/lockout.txt.tmpl (rev 0)
+++ bugzilla-ru/template/ru/default/email/lockout.txt.tmpl 2010-03-22 02:15:12 UTC (rev 292)
@@ -0,0 +1,41 @@
+[%# The contents of this file are subject to the Mozilla Public
+ # License Version 1.1 (the "License"); you may not use this file
+ # except in compliance with the License. You may obtain a copy of
+ # the License at http://www.mozilla.org/MPL/
+ #
+ # Software distributed under the License is distributed on an "AS
+ # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ # implied. See the License for the specific language governing
+ # rights and limitations under the License.
+ #
+ # The Original Code is the Bugzilla Bug Tracking System.
+ #
+ # The Initial Developer of the Original Code is the Mozilla Corporation.
+ # Portions created by the Initial Developer are Copyright (C) 2008
+ # the Initial Developer. All Rights Reserved.
+ #
+ # Contributor(s):
+ # Max Kanat-Alexander <mk...@bu...>
+ #
+ # Russian translation: Vitaly Fedrushkov <fed...@us...>
+ #%]
+
+[% PROCESS global/variables.none.tmpl %]
+
+From: [% Param('mailfrom') %]
+To: [% Param('maintainer') %]
+Subject: [[% terms.Bugzilla %]] Учетная запись блокирована: [% locked_user.login %] ([% attempts.0.ip_addr %])
+X-Bugzilla-Type: admin
+
+С адреса IP [% attempts.0.ip_addr %] выполнено много неудачных попыток входа (
+[%- constants.MAX_LOGIN_ATTEMPTS +%]) под
+учетной записью [% locked_user.login %].
+
+Зарегистрированные моменты времени попыток:
+
+[% FOREACH login = attempts %]
+ [%+ login.login_time FILTER time %]
+[% END %]
+
+Попытки входа с этого адреса блокированы до
+[%+ unlock_at FILTER time %].
Modified: bugzilla-ru/template/ru/default/filterexceptions.pl
===================================================================
--- bugzilla-ru/template/ru/default/filterexceptions.pl 2010-01-15 02:05:04 UTC (rev 291)
+++ bugzilla-ru/template/ru/default/filterexceptions.pl 2010-03-22 02:15:12 UTC (rev 292)
@@ -92,10 +92,6 @@
'request.attach_id',
],
-'reports/components.html.tmpl' => [
- 'numcols',
-],
-
'reports/duplicates-table.html.tmpl' => [
'column.name',
'column.description',
Modified: bugzilla-ru/template/ru/default/reports/components.html.tmpl
===================================================================
--- bugzilla-ru/template/ru/default/reports/components.html.tmpl 2010-01-15 02:05:04 UTC (rev 291)
+++ bugzilla-ru/template/ru/default/reports/components.html.tmpl 2010-03-22 02:15:12 UTC (rev 292)
@@ -16,6 +16,7 @@
# Rights Reserved.
#
# Contributor(s): Bradley Baetz <bb...@st...>
+ # Max Kanat-Alexander <mk...@bu...>
#
# Russian translation: Vitaly Fedrushkov <fed...@us...>
#%]
@@ -29,7 +30,10 @@
Компоненты продукта [% product.name FILTER html %]
[% END %]
-[% PROCESS global/header.html.tmpl title = title %]
+[% PROCESS global/header.html.tmpl
+ style_urls = [ "skins/standard/reports.css" ]
+ title = title
+%]
[% IF Param("useqacontact") %]
[% numcols = 3 %]
@@ -37,30 +41,38 @@
[% numcols = 2 %]
[% END %]
+<table cellpadding="0" cellspacing="0" id="components_header_table">
+ <tr>
+ <td class="instructions">
+ Выберите компонент для просмотра незакрытых [% terms.bugs_gen %] для этого компонента:
+ </td>
+ <td class="product_container">
+ <h2 class="product_name">[% product.name FILTER html %]</h2>
+ <div class="product_desc">
+ [% product.description FILTER html_light %]
+ </div>
+ </td>
+ </tr>
+</table>
-<p><strong>[% product.name FILTER html %]</strong>:
- [% product.description FILTER html_light %]</p>
+<h3 class="components_header">Компоненты</h3>
-<p><em>Выберите компонент для просмотра незакрытых [% terms.bugs_gen %] для этого
- компонента:</em></p>
-
-<table>
+<table class="component_table" cellspacing="0" cellpadding="0">
+ <thead>
<tr>
- <th align="left">Компонент</th>
- <th align="left">Исполнитель</th>
+ <th> </th>
+ <th>Исполнитель</th>
[% IF Param("useqacontact") %]
- <th align="left">Приемка</th>
+ <th>Приемка</th>
[% END %]
</tr>
+ </thead>
+ <tbody>
[% FOREACH comp = product.components %]
[% INCLUDE describe_comp %]
[% END %]
- <tr>
- <td colspan="[% numcols %]">
- <hr>
- </td>
- </tr>
+ </tbody>
</table>
[% PROCESS global/footer.html.tmpl %]
@@ -71,29 +83,24 @@
[% BLOCK describe_comp %]
<tr>
- <td colspan="[% numcols %]">
- <hr>
- </td>
- </tr>
- <tr>
- <td rowspan="2">
+ <td rowspan="2" class="component_name">
<a name="[% comp.name FILTER html %]"
href="buglist.cgi?product=
[%- product.name FILTER url_quote %]&component=
[%- comp.name FILTER url_quote %]&resolution=---">
[% comp.name FILTER html %]</a>
</td>
- <td>
+ <td class="component_assignee">
[% INCLUDE global/user.html.tmpl who = comp.default_assignee %]
</td>
[% IF Param("useqacontact") %]
- <td>
+ <td class="component_qa_contact">
[% INCLUDE global/user.html.tmpl who = comp.default_qa_contact %]
</td>
[% END %]
</tr>
<tr>
- <td colspan="[% numcols - 1 %]">
+ <td colspan="[% numcols - 1 %]" class="component_description">
[% comp.description FILTER html_light %]
</td>
</tr>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|