chore: update version dialog copy (#2053)
This commit is contained in:
parent
c4ffde496c
commit
fe2b79ca1f
4 changed files with 4 additions and 40 deletions
|
|
@ -3439,7 +3439,6 @@
|
|||
"paymentMethod": "Payment Method",
|
||||
"paymentHistory": "Payment History",
|
||||
"emptyChatDownloadWarning": "Cannot download empty chat",
|
||||
"appUpdateAvailable": "Update Available",
|
||||
"update": "Update",
|
||||
"updateDesc": "You can now update this app from {localVersion} to {storeVersion}",
|
||||
"@updateDesc": {
|
||||
|
|
@ -4585,10 +4584,6 @@
|
|||
"updatedNewSpaceDescription": "Spaces allow you to consolidate your chats and build private or public communities.",
|
||||
"joinWithCode": "Join with code",
|
||||
"enterCodeToJoin": "Enter code to join",
|
||||
"mandatoryUpdateRequired": "Mandatory Update Required",
|
||||
"updateAvailable": "Update Available",
|
||||
"mandatoryUpdateRequiredDesc": "A new version of the app is required to continue. Please update now to proceed.",
|
||||
"updateAvailableDesc": "A new version of the app is available. Update now for the latest features and improvements!",
|
||||
"updateNow": "Update Now",
|
||||
"updateLater": "Later",
|
||||
"constructUseWaDesc": "Used without help",
|
||||
|
|
@ -4635,8 +4630,6 @@
|
|||
"enableTTSToolDescription": "Allow the app to generate text-to-speech output for portions of text in your target language.",
|
||||
"couldNotFindTTS": "We couldn't find a text-to-speech engine for your current target language. ",
|
||||
"ttsInstructionsHyperlink": "Click here to view instructions for downloading a new voice on your device.",
|
||||
"currentVersion": "Current Version",
|
||||
"latestVersion": "Latest Version",
|
||||
"createAnAccount": "Create an account",
|
||||
"signIn": "Sign in",
|
||||
"signUpWithEmail": "Sign up with Email",
|
||||
|
|
@ -4863,5 +4856,6 @@
|
|||
}
|
||||
},
|
||||
"downloadGboard": "Download Gboard",
|
||||
"autocorrectNotAvailable": "Unfortunately your platform is not currently supported for this feature. Stay tuned for further development!"
|
||||
"autocorrectNotAvailable": "Unfortunately your platform is not currently supported for this feature. Stay tuned for further development!",
|
||||
"pleaseUpdateApp": "Please update the app to continue."
|
||||
}
|
||||
|
|
@ -3815,7 +3815,6 @@
|
|||
"paymentMethod": "Método de pago",
|
||||
"paymentHistory": "Historial de pago",
|
||||
"emptyChatDownloadWarning": "No se puede descargar el chat vacío",
|
||||
"appUpdateAvailable": "Actualización disponible",
|
||||
"update": "Actualizar",
|
||||
"updateDesc": "Ahora puede actualizar esta aplicación de {localVersion} a {storeVersion}",
|
||||
"@updateDesc": {
|
||||
|
|
@ -3851,7 +3850,6 @@
|
|||
"endToEndEncryption": "",
|
||||
"letsStart": "",
|
||||
"enterInviteLinkOrMatrixId": "",
|
||||
"updateAvailable": "Actualización de FluffyChat disponible",
|
||||
"updateNow": "Comenzar actualización en segundo plano.",
|
||||
"toggleIGC": "Asistencia Gramatical",
|
||||
"iAgreeToThe": "Acepto los ",
|
||||
|
|
@ -5196,9 +5194,6 @@
|
|||
"updatedNewSpaceDescription": "Los espacios te permiten consolidar tus chats y construir comunidades privadas o públicas.",
|
||||
"joinWithCode": "Unirse con código",
|
||||
"enterCodeToJoin": "Ingrese el código para unirse",
|
||||
"mandatoryUpdateRequired": "Actualización obligatoria requerida",
|
||||
"mandatoryUpdateRequiredDesc": "Se requiere una nueva versión de la aplicación para continuar. Actualice ahora para proceder.",
|
||||
"updateAvailableDesc": "Una nueva versión de la aplicación está disponible. ¡Actualice ahora para obtener las últimas funciones y mejoras!",
|
||||
"updateLater": "Más tarde",
|
||||
"constructUseWaDesc": "Usado sin ayuda",
|
||||
"constructUseGaDesc": "Error gramatical",
|
||||
|
|
@ -5244,8 +5239,6 @@
|
|||
"enableTTSToolDescription": "Permitir que la aplicación genere salida de texto a voz para partes del texto en tu idioma objetivo.",
|
||||
"couldNotFindTTS": "No pudimos encontrar un motor de texto a voz para tu idioma objetivo actual.",
|
||||
"ttsInstructionsHyperlink": "Haz clic aquí para ver las instrucciones para descargar una nueva voz en tu dispositivo.",
|
||||
"currentVersion": "Versión actual",
|
||||
"latestVersion": "Última versión",
|
||||
"createAnAccount": "Crear una cuenta",
|
||||
"signIn": "Iniciar sesión",
|
||||
"signUpWithEmail": "Regístrate con Email",
|
||||
|
|
|
|||
|
|
@ -1940,7 +1940,6 @@
|
|||
"paymentMethod": "Phương thức thanh toán",
|
||||
"paymentHistory": "Lịch sử thanh toán",
|
||||
"emptyChatDownloadWarning": "Không thể tải xuống cuộc trò chuyện trống",
|
||||
"appUpdateAvailable": "Có bản cập nhật",
|
||||
"update": "Cập nhật",
|
||||
"updateDesc": "Bạn có thể cập nhật ứng dụng từ phiên bản {localVersion} lên {storeVersion}",
|
||||
"@updateDesc": {
|
||||
|
|
@ -3376,10 +3375,6 @@
|
|||
"updatedNewSpaceDescription": "Không gian giúp bạn quản lý nhiều cuộc trò chuyện và xây dựng cộng đồng riêng hoặc công khai.",
|
||||
"joinWithCode": "Tham gia bằng mã",
|
||||
"enterCodeToJoin": "Nhập mã để tham gia",
|
||||
"mandatoryUpdateRequired": "Yêu cầu cập nhật bắt buộc",
|
||||
"updateAvailable": "Có bản cập nhật",
|
||||
"mandatoryUpdateRequiredDesc": "Bạn cần cập nhật phiên bản mới để tiếp tục. Vui lòng cập nhật ngay.",
|
||||
"updateAvailableDesc": "Có phiên bản mới của ứng dụng. Cập nhật ngay để có trải nghiệm tốt nhất!",
|
||||
"updateNow": "Cập nhật ngay",
|
||||
"updateLater": "Để sau",
|
||||
"constructUseWaDesc": "Dùng không cần trợ giúp",
|
||||
|
|
@ -3426,8 +3421,6 @@
|
|||
"enableTTSToolDescription": "Cho phép ứng dụng tạo âm thanh đọc văn bản của ngôn ngữ đích",
|
||||
"couldNotFindTTS": "Không tìm được công cụ đọc văn bản cho ngôn ngữ đích. ",
|
||||
"ttsInstructionsHyperlink": "Nhấn vào đây để xem cách tải giọng đọc mới trên thiết bị.",
|
||||
"currentVersion": "Phiên bản hiện tại",
|
||||
"latestVersion": "Phiên bản mới nhất",
|
||||
"createAnAccount": "Tạo tài khoản",
|
||||
"signIn": "Đăng nhập",
|
||||
"signUpWithEmail": "Đăng ký bằng Email",
|
||||
|
|
|
|||
|
|
@ -170,31 +170,15 @@ class AppVersionUtil {
|
|||
String currentBuildNumber,
|
||||
String remoteBuildNumber,
|
||||
) async {
|
||||
final title = mandatoryUpdate
|
||||
? L10n.of(context).mandatoryUpdateRequired
|
||||
: L10n.of(context).updateAvailable;
|
||||
final message = mandatoryUpdate
|
||||
? "${L10n.of(context).mandatoryUpdateRequiredDesc}\n\n"
|
||||
"${L10n.of(context).currentVersion}: $currentVersion+$currentBuildNumber\n"
|
||||
"${L10n.of(context).latestVersion}: $remoteVersion+$remoteBuildNumber"
|
||||
: "${L10n.of(context).updateAvailableDesc}\n\n"
|
||||
"${L10n.of(context).currentVersion}: $currentVersion+$currentBuildNumber\n"
|
||||
"${L10n.of(context).latestVersion}: $remoteVersion+$remoteBuildNumber";
|
||||
return mandatoryUpdate
|
||||
? showOkAlertDialog(
|
||||
context: context,
|
||||
title: title,
|
||||
message: message,
|
||||
// canPop: false,
|
||||
// barrierDismissible: false,
|
||||
title: L10n.of(context).pleaseUpdateApp,
|
||||
okLabel: L10n.of(context).updateNow,
|
||||
)
|
||||
: showOkCancelAlertDialog(
|
||||
context: context,
|
||||
title: title,
|
||||
message: message,
|
||||
// canPop: false,
|
||||
// barrierDismissible: false,
|
||||
title: L10n.of(context).pleaseUpdateApp,
|
||||
okLabel: L10n.of(context).updateNow,
|
||||
cancelLabel: L10n.of(context).updateLater,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue