Plugin Directory

Changeset 953516


Ignore:
Timestamp:
07/23/2014 02:34:06 PM (12 years ago)
Author:
buildcreate
Message:

Updating translations, fixing RTL support.

Location:
agreeable/trunk
Files:
2 added
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • agreeable/trunk/agreeable.php

    r951069 r953516  
    44Plugin URI: http://wordpress.org/extend/plugins/agreeable
    55Description: Add a required "Agree to terms" checkbox to login and/or register forms.  Based on the I-Agree plugin by Michael Stursberg.
    6 Version: 0.3.4
    7 Author: buildcreate
    8 Author URI: http://buildcreate.com
     6Version: 0.3.4.1
     7Author: kraftpress
     8Author URI: http://kraftpress.it
    99*/
    1010
    11 function ag_action_init() {
     11function ag_language_init() {
    1212    // Localization
    1313    load_plugin_textdomain('agreeable', false, basename( dirname( __FILE__ ) ) . '/languages' );
    1414}
    1515
    16 add_action('init', 'ag_action_init');
    17 
    18 
    19 wp_enqueue_style( 'agreeable-css', plugins_url('css/agreeable.css', __FILE__));
    20 
    21 
    22 function agreeable_lightbox() {
    23     if (!is_admin()) {
     16function ag_admin() {
     17    /* Plugin Stylesheet */
     18    wp_enqueue_style( 'agreeable-css', plugins_url('css/admin.css', __FILE__), '', '0.3.4', 'screen');
     19}
     20
     21function ag_front() {
     22    /* Only load lightbox code on the frontend, where we need it */
    2423        wp_enqueue_script( 'magnific', plugins_url('js/magnific.js', __FILE__),'', '', true);
    2524        wp_enqueue_script( 'agreeable-js', plugins_url('js/agreeable.js', __FILE__), '', '', true);
    26         wp_enqueue_style( 'magnific', plugins_url('css/magnific.css', __FILE__));   
    27     }
    28 }
     25        wp_enqueue_style( 'magnific', plugins_url('css/magnific.css', __FILE__));
     26        wp_enqueue_style( 'magnific', plugins_url('css/front.css', __FILE__)); 
     27}
     28
     29add_action('init', 'ag_language_init');
     30add_action('admin_enqueue_scripts', 'ag_admin');
     31add_action('wp_enqueue_scripts', 'ag_front');
    2932
    3033function ag_authenticate_user_acc($user) {
     
    122125        if($dblightbox == 1) {
    123126       
    124             agreeable_lightbox();
    125127            $term_link = '#terms';
    126128           
  • agreeable/trunk/languages/agreeable-es_ES.po

    r950335 r953516  
    33"Project-Id-Version: Agreeable\n"
    44"POT-Creation-Date: 2014-07-11 13:27-0500\n"
    5 "PO-Revision-Date: 2014-07-17 15:20+0100\n"
    6 "Last-Translator: jelena kovacevic <jecajeca260@gmail.com>\n"
     5"PO-Revision-Date: 2014-07-23 09:07-0500\n"
     6"Last-Translator: Ian Wilson <ian@kraftpress.com>\n"
    77"Language-Team: build/create studios <[email protected]>\n"
    8 "Language: en\n"
     8"Language: es\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "X-Generator: Poedit 1.5.5\n"
     12"X-Generator: Poedit 1.6.7\n"
    1313"X-Poedit-Basepath: .\n"
    1414"Plural-Forms: nplurals=2; plural=(n != 1);\n"
  • agreeable/trunk/languages/agreeable-fa_IR.po

    r951056 r953516  
    22msgstr ""
    33"Project-Id-Version: Agreeable\n"
    4 "POT-Creation-Date: 2014-07-18 15:58+0100\n"
    5 "PO-Revision-Date: 2014-07-18 15:58+0100\n"
    6 "Last-Translator: \n"
     4"POT-Creation-Date: 2014-07-23 09:05-0500\n"
     5"PO-Revision-Date: 2014-07-23 09:05-0500\n"
     6"Last-Translator: Ian Wilson <[email protected]>\n"
    77"Language-Team: build/create studios <[email protected]>\n"
    8 "Language: en\n"
     8"Language: fa\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "X-Generator: Poedit 1.6.6\n"
     12"X-Generator: Poedit 1.6.7\n"
    1313"X-Poedit-Basepath: .\n"
    14 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
     14"Plural-Forms: nplurals=1; plural=0;\n"
    1515"X-Poedit-KeywordsList: __;_e\n"
    1616"X-Poedit-SearchPath-0: ..\n"
  • agreeable/trunk/readme.txt

    r951053 r953516  
    66Stable tag: trunk
    77License:GPLv2 or later
    8 Add an "Agree to terms" check box on login, registration, or comment forms.  Works with BuddyPress and bbPress
     8Add an "Agree to terms" check box on login, registration, or comment forms.  Works with BuddyPress and bbPress.
    99
    1010== Description ==
     
    4141
    4242== Changelog ==
     43
     44= 3.4.1 =
     45* Fixed RTL Bug
    4346
    4447= 0.3.3 =
Note: See TracChangeset for help on using the changeset viewer.