Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Align suffix support with dtd2po.

  • Loading branch information...
commit c2b8aadce0a33fde42a95087edd060b06f4a931c 1 parent b8156e1
@friedelwolff friedelwolff authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/mozilla/accesskey_checker
View
4 tools/mozilla/accesskey_checker
@@ -40,14 +40,14 @@ function header()
}
header "Find .accesskey items and report those which don't have a corresponding .label"
-for accesskeysuffix in accesskey accessKey
+for accesskeysuffix in accesskey accessKey akey
do
for d in `find . -name "*.dtd"`
do
for accesskeyprefix in `grep "[.]${accesskeysuffix} " $d | sed 's/^.* \([^ ]*\).'"${accesskeysuffix}"'.*$/\1/'`
do
otheroptions=`grep "[ ]${accesskeyprefix}[.]" $d | sed 's/^.* '"${accesskeyprefix}"'[.]\([^ ]*\).*$/\1/'`
- echo $d $accesskeyprefix: $otheroptions | egrep -v '\<label\>'
+ echo $d $accesskeyprefix: $otheroptions | egrep -v '\<(label|title)\>'
done
done
done
Please sign in to comment.
Something went wrong with that request. Please try again.