Version Description
- French localization
- Simplify uninstall code
Download this release
Release Info
Developer | jakemgold |
Plugin | Simple Local Avatars |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.2.1
localization/simple-local-avatars-fr_FR.mo
ADDED
Binary file
|
localization/simple-local-avatars-fr_FR.po
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2010 Simple Local Avatars
|
2 |
+
# This file is distributed under the same license as the Simple Local Avatars package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Simple Local Avatars 1.1\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/simple-local-avatars\n"
|
7 |
+
"POT-Creation-Date: 2011-01-18 16:36:12+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2011-01-27 00:16+0100\n"
|
12 |
+
"Last-Translator: Valentin Brandt <nitraxer@gmail.com>\n"
|
13 |
+
"Language-Team: \n"
|
14 |
+
"X-Poedit-Language: German\n"
|
15 |
+
|
16 |
+
#: simple-local-avatars.php:104
|
17 |
+
msgid "Local Avatar Permissions"
|
18 |
+
msgstr "Permissions des avatars"
|
19 |
+
|
20 |
+
#: simple-local-avatars.php:120
|
21 |
+
msgid "Only allow users with file upload capabilities to upload local avatars (Authors and above)"
|
22 |
+
msgstr "Autoriser uniquement les utilisateurs ayant les capacités d'envoyer un avatar sur le serveur (auteurs)"
|
23 |
+
|
24 |
+
#: simple-local-avatars.php:128
|
25 |
+
msgid "Avatar"
|
26 |
+
msgstr "Avatar"
|
27 |
+
|
28 |
+
#: simple-local-avatars.php:132
|
29 |
+
msgid "Upload Avatar"
|
30 |
+
msgstr "Envoyer un Avatar"
|
31 |
+
|
32 |
+
#: simple-local-avatars.php:148
|
33 |
+
msgid "No local avatar is set. Use the upload field to add a local avatar."
|
34 |
+
msgstr "Il n'y aucun avatar local. Utilisez le champ de téléchargement pour ajouter un avatar local."
|
35 |
+
|
36 |
+
#: simple-local-avatars.php:151
|
37 |
+
msgid "Delete local avatar"
|
38 |
+
msgstr "Supprimer l'avatar local"
|
39 |
+
|
40 |
+
#: simple-local-avatars.php:152
|
41 |
+
msgid "Replace the local avatar by uploading a new avatar, or erase the local avatar (falling back to a gravatar) by checking the delete option."
|
42 |
+
msgstr "Remplacer l'avatar local en envoyant un nouvel avatar, ou effacez-le (vous allez retomber à un gravatar, si disponible) en cochant l'option de suppression."
|
43 |
+
|
44 |
+
#: simple-local-avatars.php:158
|
45 |
+
msgid "No local avatar is set. Set up your avatar at Gravatar.com."
|
46 |
+
msgstr "Aucun avatar local. Configurez votre avatar sur Gravatar.com."
|
47 |
+
|
48 |
+
#: simple-local-avatars.php:161
|
49 |
+
msgid "You do not have media management permissions. To change your local avatar, contact the blog administrator."
|
50 |
+
msgstr "Vous n'avez pas les autorisations nécessaire pour gérer les médias. Pour changer votre avatar local, contacter l'administrateur du blog."
|
51 |
+
|
52 |
+
#. Plugin Name of the plugin/theme
|
53 |
+
msgid "Simple Local Avatars"
|
54 |
+
msgstr "Simple Local Avatars"
|
55 |
+
|
56 |
+
#. Description of the plugin/theme
|
57 |
+
msgid "Adds an avatar upload field to user profiles if the current user has media permissions. Generates requested sizes on demand just like Gravatar! Simple and lightweight."
|
58 |
+
msgstr "Ajoute un champ d'envoi d'avatar pour les profils utilisateurs, si l'utilisateur dispose des autorisations pour gérer les médias du blog. Il est possible de générer de nouvelles tailles, à la demande ! Simple et léger."
|
59 |
+
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.thinkoomph.com/plugins-modules/wordpress-simple-local-av
|
|
4 |
Tags: avatar, gravatar, user photos, users, profile
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.1
|
7 |
-
Stable tag: 1.2
|
8 |
|
9 |
Adds an avatar upload field to user profiles if the current user has media permissions. Generates requested sizes on demand just like Gravatar!
|
10 |
|
@@ -35,6 +35,10 @@ Unlike other avatar plug-ins, Simple Local Avatars:
|
|
35 |
|
36 |
== Changelog ==
|
37 |
|
|
|
|
|
|
|
|
|
38 |
= 1.2 =
|
39 |
* Fix path issues on some IIS servers (resulting in missing avatar images)
|
40 |
* Fix rare uninstall issues related to deleted avatars
|
4 |
Tags: avatar, gravatar, user photos, users, profile
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.1
|
7 |
+
Stable tag: 1.2.1
|
8 |
|
9 |
Adds an avatar upload field to user profiles if the current user has media permissions. Generates requested sizes on demand just like Gravatar!
|
10 |
|
35 |
|
36 |
== Changelog ==
|
37 |
|
38 |
+
= 1.2.1 =
|
39 |
+
* French localization
|
40 |
+
* Simplify uninstall code
|
41 |
+
|
42 |
= 1.2 =
|
43 |
* Fix path issues on some IIS servers (resulting in missing avatar images)
|
44 |
* Fix rare uninstall issues related to deleted avatars
|
simple-local-avatars.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Simple Local Avatars
|
4 |
Plugin URI: http://www.thinkoomph.com/plugins-modules/wordpress-simple-local-avatars/
|
5 |
Description: Adds an avatar upload field to user profiles if the current user has media permissions. Generates requested sizes on demand just like Gravatar! Simple and lightweight.
|
6 |
-
Version: 1.2
|
7 |
Author: Jake Goldman (Oomph, Inc)
|
8 |
Author URI: http://www.thinkoomph.com
|
9 |
|
@@ -275,22 +275,11 @@ register_uninstall_hook( __FILE__, 'simple_local_avatars_uninstall' );
|
|
275 |
|
276 |
function simple_local_avatars_uninstall()
|
277 |
{
|
|
|
278 |
$users = get_users_of_blog();
|
279 |
-
$upload_path = wp_upload_dir();
|
280 |
|
281 |
foreach ( $users as $user )
|
282 |
-
|
283 |
-
if ( $old_avatars = get_user_meta( $user->$user_id, 'simple_local_avatar', true ) )
|
284 |
-
{
|
285 |
-
foreach ($old_avatars as $old_avatar )
|
286 |
-
{
|
287 |
-
$old_avatar_path = str_replace( $upload_path['baseurl'], $upload_path['basedir'], $old_avatar );
|
288 |
-
@unlink( $old_avatar_path );
|
289 |
-
}
|
290 |
-
|
291 |
-
delete_user_meta( $user->$user_id, 'simple_local_avatar' );
|
292 |
-
}
|
293 |
-
}
|
294 |
|
295 |
delete_option('simple_local_avatars_caps');
|
296 |
}
|
3 |
Plugin Name: Simple Local Avatars
|
4 |
Plugin URI: http://www.thinkoomph.com/plugins-modules/wordpress-simple-local-avatars/
|
5 |
Description: Adds an avatar upload field to user profiles if the current user has media permissions. Generates requested sizes on demand just like Gravatar! Simple and lightweight.
|
6 |
+
Version: 1.2.1
|
7 |
Author: Jake Goldman (Oomph, Inc)
|
8 |
Author URI: http://www.thinkoomph.com
|
9 |
|
275 |
|
276 |
function simple_local_avatars_uninstall()
|
277 |
{
|
278 |
+
$simple_local_avatars = new simple_local_avatars;
|
279 |
$users = get_users_of_blog();
|
|
|
280 |
|
281 |
foreach ( $users as $user )
|
282 |
+
$simple_local_avatars->avatar_delete( $user->user_id );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
|
284 |
delete_option('simple_local_avatars_caps');
|
285 |
}
|