[Jifty-commit] r2254 -
jifty/branches/template-declare/lib/Jifty/View/Declare
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Fri Dec 1 06:23:44 EST 2006
Author: audreyt
Date: Fri Dec 1 06:23:42 2006
New Revision: 2254
Modified:
jifty/branches/template-declare/lib/Jifty/View/Declare/Base.pm
Log:
* Bring the I18N into t-d branch.
Modified: jifty/branches/template-declare/lib/Jifty/View/Declare/Base.pm
==============================================================================
--- jifty/branches/template-declare/lib/Jifty/View/Declare/Base.pm (original)
+++ jifty/branches/template-declare/lib/Jifty/View/Declare/Base.pm Fri Dec 1 06:23:42 2006
@@ -49,7 +49,7 @@
$top->child(
OnlineDocs =>
url => "/__jifty/online_docs/",
- label => 'Online docs',
+ label => _('Online docs'),
sort_order => 999
);
}
@@ -347,7 +347,7 @@
args => { object_type => $object_type }
},
],
- label => 'Toggle search'
+ label => _('Toggle search')
);
$search_region->render;
@@ -377,7 +377,7 @@
if ( $collection->pager->previous_page ) {
with( class => "prev-page" ), span {
hyperlink(
- label => "Previous Page",
+ label => _("Previous Page"),
onclick =>
{ args => { page => $collection->pager->previous_page } }
);
@@ -386,7 +386,7 @@
if ( $collection->pager->next_page ) {
with( class => "next-page" ), span {
hyperlink(
- label => "Next Page",
+ label => _("Next Page"),
onclick =>
{ args => { page => $collection->pager->next_page } }
);
@@ -419,7 +419,7 @@
};
Jifty->web->form->submit(
- label => 'Create',
+ label => _('Create'),
onclick => [
{ submit => $create },
{ refresh_self => 1 },
@@ -450,7 +450,7 @@
}
$search->button(
- label => 'Search!',
+ label => _('Search'),
onclick => {
submit => $search,
refresh => Jifty->web->current_region->parent,
@@ -521,7 +521,7 @@
Jifty->web->form->submit(
class => "editlink",
- label => "Delete",
+ label => _("Delete"),
submit => $delete,
onclick => {
confirm => _("Confirm delete?"),
@@ -529,7 +529,7 @@
},
);
hyperlink(
- label => "Edit",
+ label => _("Edit"),
class => "editlink",
onclick => {
replace_with => "/__jifty/admin/fragments/list/update",
@@ -601,7 +601,7 @@
h2 { _('Done?') };
Jifty->web->return(
to => "/",
- label => 'Back to the application'
+ label => _('Back to the application')
);
}
};
@@ -630,7 +630,7 @@
h2 { _('Done?') };
hyperlink(
url => "/__jifty/admin/",
- label => 'Back to the admin console'
+ label => _('Back to the admin console')
);
}
@@ -732,7 +732,7 @@
p {
hyperlink(
url => "/",
- label => 'Head on back home'
+ label => _('Head on back home')
);
_("for now, and try to forget that we let you down.");
};
@@ -840,7 +840,7 @@
file => $file,
line => "@lines" & > <pre> < %$msg % > </pre>
- < %Jifty->web->return( label => "Try again" ) % >
+ < %Jifty->web->return( label => _("Try again") ) % >
h2 { Call stack };
ul {
@@ -965,7 +965,7 @@
url =>
"/__jifty/edit/mason_component/"
. $item->{'path'},
- label => 'Edit'
+ label => _('Edit')
);
}
$depth = $item->{'depth'};
@@ -1073,7 +1073,7 @@
with ( class => "section"), div {
unless ($frame->{subcomponent}) {
Jifty->web->tangent( url =>"/__jifty/edit/mason_component/".$frame->{' path
- '}, label => ' Edit ');
+ '}, label => _('Edit'));
} else {
outs(' & nbsp;
');
More information about the Jifty-commit
mailing list