Skip to:
Content

BuddyPress.org

Ticket #7076: 7076.patch

File 7076.patch, 1.7 KB (added by slaFFik, 12 months ago)
  • src/bp-xprofile/admin/js/admin.js

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    diff --git a/src/bp-xprofile/admin/js/admin.js b/src/bp-xprofile/admin/js/admin.js
    a b  
    1515                newOption    = document.createElement( 'input' ),
    1616                label        = document.createElement( 'label' ),
    1717                isDefault    = document.createElement( 'input' ),
    18                 txt1         = document.createTextNode( 'Default Value' ),
    19                 toDeleteText = document.createTextNode( 'Delete' ),
     18                txt1         = document.createTextNode( XProfileAdmin.text.default_value ),
     19                toDeleteText = document.createTextNode( XProfileAdmin.text.delete ),
    2020                toDeleteWrap = document.createElement( 'div' ),
    2121                toDelete     = document.createElement( 'a' );
    2222
  • src/bp-xprofile/bp-xprofile-cssjs.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    diff --git a/src/bp-xprofile/bp-xprofile-cssjs.php b/src/bp-xprofile/bp-xprofile-cssjs.php
    a b  
    5353                $strings = array(
    5454                        'do_settings_section_field_types' => array(),
    5555                        'do_autolink' => '',
     56                        'text' => array(
     57                                'default_value' => __( 'Default Value', 'buddypress' ),
     58                                'delete' => __( 'Delete', 'buddypress' ),
     59                        ),
    5660                );
    5761
    5862                foreach ( bp_xprofile_get_field_types() as $field_type => $field_type_class ) {