~ubuntu-branches/ubuntu/maverick/awn-extras-applets/maverick

« back to all changes in this revision

Viewing changes to shared/python/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2010-08-29 14:29:52 UTC
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20100829142952-rhvuetyms9bv5uu7
Tags: upstream-0.4.0+bzr1372
ImportĀ upstreamĀ versionĀ 0.4.0+bzr1372

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11
11
# Lesser General Public License for more details.
12
12
#
13
 
# You should have received a copy of the GNU Lesser General Public
14
 
# License along with this library; if not, write to the
15
 
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16
 
# Boston, MA 02111-1307, USA.
 
13
# You should have received a copy of the GNU Lesser General Public License
 
14
# along with this library.  If not, see <http://www.gnu.org/licenses/>.
17
15
 
18
16
import gettext
 
17
import locale
19
18
 
20
19
PREFIX = '/usr/local'
21
 
__version__ = '0.4.0'
 
20
__version__ = '0.4.1'
22
21
__version_info__ = ()
23
22
for value in __version__.split('.'):
24
23
    if value.isdigit():
32
31
TEXTDOMAIN = 'awn-extras'
33
32
gettext.bindtextdomain(TEXTDOMAIN, LOCALEDIR)
34
33
gettext.textdomain(TEXTDOMAIN)
 
34
locale.bindtextdomain(TEXTDOMAIN, LOCALEDIR)
 
35
locale.textdomain(TEXTDOMAIN)
35
36
_ = gettext.gettext