[Rt-commit] r10604 - in rt/branches/3.999-DANGEROUS: . docs/design_docs html/Admin/CustomFields html/Admin/Elements lib/RT lib/RT/Interface/Email/Auth lib/RT/Model sbin
jesse at bestpractical.com
jesse at bestpractical.com
Wed Jan 30 18:54:32 EST 2008
Author: jesse
Date: Wed Jan 30 18:54:31 2008
New Revision: 10604
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/docs/design_docs/3.3-schema-redesign.txt
rt/branches/3.999-DANGEROUS/html/Admin/CustomFields/Modify.html
rt/branches/3.999-DANGEROUS/html/Admin/CustomFields/Objects.html
rt/branches/3.999-DANGEROUS/html/Admin/CustomFields/index.html
rt/branches/3.999-DANGEROUS/html/Admin/Elements/SelectCustomFieldLookupType
rt/branches/3.999-DANGEROUS/lib/RT/Interface/Email/Auth/GnuPG.pm
rt/branches/3.999-DANGEROUS/lib/RT/Model/CustomField.pm
rt/branches/3.999-DANGEROUS/lib/RT/Model/Transaction.pm
rt/branches/3.999-DANGEROUS/lib/RT/Record.pm
rt/branches/3.999-DANGEROUS/sbin/rt-dump-database.in
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/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
Log:
r75976 at pinglin: jesse | 2008-01-30 18:44:41 -0500
* check_no_private_key name fixed
r75977 at pinglin: jesse | 2008-01-30 18:50:08 -0500
LookupType -> lookup_type
Modified: rt/branches/3.999-DANGEROUS/docs/design_docs/3.3-schema-redesign.txt
==============================================================================
--- rt/branches/3.999-DANGEROUS/docs/design_docs/3.3-schema-redesign.txt (original)
+++ rt/branches/3.999-DANGEROUS/docs/design_docs/3.3-schema-redesign.txt Wed Jan 30 18:54:31 2008
@@ -9,7 +9,7 @@
MaxValues integer, -- New: 1 = Single, 0 = Multiple
Pattern varchar(255) NULL , -- New: regex to validate against
Repeated int2 NOT NULL DEFAULT 0 , -- New: repeated table entry
- LookupType varchar(255) NOT NULL, -- New: "RT::Model::Queue-RT::Model::Ticket"
+ lookup_type varchar(255) NOT NULL, -- New: "RT::Model::Queue-RT::Model::Ticket"
description varchar(255) NULL ,
sort_order integer NOT NULL DEFAULT 0 , -- only used on "pick CF" screen
)
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 18:54:31 2008
@@ -78,7 +78,7 @@
<tr><td class="label"><&|/l&>Applies to</&></td>
<td><& /Admin/Elements/SelectCustomFieldLookupType,
- name => "LookupType",
+ name => "lookup_type",
Default => $CustomFieldObj->lookup_type, &>
</td></tr>
@@ -146,7 +146,7 @@
my ( $val, $msg ) = $CustomFieldObj->create(
name => $name,
TypeComposite => $TypeComposite,
- lookup_type => $LookupType,
+ lookup_type => $lookup_type,
description => $description,
Pattern => $Pattern,
);
@@ -165,7 +165,7 @@
#we're asking about enabled on the web page but really care about disabled.
$ARGS{'disabled'} = $disabled = $Enabled? 0 : 1;
- my @attribs = qw(disabled Pattern name TypeComposite LookupType description LinkValueTo IncludeContentForValue);
+ my @attribs = qw(disabled Pattern name TypeComposite lookup_type description LinkValueTo IncludeContentForValue);
push @results, update_record_object(
AttributesRef => \@attribs,
object => $CustomFieldObj,
@@ -214,7 +214,7 @@
<%ARGS>
$id => undef
$TypeComposite => undef
-$LookupType => undef
+$lookup_type => undef
$MaxValues => undef
$sort_order => undef
$description => undef
Modified: rt/branches/3.999-DANGEROUS/html/Admin/CustomFields/Objects.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/html/Admin/CustomFields/Objects.html (original)
+++ rt/branches/3.999-DANGEROUS/html/Admin/CustomFields/Objects.html Wed Jan 30 18:54:31 2008
@@ -71,9 +71,9 @@
$CF->load($id) if ($id);
unless ($CF->id) { abort(_("Could not load CustomField %1"), $id)};
-my $LookupType = $CF->lookup_type || '';
-$LookupType =~ /^(.*?)-/ ||
- abort(_("object of type %1 cannot take custom fields", $LookupType));
+my $lookup_type = $CF->lookup_type || '';
+$lookup_type =~ /^(.*?)-/ ||
+ abort(_("object of type %1 cannot take custom fields", $lookup_type));
my $Class = $1;
my $CollectionClass;
Modified: rt/branches/3.999-DANGEROUS/html/Admin/CustomFields/index.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/html/Admin/CustomFields/index.html (original)
+++ rt/branches/3.999-DANGEROUS/html/Admin/CustomFields/index.html Wed Jan 30 18:54:31 2008
@@ -104,5 +104,5 @@
$CustomFields->find_all_rows;
$CustomFields->{'find_disabled_rows'} = 1 if $Showdisabled;
$CustomFields->limit_to_lookup_type( $Type ) if $Type;
-$CustomFields->order_by( { column => 'LookupType' }, { column => 'name' } );
+$CustomFields->order_by( { column => 'lookup_type' }, { column => 'name' } );
</%INIT>
Modified: rt/branches/3.999-DANGEROUS/html/Admin/Elements/SelectCustomFieldLookupType
==============================================================================
--- rt/branches/3.999-DANGEROUS/html/Admin/Elements/SelectCustomFieldLookupType (original)
+++ rt/branches/3.999-DANGEROUS/html/Admin/Elements/SelectCustomFieldLookupType Wed Jan 30 18:54:31 2008
@@ -56,5 +56,5 @@
</%INIT>
<%ARGS>
$Default=> ''
-$name => 'LookupType'
+$name => 'lookup_type'
</%ARGS>
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Interface/Email/Auth/GnuPG.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Interface/Email/Auth/GnuPG.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Interface/Email/Auth/GnuPG.pm Wed Jan 30 18:54:31 2008
@@ -175,7 +175,7 @@
return $reject;
}
-sub check_noprivate_key {
+sub check_no_private_key {
my %args = ( Message => undef, Status => [], @_ );
my @status = @{ $args{'Status'} };
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/CustomField.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/CustomField.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/CustomField.pm Wed Jan 30 18:54:31 2008
@@ -777,9 +777,9 @@
);
}
-=head2 SetLookupType
+=head2 Setlookup_type
-Autrijus: care to doc how LookupTypes work?
+Autrijus: care to doc how lookup_types work?
=cut
@@ -819,9 +819,9 @@
map { ( "$_-1", "$_-0" ) } $self->types;
}
-=head2 LookupTypes
+=head2 lookup_types
-Returns an array of LookupTypes available
+Returns an array of lookup_types available
=cut
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/Transaction.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/Transaction.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/Transaction.pm Wed Jan 30 18:54:31 2008
@@ -1252,10 +1252,10 @@
# {{{ sub custom_field_lookup_type
-=head2 CustomFieldLookupType
+=head2 CustomFieldlookup_type
Returns the RT::Model::Transaction lookup type, which can
-be passed to RT::Model::CustomField->create() via the 'LookupType' hash key.
+be passed to RT::Model::CustomField->create() via the 'lookup_type' hash key.
=cut
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Record.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Record.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Record.pm Wed Jan 30 18:54:31 2008
@@ -1359,7 +1359,7 @@
return $object->id;
}
-=head2 CustomFieldLookupType
+=head2 custom_field_lookup_type
Returns the path RT uses to figure out which custom fields apply to this object.
Modified: rt/branches/3.999-DANGEROUS/sbin/rt-dump-database.in
==============================================================================
--- rt/branches/3.999-DANGEROUS/sbin/rt-dump-database.in (original)
+++ rt/branches/3.999-DANGEROUS/sbin/rt-dump-database.in Wed Jan 30 18:54:31 2008
@@ -82,7 +82,7 @@
if ($class eq 'CustomFields') {
$objects->order_by(
- { column => 'LookupType' },
+ { column => 'lookup_type' },
{ column => 'sort_order' },
{ column => 'id' },
);
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 18:54:31 2008
@@ -3668,7 +3668,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr "Objektu typu %1 nemohou být přiděleny uživatelské položky"
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 18:54:31 2008
@@ -4098,7 +4098,7 @@
msgid "object deleted"
msgstr "Objekt slettet"
-#. ($LookupType)
+#. ($lookup_type)
#. ($object_type)
#: html/Admin/CustomFields/Objects.html:72
#: html/Admin/Elements/ObjectCustomFields:63
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 18:54:31 2008
@@ -3257,7 +3257,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr "Objekt vom Typ %1 kann keine benutzerdefinierten Felder haben"
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 18:54:31 2008
@@ -3890,7 +3890,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr "Objeto de tipo %1 no puede llevar campos personalizados"
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 18:54:31 2008
@@ -3700,7 +3700,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr ""
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 18:54:31 2008
@@ -3071,7 +3071,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr "Les objets de type %1 ne peuvent avoir de champs personnalisés"
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 18:54:31 2008
@@ -3190,7 +3190,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr ""
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 18:54:31 2008
@@ -3085,7 +3085,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr ""
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 18:54:31 2008
@@ -3280,7 +3280,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr "Tipe Objek %1 tidak dapat mengambil kolom kustom"
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 18:54:31 2008
@@ -3979,7 +3979,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr "Oggetto di tipo %1 non accetta campi personalizzati"
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 18:54:31 2008
@@ -3520,7 +3520,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr ""
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 18:54:31 2008
@@ -3694,7 +3694,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr ""
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 18:54:31 2008
@@ -3935,7 +3935,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr ""
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 18:54:31 2008
@@ -3915,7 +3915,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr ""
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 18:54:31 2008
@@ -4009,7 +4009,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr "Тип объекта %1 не может содержать дополнительные поля"
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 18:54:31 2008
@@ -3396,7 +3396,7 @@
msgid "object deleted"
msgstr "Objekt har raderats"
-#. ($LookupType)
+#. ($lookup_type)
#. ($object_type)
#: html/Admin/CustomFields/Objects.html:72
#: html/Admin/Elements/ObjectCustomFields:63
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 18:54:31 2008
@@ -3039,7 +3039,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr "%1 türündeki nesneler, özel alanlar alamazlar"
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 18:54:31 2008
@@ -5034,7 +5034,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr "自订字段不适用于类别为 %1 的对象"
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 18:54:31 2008
@@ -5034,7 +5034,7 @@
#: html/Admin/CustomFields/Objects.html:72 html/Admin/Elements/ObjectCustomFields:63
#. ($object_type)
-#. ($LookupType)
+#. ($lookup_type)
msgid "object of type %1 cannot take custom fields"
msgstr "自訂欄位不適用於類別為 %1 的物件"
More information about the Rt-commit
mailing list