Fix startpage

This commit is contained in:
Christian Pauly 2020-04-12 11:12:56 +02:00
parent f928b18bb8
commit fd806ea74c
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 wednesday => Intl.message("Wednesday");
String get welcomeText => Intl.message(
'Welcome to the cutest instant messenger in the matrix network.');
String get whoIsAllowedToJoinThisGroup => String get whoIsAllowedToJoinThisGroup =>
Intl.message("Who is allowed to join this group"); Intl.message("Who is allowed to join this group");

View File

@ -1241,6 +1241,11 @@
"type": "text", "type": "text",
"placeholders": {} "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": "Wer darf der Gruppe beitreten",
"@Who is allowed to join this group": { "@Who is allowed to join this group": {
"type": "text", "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": "About",
"@About": { "@About": {
"type": "text", "type": "text",
@ -1241,6 +1241,11 @@
"type": "text", "type": "text",
"placeholders": {} "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": "Who is allowed to join this group",
"@Who is allowed to join this group": { "@Who is allowed to join this group": {
"type": "text", "type": "text",

View File

@ -294,6 +294,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Voice message" : MessageLookupByLibrary.simpleMessage("Sprachnachricht"), "Voice message" : MessageLookupByLibrary.simpleMessage("Sprachnachricht"),
"Wallpaper" : MessageLookupByLibrary.simpleMessage("Hintergrund"), "Wallpaper" : MessageLookupByLibrary.simpleMessage("Hintergrund"),
"Wednesday" : MessageLookupByLibrary.simpleMessage("Mittwoch"), "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"), "Who is allowed to join this group" : MessageLookupByLibrary.simpleMessage("Wer darf der Gruppe beitreten"),
"Write a message..." : MessageLookupByLibrary.simpleMessage("Schreibe eine Nachricht ..."), "Write a message..." : MessageLookupByLibrary.simpleMessage("Schreibe eine Nachricht ..."),
"Yes" : MessageLookupByLibrary.simpleMessage("Ja"), "Yes" : MessageLookupByLibrary.simpleMessage("Ja"),

View File

@ -294,6 +294,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Voice message" : MessageLookupByLibrary.simpleMessage("Voice message"), "Voice message" : MessageLookupByLibrary.simpleMessage("Voice message"),
"Wallpaper" : MessageLookupByLibrary.simpleMessage("Wallpaper"), "Wallpaper" : MessageLookupByLibrary.simpleMessage("Wallpaper"),
"Wednesday" : MessageLookupByLibrary.simpleMessage("Wednesday"), "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"), "Who is allowed to join this group" : MessageLookupByLibrary.simpleMessage("Who is allowed to join this group"),
"Write a message..." : MessageLookupByLibrary.simpleMessage("Write a message..."), "Write a message..." : MessageLookupByLibrary.simpleMessage("Write a message..."),
"Yes" : MessageLookupByLibrary.simpleMessage("Yes"), "Yes" : MessageLookupByLibrary.simpleMessage("Yes"),

View File

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

View File

@ -21,28 +21,28 @@ packages:
name: archive name: archive
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.13" version: "2.0.11"
args: args:
dependency: transitive dependency: transitive
description: description:
name: args name: args
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.6.0" version: "1.5.2"
async: async:
dependency: transitive dependency: transitive
description: description:
name: async name: async
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.4.1" version: "2.4.0"
boolean_selector: boolean_selector:
dependency: transitive dependency: transitive
description: description:
name: boolean_selector name: boolean_selector
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "1.0.5"
bubble: bubble:
dependency: "direct main" dependency: "direct main"
description: description:
@ -63,14 +63,14 @@ packages:
name: charcode name: charcode
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.3" version: "1.1.2"
collection: collection:
dependency: transitive dependency: transitive
description: description:
name: collection name: collection
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.14.12" version: "1.14.11"
convert: convert:
dependency: transitive dependency: transitive
description: description:
@ -91,7 +91,7 @@ packages:
name: crypto name: crypto
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.4" version: "2.1.3"
csslib: csslib:
dependency: transitive dependency: transitive
description: description:
@ -267,7 +267,7 @@ packages:
name: image name: image
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.12" version: "2.1.4"
image_picker: image_picker:
dependency: "direct main" dependency: "direct main"
description: description:
@ -281,7 +281,7 @@ packages:
name: intl name: intl
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.16.1" version: "0.16.0"
intl_translation: intl_translation:
dependency: "direct main" dependency: "direct main"
description: description:
@ -509,7 +509,7 @@ packages:
name: quiver name: quiver
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.3" version: "2.0.5"
receive_sharing_intent: receive_sharing_intent:
dependency: "direct main" dependency: "direct main"
description: description:
@ -577,7 +577,7 @@ packages:
name: source_span name: source_span
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.7.0" version: "1.5.5"
sqflite: sqflite:
dependency: "direct main" dependency: "direct main"
description: description:
@ -626,21 +626,21 @@ packages:
name: test name: test
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.13.0" version: "1.9.4"
test_api: test_api:
dependency: transitive dependency: transitive
description: description:
name: test_api name: test_api
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.2.15" version: "0.2.11"
test_core: test_core:
dependency: transitive dependency: transitive
description: description:
name: test_core name: test_core
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.3.1" version: "0.2.15"
typed_data: typed_data:
dependency: transitive dependency: transitive
description: description:
@ -725,13 +725,6 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.0" version: "1.1.0"
webkit_inspection_protocol:
dependency: transitive
description:
name: webkit_inspection_protocol
url: "https://pub.dartlang.org"
source: hosted
version: "0.5.0+1"
webview_flutter: webview_flutter:
dependency: "direct main" dependency: "direct main"
description: description:
@ -745,7 +738,7 @@ packages:
name: xml name: xml
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.6.1" version: "3.5.0"
yaml: yaml:
dependency: transitive dependency: transitive
description: description:

View File

@ -11,7 +11,7 @@ description: Chat with your friends.
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at # Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 0.12.2+34 version: 0.12.3+35
environment: environment:
sdk: ">=2.6.0 <3.0.0" sdk: ">=2.6.0 <3.0.0"