Give the different kinds of labels (subroutine i18n vs object i18n) different textual labels
for better diagnostics.
This commit is contained in:
parent
b6b23a4163
commit
5640ea4079
1 changed files with 2 additions and 2 deletions
|
|
@ -84,12 +84,12 @@ my $i18n = WebGUI::International->new($session);
|
|||
|
||||
foreach my $label ( @libLabels ) {
|
||||
ok(0,
|
||||
sprintf "label: %s->%s inside %s", @{ $label }{'namespace', 'label', 'file', });
|
||||
sprintf "sub label: %s->%s inside %s", @{ $label }{'namespace', 'label', 'file', });
|
||||
}
|
||||
|
||||
foreach my $label ( @objLabels ) {
|
||||
ok($i18n->get(@{ $label }{qw(label namespace )} ),
|
||||
sprintf "label: %s->%s inside %s", @{ $label }{'namespace', 'label', 'file', });
|
||||
sprintf "obj label: %s->%s inside %s", @{ $label }{'namespace', 'label', 'file', });
|
||||
}
|
||||
|
||||
sub label_finder_pm {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue