diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-02 12:35:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-07 08:15:06 +0200 |
commit | 8eff280bc08ec3d7b2312ae4ee48df4d7328b7de (patch) | |
tree | b11a89cba1421add34b22beb98dfeb6cc8bb7bca /bin | |
parent | 3d056824c687df567c05bf31554fa40ea2baef18 (diff) |
ui files: fix some capitalisation issues
Change-Id: Id2efb6e5f1c115cb31a6afd3f988fe156c5ad56e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103829
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/lint-ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/lint-ui.py b/bin/lint-ui.py index 124e1bf58316..8860547bef58 100755 --- a/bin/lint-ui.py +++ b/bin/lint-ui.py @@ -163,7 +163,7 @@ def check_title_labels(root): words = re.split(r'[^a-zA-Z0-9:_-]', title.text) first = True for word in words: - if len(word) and word[0].islower() and (word not in IGNORED_WORDS or first): + if len(word) and word[0].islower() and (word not in IGNORED_WORDS) and not first: lint_assert(False, "The word '" + word + "' should be capitalized", label) first = False |