def all_ts_files(suffix=''):
    for filename in os.listdir(LOCALE_DIR):
        if ((not filename.endswith(('.ts' + suffix))) or (filename == (SOURCE_LANG + suffix))):
            continue
        if suffix:
            filename = filename[0:(- len(suffix))]
        filepath = os.path.join(LOCALE_DIR, filename)
        (yield (filename, filepath))
def all_ts_files(suffix=):
    for filename in os.listdir(LOCALE_DIR):
        if ((not filename.endswith(('.ts' + suffix))) or (filename == (SOURCE_LANG + suffix))):
            continue
        if suffix:
            filename = filename[0:(- len(suffix))]
        filepath = os.path.join(LOCALE_DIR, filename)
        (yield (filename, filepath))