@click.command(u'get-untranslated')
@click.argument(u'lang')
@click.argument(u'untranslated_file')
@click.option(u'--all', default=False, is_flag=True, help=u'Get all message strings')
@pass_context
def get_untranslated(context, lang, untranslated_file, all=None):
 import frappe.translate
 site = get_site(context)
 try:
  frappe.init(site=site)
  frappe.connect()
  frappe.translate.get_untranslated(lang, untranslated_file, get_all=all)
 finally:
  frappe.destroy()

@ click . command ( u'get-untranslated' ) @ click . argument ( u'lang' ) @ click . argument ( u'untranslated_file' ) @ click . option ( u'--all' , default = False , is_flag = True , help = u'Get all message strings' ) @ pass_context def get_untranslated ( context , lang , untranslated_file , all = None ) : import frappe . translate site = get_site ( context ) try : frappe . init ( site = site ) frappe . connect ( ) frappe . translate . get_untranslated ( lang , untranslated_file , get_all = all ) finally : frappe . destroy ( )
get untranslated strings for language .