[Jifty-commit] r873 - in jifty/trunk: share/web/templates share/web/templates/__jifty share/web/templates/_elements

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Wed Apr 19 22:03:34 EDT 2006


Author: alexmv
Date: Wed Apr 19 22:03:33 2006
New Revision: 873

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/share/web/templates/__jifty/edit_file
   jifty/trunk/share/web/templates/__jifty/halo
   jifty/trunk/share/web/templates/_elements/sidebar
   jifty/trunk/share/web/templates/index.html

Log:
 r12441 at zoq-fot-pik:  chmrr | 2006-04-19 22:02:27 -0400
  * Change localization to the '%1' format that works, from the '[_1]
 format that doesn't.


Modified: jifty/trunk/share/web/templates/__jifty/edit_file
==============================================================================
--- jifty/trunk/share/web/templates/__jifty/edit_file	(original)
+++ jifty/trunk/share/web/templates/__jifty/edit_file	Wed Apr 19 22:03:33 2006
@@ -3,7 +3,7 @@
 $editor => undef
 </%args>
 <%init>
-my $title = _("Editing file [_1]",$editor->argument_value('source_path'));
+my $title = _("Editing file %1",$editor->argument_value('source_path'));
 </%init>
 <&|/_elements/wrapper, title => $title &>
 <% Jifty->web->form->start %>

Modified: jifty/trunk/share/web/templates/__jifty/halo
==============================================================================
--- jifty/trunk/share/web/templates/__jifty/halo	(original)
+++ jifty/trunk/share/web/templates/__jifty/halo	Wed Apr 19 22:03:33 2006
@@ -115,7 +115,7 @@
 % if (@{$_->[2]}) {
 <b>Bindings:</b> <tt><% join(',', map {defined $_ ? ($_ =~ /\0/ ? "*BLOB*" : $_ ) : "undef"} @{$_->[2]}) %></tt><br />
 % }
-<i><% _('[_1] seconds', $_->[3]) %></i>
+<i><% _('%1 seconds', $_->[3]) %></i>
 </li>
 % }
 </ul></div>

Modified: jifty/trunk/share/web/templates/_elements/sidebar
==============================================================================
--- jifty/trunk/share/web/templates/_elements/sidebar	(original)
+++ jifty/trunk/share/web/templates/_elements/sidebar	Wed Apr 19 22:03:33 2006
@@ -1,6 +1,6 @@
 <div id="salutation">
 % if (Jifty->web->current_user->id and Jifty->web->current_user->user_object) {
-<%_('Hiya, [_1].',Jifty->web->current_user->user_object->name)%>
+<%_('Hiya, %1.',Jifty->web->current_user->user_object->name)%>
 % }  else {
 <%_(q{You're not currently signed in.})%>
 % }

Modified: jifty/trunk/share/web/templates/index.html
==============================================================================
--- jifty/trunk/share/web/templates/index.html	(original)
+++ jifty/trunk/share/web/templates/index.html	Wed Apr 19 22:03:33 2006
@@ -1,4 +1,4 @@
 <&|/_elements/wrapper, title => _('Welcome to your new Jifty application') &>
 <img src="/static/images/pony.jpg" 
-     alt="<%_('You said you wanted a pony. (Source [_1])','http://hdl.loc.gov/loc.pnp/cph.3c13461')%>" />
+     alt="<%_('You said you wanted a pony. (Source %1)','http://hdl.loc.gov/loc.pnp/cph.3c13461')%>" />
 </&>


More information about the Jifty-commit mailing list