CAKE-169 | fixed string resources

This commit is contained in:
Oleksandr Sobol
2020-11-20 17:47:24 +02:00
parent 6cd6139fb3
commit 88477751c6
15 changed files with 193 additions and 18 deletions
@@ -151,7 +151,7 @@ class NodeCreateOrEditPage extends BasePage {
},
isLoading: nodeCreateOrEditViewModel
.connectionState is IsConnectingState,
text: 'Connect',
text: S.of(context).node_test,
isDisabled: !nodeCreateOrEditViewModel.isReady,
color: Colors.orange,
textColor: Colors.white),
@@ -192,10 +192,10 @@ class NodeCreateOrEditPage extends BasePage {
context: context,
builder: (BuildContext context) =>
AlertWithOneAction(
alertTitle: S.of(context).node_new,
alertTitle: S.of(context).new_node_testing,
alertContent: state.isAlive
? 'Connected to node'
: 'Not connected to node',
? S.of(context).node_connection_successful
: S.of(context).node_connection_failed,
buttonText: S.of(context).ok,
buttonAction: () => Navigator.of(context).pop()));
});
+2 -2
View File
@@ -99,9 +99,9 @@ class NodeListPage extends BasePage {
await showPopUp<void>(
context: context,
builder: (BuildContext context) {
// FIXME: Add translation.
return AlertWithTwoActions(
alertTitle: 'Change current node',
alertTitle: S.of(context)
.change_current_node_title,
alertContent: S
.of(context)
.change_current_node(node.uri),