Mercurial > projects > dil
diff trunk/src/common.d @ 391:33b566df6af4
Migrated project to Tango.
Decremented the numbers of the format placeholders in the localized messages
by one.
Replaced all instances of writef/ln with Stdout.
Added module common.d with string aliases and a global Layout!(char) instance.
Replaced %s format specifiers with index placeholders in html/xml_tags.
Changed member Information.arguments to string message.
Copied std.metastring, std.uni and std.utf from Phobos.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sat, 15 Sep 2007 17:12:26 +0200 |
parents | |
children | 3b34f6a95a27 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/trunk/src/common.d Sat Sep 15 17:12:26 2007 +0200 @@ -0,0 +1,18 @@ +/++ + Author: Aziz Köksal + License: GPL3 ++/ +module common; + +public import tango.io.Stdout; +public import tango.text.convert.Layout; + +alias char[] string; +alias wchar[] wstring; +alias dchar[] dstring; + +static Layout!(char) Format; +static this() +{ + Format = new typeof(Format); +}