Add internationalisation to progress strings in room export dialog (#7385)
This commit is contained in:
parent
7857bf2da1
commit
3229b06b01
6 changed files with 59 additions and 19 deletions
|
@ -53,7 +53,7 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {
|
|||
const [sizeLimit, setSizeLimit] = useState<number | null>(8);
|
||||
const sizeLimitRef = useRef<Field>();
|
||||
const messageCountRef = useRef<Field>();
|
||||
const [exportProgressText, setExportProgressText] = useState("Processing...");
|
||||
const [exportProgressText, setExportProgressText] = useState(_t("Processing..."));
|
||||
const [displayCancel, setCancelWarning] = useState(false);
|
||||
const [exportCancelled, setExportCancelled] = useState(false);
|
||||
const [exportSuccessful, setExportSuccessful] = useState(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue