Add de language arb

This commit is contained in:
Neeraj Gupta 2021-08-16 01:25:39 +05:30
parent afa7f78d7c
commit 11912df15b
4 changed files with 7 additions and 2 deletions

4
lib/l10n/app_de.arb Normal file
View file

@ -0,0 +1,4 @@
{
"sign_up": "Anmelden",
"log_in" : "Anmeldung"
}

View file

@ -3,5 +3,6 @@ import 'dart:ui';
class L10n {
static final all = [
const Locale('en'),
const Locale('de'),
];
}

View file

@ -201,7 +201,7 @@ class _EmailEntryPageState extends State<EmailEntryPage> {
height: 64,
padding: const EdgeInsets.fromLTRB(80, 0, 80, 0),
child: button(
"sign up",
AppLocalizations.of(context).sign_up,
onPressed: _isFormValid()
? () {
if (!isValidEmail(_email)) {

View file

@ -155,7 +155,7 @@ class _LandingPageWidgetState extends State<LandingPageWidget> {
child: Material(
type: MaterialType.transparency,
child: Text(
"sign up",
AppLocalizations.of(context).sign_up,
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 18,