Plugin Directory

Changeset 3207541


Ignore:
Timestamp:
12/13/2024 10:56:40 AM (16 months ago)
Author:
pluginscafe
Message:

update translate

Location:
pdf-invoices-for-gravity-forms
Files:
679 added
3 edited

Legend:

Unmodified
Added
Removed
  • pdf-invoices-for-gravity-forms/trunk/includes/class-pcafe-gfpi-create-invoice.php

    r3156039 r3207541  
    4949        <table width="100%" class="product">
    5050            <tr>
    51                 <th align="left">Description</th>
    52                 <th align="center" width="15%">Qty</th>
    53                 <th align="center" width="15%">Unit Price</th>
    54                 <th align="center" width="15%">Total</th>
     51                <th align="left"><?php echo esc_html__('Description', 'pdf-invoices-for-gravity-forms');?></th>
     52                <th align="center" width="15%"><?php echo esc_html__('Qty', 'pdf-invoices-for-gravity-forms');?></th>
     53                <th align="center" width="15%"><?php echo esc_html__('Unit Price', 'pdf-invoices-for-gravity-forms');?></th>
     54                <th align="center" width="15%"><?php echo esc_html__('Total', 'pdf-invoices-for-gravity-forms');?></th>
    5555            </tr>
    5656            <?php foreach( $new_product as $product ) : ?>
  • pdf-invoices-for-gravity-forms/trunk/pdf-invoices.php

    r3156039 r3207541  
    11<?php
     2
    23/**
    3 * Plugin Name: PDF Invoices For Gravity Forms
    4 * Plugin URI: https://pluginscafe.com
    5 * Description: Automatically generate PDF invoices and attach them to every form submission in Gravity Forms.
    6 * Author: KaisarAhmmed
    7 * Author URI: https://themecafe.net
    8 * Version: 1.0.0
    9 * Text Domain: pdf-invoices-for-gravity-forms
    10 * Domain Path: /languages/
    11 * License: GPL-2.0+
    12 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
    13 */
     4 * Plugin Name: PDF Invoices For Gravity Forms
     5 * Plugin URI: https://pluginscafe.com/plugin/pdf-invoices-for-gravity-forms/
     6 * Description: Automatically generate PDF invoices and attach them to every form submission in Gravity Forms.
     7 * Author: Pluginscafe
     8 * Author URI: https://pluginscafe.com
     9 * Version: 1.0.1
     10 * Text Domain: pdf-invoices-for-gravity-forms
     11 * Domain Path: /languages/
     12 * License: GPL-2.0+
     13 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     14 */
    1415
    15 if ( ! defined( 'ABSPATH' ) ) {
    16     exit;
     16if (! defined('ABSPATH')) {
     17    exit;
    1718}
    1819
    19 if ( ! defined( 'PCAFE_GFPI_VERSION_FREE' ) ) {
    20     define( 'PCAFE_GFPI_VERSION_FREE', '1.0.0' );
     20if (! defined('PCAFE_GFPI_VERSION_FREE')) {
     21    define('PCAFE_GFPI_VERSION_FREE', '1.0.1');
    2122}
    2223
    23 if( ! class_exists('GFForms') || ! pcafe_gfpi_meets_requirements() ) {
    24     add_action( 'admin_notices','pcafe_gfpi_notice_for_missing_requirements' );
     24if (! class_exists('GFForms') || ! pcafe_gfpi_meets_requirements()) {
     25    add_action('admin_notices', 'pcafe_gfpi_notice_for_missing_requirements');
    2526    return;
    2627}
     
    3233
    3334function PCAFE_GFPI_Bootstrap() {
    34     if ( ! method_exists( 'GFForms', 'include_addon_framework' ) ) {
     35    if (! method_exists('GFForms', 'include_addon_framework')) {
    3536        return;
    3637    }
     
    4041    require_once 'includes/class-pcafe-gfpi-helpers.php';
    4142
    42     GFAddOn::register( 'PCAFE_GFPI_Pdf_Invoices_Free' );
     43    GFAddOn::register('PCAFE_GFPI_Pdf_Invoices_Free');
    4344}
    44 add_action( 'gform_loaded', 'PCAFE_GFPI_Bootstrap', 5 );
     45add_action('gform_loaded', 'PCAFE_GFPI_Bootstrap', 5);
    4546
    4647function pcafe_gfpi_meets_requirements() {
     
    4849
    4950    return (
    50         version_compare( PHP_VERSION, '7.3', '>=' ) &&
    51         version_compare( $wp_version, '5.5', '>=' )
     51        version_compare(PHP_VERSION, '7.3', '>=') &&
     52        version_compare($wp_version, '5.5', '>=')
    5253    );
    5354}
     
    5657    printf(
    5758        '<div class="notice notice-error"><p>%1$s</p></div>',
    58         esc_html__( 'The "PDF Invoices For Gravity Forms" requires Gravity Forms to be installed and activated.', 'pdf-invoices-for-gravity-forms' )
     59        esc_html__('The "PDF Invoices For Gravity Forms" requires Gravity Forms to be installed and activated.', 'pdf-invoices-for-gravity-forms')
    5960    );
    6061}
  • pdf-invoices-for-gravity-forms/trunk/readme.txt

    r3156039 r3207541  
    11=== PDF Invoices for Gravity Forms ===
    2 Contributors: kaisarahmmed
     2Author: Pluginscafe
     3Contributors: pluginscafe, kaisarahmmed
    34Tags: gravity forms, invoice, pdf, pdf invoices, email
    45Requires at least: 5.3
    5 Tested up to: 6.6.2
     6Tested up to: 6.7.1
    67Requires PHP: 7.4
    7 Stable tag: 1.0.0
     8Stable tag: 1.0.1
    89License: GPLv2 or later
    910License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
     
    3233== Change log ==
    3334
     35= 1.0.1 =
     36* Update translate text
     37
    3438= 1.0.0 =
    3539* Initial Release
Note: See TracChangeset for help on using the changeset viewer.