| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/translations.tar |
translations-services-section.php 0000666 00000003725 15115756510 0013302 0 ustar 00 <?php
/**
* Translation functions for services section
*
* @package azera-shop-companion
*/
/**
* Get services section default content.
*/
function azera_shop_companion_sevices_get_default_content() {
return json_encode( array(
array(
'choice' => 'azera_shop_icon',
'icon_value' => 'fa-cogs',
'title' => esc_html__( 'Lorem Ipsum', 'themeisle-companion' ),
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo.', 'themeisle-companion' )
),
array( 'choice' => 'azera_shop_icon',
'icon_value' => 'fa-bar-chart-o',
'title' => esc_html__( 'Lorem Ipsum', 'themeisle-companion' ),
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo.', 'themeisle-companion' )
),
array( 'choice' => 'azera_shop_icon',
'icon_value' => 'fa-globe',
'title' => esc_html__( 'Lorem Ipsum', 'themeisle-companion' ),
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo.', 'themeisle-companion' )
)
)
);
}
/**
* Register strings for polylang.
*/
function azera_shop_companion_sevices_register_strings() {
if ( ! defined( 'POLYLANG_VERSION' ) || ! function_exists( 'azera_shop_pll_string_register_helper' ) ) {
return;
}
$default = azera_shop_companion_sevices_get_default_content();
azera_shop_pll_string_register_helper( 'azera_shop_services_content', $default, 'Services section' );
}
add_action( 'after_setup_theme', 'azera_shop_companion_sevices_register_strings', 11 );
translations-team-section.php 0000666 00000002524 15115756510 0012401 0 ustar 00 <?php
/**
* Translation functions for team section
*
* @package azera-shop-companion
*/
/**
* Get team section default content.
*/
function azera_shop_companion_team_get_default_content() {
return json_encode( array(
array(
'image_url' => azera_shop_get_file( '/images/team/1.jpg' ),
'title' => esc_html__( 'Albert Jacobs', 'themeisle-companion' ),
'subtitle' => esc_html__( 'Founder & CEO', 'themeisle-companion' )
),
array(
'image_url' => azera_shop_get_file( '/images/team/2.jpg' ),
'title' => esc_html__( 'Tonya Garcia', 'themeisle-companion' ),
'subtitle' => esc_html__( 'Account Manager', 'themeisle-companion' )
),
array(
'image_url' => azera_shop_get_file( '/images/team/3.jpg' ),
'title' => esc_html__( 'Linda Guthrie', 'themeisle-companion' ),
'subtitle' => esc_html__( 'Business Development', 'themeisle-companion' )
)
) );
}
/**
* Register strings for polylang.
*/
function azera_shop_companion_team_register_strings() {
if ( ! defined( 'POLYLANG_VERSION' ) || ! function_exists( 'azera_shop_pll_string_register_helper' ) ) {
return;
}
$default = azera_shop_companion_team_get_default_content();
azera_shop_pll_string_register_helper( 'azera_shop_team_content', $default, 'Team section' );
}
add_action( 'after_setup_theme', 'azera_shop_companion_team_register_strings', 11 );
translations-testimonials-section.php 0000666 00000005301 15115756510 0014162 0 ustar 00 <?php
/**
* Translation functions for testimonials section
*
* @package llorix-one-companion
*/
/**
* Get testimonials section default content.
*/
function azera_shop_companion_testimonials_get_default_content() {
return json_encode(
array(
array(
'image_url' => azera_shop_get_file( '/images/clients/1.jpg' ),
'title' => esc_html__( 'Happy Customer', 'themeisle-companion' ),
'subtitle' => esc_html__( 'Lorem ipsum', 'themeisle-companion' ),
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.', 'themeisle-companion' )
),
array(
'image_url' => azera_shop_get_file( '/images/clients/2.jpg' ),
'title' => esc_html__( 'Happy Customer', 'themeisle-companion' ),
'subtitle' => esc_html__( 'Lorem ipsum', 'themeisle-companion' ),
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.', 'themeisle-companion' )
),
array(
'image_url' => azera_shop_get_file( '/images/clients/3.jpg' ),
'title' => esc_html__( 'Happy Customer', 'themeisle-companion' ),
'subtitle' => esc_html__( 'Lorem ipsum', 'themeisle-companion' ),
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, molestie ipsum et, consequat nibh. Etiam non elit dui. Nullam vel eros sit amet arcu vestibulum accumsan in in leo. Fusce malesuada vulputate faucibus. Integer in hendrerit nisi. Praesent a hendrerit urna. In non imperdiet elit, sed molestie odio. Fusce ac metus non purus sollicitudin laoreet.', 'themeisle-companion' )
)
)
);
}
/**
* Register strings for polylang.
*/
function azera_shop_companion_testimonials_register_strings() {
if ( ! defined( 'POLYLANG_VERSION' ) || ! function_exists( 'azera_shop_pll_string_register_helper' ) ) {
return;
}
$default = azera_shop_companion_testimonials_get_default_content();
azera_shop_pll_string_register_helper( 'azera_shop_testimonials_content', $default, 'Testimonials section' );
}
add_action( 'after_setup_theme', 'azera_shop_companion_testimonials_register_strings', 11 );
general.php 0000666 00000000736 15115756510 0006712 0 ustar 00 <?php
/**
* General functions for translation.
*
* @package azera-shop-companion
*/
/**
* Define Allowed Files to be included.
*/
function azera_shop_companion_filter_translations( $array ) {
return array_merge( $array, array(
'translations/translations-services-section',
'translations/translations-team-section',
'translations/translations-testimonials-section',
) );
}
add_filter( 'azera_shop_filter_translations', 'azera_shop_companion_filter_translations' );