diff options
Diffstat (limited to 'src/helloworld.d')
-rwxr-xr-x | src/helloworld.d | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helloworld.d b/src/helloworld.d index dcb4a37..fdf8063 100755 --- a/src/helloworld.d +++ b/src/helloworld.d @@ -13,7 +13,7 @@ void main(char[][] args) writefln(HelloWorldFactory.getName() ~ ", " ~ HelloWorldSharedObjectFactory.getVersion() ~ " " ~ config.VERSION); - writefln("Compiled using: " ~ config.GDC_VERSION); + writefln(Catalog.GetString("Compiled using: ") ~ config.GDC_VERSION); // auto type inference and built-in foreach foreach (argc, argv; args) @@ -21,7 +21,7 @@ void main(char[][] args) // Object Oriented Programming CmdLin cl = new CmdLin(argc, argv); // Improved typesafe printf - writefln(cl.argnum, cl.suffix, " arg: %s", cl.argv); + writefln(cl.argnum, cl.suffix, Catalog.GetString(" arg: %s"), cl.argv); // Automatic or explicit memory management delete cl; } @@ -47,7 +47,7 @@ void main(char[][] args) } // built-in string and common string operations - writefln("argc = %d, " ~ "allocated = %d", + writefln(Catalog.GetString("argc = %d, ") ~ Catalog.GetString("allocated = %d"), argspecs().count, argspecs().allocated); } |