Initial revision
[gnucomo.git] / src / coconf / textbase.py
1 #   Copyright (C) 2002, Peter Roozemaal.
2 #
3 # GnuCoMo/CoConf is free software; you may redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2, or (at your option)
6 # any later version.  See the file COPYING.
7
8 """The textbase module implements the internationalisation interface for the
9    coconf application.
10
11 Exported functions:
12     txt(tag, default) - localise a string
13     TODO!
14 """
15
16 _id = "$Id: textbase.py,v 1.1 2002-11-19 19:21:18 arjen Exp $"
17
18 def txt(tag, default):
19     """Returns the localised string for tag;
20        default if no string can be found in localisation database"""
21     #TODO!
22     return default