[Rt-commit] r10614 - in rt/branches/3.999-DANGEROUS: . html/Admin/CustomFields html/Admin/Elements html/Elements lib/RT/Interface lib/RT/Model t/api
jesse at bestpractical.com
jesse at bestpractical.com
Wed Jan 30 19:52:08 EST 2008
Author: jesse
Date: Wed Jan 30 19:52:08 2008
New Revision: 10614
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/html/Admin/CustomFields/Modify.html
rt/branches/3.999-DANGEROUS/html/Admin/Elements/AddCustomFieldValue
rt/branches/3.999-DANGEROUS/html/Admin/Elements/EditCustomFieldValues
rt/branches/3.999-DANGEROUS/html/Elements/EditCustomFieldSelect
rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web.pm
rt/branches/3.999-DANGEROUS/lib/RT/Model/CustomFieldValue.pm
rt/branches/3.999-DANGEROUS/share/po/cs.po
rt/branches/3.999-DANGEROUS/share/po/da.po
rt/branches/3.999-DANGEROUS/share/po/de.po
rt/branches/3.999-DANGEROUS/share/po/es.po
rt/branches/3.999-DANGEROUS/share/po/fi.po
rt/branches/3.999-DANGEROUS/share/po/fr.po
rt/branches/3.999-DANGEROUS/share/po/he.po
rt/branches/3.999-DANGEROUS/share/po/hu.po
rt/branches/3.999-DANGEROUS/share/po/id.po
rt/branches/3.999-DANGEROUS/share/po/it.po
rt/branches/3.999-DANGEROUS/share/po/ja.po
rt/branches/3.999-DANGEROUS/share/po/nl.po
rt/branches/3.999-DANGEROUS/share/po/no.po
rt/branches/3.999-DANGEROUS/share/po/pl.po
rt/branches/3.999-DANGEROUS/share/po/pt_br.po
rt/branches/3.999-DANGEROUS/share/po/ru.po
rt/branches/3.999-DANGEROUS/share/po/sv.po
rt/branches/3.999-DANGEROUS/share/po/tr.po
rt/branches/3.999-DANGEROUS/share/po/zh_cn.po
rt/branches/3.999-DANGEROUS/share/po/zh_tw.po
rt/branches/3.999-DANGEROUS/t/api/cf_combo_casacade.t
Log:
r75997 at pinglin: jesse | 2008-01-30 19:48:54 -0500
Category -> category
Modified: rt/branches/3.999-DANGEROUS/html/Admin/CustomFields/Modify.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/html/Admin/CustomFields/Modify.html (original)
+++ rt/branches/3.999-DANGEROUS/html/Admin/CustomFields/Modify.html Wed Jan 30 19:52:08 2008
@@ -184,7 +184,7 @@
# Update any existing values
my $values = $CustomFieldObj->values_obj;
while ( my $value = $values->next ) {
- foreach my $attr qw(name description sort_order Category) {
+ foreach my $attr qw(name description sort_order category) {
my $param = "$paramtag-". $value->id ."-". $attr;
next unless exists $ARGS{$param};
next if ($value->$attr()||'') eq ($ARGS{$param}||'');
@@ -199,7 +199,7 @@
if ( defined $ARGS{ $paramtag ."-new-name" } && length $ARGS{ $paramtag ."-new-name" } ) {
my ($id, $msg) = $CustomFieldObj->add_value(
map { $_ => $ARGS{ $paramtag ."-new-$_" } }
- qw( name description sort_order Category )
+ qw( name description sort_order category )
);
push (@results, $msg);
}
Modified: rt/branches/3.999-DANGEROUS/html/Admin/Elements/AddCustomFieldValue
==============================================================================
--- rt/branches/3.999-DANGEROUS/html/Admin/Elements/AddCustomFieldValue (original)
+++ rt/branches/3.999-DANGEROUS/html/Admin/Elements/AddCustomFieldValue Wed Jan 30 19:52:08 2008
@@ -54,7 +54,7 @@
<th><&|/l&>name</&></th>
<th><&|/l&>description</&></th>
% if ( $CustomField->type ne 'Combobox' ) {
-<th><&|/l&>Category</&></th>
+<th><&|/l&>category</&></th>
% }
</tr>
@@ -64,7 +64,7 @@
<td><input type="text" size="30" name="<% $paramtag %>-name" /></td>
<td><input type="text" size="50" name="<% $paramtag %>-Description" /></td>
% if ( $CustomField->type ne 'Combobox' ) {
-<td><input type="text" size="10" name="<% $paramtag %>-Category" /></td>
+<td><input type="text" size="10" name="<% $paramtag %>-category" /></td>
% }
</tr>
Modified: rt/branches/3.999-DANGEROUS/html/Admin/Elements/EditCustomFieldValues
==============================================================================
--- rt/branches/3.999-DANGEROUS/html/Admin/Elements/EditCustomFieldValues (original)
+++ rt/branches/3.999-DANGEROUS/html/Admin/Elements/EditCustomFieldValues Wed Jan 30 19:52:08 2008
@@ -59,7 +59,7 @@
<th><&|/l&>name</&></th>
<th><&|/l&>description</&></th>
% if ($CustomField->type ne 'Combobox') {
-<th><&|/l&>Category</&></th>
+<th><&|/l&>category</&></th>
% }
</tr>
@@ -71,7 +71,7 @@
<td><input type="text" size="30" name="<% $paramtag %>-name" value="<% $value->name %>" /></td>
<td><input type="text" size="50" name="<% $paramtag %>-Description" value="<% $value->description %>" /></td>
% if ( $CustomField->type ne 'Combobox' ) {
-<td><input type="text" size="10" name="<% $paramtag %>-Category" value="<%
+<td><input type="text" size="10" name="<% $paramtag %>-category" value="<%
$value->category || '' %>" /></td>
% }
</tr>
Modified: rt/branches/3.999-DANGEROUS/html/Elements/EditCustomFieldSelect
==============================================================================
--- rt/branches/3.999-DANGEROUS/html/Elements/EditCustomFieldSelect (original)
+++ rt/branches/3.999-DANGEROUS/html/Elements/EditCustomFieldSelect Wed Jan 30 19:52:08 2008
@@ -51,11 +51,11 @@
% my $selected = 0;
% my @category;
% my $id = $namePrefix . $CustomField->id;
-% my $out = $m->scomp('SELF:options', %ARGS, SelectedRef => \$selected, CategoryRef => \@category);
+% my $out = $m->scomp('SELF:options', %ARGS, SelectedRef => \$selected, category_ref => \@category);
% if (@category) {
<script type="text/javascript" src="<%RT->config->get('WebPath')%>/NoAuth/js/cascaded.js"></script>
%# XXX - Hide this select from w3m?
- <select onchange="filter_cascade('<% $id %>-Values', this.value)" name="<% $id %>-Category">
+ <select onchange="filter_cascade('<% $id %>-Values', this.value)" name="<% $id %>-category">
<option value="" <% !$selected && 'selected' %>><&|/l&>-</&></option>
% foreach my $cat (@category) {
% my ($depth, $name) = @$cat;
@@ -102,7 +102,7 @@
% }
% }
% if ( length $level ) {
-% push @$CategoryRef, [0+ at levels, $level];
+% push @$category_ref, [0+ at levels, $level];
<optgroup style="padding-left: <% @levels/2 %>em" label="<% $category %>">
% push @levels, $level;
% }
@@ -123,6 +123,6 @@
@Default => ()
$values => undef
$SelectedRef => undef
-$CategoryRef => undef
+$category_ref => undef
</%ARGS>
</%METHOD>
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Interface/Web.pm Wed Jan 30 19:52:08 2008
@@ -355,7 +355,7 @@
}
foreach my $arg ( keys %ARGS ) {
- next if $arg =~ /-(?:Magic|Category)$/;
+ next if $arg =~ /-(?:Magic|category)$/;
if ( $arg =~ /^object-RT::Model::Transaction--CustomField-/ ) {
$create_args{$arg} = $ARGS{$arg};
@@ -1016,7 +1016,7 @@
my @results;
foreach my $arg ( keys %{ $args{'ARGS'} } ) {
- next if $arg =~ /Category$/;
+ next if $arg =~ /category$/;
# since http won't pass in a form element with a null value, we need
# to fake it
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/CustomFieldValue.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/CustomFieldValue.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/CustomFieldValue.pm Wed Jan 30 19:52:08 2008
@@ -87,7 +87,7 @@
name => '',
description => '',
sort_order => 0,
- Category => '',
+ category => '',
@_,
);
@@ -111,10 +111,10 @@
);
return ( $id, $msg ) unless $id;
- if ( defined $args{'Category'} && length $args{'Category'} ) {
+ if ( defined $args{'category'} && length $args{'category'} ) {
# $self would be loaded at this stage
- my ( $status, $msg ) = $self->set_category( $args{'Category'} );
+ my ( $status, $msg ) = $self->set_category( $args{'category'} );
unless ($status) {
Jifty->log->error("Couldn't set category: $msg");
}
@@ -125,7 +125,7 @@
sub category {
my $self = shift;
- my $attr = $self->first_attribute('Category') or return undef;
+ my $attr = $self->first_attribute('category') or return undef;
return $attr->content;
}
@@ -134,17 +134,17 @@
my $category = shift;
if ( defined $category && length $category ) {
return $self->set_attribute(
- name => 'Category',
+ name => 'category',
Content => $category,
);
} else {
- my ( $status, $msg ) = $self->delete_attribute('Category');
+ my ( $status, $msg ) = $self->delete_attribute('category');
unless ($status) {
Jifty->log->warn("Couldn't delete atribute: $msg");
}
# return true even if there was no category
- return ( 1, _('Category unset') );
+ return ( 1, _('category unset') );
}
}
Modified: rt/branches/3.999-DANGEROUS/share/po/cs.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/cs.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/cs.po Wed Jan 30 19:52:08 2008
@@ -1049,7 +1049,7 @@
msgstr "Nelze vytvořit uživatele: %1"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr "Kategorie"
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/da.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/da.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/da.po Wed Jan 30 19:52:08 2008
@@ -1146,7 +1146,7 @@
#: html/Admin/Elements/AddCustomFieldValue:62
#: html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr "Kategori"
#: etc/initialdata:50
Modified: rt/branches/3.999-DANGEROUS/share/po/de.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/de.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/de.po Wed Jan 30 19:52:08 2008
@@ -895,7 +895,7 @@
msgstr "Kann Benutzer nicht anlegen: %1"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr "Kategorie"
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/es.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/es.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/es.po Wed Jan 30 19:52:08 2008
@@ -1117,7 +1117,7 @@
msgstr "No se puede crear el usuario: %1"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr "Categoria"
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/fi.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/fi.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/fi.po Wed Jan 30 19:52:08 2008
@@ -1026,7 +1026,7 @@
msgstr "Käyttäjää ei voitu luoda: %1"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr ""
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/fr.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/fr.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/fr.po Wed Jan 30 19:52:08 2008
@@ -848,7 +848,7 @@
msgstr "Impossible de créer l'utilisateur : %1"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr "Catégorie"
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/he.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/he.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/he.po Wed Jan 30 19:52:08 2008
@@ -864,7 +864,7 @@
msgstr ""
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr ""
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/hu.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/hu.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/hu.po Wed Jan 30 19:52:08 2008
@@ -842,7 +842,7 @@
msgstr "A felhasználó nem hozható létre: %1"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr ""
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/id.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/id.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/id.po Wed Jan 30 19:52:08 2008
@@ -898,7 +898,7 @@
msgstr "Tidak dapat membuat pengguna: %1"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr ""
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/it.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/it.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/it.po Wed Jan 30 19:52:08 2008
@@ -1133,7 +1133,7 @@
msgstr "Impossibile creare l'utente: %1"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr ""
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/ja.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/ja.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/ja.po Wed Jan 30 19:52:08 2008
@@ -972,7 +972,7 @@
msgstr "ユーザー: %1を作成できません"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr ""
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/nl.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/nl.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/nl.po Wed Jan 30 19:52:08 2008
@@ -1040,7 +1040,7 @@
msgstr "Kan gebruiker %1 niet aanmaken"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr ""
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/no.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/no.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/no.po Wed Jan 30 19:52:08 2008
@@ -1141,7 +1141,7 @@
msgstr "Kunne ikke oprette bruker: %1"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr ""
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/pl.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/pl.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/pl.po Wed Jan 30 19:52:08 2008
@@ -1155,7 +1155,7 @@
msgstr "Niemożliwe utworzenie użytkownika: %1"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr ""
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/pt_br.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/pt_br.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/pt_br.po Wed Jan 30 19:52:08 2008
@@ -1129,7 +1129,7 @@
msgstr "Não posso criar o usuário: %1"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr ""
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/ru.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/ru.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/ru.po Wed Jan 30 19:52:08 2008
@@ -1159,7 +1159,7 @@
msgstr "Невозможно создать пользователя: %1"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr "Категория"
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/sv.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/sv.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/sv.po Wed Jan 30 19:52:08 2008
@@ -904,7 +904,7 @@
#: html/Admin/Elements/AddCustomFieldValue:62
#: html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr "Kategori"
#: etc/initialdata:50
Modified: rt/branches/3.999-DANGEROUS/share/po/tr.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/tr.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/tr.po Wed Jan 30 19:52:08 2008
@@ -828,7 +828,7 @@
msgstr "Kullanıcı oluşturulamadı: %1"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr "Kategori"
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/zh_cn.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/zh_cn.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/zh_cn.po Wed Jan 30 19:52:08 2008
@@ -1400,7 +1400,7 @@
msgstr "分类管理"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr "分类"
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/share/po/zh_tw.po
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/po/zh_tw.po (original)
+++ rt/branches/3.999-DANGEROUS/share/po/zh_tw.po Wed Jan 30 19:52:08 2008
@@ -1400,7 +1400,7 @@
msgstr "分類管理"
#: html/Admin/Elements/AddCustomFieldValue:62 html/Admin/Elements/EditCustomFieldValues:58
-msgid "Category"
+msgid "category"
msgstr "分類"
#: etc/initialdata:50 html/Admin/Queues/People.html:65 html/SelfService/Create.html:71 html/Ticket/Create.html:88 html/Ticket/Elements/EditPeople:72 html/Ticket/Elements/ShowPeople:56 html/Ticket/Update.html:83 lib/RT/ACE_Overlay.pm:112
Modified: rt/branches/3.999-DANGEROUS/t/api/cf_combo_casacade.t
==============================================================================
--- rt/branches/3.999-DANGEROUS/t/api/cf_combo_casacade.t (original)
+++ rt/branches/3.999-DANGEROUS/t/api/cf_combo_casacade.t Wed Jan 30 19:52:08 2008
@@ -21,7 +21,7 @@
works($cf->create(@cf_args));
-# Set some CFVs with Category markers
+# Set some CFVs with category markers
my $t = new( 'RT::Model::Ticket');
my ($id,undef,$msg) = $t->create(queue => $q->id, subject => 'CF Test');
@@ -29,11 +29,11 @@
sub add_works {
works(
- $cf->add_value(name => $_[0], description => $_[0], Category => $_[1])
+ $cf->add_value(name => $_[0], description => $_[0], category => $_[1])
);
};
-add_works('value1', '1. Category A');
+add_works('value1', '1. category A');
add_works('value2');
add_works('value3', '1.1. A-sub one');
add_works('value4', '1.2. A-sub two');
@@ -42,8 +42,8 @@
my $cfv = $cf->values->first;
is ($cf->values->count,5, "got 5 values");
is($cfv->name, 'value1', "We got the first value");
-is($cfv->category, '1. Category A');
-works($cfv->set_category('1. Category AAA'));
-is($cfv->category, '1. Category AAA');
+is($cfv->category, '1. category A');
+works($cfv->set_category('1. category AAA'));
+is($cfv->category, '1. category AAA');
1;
More information about the Rt-commit
mailing list