1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

minor getLangText edition

This commit is contained in:
Tim Daubenschütz 2015-09-16 15:23:01 +02:00
parent 7c376b7229
commit 3c3e32980c

View File

@ -5,6 +5,7 @@ import React from 'react';
import ProgressBar from 'react-bootstrap/lib/ProgressBar';
import { displayValidProgressFilesFilter } from '../react_s3_fine_uploader_utils';
import { getLangText } from '../../../utils/lang_utils';
let FileDragAndDropPreviewProgress = React.createClass({
@ -54,7 +55,7 @@ let FileDragAndDropPreviewProgress = React.createClass({
return (
<ProgressBar
now={Math.ceil(overallProgress)}
label="Overall progress: %(percent)s%"
label={getLangText('Overall progress%s', ': %(percent)s%')}
className="ascribe-progress-bar"
style={style} />
);