diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-01-11 16:22:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-15 12:44:03 +0100 |
commit | e93267693fb66b48f92843bb6dab346e6212f683 (patch) | |
tree | d7c8e0d40e0f5599ec49c7c5e61c08975a345f9a /.git-hooks | |
parent | 9100d70e1deeefd652c70d8086c01fe55742c3f0 (diff) |
remove newly unused use-stock support
Change-Id: I235cf19e703be0a7ca9fdeeda0662c8e0ec54b63
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109198
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to '.git-hooks')
-rwxr-xr-x | .git-hooks/pre-commit | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.git-hooks/pre-commit b/.git-hooks/pre-commit index 75d217f3f453..1a8e2b12bd44 100755 --- a/.git-hooks/pre-commit +++ b/.git-hooks/pre-commit @@ -113,6 +113,10 @@ sub check_whitespaces($) { bad_line("use margin-start (etc) on child instead of a GtkAlignment", $_, "ui"); } + if (/<property name="use[-_]stock"/ ) + { + bad_line("use translation context 'stock' and the English string as button label instead", $_, "ui"); + } if ((/translatable="yes"/) and not(/context=/)) { bad_line("translatable .ui file line without context", $_, "ui"); |