remoting/tools/build/remoting_copy_locales.py
def calc_output(locale):
  """Determine the file that will be generated for the given locale."""
  #e.g. '<(INTERMEDIATE_DIR)/remoting_locales/da.pak',
  if OS == 'mac' or OS == 'ios':
    # For Cocoa to find the locale at runtime, it needs to use '_' instead
    # of '-' (http://crbug.com/20441).
    return os.path.join(INT_DIR, 'remoting', 'resources',
                        '%s.lproj' % locale.replace('-', '_'), 'locale.pak')
  else:
    return os.path.join(INT_DIR, 'remoting_locales', locale + '.pak')
Determine the file that will be generated for the given locale.
Determine the file that will be generated for the given locale.
Determine the file that will be generated for the given locale .
def calc_output(locale):
  if OS == 'mac' or OS == 'ios':
    return os.path.join(INT_DIR, 'remoting', 'resources',
                        '%s.lproj' % locale.replace('-', '_'), 'locale.pak')
  else:
    return os.path.join(INT_DIR, 'remoting_locales', locale + '.pak')
def calc_output ( locale ) : if OS == 'mac' or OS == 'ios' : return os . path . join ( INT_DIR , 'remoting' , 'resources' , '%s.lproj' % locale . replace ( '-' , '_' ) , 'locale.pak' ) else : return os . path . join ( INT_DIR , 'remoting_locales' , locale + '.pak' )
Determine the file that will be generated for the given locale.
Determine the file that will be generated for the given locale .
"""Determine the file that will be generated for the given locale.""" #e.g. '<(INTERMEDIATE_DIR)/remoting_locales/da.pak', # For Cocoa to find the locale at runtime, it needs to use '_' instead # of '-' (http://crbug.com/20441).
locale