Skip to content
Browse files

Merge remote-tracking branch 'upstream/master'

Conflicts:
	frontend-uploader.php
  • Loading branch information...
2 parents 065b150 + 06fc688 commit a086fc6a52b435eb1a3c18883de19b7935952a36 @danielbachhuber danielbachhuber committed
View
163 frontend-uploader.php
@@ -3,7 +3,7 @@
Plugin Name: Frontend Uploader
Description: Allow your visitors to upload content and moderate it.
Author: Rinat Khaziev, Daniel Bachhuber, Ricardo Zappala
-Version: 0.5-working
+Version: 0.5.2
Author URI: http://digitallyconscious.com
GNU General Public License, Free Software Foundation <http://creativecommons.org/licenses/GPL/2.0/>
@@ -25,7 +25,7 @@
*/
// Define consts and bootstrap and dependencies
-define( 'FU_VERSION', '0.5-working' );
+define( 'FU_VERSION', '0.5.2' );
define( 'FU_ROOT' , dirname( __FILE__ ) );
define( 'FU_FILE_PATH' , FU_ROOT . '/' . basename( __FILE__ ) );
define( 'FU_URL' , plugins_url( '/', __FILE__ ) );
@@ -52,7 +52,7 @@ class Frontend_Uploader {
*/
function __construct() {
// Hooking to wp_ajax
- // @todo refactor in 0.5
+ // @todo refactor in 0.6
add_action( 'wp_ajax_upload_ugphoto', array( $this, 'upload_content' ) );
add_action( 'wp_ajax_nopriv_upload_ugphoto', array( $this, 'upload_content' ) );
add_action( 'wp_ajax_approve_ugc', array( $this, 'approve_photo' ) );
@@ -85,7 +85,7 @@ function __construct() {
// HTML helper to render HTML elements
$this->html = new Html_Helper;
- $this->is_debug = defined( 'WP_DEBUG' ) && WP_DEBUG;
+ $this->is_debug = (bool) apply_filters( 'fu_is_debug', defined( 'WP_DEBUG' ) && WP_DEBUG );
// Either use default settings if no setting set, or try to merge defaults with existing settings
// Needed if new options were added in upgraded version of the plugin
$this->settings = array_merge( $this->settings_defaults(), (array) get_option( $this->settings_slug, $this->settings_defaults() ) );
@@ -97,40 +97,38 @@ function __construct() {
*/
function action_init() {
load_plugin_textdomain( 'frontend-uploader', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
- $this->mime_types();
-
+ $this->allowed_mime_types = $this->_get_mime_types();
+ add_filter( 'upload_mimes', array( $this, '_get_mime_types' ), 999 );
}
- /**
- * Workaround for allowed mime-types
- *
- * @return allowed mime-types
- */
- function mime_types() {
- // Configuration filter:
- // fu_allowed_mime_types should return array of allowed mime types (see readme)
- $this->allowed_mime_types = apply_filters( 'fu_allowed_mime_types', $this->fix_ie_mime_types( get_allowed_mime_types() ) );
- // Disallow PHP files just in case
- $no_pasaran = array( 'application/x-php', 'text/x-php', 'text/php', 'application/php', 'application/x-httpd-php', 'application/x-httpd-php-source' );
- // THEY SHALL NOT PASS
- foreach ( $no_pasaran as $np )
- if ( false !== ( $key = array_search( $np, $this->allowed_mime_types ) ) )
- unset( $this->allowed_mime_types[$key] );
-
- apply_filters( 'upload_mimes', $this->allowed_mime_types );
- return $this->allowed_mime_types;
- }
-
- /**
- * Add IE-specific MIME types
- * /props mcnasby
- *
- * @param array $mime_types [description]
- * @return [type] [description]
- */
- function fix_ie_mime_types( $mime_types ) {
+ function _get_mime_types() {
+ // Grab default mime-types
+ $mime_types = wp_get_mime_types();
+ $fu_mime_types = fu_get_mime_types();
+ // Workaround for IE
$mime_types['jpg|jpe|jpeg|pjpg'] = 'image/pjpeg';
$mime_types['png|xpng'] = 'image/x-png';
+ // Iterate through default extensions
+ foreach( $fu_mime_types as $extension => $details ) {
+ // Skip if it's not in the settings
+ if ( !in_array( $extension, $this->settings['enabled_files'] ) )
+ continue;
+
+ // Iterate through mime-types for this extension
+ foreach( $details['mimes'] as $ext_mime ) {
+
+ $mime_types[ $extension . '|' . $extension . sanitize_title_with_dashes( $ext_mime ) ] = $ext_mime;
+ }
+ }
+ // Configuration filter: fu_allowed_mime_types should return array of allowed mime types (see readme)
+ $mime_types = apply_filters( 'fu_allowed_mime_types', $mime_types );
+
+ foreach( $mime_types as $ext_key => $mime ) {
+ // Check for php just in case
+ if ( false !== strpos( $mime, 'php') )
+ unset( $mime_types[$ext_key] );
+ }
+
return $mime_types;
}
@@ -175,35 +173,11 @@ function filter_posts_where( $where ) {
}
/**
- * Check if the file could be uploaded
- *
- * @since 0.5
- *
- * @param string $ext File Extension
- * @param string $type MIME-type
- *
- * @return boolean is the file allowed or not
+ * Determine if we should autoapprove the submission or not
+ * @return boolean [description]
*/
- function _is_allowed( $ext, $type ) {
- $allowed_types = fu_get_mime_types();
- $allowed_type_keys = array();
- $is_ext_allowed = false;
- foreach( $this->allowed_mime_types as $exts => $mime ) {
- foreach( (array) explode('|', $exts ) as $ext );
- array_push( $allowed_type_keys, $ext );
- }
-
- $conditions = array(
- (bool) ( in_array( $ext, $allowed_type_keys ) ),
- (bool) in_array( $type, $this->allowed_mime_types ) || in_array( $type, $allowed_types[$ext] ),
- );
-
-
- foreach( $conditions as $condition )
- if ( false === $condition )
- return false;
-
- return true;
+ function _is_public() {
+ return ( current_user_can( 'read' ) && 'on' == $this->settings['auto_approve_user_files'] ) || ( 'on' == $this->settings['auto_approve_any_files'] );
}
/**
@@ -238,9 +212,9 @@ function _handle_files( $post_id ) {
}
preg_match( '/.(?P<ext>[a-zA-Z0-9]+)$/', $k['name'], $ext_match );
- // Add an error message
- if ( !isset( $ext_match['ext'] ) || ! $this->_is_allowed( $ext_match['ext'], $k['type'] ) ) {
- $errors['fu-disallowed-mime-type'][] = array( 'name' => $k['name'], 'mime' => $k['type'] );
+ // Add an error message if MIME-type is not allowed
+ if ( ! in_array( $k['type'], (array) $this->allowed_mime_types ) ) {
+ $errors['fu-disallowed-mime-type'][] = array( 'name' => $k['name'], 'mime' => $k['type'] );
continue;
}
@@ -255,10 +229,9 @@ function _handle_files( $post_id ) {
$caption = sanitize_text_field( $_POST['caption'] );
elseif ( isset( $_POST['post_content'] ) )
$caption = sanitize_text_field( $_POST['post_content'] );
-
// @todo remove or refactor
$post_overrides = array(
- 'post_status' => 'private',
+ 'post_status' => $this->_is_public() ? 'publish' : 'private',
'post_title' => isset( $_POST['post_title'] ) && ! empty( $_POST['post_title'] ) ? sanitize_text_field( $_POST['post_title'] ) : 'Unnamed',
'post_content' => empty( $caption ) ? __( 'Unnamed', 'frontend-uploader' ) : $caption,
'post_excerpt' => empty( $caption ) ? __( 'Unnamed', 'frontend-uploader' ) : $caption,
@@ -291,7 +264,7 @@ function _upload_post() {
'post_type' => isset( $_POST['post_type'] ) && in_array( $_POST['post_type'], get_post_types() ) ? $_POST['post_type'] : 'post',
'post_title' => sanitize_text_field( $_POST['post_title'] ),
'post_content' => wp_filter_post_kses( $_POST['post_content'] ),
- 'post_status' => 'private',
+ 'post_status' => $this->_is_public() ? 'publish' : 'private',
);
// Determine if we have a whitelisted category
@@ -400,11 +373,12 @@ function _handle_result( $result = array() ) {
// Iterate through key=>value pairs of errors
foreach ( $result['errors'] as $key => $error ) {
// Do not display mime-types in production
-
if ( !$this->is_debug )
unset( $error[0]['mime'] );
+
$_errors[$key] = join( ',,,', $error[0] );
}
+
foreach ( $_errors as $key => $value ) {
$errors_formatted[] = "{$key}:{$value}";
}
@@ -464,7 +438,7 @@ function add_menu_items() {
/**
* Approve a media file
*
- * @todo refactor in 0.5
+ * @todo refactor in 0.6
* @return [type] [description]
*/
function approve_photo() {
@@ -488,7 +462,7 @@ function approve_photo() {
/**
*
*
- * @todo refactor in 0.5
+ * @todo refactor in 0.6
* @return [type] [description]
*/
function approve_post() {
@@ -645,37 +619,38 @@ function upload_form( $atts, $content = null ) {
$this->_display_response_notices( $_GET );
// Parse nested shortcodes
- if ( $content ):
+ if ( $content ) {
echo do_shortcode( $content );
// Or render default form
- else:
+ } else {
$textarea_desc = __( 'Description', 'frontend-uploader' );
- $file_desc = __( 'Your Photo', 'frontend-uploader' );
- $submit_button = __( 'Submit', 'frontend-uploader' );
+ $file_desc = __( 'Your Photo', 'frontend-uploader' );
+ $submit_button = __( 'Submit', 'frontend-uploader' );
- echo do_shortcode ( '[input type="text" name="post_title" id="ug_post_title" description="' . __( 'Title', 'frontend-uploader' ) . '" class="required"]' );
+ echo do_shortcode ( '[input type="text" name="post_title" id="ug_post_title" description="' . __( 'Title', 'frontend-uploader' ) . '" class="required"]' );
- // here we select the different fields based on the form layout to allow for different types
- // of uploads (only a file, only a post or a file and post)
+ // here we select the different fields based on the form layout to allow for different types
+ // of uploads (only a file, only a post or a file and post)
- // @todo refactor
- if ( $form_layout == "post_image" )
- echo do_shortcode( '[textarea name="post_content" class="textarea" id="ug_content" class="required" description="'. $textarea_desc .'"]
- [input type="file" name="photo" id="ug_photo" description="'. $file_desc .'" multiple=""]' );
- elseif ( $form_layout == "post" )
- echo do_shortcode( '[textarea name="post_content" class="textarea" id="ug_content" class="required" description="'. $textarea_desc .'"]' );
- else
- echo do_shortcode( '[textarea name="caption" class="textarea tinymce-enabled" id="ugcaption" description="'. $textarea_desc .'"]
- [input type="file" name="photo" id="ug_photo" class="required" description="'. $file_desc .'" multiple=""]' );
+ // @todo refactor
+ if ( $form_layout == "post_image" )
+ echo do_shortcode( '[textarea name="post_content" class="textarea" id="ug_content" class="required" description="'. $textarea_desc .'"]
+ [input type="file" name="photo" id="ug_photo" description="'. $file_desc .'" multiple=""]' );
+ elseif ( $form_layout == "post" )
+ echo do_shortcode( '[textarea name="post_content" class="textarea" id="ug_content" class="required" description="'. $textarea_desc .'"]' );
+ else
+ echo do_shortcode( '[textarea name="caption" class="textarea tinymce-enabled" id="ugcaption" description="'. $textarea_desc .'"]
+ [input type="file" name="photo" id="ug_photo" class="required" description="'. $file_desc .'" multiple=""]' );
- if ( isset( $this->settings['show_author'] ) && $this->settings['show_author'] )
- echo do_shortcode ( '[input type="text" name="post_author" id="ug_post_author" description="' . __( 'Author', 'frontend-uploader' ) . '" class=""]' );
+ if ( isset( $this->settings['show_author'] ) && $this->settings['show_author'] )
+ echo do_shortcode ( '[input type="text" name="post_author" id="ug_post_author" description="' . __( 'Author', 'frontend-uploader' ) . '" class=""]' );
- if ( $form_layout == "post_image" || $form_layout == "image" )
- echo do_shortcode ( '[input type="text" name="post_credit" id="ug_post_credit" description="' . __( 'Credit', 'frontend-uploader' ) . '" class=""]' );
+ if ( $form_layout == "post_image" || $form_layout == "image" )
+ echo do_shortcode ( '[input type="text" name="post_credit" id="ug_post_credit" description="' . __( 'Credit', 'frontend-uploader' ) . '" class=""]' );
- echo do_shortcode ( '[input type="submit" class="btn" value="'. $submit_button .'"]' );
- endif; ?>
+ echo do_shortcode ( '[input type="submit" class="btn" value="'. $submit_button .'"]' );
+ }
+ ?>
<input type="hidden" name="action" value="upload_ugc" />
<input type="hidden" value="<?php echo $post_id ?>" name="post_ID" />
<input type="hidden" value="<?php echo $category; ?>" name="post_category" />
@@ -736,7 +711,7 @@ function _display_response_notices( $res = array() ) {
),
);
- if ( isset( $map[ $res['response'] ] ) )
+ if ( isset( $res['response'] ) && isset( $map[ $res['response'] ] ) )
$output .= $this->_notice_html( $map[ $res['response'] ]['text'] , $map[ $res['response'] ]['class'] );
if ( !empty( $res['errors' ] ) )
View
BIN languages/frontend-uploader-es_ES.mo
Binary file not shown.
View
157 languages/frontend-uploader-es_ES.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: Frontend Uploader v0.4.1\n"
+"Project-Id-Version: Frontend Uploader v0.5.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: 2013-04-04 01:22:35+0000\n"
+"PO-Revision-Date: 2013-04-11 08:24:41+0000\n"
"Last-Translator: admin <gastonbesada@gmail.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -20,9 +20,9 @@ msgstr ""
"X-Poedit-SearchPath-0: .\n"
"X-Textdomain-Support: yes"
-#: frontend-uploader.php:403
-#: frontend-uploader.php:409
-#: frontend-uploader.php:413
+#: frontend-uploader.php:420
+#: frontend-uploader.php:423
+#: frontend-uploader.php:427
#: lib/views/manage-ugc-media.tpl.php:2
#@ frontend-uploader
msgid "Manage UGC"
@@ -128,12 +128,12 @@ msgstr "Media restaurado de la papelera."
msgid "Search Media"
msgstr "Buscar Media"
-#: frontend-uploader.php:666
+#: frontend-uploader.php:698
#@ frontend-uploader
msgid "Your file was successfully uploaded!"
msgstr "Su archivo fue subido satisfactoriamente!"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:61
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:60
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:71
#, php-format
#@ default
@@ -143,7 +143,7 @@ msgid_plural "All <span class=\"count\">(%s)</span>"
msgstr[0] ""
msgstr[1] ""
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:73
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:72
#, php-format
#@ default
msgctxt "detached files"
@@ -152,7 +152,7 @@ msgid_plural "Unattached <span class=\"count\">(%s)</span>"
msgstr[0] ""
msgstr[1] ""
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:76
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:75
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:85
#, php-format
#@ default
@@ -162,9 +162,9 @@ msgid_plural "Trash <span class=\"count\">(%s)</span>"
msgstr[0] ""
msgstr[1] ""
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:83
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:297
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:313
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:82
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:296
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:312
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:94
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:312
#@ frontend-uploader
@@ -172,145 +172,145 @@ msgstr[1] ""
msgid "Delete Permanently"
msgstr "Borrar"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:85
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:84
#@ frontend-uploader
msgid "Attach to a post"
msgstr "Agregar a entrada"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:108
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:107
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:120
#@ frontend-uploader
msgid "No media attachments found."
msgstr "No hay archivos adjuntos multimedia encontrado."
#. translators: column name
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:116
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:115
#@ default
msgctxt "column name"
msgid "File"
msgstr ""
-#: frontend-uploader.php:608
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:117
+#: frontend-uploader.php:639
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:116
#@ frontend-uploader
msgid "Author"
msgstr "Autor"
#. translators: column name
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:120
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:119
#@ default
msgctxt "column name"
msgid "Attached to"
msgstr ""
#. translators: column name
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:123
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:122
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:131
#@ default
msgctxt "column name"
msgid "Date"
msgstr ""
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:217
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:216
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:227
#@ frontend-uploader
msgid "No Tags"
msgstr "Sin Etiquetas"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:232
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:231
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:242
#@ frontend-uploader
msgid "Unpublished"
msgstr "No publicado"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:234
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:233
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:244
#@ frontend-uploader
msgid "Y/m/d g:i:s A"
msgstr "Y/m/d g:i:s A"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:239
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:238
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:249
#, php-format
#@ frontend-uploader
msgid "%s from now"
msgstr "%s a partir de ahora"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:241
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:240
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:251
#, php-format
#@ frontend-uploader
msgid "%s ago"
msgstr "hace %s"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:243
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:259
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:357
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:242
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:258
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:356
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:253
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:269
#@ frontend-uploader
msgid "Y/m/d"
msgstr "Y/m/d"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:264
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:364
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:263
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:363
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:274
#@ frontend-uploader
msgid "(Unattached)"
msgstr "(No adjunto)"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:301
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:365
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:300
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:364
#@ frontend-uploader
msgid "Attach"
msgstr "Adjuntar"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:291
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:305
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:290
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:304
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:300
#@ frontend-uploader
msgid "Edit"
msgstr "Editar"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:294
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:310
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:293
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:309
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:310
#@ frontend-uploader
#@ default
msgid "Trash"
msgstr "Papelera"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:299
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:322
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:298
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:321
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:315
#@ frontend-uploader
msgid "View"
msgstr "Ver"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:308
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:307
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:308
#@ frontend-uploader
#@ default
msgid "Restore"
msgstr "Restaurar"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:359
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:358
#@ frontend-uploader
msgid "Re-Attach"
msgstr "Re-Adjuntar"
-#: frontend-uploader.php:589
+#: frontend-uploader.php:620
#@ frontend-uploader
msgid "Your Photo"
msgstr "Su imagen"
-#: frontend-uploader.php:590
+#: frontend-uploader.php:621
#@ frontend-uploader
msgid "Submit"
msgstr "Enviar"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:172
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:185
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:171
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:184
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:182
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:195
#, php-format
@@ -318,31 +318,31 @@ msgstr "Enviar"
msgid "Edit \"%s\""
msgstr "Editar \"%s\""
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:299
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:322
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:298
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:321
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:315
#, php-format
#@ frontend-uploader
msgid "View \"%s\""
msgstr "Ver \"%s\""
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:317
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:316
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:303
#@ frontend-uploader
msgid "Approve"
msgstr "Aprobar"
-#: frontend-uploader.php:698
+#: frontend-uploader.php:730
#@ frontend-uploader
msgid "This kind of file is not allowed. Please, try again selecting other file."
msgstr ""
-#: lib/php/frontend-uploader-settings.php:49
+#: lib/php/frontend-uploader-settings.php:47
#@ frontend-uploader
msgid "Frontend Uploader Settings"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:56
+#: lib/php/frontend-uploader-settings.php:54
#: lib/php/settings-api/procedural-example.php:20
#: lib/php/settings-api/settings-api.php:48
#@ frontend-uploader
@@ -350,23 +350,25 @@ msgstr ""
msgid "Basic Settings"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:73
+#: lib/php/frontend-uploader-settings.php:71
#@ frontend-uploader
msgid "Notify site admins"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:74
-#: lib/php/frontend-uploader-settings.php:104
+#: lib/php/frontend-uploader-settings.php:72
+#: lib/php/frontend-uploader-settings.php:102
+#: lib/php/frontend-uploader-settings.php:125
+#: lib/php/frontend-uploader-settings.php:132
#@ frontend-uploader
msgid "Yes"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:80
+#: lib/php/frontend-uploader-settings.php:78
#@ frontend-uploader
msgid "Admin Notification"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:81
+#: lib/php/frontend-uploader-settings.php:79
#@ frontend-uploader
msgid "Message that admin will get on new file upload"
msgstr ""
@@ -502,12 +504,12 @@ msgstr ""
msgid "Dropdown description"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:88
+#: lib/php/frontend-uploader-settings.php:86
#@ frontend-uploader
msgid "Notification email"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:89
+#: lib/php/frontend-uploader-settings.php:87
#@ frontend-uploader
msgid "Leave blank to use site admin email"
msgstr ""
@@ -517,8 +519,8 @@ msgstr ""
msgid "New content was uploaded on your site"
msgstr ""
-#: frontend-uploader.php:409
-#: frontend-uploader.php:413
+#: frontend-uploader.php:423
+#: frontend-uploader.php:427
#: lib/views/manage-ugc-posts.tpl.php:2
#@ frontend-uploader
msgid "Manage UGC Posts"
@@ -534,22 +536,22 @@ msgstr ""
msgid "Search Posts"
msgstr ""
-#: frontend-uploader.php:588
+#: frontend-uploader.php:619
#@ frontend-uploader
msgid "Description"
msgstr ""
-#: frontend-uploader.php:592
+#: frontend-uploader.php:623
#@ frontend-uploader
msgid "Title"
msgstr ""
-#: frontend-uploader.php:611
+#: frontend-uploader.php:642
#@ frontend-uploader
msgid "Credit"
msgstr ""
-#: frontend-uploader.php:702
+#: frontend-uploader.php:734
#@ frontend-uploader
msgid "The content you are trying to post is invalid."
msgstr ""
@@ -581,17 +583,17 @@ msgstr ""
msgid "Delete this item permanently"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:96
+#: lib/php/frontend-uploader-settings.php:94
#@ frontend-uploader
msgid "Allowed categories"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:97
+#: lib/php/frontend-uploader-settings.php:95
#@ frontend-uploader
msgid "Comma separated IDs (leave blank for all)"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:103
+#: lib/php/frontend-uploader-settings.php:101
#@ frontend-uploader
msgid "Show author field"
msgstr ""
@@ -602,27 +604,27 @@ msgstr ""
msgid "Unnamed"
msgstr ""
-#: frontend-uploader.php:557
+#: frontend-uploader.php:588
#@ frontend-uploader
msgid "Submit a new post"
msgstr ""
-#: frontend-uploader.php:572
+#: frontend-uploader.php:603
#@ frontend-uploader
msgid "Submit a media file"
msgstr ""
-#: frontend-uploader.php:670
+#: frontend-uploader.php:702
#@ frontend-uploader
msgid "There was an error with your submission"
msgstr ""
-#: frontend-uploader.php:695
+#: frontend-uploader.php:727
#@ frontend-uploader
msgid "Security check failed!"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:110
+#: lib/php/frontend-uploader-settings.php:108
#@ frontend-uploader
msgid "Enable Frontend Uploader for the following post types"
msgstr ""
@@ -672,3 +674,18 @@ msgstr ""
msgid "Text Input (integer validation)"
msgstr ""
+#: lib/php/frontend-uploader-settings.php:116
+#@ frontend-uploader
+msgid "Allow following files to be uploaded"
+msgstr ""
+
+#: lib/php/frontend-uploader-settings.php:124
+#@ frontend-uploader
+msgid "Auto-approve registered users files"
+msgstr ""
+
+#: lib/php/frontend-uploader-settings.php:131
+#@ frontend-uploader
+msgid "Auto-approve any files"
+msgstr ""
+
View
BIN languages/frontend-uploader-fr_CA.mo
Binary file not shown.
View
157 languages/frontend-uploader-fr_CA.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: Frontend Uploader v0.4.1\n"
+"Project-Id-Version: Frontend Uploader v0.5.1\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/frontend-uploader\n"
"POT-Creation-Date: 2012-08-30 05:30:59+00:00\n"
-"PO-Revision-Date: 2013-04-04 01:22:41+0000\n"
+"PO-Revision-Date: 2013-04-11 08:24:45+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -20,9 +20,9 @@ msgstr ""
"X-Poedit-SearchPath-0: .\n"
"X-Textdomain-Support: yes"
-#: frontend-uploader.php:403
-#: frontend-uploader.php:409
-#: frontend-uploader.php:413
+#: frontend-uploader.php:420
+#: frontend-uploader.php:423
+#: frontend-uploader.php:427
#: lib/views/manage-ugc-media.tpl.php:2
#@ frontend-uploader
msgid "Manage UGC"
@@ -128,27 +128,27 @@ msgstr "Fichier média récupéré depuis la corbeille."
msgid "Search Media"
msgstr "Rechercher un fichier média"
-#: frontend-uploader.php:589
+#: frontend-uploader.php:620
#@ frontend-uploader
msgid "Your Photo"
msgstr "Votre image"
-#: frontend-uploader.php:590
+#: frontend-uploader.php:621
#@ frontend-uploader
msgid "Submit"
msgstr "Envoyer"
-#: frontend-uploader.php:666
+#: frontend-uploader.php:698
#@ frontend-uploader
msgid "Your file was successfully uploaded!"
msgstr "Votre fichier a été envoyé avec succès !"
-#: frontend-uploader.php:698
+#: frontend-uploader.php:730
#@ frontend-uploader
msgid "This kind of file is not allowed. Please, try again selecting other file."
msgstr "Ce type de fichier n'est pas autorisé. Merci d'essayer avec un autre fichier."
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:61
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:60
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:71
#, php-format
#@ default
@@ -158,7 +158,7 @@ msgid_plural "All <span class=\"count\">(%s)</span>"
msgstr[0] "Tous <span class=\"count\">(%s)</span>"
msgstr[1] "Tous <span class=\"count\">(%s)</span>"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:73
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:72
#, php-format
#@ default
msgctxt "detached files"
@@ -167,7 +167,7 @@ msgid_plural "Unattached <span class=\"count\">(%s)</span>"
msgstr[0] "Non attaché <span class=\"count\">(%s)</span>"
msgstr[1] "Non attachés <span class=\"count\">(%s)</span>"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:76
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:75
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:85
#, php-format
#@ default
@@ -177,9 +177,9 @@ msgid_plural "Trash <span class=\"count\">(%s)</span>"
msgstr[0] "Corbeille <span class=\"count\">(%s)</span>"
msgstr[1] "Corbeille <span class=\"count\">(%s)</span>"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:83
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:297
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:313
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:82
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:296
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:312
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:94
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:312
#@ frontend-uploader
@@ -187,47 +187,47 @@ msgstr[1] "Corbeille <span class=\"count\">(%s)</span>"
msgid "Delete Permanently"
msgstr "Supprimer définitivement"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:85
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:84
#@ frontend-uploader
msgid "Attach to a post"
msgstr "Joindre à un article"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:108
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:107
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:120
#@ frontend-uploader
msgid "No media attachments found."
msgstr "Aucun fichier média."
#. translators: column name
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:116
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:115
#@ default
msgctxt "column name"
msgid "File"
msgstr "Fichier"
-#: frontend-uploader.php:608
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:117
+#: frontend-uploader.php:639
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:116
#@ frontend-uploader
msgid "Author"
msgstr "Votre nom ou pseudo"
#. translators: column name
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:120
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:119
#@ default
msgctxt "column name"
msgid "Attached to"
msgstr "Attaché à"
#. translators: column name
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:123
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:122
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:131
#@ default
msgctxt "column name"
msgid "Date"
msgstr "Date"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:172
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:185
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:171
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:184
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:182
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:195
#, php-format
@@ -235,114 +235,114 @@ msgstr "Date"
msgid "Edit \"%s\""
msgstr "Modifier \"%s\""
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:217
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:216
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:227
#@ frontend-uploader
msgid "No Tags"
msgstr "Aucun mot-clef."
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:232
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:231
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:242
#@ frontend-uploader
msgid "Unpublished"
msgstr "Non publié"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:234
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:233
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:244
#@ frontend-uploader
msgid "Y/m/d g:i:s A"
msgstr "d/m/Y H:i:s"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:239
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:238
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:249
#, php-format
#@ frontend-uploader
msgid "%s from now"
msgstr "%s à partir de maintenant"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:241
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:240
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:251
#, php-format
#@ frontend-uploader
msgid "%s ago"
msgstr "Il y a %s"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:243
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:259
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:357
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:242
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:258
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:356
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:253
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:269
#@ frontend-uploader
msgid "Y/m/d"
msgstr "d/m/Y"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:264
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:364
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:263
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:363
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:274
#@ frontend-uploader
msgid "(Unattached)"
msgstr "(Non-attaché)"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:291
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:305
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:290
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:304
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:300
#@ frontend-uploader
msgid "Edit"
msgstr "Modifier"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:294
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:310
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:293
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:309
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:310
#@ frontend-uploader
#@ default
msgid "Trash"
msgstr "Mettre à la corbeille"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:299
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:322
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:298
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:321
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:315
#, php-format
#@ frontend-uploader
msgid "View \"%s\""
msgstr "Afficher \"%s\""
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:299
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:322
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:298
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:321
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:315
#@ frontend-uploader
msgid "View"
msgstr "Afficher"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:301
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:365
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:300
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:364
#@ frontend-uploader
msgid "Attach"
msgstr "Joindre"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:308
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:307
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:308
#@ frontend-uploader
#@ default
msgid "Restore"
msgstr "Récupérer"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:317
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:316
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:303
#@ frontend-uploader
msgid "Approve"
msgstr "Valider"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:359
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:358
#@ frontend-uploader
msgid "Re-Attach"
msgstr "Re-Joindre"
-#: lib/php/frontend-uploader-settings.php:49
+#: lib/php/frontend-uploader-settings.php:47
#@ frontend-uploader
msgid "Frontend Uploader Settings"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:56
+#: lib/php/frontend-uploader-settings.php:54
#: lib/php/settings-api/procedural-example.php:20
#: lib/php/settings-api/settings-api.php:48
#@ frontend-uploader
@@ -350,23 +350,25 @@ msgstr ""
msgid "Basic Settings"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:73
+#: lib/php/frontend-uploader-settings.php:71
#@ frontend-uploader
msgid "Notify site admins"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:74
-#: lib/php/frontend-uploader-settings.php:104
+#: lib/php/frontend-uploader-settings.php:72
+#: lib/php/frontend-uploader-settings.php:102
+#: lib/php/frontend-uploader-settings.php:125
+#: lib/php/frontend-uploader-settings.php:132
#@ frontend-uploader
msgid "Yes"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:80
+#: lib/php/frontend-uploader-settings.php:78
#@ frontend-uploader
msgid "Admin Notification"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:81
+#: lib/php/frontend-uploader-settings.php:79
#@ frontend-uploader
msgid "Message that admin will get on new file upload"
msgstr ""
@@ -502,17 +504,17 @@ msgstr ""
msgid "Dropdown description"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:88
+#: lib/php/frontend-uploader-settings.php:86
#@ frontend-uploader
msgid "Notification email"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:89
+#: lib/php/frontend-uploader-settings.php:87
#@ frontend-uploader
msgid "Leave blank to use site admin email"
msgstr ""
-#: frontend-uploader.php:611
+#: frontend-uploader.php:642
#@ frontend-uploader
msgid "Credit"
msgstr "Crédit photo"
@@ -522,8 +524,8 @@ msgstr "Crédit photo"
msgid "New content was uploaded on your site"
msgstr ""
-#: frontend-uploader.php:409
-#: frontend-uploader.php:413
+#: frontend-uploader.php:423
+#: frontend-uploader.php:427
#: lib/views/manage-ugc-posts.tpl.php:2
#@ frontend-uploader
msgid "Manage UGC Posts"
@@ -539,17 +541,17 @@ msgstr "Vous n'avez pas la permission de publier des messages."
msgid "Search Posts"
msgstr "Chercher des messages"
-#: frontend-uploader.php:588
+#: frontend-uploader.php:619
#@ frontend-uploader
msgid "Description"
msgstr "Description"
-#: frontend-uploader.php:592
+#: frontend-uploader.php:623
#@ frontend-uploader
msgid "Title"
msgstr "Titre"
-#: frontend-uploader.php:702
+#: frontend-uploader.php:734
#@ frontend-uploader
msgid "The content you are trying to post is invalid."
msgstr "contenu que vous essayez d'afficher n’est pas valide."
@@ -581,17 +583,17 @@ msgstr "Déplacez cet article vers la corbeille"
msgid "Delete this item permanently"
msgstr "Supprimer cet élément de façon permanente"
-#: lib/php/frontend-uploader-settings.php:96
+#: lib/php/frontend-uploader-settings.php:94
#@ frontend-uploader
msgid "Allowed categories"
msgstr "Catégories autorisées"
-#: lib/php/frontend-uploader-settings.php:97
+#: lib/php/frontend-uploader-settings.php:95
#@ frontend-uploader
msgid "Comma separated IDs (leave blank for all)"
msgstr "Numéros d'identification séparés par des virgules (laisser vide)"
-#: lib/php/frontend-uploader-settings.php:103
+#: lib/php/frontend-uploader-settings.php:101
#@ frontend-uploader
msgid "Show author field"
msgstr "Afficher le champ de l’auteur"
@@ -602,27 +604,27 @@ msgstr "Afficher le champ de l’auteur"
msgid "Unnamed"
msgstr ""
-#: frontend-uploader.php:557
+#: frontend-uploader.php:588
#@ frontend-uploader
msgid "Submit a new post"
msgstr ""
-#: frontend-uploader.php:572
+#: frontend-uploader.php:603
#@ frontend-uploader
msgid "Submit a media file"
msgstr ""
-#: frontend-uploader.php:670
+#: frontend-uploader.php:702
#@ frontend-uploader
msgid "There was an error with your submission"
msgstr ""
-#: frontend-uploader.php:695
+#: frontend-uploader.php:727
#@ frontend-uploader
msgid "Security check failed!"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:110
+#: lib/php/frontend-uploader-settings.php:108
#@ frontend-uploader
msgid "Enable Frontend Uploader for the following post types"
msgstr ""
@@ -672,3 +674,18 @@ msgstr ""
msgid "Text Input (integer validation)"
msgstr ""
+#: lib/php/frontend-uploader-settings.php:116
+#@ frontend-uploader
+msgid "Allow following files to be uploaded"
+msgstr ""
+
+#: lib/php/frontend-uploader-settings.php:124
+#@ frontend-uploader
+msgid "Auto-approve registered users files"
+msgstr ""
+
+#: lib/php/frontend-uploader-settings.php:131
+#@ frontend-uploader
+msgid "Auto-approve any files"
+msgstr ""
+
View
BIN languages/frontend-uploader-fr_FR.mo
Binary file not shown.
View
157 languages/frontend-uploader-fr_FR.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: Frontend Uploader v0.4.1\n"
+"Project-Id-Version: Frontend Uploader v0.5.1\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/frontend-uploader\n"
"POT-Creation-Date: 2013-02-18 01:35:10+00:00\n"
-"PO-Revision-Date: 2013-04-04 01:22:46+0000\n"
+"PO-Revision-Date: 2013-04-11 08:24:49+0000\n"
"Last-Translator: Guillaume Duhec <guillaume@guillaumeduhec.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -25,9 +25,9 @@ msgstr ""
msgid "New content was uploaded on your site"
msgstr "Un nouveau fichier a été envoyé sur votre site !"
-#: frontend-uploader.php:403
-#: frontend-uploader.php:409
-#: frontend-uploader.php:413
+#: frontend-uploader.php:420
+#: frontend-uploader.php:423
+#: frontend-uploader.php:427
#: lib/views/manage-ugc-media.tpl.php:2
#@ frontend-uploader
msgid "Manage UGC"
@@ -133,8 +133,8 @@ msgstr "Fichier média récupéré depuis la corbeille."
msgid "Search Media"
msgstr "Rechercher un fichier média"
-#: frontend-uploader.php:409
-#: frontend-uploader.php:413
+#: frontend-uploader.php:423
+#: frontend-uploader.php:427
#: lib/views/manage-ugc-posts.tpl.php:2
#@ frontend-uploader
msgid "Manage UGC Posts"
@@ -150,53 +150,53 @@ msgstr "Vous n'avez pas les permissions nécessaires pour publier."
msgid "Search Posts"
msgstr "Rechercher"
-#: frontend-uploader.php:588
+#: frontend-uploader.php:619
#@ frontend-uploader
msgid "Description"
msgstr "Description"
-#: frontend-uploader.php:589
+#: frontend-uploader.php:620
#@ frontend-uploader
msgid "Your Photo"
msgstr "Votre image"
-#: frontend-uploader.php:590
+#: frontend-uploader.php:621
#@ frontend-uploader
msgid "Submit"
msgstr "Envoyer"
-#: frontend-uploader.php:592
+#: frontend-uploader.php:623
#@ frontend-uploader
msgid "Title"
msgstr "Titre"
-#: frontend-uploader.php:608
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:117
+#: frontend-uploader.php:639
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:116
#@ frontend-uploader
msgid "Author"
msgstr "Votre nom ou pseudo"
-#: frontend-uploader.php:611
+#: frontend-uploader.php:642
#@ frontend-uploader
msgid "Credit"
msgstr "Crédit photo"
-#: frontend-uploader.php:666
+#: frontend-uploader.php:698
#@ frontend-uploader
msgid "Your file was successfully uploaded!"
msgstr "Votre fichier a été envoyé avec succès !"
-#: frontend-uploader.php:698
+#: frontend-uploader.php:730
#@ frontend-uploader
msgid "This kind of file is not allowed. Please, try again selecting other file."
msgstr "Ce type de fichier n'est pas autorisé. Merci d'essayer avec un autre fichier."
-#: frontend-uploader.php:702
+#: frontend-uploader.php:734
#@ frontend-uploader
msgid "The content you are trying to post is invalid."
msgstr "Le contenu que vous souhaitez envoyer n'est pas valide."
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:61
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:60
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:71
#, php-format
#@ default
@@ -206,7 +206,7 @@ msgid_plural "All <span class=\"count\">(%s)</span>"
msgstr[0] "Tous <span class=\"count\">(%s)</span>"
msgstr[1] "Tous <span class=\"count\">(%s)</span>"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:73
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:72
#, php-format
#@ default
msgctxt "detached files"
@@ -215,7 +215,7 @@ msgid_plural "Unattached <span class=\"count\">(%s)</span>"
msgstr[0] "Non attaché <span class=\"count\">(%s)</span>"
msgstr[1] "Non attachés <span class=\"count\">(%s)</span>"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:76
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:75
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:85
#, php-format
#@ default
@@ -225,9 +225,9 @@ msgid_plural "Trash <span class=\"count\">(%s)</span>"
msgstr[0] "Corbeille <span class=\"count\">(%s)</span>"
msgstr[1] "Corbeille <span class=\"count\">(%s)</span>"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:83
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:297
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:313
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:82
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:296
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:312
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:94
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:312
#@ frontend-uploader
@@ -235,41 +235,41 @@ msgstr[1] "Corbeille <span class=\"count\">(%s)</span>"
msgid "Delete Permanently"
msgstr "Supprimer définitivement"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:85
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:84
#@ frontend-uploader
msgid "Attach to a post"
msgstr "Joindre à un article"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:108
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:107
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:120
#@ frontend-uploader
msgid "No media attachments found."
msgstr "Aucun fichier média."
#. translators: column name
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:116
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:115
#@ default
msgctxt "column name"
msgid "File"
msgstr "Fichier"
#. translators: column name
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:120
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:119
#@ default
msgctxt "column name"
msgid "Attached to"
msgstr "Attaché à"
#. translators: column name
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:123
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:122
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:131
#@ default
msgctxt "column name"
msgid "Date"
msgstr "Date"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:172
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:185
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:171
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:184
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:182
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:195
#, php-format
@@ -277,114 +277,114 @@ msgstr "Date"
msgid "Edit \"%s\""
msgstr "Modifier \"%s\""
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:217
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:216
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:227
#@ frontend-uploader
msgid "No Tags"
msgstr "Aucun mot-clef."
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:232
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:231
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:242
#@ frontend-uploader
msgid "Unpublished"
msgstr "Non publié"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:234
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:233
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:244
#@ frontend-uploader
msgid "Y/m/d g:i:s A"
msgstr "d/m/Y H:i:s"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:239
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:238
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:249
#, php-format
#@ frontend-uploader
msgid "%s from now"
msgstr "%s à partir de maintenant"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:241
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:240
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:251
#, php-format
#@ frontend-uploader
msgid "%s ago"
msgstr "Il y a %s"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:243
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:259
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:357
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:242
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:258
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:356
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:253
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:269
#@ frontend-uploader
msgid "Y/m/d"
msgstr "d/m/Y"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:264
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:364
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:263
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:363
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:274
#@ frontend-uploader
msgid "(Unattached)"
msgstr "(Non-attaché)"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:291
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:305
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:290
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:304
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:300
#@ frontend-uploader
msgid "Edit"
msgstr "Modifier"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:294
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:310
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:293
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:309
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:310
#@ frontend-uploader
#@ default
msgid "Trash"
msgstr "Mettre à la corbeille"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:299
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:322
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:298
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:321
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:315
#, php-format
#@ frontend-uploader
msgid "View \"%s\""
msgstr "Afficher \"%s\""
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:299
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:322
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:298
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:321
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:315
#@ frontend-uploader
msgid "View"
msgstr "Afficher"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:301
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:365
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:300
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:364
#@ frontend-uploader
msgid "Attach"
msgstr "Joindre"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:308
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:307
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:308
#@ frontend-uploader
#@ default
msgid "Restore"
msgstr "Récupérer"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:317
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:316
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:303
#@ frontend-uploader
msgid "Approve"
msgstr "Valider"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:359
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:358
#@ frontend-uploader
msgid "Re-Attach"
msgstr "Re-Joindre"
-#: lib/php/frontend-uploader-settings.php:49
+#: lib/php/frontend-uploader-settings.php:47
#@ frontend-uploader
msgid "Frontend Uploader Settings"
msgstr "Frontend Uploader - Réglages "
-#: lib/php/frontend-uploader-settings.php:56
+#: lib/php/frontend-uploader-settings.php:54
#: lib/php/settings-api/procedural-example.php:20
#: lib/php/settings-api/settings-api.php:48
#@ frontend-uploader
@@ -392,48 +392,50 @@ msgstr "Frontend Uploader - Réglages "
msgid "Basic Settings"
msgstr "Réglages de base"
-#: lib/php/frontend-uploader-settings.php:73
+#: lib/php/frontend-uploader-settings.php:71
#@ frontend-uploader
msgid "Notify site admins"
msgstr "Notifier l'administrateur du site"
-#: lib/php/frontend-uploader-settings.php:74
-#: lib/php/frontend-uploader-settings.php:104
+#: lib/php/frontend-uploader-settings.php:72
+#: lib/php/frontend-uploader-settings.php:102
+#: lib/php/frontend-uploader-settings.php:125
+#: lib/php/frontend-uploader-settings.php:132
#@ frontend-uploader
msgid "Yes"
msgstr "Oui"
-#: lib/php/frontend-uploader-settings.php:80
+#: lib/php/frontend-uploader-settings.php:78
#@ frontend-uploader
msgid "Admin Notification"
msgstr "Notification à l'administrateur du site"
-#: lib/php/frontend-uploader-settings.php:81
+#: lib/php/frontend-uploader-settings.php:79
#@ frontend-uploader
msgid "Message that admin will get on new file upload"
msgstr "Message envoyé à l'administrateur lors d'un nouvel upload"
-#: lib/php/frontend-uploader-settings.php:88
+#: lib/php/frontend-uploader-settings.php:86
#@ frontend-uploader
msgid "Notification email"
msgstr "Notification par email"
-#: lib/php/frontend-uploader-settings.php:89
+#: lib/php/frontend-uploader-settings.php:87
#@ frontend-uploader
msgid "Leave blank to use site admin email"
msgstr "Laisser vide pour utiliser l'email de l'administrateur"
-#: lib/php/frontend-uploader-settings.php:96
+#: lib/php/frontend-uploader-settings.php:94
#@ frontend-uploader
msgid "Allowed categories"
msgstr "Catégories autorisées"
-#: lib/php/frontend-uploader-settings.php:97
+#: lib/php/frontend-uploader-settings.php:95
#@ frontend-uploader
msgid "Comma separated IDs (leave blank for all)"
msgstr "ID séparées par virgule (laisser vide pour 'toutes')"
-#: lib/php/frontend-uploader-settings.php:103
+#: lib/php/frontend-uploader-settings.php:101
#@ frontend-uploader
msgid "Show author field"
msgstr "Afficher le champ 'Auteur'"
@@ -575,22 +577,22 @@ msgstr "Description du menu déroulant"
msgid "Unnamed"
msgstr ""
-#: frontend-uploader.php:557
+#: frontend-uploader.php:588
#@ frontend-uploader
msgid "Submit a new post"
msgstr ""
-#: frontend-uploader.php:572
+#: frontend-uploader.php:603
#@ frontend-uploader
msgid "Submit a media file"
msgstr ""
-#: frontend-uploader.php:670
+#: frontend-uploader.php:702
#@ frontend-uploader
msgid "There was an error with your submission"
msgstr ""
-#: frontend-uploader.php:695
+#: frontend-uploader.php:727
#@ frontend-uploader
msgid "Security check failed!"
msgstr ""
@@ -622,7 +624,7 @@ msgstr ""
msgid "Delete this item permanently"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:110
+#: lib/php/frontend-uploader-settings.php:108
#@ frontend-uploader
msgid "Enable Frontend Uploader for the following post types"
msgstr ""
@@ -672,3 +674,18 @@ msgstr ""
msgid "Text Input (integer validation)"
msgstr ""
+#: lib/php/frontend-uploader-settings.php:116
+#@ frontend-uploader
+msgid "Allow following files to be uploaded"
+msgstr ""
+
+#: lib/php/frontend-uploader-settings.php:124
+#@ frontend-uploader
+msgid "Auto-approve registered users files"
+msgstr ""
+
+#: lib/php/frontend-uploader-settings.php:131
+#@ frontend-uploader
+msgid "Auto-approve any files"
+msgstr ""
+
View
BIN languages/frontend-uploader-ru_RU.mo
Binary file not shown.
View
157 languages/frontend-uploader-ru_RU.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
-"Project-Id-Version: Frontend Uploader v0.4.1\n"
+"Project-Id-Version: Frontend Uploader v0.5.1\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-frontend-uploader\n"
"POT-Creation-Date: 2012-09-01 23:44:34+00:00\n"
-"PO-Revision-Date: 2013-04-04 01:22:50+0000\n"
+"PO-Revision-Date: 2013-04-11 08:24:53+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
@@ -20,9 +20,9 @@ msgstr ""
"X-Poedit-SearchPath-0: .\n"
"X-Textdomain-Support: yes"
-#: frontend-uploader.php:403
-#: frontend-uploader.php:409
-#: frontend-uploader.php:413
+#: frontend-uploader.php:420
+#: frontend-uploader.php:423
+#: frontend-uploader.php:427
#: lib/views/manage-ugc-media.tpl.php:2
#@ frontend-uploader
msgid "Manage UGC"
@@ -132,27 +132,27 @@ msgstr "Файл восстановлен из корзины"
msgid "Search Media"
msgstr "Поиск файла"
-#: frontend-uploader.php:589
+#: frontend-uploader.php:620
#@ frontend-uploader
msgid "Your Photo"
msgstr "Ваш файл"
-#: frontend-uploader.php:590
+#: frontend-uploader.php:621
#@ frontend-uploader
msgid "Submit"
msgstr "Загрузить"
-#: frontend-uploader.php:666
+#: frontend-uploader.php:698
#@ frontend-uploader
msgid "Your file was successfully uploaded!"
msgstr "Файл был загружен"
-#: frontend-uploader.php:698
+#: frontend-uploader.php:730
#@ frontend-uploader
msgid "This kind of file is not allowed. Please, try again selecting other file."
msgstr "Файл данного типа не разрешено загружать. Попробуйте другой файл"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:61
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:60
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:71
#, php-format
#@ default
@@ -163,7 +163,7 @@ msgstr[0] "Все <span class=\"count\">(%s)</span>"
msgstr[1] "Все <span class=\"count\">(%s)</span>"
msgstr[2] "Все <span class=\"count\">(%s)</span>"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:73
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:72
#, php-format
#@ default
msgctxt "detached files"
@@ -173,7 +173,7 @@ msgstr[0] "Неприкреплённые <span class=\"count\">(%s)</span>"
msgstr[1] "Неприкреплённые <span class=\"count\">(%s)</span>"
msgstr[2] "Неприкреплённые <span class=\"count\">(%s)</span>"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:76
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:75
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:85
#, php-format
#@ default
@@ -184,9 +184,9 @@ msgstr[0] "Корзина <span class=\"count\">(%s)</span>"
msgstr[1] "Корзина <span class=\"count\">(%s)</span>"
msgstr[2] "Корзина <span class=\"count\">(%s)</span>"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:83
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:297
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:313
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:82
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:296
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:312
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:94
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:312
#@ frontend-uploader
@@ -194,47 +194,47 @@ msgstr[2] "Корзина <span class=\"count\">(%s)</span>"
msgid "Delete Permanently"
msgstr "Удалить навсегда"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:85
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:84
#@ frontend-uploader
msgid "Attach to a post"
msgstr "Прикрепить к посту"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:108
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:107
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:120
#@ frontend-uploader
msgid "No media attachments found."
msgstr "Файлов не найдено"
#. translators: column name
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:116
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:115
#@ default
msgctxt "column name"
msgid "File"
msgstr "Файл"
-#: frontend-uploader.php:608
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:117
+#: frontend-uploader.php:639
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:116
#@ frontend-uploader
msgid "Author"
msgstr "Автор"
#. translators: column name
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:120
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:119
#@ default
msgctxt "column name"
msgid "Attached to"
msgstr "Прикреплен к"
#. translators: column name
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:123
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:122
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:131
#@ default
msgctxt "column name"
msgid "Date"
msgstr "Дата"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:172
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:185
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:171
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:184
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:182
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:195
#, php-format
@@ -242,114 +242,114 @@ msgstr "Дата"
msgid "Edit \"%s\""
msgstr "Редактировать"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:217
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:216
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:227
#@ frontend-uploader
msgid "No Tags"
msgstr "Нет тэгов"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:232
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:231
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:242
#@ frontend-uploader
msgid "Unpublished"
msgstr "Не прикреплен"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:234
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:233
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:244
#@ frontend-uploader
msgid "Y/m/d g:i:s A"
msgstr "Y/m/d g:i:s A"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:239
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:238
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:249
#, php-format
#@ frontend-uploader
msgid "%s from now"
msgstr "%s спустя"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:241
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:240
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:251
#, php-format
#@ frontend-uploader
msgid "%s ago"
msgstr "%s назад"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:243
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:259
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:357
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:242
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:258
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:356
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:253
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:269
#@ frontend-uploader
msgid "Y/m/d"
msgstr "Y/m/d"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:264
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:364
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:263
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:363
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:274
#@ frontend-uploader
msgid "(Unattached)"
msgstr "(Не прикреплен)"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:291
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:305
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:290
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:304
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:300
#@ frontend-uploader
msgid "Edit"
msgstr "Редактировать"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:294
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:310
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:293
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:309
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:310
#@ frontend-uploader
#@ default
msgid "Trash"
msgstr "Корзина"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:299
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:322
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:298
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:321
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:315
#, php-format
#@ frontend-uploader
msgid "View \"%s\""
msgstr "Просмотреть \"%s\""
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:299
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:322
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:298
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:321
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:315
#@ frontend-uploader
msgid "View"
msgstr "Просмотреть"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:301
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:365
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:300
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:364
#@ frontend-uploader
msgid "Attach"
msgstr "Прикрепить"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:308
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:307
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:308
#@ frontend-uploader
#@ default
msgid "Restore"
msgstr "Восстановить"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:317
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:316
#: lib/php/class-frontend-uploader-wp-posts-list-table.php:303
#@ frontend-uploader
msgid "Approve"
msgstr "Подтвердить"
-#: lib/php/class-frontend-uploader-wp-media-list-table.php:359
+#: lib/php/class-frontend-uploader-wp-media-list-table.php:358
#@ frontend-uploader
msgid "Re-Attach"
msgstr "Переприкрепить"
-#: lib/php/frontend-uploader-settings.php:49
+#: lib/php/frontend-uploader-settings.php:47
#@ frontend-uploader
msgid "Frontend Uploader Settings"
msgstr "Настройки Frontend Uploader"
-#: lib/php/frontend-uploader-settings.php:56
+#: lib/php/frontend-uploader-settings.php:54
#: lib/php/settings-api/procedural-example.php:20
#: lib/php/settings-api/settings-api.php:48
#@ frontend-uploader
@@ -357,23 +357,25 @@ msgstr "Настройки Frontend Uploader"
msgid "Basic Settings"
msgstr "Базовые настройки"
-#: lib/php/frontend-uploader-settings.php:73
+#: lib/php/frontend-uploader-settings.php:71
#@ frontend-uploader
msgid "Notify site admins"
msgstr "Уведомлять администратора"
-#: lib/php/frontend-uploader-settings.php:74
-#: lib/php/frontend-uploader-settings.php:104
+#: lib/php/frontend-uploader-settings.php:72
+#: lib/php/frontend-uploader-settings.php:102
+#: lib/php/frontend-uploader-settings.php:125
+#: lib/php/frontend-uploader-settings.php:132
#@ frontend-uploader
msgid "Yes"
msgstr "Да"
-#: lib/php/frontend-uploader-settings.php:80
+#: lib/php/frontend-uploader-settings.php:78
#@ frontend-uploader
msgid "Admin Notification"
msgstr "Текст уведомления"
-#: lib/php/frontend-uploader-settings.php:81
+#: lib/php/frontend-uploader-settings.php:79
#@ frontend-uploader
msgid "Message that admin will get on new file upload"
msgstr "Сообщение, которое получит администратор при загрузке файла"
@@ -509,12 +511,12 @@ msgstr ""
msgid "Dropdown description"
msgstr ""
-#: lib/php/frontend-uploader-settings.php:88
+#: lib/php/frontend-uploader-settings.php:86
#@ frontend-uploader
msgid "Notification email"
msgstr "Email для Уведомления"
-#: lib/php/frontend-uploader-settings.php:89
+#: lib/php/frontend-uploader-settings.php:87
#@ frontend-uploader
msgid "Leave blank to use site admin email"
msgstr "Оставьте пустым, чтобы использовать email администратора сайта"
@@ -524,8 +526,8 @@ msgstr "Оставьте пустым, чтобы использовать email
msgid "New content was uploaded on your site"
msgstr "Новый контент был загружен на сайт"
-#: frontend-uploader.php:409
-#: frontend-uploader.php:413
+#: frontend-uploader.php:423
+#: frontend-uploader.php:427
#: lib/views/manage-ugc-posts.tpl.php:2
#@ frontend-uploader
msgid "Manage UGC Posts"
@@ -541,17 +543,17 @@ msgstr "У Вас нет права публиковать посты"
msgid "Search Posts"
msgstr "Найти пост"
-#: frontend-uploader.php:588
+#: frontend-uploader.php:619