Add de language arb
This commit is contained in:
parent
afa7f78d7c
commit
11912df15b
4 changed files with 7 additions and 2 deletions
4
lib/l10n/app_de.arb
Normal file
4
lib/l10n/app_de.arb
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"sign_up": "Anmelden",
|
||||
"log_in" : "Anmeldung"
|
||||
}
|
|
@ -3,5 +3,6 @@ import 'dart:ui';
|
|||
class L10n {
|
||||
static final all = [
|
||||
const Locale('en'),
|
||||
const Locale('de'),
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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)) {
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue