Skip to content
Browse files

Align suffix support with dtd2po.

  • Loading branch information...
1 parent b8156e1 commit c2b8aadce0a33fde42a95087edd060b06f4a931c @friedelwolff friedelwolff committed May 2, 2012
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

0 comments on commit c2b8aad

Please sign in to comment.
Something went wrong with that request. Please try again.