1772 lines
40 KiB
Dart
1772 lines
40 KiB
Dart
import 'dart:async';
|
||
|
||
import 'package:flutter/foundation.dart';
|
||
import 'package:flutter/widgets.dart';
|
||
import 'package:flutter_localizations/flutter_localizations.dart';
|
||
import 'package:intl/intl.dart' as intl;
|
||
|
||
import 'app_localizations_en.dart';
|
||
import 'app_localizations_hi.dart';
|
||
|
||
// ignore_for_file: type=lint
|
||
|
||
/// Callers can lookup localized strings with an instance of AppLocalizations
|
||
/// returned by `AppLocalizations.of(context)`.
|
||
///
|
||
/// Applications need to include `AppLocalizations.delegate()` in their app's
|
||
/// `localizationDelegates` list, and the locales they support in the app's
|
||
/// `supportedLocales` list. For example:
|
||
///
|
||
/// ```dart
|
||
/// import 'l10n/app_localizations.dart';
|
||
///
|
||
/// return MaterialApp(
|
||
/// localizationsDelegates: AppLocalizations.localizationsDelegates,
|
||
/// supportedLocales: AppLocalizations.supportedLocales,
|
||
/// home: MyApplicationHome(),
|
||
/// );
|
||
/// ```
|
||
///
|
||
/// ## Update pubspec.yaml
|
||
///
|
||
/// Please make sure to update your pubspec.yaml to include the following
|
||
/// packages:
|
||
///
|
||
/// ```yaml
|
||
/// dependencies:
|
||
/// # Internationalization support.
|
||
/// flutter_localizations:
|
||
/// sdk: flutter
|
||
/// intl: any # Use the pinned version from flutter_localizations
|
||
///
|
||
/// # Rest of dependencies
|
||
/// ```
|
||
///
|
||
/// ## iOS Applications
|
||
///
|
||
/// iOS applications define key application metadata, including supported
|
||
/// locales, in an Info.plist file that is built into the application bundle.
|
||
/// To configure the locales supported by your app, you’ll need to edit this
|
||
/// file.
|
||
///
|
||
/// First, open your project’s ios/Runner.xcworkspace Xcode workspace file.
|
||
/// Then, in the Project Navigator, open the Info.plist file under the Runner
|
||
/// project’s Runner folder.
|
||
///
|
||
/// Next, select the Information Property List item, select Add Item from the
|
||
/// Editor menu, then select Localizations from the pop-up menu.
|
||
///
|
||
/// Select and expand the newly-created Localizations item then, for each
|
||
/// locale your application supports, add a new item and select the locale
|
||
/// you wish to add from the pop-up menu in the Value field. This list should
|
||
/// be consistent with the languages listed in the AppLocalizations.supportedLocales
|
||
/// property.
|
||
abstract class AppLocalizations {
|
||
AppLocalizations(String locale)
|
||
: localeName = intl.Intl.canonicalizedLocale(locale.toString());
|
||
|
||
final String localeName;
|
||
|
||
static AppLocalizations? of(BuildContext context) {
|
||
return Localizations.of<AppLocalizations>(context, AppLocalizations);
|
||
}
|
||
|
||
static const LocalizationsDelegate<AppLocalizations> delegate =
|
||
_AppLocalizationsDelegate();
|
||
|
||
/// A list of this localizations delegate along with the default localizations
|
||
/// delegates.
|
||
///
|
||
/// Returns a list of localizations delegates containing this delegate along with
|
||
/// GlobalMaterialLocalizations.delegate, GlobalCupertinoLocalizations.delegate,
|
||
/// and GlobalWidgetsLocalizations.delegate.
|
||
///
|
||
/// Additional delegates can be added by appending to this list in
|
||
/// MaterialApp. This list does not have to be used at all if a custom list
|
||
/// of delegates is preferred or required.
|
||
static const List<LocalizationsDelegate<dynamic>> localizationsDelegates =
|
||
<LocalizationsDelegate<dynamic>>[
|
||
delegate,
|
||
GlobalMaterialLocalizations.delegate,
|
||
GlobalCupertinoLocalizations.delegate,
|
||
GlobalWidgetsLocalizations.delegate,
|
||
];
|
||
|
||
/// A list of this localizations delegate's supported locales.
|
||
static const List<Locale> supportedLocales = <Locale>[
|
||
Locale('en'),
|
||
Locale('hi')
|
||
];
|
||
|
||
/// Dialog error title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Error'**
|
||
String get error;
|
||
|
||
/// Dialog OK button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'OK'**
|
||
String get ok;
|
||
|
||
/// List search hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Search...'**
|
||
String get search;
|
||
|
||
/// Delete dialog title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Confirm Deletion'**
|
||
String get confirmDeletion;
|
||
|
||
/// Delete dialog body
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Are you sure you want to delete?'**
|
||
String get deleteConfirmation;
|
||
|
||
/// Cancel button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Cancel'**
|
||
String get cancel;
|
||
|
||
/// Delete button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Delete'**
|
||
String get delete;
|
||
|
||
/// Audit fields dialog title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Additional Fields'**
|
||
String get additionalFields;
|
||
|
||
/// Close button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Close'**
|
||
String get close;
|
||
|
||
/// Image picker title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Select Image Source'**
|
||
String get selectImageSource;
|
||
|
||
/// Image gallery option
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Gallery'**
|
||
String get gallery;
|
||
|
||
/// Camera option
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Camera'**
|
||
String get camera;
|
||
|
||
/// Form submit button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Submit'**
|
||
String get submit;
|
||
|
||
/// Form update button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Update'**
|
||
String get update;
|
||
|
||
/// Edit action
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Edit'**
|
||
String get edit;
|
||
|
||
/// Logout button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Logout'**
|
||
String get logout;
|
||
|
||
/// Forgot password title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Forgot Password'**
|
||
String get forgotPassword;
|
||
|
||
/// Email label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Email'**
|
||
String get email;
|
||
|
||
/// Email input hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter Email'**
|
||
String get enterEmail;
|
||
|
||
/// Forgot password submit button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Send me an access link'**
|
||
String get sendAccessLink;
|
||
|
||
/// Forgot password success message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'An email with a reset link has been sent to {email}.'**
|
||
String forgotPasswordSentMessage(String email);
|
||
|
||
/// Forgot password failure message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Failed to send the reset link. Please try again.'**
|
||
String get forgotPasswordFailedMessage;
|
||
|
||
/// Return to login link
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Click here to return to login'**
|
||
String get backToLogin;
|
||
|
||
/// Login email validation
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'You must provide an email or username'**
|
||
String get provideEmailOrUsername;
|
||
|
||
/// Login username hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Username or email address'**
|
||
String get usernameOrEmailHint;
|
||
|
||
/// Login password validation
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Password cannot be empty'**
|
||
String get passwordEmpty;
|
||
|
||
/// Password hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Password'**
|
||
String get password;
|
||
|
||
/// Stay logged in checkbox
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Stay Logged In'**
|
||
String get stayLoggedIn;
|
||
|
||
/// Login button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Log in'**
|
||
String get logIn;
|
||
|
||
/// Login success snackbar
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Login Successful'**
|
||
String get loginSuccessful;
|
||
|
||
/// Missing details snackbar
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Please provide all required details'**
|
||
String get provideRequiredDetails;
|
||
|
||
/// Processing snackbar
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Processing...'**
|
||
String get processing;
|
||
|
||
/// Login help link
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Having trouble logging in?'**
|
||
String get loginTrouble;
|
||
|
||
/// Alternative login divider
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Or Continue with'**
|
||
String get orContinueWith;
|
||
|
||
/// Sign up button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Sign Up'**
|
||
String get signUp;
|
||
|
||
/// Google sign in button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Sign in with Google'**
|
||
String get signInGoogle;
|
||
|
||
/// LinkedIn sign in button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Sign in with LinkedIn'**
|
||
String get signInLinkedin;
|
||
|
||
/// Login help screen name
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Login Help'**
|
||
String get loginHelp;
|
||
|
||
/// Sign in link on signup
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Already have an account? Sign in'**
|
||
String get alreadyHaveAccount;
|
||
|
||
/// Language section label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Language'**
|
||
String get language;
|
||
|
||
/// Create account title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Create Account'**
|
||
String get createAccount;
|
||
|
||
/// Company name label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Company Name'**
|
||
String get companyName;
|
||
|
||
/// Mobile number label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Mobile Number'**
|
||
String get mobileNumber;
|
||
|
||
/// Workspace label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Workspace'**
|
||
String get workspace;
|
||
|
||
/// GST number label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Gst Number'**
|
||
String get gstNumber;
|
||
|
||
/// Pancard label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'pancard'**
|
||
String get pancard;
|
||
|
||
/// Working label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Working'**
|
||
String get workingField;
|
||
|
||
/// Generic required-field validation
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Please enter {label}'**
|
||
String pleaseEnterThis(String label);
|
||
|
||
/// Generic input hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter {label}'**
|
||
String enterThis(String label);
|
||
|
||
/// Short email validation
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Please enter a valid email'**
|
||
String get validEmailShort;
|
||
|
||
/// Submit button uppercase
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'SUBMIT'**
|
||
String get submitCaps;
|
||
|
||
/// Account creation failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Account Creation Failed: {error}'**
|
||
String accountCreationFailed(String error);
|
||
|
||
/// Mobile number short label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Mobile No'**
|
||
String get mobileNo;
|
||
|
||
/// Signup step 1 header
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Step 1: Create Account'**
|
||
String get step1CreateAccount;
|
||
|
||
/// Previous button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Previous'**
|
||
String get previous;
|
||
|
||
/// Next button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Next'**
|
||
String get next;
|
||
|
||
/// Signup wizard title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Sign Up - Step {step}'**
|
||
String signUpStep(String step);
|
||
|
||
/// Selected account display
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Selected Account ID: {accountId}'**
|
||
String selectedAccountId(String accountId);
|
||
|
||
/// Signup step 2 header
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Step 2: Get Email Verification'**
|
||
String get step2EmailVerification;
|
||
|
||
/// Signup step 3 header
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Step 3: Get Registration'**
|
||
String get step3GetRegistration;
|
||
|
||
/// Account created message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Account created successfully!'**
|
||
String get accountCreatedSuccess;
|
||
|
||
/// Registration title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Registration'**
|
||
String get registration;
|
||
|
||
/// First name label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'First Name'**
|
||
String get firstName;
|
||
|
||
/// Last name label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Last Name'**
|
||
String get lastName;
|
||
|
||
/// New password label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'New Password'**
|
||
String get newPassword;
|
||
|
||
/// Confirm password label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Confirm Password'**
|
||
String get confirmPassword;
|
||
|
||
/// Add account row
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Add Account'**
|
||
String get addAccount;
|
||
|
||
/// Short password validation
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Please enter a valid password'**
|
||
String get validPasswordShort;
|
||
|
||
/// Terms agreement prefix
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'By signing up you are agreeing to the '**
|
||
String get termsAgreePrefix;
|
||
|
||
/// Terms link
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Terms & Conditions'**
|
||
String get termsConditions;
|
||
|
||
/// Terms conjunction
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **' and our '**
|
||
String get termsAndOur;
|
||
|
||
/// EULA link
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'End User License Agreement'**
|
||
String get eula;
|
||
|
||
/// Processing without dots
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Processing'**
|
||
String get processingPlain;
|
||
|
||
/// Create user title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Create User'**
|
||
String get createUser;
|
||
|
||
/// Your email hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter Your Email'**
|
||
String get enterYourEmail;
|
||
|
||
/// Send OTP button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Send OTP'**
|
||
String get sendOtp;
|
||
|
||
/// Send OTP failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Failed to send OTP: {error}'**
|
||
String failedToSendOtp(String error);
|
||
|
||
/// Email verification header
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Email Verification'**
|
||
String get emailVerification;
|
||
|
||
/// OTP sent message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'A mail with a 6-digit verification code was just sent to {email}'**
|
||
String otpSentToEmail(String email);
|
||
|
||
/// Email verified message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Email verified successfully'**
|
||
String get emailVerifiedSuccess;
|
||
|
||
/// OTP verification failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Failed to verify OTP: {error}'**
|
||
String failedToVerifyOtp(String error);
|
||
|
||
/// OTP resent message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'OTP Resent'**
|
||
String get otpResent;
|
||
|
||
/// OTP resend failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Failed to resend OTP: {error}'**
|
||
String failedToResendOtp(String error);
|
||
|
||
/// Forgot password link
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Forgot Password?'**
|
||
String get forgotPasswordLink;
|
||
|
||
/// Resend prompt
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Didn’t get the code?'**
|
||
String get didntGetCode;
|
||
|
||
/// Resend button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Resend'**
|
||
String get resend;
|
||
|
||
/// Go to registration button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Go to Registration Details'**
|
||
String get goToRegistrationDetails;
|
||
|
||
/// About us title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'About Us'**
|
||
String get aboutUs;
|
||
|
||
/// About us body
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Create a new project if you have access, if you don\'t have access, then contact the admin.'**
|
||
String get aboutDescription;
|
||
|
||
/// Reset password title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Reset Password'**
|
||
String get resetPassword;
|
||
|
||
/// Signed in as message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'You\'re signed in as {email}'**
|
||
String signedInAs(String email);
|
||
|
||
/// Wrong account link
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Wrong account? Log in instead.'**
|
||
String get wrongAccount;
|
||
|
||
/// Old password label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter Old Password'**
|
||
String get enterOldPassword;
|
||
|
||
/// Old password validation
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Please enter your old password'**
|
||
String get oldPasswordError;
|
||
|
||
/// New password label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter New Password'**
|
||
String get enterNewPassword;
|
||
|
||
/// New password validation
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Please enter your new password'**
|
||
String get newPasswordError;
|
||
|
||
/// Re-enter password label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Re-Enter New Password'**
|
||
String get reEnterNewPassword;
|
||
|
||
/// Re-enter validation
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Please re-enter your new password'**
|
||
String get reEnterPasswordError;
|
||
|
||
/// Password mismatch
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Passwords do not match'**
|
||
String get passwordsDontMatch;
|
||
|
||
/// Continue button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Continue'**
|
||
String get continueBtn;
|
||
|
||
/// Password changed message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Password Changed Successfully'**
|
||
String get passwordChangedSuccess;
|
||
|
||
/// Incorrect password message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Incorrect Password'**
|
||
String get incorrectPassword;
|
||
|
||
/// Select image prompt
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Please select an image.'**
|
||
String get selectImage;
|
||
|
||
/// Image updated message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Profile image updated'**
|
||
String get profileImageUpdated;
|
||
|
||
/// Image upload failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Failed to upload image: {error}'**
|
||
String failedUploadImage(String error);
|
||
|
||
/// Missing user id message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'User id missing, please re-login'**
|
||
String get userIdMissing;
|
||
|
||
/// Profile updated message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Profile updated'**
|
||
String get profileUpdated;
|
||
|
||
/// Profile update failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Failed to update profile: {code}'**
|
||
String failedUpdateProfile(String code);
|
||
|
||
/// Update failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Failed to update: {error}'**
|
||
String failedUpdate(String error);
|
||
|
||
/// Profile settings title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'My Profile Settings'**
|
||
String get myProfileSettings;
|
||
|
||
/// Pick photo button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Pick a Profile Photo'**
|
||
String get pickProfilePhoto;
|
||
|
||
/// Profile info header
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Your Profile Information'**
|
||
String get yourProfileInfo;
|
||
|
||
/// Full name label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Your Full Name'**
|
||
String get yourFullName;
|
||
|
||
/// Full name hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter Full Name'**
|
||
String get enterFullName;
|
||
|
||
/// Full name validation
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Please enter your full name'**
|
||
String get enterFullNameError;
|
||
|
||
/// Pronouns label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Pronouns'**
|
||
String get pronouns;
|
||
|
||
/// Pronouns hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter Pronouns'**
|
||
String get enterPronouns;
|
||
|
||
/// Role label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Role'**
|
||
String get role;
|
||
|
||
/// Role hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter Role'**
|
||
String get enterRole;
|
||
|
||
/// Department label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Department or Team'**
|
||
String get departmentOrTeam;
|
||
|
||
/// Department hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter Department or Team'**
|
||
String get enterDepartmentOrTeam;
|
||
|
||
/// Email validation
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Please enter a valid email address'**
|
||
String get validEmailError;
|
||
|
||
/// About me label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'About Me'**
|
||
String get aboutMe;
|
||
|
||
/// Update profile button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Update Profile'**
|
||
String get updateProfile;
|
||
|
||
/// Profile password row
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Password:Change Password for your account Change password'**
|
||
String get profilePasswordRow;
|
||
|
||
/// Profile security row
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Security:Logout of all sessions except this current browser Logout other sessions'**
|
||
String get profileSecurityRow;
|
||
|
||
/// Profile deactivation row
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Deactivation:Remove access to all organizations and workspace in cloudnsure Deactivate account'**
|
||
String get profileDeactivationRow;
|
||
|
||
/// Loading indicator
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Loading...'**
|
||
String get loading;
|
||
|
||
/// Home tab
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Home'**
|
||
String get navHome;
|
||
|
||
/// Contacts tab
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Contacts'**
|
||
String get navContacts;
|
||
|
||
/// Wallet tab
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Wallet'**
|
||
String get navWallet;
|
||
|
||
/// Duty summary dialog title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Duty summary'**
|
||
String get dutySummary;
|
||
|
||
/// Duty summary dialog body
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Points recorded: {points}\\nDistance (straight line): {km} km\\nRoad distance: coming in step 4 (free API).'**
|
||
String dutySummaryBody(String points, String km);
|
||
|
||
/// Duty punch title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Duty Punch'**
|
||
String get dutyPunch;
|
||
|
||
/// Busy button label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Please wait...'**
|
||
String get pleaseWait;
|
||
|
||
/// Punch out button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Punch Out'**
|
||
String get punchOut;
|
||
|
||
/// Punch in button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Punch In'**
|
||
String get punchIn;
|
||
|
||
/// Punched in confirmation
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Punched in - tracking every 5 min'**
|
||
String get punchedInTracking;
|
||
|
||
/// Punch in failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Punch in failed: {error}'**
|
||
String punchInFailed(String error);
|
||
|
||
/// Punch out failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Punch out failed: {error}'**
|
||
String punchOutFailed(String error);
|
||
|
||
/// Background tracking note
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Keeps recording one location every 5 min, even with the app minimized. For Xiaomi/Oppo/Vivo/Samsung allow Unrestricted battery use or tracking may pause.'**
|
||
String get batteryNote;
|
||
|
||
/// Recent duties header
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Recent duties'**
|
||
String get recentDuties;
|
||
|
||
/// Punched in status
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Punched IN'**
|
||
String get punchedIn;
|
||
|
||
/// Punched out status
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Punched OUT'**
|
||
String get punchedOut;
|
||
|
||
/// Session row
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Session: {session}'**
|
||
String sessionRow(String session);
|
||
|
||
/// Since row
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Since: {time}'**
|
||
String sinceRow(String time);
|
||
|
||
/// Points row
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Points: {points}'**
|
||
String pointsRow(String points);
|
||
|
||
/// Distance row
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Distance: {km} km'**
|
||
String distanceRow(String km);
|
||
|
||
/// History out row
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Out: {out} • {km} km'**
|
||
String historyOutRow(String out, String km);
|
||
|
||
/// Battery dialog title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Keep tracking running'**
|
||
String get keepTracking;
|
||
|
||
/// Battery exemption body
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Xiaomi, Oppo, Vivo and Samsung phones stop background tracking to save battery. Allow \"Unrestricted\" battery use for this app so duty tracking keeps working when the screen is off?'**
|
||
String get batteryExemptBody;
|
||
|
||
/// Later button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Later'**
|
||
String get laterBtn;
|
||
|
||
/// Open settings button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Open settings'**
|
||
String get openSettings;
|
||
|
||
/// Scan barcode title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Scan Barcode'**
|
||
String get scanBarcode;
|
||
|
||
/// Bar code title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'BAR CODE'**
|
||
String get barCode;
|
||
|
||
/// Scanned barcode label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Scanned Barcode:'**
|
||
String get scannedBarcode;
|
||
|
||
/// Scan QR title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Scan QR'**
|
||
String get scanQR;
|
||
|
||
/// QR code title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'QR Code'**
|
||
String get qrCode;
|
||
|
||
/// Scanned QR label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Scanned QRcode:'**
|
||
String get scannedQRCode;
|
||
|
||
/// Scan QR button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Scan QRcode'**
|
||
String get scanQRCode;
|
||
|
||
/// Generated QR title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Generated QR Code'**
|
||
String get generatedQrCode;
|
||
|
||
/// Generated barcode title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Generated Bar Code'**
|
||
String get generatedBarCode;
|
||
|
||
/// QR and barcode title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'QR AND BAR CODE'**
|
||
String get qrAndBarCode;
|
||
|
||
/// Generate QR button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Generate Qr'**
|
||
String get generateQr;
|
||
|
||
/// Generate barcode button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Generate Bar code'**
|
||
String get generateBarCode;
|
||
|
||
/// QR scanner button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'QR Code Scanner'**
|
||
String get qrCodeScanner;
|
||
|
||
/// Barcode scanner button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Bar Code Scanner'**
|
||
String get barCodeScanner;
|
||
|
||
/// QR data field label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'qr_code_data'**
|
||
String get qrCodeData;
|
||
|
||
/// Barcode data field label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Bar Code Data'**
|
||
String get barCodeData;
|
||
|
||
/// System parameter title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'System Parameter'**
|
||
String get sysParamTitle;
|
||
|
||
/// Generic field tooltip
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Tooltip for {label}'**
|
||
String tooltipFor(String label);
|
||
|
||
/// Scheduler timer field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Scheduler Timer'**
|
||
String get schedulerTimer;
|
||
|
||
/// Lease tax code field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Lease Tax Code'**
|
||
String get leaseTaxCode;
|
||
|
||
/// Vessel limit field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Vessel Confirmation Process Limit'**
|
||
String get vesselConfProcessLimit;
|
||
|
||
/// Row to display field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Row To Display'**
|
||
String get rowToDisplay;
|
||
|
||
/// Link to display field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Link To Display'**
|
||
String get linkToDisplay;
|
||
|
||
/// Row to add field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Row To Add'**
|
||
String get rowToAdd;
|
||
|
||
/// LOV row field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'LOV Row To Display'**
|
||
String get lovRowToDisplay;
|
||
|
||
/// LOV link field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'LOV Link To Display'**
|
||
String get lovLinkToDisplay;
|
||
|
||
/// OID server name field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'OID Server Name'**
|
||
String get oidServerName;
|
||
|
||
/// OID base field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'OID Base'**
|
||
String get oidBase;
|
||
|
||
/// OID admin field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'OID Admin User'**
|
||
String get oidAdminUser;
|
||
|
||
/// OID port field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'OID Server Port'**
|
||
String get oidServerPort;
|
||
|
||
/// Default group field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'User Default Group'**
|
||
String get userDefaultGroup;
|
||
|
||
/// Default department field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Default Department'**
|
||
String get defaultDepartment;
|
||
|
||
/// Default position field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Default Position'**
|
||
String get defaultPosition;
|
||
|
||
/// Single charge field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Single Charge'**
|
||
String get singleCharge;
|
||
|
||
/// First day field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'First Day of The Week'**
|
||
String get firstDayOfWeek;
|
||
|
||
/// Hour per shift field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Hour per Shift'**
|
||
String get hourPerShift;
|
||
|
||
/// Billing frequency field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'CN Billing Frequency'**
|
||
String get cnBillingFrequency;
|
||
|
||
/// Billing dept field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Billing Department Code'**
|
||
String get billingDepartmentCode;
|
||
|
||
/// Price list field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Base Price List'**
|
||
String get basePriceList;
|
||
|
||
/// NCSO field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Non-Container Service Order Auto-Approval Department Code'**
|
||
String get nonContainerServiceOrder;
|
||
|
||
/// EDI MAE field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'EDI MAE Scheduler ON/OFF'**
|
||
String get ediMaeScheduler;
|
||
|
||
/// EDI scheduler field
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'EDI Scheduler ON/OFF'**
|
||
String get ediScheduler;
|
||
|
||
/// Registration allowed label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Is Registration Allowed?'**
|
||
String get regAllowed;
|
||
|
||
/// Yes option
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Yes'**
|
||
String get yes;
|
||
|
||
/// No option
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No'**
|
||
String get no;
|
||
|
||
/// Pick logo button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Pick a Company Logo'**
|
||
String get pickCompanyLogo;
|
||
|
||
/// Logo uploaded label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Company Logo uploaded Successful'**
|
||
String get logoUploadSuccess;
|
||
|
||
/// MSC tooltip
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Allow customer code for MSC taulia CSV generation'**
|
||
String get mscTooltip;
|
||
|
||
/// Info field label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'i'**
|
||
String get miscInfoLabel;
|
||
|
||
/// Save button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Save'**
|
||
String get saveBtn;
|
||
|
||
/// Create project failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Failed to create project: {error}'**
|
||
String failedCreateProject(String error);
|
||
|
||
/// Update project failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Failed to update project: {error}'**
|
||
String failedUpdateProject(String error);
|
||
|
||
/// Setup title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Setup Screen'**
|
||
String get setupScreen;
|
||
|
||
/// User maintenance menu
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'User Maintenance'**
|
||
String get userMaintenance;
|
||
|
||
/// User group menu
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'User Group Maintenance'**
|
||
String get userGroupMaintenance;
|
||
|
||
/// Menu maintenance menu
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Menu Maintenance'**
|
||
String get menuMaintenance;
|
||
|
||
/// Menu access menu
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Menu Access'**
|
||
String get menuAccess;
|
||
|
||
/// Access type menu
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Access Type'**
|
||
String get accessType;
|
||
|
||
/// Dashboard menu
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Dashboard'**
|
||
String get dashboardMenu;
|
||
|
||
/// Create form title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Create Dynamic Form'**
|
||
String get createDynamicForm;
|
||
|
||
/// Form name label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Form Name'**
|
||
String get formName;
|
||
|
||
/// Form name hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter Form Name'**
|
||
String get enterFormName;
|
||
|
||
/// Form description label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Form Description'**
|
||
String get formDescription;
|
||
|
||
/// Form description hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter Form Description'**
|
||
String get enterFormDescription;
|
||
|
||
/// Related to label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Select Related To'**
|
||
String get selectRelatedTo;
|
||
|
||
/// Page event label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Select Page Event'**
|
||
String get selectPageEvent;
|
||
|
||
/// Button caption label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Button Caption'**
|
||
String get buttonCaption;
|
||
|
||
/// Button caption hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter Button Caption'**
|
||
String get enterButtonCaption;
|
||
|
||
/// Components header
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Components Details'**
|
||
String get componentsDetails;
|
||
|
||
/// Label column
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Label'**
|
||
String get colLabel;
|
||
|
||
/// Type column
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Type'**
|
||
String get colType;
|
||
|
||
/// Mapping column
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Mapping'**
|
||
String get colMapping;
|
||
|
||
/// Mandatory column
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Mandatory'**
|
||
String get colMandatory;
|
||
|
||
/// Readonly column
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Readonly'**
|
||
String get colReadonly;
|
||
|
||
/// Drop values column
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Drop Values'**
|
||
String get colDropValues;
|
||
|
||
/// SP column
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'SP'**
|
||
String get colSP;
|
||
|
||
/// Actions column
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Actions'**
|
||
String get colActions;
|
||
|
||
/// Type dropdown label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Select Type'**
|
||
String get selectType;
|
||
|
||
/// Mapping dropdown label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Select Mapping'**
|
||
String get selectMapping;
|
||
|
||
/// Readonly dropdown label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Select Read Only'**
|
||
String get selectReadOnly;
|
||
|
||
/// Add row button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Add Row'**
|
||
String get addRow;
|
||
|
||
/// Dynamic form title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Dynamic Form'**
|
||
String get dynamicForm;
|
||
|
||
/// Empty forms message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No Services available.'**
|
||
String get noServices;
|
||
|
||
/// Related to column
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Related To'**
|
||
String get relatedTo;
|
||
|
||
/// Page event column
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Page Event'**
|
||
String get pageEvent;
|
||
|
||
/// Build column
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Build'**
|
||
String get buildCol;
|
||
|
||
/// Build button
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'build'**
|
||
String get buildBtn;
|
||
|
||
/// Delete module confirm
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Are you sure you want to delete this Module?'**
|
||
String get deleteModuleConfirm;
|
||
|
||
/// Edit form title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Edit Form'**
|
||
String get editForm;
|
||
|
||
/// Delete entity failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Failed to delete entity: {error}'**
|
||
String deleteEntityFailed(String error);
|
||
|
||
/// Create bookmarks title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Create Bookmarks'**
|
||
String get createBookmarks;
|
||
|
||
/// Create entity failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Failed to create entity: {error}'**
|
||
String failedCreateEntity(String error);
|
||
|
||
/// Update bookmarks title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Update Bookmarks'**
|
||
String get updateBookmarks;
|
||
|
||
/// Update entity failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Failed to update entity: {error}'**
|
||
String failedUpdateEntity(String error);
|
||
|
||
/// Bookmarks title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Bookmarks'**
|
||
String get bookmarksTitle;
|
||
|
||
/// Empty bookmarks message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No BookMarks found.'**
|
||
String get noBookmarks;
|
||
|
||
/// No databases message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'No Databases available'**
|
||
String get noDatabases;
|
||
|
||
/// Fetch failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Failed to fetch entities: {error}'**
|
||
String failedFetchEntities(String error);
|
||
|
||
/// URL launch failure
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Failed to launch URL: {error}'**
|
||
String failedLaunchUrl(String error);
|
||
|
||
/// Raised tickets title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Raised Tickets'**
|
||
String get raisedTickets;
|
||
|
||
/// Ticket ID row
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Ticket ID: {id}'**
|
||
String ticketIdRow(String id);
|
||
|
||
/// Ticket name row
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Ticket Name: {name}'**
|
||
String ticketNameRow(String name);
|
||
|
||
/// Raise ticket title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Raise a Ticket'**
|
||
String get raiseTicket;
|
||
|
||
/// Ticket title label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Title'**
|
||
String get ticketTitle;
|
||
|
||
/// Ticket title hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter Title'**
|
||
String get enterTicketTitle;
|
||
|
||
/// Ticket description label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Description'**
|
||
String get ticketDescription;
|
||
|
||
/// Ticket description hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter Description'**
|
||
String get enterTicketDescription;
|
||
|
||
/// Project name label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Project Name'**
|
||
String get projectName;
|
||
|
||
/// Project name hint
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Enter Project Name'**
|
||
String get enterProjectName;
|
||
|
||
/// Screenshot picker label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Pick Screenshot of issue'**
|
||
String get pickScreenshot;
|
||
|
||
/// Report editor title
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Report Editor'**
|
||
String get reportEditor;
|
||
|
||
/// Palette header
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Drag and Drop Fields:'**
|
||
String get dragDropFields;
|
||
|
||
/// Title palette item
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Title'**
|
||
String get dragTitle;
|
||
|
||
/// Phone palette item
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Phone Number'**
|
||
String get dragPhone;
|
||
|
||
/// Date palette item
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Date'**
|
||
String get dragDate;
|
||
|
||
/// Scale bar label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Scale Bar Report Editor'**
|
||
String get scaleBarTitle;
|
||
|
||
/// Key field label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Key'**
|
||
String get keyLabel;
|
||
|
||
/// Value field label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Value'**
|
||
String get valueLabel;
|
||
|
||
/// Drop target label
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'Drop Here'**
|
||
String get dropHere;
|
||
|
||
/// PDF saved message
|
||
///
|
||
/// In en, this message translates to:
|
||
/// **'PDF saved to {path}'**
|
||
String pdfSaved(String path);
|
||
}
|
||
|
||
class _AppLocalizationsDelegate
|
||
extends LocalizationsDelegate<AppLocalizations> {
|
||
const _AppLocalizationsDelegate();
|
||
|
||
@override
|
||
Future<AppLocalizations> load(Locale locale) {
|
||
return SynchronousFuture<AppLocalizations>(lookupAppLocalizations(locale));
|
||
}
|
||
|
||
@override
|
||
bool isSupported(Locale locale) =>
|
||
<String>['en', 'hi'].contains(locale.languageCode);
|
||
|
||
@override
|
||
bool shouldReload(_AppLocalizationsDelegate old) => false;
|
||
}
|
||
|
||
AppLocalizations lookupAppLocalizations(Locale locale) {
|
||
// Lookup logic when only language code is specified.
|
||
switch (locale.languageCode) {
|
||
case 'en':
|
||
return AppLocalizationsEn();
|
||
case 'hi':
|
||
return AppLocalizationsHi();
|
||
}
|
||
|
||
throw FlutterError(
|
||
'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
|
||
'an issue with the localizations generation tool. Please file an issue '
|
||
'on GitHub with a reproducible sample app and the gen-l10n configuration '
|
||
'that was used.');
|
||
}
|