登录流程已全部重构

This commit is contained in:
zhutao
2025-09-23 11:47:29 +08:00
parent a4992a063b
commit 8988b3feea
71 changed files with 2036 additions and 901 deletions

View File

@@ -0,0 +1,65 @@
// ignore: unused_import
import 'package:intl/intl.dart' as intl;
import 'app_localizations.dart';
// ignore_for_file: type=lint
/// The translations for English (`en`).
class AppLocalizationsEn extends AppLocalizations {
AppLocalizationsEn([String locale = 'en']) : super(locale);
@override
String get welcome_title => 'Clear Ingredients at a Glance';
@override
String get welcome_desc =>
'Automatically identify food ingredients and get instant insights on nutrition and potential risks';
@override
String get welcome_button_text => 'Get Started';
@override
String get login_title => '欢迎来到FoodCura';
@override
String get login_email_hint => 'Please enter your email';
@override
String get login_password_hint => 'Please enter your password';
@override
String get login_button => 'Continue';
@override
String get login_tip_start => 'I agree to the';
@override
String get login_privacy => 'Privacy Policy';
@override
String get login_terms => 'Terms';
@override
String get login_and => '&';
@override
String get login_other_login => 'Or';
@override
String get login_error_text => 'Login Failed';
@override
String get code_title => 'Enter Verification Code';
@override
String get code_tip => 'Verification code has been sent to';
@override
String get code_send_code => 'Resend';
@override
String get code_success => 'Sent';
@override
String get code_error => 'Invalid Code';
}