Kaydet (Commit) f22ad610 authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt

lint-ui: Error when label contains a colon

Change-Id: I6c71db450fdd41c83e4b4b3e6dff9719a42ef2d8
Reviewed-on: https://gerrit.libreoffice.org/42520Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst f28db216
...@@ -86,7 +86,7 @@ def check_title_labels(root): ...@@ -86,7 +86,7 @@ def check_title_labels(root):
for title in titles: for title in titles:
if title is None: if title is None:
continue continue
words = re.split(r'[^a-zA-Z0-9_-]', title.text) words = re.split(r'[^a-zA-Z0-9:_-]', title.text)
first = True first = True
for word in words: for word in words:
if word[0].islower() and (word not in IGNORED_WORDS or first): if word[0].islower() and (word not in IGNORED_WORDS or first):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment