~ubuntu-langpack/langpack-o-matic/main

« back to all changes in this revision

Viewing changes to import

  • Committer: Sebastien Bacher
  • Date: 2021-10-20 14:50:05 UTC
  • Revision ID: seb128@ubuntu.com-20211020145005-m6ngvdjw347ie0tq
Log some extra debug informations

Show diffs side-by-side

added added

removed removed

Lines of Context:
240
240
    except KeyError:
241
241
        logging.warning('unknown translation domain: %s', domain)
242
242
        return
 
243
    logging.debug('The domain is classified as %s', cls)
243
244
 
244
245
    if cls == 'kde' and release_version >= '12.10':
245
246
        logging.debug('Skipping KDE language pack for release %s', release)
505
506
    try:
506
507
        get_translatable_counts(release)  # need pot_priority for updates, too!
507
508
    except ValueError:
 
509
        logging.warning('Translations stats missing for %s', release)
508
510
        # hack until http://people.canonical.com/~people-l10n/data/ubuntu-l10n/ exists
509
511
        # for RTM 15.04
510
512
        orig_distribution = distribution
535
537
    valid_locale = {}
536
538
    for root, dirs, files in os.walk(content_dir):
537
539
        for f in files:
 
540
            logging.debug('Considering %s', f)
538
541
            if not f.endswith('.po'):
539
542
                continue
540
543