tools/lint/l10n.yml
author Khushil Mistry <khushil324@gmail.com>
Wed, 30 Sep 2020 13:53:44 +0300
changeset 40809 faa3265fa49ca5274c89e5f0ccc7d410b1e5b6c1
parent 40009 f712495aa3c360180580ce31f32a889dfea560ac
permissions -rw-r--r--
Bug 1665174 - for inserting smileys just insert the smiley char, without any span around it. r=mkmelin a=wsmwk Inserting an span element caused an unwanted change of paragraph mode at times, and was not needed for anything.

---
l10n:
    description: Localization linter
    # list of include directories of both
    # comm/mail and comm/calendar l10n.tomls
    # Paths that are not part of Thunderbird (editor/browser/devtools/etc)
    # are included to
    include:
        - browser/locales/en-US/pdfviewer
        - comm/calendar/locales/en-US
        - comm/chat/locales/en-US
        - comm/editor/ui/locales/en-US
        - comm/mail/branding/thunderbird/locales/en-US
        - comm/mail/extensions/openpgp
        - comm/mail/locales/en-US
        - comm/tools/lint/l10n.yml
        - devtools/client/locales/en-US
        - devtools/shared/locales/en-US
        - devtools/startup/locales/en-US
        - dom/locales/en-US
        - netwerk/locales/en-US
        - security/manager/locales/en-US
        - toolkit/locales/en-US
    # files not supported by compare-locales,
    # and also not relevant to this linter
    exclude:
        - comm/mail/locales/en-US/all-l10n.js
    l10n_configs:
        - comm/mail/locales/l10n.toml
        - comm/calendar/locales/l10n.toml
    type: external
    payload: commlint:lint_wrapper
    wraps: python.l10n_lint:lint
    setup: python.l10n_lint:gecko_strings_setup
    support-files:
        - 'comm/calendar/locales/l10n.toml'
        - 'comm/mail/locales/l10n.toml'
        - 'comm/tools/lint/l10n.yml'
        - 'third_party/python/compare-locales/**'
        - 'third_party/python/fluent/**'
        - 'tools/lint/python/l10n_lint.py'