WT 1.1.24+7 translations, calculation fixes
This commit is contained in:
@@ -186,7 +186,7 @@ mixin Common {
|
||||
} else if (remainder > 2.5 && remainder < 3.25) {
|
||||
rounded = (weight / 5).floor() * 5 + 2.5;
|
||||
} else {
|
||||
rounded = (((weight / 5).ceil() * 5) + 5).toDouble();
|
||||
rounded = (((weight / 5).ceil() * 5)).toDouble();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ class _DialogTrialWidgetState extends State<DialogTrialWidget> with Trans {
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||
children: [
|
||||
GestureDetector(
|
||||
/* GestureDetector(
|
||||
onTap: widget.onCancel,
|
||||
child: Stack(
|
||||
alignment: Alignment.center,
|
||||
@@ -124,7 +124,7 @@ class _DialogTrialWidgetState extends State<DialogTrialWidget> with Trans {
|
||||
style: TextStyle(fontSize: 16, color: Colors.white),
|
||||
),
|
||||
],
|
||||
)),
|
||||
)), */
|
||||
GestureDetector(
|
||||
onTap: widget.onTap,
|
||||
child: Stack(
|
||||
@@ -132,7 +132,7 @@ class _DialogTrialWidgetState extends State<DialogTrialWidget> with Trans {
|
||||
children: [
|
||||
Image.asset('asset/icon/gomb_orange_c.png', width: 100, height: 45),
|
||||
Text(
|
||||
t("Yes"),
|
||||
t("OK"),
|
||||
style: TextStyle(fontSize: 16, color: Colors.white),
|
||||
),
|
||||
],
|
||||
|
||||
@@ -87,14 +87,14 @@ class _MenuPageWidgetState extends State<MenuPageWidget> with Trans, Logging {
|
||||
description: t("Would you like to try all premium functions for 10 days, without any subscription or bank card data?"),
|
||||
widget: Column(children: [
|
||||
Text(
|
||||
t("If you click to 'Yes', all premium functions will be available right now."),
|
||||
t("If you click to 'OK', all premium functions will be available right now."),
|
||||
style: GoogleFonts.inter(color: Colors.white),
|
||||
),
|
||||
Divider(),
|
||||
Text(
|
||||
/* Text(
|
||||
t("If you click to 'No', you can use all basic functions, and you will loose the oppurtunity to try the premium functions for free."),
|
||||
style: GoogleFonts.inter(color: Colors.white),
|
||||
),
|
||||
), */
|
||||
]),
|
||||
onCancel: () => {
|
||||
Navigator.of(context).pop(),
|
||||
|
||||
Reference in New Issue
Block a user