| changeset 34 | 041c5c5d2bba |
| parent 25 | c1fcdb1a39c3 |
| 33:ee222d6d87d4 | 34:041c5c5d2bba |
|---|---|
33 def i18n(key: String): NodeSeq = Text(l10n(key)) |
33 def i18n(key: String): NodeSeq = Text(l10n(key)) |
34 |
34 |
35 def i18n(key: String, params: Any*): NodeSeq = |
35 def i18n(key: String, params: Any*): NodeSeq = |
36 Text(l10n(key).format(params.toList:_*)) |
36 Text(l10n(key).format(params.toList:_*)) |
37 |
37 |
38 implicit def bool2box[T](b: Boolean): BoxBoolean = BoxBoolean(b) |
|
38 } |
39 } |
39 |
40 |
40 |
41 |
41 // vim: set ts=2 sw=2 et: |
42 // vim: set ts=2 sw=2 et: |