Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Delete src & debug functions, update lang files

  • Loading branch information...
commit b3774b1c4612c5334007e0350c2a127dffb14570 1 parent 786cc54
@rilwis rilwis authored
View
BIN  img/src/image-error.psd
Deleted file not rendered
View
BIN  lang/default.mo
Binary file not shown
View
64 lang/default.po
@@ -2,9 +2,9 @@ msgid ""
msgstr ""
"Project-Id-Version: Meta Box Script For WordPress\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-03-02 14:08+0700\n"
-"PO-Revision-Date: 2012-03-02 14:08+0700\n"
-"Last-Translator: name <email@domain.com>\n"
+"POT-Creation-Date: 2012-06-03 15:09+0700\n"
+"PO-Revision-Date: 2012-06-03 15:09+0700\n"
+"Last-Translator: Rilwis <rilwis@gmail.com>\n"
"Language-Team: Rilwis <rilwis@gmail.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -17,20 +17,16 @@ msgstr ""
"X-Poedit-SearchPath-0: ..\n"
"X-Poedit-SearchPath-1: ../inc/fields\n"
-#: ../meta-box.php:334
-msgid "+"
-msgstr ""
-
-#: ../meta-box.php:358
-msgid "&#8211;"
+#: ../meta-box.php:79
+msgid "RW_Meta_Box Debug:"
msgstr ""
-#: ../meta-box.php:691
-msgid "RW_Meta_Box Debug:"
+#: ../inc/classes/meta-box.php:316
+msgid "+"
msgstr ""
-#: ../inc/fields/color.php:45
-msgid "Select a color"
+#: ../inc/classes/meta-box.php:340
+msgid "&#8211;"
msgstr ""
#: ../inc/fields/file.php:69
@@ -59,66 +55,70 @@ msgstr ""
#: ../inc/fields/file.php:87
msgctxt "file upload"
-msgid "Add another file"
+msgid "+ Add new file"
msgstr ""
-#: ../inc/fields/image.php:68
+#: ../inc/fields/image.php:75
msgid "Order saved"
msgstr ""
-#: ../inc/fields/image.php:84
-#: ../inc/fields/plupload-image.php:178
+#: ../inc/fields/image.php:91
+#: ../inc/fields/plupload-image.php:156
msgctxt "image upload"
msgid "Uploaded files"
msgstr ""
-#: ../inc/fields/image.php:85
-#: ../inc/fields/plupload-image.php:140
+#: ../inc/fields/image.php:92
+#: ../inc/fields/plupload-image.php:112
msgctxt "image upload"
msgid "Delete this file"
msgstr ""
-#: ../inc/fields/image.php:86
-#: ../inc/fields/plupload-image.php:141
+#: ../inc/fields/image.php:93
+#: ../inc/fields/plupload-image.php:113
msgctxt "image upload"
msgid "Delete"
msgstr ""
-#: ../inc/fields/image.php:87
-#: ../inc/fields/plupload-image.php:142
+#: ../inc/fields/image.php:94
+#: ../inc/fields/plupload-image.php:114
msgctxt "image upload"
msgid "Edit"
msgstr ""
-#: ../inc/fields/image.php:88
-#: ../inc/fields/plupload-image.php:179
+#: ../inc/fields/image.php:95
+#: ../inc/fields/plupload-image.php:157
msgctxt "image upload"
msgid "Upload files"
msgstr ""
-#: ../inc/fields/image.php:89
-#: ../inc/fields/plupload-image.php:180
+#: ../inc/fields/image.php:96
msgctxt "image upload"
-msgid "Add another file"
+msgid "+ Add new image"
msgstr ""
-#: ../inc/fields/plupload-image.php:112
+#: ../inc/fields/plupload-image.php:95
msgctxt "image upload"
msgid "Allowed Image Files"
msgstr ""
-#: ../inc/fields/plupload-image.php:183
+#: ../inc/fields/plupload-image.php:160
msgctxt "image upload"
msgid "Drop images here"
msgstr ""
-#: ../inc/fields/plupload-image.php:184
+#: ../inc/fields/plupload-image.php:161
msgctxt "image upload"
msgid "or"
msgstr ""
-#: ../inc/fields/plupload-image.php:185
+#: ../inc/fields/plupload-image.php:162
msgctxt "image upload"
msgid "Select Files"
msgstr ""
+#: ../inc/fields/thickbox-image.php:45
+msgctxt "image upload"
+msgid "Upload image"
+msgstr ""
+
View
BIN  lang/vi.mo
Binary file not shown
View
75 lang/vi.po
@@ -2,9 +2,9 @@ msgid ""
msgstr ""
"Project-Id-Version: Meta Box Script For WordPress\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-03-02 14:08+0700\n"
-"PO-Revision-Date: 2012-03-02 14:08+0700\n"
-"Last-Translator: name <email@domain.com>\n"
+"POT-Creation-Date: 2012-06-03 15:10+0700\n"
+"PO-Revision-Date: 2012-06-03 15:10+0700\n"
+"Last-Translator: Rilwis <rilwis@gmail.com>\n"
"Language-Team: Rilwis <rilwis@gmail.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -17,22 +17,18 @@ msgstr ""
"X-Poedit-SearchPath-0: ..\n"
"X-Poedit-SearchPath-1: ../inc/fields\n"
-#: ../meta-box.php:334
-msgid "+"
+#: ../meta-box.php:79
+msgid "RW_Meta_Box Debug:"
msgstr ""
-#: ../meta-box.php:358
-msgid "&#8211;"
+#: ../inc/classes/meta-box.php:316
+msgid "+"
msgstr ""
-#: ../meta-box.php:691
-msgid "RW_Meta_Box Debug:"
+#: ../inc/classes/meta-box.php:340
+msgid "&#8211;"
msgstr ""
-#: ../inc/fields/color.php:45
-msgid "Select a color"
-msgstr "Chọn một màu"
-
#: ../inc/fields/file.php:69
msgid "Error: Cannot delete file"
msgstr "Lỗi: Không xóa được file"
@@ -59,66 +55,77 @@ msgstr "Tải file"
#: ../inc/fields/file.php:87
msgctxt "file upload"
-msgid "Add another file"
-msgstr "Thêm file mới"
+msgid "+ Add new file"
+msgstr "+ Thêm file mới"
-#: ../inc/fields/image.php:68
+#: ../inc/fields/image.php:75
msgid "Order saved"
msgstr "Đã lưu thứ tự"
-#: ../inc/fields/image.php:84
-#: ../inc/fields/plupload-image.php:178
+#: ../inc/fields/image.php:91
+#: ../inc/fields/plupload-image.php:156
msgctxt "image upload"
msgid "Uploaded files"
msgstr "Các file đã tải lên"
-#: ../inc/fields/image.php:85
-#: ../inc/fields/plupload-image.php:140
+#: ../inc/fields/image.php:92
+#: ../inc/fields/plupload-image.php:112
msgctxt "image upload"
msgid "Delete this file"
msgstr "Xóa file"
-#: ../inc/fields/image.php:86
-#: ../inc/fields/plupload-image.php:141
+#: ../inc/fields/image.php:93
+#: ../inc/fields/plupload-image.php:113
msgctxt "image upload"
msgid "Delete"
msgstr "Xóa"
-#: ../inc/fields/image.php:87
-#: ../inc/fields/plupload-image.php:142
+#: ../inc/fields/image.php:94
+#: ../inc/fields/plupload-image.php:114
msgctxt "image upload"
msgid "Edit"
msgstr "Sửa"
-#: ../inc/fields/image.php:88
-#: ../inc/fields/plupload-image.php:179
+#: ../inc/fields/image.php:95
+#: ../inc/fields/plupload-image.php:157
msgctxt "image upload"
msgid "Upload files"
msgstr "Tải file"
-#: ../inc/fields/image.php:89
-#: ../inc/fields/plupload-image.php:180
+#: ../inc/fields/image.php:96
msgctxt "image upload"
-msgid "Add another file"
-msgstr "Thêm file mới"
+msgid "+ Add new image"
+msgstr "+ Thêm hình mới"
-#: ../inc/fields/plupload-image.php:112
+#: ../inc/fields/plupload-image.php:95
msgctxt "image upload"
msgid "Allowed Image Files"
msgstr "Các file hình ảnh được cho phép"
-#: ../inc/fields/plupload-image.php:183
+#: ../inc/fields/plupload-image.php:160
msgctxt "image upload"
msgid "Drop images here"
msgstr "Kéo thả hình ảnh vào đây"
-#: ../inc/fields/plupload-image.php:184
+#: ../inc/fields/plupload-image.php:161
msgctxt "image upload"
msgid "or"
msgstr "hoặc"
-#: ../inc/fields/plupload-image.php:185
+#: ../inc/fields/plupload-image.php:162
msgctxt "image upload"
msgid "Select Files"
msgstr "Chọn file"
+#: ../inc/fields/thickbox-image.php:45
+#, fuzzy
+msgctxt "image upload"
+msgid "Upload image"
+msgstr "Tải file"
+
+#~ msgid "Select a color"
+#~ msgstr "Chọn một màu"
+#~ msgctxt "image upload"
+
+#~ msgid "Add another file"
+#~ msgstr "Thêm file mới"
View
43 meta-box.php
@@ -45,45 +45,4 @@
// Include plugin main file
require_once RWMB_CLASSES_DIR . 'meta-box.php';
-}
-
-
-/**
- * Adds [whatever] to the global debug array
- *
- * @param mixed $input
- * @param string $print_or_export
- *
- * @return array
- */
-function rwmb_debug( $input, $print_or_export = 'print' )
-{
- global $rwmb_debug;
-
- $html = 'print' === $print_or_export ? print_r( $input, true ) : var_export( $input, true );
-
- return $rwmb_debug[] = $html;
-}
-
-/**
- * Prints or exports the content of the global debug array at the 'shutdown' hook
- *
- * @return void
- */
-function rwmb_debug_print()
-{
- global $rwmb_debug;
- if ( ! $rwmb_debug || ( is_user_logged_in() && is_user_admin() ) )
- return;
-
- $html = '<h3>' . __( 'RW_Meta_Box Debug:', 'rwmb' ) . '</h3><pre>';
- foreach ( $rwmb_debug as $debug )
- {
- $html .= "{$debug}<hr />";
- }
- $html .= '</pre>';
-
- die( $html );
-}
-
-add_action( 'shutdown', 'rwmb_debug_print', 999 );
+}
Please sign in to comment.
Something went wrong with that request. Please try again.