MessagesIntegrity
Checks over a service's message files.
Attributes
- Source
- MessagesIntegrity.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MessagesIntegrity.type
Members list
Type members
Classlikes
What the checks measure against, and what they leave alone.
What the checks measure against, and what they leave alone.
Value parameters
- baseLanguage
-
the language the others are measured against: Play's
defaultfile plus this one - ignoreKeyPrefixes
-
prefixes of keys left out of every check
- ignoreKeys
-
keys left out of every check
- maxUntranslatedRatio
-
how much of a translation may be identical to the base before it is treated as untranslated
- requireTranslations
-
whether every other configured language must carry every base key; off for a single-language service
- urlKeySuffixes
-
suffixes of keys whose value is a URL, expected to read the same in every language and so not counted as untranslated
Attributes
- Companion
- object
- Source
- MessagesIntegrity.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The default configuration.
The default configuration.
Attributes
- Companion
- class
- Source
- MessagesIntegrity.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Config.type
Value members
Concrete methods
The base language's messages: Play's default file plus the file for the base code.
The base language's messages: Play's default file plus the file for the base code.
Attributes
- Source
- MessagesIntegrity.scala
Every problem across the message files.
Keys defined more than once in a single messages file. A file that is not there, or no files at all, is a finding: nothing was checked, and a wrong path would otherwise pass for ever.
Keys defined more than once in a single messages file. A file that is not there, or no files at all, is a finding: nothing was checked, and a wrong path would otherwise pass for ever.
Attributes
- Source
- MessagesIntegrity.scala
The messages of one language, empty when the api holds none for it.
The messages of one language, empty when the api holds none for it.
Attributes
- Source
- MessagesIntegrity.scala
Every language the api holds messages for, other than the base.
Every language the api holds messages for, other than the base.
Play keeps its own framework messages under default.play, alongside the service's default file. Neither is a language.
Attributes
- Source
- MessagesIntegrity.scala