feat: Update internationalization translations for liberation history item details template component
This commit is contained in:
commit
e8cdcda824
|
@ -44,8 +44,8 @@
|
||||||
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
|
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
|
||||||
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
||||||
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
||||||
6436409E27A31CD800820AF7 /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
6436409927A31CD100820AF7 /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||||
6436409927A31CD300820AF7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
6436409727A31CD000820AF7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||||
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
|
@ -225,8 +225,8 @@
|
||||||
6436409C27A31CD800820AF7 /* InfoPlist.strings */ = {
|
6436409C27A31CD800820AF7 /* InfoPlist.strings */ = {
|
||||||
isa = PBXVariantGroup;
|
isa = PBXVariantGroup;
|
||||||
children = (
|
children = (
|
||||||
6436409E27A31CD800820AF7 /* pt */,
|
6436409927A31CD100820AF7 /* pt */,
|
||||||
6436409927A31CD300820AF7 /* en */,
|
6436409727A31CD000820AF7 /* en */,
|
||||||
);
|
);
|
||||||
name = InfoPlist.strings;
|
name = InfoPlist.strings;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
|
|
@ -24,6 +24,10 @@ class VisitRequestTemplateComponentModel
|
||||||
FocusNode? textFieldFocusNode4;
|
FocusNode? textFieldFocusNode4;
|
||||||
TextEditingController? textController4;
|
TextEditingController? textController4;
|
||||||
String? Function(BuildContext, String?)? textController4Validator;
|
String? Function(BuildContext, String?)? textController4Validator;
|
||||||
|
// State field(s) for TextField widget.
|
||||||
|
FocusNode? textFieldFocusNode5;
|
||||||
|
TextEditingController? textController5;
|
||||||
|
String? Function(BuildContext, String?)? textController5Validator;
|
||||||
// Stores action output result for [Action Block - visitRequestComponentAction] action in IconButton widget.
|
// Stores action output result for [Action Block - visitRequestComponentAction] action in IconButton widget.
|
||||||
bool? blockVisitRequest;
|
bool? blockVisitRequest;
|
||||||
// Stores action output result for [Action Block - visitRequestComponentAction] action in IconButton widget.
|
// Stores action output result for [Action Block - visitRequestComponentAction] action in IconButton widget.
|
||||||
|
@ -45,6 +49,9 @@ class VisitRequestTemplateComponentModel
|
||||||
|
|
||||||
textFieldFocusNode4?.dispose();
|
textFieldFocusNode4?.dispose();
|
||||||
textController4?.dispose();
|
textController4?.dispose();
|
||||||
|
|
||||||
|
textFieldFocusNode5?.dispose();
|
||||||
|
textController5?.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Action blocks.
|
/// Action blocks.
|
||||||
|
|
|
@ -14,14 +14,14 @@ class VisitRequestTemplateComponentWidget extends StatefulWidget {
|
||||||
required this.vteName,
|
required this.vteName,
|
||||||
required this.vteReason,
|
required this.vteReason,
|
||||||
required this.vteMsg,
|
required this.vteMsg,
|
||||||
required this.vteDocument,
|
this.vteDocument,
|
||||||
required this.cliUUID,
|
this.cliUUID,
|
||||||
required this.vteUUID,
|
this.vteUUID,
|
||||||
required this.vawName,
|
this.vawName,
|
||||||
required this.msgUUID,
|
this.msgUUID,
|
||||||
required this.vawRef,
|
this.vawRef,
|
||||||
required this.vawUUID,
|
this.vawUUID,
|
||||||
required this.vawDestino,
|
this.vawDestino,
|
||||||
required this.vawStatus,
|
required this.vawStatus,
|
||||||
this.vawDate,
|
this.vawDate,
|
||||||
});
|
});
|
||||||
|
@ -69,8 +69,11 @@ class _VisitRequestTemplateComponentWidgetState
|
||||||
_model.textController3 ??= TextEditingController(text: widget.vteMsg);
|
_model.textController3 ??= TextEditingController(text: widget.vteMsg);
|
||||||
_model.textFieldFocusNode3 ??= FocusNode();
|
_model.textFieldFocusNode3 ??= FocusNode();
|
||||||
|
|
||||||
_model.textController4 ??= TextEditingController();
|
_model.textController4 ??= TextEditingController(text: widget.vawDate);
|
||||||
_model.textFieldFocusNode4 ??= FocusNode();
|
_model.textFieldFocusNode4 ??= FocusNode();
|
||||||
|
|
||||||
|
_model.textController5 ??= TextEditingController();
|
||||||
|
_model.textFieldFocusNode5 ??= FocusNode();
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
@ -484,7 +487,7 @@ class _VisitRequestTemplateComponentWidgetState
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
isDense: true,
|
isDense: true,
|
||||||
labelText: FFLocalizations.of(context).getText(
|
labelText: FFLocalizations.of(context).getText(
|
||||||
'kt87omsz' /* Data */,
|
'kt87omsz' /* Mensagem */,
|
||||||
),
|
),
|
||||||
labelStyle: FlutterFlowTheme.of(context)
|
labelStyle: FlutterFlowTheme.of(context)
|
||||||
.labelMedium
|
.labelMedium
|
||||||
|
@ -528,13 +531,72 @@ class _VisitRequestTemplateComponentWidgetState
|
||||||
_model.textController3Validator.asValidator(context),
|
_model.textController3Validator.asValidator(context),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (widget.vawStatus != 'S')
|
||||||
|
Padding(
|
||||||
|
padding:
|
||||||
|
const EdgeInsetsDirectional.fromSTEB(24.0, 0.0, 24.0, 0.0),
|
||||||
|
child: TextFormField(
|
||||||
|
controller: _model.textController4,
|
||||||
|
focusNode: _model.textFieldFocusNode4,
|
||||||
|
autofocus: false,
|
||||||
|
textCapitalization: TextCapitalization.none,
|
||||||
|
textInputAction: TextInputAction.next,
|
||||||
|
readOnly: true,
|
||||||
|
obscureText: false,
|
||||||
|
decoration: InputDecoration(
|
||||||
|
isDense: true,
|
||||||
|
labelText: FFLocalizations.of(context).getText(
|
||||||
|
'yyni99pe' /* Data */,
|
||||||
|
),
|
||||||
|
labelStyle: FlutterFlowTheme.of(context)
|
||||||
|
.labelMedium
|
||||||
|
.override(
|
||||||
|
fontFamily: FlutterFlowTheme.of(context)
|
||||||
|
.labelMediumFamily,
|
||||||
|
color: FlutterFlowTheme.of(context).primaryText,
|
||||||
|
letterSpacing: 0.0,
|
||||||
|
useGoogleFonts: GoogleFonts.asMap().containsKey(
|
||||||
|
FlutterFlowTheme.of(context)
|
||||||
|
.labelMediumFamily),
|
||||||
|
),
|
||||||
|
hintStyle:
|
||||||
|
FlutterFlowTheme.of(context).labelMedium.override(
|
||||||
|
fontFamily: FlutterFlowTheme.of(context)
|
||||||
|
.labelMediumFamily,
|
||||||
|
letterSpacing: 0.0,
|
||||||
|
useGoogleFonts: GoogleFonts.asMap()
|
||||||
|
.containsKey(FlutterFlowTheme.of(context)
|
||||||
|
.labelMediumFamily),
|
||||||
|
),
|
||||||
|
enabledBorder: InputBorder.none,
|
||||||
|
focusedBorder: InputBorder.none,
|
||||||
|
errorBorder: InputBorder.none,
|
||||||
|
focusedErrorBorder: InputBorder.none,
|
||||||
|
suffixIcon: Icon(
|
||||||
|
Icons.date_range,
|
||||||
|
color: FlutterFlowTheme.of(context).accent1,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
style: FlutterFlowTheme.of(context).bodyMedium.override(
|
||||||
|
fontFamily:
|
||||||
|
FlutterFlowTheme.of(context).bodyMediumFamily,
|
||||||
|
color: FlutterFlowTheme.of(context).primaryText,
|
||||||
|
letterSpacing: 0.0,
|
||||||
|
useGoogleFonts: GoogleFonts.asMap().containsKey(
|
||||||
|
FlutterFlowTheme.of(context).bodyMediumFamily),
|
||||||
|
),
|
||||||
|
textAlign: TextAlign.start,
|
||||||
|
validator:
|
||||||
|
_model.textController4Validator.asValidator(context),
|
||||||
|
),
|
||||||
|
),
|
||||||
if (widget.vawStatus == 'S')
|
if (widget.vawStatus == 'S')
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsetsDirectional.fromSTEB(
|
padding: const EdgeInsetsDirectional.fromSTEB(
|
||||||
24.0, 20.0, 24.0, 20.0),
|
24.0, 20.0, 24.0, 20.0),
|
||||||
child: TextFormField(
|
child: TextFormField(
|
||||||
controller: _model.textController4,
|
controller: _model.textController5,
|
||||||
focusNode: _model.textFieldFocusNode4,
|
focusNode: _model.textFieldFocusNode5,
|
||||||
autofocus: false,
|
autofocus: false,
|
||||||
textInputAction: TextInputAction.next,
|
textInputAction: TextInputAction.next,
|
||||||
obscureText: false,
|
obscureText: false,
|
||||||
|
@ -607,7 +669,7 @@ class _VisitRequestTemplateComponentWidgetState
|
||||||
FlutterFlowTheme.of(context).bodyMediumFamily),
|
FlutterFlowTheme.of(context).bodyMediumFamily),
|
||||||
),
|
),
|
||||||
validator:
|
validator:
|
||||||
_model.textController4Validator.asValidator(context),
|
_model.textController5Validator.asValidator(context),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (widget.vawStatus == 'S')
|
if (widget.vawStatus == 'S')
|
||||||
|
@ -632,7 +694,7 @@ class _VisitRequestTemplateComponentWidgetState
|
||||||
context,
|
context,
|
||||||
actionValue: 'B',
|
actionValue: 'B',
|
||||||
refUUID: widget.vawRef,
|
refUUID: widget.vawRef,
|
||||||
responseValue: _model.textController4.text,
|
responseValue: _model.textController5.text,
|
||||||
vteUUID: widget.vteUUID,
|
vteUUID: widget.vteUUID,
|
||||||
);
|
);
|
||||||
shouldSetState = true;
|
shouldSetState = true;
|
||||||
|
@ -663,7 +725,7 @@ class _VisitRequestTemplateComponentWidgetState
|
||||||
context,
|
context,
|
||||||
actionValue: 'L',
|
actionValue: 'L',
|
||||||
refUUID: widget.vawRef,
|
refUUID: widget.vawRef,
|
||||||
responseValue: _model.textController4.text,
|
responseValue: _model.textController5.text,
|
||||||
vteUUID: widget.vteUUID,
|
vteUUID: widget.vteUUID,
|
||||||
);
|
);
|
||||||
shouldSetState = true;
|
shouldSetState = true;
|
||||||
|
|
|
@ -1006,10 +1006,18 @@ final kTranslationsMap = <Map<String, Map<String, String>>>[
|
||||||
'en': 'Reason',
|
'en': 'Reason',
|
||||||
},
|
},
|
||||||
'kt87omsz': {
|
'kt87omsz': {
|
||||||
|
'pt': 'Mensagem',
|
||||||
|
'en': 'Message',
|
||||||
|
},
|
||||||
|
'cx6sviir': {
|
||||||
|
'pt': '',
|
||||||
|
'en': '',
|
||||||
|
},
|
||||||
|
'yyni99pe': {
|
||||||
'pt': 'Data',
|
'pt': 'Data',
|
||||||
'en': 'Date',
|
'en': 'Date',
|
||||||
},
|
},
|
||||||
'cx6sviir': {
|
'noktw1kq': {
|
||||||
'pt': '',
|
'pt': '',
|
||||||
'en': '',
|
'en': '',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue