|
@@ -4,6 +4,7 @@ import "package:flutter/material.dart";
|
|
|
import "package:modal_bottom_sheet/modal_bottom_sheet.dart";
|
|
|
import "package:photos/core/configuration.dart";
|
|
|
import "package:photos/db/files_db.dart";
|
|
|
+import "package:photos/generated/l10n.dart";
|
|
|
import "package:photos/models/file.dart";
|
|
|
import "package:photos/models/file_load_result.dart";
|
|
|
import "package:photos/models/local_entity_data.dart";
|
|
@@ -75,8 +76,8 @@ class PickCenterPointWidget extends StatelessWidget {
|
|
|
child: Column(
|
|
|
children: [
|
|
|
BottomOfTitleBarWidget(
|
|
|
- title: const TitleBarTitleWidget(
|
|
|
- title: "Pick center point",
|
|
|
+ title: TitleBarTitleWidget(
|
|
|
+ title: S.of(context).pickCenterPoint,
|
|
|
),
|
|
|
caption: locationTagEntity.item.name,
|
|
|
),
|
|
@@ -162,7 +163,7 @@ class PickCenterPointWidget extends StatelessWidget {
|
|
|
key: ValueKey(value),
|
|
|
isDisabled: !value,
|
|
|
buttonType: ButtonType.neutral,
|
|
|
- labelText: "Use selected photo",
|
|
|
+ labelText: S.of(context).useSelectedPhoto,
|
|
|
onTap: () async {
|
|
|
final selectedFile =
|
|
|
selectedFiles.files.first;
|
|
@@ -176,7 +177,7 @@ class PickCenterPointWidget extends StatelessWidget {
|
|
|
ButtonWidget(
|
|
|
buttonType: ButtonType.secondary,
|
|
|
buttonAction: ButtonAction.cancel,
|
|
|
- labelText: "Cancel",
|
|
|
+ labelText: S.of(context).cancel,
|
|
|
onTap: () async {
|
|
|
Navigator.of(context).pop();
|
|
|
},
|