[Jifty-commit] r4288 - jifty/trunk/lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Oct 22 03:44:25 EDT 2007


Author: sunnavy
Date: Mon Oct 22 03:44:24 2007
New Revision: 4288

Modified:
   jifty/trunk/lib/Jifty/I18N.pm
   jifty/trunk/lib/Jifty/JSON.pm

Log:
typo fix

Modified: jifty/trunk/lib/Jifty/I18N.pm
==============================================================================
--- jifty/trunk/lib/Jifty/I18N.pm	(original)
+++ jifty/trunk/lib/Jifty/I18N.pm	Mon Oct 22 03:44:24 2007
@@ -26,7 +26,7 @@
 
 =head2 C<_>
 
-This module provides a method named C<_>, which allows you to quickly and easily include localized strings in your application. The first argument is the string to translated. If that string contains placeholders, the remaining arguments are used to replace the placeholders. The placeholders in the form of "%1" where the number is the number of the argument used to replace it:
+This module provides a method named C<_>, which allows you to quickly and easily include localized strings in your application. The first argument is the string to be translated. If that string contains placeholders, the remaining arguments are used to replace the placeholders. The placeholders in the form of "%1" where the number is the number of the argument used to replace it:
 
   _('Welcome %1 to the %2', 'Bob', 'World');
 

Modified: jifty/trunk/lib/Jifty/JSON.pm
==============================================================================
--- jifty/trunk/lib/Jifty/JSON.pm	(original)
+++ jifty/trunk/lib/Jifty/JSON.pm	Mon Oct 22 03:44:24 2007
@@ -74,7 +74,7 @@
     local $JSON::Syck::SingleQuote = $args->{singlequote};
     local $JSON::Syck::ImplicitUnicode = 1;
 	my $json = JSON::Syck::Dump($obj);
-	if (! $args->{singlequte}) {
+	if (! $args->{singlequote}) {
 		$json =~ s/\n\n\n/\\n/gs;	# fix syck bug
 		$json =~ s/\n/\\n/gs;		# just to be safe
 		$json =~ s/\r/\\r/gs;


More information about the Jifty-commit mailing list