From ffbcbf814e425db668f994ef05ec9a7d9fdd5935 Mon Sep 17 00:00:00 2001 From: surfdude29 <149612116+surfdude29@users.noreply.github.com> Date: Tue, 1 Apr 2025 23:51:39 +0100 Subject: add plural formatting for too long handle error (#7999) --- src/screens/Signup/StepHandle.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/screens/Signup/StepHandle.tsx b/src/screens/Signup/StepHandle.tsx index 03fa28772..c84679227 100644 --- a/src/screens/Signup/StepHandle.tsx +++ b/src/screens/Signup/StepHandle.tsx @@ -1,6 +1,6 @@ import React, {useRef} from 'react' import {View} from 'react-native' -import {msg, Trans} from '@lingui/macro' +import {msg, Plural, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' import { @@ -182,7 +182,11 @@ export function StepHandle() { draftValue.length > MAX_SERVICE_HANDLE_LENGTH ? ( - No longer than {MAX_SERVICE_HANDLE_LENGTH} characters + No longer than{' '} + ) : ( -- cgit 1.4.1