WordPress.org

Plugin Directory

Changeset 1255224


Ignore:
Timestamp:
09/28/15 16:44:23 (2 years ago)
Author:
ZaneMatthew
Message:
  • The "are you a member?" and "already registered?" redirect, Issue #119.
  • Missed translations have been added. Issue #121
  • The "tool tip" text for "Login" now changes to "Logout". Issue #122.
  • Swedish translation is now available. Issue #123.
  • Setting for "Additional styling" was not being displayed when used. Issue #124.
  • Polish translation is now available. Issue #125.

Comments welcomed: http://zanematthew.com/zm-ajax-login-register-version-2-0-1/

Location:
zm-ajax-login-register/trunk
Files:
4 added
10 edited

Legend:

Unmodified
Added
Removed
  • zm-ajax-login-register/trunk/languages/ajax_login_register-fr_FR.po

    r1242602 r1255224  
    11msgid "" 
    22msgstr "" 
    3 "Project-Id-Version: ajax_login_register-fr_FR\n" 
    4 "POT-Creation-Date: 2015-09-08 12:53-0500\n" 
    5 "PO-Revision-Date: \n" 
     3"Project-Id-Version: ZM Ajax Login & Register v2.0.0\n" 
     4"Report-Msgid-Bugs-To: \n" 
     5"POT-Creation-Date: 2015-09-12 19:28-0500\n" 
     6"PO-Revision-Date: 2015-09-12 19:28-0500\n" 
    67"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 
    78"Language-Team: \n" 
    8 "Language: fr\n" 
     9"Language: fr_FR\n" 
    910"MIME-Version: 1.0\n" 
    1011"Content-Type: text/plain; charset=UTF-8\n" 
    1112"Content-Transfer-Encoding: 8bit\n" 
     13"Plural-Forms: nplurals=2; plural=n>1;\n" 
    1214"X-Generator: Poedit 1.6.5\n" 
    13 "Plural-Forms: nplurals=2; plural=(n > 1);\n" 
    14 "X-Poedit-KeywordsList: __;_e;_n;_x;_ex;_nx;esc_attr__;esc_attr_e;esc_attr_x;" 
    15 "esc_html__;esc_html_e;esc_html_x;_n_noop;_nx_noop;translate_nooped_plural\n" 
     15"X-Poedit-SourceCharset: UTF-8\n" 
     16"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" 
     17"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n" 
    1618"X-Poedit-Basepath: ..\n" 
    17 "X-Poedit-SourceCharset: UTF-8\n" 
     19"X-Textdomain-Support: yes\n" 
    1820"X-Poedit-SearchPath-0: .\n" 
    1921 
     22# @ ajax_login_register 
    2023#: deprecated.php:106 deprecated.php:107 src/ALRCore/ALRRegister.php:152 
    2124#, fuzzy 
     
    2326msgstr "Vous êtes déjà inscrit" 
    2427 
     28# @ ajax_login_register 
    2529#: deprecated.php:119 deprecated.php:120 src/ALRCore/ALRLogin.php:132 
    2630msgid "Are you a member?" 
    27 msgstr "" 
    28  
    29 #: lib/lumber/lumber.php:411 
     31msgstr "Devenir membre" 
     32 
     33# @ lumber 
     34#: lib/lumber/lumber.php:420 
    3035msgid "-- Select a Value --" 
    31 msgstr "" 
    32  
    33 #: lib/lumber/lumber.php:885 
     36msgstr "--Choisissez une valeur--" 
     37 
     38# @ lumber_alr_pro 
     39#: lib/lumber/lumber.php:894 
    3440msgid "Upload" 
    35 msgstr "" 
    36  
    37 #: lib/lumber/lumber.php:889 
     41msgstr "Charger" 
     42 
     43# @ lumber_alr_pro_settings 
     44#: lib/lumber/lumber.php:898 
    3845msgid "Remove" 
    39 msgstr "" 
    40  
    41 #: lib/quilt/quilt.php:98 
     46msgstr "Fermer" 
     47 
     48# @ ajax_login_register 
     49#: lib/quilt/quilt.php:116 
    4250msgid "Options saved." 
    43 msgstr "" 
    44  
    45 #: lib/quilt/quilt.php:313 
     51msgstr "Options enregistrées." 
     52 
     53# @ ajax_login_register 
     54#: lib/quilt/quilt.php:331 
    4655msgid "Thank you for using Quilt." 
    47 msgstr "" 
    48  
    49 #: lib/quilt/quilt.php:334 
     56msgstr "Merci d'utiliser Quilt." 
     57 
     58# @ ajax_login_register 
     59#: lib/quilt/quilt.php:352 
    5060msgid "Save Changes" 
    51 msgstr "" 
    52  
    53 #: lib/quilt/quilt.php:336 
     61msgstr "Enregistrer" 
     62 
     63# @ ajax_login_register 
     64#: lib/quilt/quilt.php:354 
    5465msgid "Reset Values" 
    55 msgstr "" 
    56  
    57 #: lib/quilt/quilt.php:340 
     66msgstr "Restaurer" 
     67 
     68# @ ajax_login_register 
     69#: lib/quilt/quilt.php:358 
    5870msgid "Restore ALL Default Values" 
    59 msgstr "" 
    60  
    61 #: lib/quilt/quilt.php:683 
     71msgstr "Tout restaurer" 
     72 
     73# @ ajax_login_register 
     74#: lib/quilt/quilt.php:701 
    6275msgid "Activate" 
    63 msgstr "" 
    64  
    65 #: lib/quilt/quilt.php:691 
     76msgstr "Activer" 
     77 
     78# @ ajax_login_register 
     79#: lib/quilt/quilt.php:709 
    6680msgid "Active" 
    67 msgstr "" 
    68  
    69 #: lib/quilt/quilt.php:692 
     81msgstr "Actif" 
     82 
     83# @ ajax_login_register 
     84#: lib/quilt/quilt.php:710 
    7085msgid "Deactivate" 
    71 msgstr "" 
    72  
    73 #: lib/quilt/quilt.php:695 
     86msgstr "Désactiver" 
     87 
     88# @ ajax_login_register 
     89#: lib/quilt/quilt.php:713 
    7490msgid "Inactive" 
    75 msgstr "" 
    76  
    77 #: lib/quilt/quilt.php:773 
     91msgstr "Inactif" 
     92 
     93# @ ajax_login_register 
     94#: lib/quilt/quilt.php:791 
    7895msgid "This will delete your current settings and restore the defaults." 
    79 msgstr "" 
    80  
    81 #: plugin.php:136 src/ALRCore/ALRLogin.php:103 src/ALRCore/ALRLogin.php:104 
     96msgstr "Cela va effacer vos paramètres et restaurer ceux par défaut." 
     97 
     98# @ ajax_login_register 
     99#: plugin.php:144 src/ALRCore/ALRLogin.php:103 src/ALRCore/ALRLogin.php:104 
    82100#: src/ALRCore/ALRRegister.php:82 src/ALRCore/ALRRegister.php:83 
    83101msgid "Logout" 
    84102msgstr "Se déconnecter" 
    85103 
    86 #: plugin.php:137 
     104# @ ajax_login_register 
     105#: plugin.php:145 
    87106msgid "Close" 
    88 msgstr "" 
    89  
    90 #: plugin.php:139 src/ALRCore/ALRLogin.php:101 
     107msgstr "Fermer" 
     108 
     109# @ ajax_login_register 
     110#: plugin.php:147 src/ALRCore/ALRLogin.php:101 
    91111msgid "You are already logged in" 
    92112msgstr "Vous êtes déjà connecté" 
    93113 
    94 #: plugin.php:140 src/ALRCore/ALRRegister.php:80 
     114# @ ajax_login_register 
     115#: plugin.php:148 src/ALRCore/ALRRegister.php:80 
    95116msgid "You are already registered" 
    96117msgstr "Vous êtes déjà inscrit" 
    97118 
    98 #: plugin.php:207 
    99 #, fuzzy 
    100 msgid "Settings" 
    101 msgstr "Paramètres globaux" 
    102  
    103 #: plugin.php:208 settings.php:61 
    104 msgid "Pro Version" 
    105 msgstr "" 
    106  
    107 #: plugin.php:233 
     119# @ ajax_login_register 
     120#: plugin.php:241 
    108121msgid "" 
    109122"Thanks for installing ZM AJAX Login & Register, be sure to check out the " 
    110123"features in the" 
    111124msgstr "" 
    112  
    113 # fix this sentence in english. 
    114 # Ajax login and registration? (exclude the ;) 
     125"Merci d'avoir installé ZM AJAX Login & Register, soyez sûr de suivre les " 
     126"nouveautés dans" 
     127 
     128#  fix this sentence in english. 
     129#  Ajax login and registration? (exclude the ;) 
     130# @ ajax_login_register 
    115131#: settings.php:19 settings.php:37 
    116132#, fuzzy 
     
    118134msgstr "Connexion Ajax &amp; Inscription" 
    119135 
     136# @ ajax_login_register 
    120137#: settings.php:56 
    121138msgid "Thank you for using ZM AJAX Login & Register" 
    122 msgstr "" 
    123  
     139msgstr "Merci d'utiliser ZM AJAX Login & Register" 
     140 
     141# @ ajax_login_register 
    124142#: settings.php:59 
    125143msgid "Support" 
    126 msgstr "" 
    127  
     144msgstr "Support" 
     145 
     146# @ ajax_login_register 
     147#: settings.php:61 
     148msgid "Pro Version" 
     149msgstr "Version Pro" 
     150 
     151# @ ajax_login_register 
    128152#: src/ALRCore/ALRHelpers.php:22 src/ALRCore/ALRHelpers.php:27 
    129153#: src/ALRCore/ALRHelpers.php:32 
    130154msgid "Invalid username" 
    131 msgstr "" 
    132  
     155msgstr "Pseudo invalide" 
     156 
     157# @ ajax_login_register 
    133158#: src/ALRCore/ALRHelpers.php:38 
    134159msgid "Invalid" 
    135 msgstr "" 
    136  
     160msgstr "Invalide" 
     161 
     162# @ ajax_login_register 
    137163#: src/ALRCore/ALRHelpers.php:43 
    138164msgid "Passwords do not match." 
    139165msgstr "Le mot de passe ne correspond pas." 
    140166 
     167# @ ajax_login_register 
    141168#: src/ALRCore/ALRHelpers.php:54 src/ALRCore/ALRHelpers.php:59 
    142169msgid "Invalid Email" 
    143 msgstr "" 
    144  
     170msgstr "Email invalide" 
     171 
     172# @ ajax_login_register 
    145173#: src/ALRCore/ALRHelpers.php:65 src/ALRCore/ALRHelpers.php:70 
    146174msgid "Success! One moment while we log you in..." 
    147 msgstr "" 
    148  
     175msgstr "Bienvenue ! Un instant, nous vous connectons..." 
     176 
     177# @ ajax_login_register 
    149178#: src/ALRCore/ALRLogin.php:137 
    150 #, fuzzy 
    151179msgid "Forgot Password" 
    152 msgstr "Mot de Passe perdu" 
    153  
    154 #: src/ALRCore/ALRLogin.php:311 
     180msgstr "Mot de Passe oublié" 
     181 
     182#: src/ALRCore/ALRLogin.php:147 
     183msgid "User Name" 
     184msgstr "Pseudo" 
     185 
     186# @ ajax_login_register 
     187#: src/ALRCore/ALRLogin.php:152 
     188#, fuzzy 
     189msgid "Password" 
     190msgstr "Mot de Passe oublié" 
     191 
     192#: src/ALRCore/ALRLogin.php:157 
     193msgid "Keep Me Logged In" 
     194msgstr "Connexion automatique" 
     195 
     196# @ ajax_login_register 
     197#: src/ALRCore/ALRLogin.php:161 src/ALRCore/ALRLogin.php:311 
    155198msgid "Login" 
    156199msgstr "Connexion" 
    157200 
    158 #: src/ALRCore/ALRLogin.php:312 src/ALRCore/ALRRegister.php:371 
     201# @ ajax_login_register 
     202#: src/ALRCore/ALRLogin.php:312 src/ALRCore/ALRRegister.php:372 
    159203msgid "Loading..." 
    160204msgstr "Chargement..." 
    161205 
    162 # Inscripción o registración 
     206#  Inscripción o registración 
     207# @ ajax_login_register 
    163208#: src/ALRCore/ALRRegister.php:94 
    164209msgid "Registration is currently closed." 
    165 msgstr "L'inscription est clôse pour le moment." 
    166  
    167 #: src/ALRCore/ALRRegister.php:370 
     210msgstr "Les inscriptions sont closent pour le moment." 
     211 
     212# @ ajax_login_register 
     213#: src/ALRCore/ALRRegister.php:371 
    168214msgid "Register" 
    169215msgstr "S'inscrire" 
    170216 
     217# @ ajax_login_register 
    171218#: src/ALRDesign/ALRDesign.php:54 
    172219msgid "Design" 
    173 msgstr "" 
    174  
     220msgstr "Design" 
     221 
     222# @ ajax_login_register 
    175223#: src/ALRDesign/ALRDesign.php:58 
    176224msgid "Form Layout" 
    177225msgstr "Style du formulaire" 
    178226 
     227# @ ajax_login_register 
    179228#: src/ALRDesign/ALRDesign.php:61 
    180229msgid "Not applicable in widget areas." 
    181 msgstr "" 
    182  
     230msgstr "Non utilisable dans les widgets." 
     231 
     232# @ ajax_login_register 
    183233#: src/ALRDesign/ALRDesign.php:63 
    184234msgid "Default" 
    185 msgstr "" 
    186  
     235msgstr "Défaut" 
     236 
     237# @ ajax_login_register 
    187238#: src/ALRDesign/ALRDesign.php:64 
    188239msgid "Wide" 
    189 msgstr "" 
    190  
     240msgstr "Large" 
     241 
     242# @ ajax_login_register 
    191243#: src/ALRDesign/ALRDesign.php:69 
    192244msgid "Additional Styling" 
    193245msgstr "Style Additionnel" 
    194246 
    195 # o hecho a la medida 
     247#  o hecho a la medida 
     248# @ ajax_login_register 
    196249#: src/ALRDesign/ALRDesign.php:71 
    197250msgid "Type your custom CSS styles that are applied to the dialog boxes." 
     
    199252"Tapez votre style CSS personnalisé qui sera appliqué aux boites de dialogue." 
    200253 
     254# @ ajax_login_register 
    201255#: src/ALRDesign/ALRDesign.php:77 
    202256#, fuzzy 
     
    204258msgstr "Désactive me laisser connecter" 
    205259 
     260# @ ajax_login_register 
    206261#: src/ALRDesign/ALRDesign.php:78 
    207262msgid "Use this option to disable the check box shown to keep users logged in." 
     
    210265"de rester connecté." 
    211266 
     267# @ ajax_login_register 
    212268#: src/ALRDesign/ALRDesign.php:83 
    213269msgid "Remove Registration" 
    214 msgstr "" 
    215  
     270msgstr "Enlever l'inscription" 
     271 
     272# @ ajax_login_register 
    216273#: src/ALRDesign/ALRDesign.php:84 
    217274msgid "This prevents users from being able to register on the login page." 
    218 msgstr "" 
    219  
     275msgstr "Retirer le lien permettant de s'inscrire depuis la page de connexion." 
     276 
     277# @ ajax_login_register 
    220278#: src/ALRDesign/ALRDesign.php:89 
    221279#, fuzzy 
    222280msgid "Remove Forgot Password" 
    223 msgstr "Mot de Passe perdu" 
    224  
     281msgstr "Enlever Mot de Passe perdu" 
     282 
     283# @ ajax_login_register 
    225284#: src/ALRDesign/ALRDesign.php:90 
    226285msgid "This prevents users from being able to use the \"forgot password\"." 
    227286msgstr "" 
    228  
     287"Cette option empêche vos membres de demander leur \"mot de passe perdu\"." 
     288 
     289# @ ajax_login_register 
    229290#: src/ALRMisc/ALRMisc.php:43 
    230291msgid "Misc." 
    231 msgstr "" 
    232  
    233 # "handle" refiere a lugar donde el usario puede tomar la acción de acceder la página seleccionada 
     292msgstr "Misc." 
     293 
     294#  handle" refiere a lugar donde el usario puede tomar la acción de acceder la página seleccionada 
     295# @ ajax_login_register 
    234296#: src/ALRMisc/ALRMisc.php:47 
    235297msgid "Login Handle" 
    236298msgstr "Gestionnaire de connexion" 
    237299 
    238 # tecla o escribir a máquina 
     300#  tecla o escribir a máquina 
     301# @ ajax_login_register 
    239302#: src/ALRMisc/ALRMisc.php:50 
    240303#, fuzzy 
     
    246309"dialogue, exemple" 
    247310 
     311# @ ajax_login_register 
    248312#: src/ALRMisc/ALRMisc.php:54 
    249313msgid "Register Handle" 
    250314msgstr "Gestionnaire d'inscription" 
    251315 
    252 # tecla o escribir a máquina 
     316#  tecla o escribir a máquina 
     317# @ ajax_login_register 
    253318#: src/ALRMisc/ALRMisc.php:57 
    254319#, fuzzy 
     
    260325"dialogue, exemple" 
    261326 
     327# @ ajax_login_register 
    262328#: src/ALRMisc/ALRMisc.php:61 
    263329#, fuzzy 
     
    265331msgstr "Confirmer le mot de passe" 
    266332 
     333# @ ajax_login_register 
    267334#: src/ALRMisc/ALRMisc.php:64 
    268335msgid "" 
     
    270337"login and or register plugins." 
    271338msgstr "" 
    272  
     339"Utiliser cette option si vous rencontrez des problèmes de compatibilité avec " 
     340"d'autres plugins d'inscription et de connexion." 
     341 
     342# @ ajax_login_register 
    273343#: src/ALRMisc/ALRMisc.php:73 
    274344msgid "Pre-load Forms" 
    275 msgstr "" 
    276  
     345msgstr "Chargement des formulaires" 
     346 
     347# @ ajax_login_register 
    277348#: src/ALRMisc/ALRMisc.php:80 
    278349msgid "" 
     
    280351"prior to being clicked on." 
    281352msgstr "" 
    282  
     353"Cocher cette option pré-chargera les formulaires, autoriser les à être " 
     354"chargé avant d'être cliqué." 
     355 
     356# @ ajax_login_register 
    283357#: src/ALRRedirect/ALRRedirect.php:54 
    284358msgid "Redirect" 
    285 msgstr "" 
    286  
     359msgstr "Redirection" 
     360 
     361# @ ajax_login_register 
    287362#: src/ALRRedirect/ALRRedirect.php:58 
    288363msgid "Redirect After Login URL" 
    289364msgstr "URL de redirection après connexion" 
    290365 
    291 # Zane to remove Slug from this--- 
     366#  Zane to remove Slug from this--- 
     367# @ ajax_login_register 
    292368#: src/ALRRedirect/ALRRedirect.php:63 
    293369msgid "" 
     
    297373"exemple:" 
    298374 
    299 # not translatable? 
     375#  not translatable? 
     376# @ ajax_login_register 
    300377#: src/ALRRedirect/ALRRedirect.php:64 
    301378msgid "http://site.com/, /dashboard/, /wp-admin/" 
    302379msgstr "http://site.com/, /tableau de bord/, /wp-admin/" 
    303380 
     381# @ ajax_login_register 
    304382#: src/ALRSocial/ALRSocial.php:43 
    305383msgid "Social" 
    306 msgstr "" 
    307  
     384msgstr "Social" 
     385 
     386# @ ajax_login_register 
    308387#: src/ALRSocial/ALRSocialFacebook.php:245 
    309388msgid "Log in using Facebook" 
    310 msgstr "" 
    311  
    312 # o configuraciones de Facebook. 
     389msgstr "Connexion via Facebook" 
     390 
     391#  o configuraciones de Facebook. 
     392# @ ajax_login_register 
    313393#: src/ALRSocial/ALRSocialFacebook.php:274 
    314394msgid "Facebook Settings" 
    315395msgstr "Paramètres Facebook" 
    316396 
     397# @ ajax_login_register 
    317398#: src/ALRSocial/ALRSocialFacebook.php:280 
    318399msgid "Enable" 
    319 msgstr "" 
    320  
     400msgstr "Activer" 
     401 
     402# @ ajax_login_register 
    321403#: src/ALRSocial/ALRSocialFacebook.php:282 
    322404msgid "By enabling this setting visitors will be able to login with Facebook." 
    323405msgstr "" 
    324  
     406"En activant cette option, les visiteurs pourront se connecter via Facebook." 
     407 
     408# @ ajax_login_register 
    325409#: src/ALRSocial/ALRSocialFacebook.php:287 
    326410msgid "Login Button" 
    327 msgstr "" 
    328  
     411msgstr "Bouton de connexion" 
     412 
     413# @ ajax_login_register 
    329414#: src/ALRSocial/ALRSocialFacebook.php:289 
    330415msgid "Upload a custom image to be displayed as the Facebook login button." 
    331 msgstr "" 
    332  
     416msgstr "Charger une image à afficher comme bouton de connexion via Facebook." 
     417 
     418# @ ajax_login_register 
    333419#: src/ALRSocial/ALRSocialFacebook.php:294 
    334420msgid "App ID" 
    335421msgstr "ID de l'application" 
    336422 
     423# @ ajax_login_register 
    337424#: src/ALRSocial/ALRSocialFacebook.php:295 
    338425msgid "" 
     
    342429"\"_blank\">How To add Facebook Settings to AJAX Login & Register</a>." 
    343430msgstr "" 
    344  
     431"C'est l'dentifiant de l'application que vous trouvez dans votre <a href=" 
     432"\"https://developers.facebook.com/\">Facebook Developer</a> tableau de bord " 
     433"d'application. Pour des instructions détaillées, merci de visiter <a href=" 
     434"\"http://zanematthew.com/ajax-login-register-help-videos/\" target=\"_blank" 
     435"\">Comment ajouter la connexion via Facebook avec AJAX Login & Register</a>." 
     436 
     437# @ ajax_login_register 
    345438#: src/ALRSocial/ALRSocialFacebook.php:302 
    346439msgid "Use Facebook Avatar" 
    347 msgstr "" 
    348  
     440msgstr "Utiliser l'avatar de Facebook" 
     441 
     442# @ ajax_login_register 
    349443#: src/ALRSocial/ALRSocialFacebook.php:303 
    350444msgid "" 
     
    352446"possible " 
    353447msgstr "" 
    354  
    355 #~ msgid ".login-link" 
    356 #~ msgstr ".login-link" 
    357  
    358 #~ msgid ".register-link" 
    359 #~ msgstr ".register-link" 
    360  
    361 #~ msgid "URL" 
    362 #~ msgstr "URL" 
     448"Cocher cette case pour utiliser la photo de profil Facebook comme avatar " 
     449"quand c'est possible" 
     450 
     451# @ ajax_login_register 
     452#, fuzzy 
     453#~ msgid "Settings" 
     454#~ msgstr "Paramètres globaux" 
  • zm-ajax-login-register/trunk/plugin.php

    r1242602 r1255224  
    55 * Plugin URI: http://zanematthew.com/products/zm-ajax-login-register/ 
    66 * Description: Creates a simple login and register modal with an optional shortcode. 
    7  * Version: 2.0.0 
     7 * Version: 2.0.1 
    88 * Author: Zane Matthew 
    99 * Author URI: http://zanematthew.com/ 
     
    1515define( 'ZM_ALR_NAMESPACE', 'zm_alr' ); 
    1616define( 'ZM_ALR_TEXT_DOMAIN', 'ajax_login_register' ); 
    17 define( 'ZM_ALR_VERSION', '2.0.0' ); 
     17define( 'ZM_ALR_VERSION', '2.0.1' ); 
    1818define( 'ZM_ALR_PLUGIN_FILE', __FILE__ ); 
    1919 
     
    3939require ZM_ALR_PATH . 'src/ALRMisc/ALRMisc.php'; 
    4040require ZM_ALR_PATH . 'src/ALRRedirect/ALRRedirect.php'; 
    41  
    4241 
    4342/** 
  • zm-ajax-login-register/trunk/readme.txt

    r1242602 r1255224  
    5353* French via [@jukd](https://twitter.com/jukd) 
    5454* Italian via [@FilippoAceto](http://www.filippoaceto.it/) 
     55* Polish via [Abdul](http://www.couponmachine.in) 
    5556* Persian via [Behzad](https://www.facebook.com/theme20) 
    5657* Romanian via [Sandu](http://www.vtube.ro/) 
     
    161162 
    162163== Changelog == 
     164 
     165= 2.0.1 = 
     166 
     167 * Adding Swedish translation, [#123](https://github.com/zanematthew/zm-ajax-login-register/issues/123) 
     168 * Bug: Fixed issue where additional styling (textarea CSS) did not show, [#124](https://github.com/zanematthew/zm-ajax-login-register/issues/124) 
     169 * Adding Polish translation, [#125](https://github.com/zanematthew/zm-ajax-login-register/issues/125) 
    163170 
    164171= 2.0.0 = 
  • zm-ajax-login-register/trunk/src/ALRCore/ALRHtml.php

    r1242602 r1255224  
    4242        foreach( $fields as $key => $value ){ 
    4343 
    44             $new_value = apply_filters( 'below_' . $key, null ); 
    4544            $new_fields[ $key ] = $value; 
    46  
    47             // Add the new value, using the key/ 
    48             if ( $new_value ){ 
    49                 $new_fields[ $new_value['key'] ] = $new_value; 
    50  
    51                 // no need to keep the key around, so we remove it, to avoid later confusion. 
    52                 unset( $new_fields[ $new_value['key'] ]['key'] ); 
    53             } 
     45            $new_fields = apply_filters( 'above_' . $key, $new_fields ); 
     46            $new_fields = apply_filters( 'below_' . $key, $new_fields ); 
    5447 
    5548        } 
  • zm-ajax-login-register/trunk/src/ALRCore/ALRLogin.php

    r1242602 r1255224  
    145145        $fields_html = $this->_zm_alr_html->buildFormFieldsHtml( array( 
    146146            $this->prefix . '_user_name' => array( 
    147                 'title' => 'User Name', 
     147                'title' => __( 'User Name', ZM_ALR_TEXT_DOMAIN ), 
    148148                'type' => 'text', 
    149149                'extra' => 'autocorrect="none" autocapitalize="none"' 
    150150                ), 
    151151            $this->prefix . '_password' => array( 
    152                 'title' => 'Password', 
     152                'title' => __( 'Password', ZM_ALR_TEXT_DOMAIN ), 
    153153                'type' => 'password', 
    154154                'extra' => 'autocorrect="none" autocapitalize="none"' 
    155155                ), 
    156156            $this->prefix . '_keep_me_logged_in' => array( 
    157                 'title' => 'Keep Me Logged In', 
     157                'title' => __( 'Keep Me Logged In', ZM_ALR_TEXT_DOMAIN ), 
    158158                'type' => 'checkbox' 
    159159                ), 
    160160            $this->prefix . '_submit_button' => array( 
    161                 'title' => 'Login', 
     161                'title' => __( 'Login', ZM_ALR_TEXT_DOMAIN ), 
    162162                'type' => 'submit' 
    163163                ) 
     
    208208        if ( $is_ajax ) check_ajax_referer('login_submit','security'); 
    209209 
    210         $args = array( 
     210        $args = apply_filters( $this->prefix . '_form_params', array( 
    211211            'user_login' => sanitize_user( $_POST['zm_alr_login_user_name'] ), 
    212212            'password' => $_POST['zm_alr_login_password'], 
    213213            'remember' => empty( $_POST['remember'] ) ? false : ture 
    214         ); 
     214        ) ); 
    215215 
    216216        $pre_status = apply_filters( $this->prefix . '_submit_pre_status_error', $_POST ); 
  • zm-ajax-login-register/trunk/src/ALRCore/ALRRegister.php

    r1242602 r1255224  
    119119        $fields_html = $this->_zm_alr_html->buildFormFieldsHtml( array( 
    120120            $this->prefix . '_user_name' => array( 
    121                 'title' => 'User Name', 
     121                'title' => __( 'User Name', ZM_ALR_TEXT_DOMAIN ), 
    122122                'type' => 'text', 
    123123                'extra' => 'autocorrect="none" autocapitalize="none"' 
    124124                ), 
    125125            $this->prefix . '_email' => array( 
    126                 'title' => 'Email', 
     126                'title' => __( 'Email', ZM_ALR_TEXT_DOMAIN ), 
    127127                'type' => 'email', 
    128128                'extra' => 'autocorrect="none" autocapitalize="none"' 
    129129                ), 
    130130            $this->prefix . '_password' => array( 
    131                 'title' => 'Password', 
     131                'title' => __( 'Password', ZM_ALR_TEXT_DOMAIN ), 
    132132                'type' => 'password', 
    133133                'extra' => 'autocorrect="none" autocapitalize="none"' 
    134134                ), 
    135135            $this->prefix . '_confirm_password' => array( 
    136                 'title' => 'Confirm Password', 
     136                'title' => __( 'Confirm Password', ZM_ALR_TEXT_DOMAIN ), 
    137137                'type' => 'password', 
    138138                'extra' => 'autocorrect="none" autocapitalize="none"' 
    139139                ), 
    140140            $this->prefix . '_submit_button' => array( 
    141                 'title' => 'Register', 
     141                'title' => __( 'Register', ZM_ALR_TEXT_DOMAIN ), 
    142142                'type' => 'submit', 
    143143                'extra' => 'disabled' 
     
    243243        } 
    244244 
    245         $status = array_merge( $status, $this->registerRedirect( $user['user_login'] ) ); 
     245        $status = array_merge( $status, array( 
     246            'redirect_url' => $this->registerRedirect( $user['user_login'], $status['code'] ) ) 
     247        ); 
    246248 
    247249        if ( $is_ajax ) { 
     
    376378 
    377379    public function registerRedirect( $user_login=null, $status=null ){ 
    378         // Since this is handled via an AJAX request $wp->request is always empty 
    379         // @todo Submit to core 
    380         // global $wp; 
    381         // $tmp = trailingslashit( add_query_arg( '', '', site_url( $wp->request ) ) ); 
     380 
    382381        $current_url = empty( $_SERVER['HTTP_REFERER'] ) ? site_url( $_SERVER['REQUEST_URI'] ) : $_SERVER['HTTP_REFERER']; 
    383         $redirect['redirect_url'] = apply_filters( $this->prefix . '_redirect_url', $current_url, $user_login, $stauts ); 
    384  
    385         return $redirect; 
     382 
     383        $redirect_url = apply_filters( $this->prefix . '_redirect_url', $current_url, $user_login, $status ); 
     384 
     385        return $redirect_url; 
    386386    } 
    387387 
  • zm-ajax-login-register/trunk/src/ALRDesign/ALRDesign.php

    r1242602 r1255224  
    154154        ?> 
    155155 
    156         <?php if ( ! empty( $zm_alr_settings[ $this->prefix . '_login_additonal_styling'] ) ) : ?> 
     156        <?php if ( ! empty( $zm_alr_settings[ $this->prefix . '_additonal_styling'] ) ) : ?> 
    157157            <!-- Start: ALR Additional Styling --> 
    158158            <style type="text/css"> 
    159                 <?php echo $zm_alr_settings[ $this->prefix . '_login_additonal_styling']; ?> 
     159                <?php echo $zm_alr_settings[ $this->prefix . '_additonal_styling']; ?> 
    160160            </style> 
    161161            <!-- End: ALR Additional Styling --> 
  • zm-ajax-login-register/trunk/src/ALRMisc/ALRMisc.php

    r1242602 r1255224  
    4242        $settings[ $this->prefix ] = array( 
    4343            'title' => __('Misc.', ZM_ALR_TEXT_DOMAIN ), 
    44             'fields' => array( 
     44            'fields' => apply_filters( $this->prefix . '_settings_fields_tab', array( 
    4545                array( 
    4646                    'id' => $this->prefix . '_login_handle', 
     
    8181                ) 
    8282            ) 
    83         ); 
     83        ) ); 
    8484 
    8585        return array_merge( $current_settings, $settings ); 
  • zm-ajax-login-register/trunk/src/ALRRedirect/ALRRedirect.php

    r1242602 r1255224  
    110110 
    111111        if ( empty( $zm_alr_settings[ $this->prefix . '_redirect_after_login_url'] ) ){ 
    112             global $wp; 
    113             $current_url = trailingslashit( add_query_arg( $wp->query_string, '', home_url( $wp->request ) ) ); 
    114             $url = $settings[ $this->prefix . '_redirect_after_login_url'] = $current_url; 
     112            $url = empty( $_SERVER['HTTP_REFERER'] ) ? site_url( $_SERVER['REQUEST_URI'] ) : $_SERVER['HTTP_REFERER']; 
    115113        } else { 
    116114            $url = get_permalink( $zm_alr_settings[ $this->prefix . '_redirect_after_login_url' ] ); 
Note: See TracChangeset for help on using the changeset viewer.