view babel3/babel/messages/tests/data/project/file2.py @ 493:0b228ee775fe experimental

Copy over trunk.
author jruigrok
date Thu, 15 Apr 2010 05:54:28 +0000
parents
children cddcd04db33e
line wrap: on
line source
# -*- coding: utf-8 -*-
# file2.py for tests

from gettext import ngettext

def foo():
    # Note: This will have the TRANSLATOR: tag but shouldn't
    # be included on the extracted stuff
    print ngettext('foobar', 'foobars', 1)
Copyright (C) 2012-2017 Edgewall Software