101 lines
3.1 KiB
PHP
101 lines
3.1 KiB
PHP
<?php
|
|
/* Common */
|
|
$DLG['select_dir'] = "Select folder first!";
|
|
$DLG['dir_not_found'] = "Directory not found!";
|
|
$DLG['not_dir'] = "Not a directory!";
|
|
$DLG['invalid_dir'] = "Directory is not valid!";
|
|
$DLG['no_permission'] = "No write permission!";
|
|
|
|
/* Add Dir */
|
|
$DLG['invalid_dirname'] = "Invalid folder name!";
|
|
$DLG['dir_exists'] = "Folder already exists!";
|
|
$DLG['dir_add_success'] = "Folder created successfuly";
|
|
$DLG['dir_add_failure'] = "Error adding folder!";
|
|
|
|
/* File listing */
|
|
$DLG['enter'] = "Enter";
|
|
$DLG['delete'] = "Delete";
|
|
$DLG['insert'] = "Insert";
|
|
$DLG['download'] = "Download";
|
|
$DLG['preview'] = "Preview";
|
|
$DLG['rename'] = "Rename";
|
|
$DLG['dir'] = "Directory";
|
|
$DLG['up'] = "Up";
|
|
|
|
/* Uploads */
|
|
$DLG['select_file'] = "Select file first!";
|
|
$DLG['invalid_filename'] = "Invalid file name!";
|
|
$DLG['file_exists'] = "Filename already exists!";
|
|
$DLG['invalid_img'] = "Invalid image file type!";
|
|
$DLG['insert_uploaded'] = "Click here to insert uploaded file";
|
|
$DLG['upload_success'] = "Uploaded successfuly";
|
|
$DLG['upload_failure'] = "Error upoading file!";
|
|
|
|
$DLG['select_to_upload'] = "Select file to upload";
|
|
$DLG['select_img_format'] = "Select image format(s)";
|
|
$DLG['file_to_upload'] = "File to upload";
|
|
$DLG['as_file_name'] = "As file name";
|
|
$DLG['uploading'] = "Uploading";
|
|
$DLG['upload'] = "Upload";
|
|
|
|
$DLG['format'] = "Format";
|
|
$DLG['width'] = "Width";
|
|
$DLG['height'] = "Height";
|
|
$DLG['scale_type'] = "Scale type";
|
|
$DLG['bg'] = "Background";
|
|
$DLG['custom'] = "Custom";
|
|
|
|
/* Delete */
|
|
$DLG['file_not_found'] = "File not found!";
|
|
$DLG['dir_not_found'] = "Folder not found!";
|
|
$DLG['not_file'] = "Unable to remove the file, not a file!";
|
|
$DLG['not_dir'] = "Unable to remove the folder, not a folder";
|
|
$DLG['file_delete_success'] = "File deleted successfuly";
|
|
$DLG['file_delete_failure'] = "Unable to remove the file!";
|
|
$DLG['dir_delete_success'] = "Folder deleted successfuly";
|
|
$DLG['dir_delete_failure'] = "Unable to remove the folder!";
|
|
$DLG['dir_not_empty'] = "Unable to remove the folder, folder is not empty";
|
|
|
|
/* Index */
|
|
$DLG['name'] = "Name";
|
|
$DLG['extension'] = "Extension";
|
|
$DLG['size'] = "Size";
|
|
$DLG['dimentions'] = "Dimentions";
|
|
$DLG['upload_image'] = "Upload image";
|
|
$DLG['upload_file'] = "Upload file";
|
|
$DLG['add_dir'] = "Add folder";
|
|
$DLG['path'] = "Path";
|
|
$DLG['view_mode'] = "View mode";
|
|
|
|
/* format listing */
|
|
$DLG['select_format'] = "Select image format to insert or download";
|
|
|
|
/* Misc */
|
|
$JAVA_DLG = 'var Lang = {
|
|
initiating : "Initiating...",
|
|
loading : "Loading...",
|
|
done : "Done",
|
|
uploading : "Uploading...",
|
|
loading_failure : "Faild to load content",
|
|
file_delete_confirm : "Are you sure you want to delete",
|
|
folder_name_prompt : "Insert a name for the folder you wish to add",
|
|
not_supported : "Operation not suported yet",
|
|
opt_enter : "Enter",
|
|
opt_delete : "Delete",
|
|
opt_insert : "Insert",
|
|
opt_download : "Download",
|
|
opt_preview : "Preview",
|
|
opt_rename : "Rename",
|
|
dir : "Directory",
|
|
up : "Up"
|
|
};';
|
|
|
|
$SCALE_TYPES = array
|
|
(
|
|
'orginal' => "Orginal size",
|
|
'max' => "Max fit size",
|
|
'addbg' => "Add background",
|
|
'crop' => "Crop to center",
|
|
'stretch' => "Stretch image",
|
|
);
|
|
?>
|