${state.translate('copyUrlFormLabel')}
${name}
diff --git a/app/utils.js b/app/utils.js
index 4933a808..4f2fa648 100644
--- a/app/utils.js
+++ b/app/utils.js
@@ -57,7 +57,7 @@ const LOCALIZE_NUMBERS = !!(
);
const UNITS = ['B', 'kB', 'MB', 'GB'];
-function bytes(num) {
+function bytes(num, decimalDigits = 1) {
if (num < 1) {
return '0B';
}
@@ -68,8 +68,8 @@ function bytes(num) {
try {
const locale = document.querySelector('html').lang;
nStr = n.toLocaleString(locale, {
- minimumFractionDigits: 1,
- maximumFractionDigits: 1
+ minimumFractionDigits: decimalDigits,
+ maximumFractionDigits: decimalDigits
});
} catch (e) {
// fall through
diff --git a/public/locales/en-US/send.ftl b/public/locales/en-US/send.ftl
index b75b542f..e649e94a 100644
--- a/public/locales/en-US/send.ftl
+++ b/public/locales/en-US/send.ftl
@@ -147,6 +147,7 @@ maxPasswordLength = Maximum password length: { $length }
# A short status message shown when there was an error setting the password
passwordSetError = This password could not be set
pageHeaderCredits = from the makers of Firefox
+addFilesButton = Add file(s)
addFilesButtonWithSize = Add file(s) up to { $size }
uploadFilesButton = Upload
uploadDropDragMessage = Drop files here