Skip to content

Commit e551d4b

Browse files
authored
Merge branch 'develop' into readme-social-links
2 parents 4105ec0 + 8b73697 commit e551d4b

File tree

5 files changed

+377
-288
lines changed

5 files changed

+377
-288
lines changed

client/modules/IDE/components/AssetSize.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react';
2+
import { useTranslation } from 'react-i18next';
23
import { useSelector } from 'react-redux';
34
import prettyBytes from 'pretty-bytes';
45
import { getConfig } from '../../../utils/getConfig';
@@ -18,6 +19,8 @@ const formatPercent = (percent) => {
1819

1920
/* Eventually, this copy should be Total / 250 MB Used */
2021
const AssetSize = () => {
22+
const { t } = useTranslation();
23+
2124
const totalSize = useSelector(
2225
(state) => state.user.totalSize || state.assets.totalSize
2326
);
@@ -38,7 +41,9 @@ const AssetSize = () => {
3841
<p className="asset-current">
3942
{currentSize} ({percent})
4043
</p>
41-
<p className="asset-max">Max: {sizeLimit}</p>
44+
<p className="asset-max">
45+
{t('AssetList.maximum')}: {sizeLimit}
46+
</p>
4247
</div>
4348
);
4449
};

translations/locales/be/translations.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,13 +315,13 @@
315315
"CurrentPasswordARIA": "বর্তমান পাসওয়ার্ড",
316316
"NewPassword": "নতুন পাসওয়ার্ড",
317317
"NewPasswordARIA": "নতুন পাসওয়ার্ড",
318-
"SubmitSaveAllSettings": "সমস্ত সেটিংস সংরক্ষণ করুন"
318+
"SaveAccountDetails": "অ্যাকাউন্টের বিবরণ সংরক্ষণ করুন"
319319
},
320320
"AccountView": {
321321
"SocialLogin": "সোশ্যাল লগইন",
322322
"SocialLoginDescription": "p5.js ওয়েব এডিটরে লগ ইন করতে আপনি আপনার GitHub বা Google অ্যাকাউন্ট ব্যবহার করতে পারেন।",
323323
"Title": "p5.js ওয়েব এডিটর | অ্যাকাউন্ট সেটিংস",
324-
"Settings": "অ্যাকাউন্ট সেটিংস",
324+
"Settings": "আমার অ্যাকাউন্ট",
325325
"AccountTab": "অ্যাকাউন্ট",
326326
"AccessTokensTab": "অ্যাক্সেস টোকেন"
327327
},

translations/locales/en-US/translations.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,8 @@
439439
"NoUploadedAssets": "No uploaded assets.",
440440
"HeaderName": "Name",
441441
"HeaderSize": "Size",
442-
"HeaderSketch": "Sketch"
442+
"HeaderSketch": "Sketch",
443+
"maximum": "Maximum"
443444
},
444445
"Feedback": {
445446
"Title": "p5.js Web Editor | Feedback",

0 commit comments

Comments
 (0)