[Jifty-commit] r7183 - jifty/trunk/lib/Jifty/Plugin/SetupWizard

Jifty commits jifty-commit at lists.jifty.org
Thu Jun 4 19:05:36 EDT 2009


Author: sartak
Date: Thu Jun  4 19:05:36 2009
New Revision: 7183

Modified:
   jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm

Log:
i18n fixes

Modified: jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm	Thu Jun  4 19:05:36 2009
@@ -5,7 +5,7 @@
 
 template '/__jifty/admin/setupwizard' => page {
     my $appname = Jifty->config->framework('ApplicationName');
-    h1 { "Welcome to $appname!" };
+    h1 { _("Welcome to %1!", $appname) };
 
     render_region(
         name      => 'WizardStep',
@@ -15,7 +15,7 @@
         },
     );
 
-    p { _("You're seeing this configuration because you started $appname in AdminMode and the SetupWizard plugin. Disable one or both of these to restore normal operation.") };
+    p { _("You're seeing this configuration because you started %1 in AdminMode and the SetupWizard plugin. Disable one or both of these to restore normal operation.", $appname) };
 };
 
 template '/__jifty/admin/setupwizard/step' => sub {


More information about the Jifty-commit mailing list