Fix startpage

This commit is contained in:
Christian Pauly 2020-04-12 11:12:56 +02:00
commit c0c9e9cb73
8 changed files with 34 additions and 26 deletions

View file

@ -752,6 +752,9 @@ class I18n {
String get wednesday => Intl.message("Wednesday");
String get welcomeText => Intl.message(
'Welcome to the cutest instant messenger in the matrix network.');
String get whoIsAllowedToJoinThisGroup =>
Intl.message("Who is allowed to join this group");

View file

@ -1241,6 +1241,11 @@
"type": "text",
"placeholders": {}
},
"Welcome to the cutest instant messenger in the matrix network.": "Herzlich willkommen beim knuffigsten Instant Messenger im Matrix-Netwerk.",
"@Welcome to the cutest instant messenger in the matrix network.": {
"type": "text",
"placeholders": {}
},
"Who is allowed to join this group": "Wer darf der Gruppe beitreten",
"@Who is allowed to join this group": {
"type": "text",

View file

@ -1,5 +1,5 @@
{
"@@last_modified": "2020-04-12T10:36:42.980311",
"@@last_modified": "2020-04-12T11:11:56.595233",
"About": "About",
"@About": {
"type": "text",
@ -1241,6 +1241,11 @@
"type": "text",
"placeholders": {}
},
"Welcome to the cutest instant messenger in the matrix network.": "Welcome to the cutest instant messenger in the matrix network.",
"@Welcome to the cutest instant messenger in the matrix network.": {
"type": "text",
"placeholders": {}
},
"Who is allowed to join this group": "Who is allowed to join this group",
"@Who is allowed to join this group": {
"type": "text",

View file

@ -294,6 +294,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Voice message" : MessageLookupByLibrary.simpleMessage("Sprachnachricht"),
"Wallpaper" : MessageLookupByLibrary.simpleMessage("Hintergrund"),
"Wednesday" : MessageLookupByLibrary.simpleMessage("Mittwoch"),
"Welcome to the cutest instant messenger in the matrix network." : MessageLookupByLibrary.simpleMessage("Herzlich willkommen beim knuffigsten Instant Messenger im Matrix-Netwerk."),
"Who is allowed to join this group" : MessageLookupByLibrary.simpleMessage("Wer darf der Gruppe beitreten"),
"Write a message..." : MessageLookupByLibrary.simpleMessage("Schreibe eine Nachricht ..."),
"Yes" : MessageLookupByLibrary.simpleMessage("Ja"),

View file

@ -294,6 +294,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Voice message" : MessageLookupByLibrary.simpleMessage("Voice message"),
"Wallpaper" : MessageLookupByLibrary.simpleMessage("Wallpaper"),
"Wednesday" : MessageLookupByLibrary.simpleMessage("Wednesday"),
"Welcome to the cutest instant messenger in the matrix network." : MessageLookupByLibrary.simpleMessage("Welcome to the cutest instant messenger in the matrix network."),
"Who is allowed to join this group" : MessageLookupByLibrary.simpleMessage("Who is allowed to join this group"),
"Write a message..." : MessageLookupByLibrary.simpleMessage("Write a message..."),
"Yes" : MessageLookupByLibrary.simpleMessage("Yes"),

View file

@ -45,7 +45,7 @@ class HomeserverPicker extends StatelessWidget {
Padding(
padding: const EdgeInsets.all(16.0),
child: Text(
'Welcome to the cutest instant messaging solution for all platforms.',
I18n.of(context).welcomeText,
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 22,
@ -66,7 +66,7 @@ class HomeserverPicker extends StatelessWidget {
borderRadius: BorderRadius.circular(6),
),
child: Text(
I18n.of(context).connect,
I18n.of(context).connect.toUpperCase(),
style: TextStyle(color: Colors.white, fontSize: 16),
),
onPressed: () => _checkHomeserverAction(