diff --git a/i18n/en.json b/i18n/en.json
new file mode 100644
index 00000000..4f94a1d9
--- /dev/null
+++ b/i18n/en.json
@@ -0,0 +1,121 @@
+{
+ "PrivateBin": "PrivateBin",
+ "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bits AES. More information on the project page.": "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bits AES. More information on the project page.",
+ "Because ignorance is bliss": "Because ignorance is bliss",
+ "en": "en",
+ "Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
+ "%s requires php %s or above to work. Sorry.": "%s requires php %s or above to work. Sorry.",
+ "%s requires configuration section [%s] to be present in configuration file.": "%s requires configuration section [%s] to be present in configuration file.",
+ "Please wait %d seconds between each post.": "Please wait %d seconds between each post.",
+ "Paste is limited to %s of encrypted data.": "Paste is limited to %s of encrypted data.",
+ "Invalid data.": "Invalid data.",
+ "You are unlucky. Try again.": "You are unlucky. Try again.",
+ "Error saving comment. Sorry.": "Error saving comment. Sorry.",
+ "Error saving paste. Sorry.": "Error saving paste. Sorry.",
+ "Invalid paste ID.": "Invalid paste ID.",
+ "Paste is not of burn-after-reading type.": "Paste is not of burn-after-reading type.",
+ "Wrong deletion token. Paste was not deleted.": "Wrong deletion token. Paste was not deleted.",
+ "Paste was properly deleted.": "Paste was properly deleted.",
+ "JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript is required for %s to work. Sorry for the inconvenience.",
+ "%s requires a modern browser to work.": "%s requires a modern browser to work.",
+ "New": "New",
+ "Send": "Send",
+ "Clone": "Clone",
+ "Raw text": "Raw text",
+ "Expires": "Expires",
+ "Burn after reading": "Burn after reading",
+ "Open discussion": "Open discussion",
+ "Password (recommended)": "Password (recommended)",
+ "Discussion": "Discussion",
+ "Toggle navigation": "Toggle navigation",
+ "%d seconds": "%d seconds",
+ "%d minutes": "%d minutes",
+ "%d hours": "%d hours",
+ "%d days": "%d days",
+ "%d weeks": "%d weeks",
+ "%d months": "%d months",
+ "%d years": "%d years",
+ "Never": "Never",
+ "Note: This is a test service: Data may be deleted anytime. Kittens will die if you abuse this service.": "Note: This is a test service: Data may be deleted anytime. Kittens will die if you abuse this service.",
+ "This document will expire in %d seconds.": "This document will expire in %d seconds.",
+ "This document will expire in %d minutes.": "This document will expire in %d minutes.",
+ "This document will expire in %d hours.": "This document will expire in %d hours.",
+ "This document will expire in %d days.": "This document will expire in %d days.",
+ "This document will expire in %d months.": "This document will expire in %d months.",
+ "Please enter the password for this paste:": "Please enter the password for this paste:",
+ "Could not decrypt data (Wrong key?)": "Could not decrypt data (Wrong key?)",
+ "Could not delete the paste, it was not stored in burn after reading mode.": "Could not delete the paste, it was not stored in burn after reading mode.",
+ "FOR YOUR EYES ONLY. Don't close this window, this message can't be displayed again.": "FOR YOUR EYES ONLY. Don't close this window, this message can't be displayed again.",
+ "Could not decrypt comment; Wrong key?": "Could not decrypt comment; Wrong key?",
+ "Reply": "Reply",
+ "Anonymous": "Anonymous",
+ "Avatar generated from IP address": "Avatar generated from IP address",
+ "Add comment": "Add comment",
+ "Optional nickname…": "Optional nickname…",
+ "Post comment": "Post comment",
+ "Sending comment…": "Sending comment…",
+ "Comment posted.": "Comment posted.",
+ "Could not refresh display: %s": "Could not refresh display: %s",
+ "unknown status": "unknown status",
+ "server error or not responding": "server error or not responding",
+ "Could not post comment: %s": "Could not post comment: %s",
+ "Sending paste…": "Sending paste…",
+ "Your paste is %s (Hit [Ctrl]+[c] to copy)": "Your paste is %s (Hit [Ctrl]+[c] to copy)",
+ "Delete data": "Delete data",
+ "Could not create paste: %s": "Could not create paste: %s",
+ "Cannot decrypt paste: Decryption key missing in URL (Did you use a redirector or an URL shortener which strips part of the URL?)": "Cannot decrypt paste: Decryption key missing in URL (Did you use a redirector or an URL shortener which strips part of the URL?)",
+ "B": "B",
+ "KiB": "KiB",
+ "MiB": "MiB",
+ "GiB": "GiB",
+ "TiB": "TiB",
+ "PiB": "PiB",
+ "EiB": "EiB",
+ "ZiB": "ZiB",
+ "YiB": "YiB",
+ "Format": "Format",
+ "Plain Text": "Plain Text",
+ "Source Code": "Source Code",
+ "Markdown": "Markdown",
+ "Download attachment": "Download attachment",
+ "Cloned: '%s'": "Cloned: '%s'",
+ "The cloned file '%s' was attached to this paste.": "The cloned file '%s' was attached to this paste.",
+ "Attach a file": "Attach a file",
+ "alternatively drag & drop a file or paste an image from the clipboard": "alternatively drag & drop a file or paste an image from the clipboard",
+ "File too large, to display a preview. Please download the attachment.": "File too large, to display a preview. Please download the attachment.",
+ "Remove attachment": "Remove attachment",
+ "Your browser does not support uploading encrypted files. Please use a newer browser.": "Your browser does not support uploading encrypted files. Please use a newer browser.",
+ "Invalid attachment.": "Invalid attachment.",
+ "Options": "Options",
+ "Shorten URL": "Shorten URL",
+ "Editor": "Editor",
+ "Preview": "Preview",
+ "%s requires the PATH to end in a \"%s\". Please update the PATH in your index.php.": "%s requires the PATH to end in a \"%s\". Please update the PATH in your index.php.",
+ "Decrypt": "Decrypt",
+ "Enter password": "Enter password",
+ "Loading…": "Loading…",
+ "Decrypting paste…": "Decrypting paste…",
+ "Preparing new paste…": "Preparing new paste…",
+ "In case this message never disappears please have a look at this FAQ for information to troubleshoot.": "In case this message never disappears please have a look at this FAQ for information to troubleshoot.",
+ "+++ no paste text +++": "+++ no paste text +++",
+ "Could not get paste data: %s": "Could not get paste data: %s",
+ "QR code": "QR code",
+ "This website is using an insecure HTTP connection! Please use it only for testing.": "This website is using an insecure HTTP connection! Please use it only for testing.",
+ "For more information see this FAQ entry.": "For more information see this FAQ entry.",
+ "Your browser may require an HTTPS connection to support the WebCrypto API. Try switching to HTTPS.": "Your browser may require an HTTPS connection to support the WebCrypto API. Try switching to HTTPS.",
+ "Your browser doesn't support WebAssembly, used for zlib compression. You can create uncompressed documents, but can't read compressed ones.": "Your browser doesn't support WebAssembly, used for zlib compression. You can create uncompressed documents, but can't read compressed ones.",
+ "waiting on user to provide a password": "waiting on user to provide a password",
+ "Could not decrypt data. Did you enter a wrong password? Retry with the button at the top.": "Could not decrypt data. Did you enter a wrong password? Retry with the button at the top.",
+ "Retry": "Retry",
+ "Showing raw text…": "Showing raw text…",
+ "Notice:": "Notice:",
+ "This link will expire after %s.": "This link will expire after %s.",
+ "This link can only be accessed once, do not use back or refresh button in your browser.": "This link can only be accessed once, do not use back or refresh button in your browser.",
+ "Link:": "Link:",
+ "Recipient may become aware of your timezone, convert time to UTC?": "Recipient may become aware of your timezone, convert time to UTC?",
+ "Use Current Timezone": "Use Current Timezone",
+ "Convert To UTC": "Convert To UTC",
+ "Close": "Close",
+ "Encrypted note on PrivateBin": "Encrypted note on PrivateBin",
+ "Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.": "Visit this link to see the note. Giving the URL to anyone allows them to access the note, too."
+}
diff --git a/lib/I18n.php b/lib/I18n.php
index a5ddaeaf..aa68df9c 100644
--- a/lib/I18n.php
+++ b/lib/I18n.php
@@ -199,7 +199,6 @@ class I18n
self::$_availableLanguages[] = $match[1];
}
}
- self::$_availableLanguages[] = 'en';
}
return self::$_availableLanguages;
}