Mercurial > projects > dil
comparison 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 |
comparison
equal
deleted
inserted
replaced
390:4d36eea1bbc9 | 391:33b566df6af4 |
---|---|
1 /++ | |
2 Author: Aziz Köksal | |
3 License: GPL3 | |
4 +/ | |
5 module common; | |
6 | |
7 public import tango.io.Stdout; | |
8 public import tango.text.convert.Layout; | |
9 | |
10 alias char[] string; | |
11 alias wchar[] wstring; | |
12 alias dchar[] dstring; | |
13 | |
14 static Layout!(char) Format; | |
15 static this() | |
16 { | |
17 Format = new typeof(Format); | |
18 } |