This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
greetings: Bonjour le monde! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
greetings: Hello, world! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Translations implements i69n.I69nMessageBundle { | |
const Translations(); | |
GeneralTranslations get general => | |
GeneralTranslations(this); | |
ValidationErrorsTranslations get validationErrors => | |
ValidationErrorsTranslations(this); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
general: | |
greetings: Hello, world! | |
validationErrors: | |
passwordLengthValidationError(int length): | |
"The password should be at least $length characters long" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Translations implements i69n.I69nMessageBundle { | |
const Translations(); | |
String get greetings => "Hello, world!"; | |
Object operator [](String key) { | |
switch (key) { | |
case 'greetings': | |
return greetings; | |
default: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
greetings: Hello, world! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String get _languageCode => 'en'; | |
String _plural(int count, | |
{String? zero, | |
String? one, | |
String? two, | |
String? few, | |
String? many, | |
String? other}) => | |
i69n.plural(count, _languageCode, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
homePageCenterText(int times): | |
"You have pushed the button $times ${_plural(times, one:'time', many:'times')}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Translations implements i69n.I69nMessageBundle { | |
const Translations(); | |
String passwordLengthValidationError(int length) => | |
"The password should be at least $length characters long"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
passwordLengthValidationError(int length): | |
"The password should be at least $length characters long" |