審査用に文言などを修正 ver.4.5.1 467
This commit is contained in:
@ -179,18 +179,18 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
||||
// Show confirmation dialog
|
||||
Get.dialog(
|
||||
AlertDialog(
|
||||
title: const Text("確認"), //confirm
|
||||
content: const Text(
|
||||
"ロゲを開始すると、今までのロゲデータが全てクリアされます。本当に開始しますか?"), //are you sure
|
||||
title: Text("confirm".tr), //confirm
|
||||
content: Text(
|
||||
"clear_rog_data_message".tr), //are you sure
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
child: const Text("いいえ"), //no
|
||||
child: Text("no".tr), //no
|
||||
onPressed: () {
|
||||
Get.back(); // Close the dialog
|
||||
},
|
||||
),
|
||||
TextButton(
|
||||
child: const Text("はい"), //yes
|
||||
child: Text("yes".tr), //yes
|
||||
onPressed: () async {
|
||||
|
||||
await saveTemporaryImage(destination);
|
||||
@ -219,7 +219,7 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
||||
: null,
|
||||
child: Obx(
|
||||
()=> Text(
|
||||
destinationController.isInRog.value ? '競技中' : 'ロゲ開始',
|
||||
destinationController.isInRog.value ? 'in_game'.tr : 'start_rogaining'.tr,
|
||||
style: TextStyle(color: Colors.white),
|
||||
),
|
||||
),
|
||||
@ -258,8 +258,8 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
||||
});
|
||||
}
|
||||
: null,
|
||||
child: const Text(
|
||||
"ロゲゴール",
|
||||
child: Text(
|
||||
"finish_rogaining".tr,
|
||||
style: TextStyle(color: Colors.white),
|
||||
));
|
||||
} else if (distanceToDest <=
|
||||
@ -353,12 +353,12 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
||||
? "ロゲ開始"
|
||||
: destinationController.isInRog.value == true &&
|
||||
destination.cp == -1
|
||||
? "ゲーム中"
|
||||
? "in_game".tr
|
||||
: isAlreadyCheckedIn == true
|
||||
? "ゲーム中"
|
||||
? "in_game".tr
|
||||
: destinationController.isInRog.value == true
|
||||
? "チェックイン"
|
||||
: "ロゲは始まっていません",
|
||||
? "checkin".tr
|
||||
: "rogaining_not_started".tr,
|
||||
style: TextStyle(color: Theme.of(context).colorScheme.onSecondary),
|
||||
),
|
||||
);
|
||||
@ -513,8 +513,8 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
||||
print('Error canceling check-in: $e');
|
||||
}
|
||||
},
|
||||
child: const Text(
|
||||
"チェックイン取消",
|
||||
child: Text(
|
||||
"cancel_checkin".tr,
|
||||
style: TextStyle(color: Colors.white),
|
||||
)) //remove checkin
|
||||
: Container(),
|
||||
@ -553,7 +553,7 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
||||
},
|
||||
//go here
|
||||
child: Text(
|
||||
"ここへ行く",
|
||||
"go_here".tr,
|
||||
style: TextStyle(
|
||||
color:
|
||||
Theme.of(context).colorScheme.onPrimary),
|
||||
|
||||
Reference in New Issue
Block a user