Version Description
- Add option to force the file uploader in avatar upload shortcode
Download this release
Release Info
Developer | onedesigns |
Plugin | One User Avatar | User Profile Picture |
Version | 2.3.4 |
Comparing to | |
See all releases |
Code changes from version 2.3.0 to 2.3.4
- README.md +19 -0
- assets/css/jquery-ui.css +1 -1
- assets/css/tinymce-window.css +32 -32
- assets/css/wp-user-avatar.css +1 -1
- assets/js/tinymce-editor_plugin.js +18 -18
- assets/js/tinymce-window.js +70 -70
- assets/js/wp-user-avatar-admin.js +1 -1
- assets/js/wp-user-avatar-user.js +1 -1
- assets/js/wp-user-avatar.js +140 -140
- includes/class-wp-user-avatar-admin.php +45 -44
- includes/class-wp-user-avatar-functions.php +171 -170
- includes/class-wp-user-avatar-list-table.php +225 -229
- includes/class-wp-user-avatar-resource-manager.php +7 -7
- includes/class-wp-user-avatar-setup.php +16 -18
- includes/class-wp-user-avatar-shortcode.php +26 -26
- includes/class-wp-user-avatar-subscriber.php +9 -9
- includes/class-wp-user-avatar-update.php +11 -11
- includes/class-wp-user-avatar-widget.php +10 -10
- includes/class-wp-user-avatar.php +40 -36
- includes/wpua-functions.php +17 -17
- includes/wpua-globals.php +11 -9
- includes/wpua-media-page.php +12 -12
- includes/wpua-options-page.php +278 -251
- includes/wpua-tinymce-window.php +7 -7
- includes/wpua-tinymce.php +1 -1
- languages/de_DE.mo +0 -0
- languages/de_DE.po +84 -69
- languages/en_GB.mo +0 -0
- languages/en_GB.po +83 -69
- languages/es_ES.mo +0 -0
- languages/es_ES.po +84 -69
- languages/fr_FR.mo +0 -0
- languages/fr_FR.po +85 -69
- languages/it_IT.mo +0 -0
- languages/it_IT.po +83 -74
- languages/nl_NL.mo +0 -0
- languages/nl_NL.po +93 -92
- languages/one-user-avatar.pot +88 -78
- languages/pt_BR.mo +0 -0
- languages/pt_BR.po +494 -0
- languages/pt_PT.mo +0 -0
- languages/pt_PT.po +494 -0
- languages/ro_RO.mo +0 -0
- languages/ro_RO.po +86 -71
- one-user-avatar.php +19 -12
- readme.txt +20 -1
- uninstall.php +3 -3
README.md
CHANGED
@@ -385,6 +385,25 @@ This would output:
|
|
385 |
|
386 |
## Changelog
|
387 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
388 |
### 2.3.0
|
389 |
* Rename to One User Avatar
|
390 |
* Rewrite to conform with WordPress Coding Standards
|
385 |
|
386 |
## Changelog
|
387 |
|
388 |
+
### 2.3.4
|
389 |
+
* Add option to force the file uploader in avatar upload shortcode
|
390 |
+
|
391 |
+
### 2.3.3
|
392 |
+
* Fix parse error in PHP 7
|
393 |
+
|
394 |
+
### 2.3.2
|
395 |
+
* Fix missing Portuguese translation
|
396 |
+
|
397 |
+
### 2.3.1
|
398 |
+
* Add Portuguese translation
|
399 |
+
* Add One_User_Avatar::plugin_dir_path() function
|
400 |
+
* Improve Dutch translation
|
401 |
+
* Remove redundant plural translation for 'All %s'
|
402 |
+
* Make URLs translatable
|
403 |
+
* Remove obsolete translation strings
|
404 |
+
* Fix indentation
|
405 |
+
* Fix nested call to wp_nonce_url()
|
406 |
+
|
407 |
### 2.3.0
|
408 |
* Rename to One User Avatar
|
409 |
* Rewrite to conform with WordPress Coding Standards
|
assets/css/jquery-ui.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! jQuery UI -
|
2 |
* http://jqueryui.com
|
3 |
* Includes: core.css, slider.css, theme.css
|
4 |
* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=smoothness&cornerRadiusShadow=8px&offsetLeftShadow=-8px&offsetTopShadow=-8px&thicknessShadow=8px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=aaaaaa&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cd0a0a&fcError=cd0a0a&borderColorError=cd0a0a&bgImgOpacityError=95&bgTextureError=glass&bgColorError=fef1ec&iconColorHighlight=2e83ff&fcHighlight=363636&borderColorHighlight=fcefa1&bgImgOpacityHighlight=55&bgTextureHighlight=glass&bgColorHighlight=fbf9ee&iconColorActive=454545&fcActive=212121&borderColorActive=aaaaaa&bgImgOpacityActive=65&bgTextureActive=glass&bgColorActive=ffffff&iconColorHover=454545&fcHover=212121&borderColorHover=999999&bgImgOpacityHover=75&bgTextureHover=glass&bgColorHover=dadada&iconColorDefault=888888&fcDefault=555555&borderColorDefault=d3d3d3&bgImgOpacityDefault=75&bgTextureDefault=glass&bgColorDefault=e6e6e6&iconColorContent=222222&fcContent=222222&borderColorContent=aaaaaa&bgImgOpacityContent=75&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=222222&fcHeader=222222&borderColorHeader=aaaaaa&bgImgOpacityHeader=75&bgTextureHeader=highlight_soft&bgColorHeader=cccccc&cornerRadius=4px&fsDefault=1.1em&fwDefault=normal&ffDefault=Verdana%2CArial%2Csans-serif
|
1 |
+
/*! jQuery UI - v1.12.1 - 2021-05-21
|
2 |
* http://jqueryui.com
|
3 |
* Includes: core.css, slider.css, theme.css
|
4 |
* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=smoothness&cornerRadiusShadow=8px&offsetLeftShadow=-8px&offsetTopShadow=-8px&thicknessShadow=8px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=aaaaaa&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cd0a0a&fcError=cd0a0a&borderColorError=cd0a0a&bgImgOpacityError=95&bgTextureError=glass&bgColorError=fef1ec&iconColorHighlight=2e83ff&fcHighlight=363636&borderColorHighlight=fcefa1&bgImgOpacityHighlight=55&bgTextureHighlight=glass&bgColorHighlight=fbf9ee&iconColorActive=454545&fcActive=212121&borderColorActive=aaaaaa&bgImgOpacityActive=65&bgTextureActive=glass&bgColorActive=ffffff&iconColorHover=454545&fcHover=212121&borderColorHover=999999&bgImgOpacityHover=75&bgTextureHover=glass&bgColorHover=dadada&iconColorDefault=888888&fcDefault=555555&borderColorDefault=d3d3d3&bgImgOpacityDefault=75&bgTextureDefault=glass&bgColorDefault=e6e6e6&iconColorContent=222222&fcContent=222222&borderColorContent=aaaaaa&bgImgOpacityContent=75&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=222222&fcHeader=222222&borderColorHeader=aaaaaa&bgImgOpacityHeader=75&bgTextureHeader=highlight_soft&bgColorHeader=cccccc&cornerRadius=4px&fsDefault=1.1em&fwDefault=normal&ffDefault=Verdana%2CArial%2Csans-serif
|
assets/css/tinymce-window.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! One User Avatar - 2.3.
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
@@ -7,67 +7,67 @@
|
|
7 |
*/
|
8 |
|
9 |
#wpua-tabs ul {
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
}
|
14 |
|
15 |
#wpua-tabs ul li {
|
16 |
-
|
17 |
}
|
18 |
|
19 |
#wpua-tabs ul li a {
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
}
|
30 |
|
31 |
#wpua-tabs ul li.ui-tabs-active a {
|
32 |
-
|
33 |
}
|
34 |
|
35 |
#wpua-tabs form {
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
}
|
40 |
|
41 |
#wpua-tabs p,
|
42 |
#wpua-tabs h4 {
|
43 |
-
|
44 |
-
|
45 |
}
|
46 |
|
47 |
#wpua-tabs h4.center {
|
48 |
-
|
49 |
}
|
50 |
|
51 |
#wpua-tabs label {
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
}
|
58 |
|
59 |
#wpua-tabs .mceActionPanel {
|
60 |
-
|
61 |
-
|
62 |
}
|
63 |
|
64 |
#wpua-tabs .mceActionPanel #insert {
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
}
|
69 |
|
70 |
#wpua-tabs #wp_user_avatar_size_number_section,
|
71 |
#wpua-tabs #wp_user_avatar_link_external_section {
|
72 |
-
|
73 |
}
|
1 |
+
/*! One User Avatar - 2.3.4
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
7 |
*/
|
8 |
|
9 |
#wpua-tabs ul {
|
10 |
+
margin: 0;
|
11 |
+
padding: 0;
|
12 |
+
list-style: none;
|
13 |
}
|
14 |
|
15 |
#wpua-tabs ul li {
|
16 |
+
float: left;
|
17 |
}
|
18 |
|
19 |
#wpua-tabs ul li a {
|
20 |
+
float: left;
|
21 |
+
padding: 2px 5px;
|
22 |
+
background: #ddd;
|
23 |
+
border: 1px solid #eee;
|
24 |
+
border-bottom: 0;
|
25 |
+
display: block;
|
26 |
+
font-weight: 700;
|
27 |
+
outline: none;
|
28 |
+
text-decoration: none;
|
29 |
}
|
30 |
|
31 |
#wpua-tabs ul li.ui-tabs-active a {
|
32 |
+
background: #fff;
|
33 |
}
|
34 |
|
35 |
#wpua-tabs form {
|
36 |
+
clear: both;
|
37 |
+
background: #fff;
|
38 |
+
border: 1px solid #eee;
|
39 |
}
|
40 |
|
41 |
#wpua-tabs p,
|
42 |
#wpua-tabs h4 {
|
43 |
+
margin: 0;
|
44 |
+
padding: 12px 0 0;
|
45 |
}
|
46 |
|
47 |
#wpua-tabs h4.center {
|
48 |
+
text-align: center;
|
49 |
}
|
50 |
|
51 |
#wpua-tabs label {
|
52 |
+
width: 150px;
|
53 |
+
margin-right: 3px;
|
54 |
+
display: inline-block;
|
55 |
+
text-align: right;
|
56 |
+
vertical-align: top;
|
57 |
}
|
58 |
|
59 |
#wpua-tabs .mceActionPanel {
|
60 |
+
padding: 7px 0 12px;
|
61 |
+
text-align: center;
|
62 |
}
|
63 |
|
64 |
#wpua-tabs .mceActionPanel #insert {
|
65 |
+
float: none;
|
66 |
+
width: 180px;
|
67 |
+
margin: 0 auto;
|
68 |
}
|
69 |
|
70 |
#wpua-tabs #wp_user_avatar_size_number_section,
|
71 |
#wpua-tabs #wp_user_avatar_link_external_section {
|
72 |
+
display: none;
|
73 |
}
|
assets/css/wp-user-avatar.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! One User Avatar - 2.3.
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
1 |
+
/*! One User Avatar - 2.3.4
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
assets/js/tinymce-editor_plugin.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! One User Avatar - 2.3.
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
@@ -13,19 +13,19 @@
|
|
13 |
init: function (ed, url) {
|
14 |
ed.addCommand('mceWpUserAvatar', function() {
|
15 |
ed.windowManager.open({
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
});
|
24 |
|
25 |
ed.addButton('wpUserAvatar', {
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
onPostRender: function() {
|
30 |
var ctrl = this;
|
31 |
|
@@ -33,19 +33,19 @@
|
|
33 |
ctrl.active(e.element.nodeName == 'IMG');
|
34 |
});
|
35 |
}
|
36 |
-
|
37 |
},
|
38 |
createControl: function(n, cm) {
|
39 |
return null;
|
40 |
},
|
41 |
getInfo: function () {
|
42 |
return {
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
},
|
50 |
});
|
51 |
|
1 |
+
/*! One User Avatar - 2.3.4
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
13 |
init: function (ed, url) {
|
14 |
ed.addCommand('mceWpUserAvatar', function() {
|
15 |
ed.windowManager.open({
|
16 |
+
file: ajaxurl + '?action=wp_user_avatar_tinymce',
|
17 |
+
width: 500,
|
18 |
+
height: 360,
|
19 |
+
inline: 1
|
20 |
+
}, {
|
21 |
+
plugin_url: url,
|
22 |
+
});
|
23 |
});
|
24 |
|
25 |
ed.addButton('wpUserAvatar', {
|
26 |
+
title: ( typeof args.insert_avatar != 'undefined' ? args.insert_avatar : 'Insert Avatar' ),
|
27 |
+
cmd: 'mceWpUserAvatar',
|
28 |
+
image: url + '/../images/wpua-20x20.png',
|
29 |
onPostRender: function() {
|
30 |
var ctrl = this;
|
31 |
|
33 |
ctrl.active(e.element.nodeName == 'IMG');
|
34 |
});
|
35 |
}
|
36 |
+
});
|
37 |
},
|
38 |
createControl: function(n, cm) {
|
39 |
return null;
|
40 |
},
|
41 |
getInfo: function () {
|
42 |
return {
|
43 |
+
longname: 'One User Avatar',
|
44 |
+
author: 'One Designs',
|
45 |
+
authorurl: 'https://onedesigns.com/',
|
46 |
+
infourl: 'https://onedesigns.com/plugins/one-user-avatar/',
|
47 |
+
version: '2.3.4',
|
48 |
+
};
|
49 |
},
|
50 |
});
|
51 |
|
assets/js/tinymce-window.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! One User Avatar - 2.3.
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
@@ -7,95 +7,95 @@
|
|
7 |
*/
|
8 |
|
9 |
function wpuaInsertAvatar() {
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
|
26 |
-
|
27 |
|
28 |
-
|
29 |
|
30 |
-
|
31 |
|
32 |
-
|
33 |
|
34 |
-
|
35 |
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
|
50 |
-
|
51 |
|
52 |
-
|
53 |
-
|
54 |
|
55 |
-
|
56 |
}
|
57 |
|
58 |
function wpuaInsertAvatarUpload() {
|
59 |
-
|
60 |
-
|
61 |
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
|
72 |
-
|
73 |
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
}
|
78 |
|
79 |
jQuery(function($) {
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
});
|
1 |
+
/*! One User Avatar - 2.3.4
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
7 |
*/
|
8 |
|
9 |
function wpuaInsertAvatar() {
|
10 |
+
// Custom shortcode values
|
11 |
+
var shortcode,
|
12 |
+
closing_tag,
|
13 |
+
user = document.getElementById('wp_user_avatar_user').value,
|
14 |
+
size = document.getElementById('wp_user_avatar_size').value,
|
15 |
+
size_number = document.getElementById('wp_user_avatar_size_number').value,
|
16 |
+
align = document.getElementById('wp_user_avatar_align').value,
|
17 |
+
link = document.getElementById('wp_user_avatar_link').value,
|
18 |
+
link_external = document.getElementById('wp_user_avatar_link_external').value,
|
19 |
+
target = document.getElementById('wp_user_avatar_target').value,
|
20 |
+
caption = document.getElementById('wp_user_avatar_caption').value;
|
21 |
|
22 |
+
// Add tag to shortcode only if not blank
|
23 |
+
var user_tag = (user != '') ? ' user="' + user + '"' : '';
|
24 |
+
var size_tag = (size != '' && size_number == '') ? ' size="' + size + '"' : '';
|
25 |
|
26 |
+
size_tag = (size_number != '') ? ' size="' + size_number + '"' : size_tag;
|
27 |
|
28 |
+
var align_tag = (align != '') ? ' align="' + align + '"' : '';
|
29 |
|
30 |
+
var link_tag = (link != '' && link != 'custom-url' && link_external == '') ? ' link="' + link + '"' : '';
|
31 |
|
32 |
+
link_tag = (link_external != '') ? ' link="' + link_external + '"' : link_tag;
|
33 |
|
34 |
+
var target_tag = document.getElementById('wp_user_avatar_target').checked && (link_tag != '') ? ' target="' + target + '"' : '';
|
35 |
|
36 |
+
// Assemble the shortcode
|
37 |
+
closing_tag = (caption != '') ? "]" + caption + "[/avatar]" : " /]";
|
38 |
+
shortcode = "<p>[avatar" + user_tag + size_tag + align_tag + link_tag + target_tag + closing_tag + "</p>";
|
39 |
|
40 |
+
// Insert into Visual Editor
|
41 |
+
if ( window.tinyMCE ) {
|
42 |
+
var tmce_ver = window.tinyMCE.majorVersion;
|
43 |
|
44 |
+
if ( tmce_ver >= "4" ) {
|
45 |
+
window.tinyMCE.execCommand( 'mceInsertContent', false, shortcode );
|
46 |
+
} else {
|
47 |
+
window.tinyMCE.execInstanceCommand( window.tinyMCE.activeEditor.id, 'mceInsertContent', false, shortcode );
|
48 |
+
}
|
49 |
|
50 |
+
tinyMCEPopup.editor.execCommand( 'mceRepaint' );
|
51 |
|
52 |
+
tinyMCEPopup.close();
|
53 |
+
}
|
54 |
|
55 |
+
return;
|
56 |
}
|
57 |
|
58 |
function wpuaInsertAvatarUpload() {
|
59 |
+
// Upload shortcode
|
60 |
+
var shortcode = "<p>[avatar_upload /]</p>";
|
61 |
|
62 |
+
// Insert into Visual Editor
|
63 |
+
if ( window.tinyMCE ) {
|
64 |
+
var tmce_ver = window.tinyMCE.majorVersion;
|
65 |
|
66 |
+
if ( tmce_ver >= "4" ) {
|
67 |
+
window.tinyMCE.execCommand( 'mceInsertContent', false, shortcode );
|
68 |
+
} else {
|
69 |
+
window.tinyMCE.execInstanceCommand( window.tinyMCE.activeEditor.id, 'mceInsertContent', false, shortcode );
|
70 |
+
}
|
71 |
|
72 |
+
tinyMCEPopup.editor.execCommand( 'mceRepaint' );
|
73 |
|
74 |
+
tinyMCEPopup.close();
|
75 |
+
}
|
76 |
+
return;
|
77 |
}
|
78 |
|
79 |
jQuery(function($) {
|
80 |
+
// Show link input
|
81 |
+
$('#wp_user_avatar_link').change(function() {
|
82 |
+
$('#wp_user_avatar_link_external_section').toggle( $('#wp_user_avatar_link').val() == 'custom-url' );
|
83 |
+
});
|
84 |
+
|
85 |
+
// Show size input
|
86 |
+
$('#wp_user_avatar_size').change(function() {
|
87 |
+
$('#wp_user_avatar_size_number_section').toggle( $('#wp_user_avatar_size').val() == 'custom' );
|
88 |
+
});
|
89 |
+
|
90 |
+
$("#wpua-tabs li a").click(function(){
|
91 |
+
tab_id = $(this).attr('href');
|
92 |
+
|
93 |
+
if( tab_id == '#wpua') {
|
94 |
+
$("#wpua-upload").hide();
|
95 |
+
} else {
|
96 |
+
$('#wpua').hide();
|
97 |
+
}
|
98 |
+
|
99 |
+
$(tab_id).show();
|
100 |
+
});
|
101 |
});
|
assets/js/wp-user-avatar-admin.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! One User Avatar - 2.3.
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
1 |
+
/*! One User Avatar - 2.3.4
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
assets/js/wp-user-avatar-user.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! One User Avatar - 2.3.
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
1 |
+
/*! One User Avatar - 2.3.4
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
assets/js/wp-user-avatar.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! One User Avatar - 2.3.
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
@@ -9,155 +9,155 @@
|
|
9 |
(function($) {
|
10 |
var id;
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
|
75 |
id = '';
|
76 |
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
|
83 |
id = '-existing';
|
84 |
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
})(jQuery);
|
90 |
|
91 |
jQuery(function($) {
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
});
|
126 |
|
127 |
jQuery(function($) {
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
});
|
1 |
+
/*! One User Avatar - 2.3.4
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
9 |
(function($) {
|
10 |
var id;
|
11 |
|
12 |
+
wp.media.wpUserAvatar = {
|
13 |
+
get: function() {
|
14 |
+
return wp.media.view.settings.post.wpUserAvatarId;
|
15 |
+
},
|
16 |
+
set: function(a) {
|
17 |
+
var b = wp.media.view.settings;
|
18 |
+
|
19 |
+
b.post.wpUserAvatarId = a;
|
20 |
+
b.post.wpUserAvatarSrc = $('div.attachment-info').find('img').attr('src');
|
21 |
+
|
22 |
+
if ( b.post.wpUserAvatarId && b.post.wpUserAvatarSrc ) {
|
23 |
+
$('#wp-user-avatar' + id).val( b.post.wpUserAvatarId );
|
24 |
+
$('#wpua-images' + id + ', #wpua-undo-button' + id).show();
|
25 |
+
$('#wpua-preview' + id).find('img').attr('src', b.post.wpUserAvatarSrc).removeAttr('height', '');
|
26 |
+
$('#wpua-remove-button' + id + ', #wpua-thumbnail' + id).hide();
|
27 |
+
$('#wp_user_avatar_radio').trigger('click')
|
28 |
+
}
|
29 |
+
|
30 |
+
wp.media.wpUserAvatar.frame().close();
|
31 |
+
},
|
32 |
+
frame: function() {
|
33 |
+
if ( this._frame ) {
|
34 |
+
return this._frame;
|
35 |
+
}
|
36 |
+
|
37 |
+
this._frame = wp.media({
|
38 |
+
library: {
|
39 |
+
type: 'image',
|
40 |
+
},
|
41 |
+
multiple: false,
|
42 |
+
title: $('#wpua-add' + id).data('title'),
|
43 |
+
});
|
44 |
+
|
45 |
+
this._frame.on('open', function() {
|
46 |
+
var a = $('#wp-user-avatar' + id).val();
|
47 |
+
|
48 |
+
if ( a == '' ) {
|
49 |
+
$('div.media-router').find('a:first').trigger('click');
|
50 |
+
} else {
|
51 |
+
var b = this.state().get('selection');
|
52 |
+
|
53 |
+
attachment = wp.media.attachment(a);
|
54 |
+
|
55 |
+
attachment.fetch();
|
56 |
+
|
57 |
+
b.add( attachment ? [attachment] : [] );
|
58 |
+
}
|
59 |
+
}, this._frame);
|
60 |
+
|
61 |
+
this._frame.state('library').on('select', this.select);
|
62 |
+
|
63 |
+
return this._frame;
|
64 |
+
},
|
65 |
+
select: function(a) {
|
66 |
+
selection = this.get('selection').single();
|
67 |
+
|
68 |
+
wp.media.wpUserAvatar.set( selection ? selection.id : -1 );
|
69 |
+
},
|
70 |
+
init: function() {
|
71 |
+
$('body').on('click', '#wpua-add', function(e) {
|
72 |
+
e.preventDefault();
|
73 |
+
e.stopPropagation();
|
74 |
|
75 |
id = '';
|
76 |
|
77 |
+
wp.media.wpUserAvatar.frame().open();
|
78 |
+
})
|
79 |
+
$('body').on('click', '#wpua-add-existing', function(e) {
|
80 |
+
e.preventDefault();
|
81 |
+
e.stopPropagation();
|
82 |
|
83 |
id = '-existing';
|
84 |
|
85 |
+
wp.media.wpUserAvatar.frame().open();
|
86 |
+
});
|
87 |
+
}
|
88 |
+
}
|
89 |
})(jQuery);
|
90 |
|
91 |
jQuery(function($) {
|
92 |
+
if ( typeof wp != 'undefined' ) {
|
93 |
+
wp.media.wpUserAvatar.init();
|
94 |
+
}
|
95 |
+
|
96 |
+
$('#your-profile').attr( 'enctype', 'multipart/form-data' );
|
97 |
+
|
98 |
+
var a = $('#wp-user-avatar').val();
|
99 |
+
var b = $('#wpua-preview').find('img').attr('src');
|
100 |
+
|
101 |
+
$('body').on('click', '#wpua-remove', function(e) {
|
102 |
+
e.preventDefault();
|
103 |
+
|
104 |
+
$('#wpua-original').remove();
|
105 |
+
$('#wpua-remove-button, #wpua-thumbnail').hide();
|
106 |
+
$('#wpua-preview').find('img:first').hide();
|
107 |
+
$('#wpua-preview').prepend('<img id="wpua-original" />');
|
108 |
+
$('#wpua-original').attr('src', wpua_custom.avatar_thumb);
|
109 |
+
$('#wp-user-avatar').val("");
|
110 |
+
$('#wpua-original, #wpua-undo-button').show();
|
111 |
+
$('#wp_user_avatar_radio').trigger('click');
|
112 |
+
});
|
113 |
+
|
114 |
+
$('body').on('click', '#wpua-undo', function(e) {
|
115 |
+
e.preventDefault();
|
116 |
+
|
117 |
+
$('#wpua-original').remove();
|
118 |
+
$('#wpua-images').removeAttr('style');
|
119 |
+
$('#wpua-undo-button').hide();
|
120 |
+
$('#wpua-remove-button, #wpua-thumbnail').show();
|
121 |
+
$('#wpua-preview').find('img:first').attr('src', b).show();
|
122 |
+
$('#wp-user-avatar').val(a);
|
123 |
+
$('#wp_user_avatar_radio').trigger('click');
|
124 |
+
});
|
125 |
});
|
126 |
|
127 |
jQuery(function($) {
|
128 |
+
if ( typeof wp != 'undefined' ) {
|
129 |
+
wp.media.wpUserAvatar.init();
|
130 |
+
}
|
131 |
+
|
132 |
+
$('#your-profile').attr('enctype', 'multipart/form-data');
|
133 |
+
|
134 |
+
var a = $('#wp-user-avatar-existing').val();
|
135 |
+
var b = $('#wpua-preview-existing').find('img').attr('src');
|
136 |
+
|
137 |
+
$('#wpua-undo-button-existing').hide();
|
138 |
+
|
139 |
+
$('body').on('click', '#wpua-remove-existing', function(e) {
|
140 |
+
e.preventDefault();
|
141 |
+
|
142 |
+
$('#wpua-original-existing').remove();
|
143 |
+
$('#wpua-remove-button-existing, #wpua-thumbnail-existing').hide();
|
144 |
+
$('#wpua-preview-existing').find('img:first').hide();
|
145 |
+
$('#wpua-preview-existing').prepend('<img id="wpua-original-existing" />');
|
146 |
+
$('#wpua-original-existing').attr('src', wpua_custom.avatar_thumb);
|
147 |
+
$('#wp-user-avatar-existing').val("");
|
148 |
+
$('#wpua-original-existing, #wpua-undo-button-existing').show();
|
149 |
+
$('#wp_user_avatar_radio').trigger('click');
|
150 |
+
});
|
151 |
+
|
152 |
+
$('body').on('click', '#wpua-undo-existing', function(e) {
|
153 |
+
e.preventDefault();
|
154 |
+
|
155 |
+
$('#wpua-original-existing').remove();
|
156 |
+
$('#wpua-images-existing').removeAttr('style');
|
157 |
+
$('#wpua-undo-button-existing').hide();
|
158 |
+
$('#wpua-remove-button-existing, #wpua-thumbnail-existing').show();
|
159 |
+
$('#wpua-preview-existing').find('img:first').attr('src', b).show();
|
160 |
+
$('#wp-user-avatar-existing').val(a);
|
161 |
+
$('#wp_user_avatar_radio').trigger('click');
|
162 |
+
});
|
163 |
});
|
includes/class-wp-user-avatar-admin.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Admin {
|
@@ -77,16 +77,17 @@ class WP_User_Avatar_Admin {
|
|
77 |
* @uses add_option()
|
78 |
*/
|
79 |
public function wpua_options() {
|
80 |
-
add_option( 'avatar_default_wp_user_avatar',
|
81 |
-
add_option( 'wp_user_avatar_allow_upload',
|
82 |
-
add_option( '
|
83 |
-
add_option( '
|
84 |
-
add_option( '
|
85 |
-
add_option( '
|
86 |
-
add_option( '
|
87 |
-
add_option( '
|
88 |
-
add_option( '
|
89 |
-
add_option( '
|
|
|
90 |
|
91 |
if ( wp_next_scheduled( 'wpua_has_gravatar_cron_hook' ) ) {
|
92 |
$cron = get_option( 'cron' );
|
@@ -95,15 +96,14 @@ class WP_User_Avatar_Admin {
|
|
95 |
|
96 |
foreach ( $cron as $key => $value ) {
|
97 |
if ( is_array( $value ) ) {
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
}
|
102 |
}
|
103 |
|
104 |
update_option( 'cron', $cron );
|
105 |
-
|
106 |
-
|
107 |
}
|
108 |
|
109 |
/**
|
@@ -322,19 +322,20 @@ class WP_User_Avatar_Admin {
|
|
322 |
public function wpua_register_settings() {
|
323 |
$settings = array();
|
324 |
|
325 |
-
$settings[] = register_setting( 'wpua-settings-group', 'avatar_rating');
|
326 |
-
$settings[] = register_setting( 'wpua-settings-group', 'avatar_default');
|
327 |
-
$settings[] = register_setting( 'wpua-settings-group', 'avatar_default_wp_user_avatar');
|
328 |
-
$settings[] = register_setting( 'wpua-settings-group', 'show_avatars',
|
329 |
-
$settings[] = register_setting( 'wpua-settings-group', 'wp_user_avatar_tinymce',
|
330 |
-
$settings[] = register_setting( 'wpua-settings-group', 'wp_user_avatar_allow_upload',
|
331 |
-
$settings[] = register_setting( 'wpua-settings-group', '
|
332 |
-
$settings[] = register_setting( 'wpua-settings-group', '
|
333 |
-
$settings[] = register_setting( 'wpua-settings-group', '
|
334 |
-
$settings[] = register_setting( 'wpua-settings-group', '
|
335 |
-
$settings[] = register_setting( 'wpua-settings-group', '
|
336 |
-
$settings[] = register_setting( 'wpua-settings-group', '
|
337 |
-
$settings[] = register_setting( 'wpua-settings-group', '
|
|
|
338 |
|
339 |
/**
|
340 |
* Filter admin whitelist settings
|
@@ -419,9 +420,9 @@ class WP_User_Avatar_Admin {
|
|
419 |
|
420 |
// Add WPUA to list
|
421 |
$wpua_list = sprintf(
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
|
426 |
$wpua_list .= preg_replace( "/src='(.+?)'/", "src='\$1'", $avatar_thumb_img );
|
427 |
$wpua_list .= ' ' . __( 'One User Avatar', 'one-user-avatar' ) . '</label>';
|
@@ -458,10 +459,10 @@ class WP_User_Avatar_Admin {
|
|
458 |
public function wpua_action_links( $links, $file ) {
|
459 |
if( basename( dirname( $file ) ) == 'one-user-avatar' ) {
|
460 |
$links[] = sprintf(
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
}
|
466 |
|
467 |
return $links;
|
@@ -477,10 +478,10 @@ class WP_User_Avatar_Admin {
|
|
477 |
public function wpua_row_meta( $links, $file ) {
|
478 |
if ( 'one-user-avatar' == basename( dirname( $file ) ) ) {
|
479 |
$links[] = sprintf(
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
}
|
485 |
|
486 |
return $links;
|
@@ -578,10 +579,10 @@ class WP_User_Avatar_Admin {
|
|
578 |
function wpua_admin_init() {
|
579 |
global $wpua_admin;
|
580 |
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
|
585 |
-
|
586 |
}
|
587 |
add_action( 'init', 'wpua_admin_init' );
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Admin {
|
77 |
* @uses add_option()
|
78 |
*/
|
79 |
public function wpua_options() {
|
80 |
+
add_option( 'avatar_default_wp_user_avatar', '' );
|
81 |
+
add_option( 'wp_user_avatar_allow_upload', '0' );
|
82 |
+
add_option( 'wp_user_avatar_force_file_uploader', '0' );
|
83 |
+
add_option( 'wp_user_avatar_disable_gravatar', '0' );
|
84 |
+
add_option( 'wp_user_avatar_edit_avatar', '1' );
|
85 |
+
add_option( 'wp_user_avatar_resize_crop', '0' );
|
86 |
+
add_option( 'wp_user_avatar_resize_h', '96' );
|
87 |
+
add_option( 'wp_user_avatar_resize_upload', '0' );
|
88 |
+
add_option( 'wp_user_avatar_resize_w', '96' );
|
89 |
+
add_option( 'wp_user_avatar_tinymce', '1' );
|
90 |
+
add_option( 'wp_user_avatar_upload_size_limit', '0' );
|
91 |
|
92 |
if ( wp_next_scheduled( 'wpua_has_gravatar_cron_hook' ) ) {
|
93 |
$cron = get_option( 'cron' );
|
96 |
|
97 |
foreach ( $cron as $key => $value ) {
|
98 |
if ( is_array( $value ) ) {
|
99 |
+
if ( array_key_exists( 'wpua_has_gravatar_cron_hook', $value ) ) {
|
100 |
+
unset($cron[$key]);
|
101 |
+
}
|
102 |
}
|
103 |
}
|
104 |
|
105 |
update_option( 'cron', $cron );
|
106 |
+
}
|
|
|
107 |
}
|
108 |
|
109 |
/**
|
322 |
public function wpua_register_settings() {
|
323 |
$settings = array();
|
324 |
|
325 |
+
$settings[] = register_setting( 'wpua-settings-group', 'avatar_rating' );
|
326 |
+
$settings[] = register_setting( 'wpua-settings-group', 'avatar_default' );
|
327 |
+
$settings[] = register_setting( 'wpua-settings-group', 'avatar_default_wp_user_avatar' );
|
328 |
+
$settings[] = register_setting( 'wpua-settings-group', 'show_avatars', 'intval' );
|
329 |
+
$settings[] = register_setting( 'wpua-settings-group', 'wp_user_avatar_tinymce', 'intval' );
|
330 |
+
$settings[] = register_setting( 'wpua-settings-group', 'wp_user_avatar_allow_upload', 'intval' );
|
331 |
+
$settings[] = register_setting( 'wpua-settings-group', 'wp_user_avatar_force_file_uploader', 'intval' );
|
332 |
+
$settings[] = register_setting( 'wpua-settings-group', 'wp_user_avatar_disable_gravatar', 'intval' );
|
333 |
+
$settings[] = register_setting( 'wpua-settings-group', 'wp_user_avatar_edit_avatar', 'intval' );
|
334 |
+
$settings[] = register_setting( 'wpua-settings-group', 'wp_user_avatar_resize_crop', 'intval' );
|
335 |
+
$settings[] = register_setting( 'wpua-settings-group', 'wp_user_avatar_resize_h', 'intval' );
|
336 |
+
$settings[] = register_setting( 'wpua-settings-group', 'wp_user_avatar_resize_upload', 'intval' );
|
337 |
+
$settings[] = register_setting( 'wpua-settings-group', 'wp_user_avatar_resize_w', 'intval' );
|
338 |
+
$settings[] = register_setting( 'wpua-settings-group', 'wp_user_avatar_upload_size_limit', 'intval' );
|
339 |
|
340 |
/**
|
341 |
* Filter admin whitelist settings
|
420 |
|
421 |
// Add WPUA to list
|
422 |
$wpua_list = sprintf(
|
423 |
+
'<label><input type="radio" name="avatar_default" id="wp_user_avatar_radio" value="wp_user_avatar" %s /> ',
|
424 |
+
$selected_avatar
|
425 |
+
);
|
426 |
|
427 |
$wpua_list .= preg_replace( "/src='(.+?)'/", "src='\$1'", $avatar_thumb_img );
|
428 |
$wpua_list .= ' ' . __( 'One User Avatar', 'one-user-avatar' ) . '</label>';
|
459 |
public function wpua_action_links( $links, $file ) {
|
460 |
if( basename( dirname( $file ) ) == 'one-user-avatar' ) {
|
461 |
$links[] = sprintf(
|
462 |
+
'<a href="%s">%s</a>',
|
463 |
+
esc_url( add_query_arg( array( 'page' => 'one-user-avatar' ), admin_url( 'admin.php' ) ) ),
|
464 |
+
__( 'Settings', 'one-user-avatar' )
|
465 |
+
);
|
466 |
}
|
467 |
|
468 |
return $links;
|
478 |
public function wpua_row_meta( $links, $file ) {
|
479 |
if ( 'one-user-avatar' == basename( dirname( $file ) ) ) {
|
480 |
$links[] = sprintf(
|
481 |
+
'<a href="%s" target="_blank">%s</a>',
|
482 |
+
esc_url( __( 'https://onedesigns.com/support/forum/plugins/one-user-avatar/', 'one-user-avatar' ) ),
|
483 |
+
__( 'Support Forums', 'one-user-avatar' )
|
484 |
+
);
|
485 |
}
|
486 |
|
487 |
return $links;
|
579 |
function wpua_admin_init() {
|
580 |
global $wpua_admin;
|
581 |
|
582 |
+
if ( ! isset( $wpua_admin ) ) {
|
583 |
+
$wpua_admin = new WP_User_Avatar_Admin();
|
584 |
+
}
|
585 |
|
586 |
+
return $wpua_admin;
|
587 |
}
|
588 |
add_action( 'init', 'wpua_admin_init' );
|
includes/class-wp-user-avatar-functions.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Functions {
|
@@ -84,15 +84,15 @@ class WP_User_Avatar_Functions {
|
|
84 |
|
85 |
function wpua_get_default_avatar_url( $url, $id_or_email, $args ){
|
86 |
global $avatar_default,
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
|
97 |
$default_image_details = array();
|
98 |
|
@@ -102,15 +102,15 @@ class WP_User_Avatar_Functions {
|
|
102 |
if ( ! empty( $wpua_avatar_default ) && $wpua_functions->wpua_attachment_is_image( $wpua_avatar_default ) ) {
|
103 |
// Get image
|
104 |
$wpua_avatar_default_image = $wpua_functions->wpua_get_attachment_image_src(
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
|
109 |
// Image src
|
110 |
$url = $wpua_avatar_default_image[0];
|
111 |
} else {
|
112 |
// Get mustache image based on numeric size comparison
|
113 |
-
if ( $size > get_option( 'medium_size_w
|
114 |
$url = $mustache_original;
|
115 |
} elseif ( $size <= get_option( 'medium_size_w' ) && $size > get_option( 'thumbnail_size_w' ) ) {
|
116 |
$url = $mustache_medium;
|
@@ -139,19 +139,20 @@ class WP_User_Avatar_Functions {
|
|
139 |
* @param string $avatar_folder_dir
|
140 |
* @uses object $wpua_functions
|
141 |
* @uses wpua_get_avatar_filter()
|
142 |
-
|
143 |
public function wpua_bp_core_fetch_avatar_filter( $gravatar, $params, $item_id = '', $avatar_dir = '', $css_id = '', $html_width = '', $html_height =' ', $avatar_folder_url = '', $avatar_folder_dir = '') {
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
|
|
155 |
}
|
156 |
|
157 |
return $gravatar;
|
@@ -192,22 +193,22 @@ class WP_User_Avatar_Functions {
|
|
192 |
*/
|
193 |
public function wpua_has_gravatar( $id_or_email = '', $has_gravatar = 0, $user = '', $email = '') {
|
194 |
global $wpua_hash_gravatar,
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
|
206 |
// User has WPUA
|
207 |
// Decide if check gravatar required or not.
|
208 |
if ( 'wp_user_avatar' != trim( $avatar_default ) ) {
|
209 |
return true;
|
210 |
-
|
211 |
|
212 |
if ( ! is_object( $id_or_email ) && ! empty( $id_or_email ) ) {
|
213 |
// Find user by ID or e-mail address
|
@@ -222,7 +223,7 @@ class WP_User_Avatar_Functions {
|
|
222 |
$email = $id_or_email;
|
223 |
} elseif ( ! is_numeric( $id_or_email ) && is_object( $id_or_email ) ) {
|
224 |
$email = $id_or_email->comment_author_email;
|
225 |
-
|
226 |
}
|
227 |
|
228 |
if ( '' != $email ) {
|
@@ -230,24 +231,23 @@ class WP_User_Avatar_Functions {
|
|
230 |
|
231 |
//check if gravatar exists for hashtag using options
|
232 |
if ( is_array( $wpua_hash_gravatar ) ) {
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
}
|
244 |
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
$http = 'https';
|
252 |
} else {
|
253 |
$http = 'http';
|
@@ -265,7 +265,7 @@ class WP_User_Avatar_Functions {
|
|
265 |
$has_gravatar = ( '200' == $data ) ? true : false;
|
266 |
|
267 |
if ( false == $wpua_hash_gravatar ) {
|
268 |
-
|
269 |
|
270 |
$wpua_hash_gravatar = [];
|
271 |
$wpua_hash_gravatar[ $hash ][ $date ] = (bool) $has_gravatar;
|
@@ -273,7 +273,7 @@ class WP_User_Avatar_Functions {
|
|
273 |
add_option( 'wpua_hash_gravatar', serialize( $wpua_hash_gravatar ), '', false );
|
274 |
} else {
|
275 |
if ( is_array( $wpua_hash_gravatar ) && ! empty( $wpua_hash_gravatar ) ) {
|
276 |
-
|
277 |
|
278 |
if ( array_key_exists( $hash, $wpua_hash_gravatar ) ){
|
279 |
unset( $wpua_hash_gravatar[ $hash ] );
|
@@ -294,7 +294,7 @@ class WP_User_Avatar_Functions {
|
|
294 |
$has_gravatar = ( '200' == $data ) ? true : false;
|
295 |
} else {
|
296 |
$has_gravatar = false;
|
297 |
-
|
298 |
|
299 |
// Check if Gravatar image returns 200 (OK) or 404 (Not Found)
|
300 |
return (bool) $has_gravatar;
|
@@ -413,15 +413,15 @@ class WP_User_Avatar_Functions {
|
|
413 |
*/
|
414 |
public function wpua_default_image( $size ) {
|
415 |
global $avatar_default,
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
|
426 |
$default_image_details = array();
|
427 |
|
@@ -429,19 +429,19 @@ class WP_User_Avatar_Functions {
|
|
429 |
if ( !empty( $wpua_avatar_default ) && $wpua_functions->wpua_attachment_is_image( $wpua_avatar_default ) ) {
|
430 |
// Get image
|
431 |
$wpua_avatar_default_image = $wpua_functions->wpua_get_attachment_image_src(
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
|
436 |
// Image src
|
437 |
$default = $wpua_avatar_default_image[0];
|
438 |
|
439 |
// Add dimensions if numeric size
|
440 |
$default_image_details['dimensions'] = sprintf(
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
} else {
|
446 |
// Get mustache image based on numeric size comparison
|
447 |
if ( $size > get_option( 'medium_size_w' ) ) {
|
@@ -464,7 +464,7 @@ class WP_User_Avatar_Functions {
|
|
464 |
$default_image_details['size'] = $size;
|
465 |
$default_image_details['src'] = $default;
|
466 |
|
467 |
-
|
468 |
|
469 |
}
|
470 |
/**
|
@@ -475,10 +475,10 @@ class WP_User_Avatar_Functions {
|
|
475 |
* @param int|string $size
|
476 |
* @param string $default
|
477 |
* @param string $alt
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
* @uses string $avatar_default
|
483 |
* @uses string $mustache_admin
|
484 |
* @uses string $mustache_avatar
|
@@ -500,15 +500,15 @@ class WP_User_Avatar_Functions {
|
|
500 |
*/
|
501 |
public function wpua_get_avatar_filter( $avatar, $id_or_email = '', $size = '', $default = '', $alt = '') {
|
502 |
global $avatar_default,
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
|
513 |
// User has WPUA
|
514 |
if ( '' == $alt ) {
|
@@ -540,41 +540,41 @@ class WP_User_Avatar_Functions {
|
|
540 |
$avatar = get_wp_user_avatar( $id_or_email, $size, $default, $alt, $class );
|
541 |
// User has Gravatar and Gravatar is not disabled
|
542 |
} elseif( 1 != (bool) $wpua_disable_gravatar && $wpua_functions->wpua_has_gravatar( $id_or_email ) ) {
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
// User doesn't have WPUA or Gravatar and Default Avatar is wp_user_avatar, show custom Default Avatar
|
566 |
-
|
567 |
-
|
568 |
$class_string = ! empty( $class ) ? ' ' . esc_attr( implode( ' ', $class ) ) : '';
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
}
|
579 |
}
|
580 |
|
@@ -613,10 +613,10 @@ class WP_User_Avatar_Functions {
|
|
613 |
*/
|
614 |
public function wpua_get_avatar_original( $id_or_email = '', $size = '', $default = '', $alt = '' ) {
|
615 |
global $avatar_default,
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
|
621 |
// Remove get_avatar filter
|
622 |
remove_filter( 'get_avatar', array( $this, 'wpua_get_avatar_filter' ) );
|
@@ -627,11 +627,11 @@ class WP_User_Avatar_Functions {
|
|
627 |
if ( ! $wpua_functions->wpua_has_gravatar( $id_or_email ) && 'wp_user_avatar' == $avatar_default) {
|
628 |
// Show custom Default Avatar
|
629 |
if( ! empty( $wpua_avatar_default ) && $wpua_functions->wpua_attachment_is_image( $wpua_avatar_default ) ) {
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
|
636 |
$default = $wpua_avatar_default_image[0];
|
637 |
} else {
|
@@ -645,9 +645,9 @@ class WP_User_Avatar_Functions {
|
|
645 |
if ( ! empty( $wpua_avatar_default ) && $wpua_functions->wpua_attachment_is_image( $wpua_avatar_default ) ) {
|
646 |
$size_numeric_w_x_h = array( get_option( $size . '_size_w' ), get_option( $size . '_size_h' ) );
|
647 |
$wpua_avatar_default_image = $wpua_functions->wpua_get_attachment_image_src(
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
|
652 |
$default = $wpua_avatar_default_image[0];
|
653 |
} else {
|
@@ -675,10 +675,10 @@ class WP_User_Avatar_Functions {
|
|
675 |
* @param int|string $size
|
676 |
* @param string $align
|
677 |
* @param string $alt
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
* @uses array $_wp_additional_image_sizes
|
683 |
* @uses array $all_sizes
|
684 |
* @uses string $avatar_default
|
@@ -701,13 +701,13 @@ class WP_User_Avatar_Functions {
|
|
701 |
*/
|
702 |
public function get_wp_user_avatar( $id_or_email = '', $size = '96', $align = '', $alt = '', $class = [] ) {
|
703 |
global $all_sizes,
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
|
712 |
$email = 'unknown@gravatar.com';
|
713 |
|
@@ -774,22 +774,22 @@ class WP_User_Avatar_Functions {
|
|
774 |
|
775 |
// Add dimensions to img only if numeric size was specified
|
776 |
$dimensions = is_numeric( $size ) ? sprintf(
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
|
782 |
$class_string = ! empty( $class ) ? ' ' . $class : '';
|
783 |
|
784 |
// Construct the img tag
|
785 |
$avatar = sprintf(
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
} else {
|
794 |
// Check for custom image sizes
|
795 |
if ( in_array( $size, $all_sizes ) ) {
|
@@ -813,19 +813,20 @@ class WP_User_Avatar_Functions {
|
|
813 |
}
|
814 |
|
815 |
$replace = array(
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
|
|
822 |
$replacements = array(
|
823 |
-
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
|
828 |
-
|
829 |
$avatar = str_replace( $replace, $replacements, $avatar );
|
830 |
}
|
831 |
/**
|
@@ -873,10 +874,10 @@ class WP_User_Avatar_Functions {
|
|
873 |
function wpua_functions_init() {
|
874 |
global $wpua_functions;
|
875 |
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
|
880 |
-
|
881 |
}
|
882 |
add_action( 'plugins_loaded', 'wpua_functions_init' );
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Functions {
|
84 |
|
85 |
function wpua_get_default_avatar_url( $url, $id_or_email, $args ){
|
86 |
global $avatar_default,
|
87 |
+
$mustache_admin,
|
88 |
+
$mustache_avatar,
|
89 |
+
$mustache_medium,
|
90 |
+
$mustache_original,
|
91 |
+
$mustache_thumbnail,
|
92 |
+
$post,
|
93 |
+
$wpua_avatar_default,
|
94 |
+
$wpua_disable_gravatar,
|
95 |
+
$wpua_functions;
|
96 |
|
97 |
$default_image_details = array();
|
98 |
|
102 |
if ( ! empty( $wpua_avatar_default ) && $wpua_functions->wpua_attachment_is_image( $wpua_avatar_default ) ) {
|
103 |
// Get image
|
104 |
$wpua_avatar_default_image = $wpua_functions->wpua_get_attachment_image_src(
|
105 |
+
$wpua_avatar_default,
|
106 |
+
array( $size, $size )
|
107 |
+
);
|
108 |
|
109 |
// Image src
|
110 |
$url = $wpua_avatar_default_image[0];
|
111 |
} else {
|
112 |
// Get mustache image based on numeric size comparison
|
113 |
+
if ( $size > get_option( 'medium_size_w' ) ) {
|
114 |
$url = $mustache_original;
|
115 |
} elseif ( $size <= get_option( 'medium_size_w' ) && $size > get_option( 'thumbnail_size_w' ) ) {
|
116 |
$url = $mustache_medium;
|
139 |
* @param string $avatar_folder_dir
|
140 |
* @uses object $wpua_functions
|
141 |
* @uses wpua_get_avatar_filter()
|
142 |
+
*/
|
143 |
public function wpua_bp_core_fetch_avatar_filter( $gravatar, $params, $item_id = '', $avatar_dir = '', $css_id = '', $html_width = '', $html_height =' ', $avatar_folder_url = '', $avatar_folder_dir = '') {
|
144 |
+
global $wpua_functions;
|
145 |
+
|
146 |
+
if ( -1 < strpos( $gravatar, 'gravatar.com' , 0 ) ) {
|
147 |
+
$avatar = $wpua_functions->wpua_get_avatar_filter(
|
148 |
+
$gravatar,
|
149 |
+
( 'user' == $params['object'] ) ? $params['item_id'] : '',
|
150 |
+
( 'user' == $params['object'] ) ? ( ( 'thumb' == $params['type'] ) ? 50 :150 ) : 50,
|
151 |
+
'',
|
152 |
+
''
|
153 |
+
);
|
154 |
+
|
155 |
+
return $avatar;
|
156 |
}
|
157 |
|
158 |
return $gravatar;
|
193 |
*/
|
194 |
public function wpua_has_gravatar( $id_or_email = '', $has_gravatar = 0, $user = '', $email = '') {
|
195 |
global $wpua_hash_gravatar,
|
196 |
+
$avatar_default,
|
197 |
+
$mustache_admin,
|
198 |
+
$mustache_avatar,
|
199 |
+
$mustache_medium,
|
200 |
+
$mustache_original,
|
201 |
+
$mustache_thumbnail,
|
202 |
+
$post,
|
203 |
+
$wpua_avatar_default,
|
204 |
+
$wpua_disable_gravatar,
|
205 |
+
$wpua_functions;
|
206 |
|
207 |
// User has WPUA
|
208 |
// Decide if check gravatar required or not.
|
209 |
if ( 'wp_user_avatar' != trim( $avatar_default ) ) {
|
210 |
return true;
|
211 |
+
}
|
212 |
|
213 |
if ( ! is_object( $id_or_email ) && ! empty( $id_or_email ) ) {
|
214 |
// Find user by ID or e-mail address
|
223 |
$email = $id_or_email;
|
224 |
} elseif ( ! is_numeric( $id_or_email ) && is_object( $id_or_email ) ) {
|
225 |
$email = $id_or_email->comment_author_email;
|
226 |
+
}
|
227 |
}
|
228 |
|
229 |
if ( '' != $email ) {
|
231 |
|
232 |
//check if gravatar exists for hashtag using options
|
233 |
if ( is_array( $wpua_hash_gravatar ) ) {
|
234 |
+
$date = date( 'm-d-Y' );
|
235 |
+
|
236 |
+
if (
|
237 |
+
array_key_exists( $hash, $wpua_hash_gravatar ) &&
|
238 |
+
is_array( $wpua_hash_gravatar[$hash] ) &&
|
239 |
+
array_key_exists( $date, $wpua_hash_gravatar[ $hash ] )
|
240 |
+
) {
|
241 |
+
return (bool) $wpua_hash_gravatar[ $hash ][ $date ];
|
242 |
+
}
|
|
|
243 |
}
|
244 |
|
245 |
+
if (
|
246 |
+
isset( $_SERVER['HTTPS'] ) &&
|
247 |
+
( 'on' == $_SERVER['HTTPS'] || 1 == $_SERVER['HTTPS'] ) ||
|
248 |
+
isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) &&
|
249 |
+
'https' == $_SERVER['HTTP_X_FORWARDED_PROTO']
|
250 |
+
) {
|
251 |
$http = 'https';
|
252 |
} else {
|
253 |
$http = 'http';
|
265 |
$has_gravatar = ( '200' == $data ) ? true : false;
|
266 |
|
267 |
if ( false == $wpua_hash_gravatar ) {
|
268 |
+
$date = date( 'm-d-Y' );
|
269 |
|
270 |
$wpua_hash_gravatar = [];
|
271 |
$wpua_hash_gravatar[ $hash ][ $date ] = (bool) $has_gravatar;
|
273 |
add_option( 'wpua_hash_gravatar', serialize( $wpua_hash_gravatar ), '', false );
|
274 |
} else {
|
275 |
if ( is_array( $wpua_hash_gravatar ) && ! empty( $wpua_hash_gravatar ) ) {
|
276 |
+
$date = date( 'm-d-Y' );
|
277 |
|
278 |
if ( array_key_exists( $hash, $wpua_hash_gravatar ) ){
|
279 |
unset( $wpua_hash_gravatar[ $hash ] );
|
294 |
$has_gravatar = ( '200' == $data ) ? true : false;
|
295 |
} else {
|
296 |
$has_gravatar = false;
|
297 |
+
}
|
298 |
|
299 |
// Check if Gravatar image returns 200 (OK) or 404 (Not Found)
|
300 |
return (bool) $has_gravatar;
|
413 |
*/
|
414 |
public function wpua_default_image( $size ) {
|
415 |
global $avatar_default,
|
416 |
+
$mustache_admin,
|
417 |
+
$mustache_avatar,
|
418 |
+
$mustache_medium,
|
419 |
+
$mustache_original,
|
420 |
+
$mustache_thumbnail,
|
421 |
+
$post,
|
422 |
+
$wpua_avatar_default,
|
423 |
+
$wpua_disable_gravatar,
|
424 |
+
$wpua_functions;
|
425 |
|
426 |
$default_image_details = array();
|
427 |
|
429 |
if ( !empty( $wpua_avatar_default ) && $wpua_functions->wpua_attachment_is_image( $wpua_avatar_default ) ) {
|
430 |
// Get image
|
431 |
$wpua_avatar_default_image = $wpua_functions->wpua_get_attachment_image_src(
|
432 |
+
$wpua_avatar_default,
|
433 |
+
array( $size, $size )
|
434 |
+
);
|
435 |
|
436 |
// Image src
|
437 |
$default = $wpua_avatar_default_image[0];
|
438 |
|
439 |
// Add dimensions if numeric size
|
440 |
$default_image_details['dimensions'] = sprintf(
|
441 |
+
' width="%s" height="%s"',
|
442 |
+
esc_attr( $wpua_avatar_default_image[1] ),
|
443 |
+
esc_attr( $wpua_avatar_default_image[2] )
|
444 |
+
);
|
445 |
} else {
|
446 |
// Get mustache image based on numeric size comparison
|
447 |
if ( $size > get_option( 'medium_size_w' ) ) {
|
464 |
$default_image_details['size'] = $size;
|
465 |
$default_image_details['src'] = $default;
|
466 |
|
467 |
+
return $default_image_details;
|
468 |
|
469 |
}
|
470 |
/**
|
475 |
* @param int|string $size
|
476 |
* @param string $default
|
477 |
* @param string $alt
|
478 |
+
* @param array $args
|
479 |
+
*
|
480 |
+
* @return string $avatar
|
481 |
+
* @since 1.4
|
482 |
* @uses string $avatar_default
|
483 |
* @uses string $mustache_admin
|
484 |
* @uses string $mustache_avatar
|
500 |
*/
|
501 |
public function wpua_get_avatar_filter( $avatar, $id_or_email = '', $size = '', $default = '', $alt = '') {
|
502 |
global $avatar_default,
|
503 |
+
$mustache_admin,
|
504 |
+
$mustache_avatar,
|
505 |
+
$mustache_medium,
|
506 |
+
$mustache_original,
|
507 |
+
$mustache_thumbnail,
|
508 |
+
$post,
|
509 |
+
$wpua_avatar_default,
|
510 |
+
$wpua_disable_gravatar,
|
511 |
+
$wpua_functions;
|
512 |
|
513 |
// User has WPUA
|
514 |
if ( '' == $alt ) {
|
540 |
$avatar = get_wp_user_avatar( $id_or_email, $size, $default, $alt, $class );
|
541 |
// User has Gravatar and Gravatar is not disabled
|
542 |
} elseif( 1 != (bool) $wpua_disable_gravatar && $wpua_functions->wpua_has_gravatar( $id_or_email ) ) {
|
543 |
+
// find our src
|
544 |
+
if ( ! empty( $avatar ) ) {
|
545 |
+
preg_match_all( '/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $avatar, $matches, PREG_SET_ORDER );
|
546 |
+
|
547 |
+
$wpua_avatar_image_src = ! empty( $matches ) ? $matches[0][1] : '';
|
548 |
+
$default_image_details = $this->wpua_default_image( $size );
|
549 |
+
$wpua_default_avatar_image_src = $default_image_details['src'];
|
550 |
+
$wpua_final_avatar_image_src = str_replace(
|
551 |
+
'd=wp_user_avatar',
|
552 |
+
'd=' . urlencode( $wpua_default_avatar_image_src ),
|
553 |
+
$wpua_avatar_image_src
|
554 |
+
);
|
555 |
+
}
|
556 |
+
|
557 |
+
$class_string = ! empty( $class ) ? ' ' . esc_attr( implode( ' ', $class ) ) : '';
|
558 |
+
$avatar = sprintf(
|
559 |
+
'<img src="%1$s"%2$s alt="%3$s" class="avatar avatar-%4$s wp-user-avatar wp-user-avatar-%4$s photo avatar-default" />',
|
560 |
+
esc_url( $wpua_final_avatar_image_src ),
|
561 |
+
$default_image_details['dimensions'],
|
562 |
+
esc_attr( $alt ),
|
563 |
+
esc_attr( $size )
|
564 |
+
);
|
565 |
// User doesn't have WPUA or Gravatar and Default Avatar is wp_user_avatar, show custom Default Avatar
|
566 |
+
} elseif ( 'wp_user_avatar' == $avatar_default ) {
|
567 |
+
$default_image_details = $this->wpua_default_image( $size );
|
568 |
$class_string = ! empty( $class ) ? ' ' . esc_attr( implode( ' ', $class ) ) : '';
|
569 |
+
$avatar = sprintf(
|
570 |
+
'<img src="%1$s"%2$s alt="%3$s" class="avatar avatar-%4$s wp-user-avatar wp-user-avatar-%4$s photo avatar-default" />',
|
571 |
+
esc_url( $default_image_details['src'] ),
|
572 |
+
$default_image_details['dimensions'],
|
573 |
+
esc_attr( $alt ),
|
574 |
+
esc_attr( $size )
|
575 |
+
);
|
576 |
+
|
577 |
+
return $avatar;
|
578 |
}
|
579 |
}
|
580 |
|
613 |
*/
|
614 |
public function wpua_get_avatar_original( $id_or_email = '', $size = '', $default = '', $alt = '' ) {
|
615 |
global $avatar_default,
|
616 |
+
$mustache_avatar,
|
617 |
+
$wpua_avatar_default,
|
618 |
+
$wpua_disable_gravatar,
|
619 |
+
$wpua_functions;
|
620 |
|
621 |
// Remove get_avatar filter
|
622 |
remove_filter( 'get_avatar', array( $this, 'wpua_get_avatar_filter' ) );
|
627 |
if ( ! $wpua_functions->wpua_has_gravatar( $id_or_email ) && 'wp_user_avatar' == $avatar_default) {
|
628 |
// Show custom Default Avatar
|
629 |
if( ! empty( $wpua_avatar_default ) && $wpua_functions->wpua_attachment_is_image( $wpua_avatar_default ) ) {
|
630 |
+
$size_numeric_w_x_h = array( get_option( $size . '_size_w' ), get_option( $size . '_size_h' ) );
|
631 |
+
$wpua_avatar_default_image = $wpua_functions->wpua_get_attachment_image_src(
|
632 |
+
$wpua_avatar_default,
|
633 |
+
$size_numeric_w_x_h
|
634 |
+
);
|
635 |
|
636 |
$default = $wpua_avatar_default_image[0];
|
637 |
} else {
|
645 |
if ( ! empty( $wpua_avatar_default ) && $wpua_functions->wpua_attachment_is_image( $wpua_avatar_default ) ) {
|
646 |
$size_numeric_w_x_h = array( get_option( $size . '_size_w' ), get_option( $size . '_size_h' ) );
|
647 |
$wpua_avatar_default_image = $wpua_functions->wpua_get_attachment_image_src(
|
648 |
+
$wpua_avatar_default,
|
649 |
+
$size_numeric_w_x_h
|
650 |
+
);
|
651 |
|
652 |
$default = $wpua_avatar_default_image[0];
|
653 |
} else {
|
675 |
* @param int|string $size
|
676 |
* @param string $align
|
677 |
* @param string $alt
|
678 |
+
* @param array $class
|
679 |
+
*
|
680 |
+
* @return string $avatar
|
681 |
+
* @since 1.0
|
682 |
* @uses array $_wp_additional_image_sizes
|
683 |
* @uses array $all_sizes
|
684 |
* @uses string $avatar_default
|
701 |
*/
|
702 |
public function get_wp_user_avatar( $id_or_email = '', $size = '96', $align = '', $alt = '', $class = [] ) {
|
703 |
global $all_sizes,
|
704 |
+
$avatar_default,
|
705 |
+
$blog_id,
|
706 |
+
$post,
|
707 |
+
$wpdb,
|
708 |
+
$wpua_avatar_default,
|
709 |
+
$wpua_functions,
|
710 |
+
$_wp_additional_image_sizes;
|
711 |
|
712 |
$email = 'unknown@gravatar.com';
|
713 |
|
774 |
|
775 |
// Add dimensions to img only if numeric size was specified
|
776 |
$dimensions = is_numeric( $size ) ? sprintf(
|
777 |
+
' width="%s" height="%s"',
|
778 |
+
esc_attr( $wpua_image[1] ),
|
779 |
+
esc_attr( $wpua_image[2] )
|
780 |
+
) : '';
|
781 |
|
782 |
$class_string = ! empty( $class ) ? ' ' . $class : '';
|
783 |
|
784 |
// Construct the img tag
|
785 |
$avatar = sprintf(
|
786 |
+
'<img src="%1$s"%2$s alt="%3$s" class="avatar avatar-%4$s wp-user-avatar wp-user-avatar-%4$s%5$s photo" />',
|
787 |
+
esc_url( $wpua_image[0] ),
|
788 |
+
$dimensions,
|
789 |
+
esc_attr( $alt ),
|
790 |
+
esc_attr( $size ),
|
791 |
+
esc_attr( $alignclass )
|
792 |
+
);
|
793 |
} else {
|
794 |
// Check for custom image sizes
|
795 |
if ( in_array( $size, $all_sizes ) ) {
|
813 |
}
|
814 |
|
815 |
$replace = array(
|
816 |
+
'wp-user-avatar ',
|
817 |
+
'wp-user-avatar-' . $get_size . ' ',
|
818 |
+
'wp-user-avatar-' . $size . ' ',
|
819 |
+
'avatar-'.$get_size,
|
820 |
+
' photo'
|
821 |
+
);
|
822 |
+
|
823 |
$replacements = array(
|
824 |
+
'',
|
825 |
+
'',
|
826 |
+
'',
|
827 |
+
'avatar-' . $size,
|
828 |
+
'wp-user-avatar wp-user-avatar-' . $size . $alignclass . ' photo'
|
829 |
+
);
|
830 |
$avatar = str_replace( $replace, $replacements, $avatar );
|
831 |
}
|
832 |
/**
|
874 |
function wpua_functions_init() {
|
875 |
global $wpua_functions;
|
876 |
|
877 |
+
if ( ! isset( $wpua_functions ) ) {
|
878 |
+
$wpua_functions = new WP_User_Avatar_Functions();
|
879 |
+
}
|
880 |
|
881 |
+
return $wpua_functions;
|
882 |
}
|
883 |
add_action( 'plugins_loaded', 'wpua_functions_init' );
|
includes/class-wp-user-avatar-list-table.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_List_Table extends WP_List_Table {
|
@@ -53,7 +53,7 @@ class WP_User_Avatar_List_Table extends WP_List_Table {
|
|
53 |
$avatars = array();
|
54 |
|
55 |
while ( $avatars_wp_query->have_posts() ) {
|
56 |
-
|
57 |
|
58 |
$avatars[] = $post->ID;
|
59 |
}
|
@@ -107,7 +107,7 @@ class WP_User_Avatar_List_Table extends WP_List_Table {
|
|
107 |
if ( ! empty( $_REQUEST['detached'] ) ) {
|
108 |
printf( '<input type="hidden" name="detached" value="%s" />', esc_attr( $_REQUEST['detached'] ) );
|
109 |
}
|
110 |
-
|
111 |
|
112 |
<p class="search-box">
|
113 |
<label class="screen-reader-text" for="<?php echo esc_attr( $input_id ); ?>"><?php echo $text; ?>:</label>
|
@@ -119,7 +119,7 @@ class WP_User_Avatar_List_Table extends WP_List_Table {
|
|
119 |
<?php submit_button( $text, 'button', false, false, array( 'id' => 'search-submit' ) ); ?>
|
120 |
</p>
|
121 |
|
122 |
-
|
123 |
}
|
124 |
|
125 |
/**
|
@@ -166,21 +166,17 @@ class WP_User_Avatar_List_Table extends WP_List_Table {
|
|
166 |
$class = ( empty( $_GET['post_mime_type'] ) && ! isset( $_GET['status'] ) ) ? ' class="current"' : '';
|
167 |
|
168 |
$type_links['all'] = sprintf(
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
/* translators: uploaded files */
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
'uploaded files',
|
181 |
-
'one-user-avatar'
|
182 |
-
), sprintf( '<span class="count">(%s)</span>', number_format_i18n( $_total_posts ) ) );
|
183 |
-
$type_links['all'] .= '</a>';
|
184 |
|
185 |
return $type_links;
|
186 |
}
|
@@ -287,7 +283,7 @@ class WP_User_Avatar_List_Table extends WP_List_Table {
|
|
287 |
$alt = '';
|
288 |
|
289 |
while ( have_posts() ) :
|
290 |
-
|
291 |
|
292 |
$user_can_edit = current_user_can( 'edit_post', $post->ID );
|
293 |
|
@@ -297,212 +293,212 @@ class WP_User_Avatar_List_Table extends WP_List_Table {
|
|
297 |
|
298 |
$alt = ( 'alternate' == $alt ) ? '' : 'alternate';
|
299 |
$post_owner = (get_current_user_id() == $post->post_author) ? 'self' : 'other';
|
300 |
-
|
301 |
$att_title = _draft_or_post_title();
|
302 |
-
|
303 |
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
|
316 |
-
|
317 |
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
/* translators: post title */
|
327 |
printf( __( 'Select %s','one-user-avatar' ), $att_title );
|
328 |
?>
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
/* translators: time from now */
|
426 |
_x( '%s from now', 'time from now', 'one-user-avatar' ),
|
427 |
human_time_diff( $time)
|
428 |
);
|
429 |
-
|
430 |
-
|
431 |
/* translators: time ago */
|
432 |
_x( '%s ago', 'time ago', 'one-user-avatar' ),
|
433 |
human_time_diff( $time )
|
434 |
);
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
}
|
507 |
|
508 |
/**
|
@@ -522,36 +518,36 @@ class WP_User_Avatar_List_Table extends WP_List_Table {
|
|
522 |
|
523 |
if ( current_user_can( 'edit_post', $post->ID ) && ! $this->is_trash ) {
|
524 |
$actions['edit'] = sprintf(
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
}
|
530 |
|
531 |
if ( current_user_can( 'delete_post', $post->ID ) ) {
|
532 |
if ( $this->is_trash ) {
|
533 |
$actions['untrash'] = sprintf(
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
} elseif ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) {
|
539 |
$actions['trash'] = sprintf(
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
}
|
545 |
|
546 |
if ( $this->is_trash || ! EMPTY_TRASH_DAYS || ! MEDIA_TRASH ) {
|
547 |
$delete_ays = ( ! $this->is_trash && ! MEDIA_TRASH ) ? ' onclick="return showNotice.warn();"' : '';
|
548 |
|
549 |
$actions['delete'] = sprintf(
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
}
|
556 |
}
|
557 |
|
@@ -559,11 +555,11 @@ class WP_User_Avatar_List_Table extends WP_List_Table {
|
|
559 |
$title = _draft_or_post_title( $post->post_parent );
|
560 |
|
561 |
$actions['view'] = sprintf(
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
}
|
568 |
|
569 |
return $actions;
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_List_Table extends WP_List_Table {
|
53 |
$avatars = array();
|
54 |
|
55 |
while ( $avatars_wp_query->have_posts() ) {
|
56 |
+
$avatars_wp_query->the_post();
|
57 |
|
58 |
$avatars[] = $post->ID;
|
59 |
}
|
107 |
if ( ! empty( $_REQUEST['detached'] ) ) {
|
108 |
printf( '<input type="hidden" name="detached" value="%s" />', esc_attr( $_REQUEST['detached'] ) );
|
109 |
}
|
110 |
+
?>
|
111 |
|
112 |
<p class="search-box">
|
113 |
<label class="screen-reader-text" for="<?php echo esc_attr( $input_id ); ?>"><?php echo $text; ?>:</label>
|
119 |
<?php submit_button( $text, 'button', false, false, array( 'id' => 'search-submit' ) ); ?>
|
120 |
</p>
|
121 |
|
122 |
+
<?php
|
123 |
}
|
124 |
|
125 |
/**
|
166 |
$class = ( empty( $_GET['post_mime_type'] ) && ! isset( $_GET['status'] ) ) ? ' class="current"' : '';
|
167 |
|
168 |
$type_links['all'] = sprintf(
|
169 |
+
' <a href="%s">',
|
170 |
+
esc_url( add_query_arg( array(
|
171 |
+
'page' => 'wp-user-avatar-library',
|
172 |
+
), 'admin.php') )
|
173 |
+
);
|
174 |
+
$type_links['all'] .= sprintf(
|
175 |
/* translators: uploaded files */
|
176 |
+
_x( 'All %s', 'uploaded files', 'one-user-avatar' ),
|
177 |
+
sprintf( '<span class="count">(%s)</span>', number_format_i18n( $_total_posts ) )
|
178 |
+
);
|
179 |
+
$type_links['all'] .= '</a>';
|
|
|
|
|
|
|
|
|
180 |
|
181 |
return $type_links;
|
182 |
}
|
283 |
$alt = '';
|
284 |
|
285 |
while ( have_posts() ) :
|
286 |
+
the_post();
|
287 |
|
288 |
$user_can_edit = current_user_can( 'edit_post', $post->ID );
|
289 |
|
293 |
|
294 |
$alt = ( 'alternate' == $alt ) ? '' : 'alternate';
|
295 |
$post_owner = (get_current_user_id() == $post->post_author) ? 'self' : 'other';
|
296 |
+
$tr_class = trim( $alt . ' author-' . $post_owner . ' status-' . $post->post_status );
|
297 |
$att_title = _draft_or_post_title();
|
298 |
+
?>
|
299 |
|
300 |
+
<tr id="post-<?php echo esc_attr( $post->ID ); ?>" class="<?php echo esc_attr( $tr_class ); ?>" valign="top">
|
301 |
+
<?php
|
302 |
+
list( $columns, $hidden ) = $this->get_column_info();
|
303 |
|
304 |
+
foreach ( $columns as $column_name => $column_display_name ) {
|
305 |
+
$class = sprintf( 'class="%1$s column-%1$s"', esc_attr( $column_name ) );
|
306 |
+
$style = '';
|
307 |
|
308 |
+
if ( in_array( $column_name, $hidden ) ) {
|
309 |
+
$style = ' style="display:none;"';
|
310 |
+
}
|
311 |
|
312 |
+
$attributes = $class . $style;
|
313 |
|
314 |
+
switch ( $column_name ) {
|
315 |
+
case 'cb':
|
316 |
+
?>
|
317 |
|
318 |
+
<th scope="row" class="check-column">
|
319 |
+
<?php if ( $user_can_edit ) : ?>
|
320 |
+
<label class="screen-reader-text" for="cb-select-<?php the_ID(); ?>">
|
321 |
+
<?php
|
322 |
/* translators: post title */
|
323 |
printf( __( 'Select %s','one-user-avatar' ), $att_title );
|
324 |
?>
|
325 |
+
</label>
|
326 |
+
|
327 |
+
<input type="checkbox" name="media[]" id="cb-select-<?php the_ID(); ?>" value="<?php the_ID(); ?>" />
|
328 |
+
<?php endif; ?>
|
329 |
+
</th>
|
330 |
+
|
331 |
+
<?php
|
332 |
+
break;
|
333 |
+
|
334 |
+
case 'icon':
|
335 |
+
$attributes = 'class="column-icon media-icon"' . $style;
|
336 |
+
?>
|
337 |
+
|
338 |
+
<td <?php echo $attributes ?>>
|
339 |
+
<?php
|
340 |
+
if ( $thumb = $wpua_functions->wpua_get_attachment_image( $post->ID, array( 80, 60 ), true ) ) {
|
341 |
+
if ( $this->is_trash || ! $user_can_edit ) {
|
342 |
+
echo $thumb;
|
343 |
+
} else {
|
344 |
+
?>
|
345 |
+
<a href="<?php echo get_edit_post_link( $post->ID, true ); ?>" title="<?php echo esc_attr( sprintf( __( 'Edit %s' ), sprintf( '“%s”', $att_title ) ) ); ?>">
|
346 |
+
<?php echo $thumb; ?>
|
347 |
+
</a>
|
348 |
+
<?php
|
349 |
+
}
|
350 |
+
}
|
351 |
+
?>
|
352 |
+
</td>
|
353 |
+
|
354 |
+
<?php
|
355 |
+
break;
|
356 |
+
|
357 |
+
case 'title':
|
358 |
+
?>
|
359 |
+
|
360 |
+
<td <?php echo $attributes ?>>
|
361 |
+
<strong>
|
362 |
+
<?php
|
363 |
+
if ( $this->is_trash || ! $user_can_edit ) {
|
364 |
+
echo $att_title;
|
365 |
+
} else {
|
366 |
+
?>
|
367 |
+
<a
|
368 |
+
href="<?php echo get_edit_post_link( $post->ID, true ); ?>"
|
369 |
+
title="<?php echo esc_attr( sprintf( __( 'Edit %s' ), sprintf( '“%s”', $att_title ) ) ); ?>"
|
370 |
+
>
|
371 |
+
<?php echo $att_title; ?>
|
372 |
+
</a>
|
373 |
+
<?php
|
374 |
+
}
|
375 |
+
|
376 |
+
_media_states( $post );
|
377 |
+
?>
|
378 |
+
</strong>
|
379 |
+
|
380 |
+
<p>
|
381 |
+
<?php
|
382 |
+
if ( preg_match( '/^.*?\.(\w+)$/', get_attached_file( $post->ID ), $matches ) ) {
|
383 |
+
echo esc_html( strtoupper( $matches[1] ) );
|
384 |
+
} else {
|
385 |
+
echo strtoupper( str_replace('image/', '', get_post_mime_type() ) );
|
386 |
+
}
|
387 |
+
?>
|
388 |
+
</p>
|
389 |
+
|
390 |
+
<?php echo $this->row_actions( $this->_get_row_actions( $post, $att_title ) ); ?>
|
391 |
+
</td>
|
392 |
+
|
393 |
+
<?php
|
394 |
+
break;
|
395 |
+
|
396 |
+
case 'author':
|
397 |
+
?>
|
398 |
+
|
399 |
+
<td <?php echo $attributes ?>>
|
400 |
+
<?php
|
401 |
+
printf(
|
402 |
+
'<a href="%s">%s</a>',
|
403 |
+
esc_url( add_query_arg( array( 'author' => get_the_author_meta( 'ID' ) ), 'upload.php' ) ),
|
404 |
+
get_the_author()
|
405 |
+
);
|
406 |
+
?>
|
407 |
+
</td>
|
408 |
+
|
409 |
+
<?php
|
410 |
+
break;
|
411 |
+
|
412 |
+
case 'date':
|
413 |
+
if( '0000-00-00 00:00:00' == $post->post_date ) {
|
414 |
+
$h_time = __( 'Unpublished','one-user-avatar' );
|
415 |
+
} else {
|
416 |
+
$m_time = $post->post_date;
|
417 |
+
$time = get_post_time( 'G', true, $post, false );
|
418 |
+
if ( ( abs( $t_diff = time() - $time ) ) < DAY_IN_SECONDS ) {
|
419 |
+
if ( 0 > $t_diff ) {
|
420 |
+
$h_time = sprintf(
|
421 |
/* translators: time from now */
|
422 |
_x( '%s from now', 'time from now', 'one-user-avatar' ),
|
423 |
human_time_diff( $time)
|
424 |
);
|
425 |
+
} else {
|
426 |
+
$h_time = sprintf(
|
427 |
/* translators: time ago */
|
428 |
_x( '%s ago', 'time ago', 'one-user-avatar' ),
|
429 |
human_time_diff( $time )
|
430 |
);
|
431 |
+
}
|
432 |
+
} else {
|
433 |
+
$h_time = mysql2date( __( 'Y/m/d', 'one-user-avatar' ), $m_time );
|
434 |
+
}
|
435 |
+
}
|
436 |
+
?>
|
437 |
+
|
438 |
+
<td <?php echo $attributes ?>><?php echo $h_time ?></td>
|
439 |
+
|
440 |
+
<?php
|
441 |
+
break;
|
442 |
+
|
443 |
+
case 'parent':
|
444 |
+
global $blog_id, $wpdb;
|
445 |
+
|
446 |
+
// Find all users with this WPUA
|
447 |
+
$wpua_metakey = $wpdb->get_blog_prefix( $blog_id ) . 'user_avatar';
|
448 |
+
$wpuas = $wpdb->get_results( $wpdb->prepare(
|
449 |
+
"SELECT wpum.user_id FROM $wpdb->usermeta AS wpum, $wpdb->users AS wpu WHERE wpum.meta_key = %s AND wpum.meta_value = %d AND wpum.user_id = wpu.ID ORDER BY wpu.user_login",
|
450 |
+
$wpua_metakey,
|
451 |
+
$post->ID
|
452 |
+
) );
|
453 |
+
|
454 |
+
// Find users without WPUA
|
455 |
+
$nowpuas = $wpdb->get_results( $wpdb->prepare(
|
456 |
+
"SELECT wpu.ID FROM $wpdb->users AS wpu, $wpdb->usermeta AS wpum WHERE wpum.meta_key = %s AND wpum.meta_value = %d AND wpum.user_id = wpu.ID ORDER BY wpu.user_login",
|
457 |
+
$wpua_metakey,
|
458 |
+
''
|
459 |
+
) );
|
460 |
+
|
461 |
+
$user_array = array();
|
462 |
+
?>
|
463 |
+
|
464 |
+
<td <?php echo $attributes ?>>
|
465 |
+
<strong>
|
466 |
+
<?php
|
467 |
+
if ( ! empty( $wpuas ) ) {
|
468 |
+
foreach ( $wpuas as $usermeta ) {
|
469 |
+
$user = get_userdata( $usermeta->user_id );
|
470 |
+
$user_array[] = sprintf(
|
471 |
+
'<a href="%s">%s</a>',
|
472 |
+
get_edit_user_link( $user->ID ),
|
473 |
+
$user->user_login
|
474 |
+
);
|
475 |
+
}
|
476 |
+
} else {
|
477 |
+
foreach ( $nowpuas as $usermeta ) {
|
478 |
+
$user = get_userdata($usermeta->ID);
|
479 |
+
$user_array[] = sprintf(
|
480 |
+
'<a href="%s">%s</a>',
|
481 |
+
get_edit_user_link($user->ID),
|
482 |
+
$user->user_login
|
483 |
+
);
|
484 |
+
}
|
485 |
+
}
|
486 |
+
|
487 |
+
echo implode( ', ', array_filter( $user_array ) );
|
488 |
+
?>
|
489 |
+
</strong>
|
490 |
+
</td>
|
491 |
+
|
492 |
+
<?php
|
493 |
+
break;
|
494 |
+
}
|
495 |
+
}
|
496 |
+
?>
|
497 |
+
|
498 |
+
</tr>
|
499 |
+
|
500 |
+
<?php
|
501 |
+
endwhile;
|
502 |
}
|
503 |
|
504 |
/**
|
518 |
|
519 |
if ( current_user_can( 'edit_post', $post->ID ) && ! $this->is_trash ) {
|
520 |
$actions['edit'] = sprintf(
|
521 |
+
'<a href="%s">%s</a>',
|
522 |
+
get_edit_post_link( $post->ID, true ),
|
523 |
+
__( 'Edit', 'one-user-avatar' )
|
524 |
+
);
|
525 |
}
|
526 |
|
527 |
if ( current_user_can( 'delete_post', $post->ID ) ) {
|
528 |
if ( $this->is_trash ) {
|
529 |
$actions['untrash'] = sprintf(
|
530 |
+
'<a class="submitdelete" href="%s">%s</a>',
|
531 |
+
wp_nonce_url( sprintf( 'post.php?action=untrash&post=%s', $post->ID ), 'untrash-post_' . $post->ID ),
|
532 |
+
__( 'Restore', 'one-user-avatar' )
|
533 |
+
);
|
534 |
} elseif ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) {
|
535 |
$actions['trash'] = sprintf(
|
536 |
+
'<a class="submitdelete" href="%s">%s</a>',
|
537 |
+
wp_nonce_url( sprintf( 'post.php?action=trash&post=%s', $post->ID ), 'trash-post_' . $post->ID),
|
538 |
+
__( 'Trash', 'one-user-avatar' )
|
539 |
+
);
|
540 |
}
|
541 |
|
542 |
if ( $this->is_trash || ! EMPTY_TRASH_DAYS || ! MEDIA_TRASH ) {
|
543 |
$delete_ays = ( ! $this->is_trash && ! MEDIA_TRASH ) ? ' onclick="return showNotice.warn();"' : '';
|
544 |
|
545 |
$actions['delete'] = sprintf(
|
546 |
+
'<a class="submitdelete"%s href="%s">%s</a>',
|
547 |
+
$delete_ays,
|
548 |
+
wp_nonce_url( sprintf( 'post.php?action=delete&post=%s', $post->ID ), 'delete-post_'.$post->ID ),
|
549 |
+
__( 'Delete Permanently', 'one-user-avatar' )
|
550 |
+
);
|
551 |
}
|
552 |
}
|
553 |
|
555 |
$title = _draft_or_post_title( $post->post_parent );
|
556 |
|
557 |
$actions['view'] = sprintf(
|
558 |
+
'<a href="%s" title="%s" rel="permalink">%s</a>',
|
559 |
+
get_permalink( $post->ID ),
|
560 |
+
esc_attr( sprintf( __( 'View %s' ), sprintf( '“%s”', $title ) ) ),
|
561 |
+
__( 'View', 'one-user-avatar' )
|
562 |
+
);
|
563 |
}
|
564 |
|
565 |
return $actions;
|
includes/class-wp-user-avatar-resource-manager.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* @copyright 2014-2020 Flippercode
|
13 |
* @copyright 2020-2021 ProfilePress
|
14 |
* @copyright 2021 One Designs
|
15 |
-
* @version 2.3.
|
16 |
*/
|
17 |
|
18 |
class WP_User_Avatar_Resource_Manager {
|
@@ -182,8 +182,8 @@ class WP_User_Avatar_Resource_Manager {
|
|
182 |
// scripts and manipulate the buffer, so we can only provide a warning
|
183 |
if ( defined( 'W3TC' ) && defined( 'WP_DEBUG' ) && WP_DEBUG && ! is_admin() ) {
|
184 |
if ( ! defined( 'DONOTCACHEPAGE' ) ) {
|
185 |
-
|
186 |
-
|
187 |
|
188 |
error_log( sprintf(
|
189 |
/* translators: either wp_footer() or wp_print_footer_scripts() hook. */
|
@@ -221,8 +221,8 @@ class WP_User_Avatar_Resource_Manager {
|
|
221 |
// Once we have the footer scripts, we can modify the buffer and
|
222 |
// move the resources around
|
223 |
if ( $this->wrote_footer ) {
|
224 |
-
|
225 |
-
|
226 |
|
227 |
return $this->buffer;
|
228 |
}
|
@@ -233,8 +233,8 @@ class WP_User_Avatar_Resource_Manager {
|
|
233 |
*/
|
234 |
function shutdown() {
|
235 |
if ( $this->run_shutdown ) {
|
236 |
-
|
237 |
-
|
238 |
}
|
239 |
|
240 |
/**
|
12 |
* @copyright 2014-2020 Flippercode
|
13 |
* @copyright 2020-2021 ProfilePress
|
14 |
* @copyright 2021 One Designs
|
15 |
+
* @version 2.3.4
|
16 |
*/
|
17 |
|
18 |
class WP_User_Avatar_Resource_Manager {
|
182 |
// scripts and manipulate the buffer, so we can only provide a warning
|
183 |
if ( defined( 'W3TC' ) && defined( 'WP_DEBUG' ) && WP_DEBUG && ! is_admin() ) {
|
184 |
if ( ! defined( 'DONOTCACHEPAGE' ) ) {
|
185 |
+
define( 'DONOTCACHEPAGE', true );
|
186 |
+
}
|
187 |
|
188 |
error_log( sprintf(
|
189 |
/* translators: either wp_footer() or wp_print_footer_scripts() hook. */
|
221 |
// Once we have the footer scripts, we can modify the buffer and
|
222 |
// move the resources around
|
223 |
if ( $this->wrote_footer ) {
|
224 |
+
$this->move_resources();
|
225 |
+
}
|
226 |
|
227 |
return $this->buffer;
|
228 |
}
|
233 |
*/
|
234 |
function shutdown() {
|
235 |
if ( $this->run_shutdown ) {
|
236 |
+
echo $this->output_buffer( true );
|
237 |
+
}
|
238 |
}
|
239 |
|
240 |
/**
|
includes/class-wp-user-avatar-setup.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Setup {
|
@@ -30,11 +30,9 @@ class WP_User_Avatar_Setup {
|
|
30 |
* @since 1.9.2
|
31 |
*/
|
32 |
private function _define_constants() {
|
33 |
-
|
34 |
-
|
35 |
-
define( '
|
36 |
-
define( 'WPUA_FOLDER', basename( dirname( $_file_ ) ) );
|
37 |
-
define( 'WPUA_DIR', plugin_dir_path( $_file_ ) );
|
38 |
define( 'WPUA_INC', WPUA_DIR . 'includes' . '/' );
|
39 |
define( 'WPUA_URL', plugin_dir_url( WPUA_FOLDER ) . WPUA_FOLDER . '/' );
|
40 |
define( 'WPUA_ASSETS_URL', WPUA_URL . 'assets'.'/' );
|
@@ -52,20 +50,20 @@ class WP_User_Avatar_Setup {
|
|
52 |
private function _load_wp_includes() {
|
53 |
if ( ! is_admin() ) {
|
54 |
// wp_handle_upload
|
55 |
-
require_once( ABSPATH.'wp-admin/includes/file.php' );
|
56 |
|
57 |
-
|
58 |
-
require_once( ABSPATH.'wp-admin/includes/image.php' );
|
59 |
|
60 |
-
|
61 |
-
require_once( ABSPATH.'wp-admin/includes/media.php' );
|
62 |
|
63 |
// submit_button
|
64 |
-
require_once( ABSPATH.'wp-admin/includes/template.php' );
|
65 |
}
|
66 |
|
67 |
// add_screen_option
|
68 |
-
require_once(ABSPATH.'wp-admin/includes/screen.php');
|
69 |
}
|
70 |
|
71 |
/**
|
@@ -95,13 +93,13 @@ class WP_User_Avatar_Setup {
|
|
95 |
}
|
96 |
|
97 |
function wp_user_avatar_setup() {
|
98 |
-
|
99 |
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
|
104 |
-
|
105 |
}
|
106 |
|
107 |
/**
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Setup {
|
30 |
* @since 1.9.2
|
31 |
*/
|
32 |
private function _define_constants() {
|
33 |
+
define( 'WPUA_VERSION', '2.3.4' );
|
34 |
+
define( 'WPUA_FOLDER', basename( dirname( One_User_Avatar::plugin_file_path() ) ) );
|
35 |
+
define( 'WPUA_DIR', One_User_Avatar::plugin_dir_path() );
|
|
|
|
|
36 |
define( 'WPUA_INC', WPUA_DIR . 'includes' . '/' );
|
37 |
define( 'WPUA_URL', plugin_dir_url( WPUA_FOLDER ) . WPUA_FOLDER . '/' );
|
38 |
define( 'WPUA_ASSETS_URL', WPUA_URL . 'assets'.'/' );
|
50 |
private function _load_wp_includes() {
|
51 |
if ( ! is_admin() ) {
|
52 |
// wp_handle_upload
|
53 |
+
require_once( ABSPATH . 'wp-admin/includes/file.php' );
|
54 |
|
55 |
+
// wp_generate_attachment_metadata
|
56 |
+
require_once( ABSPATH . 'wp-admin/includes/image.php' );
|
57 |
|
58 |
+
// image_add_caption
|
59 |
+
require_once( ABSPATH . 'wp-admin/includes/media.php' );
|
60 |
|
61 |
// submit_button
|
62 |
+
require_once( ABSPATH . 'wp-admin/includes/template.php' );
|
63 |
}
|
64 |
|
65 |
// add_screen_option
|
66 |
+
require_once( ABSPATH . 'wp-admin/includes/screen.php' );
|
67 |
}
|
68 |
|
69 |
/**
|
93 |
}
|
94 |
|
95 |
function wp_user_avatar_setup() {
|
96 |
+
global $wp_user_avatar_setup;
|
97 |
|
98 |
+
if ( ! isset( $wp_user_avatar_setup ) ) {
|
99 |
+
$wp_user_avatar_setup = new WP_User_Avatar_Setup();
|
100 |
+
}
|
101 |
|
102 |
+
return $wp_user_avatar_setup;
|
103 |
}
|
104 |
|
105 |
/**
|
includes/class-wp-user-avatar-shortcode.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Shortcode {
|
@@ -67,22 +67,22 @@ class WP_User_Avatar_Shortcode {
|
|
67 |
|
68 |
// Set shortcode attributes
|
69 |
extract( shortcode_atts( array(
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
|
77 |
// Find user by ID, login, slug, or e-mail address
|
78 |
if ( ! empty( $user ) ) {
|
79 |
if ( 'current' == $user ) {
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
} else {
|
87 |
// Find author's name if id_or_email is empty
|
88 |
$author_name = get_query_var( 'author_name' );
|
@@ -135,12 +135,12 @@ class WP_User_Avatar_Shortcode {
|
|
135 |
|
136 |
// Wrap the avatar inside the link
|
137 |
$html = sprintf(
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
} else {
|
145 |
$html = get_wp_user_avatar( $id_or_email, $get_size, $align );
|
146 |
}
|
@@ -260,10 +260,10 @@ class WP_User_Avatar_Shortcode {
|
|
260 |
*/
|
261 |
private function wpua_edit_form($user) {
|
262 |
ob_start();
|
263 |
-
|
264 |
|
265 |
<form id="wpua-edit-<?php echo esc_attr( $user->ID ); ?>" class="wpua-edit" action="" method="post" enctype="multipart/form-data">
|
266 |
-
<?php do_action('wpua_show_profile', $user); ?>
|
267 |
|
268 |
<input type="hidden" name="wpua_action" value="update" />
|
269 |
<input type="hidden" name="user_id" id="user_id" value="<?php echo esc_attr( $user->ID ); ?>" />
|
@@ -273,7 +273,7 @@ class WP_User_Avatar_Shortcode {
|
|
273 |
<?php submit_button( __( 'Update Profile', 'one-user-avatar' ) ); ?>
|
274 |
</form>
|
275 |
|
276 |
-
|
277 |
|
278 |
return ob_get_clean();
|
279 |
}
|
@@ -286,10 +286,10 @@ class WP_User_Avatar_Shortcode {
|
|
286 |
function wpua_shortcode_init() {
|
287 |
global $wpua_shortcode;
|
288 |
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
|
293 |
-
|
294 |
}
|
295 |
add_action( 'init', 'wpua_shortcode_init' );
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Shortcode {
|
67 |
|
68 |
// Set shortcode attributes
|
69 |
extract( shortcode_atts( array(
|
70 |
+
'user' => '',
|
71 |
+
'size' => '96',
|
72 |
+
'align' => '',
|
73 |
+
'link' => '',
|
74 |
+
'target' => '',
|
75 |
+
), $atts ) );
|
76 |
|
77 |
// Find user by ID, login, slug, or e-mail address
|
78 |
if ( ! empty( $user ) ) {
|
79 |
if ( 'current' == $user ) {
|
80 |
+
$user = wp_get_current_user();
|
81 |
+
} else {
|
82 |
+
$user = is_numeric( $user ) ? get_user_by( 'id', $user ) : get_user_by('login', $user);
|
83 |
+
$user = empty( $user ) ? get_user_by( 'slug', $user ) : $user;
|
84 |
+
$user = empty( $user ) ? get_user_by( 'email', $user ) : $user;
|
85 |
+
}
|
86 |
} else {
|
87 |
// Find author's name if id_or_email is empty
|
88 |
$author_name = get_query_var( 'author_name' );
|
135 |
|
136 |
// Wrap the avatar inside the link
|
137 |
$html = sprintf(
|
138 |
+
'<a href="%s" class="wp-user-avatar-link wp-user-avatar-%s"%s>%s</a>',
|
139 |
+
esc_attr( $link ),
|
140 |
+
esc_attr( $link_class ),
|
141 |
+
$target_link,
|
142 |
+
get_wp_user_avatar( $id_or_email, $get_size, $align )
|
143 |
+
);
|
144 |
} else {
|
145 |
$html = get_wp_user_avatar( $id_or_email, $get_size, $align );
|
146 |
}
|
260 |
*/
|
261 |
private function wpua_edit_form($user) {
|
262 |
ob_start();
|
263 |
+
?>
|
264 |
|
265 |
<form id="wpua-edit-<?php echo esc_attr( $user->ID ); ?>" class="wpua-edit" action="" method="post" enctype="multipart/form-data">
|
266 |
+
<?php do_action( 'wpua_show_profile', $user ); ?>
|
267 |
|
268 |
<input type="hidden" name="wpua_action" value="update" />
|
269 |
<input type="hidden" name="user_id" id="user_id" value="<?php echo esc_attr( $user->ID ); ?>" />
|
273 |
<?php submit_button( __( 'Update Profile', 'one-user-avatar' ) ); ?>
|
274 |
</form>
|
275 |
|
276 |
+
<?php
|
277 |
|
278 |
return ob_get_clean();
|
279 |
}
|
286 |
function wpua_shortcode_init() {
|
287 |
global $wpua_shortcode;
|
288 |
|
289 |
+
if ( ! isset( $wpua_shortcode ) ) {
|
290 |
+
$wpua_shortcode = new WP_User_Avatar_Shortcode();
|
291 |
+
}
|
292 |
|
293 |
+
return $wpua_shortcode;
|
294 |
}
|
295 |
add_action( 'init', 'wpua_shortcode_init' );
|
includes/class-wp-user-avatar-subscriber.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Subscriber {
|
@@ -27,7 +27,7 @@ class WP_User_Avatar_Subscriber {
|
|
27 |
public function __construct() {
|
28 |
global $wpua_allow_upload;
|
29 |
|
30 |
-
if( 1 == (bool) $wpua_allow_upload ) {
|
31 |
add_action( 'user_edit_form_tag', array( $this, 'wpua_add_edit_form_multipart_encoding' ) );
|
32 |
}
|
33 |
|
@@ -60,9 +60,9 @@ class WP_User_Avatar_Subscriber {
|
|
60 |
|
61 |
$user_roles = get_option( $wp_user_roles );
|
62 |
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
|
67 |
update_option( $wp_user_roles, $user_roles );
|
68 |
}
|
@@ -75,10 +75,10 @@ class WP_User_Avatar_Subscriber {
|
|
75 |
function wpua_subscriber_init() {
|
76 |
global $wpua_subscriber;
|
77 |
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
|
82 |
-
|
83 |
}
|
84 |
add_action( 'init', 'wpua_subscriber_init' );
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Subscriber {
|
27 |
public function __construct() {
|
28 |
global $wpua_allow_upload;
|
29 |
|
30 |
+
if ( 1 == (bool) $wpua_allow_upload ) {
|
31 |
add_action( 'user_edit_form_tag', array( $this, 'wpua_add_edit_form_multipart_encoding' ) );
|
32 |
}
|
33 |
|
60 |
|
61 |
$user_roles = get_option( $wp_user_roles );
|
62 |
|
63 |
+
if ( isset( $user_roles['subscriber']['capabilities']['edit_posts'] ) ) {
|
64 |
+
unset( $user_roles['subscriber']['capabilities']['edit_posts'] );
|
65 |
+
}
|
66 |
|
67 |
update_option( $wp_user_roles, $user_roles );
|
68 |
}
|
75 |
function wpua_subscriber_init() {
|
76 |
global $wpua_subscriber;
|
77 |
|
78 |
+
if ( ! isset( $wpua_subscriber ) ) {
|
79 |
+
$wpua_subscriber = new WP_User_Avatar_Subscriber();
|
80 |
+
}
|
81 |
|
82 |
+
return $wpua_subscriber;
|
83 |
}
|
84 |
add_action( 'init', 'wpua_subscriber_init' );
|
includes/class-wp-user-avatar-update.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Update {
|
@@ -93,7 +93,7 @@ class WP_User_Avatar_Update {
|
|
93 |
foreach ( $users as $user ) {
|
94 |
$wpua = get_user_meta( $user->ID, 'wp_user_avatar', true );
|
95 |
|
96 |
-
|
97 |
update_user_meta( $user->ID, $wpua_metakey, $wpua );
|
98 |
delete_user_meta( $user->ID, 'wp_user_avatar' );
|
99 |
}
|
@@ -120,11 +120,11 @@ class WP_User_Avatar_Update {
|
|
120 |
$wpua_metakey = $wpdb->get_blog_prefix( $blog_id ) . 'user_avatar';
|
121 |
|
122 |
$wpuas = $wpdb->get_results( $wpdb->prepare(
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
|
129 |
foreach( $wpuas as $usermeta ) {
|
130 |
add_post_meta( $usermeta->meta_value, '_wp_attachment_wp_user_avatar', $usermeta->user_id );
|
@@ -141,10 +141,10 @@ class WP_User_Avatar_Update {
|
|
141 |
function wpua_update_init() {
|
142 |
global $wpua_update;
|
143 |
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
|
148 |
-
|
149 |
}
|
150 |
add_action('init', 'wpua_update_init');
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Update {
|
93 |
foreach ( $users as $user ) {
|
94 |
$wpua = get_user_meta( $user->ID, 'wp_user_avatar', true );
|
95 |
|
96 |
+
if ( ! empty( $wpua ) ) {
|
97 |
update_user_meta( $user->ID, $wpua_metakey, $wpua );
|
98 |
delete_user_meta( $user->ID, 'wp_user_avatar' );
|
99 |
}
|
120 |
$wpua_metakey = $wpdb->get_blog_prefix( $blog_id ) . 'user_avatar';
|
121 |
|
122 |
$wpuas = $wpdb->get_results( $wpdb->prepare(
|
123 |
+
"SELECT * FROM $wpdb->usermeta WHERE meta_key = %s AND meta_value != %d AND meta_value != %d",
|
124 |
+
$wpua_metakey,
|
125 |
+
0,
|
126 |
+
''
|
127 |
+
) );
|
128 |
|
129 |
foreach( $wpuas as $usermeta ) {
|
130 |
add_post_meta( $usermeta->meta_value, '_wp_attachment_wp_user_avatar', $usermeta->user_id );
|
141 |
function wpua_update_init() {
|
142 |
global $wpua_update;
|
143 |
|
144 |
+
if ( ! isset( $wpua_update ) ) {
|
145 |
+
$wpua_update = new WP_User_Avatar_Update();
|
146 |
+
}
|
147 |
|
148 |
+
return $wpua_update;
|
149 |
}
|
150 |
add_action('init', 'wpua_update_init');
|
includes/class-wp-user-avatar-widget.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Profile_Widget extends WP_Widget {
|
@@ -21,13 +21,13 @@ class WP_User_Avatar_Profile_Widget extends WP_Widget {
|
|
21 |
*/
|
22 |
public function __construct() {
|
23 |
$widget_ops = array(
|
24 |
-
|
25 |
-
|
26 |
/* translators: [avatar_upload] shortcode */
|
27 |
__( 'Insert %s', 'one-user-avatar' ),
|
28 |
'[avatar_upload]'
|
29 |
),
|
30 |
-
|
31 |
|
32 |
parent::__construct( 'wp_user_avatar_profile', __( 'One User Avatar', 'one-user-avatar' ), $widget_ops );
|
33 |
}
|
@@ -76,7 +76,7 @@ class WP_User_Avatar_Profile_Widget extends WP_Widget {
|
|
76 |
// Get [avatar_upload] shortcode
|
77 |
echo $wpua_shortcode->wpua_edit_shortcode( '' );
|
78 |
|
79 |
-
|
80 |
remove_filter('wpua_profile_title', '__return_null');
|
81 |
}
|
82 |
}
|
@@ -89,10 +89,10 @@ class WP_User_Avatar_Profile_Widget extends WP_Widget {
|
|
89 |
*/
|
90 |
public function form( $instance ) {
|
91 |
$instance = wp_parse_args( (array) $instance, array(
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
|
97 |
<p>
|
98 |
<label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>">
|
@@ -113,7 +113,7 @@ class WP_User_Avatar_Profile_Widget extends WP_Widget {
|
|
113 |
<?php _e( 'Automatically add paragraphs', 'one-user-avatar' ); ?>
|
114 |
</label>
|
115 |
</p>
|
116 |
-
|
117 |
}
|
118 |
|
119 |
/**
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Profile_Widget extends WP_Widget {
|
21 |
*/
|
22 |
public function __construct() {
|
23 |
$widget_ops = array(
|
24 |
+
'classname' => 'widget_wp_user_avatar',
|
25 |
+
'description' => sprintf(
|
26 |
/* translators: [avatar_upload] shortcode */
|
27 |
__( 'Insert %s', 'one-user-avatar' ),
|
28 |
'[avatar_upload]'
|
29 |
),
|
30 |
+
);
|
31 |
|
32 |
parent::__construct( 'wp_user_avatar_profile', __( 'One User Avatar', 'one-user-avatar' ), $widget_ops );
|
33 |
}
|
76 |
// Get [avatar_upload] shortcode
|
77 |
echo $wpua_shortcode->wpua_edit_shortcode( '' );
|
78 |
|
79 |
+
// Add back profile title
|
80 |
remove_filter('wpua_profile_title', '__return_null');
|
81 |
}
|
82 |
}
|
89 |
*/
|
90 |
public function form( $instance ) {
|
91 |
$instance = wp_parse_args( (array) $instance, array(
|
92 |
+
'title' => '',
|
93 |
+
'text' => '',
|
94 |
+
) );
|
95 |
+
?>
|
96 |
|
97 |
<p>
|
98 |
<label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>">
|
113 |
<?php _e( 'Automatically add paragraphs', 'one-user-avatar' ); ?>
|
114 |
</label>
|
115 |
</p>
|
116 |
+
<?php
|
117 |
}
|
118 |
|
119 |
/**
|
includes/class-wp-user-avatar.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar {
|
@@ -67,20 +67,21 @@ class WP_User_Avatar {
|
|
67 |
add_filter( 'wp_handle_upload_prefilter', array( $this, 'wpua_handle_upload_prefilter' ) );
|
68 |
}
|
69 |
}
|
|
|
70 |
add_filter( 'media_view_settings', array( $this, 'wpua_media_view_settings' ), 10, 1 );
|
71 |
}
|
72 |
|
73 |
/**
|
74 |
* Avatars have no parent posts
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
*/
|
85 |
public function wpua_media_view_settings( $settings ) {
|
86 |
global $post, $wpua_is_profile;
|
@@ -125,6 +126,7 @@ class WP_User_Avatar {
|
|
125 |
$post,
|
126 |
$show_avatars,
|
127 |
$wp_user_avatar,
|
|
|
128 |
$wpua_admin,
|
129 |
$wpua_functions,
|
130 |
$wpua_is_profile,
|
@@ -139,7 +141,7 @@ class WP_User_Avatar {
|
|
139 |
|
140 |
wp_enqueue_script( 'jquery' );
|
141 |
|
142 |
-
if ( $wp_user_avatar->wpua_is_author_or_above() ) {
|
143 |
wp_enqueue_script( 'admin-bar' );
|
144 |
wp_enqueue_media( array( 'post' => $post ) );
|
145 |
wp_enqueue_script( 'wp-user-avatar', WPUA_JS_URL . 'wp-user-avatar.js', array( 'jquery', 'media-editor' ), WPUA_VERSION, true );
|
@@ -180,6 +182,7 @@ class WP_User_Avatar {
|
|
180 |
$show_avatars,
|
181 |
$wpdb,
|
182 |
$wp_user_avatar,
|
|
|
183 |
$wpua_edit_avatar,
|
184 |
$wpua_functions,
|
185 |
$wpua_upload_size_limit_with_units;
|
@@ -212,7 +215,7 @@ class WP_User_Avatar {
|
|
212 |
<input type="hidden" name="wp-user-avatar" id="<?php echo ( 'add-new-user' == $user ) ? 'wp-user-avatar' : 'wp-user-avatar-existing' ?>" value="<?php echo $wpua; ?>" />
|
213 |
|
214 |
<?php
|
215 |
-
if ( $wp_user_avatar->wpua_is_author_or_above() ) :
|
216 |
// Button to launch Media Uploader
|
217 |
?>
|
218 |
|
@@ -233,7 +236,7 @@ class WP_User_Avatar {
|
|
233 |
</p>
|
234 |
|
235 |
<?php
|
236 |
-
elseif ( ! $wp_user_avatar->wpua_is_author_or_above()) :
|
237 |
// Upload button
|
238 |
?>
|
239 |
|
@@ -456,17 +459,18 @@ class WP_User_Avatar {
|
|
456 |
*/
|
457 |
public static function wpua_action_process_option_update( $user_id ) {
|
458 |
global $blog_id,
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
|
|
467 |
|
468 |
// Check if user has publish_posts capability
|
469 |
-
if ( $wp_user_avatar->wpua_is_author_or_above() ) {
|
470 |
$wpua_id = isset( $_POST['wp-user-avatar'] ) ? absint( $_POST['wp-user-avatar'] ) : 0;
|
471 |
|
472 |
// Remove old attachment postmeta
|
@@ -498,7 +502,7 @@ class WP_User_Avatar {
|
|
498 |
$avatars_wp_query = new WP_Query( $q );
|
499 |
|
500 |
while( $avatars_wp_query->have_posts() ) {
|
501 |
-
|
502 |
|
503 |
wp_delete_attachment( $post->ID );
|
504 |
}
|
@@ -518,8 +522,8 @@ class WP_User_Avatar {
|
|
518 |
$name = isset( $file['name'] ) ? sanitize_file_name( $file['name'] ) : '';
|
519 |
$type = isset( $file['type'] ) ? sanitize_mime_type( $file['type'] ) : '';
|
520 |
$file = wp_handle_upload( $file, array(
|
521 |
-
|
522 |
-
|
523 |
|
524 |
if ( isset( $file['url'] ) ) {
|
525 |
if ( ! empty( $type ) && preg_match( '/(jpe?g|gif|png)$/i' , $type ) ) {
|
@@ -587,10 +591,10 @@ class WP_User_Avatar {
|
|
587 |
$avatars_wp_query = new WP_Query( $q );
|
588 |
|
589 |
while ( $avatars_wp_query->have_posts() ){
|
590 |
-
|
591 |
|
592 |
wp_delete_attachment($post->ID);
|
593 |
-
|
594 |
|
595 |
wp_reset_query();
|
596 |
|
@@ -639,11 +643,11 @@ class WP_User_Avatar {
|
|
639 |
*/
|
640 |
public function wpua_is_author_or_above() {
|
641 |
$is_author_or_above = (
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
|
648 |
/**
|
649 |
* Filter Author privilege check
|
@@ -661,10 +665,10 @@ class WP_User_Avatar {
|
|
661 |
function wpua_init() {
|
662 |
global $wp_user_avatar;
|
663 |
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
|
668 |
-
|
669 |
}
|
670 |
add_action( 'init', 'wpua_init' );
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar {
|
67 |
add_filter( 'wp_handle_upload_prefilter', array( $this, 'wpua_handle_upload_prefilter' ) );
|
68 |
}
|
69 |
}
|
70 |
+
|
71 |
add_filter( 'media_view_settings', array( $this, 'wpua_media_view_settings' ), 10, 1 );
|
72 |
}
|
73 |
|
74 |
/**
|
75 |
* Avatars have no parent posts
|
76 |
+
*
|
77 |
+
* @param array $settings
|
78 |
+
*
|
79 |
+
* @return array
|
80 |
+
* @uses object $post
|
81 |
+
* @uses bool $wpua_is_profile
|
82 |
+
* @uses is_admin()
|
83 |
+
* array $settings
|
84 |
+
* @since 1.8.4
|
85 |
*/
|
86 |
public function wpua_media_view_settings( $settings ) {
|
87 |
global $post, $wpua_is_profile;
|
126 |
$post,
|
127 |
$show_avatars,
|
128 |
$wp_user_avatar,
|
129 |
+
$wpua_force_file_uploader,
|
130 |
$wpua_admin,
|
131 |
$wpua_functions,
|
132 |
$wpua_is_profile,
|
141 |
|
142 |
wp_enqueue_script( 'jquery' );
|
143 |
|
144 |
+
if ( $wp_user_avatar->wpua_is_author_or_above() && ! $wpua_force_file_uploader ) {
|
145 |
wp_enqueue_script( 'admin-bar' );
|
146 |
wp_enqueue_media( array( 'post' => $post ) );
|
147 |
wp_enqueue_script( 'wp-user-avatar', WPUA_JS_URL . 'wp-user-avatar.js', array( 'jquery', 'media-editor' ), WPUA_VERSION, true );
|
182 |
$show_avatars,
|
183 |
$wpdb,
|
184 |
$wp_user_avatar,
|
185 |
+
$wpua_force_file_uploader,
|
186 |
$wpua_edit_avatar,
|
187 |
$wpua_functions,
|
188 |
$wpua_upload_size_limit_with_units;
|
215 |
<input type="hidden" name="wp-user-avatar" id="<?php echo ( 'add-new-user' == $user ) ? 'wp-user-avatar' : 'wp-user-avatar-existing' ?>" value="<?php echo $wpua; ?>" />
|
216 |
|
217 |
<?php
|
218 |
+
if ( $wp_user_avatar->wpua_is_author_or_above() && ! $wpua_force_file_uploader ) :
|
219 |
// Button to launch Media Uploader
|
220 |
?>
|
221 |
|
236 |
</p>
|
237 |
|
238 |
<?php
|
239 |
+
elseif ( ! $wp_user_avatar->wpua_is_author_or_above() || $wpua_force_file_uploader ) :
|
240 |
// Upload button
|
241 |
?>
|
242 |
|
459 |
*/
|
460 |
public static function wpua_action_process_option_update( $user_id ) {
|
461 |
global $blog_id,
|
462 |
+
$post,
|
463 |
+
$wpdb,
|
464 |
+
$wp_user_avatar,
|
465 |
+
$wpua_force_file_uploader,
|
466 |
+
$wpua_resize_crop,
|
467 |
+
$wpua_resize_h,
|
468 |
+
$wpua_resize_upload,
|
469 |
+
$wpua_resize_w,
|
470 |
+
$wpua_admin;
|
471 |
|
472 |
// Check if user has publish_posts capability
|
473 |
+
if ( $wp_user_avatar->wpua_is_author_or_above() && ! $wpua_force_file_uploader ) {
|
474 |
$wpua_id = isset( $_POST['wp-user-avatar'] ) ? absint( $_POST['wp-user-avatar'] ) : 0;
|
475 |
|
476 |
// Remove old attachment postmeta
|
502 |
$avatars_wp_query = new WP_Query( $q );
|
503 |
|
504 |
while( $avatars_wp_query->have_posts() ) {
|
505 |
+
$avatars_wp_query->the_post();
|
506 |
|
507 |
wp_delete_attachment( $post->ID );
|
508 |
}
|
522 |
$name = isset( $file['name'] ) ? sanitize_file_name( $file['name'] ) : '';
|
523 |
$type = isset( $file['type'] ) ? sanitize_mime_type( $file['type'] ) : '';
|
524 |
$file = wp_handle_upload( $file, array(
|
525 |
+
'test_form' => false,
|
526 |
+
) );
|
527 |
|
528 |
if ( isset( $file['url'] ) ) {
|
529 |
if ( ! empty( $type ) && preg_match( '/(jpe?g|gif|png)$/i' , $type ) ) {
|
591 |
$avatars_wp_query = new WP_Query( $q );
|
592 |
|
593 |
while ( $avatars_wp_query->have_posts() ){
|
594 |
+
$avatars_wp_query->the_post();
|
595 |
|
596 |
wp_delete_attachment($post->ID);
|
597 |
+
}
|
598 |
|
599 |
wp_reset_query();
|
600 |
|
643 |
*/
|
644 |
public function wpua_is_author_or_above() {
|
645 |
$is_author_or_above = (
|
646 |
+
current_user_can( 'edit_published_posts' ) &&
|
647 |
+
current_user_can( 'upload_files' ) &&
|
648 |
+
current_user_can( 'publish_posts') &&
|
649 |
+
current_user_can( 'delete_published_posts')
|
650 |
+
) ? true : false;
|
651 |
|
652 |
/**
|
653 |
* Filter Author privilege check
|
665 |
function wpua_init() {
|
666 |
global $wp_user_avatar;
|
667 |
|
668 |
+
if ( ! isset( $wp_user_avatar ) ) {
|
669 |
+
$wp_user_avatar = new WP_User_Avatar();
|
670 |
+
}
|
671 |
|
672 |
+
return $wp_user_avatar;
|
673 |
}
|
674 |
add_action( 'init', 'wpua_init' );
|
includes/wpua-functions.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
/**
|
@@ -98,18 +98,18 @@ function wpua_do_before_avatar() {
|
|
98 |
* @param string $wpua_profile_title
|
99 |
*/
|
100 |
$wpua_profile_title = apply_filters( 'wpua_profile_title', $wpua_profile_title );
|
101 |
-
|
102 |
|
103 |
<?php if ( class_exists( 'bbPress' ) && bbp_is_edit() ) :
|
104 |
-
|
105 |
-
|
106 |
<h2 class="entry-title"><?php _e( 'Profile Picture', 'one-user-avatar' ); ?></h2>
|
107 |
|
108 |
<fieldset class="bbp-form">
|
109 |
<legend><?php _e( 'Image', 'one-user-avatar' ); ?></legend>
|
110 |
<?php elseif( class_exists( 'WPUF_Main' ) && wpuf_has_shortcode( 'wpuf_editprofile' ) ) :
|
111 |
-
|
112 |
-
|
113 |
<fieldset>
|
114 |
<legend><?php _e( 'Profile Picture', 'one-user-avatar' ); ?></legend>
|
115 |
|
@@ -119,8 +119,8 @@ function wpua_do_before_avatar() {
|
|
119 |
|
120 |
<td>
|
121 |
<?php else :
|
122 |
-
|
123 |
-
|
124 |
<div class="wpua-edit-container">
|
125 |
<?php echo $wpua_profile_title; ?>
|
126 |
<?php endif; ?>
|
@@ -136,21 +136,21 @@ add_action( 'wpua_before_avatar', 'wpua_do_before_avatar' );
|
|
136 |
* @uses wpuf_has_shortcode()
|
137 |
*/
|
138 |
function wpua_do_after_avatar() {
|
139 |
-
|
140 |
<?php if ( class_exists( 'bbPress' ) && bbp_is_edit() ) :
|
141 |
-
|
142 |
-
|
143 |
</fieldset>
|
144 |
<?php elseif ( class_exists( 'WPUF_Main' ) && wpuf_has_shortcode( 'wpuf_editprofile' ) ) :
|
145 |
-
|
146 |
-
|
147 |
</td>
|
148 |
</tr>
|
149 |
</table>
|
150 |
</fieldset>
|
151 |
<?php else :
|
152 |
-
|
153 |
-
|
154 |
</div>
|
155 |
<?php endif; ?>
|
156 |
<?php
|
@@ -180,7 +180,7 @@ function wpua_after_avatar_admin() {
|
|
180 |
* @since 1.9.4
|
181 |
*/
|
182 |
function wpua_do_before_avatar_admin() {
|
183 |
-
|
184 |
<table class="form-table">
|
185 |
<tr>
|
186 |
<th><label for="wp_user_avatar"><?php _e( 'Profile Picture', 'one-user-avatar' ); ?></label></th>
|
@@ -195,7 +195,7 @@ add_action( 'wpua_before_avatar_admin', 'wpua_do_before_avatar_admin' );
|
|
195 |
* @since 1.9.4
|
196 |
*/
|
197 |
function wpua_do_after_avatar_admin() {
|
198 |
-
|
199 |
</td>
|
200 |
</tr>
|
201 |
</table>
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
/**
|
98 |
* @param string $wpua_profile_title
|
99 |
*/
|
100 |
$wpua_profile_title = apply_filters( 'wpua_profile_title', $wpua_profile_title );
|
101 |
+
?>
|
102 |
|
103 |
<?php if ( class_exists( 'bbPress' ) && bbp_is_edit() ) :
|
104 |
+
// Add to bbPress profile with same style
|
105 |
+
?>
|
106 |
<h2 class="entry-title"><?php _e( 'Profile Picture', 'one-user-avatar' ); ?></h2>
|
107 |
|
108 |
<fieldset class="bbp-form">
|
109 |
<legend><?php _e( 'Image', 'one-user-avatar' ); ?></legend>
|
110 |
<?php elseif( class_exists( 'WPUF_Main' ) && wpuf_has_shortcode( 'wpuf_editprofile' ) ) :
|
111 |
+
// Add to WP User Frontend profile with same style
|
112 |
+
?>
|
113 |
<fieldset>
|
114 |
<legend><?php _e( 'Profile Picture', 'one-user-avatar' ); ?></legend>
|
115 |
|
119 |
|
120 |
<td>
|
121 |
<?php else :
|
122 |
+
// Add to profile without table
|
123 |
+
?>
|
124 |
<div class="wpua-edit-container">
|
125 |
<?php echo $wpua_profile_title; ?>
|
126 |
<?php endif; ?>
|
136 |
* @uses wpuf_has_shortcode()
|
137 |
*/
|
138 |
function wpua_do_after_avatar() {
|
139 |
+
?>
|
140 |
<?php if ( class_exists( 'bbPress' ) && bbp_is_edit() ) :
|
141 |
+
// Add to bbPress profile with same style
|
142 |
+
?>
|
143 |
</fieldset>
|
144 |
<?php elseif ( class_exists( 'WPUF_Main' ) && wpuf_has_shortcode( 'wpuf_editprofile' ) ) :
|
145 |
+
// Add to WP User Frontend profile with same style
|
146 |
+
?>
|
147 |
</td>
|
148 |
</tr>
|
149 |
</table>
|
150 |
</fieldset>
|
151 |
<?php else :
|
152 |
+
// Add to profile without table
|
153 |
+
?>
|
154 |
</div>
|
155 |
<?php endif; ?>
|
156 |
<?php
|
180 |
* @since 1.9.4
|
181 |
*/
|
182 |
function wpua_do_before_avatar_admin() {
|
183 |
+
?>
|
184 |
<table class="form-table">
|
185 |
<tr>
|
186 |
<th><label for="wp_user_avatar"><?php _e( 'Profile Picture', 'one-user-avatar' ); ?></label></th>
|
195 |
* @since 1.9.4
|
196 |
*/
|
197 |
function wpua_do_after_avatar_admin() {
|
198 |
+
?>
|
199 |
</td>
|
200 |
</tr>
|
201 |
</table>
|
includes/wpua-globals.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
/**
|
@@ -25,6 +25,7 @@
|
|
25 |
global $avatar_default,
|
26 |
$show_avatars,
|
27 |
$wpua_allow_upload,
|
|
|
28 |
$wpua_avatar_default,
|
29 |
$wpua_disable_gravatar,
|
30 |
$wpua_edit_avatar,
|
@@ -53,7 +54,7 @@ global $avatar_default,
|
|
53 |
$wpua_hash_gravatar = get_option( 'wpua_hash_gravatar' );
|
54 |
|
55 |
if ( false != $wpua_hash_gravatar ) {
|
56 |
-
|
57 |
}
|
58 |
|
59 |
// Default avatar name
|
@@ -63,13 +64,14 @@ $avatar_default = get_option( 'avatar_default' );
|
|
63 |
$wpua_avatar_default = get_option( 'avatar_default_wp_user_avatar' );
|
64 |
|
65 |
// Booleans
|
66 |
-
$show_avatars
|
67 |
-
$wpua_allow_upload
|
68 |
-
$
|
69 |
-
$
|
70 |
-
$
|
71 |
-
$
|
72 |
-
$
|
|
|
73 |
|
74 |
// Resize dimensions
|
75 |
$wpua_resize_h = get_option( 'wp_user_avatar_resize_h' );
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
/**
|
25 |
global $avatar_default,
|
26 |
$show_avatars,
|
27 |
$wpua_allow_upload,
|
28 |
+
$wpua_force_file_uploader,
|
29 |
$wpua_avatar_default,
|
30 |
$wpua_disable_gravatar,
|
31 |
$wpua_edit_avatar,
|
54 |
$wpua_hash_gravatar = get_option( 'wpua_hash_gravatar' );
|
55 |
|
56 |
if ( false != $wpua_hash_gravatar ) {
|
57 |
+
$wpua_hash_gravatar = maybe_unserialize( $wpua_hash_gravatar );
|
58 |
}
|
59 |
|
60 |
// Default avatar name
|
64 |
$wpua_avatar_default = get_option( 'avatar_default_wp_user_avatar' );
|
65 |
|
66 |
// Booleans
|
67 |
+
$show_avatars = get_option( 'show_avatars' );
|
68 |
+
$wpua_allow_upload = get_option( 'wp_user_avatar_allow_upload' );
|
69 |
+
$wpua_force_file_uploader = get_option( 'wp_user_avatar_force_file_uploader' );
|
70 |
+
$wpua_disable_gravatar = get_option( 'wp_user_avatar_disable_gravatar' );
|
71 |
+
$wpua_edit_avatar = get_option( 'wp_user_avatar_edit_avatar' );
|
72 |
+
$wpua_resize_crop = get_option( 'wp_user_avatar_resize_crop' );
|
73 |
+
$wpua_resize_upload = get_option( 'wp_user_avatar_resize_upload' );
|
74 |
+
$wpua_tinymce = get_option( 'wp_user_avatar_tinymce' );
|
75 |
|
76 |
// Resize dimensions
|
77 |
$wpua_resize_h = get_option( 'wp_user_avatar_resize_h' );
|
includes/wpua-media-page.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
/**
|
@@ -60,14 +60,14 @@ $wp_list_table->prepare_items();
|
|
60 |
|
61 |
<?php if ( ! empty( $_REQUEST['s'] ) ) : ?>
|
62 |
<span class="subtitle">
|
63 |
-
|
64 |
printf(
|
65 |
/* translators: search query */
|
66 |
__( 'Search results for %s','one-user-avatar' ),
|
67 |
sprintf( '“%s”', get_search_query() )
|
68 |
);
|
69 |
?>
|
70 |
-
|
71 |
<?php endif; ?>
|
72 |
</h2>
|
73 |
|
@@ -76,19 +76,19 @@ $wp_list_table->prepare_items();
|
|
76 |
|
77 |
if ( ! empty( $_GET['deleted'] ) && $deleted = absint( $_GET['deleted'] ) ) {
|
78 |
$message = sprintf(
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
|
87 |
$_SERVER['REQUEST_URI'] = remove_query_arg( array( 'deleted' ), $_SERVER['REQUEST_URI'] );
|
88 |
}
|
89 |
-
|
90 |
|
91 |
-
|
92 |
<div id="message" class="updated"><p><?php echo $message; ?></p></div>
|
93 |
<?php endif; ?>
|
94 |
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
/**
|
60 |
|
61 |
<?php if ( ! empty( $_REQUEST['s'] ) ) : ?>
|
62 |
<span class="subtitle">
|
63 |
+
<?php
|
64 |
printf(
|
65 |
/* translators: search query */
|
66 |
__( 'Search results for %s','one-user-avatar' ),
|
67 |
sprintf( '“%s”', get_search_query() )
|
68 |
);
|
69 |
?>
|
70 |
+
</span>
|
71 |
<?php endif; ?>
|
72 |
</h2>
|
73 |
|
76 |
|
77 |
if ( ! empty( $_GET['deleted'] ) && $deleted = absint( $_GET['deleted'] ) ) {
|
78 |
$message = sprintf(
|
79 |
+
_n(
|
80 |
+
'Media attachment permanently deleted.',
|
81 |
+
'%d media attachments permanently deleted.',
|
82 |
+
$deleted
|
83 |
+
),
|
84 |
+
number_format_i18n( $_GET['deleted'] )
|
85 |
+
);
|
86 |
|
87 |
$_SERVER['REQUEST_URI'] = remove_query_arg( array( 'deleted' ), $_SERVER['REQUEST_URI'] );
|
88 |
}
|
89 |
+
?>
|
90 |
|
91 |
+
<?php if ( ! empty( $message ) ) : ?>
|
92 |
<div id="message" class="updated"><p><?php echo $message; ?></p></div>
|
93 |
<?php endif; ?>
|
94 |
|
includes/wpua-options-page.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
/**
|
@@ -41,7 +41,21 @@
|
|
41 |
* @uses wpua_add_default_avatar()
|
42 |
*/
|
43 |
|
44 |
-
global $show_avatars,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
$updated = false;
|
47 |
|
@@ -66,260 +80,273 @@ $wpua_options_page_title = apply_filters( 'wpua_options_page_title', $wpua_optio
|
|
66 |
<h2><?php echo $wpua_options_page_title; ?></h2>
|
67 |
|
68 |
<table>
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
/* translators: file name */
|
178 |
__( '%s exceeds the maximum upload size for this site.', 'one-user-avatar' ),
|
179 |
''
|
180 |
); ?></span>
|
181 |
|
182 |
-
|
183 |
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
/* translators: file size in KB */
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
</div>
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
/**
|
41 |
* @uses wpua_add_default_avatar()
|
42 |
*/
|
43 |
|
44 |
+
global $show_avatars,
|
45 |
+
$upload_size_limit_with_units,
|
46 |
+
$wpua_admin,
|
47 |
+
$wpua_allow_upload,
|
48 |
+
$wpua_force_file_uploader,
|
49 |
+
$wpua_disable_gravatar,
|
50 |
+
$wpua_edit_avatar,
|
51 |
+
$wpua_resize_crop,
|
52 |
+
$wpua_resize_h,
|
53 |
+
$wpua_resize_upload,
|
54 |
+
$wpua_resize_w,
|
55 |
+
$wpua_subscriber,
|
56 |
+
$wpua_tinymce,
|
57 |
+
$wpua_upload_size_limit,
|
58 |
+
$wpua_upload_size_limit_with_units;
|
59 |
|
60 |
$updated = false;
|
61 |
|
80 |
<h2><?php echo $wpua_options_page_title; ?></h2>
|
81 |
|
82 |
<table>
|
83 |
+
<tr valign="top">
|
84 |
+
<td align="top">
|
85 |
+
<form method="post" action="<?php echo admin_url('options.php'); ?>">
|
86 |
+
|
87 |
+
<?php settings_fields('wpua-settings-group'); ?>
|
88 |
+
|
89 |
+
<?php do_settings_fields('wpua-settings-group', ""); ?>
|
90 |
+
|
91 |
+
<table class="form-table">
|
92 |
+
<?php
|
93 |
+
// Format settings in table rows
|
94 |
+
$wpua_before_settings = array();
|
95 |
+
|
96 |
+
/**
|
97 |
+
* Filter settings at beginning of table
|
98 |
+
* @since 1.9
|
99 |
+
* @param array $wpua_before_settings
|
100 |
+
*/
|
101 |
+
$wpua_before_settings = apply_filters( 'wpua_before_settings', $wpua_before_settings );
|
102 |
+
|
103 |
+
echo implode( '', $wpua_before_settings );
|
104 |
+
?>
|
105 |
+
|
106 |
+
<tr valign="top">
|
107 |
+
<th scope="row"><?php _e( 'Settings', 'one-user-avatar' ); ?></th>
|
108 |
+
|
109 |
+
<td>
|
110 |
+
<?php
|
111 |
+
// Format settings in fieldsets
|
112 |
+
$wpua_settings = array();
|
113 |
+
|
114 |
+
$wpua_settings['tinymce'] = sprintf(
|
115 |
+
'<fieldset>
|
116 |
+
<label for="wp_user_avatar_tinymce">
|
117 |
+
<input name="wp_user_avatar_tinymce" type="checkbox" id="wp_user_avatar_tinymce" value="1" %s />
|
118 |
+
%s
|
119 |
+
</label>
|
120 |
+
</fieldset>',
|
121 |
+
checked( $wpua_tinymce, true, false ),
|
122 |
+
__( 'Add avatar button to Visual Editor', 'one-user-avatar' )
|
123 |
+
);
|
124 |
+
|
125 |
+
$wpua_settings['upload'] = sprintf(
|
126 |
+
'<fieldset>
|
127 |
+
<label for="wp_user_avatar_allow_upload">
|
128 |
+
<input name="wp_user_avatar_allow_upload" type="checkbox" id="wp_user_avatar_allow_upload" value="1" %s />
|
129 |
+
%s
|
130 |
+
</label>
|
131 |
+
</fieldset>',
|
132 |
+
checked( $wpua_allow_upload, true, false ),
|
133 |
+
__( 'Allow Contributors & Subscribers to upload avatars', 'one-user-avatar' )
|
134 |
+
);
|
135 |
+
|
136 |
+
$wpua_settings['gravatar'] = sprintf(
|
137 |
+
'<fieldset>
|
138 |
+
<label for="wp_user_avatar_disable_gravatar">
|
139 |
+
<input name="wp_user_avatar_disable_gravatar" type="checkbox" id="wp_user_avatar_disable_gravatar" value="1" %s />
|
140 |
+
%s
|
141 |
+
</label>
|
142 |
+
</fieldset>',
|
143 |
+
checked( $wpua_disable_gravatar, true, false ),
|
144 |
+
__( 'Disable Gravatar and use only local avatars', 'one-user-avatar' )
|
145 |
+
);
|
146 |
+
|
147 |
+
$wpua_settings['force_file_uploader'] = sprintf(
|
148 |
+
'<fieldset>
|
149 |
+
<label for="wp_user_avatar_force_file_uploader">
|
150 |
+
<input name="wp_user_avatar_force_file_uploader" type="checkbox" id="wp_user_avatar_force_file_uploader" value="1" %s />
|
151 |
+
%s
|
152 |
+
</label>
|
153 |
+
<p class="description">%s</p>
|
154 |
+
</fieldset>',
|
155 |
+
checked( $wpua_force_file_uploader, true, false ),
|
156 |
+
__( 'Always use the browser file uploader to upload avatars', 'one-user-avatar' ),
|
157 |
+
__( 'Check this if another plugin is conflicting with the WordPress Media Uploader.', 'one-user-avatar' )
|
158 |
+
);
|
159 |
+
|
160 |
+
/**
|
161 |
+
* Filter main settings
|
162 |
+
* @since 1.9
|
163 |
+
* @param array $wpua_settings
|
164 |
+
*/
|
165 |
+
$wpua_settings = apply_filters( 'wpua_settings', $wpua_settings );
|
166 |
+
|
167 |
+
echo implode( '', $wpua_settings );
|
168 |
+
?>
|
169 |
+
</td>
|
170 |
+
</tr>
|
171 |
+
</table>
|
172 |
+
|
173 |
+
<?php
|
174 |
+
// Format settings in table
|
175 |
+
$wpua_subscriber_settings = array();
|
176 |
+
|
177 |
+
ob_start();
|
178 |
+
?>
|
179 |
+
|
180 |
+
<div id="wpua-contributors-subscribers"<?php echo $hide_size; ?>>
|
181 |
+
<table class="form-table">
|
182 |
+
<tr valign="top">
|
183 |
+
<th scope="row">
|
184 |
+
<label for="wp_user_avatar_upload_size_limit">'
|
185 |
+
<?php _e( 'Upload Size Limit', 'one-user-avatar' ); ?>
|
186 |
+
<?php _e( '(only for Contributors & Subscribers)', 'one-user-avatar' ); ?>
|
187 |
+
</label>
|
188 |
+
</th>
|
189 |
+
|
190 |
+
<td>
|
191 |
+
<fieldset>
|
192 |
+
<legend class="screen-reader-text">
|
193 |
+
<span>
|
194 |
+
<?php _e( 'Upload Size Limit', 'one-user-avatar' ); ?>
|
195 |
+
<?php _e( '(only for Contributors & Subscribers)', 'one-user-avatar' ); ?>
|
196 |
+
</span>
|
197 |
+
</legend>
|
198 |
+
|
199 |
+
<input name="wp_user_avatar_upload_size_limit" type="text" id="wp_user_avatar_upload_size_limit" value="<?php echo esc_attr( $wpua_upload_size_limit ); ?>" class="regular-text" />
|
200 |
+
|
201 |
+
<span id="wpua-readable-size"><?php echo $wpua_upload_size_limit_with_units; ?></span>
|
202 |
+
|
203 |
+
<span id="wpua-readable-size-error"><?php printf(
|
204 |
/* translators: file name */
|
205 |
__( '%s exceeds the maximum upload size for this site.', 'one-user-avatar' ),
|
206 |
''
|
207 |
); ?></span>
|
208 |
|
209 |
+
<div id="wpua-slider"></div>
|
210 |
|
211 |
+
<span class="description">
|
212 |
+
<?php
|
213 |
+
printf(
|
214 |
/* translators: file size in KB */
|
215 |
+
__( 'Maximum upload file size: %s.', 'one-user-avatar' ),
|
216 |
+
esc_html( wp_max_upload_size() ) . esc_html( sprintf( ' bytes (%s)', $upload_size_limit_with_units ) )
|
217 |
+
);
|
218 |
+
?>
|
219 |
+
</span>
|
220 |
+
</fieldset>
|
221 |
+
|
222 |
+
<fieldset>
|
223 |
+
<label for="wp_user_avatar_edit_avatar">
|
224 |
+
<input name="wp_user_avatar_edit_avatar" type="checkbox" id="wp_user_avatar_edit_avatar" value="1" <?php checked( $wpua_edit_avatar ); ?> />
|
225 |
+
|
226 |
+
<?php _e( 'Allow users to edit avatars', 'one-user-avatar' ); ?>
|
227 |
+
</label>
|
228 |
+
</fieldset>
|
229 |
+
|
230 |
+
<fieldset>
|
231 |
+
<label for="wp_user_avatar_resize_upload">
|
232 |
+
<input name="wp_user_avatar_resize_upload" type="checkbox" id="wp_user_avatar_resize_upload" value="1" <?php checked( $wpua_resize_upload ); ?> />
|
233 |
+
|
234 |
+
<?php _e( 'Resize avatars on upload', 'one-user-avatar' ); ?>
|
235 |
+
</label>
|
236 |
+
</fieldset>
|
237 |
+
|
238 |
+
<fieldset id="wpua-resize-sizes"'.$hide_resize.'>
|
239 |
+
<label for="wp_user_avatar_resize_w"><?php _e( 'Width', 'one-user-avatar' ); ?></label>
|
240 |
+
|
241 |
+
<input name="wp_user_avatar_resize_w" type="number" step="1" min="0" id="wp_user_avatar_resize_w" value="<?php echo esc_attr( get_option( 'wp_user_avatar_resize_w' ) ); ?>" class="small-text" />
|
242 |
+
|
243 |
+
<label for="wp_user_avatar_resize_h"><?php _e( 'Height', 'one-user-avatar' ); ?></label>
|
244 |
+
|
245 |
+
<input name="wp_user_avatar_resize_h" type="number" step="1" min="0" id="wp_user_avatar_resize_h" value="<?php echo esc_attr( get_option( 'wp_user_avatar_resize_h' ) ); ?>" class="small-text" />
|
246 |
+
|
247 |
+
<br />
|
248 |
+
|
249 |
+
<input name="wp_user_avatar_resize_crop" type="checkbox" id="wp_user_avatar_resize_crop" value="1" <?php checked( '1', $wpua_resize_crop ); ?> />
|
250 |
+
|
251 |
+
<label for="wp_user_avatar_resize_crop"><?php _e( 'Crop avatars to exact dimensions', 'one-user-avatar' ); ?></label>
|
252 |
+
</fieldset>
|
253 |
+
</td>
|
254 |
+
</tr>
|
255 |
+
</table>
|
256 |
+
</div>
|
257 |
+
|
258 |
+
<?php
|
259 |
+
$wpua_subscriber_settings['subscriber-settings'] = ob_get_clean();
|
260 |
+
|
261 |
+
/**
|
262 |
+
* Filter Subscriber settings
|
263 |
+
* @since 1.9
|
264 |
+
* @param array $wpua_subscriber_settings
|
265 |
+
*/
|
266 |
+
$wpua_subscriber_settings = apply_filters( 'wpua_subscriber_settings', $wpua_subscriber_settings );
|
267 |
+
|
268 |
+
echo implode( '', $wpua_subscriber_settings );
|
269 |
+
?>
|
270 |
+
|
271 |
+
<table class="form-table">
|
272 |
+
<tr valign="top">
|
273 |
+
<th scope="row"><?php _e( 'Avatar Display', 'one-user-avatar' ); ?></th>
|
274 |
+
|
275 |
+
<td>
|
276 |
+
<fieldset>
|
277 |
+
<legend class="screen-reader-text">
|
278 |
+
<span>
|
279 |
+
<?php _e( 'Avatar Display', 'one-user-avatar' ); ?>
|
280 |
+
</span>
|
281 |
+
</legend>
|
282 |
+
|
283 |
+
<label for="show_avatars">
|
284 |
+
<input type="checkbox" id="show_avatars" name="show_avatars" value="1" <?php checked( $show_avatars ); ?> />
|
285 |
+
|
286 |
+
<?php _e( 'Show Avatars', 'one-user-avatar' ); ?>
|
287 |
+
</label>
|
288 |
+
</fieldset>
|
289 |
+
</td>
|
290 |
+
</tr>
|
291 |
+
|
292 |
+
<tr valign="top" id="avatar-rating"<?php echo ( 1 === (bool) $wpua_disable_gravatar ) ? ' style="display:none"' : '' ?>>
|
293 |
+
<th scope="row"><?php _e( 'Maximum Rating', 'one-user-avatar' ); ?></th>
|
294 |
+
|
295 |
+
<td>
|
296 |
+
<fieldset>
|
297 |
+
<legend class="screen-reader-text">
|
298 |
+
<span>
|
299 |
+
<?php _e( 'Maximum Rating', 'one-user-avatar' ); ?>
|
300 |
+
</span>
|
301 |
+
</legend>
|
302 |
+
|
303 |
+
<?php
|
304 |
+
$ratings = array(
|
305 |
+
'G' => __( 'G — Suitable for all audiences', 'one-user-avatar' ),
|
306 |
+
'PG' => __( 'PG — Possibly offensive, usually for audiences 13 and above', 'one-user-avatar' ),
|
307 |
+
'R' => __( 'R — Intended for adult audiences above 17', 'one-user-avatar' ),
|
308 |
+
'X' => __( 'X — Even more mature than above', 'one-user-avatar' ),
|
309 |
+
);
|
310 |
+
|
311 |
+
foreach ( $ratings as $key => $rating ) :
|
312 |
+
?>
|
313 |
+
<label>
|
314 |
+
<input type="radio" name="avatar_rating" value="<?php echo esc_attr( $key ); ?>" <?php checked( $key, get_option( 'avatar_rating' ) ); ?> />
|
315 |
+
<?php echo $rating; ?>
|
316 |
+
</label>
|
317 |
+
|
318 |
+
<br />
|
319 |
+
<?php
|
320 |
+
endforeach;
|
321 |
+
?>
|
322 |
+
</fieldset>
|
323 |
+
</td>
|
324 |
+
</tr>
|
325 |
+
|
326 |
+
<tr valign="top">
|
327 |
+
<th scope="row"><?php _e( 'Default Avatar', 'one-user-avatar' ); ?></th>
|
328 |
+
|
329 |
+
<td class="defaultavatarpicker">
|
330 |
+
<fieldset>
|
331 |
+
<legend class="screen-reader-text">
|
332 |
+
<span>
|
333 |
+
<?php _e( 'Default Avatar', 'one-user-avatar' ); ?>
|
334 |
+
</span>
|
335 |
+
</legend>
|
336 |
+
|
337 |
+
<?php _e( 'For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address.', 'one-user-avatar' ); ?>
|
338 |
+
|
339 |
+
<br />
|
340 |
+
|
341 |
+
<?php echo $wpua_admin->wpua_add_default_avatar(); ?>
|
342 |
+
</fieldset>
|
343 |
+
</td>
|
344 |
+
</tr>
|
345 |
+
</table>
|
346 |
+
|
347 |
+
<?php submit_button(); ?>
|
348 |
+
</form>
|
349 |
+
</td>
|
350 |
+
</tr>
|
351 |
+
</table>
|
352 |
</div>
|
includes/wpua-tinymce-window.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
/**
|
@@ -104,16 +104,16 @@ $hook_suffix = 'one-user-avatar_tinymce-window';
|
|
104 |
<option value=""></option>
|
105 |
|
106 |
<?php
|
107 |
-
|
108 |
|
109 |
-
|
110 |
-
|
111 |
|
112 |
<option value="<?php echo esc_attr( $user->user_login ); ?>"><?php echo esc_html( $user->display_name ); ?></option>
|
113 |
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
</select>
|
118 |
</p>
|
119 |
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
/**
|
104 |
<option value=""></option>
|
105 |
|
106 |
<?php
|
107 |
+
$users = get_users();
|
108 |
|
109 |
+
foreach($users as $user) :
|
110 |
+
?>
|
111 |
|
112 |
<option value="<?php echo esc_attr( $user->user_login ); ?>"><?php echo esc_html( $user->display_name ); ?></option>
|
113 |
|
114 |
+
<?php
|
115 |
+
endforeach;
|
116 |
+
?>
|
117 |
</select>
|
118 |
</p>
|
119 |
|
includes/wpua-tinymce.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
/**
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
/**
|
languages/de_DE.mo
CHANGED
Binary file
|
languages/de_DE.po
CHANGED
@@ -5,8 +5,8 @@ msgstr ""
|
|
5 |
"Project-Id-Version: Plugins - WP User Avatar | User Profile Picture - Stable "
|
6 |
"(latest release)\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
8 |
-
"POT-Creation-Date: 2021-
|
9 |
-
"PO-Revision-Date: 2021-
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: \n"
|
12 |
"Language: de\n"
|
@@ -14,13 +14,13 @@ msgstr ""
|
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
-
"X-Generator: Poedit
|
18 |
|
19 |
#. Plugin Name of the plugin
|
20 |
-
#: includes/class-wp-user-avatar-admin.php:
|
21 |
-
#: includes/class-wp-user-avatar-admin.php:
|
22 |
#: includes/class-wp-user-avatar-widget.php:32
|
23 |
-
#: includes/wpua-options-page.php:
|
24 |
msgid "One User Avatar"
|
25 |
msgstr "One User Avatar"
|
26 |
|
@@ -45,101 +45,103 @@ msgstr "One Designs"
|
|
45 |
msgid "https://onedesigns.com/"
|
46 |
msgstr "https://onedesigns.com/"
|
47 |
|
48 |
-
#: includes/class-wp-user-avatar-admin.php:
|
49 |
msgid "You are not allowed to delete this post."
|
50 |
msgstr "Du bist nicht berechtigt, diesen Beitrag zu löschen."
|
51 |
|
52 |
-
#: includes/class-wp-user-avatar-admin.php:
|
53 |
msgid "Error in deleting."
|
54 |
msgstr "Fehler beim Löschen."
|
55 |
|
56 |
-
#: includes/class-wp-user-avatar-admin.php:
|
57 |
-
#: includes/class-wp-user-avatar-admin.php:
|
58 |
msgid "Avatars"
|
59 |
msgstr "Avatare"
|
60 |
|
61 |
-
#: includes/class-wp-user-avatar-admin.php:
|
62 |
-
#: includes/class-wp-user-avatar-admin.php:
|
63 |
-
#: includes/class-wp-user-avatar-admin.php:
|
64 |
-
#: includes/wpua-options-page.php:
|
65 |
msgid "Settings"
|
66 |
msgstr "Einstellungen"
|
67 |
|
68 |
-
#: includes/class-wp-user-avatar-admin.php:
|
69 |
-
#: includes/class-wp-user-avatar-admin.php:
|
70 |
msgid "Library"
|
71 |
msgstr "Bibliothek"
|
72 |
|
73 |
-
#: includes/class-wp-user-avatar-admin.php:
|
74 |
msgid "Mystery Man"
|
75 |
msgstr "Mystery Man"
|
76 |
|
77 |
-
#: includes/class-wp-user-avatar-admin.php:
|
78 |
msgid "Blank"
|
79 |
msgstr "Leer"
|
80 |
|
81 |
-
#: includes/class-wp-user-avatar-admin.php:
|
82 |
msgid "Gravatar Logo"
|
83 |
msgstr "Gravatar-Logo"
|
84 |
|
85 |
-
#: includes/class-wp-user-avatar-admin.php:
|
86 |
msgid "Identicon (Generated)"
|
87 |
msgstr "Identicon (automatisch generiert)"
|
88 |
|
89 |
-
#: includes/class-wp-user-avatar-admin.php:
|
90 |
msgid "Wavatar (Generated)"
|
91 |
msgstr "Wavatar (automatisch generiert)"
|
92 |
|
93 |
-
#: includes/class-wp-user-avatar-admin.php:
|
94 |
msgid "MonsterID (Generated)"
|
95 |
msgstr "MonsterID (automatisch generiert)"
|
96 |
|
97 |
-
#: includes/class-wp-user-avatar-admin.php:
|
98 |
msgid "Retro (Generated)"
|
99 |
msgstr "Retro (automatisch generiert)"
|
100 |
|
101 |
-
#: includes/class-wp-user-avatar-admin.php:
|
102 |
-
#: includes/class-wp-user-avatar.php:
|
103 |
msgid "Choose Image"
|
104 |
msgstr "Bild auswählen"
|
105 |
|
106 |
-
#: includes/class-wp-user-avatar-admin.php:
|
107 |
msgid "Remove"
|
108 |
msgstr "Entfernen"
|
109 |
|
110 |
-
#: includes/class-wp-user-avatar-admin.php:
|
111 |
-
#: includes/class-wp-user-avatar.php:
|
112 |
msgid "Undo"
|
113 |
msgstr "Rückgängig"
|
114 |
|
115 |
-
#: includes/class-wp-user-avatar-admin.php:
|
|
|
|
|
|
|
|
|
116 |
msgid "Support Forums"
|
117 |
msgstr "Support-Foren"
|
118 |
|
119 |
-
#: includes/class-wp-user-avatar-admin.php:
|
120 |
-
#: includes/class-wp-user-avatar-admin.php:
|
121 |
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
122 |
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
123 |
msgid "Profile Picture"
|
124 |
msgstr "Profilbild"
|
125 |
|
126 |
-
#: includes/class-wp-user-avatar-admin.php:
|
127 |
-
#: includes/wpua-options-page.php:
|
128 |
msgid "Default Avatar"
|
129 |
msgstr "Standard-Avatar"
|
130 |
|
131 |
#: includes/class-wp-user-avatar-functions.php:515
|
132 |
-
#: includes/class-wp-user-avatar-functions.php:
|
133 |
msgid "Avatar"
|
134 |
msgstr "Avatar"
|
135 |
|
136 |
#. translators: uploaded files
|
137 |
-
#: includes/class-wp-user-avatar-list-table.php:
|
138 |
msgctxt "uploaded files"
|
139 |
msgid "All %s"
|
140 |
-
|
141 |
-
msgstr[0] "Alle %s"
|
142 |
-
msgstr[1] "Alle %s"
|
143 |
|
144 |
#: includes/class-wp-user-avatar-list-table.php:192
|
145 |
#: includes/class-wp-user-avatar-list-table.php:549
|
@@ -220,7 +222,7 @@ msgstr ""
|
|
220 |
"aufgerufen, was von One User Avatar benötigt wird. Bitte fügen Sie diesen "
|
221 |
"Aufruf Ihren Seitenvorlagen hinzu."
|
222 |
|
223 |
-
#: includes/class-wp-user-avatar-shortcode.php:
|
224 |
msgid "Profile updated."
|
225 |
msgstr "Profil aktualisiert."
|
226 |
|
@@ -246,50 +248,50 @@ msgid "Automatically add paragraphs"
|
|
246 |
msgstr "Absätze automatisch hinzufügen"
|
247 |
|
248 |
#. translators: user display name
|
249 |
-
#: includes/class-wp-user-avatar.php:
|
250 |
msgid "Choose Image: %s"
|
251 |
msgstr "Bild auswählen: %s"
|
252 |
|
253 |
-
#: includes/class-wp-user-avatar.php:
|
254 |
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
255 |
msgid "Upload"
|
256 |
msgstr "Hochladen"
|
257 |
|
258 |
#. translators: file size in KB
|
259 |
-
#: includes/class-wp-user-avatar.php:
|
260 |
msgid "Maximum upload file size: %s."
|
261 |
msgstr "Maximale Dateigröße für Uploads: %s."
|
262 |
|
263 |
#. translators: allowed file extensions
|
264 |
-
#: includes/class-wp-user-avatar.php:
|
265 |
msgid "Allowed Files: %s"
|
266 |
msgstr "Erlaubte Dateien: %s"
|
267 |
|
268 |
-
#: includes/class-wp-user-avatar.php:
|
269 |
#: includes/wpua-tinymce-window.php:125
|
270 |
msgid "Original Size"
|
271 |
msgstr "Originalgröße"
|
272 |
|
273 |
-
#: includes/class-wp-user-avatar.php:
|
274 |
#: includes/wpua-tinymce-window.php:128
|
275 |
msgid "Thumbnail"
|
276 |
msgstr "Vorschaubild"
|
277 |
|
278 |
-
#: includes/class-wp-user-avatar.php:
|
279 |
msgid "Remove Image"
|
280 |
msgstr "Bild entfernen"
|
281 |
|
282 |
-
#: includes/class-wp-user-avatar.php:
|
283 |
msgid "This file is not an image. Please try another."
|
284 |
msgstr "Diese Datei ist kein Bild. Bitte versuche es mit einer anderen."
|
285 |
|
286 |
-
#: includes/class-wp-user-avatar.php:
|
287 |
msgid "Memory exceeded. Please try another smaller file."
|
288 |
msgstr ""
|
289 |
"Speicherkapazität überschritten. Bitte versuche es mit einer kleineren Datei."
|
290 |
|
291 |
#. translators: directory path
|
292 |
-
#: includes/class-wp-user-avatar.php:
|
293 |
msgid ""
|
294 |
"Unable to create directory %s. Is its parent directory writable by the "
|
295 |
"server?"
|
@@ -314,80 +316,93 @@ msgstr "Suchergebnisse für %s"
|
|
314 |
msgid "Search"
|
315 |
msgstr "Suchen"
|
316 |
|
317 |
-
#: includes/wpua-options-page.php:
|
318 |
msgid "Add avatar button to Visual Editor"
|
319 |
msgstr "Avator-Button zum visuellen Editor hinzufügen"
|
320 |
|
321 |
-
#: includes/wpua-options-page.php:
|
322 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
323 |
msgstr "Mitwirkenden und Abonnenten erlauben, Avatare hochzuladen"
|
324 |
|
325 |
-
#: includes/wpua-options-page.php:
|
326 |
msgid "Disable Gravatar and use only local avatars"
|
327 |
msgstr "Gravatar deaktivieren und nur lokale Avatare verwenden"
|
328 |
|
329 |
-
#: includes/wpua-options-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
330 |
msgid "Upload Size Limit"
|
331 |
msgstr "Dateigrößenbeschränkung"
|
332 |
|
333 |
-
#: includes/wpua-options-page.php:
|
334 |
msgid "(only for Contributors & Subscribers)"
|
335 |
msgstr "(nur für Mitwirkende und Abonnenten)"
|
336 |
|
337 |
#. translators: file name
|
338 |
-
#: includes/wpua-options-page.php:
|
339 |
msgid "%s exceeds the maximum upload size for this site."
|
340 |
msgstr "%s überschreitet das Upload-Limit für diese Website."
|
341 |
|
342 |
-
#: includes/wpua-options-page.php:
|
343 |
msgid "Allow users to edit avatars"
|
344 |
msgstr "Benutzern erlauben, Avatare zu bearbeiten"
|
345 |
|
346 |
-
#: includes/wpua-options-page.php:
|
347 |
msgid "Resize avatars on upload"
|
348 |
msgstr "Avatar-Größe beim Upload ändern"
|
349 |
|
350 |
-
#: includes/wpua-options-page.php:
|
351 |
msgid "Width"
|
352 |
msgstr "Breite"
|
353 |
|
354 |
-
#: includes/wpua-options-page.php:
|
355 |
msgid "Height"
|
356 |
msgstr "Höhe"
|
357 |
|
358 |
-
#: includes/wpua-options-page.php:
|
359 |
msgid "Crop avatars to exact dimensions"
|
360 |
msgstr "Avatare auf exakte Größe zuschneiden"
|
361 |
|
362 |
-
#: includes/wpua-options-page.php:
|
363 |
msgid "Avatar Display"
|
364 |
msgstr "Avataranzeige"
|
365 |
|
366 |
-
#: includes/wpua-options-page.php:
|
367 |
msgid "Show Avatars"
|
368 |
msgstr "Avatare anzeigen"
|
369 |
|
370 |
-
#: includes/wpua-options-page.php:
|
371 |
msgid "Maximum Rating"
|
372 |
msgstr "Avatare anzeigen mit der Einstufung bis einschließlich"
|
373 |
|
374 |
-
#: includes/wpua-options-page.php:
|
375 |
msgid "G — Suitable for all audiences"
|
376 |
msgstr "G — Jugendfrei"
|
377 |
|
378 |
-
#: includes/wpua-options-page.php:
|
379 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
380 |
msgstr "PG — Entspricht dem deutschen FSK12"
|
381 |
|
382 |
-
#: includes/wpua-options-page.php:
|
383 |
msgid "R — Intended for adult audiences above 17"
|
384 |
msgstr "R — Entspricht in etwa dem deutschen FSK18"
|
385 |
|
386 |
-
#: includes/wpua-options-page.php:
|
387 |
msgid "X — Even more mature than above"
|
388 |
msgstr "X — Keine Jugendfreigabe"
|
389 |
|
390 |
-
#: includes/wpua-options-page.php:
|
391 |
msgid ""
|
392 |
"For users without a custom avatar of their own, you can either display a "
|
393 |
"generic logo or a generated one based on their e-mail address."
|
@@ -468,7 +483,7 @@ msgid "Insert Avatar"
|
|
468 |
msgstr "Avatar einfügen"
|
469 |
|
470 |
#. translators: placeholder for <a> and </a> tags.
|
471 |
-
#: one-user-avatar.php:
|
472 |
msgid ""
|
473 |
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
474 |
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
5 |
"Project-Id-Version: Plugins - WP User Avatar | User Profile Picture - Stable "
|
6 |
"(latest release)\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
8 |
+
"POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
|
9 |
+
"PO-Revision-Date: 2021-06-22 21:32+0200\n"
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: \n"
|
12 |
"Language: de\n"
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
+
"X-Generator: Poedit 3.0\n"
|
18 |
|
19 |
#. Plugin Name of the plugin
|
20 |
+
#: includes/class-wp-user-avatar-admin.php:228
|
21 |
+
#: includes/class-wp-user-avatar-admin.php:428
|
22 |
#: includes/class-wp-user-avatar-widget.php:32
|
23 |
+
#: includes/wpua-options-page.php:69 includes/wpua-tinymce-window.php:31
|
24 |
msgid "One User Avatar"
|
25 |
msgstr "One User Avatar"
|
26 |
|
45 |
msgid "https://onedesigns.com/"
|
46 |
msgstr "https://onedesigns.com/"
|
47 |
|
48 |
+
#: includes/class-wp-user-avatar-admin.php:171
|
49 |
msgid "You are not allowed to delete this post."
|
50 |
msgstr "Du bist nicht berechtigt, diesen Beitrag zu löschen."
|
51 |
|
52 |
+
#: includes/class-wp-user-avatar-admin.php:175
|
53 |
msgid "Error in deleting."
|
54 |
msgstr "Fehler beim Löschen."
|
55 |
|
56 |
+
#: includes/class-wp-user-avatar-admin.php:229
|
57 |
+
#: includes/class-wp-user-avatar-admin.php:287 includes/wpua-media-page.php:59
|
58 |
msgid "Avatars"
|
59 |
msgstr "Avatare"
|
60 |
|
61 |
+
#: includes/class-wp-user-avatar-admin.php:238
|
62 |
+
#: includes/class-wp-user-avatar-admin.php:239
|
63 |
+
#: includes/class-wp-user-avatar-admin.php:464
|
64 |
+
#: includes/wpua-options-page.php:107
|
65 |
msgid "Settings"
|
66 |
msgstr "Einstellungen"
|
67 |
|
68 |
+
#: includes/class-wp-user-avatar-admin.php:247
|
69 |
+
#: includes/class-wp-user-avatar-admin.php:248
|
70 |
msgid "Library"
|
71 |
msgstr "Bibliothek"
|
72 |
|
73 |
+
#: includes/class-wp-user-avatar-admin.php:374
|
74 |
msgid "Mystery Man"
|
75 |
msgstr "Mystery Man"
|
76 |
|
77 |
+
#: includes/class-wp-user-avatar-admin.php:375
|
78 |
msgid "Blank"
|
79 |
msgstr "Leer"
|
80 |
|
81 |
+
#: includes/class-wp-user-avatar-admin.php:376
|
82 |
msgid "Gravatar Logo"
|
83 |
msgstr "Gravatar-Logo"
|
84 |
|
85 |
+
#: includes/class-wp-user-avatar-admin.php:377
|
86 |
msgid "Identicon (Generated)"
|
87 |
msgstr "Identicon (automatisch generiert)"
|
88 |
|
89 |
+
#: includes/class-wp-user-avatar-admin.php:378
|
90 |
msgid "Wavatar (Generated)"
|
91 |
msgstr "Wavatar (automatisch generiert)"
|
92 |
|
93 |
+
#: includes/class-wp-user-avatar-admin.php:379
|
94 |
msgid "MonsterID (Generated)"
|
95 |
msgstr "MonsterID (automatisch generiert)"
|
96 |
|
97 |
+
#: includes/class-wp-user-avatar-admin.php:380
|
98 |
msgid "Retro (Generated)"
|
99 |
msgstr "Retro (automatisch generiert)"
|
100 |
|
101 |
+
#: includes/class-wp-user-avatar-admin.php:429
|
102 |
+
#: includes/class-wp-user-avatar.php:234
|
103 |
msgid "Choose Image"
|
104 |
msgstr "Bild auswählen"
|
105 |
|
106 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
107 |
msgid "Remove"
|
108 |
msgstr "Entfernen"
|
109 |
|
110 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
111 |
+
#: includes/class-wp-user-avatar.php:295
|
112 |
msgid "Undo"
|
113 |
msgstr "Rückgängig"
|
114 |
|
115 |
+
#: includes/class-wp-user-avatar-admin.php:482
|
116 |
+
msgid "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
117 |
+
msgstr "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
118 |
+
|
119 |
+
#: includes/class-wp-user-avatar-admin.php:483
|
120 |
msgid "Support Forums"
|
121 |
msgstr "Support-Foren"
|
122 |
|
123 |
+
#: includes/class-wp-user-avatar-admin.php:497
|
124 |
+
#: includes/class-wp-user-avatar-admin.php:558 includes/wpua-functions.php:93
|
125 |
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
126 |
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
127 |
msgid "Profile Picture"
|
128 |
msgstr "Profilbild"
|
129 |
|
130 |
+
#: includes/class-wp-user-avatar-admin.php:562
|
131 |
+
#: includes/wpua-options-page.php:327 includes/wpua-options-page.php:333
|
132 |
msgid "Default Avatar"
|
133 |
msgstr "Standard-Avatar"
|
134 |
|
135 |
#: includes/class-wp-user-avatar-functions.php:515
|
136 |
+
#: includes/class-wp-user-avatar-functions.php:716
|
137 |
msgid "Avatar"
|
138 |
msgstr "Avatar"
|
139 |
|
140 |
#. translators: uploaded files
|
141 |
+
#: includes/class-wp-user-avatar-list-table.php:176
|
142 |
msgctxt "uploaded files"
|
143 |
msgid "All %s"
|
144 |
+
msgstr "Alle %s"
|
|
|
|
|
145 |
|
146 |
#: includes/class-wp-user-avatar-list-table.php:192
|
147 |
#: includes/class-wp-user-avatar-list-table.php:549
|
222 |
"aufgerufen, was von One User Avatar benötigt wird. Bitte fügen Sie diesen "
|
223 |
"Aufruf Ihren Seitenvorlagen hinzu."
|
224 |
|
225 |
+
#: includes/class-wp-user-avatar-shortcode.php:243
|
226 |
msgid "Profile updated."
|
227 |
msgstr "Profil aktualisiert."
|
228 |
|
248 |
msgstr "Absätze automatisch hinzufügen"
|
249 |
|
250 |
#. translators: user display name
|
251 |
+
#: includes/class-wp-user-avatar.php:230
|
252 |
msgid "Choose Image: %s"
|
253 |
msgstr "Bild auswählen: %s"
|
254 |
|
255 |
+
#: includes/class-wp-user-avatar.php:246 includes/class-wp-user-avatar.php:247
|
256 |
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
257 |
msgid "Upload"
|
258 |
msgstr "Hochladen"
|
259 |
|
260 |
#. translators: file size in KB
|
261 |
+
#: includes/class-wp-user-avatar.php:256 includes/wpua-options-page.php:215
|
262 |
msgid "Maximum upload file size: %s."
|
263 |
msgstr "Maximale Dateigröße für Uploads: %s."
|
264 |
|
265 |
#. translators: allowed file extensions
|
266 |
+
#: includes/class-wp-user-avatar.php:266
|
267 |
msgid "Allowed Files: %s"
|
268 |
msgstr "Erlaubte Dateien: %s"
|
269 |
|
270 |
+
#: includes/class-wp-user-avatar.php:279 includes/class-wp-user-avatar.php:281
|
271 |
#: includes/wpua-tinymce-window.php:125
|
272 |
msgid "Original Size"
|
273 |
msgstr "Originalgröße"
|
274 |
|
275 |
+
#: includes/class-wp-user-avatar.php:285 includes/class-wp-user-avatar.php:287
|
276 |
#: includes/wpua-tinymce-window.php:128
|
277 |
msgid "Thumbnail"
|
278 |
msgstr "Vorschaubild"
|
279 |
|
280 |
+
#: includes/class-wp-user-avatar.php:291
|
281 |
msgid "Remove Image"
|
282 |
msgstr "Bild entfernen"
|
283 |
|
284 |
+
#: includes/class-wp-user-avatar.php:380
|
285 |
msgid "This file is not an image. Please try another."
|
286 |
msgstr "Diese Datei ist kein Bild. Bitte versuche es mit einer anderen."
|
287 |
|
288 |
+
#: includes/class-wp-user-avatar.php:385 includes/class-wp-user-avatar.php:417
|
289 |
msgid "Memory exceeded. Please try another smaller file."
|
290 |
msgstr ""
|
291 |
"Speicherkapazität überschritten. Bitte versuche es mit einer kleineren Datei."
|
292 |
|
293 |
#. translators: directory path
|
294 |
+
#: includes/class-wp-user-avatar.php:392
|
295 |
msgid ""
|
296 |
"Unable to create directory %s. Is its parent directory writable by the "
|
297 |
"server?"
|
316 |
msgid "Search"
|
317 |
msgstr "Suchen"
|
318 |
|
319 |
+
#: includes/wpua-options-page.php:122
|
320 |
msgid "Add avatar button to Visual Editor"
|
321 |
msgstr "Avator-Button zum visuellen Editor hinzufügen"
|
322 |
|
323 |
+
#: includes/wpua-options-page.php:133
|
324 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
325 |
msgstr "Mitwirkenden und Abonnenten erlauben, Avatare hochzuladen"
|
326 |
|
327 |
+
#: includes/wpua-options-page.php:144
|
328 |
msgid "Disable Gravatar and use only local avatars"
|
329 |
msgstr "Gravatar deaktivieren und nur lokale Avatare verwenden"
|
330 |
|
331 |
+
#: includes/wpua-options-page.php:156
|
332 |
+
msgid "Always use the browser file uploader to upload avatars"
|
333 |
+
msgstr ""
|
334 |
+
"Verwend zum Hochladen von Avataren immer den Datei-Uploader des Browsers"
|
335 |
+
|
336 |
+
#: includes/wpua-options-page.php:157
|
337 |
+
msgid ""
|
338 |
+
"Check this if another plugin is conflicting with the WordPress Media "
|
339 |
+
"Uploader."
|
340 |
+
msgstr ""
|
341 |
+
"Aktivier dies, wenn ein anderes Plugin mit dem WordPress Media Uploader in "
|
342 |
+
"Konflikt steht"
|
343 |
+
|
344 |
+
#: includes/wpua-options-page.php:185 includes/wpua-options-page.php:194
|
345 |
msgid "Upload Size Limit"
|
346 |
msgstr "Dateigrößenbeschränkung"
|
347 |
|
348 |
+
#: includes/wpua-options-page.php:186 includes/wpua-options-page.php:195
|
349 |
msgid "(only for Contributors & Subscribers)"
|
350 |
msgstr "(nur für Mitwirkende und Abonnenten)"
|
351 |
|
352 |
#. translators: file name
|
353 |
+
#: includes/wpua-options-page.php:205
|
354 |
msgid "%s exceeds the maximum upload size for this site."
|
355 |
msgstr "%s überschreitet das Upload-Limit für diese Website."
|
356 |
|
357 |
+
#: includes/wpua-options-page.php:226
|
358 |
msgid "Allow users to edit avatars"
|
359 |
msgstr "Benutzern erlauben, Avatare zu bearbeiten"
|
360 |
|
361 |
+
#: includes/wpua-options-page.php:234
|
362 |
msgid "Resize avatars on upload"
|
363 |
msgstr "Avatar-Größe beim Upload ändern"
|
364 |
|
365 |
+
#: includes/wpua-options-page.php:239
|
366 |
msgid "Width"
|
367 |
msgstr "Breite"
|
368 |
|
369 |
+
#: includes/wpua-options-page.php:243
|
370 |
msgid "Height"
|
371 |
msgstr "Höhe"
|
372 |
|
373 |
+
#: includes/wpua-options-page.php:251
|
374 |
msgid "Crop avatars to exact dimensions"
|
375 |
msgstr "Avatare auf exakte Größe zuschneiden"
|
376 |
|
377 |
+
#: includes/wpua-options-page.php:273 includes/wpua-options-page.php:279
|
378 |
msgid "Avatar Display"
|
379 |
msgstr "Avataranzeige"
|
380 |
|
381 |
+
#: includes/wpua-options-page.php:286
|
382 |
msgid "Show Avatars"
|
383 |
msgstr "Avatare anzeigen"
|
384 |
|
385 |
+
#: includes/wpua-options-page.php:293 includes/wpua-options-page.php:299
|
386 |
msgid "Maximum Rating"
|
387 |
msgstr "Avatare anzeigen mit der Einstufung bis einschließlich"
|
388 |
|
389 |
+
#: includes/wpua-options-page.php:305
|
390 |
msgid "G — Suitable for all audiences"
|
391 |
msgstr "G — Jugendfrei"
|
392 |
|
393 |
+
#: includes/wpua-options-page.php:306
|
394 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
395 |
msgstr "PG — Entspricht dem deutschen FSK12"
|
396 |
|
397 |
+
#: includes/wpua-options-page.php:307
|
398 |
msgid "R — Intended for adult audiences above 17"
|
399 |
msgstr "R — Entspricht in etwa dem deutschen FSK18"
|
400 |
|
401 |
+
#: includes/wpua-options-page.php:308
|
402 |
msgid "X — Even more mature than above"
|
403 |
msgstr "X — Keine Jugendfreigabe"
|
404 |
|
405 |
+
#: includes/wpua-options-page.php:337
|
406 |
msgid ""
|
407 |
"For users without a custom avatar of their own, you can either display a "
|
408 |
"generic logo or a generated one based on their e-mail address."
|
483 |
msgstr "Avatar einfügen"
|
484 |
|
485 |
#. translators: placeholder for <a> and </a> tags.
|
486 |
+
#: one-user-avatar.php:127
|
487 |
msgid ""
|
488 |
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
489 |
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
languages/en_GB.mo
CHANGED
Binary file
|
languages/en_GB.po
CHANGED
@@ -5,8 +5,8 @@ msgstr ""
|
|
5 |
"Project-Id-Version: Plugins - WP User Avatar | User Profile Picture - Stable "
|
6 |
"(latest release)\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
8 |
-
"POT-Creation-Date: 2021-
|
9 |
-
"PO-Revision-Date: 2021-
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: \n"
|
12 |
"Language: en_GB\n"
|
@@ -14,13 +14,13 @@ msgstr ""
|
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
-
"X-Generator: Poedit
|
18 |
|
19 |
#. Plugin Name of the plugin
|
20 |
-
#: includes/class-wp-user-avatar-admin.php:
|
21 |
-
#: includes/class-wp-user-avatar-admin.php:
|
22 |
#: includes/class-wp-user-avatar-widget.php:32
|
23 |
-
#: includes/wpua-options-page.php:
|
24 |
msgid "One User Avatar"
|
25 |
msgstr "One User Avatar"
|
26 |
|
@@ -44,101 +44,103 @@ msgstr "One Designs"
|
|
44 |
msgid "https://onedesigns.com/"
|
45 |
msgstr "https://onedesigns.com/"
|
46 |
|
47 |
-
#: includes/class-wp-user-avatar-admin.php:
|
48 |
msgid "You are not allowed to delete this post."
|
49 |
msgstr "You are not allowed to delete this post."
|
50 |
|
51 |
-
#: includes/class-wp-user-avatar-admin.php:
|
52 |
msgid "Error in deleting."
|
53 |
msgstr "Error in deleting."
|
54 |
|
55 |
-
#: includes/class-wp-user-avatar-admin.php:
|
56 |
-
#: includes/class-wp-user-avatar-admin.php:
|
57 |
msgid "Avatars"
|
58 |
msgstr "Avatars"
|
59 |
|
60 |
-
#: includes/class-wp-user-avatar-admin.php:
|
61 |
-
#: includes/class-wp-user-avatar-admin.php:
|
62 |
-
#: includes/class-wp-user-avatar-admin.php:
|
63 |
-
#: includes/wpua-options-page.php:
|
64 |
msgid "Settings"
|
65 |
msgstr "Settings"
|
66 |
|
67 |
-
#: includes/class-wp-user-avatar-admin.php:
|
68 |
-
#: includes/class-wp-user-avatar-admin.php:
|
69 |
msgid "Library"
|
70 |
msgstr "Library"
|
71 |
|
72 |
-
#: includes/class-wp-user-avatar-admin.php:
|
73 |
msgid "Mystery Man"
|
74 |
msgstr "Mystery Man"
|
75 |
|
76 |
-
#: includes/class-wp-user-avatar-admin.php:
|
77 |
msgid "Blank"
|
78 |
msgstr "Blank"
|
79 |
|
80 |
-
#: includes/class-wp-user-avatar-admin.php:
|
81 |
msgid "Gravatar Logo"
|
82 |
msgstr "Gravatar Logo"
|
83 |
|
84 |
-
#: includes/class-wp-user-avatar-admin.php:
|
85 |
msgid "Identicon (Generated)"
|
86 |
msgstr "Identicon (Generated)"
|
87 |
|
88 |
-
#: includes/class-wp-user-avatar-admin.php:
|
89 |
msgid "Wavatar (Generated)"
|
90 |
msgstr "Wavatar (Generated)"
|
91 |
|
92 |
-
#: includes/class-wp-user-avatar-admin.php:
|
93 |
msgid "MonsterID (Generated)"
|
94 |
msgstr "MonsterID (Generated)"
|
95 |
|
96 |
-
#: includes/class-wp-user-avatar-admin.php:
|
97 |
msgid "Retro (Generated)"
|
98 |
msgstr "Retro (Generated)"
|
99 |
|
100 |
-
#: includes/class-wp-user-avatar-admin.php:
|
101 |
-
#: includes/class-wp-user-avatar.php:
|
102 |
msgid "Choose Image"
|
103 |
msgstr "Choose Image"
|
104 |
|
105 |
-
#: includes/class-wp-user-avatar-admin.php:
|
106 |
msgid "Remove"
|
107 |
msgstr "Remove"
|
108 |
|
109 |
-
#: includes/class-wp-user-avatar-admin.php:
|
110 |
-
#: includes/class-wp-user-avatar.php:
|
111 |
msgid "Undo"
|
112 |
msgstr "Undo"
|
113 |
|
114 |
-
#: includes/class-wp-user-avatar-admin.php:
|
|
|
|
|
|
|
|
|
115 |
msgid "Support Forums"
|
116 |
msgstr "Support Forums"
|
117 |
|
118 |
-
#: includes/class-wp-user-avatar-admin.php:
|
119 |
-
#: includes/class-wp-user-avatar-admin.php:
|
120 |
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
121 |
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
122 |
msgid "Profile Picture"
|
123 |
msgstr "Profile Picture"
|
124 |
|
125 |
-
#: includes/class-wp-user-avatar-admin.php:
|
126 |
-
#: includes/wpua-options-page.php:
|
127 |
msgid "Default Avatar"
|
128 |
msgstr "Default Avatar"
|
129 |
|
130 |
#: includes/class-wp-user-avatar-functions.php:515
|
131 |
-
#: includes/class-wp-user-avatar-functions.php:
|
132 |
msgid "Avatar"
|
133 |
msgstr "Avatar"
|
134 |
|
135 |
#. translators: uploaded files
|
136 |
-
#: includes/class-wp-user-avatar-list-table.php:
|
137 |
msgctxt "uploaded files"
|
138 |
msgid "All %s"
|
139 |
-
|
140 |
-
msgstr[0] "All %s"
|
141 |
-
msgstr[1] "All %s"
|
142 |
|
143 |
#: includes/class-wp-user-avatar-list-table.php:192
|
144 |
#: includes/class-wp-user-avatar-list-table.php:549
|
@@ -218,7 +220,7 @@ msgstr ""
|
|
218 |
"We’re sorry, but your theme’s page template didn’t make a call to %s, which "
|
219 |
"is required by One User Avatar. Please add this call to your page templates."
|
220 |
|
221 |
-
#: includes/class-wp-user-avatar-shortcode.php:
|
222 |
msgid "Profile updated."
|
223 |
msgstr "Profile updated."
|
224 |
|
@@ -244,49 +246,49 @@ msgid "Automatically add paragraphs"
|
|
244 |
msgstr "Automatically add paragraphs"
|
245 |
|
246 |
#. translators: user display name
|
247 |
-
#: includes/class-wp-user-avatar.php:
|
248 |
msgid "Choose Image: %s"
|
249 |
msgstr "Choose Image: %s"
|
250 |
|
251 |
-
#: includes/class-wp-user-avatar.php:
|
252 |
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
253 |
msgid "Upload"
|
254 |
msgstr "Upload"
|
255 |
|
256 |
#. translators: file size in KB
|
257 |
-
#: includes/class-wp-user-avatar.php:
|
258 |
msgid "Maximum upload file size: %s."
|
259 |
msgstr "Maximum upload file size: %s."
|
260 |
|
261 |
#. translators: allowed file extensions
|
262 |
-
#: includes/class-wp-user-avatar.php:
|
263 |
msgid "Allowed Files: %s"
|
264 |
msgstr "Allowed Files: %s"
|
265 |
|
266 |
-
#: includes/class-wp-user-avatar.php:
|
267 |
#: includes/wpua-tinymce-window.php:125
|
268 |
msgid "Original Size"
|
269 |
msgstr "Original Size"
|
270 |
|
271 |
-
#: includes/class-wp-user-avatar.php:
|
272 |
#: includes/wpua-tinymce-window.php:128
|
273 |
msgid "Thumbnail"
|
274 |
msgstr "Thumbnail"
|
275 |
|
276 |
-
#: includes/class-wp-user-avatar.php:
|
277 |
msgid "Remove Image"
|
278 |
msgstr "Remove Image"
|
279 |
|
280 |
-
#: includes/class-wp-user-avatar.php:
|
281 |
msgid "This file is not an image. Please try another."
|
282 |
msgstr "This file is not an image. Please try another."
|
283 |
|
284 |
-
#: includes/class-wp-user-avatar.php:
|
285 |
msgid "Memory exceeded. Please try another smaller file."
|
286 |
msgstr "Memory exceeded. Please try another smaller file."
|
287 |
|
288 |
#. translators: directory path
|
289 |
-
#: includes/class-wp-user-avatar.php:
|
290 |
msgid ""
|
291 |
"Unable to create directory %s. Is its parent directory writable by the "
|
292 |
"server?"
|
@@ -311,80 +313,92 @@ msgstr "Search results for %s"
|
|
311 |
msgid "Search"
|
312 |
msgstr "Search"
|
313 |
|
314 |
-
#: includes/wpua-options-page.php:
|
315 |
msgid "Add avatar button to Visual Editor"
|
316 |
msgstr "Add avatar button to Visual Editor"
|
317 |
|
318 |
-
#: includes/wpua-options-page.php:
|
319 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
320 |
msgstr "Allow Contributors & Subscribers to upload avatars"
|
321 |
|
322 |
-
#: includes/wpua-options-page.php:
|
323 |
msgid "Disable Gravatar and use only local avatars"
|
324 |
msgstr "Disable Gravatar and use only local avatars"
|
325 |
|
326 |
-
#: includes/wpua-options-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
msgid "Upload Size Limit"
|
328 |
msgstr "Upload Size Limit"
|
329 |
|
330 |
-
#: includes/wpua-options-page.php:
|
331 |
msgid "(only for Contributors & Subscribers)"
|
332 |
msgstr "(only for Contributors & Subscribers)"
|
333 |
|
334 |
#. translators: file name
|
335 |
-
#: includes/wpua-options-page.php:
|
336 |
msgid "%s exceeds the maximum upload size for this site."
|
337 |
msgstr "%s exceeds the maximum upload size for this site."
|
338 |
|
339 |
-
#: includes/wpua-options-page.php:
|
340 |
msgid "Allow users to edit avatars"
|
341 |
msgstr "Allow users to edit avatars"
|
342 |
|
343 |
-
#: includes/wpua-options-page.php:
|
344 |
msgid "Resize avatars on upload"
|
345 |
msgstr "Resize avatars on upload"
|
346 |
|
347 |
-
#: includes/wpua-options-page.php:
|
348 |
msgid "Width"
|
349 |
msgstr "Width"
|
350 |
|
351 |
-
#: includes/wpua-options-page.php:
|
352 |
msgid "Height"
|
353 |
msgstr "Height"
|
354 |
|
355 |
-
#: includes/wpua-options-page.php:
|
356 |
msgid "Crop avatars to exact dimensions"
|
357 |
msgstr "Crop avatars to exact dimensions"
|
358 |
|
359 |
-
#: includes/wpua-options-page.php:
|
360 |
msgid "Avatar Display"
|
361 |
msgstr "Avatar Display"
|
362 |
|
363 |
-
#: includes/wpua-options-page.php:
|
364 |
msgid "Show Avatars"
|
365 |
msgstr "Show Avatars"
|
366 |
|
367 |
-
#: includes/wpua-options-page.php:
|
368 |
msgid "Maximum Rating"
|
369 |
msgstr "Maximum Rating"
|
370 |
|
371 |
-
#: includes/wpua-options-page.php:
|
372 |
msgid "G — Suitable for all audiences"
|
373 |
msgstr "G — Suitable for all audiences"
|
374 |
|
375 |
-
#: includes/wpua-options-page.php:
|
376 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
377 |
msgstr "PG — Possibly offensive, usually for audiences 13 and above"
|
378 |
|
379 |
-
#: includes/wpua-options-page.php:
|
380 |
msgid "R — Intended for adult audiences above 17"
|
381 |
msgstr "R — Intended for adult audiences above 17"
|
382 |
|
383 |
-
#: includes/wpua-options-page.php:
|
384 |
msgid "X — Even more mature than above"
|
385 |
msgstr "X — Even more mature than above"
|
386 |
|
387 |
-
#: includes/wpua-options-page.php:
|
388 |
msgid ""
|
389 |
"For users without a custom avatar of their own, you can either display a "
|
390 |
"generic logo or a generated one based on their e-mail address."
|
@@ -465,7 +479,7 @@ msgid "Insert Avatar"
|
|
465 |
msgstr "Insert Avatar"
|
466 |
|
467 |
#. translators: placeholder for <a> and </a> tags.
|
468 |
-
#: one-user-avatar.php:
|
469 |
msgid ""
|
470 |
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
471 |
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
5 |
"Project-Id-Version: Plugins - WP User Avatar | User Profile Picture - Stable "
|
6 |
"(latest release)\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
8 |
+
"POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
|
9 |
+
"PO-Revision-Date: 2021-06-22 21:45+0200\n"
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: \n"
|
12 |
"Language: en_GB\n"
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
+
"X-Generator: Poedit 3.0\n"
|
18 |
|
19 |
#. Plugin Name of the plugin
|
20 |
+
#: includes/class-wp-user-avatar-admin.php:228
|
21 |
+
#: includes/class-wp-user-avatar-admin.php:428
|
22 |
#: includes/class-wp-user-avatar-widget.php:32
|
23 |
+
#: includes/wpua-options-page.php:69 includes/wpua-tinymce-window.php:31
|
24 |
msgid "One User Avatar"
|
25 |
msgstr "One User Avatar"
|
26 |
|
44 |
msgid "https://onedesigns.com/"
|
45 |
msgstr "https://onedesigns.com/"
|
46 |
|
47 |
+
#: includes/class-wp-user-avatar-admin.php:171
|
48 |
msgid "You are not allowed to delete this post."
|
49 |
msgstr "You are not allowed to delete this post."
|
50 |
|
51 |
+
#: includes/class-wp-user-avatar-admin.php:175
|
52 |
msgid "Error in deleting."
|
53 |
msgstr "Error in deleting."
|
54 |
|
55 |
+
#: includes/class-wp-user-avatar-admin.php:229
|
56 |
+
#: includes/class-wp-user-avatar-admin.php:287 includes/wpua-media-page.php:59
|
57 |
msgid "Avatars"
|
58 |
msgstr "Avatars"
|
59 |
|
60 |
+
#: includes/class-wp-user-avatar-admin.php:238
|
61 |
+
#: includes/class-wp-user-avatar-admin.php:239
|
62 |
+
#: includes/class-wp-user-avatar-admin.php:464
|
63 |
+
#: includes/wpua-options-page.php:107
|
64 |
msgid "Settings"
|
65 |
msgstr "Settings"
|
66 |
|
67 |
+
#: includes/class-wp-user-avatar-admin.php:247
|
68 |
+
#: includes/class-wp-user-avatar-admin.php:248
|
69 |
msgid "Library"
|
70 |
msgstr "Library"
|
71 |
|
72 |
+
#: includes/class-wp-user-avatar-admin.php:374
|
73 |
msgid "Mystery Man"
|
74 |
msgstr "Mystery Man"
|
75 |
|
76 |
+
#: includes/class-wp-user-avatar-admin.php:375
|
77 |
msgid "Blank"
|
78 |
msgstr "Blank"
|
79 |
|
80 |
+
#: includes/class-wp-user-avatar-admin.php:376
|
81 |
msgid "Gravatar Logo"
|
82 |
msgstr "Gravatar Logo"
|
83 |
|
84 |
+
#: includes/class-wp-user-avatar-admin.php:377
|
85 |
msgid "Identicon (Generated)"
|
86 |
msgstr "Identicon (Generated)"
|
87 |
|
88 |
+
#: includes/class-wp-user-avatar-admin.php:378
|
89 |
msgid "Wavatar (Generated)"
|
90 |
msgstr "Wavatar (Generated)"
|
91 |
|
92 |
+
#: includes/class-wp-user-avatar-admin.php:379
|
93 |
msgid "MonsterID (Generated)"
|
94 |
msgstr "MonsterID (Generated)"
|
95 |
|
96 |
+
#: includes/class-wp-user-avatar-admin.php:380
|
97 |
msgid "Retro (Generated)"
|
98 |
msgstr "Retro (Generated)"
|
99 |
|
100 |
+
#: includes/class-wp-user-avatar-admin.php:429
|
101 |
+
#: includes/class-wp-user-avatar.php:234
|
102 |
msgid "Choose Image"
|
103 |
msgstr "Choose Image"
|
104 |
|
105 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
106 |
msgid "Remove"
|
107 |
msgstr "Remove"
|
108 |
|
109 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
110 |
+
#: includes/class-wp-user-avatar.php:295
|
111 |
msgid "Undo"
|
112 |
msgstr "Undo"
|
113 |
|
114 |
+
#: includes/class-wp-user-avatar-admin.php:482
|
115 |
+
msgid "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
116 |
+
msgstr "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
117 |
+
|
118 |
+
#: includes/class-wp-user-avatar-admin.php:483
|
119 |
msgid "Support Forums"
|
120 |
msgstr "Support Forums"
|
121 |
|
122 |
+
#: includes/class-wp-user-avatar-admin.php:497
|
123 |
+
#: includes/class-wp-user-avatar-admin.php:558 includes/wpua-functions.php:93
|
124 |
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
125 |
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
126 |
msgid "Profile Picture"
|
127 |
msgstr "Profile Picture"
|
128 |
|
129 |
+
#: includes/class-wp-user-avatar-admin.php:562
|
130 |
+
#: includes/wpua-options-page.php:327 includes/wpua-options-page.php:333
|
131 |
msgid "Default Avatar"
|
132 |
msgstr "Default Avatar"
|
133 |
|
134 |
#: includes/class-wp-user-avatar-functions.php:515
|
135 |
+
#: includes/class-wp-user-avatar-functions.php:716
|
136 |
msgid "Avatar"
|
137 |
msgstr "Avatar"
|
138 |
|
139 |
#. translators: uploaded files
|
140 |
+
#: includes/class-wp-user-avatar-list-table.php:176
|
141 |
msgctxt "uploaded files"
|
142 |
msgid "All %s"
|
143 |
+
msgstr "All %s"
|
|
|
|
|
144 |
|
145 |
#: includes/class-wp-user-avatar-list-table.php:192
|
146 |
#: includes/class-wp-user-avatar-list-table.php:549
|
220 |
"We’re sorry, but your theme’s page template didn’t make a call to %s, which "
|
221 |
"is required by One User Avatar. Please add this call to your page templates."
|
222 |
|
223 |
+
#: includes/class-wp-user-avatar-shortcode.php:243
|
224 |
msgid "Profile updated."
|
225 |
msgstr "Profile updated."
|
226 |
|
246 |
msgstr "Automatically add paragraphs"
|
247 |
|
248 |
#. translators: user display name
|
249 |
+
#: includes/class-wp-user-avatar.php:230
|
250 |
msgid "Choose Image: %s"
|
251 |
msgstr "Choose Image: %s"
|
252 |
|
253 |
+
#: includes/class-wp-user-avatar.php:246 includes/class-wp-user-avatar.php:247
|
254 |
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
255 |
msgid "Upload"
|
256 |
msgstr "Upload"
|
257 |
|
258 |
#. translators: file size in KB
|
259 |
+
#: includes/class-wp-user-avatar.php:256 includes/wpua-options-page.php:215
|
260 |
msgid "Maximum upload file size: %s."
|
261 |
msgstr "Maximum upload file size: %s."
|
262 |
|
263 |
#. translators: allowed file extensions
|
264 |
+
#: includes/class-wp-user-avatar.php:266
|
265 |
msgid "Allowed Files: %s"
|
266 |
msgstr "Allowed Files: %s"
|
267 |
|
268 |
+
#: includes/class-wp-user-avatar.php:279 includes/class-wp-user-avatar.php:281
|
269 |
#: includes/wpua-tinymce-window.php:125
|
270 |
msgid "Original Size"
|
271 |
msgstr "Original Size"
|
272 |
|
273 |
+
#: includes/class-wp-user-avatar.php:285 includes/class-wp-user-avatar.php:287
|
274 |
#: includes/wpua-tinymce-window.php:128
|
275 |
msgid "Thumbnail"
|
276 |
msgstr "Thumbnail"
|
277 |
|
278 |
+
#: includes/class-wp-user-avatar.php:291
|
279 |
msgid "Remove Image"
|
280 |
msgstr "Remove Image"
|
281 |
|
282 |
+
#: includes/class-wp-user-avatar.php:380
|
283 |
msgid "This file is not an image. Please try another."
|
284 |
msgstr "This file is not an image. Please try another."
|
285 |
|
286 |
+
#: includes/class-wp-user-avatar.php:385 includes/class-wp-user-avatar.php:417
|
287 |
msgid "Memory exceeded. Please try another smaller file."
|
288 |
msgstr "Memory exceeded. Please try another smaller file."
|
289 |
|
290 |
#. translators: directory path
|
291 |
+
#: includes/class-wp-user-avatar.php:392
|
292 |
msgid ""
|
293 |
"Unable to create directory %s. Is its parent directory writable by the "
|
294 |
"server?"
|
313 |
msgid "Search"
|
314 |
msgstr "Search"
|
315 |
|
316 |
+
#: includes/wpua-options-page.php:122
|
317 |
msgid "Add avatar button to Visual Editor"
|
318 |
msgstr "Add avatar button to Visual Editor"
|
319 |
|
320 |
+
#: includes/wpua-options-page.php:133
|
321 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
322 |
msgstr "Allow Contributors & Subscribers to upload avatars"
|
323 |
|
324 |
+
#: includes/wpua-options-page.php:144
|
325 |
msgid "Disable Gravatar and use only local avatars"
|
326 |
msgstr "Disable Gravatar and use only local avatars"
|
327 |
|
328 |
+
#: includes/wpua-options-page.php:156
|
329 |
+
msgid "Always use the browser file uploader to upload avatars"
|
330 |
+
msgstr "Always use the browser file uploader to upload avatars"
|
331 |
+
|
332 |
+
#: includes/wpua-options-page.php:157
|
333 |
+
msgid ""
|
334 |
+
"Check this if another plugin is conflicting with the WordPress Media "
|
335 |
+
"Uploader."
|
336 |
+
msgstr ""
|
337 |
+
"Check this if another plugin is conflicting with the WordPress Media "
|
338 |
+
"Uploader."
|
339 |
+
|
340 |
+
#: includes/wpua-options-page.php:185 includes/wpua-options-page.php:194
|
341 |
msgid "Upload Size Limit"
|
342 |
msgstr "Upload Size Limit"
|
343 |
|
344 |
+
#: includes/wpua-options-page.php:186 includes/wpua-options-page.php:195
|
345 |
msgid "(only for Contributors & Subscribers)"
|
346 |
msgstr "(only for Contributors & Subscribers)"
|
347 |
|
348 |
#. translators: file name
|
349 |
+
#: includes/wpua-options-page.php:205
|
350 |
msgid "%s exceeds the maximum upload size for this site."
|
351 |
msgstr "%s exceeds the maximum upload size for this site."
|
352 |
|
353 |
+
#: includes/wpua-options-page.php:226
|
354 |
msgid "Allow users to edit avatars"
|
355 |
msgstr "Allow users to edit avatars"
|
356 |
|
357 |
+
#: includes/wpua-options-page.php:234
|
358 |
msgid "Resize avatars on upload"
|
359 |
msgstr "Resize avatars on upload"
|
360 |
|
361 |
+
#: includes/wpua-options-page.php:239
|
362 |
msgid "Width"
|
363 |
msgstr "Width"
|
364 |
|
365 |
+
#: includes/wpua-options-page.php:243
|
366 |
msgid "Height"
|
367 |
msgstr "Height"
|
368 |
|
369 |
+
#: includes/wpua-options-page.php:251
|
370 |
msgid "Crop avatars to exact dimensions"
|
371 |
msgstr "Crop avatars to exact dimensions"
|
372 |
|
373 |
+
#: includes/wpua-options-page.php:273 includes/wpua-options-page.php:279
|
374 |
msgid "Avatar Display"
|
375 |
msgstr "Avatar Display"
|
376 |
|
377 |
+
#: includes/wpua-options-page.php:286
|
378 |
msgid "Show Avatars"
|
379 |
msgstr "Show Avatars"
|
380 |
|
381 |
+
#: includes/wpua-options-page.php:293 includes/wpua-options-page.php:299
|
382 |
msgid "Maximum Rating"
|
383 |
msgstr "Maximum Rating"
|
384 |
|
385 |
+
#: includes/wpua-options-page.php:305
|
386 |
msgid "G — Suitable for all audiences"
|
387 |
msgstr "G — Suitable for all audiences"
|
388 |
|
389 |
+
#: includes/wpua-options-page.php:306
|
390 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
391 |
msgstr "PG — Possibly offensive, usually for audiences 13 and above"
|
392 |
|
393 |
+
#: includes/wpua-options-page.php:307
|
394 |
msgid "R — Intended for adult audiences above 17"
|
395 |
msgstr "R — Intended for adult audiences above 17"
|
396 |
|
397 |
+
#: includes/wpua-options-page.php:308
|
398 |
msgid "X — Even more mature than above"
|
399 |
msgstr "X — Even more mature than above"
|
400 |
|
401 |
+
#: includes/wpua-options-page.php:337
|
402 |
msgid ""
|
403 |
"For users without a custom avatar of their own, you can either display a "
|
404 |
"generic logo or a generated one based on their e-mail address."
|
479 |
msgstr "Insert Avatar"
|
480 |
|
481 |
#. translators: placeholder for <a> and </a> tags.
|
482 |
+
#: one-user-avatar.php:127
|
483 |
msgid ""
|
484 |
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
485 |
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
languages/es_ES.mo
CHANGED
Binary file
|
languages/es_ES.po
CHANGED
@@ -5,8 +5,8 @@ msgstr ""
|
|
5 |
"Project-Id-Version: Plugins - WP User Avatar | User Profile Picture - Stable "
|
6 |
"(latest release)\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
8 |
-
"POT-Creation-Date: 2021-
|
9 |
-
"PO-Revision-Date: 2021-
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: \n"
|
12 |
"Language: es\n"
|
@@ -14,13 +14,13 @@ msgstr ""
|
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
-
"X-Generator: Poedit
|
18 |
|
19 |
#. Plugin Name of the plugin
|
20 |
-
#: includes/class-wp-user-avatar-admin.php:
|
21 |
-
#: includes/class-wp-user-avatar-admin.php:
|
22 |
#: includes/class-wp-user-avatar-widget.php:32
|
23 |
-
#: includes/wpua-options-page.php:
|
24 |
msgid "One User Avatar"
|
25 |
msgstr "One User Avatar"
|
26 |
|
@@ -45,101 +45,103 @@ msgstr "One Designs"
|
|
45 |
msgid "https://onedesigns.com/"
|
46 |
msgstr "https://onedesigns.com/"
|
47 |
|
48 |
-
#: includes/class-wp-user-avatar-admin.php:
|
49 |
msgid "You are not allowed to delete this post."
|
50 |
msgstr "No tienes permisos para eliminar esta entrada."
|
51 |
|
52 |
-
#: includes/class-wp-user-avatar-admin.php:
|
53 |
msgid "Error in deleting."
|
54 |
msgstr "Error al eliminar."
|
55 |
|
56 |
-
#: includes/class-wp-user-avatar-admin.php:
|
57 |
-
#: includes/class-wp-user-avatar-admin.php:
|
58 |
msgid "Avatars"
|
59 |
msgstr "Avatares"
|
60 |
|
61 |
-
#: includes/class-wp-user-avatar-admin.php:
|
62 |
-
#: includes/class-wp-user-avatar-admin.php:
|
63 |
-
#: includes/class-wp-user-avatar-admin.php:
|
64 |
-
#: includes/wpua-options-page.php:
|
65 |
msgid "Settings"
|
66 |
msgstr "Ajustes"
|
67 |
|
68 |
-
#: includes/class-wp-user-avatar-admin.php:
|
69 |
-
#: includes/class-wp-user-avatar-admin.php:
|
70 |
msgid "Library"
|
71 |
msgstr "Biblioteca"
|
72 |
|
73 |
-
#: includes/class-wp-user-avatar-admin.php:
|
74 |
msgid "Mystery Man"
|
75 |
msgstr "Hombre misterioso"
|
76 |
|
77 |
-
#: includes/class-wp-user-avatar-admin.php:
|
78 |
msgid "Blank"
|
79 |
msgstr "En blanco"
|
80 |
|
81 |
-
#: includes/class-wp-user-avatar-admin.php:
|
82 |
msgid "Gravatar Logo"
|
83 |
msgstr "Logo Gravatar"
|
84 |
|
85 |
-
#: includes/class-wp-user-avatar-admin.php:
|
86 |
msgid "Identicon (Generated)"
|
87 |
msgstr "Identicon (generado)"
|
88 |
|
89 |
-
#: includes/class-wp-user-avatar-admin.php:
|
90 |
msgid "Wavatar (Generated)"
|
91 |
msgstr "Wavatar (generado)"
|
92 |
|
93 |
-
#: includes/class-wp-user-avatar-admin.php:
|
94 |
msgid "MonsterID (Generated)"
|
95 |
msgstr "MonsterID (generado)"
|
96 |
|
97 |
-
#: includes/class-wp-user-avatar-admin.php:
|
98 |
msgid "Retro (Generated)"
|
99 |
msgstr "Retro (generado)"
|
100 |
|
101 |
-
#: includes/class-wp-user-avatar-admin.php:
|
102 |
-
#: includes/class-wp-user-avatar.php:
|
103 |
msgid "Choose Image"
|
104 |
msgstr "Elegir imagen"
|
105 |
|
106 |
-
#: includes/class-wp-user-avatar-admin.php:
|
107 |
msgid "Remove"
|
108 |
msgstr "Eliminar"
|
109 |
|
110 |
-
#: includes/class-wp-user-avatar-admin.php:
|
111 |
-
#: includes/class-wp-user-avatar.php:
|
112 |
msgid "Undo"
|
113 |
msgstr "Deshacer"
|
114 |
|
115 |
-
#: includes/class-wp-user-avatar-admin.php:
|
|
|
|
|
|
|
|
|
116 |
msgid "Support Forums"
|
117 |
msgstr "Foro de soporte"
|
118 |
|
119 |
-
#: includes/class-wp-user-avatar-admin.php:
|
120 |
-
#: includes/class-wp-user-avatar-admin.php:
|
121 |
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
122 |
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
123 |
msgid "Profile Picture"
|
124 |
msgstr "Imagen del perfil"
|
125 |
|
126 |
-
#: includes/class-wp-user-avatar-admin.php:
|
127 |
-
#: includes/wpua-options-page.php:
|
128 |
msgid "Default Avatar"
|
129 |
msgstr "Avatar por defecto"
|
130 |
|
131 |
#: includes/class-wp-user-avatar-functions.php:515
|
132 |
-
#: includes/class-wp-user-avatar-functions.php:
|
133 |
msgid "Avatar"
|
134 |
msgstr "Avatar"
|
135 |
|
136 |
#. translators: uploaded files
|
137 |
-
#: includes/class-wp-user-avatar-list-table.php:
|
138 |
msgctxt "uploaded files"
|
139 |
msgid "All %s"
|
140 |
-
|
141 |
-
msgstr[0] "Todos los"
|
142 |
-
msgstr[1] "Todos los"
|
143 |
|
144 |
#: includes/class-wp-user-avatar-list-table.php:192
|
145 |
#: includes/class-wp-user-avatar-list-table.php:549
|
@@ -220,7 +222,7 @@ msgstr ""
|
|
220 |
"%s, lo cual es requerido por One User Avatar. Agregue esta llamada a las "
|
221 |
"plantillas de su página."
|
222 |
|
223 |
-
#: includes/class-wp-user-avatar-shortcode.php:
|
224 |
msgid "Profile updated."
|
225 |
msgstr "Perfil actualizado."
|
226 |
|
@@ -246,49 +248,49 @@ msgid "Automatically add paragraphs"
|
|
246 |
msgstr "Añadir párrafos automáticamente"
|
247 |
|
248 |
#. translators: user display name
|
249 |
-
#: includes/class-wp-user-avatar.php:
|
250 |
msgid "Choose Image: %s"
|
251 |
msgstr "Elegir imagen: %s"
|
252 |
|
253 |
-
#: includes/class-wp-user-avatar.php:
|
254 |
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
255 |
msgid "Upload"
|
256 |
msgstr "Subir"
|
257 |
|
258 |
#. translators: file size in KB
|
259 |
-
#: includes/class-wp-user-avatar.php:
|
260 |
msgid "Maximum upload file size: %s."
|
261 |
msgstr "Tamaño máximo de subida: %s."
|
262 |
|
263 |
#. translators: allowed file extensions
|
264 |
-
#: includes/class-wp-user-avatar.php:
|
265 |
msgid "Allowed Files: %s"
|
266 |
msgstr "Archivos permitidos: %s"
|
267 |
|
268 |
-
#: includes/class-wp-user-avatar.php:
|
269 |
#: includes/wpua-tinymce-window.php:125
|
270 |
msgid "Original Size"
|
271 |
msgstr "Tamaño original"
|
272 |
|
273 |
-
#: includes/class-wp-user-avatar.php:
|
274 |
#: includes/wpua-tinymce-window.php:128
|
275 |
msgid "Thumbnail"
|
276 |
msgstr "Miniatura"
|
277 |
|
278 |
-
#: includes/class-wp-user-avatar.php:
|
279 |
msgid "Remove Image"
|
280 |
msgstr "Eliminar imagen"
|
281 |
|
282 |
-
#: includes/class-wp-user-avatar.php:
|
283 |
msgid "This file is not an image. Please try another."
|
284 |
msgstr "Este archivo no es una imagen. Por favor prueba con otro."
|
285 |
|
286 |
-
#: includes/class-wp-user-avatar.php:
|
287 |
msgid "Memory exceeded. Please try another smaller file."
|
288 |
msgstr "Memoria superada. Por favor prueba con un archivo más pequeño."
|
289 |
|
290 |
#. translators: directory path
|
291 |
-
#: includes/class-wp-user-avatar.php:
|
292 |
msgid ""
|
293 |
"Unable to create directory %s. Is its parent directory writable by the "
|
294 |
"server?"
|
@@ -313,80 +315,93 @@ msgstr "Resultados de búsqueda para %s"
|
|
313 |
msgid "Search"
|
314 |
msgstr "Buscar"
|
315 |
|
316 |
-
#: includes/wpua-options-page.php:
|
317 |
msgid "Add avatar button to Visual Editor"
|
318 |
msgstr "Añadir botón de avatar al editor visual"
|
319 |
|
320 |
-
#: includes/wpua-options-page.php:
|
321 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
322 |
msgstr "Permitir los colaboradores y los suscriptores subir avatares"
|
323 |
|
324 |
-
#: includes/wpua-options-page.php:
|
325 |
msgid "Disable Gravatar and use only local avatars"
|
326 |
msgstr "Desactivar Gravatar y utilizar sólo los avatares locales"
|
327 |
|
328 |
-
#: includes/wpua-options-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
329 |
msgid "Upload Size Limit"
|
330 |
msgstr "Tamaño máximo de subida"
|
331 |
|
332 |
-
#: includes/wpua-options-page.php:
|
333 |
msgid "(only for Contributors & Subscribers)"
|
334 |
msgstr "(para colaboradores y suscriptores)"
|
335 |
|
336 |
#. translators: file name
|
337 |
-
#: includes/wpua-options-page.php:
|
338 |
msgid "%s exceeds the maximum upload size for this site."
|
339 |
msgstr "%s excede el limite de tamaño máximo para el archivo."
|
340 |
|
341 |
-
#: includes/wpua-options-page.php:
|
342 |
msgid "Allow users to edit avatars"
|
343 |
msgstr "Permitir a los usuarios editar su avatar"
|
344 |
|
345 |
-
#: includes/wpua-options-page.php:
|
346 |
msgid "Resize avatars on upload"
|
347 |
msgstr "Escalar los avatares al subirlos"
|
348 |
|
349 |
-
#: includes/wpua-options-page.php:
|
350 |
msgid "Width"
|
351 |
msgstr "Ancho"
|
352 |
|
353 |
-
#: includes/wpua-options-page.php:
|
354 |
msgid "Height"
|
355 |
msgstr "Altura"
|
356 |
|
357 |
-
#: includes/wpua-options-page.php:
|
358 |
msgid "Crop avatars to exact dimensions"
|
359 |
msgstr "Recortar los avatares a sus dimensiones exactas"
|
360 |
|
361 |
-
#: includes/wpua-options-page.php:
|
362 |
msgid "Avatar Display"
|
363 |
msgstr "Mostrar avatar"
|
364 |
|
365 |
-
#: includes/wpua-options-page.php:
|
366 |
msgid "Show Avatars"
|
367 |
msgstr "Mostrar avatares"
|
368 |
|
369 |
-
#: includes/wpua-options-page.php:
|
370 |
msgid "Maximum Rating"
|
371 |
msgstr "Clasificación máxima"
|
372 |
|
373 |
-
#: includes/wpua-options-page.php:
|
374 |
msgid "G — Suitable for all audiences"
|
375 |
msgstr "G — Apto para todo público"
|
376 |
|
377 |
-
#: includes/wpua-options-page.php:
|
378 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
379 |
msgstr "PG — Posiblemente ofensivo, para audiencias menores a 13 años"
|
380 |
|
381 |
-
#: includes/wpua-options-page.php:
|
382 |
msgid "R — Intended for adult audiences above 17"
|
383 |
msgstr "R — Para audiencias adultas mayores a 17"
|
384 |
|
385 |
-
#: includes/wpua-options-page.php:
|
386 |
msgid "X — Even more mature than above"
|
387 |
msgstr "X — Todavía más adulto que el anterior"
|
388 |
|
389 |
-
#: includes/wpua-options-page.php:
|
390 |
msgid ""
|
391 |
"For users without a custom avatar of their own, you can either display a "
|
392 |
"generic logo or a generated one based on their e-mail address."
|
@@ -467,7 +482,7 @@ msgid "Insert Avatar"
|
|
467 |
msgstr "Insertar avatar"
|
468 |
|
469 |
#. translators: placeholder for <a> and </a> tags.
|
470 |
-
#: one-user-avatar.php:
|
471 |
msgid ""
|
472 |
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
473 |
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
5 |
"Project-Id-Version: Plugins - WP User Avatar | User Profile Picture - Stable "
|
6 |
"(latest release)\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
8 |
+
"POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
|
9 |
+
"PO-Revision-Date: 2021-06-22 21:41+0200\n"
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: \n"
|
12 |
"Language: es\n"
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
+
"X-Generator: Poedit 3.0\n"
|
18 |
|
19 |
#. Plugin Name of the plugin
|
20 |
+
#: includes/class-wp-user-avatar-admin.php:228
|
21 |
+
#: includes/class-wp-user-avatar-admin.php:428
|
22 |
#: includes/class-wp-user-avatar-widget.php:32
|
23 |
+
#: includes/wpua-options-page.php:69 includes/wpua-tinymce-window.php:31
|
24 |
msgid "One User Avatar"
|
25 |
msgstr "One User Avatar"
|
26 |
|
45 |
msgid "https://onedesigns.com/"
|
46 |
msgstr "https://onedesigns.com/"
|
47 |
|
48 |
+
#: includes/class-wp-user-avatar-admin.php:171
|
49 |
msgid "You are not allowed to delete this post."
|
50 |
msgstr "No tienes permisos para eliminar esta entrada."
|
51 |
|
52 |
+
#: includes/class-wp-user-avatar-admin.php:175
|
53 |
msgid "Error in deleting."
|
54 |
msgstr "Error al eliminar."
|
55 |
|
56 |
+
#: includes/class-wp-user-avatar-admin.php:229
|
57 |
+
#: includes/class-wp-user-avatar-admin.php:287 includes/wpua-media-page.php:59
|
58 |
msgid "Avatars"
|
59 |
msgstr "Avatares"
|
60 |
|
61 |
+
#: includes/class-wp-user-avatar-admin.php:238
|
62 |
+
#: includes/class-wp-user-avatar-admin.php:239
|
63 |
+
#: includes/class-wp-user-avatar-admin.php:464
|
64 |
+
#: includes/wpua-options-page.php:107
|
65 |
msgid "Settings"
|
66 |
msgstr "Ajustes"
|
67 |
|
68 |
+
#: includes/class-wp-user-avatar-admin.php:247
|
69 |
+
#: includes/class-wp-user-avatar-admin.php:248
|
70 |
msgid "Library"
|
71 |
msgstr "Biblioteca"
|
72 |
|
73 |
+
#: includes/class-wp-user-avatar-admin.php:374
|
74 |
msgid "Mystery Man"
|
75 |
msgstr "Hombre misterioso"
|
76 |
|
77 |
+
#: includes/class-wp-user-avatar-admin.php:375
|
78 |
msgid "Blank"
|
79 |
msgstr "En blanco"
|
80 |
|
81 |
+
#: includes/class-wp-user-avatar-admin.php:376
|
82 |
msgid "Gravatar Logo"
|
83 |
msgstr "Logo Gravatar"
|
84 |
|
85 |
+
#: includes/class-wp-user-avatar-admin.php:377
|
86 |
msgid "Identicon (Generated)"
|
87 |
msgstr "Identicon (generado)"
|
88 |
|
89 |
+
#: includes/class-wp-user-avatar-admin.php:378
|
90 |
msgid "Wavatar (Generated)"
|
91 |
msgstr "Wavatar (generado)"
|
92 |
|
93 |
+
#: includes/class-wp-user-avatar-admin.php:379
|
94 |
msgid "MonsterID (Generated)"
|
95 |
msgstr "MonsterID (generado)"
|
96 |
|
97 |
+
#: includes/class-wp-user-avatar-admin.php:380
|
98 |
msgid "Retro (Generated)"
|
99 |
msgstr "Retro (generado)"
|
100 |
|
101 |
+
#: includes/class-wp-user-avatar-admin.php:429
|
102 |
+
#: includes/class-wp-user-avatar.php:234
|
103 |
msgid "Choose Image"
|
104 |
msgstr "Elegir imagen"
|
105 |
|
106 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
107 |
msgid "Remove"
|
108 |
msgstr "Eliminar"
|
109 |
|
110 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
111 |
+
#: includes/class-wp-user-avatar.php:295
|
112 |
msgid "Undo"
|
113 |
msgstr "Deshacer"
|
114 |
|
115 |
+
#: includes/class-wp-user-avatar-admin.php:482
|
116 |
+
msgid "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
117 |
+
msgstr "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
118 |
+
|
119 |
+
#: includes/class-wp-user-avatar-admin.php:483
|
120 |
msgid "Support Forums"
|
121 |
msgstr "Foro de soporte"
|
122 |
|
123 |
+
#: includes/class-wp-user-avatar-admin.php:497
|
124 |
+
#: includes/class-wp-user-avatar-admin.php:558 includes/wpua-functions.php:93
|
125 |
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
126 |
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
127 |
msgid "Profile Picture"
|
128 |
msgstr "Imagen del perfil"
|
129 |
|
130 |
+
#: includes/class-wp-user-avatar-admin.php:562
|
131 |
+
#: includes/wpua-options-page.php:327 includes/wpua-options-page.php:333
|
132 |
msgid "Default Avatar"
|
133 |
msgstr "Avatar por defecto"
|
134 |
|
135 |
#: includes/class-wp-user-avatar-functions.php:515
|
136 |
+
#: includes/class-wp-user-avatar-functions.php:716
|
137 |
msgid "Avatar"
|
138 |
msgstr "Avatar"
|
139 |
|
140 |
#. translators: uploaded files
|
141 |
+
#: includes/class-wp-user-avatar-list-table.php:176
|
142 |
msgctxt "uploaded files"
|
143 |
msgid "All %s"
|
144 |
+
msgstr "Todos %s"
|
|
|
|
|
145 |
|
146 |
#: includes/class-wp-user-avatar-list-table.php:192
|
147 |
#: includes/class-wp-user-avatar-list-table.php:549
|
222 |
"%s, lo cual es requerido por One User Avatar. Agregue esta llamada a las "
|
223 |
"plantillas de su página."
|
224 |
|
225 |
+
#: includes/class-wp-user-avatar-shortcode.php:243
|
226 |
msgid "Profile updated."
|
227 |
msgstr "Perfil actualizado."
|
228 |
|
248 |
msgstr "Añadir párrafos automáticamente"
|
249 |
|
250 |
#. translators: user display name
|
251 |
+
#: includes/class-wp-user-avatar.php:230
|
252 |
msgid "Choose Image: %s"
|
253 |
msgstr "Elegir imagen: %s"
|
254 |
|
255 |
+
#: includes/class-wp-user-avatar.php:246 includes/class-wp-user-avatar.php:247
|
256 |
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
257 |
msgid "Upload"
|
258 |
msgstr "Subir"
|
259 |
|
260 |
#. translators: file size in KB
|
261 |
+
#: includes/class-wp-user-avatar.php:256 includes/wpua-options-page.php:215
|
262 |
msgid "Maximum upload file size: %s."
|
263 |
msgstr "Tamaño máximo de subida: %s."
|
264 |
|
265 |
#. translators: allowed file extensions
|
266 |
+
#: includes/class-wp-user-avatar.php:266
|
267 |
msgid "Allowed Files: %s"
|
268 |
msgstr "Archivos permitidos: %s"
|
269 |
|
270 |
+
#: includes/class-wp-user-avatar.php:279 includes/class-wp-user-avatar.php:281
|
271 |
#: includes/wpua-tinymce-window.php:125
|
272 |
msgid "Original Size"
|
273 |
msgstr "Tamaño original"
|
274 |
|
275 |
+
#: includes/class-wp-user-avatar.php:285 includes/class-wp-user-avatar.php:287
|
276 |
#: includes/wpua-tinymce-window.php:128
|
277 |
msgid "Thumbnail"
|
278 |
msgstr "Miniatura"
|
279 |
|
280 |
+
#: includes/class-wp-user-avatar.php:291
|
281 |
msgid "Remove Image"
|
282 |
msgstr "Eliminar imagen"
|
283 |
|
284 |
+
#: includes/class-wp-user-avatar.php:380
|
285 |
msgid "This file is not an image. Please try another."
|
286 |
msgstr "Este archivo no es una imagen. Por favor prueba con otro."
|
287 |
|
288 |
+
#: includes/class-wp-user-avatar.php:385 includes/class-wp-user-avatar.php:417
|
289 |
msgid "Memory exceeded. Please try another smaller file."
|
290 |
msgstr "Memoria superada. Por favor prueba con un archivo más pequeño."
|
291 |
|
292 |
#. translators: directory path
|
293 |
+
#: includes/class-wp-user-avatar.php:392
|
294 |
msgid ""
|
295 |
"Unable to create directory %s. Is its parent directory writable by the "
|
296 |
"server?"
|
315 |
msgid "Search"
|
316 |
msgstr "Buscar"
|
317 |
|
318 |
+
#: includes/wpua-options-page.php:122
|
319 |
msgid "Add avatar button to Visual Editor"
|
320 |
msgstr "Añadir botón de avatar al editor visual"
|
321 |
|
322 |
+
#: includes/wpua-options-page.php:133
|
323 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
324 |
msgstr "Permitir los colaboradores y los suscriptores subir avatares"
|
325 |
|
326 |
+
#: includes/wpua-options-page.php:144
|
327 |
msgid "Disable Gravatar and use only local avatars"
|
328 |
msgstr "Desactivar Gravatar y utilizar sólo los avatares locales"
|
329 |
|
330 |
+
#: includes/wpua-options-page.php:156
|
331 |
+
msgid "Always use the browser file uploader to upload avatars"
|
332 |
+
msgstr ""
|
333 |
+
"Utilice siempre el cargador de archivos del navegador para cargar avatares"
|
334 |
+
|
335 |
+
#: includes/wpua-options-page.php:157
|
336 |
+
msgid ""
|
337 |
+
"Check this if another plugin is conflicting with the WordPress Media "
|
338 |
+
"Uploader."
|
339 |
+
msgstr ""
|
340 |
+
"Marque esto si otro plugin está en conflicto con el cargador de medios de "
|
341 |
+
"WordPress."
|
342 |
+
|
343 |
+
#: includes/wpua-options-page.php:185 includes/wpua-options-page.php:194
|
344 |
msgid "Upload Size Limit"
|
345 |
msgstr "Tamaño máximo de subida"
|
346 |
|
347 |
+
#: includes/wpua-options-page.php:186 includes/wpua-options-page.php:195
|
348 |
msgid "(only for Contributors & Subscribers)"
|
349 |
msgstr "(para colaboradores y suscriptores)"
|
350 |
|
351 |
#. translators: file name
|
352 |
+
#: includes/wpua-options-page.php:205
|
353 |
msgid "%s exceeds the maximum upload size for this site."
|
354 |
msgstr "%s excede el limite de tamaño máximo para el archivo."
|
355 |
|
356 |
+
#: includes/wpua-options-page.php:226
|
357 |
msgid "Allow users to edit avatars"
|
358 |
msgstr "Permitir a los usuarios editar su avatar"
|
359 |
|
360 |
+
#: includes/wpua-options-page.php:234
|
361 |
msgid "Resize avatars on upload"
|
362 |
msgstr "Escalar los avatares al subirlos"
|
363 |
|
364 |
+
#: includes/wpua-options-page.php:239
|
365 |
msgid "Width"
|
366 |
msgstr "Ancho"
|
367 |
|
368 |
+
#: includes/wpua-options-page.php:243
|
369 |
msgid "Height"
|
370 |
msgstr "Altura"
|
371 |
|
372 |
+
#: includes/wpua-options-page.php:251
|
373 |
msgid "Crop avatars to exact dimensions"
|
374 |
msgstr "Recortar los avatares a sus dimensiones exactas"
|
375 |
|
376 |
+
#: includes/wpua-options-page.php:273 includes/wpua-options-page.php:279
|
377 |
msgid "Avatar Display"
|
378 |
msgstr "Mostrar avatar"
|
379 |
|
380 |
+
#: includes/wpua-options-page.php:286
|
381 |
msgid "Show Avatars"
|
382 |
msgstr "Mostrar avatares"
|
383 |
|
384 |
+
#: includes/wpua-options-page.php:293 includes/wpua-options-page.php:299
|
385 |
msgid "Maximum Rating"
|
386 |
msgstr "Clasificación máxima"
|
387 |
|
388 |
+
#: includes/wpua-options-page.php:305
|
389 |
msgid "G — Suitable for all audiences"
|
390 |
msgstr "G — Apto para todo público"
|
391 |
|
392 |
+
#: includes/wpua-options-page.php:306
|
393 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
394 |
msgstr "PG — Posiblemente ofensivo, para audiencias menores a 13 años"
|
395 |
|
396 |
+
#: includes/wpua-options-page.php:307
|
397 |
msgid "R — Intended for adult audiences above 17"
|
398 |
msgstr "R — Para audiencias adultas mayores a 17"
|
399 |
|
400 |
+
#: includes/wpua-options-page.php:308
|
401 |
msgid "X — Even more mature than above"
|
402 |
msgstr "X — Todavía más adulto que el anterior"
|
403 |
|
404 |
+
#: includes/wpua-options-page.php:337
|
405 |
msgid ""
|
406 |
"For users without a custom avatar of their own, you can either display a "
|
407 |
"generic logo or a generated one based on their e-mail address."
|
482 |
msgstr "Insertar avatar"
|
483 |
|
484 |
#. translators: placeholder for <a> and </a> tags.
|
485 |
+
#: one-user-avatar.php:127
|
486 |
msgid ""
|
487 |
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
488 |
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
languages/fr_FR.mo
CHANGED
Binary file
|
languages/fr_FR.po
CHANGED
@@ -5,8 +5,8 @@ msgstr ""
|
|
5 |
"Project-Id-Version: Plugins - WP User Avatar | User Profile Picture - Stable "
|
6 |
"(latest release)\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
8 |
-
"POT-Creation-Date: 2021-
|
9 |
-
"PO-Revision-Date: 2021-
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: \n"
|
12 |
"Language: fr\n"
|
@@ -14,13 +14,13 @@ msgstr ""
|
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
17 |
-
"X-Generator: Poedit
|
18 |
|
19 |
#. Plugin Name of the plugin
|
20 |
-
#: includes/class-wp-user-avatar-admin.php:
|
21 |
-
#: includes/class-wp-user-avatar-admin.php:
|
22 |
#: includes/class-wp-user-avatar-widget.php:32
|
23 |
-
#: includes/wpua-options-page.php:
|
24 |
msgid "One User Avatar"
|
25 |
msgstr "One User Avatar"
|
26 |
|
@@ -45,101 +45,103 @@ msgstr "One Designs"
|
|
45 |
msgid "https://onedesigns.com/"
|
46 |
msgstr "https://onedesigns.com/"
|
47 |
|
48 |
-
#: includes/class-wp-user-avatar-admin.php:
|
49 |
msgid "You are not allowed to delete this post."
|
50 |
msgstr "Vous n'êtes pas autorisé à supprimer cet article."
|
51 |
|
52 |
-
#: includes/class-wp-user-avatar-admin.php:
|
53 |
msgid "Error in deleting."
|
54 |
msgstr "Error lors de la suppression."
|
55 |
|
56 |
-
#: includes/class-wp-user-avatar-admin.php:
|
57 |
-
#: includes/class-wp-user-avatar-admin.php:
|
58 |
msgid "Avatars"
|
59 |
msgstr "Avatars"
|
60 |
|
61 |
-
#: includes/class-wp-user-avatar-admin.php:
|
62 |
-
#: includes/class-wp-user-avatar-admin.php:
|
63 |
-
#: includes/class-wp-user-avatar-admin.php:
|
64 |
-
#: includes/wpua-options-page.php:
|
65 |
msgid "Settings"
|
66 |
msgstr "Réglages"
|
67 |
|
68 |
-
#: includes/class-wp-user-avatar-admin.php:
|
69 |
-
#: includes/class-wp-user-avatar-admin.php:
|
70 |
msgid "Library"
|
71 |
msgstr "Librairie"
|
72 |
|
73 |
-
#: includes/class-wp-user-avatar-admin.php:
|
74 |
msgid "Mystery Man"
|
75 |
msgstr "Homme mystère"
|
76 |
|
77 |
-
#: includes/class-wp-user-avatar-admin.php:
|
78 |
msgid "Blank"
|
79 |
msgstr "Vide"
|
80 |
|
81 |
-
#: includes/class-wp-user-avatar-admin.php:
|
82 |
msgid "Gravatar Logo"
|
83 |
msgstr "Logo Gravatar"
|
84 |
|
85 |
-
#: includes/class-wp-user-avatar-admin.php:
|
86 |
msgid "Identicon (Generated)"
|
87 |
msgstr "Identicon (généré)"
|
88 |
|
89 |
-
#: includes/class-wp-user-avatar-admin.php:
|
90 |
msgid "Wavatar (Generated)"
|
91 |
msgstr "Wavatar (généré)"
|
92 |
|
93 |
-
#: includes/class-wp-user-avatar-admin.php:
|
94 |
msgid "MonsterID (Generated)"
|
95 |
msgstr "MonsterID (généré)"
|
96 |
|
97 |
-
#: includes/class-wp-user-avatar-admin.php:
|
98 |
msgid "Retro (Generated)"
|
99 |
msgstr "Retro (généré)"
|
100 |
|
101 |
-
#: includes/class-wp-user-avatar-admin.php:
|
102 |
-
#: includes/class-wp-user-avatar.php:
|
103 |
msgid "Choose Image"
|
104 |
msgstr "Choisir une image"
|
105 |
|
106 |
-
#: includes/class-wp-user-avatar-admin.php:
|
107 |
msgid "Remove"
|
108 |
msgstr "Retirer"
|
109 |
|
110 |
-
#: includes/class-wp-user-avatar-admin.php:
|
111 |
-
#: includes/class-wp-user-avatar.php:
|
112 |
msgid "Undo"
|
113 |
msgstr "Annuler"
|
114 |
|
115 |
-
#: includes/class-wp-user-avatar-admin.php:
|
|
|
|
|
|
|
|
|
116 |
msgid "Support Forums"
|
117 |
msgstr "Forums de support"
|
118 |
|
119 |
-
#: includes/class-wp-user-avatar-admin.php:
|
120 |
-
#: includes/class-wp-user-avatar-admin.php:
|
121 |
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
122 |
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
123 |
msgid "Profile Picture"
|
124 |
msgstr "Image de profil"
|
125 |
|
126 |
-
#: includes/class-wp-user-avatar-admin.php:
|
127 |
-
#: includes/wpua-options-page.php:
|
128 |
msgid "Default Avatar"
|
129 |
msgstr "Avatar par défaut"
|
130 |
|
131 |
#: includes/class-wp-user-avatar-functions.php:515
|
132 |
-
#: includes/class-wp-user-avatar-functions.php:
|
133 |
msgid "Avatar"
|
134 |
msgstr "Avatar"
|
135 |
|
136 |
#. translators: uploaded files
|
137 |
-
#: includes/class-wp-user-avatar-list-table.php:
|
138 |
msgctxt "uploaded files"
|
139 |
msgid "All %s"
|
140 |
-
|
141 |
-
msgstr[0] "Tous les %s"
|
142 |
-
msgstr[1] "Tous les %s"
|
143 |
|
144 |
#: includes/class-wp-user-avatar-list-table.php:192
|
145 |
#: includes/class-wp-user-avatar-list-table.php:549
|
@@ -220,7 +222,7 @@ msgstr ""
|
|
220 |
"%s, ce qui est requis par One User Avatar. Veuillez ajouter cet appel à vos "
|
221 |
"modèles de page."
|
222 |
|
223 |
-
#: includes/class-wp-user-avatar-shortcode.php:
|
224 |
msgid "Profile updated."
|
225 |
msgstr "Profil mis à jour."
|
226 |
|
@@ -246,49 +248,49 @@ msgid "Automatically add paragraphs"
|
|
246 |
msgstr "Créer automatiquement les paragraphes"
|
247 |
|
248 |
#. translators: user display name
|
249 |
-
#: includes/class-wp-user-avatar.php:
|
250 |
msgid "Choose Image: %s"
|
251 |
msgstr "Choisir une image: %s"
|
252 |
|
253 |
-
#: includes/class-wp-user-avatar.php:
|
254 |
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
255 |
msgid "Upload"
|
256 |
msgstr "Envoi"
|
257 |
|
258 |
#. translators: file size in KB
|
259 |
-
#: includes/class-wp-user-avatar.php:
|
260 |
msgid "Maximum upload file size: %s."
|
261 |
msgstr "Taille maximum de fichier autorisée: %s."
|
262 |
|
263 |
#. translators: allowed file extensions
|
264 |
-
#: includes/class-wp-user-avatar.php:
|
265 |
msgid "Allowed Files: %s"
|
266 |
msgstr "Fichiers autorisés: %s"
|
267 |
|
268 |
-
#: includes/class-wp-user-avatar.php:
|
269 |
#: includes/wpua-tinymce-window.php:125
|
270 |
msgid "Original Size"
|
271 |
msgstr "Taille d’origine"
|
272 |
|
273 |
-
#: includes/class-wp-user-avatar.php:
|
274 |
#: includes/wpua-tinymce-window.php:128
|
275 |
msgid "Thumbnail"
|
276 |
msgstr "Miniature"
|
277 |
|
278 |
-
#: includes/class-wp-user-avatar.php:
|
279 |
msgid "Remove Image"
|
280 |
msgstr "Retirer l’image"
|
281 |
|
282 |
-
#: includes/class-wp-user-avatar.php:
|
283 |
msgid "This file is not an image. Please try another."
|
284 |
msgstr "Ce fichier n’est pas une image. Veuillez en envoyer un autre."
|
285 |
|
286 |
-
#: includes/class-wp-user-avatar.php:
|
287 |
msgid "Memory exceeded. Please try another smaller file."
|
288 |
msgstr "Mémoire dépassée. Veuillez réessayer avec un fichier plus petit."
|
289 |
|
290 |
#. translators: directory path
|
291 |
-
#: includes/class-wp-user-avatar.php:
|
292 |
msgid ""
|
293 |
"Unable to create directory %s. Is its parent directory writable by the "
|
294 |
"server?"
|
@@ -313,82 +315,96 @@ msgstr "Résultats de la recherche pour %s"
|
|
313 |
msgid "Search"
|
314 |
msgstr "Rechercher"
|
315 |
|
316 |
-
#: includes/wpua-options-page.php:
|
317 |
msgid "Add avatar button to Visual Editor"
|
318 |
msgstr "Ajouter le bouton avatar sur l'éditeur visuel"
|
319 |
|
320 |
-
#: includes/wpua-options-page.php:
|
321 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
322 |
msgstr "Permettre aux contributeurs et aux abonnés d'envoyer des avatars"
|
323 |
|
324 |
-
#: includes/wpua-options-page.php:
|
325 |
msgid "Disable Gravatar and use only local avatars"
|
326 |
msgstr "Désactiver Gravatar et utiliser les avatars fournis"
|
327 |
|
328 |
-
#: includes/wpua-options-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
329 |
msgid "Upload Size Limit"
|
330 |
msgstr "Taille limite d'envoi de fichiers"
|
331 |
|
332 |
-
#: includes/wpua-options-page.php:
|
333 |
msgid "(only for Contributors & Subscribers)"
|
334 |
msgstr "(pour contributeurs et abonnés)"
|
335 |
|
336 |
#. translators: file name
|
337 |
-
#: includes/wpua-options-page.php:
|
338 |
msgid "%s exceeds the maximum upload size for this site."
|
339 |
msgstr "%s dépasse la limite d’envoi de ce site."
|
340 |
|
341 |
-
#: includes/wpua-options-page.php:
|
342 |
msgid "Allow users to edit avatars"
|
343 |
msgstr "Permettre aux utilisateurs de modifier avatar"
|
344 |
|
345 |
-
#: includes/wpua-options-page.php:
|
346 |
msgid "Resize avatars on upload"
|
347 |
msgstr "Redimensionner avatars lors du téléchargement"
|
348 |
|
349 |
-
#: includes/wpua-options-page.php:
|
350 |
msgid "Width"
|
351 |
msgstr "Largeur"
|
352 |
|
353 |
-
#: includes/wpua-options-page.php:
|
354 |
msgid "Height"
|
355 |
msgstr "Hauteur"
|
356 |
|
357 |
-
#: includes/wpua-options-page.php:
|
358 |
msgid "Crop avatars to exact dimensions"
|
359 |
msgstr "Recadrer les avatars pour parvenir aux dimensions exactes"
|
360 |
|
361 |
-
#: includes/wpua-options-page.php:
|
362 |
msgid "Avatar Display"
|
363 |
msgstr "Affichage de l’avatar"
|
364 |
|
365 |
-
#: includes/wpua-options-page.php:
|
366 |
msgid "Show Avatars"
|
367 |
msgstr "Afficher les avatars"
|
368 |
|
369 |
-
#: includes/wpua-options-page.php:
|
370 |
msgid "Maximum Rating"
|
371 |
msgstr "Classement maximal"
|
372 |
|
373 |
-
#: includes/wpua-options-page.php:
|
374 |
msgid "G — Suitable for all audiences"
|
375 |
msgstr "G — Visibles par tous"
|
376 |
|
377 |
-
#: includes/wpua-options-page.php:
|
378 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
379 |
msgstr ""
|
380 |
"PG — Possiblement offensants, réservés normalement aux personnes de 13 "
|
381 |
"ans et plus"
|
382 |
|
383 |
-
#: includes/wpua-options-page.php:
|
384 |
msgid "R — Intended for adult audiences above 17"
|
385 |
msgstr "R — Réservés aux personnes de plus de 17 ans"
|
386 |
|
387 |
-
#: includes/wpua-options-page.php:
|
388 |
msgid "X — Even more mature than above"
|
389 |
msgstr "X — Réservés aux adultes"
|
390 |
|
391 |
-
#: includes/wpua-options-page.php:
|
392 |
msgid ""
|
393 |
"For users without a custom avatar of their own, you can either display a "
|
394 |
"generic logo or a generated one based on their e-mail address."
|
@@ -469,7 +485,7 @@ msgid "Insert Avatar"
|
|
469 |
msgstr "Insérer un avatar"
|
470 |
|
471 |
#. translators: placeholder for <a> and </a> tags.
|
472 |
-
#: one-user-avatar.php:
|
473 |
msgid ""
|
474 |
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
475 |
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
5 |
"Project-Id-Version: Plugins - WP User Avatar | User Profile Picture - Stable "
|
6 |
"(latest release)\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
8 |
+
"POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
|
9 |
+
"PO-Revision-Date: 2021-06-22 21:44+0200\n"
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: \n"
|
12 |
"Language: fr\n"
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
17 |
+
"X-Generator: Poedit 3.0\n"
|
18 |
|
19 |
#. Plugin Name of the plugin
|
20 |
+
#: includes/class-wp-user-avatar-admin.php:228
|
21 |
+
#: includes/class-wp-user-avatar-admin.php:428
|
22 |
#: includes/class-wp-user-avatar-widget.php:32
|
23 |
+
#: includes/wpua-options-page.php:69 includes/wpua-tinymce-window.php:31
|
24 |
msgid "One User Avatar"
|
25 |
msgstr "One User Avatar"
|
26 |
|
45 |
msgid "https://onedesigns.com/"
|
46 |
msgstr "https://onedesigns.com/"
|
47 |
|
48 |
+
#: includes/class-wp-user-avatar-admin.php:171
|
49 |
msgid "You are not allowed to delete this post."
|
50 |
msgstr "Vous n'êtes pas autorisé à supprimer cet article."
|
51 |
|
52 |
+
#: includes/class-wp-user-avatar-admin.php:175
|
53 |
msgid "Error in deleting."
|
54 |
msgstr "Error lors de la suppression."
|
55 |
|
56 |
+
#: includes/class-wp-user-avatar-admin.php:229
|
57 |
+
#: includes/class-wp-user-avatar-admin.php:287 includes/wpua-media-page.php:59
|
58 |
msgid "Avatars"
|
59 |
msgstr "Avatars"
|
60 |
|
61 |
+
#: includes/class-wp-user-avatar-admin.php:238
|
62 |
+
#: includes/class-wp-user-avatar-admin.php:239
|
63 |
+
#: includes/class-wp-user-avatar-admin.php:464
|
64 |
+
#: includes/wpua-options-page.php:107
|
65 |
msgid "Settings"
|
66 |
msgstr "Réglages"
|
67 |
|
68 |
+
#: includes/class-wp-user-avatar-admin.php:247
|
69 |
+
#: includes/class-wp-user-avatar-admin.php:248
|
70 |
msgid "Library"
|
71 |
msgstr "Librairie"
|
72 |
|
73 |
+
#: includes/class-wp-user-avatar-admin.php:374
|
74 |
msgid "Mystery Man"
|
75 |
msgstr "Homme mystère"
|
76 |
|
77 |
+
#: includes/class-wp-user-avatar-admin.php:375
|
78 |
msgid "Blank"
|
79 |
msgstr "Vide"
|
80 |
|
81 |
+
#: includes/class-wp-user-avatar-admin.php:376
|
82 |
msgid "Gravatar Logo"
|
83 |
msgstr "Logo Gravatar"
|
84 |
|
85 |
+
#: includes/class-wp-user-avatar-admin.php:377
|
86 |
msgid "Identicon (Generated)"
|
87 |
msgstr "Identicon (généré)"
|
88 |
|
89 |
+
#: includes/class-wp-user-avatar-admin.php:378
|
90 |
msgid "Wavatar (Generated)"
|
91 |
msgstr "Wavatar (généré)"
|
92 |
|
93 |
+
#: includes/class-wp-user-avatar-admin.php:379
|
94 |
msgid "MonsterID (Generated)"
|
95 |
msgstr "MonsterID (généré)"
|
96 |
|
97 |
+
#: includes/class-wp-user-avatar-admin.php:380
|
98 |
msgid "Retro (Generated)"
|
99 |
msgstr "Retro (généré)"
|
100 |
|
101 |
+
#: includes/class-wp-user-avatar-admin.php:429
|
102 |
+
#: includes/class-wp-user-avatar.php:234
|
103 |
msgid "Choose Image"
|
104 |
msgstr "Choisir une image"
|
105 |
|
106 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
107 |
msgid "Remove"
|
108 |
msgstr "Retirer"
|
109 |
|
110 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
111 |
+
#: includes/class-wp-user-avatar.php:295
|
112 |
msgid "Undo"
|
113 |
msgstr "Annuler"
|
114 |
|
115 |
+
#: includes/class-wp-user-avatar-admin.php:482
|
116 |
+
msgid "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
117 |
+
msgstr "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
118 |
+
|
119 |
+
#: includes/class-wp-user-avatar-admin.php:483
|
120 |
msgid "Support Forums"
|
121 |
msgstr "Forums de support"
|
122 |
|
123 |
+
#: includes/class-wp-user-avatar-admin.php:497
|
124 |
+
#: includes/class-wp-user-avatar-admin.php:558 includes/wpua-functions.php:93
|
125 |
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
126 |
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
127 |
msgid "Profile Picture"
|
128 |
msgstr "Image de profil"
|
129 |
|
130 |
+
#: includes/class-wp-user-avatar-admin.php:562
|
131 |
+
#: includes/wpua-options-page.php:327 includes/wpua-options-page.php:333
|
132 |
msgid "Default Avatar"
|
133 |
msgstr "Avatar par défaut"
|
134 |
|
135 |
#: includes/class-wp-user-avatar-functions.php:515
|
136 |
+
#: includes/class-wp-user-avatar-functions.php:716
|
137 |
msgid "Avatar"
|
138 |
msgstr "Avatar"
|
139 |
|
140 |
#. translators: uploaded files
|
141 |
+
#: includes/class-wp-user-avatar-list-table.php:176
|
142 |
msgctxt "uploaded files"
|
143 |
msgid "All %s"
|
144 |
+
msgstr "Tous %s"
|
|
|
|
|
145 |
|
146 |
#: includes/class-wp-user-avatar-list-table.php:192
|
147 |
#: includes/class-wp-user-avatar-list-table.php:549
|
222 |
"%s, ce qui est requis par One User Avatar. Veuillez ajouter cet appel à vos "
|
223 |
"modèles de page."
|
224 |
|
225 |
+
#: includes/class-wp-user-avatar-shortcode.php:243
|
226 |
msgid "Profile updated."
|
227 |
msgstr "Profil mis à jour."
|
228 |
|
248 |
msgstr "Créer automatiquement les paragraphes"
|
249 |
|
250 |
#. translators: user display name
|
251 |
+
#: includes/class-wp-user-avatar.php:230
|
252 |
msgid "Choose Image: %s"
|
253 |
msgstr "Choisir une image: %s"
|
254 |
|
255 |
+
#: includes/class-wp-user-avatar.php:246 includes/class-wp-user-avatar.php:247
|
256 |
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
257 |
msgid "Upload"
|
258 |
msgstr "Envoi"
|
259 |
|
260 |
#. translators: file size in KB
|
261 |
+
#: includes/class-wp-user-avatar.php:256 includes/wpua-options-page.php:215
|
262 |
msgid "Maximum upload file size: %s."
|
263 |
msgstr "Taille maximum de fichier autorisée: %s."
|
264 |
|
265 |
#. translators: allowed file extensions
|
266 |
+
#: includes/class-wp-user-avatar.php:266
|
267 |
msgid "Allowed Files: %s"
|
268 |
msgstr "Fichiers autorisés: %s"
|
269 |
|
270 |
+
#: includes/class-wp-user-avatar.php:279 includes/class-wp-user-avatar.php:281
|
271 |
#: includes/wpua-tinymce-window.php:125
|
272 |
msgid "Original Size"
|
273 |
msgstr "Taille d’origine"
|
274 |
|
275 |
+
#: includes/class-wp-user-avatar.php:285 includes/class-wp-user-avatar.php:287
|
276 |
#: includes/wpua-tinymce-window.php:128
|
277 |
msgid "Thumbnail"
|
278 |
msgstr "Miniature"
|
279 |
|
280 |
+
#: includes/class-wp-user-avatar.php:291
|
281 |
msgid "Remove Image"
|
282 |
msgstr "Retirer l’image"
|
283 |
|
284 |
+
#: includes/class-wp-user-avatar.php:380
|
285 |
msgid "This file is not an image. Please try another."
|
286 |
msgstr "Ce fichier n’est pas une image. Veuillez en envoyer un autre."
|
287 |
|
288 |
+
#: includes/class-wp-user-avatar.php:385 includes/class-wp-user-avatar.php:417
|
289 |
msgid "Memory exceeded. Please try another smaller file."
|
290 |
msgstr "Mémoire dépassée. Veuillez réessayer avec un fichier plus petit."
|
291 |
|
292 |
#. translators: directory path
|
293 |
+
#: includes/class-wp-user-avatar.php:392
|
294 |
msgid ""
|
295 |
"Unable to create directory %s. Is its parent directory writable by the "
|
296 |
"server?"
|
315 |
msgid "Search"
|
316 |
msgstr "Rechercher"
|
317 |
|
318 |
+
#: includes/wpua-options-page.php:122
|
319 |
msgid "Add avatar button to Visual Editor"
|
320 |
msgstr "Ajouter le bouton avatar sur l'éditeur visuel"
|
321 |
|
322 |
+
#: includes/wpua-options-page.php:133
|
323 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
324 |
msgstr "Permettre aux contributeurs et aux abonnés d'envoyer des avatars"
|
325 |
|
326 |
+
#: includes/wpua-options-page.php:144
|
327 |
msgid "Disable Gravatar and use only local avatars"
|
328 |
msgstr "Désactiver Gravatar et utiliser les avatars fournis"
|
329 |
|
330 |
+
#: includes/wpua-options-page.php:156
|
331 |
+
msgid "Always use the browser file uploader to upload avatars"
|
332 |
+
msgstr ""
|
333 |
+
"Utilisez toujours le téléchargeur de fichiers du navigateur pour télécharger "
|
334 |
+
"des avatars"
|
335 |
+
|
336 |
+
#: includes/wpua-options-page.php:157
|
337 |
+
msgid ""
|
338 |
+
"Check this if another plugin is conflicting with the WordPress Media "
|
339 |
+
"Uploader."
|
340 |
+
msgstr ""
|
341 |
+
"Vérifiez ceci si un autre plugin est en conflit avec le téléchargeur de "
|
342 |
+
"médias de WordPress."
|
343 |
+
|
344 |
+
#: includes/wpua-options-page.php:185 includes/wpua-options-page.php:194
|
345 |
msgid "Upload Size Limit"
|
346 |
msgstr "Taille limite d'envoi de fichiers"
|
347 |
|
348 |
+
#: includes/wpua-options-page.php:186 includes/wpua-options-page.php:195
|
349 |
msgid "(only for Contributors & Subscribers)"
|
350 |
msgstr "(pour contributeurs et abonnés)"
|
351 |
|
352 |
#. translators: file name
|
353 |
+
#: includes/wpua-options-page.php:205
|
354 |
msgid "%s exceeds the maximum upload size for this site."
|
355 |
msgstr "%s dépasse la limite d’envoi de ce site."
|
356 |
|
357 |
+
#: includes/wpua-options-page.php:226
|
358 |
msgid "Allow users to edit avatars"
|
359 |
msgstr "Permettre aux utilisateurs de modifier avatar"
|
360 |
|
361 |
+
#: includes/wpua-options-page.php:234
|
362 |
msgid "Resize avatars on upload"
|
363 |
msgstr "Redimensionner avatars lors du téléchargement"
|
364 |
|
365 |
+
#: includes/wpua-options-page.php:239
|
366 |
msgid "Width"
|
367 |
msgstr "Largeur"
|
368 |
|
369 |
+
#: includes/wpua-options-page.php:243
|
370 |
msgid "Height"
|
371 |
msgstr "Hauteur"
|
372 |
|
373 |
+
#: includes/wpua-options-page.php:251
|
374 |
msgid "Crop avatars to exact dimensions"
|
375 |
msgstr "Recadrer les avatars pour parvenir aux dimensions exactes"
|
376 |
|
377 |
+
#: includes/wpua-options-page.php:273 includes/wpua-options-page.php:279
|
378 |
msgid "Avatar Display"
|
379 |
msgstr "Affichage de l’avatar"
|
380 |
|
381 |
+
#: includes/wpua-options-page.php:286
|
382 |
msgid "Show Avatars"
|
383 |
msgstr "Afficher les avatars"
|
384 |
|
385 |
+
#: includes/wpua-options-page.php:293 includes/wpua-options-page.php:299
|
386 |
msgid "Maximum Rating"
|
387 |
msgstr "Classement maximal"
|
388 |
|
389 |
+
#: includes/wpua-options-page.php:305
|
390 |
msgid "G — Suitable for all audiences"
|
391 |
msgstr "G — Visibles par tous"
|
392 |
|
393 |
+
#: includes/wpua-options-page.php:306
|
394 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
395 |
msgstr ""
|
396 |
"PG — Possiblement offensants, réservés normalement aux personnes de 13 "
|
397 |
"ans et plus"
|
398 |
|
399 |
+
#: includes/wpua-options-page.php:307
|
400 |
msgid "R — Intended for adult audiences above 17"
|
401 |
msgstr "R — Réservés aux personnes de plus de 17 ans"
|
402 |
|
403 |
+
#: includes/wpua-options-page.php:308
|
404 |
msgid "X — Even more mature than above"
|
405 |
msgstr "X — Réservés aux adultes"
|
406 |
|
407 |
+
#: includes/wpua-options-page.php:337
|
408 |
msgid ""
|
409 |
"For users without a custom avatar of their own, you can either display a "
|
410 |
"generic logo or a generated one based on their e-mail address."
|
485 |
msgstr "Insérer un avatar"
|
486 |
|
487 |
#. translators: placeholder for <a> and </a> tags.
|
488 |
+
#: one-user-avatar.php:127
|
489 |
msgid ""
|
490 |
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
491 |
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
languages/it_IT.mo
CHANGED
Binary file
|
languages/it_IT.po
CHANGED
@@ -5,8 +5,8 @@ msgstr ""
|
|
5 |
"Project-Id-Version: Plugins - WP User Avatar | User Profile Picture - Stable "
|
6 |
"(latest release)\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
8 |
-
"POT-Creation-Date: 2021-
|
9 |
-
"PO-Revision-Date: 2021-
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: \n"
|
12 |
"Language: it\n"
|
@@ -14,13 +14,13 @@ msgstr ""
|
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
-
"X-Generator: Poedit
|
18 |
|
19 |
#. Plugin Name of the plugin
|
20 |
-
#: includes/class-wp-user-avatar-admin.php:
|
21 |
-
#: includes/class-wp-user-avatar-admin.php:
|
22 |
#: includes/class-wp-user-avatar-widget.php:32
|
23 |
-
#: includes/wpua-options-page.php:
|
24 |
msgid "One User Avatar"
|
25 |
msgstr "One User Avatar"
|
26 |
|
@@ -45,101 +45,103 @@ msgstr "One Designs"
|
|
45 |
msgid "https://onedesigns.com/"
|
46 |
msgstr "https://onedesigns.com/"
|
47 |
|
48 |
-
#: includes/class-wp-user-avatar-admin.php:
|
49 |
msgid "You are not allowed to delete this post."
|
50 |
msgstr "Non hai i permessi per cancellare questo post."
|
51 |
|
52 |
-
#: includes/class-wp-user-avatar-admin.php:
|
53 |
msgid "Error in deleting."
|
54 |
msgstr "Errore durante la cancellazione."
|
55 |
|
56 |
-
#: includes/class-wp-user-avatar-admin.php:
|
57 |
-
#: includes/class-wp-user-avatar-admin.php:
|
58 |
msgid "Avatars"
|
59 |
msgstr "Avatar"
|
60 |
|
61 |
-
#: includes/class-wp-user-avatar-admin.php:
|
62 |
-
#: includes/class-wp-user-avatar-admin.php:
|
63 |
-
#: includes/class-wp-user-avatar-admin.php:
|
64 |
-
#: includes/wpua-options-page.php:
|
65 |
msgid "Settings"
|
66 |
msgstr "Impostazioni"
|
67 |
|
68 |
-
#: includes/class-wp-user-avatar-admin.php:
|
69 |
-
#: includes/class-wp-user-avatar-admin.php:
|
70 |
msgid "Library"
|
71 |
msgstr "Libreria"
|
72 |
|
73 |
-
#: includes/class-wp-user-avatar-admin.php:
|
74 |
msgid "Mystery Man"
|
75 |
msgstr "Utente Anonimo"
|
76 |
|
77 |
-
#: includes/class-wp-user-avatar-admin.php:
|
78 |
msgid "Blank"
|
79 |
msgstr "Vuoto"
|
80 |
|
81 |
-
#: includes/class-wp-user-avatar-admin.php:
|
82 |
msgid "Gravatar Logo"
|
83 |
msgstr "Gravatar Logo"
|
84 |
|
85 |
-
#: includes/class-wp-user-avatar-admin.php:
|
86 |
msgid "Identicon (Generated)"
|
87 |
msgstr "Identicon (Generato)"
|
88 |
|
89 |
-
#: includes/class-wp-user-avatar-admin.php:
|
90 |
msgid "Wavatar (Generated)"
|
91 |
msgstr "Wavatar (Generato)"
|
92 |
|
93 |
-
#: includes/class-wp-user-avatar-admin.php:
|
94 |
msgid "MonsterID (Generated)"
|
95 |
msgstr "MonsterID (Generato)"
|
96 |
|
97 |
-
#: includes/class-wp-user-avatar-admin.php:
|
98 |
msgid "Retro (Generated)"
|
99 |
msgstr "Retro (Generato)"
|
100 |
|
101 |
-
#: includes/class-wp-user-avatar-admin.php:
|
102 |
-
#: includes/class-wp-user-avatar.php:
|
103 |
msgid "Choose Image"
|
104 |
msgstr "Scegli immagine"
|
105 |
|
106 |
-
#: includes/class-wp-user-avatar-admin.php:
|
107 |
msgid "Remove"
|
108 |
msgstr "Rimuovi"
|
109 |
|
110 |
-
#: includes/class-wp-user-avatar-admin.php:
|
111 |
-
#: includes/class-wp-user-avatar.php:
|
112 |
msgid "Undo"
|
113 |
msgstr "Annulla"
|
114 |
|
115 |
-
#: includes/class-wp-user-avatar-admin.php:
|
|
|
|
|
|
|
|
|
116 |
msgid "Support Forums"
|
117 |
msgstr "Forum di supporto"
|
118 |
|
119 |
-
#: includes/class-wp-user-avatar-admin.php:
|
120 |
-
#: includes/class-wp-user-avatar-admin.php:
|
121 |
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
122 |
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
123 |
msgid "Profile Picture"
|
124 |
msgstr "Immagine del profilo"
|
125 |
|
126 |
-
#: includes/class-wp-user-avatar-admin.php:
|
127 |
-
#: includes/wpua-options-page.php:
|
128 |
msgid "Default Avatar"
|
129 |
msgstr "Avatar Standard"
|
130 |
|
131 |
#: includes/class-wp-user-avatar-functions.php:515
|
132 |
-
#: includes/class-wp-user-avatar-functions.php:
|
133 |
msgid "Avatar"
|
134 |
msgstr "Avatar"
|
135 |
|
136 |
#. translators: uploaded files
|
137 |
-
#: includes/class-wp-user-avatar-list-table.php:
|
138 |
msgctxt "uploaded files"
|
139 |
msgid "All %s"
|
140 |
-
|
141 |
-
msgstr[0] "Tutti i %s"
|
142 |
-
msgstr[1] "Tutti i %s"
|
143 |
|
144 |
#: includes/class-wp-user-avatar-list-table.php:192
|
145 |
#: includes/class-wp-user-avatar-list-table.php:549
|
@@ -217,7 +219,7 @@ msgid ""
|
|
217 |
"is required by One User Avatar. Please add this call to your page templates."
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: includes/class-wp-user-avatar-shortcode.php:
|
221 |
msgid "Profile updated."
|
222 |
msgstr "Profilo aggiornato."
|
223 |
|
@@ -243,49 +245,49 @@ msgid "Automatically add paragraphs"
|
|
243 |
msgstr "Aggiungi i paragrafi automaticamente"
|
244 |
|
245 |
#. translators: user display name
|
246 |
-
#: includes/class-wp-user-avatar.php:
|
247 |
msgid "Choose Image: %s"
|
248 |
msgstr "Scegli immagine: %s"
|
249 |
|
250 |
-
#: includes/class-wp-user-avatar.php:
|
251 |
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
252 |
msgid "Upload"
|
253 |
msgstr "Carica"
|
254 |
|
255 |
#. translators: file size in KB
|
256 |
-
#: includes/class-wp-user-avatar.php:
|
257 |
msgid "Maximum upload file size: %s."
|
258 |
msgstr "Dimensione massima del file da caricare: %s."
|
259 |
|
260 |
#. translators: allowed file extensions
|
261 |
-
#: includes/class-wp-user-avatar.php:
|
262 |
msgid "Allowed Files: %s"
|
263 |
msgstr "Tipi di files consentiti: %s"
|
264 |
|
265 |
-
#: includes/class-wp-user-avatar.php:
|
266 |
#: includes/wpua-tinymce-window.php:125
|
267 |
msgid "Original Size"
|
268 |
msgstr "Dimensioni Originali"
|
269 |
|
270 |
-
#: includes/class-wp-user-avatar.php:
|
271 |
#: includes/wpua-tinymce-window.php:128
|
272 |
msgid "Thumbnail"
|
273 |
msgstr "Miniatura"
|
274 |
|
275 |
-
#: includes/class-wp-user-avatar.php:
|
276 |
msgid "Remove Image"
|
277 |
msgstr "Rimuovi immagine"
|
278 |
|
279 |
-
#: includes/class-wp-user-avatar.php:
|
280 |
msgid "This file is not an image. Please try another."
|
281 |
msgstr "Questo file non è un' immagine. Prova con un altro file."
|
282 |
|
283 |
-
#: includes/class-wp-user-avatar.php:
|
284 |
msgid "Memory exceeded. Please try another smaller file."
|
285 |
msgstr "File troppo grande. Devi ridurre le dimensioni."
|
286 |
|
287 |
#. translators: directory path
|
288 |
-
#: includes/class-wp-user-avatar.php:
|
289 |
msgid ""
|
290 |
"Unable to create directory %s. Is its parent directory writable by the "
|
291 |
"server?"
|
@@ -310,81 +312,93 @@ msgstr "Risultati di ricerca per %s"
|
|
310 |
msgid "Search"
|
311 |
msgstr "Cerca"
|
312 |
|
313 |
-
#: includes/wpua-options-page.php:
|
314 |
msgid "Add avatar button to Visual Editor"
|
315 |
msgstr "Aggiungi un pulsante avatar all'editor visuale"
|
316 |
|
317 |
-
#: includes/wpua-options-page.php:
|
318 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
319 |
msgstr "Permetti ai Collaboratori e Sottoscrittori di caricare avatar"
|
320 |
|
321 |
-
#: includes/wpua-options-page.php:
|
322 |
msgid "Disable Gravatar and use only local avatars"
|
323 |
msgstr "Disabilita Gravatar e usa solo avatar locali"
|
324 |
|
325 |
-
#: includes/wpua-options-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
326 |
msgid "Upload Size Limit"
|
327 |
msgstr "Dimensione massima caricamento"
|
328 |
|
329 |
-
#: includes/wpua-options-page.php:
|
330 |
msgid "(only for Contributors & Subscribers)"
|
331 |
msgstr "(solo per Collaboratori & Sottoscrittori)"
|
332 |
|
333 |
#. translators: file name
|
334 |
-
#: includes/wpua-options-page.php:
|
335 |
msgid "%s exceeds the maximum upload size for this site."
|
336 |
msgstr "%s supera le dimensioni massime di caricamento per questo sito."
|
337 |
|
338 |
-
#: includes/wpua-options-page.php:
|
339 |
msgid "Allow users to edit avatars"
|
340 |
msgstr "Consenti agli utenti di modificare gli avatar"
|
341 |
|
342 |
-
#: includes/wpua-options-page.php:
|
343 |
msgid "Resize avatars on upload"
|
344 |
msgstr "Ridimensiona gli avatar durante il caricamento"
|
345 |
|
346 |
-
#: includes/wpua-options-page.php:
|
347 |
msgid "Width"
|
348 |
msgstr "Larghezza"
|
349 |
|
350 |
-
#: includes/wpua-options-page.php:
|
351 |
msgid "Height"
|
352 |
msgstr "Altezza"
|
353 |
|
354 |
-
#: includes/wpua-options-page.php:
|
355 |
msgid "Crop avatars to exact dimensions"
|
356 |
msgstr "Taglia gli avatar alle dimensioni esatte"
|
357 |
|
358 |
-
#: includes/wpua-options-page.php:
|
359 |
msgid "Avatar Display"
|
360 |
msgstr "Visualizza l'Avatar"
|
361 |
|
362 |
-
#: includes/wpua-options-page.php:
|
363 |
msgid "Show Avatars"
|
364 |
msgstr "Mostra gli Avatars"
|
365 |
|
366 |
-
#: includes/wpua-options-page.php:
|
367 |
msgid "Maximum Rating"
|
368 |
msgstr "Valutazione massima"
|
369 |
|
370 |
-
#: includes/wpua-options-page.php:
|
371 |
msgid "G — Suitable for all audiences"
|
372 |
msgstr "G — Adatto a tutti i tipi di pubblico"
|
373 |
|
374 |
-
#: includes/wpua-options-page.php:
|
375 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
376 |
msgstr ""
|
377 |
"PG — Forse offensivo, di solito per un pubblico maggiore di 13 anni"
|
378 |
|
379 |
-
#: includes/wpua-options-page.php:
|
380 |
msgid "R — Intended for adult audiences above 17"
|
381 |
msgstr "R — Adatto per un pubblico adulto sopra i 17 anni"
|
382 |
|
383 |
-
#: includes/wpua-options-page.php:
|
384 |
msgid "X — Even more mature than above"
|
385 |
msgstr "X — Ancora più maturo rispetto al precedente"
|
386 |
|
387 |
-
#: includes/wpua-options-page.php:
|
388 |
msgid ""
|
389 |
"For users without a custom avatar of their own, you can either display a "
|
390 |
"generic logo or a generated one based on their e-mail address."
|
@@ -465,15 +479,10 @@ msgid "Insert Avatar"
|
|
465 |
msgstr "Inserisci avatar"
|
466 |
|
467 |
#. translators: placeholder for <a> and </a> tags.
|
468 |
-
#: one-user-avatar.php:
|
469 |
msgid ""
|
470 |
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
471 |
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
472 |
msgstr ""
|
473 |
"Il plugin One User Avatar è un sostituto del vecchio plugin WP User Avatar. "
|
474 |
"%1$sDisattiva WP User Avatar%2$s per iniziare a usarlo."
|
475 |
-
|
476 |
-
#~ msgid "Media attachment permanently deleted."
|
477 |
-
#~ msgid_plural "%d media attachments permanently deleted."
|
478 |
-
#~ msgstr[0] "Allegato cancellato permanentemente,"
|
479 |
-
#~ msgstr[1] "%d allegato cancellato permanentemente."
|
5 |
"Project-Id-Version: Plugins - WP User Avatar | User Profile Picture - Stable "
|
6 |
"(latest release)\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
8 |
+
"POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
|
9 |
+
"PO-Revision-Date: 2021-06-22 21:39+0200\n"
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: \n"
|
12 |
"Language: it\n"
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
+
"X-Generator: Poedit 3.0\n"
|
18 |
|
19 |
#. Plugin Name of the plugin
|
20 |
+
#: includes/class-wp-user-avatar-admin.php:228
|
21 |
+
#: includes/class-wp-user-avatar-admin.php:428
|
22 |
#: includes/class-wp-user-avatar-widget.php:32
|
23 |
+
#: includes/wpua-options-page.php:69 includes/wpua-tinymce-window.php:31
|
24 |
msgid "One User Avatar"
|
25 |
msgstr "One User Avatar"
|
26 |
|
45 |
msgid "https://onedesigns.com/"
|
46 |
msgstr "https://onedesigns.com/"
|
47 |
|
48 |
+
#: includes/class-wp-user-avatar-admin.php:171
|
49 |
msgid "You are not allowed to delete this post."
|
50 |
msgstr "Non hai i permessi per cancellare questo post."
|
51 |
|
52 |
+
#: includes/class-wp-user-avatar-admin.php:175
|
53 |
msgid "Error in deleting."
|
54 |
msgstr "Errore durante la cancellazione."
|
55 |
|
56 |
+
#: includes/class-wp-user-avatar-admin.php:229
|
57 |
+
#: includes/class-wp-user-avatar-admin.php:287 includes/wpua-media-page.php:59
|
58 |
msgid "Avatars"
|
59 |
msgstr "Avatar"
|
60 |
|
61 |
+
#: includes/class-wp-user-avatar-admin.php:238
|
62 |
+
#: includes/class-wp-user-avatar-admin.php:239
|
63 |
+
#: includes/class-wp-user-avatar-admin.php:464
|
64 |
+
#: includes/wpua-options-page.php:107
|
65 |
msgid "Settings"
|
66 |
msgstr "Impostazioni"
|
67 |
|
68 |
+
#: includes/class-wp-user-avatar-admin.php:247
|
69 |
+
#: includes/class-wp-user-avatar-admin.php:248
|
70 |
msgid "Library"
|
71 |
msgstr "Libreria"
|
72 |
|
73 |
+
#: includes/class-wp-user-avatar-admin.php:374
|
74 |
msgid "Mystery Man"
|
75 |
msgstr "Utente Anonimo"
|
76 |
|
77 |
+
#: includes/class-wp-user-avatar-admin.php:375
|
78 |
msgid "Blank"
|
79 |
msgstr "Vuoto"
|
80 |
|
81 |
+
#: includes/class-wp-user-avatar-admin.php:376
|
82 |
msgid "Gravatar Logo"
|
83 |
msgstr "Gravatar Logo"
|
84 |
|
85 |
+
#: includes/class-wp-user-avatar-admin.php:377
|
86 |
msgid "Identicon (Generated)"
|
87 |
msgstr "Identicon (Generato)"
|
88 |
|
89 |
+
#: includes/class-wp-user-avatar-admin.php:378
|
90 |
msgid "Wavatar (Generated)"
|
91 |
msgstr "Wavatar (Generato)"
|
92 |
|
93 |
+
#: includes/class-wp-user-avatar-admin.php:379
|
94 |
msgid "MonsterID (Generated)"
|
95 |
msgstr "MonsterID (Generato)"
|
96 |
|
97 |
+
#: includes/class-wp-user-avatar-admin.php:380
|
98 |
msgid "Retro (Generated)"
|
99 |
msgstr "Retro (Generato)"
|
100 |
|
101 |
+
#: includes/class-wp-user-avatar-admin.php:429
|
102 |
+
#: includes/class-wp-user-avatar.php:234
|
103 |
msgid "Choose Image"
|
104 |
msgstr "Scegli immagine"
|
105 |
|
106 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
107 |
msgid "Remove"
|
108 |
msgstr "Rimuovi"
|
109 |
|
110 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
111 |
+
#: includes/class-wp-user-avatar.php:295
|
112 |
msgid "Undo"
|
113 |
msgstr "Annulla"
|
114 |
|
115 |
+
#: includes/class-wp-user-avatar-admin.php:482
|
116 |
+
msgid "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
117 |
+
msgstr "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
118 |
+
|
119 |
+
#: includes/class-wp-user-avatar-admin.php:483
|
120 |
msgid "Support Forums"
|
121 |
msgstr "Forum di supporto"
|
122 |
|
123 |
+
#: includes/class-wp-user-avatar-admin.php:497
|
124 |
+
#: includes/class-wp-user-avatar-admin.php:558 includes/wpua-functions.php:93
|
125 |
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
126 |
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
127 |
msgid "Profile Picture"
|
128 |
msgstr "Immagine del profilo"
|
129 |
|
130 |
+
#: includes/class-wp-user-avatar-admin.php:562
|
131 |
+
#: includes/wpua-options-page.php:327 includes/wpua-options-page.php:333
|
132 |
msgid "Default Avatar"
|
133 |
msgstr "Avatar Standard"
|
134 |
|
135 |
#: includes/class-wp-user-avatar-functions.php:515
|
136 |
+
#: includes/class-wp-user-avatar-functions.php:716
|
137 |
msgid "Avatar"
|
138 |
msgstr "Avatar"
|
139 |
|
140 |
#. translators: uploaded files
|
141 |
+
#: includes/class-wp-user-avatar-list-table.php:176
|
142 |
msgctxt "uploaded files"
|
143 |
msgid "All %s"
|
144 |
+
msgstr "Tutti %s"
|
|
|
|
|
145 |
|
146 |
#: includes/class-wp-user-avatar-list-table.php:192
|
147 |
#: includes/class-wp-user-avatar-list-table.php:549
|
219 |
"is required by One User Avatar. Please add this call to your page templates."
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: includes/class-wp-user-avatar-shortcode.php:243
|
223 |
msgid "Profile updated."
|
224 |
msgstr "Profilo aggiornato."
|
225 |
|
245 |
msgstr "Aggiungi i paragrafi automaticamente"
|
246 |
|
247 |
#. translators: user display name
|
248 |
+
#: includes/class-wp-user-avatar.php:230
|
249 |
msgid "Choose Image: %s"
|
250 |
msgstr "Scegli immagine: %s"
|
251 |
|
252 |
+
#: includes/class-wp-user-avatar.php:246 includes/class-wp-user-avatar.php:247
|
253 |
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
254 |
msgid "Upload"
|
255 |
msgstr "Carica"
|
256 |
|
257 |
#. translators: file size in KB
|
258 |
+
#: includes/class-wp-user-avatar.php:256 includes/wpua-options-page.php:215
|
259 |
msgid "Maximum upload file size: %s."
|
260 |
msgstr "Dimensione massima del file da caricare: %s."
|
261 |
|
262 |
#. translators: allowed file extensions
|
263 |
+
#: includes/class-wp-user-avatar.php:266
|
264 |
msgid "Allowed Files: %s"
|
265 |
msgstr "Tipi di files consentiti: %s"
|
266 |
|
267 |
+
#: includes/class-wp-user-avatar.php:279 includes/class-wp-user-avatar.php:281
|
268 |
#: includes/wpua-tinymce-window.php:125
|
269 |
msgid "Original Size"
|
270 |
msgstr "Dimensioni Originali"
|
271 |
|
272 |
+
#: includes/class-wp-user-avatar.php:285 includes/class-wp-user-avatar.php:287
|
273 |
#: includes/wpua-tinymce-window.php:128
|
274 |
msgid "Thumbnail"
|
275 |
msgstr "Miniatura"
|
276 |
|
277 |
+
#: includes/class-wp-user-avatar.php:291
|
278 |
msgid "Remove Image"
|
279 |
msgstr "Rimuovi immagine"
|
280 |
|
281 |
+
#: includes/class-wp-user-avatar.php:380
|
282 |
msgid "This file is not an image. Please try another."
|
283 |
msgstr "Questo file non è un' immagine. Prova con un altro file."
|
284 |
|
285 |
+
#: includes/class-wp-user-avatar.php:385 includes/class-wp-user-avatar.php:417
|
286 |
msgid "Memory exceeded. Please try another smaller file."
|
287 |
msgstr "File troppo grande. Devi ridurre le dimensioni."
|
288 |
|
289 |
#. translators: directory path
|
290 |
+
#: includes/class-wp-user-avatar.php:392
|
291 |
msgid ""
|
292 |
"Unable to create directory %s. Is its parent directory writable by the "
|
293 |
"server?"
|
312 |
msgid "Search"
|
313 |
msgstr "Cerca"
|
314 |
|
315 |
+
#: includes/wpua-options-page.php:122
|
316 |
msgid "Add avatar button to Visual Editor"
|
317 |
msgstr "Aggiungi un pulsante avatar all'editor visuale"
|
318 |
|
319 |
+
#: includes/wpua-options-page.php:133
|
320 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
321 |
msgstr "Permetti ai Collaboratori e Sottoscrittori di caricare avatar"
|
322 |
|
323 |
+
#: includes/wpua-options-page.php:144
|
324 |
msgid "Disable Gravatar and use only local avatars"
|
325 |
msgstr "Disabilita Gravatar e usa solo avatar locali"
|
326 |
|
327 |
+
#: includes/wpua-options-page.php:156
|
328 |
+
msgid "Always use the browser file uploader to upload avatars"
|
329 |
+
msgstr "Usa sempre l’uploader di file del browser per caricare gli avatar"
|
330 |
+
|
331 |
+
#: includes/wpua-options-page.php:157
|
332 |
+
msgid ""
|
333 |
+
"Check this if another plugin is conflicting with the WordPress Media "
|
334 |
+
"Uploader."
|
335 |
+
msgstr ""
|
336 |
+
"Seleziona questo se un altro plugin è in conflitto con il caricatore "
|
337 |
+
"multimediale di WordPress."
|
338 |
+
|
339 |
+
#: includes/wpua-options-page.php:185 includes/wpua-options-page.php:194
|
340 |
msgid "Upload Size Limit"
|
341 |
msgstr "Dimensione massima caricamento"
|
342 |
|
343 |
+
#: includes/wpua-options-page.php:186 includes/wpua-options-page.php:195
|
344 |
msgid "(only for Contributors & Subscribers)"
|
345 |
msgstr "(solo per Collaboratori & Sottoscrittori)"
|
346 |
|
347 |
#. translators: file name
|
348 |
+
#: includes/wpua-options-page.php:205
|
349 |
msgid "%s exceeds the maximum upload size for this site."
|
350 |
msgstr "%s supera le dimensioni massime di caricamento per questo sito."
|
351 |
|
352 |
+
#: includes/wpua-options-page.php:226
|
353 |
msgid "Allow users to edit avatars"
|
354 |
msgstr "Consenti agli utenti di modificare gli avatar"
|
355 |
|
356 |
+
#: includes/wpua-options-page.php:234
|
357 |
msgid "Resize avatars on upload"
|
358 |
msgstr "Ridimensiona gli avatar durante il caricamento"
|
359 |
|
360 |
+
#: includes/wpua-options-page.php:239
|
361 |
msgid "Width"
|
362 |
msgstr "Larghezza"
|
363 |
|
364 |
+
#: includes/wpua-options-page.php:243
|
365 |
msgid "Height"
|
366 |
msgstr "Altezza"
|
367 |
|
368 |
+
#: includes/wpua-options-page.php:251
|
369 |
msgid "Crop avatars to exact dimensions"
|
370 |
msgstr "Taglia gli avatar alle dimensioni esatte"
|
371 |
|
372 |
+
#: includes/wpua-options-page.php:273 includes/wpua-options-page.php:279
|
373 |
msgid "Avatar Display"
|
374 |
msgstr "Visualizza l'Avatar"
|
375 |
|
376 |
+
#: includes/wpua-options-page.php:286
|
377 |
msgid "Show Avatars"
|
378 |
msgstr "Mostra gli Avatars"
|
379 |
|
380 |
+
#: includes/wpua-options-page.php:293 includes/wpua-options-page.php:299
|
381 |
msgid "Maximum Rating"
|
382 |
msgstr "Valutazione massima"
|
383 |
|
384 |
+
#: includes/wpua-options-page.php:305
|
385 |
msgid "G — Suitable for all audiences"
|
386 |
msgstr "G — Adatto a tutti i tipi di pubblico"
|
387 |
|
388 |
+
#: includes/wpua-options-page.php:306
|
389 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
390 |
msgstr ""
|
391 |
"PG — Forse offensivo, di solito per un pubblico maggiore di 13 anni"
|
392 |
|
393 |
+
#: includes/wpua-options-page.php:307
|
394 |
msgid "R — Intended for adult audiences above 17"
|
395 |
msgstr "R — Adatto per un pubblico adulto sopra i 17 anni"
|
396 |
|
397 |
+
#: includes/wpua-options-page.php:308
|
398 |
msgid "X — Even more mature than above"
|
399 |
msgstr "X — Ancora più maturo rispetto al precedente"
|
400 |
|
401 |
+
#: includes/wpua-options-page.php:337
|
402 |
msgid ""
|
403 |
"For users without a custom avatar of their own, you can either display a "
|
404 |
"generic logo or a generated one based on their e-mail address."
|
479 |
msgstr "Inserisci avatar"
|
480 |
|
481 |
#. translators: placeholder for <a> and </a> tags.
|
482 |
+
#: one-user-avatar.php:127
|
483 |
msgid ""
|
484 |
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
485 |
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
486 |
msgstr ""
|
487 |
"Il plugin One User Avatar è un sostituto del vecchio plugin WP User Avatar. "
|
488 |
"%1$sDisattiva WP User Avatar%2$s per iniziare a usarlo."
|
|
|
|
|
|
|
|
|
|
languages/nl_NL.mo
CHANGED
Binary file
|
languages/nl_NL.po
CHANGED
@@ -2,25 +2,25 @@
|
|
2 |
# This file is distributed under the same license as the One User Avatar plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: One User Avatar 2.3.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
11 |
"Language: nl_NL\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
-
"X-Generator: Poedit
|
16 |
"X-Domain: one-user-avatar\n"
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
|
19 |
#. Plugin Name of the plugin
|
20 |
-
#: includes/class-wp-user-avatar-admin.php:
|
21 |
-
#: includes/class-wp-user-avatar-admin.php:
|
22 |
#: includes/class-wp-user-avatar-widget.php:32
|
23 |
-
#: includes/wpua-options-page.php:
|
24 |
msgid "One User Avatar"
|
25 |
msgstr "One User Avatar"
|
26 |
|
@@ -45,101 +45,103 @@ msgstr "One Designs"
|
|
45 |
msgid "https://onedesigns.com/"
|
46 |
msgstr "https://onedesigns.com/"
|
47 |
|
48 |
-
#: includes/class-wp-user-avatar-admin.php:
|
49 |
msgid "You are not allowed to delete this post."
|
50 |
msgstr "Je hebt geen toestemming om dit bericht te verwijderen."
|
51 |
|
52 |
-
#: includes/class-wp-user-avatar-admin.php:
|
53 |
msgid "Error in deleting."
|
54 |
msgstr "Fout tijdens het verwijderen."
|
55 |
|
56 |
-
#: includes/class-wp-user-avatar-admin.php:
|
57 |
-
#: includes/class-wp-user-avatar-admin.php:
|
58 |
msgid "Avatars"
|
59 |
msgstr "Avatars"
|
60 |
|
61 |
-
#: includes/class-wp-user-avatar-admin.php:
|
62 |
-
#: includes/class-wp-user-avatar-admin.php:
|
63 |
-
#: includes/class-wp-user-avatar-admin.php:
|
64 |
-
#: includes/wpua-options-page.php:
|
65 |
msgid "Settings"
|
66 |
msgstr "Instellingen"
|
67 |
|
68 |
-
#: includes/class-wp-user-avatar-admin.php:
|
69 |
-
#: includes/class-wp-user-avatar-admin.php:
|
70 |
msgid "Library"
|
71 |
msgstr "Bibliotheek"
|
72 |
|
73 |
-
#: includes/class-wp-user-avatar-admin.php:
|
74 |
msgid "Mystery Man"
|
75 |
msgstr "Mysterieuze Man"
|
76 |
|
77 |
-
#: includes/class-wp-user-avatar-admin.php:
|
78 |
msgid "Blank"
|
79 |
msgstr "Leeg"
|
80 |
|
81 |
-
#: includes/class-wp-user-avatar-admin.php:
|
82 |
msgid "Gravatar Logo"
|
83 |
msgstr "Gravatar Logo"
|
84 |
|
85 |
-
#: includes/class-wp-user-avatar-admin.php:
|
86 |
msgid "Identicon (Generated)"
|
87 |
msgstr "Identicon (Gegenereerd)"
|
88 |
|
89 |
-
#: includes/class-wp-user-avatar-admin.php:
|
90 |
msgid "Wavatar (Generated)"
|
91 |
msgstr "Wavatar (Gegenereerd)"
|
92 |
|
93 |
-
#: includes/class-wp-user-avatar-admin.php:
|
94 |
msgid "MonsterID (Generated)"
|
95 |
msgstr "MonsterID (Gegenereerd)"
|
96 |
|
97 |
-
#: includes/class-wp-user-avatar-admin.php:
|
98 |
msgid "Retro (Generated)"
|
99 |
msgstr "Retro (Gegenereerd)"
|
100 |
|
101 |
-
#: includes/class-wp-user-avatar-admin.php:
|
102 |
-
#: includes/class-wp-user-avatar.php:
|
103 |
msgid "Choose Image"
|
104 |
msgstr "Kies foto"
|
105 |
|
106 |
-
#: includes/class-wp-user-avatar-admin.php:
|
107 |
msgid "Remove"
|
108 |
msgstr "Verwijderen"
|
109 |
|
110 |
-
#: includes/class-wp-user-avatar-admin.php:
|
111 |
-
#: includes/class-wp-user-avatar.php:
|
112 |
msgid "Undo"
|
113 |
msgstr "Ongedaan maken"
|
114 |
|
115 |
-
#: includes/class-wp-user-avatar-admin.php:
|
|
|
|
|
|
|
|
|
116 |
msgid "Support Forums"
|
117 |
msgstr "Helpforums"
|
118 |
|
119 |
-
#: includes/class-wp-user-avatar-admin.php:
|
120 |
-
#: includes/class-wp-user-avatar-admin.php:
|
121 |
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
122 |
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
123 |
msgid "Profile Picture"
|
124 |
msgstr "Profielfoto"
|
125 |
|
126 |
-
#: includes/class-wp-user-avatar-admin.php:
|
127 |
-
#: includes/wpua-options-page.php:
|
128 |
msgid "Default Avatar"
|
129 |
msgstr "Standaard Avatar"
|
130 |
|
131 |
#: includes/class-wp-user-avatar-functions.php:515
|
132 |
-
#: includes/class-wp-user-avatar-functions.php:
|
133 |
msgid "Avatar"
|
134 |
msgstr "Avatar"
|
135 |
|
136 |
#. translators: uploaded files
|
137 |
-
#: includes/class-wp-user-avatar-list-table.php:
|
138 |
msgctxt "uploaded files"
|
139 |
msgid "All %s"
|
140 |
-
|
141 |
-
msgstr[0] "Alle %s"
|
142 |
-
msgstr[1] "Alle %s"
|
143 |
|
144 |
#: includes/class-wp-user-avatar-list-table.php:192
|
145 |
#: includes/class-wp-user-avatar-list-table.php:549
|
@@ -220,7 +222,7 @@ msgstr ""
|
|
220 |
"naar %s, wat vereist is door One User Avatar. Voeg deze oproep toe aan je "
|
221 |
"pagina template."
|
222 |
|
223 |
-
#: includes/class-wp-user-avatar-shortcode.php:
|
224 |
msgid "Profile updated."
|
225 |
msgstr "Profiel bijgewerkt."
|
226 |
|
@@ -243,57 +245,58 @@ msgstr "Beschrijving:"
|
|
243 |
|
244 |
#: includes/class-wp-user-avatar-widget.php:113
|
245 |
msgid "Automatically add paragraphs"
|
246 |
-
msgstr "
|
247 |
|
248 |
#. translators: user display name
|
249 |
-
#: includes/class-wp-user-avatar.php:
|
250 |
msgid "Choose Image: %s"
|
251 |
msgstr "Kies foto: %s"
|
252 |
|
253 |
-
#: includes/class-wp-user-avatar.php:
|
254 |
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
255 |
msgid "Upload"
|
256 |
msgstr "Uploaden"
|
257 |
|
258 |
#. translators: file size in KB
|
259 |
-
#: includes/class-wp-user-avatar.php:
|
260 |
msgid "Maximum upload file size: %s."
|
261 |
msgstr "Maximale bestandsgrootte van upload: %s."
|
262 |
|
263 |
#. translators: allowed file extensions
|
264 |
-
#: includes/class-wp-user-avatar.php:
|
265 |
msgid "Allowed Files: %s"
|
266 |
msgstr "Toegestane bestanden: %s"
|
267 |
|
268 |
-
#: includes/class-wp-user-avatar.php:
|
269 |
#: includes/wpua-tinymce-window.php:125
|
270 |
msgid "Original Size"
|
271 |
msgstr "Originele grootte"
|
272 |
|
273 |
-
#: includes/class-wp-user-avatar.php:
|
274 |
#: includes/wpua-tinymce-window.php:128
|
275 |
msgid "Thumbnail"
|
276 |
msgstr "Thumbnail"
|
277 |
|
278 |
-
#: includes/class-wp-user-avatar.php:
|
279 |
msgid "Remove Image"
|
280 |
msgstr "Afbeelding verwijderen"
|
281 |
|
282 |
-
#: includes/class-wp-user-avatar.php:
|
283 |
msgid "This file is not an image. Please try another."
|
284 |
msgstr "Dit bestand is geen afbeelding. Probeer een ander bestand."
|
285 |
|
286 |
-
#: includes/class-wp-user-avatar.php:
|
287 |
msgid "Memory exceeded. Please try another smaller file."
|
288 |
msgstr "Het geheugen is overschreden. Probeer opnieuw met een kleiner bestand."
|
289 |
|
290 |
#. translators: directory path
|
291 |
-
#: includes/class-wp-user-avatar.php:
|
292 |
msgid ""
|
293 |
"Unable to create directory %s. Is its parent directory writable by the "
|
294 |
"server?"
|
295 |
msgstr ""
|
296 |
-
"Kan map %s niet aanmaken. Is de
|
|
|
297 |
|
298 |
#: includes/wpua-functions.php:109 includes/wpua-functions.php:118
|
299 |
msgid "Image"
|
@@ -312,87 +315,99 @@ msgstr "Zoekresultaten voor %s"
|
|
312 |
msgid "Search"
|
313 |
msgstr "Zoeken"
|
314 |
|
315 |
-
#: includes/wpua-options-page.php:
|
316 |
msgid "Add avatar button to Visual Editor"
|
317 |
-
msgstr "Voeg avatar-knop toe aan visuele editor"
|
318 |
|
319 |
-
#: includes/wpua-options-page.php:
|
320 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
321 |
msgstr "Sta schrijvers & abonnees toe om avatars te uploaden"
|
322 |
|
323 |
-
#: includes/wpua-options-page.php:
|
324 |
msgid "Disable Gravatar and use only local avatars"
|
325 |
msgstr "Schakel Gravatar uit en gebruik alleen lokale avatars"
|
326 |
|
327 |
-
#: includes/wpua-options-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
328 |
msgid "Upload Size Limit"
|
329 |
msgstr "Bestandsgrootte uploadlimiet"
|
330 |
|
331 |
-
#: includes/wpua-options-page.php:
|
332 |
msgid "(only for Contributors & Subscribers)"
|
333 |
msgstr "(alleen voor schrijvers & abonnees)"
|
334 |
|
335 |
#. translators: file name
|
336 |
-
#: includes/wpua-options-page.php:
|
337 |
msgid "%s exceeds the maximum upload size for this site."
|
338 |
msgstr "%s overschrijdt de maximale uploadgrootte voor deze site."
|
339 |
|
340 |
-
#: includes/wpua-options-page.php:
|
341 |
msgid "Allow users to edit avatars"
|
342 |
msgstr "Sta gebruikers toe om avatars te bewerken"
|
343 |
|
344 |
-
#: includes/wpua-options-page.php:
|
345 |
msgid "Resize avatars on upload"
|
346 |
msgstr "Pas de grootte van avatars aan bij het uploaden"
|
347 |
|
348 |
-
#: includes/wpua-options-page.php:
|
349 |
msgid "Width"
|
350 |
msgstr "Breedte"
|
351 |
|
352 |
-
#: includes/wpua-options-page.php:
|
353 |
msgid "Height"
|
354 |
msgstr "Hoogte"
|
355 |
|
356 |
-
#: includes/wpua-options-page.php:
|
357 |
msgid "Crop avatars to exact dimensions"
|
358 |
msgstr "Snijd avatars bij tot exacte afmetingen"
|
359 |
|
360 |
-
#: includes/wpua-options-page.php:
|
361 |
msgid "Avatar Display"
|
362 |
msgstr "Avatar weergave"
|
363 |
|
364 |
-
#: includes/wpua-options-page.php:
|
365 |
msgid "Show Avatars"
|
366 |
msgstr "Toon avatars"
|
367 |
|
368 |
-
#: includes/wpua-options-page.php:
|
369 |
msgid "Maximum Rating"
|
370 |
msgstr "Leeftijdsgrens"
|
371 |
|
372 |
-
#: includes/wpua-options-page.php:
|
373 |
msgid "G — Suitable for all audiences"
|
374 |
msgstr "G — Geschikt voor alle leeftijden"
|
375 |
|
376 |
-
#: includes/wpua-options-page.php:
|
377 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
378 |
msgstr ""
|
379 |
"PG — Mogelijk kwetsend, gebruikelijk voor leeftijden van 13 en hoger"
|
380 |
|
381 |
-
#: includes/wpua-options-page.php:
|
382 |
msgid "R — Intended for adult audiences above 17"
|
383 |
msgstr "R — Alleen voor boven de 17"
|
384 |
|
385 |
-
#: includes/wpua-options-page.php:
|
386 |
msgid "X — Even more mature than above"
|
387 |
-
msgstr "X — Nog ouder"
|
388 |
|
389 |
-
#: includes/wpua-options-page.php:
|
390 |
msgid ""
|
391 |
"For users without a custom avatar of their own, you can either display a "
|
392 |
"generic logo or a generated one based on their e-mail address."
|
393 |
msgstr ""
|
394 |
-
"Voor gebruikers zonder
|
395 |
-
"
|
396 |
|
397 |
#: includes/wpua-tinymce-window.php:101
|
398 |
msgid "User Name"
|
@@ -452,7 +467,7 @@ msgstr "URL:"
|
|
452 |
|
453 |
#: includes/wpua-tinymce-window.php:170
|
454 |
msgid "Open link in a new window"
|
455 |
-
msgstr "Link
|
456 |
|
457 |
#: includes/wpua-tinymce-window.php:174
|
458 |
msgid "Caption"
|
@@ -467,24 +482,10 @@ msgid "Insert Avatar"
|
|
467 |
msgstr "Avatar invoegen"
|
468 |
|
469 |
#. translators: placeholder for <a> and </a> tags.
|
470 |
-
#: one-user-avatar.php:
|
471 |
msgid ""
|
472 |
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
473 |
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
474 |
msgstr ""
|
475 |
"De plug-in One User Avatar is een vervanging voor de oude WP User Avatar-"
|
476 |
-
"plug-in. %1$sDeactiveer WP User Avatar%2$s om het te gebruiken."
|
477 |
-
|
478 |
-
#~ msgid "Edit Image"
|
479 |
-
#~ msgstr "Afbeelding bewerken"
|
480 |
-
|
481 |
-
#, php-format
|
482 |
-
#~ msgid "Edit %s"
|
483 |
-
#~ msgstr "%s bewerken"
|
484 |
-
|
485 |
-
#, php-format
|
486 |
-
#~ msgid "View %s"
|
487 |
-
#~ msgstr "%s bekijken"
|
488 |
-
|
489 |
-
#~ msgid "Media attachment permanently deleted."
|
490 |
-
#~ msgstr "Mediabijlage permanent verwijderd."
|
2 |
# This file is distributed under the same license as the One User Avatar plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: One User Avatar 2.3.4\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
+
"POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-06-22 21:34+0200\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
11 |
"Language: nl_NL\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 3.0\n"
|
16 |
"X-Domain: one-user-avatar\n"
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
|
19 |
#. Plugin Name of the plugin
|
20 |
+
#: includes/class-wp-user-avatar-admin.php:228
|
21 |
+
#: includes/class-wp-user-avatar-admin.php:428
|
22 |
#: includes/class-wp-user-avatar-widget.php:32
|
23 |
+
#: includes/wpua-options-page.php:69 includes/wpua-tinymce-window.php:31
|
24 |
msgid "One User Avatar"
|
25 |
msgstr "One User Avatar"
|
26 |
|
45 |
msgid "https://onedesigns.com/"
|
46 |
msgstr "https://onedesigns.com/"
|
47 |
|
48 |
+
#: includes/class-wp-user-avatar-admin.php:171
|
49 |
msgid "You are not allowed to delete this post."
|
50 |
msgstr "Je hebt geen toestemming om dit bericht te verwijderen."
|
51 |
|
52 |
+
#: includes/class-wp-user-avatar-admin.php:175
|
53 |
msgid "Error in deleting."
|
54 |
msgstr "Fout tijdens het verwijderen."
|
55 |
|
56 |
+
#: includes/class-wp-user-avatar-admin.php:229
|
57 |
+
#: includes/class-wp-user-avatar-admin.php:287 includes/wpua-media-page.php:59
|
58 |
msgid "Avatars"
|
59 |
msgstr "Avatars"
|
60 |
|
61 |
+
#: includes/class-wp-user-avatar-admin.php:238
|
62 |
+
#: includes/class-wp-user-avatar-admin.php:239
|
63 |
+
#: includes/class-wp-user-avatar-admin.php:464
|
64 |
+
#: includes/wpua-options-page.php:107
|
65 |
msgid "Settings"
|
66 |
msgstr "Instellingen"
|
67 |
|
68 |
+
#: includes/class-wp-user-avatar-admin.php:247
|
69 |
+
#: includes/class-wp-user-avatar-admin.php:248
|
70 |
msgid "Library"
|
71 |
msgstr "Bibliotheek"
|
72 |
|
73 |
+
#: includes/class-wp-user-avatar-admin.php:374
|
74 |
msgid "Mystery Man"
|
75 |
msgstr "Mysterieuze Man"
|
76 |
|
77 |
+
#: includes/class-wp-user-avatar-admin.php:375
|
78 |
msgid "Blank"
|
79 |
msgstr "Leeg"
|
80 |
|
81 |
+
#: includes/class-wp-user-avatar-admin.php:376
|
82 |
msgid "Gravatar Logo"
|
83 |
msgstr "Gravatar Logo"
|
84 |
|
85 |
+
#: includes/class-wp-user-avatar-admin.php:377
|
86 |
msgid "Identicon (Generated)"
|
87 |
msgstr "Identicon (Gegenereerd)"
|
88 |
|
89 |
+
#: includes/class-wp-user-avatar-admin.php:378
|
90 |
msgid "Wavatar (Generated)"
|
91 |
msgstr "Wavatar (Gegenereerd)"
|
92 |
|
93 |
+
#: includes/class-wp-user-avatar-admin.php:379
|
94 |
msgid "MonsterID (Generated)"
|
95 |
msgstr "MonsterID (Gegenereerd)"
|
96 |
|
97 |
+
#: includes/class-wp-user-avatar-admin.php:380
|
98 |
msgid "Retro (Generated)"
|
99 |
msgstr "Retro (Gegenereerd)"
|
100 |
|
101 |
+
#: includes/class-wp-user-avatar-admin.php:429
|
102 |
+
#: includes/class-wp-user-avatar.php:234
|
103 |
msgid "Choose Image"
|
104 |
msgstr "Kies foto"
|
105 |
|
106 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
107 |
msgid "Remove"
|
108 |
msgstr "Verwijderen"
|
109 |
|
110 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
111 |
+
#: includes/class-wp-user-avatar.php:295
|
112 |
msgid "Undo"
|
113 |
msgstr "Ongedaan maken"
|
114 |
|
115 |
+
#: includes/class-wp-user-avatar-admin.php:482
|
116 |
+
msgid "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
117 |
+
msgstr "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
118 |
+
|
119 |
+
#: includes/class-wp-user-avatar-admin.php:483
|
120 |
msgid "Support Forums"
|
121 |
msgstr "Helpforums"
|
122 |
|
123 |
+
#: includes/class-wp-user-avatar-admin.php:497
|
124 |
+
#: includes/class-wp-user-avatar-admin.php:558 includes/wpua-functions.php:93
|
125 |
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
126 |
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
127 |
msgid "Profile Picture"
|
128 |
msgstr "Profielfoto"
|
129 |
|
130 |
+
#: includes/class-wp-user-avatar-admin.php:562
|
131 |
+
#: includes/wpua-options-page.php:327 includes/wpua-options-page.php:333
|
132 |
msgid "Default Avatar"
|
133 |
msgstr "Standaard Avatar"
|
134 |
|
135 |
#: includes/class-wp-user-avatar-functions.php:515
|
136 |
+
#: includes/class-wp-user-avatar-functions.php:716
|
137 |
msgid "Avatar"
|
138 |
msgstr "Avatar"
|
139 |
|
140 |
#. translators: uploaded files
|
141 |
+
#: includes/class-wp-user-avatar-list-table.php:176
|
142 |
msgctxt "uploaded files"
|
143 |
msgid "All %s"
|
144 |
+
msgstr "Alle %s"
|
|
|
|
|
145 |
|
146 |
#: includes/class-wp-user-avatar-list-table.php:192
|
147 |
#: includes/class-wp-user-avatar-list-table.php:549
|
222 |
"naar %s, wat vereist is door One User Avatar. Voeg deze oproep toe aan je "
|
223 |
"pagina template."
|
224 |
|
225 |
+
#: includes/class-wp-user-avatar-shortcode.php:243
|
226 |
msgid "Profile updated."
|
227 |
msgstr "Profiel bijgewerkt."
|
228 |
|
245 |
|
246 |
#: includes/class-wp-user-avatar-widget.php:113
|
247 |
msgid "Automatically add paragraphs"
|
248 |
+
msgstr "Automatisch paragrafen toevoegen"
|
249 |
|
250 |
#. translators: user display name
|
251 |
+
#: includes/class-wp-user-avatar.php:230
|
252 |
msgid "Choose Image: %s"
|
253 |
msgstr "Kies foto: %s"
|
254 |
|
255 |
+
#: includes/class-wp-user-avatar.php:246 includes/class-wp-user-avatar.php:247
|
256 |
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
257 |
msgid "Upload"
|
258 |
msgstr "Uploaden"
|
259 |
|
260 |
#. translators: file size in KB
|
261 |
+
#: includes/class-wp-user-avatar.php:256 includes/wpua-options-page.php:215
|
262 |
msgid "Maximum upload file size: %s."
|
263 |
msgstr "Maximale bestandsgrootte van upload: %s."
|
264 |
|
265 |
#. translators: allowed file extensions
|
266 |
+
#: includes/class-wp-user-avatar.php:266
|
267 |
msgid "Allowed Files: %s"
|
268 |
msgstr "Toegestane bestanden: %s"
|
269 |
|
270 |
+
#: includes/class-wp-user-avatar.php:279 includes/class-wp-user-avatar.php:281
|
271 |
#: includes/wpua-tinymce-window.php:125
|
272 |
msgid "Original Size"
|
273 |
msgstr "Originele grootte"
|
274 |
|
275 |
+
#: includes/class-wp-user-avatar.php:285 includes/class-wp-user-avatar.php:287
|
276 |
#: includes/wpua-tinymce-window.php:128
|
277 |
msgid "Thumbnail"
|
278 |
msgstr "Thumbnail"
|
279 |
|
280 |
+
#: includes/class-wp-user-avatar.php:291
|
281 |
msgid "Remove Image"
|
282 |
msgstr "Afbeelding verwijderen"
|
283 |
|
284 |
+
#: includes/class-wp-user-avatar.php:380
|
285 |
msgid "This file is not an image. Please try another."
|
286 |
msgstr "Dit bestand is geen afbeelding. Probeer een ander bestand."
|
287 |
|
288 |
+
#: includes/class-wp-user-avatar.php:385 includes/class-wp-user-avatar.php:417
|
289 |
msgid "Memory exceeded. Please try another smaller file."
|
290 |
msgstr "Het geheugen is overschreden. Probeer opnieuw met een kleiner bestand."
|
291 |
|
292 |
#. translators: directory path
|
293 |
+
#: includes/class-wp-user-avatar.php:392
|
294 |
msgid ""
|
295 |
"Unable to create directory %s. Is its parent directory writable by the "
|
296 |
"server?"
|
297 |
msgstr ""
|
298 |
+
"Kan map %s niet aanmaken. Is de bovenliggende map beschrijfbaar door de "
|
299 |
+
"server?"
|
300 |
|
301 |
#: includes/wpua-functions.php:109 includes/wpua-functions.php:118
|
302 |
msgid "Image"
|
315 |
msgid "Search"
|
316 |
msgstr "Zoeken"
|
317 |
|
318 |
+
#: includes/wpua-options-page.php:122
|
319 |
msgid "Add avatar button to Visual Editor"
|
320 |
+
msgstr "Voeg avatar-knop toe aan de visuele editor"
|
321 |
|
322 |
+
#: includes/wpua-options-page.php:133
|
323 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
324 |
msgstr "Sta schrijvers & abonnees toe om avatars te uploaden"
|
325 |
|
326 |
+
#: includes/wpua-options-page.php:144
|
327 |
msgid "Disable Gravatar and use only local avatars"
|
328 |
msgstr "Schakel Gravatar uit en gebruik alleen lokale avatars"
|
329 |
|
330 |
+
#: includes/wpua-options-page.php:156
|
331 |
+
msgid "Always use the browser file uploader to upload avatars"
|
332 |
+
msgstr "Gebruik altijd de browser-bestandsuploader om avatars te uploaden"
|
333 |
+
|
334 |
+
#: includes/wpua-options-page.php:157
|
335 |
+
msgid ""
|
336 |
+
"Check this if another plugin is conflicting with the WordPress Media "
|
337 |
+
"Uploader."
|
338 |
+
msgstr ""
|
339 |
+
"Vink dit aan als een andere plug-in in conflict is met de WordPress Media "
|
340 |
+
"Uploader."
|
341 |
+
|
342 |
+
#: includes/wpua-options-page.php:185 includes/wpua-options-page.php:194
|
343 |
msgid "Upload Size Limit"
|
344 |
msgstr "Bestandsgrootte uploadlimiet"
|
345 |
|
346 |
+
#: includes/wpua-options-page.php:186 includes/wpua-options-page.php:195
|
347 |
msgid "(only for Contributors & Subscribers)"
|
348 |
msgstr "(alleen voor schrijvers & abonnees)"
|
349 |
|
350 |
#. translators: file name
|
351 |
+
#: includes/wpua-options-page.php:205
|
352 |
msgid "%s exceeds the maximum upload size for this site."
|
353 |
msgstr "%s overschrijdt de maximale uploadgrootte voor deze site."
|
354 |
|
355 |
+
#: includes/wpua-options-page.php:226
|
356 |
msgid "Allow users to edit avatars"
|
357 |
msgstr "Sta gebruikers toe om avatars te bewerken"
|
358 |
|
359 |
+
#: includes/wpua-options-page.php:234
|
360 |
msgid "Resize avatars on upload"
|
361 |
msgstr "Pas de grootte van avatars aan bij het uploaden"
|
362 |
|
363 |
+
#: includes/wpua-options-page.php:239
|
364 |
msgid "Width"
|
365 |
msgstr "Breedte"
|
366 |
|
367 |
+
#: includes/wpua-options-page.php:243
|
368 |
msgid "Height"
|
369 |
msgstr "Hoogte"
|
370 |
|
371 |
+
#: includes/wpua-options-page.php:251
|
372 |
msgid "Crop avatars to exact dimensions"
|
373 |
msgstr "Snijd avatars bij tot exacte afmetingen"
|
374 |
|
375 |
+
#: includes/wpua-options-page.php:273 includes/wpua-options-page.php:279
|
376 |
msgid "Avatar Display"
|
377 |
msgstr "Avatar weergave"
|
378 |
|
379 |
+
#: includes/wpua-options-page.php:286
|
380 |
msgid "Show Avatars"
|
381 |
msgstr "Toon avatars"
|
382 |
|
383 |
+
#: includes/wpua-options-page.php:293 includes/wpua-options-page.php:299
|
384 |
msgid "Maximum Rating"
|
385 |
msgstr "Leeftijdsgrens"
|
386 |
|
387 |
+
#: includes/wpua-options-page.php:305
|
388 |
msgid "G — Suitable for all audiences"
|
389 |
msgstr "G — Geschikt voor alle leeftijden"
|
390 |
|
391 |
+
#: includes/wpua-options-page.php:306
|
392 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
393 |
msgstr ""
|
394 |
"PG — Mogelijk kwetsend, gebruikelijk voor leeftijden van 13 en hoger"
|
395 |
|
396 |
+
#: includes/wpua-options-page.php:307
|
397 |
msgid "R — Intended for adult audiences above 17"
|
398 |
msgstr "R — Alleen voor boven de 17"
|
399 |
|
400 |
+
#: includes/wpua-options-page.php:308
|
401 |
msgid "X — Even more mature than above"
|
402 |
+
msgstr "X — Nog ouder dan hierboven"
|
403 |
|
404 |
+
#: includes/wpua-options-page.php:337
|
405 |
msgid ""
|
406 |
"For users without a custom avatar of their own, you can either display a "
|
407 |
"generic logo or a generated one based on their e-mail address."
|
408 |
msgstr ""
|
409 |
+
"Voor gebruikers zonder aangepaste avatar, kan je of een algemeen logo of een "
|
410 |
+
"gegenereerd avatar op basis van hun e-mailadres weergeven."
|
411 |
|
412 |
#: includes/wpua-tinymce-window.php:101
|
413 |
msgid "User Name"
|
467 |
|
468 |
#: includes/wpua-tinymce-window.php:170
|
469 |
msgid "Open link in a new window"
|
470 |
+
msgstr "Link in nieuw venster openen"
|
471 |
|
472 |
#: includes/wpua-tinymce-window.php:174
|
473 |
msgid "Caption"
|
482 |
msgstr "Avatar invoegen"
|
483 |
|
484 |
#. translators: placeholder for <a> and </a> tags.
|
485 |
+
#: one-user-avatar.php:127
|
486 |
msgid ""
|
487 |
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
488 |
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
489 |
msgstr ""
|
490 |
"De plug-in One User Avatar is een vervanging voor de oude WP User Avatar-"
|
491 |
+
"plug-in. %1$sDeactiveer eerst WP User Avatar%2$s om het te gebruiken."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/one-user-avatar.pot
CHANGED
@@ -2,23 +2,23 @@
|
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: One User Avatar 2.3.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2021-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.5.0\n"
|
15 |
"X-Domain: one-user-avatar\n"
|
16 |
|
17 |
#. Plugin Name of the plugin
|
18 |
-
#: includes/class-wp-user-avatar-admin.php:
|
19 |
-
#: includes/class-wp-user-avatar-admin.php:
|
20 |
#: includes/class-wp-user-avatar-widget.php:32
|
21 |
-
#: includes/wpua-options-page.php:
|
22 |
#: includes/wpua-tinymce-window.php:31
|
23 |
msgid "One User Avatar"
|
24 |
msgstr ""
|
@@ -39,80 +39,84 @@ msgstr ""
|
|
39 |
msgid "https://onedesigns.com/"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: includes/class-wp-user-avatar-admin.php:
|
43 |
msgid "You are not allowed to delete this post."
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: includes/class-wp-user-avatar-admin.php:
|
47 |
msgid "Error in deleting."
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: includes/class-wp-user-avatar-admin.php:
|
51 |
-
#: includes/class-wp-user-avatar-admin.php:
|
52 |
#: includes/wpua-media-page.php:59
|
53 |
msgid "Avatars"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: includes/class-wp-user-avatar-admin.php:
|
57 |
-
#: includes/class-wp-user-avatar-admin.php:
|
58 |
-
#: includes/class-wp-user-avatar-admin.php:
|
59 |
-
#: includes/wpua-options-page.php:
|
60 |
msgid "Settings"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: includes/class-wp-user-avatar-admin.php:
|
64 |
-
#: includes/class-wp-user-avatar-admin.php:
|
65 |
msgid "Library"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: includes/class-wp-user-avatar-admin.php:
|
69 |
msgid "Mystery Man"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: includes/class-wp-user-avatar-admin.php:
|
73 |
msgid "Blank"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: includes/class-wp-user-avatar-admin.php:
|
77 |
msgid "Gravatar Logo"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: includes/class-wp-user-avatar-admin.php:
|
81 |
msgid "Identicon (Generated)"
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: includes/class-wp-user-avatar-admin.php:
|
85 |
msgid "Wavatar (Generated)"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: includes/class-wp-user-avatar-admin.php:
|
89 |
msgid "MonsterID (Generated)"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: includes/class-wp-user-avatar-admin.php:
|
93 |
msgid "Retro (Generated)"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: includes/class-wp-user-avatar-admin.php:
|
97 |
-
#: includes/class-wp-user-avatar.php:
|
98 |
msgid "Choose Image"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: includes/class-wp-user-avatar-admin.php:
|
102 |
msgid "Remove"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: includes/class-wp-user-avatar-admin.php:
|
106 |
-
#: includes/class-wp-user-avatar.php:
|
107 |
msgid "Undo"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: includes/class-wp-user-avatar-admin.php:
|
|
|
|
|
|
|
|
|
111 |
msgid "Support Forums"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: includes/class-wp-user-avatar-admin.php:
|
115 |
-
#: includes/class-wp-user-avatar-admin.php:
|
116 |
#: includes/wpua-functions.php:93
|
117 |
#: includes/wpua-functions.php:106
|
118 |
#: includes/wpua-functions.php:114
|
@@ -121,24 +125,22 @@ msgstr ""
|
|
121 |
msgid "Profile Picture"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: includes/class-wp-user-avatar-admin.php:
|
125 |
-
#: includes/wpua-options-page.php:
|
126 |
-
#: includes/wpua-options-page.php:
|
127 |
msgid "Default Avatar"
|
128 |
msgstr ""
|
129 |
|
130 |
#: includes/class-wp-user-avatar-functions.php:515
|
131 |
-
#: includes/class-wp-user-avatar-functions.php:
|
132 |
msgid "Avatar"
|
133 |
msgstr ""
|
134 |
|
135 |
#. translators: uploaded files
|
136 |
-
#: includes/class-wp-user-avatar-list-table.php:
|
137 |
msgctxt "uploaded files"
|
138 |
msgid "All %s"
|
139 |
-
|
140 |
-
msgstr[0] ""
|
141 |
-
msgstr[1] ""
|
142 |
|
143 |
#: includes/class-wp-user-avatar-list-table.php:192
|
144 |
#: includes/class-wp-user-avatar-list-table.php:549
|
@@ -214,7 +216,7 @@ msgstr ""
|
|
214 |
msgid "We're sorry, but your theme's page template didn't make a call to %s, which is required by One User Avatar. Please add this call to your page templates."
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: includes/class-wp-user-avatar-shortcode.php:
|
218 |
msgid "Profile updated."
|
219 |
msgstr ""
|
220 |
|
@@ -240,55 +242,55 @@ msgid "Automatically add paragraphs"
|
|
240 |
msgstr ""
|
241 |
|
242 |
#. translators: user display name
|
243 |
-
#: includes/class-wp-user-avatar.php:
|
244 |
msgid "Choose Image: %s"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: includes/class-wp-user-avatar.php:
|
248 |
-
#: includes/class-wp-user-avatar.php:
|
249 |
#: includes/wpua-tinymce-window.php:95
|
250 |
#: includes/wpua-tinymce-window.php:186
|
251 |
msgid "Upload"
|
252 |
msgstr ""
|
253 |
|
254 |
#. translators: file size in KB
|
255 |
-
#: includes/class-wp-user-avatar.php:
|
256 |
-
#: includes/wpua-options-page.php:
|
257 |
msgid "Maximum upload file size: %s."
|
258 |
msgstr ""
|
259 |
|
260 |
#. translators: allowed file extensions
|
261 |
-
#: includes/class-wp-user-avatar.php:
|
262 |
msgid "Allowed Files: %s"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: includes/class-wp-user-avatar.php:
|
266 |
-
#: includes/class-wp-user-avatar.php:
|
267 |
#: includes/wpua-tinymce-window.php:125
|
268 |
msgid "Original Size"
|
269 |
msgstr ""
|
270 |
|
271 |
-
#: includes/class-wp-user-avatar.php:
|
272 |
-
#: includes/class-wp-user-avatar.php:
|
273 |
#: includes/wpua-tinymce-window.php:128
|
274 |
msgid "Thumbnail"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: includes/class-wp-user-avatar.php:
|
278 |
msgid "Remove Image"
|
279 |
msgstr ""
|
280 |
|
281 |
-
#: includes/class-wp-user-avatar.php:
|
282 |
msgid "This file is not an image. Please try another."
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: includes/class-wp-user-avatar.php:
|
286 |
-
#: includes/class-wp-user-avatar.php:
|
287 |
msgid "Memory exceeded. Please try another smaller file."
|
288 |
msgstr ""
|
289 |
|
290 |
#. translators: directory path
|
291 |
-
#: includes/class-wp-user-avatar.php:
|
292 |
msgid "Unable to create directory %s. Is its parent directory writable by the server?"
|
293 |
msgstr ""
|
294 |
|
@@ -310,84 +312,92 @@ msgstr ""
|
|
310 |
msgid "Search"
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: includes/wpua-options-page.php:
|
314 |
msgid "Add avatar button to Visual Editor"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: includes/wpua-options-page.php:
|
318 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
319 |
msgstr ""
|
320 |
|
321 |
-
#: includes/wpua-options-page.php:
|
322 |
msgid "Disable Gravatar and use only local avatars"
|
323 |
msgstr ""
|
324 |
|
325 |
-
#: includes/wpua-options-page.php:
|
326 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
msgid "Upload Size Limit"
|
328 |
msgstr ""
|
329 |
|
330 |
-
#: includes/wpua-options-page.php:
|
331 |
-
#: includes/wpua-options-page.php:
|
332 |
msgid "(only for Contributors & Subscribers)"
|
333 |
msgstr ""
|
334 |
|
335 |
#. translators: file name
|
336 |
-
#: includes/wpua-options-page.php:
|
337 |
msgid "%s exceeds the maximum upload size for this site."
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: includes/wpua-options-page.php:
|
341 |
msgid "Allow users to edit avatars"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: includes/wpua-options-page.php:
|
345 |
msgid "Resize avatars on upload"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: includes/wpua-options-page.php:
|
349 |
msgid "Width"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: includes/wpua-options-page.php:
|
353 |
msgid "Height"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: includes/wpua-options-page.php:
|
357 |
msgid "Crop avatars to exact dimensions"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: includes/wpua-options-page.php:
|
361 |
-
#: includes/wpua-options-page.php:
|
362 |
msgid "Avatar Display"
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: includes/wpua-options-page.php:
|
366 |
msgid "Show Avatars"
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: includes/wpua-options-page.php:
|
370 |
-
#: includes/wpua-options-page.php:
|
371 |
msgid "Maximum Rating"
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: includes/wpua-options-page.php:
|
375 |
msgid "G — Suitable for all audiences"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: includes/wpua-options-page.php:
|
379 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: includes/wpua-options-page.php:
|
383 |
msgid "R — Intended for adult audiences above 17"
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: includes/wpua-options-page.php:
|
387 |
msgid "X — Even more mature than above"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: includes/wpua-options-page.php:
|
391 |
msgid "For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address."
|
392 |
msgstr ""
|
393 |
|
@@ -466,6 +476,6 @@ msgid "Insert Avatar"
|
|
466 |
msgstr ""
|
467 |
|
468 |
#. translators: placeholder for <a> and </a> tags.
|
469 |
-
#: one-user-avatar.php:
|
470 |
msgid "The plugin One User Avatar is a replacement for the old WP User Avatar plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
471 |
msgstr ""
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: One User Avatar 2.3.4\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.5.0\n"
|
15 |
"X-Domain: one-user-avatar\n"
|
16 |
|
17 |
#. Plugin Name of the plugin
|
18 |
+
#: includes/class-wp-user-avatar-admin.php:228
|
19 |
+
#: includes/class-wp-user-avatar-admin.php:428
|
20 |
#: includes/class-wp-user-avatar-widget.php:32
|
21 |
+
#: includes/wpua-options-page.php:69
|
22 |
#: includes/wpua-tinymce-window.php:31
|
23 |
msgid "One User Avatar"
|
24 |
msgstr ""
|
39 |
msgid "https://onedesigns.com/"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: includes/class-wp-user-avatar-admin.php:171
|
43 |
msgid "You are not allowed to delete this post."
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: includes/class-wp-user-avatar-admin.php:175
|
47 |
msgid "Error in deleting."
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: includes/class-wp-user-avatar-admin.php:229
|
51 |
+
#: includes/class-wp-user-avatar-admin.php:287
|
52 |
#: includes/wpua-media-page.php:59
|
53 |
msgid "Avatars"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: includes/class-wp-user-avatar-admin.php:238
|
57 |
+
#: includes/class-wp-user-avatar-admin.php:239
|
58 |
+
#: includes/class-wp-user-avatar-admin.php:464
|
59 |
+
#: includes/wpua-options-page.php:107
|
60 |
msgid "Settings"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: includes/class-wp-user-avatar-admin.php:247
|
64 |
+
#: includes/class-wp-user-avatar-admin.php:248
|
65 |
msgid "Library"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: includes/class-wp-user-avatar-admin.php:374
|
69 |
msgid "Mystery Man"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: includes/class-wp-user-avatar-admin.php:375
|
73 |
msgid "Blank"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: includes/class-wp-user-avatar-admin.php:376
|
77 |
msgid "Gravatar Logo"
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: includes/class-wp-user-avatar-admin.php:377
|
81 |
msgid "Identicon (Generated)"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: includes/class-wp-user-avatar-admin.php:378
|
85 |
msgid "Wavatar (Generated)"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: includes/class-wp-user-avatar-admin.php:379
|
89 |
msgid "MonsterID (Generated)"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: includes/class-wp-user-avatar-admin.php:380
|
93 |
msgid "Retro (Generated)"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: includes/class-wp-user-avatar-admin.php:429
|
97 |
+
#: includes/class-wp-user-avatar.php:234
|
98 |
msgid "Choose Image"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
102 |
msgid "Remove"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
106 |
+
#: includes/class-wp-user-avatar.php:295
|
107 |
msgid "Undo"
|
108 |
msgstr ""
|
109 |
|
110 |
+
#: includes/class-wp-user-avatar-admin.php:482
|
111 |
+
msgid "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: includes/class-wp-user-avatar-admin.php:483
|
115 |
msgid "Support Forums"
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: includes/class-wp-user-avatar-admin.php:497
|
119 |
+
#: includes/class-wp-user-avatar-admin.php:558
|
120 |
#: includes/wpua-functions.php:93
|
121 |
#: includes/wpua-functions.php:106
|
122 |
#: includes/wpua-functions.php:114
|
125 |
msgid "Profile Picture"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: includes/class-wp-user-avatar-admin.php:562
|
129 |
+
#: includes/wpua-options-page.php:327
|
130 |
+
#: includes/wpua-options-page.php:333
|
131 |
msgid "Default Avatar"
|
132 |
msgstr ""
|
133 |
|
134 |
#: includes/class-wp-user-avatar-functions.php:515
|
135 |
+
#: includes/class-wp-user-avatar-functions.php:716
|
136 |
msgid "Avatar"
|
137 |
msgstr ""
|
138 |
|
139 |
#. translators: uploaded files
|
140 |
+
#: includes/class-wp-user-avatar-list-table.php:176
|
141 |
msgctxt "uploaded files"
|
142 |
msgid "All %s"
|
143 |
+
msgstr ""
|
|
|
|
|
144 |
|
145 |
#: includes/class-wp-user-avatar-list-table.php:192
|
146 |
#: includes/class-wp-user-avatar-list-table.php:549
|
216 |
msgid "We're sorry, but your theme's page template didn't make a call to %s, which is required by One User Avatar. Please add this call to your page templates."
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: includes/class-wp-user-avatar-shortcode.php:243
|
220 |
msgid "Profile updated."
|
221 |
msgstr ""
|
222 |
|
242 |
msgstr ""
|
243 |
|
244 |
#. translators: user display name
|
245 |
+
#: includes/class-wp-user-avatar.php:230
|
246 |
msgid "Choose Image: %s"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: includes/class-wp-user-avatar.php:246
|
250 |
+
#: includes/class-wp-user-avatar.php:247
|
251 |
#: includes/wpua-tinymce-window.php:95
|
252 |
#: includes/wpua-tinymce-window.php:186
|
253 |
msgid "Upload"
|
254 |
msgstr ""
|
255 |
|
256 |
#. translators: file size in KB
|
257 |
+
#: includes/class-wp-user-avatar.php:256
|
258 |
+
#: includes/wpua-options-page.php:215
|
259 |
msgid "Maximum upload file size: %s."
|
260 |
msgstr ""
|
261 |
|
262 |
#. translators: allowed file extensions
|
263 |
+
#: includes/class-wp-user-avatar.php:266
|
264 |
msgid "Allowed Files: %s"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: includes/class-wp-user-avatar.php:279
|
268 |
+
#: includes/class-wp-user-avatar.php:281
|
269 |
#: includes/wpua-tinymce-window.php:125
|
270 |
msgid "Original Size"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: includes/class-wp-user-avatar.php:285
|
274 |
+
#: includes/class-wp-user-avatar.php:287
|
275 |
#: includes/wpua-tinymce-window.php:128
|
276 |
msgid "Thumbnail"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: includes/class-wp-user-avatar.php:291
|
280 |
msgid "Remove Image"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: includes/class-wp-user-avatar.php:380
|
284 |
msgid "This file is not an image. Please try another."
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: includes/class-wp-user-avatar.php:385
|
288 |
+
#: includes/class-wp-user-avatar.php:417
|
289 |
msgid "Memory exceeded. Please try another smaller file."
|
290 |
msgstr ""
|
291 |
|
292 |
#. translators: directory path
|
293 |
+
#: includes/class-wp-user-avatar.php:392
|
294 |
msgid "Unable to create directory %s. Is its parent directory writable by the server?"
|
295 |
msgstr ""
|
296 |
|
312 |
msgid "Search"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: includes/wpua-options-page.php:122
|
316 |
msgid "Add avatar button to Visual Editor"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: includes/wpua-options-page.php:133
|
320 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: includes/wpua-options-page.php:144
|
324 |
msgid "Disable Gravatar and use only local avatars"
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: includes/wpua-options-page.php:156
|
328 |
+
msgid "Always use the browser file uploader to upload avatars"
|
329 |
+
msgstr ""
|
330 |
+
|
331 |
+
#: includes/wpua-options-page.php:157
|
332 |
+
msgid "Check this if another plugin is conflicting with the WordPress Media Uploader."
|
333 |
+
msgstr ""
|
334 |
+
|
335 |
+
#: includes/wpua-options-page.php:185
|
336 |
+
#: includes/wpua-options-page.php:194
|
337 |
msgid "Upload Size Limit"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: includes/wpua-options-page.php:186
|
341 |
+
#: includes/wpua-options-page.php:195
|
342 |
msgid "(only for Contributors & Subscribers)"
|
343 |
msgstr ""
|
344 |
|
345 |
#. translators: file name
|
346 |
+
#: includes/wpua-options-page.php:205
|
347 |
msgid "%s exceeds the maximum upload size for this site."
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: includes/wpua-options-page.php:226
|
351 |
msgid "Allow users to edit avatars"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: includes/wpua-options-page.php:234
|
355 |
msgid "Resize avatars on upload"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: includes/wpua-options-page.php:239
|
359 |
msgid "Width"
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: includes/wpua-options-page.php:243
|
363 |
msgid "Height"
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: includes/wpua-options-page.php:251
|
367 |
msgid "Crop avatars to exact dimensions"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: includes/wpua-options-page.php:273
|
371 |
+
#: includes/wpua-options-page.php:279
|
372 |
msgid "Avatar Display"
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: includes/wpua-options-page.php:286
|
376 |
msgid "Show Avatars"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: includes/wpua-options-page.php:293
|
380 |
+
#: includes/wpua-options-page.php:299
|
381 |
msgid "Maximum Rating"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: includes/wpua-options-page.php:305
|
385 |
msgid "G — Suitable for all audiences"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: includes/wpua-options-page.php:306
|
389 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: includes/wpua-options-page.php:307
|
393 |
msgid "R — Intended for adult audiences above 17"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: includes/wpua-options-page.php:308
|
397 |
msgid "X — Even more mature than above"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: includes/wpua-options-page.php:337
|
401 |
msgid "For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address."
|
402 |
msgstr ""
|
403 |
|
476 |
msgstr ""
|
477 |
|
478 |
#. translators: placeholder for <a> and </a> tags.
|
479 |
+
#: one-user-avatar.php:127
|
480 |
msgid "The plugin One User Avatar is a replacement for the old WP User Avatar plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
481 |
msgstr ""
|
languages/pt_BR.mo
ADDED
Binary file
|
languages/pt_BR.po
ADDED
@@ -0,0 +1,494 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2021 One Designs
|
2 |
+
# This file is distributed under the GPLv2.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: One User Avatar 2.3.4\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
+
"POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-06-22 21:35+0200\n"
|
9 |
+
"Last-Translator: \n"
|
10 |
+
"Language-Team: \n"
|
11 |
+
"Language: pt_BR\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 3.0\n"
|
16 |
+
"X-Domain: one-user-avatar\n"
|
17 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
+
|
19 |
+
#. Plugin Name of the plugin
|
20 |
+
#: includes/class-wp-user-avatar-admin.php:228
|
21 |
+
#: includes/class-wp-user-avatar-admin.php:428
|
22 |
+
#: includes/class-wp-user-avatar-widget.php:32
|
23 |
+
#: includes/wpua-options-page.php:69 includes/wpua-tinymce-window.php:31
|
24 |
+
msgid "One User Avatar"
|
25 |
+
msgstr "One User Avatar"
|
26 |
+
|
27 |
+
#. Plugin URI of the plugin
|
28 |
+
msgid "https://onedesigns.com/plugins/one-user-avatar/"
|
29 |
+
msgstr "https://onedesigns.com/plugins/one-user-avatar/"
|
30 |
+
|
31 |
+
#. Description of the plugin
|
32 |
+
msgid ""
|
33 |
+
"Use any image from your WordPress Media Library as a custom user avatar. Add "
|
34 |
+
"your own Default Avatar. Fork of WP User Avatar v2.2.16."
|
35 |
+
msgstr ""
|
36 |
+
"Use qualquer imagem da sua biblioteca de mídia do WordPress como um avatar "
|
37 |
+
"de usuário personalizado. Adicione seu próprio Avatar padrão. Fork do WP "
|
38 |
+
"User Avatar v2.2.16."
|
39 |
+
|
40 |
+
#. Author of the plugin
|
41 |
+
msgid "One Designs"
|
42 |
+
msgstr "One Designs"
|
43 |
+
|
44 |
+
#. Author URI of the plugin
|
45 |
+
msgid "https://onedesigns.com/"
|
46 |
+
msgstr "https://onedesigns.com/"
|
47 |
+
|
48 |
+
#: includes/class-wp-user-avatar-admin.php:171
|
49 |
+
msgid "You are not allowed to delete this post."
|
50 |
+
msgstr "Não tem permissões para eliminar este conteúdo."
|
51 |
+
|
52 |
+
#: includes/class-wp-user-avatar-admin.php:175
|
53 |
+
msgid "Error in deleting."
|
54 |
+
msgstr "Erro ao excluir."
|
55 |
+
|
56 |
+
#: includes/class-wp-user-avatar-admin.php:229
|
57 |
+
#: includes/class-wp-user-avatar-admin.php:287 includes/wpua-media-page.php:59
|
58 |
+
msgid "Avatars"
|
59 |
+
msgstr "Avatares"
|
60 |
+
|
61 |
+
#: includes/class-wp-user-avatar-admin.php:238
|
62 |
+
#: includes/class-wp-user-avatar-admin.php:239
|
63 |
+
#: includes/class-wp-user-avatar-admin.php:464
|
64 |
+
#: includes/wpua-options-page.php:107
|
65 |
+
msgid "Settings"
|
66 |
+
msgstr "Opções"
|
67 |
+
|
68 |
+
#: includes/class-wp-user-avatar-admin.php:247
|
69 |
+
#: includes/class-wp-user-avatar-admin.php:248
|
70 |
+
msgid "Library"
|
71 |
+
msgstr "Biblioteca"
|
72 |
+
|
73 |
+
#: includes/class-wp-user-avatar-admin.php:374
|
74 |
+
msgid "Mystery Man"
|
75 |
+
msgstr "Homem misterioso"
|
76 |
+
|
77 |
+
#: includes/class-wp-user-avatar-admin.php:375
|
78 |
+
msgid "Blank"
|
79 |
+
msgstr "Em branco"
|
80 |
+
|
81 |
+
#: includes/class-wp-user-avatar-admin.php:376
|
82 |
+
msgid "Gravatar Logo"
|
83 |
+
msgstr "Logotipo Gravatar"
|
84 |
+
|
85 |
+
#: includes/class-wp-user-avatar-admin.php:377
|
86 |
+
msgid "Identicon (Generated)"
|
87 |
+
msgstr "Identicon (Gerado)"
|
88 |
+
|
89 |
+
#: includes/class-wp-user-avatar-admin.php:378
|
90 |
+
msgid "Wavatar (Generated)"
|
91 |
+
msgstr "Wavatar (Gerado)"
|
92 |
+
|
93 |
+
#: includes/class-wp-user-avatar-admin.php:379
|
94 |
+
msgid "MonsterID (Generated)"
|
95 |
+
msgstr "MonsterID (Gerado)"
|
96 |
+
|
97 |
+
#: includes/class-wp-user-avatar-admin.php:380
|
98 |
+
msgid "Retro (Generated)"
|
99 |
+
msgstr "Retro (Gerado)"
|
100 |
+
|
101 |
+
#: includes/class-wp-user-avatar-admin.php:429
|
102 |
+
#: includes/class-wp-user-avatar.php:234
|
103 |
+
msgid "Choose Image"
|
104 |
+
msgstr "Escolher imagem"
|
105 |
+
|
106 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
107 |
+
msgid "Remove"
|
108 |
+
msgstr "Remover"
|
109 |
+
|
110 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
111 |
+
#: includes/class-wp-user-avatar.php:295
|
112 |
+
msgid "Undo"
|
113 |
+
msgstr "Anular"
|
114 |
+
|
115 |
+
#: includes/class-wp-user-avatar-admin.php:482
|
116 |
+
msgid "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
117 |
+
msgstr "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
118 |
+
|
119 |
+
#: includes/class-wp-user-avatar-admin.php:483
|
120 |
+
msgid "Support Forums"
|
121 |
+
msgstr "Fórum de suporte"
|
122 |
+
|
123 |
+
#: includes/class-wp-user-avatar-admin.php:497
|
124 |
+
#: includes/class-wp-user-avatar-admin.php:558 includes/wpua-functions.php:93
|
125 |
+
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
126 |
+
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
127 |
+
msgid "Profile Picture"
|
128 |
+
msgstr "Foto do perfil"
|
129 |
+
|
130 |
+
#: includes/class-wp-user-avatar-admin.php:562
|
131 |
+
#: includes/wpua-options-page.php:327 includes/wpua-options-page.php:333
|
132 |
+
msgid "Default Avatar"
|
133 |
+
msgstr "Avatar padrão"
|
134 |
+
|
135 |
+
#: includes/class-wp-user-avatar-functions.php:515
|
136 |
+
#: includes/class-wp-user-avatar-functions.php:716
|
137 |
+
msgid "Avatar"
|
138 |
+
msgstr "Avatar"
|
139 |
+
|
140 |
+
#. translators: uploaded files
|
141 |
+
#: includes/class-wp-user-avatar-list-table.php:176
|
142 |
+
msgctxt "uploaded files"
|
143 |
+
msgid "All %s"
|
144 |
+
msgstr "Tudo %s"
|
145 |
+
|
146 |
+
#: includes/class-wp-user-avatar-list-table.php:192
|
147 |
+
#: includes/class-wp-user-avatar-list-table.php:549
|
148 |
+
msgid "Delete Permanently"
|
149 |
+
msgstr "Eliminar permanentemente"
|
150 |
+
|
151 |
+
#: includes/class-wp-user-avatar-list-table.php:222
|
152 |
+
msgid "No media attachments found."
|
153 |
+
msgstr "Nenhum anexo de mídia encontrado."
|
154 |
+
|
155 |
+
#: includes/class-wp-user-avatar-list-table.php:235
|
156 |
+
msgctxt "column name"
|
157 |
+
msgid "File"
|
158 |
+
msgstr "Ficheiro"
|
159 |
+
|
160 |
+
#: includes/class-wp-user-avatar-list-table.php:236
|
161 |
+
msgid "Author"
|
162 |
+
msgstr "Autor"
|
163 |
+
|
164 |
+
#: includes/class-wp-user-avatar-list-table.php:237
|
165 |
+
msgctxt "column name"
|
166 |
+
msgid "Uploaded to"
|
167 |
+
msgstr "Carregado para"
|
168 |
+
|
169 |
+
#: includes/class-wp-user-avatar-list-table.php:238
|
170 |
+
msgctxt "column name"
|
171 |
+
msgid "Date"
|
172 |
+
msgstr "Data"
|
173 |
+
|
174 |
+
#. translators: post title
|
175 |
+
#: includes/class-wp-user-avatar-list-table.php:323
|
176 |
+
msgid "Select %s"
|
177 |
+
msgstr "Selecione %s"
|
178 |
+
|
179 |
+
#: includes/class-wp-user-avatar-list-table.php:414
|
180 |
+
msgid "Unpublished"
|
181 |
+
msgstr "Não publicado"
|
182 |
+
|
183 |
+
#. translators: time from now
|
184 |
+
#: includes/class-wp-user-avatar-list-table.php:422
|
185 |
+
msgctxt "time from now"
|
186 |
+
msgid "%s from now"
|
187 |
+
msgstr "%s a partir de agora"
|
188 |
+
|
189 |
+
#. translators: time ago
|
190 |
+
#: includes/class-wp-user-avatar-list-table.php:428
|
191 |
+
msgctxt "time ago"
|
192 |
+
msgid "%s ago"
|
193 |
+
msgstr "%s atrás"
|
194 |
+
|
195 |
+
#: includes/class-wp-user-avatar-list-table.php:433
|
196 |
+
msgid "Y/m/d"
|
197 |
+
msgstr "d/m/Y"
|
198 |
+
|
199 |
+
#: includes/class-wp-user-avatar-list-table.php:523
|
200 |
+
msgid "Edit"
|
201 |
+
msgstr "Editar"
|
202 |
+
|
203 |
+
#: includes/class-wp-user-avatar-list-table.php:532
|
204 |
+
msgid "Restore"
|
205 |
+
msgstr "Repor"
|
206 |
+
|
207 |
+
#: includes/class-wp-user-avatar-list-table.php:538
|
208 |
+
msgid "Trash"
|
209 |
+
msgstr "Lixo"
|
210 |
+
|
211 |
+
#: includes/class-wp-user-avatar-list-table.php:561
|
212 |
+
msgid "View"
|
213 |
+
msgstr "Ver"
|
214 |
+
|
215 |
+
#. translators: either wp_footer() or wp_print_footer_scripts() hook.
|
216 |
+
#: includes/class-wp-user-avatar-resource-manager.php:190
|
217 |
+
msgid ""
|
218 |
+
"We're sorry, but your theme's page template didn't make a call to %s, which "
|
219 |
+
"is required by One User Avatar. Please add this call to your page templates."
|
220 |
+
msgstr ""
|
221 |
+
"Lamentamos, mas o modelo de página do seu tema não fez uma chamada para %s, "
|
222 |
+
"que é exigido pelo One User Avatar. Por favor, adicione esta chamada aos "
|
223 |
+
"seus modelos de página."
|
224 |
+
|
225 |
+
#: includes/class-wp-user-avatar-shortcode.php:243
|
226 |
+
msgid "Profile updated."
|
227 |
+
msgstr "Perfil atualizado."
|
228 |
+
|
229 |
+
#: includes/class-wp-user-avatar-shortcode.php:273
|
230 |
+
msgid "Update Profile"
|
231 |
+
msgstr "Atualizar perfil"
|
232 |
+
|
233 |
+
#. translators: [avatar_upload] shortcode
|
234 |
+
#: includes/class-wp-user-avatar-widget.php:27
|
235 |
+
msgid "Insert %s"
|
236 |
+
msgstr "Inserir %s"
|
237 |
+
|
238 |
+
#: includes/class-wp-user-avatar-widget.php:99
|
239 |
+
msgid "Title:"
|
240 |
+
msgstr "Título:"
|
241 |
+
|
242 |
+
#: includes/class-wp-user-avatar-widget.php:105
|
243 |
+
msgid "Description:"
|
244 |
+
msgstr "Descrição:"
|
245 |
+
|
246 |
+
#: includes/class-wp-user-avatar-widget.php:113
|
247 |
+
msgid "Automatically add paragraphs"
|
248 |
+
msgstr "Adicionar parágrafos automaticamente"
|
249 |
+
|
250 |
+
#. translators: user display name
|
251 |
+
#: includes/class-wp-user-avatar.php:230
|
252 |
+
msgid "Choose Image: %s"
|
253 |
+
msgstr "Escolher imagem: %s"
|
254 |
+
|
255 |
+
#: includes/class-wp-user-avatar.php:246 includes/class-wp-user-avatar.php:247
|
256 |
+
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
257 |
+
msgid "Upload"
|
258 |
+
msgstr "Carregar"
|
259 |
+
|
260 |
+
#. translators: file size in KB
|
261 |
+
#: includes/class-wp-user-avatar.php:256 includes/wpua-options-page.php:215
|
262 |
+
msgid "Maximum upload file size: %s."
|
263 |
+
msgstr "Tamanho máximo do ficheiro para carregamento: %s."
|
264 |
+
|
265 |
+
#. translators: allowed file extensions
|
266 |
+
#: includes/class-wp-user-avatar.php:266
|
267 |
+
msgid "Allowed Files: %s"
|
268 |
+
msgstr "Ficheiros permitidos: %s"
|
269 |
+
|
270 |
+
#: includes/class-wp-user-avatar.php:279 includes/class-wp-user-avatar.php:281
|
271 |
+
#: includes/wpua-tinymce-window.php:125
|
272 |
+
msgid "Original Size"
|
273 |
+
msgstr "Original"
|
274 |
+
|
275 |
+
#: includes/class-wp-user-avatar.php:285 includes/class-wp-user-avatar.php:287
|
276 |
+
#: includes/wpua-tinymce-window.php:128
|
277 |
+
msgid "Thumbnail"
|
278 |
+
msgstr "Miniatura"
|
279 |
+
|
280 |
+
#: includes/class-wp-user-avatar.php:291
|
281 |
+
msgid "Remove Image"
|
282 |
+
msgstr "Remover imagem"
|
283 |
+
|
284 |
+
#: includes/class-wp-user-avatar.php:380
|
285 |
+
msgid "This file is not an image. Please try another."
|
286 |
+
msgstr "Este ficheiro não é uma imagem. Por favor tente com outro."
|
287 |
+
|
288 |
+
#: includes/class-wp-user-avatar.php:385 includes/class-wp-user-avatar.php:417
|
289 |
+
msgid "Memory exceeded. Please try another smaller file."
|
290 |
+
msgstr "Memória esgotada. Por favor tente com um ficheiro mais pequeno."
|
291 |
+
|
292 |
+
#. translators: directory path
|
293 |
+
#: includes/class-wp-user-avatar.php:392
|
294 |
+
msgid ""
|
295 |
+
"Unable to create directory %s. Is its parent directory writable by the "
|
296 |
+
"server?"
|
297 |
+
msgstr ""
|
298 |
+
"Não foi possível criar o directório %s. O directório do nível acima tem "
|
299 |
+
"permissões de escrita?"
|
300 |
+
|
301 |
+
#: includes/wpua-functions.php:109 includes/wpua-functions.php:118
|
302 |
+
msgid "Image"
|
303 |
+
msgstr "Imagem"
|
304 |
+
|
305 |
+
#: includes/wpua-media-page.php:46
|
306 |
+
msgid "You do not have permission to upload files."
|
307 |
+
msgstr "Você não tem permissão para fazer upload de arquivos."
|
308 |
+
|
309 |
+
#. translators: search query
|
310 |
+
#: includes/wpua-media-page.php:66
|
311 |
+
msgid "Search results for %s"
|
312 |
+
msgstr "Resultados da pesquisa por %s"
|
313 |
+
|
314 |
+
#: includes/wpua-media-page.php:98
|
315 |
+
msgid "Search"
|
316 |
+
msgstr "Pesquisar"
|
317 |
+
|
318 |
+
#: includes/wpua-options-page.php:122
|
319 |
+
msgid "Add avatar button to Visual Editor"
|
320 |
+
msgstr "Adicionar botão de avatar ao Editor Visual"
|
321 |
+
|
322 |
+
#: includes/wpua-options-page.php:133
|
323 |
+
msgid "Allow Contributors & Subscribers to upload avatars"
|
324 |
+
msgstr "Permitir que contribuidores e subscritores carreguem avatares"
|
325 |
+
|
326 |
+
#: includes/wpua-options-page.php:144
|
327 |
+
msgid "Disable Gravatar and use only local avatars"
|
328 |
+
msgstr "Desative o Gravatar e use apenas avatares locais"
|
329 |
+
|
330 |
+
#: includes/wpua-options-page.php:156
|
331 |
+
msgid "Always use the browser file uploader to upload avatars"
|
332 |
+
msgstr ""
|
333 |
+
"Sempre use o carregador de arquivos do navegador para fazer upload de "
|
334 |
+
"avatares"
|
335 |
+
|
336 |
+
#: includes/wpua-options-page.php:157
|
337 |
+
msgid ""
|
338 |
+
"Check this if another plugin is conflicting with the WordPress Media "
|
339 |
+
"Uploader."
|
340 |
+
msgstr ""
|
341 |
+
"Verifique isso se outro plug-in estiver em conflito com o WordPress Media "
|
342 |
+
"Uploader."
|
343 |
+
|
344 |
+
#: includes/wpua-options-page.php:185 includes/wpua-options-page.php:194
|
345 |
+
msgid "Upload Size Limit"
|
346 |
+
msgstr "Limite de tamanho de upload"
|
347 |
+
|
348 |
+
#: includes/wpua-options-page.php:186 includes/wpua-options-page.php:195
|
349 |
+
msgid "(only for Contributors & Subscribers)"
|
350 |
+
msgstr "(apenas para contribuidores e subscritores)"
|
351 |
+
|
352 |
+
#. translators: file name
|
353 |
+
#: includes/wpua-options-page.php:205
|
354 |
+
msgid "%s exceeds the maximum upload size for this site."
|
355 |
+
msgstr "%s excede o tamanho máximo de carregamentos para este site."
|
356 |
+
|
357 |
+
#: includes/wpua-options-page.php:226
|
358 |
+
msgid "Allow users to edit avatars"
|
359 |
+
msgstr "Permitir que os usuários editem avatares"
|
360 |
+
|
361 |
+
#: includes/wpua-options-page.php:234
|
362 |
+
msgid "Resize avatars on upload"
|
363 |
+
msgstr "Redimensionar avatares no upload"
|
364 |
+
|
365 |
+
#: includes/wpua-options-page.php:239
|
366 |
+
msgid "Width"
|
367 |
+
msgstr "Largura"
|
368 |
+
|
369 |
+
#: includes/wpua-options-page.php:243
|
370 |
+
msgid "Height"
|
371 |
+
msgstr "Altura"
|
372 |
+
|
373 |
+
#: includes/wpua-options-page.php:251
|
374 |
+
msgid "Crop avatars to exact dimensions"
|
375 |
+
msgstr "Recorte avatares nas dimensões exatas"
|
376 |
+
|
377 |
+
#: includes/wpua-options-page.php:273 includes/wpua-options-page.php:279
|
378 |
+
msgid "Avatar Display"
|
379 |
+
msgstr "Exibição de Avatar"
|
380 |
+
|
381 |
+
#: includes/wpua-options-page.php:286
|
382 |
+
msgid "Show Avatars"
|
383 |
+
msgstr "Mostrar Avatares"
|
384 |
+
|
385 |
+
#: includes/wpua-options-page.php:293 includes/wpua-options-page.php:299
|
386 |
+
msgid "Maximum Rating"
|
387 |
+
msgstr "Classificação Máxima"
|
388 |
+
|
389 |
+
#: includes/wpua-options-page.php:305
|
390 |
+
msgid "G — Suitable for all audiences"
|
391 |
+
msgstr "G — Adequado para todos os públicos"
|
392 |
+
|
393 |
+
#: includes/wpua-options-page.php:306
|
394 |
+
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
395 |
+
msgstr ""
|
396 |
+
"PG — Possivelmente ofensivo, geralmente para públicos a partir de 13 "
|
397 |
+
"anos"
|
398 |
+
|
399 |
+
#: includes/wpua-options-page.php:307
|
400 |
+
msgid "R — Intended for adult audiences above 17"
|
401 |
+
msgstr "R — Destinado ao público adulto acima de 17"
|
402 |
+
|
403 |
+
#: includes/wpua-options-page.php:308
|
404 |
+
msgid "X — Even more mature than above"
|
405 |
+
msgstr "X — Ainda mais maduro do que acima"
|
406 |
+
|
407 |
+
#: includes/wpua-options-page.php:337
|
408 |
+
msgid ""
|
409 |
+
"For users without a custom avatar of their own, you can either display a "
|
410 |
+
"generic logo or a generated one based on their e-mail address."
|
411 |
+
msgstr ""
|
412 |
+
"Para usuários sem avatar personalizado, você pode exibir um logotipo "
|
413 |
+
"genérico ou gerado com base em seus endereça de e-mail."
|
414 |
+
|
415 |
+
#: includes/wpua-tinymce-window.php:101
|
416 |
+
msgid "User Name"
|
417 |
+
msgstr "Nome do usuário"
|
418 |
+
|
419 |
+
#: includes/wpua-tinymce-window.php:121 includes/wpua-tinymce-window.php:134
|
420 |
+
msgid "Size:"
|
421 |
+
msgstr "Tamanho:"
|
422 |
+
|
423 |
+
#: includes/wpua-tinymce-window.php:126
|
424 |
+
msgid "Large"
|
425 |
+
msgstr "Grande"
|
426 |
+
|
427 |
+
#: includes/wpua-tinymce-window.php:127
|
428 |
+
msgid "Medium"
|
429 |
+
msgstr "Média"
|
430 |
+
|
431 |
+
#: includes/wpua-tinymce-window.php:129
|
432 |
+
msgid "Custom"
|
433 |
+
msgstr "Personalizado"
|
434 |
+
|
435 |
+
#: includes/wpua-tinymce-window.php:140
|
436 |
+
msgid "Alignment:"
|
437 |
+
msgstr "Alinhamento:"
|
438 |
+
|
439 |
+
#: includes/wpua-tinymce-window.php:144
|
440 |
+
msgid "Center"
|
441 |
+
msgstr "Centro"
|
442 |
+
|
443 |
+
#: includes/wpua-tinymce-window.php:145
|
444 |
+
msgid "Left"
|
445 |
+
msgstr "Esquerda"
|
446 |
+
|
447 |
+
#: includes/wpua-tinymce-window.php:146
|
448 |
+
msgid "Right"
|
449 |
+
msgstr "Direita"
|
450 |
+
|
451 |
+
#: includes/wpua-tinymce-window.php:151
|
452 |
+
msgid "Link To:"
|
453 |
+
msgstr "Ligar a:"
|
454 |
+
|
455 |
+
#: includes/wpua-tinymce-window.php:155
|
456 |
+
msgid "Image File"
|
457 |
+
msgstr "Ficheiro de imagem"
|
458 |
+
|
459 |
+
#: includes/wpua-tinymce-window.php:156
|
460 |
+
msgid "Attachment Page"
|
461 |
+
msgstr "Página do anexo"
|
462 |
+
|
463 |
+
#: includes/wpua-tinymce-window.php:157
|
464 |
+
msgid "Custom URL"
|
465 |
+
msgstr "URL personalizado"
|
466 |
+
|
467 |
+
#: includes/wpua-tinymce-window.php:162
|
468 |
+
msgid "URL:"
|
469 |
+
msgstr "URL:"
|
470 |
+
|
471 |
+
#: includes/wpua-tinymce-window.php:170
|
472 |
+
msgid "Open link in a new window"
|
473 |
+
msgstr "Abrir link em uma nova janela"
|
474 |
+
|
475 |
+
#: includes/wpua-tinymce-window.php:174
|
476 |
+
msgid "Caption"
|
477 |
+
msgstr "Legenda"
|
478 |
+
|
479 |
+
#: includes/wpua-tinymce-window.php:180 includes/wpua-tinymce-window.php:192
|
480 |
+
msgid "Insert into Post"
|
481 |
+
msgstr "Inserir no artigo"
|
482 |
+
|
483 |
+
#: includes/wpua-tinymce.php:70
|
484 |
+
msgid "Insert Avatar"
|
485 |
+
msgstr "Inserir avatar"
|
486 |
+
|
487 |
+
#. translators: placeholder for <a> and </a> tags.
|
488 |
+
#: one-user-avatar.php:127
|
489 |
+
msgid ""
|
490 |
+
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
491 |
+
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
492 |
+
msgstr ""
|
493 |
+
"O plugin One User Avatar é uma substituição do antigo plugin WP User Avatar. "
|
494 |
+
"%1$sDesative o WP User Avatar%2$s para começar a usá-lo."
|
languages/pt_PT.mo
ADDED
Binary file
|
languages/pt_PT.po
ADDED
@@ -0,0 +1,494 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2021 One Designs
|
2 |
+
# This file is distributed under the GPLv2.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: One User Avatar 2.3.4\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
+
"POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-06-22 21:35+0200\n"
|
9 |
+
"Last-Translator: \n"
|
10 |
+
"Language-Team: \n"
|
11 |
+
"Language: pt_PT\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 3.0\n"
|
16 |
+
"X-Domain: one-user-avatar\n"
|
17 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
+
|
19 |
+
#. Plugin Name of the plugin
|
20 |
+
#: includes/class-wp-user-avatar-admin.php:228
|
21 |
+
#: includes/class-wp-user-avatar-admin.php:428
|
22 |
+
#: includes/class-wp-user-avatar-widget.php:32
|
23 |
+
#: includes/wpua-options-page.php:69 includes/wpua-tinymce-window.php:31
|
24 |
+
msgid "One User Avatar"
|
25 |
+
msgstr "One User Avatar"
|
26 |
+
|
27 |
+
#. Plugin URI of the plugin
|
28 |
+
msgid "https://onedesigns.com/plugins/one-user-avatar/"
|
29 |
+
msgstr "https://onedesigns.com/plugins/one-user-avatar/"
|
30 |
+
|
31 |
+
#. Description of the plugin
|
32 |
+
msgid ""
|
33 |
+
"Use any image from your WordPress Media Library as a custom user avatar. Add "
|
34 |
+
"your own Default Avatar. Fork of WP User Avatar v2.2.16."
|
35 |
+
msgstr ""
|
36 |
+
"Use qualquer imagem da sua biblioteca de mídia do WordPress como um avatar "
|
37 |
+
"de usuário personalizado. Adicione seu próprio Avatar padrão. Fork do WP "
|
38 |
+
"User Avatar v2.2.16."
|
39 |
+
|
40 |
+
#. Author of the plugin
|
41 |
+
msgid "One Designs"
|
42 |
+
msgstr "One Designs"
|
43 |
+
|
44 |
+
#. Author URI of the plugin
|
45 |
+
msgid "https://onedesigns.com/"
|
46 |
+
msgstr "https://onedesigns.com/"
|
47 |
+
|
48 |
+
#: includes/class-wp-user-avatar-admin.php:171
|
49 |
+
msgid "You are not allowed to delete this post."
|
50 |
+
msgstr "Não tem permissões para eliminar este conteúdo."
|
51 |
+
|
52 |
+
#: includes/class-wp-user-avatar-admin.php:175
|
53 |
+
msgid "Error in deleting."
|
54 |
+
msgstr "Erro ao excluir."
|
55 |
+
|
56 |
+
#: includes/class-wp-user-avatar-admin.php:229
|
57 |
+
#: includes/class-wp-user-avatar-admin.php:287 includes/wpua-media-page.php:59
|
58 |
+
msgid "Avatars"
|
59 |
+
msgstr "Avatares"
|
60 |
+
|
61 |
+
#: includes/class-wp-user-avatar-admin.php:238
|
62 |
+
#: includes/class-wp-user-avatar-admin.php:239
|
63 |
+
#: includes/class-wp-user-avatar-admin.php:464
|
64 |
+
#: includes/wpua-options-page.php:107
|
65 |
+
msgid "Settings"
|
66 |
+
msgstr "Opções"
|
67 |
+
|
68 |
+
#: includes/class-wp-user-avatar-admin.php:247
|
69 |
+
#: includes/class-wp-user-avatar-admin.php:248
|
70 |
+
msgid "Library"
|
71 |
+
msgstr "Biblioteca"
|
72 |
+
|
73 |
+
#: includes/class-wp-user-avatar-admin.php:374
|
74 |
+
msgid "Mystery Man"
|
75 |
+
msgstr "Homem misterioso"
|
76 |
+
|
77 |
+
#: includes/class-wp-user-avatar-admin.php:375
|
78 |
+
msgid "Blank"
|
79 |
+
msgstr "Em branco"
|
80 |
+
|
81 |
+
#: includes/class-wp-user-avatar-admin.php:376
|
82 |
+
msgid "Gravatar Logo"
|
83 |
+
msgstr "Logotipo Gravatar"
|
84 |
+
|
85 |
+
#: includes/class-wp-user-avatar-admin.php:377
|
86 |
+
msgid "Identicon (Generated)"
|
87 |
+
msgstr "Identicon (Gerado)"
|
88 |
+
|
89 |
+
#: includes/class-wp-user-avatar-admin.php:378
|
90 |
+
msgid "Wavatar (Generated)"
|
91 |
+
msgstr "Wavatar (Gerado)"
|
92 |
+
|
93 |
+
#: includes/class-wp-user-avatar-admin.php:379
|
94 |
+
msgid "MonsterID (Generated)"
|
95 |
+
msgstr "MonsterID (Gerado)"
|
96 |
+
|
97 |
+
#: includes/class-wp-user-avatar-admin.php:380
|
98 |
+
msgid "Retro (Generated)"
|
99 |
+
msgstr "Retro (Gerado)"
|
100 |
+
|
101 |
+
#: includes/class-wp-user-avatar-admin.php:429
|
102 |
+
#: includes/class-wp-user-avatar.php:234
|
103 |
+
msgid "Choose Image"
|
104 |
+
msgstr "Escolher imagem"
|
105 |
+
|
106 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
107 |
+
msgid "Remove"
|
108 |
+
msgstr "Remover"
|
109 |
+
|
110 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
111 |
+
#: includes/class-wp-user-avatar.php:295
|
112 |
+
msgid "Undo"
|
113 |
+
msgstr "Anular"
|
114 |
+
|
115 |
+
#: includes/class-wp-user-avatar-admin.php:482
|
116 |
+
msgid "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
117 |
+
msgstr "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
118 |
+
|
119 |
+
#: includes/class-wp-user-avatar-admin.php:483
|
120 |
+
msgid "Support Forums"
|
121 |
+
msgstr "Fórum de suporte"
|
122 |
+
|
123 |
+
#: includes/class-wp-user-avatar-admin.php:497
|
124 |
+
#: includes/class-wp-user-avatar-admin.php:558 includes/wpua-functions.php:93
|
125 |
+
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
126 |
+
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
127 |
+
msgid "Profile Picture"
|
128 |
+
msgstr "Foto do perfil"
|
129 |
+
|
130 |
+
#: includes/class-wp-user-avatar-admin.php:562
|
131 |
+
#: includes/wpua-options-page.php:327 includes/wpua-options-page.php:333
|
132 |
+
msgid "Default Avatar"
|
133 |
+
msgstr "Avatar padrão"
|
134 |
+
|
135 |
+
#: includes/class-wp-user-avatar-functions.php:515
|
136 |
+
#: includes/class-wp-user-avatar-functions.php:716
|
137 |
+
msgid "Avatar"
|
138 |
+
msgstr "Avatar"
|
139 |
+
|
140 |
+
#. translators: uploaded files
|
141 |
+
#: includes/class-wp-user-avatar-list-table.php:176
|
142 |
+
msgctxt "uploaded files"
|
143 |
+
msgid "All %s"
|
144 |
+
msgstr "Tudo %s"
|
145 |
+
|
146 |
+
#: includes/class-wp-user-avatar-list-table.php:192
|
147 |
+
#: includes/class-wp-user-avatar-list-table.php:549
|
148 |
+
msgid "Delete Permanently"
|
149 |
+
msgstr "Eliminar permanentemente"
|
150 |
+
|
151 |
+
#: includes/class-wp-user-avatar-list-table.php:222
|
152 |
+
msgid "No media attachments found."
|
153 |
+
msgstr "Nenhum anexo de mídia encontrado."
|
154 |
+
|
155 |
+
#: includes/class-wp-user-avatar-list-table.php:235
|
156 |
+
msgctxt "column name"
|
157 |
+
msgid "File"
|
158 |
+
msgstr "Ficheiro"
|
159 |
+
|
160 |
+
#: includes/class-wp-user-avatar-list-table.php:236
|
161 |
+
msgid "Author"
|
162 |
+
msgstr "Autor"
|
163 |
+
|
164 |
+
#: includes/class-wp-user-avatar-list-table.php:237
|
165 |
+
msgctxt "column name"
|
166 |
+
msgid "Uploaded to"
|
167 |
+
msgstr "Carregado para"
|
168 |
+
|
169 |
+
#: includes/class-wp-user-avatar-list-table.php:238
|
170 |
+
msgctxt "column name"
|
171 |
+
msgid "Date"
|
172 |
+
msgstr "Data"
|
173 |
+
|
174 |
+
#. translators: post title
|
175 |
+
#: includes/class-wp-user-avatar-list-table.php:323
|
176 |
+
msgid "Select %s"
|
177 |
+
msgstr "Selecione %s"
|
178 |
+
|
179 |
+
#: includes/class-wp-user-avatar-list-table.php:414
|
180 |
+
msgid "Unpublished"
|
181 |
+
msgstr "Não publicado"
|
182 |
+
|
183 |
+
#. translators: time from now
|
184 |
+
#: includes/class-wp-user-avatar-list-table.php:422
|
185 |
+
msgctxt "time from now"
|
186 |
+
msgid "%s from now"
|
187 |
+
msgstr "%s a partir de agora"
|
188 |
+
|
189 |
+
#. translators: time ago
|
190 |
+
#: includes/class-wp-user-avatar-list-table.php:428
|
191 |
+
msgctxt "time ago"
|
192 |
+
msgid "%s ago"
|
193 |
+
msgstr "%s atrás"
|
194 |
+
|
195 |
+
#: includes/class-wp-user-avatar-list-table.php:433
|
196 |
+
msgid "Y/m/d"
|
197 |
+
msgstr "d/m/Y"
|
198 |
+
|
199 |
+
#: includes/class-wp-user-avatar-list-table.php:523
|
200 |
+
msgid "Edit"
|
201 |
+
msgstr "Editar"
|
202 |
+
|
203 |
+
#: includes/class-wp-user-avatar-list-table.php:532
|
204 |
+
msgid "Restore"
|
205 |
+
msgstr "Repor"
|
206 |
+
|
207 |
+
#: includes/class-wp-user-avatar-list-table.php:538
|
208 |
+
msgid "Trash"
|
209 |
+
msgstr "Lixo"
|
210 |
+
|
211 |
+
#: includes/class-wp-user-avatar-list-table.php:561
|
212 |
+
msgid "View"
|
213 |
+
msgstr "Ver"
|
214 |
+
|
215 |
+
#. translators: either wp_footer() or wp_print_footer_scripts() hook.
|
216 |
+
#: includes/class-wp-user-avatar-resource-manager.php:190
|
217 |
+
msgid ""
|
218 |
+
"We're sorry, but your theme's page template didn't make a call to %s, which "
|
219 |
+
"is required by One User Avatar. Please add this call to your page templates."
|
220 |
+
msgstr ""
|
221 |
+
"Lamentamos, mas o modelo de página do seu tema não fez uma chamada para %s, "
|
222 |
+
"que é exigido pelo One User Avatar. Por favor, adicione esta chamada aos "
|
223 |
+
"seus modelos de página."
|
224 |
+
|
225 |
+
#: includes/class-wp-user-avatar-shortcode.php:243
|
226 |
+
msgid "Profile updated."
|
227 |
+
msgstr "Perfil atualizado."
|
228 |
+
|
229 |
+
#: includes/class-wp-user-avatar-shortcode.php:273
|
230 |
+
msgid "Update Profile"
|
231 |
+
msgstr "Atualizar perfil"
|
232 |
+
|
233 |
+
#. translators: [avatar_upload] shortcode
|
234 |
+
#: includes/class-wp-user-avatar-widget.php:27
|
235 |
+
msgid "Insert %s"
|
236 |
+
msgstr "Inserir %s"
|
237 |
+
|
238 |
+
#: includes/class-wp-user-avatar-widget.php:99
|
239 |
+
msgid "Title:"
|
240 |
+
msgstr "Título:"
|
241 |
+
|
242 |
+
#: includes/class-wp-user-avatar-widget.php:105
|
243 |
+
msgid "Description:"
|
244 |
+
msgstr "Descrição:"
|
245 |
+
|
246 |
+
#: includes/class-wp-user-avatar-widget.php:113
|
247 |
+
msgid "Automatically add paragraphs"
|
248 |
+
msgstr "Adicionar parágrafos automaticamente"
|
249 |
+
|
250 |
+
#. translators: user display name
|
251 |
+
#: includes/class-wp-user-avatar.php:230
|
252 |
+
msgid "Choose Image: %s"
|
253 |
+
msgstr "Escolher imagem: %s"
|
254 |
+
|
255 |
+
#: includes/class-wp-user-avatar.php:246 includes/class-wp-user-avatar.php:247
|
256 |
+
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
257 |
+
msgid "Upload"
|
258 |
+
msgstr "Carregar"
|
259 |
+
|
260 |
+
#. translators: file size in KB
|
261 |
+
#: includes/class-wp-user-avatar.php:256 includes/wpua-options-page.php:215
|
262 |
+
msgid "Maximum upload file size: %s."
|
263 |
+
msgstr "Tamanho máximo do ficheiro para carregamento: %s."
|
264 |
+
|
265 |
+
#. translators: allowed file extensions
|
266 |
+
#: includes/class-wp-user-avatar.php:266
|
267 |
+
msgid "Allowed Files: %s"
|
268 |
+
msgstr "Ficheiros permitidos: %s"
|
269 |
+
|
270 |
+
#: includes/class-wp-user-avatar.php:279 includes/class-wp-user-avatar.php:281
|
271 |
+
#: includes/wpua-tinymce-window.php:125
|
272 |
+
msgid "Original Size"
|
273 |
+
msgstr "Original"
|
274 |
+
|
275 |
+
#: includes/class-wp-user-avatar.php:285 includes/class-wp-user-avatar.php:287
|
276 |
+
#: includes/wpua-tinymce-window.php:128
|
277 |
+
msgid "Thumbnail"
|
278 |
+
msgstr "Miniatura"
|
279 |
+
|
280 |
+
#: includes/class-wp-user-avatar.php:291
|
281 |
+
msgid "Remove Image"
|
282 |
+
msgstr "Remover imagem"
|
283 |
+
|
284 |
+
#: includes/class-wp-user-avatar.php:380
|
285 |
+
msgid "This file is not an image. Please try another."
|
286 |
+
msgstr "Este ficheiro não é uma imagem. Por favor tente com outro."
|
287 |
+
|
288 |
+
#: includes/class-wp-user-avatar.php:385 includes/class-wp-user-avatar.php:417
|
289 |
+
msgid "Memory exceeded. Please try another smaller file."
|
290 |
+
msgstr "Memória esgotada. Por favor tente com um ficheiro mais pequeno."
|
291 |
+
|
292 |
+
#. translators: directory path
|
293 |
+
#: includes/class-wp-user-avatar.php:392
|
294 |
+
msgid ""
|
295 |
+
"Unable to create directory %s. Is its parent directory writable by the "
|
296 |
+
"server?"
|
297 |
+
msgstr ""
|
298 |
+
"Não foi possível criar o directório %s. O directório do nível acima tem "
|
299 |
+
"permissões de escrita?"
|
300 |
+
|
301 |
+
#: includes/wpua-functions.php:109 includes/wpua-functions.php:118
|
302 |
+
msgid "Image"
|
303 |
+
msgstr "Imagem"
|
304 |
+
|
305 |
+
#: includes/wpua-media-page.php:46
|
306 |
+
msgid "You do not have permission to upload files."
|
307 |
+
msgstr "Você não tem permissão para fazer upload de arquivos."
|
308 |
+
|
309 |
+
#. translators: search query
|
310 |
+
#: includes/wpua-media-page.php:66
|
311 |
+
msgid "Search results for %s"
|
312 |
+
msgstr "Resultados da pesquisa por %s"
|
313 |
+
|
314 |
+
#: includes/wpua-media-page.php:98
|
315 |
+
msgid "Search"
|
316 |
+
msgstr "Pesquisar"
|
317 |
+
|
318 |
+
#: includes/wpua-options-page.php:122
|
319 |
+
msgid "Add avatar button to Visual Editor"
|
320 |
+
msgstr "Adicionar botão de avatar ao Editor Visual"
|
321 |
+
|
322 |
+
#: includes/wpua-options-page.php:133
|
323 |
+
msgid "Allow Contributors & Subscribers to upload avatars"
|
324 |
+
msgstr "Permitir que contribuidores e subscritores carreguem avatares"
|
325 |
+
|
326 |
+
#: includes/wpua-options-page.php:144
|
327 |
+
msgid "Disable Gravatar and use only local avatars"
|
328 |
+
msgstr "Desative o Gravatar e use apenas avatares locais"
|
329 |
+
|
330 |
+
#: includes/wpua-options-page.php:156
|
331 |
+
msgid "Always use the browser file uploader to upload avatars"
|
332 |
+
msgstr ""
|
333 |
+
"Sempre use o carregador de arquivos do navegador para fazer upload de "
|
334 |
+
"avatares"
|
335 |
+
|
336 |
+
#: includes/wpua-options-page.php:157
|
337 |
+
msgid ""
|
338 |
+
"Check this if another plugin is conflicting with the WordPress Media "
|
339 |
+
"Uploader."
|
340 |
+
msgstr ""
|
341 |
+
"Verifique isso se outro plug-in estiver em conflito com o WordPress Media "
|
342 |
+
"Uploader."
|
343 |
+
|
344 |
+
#: includes/wpua-options-page.php:185 includes/wpua-options-page.php:194
|
345 |
+
msgid "Upload Size Limit"
|
346 |
+
msgstr "Limite de tamanho de upload"
|
347 |
+
|
348 |
+
#: includes/wpua-options-page.php:186 includes/wpua-options-page.php:195
|
349 |
+
msgid "(only for Contributors & Subscribers)"
|
350 |
+
msgstr "(apenas para contribuidores e subscritores)"
|
351 |
+
|
352 |
+
#. translators: file name
|
353 |
+
#: includes/wpua-options-page.php:205
|
354 |
+
msgid "%s exceeds the maximum upload size for this site."
|
355 |
+
msgstr "%s excede o tamanho máximo de carregamentos para este site."
|
356 |
+
|
357 |
+
#: includes/wpua-options-page.php:226
|
358 |
+
msgid "Allow users to edit avatars"
|
359 |
+
msgstr "Permitir que os usuários editem avatares"
|
360 |
+
|
361 |
+
#: includes/wpua-options-page.php:234
|
362 |
+
msgid "Resize avatars on upload"
|
363 |
+
msgstr "Redimensionar avatares no upload"
|
364 |
+
|
365 |
+
#: includes/wpua-options-page.php:239
|
366 |
+
msgid "Width"
|
367 |
+
msgstr "Largura"
|
368 |
+
|
369 |
+
#: includes/wpua-options-page.php:243
|
370 |
+
msgid "Height"
|
371 |
+
msgstr "Altura"
|
372 |
+
|
373 |
+
#: includes/wpua-options-page.php:251
|
374 |
+
msgid "Crop avatars to exact dimensions"
|
375 |
+
msgstr "Recorte avatares nas dimensões exatas"
|
376 |
+
|
377 |
+
#: includes/wpua-options-page.php:273 includes/wpua-options-page.php:279
|
378 |
+
msgid "Avatar Display"
|
379 |
+
msgstr "Exibição de Avatar"
|
380 |
+
|
381 |
+
#: includes/wpua-options-page.php:286
|
382 |
+
msgid "Show Avatars"
|
383 |
+
msgstr "Mostrar Avatares"
|
384 |
+
|
385 |
+
#: includes/wpua-options-page.php:293 includes/wpua-options-page.php:299
|
386 |
+
msgid "Maximum Rating"
|
387 |
+
msgstr "Classificação Máxima"
|
388 |
+
|
389 |
+
#: includes/wpua-options-page.php:305
|
390 |
+
msgid "G — Suitable for all audiences"
|
391 |
+
msgstr "G — Adequado para todos os públicos"
|
392 |
+
|
393 |
+
#: includes/wpua-options-page.php:306
|
394 |
+
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
395 |
+
msgstr ""
|
396 |
+
"PG — Possivelmente ofensivo, geralmente para públicos a partir de 13 "
|
397 |
+
"anos"
|
398 |
+
|
399 |
+
#: includes/wpua-options-page.php:307
|
400 |
+
msgid "R — Intended for adult audiences above 17"
|
401 |
+
msgstr "R — Destinado ao público adulto acima de 17"
|
402 |
+
|
403 |
+
#: includes/wpua-options-page.php:308
|
404 |
+
msgid "X — Even more mature than above"
|
405 |
+
msgstr "X — Ainda mais maduro do que acima"
|
406 |
+
|
407 |
+
#: includes/wpua-options-page.php:337
|
408 |
+
msgid ""
|
409 |
+
"For users without a custom avatar of their own, you can either display a "
|
410 |
+
"generic logo or a generated one based on their e-mail address."
|
411 |
+
msgstr ""
|
412 |
+
"Para usuários sem avatar personalizado, você pode exibir um logotipo "
|
413 |
+
"genérico ou gerado com base em seus endereça de e-mail."
|
414 |
+
|
415 |
+
#: includes/wpua-tinymce-window.php:101
|
416 |
+
msgid "User Name"
|
417 |
+
msgstr "Nome do usuário"
|
418 |
+
|
419 |
+
#: includes/wpua-tinymce-window.php:121 includes/wpua-tinymce-window.php:134
|
420 |
+
msgid "Size:"
|
421 |
+
msgstr "Tamanho:"
|
422 |
+
|
423 |
+
#: includes/wpua-tinymce-window.php:126
|
424 |
+
msgid "Large"
|
425 |
+
msgstr "Grande"
|
426 |
+
|
427 |
+
#: includes/wpua-tinymce-window.php:127
|
428 |
+
msgid "Medium"
|
429 |
+
msgstr "Média"
|
430 |
+
|
431 |
+
#: includes/wpua-tinymce-window.php:129
|
432 |
+
msgid "Custom"
|
433 |
+
msgstr "Personalizado"
|
434 |
+
|
435 |
+
#: includes/wpua-tinymce-window.php:140
|
436 |
+
msgid "Alignment:"
|
437 |
+
msgstr "Alinhamento:"
|
438 |
+
|
439 |
+
#: includes/wpua-tinymce-window.php:144
|
440 |
+
msgid "Center"
|
441 |
+
msgstr "Centro"
|
442 |
+
|
443 |
+
#: includes/wpua-tinymce-window.php:145
|
444 |
+
msgid "Left"
|
445 |
+
msgstr "Esquerda"
|
446 |
+
|
447 |
+
#: includes/wpua-tinymce-window.php:146
|
448 |
+
msgid "Right"
|
449 |
+
msgstr "Direita"
|
450 |
+
|
451 |
+
#: includes/wpua-tinymce-window.php:151
|
452 |
+
msgid "Link To:"
|
453 |
+
msgstr "Ligar a:"
|
454 |
+
|
455 |
+
#: includes/wpua-tinymce-window.php:155
|
456 |
+
msgid "Image File"
|
457 |
+
msgstr "Ficheiro de imagem"
|
458 |
+
|
459 |
+
#: includes/wpua-tinymce-window.php:156
|
460 |
+
msgid "Attachment Page"
|
461 |
+
msgstr "Página do anexo"
|
462 |
+
|
463 |
+
#: includes/wpua-tinymce-window.php:157
|
464 |
+
msgid "Custom URL"
|
465 |
+
msgstr "URL personalizado"
|
466 |
+
|
467 |
+
#: includes/wpua-tinymce-window.php:162
|
468 |
+
msgid "URL:"
|
469 |
+
msgstr "URL:"
|
470 |
+
|
471 |
+
#: includes/wpua-tinymce-window.php:170
|
472 |
+
msgid "Open link in a new window"
|
473 |
+
msgstr "Abrir link em uma nova janela"
|
474 |
+
|
475 |
+
#: includes/wpua-tinymce-window.php:174
|
476 |
+
msgid "Caption"
|
477 |
+
msgstr "Legenda"
|
478 |
+
|
479 |
+
#: includes/wpua-tinymce-window.php:180 includes/wpua-tinymce-window.php:192
|
480 |
+
msgid "Insert into Post"
|
481 |
+
msgstr "Inserir no artigo"
|
482 |
+
|
483 |
+
#: includes/wpua-tinymce.php:70
|
484 |
+
msgid "Insert Avatar"
|
485 |
+
msgstr "Inserir avatar"
|
486 |
+
|
487 |
+
#. translators: placeholder for <a> and </a> tags.
|
488 |
+
#: one-user-avatar.php:127
|
489 |
+
msgid ""
|
490 |
+
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
491 |
+
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
492 |
+
msgstr ""
|
493 |
+
"O plugin One User Avatar é uma substituição do antigo plugin WP User Avatar. "
|
494 |
+
"%1$sDesative o WP User Avatar%2$s para começar a usá-lo."
|
languages/ro_RO.mo
CHANGED
Binary file
|
languages/ro_RO.po
CHANGED
@@ -2,26 +2,26 @@
|
|
2 |
# This file is distributed under the same license as the One User Avatar plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: One User Avatar 2.3.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
11 |
"Language: ro_RO\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
-
"X-Generator: Poedit
|
16 |
"X-Domain: one-user-avatar\n"
|
17 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n==0 || (n!=1 && n%100>=1 && n"
|
18 |
"%100<=19) ? 1 : 2);\n"
|
19 |
|
20 |
#. Plugin Name of the plugin
|
21 |
-
#: includes/class-wp-user-avatar-admin.php:
|
22 |
-
#: includes/class-wp-user-avatar-admin.php:
|
23 |
#: includes/class-wp-user-avatar-widget.php:32
|
24 |
-
#: includes/wpua-options-page.php:
|
25 |
msgid "One User Avatar"
|
26 |
msgstr "One User Avatar"
|
27 |
|
@@ -46,102 +46,103 @@ msgstr "One Designs"
|
|
46 |
msgid "https://onedesigns.com/"
|
47 |
msgstr "https://onedesigns.com/"
|
48 |
|
49 |
-
#: includes/class-wp-user-avatar-admin.php:
|
50 |
msgid "You are not allowed to delete this post."
|
51 |
msgstr "Nu ai voie să ștergi această postare."
|
52 |
|
53 |
-
#: includes/class-wp-user-avatar-admin.php:
|
54 |
msgid "Error in deleting."
|
55 |
msgstr "Eroare la ștergere."
|
56 |
|
57 |
-
#: includes/class-wp-user-avatar-admin.php:
|
58 |
-
#: includes/class-wp-user-avatar-admin.php:
|
59 |
msgid "Avatars"
|
60 |
msgstr "Avatare"
|
61 |
|
62 |
-
#: includes/class-wp-user-avatar-admin.php:
|
63 |
-
#: includes/class-wp-user-avatar-admin.php:
|
64 |
-
#: includes/class-wp-user-avatar-admin.php:
|
65 |
-
#: includes/wpua-options-page.php:
|
66 |
msgid "Settings"
|
67 |
msgstr "Setări"
|
68 |
|
69 |
-
#: includes/class-wp-user-avatar-admin.php:
|
70 |
-
#: includes/class-wp-user-avatar-admin.php:
|
71 |
msgid "Library"
|
72 |
msgstr "Bibliotecă"
|
73 |
|
74 |
-
#: includes/class-wp-user-avatar-admin.php:
|
75 |
msgid "Mystery Man"
|
76 |
msgstr "Omul misterios"
|
77 |
|
78 |
-
#: includes/class-wp-user-avatar-admin.php:
|
79 |
msgid "Blank"
|
80 |
msgstr "Gol"
|
81 |
|
82 |
-
#: includes/class-wp-user-avatar-admin.php:
|
83 |
msgid "Gravatar Logo"
|
84 |
msgstr "Logo Gravatar"
|
85 |
|
86 |
-
#: includes/class-wp-user-avatar-admin.php:
|
87 |
msgid "Identicon (Generated)"
|
88 |
msgstr "Identicon (Generat)"
|
89 |
|
90 |
-
#: includes/class-wp-user-avatar-admin.php:
|
91 |
msgid "Wavatar (Generated)"
|
92 |
msgstr "Wavatar (Generat)"
|
93 |
|
94 |
-
#: includes/class-wp-user-avatar-admin.php:
|
95 |
msgid "MonsterID (Generated)"
|
96 |
msgstr "MonsterID (Generat)"
|
97 |
|
98 |
-
#: includes/class-wp-user-avatar-admin.php:
|
99 |
msgid "Retro (Generated)"
|
100 |
msgstr "Retro (Generat)"
|
101 |
|
102 |
-
#: includes/class-wp-user-avatar-admin.php:
|
103 |
-
#: includes/class-wp-user-avatar.php:
|
104 |
msgid "Choose Image"
|
105 |
msgstr "Alege imagine"
|
106 |
|
107 |
-
#: includes/class-wp-user-avatar-admin.php:
|
108 |
msgid "Remove"
|
109 |
msgstr "Elimină"
|
110 |
|
111 |
-
#: includes/class-wp-user-avatar-admin.php:
|
112 |
-
#: includes/class-wp-user-avatar.php:
|
113 |
msgid "Undo"
|
114 |
msgstr "Anulează"
|
115 |
|
116 |
-
#: includes/class-wp-user-avatar-admin.php:
|
|
|
|
|
|
|
|
|
117 |
msgid "Support Forums"
|
118 |
msgstr "Forumuri de asistență"
|
119 |
|
120 |
-
#: includes/class-wp-user-avatar-admin.php:
|
121 |
-
#: includes/class-wp-user-avatar-admin.php:
|
122 |
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
123 |
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
124 |
msgid "Profile Picture"
|
125 |
msgstr "Poză de profil"
|
126 |
|
127 |
-
#: includes/class-wp-user-avatar-admin.php:
|
128 |
-
#: includes/wpua-options-page.php:
|
129 |
msgid "Default Avatar"
|
130 |
msgstr "Avatar implicit"
|
131 |
|
132 |
#: includes/class-wp-user-avatar-functions.php:515
|
133 |
-
#: includes/class-wp-user-avatar-functions.php:
|
134 |
msgid "Avatar"
|
135 |
msgstr "Avatar"
|
136 |
|
137 |
#. translators: uploaded files
|
138 |
-
#: includes/class-wp-user-avatar-list-table.php:
|
139 |
msgctxt "uploaded files"
|
140 |
msgid "All %s"
|
141 |
-
|
142 |
-
msgstr[0] "Toate %s"
|
143 |
-
msgstr[1] "Toate %s"
|
144 |
-
msgstr[2] "Toate %s"
|
145 |
|
146 |
#: includes/class-wp-user-avatar-list-table.php:192
|
147 |
#: includes/class-wp-user-avatar-list-table.php:549
|
@@ -222,7 +223,7 @@ msgstr ""
|
|
222 |
"necesitat de către One User Avatar. Vă rugăm să adăugați acest apel la "
|
223 |
"șabloanele de pagină."
|
224 |
|
225 |
-
#: includes/class-wp-user-avatar-shortcode.php:
|
226 |
msgid "Profile updated."
|
227 |
msgstr "Profil actualizat."
|
228 |
|
@@ -248,49 +249,49 @@ msgid "Automatically add paragraphs"
|
|
248 |
msgstr "Adaugă paragrafe automat"
|
249 |
|
250 |
#. translators: user display name
|
251 |
-
#: includes/class-wp-user-avatar.php:
|
252 |
msgid "Choose Image: %s"
|
253 |
msgstr "Alege imagine: %s"
|
254 |
|
255 |
-
#: includes/class-wp-user-avatar.php:
|
256 |
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
257 |
msgid "Upload"
|
258 |
msgstr "Încărcare"
|
259 |
|
260 |
#. translators: file size in KB
|
261 |
-
#: includes/class-wp-user-avatar.php:
|
262 |
msgid "Maximum upload file size: %s."
|
263 |
msgstr "Dimensiunea maximă a fișierului pentru încărcat: %s."
|
264 |
|
265 |
#. translators: allowed file extensions
|
266 |
-
#: includes/class-wp-user-avatar.php:
|
267 |
msgid "Allowed Files: %s"
|
268 |
msgstr "Fișiere permise: %s"
|
269 |
|
270 |
-
#: includes/class-wp-user-avatar.php:
|
271 |
#: includes/wpua-tinymce-window.php:125
|
272 |
msgid "Original Size"
|
273 |
msgstr "Mărimea originală"
|
274 |
|
275 |
-
#: includes/class-wp-user-avatar.php:
|
276 |
#: includes/wpua-tinymce-window.php:128
|
277 |
msgid "Thumbnail"
|
278 |
msgstr "Thumbnail"
|
279 |
|
280 |
-
#: includes/class-wp-user-avatar.php:
|
281 |
msgid "Remove Image"
|
282 |
msgstr "Elimină imaginea"
|
283 |
|
284 |
-
#: includes/class-wp-user-avatar.php:
|
285 |
msgid "This file is not an image. Please try another."
|
286 |
msgstr "Acest fișier nu este o imagine. Încearcă altul."
|
287 |
|
288 |
-
#: includes/class-wp-user-avatar.php:
|
289 |
msgid "Memory exceeded. Please try another smaller file."
|
290 |
msgstr "Memoria depășită. Încearcă un alt fișier mai mic."
|
291 |
|
292 |
#. translators: directory path
|
293 |
-
#: includes/class-wp-user-avatar.php:
|
294 |
msgid ""
|
295 |
"Unable to create directory %s. Is its parent directory writable by the "
|
296 |
"server?"
|
@@ -315,81 +316,95 @@ msgstr "Rezultatele căutării pentru: %s"
|
|
315 |
msgid "Search"
|
316 |
msgstr "Căutare"
|
317 |
|
318 |
-
#: includes/wpua-options-page.php:
|
319 |
msgid "Add avatar button to Visual Editor"
|
320 |
msgstr "Adăugați butonul avatar în editorul vizual"
|
321 |
|
322 |
-
#: includes/wpua-options-page.php:
|
323 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
324 |
msgstr "Permiteți colaboratorilor și abonaților să încarce avatare"
|
325 |
|
326 |
-
#: includes/wpua-options-page.php:
|
327 |
msgid "Disable Gravatar and use only local avatars"
|
328 |
msgstr "Dezactivați Gravatar și utilizați numai avataruri locale"
|
329 |
|
330 |
-
#: includes/wpua-options-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
331 |
msgid "Upload Size Limit"
|
332 |
msgstr "Limita de dimensiune a încărcării"
|
333 |
|
334 |
-
#: includes/wpua-options-page.php:
|
335 |
msgid "(only for Contributors & Subscribers)"
|
336 |
msgstr "(numai pentru colaboratori și abonați)"
|
337 |
|
338 |
#. translators: file name
|
339 |
-
#: includes/wpua-options-page.php:
|
340 |
msgid "%s exceeds the maximum upload size for this site."
|
341 |
msgstr "%s depășește dimensiunea maximă de încărcare pentru acest site."
|
342 |
|
343 |
-
#: includes/wpua-options-page.php:
|
344 |
msgid "Allow users to edit avatars"
|
345 |
msgstr "Permiteți utilizatorilor să editeze avatare"
|
346 |
|
347 |
-
#: includes/wpua-options-page.php:
|
348 |
msgid "Resize avatars on upload"
|
349 |
msgstr "Redimensionați avatarurile la încărcare"
|
350 |
|
351 |
-
#: includes/wpua-options-page.php:
|
352 |
msgid "Width"
|
353 |
msgstr "Lăţime"
|
354 |
|
355 |
-
#: includes/wpua-options-page.php:
|
356 |
msgid "Height"
|
357 |
msgstr "Înălţime"
|
358 |
|
359 |
-
#: includes/wpua-options-page.php:
|
360 |
msgid "Crop avatars to exact dimensions"
|
361 |
msgstr "Decupați avatare la dimensiuni exacte"
|
362 |
|
363 |
-
#: includes/wpua-options-page.php:
|
364 |
msgid "Avatar Display"
|
365 |
msgstr "Afișare avatar"
|
366 |
|
367 |
-
#: includes/wpua-options-page.php:
|
368 |
msgid "Show Avatars"
|
369 |
msgstr "Afișați avatare"
|
370 |
|
371 |
-
#: includes/wpua-options-page.php:
|
372 |
msgid "Maximum Rating"
|
373 |
msgstr "Limită de vârstă"
|
374 |
|
375 |
-
#: includes/wpua-options-page.php:
|
376 |
msgid "G — Suitable for all audiences"
|
377 |
msgstr "G — Potrivit pentru toate vârstele"
|
378 |
|
379 |
-
#: includes/wpua-options-page.php:
|
380 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
381 |
msgstr ""
|
382 |
"PG — Eventual ofensator, de obicei pentru vârsta de 13 ani și peste"
|
383 |
|
384 |
-
#: includes/wpua-options-page.php:
|
385 |
msgid "R — Intended for adult audiences above 17"
|
386 |
msgstr "R — Destinat adulților cu vârsta peste 17 ani"
|
387 |
|
388 |
-
#: includes/wpua-options-page.php:
|
389 |
msgid "X — Even more mature than above"
|
390 |
msgstr "X — Și mai maturi decât cele de mai sus"
|
391 |
|
392 |
-
#: includes/wpua-options-page.php:
|
393 |
msgid ""
|
394 |
"For users without a custom avatar of their own, you can either display a "
|
395 |
"generic logo or a generated one based on their e-mail address."
|
@@ -470,7 +485,7 @@ msgid "Insert Avatar"
|
|
470 |
msgstr "Introdu avatar"
|
471 |
|
472 |
#. translators: placeholder for <a> and </a> tags.
|
473 |
-
#: one-user-avatar.php:
|
474 |
msgid ""
|
475 |
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
476 |
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
2 |
# This file is distributed under the same license as the One User Avatar plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: One User Avatar 2.3.4\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
+
"POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
|
8 |
+
"PO-Revision-Date: 2021-06-22 21:38+0200\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
11 |
"Language: ro_RO\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 3.0\n"
|
16 |
"X-Domain: one-user-avatar\n"
|
17 |
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n==0 || (n!=1 && n%100>=1 && n"
|
18 |
"%100<=19) ? 1 : 2);\n"
|
19 |
|
20 |
#. Plugin Name of the plugin
|
21 |
+
#: includes/class-wp-user-avatar-admin.php:228
|
22 |
+
#: includes/class-wp-user-avatar-admin.php:428
|
23 |
#: includes/class-wp-user-avatar-widget.php:32
|
24 |
+
#: includes/wpua-options-page.php:69 includes/wpua-tinymce-window.php:31
|
25 |
msgid "One User Avatar"
|
26 |
msgstr "One User Avatar"
|
27 |
|
46 |
msgid "https://onedesigns.com/"
|
47 |
msgstr "https://onedesigns.com/"
|
48 |
|
49 |
+
#: includes/class-wp-user-avatar-admin.php:171
|
50 |
msgid "You are not allowed to delete this post."
|
51 |
msgstr "Nu ai voie să ștergi această postare."
|
52 |
|
53 |
+
#: includes/class-wp-user-avatar-admin.php:175
|
54 |
msgid "Error in deleting."
|
55 |
msgstr "Eroare la ștergere."
|
56 |
|
57 |
+
#: includes/class-wp-user-avatar-admin.php:229
|
58 |
+
#: includes/class-wp-user-avatar-admin.php:287 includes/wpua-media-page.php:59
|
59 |
msgid "Avatars"
|
60 |
msgstr "Avatare"
|
61 |
|
62 |
+
#: includes/class-wp-user-avatar-admin.php:238
|
63 |
+
#: includes/class-wp-user-avatar-admin.php:239
|
64 |
+
#: includes/class-wp-user-avatar-admin.php:464
|
65 |
+
#: includes/wpua-options-page.php:107
|
66 |
msgid "Settings"
|
67 |
msgstr "Setări"
|
68 |
|
69 |
+
#: includes/class-wp-user-avatar-admin.php:247
|
70 |
+
#: includes/class-wp-user-avatar-admin.php:248
|
71 |
msgid "Library"
|
72 |
msgstr "Bibliotecă"
|
73 |
|
74 |
+
#: includes/class-wp-user-avatar-admin.php:374
|
75 |
msgid "Mystery Man"
|
76 |
msgstr "Omul misterios"
|
77 |
|
78 |
+
#: includes/class-wp-user-avatar-admin.php:375
|
79 |
msgid "Blank"
|
80 |
msgstr "Gol"
|
81 |
|
82 |
+
#: includes/class-wp-user-avatar-admin.php:376
|
83 |
msgid "Gravatar Logo"
|
84 |
msgstr "Logo Gravatar"
|
85 |
|
86 |
+
#: includes/class-wp-user-avatar-admin.php:377
|
87 |
msgid "Identicon (Generated)"
|
88 |
msgstr "Identicon (Generat)"
|
89 |
|
90 |
+
#: includes/class-wp-user-avatar-admin.php:378
|
91 |
msgid "Wavatar (Generated)"
|
92 |
msgstr "Wavatar (Generat)"
|
93 |
|
94 |
+
#: includes/class-wp-user-avatar-admin.php:379
|
95 |
msgid "MonsterID (Generated)"
|
96 |
msgstr "MonsterID (Generat)"
|
97 |
|
98 |
+
#: includes/class-wp-user-avatar-admin.php:380
|
99 |
msgid "Retro (Generated)"
|
100 |
msgstr "Retro (Generat)"
|
101 |
|
102 |
+
#: includes/class-wp-user-avatar-admin.php:429
|
103 |
+
#: includes/class-wp-user-avatar.php:234
|
104 |
msgid "Choose Image"
|
105 |
msgstr "Alege imagine"
|
106 |
|
107 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
108 |
msgid "Remove"
|
109 |
msgstr "Elimină"
|
110 |
|
111 |
+
#: includes/class-wp-user-avatar-admin.php:430
|
112 |
+
#: includes/class-wp-user-avatar.php:295
|
113 |
msgid "Undo"
|
114 |
msgstr "Anulează"
|
115 |
|
116 |
+
#: includes/class-wp-user-avatar-admin.php:482
|
117 |
+
msgid "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
118 |
+
msgstr "https://onedesigns.com/support/forum/plugins/one-user-avatar/"
|
119 |
+
|
120 |
+
#: includes/class-wp-user-avatar-admin.php:483
|
121 |
msgid "Support Forums"
|
122 |
msgstr "Forumuri de asistență"
|
123 |
|
124 |
+
#: includes/class-wp-user-avatar-admin.php:497
|
125 |
+
#: includes/class-wp-user-avatar-admin.php:558 includes/wpua-functions.php:93
|
126 |
#: includes/wpua-functions.php:106 includes/wpua-functions.php:114
|
127 |
#: includes/wpua-functions.php:186 includes/wpua-tinymce-window.php:94
|
128 |
msgid "Profile Picture"
|
129 |
msgstr "Poză de profil"
|
130 |
|
131 |
+
#: includes/class-wp-user-avatar-admin.php:562
|
132 |
+
#: includes/wpua-options-page.php:327 includes/wpua-options-page.php:333
|
133 |
msgid "Default Avatar"
|
134 |
msgstr "Avatar implicit"
|
135 |
|
136 |
#: includes/class-wp-user-avatar-functions.php:515
|
137 |
+
#: includes/class-wp-user-avatar-functions.php:716
|
138 |
msgid "Avatar"
|
139 |
msgstr "Avatar"
|
140 |
|
141 |
#. translators: uploaded files
|
142 |
+
#: includes/class-wp-user-avatar-list-table.php:176
|
143 |
msgctxt "uploaded files"
|
144 |
msgid "All %s"
|
145 |
+
msgstr "Toate %s"
|
|
|
|
|
|
|
146 |
|
147 |
#: includes/class-wp-user-avatar-list-table.php:192
|
148 |
#: includes/class-wp-user-avatar-list-table.php:549
|
223 |
"necesitat de către One User Avatar. Vă rugăm să adăugați acest apel la "
|
224 |
"șabloanele de pagină."
|
225 |
|
226 |
+
#: includes/class-wp-user-avatar-shortcode.php:243
|
227 |
msgid "Profile updated."
|
228 |
msgstr "Profil actualizat."
|
229 |
|
249 |
msgstr "Adaugă paragrafe automat"
|
250 |
|
251 |
#. translators: user display name
|
252 |
+
#: includes/class-wp-user-avatar.php:230
|
253 |
msgid "Choose Image: %s"
|
254 |
msgstr "Alege imagine: %s"
|
255 |
|
256 |
+
#: includes/class-wp-user-avatar.php:246 includes/class-wp-user-avatar.php:247
|
257 |
#: includes/wpua-tinymce-window.php:95 includes/wpua-tinymce-window.php:186
|
258 |
msgid "Upload"
|
259 |
msgstr "Încărcare"
|
260 |
|
261 |
#. translators: file size in KB
|
262 |
+
#: includes/class-wp-user-avatar.php:256 includes/wpua-options-page.php:215
|
263 |
msgid "Maximum upload file size: %s."
|
264 |
msgstr "Dimensiunea maximă a fișierului pentru încărcat: %s."
|
265 |
|
266 |
#. translators: allowed file extensions
|
267 |
+
#: includes/class-wp-user-avatar.php:266
|
268 |
msgid "Allowed Files: %s"
|
269 |
msgstr "Fișiere permise: %s"
|
270 |
|
271 |
+
#: includes/class-wp-user-avatar.php:279 includes/class-wp-user-avatar.php:281
|
272 |
#: includes/wpua-tinymce-window.php:125
|
273 |
msgid "Original Size"
|
274 |
msgstr "Mărimea originală"
|
275 |
|
276 |
+
#: includes/class-wp-user-avatar.php:285 includes/class-wp-user-avatar.php:287
|
277 |
#: includes/wpua-tinymce-window.php:128
|
278 |
msgid "Thumbnail"
|
279 |
msgstr "Thumbnail"
|
280 |
|
281 |
+
#: includes/class-wp-user-avatar.php:291
|
282 |
msgid "Remove Image"
|
283 |
msgstr "Elimină imaginea"
|
284 |
|
285 |
+
#: includes/class-wp-user-avatar.php:380
|
286 |
msgid "This file is not an image. Please try another."
|
287 |
msgstr "Acest fișier nu este o imagine. Încearcă altul."
|
288 |
|
289 |
+
#: includes/class-wp-user-avatar.php:385 includes/class-wp-user-avatar.php:417
|
290 |
msgid "Memory exceeded. Please try another smaller file."
|
291 |
msgstr "Memoria depășită. Încearcă un alt fișier mai mic."
|
292 |
|
293 |
#. translators: directory path
|
294 |
+
#: includes/class-wp-user-avatar.php:392
|
295 |
msgid ""
|
296 |
"Unable to create directory %s. Is its parent directory writable by the "
|
297 |
"server?"
|
316 |
msgid "Search"
|
317 |
msgstr "Căutare"
|
318 |
|
319 |
+
#: includes/wpua-options-page.php:122
|
320 |
msgid "Add avatar button to Visual Editor"
|
321 |
msgstr "Adăugați butonul avatar în editorul vizual"
|
322 |
|
323 |
+
#: includes/wpua-options-page.php:133
|
324 |
msgid "Allow Contributors & Subscribers to upload avatars"
|
325 |
msgstr "Permiteți colaboratorilor și abonaților să încarce avatare"
|
326 |
|
327 |
+
#: includes/wpua-options-page.php:144
|
328 |
msgid "Disable Gravatar and use only local avatars"
|
329 |
msgstr "Dezactivați Gravatar și utilizați numai avataruri locale"
|
330 |
|
331 |
+
#: includes/wpua-options-page.php:156
|
332 |
+
msgid "Always use the browser file uploader to upload avatars"
|
333 |
+
msgstr ""
|
334 |
+
"Utilizați întotdeauna încărcătorul de fișiere al browserului pentru a "
|
335 |
+
"încărca avatare"
|
336 |
+
|
337 |
+
#: includes/wpua-options-page.php:157
|
338 |
+
msgid ""
|
339 |
+
"Check this if another plugin is conflicting with the WordPress Media "
|
340 |
+
"Uploader."
|
341 |
+
msgstr ""
|
342 |
+
"Bifați aici dacă un alt plugin este în conflict cu uploaderul media din "
|
343 |
+
"WordPress."
|
344 |
+
|
345 |
+
#: includes/wpua-options-page.php:185 includes/wpua-options-page.php:194
|
346 |
msgid "Upload Size Limit"
|
347 |
msgstr "Limita de dimensiune a încărcării"
|
348 |
|
349 |
+
#: includes/wpua-options-page.php:186 includes/wpua-options-page.php:195
|
350 |
msgid "(only for Contributors & Subscribers)"
|
351 |
msgstr "(numai pentru colaboratori și abonați)"
|
352 |
|
353 |
#. translators: file name
|
354 |
+
#: includes/wpua-options-page.php:205
|
355 |
msgid "%s exceeds the maximum upload size for this site."
|
356 |
msgstr "%s depășește dimensiunea maximă de încărcare pentru acest site."
|
357 |
|
358 |
+
#: includes/wpua-options-page.php:226
|
359 |
msgid "Allow users to edit avatars"
|
360 |
msgstr "Permiteți utilizatorilor să editeze avatare"
|
361 |
|
362 |
+
#: includes/wpua-options-page.php:234
|
363 |
msgid "Resize avatars on upload"
|
364 |
msgstr "Redimensionați avatarurile la încărcare"
|
365 |
|
366 |
+
#: includes/wpua-options-page.php:239
|
367 |
msgid "Width"
|
368 |
msgstr "Lăţime"
|
369 |
|
370 |
+
#: includes/wpua-options-page.php:243
|
371 |
msgid "Height"
|
372 |
msgstr "Înălţime"
|
373 |
|
374 |
+
#: includes/wpua-options-page.php:251
|
375 |
msgid "Crop avatars to exact dimensions"
|
376 |
msgstr "Decupați avatare la dimensiuni exacte"
|
377 |
|
378 |
+
#: includes/wpua-options-page.php:273 includes/wpua-options-page.php:279
|
379 |
msgid "Avatar Display"
|
380 |
msgstr "Afișare avatar"
|
381 |
|
382 |
+
#: includes/wpua-options-page.php:286
|
383 |
msgid "Show Avatars"
|
384 |
msgstr "Afișați avatare"
|
385 |
|
386 |
+
#: includes/wpua-options-page.php:293 includes/wpua-options-page.php:299
|
387 |
msgid "Maximum Rating"
|
388 |
msgstr "Limită de vârstă"
|
389 |
|
390 |
+
#: includes/wpua-options-page.php:305
|
391 |
msgid "G — Suitable for all audiences"
|
392 |
msgstr "G — Potrivit pentru toate vârstele"
|
393 |
|
394 |
+
#: includes/wpua-options-page.php:306
|
395 |
msgid "PG — Possibly offensive, usually for audiences 13 and above"
|
396 |
msgstr ""
|
397 |
"PG — Eventual ofensator, de obicei pentru vârsta de 13 ani și peste"
|
398 |
|
399 |
+
#: includes/wpua-options-page.php:307
|
400 |
msgid "R — Intended for adult audiences above 17"
|
401 |
msgstr "R — Destinat adulților cu vârsta peste 17 ani"
|
402 |
|
403 |
+
#: includes/wpua-options-page.php:308
|
404 |
msgid "X — Even more mature than above"
|
405 |
msgstr "X — Și mai maturi decât cele de mai sus"
|
406 |
|
407 |
+
#: includes/wpua-options-page.php:337
|
408 |
msgid ""
|
409 |
"For users without a custom avatar of their own, you can either display a "
|
410 |
"generic logo or a generated one based on their e-mail address."
|
485 |
msgstr "Introdu avatar"
|
486 |
|
487 |
#. translators: placeholder for <a> and </a> tags.
|
488 |
+
#: one-user-avatar.php:127
|
489 |
msgid ""
|
490 |
"The plugin One User Avatar is a replacement for the old WP User Avatar "
|
491 |
"plugin. Please %1$sdeactivate WP User Avatar%2$s to start using it."
|
one-user-avatar.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://onedesigns.com/plugins/one-user-avatar/
|
|
5 |
Description: Use any image from your WordPress Media Library as a custom user avatar. Add your own Default Avatar. Fork of WP User Avatar v2.2.16.
|
6 |
Author: One Designs
|
7 |
Author URI: https://onedesigns.com/
|
8 |
-
Version: 2.3.
|
9 |
Text Domain: one-user-avatar
|
10 |
Domain Path: /languages/
|
11 |
|
@@ -75,10 +75,19 @@ class One_User_Avatar {
|
|
75 |
}
|
76 |
|
77 |
/**
|
78 |
-
*
|
79 |
*
|
80 |
* @since 2.3.0
|
81 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
public function conflict_admin_notice() {
|
83 |
global $pagenow, $status, $pagenum, $s;
|
84 |
|
@@ -92,12 +101,10 @@ class One_User_Avatar {
|
|
92 |
return;
|
93 |
}
|
94 |
|
95 |
-
$url =
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
urlencode( $plugin_file )
|
100 |
-
)
|
101 |
)
|
102 |
);
|
103 |
|
@@ -140,10 +147,10 @@ class One_User_Avatar {
|
|
140 |
function one_user_avatar() {
|
141 |
global $one_user_avatar;
|
142 |
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
|
147 |
-
|
148 |
}
|
149 |
add_action( 'plugins_loaded', 'one_user_avatar', 0 );
|
5 |
Description: Use any image from your WordPress Media Library as a custom user avatar. Add your own Default Avatar. Fork of WP User Avatar v2.2.16.
|
6 |
Author: One Designs
|
7 |
Author URI: https://onedesigns.com/
|
8 |
+
Version: 2.3.4
|
9 |
Text Domain: one-user-avatar
|
10 |
Domain Path: /languages/
|
11 |
|
75 |
}
|
76 |
|
77 |
/**
|
78 |
+
* Access plugin directory path globally
|
79 |
*
|
80 |
* @since 2.3.0
|
81 |
*/
|
82 |
+
public static function plugin_dir_path() {
|
83 |
+
return plugin_dir_path( __FILE__ );
|
84 |
+
}
|
85 |
+
|
86 |
+
/**
|
87 |
+
* Print admin notice error in case of plugin conflict
|
88 |
+
*
|
89 |
+
* @since 2.3.1
|
90 |
+
*/
|
91 |
public function conflict_admin_notice() {
|
92 |
global $pagenow, $status, $pagenum, $s;
|
93 |
|
101 |
return;
|
102 |
}
|
103 |
|
104 |
+
$url = admin_url(
|
105 |
+
sprintf(
|
106 |
+
'plugins.php?action=deactivate&plugin=%s',
|
107 |
+
urlencode( $plugin_file )
|
|
|
|
|
108 |
)
|
109 |
);
|
110 |
|
147 |
function one_user_avatar() {
|
148 |
global $one_user_avatar;
|
149 |
|
150 |
+
if ( ! isset( $one_user_avatar ) ) {
|
151 |
+
$one_user_avatar = new One_User_Avatar();
|
152 |
+
}
|
153 |
|
154 |
+
return $one_user_avatar;
|
155 |
}
|
156 |
add_action( 'plugins_loaded', 'one_user_avatar', 0 );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: onedesigns, properfraction, collizo4sky
|
|
4 |
Tags: user profile, avatar, gravatar, author image, author photo, author avatar, bbPress, profile avatar, profile image, user avatar, user image, user photo, widget
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.7.2
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -398,6 +398,25 @@ This would output:
|
|
398 |
|
399 |
== Changelog ==
|
400 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
401 |
= 2.3.0 =
|
402 |
* Rename to One User Avatar
|
403 |
* Rewrite to conform with WordPress Coding Standards
|
4 |
Tags: user profile, avatar, gravatar, author image, author photo, author avatar, bbPress, profile avatar, profile image, user avatar, user image, user photo, widget
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.7.2
|
7 |
+
Stable tag: 2.3.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
398 |
|
399 |
== Changelog ==
|
400 |
|
401 |
+
= 2.3.4 =
|
402 |
+
* Add option to force the file uploader in avatar upload shortcode
|
403 |
+
|
404 |
+
= 2.3.3 =
|
405 |
+
* Fix parse error in PHP 7
|
406 |
+
|
407 |
+
= 2.3.2 =
|
408 |
+
* Fix missing Portuguese translation
|
409 |
+
|
410 |
+
= 2.3.1 =
|
411 |
+
* Add Portuguese translation
|
412 |
+
* Add One_User_Avatar::plugin_dir_path() function
|
413 |
+
* Improve Dutch translation
|
414 |
+
* Remove redundant plural translation for 'All %s'
|
415 |
+
* Make URLs translatable
|
416 |
+
* Remove obsolete translation strings
|
417 |
+
* Fix indentation
|
418 |
+
* Fix nested call to wp_nonce_url()
|
419 |
+
|
420 |
= 2.3.0 =
|
421 |
* Rename to One User Avatar
|
422 |
* Rewrite to conform with WordPress Coding Standards
|
uninstall.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
/**
|
@@ -64,10 +64,10 @@ if ( is_multisite() ) {
|
|
64 |
delete_option( 'wp_user_avatar_default_avatar_updated' );
|
65 |
delete_option( 'wp_user_avatar_media_updated' );
|
66 |
delete_option( 'wp_user_avatar_users_updated' );
|
67 |
-
|
68 |
}
|
69 |
|
70 |
-
|
71 |
} else {
|
72 |
foreach ( $users as $user ) {
|
73 |
delete_user_meta( $user->ID, $wpdb->get_blog_prefix( $blog_id ) . 'user_avatar' );
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.4
|
15 |
*/
|
16 |
|
17 |
/**
|
64 |
delete_option( 'wp_user_avatar_default_avatar_updated' );
|
65 |
delete_option( 'wp_user_avatar_media_updated' );
|
66 |
delete_option( 'wp_user_avatar_users_updated' );
|
67 |
+
delete_option( 'wpua_has_gravatar' );
|
68 |
}
|
69 |
|
70 |
+
restore_current_blog();
|
71 |
} else {
|
72 |
foreach ( $users as $user ) {
|
73 |
delete_user_meta( $user->ID, $wpdb->get_blog_prefix( $blog_id ) . 'user_avatar' );
|