Erweiterungen
This commit is contained in:
1 parent
955d7b3cb4
commit
e9811da904
25 files changed
+1505
-128
No files matched your search
@@ -26,6 +26,7 @@ import 'package:stadtbote/tools/messages/publish_payload_message.dart';
|
||||
|
||||
import '../main.dart';
|
||||
import '../model/task_info.dart';
|
||||
import '../tools/app_localizations.dart';
|
||||
import '../tools/util.dart';
|
||||
|
||||
class TaskListPage extends ContentViewWidget {
|
||||
@@ -93,7 +94,7 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
||||
visible: _commisionNumber.isNotEmpty,
|
||||
child: Row(
|
||||
children: [
|
||||
Text('Komm-#: $_commisionNumber', style: const TextStyle(fontSize: 20), textAlign: TextAlign.left),
|
||||
Text('${'commission_number_short'.tr}: $_commisionNumber', style: const TextStyle(fontSize: 20), textAlign: TextAlign.left),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -314,7 +315,7 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
||||
}
|
||||
|
||||
taskInfo.answer = jsonEncode(answer.toJson());
|
||||
taskInfo.additionalText = "Barcodes gescannt";
|
||||
taskInfo.additionalText = 'barcodes_scanned'.tr;
|
||||
taskInfo.completed = true;
|
||||
|
||||
setState(() {});
|
||||
@@ -349,7 +350,7 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
||||
box.put(picture);
|
||||
}
|
||||
|
||||
taskInfo.additionalText = "Fotos aufgenommen";
|
||||
taskInfo.additionalText = 'photos_taken'.tr;
|
||||
taskInfo.completed = true;
|
||||
|
||||
if (mounted) {
|
||||
@@ -446,7 +447,7 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
||||
answer.sign = signature;
|
||||
|
||||
taskInfo.answer = jsonEncode(answer.toJson());
|
||||
taskInfo.additionalText = "Unterschrift erfasst";
|
||||
taskInfo.additionalText = 'signature_captured'.tr;
|
||||
taskInfo.completed = true;
|
||||
|
||||
_sendFinTourMessage();
|
||||
|
||||
Reference in new issue
Block a user