Update tranlation text domain
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
|
||||
<select class="wu_select_icon" name="<?php echo esc_attr($field->id); ?>">
|
||||
|
||||
<option value=""><?php echo __('No Icon', 'wp-ultimo'); ?></option>
|
||||
<option value=""><?php echo __('No Icon', 'wp-multisite-waas'); ?></option>
|
||||
|
||||
<?php foreach (wu_get_icons_list() as $category_label => $category_array) : ?>
|
||||
|
||||
|
@ -81,13 +81,13 @@ $content_wrapper_classes = $field->content_wrapper_classes
|
||||
|
||||
<div class="wu-wrapper-image-field-upload-actions wu-absolute wu-top-4 wu-right-4 <?php echo $mq; ?>md:wu-top-2 <?php echo $mq; ?>md:wu-right-2 wu-scale-150 <?php echo $mq; ?>md:wu-scale-100">
|
||||
|
||||
<a title="<?php _e('Preview Image', 'wp-ultimo'); ?>" href="<?php echo $field->img; ?>" class="wubox wu-no-underline wu-text-center wu-inline-block wu-bg-black wu-opacity-60 wu-rounded-full wu-text-white wu-w-5 wu-h-5 wu-shadow-sm">
|
||||
<a title="<?php _e('Preview Image', 'wp-multisite-waas'); ?>" href="<?php echo $field->img; ?>" class="wubox wu-no-underline wu-text-center wu-inline-block wu-bg-black wu-opacity-60 wu-rounded-full wu-text-white wu-w-5 wu-h-5 wu-shadow-sm">
|
||||
|
||||
<span class="dashicons-wu-eye1 wu-align-middle" style="top: -2px;"></span>
|
||||
|
||||
</a>
|
||||
|
||||
<a title="<?php _e('Remove Image', 'wp-ultimo'); ?>" href="#" class="wu-remove-image wu-no-underline wu-text-center wu-inline-block wu-bg-black wu-opacity-60 wu-rounded-full wu-text-white wu-w-5 wu-h-5 wu-shadow-sm">
|
||||
<a title="<?php _e('Remove Image', 'wp-multisite-waas'); ?>" href="#" class="wu-remove-image wu-no-underline wu-text-center wu-inline-block wu-bg-black wu-opacity-60 wu-rounded-full wu-text-white wu-w-5 wu-h-5 wu-shadow-sm">
|
||||
|
||||
<span class="dashicons-wu-cross wu-align-middle"></span>
|
||||
|
||||
@ -103,7 +103,7 @@ $content_wrapper_classes = $field->content_wrapper_classes
|
||||
|
||||
<a class="button wu-w-full wu-text-center wu-add-image">
|
||||
|
||||
<span class="dashicons-wu-upload"></span> <?php _e('Upload Image', 'wp-ultimo'); ?>
|
||||
<span class="dashicons-wu-upload"></span> <?php _e('Upload Image', 'wp-multisite-waas'); ?>
|
||||
|
||||
</a>
|
||||
|
||||
|
@ -139,7 +139,7 @@ if (is_array($field->values)) {
|
||||
|
||||
<a class="button wu-w-full wu-text-center" href="#"
|
||||
v-on:click.prevent="duplicate_and_clean($event, '.field-repeater')">
|
||||
<?php esc_html_e('Add new Line', 'wp-ultimo'); ?>
|
||||
<?php esc_html_e('Add new Line', 'wp-multisite-waas'); ?>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @since 2.0.0
|
||||
*/
|
||||
?>
|
||||
<li class="<?php echo esc_attr(trim($field->wrapper_classes)); ?>" <?php echo $field->get_wrapper_html_attributes(); ?>>
|
||||
<li class="<?php echo esc_attr(trim($field->wrapper_classes)); ?>" <?php echo esc_attr($field->get_wrapper_html_attributes()); ?>>
|
||||
|
||||
<div class="wu-block wu-w-full">
|
||||
|
||||
@ -25,13 +25,13 @@
|
||||
|
||||
?>
|
||||
|
||||
<select class="form-control wu-w-full wu-my-1" name="<?php echo esc_attr($field->id); ?><?php echo isset($field->html_attr['multiple']) && $field->html_attr['multiple'] ? '[]' : ''; ?>" <?php echo $field->get_html_attributes(); ?> placeholder="<?php echo $field->placeholder; ?>">
|
||||
<select class="form-control wu-w-full wu-my-1" name="<?php echo esc_attr($field->id); ?><?php echo isset($field->html_attr['multiple']) && $field->html_attr['multiple'] ? '[]' : ''; ?>" <?php echo esc_attr($field->get_html_attributes()); ?> placeholder="<?php echo esc_attr($field->placeholder); ?>">
|
||||
|
||||
<?php foreach ($field->options as $option_value => $option_label) : ?>
|
||||
|
||||
<option <?php selected($field->value === $option_value || (is_array($field->value) && in_array($option_value, $field->value))); ?> value="<?php echo esc_attr($option_value); ?>">
|
||||
|
||||
<?php echo $option_label; ?>
|
||||
<?php echo esc_html($option_label); ?>
|
||||
|
||||
</option>
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
|
||||
<?php if ($field->options_template) : ?>
|
||||
|
||||
<?php echo $field->options_template; ?>
|
||||
<?php echo wp_kses($field->options_template, array('option' => array('value' => array(), 'selected' => array()))); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @since 2.0.0
|
||||
*/
|
||||
?>
|
||||
<li class="<?php echo esc_attr(trim($field->wrapper_classes)); ?>" <?php echo $field->get_wrapper_html_attributes(); ?>>
|
||||
<li class="<?php echo esc_attr(trim($field->wrapper_classes)); ?>" <?php echo esc_attr($field->get_wrapper_html_attributes()); ?>>
|
||||
|
||||
<div class="wu-block">
|
||||
|
||||
@ -36,11 +36,11 @@
|
||||
|
||||
$formatted_value = date_i18n(get_option('date_format'), $time);
|
||||
|
||||
$placeholder = wu_get_current_time('timestamp') > $time ? __('%s ago', 'wp-ultimo') : __('In %s', 'wp-ultimo'); // phpcs:ignore
|
||||
$placeholder = wu_get_current_time('timestamp') > $time ? __('%s ago', 'wp-multisite-waas') : __('In %s', 'wp-multisite-waas'); // phpcs:ignore
|
||||
|
||||
printf('<time datetime="%3$s">%1$s</time><br><small>%2$s</small>', $formatted_value, sprintf($placeholder, human_time_diff($time, wu_get_current_time('timestamp'))), get_date_from_gmt($date));
|
||||
printf('<time datetime="%3$s">%1$s</time><br><small>%2$s</small>', esc_html($formatted_value), esc_html(sprintf($placeholder, human_time_diff($time, wu_get_current_time('timestamp')))), esc_attr(get_date_from_gmt($date)));
|
||||
} else {
|
||||
_e('None', 'wp-ultimo');
|
||||
_e('None', 'wp-multisite-waas');
|
||||
} // end if;
|
||||
|
||||
?>
|
||||
@ -53,7 +53,7 @@
|
||||
|
||||
<?php if ($field->copy) : ?>
|
||||
|
||||
<a <?php echo wu_tooltip_text(__('Copy', 'wp-ultimo')); ?> class="wu-no-underline wp-ui-text-highlight wu-copy" data-clipboard-action="copy" data-clipboard-target="#<?php echo $field->id; ?>_value">
|
||||
<a <?php echo wu_tooltip_text(__('Copy', 'wp-multisite-waas')); ?> class="wu-no-underline wp-ui-text-highlight wu-copy" data-clipboard-action="copy" data-clipboard-target="#<?php echo $field->id; ?>_value">
|
||||
|
||||
<span class="dashicons-wu-copy wu-align-middle"></span>
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
if (wu_validate_date($field->value)) {
|
||||
if (false == $field->display_value) {
|
||||
echo __('No date', 'wp-ultimo');
|
||||
echo __('No date', 'wp-multisite-waas');
|
||||
} else {
|
||||
$date = $field->value;
|
||||
|
||||
@ -39,12 +39,12 @@
|
||||
|
||||
$formatted_value = date_i18n(get_option('date_format'), $time);
|
||||
|
||||
$placeholder = wu_get_current_time('timestamp') > $time ? __('%s ago', 'wp-ultimo') : __('In %s', 'wp-ultimo'); // phpcs:ignore
|
||||
$placeholder = wu_get_current_time('timestamp') > $time ? __('%s ago', 'wp-multisite-waas') : __('In %s', 'wp-multisite-waas'); // phpcs:ignore
|
||||
|
||||
printf('<time datetime="%3$s">%1$s</time><br><small>%2$s</small>', $formatted_value, sprintf($placeholder, human_time_diff($time, wu_get_current_time('timestamp'))), get_date_from_gmt($date));
|
||||
} // end if;
|
||||
} else {
|
||||
_e('None', 'wp-ultimo');
|
||||
_e('None', 'wp-multisite-waas');
|
||||
} // end if;
|
||||
|
||||
?>
|
||||
|
@ -37,11 +37,11 @@
|
||||
|
||||
<div class="wu-ml-1 wu-my-1" v-cloak>
|
||||
<a
|
||||
v-bind:href="'<?php echo wu_get_isset($field->html_attr, 'data-base-link'); ?>' + '=' + <?php echo wu_get_isset($field->html_attr, 'v-model'); ?>"
|
||||
v-bind:href="'<?php echo esc_js(wu_get_isset($field->html_attr, 'data-base-link')); ?>' + '=' + <?php echo esc_js(wu_get_isset($field->html_attr, 'v-model')); ?>"
|
||||
target="_blank"
|
||||
class="button"
|
||||
v-show='<?php echo wu_get_isset($field->html_attr, 'v-model'); ?>'
|
||||
<?php echo wu_tooltip_text(__('View', 'wp-ultimo')); ?>
|
||||
v-show='<?php echo esc_js(wu_get_isset($field->html_attr, 'v-model')); ?>'
|
||||
<?php echo wu_tooltip_text(__('View', 'wp-multisite-waas')); ?>
|
||||
>
|
||||
<span class="dashicons-wu-popup wu-m-0 wu-p-0"></span>
|
||||
</a>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
<?php if ($field->desc) : ?>
|
||||
|
||||
<p class="description wu-text-2xs" id="<?php echo $field->id; ?>-desc">
|
||||
<p class="description wu-text-2xs" id="<?php echo esc_attr($field->id); ?>-desc">
|
||||
|
||||
<?php echo $field->desc; ?>
|
||||
|
||||
|
Reference in New Issue
Block a user