File tree Expand file tree Collapse file tree 5 files changed +377
-288
lines changed
client/modules/IDE/components Expand file tree Collapse file tree 5 files changed +377
-288
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
+ import { useTranslation } from 'react-i18next' ;
2
3
import { useSelector } from 'react-redux' ;
3
4
import prettyBytes from 'pretty-bytes' ;
4
5
import { getConfig } from '../../../utils/getConfig' ;
@@ -18,6 +19,8 @@ const formatPercent = (percent) => {
18
19
19
20
/* Eventually, this copy should be Total / 250 MB Used */
20
21
const AssetSize = ( ) => {
22
+ const { t } = useTranslation ( ) ;
23
+
21
24
const totalSize = useSelector (
22
25
( state ) => state . user . totalSize || state . assets . totalSize
23
26
) ;
@@ -38,7 +41,9 @@ const AssetSize = () => {
38
41
< p className = "asset-current" >
39
42
{ currentSize } ({ percent } )
40
43
</ p >
41
- < p className = "asset-max" > Max: { sizeLimit } </ p >
44
+ < p className = "asset-max" >
45
+ { t ( 'AssetList.maximum' ) } : { sizeLimit }
46
+ </ p >
42
47
</ div >
43
48
) ;
44
49
} ;
Original file line number Diff line number Diff line change 315
315
"CurrentPasswordARIA" : " বর্তমান পাসওয়ার্ড" ,
316
316
"NewPassword" : " নতুন পাসওয়ার্ড" ,
317
317
"NewPasswordARIA" : " নতুন পাসওয়ার্ড" ,
318
- "SubmitSaveAllSettings " : " সমস্ত সেটিংস সংরক্ষণ করুন"
318
+ "SaveAccountDetails " : " অ্যাকাউন্টের বিবরণ সংরক্ষণ করুন"
319
319
},
320
320
"AccountView" : {
321
321
"SocialLogin" : " সোশ্যাল লগইন" ,
322
322
"SocialLoginDescription" : " p5.js ওয়েব এডিটরে লগ ইন করতে আপনি আপনার GitHub বা Google অ্যাকাউন্ট ব্যবহার করতে পারেন।" ,
323
323
"Title" : " p5.js ওয়েব এডিটর | অ্যাকাউন্ট সেটিংস" ,
324
- "Settings" : " অ্যাকাউন্ট সেটিংস " ,
324
+ "Settings" : " আমার অ্যাকাউন্ট " ,
325
325
"AccountTab" : " অ্যাকাউন্ট" ,
326
326
"AccessTokensTab" : " অ্যাক্সেস টোকেন"
327
327
},
Original file line number Diff line number Diff line change 439
439
"NoUploadedAssets" : " No uploaded assets." ,
440
440
"HeaderName" : " Name" ,
441
441
"HeaderSize" : " Size" ,
442
- "HeaderSketch" : " Sketch"
442
+ "HeaderSketch" : " Sketch" ,
443
+ "maximum" : " Maximum"
443
444
},
444
445
"Feedback" : {
445
446
"Title" : " p5.js Web Editor | Feedback" ,
You can’t perform that action at this time.
0 commit comments