About improved

This commit is contained in:
Vicente J. Ruiz Jurado 2018-08-04 00:05:32 +02:00
parent 10b8680490
commit 7bcf8c7f94
4 changed files with 20 additions and 8 deletions

View file

@ -25,6 +25,7 @@ class S implements WidgetsLocalizations {
String get CANCEL => "CANCEL"; String get CANCEL => "CANCEL";
String get CLOSE => "CLOSE"; String get CLOSE => "CLOSE";
String get DELETE => "DELETE"; String get DELETE => "DELETE";
String get NASAAck => "We acknowledge the use of data and imagery from LANCE FIRMS operated by the NASA/GSFC/Earth Science Data and Information System (ESDIS) with funding provided by NASA/HQ.";
String get SAVE => "SAVE"; String get SAVE => "SAVE";
String get SHOW => "SHOW"; String get SHOW => "SHOW";
String get UNDO => "UNDO"; String get UNDO => "UNDO";
@ -39,6 +40,7 @@ class S implements WidgetsLocalizations {
String get addedThisLocation => "You have already added this location"; String get addedThisLocation => "You have already added this location";
String get alertWhenThereIsAFire => "Alert when there is a fire"; String get alertWhenThereIsAFire => "Alert when there is a fire";
String get anHour => "an hour"; String get anHour => "an hour";
String get appMoto => "Strengthening neighborhoods against wildfires";
String get appName => "All Against The Fire!"; String get appName => "All Against The Fire!";
String get areYouSureTitle => "Are you sure?"; String get areYouSureTitle => "Are you sure?";
String get callEmergencyServicesDescription => "You should call 112 if you have not already done so to notify the emergency services."; String get callEmergencyServicesDescription => "You should call 112 if you have not already done so to notify the emergency services.";
@ -164,6 +166,8 @@ class es extends S {
@override @override
String get firesInYourPlaces => "Fuegos en tus lugares"; String get firesInYourPlaces => "Fuegos en tus lugares";
@override @override
String get NASAAck => "Reconocemos el uso de datos e imágenes de LANCE FIRMS operadas por NASA/GSFC/Earth Science Data and Information System (ESDIS) con fondos proporcionados por NASA/HQ.";
@override
String get isYourUbicationEnabled => "No podemos saber tu ubicación actual. ¿Están los servicios de ubicación en tu móvil activados?"; String get isYourUbicationEnabled => "No podemos saber tu ubicación actual. ¿Están los servicios de ubicación en tu móvil activados?";
@override @override
String get fireNotificationsTitleShort => "Notificaciones"; String get fireNotificationsTitleShort => "Notificaciones";
@ -200,6 +204,8 @@ class es extends S {
@override @override
String get warningThisIsAVeryLargeArea => "Cuidado: esta zona es muy grande"; String get warningThisIsAVeryLargeArea => "Cuidado: esta zona es muy grande";
@override @override
String get appMoto => "Fortaleciendo vecindarios contra incendios forestales";
@override
String get chooseAWatchRadio => "Elige un radio de vigilancia"; String get chooseAWatchRadio => "Elige un radio de vigilancia";
@override @override
String get CANCEL => "CANCELAR"; String get CANCEL => "CANCELAR";

View file

@ -59,6 +59,7 @@ Widget mainDrawer(BuildContext context) {
return new _ViewModel(unreadCount: store.state.fireNotificationsUnread); return new _ViewModel(unreadCount: store.state.fireNotificationsUnread);
}, },
builder: (context, view) { builder: (context, view) {
final bottomTextStyle = new TextStyle(fontSize: 12.0, color: Colors.grey);
return new ListView( return new ListView(
// Important: Remove any padding from the ListView. // Important: Remove any padding from the ListView.
padding: EdgeInsets.zero, padding: EdgeInsets.zero,
@ -155,13 +156,14 @@ Widget mainDrawer(BuildContext context) {
applicationName: S.of(context).appName, applicationName: S.of(context).appName,
applicationVersion: globals.appVersion, applicationVersion: globals.appVersion,
applicationIcon: globals.appMediumIcon, applicationIcon: globals.appMediumIcon,
applicationLegalese: applicationLegalese: S.of(context).appLicense(DateTime.now().year.toString()),
S.of(context).appLicense(DateTime.now().year.toString()),
aboutBoxChildren: <Widget>[ aboutBoxChildren: <Widget>[
// new Text('What?') new SizedBox(height: 10.0),
] new Text(S.of(context).appMoto), // , style: new TextStyle(fontStyle: FontStyle.italic)),
// FIXME new SizedBox(height: 10.0),
) new Text(S.of(context).NASAAck, style: bottomTextStyle),
// More ?
])
])); ]));
}); });
} }

View file

@ -64,5 +64,7 @@
"DELETE": "DELETE", "DELETE": "DELETE",
"SHOW": "SHOW", "SHOW": "SHOW",
"CLOSE": "CLOSE", "CLOSE": "CLOSE",
"noConnectivity": "This app require an Internet connection" "noConnectivity": "This app require an Internet connection",
"NASAAck": "We acknowledge the use of data and imagery from LANCE FIRMS operated by the NASA/GSFC/Earth Science Data and Information System (ESDIS) with funding provided by NASA/HQ.",
"appMoto": "Strengthening neighborhoods against wildfires"
} }

View file

@ -64,5 +64,7 @@
"DELETE": "BORRAR", "DELETE": "BORRAR",
"SHOW": "MOSTRAR", "SHOW": "MOSTRAR",
"CLOSE": "CERRAR", "CLOSE": "CERRAR",
"noConnectivity": "Esta aplicación necesita conexión a Internet" "noConnectivity": "Esta aplicación necesita conexión a Internet",
"NASAAck": "Reconocemos el uso de datos e imágenes de LANCE FIRMS operadas por NASA/GSFC/Earth Science Data and Information System (ESDIS) con fondos proporcionados por NASA/HQ.",
"appMoto": "Fortaleciendo vecindarios contra incendios forestales"
} }