diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php
index face7ab3c7..146d975d4b 100644
--- a/wp-admin/admin-functions.php
+++ b/wp-admin/admin-functions.php
@@ -84,7 +84,7 @@ function cat_rows($parent = 0, $level = 0, $categories = 0) {
echo "
$pad $category->cat_name
$category->category_description
$count
- Edit cat_name) ."\' and all its posts will go to the default category.\\n \'OK\' to delete, \'Cancel\' to stop.')\" class='delete'>Delete
+ " . __('Edit') . " cat_name)) . "')\" class='delete'>" . __('Delete') . "
";
cat_rows($category->cat_ID, $level + 1);
}
@@ -125,11 +125,11 @@ function wp_create_thumbnail($file, $max_side, $effect = '') {
// handle. duh. i hope.
if(!function_exists('imagegif') && $type[2] == 1) {
- $error = 'Filetype not supported. Thumbnail not created.';
+ $error = __('Filetype not supported. Thumbnail not created.');
}elseif(!function_exists('imagejpeg') && $type[2] == 2) {
- $error = 'Filetype not supported. Thumbnail not created.';
+ $error = __('Filetype not supported. Thumbnail not created.');
}elseif(!function_exists('imagepng') && $type[2] == 3) {
- $error = 'Filetype not supported. Thumbnail not created.';
+ $error = __('Filetype not supported. Thumbnail not created.');
} else {
// create the initial copy from the original file
@@ -176,15 +176,15 @@ function wp_create_thumbnail($file, $max_side, $effect = '') {
if($type[2] == 1) {
if(!imagegif($thumbnail, $thumbpath)) {
- $error = "Thumbnail path invalid";
+ $error = __("Thumbnail path invalid");
}
} elseif($type[2] == 2) {
if(!imagejpeg($thumbnail, $thumbpath)) {
- $error = "Thumbnail path invalid";
+ $error = __("Thumbnail path invalid");
}
} elseif($type[2] == 3) {
if(!imagepng($thumbnail, $thumbpath)) {
- $error = "Thumbnail path invalid";
+ $error = __("Thumbnail path invalid");
}
}
@@ -256,9 +256,9 @@ function get_meta_keys() {
function meta_form() {
$keys = get_meta_keys();
?>
-Add new custom data to this post:
+
-
Select existing key or enter new key
+
@@ -276,13 +276,13 @@ if ($keys) {
-
+
Error: wrong login or password.";
+ $error= __("Error : wrong login or password.");
}
$redir = 'Location: ' . get_settings('siteurl') . '/wp-login.php?redirect_to=' . urlencode($_SERVER['REQUEST_URI']);
header($redir);
diff --git a/wp-admin/upload.php b/wp-admin/upload.php
index 30fed0fe45..f77c6b33a2 100644
--- a/wp-admin/upload.php
+++ b/wp-admin/upload.php
@@ -1,13 +1,15 @@
-It doesn't look like you can use the file upload feature at this time because the directory you have specified (
) doesn't appear to be writable by WordPress. Check the permissions on the directory and for typos.
+%s) doesn't appear to be writable by WordPress. Check the permissions on the directory and for typos."), get_settings('fileupload_realpath')) ?>
- You can upload files with the extension as long as they are no larger than KB . If you’re an admin you can configure these values under options .
+KB. If you’re an admin you can configure these values under options .'), $i, get_settings('fileupload_maxk'), 'options-misc.php') ?>
- Duplicate File?
- The filename '' already exists!
- filename '' moved to ''
- Confirm or rename:
+
+
+
+
-File uploaded!
-Your file
was uploaded successfully !
-Here’s the code to display it:
+
+%s was uploaded successfully!"), $img1_name); ?>
+
-Image Details :
+
:
Name:
-Size:
- KB
-Type:
+
+ KB') ?>
+
-Upload another .
+