1022 lines
51 KiB
Dart
1022 lines
51 KiB
Dart
import 'package:flutter/material.dart';
|
||
|
||
/// Lightweight bilingual strings (EN/FR) without code generation.
|
||
class AppStrings {
|
||
AppStrings(this.locale);
|
||
|
||
final Locale locale;
|
||
bool get isFr => locale.languageCode == 'fr';
|
||
|
||
String t(String en, String fr) => isFr ? fr : en;
|
||
|
||
// Brand
|
||
String get appName => 'Tloto';
|
||
String get tagline => t(
|
||
'Premium prediction platform',
|
||
'Plateforme de prédiction premium',
|
||
);
|
||
|
||
// Nav
|
||
String get navHome => t('Home', 'Accueil');
|
||
String get navPredict => t('Predict', 'Prédire');
|
||
String get predictionGamesTitle => t('Prediction games', 'Jeux de prédiction');
|
||
String get predictionGamesSubtitle => t(
|
||
'Choose a game to play',
|
||
'Choisissez un jeu',
|
||
);
|
||
String get predictionGamesEmpty => t(
|
||
'No prediction games are listed yet. Check back soon.',
|
||
'Aucun jeu de prédiction pour le moment. Revenez bientôt.',
|
||
);
|
||
String get navWallet => t('Wallet', 'Portefeuille');
|
||
String get navProfile => t('Profile', 'Profil');
|
||
|
||
// Splash / welcome
|
||
String get splashLoading => t('Preparing your experience…', 'Préparation de votre expérience…');
|
||
String get welcomeHeroTitle => t(
|
||
'Predict markets. Grow with confidence.',
|
||
'Prédisez les marchés. Progressez en confiance.',
|
||
);
|
||
String get welcomeHeroSubtitle => t(
|
||
'A premium prediction platform with instant settlement, secure USDT wallets, and a referral network.',
|
||
'Une plateforme de prédiction premium : règlement instantané, portefeuilles USDT sécurisés et réseau de parrainage.',
|
||
);
|
||
String get welcomeGetStarted => t('Get started', 'Commencer');
|
||
String get welcomeWhyTitle => t('Why Tloto', 'Pourquoi Tloto');
|
||
String get welcomeWhyPredict => t(
|
||
'Live candle predictions with clear Short / Long outcomes.',
|
||
'Prédictions sur bougies en direct, résultats Short / Long clairs.',
|
||
);
|
||
String get welcomeWhyWallet => t(
|
||
'USDT deposits on TRON (TRC20) or BSC (BEP20), real-time balances, and near-instant withdrawals.',
|
||
'Dépôts USDT sur TRON (TRC20) ou BSC (BEP20), soldes en temps réel, et retraits quasi instantanés.',
|
||
);
|
||
String get welcomeWhyReferral => t(
|
||
'Invite friends and earn commissions across your network.',
|
||
'Invitez vos proches et gagnez des commissions sur votre réseau.',
|
||
);
|
||
String get welcomeGamesTitle => t('Featured games', 'Jeux à la une');
|
||
String get welcomeGamesSubtitle => t(
|
||
'Explore what you can play after you sign in.',
|
||
'Découvrez ce que vous pourrez jouer après connexion.',
|
||
);
|
||
String get welcomeSignInToPlay => t('Sign in to play', 'Connectez-vous pour jouer');
|
||
String get welcomeFaqCta => t('Browse help & FAQ', 'Consulter l’aide et la FAQ');
|
||
String get welcomeCreateAccount => t('Create account', 'Créer un compte');
|
||
String get welcomeActivityTitle => t('Live activity', 'Activité en direct');
|
||
String get welcomePlaying => t('Playing', 'En jeu');
|
||
String get welcomeActivitySubtitle => t(
|
||
'Players currently active on the platform',
|
||
'Joueurs actuellement actifs sur la plateforme',
|
||
);
|
||
String get welcomeWithdrawalsTitle => t('Recent withdrawals', 'Retraits récents');
|
||
String get welcomeWithdrawalsSubtitle => t(
|
||
'Confirmed payouts (anonymized)',
|
||
'Paiements confirmés (anonymisés)',
|
||
);
|
||
String get welcomeActivityEmpty => t(
|
||
'No live activity right now. Check back soon.',
|
||
'Aucune activité en direct pour le moment. Revenez bientôt.',
|
||
);
|
||
String get welcomeWithdrawalsEmpty => t(
|
||
'No recent withdrawals to show.',
|
||
'Aucun retrait récent à afficher.',
|
||
);
|
||
String get welcomeOpen => t('Open', 'Ouvrir');
|
||
|
||
|
||
// Auth
|
||
String get signIn => t('Sign in', 'Connexion');
|
||
String get signUp => t('Create account', 'Créer un compte');
|
||
String get registerSubtitle => t(
|
||
'Fill in your details to create your Tloto account.',
|
||
'Renseignez vos informations pour créer votre compte Tloto.',
|
||
);
|
||
String get email => t('Email', 'E-mail');
|
||
String get emailRequired => t('Email *', 'E-mail *');
|
||
String get password => t('Password', 'Mot de passe');
|
||
String get passwordRequired => t('Password *', 'Mot de passe *');
|
||
String get confirmPasswordRequired => t('Confirm password *', 'Confirmer le mot de passe *');
|
||
String get passwordsMustMatch => t('Passwords must match.', 'Les mots de passe doivent correspondre.');
|
||
String get fullNameRequired => t('Full name *', 'Nom complet *');
|
||
String get phoneOptional => t('Phone (optional)', 'Téléphone (optionnel)');
|
||
String get countryOfResidence => t('Country of residence *', 'Pays de résidence *');
|
||
String get countryHelper => t(
|
||
'Select the country where you live (ISO code).',
|
||
'Sélectionnez le pays où vous résidez (code ISO).',
|
||
);
|
||
String get nationalityOptional => t('Nationality (optional)', 'Nationalité (optionnelle)');
|
||
String get genderRequired => t('Gender *', 'Genre *');
|
||
String get genderMale => t('Male', 'Homme');
|
||
String get genderFemale => t('Female', 'Femme');
|
||
String get genderOther => t('Other', 'Autre');
|
||
String get referralCodeOptional => t('Referral code (optional)', 'Code de parrainage (optionnel)');
|
||
String get referralInvalid => t('This referral code is not valid.', 'Ce code de parrainage n’est pas valide.');
|
||
String get referralValid => t('Referral code accepted.', 'Code de parrainage accepté.');
|
||
String get useDefaultReferrer => t(
|
||
'Continue with the default referrer',
|
||
'Continuer avec le parrain par défaut',
|
||
);
|
||
String get usingDefaultReferrer => t(
|
||
'You will be registered with the platform default referrer.',
|
||
'Vous serez inscrit avec le parrain par défaut de la plateforme.',
|
||
);
|
||
String get referralFixOrUseDefault => t(
|
||
'This referral code cannot be used. Clear it or continue with the default referrer.',
|
||
'Ce code de parrainage ne peut pas être utilisé. Effacez-le ou continuez avec le parrain par défaut.',
|
||
);
|
||
String localizeReferralReason(String? reason) {
|
||
final r = reason?.trim() ?? '';
|
||
if (r.isEmpty) return referralInvalid;
|
||
switch (r) {
|
||
case 'empty':
|
||
return t('No referral code provided', 'Aucun code de parrainage fourni');
|
||
case 'program_disabled':
|
||
return t(
|
||
'The referral program is currently disabled',
|
||
'Le programme de parrainage est actuellement désactivé',
|
||
);
|
||
case 'unknown_code':
|
||
return t('Unknown referral code', 'Code de parrainage inconnu');
|
||
case 'Referrer must have completed at least one deposit':
|
||
return t(
|
||
'The referrer must have completed at least one real-funds deposit',
|
||
'Le parrain doit avoir effectué au moins un dépôt avec des fonds réels',
|
||
);
|
||
case 'Referrer must have a verified email':
|
||
return t(
|
||
'The referrer must have a verified email',
|
||
'Le parrain doit avoir un e-mail vérifié',
|
||
);
|
||
case 'Referrer account is not eligible':
|
||
return t(
|
||
'The referrer account is not eligible',
|
||
'Le compte du parrain n’est pas éligible',
|
||
);
|
||
case 'Invalid referral code':
|
||
return t('Invalid referral code', 'Code de parrainage invalide');
|
||
default:
|
||
return r;
|
||
}
|
||
}
|
||
String get registerFieldsRequired => t(
|
||
'Please fill in all required fields.',
|
||
'Veuillez renseigner tous les champs obligatoires.',
|
||
);
|
||
String get countriesLoadFailed => t(
|
||
'Could not load countries. Pull to retry or check your connection.',
|
||
'Impossible de charger les pays. Réessayez ou vérifiez la connexion.',
|
||
);
|
||
String get registerSuccessVerify => t(
|
||
'Account created. Please check your email to verify your account before signing in.',
|
||
'Compte créé. Vérifiez votre e-mail avant de vous connecter.',
|
||
);
|
||
String get invitedWithCode => t('Invited with referral code', 'Invité avec le code de parrainage');
|
||
String get emailNotVerifiedHint => t(
|
||
'Your email is not verified yet.',
|
||
'Votre e-mail n’est pas encore vérifié.',
|
||
);
|
||
String get resendVerification => t('Resend verification email', 'Renvoyer l’e-mail de vérification');
|
||
String get verificationEmailSent => t(
|
||
'Verification email sent. Check your inbox.',
|
||
'E-mail de vérification envoyé. Consultez votre boîte de réception.',
|
||
);
|
||
String get totpCode => t('2FA code (if enabled)', 'Code 2FA (si activé)');
|
||
String captchaMathLabel(String prompt) =>
|
||
t('Security check: $prompt', 'Vérification : $prompt');
|
||
String get captchaMathHelper => t(
|
||
'Enter the result to continue after several failed attempts.',
|
||
'Saisissez le résultat pour continuer après plusieurs échecs.',
|
||
);
|
||
String get logout => t('Log out', 'Déconnexion');
|
||
String get forgotPassword => t('Forgot password?', 'Mot de passe oublié ?');
|
||
String get forgotPasswordHint => t(
|
||
'Enter your email and we will send you a reset link.',
|
||
'Entrez votre e-mail pour recevoir un lien de réinitialisation.',
|
||
);
|
||
String get sendResetLink => t('Send reset link', 'Envoyer le lien');
|
||
String get resetEmailSent => t(
|
||
'If an account exists for this email, a reset link has been sent.',
|
||
'Si un compte existe pour cet e-mail, un lien de réinitialisation a été envoyé.',
|
||
);
|
||
|
||
// Wallet
|
||
String get availableBalance => t('Available balance', 'Solde disponible');
|
||
String get deposit => t('Deposit', 'Dépôt');
|
||
String get withdraw => t('Withdraw', 'Retrait');
|
||
String get transfer => t('Transfer', 'Transfert');
|
||
String get transferCompleted => t('Transfer completed', 'Transfert effectué');
|
||
String get transferFillFields => t(
|
||
'Fill the recipient, amount, and 2FA code.',
|
||
'Renseignez le destinataire, le montant et le code 2FA.',
|
||
);
|
||
String get transferTwoFaRequiredTitle => t(
|
||
'2FA required for transfers',
|
||
'2FA requise pour les transferts',
|
||
);
|
||
String get transferTwoFaRequiredBody => t(
|
||
'Enable two-factor authentication in your profile before sending funds to another user.',
|
||
'Activez l’authentification à deux facteurs dans votre profil avant d’envoyer des fonds.',
|
||
);
|
||
String get enableTwoFa => t('Enable 2FA', 'Activer la 2FA');
|
||
String get transferTotpHint => t(
|
||
'6-digit code from your authenticator app',
|
||
'Code à 6 chiffres de votre application d’authentification',
|
||
);
|
||
String get chooseDepositAsset => t('Choose asset to deposit', 'Choisir l’actif à déposer');
|
||
String get chooseDepositAssetHint => t(
|
||
'Select a deposit network (TRON TRC20 or BSC BEP20). Credits go to your single USDT balance for predictions.',
|
||
'Choisissez un réseau de dépôt (TRON TRC20 ou BSC BEP20). Les crédits rejoignent votre solde USDT unique pour les prédictions.',
|
||
);
|
||
String get noDepositOptions => t(
|
||
'No deposit options available',
|
||
'Aucune option de dépôt disponible',
|
||
);
|
||
String get depositNetworkLocked => t(
|
||
'Network is automatically selected. You cannot change it.',
|
||
'Le réseau est sélectionné automatiquement. Vous ne pouvez pas le modifier.',
|
||
);
|
||
String depositSendOnlyWarning(String network, String asset) => t(
|
||
'Send only $network — $asset to this address. Sending any other asset or using a different network may result in permanent loss.',
|
||
'Envoyez uniquement $network — $asset à cette adresse. Tout autre actif ou réseau peut entraîner une perte définitive.',
|
||
);
|
||
String depositNetworkLabel(String network) => t('Network: $network', 'Réseau : $network');
|
||
String get copyAddress => t('Copy address', 'Copier l’adresse');
|
||
String get addressCopied => t('Address copied to clipboard', 'Adresse copiée');
|
||
String depositConfirmationsHint(String asset, String network) => t(
|
||
'Deposits are credited after blockchain confirmations. Only send $asset on $network to this address.',
|
||
'Les dépôts sont crédités après confirmation blockchain. N’envoyez que $asset sur $network à cette adresse.',
|
||
);
|
||
String get payoutNetwork => t('Payout network', 'Réseau de paiement');
|
||
String get destinationAddress => t('Destination address', 'Adresse de destination');
|
||
String get amountToReceive => t('Amount to receive', 'Montant à recevoir');
|
||
String get amountLabel => t('Amount', 'Montant');
|
||
String get recipientEmail => t('Recipient email', 'E-mail du destinataire');
|
||
String get emailAddressLabel => t('Email address', 'Adresse e-mail');
|
||
String get assetLabel => t('Asset', 'Actif');
|
||
String get totpRequiredWithdraw => t(
|
||
'2FA Code (required for withdrawal)',
|
||
'Code 2FA (requis pour le retrait)',
|
||
);
|
||
String get totpSixDigit => t('6-digit code', 'Code à 6 chiffres');
|
||
String get enterSixDigitTotp => t(
|
||
'Enter a valid 6-digit authenticator code',
|
||
'Saisissez un code d’authentification à 6 chiffres valide',
|
||
);
|
||
String get twoFactorDisableSection => t('Disable 2FA', 'Désactiver la 2FA');
|
||
String get twoFactorRegenSection => t(
|
||
'Recovery codes',
|
||
'Codes de récupération',
|
||
);
|
||
String get confirmWithdrawal => t('Confirm withdrawal', 'Confirmer le retrait');
|
||
String get confirmTransfer => t('Confirm transfer', 'Confirmer le transfert');
|
||
String get confirmAction => t('Confirm', 'Confirmer');
|
||
String get withdrawalSubmitted => t('Withdrawal submitted', 'Retrait soumis');
|
||
String get withdrawalsDisabled => t(
|
||
'Withdrawals are temporarily disabled by the platform.',
|
||
'Les retraits sont temporairement désactivés par la plateforme.',
|
||
);
|
||
String get noWithdrawNetworks => t(
|
||
'No withdrawal networks enabled',
|
||
'Aucun réseau de retrait activé',
|
||
);
|
||
String get fillWithdrawFields => t(
|
||
'Fill all fields and enter 2FA code',
|
||
'Remplissez tous les champs et le code 2FA',
|
||
);
|
||
String get enterValidAmount => t('Enter a valid amount', 'Saisissez un montant valide');
|
||
String get walletBalanceNotLoaded => t(
|
||
'Wallet balance not loaded',
|
||
'Solde portefeuille non chargé',
|
||
);
|
||
String get couldNotRefreshBalance => t(
|
||
'Could not refresh balance. Try again.',
|
||
'Impossible d’actualiser le solde. Réessayez.',
|
||
);
|
||
String get couldNotVerifyWithdrawStatus => t(
|
||
'Could not verify withdrawal status. Retry.',
|
||
'Impossible de vérifier le statut des retraits. Réessayez.',
|
||
);
|
||
String get couldNotVerifyFees => t(
|
||
'Could not verify fees / withdrawal status.',
|
||
'Impossible de vérifier les frais / le statut des retraits.',
|
||
);
|
||
String get couldNotVerify2fa => t(
|
||
'Could not verify 2FA requirements.',
|
||
'Impossible de vérifier les exigences 2FA.',
|
||
);
|
||
String get withdrawIrreversibleHint => t(
|
||
'Please confirm that the address and amount are correct. Withdrawals cannot be undone.',
|
||
'Confirmez que l’adresse et le montant sont corrects. Les retraits sont irréversibles.',
|
||
);
|
||
String get transferImmediateHint => t(
|
||
'This will move balance to another user in this app. The recipient will see the balance immediately.',
|
||
'Le solde sera transféré à un autre utilisateur de l’app. Le destinataire le verra immédiatement.',
|
||
);
|
||
String withdrawYouReceive(String amount) =>
|
||
t('You receive: $amount USDT', 'Vous recevez : $amount USDT');
|
||
String withdrawNetworkFee(String fee) =>
|
||
t('Network fee: $fee USDT', 'Frais réseau : $fee USDT');
|
||
String withdrawTotalDebited(String total) =>
|
||
t('Total debited: $total USDT', 'Total débité : $total USDT');
|
||
String get totalDebitedLabel => t('Total debited', 'Total débité');
|
||
String withdrawnFeeDetail(String amount, String fee) => t(
|
||
'Withdrawn $amount USDT · Fee $fee USDT',
|
||
'Retiré $amount USDT · Frais $fee USDT',
|
||
);
|
||
String availableUsdt(String amount) =>
|
||
t('Available: $amount USDT', 'Disponible : $amount USDT');
|
||
String availableAsset(String amount, String code) =>
|
||
t('Available: $amount $code', 'Disponible : $amount $code');
|
||
String withdrawMaxAfterFee(String amount) => t(
|
||
'You can withdraw up to $amount USDT after the network fee.',
|
||
'Vous pouvez retirer jusqu’à $amount USDT après les frais réseau.',
|
||
);
|
||
String withdrawFeeBanner(String fee) => t(
|
||
'Network fee: $fee USDT (deducted from your balance in addition to the withdrawal amount).',
|
||
'Frais réseau : $fee USDT (déduits du solde en plus du montant retiré).',
|
||
);
|
||
String withdrawWrongNetworkWarn(String network) => t(
|
||
'Only send to addresses that support $network. Wrong network (TRC20 vs BEP20) may result in permanent loss of funds.',
|
||
'N’envoyez qu’à des adresses compatibles $network. Un mauvais réseau (TRC20 vs BEP20) peut entraîner une perte définitive.',
|
||
);
|
||
String withdrawPayoutRailHint(String network) => t(
|
||
'Network: $network (payout rail; balance is unified USDT)',
|
||
'Réseau : $network (rail de paiement ; solde USDT unifié)',
|
||
);
|
||
String get send => t('Send', 'Envoyer');
|
||
String get transactions => t('Transactions', 'Transactions');
|
||
String get quickActions => t('Quick actions', 'Actions rapides');
|
||
String get bonusBalances => t('Bonus balances', 'Soldes bonus');
|
||
String get transferBonusToMain => t('Transfer bonus to main', 'Transférer bonus vers principal');
|
||
String get mainWallet => t('Main Wallet', 'Portefeuille principal');
|
||
String get bonusWallet => t('Bonus Wallet', 'Portefeuille bonus');
|
||
String get testWallet => t('Test Wallet', 'Portefeuille test');
|
||
String get mainWalletSubtitle => t('Deposits · Transfers · Withdrawals', 'Dépôts · Transferts · Retraits');
|
||
String get bonusWalletSubtitle => t('Promotional credits for predictions', 'Crédits promo pour les prédictions');
|
||
String get bonusWalletHint => t(
|
||
'Use the bonus wallet when placing predictions. Winnings from bonus stakes are credited to your main wallet.',
|
||
'Utilisez le portefeuille bonus pour les prédictions. Les gains issus de mises bonus sont crédités sur le portefeuille principal.',
|
||
);
|
||
String get moveBonusToMain => t('Move all to main wallet', 'Tout transférer vers le principal');
|
||
String get bonusTransferring => t('Transferring…', 'Transfert…');
|
||
String get bonusTransferSuccess => t(
|
||
'Bonus transferred to main wallet',
|
||
'Bonus transféré vers le portefeuille principal',
|
||
);
|
||
String get bonusNotWithdrawableHint => t(
|
||
'Bonus funds can only be used for predictions (transfer to main is disabled by platform policy).',
|
||
'Les fonds bonus ne peuvent servir qu’aux prédictions (transfert vers le principal désactivé par la plateforme).',
|
||
);
|
||
String get testWalletSubtitle => t('Practice with virtual funds', 'Entraînement avec des fonds virtuels');
|
||
String get testWalletHint => t(
|
||
'Use test credits to explore predictions with the same rules. Winnings stay in this wallet — they cannot be withdrawn or transferred to main.',
|
||
'Utilisez les crédits test pour explorer les prédictions. Gains et pertes restent ici — non retirables ni transférables vers le principal.',
|
||
);
|
||
String requestTestCredits(String amount) => t(
|
||
'Request $amount test credits',
|
||
'Demander $amount crédits test',
|
||
);
|
||
String get testCreditsCrediting => t('Crediting…', 'Crédit…');
|
||
String testCreditRequestsUsed(int used, int max) => t(
|
||
'Requests used: $used / $max',
|
||
'Demandes utilisées : $used / $max',
|
||
);
|
||
String testCreditsAvailableAfter(String date) => t(
|
||
'Available after $date.',
|
||
'Disponible après $date.',
|
||
);
|
||
String get testWalletRequestsDisabled => t(
|
||
'Test wallet requests are currently disabled by the platform.',
|
||
'Les demandes de portefeuille test sont actuellement désactivées par la plateforme.',
|
||
);
|
||
String testPredictionsUsed(int used, int max, int hours) => t(
|
||
'Test predictions used: $used / $max (per ${hours}h)',
|
||
'Prédictions Test utilisées : $used / $max (par ${hours}h)',
|
||
);
|
||
String testPredictionLimitReached(String wait) => t(
|
||
'You have reached the maximum number of Test Wallet uses allowed. Please try again in $wait.',
|
||
'Vous avez atteint le nombre maximal d’utilisations autorisées du compte Test. Veuillez réessayer dans $wait.',
|
||
);
|
||
String testPredictionResetsAt(String date) => t(
|
||
'Resets at $date.',
|
||
'Réinitialisation à $date.',
|
||
);
|
||
String get hideBalance => t('Hide balance', 'Masquer le solde');
|
||
String get showBalance => t('Show balance', 'Afficher le solde');
|
||
String get lockedBalance => t('Locked', 'Bloqué');
|
||
String get activityHistory => t('Activity', 'Activité');
|
||
String get tabDeposits => t('Deposits', 'Dépôts');
|
||
String get tabWithdrawals => t('Withdrawals', 'Retraits');
|
||
String get tabTransfers => t('Transfers', 'Transferts');
|
||
String get tabPredictions => t('Predictions', 'Prédictions');
|
||
String get noDepositsYet => t('No deposits yet', 'Aucun dépôt');
|
||
String get noWithdrawalsYet => t('No withdrawals yet', 'Aucun retrait');
|
||
String get noTransfersYet => t('No transfers yet', 'Aucun transfert');
|
||
String get noPredictionActivityYet => t('No prediction activity yet', 'Aucune activité de prédiction');
|
||
String get noTransactionsYet => t('No transactions yet', 'Aucune transaction');
|
||
String get txTypeDeposit => t('Deposit', 'Dépôt');
|
||
String get txTypeWithdrawal => t('Withdrawal', 'Retrait');
|
||
String get txTypeTransferIn => t('Transfer in', 'Transfert reçu');
|
||
String get txTypeTransferOut => t('Transfer out', 'Transfert envoyé');
|
||
String get txTypeGameStake => t('Stake', 'Mise');
|
||
String get txTypeGameLoss => t('Prediction loss', 'Perte de prédiction');
|
||
String get txTypeGamePayout => t('Payout', 'Gain');
|
||
String get txTypeGameRefund => t('Refund', 'Remboursement');
|
||
String get txTypeBonus => t('Bonus', 'Bonus');
|
||
String get txTypeAdminAdjustment => t('Adjustment', 'Ajustement');
|
||
String get txStatusPending => t('Pending', 'En attente');
|
||
String get txStatusCompleted => t('Confirmed', 'Confirmé');
|
||
String get txStatusConfirmed => t('Confirmed', 'Confirmé');
|
||
String get txStatusRejected => t('Rejected', 'Rejeté');
|
||
String get txStatusFailed => t('Failed', 'Échoué');
|
||
String get txStatusCancelled => t('Cancelled', 'Annulé');
|
||
String get txStatusBroadcasting => t('Broadcasting', 'Diffusion');
|
||
|
||
// Prediction
|
||
String get predictTitle => t('Candle Predict', 'Prédiction bougie');
|
||
String get long => t('Long', 'Hausse');
|
||
String get short => t('Short', 'Baisse');
|
||
String get placePrediction => t('Place prediction', 'Placer la prédiction');
|
||
String get placeMultiPrediction => t('Place multi prediction', 'Placer prédiction multi');
|
||
String get placeBet => placePrediction;
|
||
String get placeMultiBet => placeMultiPrediction;
|
||
String get predictionPlaced => t('Prediction placed', 'Prédiction placée');
|
||
String get predictionDbReadonly => t(
|
||
'Realtime cache (Redis) is read-only. Your prediction may still have been saved — check Recent predictions, then restart Redis as a primary (not a replica).',
|
||
'Le cache temps réel (Redis) est en lecture seule. Votre prédiction a peut‑être quand même été enregistrée — vérifiez l’historique, puis redémarrez Redis en mode primaire (pas réplique).',
|
||
);
|
||
String stakeAmountTitle(String coin) => t('Amount ($coin)', 'Montant ($coin)');
|
||
String stakeAmountHint(num min, num max) => t(
|
||
'Min $min · Max $max',
|
||
'Min $min · Max $max',
|
||
);
|
||
String get customStakeAmount => t('Custom amount', 'Montant personnalisé');
|
||
String get stakeInvalidFormat => t('Enter a valid amount', 'Saisissez un montant valide');
|
||
String get stakeAmount => t('Prediction amount', 'Montant de la prédiction');
|
||
String get stakeWallet => t('Prediction wallet', 'Portefeuille de prédiction');
|
||
String get walletMain => t('Main', 'Principal');
|
||
String get walletBonus => t('Bonus', 'Bonus');
|
||
String get walletTest => t('Test', 'Test');
|
||
String get chartNoData => t('No chart data', 'Pas de données de graphique');
|
||
String get chartScrollHint => t(
|
||
'Swipe horizontally to browse candle history',
|
||
'Faites glisser horizontalement pour parcourir l’historique',
|
||
);
|
||
String get timeLeft => t('Time left', 'Temps restant');
|
||
String get roundLocked => t('Round locked', 'Tour verrouillé');
|
||
String get waitingRound => t('Waiting for next round', 'Prochain tour…');
|
||
String get recentPredictions => t('Recent predictions', 'Prédictions récentes');
|
||
String get noPredictionsYet => t('No predictions yet', 'Aucune prédiction');
|
||
String get noFilteredPredictions => t(
|
||
'No predictions match these filters',
|
||
'Aucune prédiction ne correspond à ces filtres',
|
||
);
|
||
String get filterAll => t('All', 'Tous');
|
||
String historyPageLabel(int page, int totalPages) => t(
|
||
'Page $page of $totalPages',
|
||
'Page $page sur $totalPages',
|
||
);
|
||
String get payout => t('Return', 'Gain');
|
||
String get potentialReturn => t('Potential return', 'Gain potentiel');
|
||
String get predictionDirection => t('Prediction direction', 'Direction de la prédiction');
|
||
String predictionSelected(String direction) => t(
|
||
'Selected: $direction',
|
||
'Sélection : $direction',
|
||
);
|
||
String predictionLocked(String direction) => t(
|
||
'Locked prediction: $direction',
|
||
'Prédiction verrouillée : $direction',
|
||
);
|
||
String roundStatusLabel(String status) {
|
||
switch (status) {
|
||
case 'betting':
|
||
return t('OPEN', 'OUVERT');
|
||
case 'locked':
|
||
return t('LOCKED', 'VERROUILLÉ');
|
||
case 'settled':
|
||
return t('SETTLED', 'RÉGLÉ');
|
||
case 'waiting':
|
||
return t('WAITING', 'EN ATTENTE');
|
||
default:
|
||
return status.toUpperCase();
|
||
}
|
||
}
|
||
String get liveConnected => t('Live', 'Temps réel');
|
||
String get livePolling => t('Updating…', 'Màj…');
|
||
String get liveReconnecting => t('Reconnecting…', 'Reconnexion…');
|
||
String get liveSyncing => t('Syncing…', 'Synchronisation…');
|
||
String get realtimeRecoveryHint => t(
|
||
'Connection is unstable. Live updates may lag briefly while the app resynchronizes.',
|
||
'La connexion est instable. Les mises à jour temps réel peuvent être retardées pendant la resynchronisation.',
|
||
);
|
||
String get interval => t('Interval', 'Intervalle');
|
||
String get modeSingle => t('Single', 'Simple');
|
||
String get modeMulti => t('Multi', 'Multi');
|
||
String get modeAuto => t('Auto', 'Auto');
|
||
String modeMultiLevel(int level) => t('Multi L$level', 'Multi N$level');
|
||
String predictionStatus(String status) {
|
||
switch (status) {
|
||
case 'won':
|
||
return t('Won', 'Gagnée');
|
||
case 'lost':
|
||
return t('Lost', 'Perdue');
|
||
case 'in_progress':
|
||
return t('In progress', 'En cours');
|
||
case 'pending':
|
||
return t('Pending', 'En attente');
|
||
case 'refunded':
|
||
return t('Refunded', 'Remboursée');
|
||
default:
|
||
return status;
|
||
}
|
||
}
|
||
String multiProgressLabel({
|
||
required int current,
|
||
required int total,
|
||
required String status,
|
||
}) {
|
||
if (status == 'won') return t('All $total candles correct', 'Les $total bougies sont correctes');
|
||
if (status == 'lost') {
|
||
return t('Failed at candle $current / $total', 'Échec à la bougie $current / $total');
|
||
}
|
||
if (status == 'refunded') return t('Refunded ($total candles)', 'Remboursée ($total bougies)');
|
||
return t('Validating candle $current / $total', 'Validation bougie $current / $total');
|
||
}
|
||
String get multiInProgress => t('Multi prediction in progress', 'Prédiction multi en cours');
|
||
String multiProgressDetail({
|
||
required int level,
|
||
required double stake,
|
||
required int current,
|
||
required int total,
|
||
}) =>
|
||
t(
|
||
'Level $level · $stake · candle $current of $total',
|
||
'Niveau $level · $stake · bougie $current sur $total',
|
||
);
|
||
String get multiProgressHint => t(
|
||
'Progress updates live as each candle settles.',
|
||
'La progression se met à jour en direct à chaque bougie.',
|
||
);
|
||
String get multiLevel => t('Multi level', 'Niveau multi');
|
||
String get candles => t('candles', 'bougies');
|
||
String get sequence => t('Sequence', 'Séquence');
|
||
String get autoEnabled => t('Auto prediction', 'Prédiction auto');
|
||
String get autoEnabledHint => t(
|
||
'Automatically place predictions each round',
|
||
'Placer automatiquement des prédictions à chaque tour',
|
||
);
|
||
String get autoMode => t('Auto mode', 'Mode auto');
|
||
String get saveAuto => t('Save auto settings', 'Enregistrer réglages auto');
|
||
String get autoActiveTitle => t('Auto prediction active', 'Prédiction auto active');
|
||
String get autoDisable => t('Disable auto', 'Désactiver l\'auto');
|
||
String get autoEdit => t('Edit settings', 'Modifier les réglages');
|
||
String get autoSaved => t('Auto settings saved', 'Réglages auto enregistrés');
|
||
String autoLastPrediction(String when) => t('Last auto prediction: $when', 'Dernière prédiction auto : $when');
|
||
String autoActiveDetail({
|
||
required String direction,
|
||
required String stake,
|
||
required String wallet,
|
||
required String mode,
|
||
required String interval,
|
||
}) =>
|
||
t(
|
||
'$direction · $stake · $wallet · $mode · $interval',
|
||
'$direction · $stake · $wallet · $mode · $interval',
|
||
);
|
||
String get autoModeEachRound => t('Each round', 'Chaque tour');
|
||
String get autoModeInterval => t('Timed interval', 'Intervalle minuté');
|
||
String get autoModeEachRoundHint => t(
|
||
'Place a prediction in every open betting round.',
|
||
'Place une prédiction à chaque tour ouvert.',
|
||
);
|
||
String get autoModeIntervalHint => t(
|
||
'Place a prediction only after the cooldown below has elapsed, and only while a round is open.',
|
||
'Place une prédiction seulement après le délai ci-dessous, et uniquement si un tour est ouvert.',
|
||
);
|
||
String get autoIntervalSeconds => t('Cooldown (seconds)', 'Délai (secondes)');
|
||
String get autoIntervalSecondsHint => t(
|
||
'Minimum seconds between two auto predictions.',
|
||
'Nombre minimum de secondes entre deux prédictions auto.',
|
||
);
|
||
String get insufficientBalance => t(
|
||
'Insufficient balance on the selected wallet.',
|
||
'Solde insuffisant sur le portefeuille sélectionné.',
|
||
);
|
||
String insufficientBalanceOn(String wallet) => t(
|
||
'Insufficient balance on the $wallet wallet for this stake.',
|
||
'Solde insuffisant sur le portefeuille $wallet pour cette mise.',
|
||
);
|
||
String get loadMore => t('Load more', 'Voir plus');
|
||
String loadMoreRemaining(int remaining) =>
|
||
t('Load more ($remaining left)', 'Voir plus ($remaining restants)');
|
||
String get showLess => t('Show less', 'Voir moins');
|
||
String get historyEndReached => t(
|
||
'You’ve reached the end of your prediction history',
|
||
'Vous avez atteint la fin de l’historique des prédictions',
|
||
);
|
||
|
||
// Home
|
||
String get playNow => t('Play now', 'Jouer maintenant');
|
||
String get playNowSubtitle => t(
|
||
'Featured prediction games',
|
||
'Jeux de prédiction à la une',
|
||
);
|
||
String get shortcuts => t('Shortcuts', 'Raccourcis');
|
||
String get shortcutsSubtitle => t(
|
||
'Jump to what you use most',
|
||
'Accédez à vos actions essentielles',
|
||
);
|
||
String get promotions => t('Promotions', 'Promotions');
|
||
String get promotionsSubtitle => t(
|
||
'Campaigns and special offers',
|
||
'Campagnes et offres spéciales',
|
||
);
|
||
String get promotionsComingSoon => t(
|
||
'New promotions coming soon — check back later.',
|
||
'De nouvelles promotions arrivent bientôt.',
|
||
);
|
||
String get homeSecurity => t('Account security', 'Sécurité du compte');
|
||
String get homeTwoFaTitle => t('Enable two-factor authentication', 'Activez la double authentification');
|
||
String get homeTwoFaSubtitle => t(
|
||
'Protect withdrawals and transfers with an authenticator app.',
|
||
'Protégez retraits et transferts avec une app d’authentification.',
|
||
);
|
||
String get homeTwoFaCta => t('Set up 2FA', 'Configurer la 2FA');
|
||
String get yourNetwork => t('Your network', 'Votre réseau');
|
||
String get yourNetworkSubtitle => t(
|
||
'Referral snapshot',
|
||
'Aperçu de votre parrainage',
|
||
);
|
||
String get howItWorks => t('How Tloto works', 'Comment fonctionne Tloto');
|
||
String get howItWorksSubtitle => t(
|
||
'Learn the rules, wallets, and prediction types',
|
||
'Règles, portefeuilles et types de prédiction',
|
||
);
|
||
String get helpCenter => t('Help', 'Aide');
|
||
String get language => t('Language', 'Langue');
|
||
String get appUpdate => t('App update', 'Mise à jour');
|
||
String get appUpToDate => t('You’re on the latest version.', 'Vous avez la dernière version.');
|
||
String get updateAvailableHint => t(
|
||
'A new version is available. Open the store to update.',
|
||
'Une nouvelle version est disponible. Ouvrez le store pour mettre à jour.',
|
||
);
|
||
String get notificationsTitle => t('Notifications', 'Notifications');
|
||
String get noNotifications => t('No notifications yet', 'Aucune notification');
|
||
String get markAllRead => t('Mark all read', 'Tout marquer lu');
|
||
String get predictHomeBlurb => t(
|
||
'Live candle predictions with instant settlement',
|
||
'Prédictions sur bougies en direct, règlement instantané',
|
||
);
|
||
String get play => t('Play', 'Jouer');
|
||
String get gameComingSoon => t('Coming soon', 'Bientôt');
|
||
String get gameMaintenance => t('Maintenance', 'Maintenance');
|
||
|
||
// Referral
|
||
String get referralTitle => t('Referral program', 'Programme de parrainage');
|
||
String get yourReferralCode => t('Your referral code', 'Votre code de parrainage');
|
||
String get inviteLink => t('Invite link', 'Lien d\'invitation');
|
||
String get copy => t('Copy', 'Copier');
|
||
String get copied => t('Copied!', 'Copié !');
|
||
String get directReferrals => t('Direct referrals', 'Filleuls directs');
|
||
String get networkSize => t('Network size', 'Taille du réseau');
|
||
String get referralNetworkTree => t('Referral network', 'Réseau de parrainage');
|
||
String get viewDirectReferrals => t('View direct referrals', 'Voir les filleuls directs');
|
||
String get viewNetworkTree => t('Explore network tree', 'Explorer l’arbre du réseau');
|
||
String get yourReferrer => t('Your referrer', 'Votre parrain');
|
||
String get noDirectReferrals => t('No direct referrals yet', 'Aucun filleul direct');
|
||
String get searchDirectReferrals => t(
|
||
'Search by name, email, code, country, status…',
|
||
'Rechercher par nom, e-mail, code, pays, statut…',
|
||
);
|
||
String get noDirectSearchResults => t(
|
||
'No referrals match your search.',
|
||
'Aucun filleul ne correspond à votre recherche.',
|
||
);
|
||
String get clearDirectSearch => t('Clear search', 'Effacer la recherche');
|
||
String directSearchCount(int shown, int total) => t(
|
||
'$shown of $total',
|
||
'$shown sur $total',
|
||
);
|
||
String get noNetworkMembers => t(
|
||
'Your network is empty. Share your invite link to grow your team.',
|
||
'Votre réseau est vide. Partagez votre lien d’invitation pour grandir.',
|
||
);
|
||
String get registeredAt => t('Registered', 'Inscrit le');
|
||
String get predictionsCount => t('Predictions', 'Prédictions');
|
||
String get commissionsGenerated => t('Commissions generated', 'Commissions générées');
|
||
String get commissionsPaidLabel => t('Paid to you', 'Payé pour vous');
|
||
String get commissionsPendingLabel => t('Pending for you', 'En attente pour vous');
|
||
String get generatesCommissions => t('Generates commissions', 'Génère des commissions');
|
||
String get directCount => t('Direct', 'Directs');
|
||
String get referralStatusActive => t('Active', 'Actif');
|
||
String get referralStatusRegistered => t('Registered', 'Inscrit');
|
||
String get referralStatusUnverified => t('Unverified', 'Non vérifié');
|
||
String referralLevelLabel(int level) => t('Level $level', 'Niveau $level');
|
||
String directCountLabel(int count) => t('$count direct', '$count direct${count > 1 ? 's' : ''}');
|
||
String get memberSince => t('Member since', 'Membre depuis');
|
||
String get tapToExpand => t('Tap to expand', 'Toucher pour développer');
|
||
String get zoomIn => t('Zoom in', 'Zoomer');
|
||
String get zoomOut => t('Zoom out', 'Dézoomer');
|
||
String get fitToScreen => t('Fit to screen', 'Ajuster à l’écran');
|
||
String get centerSelection => t('Center selection', 'Centrer la sélection');
|
||
String get goToRoot => t('Go to root', 'Parrain principal');
|
||
String get expandBranch => t('Expand branch', 'Développer');
|
||
String get collapseBranch => t('Collapse branch', 'Réduire');
|
||
String get closeSheet => t('Close', 'Fermer');
|
||
String get networkYou => t('You', 'Vous');
|
||
String get sponsorLabel => t('Sponsor', 'Parrain');
|
||
String get networkPartialData => t(
|
||
'Some deeper members are not loaded yet.',
|
||
'Certains filleuls plus profonds ne sont pas encore chargés.',
|
||
);
|
||
String get memberDetails => t('Member details', 'Fiche membre');
|
||
String get memberReferralCode => t('Referral code', 'Code de parrainage');
|
||
String get memberCountry => t('Country of residence', 'Pays de résidence');
|
||
String get earnings => t('Earnings', 'Gains');
|
||
String get totalEarned => t('Total earned', 'Total gagné');
|
||
String get paid => t('Paid', 'Payé');
|
||
String get pending => t('Pending', 'En attente');
|
||
String get commissionLevels => t('Commission levels', 'Niveaux de commission');
|
||
String get level => t('Level', 'Niveau');
|
||
String get recentCommissions => t('Recent commissions', 'Commissions récentes');
|
||
String get noCommissionsYet => t(
|
||
'No commissions yet',
|
||
'Aucune commission pour le moment',
|
||
);
|
||
|
||
// FAQ
|
||
String get faqTitle => t('Help & FAQ', 'Aide & FAQ');
|
||
String get searchFaq => t('Search FAQ…', 'Rechercher dans la FAQ…');
|
||
String get noFaqResults => t('No FAQ entries found', 'Aucune entrée FAQ');
|
||
|
||
// Admin / network
|
||
String get networkStatus => t('Network status', 'État du réseau');
|
||
String get environment => t('Environment', 'Environnement');
|
||
String get withdrawalsBroadcast => t('Withdrawals broadcast', 'Diffusion des retraits');
|
||
String get withdrawalFee => t('Withdrawal network fee (raw)', 'Frais réseau retrait (raw)');
|
||
String get enabled => t('Enabled', 'Activé');
|
||
String get disabled => t('Disabled', 'Désactivé');
|
||
String get networkWarning => t(
|
||
'Production-like network or withdrawals enabled — verify before moving real funds.',
|
||
'Réseau type production ou retraits activés — vérifiez avant d\'utiliser des fonds réels.',
|
||
);
|
||
|
||
// Account
|
||
String get accountTitle => t('Account', 'Compte');
|
||
String get accountSubtitle => t(
|
||
'Manage your profile and security',
|
||
'Gérez votre profil et votre sécurité',
|
||
);
|
||
String get updateProfile => t('Update profile', 'Modifier le profil');
|
||
String get saveProfile => t('Save profile', 'Enregistrer le profil');
|
||
String get profileUpdated => t('Profile updated', 'Profil mis à jour');
|
||
String get profileEditHint => t(
|
||
'Fields below show your current information. Edit only what you want to change, then tap Save.',
|
||
'Les champs ci-dessous affichent vos informations actuelles. Modifiez uniquement ce que vous souhaitez, puis enregistrez.',
|
||
);
|
||
String get firstName => t('First name', 'Prénom');
|
||
String get middleName => t('Middle name', 'Deuxième prénom');
|
||
String get lastName => t('Last name', 'Nom');
|
||
String get dateOfBirth => t('Date of birth', 'Date de naissance');
|
||
String get emailCannotBeEmpty => t('Email cannot be empty', 'L’e-mail ne peut pas être vide');
|
||
String get passwordCannotBeEmpty => t(
|
||
'Password cannot be empty',
|
||
'Le mot de passe ne peut pas être vide',
|
||
);
|
||
String get loginFieldsRequired => t(
|
||
'Enter your email and password to continue.',
|
||
'Saisissez votre e-mail et votre mot de passe pour continuer.',
|
||
);
|
||
String get profileCountryRequired => t(
|
||
'Country of residence and gender are required.',
|
||
'Le pays de résidence et le genre sont obligatoires.',
|
||
);
|
||
String get changePassword => t('Change password', 'Changer le mot de passe');
|
||
String get changePasswordHint => t(
|
||
'Enter your current password and choose a new one. New password must meet the system security policy.',
|
||
'Saisissez votre mot de passe actuel puis un nouveau. Il doit respecter la politique de sécurité.',
|
||
);
|
||
String get currentPassword => t('Current password', 'Mot de passe actuel');
|
||
String get newPassword => t('New password', 'Nouveau mot de passe');
|
||
String get confirmNewPassword => t('Confirm new password', 'Confirmer le nouveau mot de passe');
|
||
String get updatePassword => t('Update password', 'Mettre à jour le mot de passe');
|
||
String get enterCurrentPassword => t(
|
||
'Enter your current password',
|
||
'Saisissez votre mot de passe actuel',
|
||
);
|
||
String get enterNewPassword => t('Enter a new password', 'Saisissez un nouveau mot de passe');
|
||
String get passwordUpdatedSignInAgain => t(
|
||
'Password updated. Please sign in again.',
|
||
'Mot de passe mis à jour. Veuillez vous reconnecter.',
|
||
);
|
||
String get dateOfBirthHint => t('YYYY-MM-DD', 'AAAA-MM-JJ');
|
||
String get profileSectionPersonal => t('Personal', 'Identité');
|
||
String get profileSectionContact => t('Contact', 'Coordonnées');
|
||
String get profileSectionLocation => t('Location', 'Localisation');
|
||
String get twoFactor => t('Two-factor authentication (2FA)', 'Authentification à deux facteurs');
|
||
String get twoFactorEnabledShort => t('2FA enabled', '2FA activée');
|
||
String get twoFactorEnabled => t('2FA is enabled on your account.', 'La 2FA est activée sur votre compte.');
|
||
String get twoFactorSetupHint => t(
|
||
'Scan the QR code with an authenticator app, then enter the 6-digit code.',
|
||
'Scannez le QR code avec une app d’authentification, puis saisissez le code à 6 chiffres.',
|
||
);
|
||
String get twoFactorStartSetup => t('Set up 2FA', 'Configurer la 2FA');
|
||
String get twoFactorEnable => t('Enable 2FA', 'Activer la 2FA');
|
||
String get twoFactorDisable => t('Disable 2FA', 'Désactiver la 2FA');
|
||
String get twoFactorDisabled => t('2FA has been disabled.', 'La 2FA a été désactivée.');
|
||
String get twoFactorEnabledSuccess => t('2FA enabled successfully.', '2FA activée avec succès.');
|
||
String get twoFactorCurrentPassword => t('Current password', 'Mot de passe actuel');
|
||
String get twoFactorCodeOrRecovery => t('2FA or recovery code', 'Code 2FA ou de récupération');
|
||
String get recoveryCodesTitle => t(
|
||
'Recovery codes — save them now',
|
||
'Codes de récupération — enregistrez-les maintenant',
|
||
);
|
||
String get recoveryCodesHint => t(
|
||
'Each code works once if you lose your authenticator. Store them offline in a safe place.',
|
||
'Chaque code ne fonctionne qu’une fois si vous perdez votre authentificateur. Conservez-les hors ligne en lieu sûr.',
|
||
);
|
||
String get regenerateRecoveryCodes => t('New recovery codes', 'Nouveaux codes de récupération');
|
||
String get regeneratingRecoveryCodes => t('Generating…', 'Génération…');
|
||
String get recoveryCodesRegenerated => t(
|
||
'New recovery codes generated',
|
||
'Nouveaux codes de récupération générés',
|
||
);
|
||
String get copyAllRecoveryCodes => t('Copy all codes', 'Copier tous les codes');
|
||
String get recoveryCodesCopied => t('Recovery codes copied', 'Codes de récupération copiés');
|
||
String get recoveryCodeCopied => t('Code copied', 'Code copié');
|
||
String get recoveryCodesSavedContinue => t('I saved my codes', 'J’ai sauvegardé mes codes');
|
||
String get enterTotpToRegenerate => t(
|
||
'Enter your 6-digit authenticator code to generate new recovery codes.',
|
||
'Saisissez votre code à 6 chiffres pour générer de nouveaux codes de récupération.',
|
||
);
|
||
String get referralProgram => t('Referral program', 'Programme de parrainage');
|
||
String get helpFaq => t('Help & FAQ', 'Aide & FAQ');
|
||
|
||
String get supportTitle => t('Tloto Support', 'Assistance Tloto');
|
||
String get supportSubtitle => t(
|
||
'Real-time response from our team',
|
||
'Réponse en temps réel de notre équipe',
|
||
);
|
||
String get supportGreeting => t(
|
||
'Hello! How can we help you?',
|
||
'Bonjour ! Comment pouvons-nous vous aider ?',
|
||
);
|
||
String get supportTyping => t('The team is typing…', 'L’équipe est en train d’écrire…');
|
||
String get supportPlaceholder => t('Type your message…', 'Écrivez votre message…');
|
||
String get supportToday => t('Today', 'Aujourd’hui');
|
||
String get supportYesterday => t('Yesterday', 'Hier');
|
||
String get supportFile => t('File', 'Fichier');
|
||
String get supportAttachment => t('attachment', 'pièce jointe');
|
||
String get supportLoadError => t(
|
||
'Could not open support chat. Please try again.',
|
||
'Impossible d’ouvrir le chat support. Réessayez.',
|
||
);
|
||
String get supportQueued => t(
|
||
'Waiting for connection…',
|
||
'En attente de connexion…',
|
||
);
|
||
String get supportEdit => t('Edit', 'Modifier');
|
||
String get supportDelete => t('Delete', 'Supprimer');
|
||
String get supportSaveEdit => t('Save', 'Enregistrer');
|
||
String get supportEdited => t('edited', 'modifié');
|
||
String get supportDeleted => t('This message was deleted', 'Ce message a été supprimé');
|
||
String get supportConfirmDelete => t('Delete this message?', 'Supprimer ce message ?');
|
||
String get supportEditHint => t('Edit message', 'Modifier le message');
|
||
|
||
// Common
|
||
String get cancel => t('Cancel', 'Annuler');
|
||
String get retry => t('Retry', 'Réessayer');
|
||
String get loading => t('Loading…', 'Chargement…');
|
||
String get error => t('Something went wrong', 'Une erreur est survenue');
|
||
String get offlineBanner => t(
|
||
'You are offline — showing saved data when available',
|
||
'Hors ligne — affichage des données enregistrées si disponibles',
|
||
);
|
||
String get refresh => t('Refresh', 'Actualiser');
|
||
String get adminOnly => t('Admin only', 'Réservé aux admins');
|
||
String get settings => t('Settings', 'Paramètres');
|
||
String get security => t('Security', 'Sécurité');
|
||
String get users => t('Users', 'Utilisateurs');
|
||
String get userManagement => t('User Management', 'Gestion des utilisateurs');
|
||
String get usersManageSubtitle => t(
|
||
'View and manage registered users',
|
||
'Voir et gérer les utilisateurs inscrits',
|
||
);
|
||
String get usersSearchHint => t(
|
||
'Email, user ID, name, or referral code',
|
||
'E-mail, ID utilisateur, nom ou code de parrainage',
|
||
);
|
||
String get usersSearchHelper => t(
|
||
'Exact email, full/partial UUID, name, or referral code',
|
||
'E-mail exact, UUID (complet/partiel), nom ou code de parrainage',
|
||
);
|
||
String get noUsersFound => t('No users found', 'Aucun utilisateur trouvé');
|
||
String get confirmChange => t('Confirm change', 'Confirmer la modification');
|
||
String get viewUserDetails => t(
|
||
'View full details & balance',
|
||
'Voir le détail et le solde',
|
||
);
|
||
String get accountNonExpired => t(
|
||
'Account non expired',
|
||
'Compte non expiré',
|
||
);
|
||
String get accountNonLocked => t(
|
||
'Account non locked',
|
||
'Compte non verrouillé',
|
||
);
|
||
String get credentialsNonExpired => t(
|
||
'Credentials non expired',
|
||
'Identifiants non expirés',
|
||
);
|
||
String get createdAtLabel => t('Created', 'Créé');
|
||
String get userDetails => t('User details', 'Détails utilisateur');
|
||
String get accountStatus => t('Account status', 'État du compte');
|
||
String get balances => t('Balances', 'Soldes');
|
||
String get noBalances => t('No balances', 'Aucun solde');
|
||
String get userNotFound => t('User not found', 'Utilisateur introuvable');
|
||
String get userIdLabel => t('User ID', 'ID utilisateur');
|
||
String get roleLabel => t('Role', 'Rôle');
|
||
String get emailVerifiedLabel => t('Email verified', 'E-mail vérifié');
|
||
String get totpEnabledLabel => t('TOTP enabled', 'TOTP activé');
|
||
String get yes => t('Yes', 'Oui');
|
||
String get no => t('No', 'Non');
|
||
String confirmFlagChange({
|
||
required String flagName,
|
||
required bool enabled,
|
||
required String userLabel,
|
||
}) =>
|
||
t(
|
||
'Set "$flagName" to ${enabled ? "enabled" : "disabled"} for user $userLabel?',
|
||
'Passer « $flagName » à ${enabled ? "activé" : "désactivé"} pour $userLabel ?',
|
||
);
|
||
String get systemSettingsSubtitle => t(
|
||
'Password policy, tokens, system configuration',
|
||
'Politique mot de passe, jetons, configuration système',
|
||
);
|
||
String get noAdminOptions => t(
|
||
'No administrative options available.',
|
||
'Aucune option administrative disponible.',
|
||
);
|
||
String get accessDeniedAdmin => t(
|
||
'Access denied. Admin only.',
|
||
'Accès refusé. Réservé aux admins.',
|
||
);
|
||
String get passwordPolicy => t('Password policy', 'Politique de mot de passe');
|
||
String get passwordPolicySubtitle => t(
|
||
'Minimum length and character requirements',
|
||
'Longueur minimale et exigences de caractères',
|
||
);
|
||
String get passwordMinLength => t('Minimum length', 'Longueur minimale');
|
||
String get passwordMinLengthHelper => t(
|
||
'Minimum password length (e.g. 8)',
|
||
'Longueur minimale du mot de passe (ex. 8)',
|
||
);
|
||
String get requireUppercase => t(
|
||
'Require uppercase letter',
|
||
'Exiger une majuscule',
|
||
);
|
||
String get requireLowercase => t(
|
||
'Require lowercase letter',
|
||
'Exiger une minuscule',
|
||
);
|
||
String get requireNumber => t('Require number', 'Exiger un chiffre');
|
||
String get requireSpecial => t(
|
||
'Require special character',
|
||
'Exiger un caractère spécial',
|
||
);
|
||
String get tokenExpiration => t('Token expiration', 'Expiration des jetons');
|
||
String get tokenExpirationSubtitle => t(
|
||
'Access and refresh token validity',
|
||
'Validité des jetons d’accès et de rafraîchissement',
|
||
);
|
||
String get tokenExpiryHint => t(
|
||
'Use values like 15m, 1h, 7d (minutes, hours, days). New tokens will use these values.',
|
||
'Utilisez des valeurs comme 15m, 1h, 7d (minutes, heures, jours). Les nouveaux jetons utiliseront ces valeurs.',
|
||
);
|
||
String get accessTokenExpiry => t(
|
||
'Access token expiry',
|
||
'Expiration du jeton d’accès',
|
||
);
|
||
String get refreshTokenExpiry => t(
|
||
'Refresh token expiry',
|
||
'Expiration du jeton de rafraîchissement',
|
||
);
|
||
String get tokenExpiryExampleShort => t('e.g. 15m, 1h', 'ex. 15m, 1h');
|
||
String get tokenExpiryExampleLong => t('e.g. 7d, 30d', 'ex. 7d, 30d');
|
||
String get saveSettings => t('Save settings', 'Enregistrer les paramètres');
|
||
String get settingsSaved => t('Settings saved', 'Paramètres enregistrés');
|
||
String get passwordMinLengthInvalid => t(
|
||
'Password minimum length must be between 1 and 128',
|
||
'La longueur minimale du mot de passe doit être entre 1 et 128',
|
||
);
|
||
String get tokenExpiryRequired => t(
|
||
'Token expiry values are required (e.g. 15m, 7d)',
|
||
'Les valeurs d’expiration des jetons sont requises (ex. 15m, 7d)',
|
||
);
|
||
}
|
||
|
||
extension AppStringsX on BuildContext {
|
||
AppStrings get strings => AppStrings(Localizations.localeOf(this));
|
||
}
|