Version Description
(Released: August 20, 2019) = * Added: Option to turn off Catch Themes and Catch Plugin tabs * Compatibility check up to version 5.2 * Updated: Catch Themes and Catch Plugins tabs displaying code
Download this release
Release Info
Developer | catchthemes |
Plugin | To Top |
Version | 1.9 |
Comparing to | |
See all releases |
Code changes from version 1.8.1 to 1.9
- README.txt +7 -1
- admin/class-to-top-admin.php +33 -7
- admin/css/to-top-admin.css +98 -0
- admin/inc/{our-themes.php → CatchThemesThemePlugin.php} +108 -46
- admin/inc/ctp-tabs-removal.php +75 -0
- admin/inc/our-plugins.php +0 -61
- admin/js/to-top-admin.js +32 -0
- admin/partials/to-top-admin-display.php +31 -0
- includes/class-to-top.php +4 -5
- languages/to-top-fr_FR.mo +0 -0
- languages/to-top-fr_FR.po +72 -54
- languages/to-top.pot +69 -51
- to-top.php +16 -10
README.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: catchplugins, catchthemes, sakinshrestha, pratikshrestha, maheshma
|
|
3 |
Donate link: https://catchplugins.com/plugins/to-top/
|
4 |
Tags: to top, scroll up, arrow, button, icon, link to top, scroll, back to top, scroll to top, scroll top, scroll up, simple scroll to top, simple back to top, smooth scroll
|
5 |
Requires at least: 4.8
|
6 |
-
Tested up to: 5.
|
7 |
Stable tag: trunk
|
8 |
License: GNU General Public License, version 3 (GPLv3)
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
@@ -56,6 +56,12 @@ You'll then see To Top dashboard from which you can enable or disable the button
|
|
56 |
5. Reset Settings
|
57 |
|
58 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
= 1.8.1 (Released: February 21, 2019) =
|
60 |
* Added: French language translation by Hubert
|
61 |
|
3 |
Donate link: https://catchplugins.com/plugins/to-top/
|
4 |
Tags: to top, scroll up, arrow, button, icon, link to top, scroll, back to top, scroll to top, scroll top, scroll up, simple scroll to top, simple back to top, smooth scroll
|
5 |
Requires at least: 4.8
|
6 |
+
Tested up to: 5.2
|
7 |
Stable tag: trunk
|
8 |
License: GNU General Public License, version 3 (GPLv3)
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
56 |
5. Reset Settings
|
57 |
|
58 |
== Changelog ==
|
59 |
+
|
60 |
+
= 1.9 (Released: August 20, 2019) =
|
61 |
+
* Added: Option to turn off Catch Themes and Catch Plugin tabs
|
62 |
+
* Compatibility check up to version 5.2
|
63 |
+
* Updated: Catch Themes and Catch Plugins tabs displaying code
|
64 |
+
|
65 |
= 1.8.1 (Released: February 21, 2019) =
|
66 |
* Added: French language translation by Hubert
|
67 |
|
admin/class-to-top-admin.php
CHANGED
@@ -140,8 +140,8 @@ class To_Top_Admin {
|
|
140 |
}
|
141 |
|
142 |
/**
|
143 |
-
*
|
144 |
-
* add
|
145 |
*/
|
146 |
public function add_plugin_settings_menu() {
|
147 |
//add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position );
|
@@ -149,8 +149,8 @@ class To_Top_Admin {
|
|
149 |
}
|
150 |
|
151 |
/**
|
152 |
-
*
|
153 |
-
*
|
154 |
*/
|
155 |
public function settings_page() {
|
156 |
if ( !current_user_can( 'manage_options' ) ) {
|
@@ -161,8 +161,8 @@ class To_Top_Admin {
|
|
161 |
}
|
162 |
|
163 |
/**
|
164 |
-
*
|
165 |
-
*
|
166 |
*/
|
167 |
public function register_settings() {
|
168 |
// register_setting( $option_group, $option_name, $sanitize_callback )
|
@@ -173,8 +173,34 @@ class To_Top_Admin {
|
|
173 |
);
|
174 |
}
|
175 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
/**
|
177 |
-
*
|
178 |
* Catch Ids Sanitization function callback
|
179 |
*/
|
180 |
public function sanitize_callback( $input ){
|
140 |
}
|
141 |
|
142 |
/**
|
143 |
+
* to_top: add_plugin_settings_menu
|
144 |
+
* add To Top to menu
|
145 |
*/
|
146 |
public function add_plugin_settings_menu() {
|
147 |
//add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position );
|
149 |
}
|
150 |
|
151 |
/**
|
152 |
+
* to_top: catch_web_tools_settings_page
|
153 |
+
* To Top Setting function
|
154 |
*/
|
155 |
public function settings_page() {
|
156 |
if ( !current_user_can( 'manage_options' ) ) {
|
161 |
}
|
162 |
|
163 |
/**
|
164 |
+
* to_top: register_settings
|
165 |
+
* To Top Register Settings
|
166 |
*/
|
167 |
public function register_settings() {
|
168 |
// register_setting( $option_group, $option_name, $sanitize_callback )
|
173 |
);
|
174 |
}
|
175 |
|
176 |
+
function add_plugin_meta_links( $meta_fields, $file ){
|
177 |
+
if( TOTOP_BASENAME == $file ) {
|
178 |
+
$meta_fields[] = "<a href='https://catchplugins.com/support-forum/forum/to-top/' target='_blank'>Support Forum</a>";
|
179 |
+
$meta_fields[] = "<a href='https://wordpress.org/support/plugin/to-top/reviews#new-post' target='_blank' title='Rate'>
|
180 |
+
<i class='ct-rate-stars'>"
|
181 |
+
. "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
|
182 |
+
. "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
|
183 |
+
. "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
|
184 |
+
. "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
|
185 |
+
. "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
|
186 |
+
. "</i></a>";
|
187 |
+
|
188 |
+
$stars_color = "#ffb900";
|
189 |
+
|
190 |
+
echo "<style>"
|
191 |
+
. ".ct-rate-stars{display:inline-block;color:" . $stars_color . ";position:relative;top:3px;}"
|
192 |
+
. ".ct-rate-stars svg{fill:" . $stars_color . ";}"
|
193 |
+
. ".ct-rate-stars svg:hover{fill:" . $stars_color . "}"
|
194 |
+
. ".ct-rate-stars svg:hover ~ svg{fill:none;}"
|
195 |
+
. "</style>";
|
196 |
+
}
|
197 |
+
|
198 |
+
return $meta_fields;
|
199 |
+
}
|
200 |
+
|
201 |
+
|
202 |
/**
|
203 |
+
* to_top: sanitize_callback
|
204 |
* Catch Ids Sanitization function callback
|
205 |
*/
|
206 |
public function sanitize_callback( $input ){
|
admin/css/to-top-admin.css
CHANGED
@@ -296,3 +296,101 @@ textarea {
|
|
296 |
margin-bottom: 0;
|
297 |
}
|
298 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
296 |
margin-bottom: 0;
|
297 |
}
|
298 |
|
299 |
+
/*--------------------------------------------------------------
|
300 |
+
# Toggle Switch
|
301 |
+
--------------------------------------------------------------*/
|
302 |
+
|
303 |
+
.to-top-main .switch {
|
304 |
+
-webkit-box-flex: 0;
|
305 |
+
-webkit-flex-grow: 0;
|
306 |
+
-moz-box-flex: 0;
|
307 |
+
-ms-flex-positive: 0;
|
308 |
+
flex-grow: 0;
|
309 |
+
-webkit-flex-shrink: 0;
|
310 |
+
-ms-flex-negative: 0;
|
311 |
+
flex-shrink: 0;
|
312 |
+
position: relative;
|
313 |
+
float: none;
|
314 |
+
right: 0;
|
315 |
+
top: 2px;
|
316 |
+
}
|
317 |
+
|
318 |
+
.to-top-main .module-title.active {
|
319 |
+
background-color: #0085c3;
|
320 |
+
}
|
321 |
+
|
322 |
+
.to-top-main .switch label {
|
323 |
+
background-color: #48a348;
|
324 |
+
border-radius: 11px;
|
325 |
+
cursor: pointer;
|
326 |
+
height: 16px;
|
327 |
+
right:0;
|
328 |
+
position: absolute;
|
329 |
+
top: 3px;
|
330 |
+
width: 30px;
|
331 |
+
}
|
332 |
+
|
333 |
+
.to-top-main .inactive .switch label {
|
334 |
+
background-color: #ccc;
|
335 |
+
}
|
336 |
+
|
337 |
+
.to-top-main .switch input[type="checkbox"] {
|
338 |
+
visibility: hidden;
|
339 |
+
display: none;
|
340 |
+
}
|
341 |
+
|
342 |
+
.to-top-main .switch label:after {
|
343 |
+
background-color: #fff;
|
344 |
+
border-radius: 100%;
|
345 |
+
content: '';
|
346 |
+
height: 12px;
|
347 |
+
left: 2px;
|
348 |
+
position: absolute;
|
349 |
+
-webkit-transition: all 0.2s ease-in-out;
|
350 |
+
-moz-transition: all 0.2s ease-in-out;
|
351 |
+
o-transition: all 0.2s ease-in-out;
|
352 |
+
transition: all 0.2s ease-in-out;
|
353 |
+
top: 2px;
|
354 |
+
width: 12px;
|
355 |
+
}
|
356 |
+
|
357 |
+
.to-top-main .switch input[type="checkbox"]:checked + label:after {
|
358 |
+
left: 16px;
|
359 |
+
background-color: #fff;
|
360 |
+
}
|
361 |
+
|
362 |
+
.to-top-main .loader {
|
363 |
+
border: 5px solid #48a348;
|
364 |
+
border-radius: 50%;
|
365 |
+
border-top: 2px solid transparent;
|
366 |
+
width: 20px;
|
367 |
+
height: 20px;
|
368 |
+
-webkit-animation: spin 2s linear infinite;
|
369 |
+
animation: spin 2s linear infinite;
|
370 |
+
position: absolute;
|
371 |
+
right: 60px;
|
372 |
+
display: none;
|
373 |
+
}
|
374 |
+
|
375 |
+
@-webkit-keyframes spin {
|
376 |
+
0% { -webkit-transform: rotate(0deg); }
|
377 |
+
100% { -webkit-transform: rotate(360deg); }
|
378 |
+
}
|
379 |
+
|
380 |
+
@keyframes spin {
|
381 |
+
0% { transform: rotate(0deg); }
|
382 |
+
100% { transform: rotate(360deg); }
|
383 |
+
}
|
384 |
+
|
385 |
+
/* Catch Themes & Plugins switch */
|
386 |
+
#ctp-switch .switch {
|
387 |
+
position: relative;
|
388 |
+
display: inline-block;
|
389 |
+
width: 60px;
|
390 |
+
height: 34px;
|
391 |
+
top: 7px;
|
392 |
+
}
|
393 |
+
|
394 |
+
#ctp-switch.to-top-main .module-header {
|
395 |
+
background-color: transparent;
|
396 |
+
}
|
admin/inc/{our-themes.php → CatchThemesThemePlugin.php}
RENAMED
@@ -1,7 +1,27 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
global $themes_allowedtags, $theme_field_defaults;
|
6 |
|
7 |
if ( ! current_user_can( 'install_themes' ) ) {
|
@@ -75,47 +95,34 @@ if( ! function_exists( 'wp_ajax_custom_query_themes' ) ) {
|
|
75 |
|
76 |
wp_send_json_success( $api );
|
77 |
}
|
78 |
-
|
79 |
-
|
80 |
-
}
|
81 |
-
|
82 |
-
if( ! function_exists( 'catchthemes_our_themes_script' ) ) {
|
83 |
-
function catchthemes_our_themes_script( $hook_suffix ) {
|
84 |
|
85 |
if( 'theme-install.php' == $hook_suffix ) {
|
86 |
-
wp_enqueue_script( 'our-themes-script',
|
87 |
}
|
88 |
}
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
/* Add Catch Themes Section in Theme in Customizer */
|
94 |
-
if( ! function_exists( 'catchthemes_customize_register' ) ) {
|
95 |
-
function catchthemes_customize_register($wp_customize) {
|
96 |
$wp_customize->add_section( new WP_Customize_Themes_Section( $wp_customize, 'catchthemes', array(
|
97 |
-
'title' => __( 'Themes by CatchThemes', 'catch-
|
98 |
'action' => 'catchthemes',
|
99 |
'capability' => 'install_themes',
|
100 |
'panel' => 'themes',
|
101 |
'priority' => 6,
|
102 |
) ) );
|
103 |
}
|
104 |
-
|
105 |
-
add_action( 'customize_register', 'catchthemes_customize_register' );
|
106 |
-
}
|
107 |
-
}
|
108 |
|
109 |
-
|
110 |
-
|
111 |
-
remove_action( 'wp_ajax_customize_load_themes', array( $wp_customize, 'handle_load_themes_request' ) );
|
112 |
-
add_action( 'wp_ajax_customize_load_themes', 'catchthemes_handle_load_themes_request' );
|
113 |
/**
|
114 |
* Load themes into the theme browsing/installation UI.
|
115 |
* taken from wp-includes/cllass-wp-customize-manager.php
|
116 |
* @since 4.9.0
|
117 |
*/
|
118 |
-
function
|
119 |
check_ajax_referer( 'switch_themes', 'nonce' );
|
120 |
if ( ! current_user_can( 'switch_themes' ) ) {
|
121 |
wp_die( -1 );
|
@@ -229,9 +236,9 @@ if( ! function_exists( 'catchthemes_handle_load_themes_request' ) ) {
|
|
229 |
$theme->tags = implode( ', ', $theme->tags );
|
230 |
$theme->stars = wp_star_rating( array(
|
231 |
'rating' => $theme->rating,
|
232 |
-
'type'
|
233 |
'number' => $theme->num_ratings,
|
234 |
-
'echo'
|
235 |
) );
|
236 |
$theme->num_ratings = number_format_i18n( $theme->num_ratings );
|
237 |
$theme->preview_url = set_url_scheme( $theme->preview_url );
|
@@ -270,17 +277,17 @@ if( ! function_exists( 'catchthemes_handle_load_themes_request' ) ) {
|
|
270 |
// Arguments for all queries.
|
271 |
$wporg_args = array(
|
272 |
'per_page' => 100,
|
273 |
-
'fields'
|
274 |
'screenshot_url' => true,
|
275 |
-
'description'
|
276 |
-
'rating'
|
277 |
-
'downloaded'
|
278 |
-
'downloadlink'
|
279 |
-
'last_updated'
|
280 |
-
'homepage'
|
281 |
-
'num_ratings'
|
282 |
-
'tags'
|
283 |
-
'parent'
|
284 |
// 'extended_author' => true, @todo: WordPress.org throws a 500 server error when this is here.
|
285 |
),
|
286 |
);
|
@@ -302,10 +309,10 @@ if( ! function_exists( 'catchthemes_handle_load_themes_request' ) ) {
|
|
302 |
array( 'a', 'abbr', 'acronym', 'code', 'pre', 'em', 'strong', 'div', 'p', 'ul', 'ol', 'li', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'img' ),
|
303 |
array()
|
304 |
);
|
305 |
-
$themes_allowedtags['a']
|
306 |
$themes_allowedtags['acronym']['title'] = true;
|
307 |
-
$themes_allowedtags['abbr']['title']
|
308 |
-
$themes_allowedtags['img']
|
309 |
|
310 |
// Prepare a list of installed themes to check against before the loop.
|
311 |
$installed_themes = array();
|
@@ -329,9 +336,9 @@ if( ! function_exists( 'catchthemes_handle_load_themes_request' ) ) {
|
|
329 |
$theme->tags = implode( ', ', $theme->tags );
|
330 |
$theme->stars = wp_star_rating( array(
|
331 |
'rating' => $theme->rating,
|
332 |
-
'type'
|
333 |
'number' => $theme->num_ratings,
|
334 |
-
'echo'
|
335 |
) );
|
336 |
$theme->num_ratings = number_format_i18n( $theme->num_ratings );
|
337 |
$theme->preview_url = set_url_scheme( $theme->preview_url );
|
@@ -383,4 +390,59 @@ if( ! function_exists( 'catchthemes_handle_load_themes_request' ) ) {
|
|
383 |
|
384 |
wp_send_json_success( $themes );
|
385 |
}
|
386 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
Class CatchThemesThemePlugin {
|
4 |
+
public function __construct(){
|
5 |
+
remove_action( 'wp_ajax_query-themes', array( $this, 'wp_ajax_query_themes' ), 1 );
|
6 |
+
add_action( 'wp_ajax_query-themes', array( $this, 'wp_ajax_custom_query_themes' ), 1 );
|
7 |
+
|
8 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'our_themes_script' ) );
|
9 |
+
|
10 |
+
if ( ! is_multisite() ) {
|
11 |
+
add_action( 'customize_register', array( $this, 'customize_register' ) );
|
12 |
+
}
|
13 |
+
|
14 |
+
global $wp_customize;
|
15 |
+
remove_action( 'wp_ajax_customize_load_themes', array( $wp_customize, 'handle_load_themes_request' ) );
|
16 |
+
add_action( 'wp_ajax_customize_load_themes', array( $this, 'handle_load_themes_request' ) );
|
17 |
+
|
18 |
+
add_filter( 'install_plugins_tabs', array( $this, 'add_our_plugins_tab' ), 1 );
|
19 |
+
add_filter( "install_plugins_table_api_args_catchplugins", array( $this, 'catchplugins' ), 1 );
|
20 |
+
add_action( 'install_plugins_catchplugins', array( $this, 'plugins_table' ) );
|
21 |
+
}
|
22 |
+
|
23 |
+
/* Adds Catch Themes tab in Add Theme page to show all themes by Catch Themes in wordpress.org */
|
24 |
+
public function wp_ajax_custom_query_themes() {
|
25 |
global $themes_allowedtags, $theme_field_defaults;
|
26 |
|
27 |
if ( ! current_user_can( 'install_themes' ) ) {
|
95 |
|
96 |
wp_send_json_success( $api );
|
97 |
}
|
98 |
+
|
99 |
+
public function our_themes_script( $hook_suffix ) {
|
|
|
|
|
|
|
|
|
100 |
|
101 |
if( 'theme-install.php' == $hook_suffix ) {
|
102 |
+
wp_enqueue_script( 'our-themes-script', plugin_dir_url( __FILE__ ) . '../js/our-themes.js', array( 'jquery' ), '2018-05-16' );
|
103 |
}
|
104 |
}
|
105 |
+
|
106 |
+
/* Add Catch Themes Section in Theme in Customizer */
|
107 |
+
public function customize_register($wp_customize) {
|
|
|
|
|
|
|
|
|
108 |
$wp_customize->add_section( new WP_Customize_Themes_Section( $wp_customize, 'catchthemes', array(
|
109 |
+
'title' => __( 'Themes by CatchThemes', 'catch-themes-demo-import' ),
|
110 |
'action' => 'catchthemes',
|
111 |
'capability' => 'install_themes',
|
112 |
'panel' => 'themes',
|
113 |
'priority' => 6,
|
114 |
) ) );
|
115 |
}
|
116 |
+
|
|
|
|
|
|
|
117 |
|
118 |
+
|
119 |
+
|
|
|
|
|
120 |
/**
|
121 |
* Load themes into the theme browsing/installation UI.
|
122 |
* taken from wp-includes/cllass-wp-customize-manager.php
|
123 |
* @since 4.9.0
|
124 |
*/
|
125 |
+
public function handle_load_themes_request() {
|
126 |
check_ajax_referer( 'switch_themes', 'nonce' );
|
127 |
if ( ! current_user_can( 'switch_themes' ) ) {
|
128 |
wp_die( -1 );
|
236 |
$theme->tags = implode( ', ', $theme->tags );
|
237 |
$theme->stars = wp_star_rating( array(
|
238 |
'rating' => $theme->rating,
|
239 |
+
'type' => 'percent',
|
240 |
'number' => $theme->num_ratings,
|
241 |
+
'echo' => false,
|
242 |
) );
|
243 |
$theme->num_ratings = number_format_i18n( $theme->num_ratings );
|
244 |
$theme->preview_url = set_url_scheme( $theme->preview_url );
|
277 |
// Arguments for all queries.
|
278 |
$wporg_args = array(
|
279 |
'per_page' => 100,
|
280 |
+
'fields' => array(
|
281 |
'screenshot_url' => true,
|
282 |
+
'description' => true,
|
283 |
+
'rating' => true,
|
284 |
+
'downloaded' => true,
|
285 |
+
'downloadlink' => true,
|
286 |
+
'last_updated' => true,
|
287 |
+
'homepage' => true,
|
288 |
+
'num_ratings' => true,
|
289 |
+
'tags' => true,
|
290 |
+
'parent' => true,
|
291 |
// 'extended_author' => true, @todo: WordPress.org throws a 500 server error when this is here.
|
292 |
),
|
293 |
);
|
309 |
array( 'a', 'abbr', 'acronym', 'code', 'pre', 'em', 'strong', 'div', 'p', 'ul', 'ol', 'li', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'img' ),
|
310 |
array()
|
311 |
);
|
312 |
+
$themes_allowedtags['a'] = array_fill_keys( array( 'href', 'title', 'target' ), true );
|
313 |
$themes_allowedtags['acronym']['title'] = true;
|
314 |
+
$themes_allowedtags['abbr']['title'] = true;
|
315 |
+
$themes_allowedtags['img'] = array_fill_keys( array( 'src', 'class', 'alt' ), true );
|
316 |
|
317 |
// Prepare a list of installed themes to check against before the loop.
|
318 |
$installed_themes = array();
|
336 |
$theme->tags = implode( ', ', $theme->tags );
|
337 |
$theme->stars = wp_star_rating( array(
|
338 |
'rating' => $theme->rating,
|
339 |
+
'type' => 'percent',
|
340 |
'number' => $theme->num_ratings,
|
341 |
+
'echo' => false,
|
342 |
) );
|
343 |
$theme->num_ratings = number_format_i18n( $theme->num_ratings );
|
344 |
$theme->preview_url = set_url_scheme( $theme->preview_url );
|
390 |
|
391 |
wp_send_json_success( $themes );
|
392 |
}
|
393 |
+
|
394 |
+
/* Plugins */
|
395 |
+
/* Adds Catch Plugins tab in Add Plugin page to show all plugins by Catch Plugins in wordpress.org */
|
396 |
+
public function add_our_plugins_tab($tabs) {
|
397 |
+
// Add our filter here
|
398 |
+
$tabs['catchplugins'] = _x( 'Catch Plugins', 'Plugin Installer' );
|
399 |
+
|
400 |
+
return $tabs;
|
401 |
+
}
|
402 |
+
|
403 |
+
public function catchplugins() {
|
404 |
+
/* From CORE Start */
|
405 |
+
global $paged, $tab;
|
406 |
+
wp_reset_vars( array( 'tab' ) );
|
407 |
+
|
408 |
+
$defined_class = new WP_Plugin_Install_List_Table();
|
409 |
+
$paged = $defined_class->get_pagenum();
|
410 |
+
|
411 |
+
$per_page = 30;
|
412 |
+
//$installed_plugins = catch_get_installed_plugins();
|
413 |
+
|
414 |
+
$args = array(
|
415 |
+
'page' => $paged,
|
416 |
+
'per_page' => $per_page,
|
417 |
+
'fields' => array(
|
418 |
+
'last_updated' => true,
|
419 |
+
'icons' => true,
|
420 |
+
'active_installs' => true
|
421 |
+
),
|
422 |
+
// Send the locale and installed plugin slugs to the API so it can provide context-sensitive results.
|
423 |
+
'locale' => get_user_locale(),
|
424 |
+
//'installed_plugins' => array_keys( $installed_plugins ),
|
425 |
+
);
|
426 |
+
/* From CORE End */
|
427 |
+
|
428 |
+
// Add author filter for our plugins
|
429 |
+
$args['author'] = 'catchplugins';
|
430 |
+
|
431 |
+
return $args;
|
432 |
+
}
|
433 |
+
|
434 |
+
public function plugins_table() {
|
435 |
+
global $wp_list_table;
|
436 |
+
printf(
|
437 |
+
'<p class="catch-plugins-list">' . __( 'You can use any of our free plugins or premium plugins from <a href="%s" target="_blank">Catch Plugins</a>' ) . '.</p>',
|
438 |
+
'https://catchplugins.com/'
|
439 |
+
);
|
440 |
+
?>
|
441 |
+
<form id="plugin-filter" method="post">
|
442 |
+
<?php $wp_list_table->display(); ?>
|
443 |
+
</form>
|
444 |
+
<?php
|
445 |
+
}
|
446 |
+
}
|
447 |
+
|
448 |
+
$catchthemes_theme_plugin = new CatchThemesThemePlugin();
|
admin/inc/ctp-tabs-removal.php
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* ctp_register_settings
|
4 |
+
* Header Enhacement Pro Register Settings
|
5 |
+
*/
|
6 |
+
if( ! function_exists( 'ctp_register_settings' ) ) {
|
7 |
+
function ctp_register_settings() {
|
8 |
+
// register_setting( $option_group, $option_name, $sanitize_callback )
|
9 |
+
register_setting(
|
10 |
+
'ctp-group',
|
11 |
+
'ctp_options',
|
12 |
+
array()
|
13 |
+
);
|
14 |
+
}
|
15 |
+
}
|
16 |
+
add_action( 'admin_init', 'ctp_register_settings' );
|
17 |
+
|
18 |
+
if( ! function_exists( 'ctp_get_options' ) ) {
|
19 |
+
/**
|
20 |
+
* Returns the options array for ctp_get options
|
21 |
+
*
|
22 |
+
* @since 1.9
|
23 |
+
*/
|
24 |
+
function ctp_get_options(){
|
25 |
+
$defaults = ctp_default_options();
|
26 |
+
$options = get_option( 'ctp_options', $defaults );
|
27 |
+
|
28 |
+
return wp_parse_args( $options, $defaults ) ;
|
29 |
+
}
|
30 |
+
}
|
31 |
+
|
32 |
+
if( ! function_exists( 'ctp_default_options' ) ) {
|
33 |
+
/**
|
34 |
+
* Return array of default options
|
35 |
+
*
|
36 |
+
* @since 1.9
|
37 |
+
* @return string 1 or 2.
|
38 |
+
*/
|
39 |
+
function ctp_default_options( $option = null ) {
|
40 |
+
$default_options['theme_plugin_tabs'] = 1;
|
41 |
+
if ( null == $option ) {
|
42 |
+
return apply_filters( 'ctp_options', $default_options );
|
43 |
+
}
|
44 |
+
else {
|
45 |
+
return $default_options[ $option ];
|
46 |
+
}
|
47 |
+
}
|
48 |
+
}
|
49 |
+
|
50 |
+
if( ! function_exists( 'ctp_switch' ) ){
|
51 |
+
/**
|
52 |
+
* Return $string
|
53 |
+
*
|
54 |
+
* @since 1.2
|
55 |
+
* @return $string 1 or 2.
|
56 |
+
*/
|
57 |
+
function ctp_switch() {
|
58 |
+
$value = ( 'true' == $_POST['value'] ) ? 1 : 0;
|
59 |
+
|
60 |
+
$option_name = $_POST['option_name'];
|
61 |
+
|
62 |
+
$option_value = ctp_get_options();
|
63 |
+
|
64 |
+
$option_value[$option_name] = $value;
|
65 |
+
|
66 |
+
if( update_option( 'ctp_options', $option_value ) ) {
|
67 |
+
echo $value;
|
68 |
+
} else {
|
69 |
+
esc_html_e( 'Connection Error. Please try again.', 'to-top' );
|
70 |
+
}
|
71 |
+
|
72 |
+
wp_die(); // this is required to terminate immediately and return a proper response
|
73 |
+
}
|
74 |
+
}
|
75 |
+
add_action( 'wp_ajax_ctp_switch', 'ctp_switch' );
|
admin/inc/our-plugins.php
DELETED
@@ -1,61 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/* Adds Catch Plugins tab in Add Plugin page to show all plugins by Catch Plugins in wordpress.org */
|
3 |
-
if( ! function_exists( 'add_our_plugins_tab' ) ) {
|
4 |
-
function add_our_plugins_tab($tabs) {
|
5 |
-
// Add our filter here
|
6 |
-
$tabs['catchplugins'] = _x( 'Catch Plugins', 'Plugin Installer' );
|
7 |
-
|
8 |
-
return $tabs;
|
9 |
-
}
|
10 |
-
add_filter( 'install_plugins_tabs', 'add_our_plugins_tab', 1 );
|
11 |
-
}
|
12 |
-
|
13 |
-
if( ! function_exists( 'catchplugins' ) ) {
|
14 |
-
function catchplugins() {
|
15 |
-
/* From CORE Start */
|
16 |
-
global $paged, $tab;
|
17 |
-
wp_reset_vars( array( 'tab' ) );
|
18 |
-
|
19 |
-
$defined_class = new WP_Plugin_Install_List_Table();
|
20 |
-
$paged = $defined_class->get_pagenum();
|
21 |
-
|
22 |
-
$per_page = 30;
|
23 |
-
//$installed_plugins = catch_get_installed_plugins();
|
24 |
-
|
25 |
-
$args = array(
|
26 |
-
'page' => $paged,
|
27 |
-
'per_page' => $per_page,
|
28 |
-
'fields' => array(
|
29 |
-
'last_updated' => true,
|
30 |
-
'icons' => true,
|
31 |
-
'active_installs' => true
|
32 |
-
),
|
33 |
-
// Send the locale and installed plugin slugs to the API so it can provide context-sensitive results.
|
34 |
-
'locale' => get_user_locale(),
|
35 |
-
//'installed_plugins' => array_keys( $installed_plugins ),
|
36 |
-
);
|
37 |
-
/* From CORE End */
|
38 |
-
|
39 |
-
// Add author filter for our plugins
|
40 |
-
$args['author'] = 'catchplugins';
|
41 |
-
|
42 |
-
return $args;
|
43 |
-
}
|
44 |
-
add_filter( "install_plugins_table_api_args_catchplugins", 'catchplugins', 1 );
|
45 |
-
}
|
46 |
-
|
47 |
-
if( ! function_exists( 'cathcplugins_plugins_table' ) ) {
|
48 |
-
add_action( 'install_plugins_catchplugins', 'cathcplugins_plugins_table' );
|
49 |
-
function cathcplugins_plugins_table() {
|
50 |
-
global $wp_list_table;
|
51 |
-
printf(
|
52 |
-
'<p class="catch-plugins-list">' . __( 'You can use any of our free plugins or premium plugins from <a href="%s" target="_blank">Catch Plugins</a>' ) . '.</p>',
|
53 |
-
'https://catchplugins.com/'
|
54 |
-
);
|
55 |
-
?>
|
56 |
-
<form id="plugin-filter" method="post">
|
57 |
-
<?php $wp_list_table->display(); ?>
|
58 |
-
</form>
|
59 |
-
<?php
|
60 |
-
}
|
61 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/js/to-top-admin.js
CHANGED
@@ -177,6 +177,38 @@ jQuery(function($) {
|
|
177 |
});
|
178 |
});
|
179 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
|
181 |
/**
|
182 |
* Facebook Script
|
177 |
});
|
178 |
});
|
179 |
|
180 |
+
jQuery(function($){
|
181 |
+
/* CPT switch */
|
182 |
+
$( '.ctp-switch' ).on( 'click', function() {
|
183 |
+
var loader = $( this ).parent().next();
|
184 |
+
|
185 |
+
loader.show();
|
186 |
+
|
187 |
+
var main_control = $( this );
|
188 |
+
var data = {
|
189 |
+
'action' : 'ctp_switch',
|
190 |
+
'value' : this.checked,
|
191 |
+
'option_name' : main_control.attr( 'rel' )
|
192 |
+
};
|
193 |
+
|
194 |
+
$.post( ajaxurl, data, function( response ) {
|
195 |
+
response = $.trim( response );
|
196 |
+
|
197 |
+
if ( '1' == response ) {
|
198 |
+
main_control.parent().parent().addClass( 'active' );
|
199 |
+
main_control.parent().parent().removeClass( 'inactive' );
|
200 |
+
} else if( '0' == response ) {
|
201 |
+
main_control.parent().parent().addClass( 'inactive' );
|
202 |
+
main_control.parent().parent().removeClass( 'active' );
|
203 |
+
} else {
|
204 |
+
alert( response );
|
205 |
+
}
|
206 |
+
loader.hide();
|
207 |
+
});
|
208 |
+
});
|
209 |
+
/* CPT switch End */
|
210 |
+
})
|
211 |
+
|
212 |
|
213 |
/**
|
214 |
* Facebook Script
|
admin/partials/to-top-admin-display.php
CHANGED
@@ -27,6 +27,37 @@
|
|
27 |
|
28 |
<div id="dashboard" class="wpcatchtab nosave active">
|
29 |
<?php require_once plugin_dir_path( dirname( __FILE__ ) ) . '/partials/to-top-dashboard.php'; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
</div><!-- .dashboard -->
|
31 |
|
32 |
<div id="features" class="wpcatchtab save">
|
27 |
|
28 |
<div id="dashboard" class="wpcatchtab nosave active">
|
29 |
<?php require_once plugin_dir_path( dirname( __FILE__ ) ) . '/partials/to-top-dashboard.php'; ?>
|
30 |
+
|
31 |
+
<div id="ctp-switch" class="content-wrapper col-3 to-top-main">
|
32 |
+
<div class="header">
|
33 |
+
<h2><?php esc_html_e( 'Catch Themes & Catch Plugins Tabs', 'to-top' ); ?></h2>
|
34 |
+
</div> <!-- .Header -->
|
35 |
+
|
36 |
+
<div class="content">
|
37 |
+
|
38 |
+
<p><?php echo esc_html__( 'If you want to turn off Catch Themes & Catch Plugins tabs option in Add Themes and Add Plugins page, please uncheck the following option.', 'to-top' ); ?>
|
39 |
+
</p>
|
40 |
+
<table>
|
41 |
+
<tr>
|
42 |
+
<td>
|
43 |
+
<?php echo esc_html__( 'Turn On Catch Themes & Catch Plugin tabs', 'to-top' ); ?>
|
44 |
+
</td>
|
45 |
+
<td><?php //echo '<pre>'; print_r($settings); echo '</pre>';
|
46 |
+
$ctp_options = ctp_get_options()
|
47 |
+
?>
|
48 |
+
<div class="module-header <?php echo $ctp_options['theme_plugin_tabs'] ? 'active' : 'inactive'; ?>">
|
49 |
+
<div class="switch">
|
50 |
+
<input type="checkbox" id="ctp_options[theme_plugin_tabs]" class="ctp-switch" rel="theme_plugin_tabs" <?php checked( true, $ctp_options['theme_plugin_tabs'] ); ?> >
|
51 |
+
<label for="ctp_options[theme_plugin_tabs]"></label>
|
52 |
+
</div>
|
53 |
+
<div class="loader"></div>
|
54 |
+
</div>
|
55 |
+
</td>
|
56 |
+
</tr>
|
57 |
+
</table>
|
58 |
+
|
59 |
+
</div>
|
60 |
+
</div><!-- .content-wrapper -->
|
61 |
</div><!-- .dashboard -->
|
62 |
|
63 |
<div id="features" class="wpcatchtab save">
|
includes/class-to-top.php
CHANGED
@@ -69,11 +69,8 @@ class To_Top {
|
|
69 |
public function __construct() {
|
70 |
|
71 |
$this->plugin_name = 'to-top';
|
72 |
-
|
73 |
-
|
74 |
-
} else {
|
75 |
-
$this->version = '1.8';
|
76 |
-
}
|
77 |
|
78 |
$this->load_dependencies();
|
79 |
$this->set_locale();
|
@@ -161,6 +158,7 @@ class To_Top {
|
|
161 |
|
162 |
$this->loader->add_action( 'admin_menu', $plugin_admin, 'add_plugin_settings_menu' );
|
163 |
$this->loader->add_action( 'admin_init', $plugin_admin, 'register_settings' );
|
|
|
164 |
$this->loader->add_action( 'customize_register', $plugin_admin, 'customize_register' );
|
165 |
|
166 |
$this->loader->add_filter( 'plugin_action_links', $plugin_admin, 'action_links', 10, 2 );
|
@@ -169,6 +167,7 @@ class To_Top {
|
|
169 |
|
170 |
$this->loader->add_action( 'customize_preview_init', $plugin_admin, 'customizer_enqueue_scripts' );
|
171 |
|
|
|
172 |
}
|
173 |
|
174 |
/**
|
69 |
public function __construct() {
|
70 |
|
71 |
$this->plugin_name = 'to-top';
|
72 |
+
|
73 |
+
$this->version = TOTOP_VERSION;
|
|
|
|
|
|
|
74 |
|
75 |
$this->load_dependencies();
|
76 |
$this->set_locale();
|
158 |
|
159 |
$this->loader->add_action( 'admin_menu', $plugin_admin, 'add_plugin_settings_menu' );
|
160 |
$this->loader->add_action( 'admin_init', $plugin_admin, 'register_settings' );
|
161 |
+
|
162 |
$this->loader->add_action( 'customize_register', $plugin_admin, 'customize_register' );
|
163 |
|
164 |
$this->loader->add_filter( 'plugin_action_links', $plugin_admin, 'action_links', 10, 2 );
|
167 |
|
168 |
$this->loader->add_action( 'customize_preview_init', $plugin_admin, 'customizer_enqueue_scripts' );
|
169 |
|
170 |
+
$this->loader->add_filter( 'plugin_row_meta', $plugin_admin, 'add_plugin_meta_links', 10, 2 );
|
171 |
}
|
172 |
|
173 |
/**
|
languages/to-top-fr_FR.mo
CHANGED
Binary file
|
languages/to-top-fr_FR.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: To Top\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/tags/_s\n"
|
7 |
-
"POT-Creation-Date: 2019-
|
8 |
-
"PO-Revision-Date: 2019-
|
9 |
"Last-Translator: Hubert Desrues <hubert.desrues@gmail.com>\n"
|
10 |
"Language-Team: Français\n"
|
11 |
"Language: fr_FR\n"
|
@@ -13,13 +13,13 @@ msgstr ""
|
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
16 |
-
"X-Generator:
|
17 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;esc_attr_e;esc_attr__;_nx;"
|
18 |
"esc_html__;esc_html_e\n"
|
19 |
"X-Poedit-Basepath: .\n"
|
20 |
"X-Poedit-SourceCharset: UTF-8\n"
|
|
|
21 |
"X-Poedit-SearchPath-0: ..\n"
|
22 |
-
"X-Loco-Version: 2.2.1; wp-5.1.1"
|
23 |
|
24 |
#: ../admin/class-to-top-admin.php:135
|
25 |
#: ../admin/partials/to-top-dashboard.php:45
|
@@ -35,192 +35,192 @@ msgid "You do not have sufficient permissions to access this page."
|
|
35 |
msgstr ""
|
36 |
"Vous ne disposez pas des autorisations suffisantes pour accéder à cette page."
|
37 |
|
38 |
-
#: ../admin/class-to-top-admin.php:
|
39 |
msgid "To Top Options"
|
40 |
msgstr "En Haut (To Top), options"
|
41 |
|
42 |
-
#: ../admin/class-to-top-admin.php:
|
43 |
#: ../admin/partials/to-top-dashboard.php:52
|
44 |
msgid "Basic Settings"
|
45 |
msgstr "Réglages de base"
|
46 |
|
47 |
-
#: ../admin/class-to-top-admin.php:
|
48 |
#: ../admin/partials/to-top-dashboard.php:57
|
49 |
msgid "Scroll Offset (px)"
|
50 |
msgstr "Décalage de défilement (px)"
|
51 |
|
52 |
-
#: ../admin/class-to-top-admin.php:
|
53 |
#: ../admin/partials/to-top-dashboard.php:62
|
54 |
msgid "Number of pixels to be scrolled before the button appears"
|
55 |
msgstr "Nombre de pixels à faire défiler avant que le bouton n'apparaisse"
|
56 |
|
57 |
-
#: ../admin/class-to-top-admin.php:
|
58 |
#: ../admin/partials/to-top-dashboard.php:68
|
59 |
msgid "Icon Opacity (%)"
|
60 |
msgstr "Opacité de l'icône (%)"
|
61 |
|
62 |
-
#: ../admin/class-to-top-admin.php:
|
63 |
#: ../admin/partials/to-top-dashboard.php:77
|
64 |
msgid "Style"
|
65 |
msgstr "Style"
|
66 |
|
67 |
-
#: ../admin/class-to-top-admin.php:
|
68 |
#: ../admin/partials/to-top-dashboard.php:82
|
69 |
msgid "Icon Using Dashicons"
|
70 |
msgstr "Icônes Dashicons"
|
71 |
|
72 |
-
#: ../admin/class-to-top-admin.php:
|
73 |
#: ../admin/partials/to-top-dashboard.php:83
|
74 |
msgid "Icon Using Genericons"
|
75 |
msgstr "Icônes Genericons"
|
76 |
|
77 |
-
#: ../admin/class-to-top-admin.php:
|
78 |
#: ../admin/partials/to-top-dashboard.php:84
|
79 |
msgid "Icon Using Font Awesome Icons"
|
80 |
msgstr "Icônes Font Awesone Icons"
|
81 |
|
82 |
-
#: ../admin/class-to-top-admin.php:
|
83 |
#: ../admin/partials/to-top-dashboard.php:85
|
84 |
#: ../admin/partials/to-top-dashboard.php:166
|
85 |
msgid "Image"
|
86 |
msgstr "Image"
|
87 |
|
88 |
-
#: ../admin/class-to-top-admin.php:
|
89 |
#: ../admin/partials/to-top-dashboard.php:101
|
90 |
msgid "Select Icon Type"
|
91 |
msgstr "Sélectionner le type d'icône"
|
92 |
|
93 |
-
#: ../admin/class-to-top-admin.php:
|
94 |
#: ../admin/partials/to-top-dashboard.php:118
|
95 |
msgid "Icon Color"
|
96 |
msgstr "Couleur de l'icône"
|
97 |
|
98 |
-
#: ../admin/class-to-top-admin.php:
|
99 |
#: ../admin/partials/to-top-dashboard.php:128
|
100 |
msgid "Icon Background Color"
|
101 |
msgstr "Couleur du fond de l'icône"
|
102 |
|
103 |
-
#: ../admin/class-to-top-admin.php:
|
104 |
#: ../admin/partials/to-top-dashboard.php:138
|
105 |
msgid "Icon Size (px)"
|
106 |
msgstr "Taille de l'icône (px)"
|
107 |
|
108 |
-
#: ../admin/class-to-top-admin.php:
|
109 |
#: ../admin/partials/to-top-dashboard.php:147
|
110 |
msgid "Border Radius (%)"
|
111 |
msgstr "Rayon de bordure (%)"
|
112 |
|
113 |
-
#: ../admin/class-to-top-admin.php:
|
114 |
#: ../admin/partials/to-top-dashboard.php:152
|
115 |
msgid "0 will make the icon background square, 50 will make it a circle"
|
116 |
msgstr "0 pour une icône sur fond carré, 50 pour une icône sur fond circulaire"
|
117 |
|
118 |
-
#: ../admin/class-to-top-admin.php:
|
119 |
#: ../admin/partials/to-top-dashboard.php:174
|
120 |
msgid "Image Width (px)"
|
121 |
msgstr "Largeur de l'image (px)"
|
122 |
|
123 |
-
#: ../admin/class-to-top-admin.php:
|
124 |
#: ../admin/partials/to-top-dashboard.php:183
|
125 |
msgid "Image Alt"
|
126 |
msgstr "Image alternative"
|
127 |
|
128 |
-
#: ../admin/class-to-top-admin.php:
|
129 |
#: ../admin/partials/to-top-dashboard.php:195
|
130 |
msgid "Advanced Settings"
|
131 |
msgstr "Réglages avancés"
|
132 |
|
133 |
-
#: ../admin/class-to-top-admin.php:
|
134 |
#: ../admin/partials/to-top-dashboard.php:200
|
135 |
msgid "Location"
|
136 |
msgstr "Emplacement"
|
137 |
|
138 |
-
#: ../admin/class-to-top-admin.php:
|
139 |
#: ../admin/partials/to-top-dashboard.php:205
|
140 |
msgid "Bottom Right"
|
141 |
msgstr "Bas droit"
|
142 |
|
143 |
-
#: ../admin/class-to-top-admin.php:
|
144 |
#: ../admin/partials/to-top-dashboard.php:206
|
145 |
msgid "Bottom Left"
|
146 |
msgstr "Bas gauche"
|
147 |
|
148 |
-
#: ../admin/class-to-top-admin.php:
|
149 |
#: ../admin/partials/to-top-dashboard.php:207
|
150 |
msgid "Top Right"
|
151 |
msgstr "En haut à droite"
|
152 |
|
153 |
-
#: ../admin/class-to-top-admin.php:
|
154 |
#: ../admin/partials/to-top-dashboard.php:208
|
155 |
msgid "Top Left"
|
156 |
msgstr "En haut à gauche"
|
157 |
|
158 |
-
#: ../admin/class-to-top-admin.php:
|
159 |
#: ../admin/partials/to-top-dashboard.php:215
|
160 |
msgid "Margin X (px)"
|
161 |
msgstr "Marge X (px)"
|
162 |
|
163 |
-
#: ../admin/class-to-top-admin.php:
|
164 |
#: ../admin/partials/to-top-dashboard.php:224
|
165 |
msgid "Margin Y (px)"
|
166 |
msgstr "Marge Y (px)"
|
167 |
|
168 |
-
#: ../admin/class-to-top-admin.php:
|
169 |
msgid "Check to show on WP-ADMIN"
|
170 |
msgstr "Cochez pour afficher sur l'administration WP"
|
171 |
|
172 |
-
#: ../admin/class-to-top-admin.php:
|
173 |
#: ../admin/partials/to-top-dashboard.php:238
|
174 |
msgid "Button will be shown on admin section"
|
175 |
msgstr "Le bouton apparaît sur les pages d'administration"
|
176 |
|
177 |
-
#: ../admin/class-to-top-admin.php:
|
178 |
msgid "Check to Enable Auto Hide"
|
179 |
msgstr "Cochez pour activer le Masquage automatique"
|
180 |
|
181 |
-
#: ../admin/class-to-top-admin.php:
|
182 |
#: ../admin/partials/to-top-dashboard.php:254
|
183 |
msgid "Auto Hide Time (secs)"
|
184 |
msgstr "Temporisation du Masquage automatique (secondes)"
|
185 |
|
186 |
-
#: ../admin/class-to-top-admin.php:
|
187 |
#: ../admin/partials/to-top-dashboard.php:259
|
188 |
msgid "Button will be auto hidden after this duration in seconds, if enabled"
|
189 |
msgstr "Si activé le bouton disparaît automatiquement après quelques secondes "
|
190 |
|
191 |
-
#: ../admin/class-to-top-admin.php:
|
192 |
msgid "Check to Hide on Small Devices"
|
193 |
msgstr "Cochez pour masquer sur les petits écrans"
|
194 |
|
195 |
-
#: ../admin/class-to-top-admin.php:
|
196 |
#: ../admin/partials/to-top-dashboard.php:270
|
197 |
msgid "Button will be hidden on small devices when the width below matches"
|
198 |
msgstr ""
|
199 |
"Le bouton est caché sur les petits écrans quand la largeur ci-dessous est "
|
200 |
"atteinte"
|
201 |
|
202 |
-
#: ../admin/class-to-top-admin.php:
|
203 |
#: ../admin/partials/to-top-dashboard.php:276
|
204 |
msgid "Small Device Max Width (px)"
|
205 |
msgstr "Largeur maximale du petit terminal (px)"
|
206 |
|
207 |
-
#: ../admin/class-to-top-admin.php:
|
208 |
#: ../admin/partials/to-top-dashboard.php:281
|
209 |
msgid "Button will be hidden on devices with lesser or equal width"
|
210 |
msgstr ""
|
211 |
"Le bouton est caché sur les écrans dont la largeur est inférieures ou égale à"
|
212 |
|
213 |
-
#: ../admin/class-to-top-admin.php:
|
214 |
#: ../admin/partials/to-top-dashboard.php:291
|
215 |
msgid "Reset Settings"
|
216 |
msgstr "Réinitialiser les réglages"
|
217 |
|
218 |
-
#: ../admin/class-to-top-admin.php:
|
219 |
#: ../admin/partials/to-top-dashboard.php:300
|
220 |
msgid "Check to Reset All Settings"
|
221 |
msgstr "Cochez pour Reremettre à zéro tous les réglages"
|
222 |
|
223 |
-
#: ../admin/class-to-top-admin.php:
|
224 |
msgid ""
|
225 |
"Caution: All data will be lost. Refresh the page after save to view full "
|
226 |
"effects."
|
@@ -228,12 +228,16 @@ msgstr ""
|
|
228 |
"Attention : toutes les données vont être perdues. Rafraîchir la page après "
|
229 |
"sauvegarde pour voir l'effet produit "
|
230 |
|
231 |
-
#: ../admin/inc/
|
|
|
|
|
|
|
|
|
232 |
msgctxt "Plugin Installer"
|
233 |
msgid "Catch Plugins"
|
234 |
msgstr "Catch Plugins"
|
235 |
|
236 |
-
#: ../admin/inc/
|
237 |
#, php-format
|
238 |
msgid ""
|
239 |
"You can use any of our free plugins or premium plugins from <a href=\"%s\" "
|
@@ -242,9 +246,9 @@ msgstr ""
|
|
242 |
"Vous pouvez utiliser n'importe lequel de nos plugins gratuits ou premium de "
|
243 |
"<a href=\"%s\" target=\"_blank\">Catch Plugins</a>"
|
244 |
|
245 |
-
#: ../admin/inc/
|
246 |
-
msgid "
|
247 |
-
msgstr "
|
248 |
|
249 |
#: ../admin/partials/footer.php:4
|
250 |
msgid "Catch Plugins"
|
@@ -342,15 +346,29 @@ msgid "Dashboard"
|
|
342 |
msgstr "Bureau"
|
343 |
|
344 |
#: ../admin/partials/to-top-admin-display.php:25
|
345 |
-
#: ../admin/partials/to-top-admin-display.php:
|
346 |
msgid "Features"
|
347 |
msgstr "Fonctionnalités"
|
348 |
|
349 |
-
#: ../admin/partials/to-top-admin-display.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
350 |
msgid "Supports all themes on WordPress"
|
351 |
msgstr "Prend en charge tous les thèmes sur WordPress"
|
352 |
|
353 |
-
#: ../admin/partials/to-top-admin-display.php:
|
354 |
msgid ""
|
355 |
"You don’t have to worry if you have a slightly different or complicated "
|
356 |
"theme installed on your website. It supports all the themes on WordPress and "
|
@@ -360,11 +378,11 @@ msgstr ""
|
|
360 |
"compliqué sur votre site Web. Ce plugin supporte tous les thèmes WordPress "
|
361 |
"et rend votre site plus attrayant et ludique."
|
362 |
|
363 |
-
#: ../admin/partials/to-top-admin-display.php:
|
364 |
msgid "Lightweight"
|
365 |
msgstr "Poids léger"
|
366 |
|
367 |
-
#: ../admin/partials/to-top-admin-display.php:
|
368 |
msgid ""
|
369 |
"It is extremely lightweight. You do not need to worry about it affecting the "
|
370 |
"space and speed of your website."
|
@@ -372,11 +390,11 @@ msgstr ""
|
|
372 |
"C'est extrêmement léger. Ne vous inquiétez pas, cela affectera ni l'espace "
|
373 |
"de stockage ni la vitesse de votre site Web."
|
374 |
|
375 |
-
#: ../admin/partials/to-top-admin-display.php:
|
376 |
msgid "Incredible Support"
|
377 |
msgstr "Support incroyable"
|
378 |
|
379 |
-
#: ../admin/partials/to-top-admin-display.php:
|
380 |
msgid ""
|
381 |
"We have a great line of support team and support documentation. You do not "
|
382 |
"need to worry about how to use the plugins we provide, just refer to our "
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: To Top\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/tags/_s\n"
|
7 |
+
"POT-Creation-Date: 2019-08-20 19:17-0700\n"
|
8 |
+
"PO-Revision-Date: 2019-08-20 19:17-0700\n"
|
9 |
"Last-Translator: Hubert Desrues <hubert.desrues@gmail.com>\n"
|
10 |
"Language-Team: Français\n"
|
11 |
"Language: fr_FR\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
16 |
+
"X-Generator: Poedit 2.2.3\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;esc_attr_e;esc_attr__;_nx;"
|
18 |
"esc_html__;esc_html_e\n"
|
19 |
"X-Poedit-Basepath: .\n"
|
20 |
"X-Poedit-SourceCharset: UTF-8\n"
|
21 |
+
"X-Loco-Version: 2.2.1; wp-5.1.1\n"
|
22 |
"X-Poedit-SearchPath-0: ..\n"
|
|
|
23 |
|
24 |
#: ../admin/class-to-top-admin.php:135
|
25 |
#: ../admin/partials/to-top-dashboard.php:45
|
35 |
msgstr ""
|
36 |
"Vous ne disposez pas des autorisations suffisantes pour accéder à cette page."
|
37 |
|
38 |
+
#: ../admin/class-to-top-admin.php:311
|
39 |
msgid "To Top Options"
|
40 |
msgstr "En Haut (To Top), options"
|
41 |
|
42 |
+
#: ../admin/class-to-top-admin.php:318
|
43 |
#: ../admin/partials/to-top-dashboard.php:52
|
44 |
msgid "Basic Settings"
|
45 |
msgstr "Réglages de base"
|
46 |
|
47 |
+
#: ../admin/class-to-top-admin.php:329
|
48 |
#: ../admin/partials/to-top-dashboard.php:57
|
49 |
msgid "Scroll Offset (px)"
|
50 |
msgstr "Décalage de défilement (px)"
|
51 |
|
52 |
+
#: ../admin/class-to-top-admin.php:330
|
53 |
#: ../admin/partials/to-top-dashboard.php:62
|
54 |
msgid "Number of pixels to be scrolled before the button appears"
|
55 |
msgstr "Nombre de pixels à faire défiler avant que le bouton n'apparaisse"
|
56 |
|
57 |
+
#: ../admin/class-to-top-admin.php:350
|
58 |
#: ../admin/partials/to-top-dashboard.php:68
|
59 |
msgid "Icon Opacity (%)"
|
60 |
msgstr "Opacité de l'icône (%)"
|
61 |
|
62 |
+
#: ../admin/class-to-top-admin.php:370
|
63 |
#: ../admin/partials/to-top-dashboard.php:77
|
64 |
msgid "Style"
|
65 |
msgstr "Style"
|
66 |
|
67 |
+
#: ../admin/class-to-top-admin.php:375
|
68 |
#: ../admin/partials/to-top-dashboard.php:82
|
69 |
msgid "Icon Using Dashicons"
|
70 |
msgstr "Icônes Dashicons"
|
71 |
|
72 |
+
#: ../admin/class-to-top-admin.php:376
|
73 |
#: ../admin/partials/to-top-dashboard.php:83
|
74 |
msgid "Icon Using Genericons"
|
75 |
msgstr "Icônes Genericons"
|
76 |
|
77 |
+
#: ../admin/class-to-top-admin.php:377
|
78 |
#: ../admin/partials/to-top-dashboard.php:84
|
79 |
msgid "Icon Using Font Awesome Icons"
|
80 |
msgstr "Icônes Font Awesone Icons"
|
81 |
|
82 |
+
#: ../admin/class-to-top-admin.php:378 ../admin/class-to-top-admin.php:477
|
83 |
#: ../admin/partials/to-top-dashboard.php:85
|
84 |
#: ../admin/partials/to-top-dashboard.php:166
|
85 |
msgid "Image"
|
86 |
msgstr "Image"
|
87 |
|
88 |
+
#: ../admin/class-to-top-admin.php:390
|
89 |
#: ../admin/partials/to-top-dashboard.php:101
|
90 |
msgid "Select Icon Type"
|
91 |
msgstr "Sélectionner le type d'icône"
|
92 |
|
93 |
+
#: ../admin/class-to-top-admin.php:405
|
94 |
#: ../admin/partials/to-top-dashboard.php:118
|
95 |
msgid "Icon Color"
|
96 |
msgstr "Couleur de l'icône"
|
97 |
|
98 |
+
#: ../admin/class-to-top-admin.php:420
|
99 |
#: ../admin/partials/to-top-dashboard.php:128
|
100 |
msgid "Icon Background Color"
|
101 |
msgstr "Couleur du fond de l'icône"
|
102 |
|
103 |
+
#: ../admin/class-to-top-admin.php:435
|
104 |
#: ../admin/partials/to-top-dashboard.php:138
|
105 |
msgid "Icon Size (px)"
|
106 |
msgstr "Taille de l'icône (px)"
|
107 |
|
108 |
+
#: ../admin/class-to-top-admin.php:455
|
109 |
#: ../admin/partials/to-top-dashboard.php:147
|
110 |
msgid "Border Radius (%)"
|
111 |
msgstr "Rayon de bordure (%)"
|
112 |
|
113 |
+
#: ../admin/class-to-top-admin.php:456
|
114 |
#: ../admin/partials/to-top-dashboard.php:152
|
115 |
msgid "0 will make the icon background square, 50 will make it a circle"
|
116 |
msgstr "0 pour une icône sur fond carré, 50 pour une icône sur fond circulaire"
|
117 |
|
118 |
+
#: ../admin/class-to-top-admin.php:493
|
119 |
#: ../admin/partials/to-top-dashboard.php:174
|
120 |
msgid "Image Width (px)"
|
121 |
msgstr "Largeur de l'image (px)"
|
122 |
|
123 |
+
#: ../admin/class-to-top-admin.php:514
|
124 |
#: ../admin/partials/to-top-dashboard.php:183
|
125 |
msgid "Image Alt"
|
126 |
msgstr "Image alternative"
|
127 |
|
128 |
+
#: ../admin/class-to-top-admin.php:529
|
129 |
#: ../admin/partials/to-top-dashboard.php:195
|
130 |
msgid "Advanced Settings"
|
131 |
msgstr "Réglages avancés"
|
132 |
|
133 |
+
#: ../admin/class-to-top-admin.php:540
|
134 |
#: ../admin/partials/to-top-dashboard.php:200
|
135 |
msgid "Location"
|
136 |
msgstr "Emplacement"
|
137 |
|
138 |
+
#: ../admin/class-to-top-admin.php:546
|
139 |
#: ../admin/partials/to-top-dashboard.php:205
|
140 |
msgid "Bottom Right"
|
141 |
msgstr "Bas droit"
|
142 |
|
143 |
+
#: ../admin/class-to-top-admin.php:547
|
144 |
#: ../admin/partials/to-top-dashboard.php:206
|
145 |
msgid "Bottom Left"
|
146 |
msgstr "Bas gauche"
|
147 |
|
148 |
+
#: ../admin/class-to-top-admin.php:548
|
149 |
#: ../admin/partials/to-top-dashboard.php:207
|
150 |
msgid "Top Right"
|
151 |
msgstr "En haut à droite"
|
152 |
|
153 |
+
#: ../admin/class-to-top-admin.php:549
|
154 |
#: ../admin/partials/to-top-dashboard.php:208
|
155 |
msgid "Top Left"
|
156 |
msgstr "En haut à gauche"
|
157 |
|
158 |
+
#: ../admin/class-to-top-admin.php:561
|
159 |
#: ../admin/partials/to-top-dashboard.php:215
|
160 |
msgid "Margin X (px)"
|
161 |
msgstr "Marge X (px)"
|
162 |
|
163 |
+
#: ../admin/class-to-top-admin.php:581
|
164 |
#: ../admin/partials/to-top-dashboard.php:224
|
165 |
msgid "Margin Y (px)"
|
166 |
msgstr "Marge Y (px)"
|
167 |
|
168 |
+
#: ../admin/class-to-top-admin.php:601
|
169 |
msgid "Check to show on WP-ADMIN"
|
170 |
msgstr "Cochez pour afficher sur l'administration WP"
|
171 |
|
172 |
+
#: ../admin/class-to-top-admin.php:602
|
173 |
#: ../admin/partials/to-top-dashboard.php:238
|
174 |
msgid "Button will be shown on admin section"
|
175 |
msgstr "Le bouton apparaît sur les pages d'administration"
|
176 |
|
177 |
+
#: ../admin/class-to-top-admin.php:616
|
178 |
msgid "Check to Enable Auto Hide"
|
179 |
msgstr "Cochez pour activer le Masquage automatique"
|
180 |
|
181 |
+
#: ../admin/class-to-top-admin.php:631
|
182 |
#: ../admin/partials/to-top-dashboard.php:254
|
183 |
msgid "Auto Hide Time (secs)"
|
184 |
msgstr "Temporisation du Masquage automatique (secondes)"
|
185 |
|
186 |
+
#: ../admin/class-to-top-admin.php:632
|
187 |
#: ../admin/partials/to-top-dashboard.php:259
|
188 |
msgid "Button will be auto hidden after this duration in seconds, if enabled"
|
189 |
msgstr "Si activé le bouton disparaît automatiquement après quelques secondes "
|
190 |
|
191 |
+
#: ../admin/class-to-top-admin.php:652
|
192 |
msgid "Check to Hide on Small Devices"
|
193 |
msgstr "Cochez pour masquer sur les petits écrans"
|
194 |
|
195 |
+
#: ../admin/class-to-top-admin.php:653
|
196 |
#: ../admin/partials/to-top-dashboard.php:270
|
197 |
msgid "Button will be hidden on small devices when the width below matches"
|
198 |
msgstr ""
|
199 |
"Le bouton est caché sur les petits écrans quand la largeur ci-dessous est "
|
200 |
"atteinte"
|
201 |
|
202 |
+
#: ../admin/class-to-top-admin.php:667
|
203 |
#: ../admin/partials/to-top-dashboard.php:276
|
204 |
msgid "Small Device Max Width (px)"
|
205 |
msgstr "Largeur maximale du petit terminal (px)"
|
206 |
|
207 |
+
#: ../admin/class-to-top-admin.php:668
|
208 |
#: ../admin/partials/to-top-dashboard.php:281
|
209 |
msgid "Button will be hidden on devices with lesser or equal width"
|
210 |
msgstr ""
|
211 |
"Le bouton est caché sur les écrans dont la largeur est inférieures ou égale à"
|
212 |
|
213 |
+
#: ../admin/class-to-top-admin.php:687
|
214 |
#: ../admin/partials/to-top-dashboard.php:291
|
215 |
msgid "Reset Settings"
|
216 |
msgstr "Réinitialiser les réglages"
|
217 |
|
218 |
+
#: ../admin/class-to-top-admin.php:698
|
219 |
#: ../admin/partials/to-top-dashboard.php:300
|
220 |
msgid "Check to Reset All Settings"
|
221 |
msgstr "Cochez pour Reremettre à zéro tous les réglages"
|
222 |
|
223 |
+
#: ../admin/class-to-top-admin.php:699
|
224 |
msgid ""
|
225 |
"Caution: All data will be lost. Refresh the page after save to view full "
|
226 |
"effects."
|
228 |
"Attention : toutes les données vont être perdues. Rafraîchir la page après "
|
229 |
"sauvegarde pour voir l'effet produit "
|
230 |
|
231 |
+
#: ../admin/inc/CatchThemesThemePlugin.php:109
|
232 |
+
msgid "Themes by CatchThemes"
|
233 |
+
msgstr "Thèmes par CatchThemes"
|
234 |
+
|
235 |
+
#: ../admin/inc/CatchThemesThemePlugin.php:398
|
236 |
msgctxt "Plugin Installer"
|
237 |
msgid "Catch Plugins"
|
238 |
msgstr "Catch Plugins"
|
239 |
|
240 |
+
#: ../admin/inc/CatchThemesThemePlugin.php:437
|
241 |
#, php-format
|
242 |
msgid ""
|
243 |
"You can use any of our free plugins or premium plugins from <a href=\"%s\" "
|
246 |
"Vous pouvez utiliser n'importe lequel de nos plugins gratuits ou premium de "
|
247 |
"<a href=\"%s\" target=\"_blank\">Catch Plugins</a>"
|
248 |
|
249 |
+
#: ../admin/inc/ctp-tabs-removal.php:69
|
250 |
+
msgid "Connection Error. Please try again."
|
251 |
+
msgstr ""
|
252 |
|
253 |
#: ../admin/partials/footer.php:4
|
254 |
msgid "Catch Plugins"
|
346 |
msgstr "Bureau"
|
347 |
|
348 |
#: ../admin/partials/to-top-admin-display.php:25
|
349 |
+
#: ../admin/partials/to-top-admin-display.php:66
|
350 |
msgid "Features"
|
351 |
msgstr "Fonctionnalités"
|
352 |
|
353 |
+
#: ../admin/partials/to-top-admin-display.php:33
|
354 |
+
msgid "Catch Themes & Catch Plugins Tabs"
|
355 |
+
msgstr ""
|
356 |
+
|
357 |
+
#: ../admin/partials/to-top-admin-display.php:38
|
358 |
+
msgid ""
|
359 |
+
"If you want to turn off Catch Themes & Catch Plugins tabs option in Add "
|
360 |
+
"Themes and Add Plugins page, please uncheck the following option."
|
361 |
+
msgstr ""
|
362 |
+
|
363 |
+
#: ../admin/partials/to-top-admin-display.php:43
|
364 |
+
msgid "Turn On Catch Themes & Catch Plugin tabs"
|
365 |
+
msgstr ""
|
366 |
+
|
367 |
+
#: ../admin/partials/to-top-admin-display.php:71
|
368 |
msgid "Supports all themes on WordPress"
|
369 |
msgstr "Prend en charge tous les thèmes sur WordPress"
|
370 |
|
371 |
+
#: ../admin/partials/to-top-admin-display.php:72
|
372 |
msgid ""
|
373 |
"You don’t have to worry if you have a slightly different or complicated "
|
374 |
"theme installed on your website. It supports all the themes on WordPress and "
|
378 |
"compliqué sur votre site Web. Ce plugin supporte tous les thèmes WordPress "
|
379 |
"et rend votre site plus attrayant et ludique."
|
380 |
|
381 |
+
#: ../admin/partials/to-top-admin-display.php:76
|
382 |
msgid "Lightweight"
|
383 |
msgstr "Poids léger"
|
384 |
|
385 |
+
#: ../admin/partials/to-top-admin-display.php:77
|
386 |
msgid ""
|
387 |
"It is extremely lightweight. You do not need to worry about it affecting the "
|
388 |
"space and speed of your website."
|
390 |
"C'est extrêmement léger. Ne vous inquiétez pas, cela affectera ni l'espace "
|
391 |
"de stockage ni la vitesse de votre site Web."
|
392 |
|
393 |
+
#: ../admin/partials/to-top-admin-display.php:81
|
394 |
msgid "Incredible Support"
|
395 |
msgstr "Support incroyable"
|
396 |
|
397 |
+
#: ../admin/partials/to-top-admin-display.php:82
|
398 |
msgid ""
|
399 |
"We have a great line of support team and support documentation. You do not "
|
400 |
"need to worry about how to use the plugins we provide, just refer to our "
|
languages/to-top.pot
CHANGED
@@ -5,7 +5,7 @@ msgid ""
|
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: To Top\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/tags/_s\n"
|
8 |
-
"POT-Creation-Date: 2019-
|
9 |
"PO-Revision-Date: 2016-12-07 23:04-0500\n"
|
10 |
"Last-Translator: Sakin Shrestha <info@catchplugins.com>\n"
|
11 |
"Language-Team: Catch Plugins <info@catchplugins.com>\n"
|
@@ -14,7 +14,7 @@ msgstr ""
|
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
-
"X-Generator: Poedit 2.2.
|
18 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;esc_attr_e;esc_attr__;_nx;"
|
19 |
"esc_html__;esc_html_e\n"
|
20 |
"X-Poedit-Basepath: .\n"
|
@@ -34,208 +34,212 @@ msgstr ""
|
|
34 |
msgid "You do not have sufficient permissions to access this page."
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: ../admin/class-to-top-admin.php:
|
38 |
msgid "To Top Options"
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: ../admin/class-to-top-admin.php:
|
42 |
#: ../admin/partials/to-top-dashboard.php:52
|
43 |
msgid "Basic Settings"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: ../admin/class-to-top-admin.php:
|
47 |
#: ../admin/partials/to-top-dashboard.php:57
|
48 |
msgid "Scroll Offset (px)"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: ../admin/class-to-top-admin.php:
|
52 |
#: ../admin/partials/to-top-dashboard.php:62
|
53 |
msgid "Number of pixels to be scrolled before the button appears"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: ../admin/class-to-top-admin.php:
|
57 |
#: ../admin/partials/to-top-dashboard.php:68
|
58 |
msgid "Icon Opacity (%)"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: ../admin/class-to-top-admin.php:
|
62 |
#: ../admin/partials/to-top-dashboard.php:77
|
63 |
msgid "Style"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: ../admin/class-to-top-admin.php:
|
67 |
#: ../admin/partials/to-top-dashboard.php:82
|
68 |
msgid "Icon Using Dashicons"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: ../admin/class-to-top-admin.php:
|
72 |
#: ../admin/partials/to-top-dashboard.php:83
|
73 |
msgid "Icon Using Genericons"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: ../admin/class-to-top-admin.php:
|
77 |
#: ../admin/partials/to-top-dashboard.php:84
|
78 |
msgid "Icon Using Font Awesome Icons"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: ../admin/class-to-top-admin.php:
|
82 |
#: ../admin/partials/to-top-dashboard.php:85
|
83 |
#: ../admin/partials/to-top-dashboard.php:166
|
84 |
msgid "Image"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: ../admin/class-to-top-admin.php:
|
88 |
#: ../admin/partials/to-top-dashboard.php:101
|
89 |
msgid "Select Icon Type"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: ../admin/class-to-top-admin.php:
|
93 |
#: ../admin/partials/to-top-dashboard.php:118
|
94 |
msgid "Icon Color"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: ../admin/class-to-top-admin.php:
|
98 |
#: ../admin/partials/to-top-dashboard.php:128
|
99 |
msgid "Icon Background Color"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: ../admin/class-to-top-admin.php:
|
103 |
#: ../admin/partials/to-top-dashboard.php:138
|
104 |
msgid "Icon Size (px)"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: ../admin/class-to-top-admin.php:
|
108 |
#: ../admin/partials/to-top-dashboard.php:147
|
109 |
msgid "Border Radius (%)"
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: ../admin/class-to-top-admin.php:
|
113 |
#: ../admin/partials/to-top-dashboard.php:152
|
114 |
msgid "0 will make the icon background square, 50 will make it a circle"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: ../admin/class-to-top-admin.php:
|
118 |
#: ../admin/partials/to-top-dashboard.php:174
|
119 |
msgid "Image Width (px)"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: ../admin/class-to-top-admin.php:
|
123 |
#: ../admin/partials/to-top-dashboard.php:183
|
124 |
msgid "Image Alt"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: ../admin/class-to-top-admin.php:
|
128 |
#: ../admin/partials/to-top-dashboard.php:195
|
129 |
msgid "Advanced Settings"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: ../admin/class-to-top-admin.php:
|
133 |
#: ../admin/partials/to-top-dashboard.php:200
|
134 |
msgid "Location"
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: ../admin/class-to-top-admin.php:
|
138 |
#: ../admin/partials/to-top-dashboard.php:205
|
139 |
msgid "Bottom Right"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: ../admin/class-to-top-admin.php:
|
143 |
#: ../admin/partials/to-top-dashboard.php:206
|
144 |
msgid "Bottom Left"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: ../admin/class-to-top-admin.php:
|
148 |
#: ../admin/partials/to-top-dashboard.php:207
|
149 |
msgid "Top Right"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: ../admin/class-to-top-admin.php:
|
153 |
#: ../admin/partials/to-top-dashboard.php:208
|
154 |
msgid "Top Left"
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: ../admin/class-to-top-admin.php:
|
158 |
#: ../admin/partials/to-top-dashboard.php:215
|
159 |
msgid "Margin X (px)"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: ../admin/class-to-top-admin.php:
|
163 |
#: ../admin/partials/to-top-dashboard.php:224
|
164 |
msgid "Margin Y (px)"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: ../admin/class-to-top-admin.php:
|
168 |
msgid "Check to show on WP-ADMIN"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: ../admin/class-to-top-admin.php:
|
172 |
#: ../admin/partials/to-top-dashboard.php:238
|
173 |
msgid "Button will be shown on admin section"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: ../admin/class-to-top-admin.php:
|
177 |
msgid "Check to Enable Auto Hide"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: ../admin/class-to-top-admin.php:
|
181 |
#: ../admin/partials/to-top-dashboard.php:254
|
182 |
msgid "Auto Hide Time (secs)"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: ../admin/class-to-top-admin.php:
|
186 |
#: ../admin/partials/to-top-dashboard.php:259
|
187 |
msgid "Button will be auto hidden after this duration in seconds, if enabled"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: ../admin/class-to-top-admin.php:
|
191 |
msgid "Check to Hide on Small Devices"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: ../admin/class-to-top-admin.php:
|
195 |
#: ../admin/partials/to-top-dashboard.php:270
|
196 |
msgid "Button will be hidden on small devices when the width below matches"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: ../admin/class-to-top-admin.php:
|
200 |
#: ../admin/partials/to-top-dashboard.php:276
|
201 |
msgid "Small Device Max Width (px)"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: ../admin/class-to-top-admin.php:
|
205 |
#: ../admin/partials/to-top-dashboard.php:281
|
206 |
msgid "Button will be hidden on devices with lesser or equal width"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: ../admin/class-to-top-admin.php:
|
210 |
#: ../admin/partials/to-top-dashboard.php:291
|
211 |
msgid "Reset Settings"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: ../admin/class-to-top-admin.php:
|
215 |
#: ../admin/partials/to-top-dashboard.php:300
|
216 |
msgid "Check to Reset All Settings"
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: ../admin/class-to-top-admin.php:
|
220 |
msgid ""
|
221 |
"Caution: All data will be lost. Refresh the page after save to view full "
|
222 |
"effects."
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: ../admin/inc/
|
|
|
|
|
|
|
|
|
226 |
msgctxt "Plugin Installer"
|
227 |
msgid "Catch Plugins"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: ../admin/inc/
|
231 |
#, php-format
|
232 |
msgid ""
|
233 |
"You can use any of our free plugins or premium plugins from <a href=\"%s\" "
|
234 |
"target=\"_blank\">Catch Plugins</a>"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: ../admin/inc/
|
238 |
-
msgid "
|
239 |
msgstr ""
|
240 |
|
241 |
#: ../admin/partials/footer.php:4
|
@@ -324,36 +328,50 @@ msgid "Dashboard"
|
|
324 |
msgstr ""
|
325 |
|
326 |
#: ../admin/partials/to-top-admin-display.php:25
|
327 |
-
#: ../admin/partials/to-top-admin-display.php:
|
328 |
msgid "Features"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: ../admin/partials/to-top-admin-display.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
msgid "Supports all themes on WordPress"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: ../admin/partials/to-top-admin-display.php:
|
336 |
msgid ""
|
337 |
"You don’t have to worry if you have a slightly different or complicated "
|
338 |
"theme installed on your website. It supports all the themes on WordPress "
|
339 |
"and makes your website more striking and playful."
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: ../admin/partials/to-top-admin-display.php:
|
343 |
msgid "Lightweight"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: ../admin/partials/to-top-admin-display.php:
|
347 |
msgid ""
|
348 |
"It is extremely lightweight. You do not need to worry about it affecting "
|
349 |
"the space and speed of your website."
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: ../admin/partials/to-top-admin-display.php:
|
353 |
msgid "Incredible Support"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: ../admin/partials/to-top-admin-display.php:
|
357 |
msgid ""
|
358 |
"We have a great line of support team and support documentation. You do not "
|
359 |
"need to worry about how to use the plugins we provide, just refer to our "
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: To Top\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/tags/_s\n"
|
8 |
+
"POT-Creation-Date: 2019-08-20 19:17-0700\n"
|
9 |
"PO-Revision-Date: 2016-12-07 23:04-0500\n"
|
10 |
"Last-Translator: Sakin Shrestha <info@catchplugins.com>\n"
|
11 |
"Language-Team: Catch Plugins <info@catchplugins.com>\n"
|
14 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
+
"X-Generator: Poedit 2.2.3\n"
|
18 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;esc_attr_e;esc_attr__;_nx;"
|
19 |
"esc_html__;esc_html_e\n"
|
20 |
"X-Poedit-Basepath: .\n"
|
34 |
msgid "You do not have sufficient permissions to access this page."
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: ../admin/class-to-top-admin.php:311
|
38 |
msgid "To Top Options"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: ../admin/class-to-top-admin.php:318
|
42 |
#: ../admin/partials/to-top-dashboard.php:52
|
43 |
msgid "Basic Settings"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: ../admin/class-to-top-admin.php:329
|
47 |
#: ../admin/partials/to-top-dashboard.php:57
|
48 |
msgid "Scroll Offset (px)"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: ../admin/class-to-top-admin.php:330
|
52 |
#: ../admin/partials/to-top-dashboard.php:62
|
53 |
msgid "Number of pixels to be scrolled before the button appears"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: ../admin/class-to-top-admin.php:350
|
57 |
#: ../admin/partials/to-top-dashboard.php:68
|
58 |
msgid "Icon Opacity (%)"
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: ../admin/class-to-top-admin.php:370
|
62 |
#: ../admin/partials/to-top-dashboard.php:77
|
63 |
msgid "Style"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: ../admin/class-to-top-admin.php:375
|
67 |
#: ../admin/partials/to-top-dashboard.php:82
|
68 |
msgid "Icon Using Dashicons"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: ../admin/class-to-top-admin.php:376
|
72 |
#: ../admin/partials/to-top-dashboard.php:83
|
73 |
msgid "Icon Using Genericons"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: ../admin/class-to-top-admin.php:377
|
77 |
#: ../admin/partials/to-top-dashboard.php:84
|
78 |
msgid "Icon Using Font Awesome Icons"
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: ../admin/class-to-top-admin.php:378 ../admin/class-to-top-admin.php:477
|
82 |
#: ../admin/partials/to-top-dashboard.php:85
|
83 |
#: ../admin/partials/to-top-dashboard.php:166
|
84 |
msgid "Image"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: ../admin/class-to-top-admin.php:390
|
88 |
#: ../admin/partials/to-top-dashboard.php:101
|
89 |
msgid "Select Icon Type"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: ../admin/class-to-top-admin.php:405
|
93 |
#: ../admin/partials/to-top-dashboard.php:118
|
94 |
msgid "Icon Color"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: ../admin/class-to-top-admin.php:420
|
98 |
#: ../admin/partials/to-top-dashboard.php:128
|
99 |
msgid "Icon Background Color"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: ../admin/class-to-top-admin.php:435
|
103 |
#: ../admin/partials/to-top-dashboard.php:138
|
104 |
msgid "Icon Size (px)"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: ../admin/class-to-top-admin.php:455
|
108 |
#: ../admin/partials/to-top-dashboard.php:147
|
109 |
msgid "Border Radius (%)"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: ../admin/class-to-top-admin.php:456
|
113 |
#: ../admin/partials/to-top-dashboard.php:152
|
114 |
msgid "0 will make the icon background square, 50 will make it a circle"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: ../admin/class-to-top-admin.php:493
|
118 |
#: ../admin/partials/to-top-dashboard.php:174
|
119 |
msgid "Image Width (px)"
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: ../admin/class-to-top-admin.php:514
|
123 |
#: ../admin/partials/to-top-dashboard.php:183
|
124 |
msgid "Image Alt"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: ../admin/class-to-top-admin.php:529
|
128 |
#: ../admin/partials/to-top-dashboard.php:195
|
129 |
msgid "Advanced Settings"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: ../admin/class-to-top-admin.php:540
|
133 |
#: ../admin/partials/to-top-dashboard.php:200
|
134 |
msgid "Location"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: ../admin/class-to-top-admin.php:546
|
138 |
#: ../admin/partials/to-top-dashboard.php:205
|
139 |
msgid "Bottom Right"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: ../admin/class-to-top-admin.php:547
|
143 |
#: ../admin/partials/to-top-dashboard.php:206
|
144 |
msgid "Bottom Left"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: ../admin/class-to-top-admin.php:548
|
148 |
#: ../admin/partials/to-top-dashboard.php:207
|
149 |
msgid "Top Right"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: ../admin/class-to-top-admin.php:549
|
153 |
#: ../admin/partials/to-top-dashboard.php:208
|
154 |
msgid "Top Left"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: ../admin/class-to-top-admin.php:561
|
158 |
#: ../admin/partials/to-top-dashboard.php:215
|
159 |
msgid "Margin X (px)"
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: ../admin/class-to-top-admin.php:581
|
163 |
#: ../admin/partials/to-top-dashboard.php:224
|
164 |
msgid "Margin Y (px)"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: ../admin/class-to-top-admin.php:601
|
168 |
msgid "Check to show on WP-ADMIN"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: ../admin/class-to-top-admin.php:602
|
172 |
#: ../admin/partials/to-top-dashboard.php:238
|
173 |
msgid "Button will be shown on admin section"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: ../admin/class-to-top-admin.php:616
|
177 |
msgid "Check to Enable Auto Hide"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: ../admin/class-to-top-admin.php:631
|
181 |
#: ../admin/partials/to-top-dashboard.php:254
|
182 |
msgid "Auto Hide Time (secs)"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: ../admin/class-to-top-admin.php:632
|
186 |
#: ../admin/partials/to-top-dashboard.php:259
|
187 |
msgid "Button will be auto hidden after this duration in seconds, if enabled"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: ../admin/class-to-top-admin.php:652
|
191 |
msgid "Check to Hide on Small Devices"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: ../admin/class-to-top-admin.php:653
|
195 |
#: ../admin/partials/to-top-dashboard.php:270
|
196 |
msgid "Button will be hidden on small devices when the width below matches"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: ../admin/class-to-top-admin.php:667
|
200 |
#: ../admin/partials/to-top-dashboard.php:276
|
201 |
msgid "Small Device Max Width (px)"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: ../admin/class-to-top-admin.php:668
|
205 |
#: ../admin/partials/to-top-dashboard.php:281
|
206 |
msgid "Button will be hidden on devices with lesser or equal width"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: ../admin/class-to-top-admin.php:687
|
210 |
#: ../admin/partials/to-top-dashboard.php:291
|
211 |
msgid "Reset Settings"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: ../admin/class-to-top-admin.php:698
|
215 |
#: ../admin/partials/to-top-dashboard.php:300
|
216 |
msgid "Check to Reset All Settings"
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: ../admin/class-to-top-admin.php:699
|
220 |
msgid ""
|
221 |
"Caution: All data will be lost. Refresh the page after save to view full "
|
222 |
"effects."
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: ../admin/inc/CatchThemesThemePlugin.php:109
|
226 |
+
msgid "Themes by CatchThemes"
|
227 |
+
msgstr ""
|
228 |
+
|
229 |
+
#: ../admin/inc/CatchThemesThemePlugin.php:398
|
230 |
msgctxt "Plugin Installer"
|
231 |
msgid "Catch Plugins"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: ../admin/inc/CatchThemesThemePlugin.php:437
|
235 |
#, php-format
|
236 |
msgid ""
|
237 |
"You can use any of our free plugins or premium plugins from <a href=\"%s\" "
|
238 |
"target=\"_blank\">Catch Plugins</a>"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: ../admin/inc/ctp-tabs-removal.php:69
|
242 |
+
msgid "Connection Error. Please try again."
|
243 |
msgstr ""
|
244 |
|
245 |
#: ../admin/partials/footer.php:4
|
328 |
msgstr ""
|
329 |
|
330 |
#: ../admin/partials/to-top-admin-display.php:25
|
331 |
+
#: ../admin/partials/to-top-admin-display.php:66
|
332 |
msgid "Features"
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: ../admin/partials/to-top-admin-display.php:33
|
336 |
+
msgid "Catch Themes & Catch Plugins Tabs"
|
337 |
+
msgstr ""
|
338 |
+
|
339 |
+
#: ../admin/partials/to-top-admin-display.php:38
|
340 |
+
msgid ""
|
341 |
+
"If you want to turn off Catch Themes & Catch Plugins tabs option in Add "
|
342 |
+
"Themes and Add Plugins page, please uncheck the following option."
|
343 |
+
msgstr ""
|
344 |
+
|
345 |
+
#: ../admin/partials/to-top-admin-display.php:43
|
346 |
+
msgid "Turn On Catch Themes & Catch Plugin tabs"
|
347 |
+
msgstr ""
|
348 |
+
|
349 |
+
#: ../admin/partials/to-top-admin-display.php:71
|
350 |
msgid "Supports all themes on WordPress"
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: ../admin/partials/to-top-admin-display.php:72
|
354 |
msgid ""
|
355 |
"You don’t have to worry if you have a slightly different or complicated "
|
356 |
"theme installed on your website. It supports all the themes on WordPress "
|
357 |
"and makes your website more striking and playful."
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: ../admin/partials/to-top-admin-display.php:76
|
361 |
msgid "Lightweight"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: ../admin/partials/to-top-admin-display.php:77
|
365 |
msgid ""
|
366 |
"It is extremely lightweight. You do not need to worry about it affecting "
|
367 |
"the space and speed of your website."
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: ../admin/partials/to-top-admin-display.php:81
|
371 |
msgid "Incredible Support"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: ../admin/partials/to-top-admin-display.php:82
|
375 |
msgid ""
|
376 |
"We have a great line of support team and support documentation. You do not "
|
377 |
"need to worry about how to use the plugins we provide, just refer to our "
|
to-top.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: To Top plugin allows the visitor as well as admin to easily scroll back to the top of the page, with fully customizable options and ability to use image.
|
6 |
* Author: Catch Plugins
|
7 |
* Author URI: https://catchplugins.com/
|
8 |
-
* Version: 1.
|
9 |
* License: GNU General Public License, version 3 (GPLv3)
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
11 |
* Text Domain: to-top
|
@@ -38,7 +38,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
38 |
}
|
39 |
|
40 |
// Define Version
|
41 |
-
define( 'TOTOP_VERSION', '1.
|
42 |
|
43 |
// The URL of the directory that contains the plugin
|
44 |
if ( !defined( 'TOTOP_URL' ) ) {
|
@@ -51,10 +51,11 @@ if ( !defined( 'TOTOP_PATH' ) ) {
|
|
51 |
define( 'TOTOP_PATH', plugin_dir_path( __FILE__ ) );
|
52 |
}
|
53 |
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
58 |
function activate_to_top() {
|
59 |
require_once plugin_dir_path( __FILE__ ) . 'includes/class-to-top-activator.php';
|
60 |
To_Top_Activator::activate();
|
@@ -154,8 +155,13 @@ function to_top_default_options( $option = null ) {
|
|
154 |
}
|
155 |
}
|
156 |
|
157 |
-
/*
|
158 |
-
|
159 |
|
160 |
-
|
161 |
-
|
|
|
|
|
|
|
|
|
|
5 |
* Description: To Top plugin allows the visitor as well as admin to easily scroll back to the top of the page, with fully customizable options and ability to use image.
|
6 |
* Author: Catch Plugins
|
7 |
* Author URI: https://catchplugins.com/
|
8 |
+
* Version: 1.9
|
9 |
* License: GNU General Public License, version 3 (GPLv3)
|
10 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
|
11 |
* Text Domain: to-top
|
38 |
}
|
39 |
|
40 |
// Define Version
|
41 |
+
define( 'TOTOP_VERSION', '1.9' );
|
42 |
|
43 |
// The URL of the directory that contains the plugin
|
44 |
if ( !defined( 'TOTOP_URL' ) ) {
|
51 |
define( 'TOTOP_PATH', plugin_dir_path( __FILE__ ) );
|
52 |
}
|
53 |
|
54 |
+
// Gets the path to a plugin file or directory, relative to the plugins directory, without the leading and trailing slashes.
|
55 |
+
if ( !defined( 'TOTOP_BASENAME' ) ) {
|
56 |
+
define( 'TOTOP_BASENAME', plugin_basename( __FILE__ ) );
|
57 |
+
}
|
58 |
+
|
59 |
function activate_to_top() {
|
60 |
require_once plugin_dir_path( __FILE__ ) . 'includes/class-to-top-activator.php';
|
61 |
To_Top_Activator::activate();
|
155 |
}
|
156 |
}
|
157 |
|
158 |
+
/* CTP tabs removal options */
|
159 |
+
require plugin_dir_path( __FILE__ ) . 'admin/inc/ctp-tabs-removal.php';
|
160 |
|
161 |
+
$ctp_options = ctp_get_options();
|
162 |
+
if( 1 == $ctp_options['theme_plugin_tabs'] ) {
|
163 |
+
/* Adds Catch Themes tab in Add theme page and Themes by Catch Themes in Customizer's change theme option. */
|
164 |
+
if( ! class_exists( 'CatchThemesThemePlugin' ) && ! function_exists( 'add_our_plugins_tab' ) ) {
|
165 |
+
require plugin_dir_path( __FILE__ ) . 'admin/inc/CatchThemesThemePlugin.php';
|
166 |
+
}
|
167 |
+
}
|