Fix sticker creator upload warning
This commit is contained in:
parent
f404904a49
commit
62ce308fe1
1 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2019-2020 Signal Messenger, LLC
|
// Copyright 2019-2021 Signal Messenger, LLC
|
||||||
// SPDX-License-Identifier: AGPL-3.0-only
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
|
@ -59,8 +59,9 @@ export const UploadStage: React.ComponentType = () => {
|
||||||
<H2>{i18n('StickerCreator--UploadStage--title')}</H2>
|
<H2>{i18n('StickerCreator--UploadStage--title')}</H2>
|
||||||
<Text>
|
<Text>
|
||||||
{i18n('StickerCreator--UploadStage-uploaded', {
|
{i18n('StickerCreator--UploadStage-uploaded', {
|
||||||
count: complete,
|
// We convert these to string so that 0 isn't falsy, which i18n checks for.
|
||||||
total,
|
count: String(complete),
|
||||||
|
total: String(total),
|
||||||
})}
|
})}
|
||||||
</Text>
|
</Text>
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue