From 354d460af2f74b74406967da63567e60a1fe782e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 11 Sep 2017 12:13:20 +0100 Subject: insist in a domain in .ui files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and just check .ui files for those .ui-specific patterns Change-Id: If7b9c8779f7592db5b22ab96058dd85666ca9bdf Reviewed-on: https://gerrit.libreoffice.org/42160 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- .git-hooks/pre-commit | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.git-hooks/pre-commit b/.git-hooks/pre-commit index 07569905488b..e35156f012e6 100755 --- a/.git-hooks/pre-commit +++ b/.git-hooks/pre-commit @@ -86,17 +86,20 @@ sub check_whitespaces($) } if (/True<\/property>/) { - bad_line("use font attributes instead of use-markup", $_, $src_limited); + bad_line("use font attributes instead of use-markup", $_, "ui"); } if (/