std.locale

Michel Fortin michel.fortin at michelf.com
Mon Mar 2 18:39:30 PST 2009


On 2009-03-02 14:58:26 -0500, Walter Bright <newshound1 at digitalmars.com> said:

> It's a silly thing, but I love the little google widget you can add to 
> a web page to automatically translate the pages. All the D site pages 
> have it in the left column.

It's not a silly thing, it's hilarious. Look, Google has invented the 
D-French language:

-	import std.stdio;
+	std.stdio importation;
----------
-	delete cl;
+	supprimer cl;
----------
-	s.allocated += argv.length * typeof (argv[0]).sizeof;
+	s.allocated + = * argv.length typeof (argv [0]). sizeof;
----------
-	writefln( "argc = %d, "  ~ "allocated = %d" ,
-	  argspecs().count, argspecs().allocated);
+	Writefln ( "argc =% d," ~ "attribués =% d",
+	  argspecs (). count, argspecs (). alloué);
----------
-	this ( int  argc, string argv) // constructor
+	ce (int argc, string argv) / / constructeur

Funny French that is. Perhaps DMD should make its identifiers and 
keywords localizable, the result would be much better. :-)

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list