Skip to content

Commit

Permalink
Merge pull request #579 from neal-timpe/visual-language
Browse files Browse the repository at this point in the history
accessible visual language
  • Loading branch information
aireilly authored Apr 3, 2024
2 parents 810c846 + e2dfbaf commit 79a41e3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .vale/fixtures/RedHat/DoNotUseTerms/testinvalid.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ congratulations
foo
fubar
future-proof
green
yellow
blue
kerberize
kerberized
native interface
Expand Down
9 changes: 8 additions & 1 deletion .vale/fixtures/RedHat/TermsSuggestions/testvalid.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
64-bit x86
after
bare-metal clusters
bare-metal compute
bare-metal configuration
Expand All @@ -17,10 +18,16 @@ bare-metal node
bare-metal provisioning
bare-metal server
bare-metal worker
before
by
by using
earlier
following
from
information about
later
lower left
lower right
on
Operator
program operator
Expand All @@ -33,7 +40,7 @@ something against which something else
something at which something else
something for which something else
something from which something else
something in which somehing else
something in which something else
something of which something else
something on which something else
something to which something else
Expand Down
1 change: 1 addition & 0 deletions .vale/styles/RedHat/DoNotUseTerms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ swap:
debuggable: 'Do not use "debuggable". Rephrase the sentence to use the verb or noun debug. For example, change rebuild the debuggable version to rebuild the version that can be debugged.'
foo: 'Do not use "foo". This term is technical jargon in code and as shorthand for fubar, an acronym of profanity in code.'
fubar: 'Do not use "fubar". This term is an acronym of a profanity that is sometimes used by developers in code.'
\bred\b(?!-? *hat)|orange|yellow|green|blue|indigo|violet: 'Do not use colors to describe something unless it is also described non-visually, for example, with the name of the item.'
kerberize|kerberized: 'Do not use "kerberize" to refer to applications or services that use Kerberos authentication. Refer to such applications as "Kerberos-aware" or "Kerberos-enabled", or rewrite the sentence.'
native interface: 'Do not use "native interface" to refer to the command line interface for the JBoss EAP management tool.'
overhead: 'Do not use "overhead". Use terminology that is more specific. For example, write "running large queries can increase processor usage".'
Expand Down
4 changes: 2 additions & 2 deletions .vale/styles/RedHat/TermsSuggestions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ swap:
'(?<![\.\-])(?:zip|gzip|tar)(?! file| archive)': compress
'(?<!\.)tar file': ".tar file"
'(?<!\.)zip file': ".zip file"
above: later|previous|preceding
above: earlier|previous|preceding|before
afterwards: afterward
all caps: uppercase
below: earlier|later|following
below: after|later|following
bottom left: lower left
bottom right: lower right
bugfix: bug fix
Expand Down

0 comments on commit 79a41e3

Please sign in to comment.