v1.18.x
barisusakli 10 years ago
parent d5dd48ecc8
commit 8c7ded3062

@ -58,7 +58,7 @@
"too-many-posts-newbie": "As a new user, you can only post once every %1 seconds until you have earned %2 reputation - please wait before posting again",
"tag-too-short": "Please enter a longer tag. Tags should contain at least %1 characters",
"tag-too-long": "Please enter a shorter tag. Tags can't be longer than %1 characters",
"file-too-big": "Maximum allowed file size is %1 kbs - please upload a smaller file",
"file-too-big": "Maximum allowed file size is %1 kb - please upload a smaller file",
"cant-vote-self-post": "You cannot vote for your own post",
"already-favourited": "You have already favourited this post",

@ -1,5 +1,6 @@
{
"uploading-file" : "Uploading the file...",
"select-file-to-upload": "Select a file to upload!",
"upload-success": "File uploaded successfully!"
"upload-success": "File uploaded successfully!",
"maximum-file-size": "Maximum %1 kb"
}

@ -52,7 +52,6 @@
"upload_picture": "Upload picture",
"upload_a_picture": "Upload a picture",
"image_spec": "You may only upload PNG, JPG, or GIF files",
"max": "max.",
"settings": "Settings",
"show_email": "Show My Email",

@ -16,8 +16,9 @@ define('uploader', ['csrf'], function(csrf) {
uploadForm.find('#params').val(JSON.stringify(params));
if (fileSize) {
uploadForm.find('#upload-file-size').html(fileSize);
uploadForm.find('#file-size-block').removeClass('hide');
uploadForm.find('#file-size-block')
.translateText('[[uploads:maximum-file-size, ' + fileSize + ']]')
.removeClass('hide');
} else {
uploadForm.find('#file-size-block').addClass('hide');
}

Loading…
Cancel
Save