def setUpClass(cls): sys.stderr.write( "\nExtracting i18n strings and generating dummy translations; " "this may take a few minutes\n" ) sys.stderr.flush() extract.main(verbosity=0) dummy.main(verbosity=0)
def setUpClass(cls): cfg = os.path.join('conf', 'locale', 'config.yaml') config.CONFIGURATION = config.Configuration(cfg) sys.stderr.write( "\nExtracting i18n strings and generating dummy translations; " "this may take a few minutes\n") sys.stderr.flush() extract.main(verbosity=0, config=cfg) dummy.main(verbosity=0, config=cfg)
def setUpClass(cls): cfg = os.path.join('conf', 'locale', 'config.yaml') config.CONFIGURATION = config.Configuration(cfg) sys.stderr.write( "\nExtracting i18n strings and generating dummy translations; " "this may take a few minutes\n" ) sys.stderr.flush() extract.main(verbosity=0, config=cfg) dummy.main(verbosity=0, config=cfg)
def setUpClass(cls): sys.stderr.write( "\nThis test tests that i18n extraction (`paver i18n_extract`) works properly. " "If you experience failures, please check that all instances of `gettext` and " "`ngettext` are used correctly. You can also try running `paver i18n_extract -v` " "locally for more detail.\n") sys.stderr.write( "\nExtracting i18n strings and generating dummy translations; " "this may take a few minutes\n") sys.stderr.flush() extract.main(verbosity=0) dummy.main(verbosity=0)
def setUpClass(cls): sys.stderr.write( "\nThis test tests that i18n extraction (`paver i18n_extract`) works properly. " "If you experience failures, please check that all instances of `gettext` and " "`ngettext` are used correctly. You can also try running `paver i18n_extract -v` " "locally for more detail.\n" ) sys.stderr.write( "\nExtracting i18n strings and generating dummy translations; " "this may take a few minutes\n" ) sys.stderr.flush() extract.main(verbosity=0) dummy.main(verbosity=0)
def setUpClass(cls): extract.main() dummy.main()