Version Description
- Made the title and caption linked if we have a URL
- Stopped the caption div from displaying if there is not caption
- Added a unique CSS id attribute to each item, based on the wordpress post ID
- Fixed a bug where the plugin was throwing and error when WP_DEBUG was on
- Updated the FAQ a little
- Changed the default version of bootstrap to v3 for new installs. This can be customised in the settings.
Download this release
Release Info
Developer | tallphil |
Plugin | CPT Bootstrap Carousel |
Version | 1.6 |
Comparing to | |
See all releases |
Code changes from version 1.5 to 1.6
cpt-bootstrap-carousel.php
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
/*
|
3 |
Plugin Name: CPT Bootstrap Carousel
|
4 |
Plugin URI: http://www.tallphil.co.uk/bootstrap-carousel/
|
5 |
-
Description: A custom post type for choosing images and content which outputs <a href="http://
|
6 |
-
Version: 1.
|
7 |
Author: Phil Ewels
|
8 |
Author URI: http://phil.ewels.co.uk
|
9 |
Text Domain: cpt-bootstrap-carousel
|
@@ -12,7 +12,7 @@ License: GPLv2
|
|
12 |
|
13 |
// Initialise - load in translations
|
14 |
function cptbc_loadtranslations () {
|
15 |
-
$plugin_dir = basename(dirname(__FILE__));
|
16 |
load_plugin_textdomain( 'cpt-bootstrap-carousel', false, $plugin_dir );
|
17 |
}
|
18 |
add_action('plugins_loaded', 'cptbc_loadtranslations');
|
@@ -120,8 +120,12 @@ add_action("add_meta_boxes", "cptbc_admin_init_custpost");
|
|
120 |
function cptbc_mb_save_details(){
|
121 |
global $post;
|
122 |
if (isset($_POST["cptbc_image_url"])) {
|
|
|
|
|
|
|
|
|
123 |
update_post_meta($post->ID, "cptbc_image_url", esc_url($_POST["cptbc_image_url"]));
|
124 |
-
update_post_meta($post->ID, "cptbc_image_url_openblank", $
|
125 |
}
|
126 |
}
|
127 |
add_action('save_post', 'cptbc_mb_save_details');
|
@@ -137,7 +141,7 @@ function cptbc_set_options (){
|
|
137 |
'order' => 'ASC',
|
138 |
'category' => '',
|
139 |
'id' => '',
|
140 |
-
'twbs' => '
|
141 |
);
|
142 |
add_option('cptbc_settings', $defaults);
|
143 |
}
|
@@ -434,12 +438,13 @@ function cptbc_frontend($atts){
|
|
434 |
while ( $loop->have_posts() ) {
|
435 |
$loop->the_post();
|
436 |
if ( '' != get_the_post_thumbnail() ) {
|
|
|
437 |
$title = get_the_title();
|
438 |
$content = get_the_excerpt();
|
439 |
$image = get_the_post_thumbnail( get_the_ID(), 'full' );
|
440 |
$url = get_post_meta(get_the_ID(), 'cptbc_image_url');
|
441 |
$url_openblank = get_post_meta(get_the_ID(), 'cptbc_image_url_openblank');
|
442 |
-
$images[] = array('title' => $title, 'content' => $content, 'image' => $image, 'url' => esc_url($url[0]), 'url_openblank' => $url_openblank[0] == "1" ? true : false);
|
443 |
}
|
444 |
}
|
445 |
if(count($images) > 0){
|
@@ -452,29 +457,32 @@ function cptbc_frontend($atts){
|
|
452 |
<?php } ?>
|
453 |
</ol>
|
454 |
<div class="carousel-inner">
|
455 |
-
<?php foreach ($images as $key => $image) {
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
echo '>';
|
463 |
}
|
464 |
-
|
465 |
-
|
466 |
-
|
|
|
|
|
|
|
|
|
467 |
<div class="carousel-caption">
|
468 |
-
<h4><?php echo $image['title']; ?></h4>
|
469 |
-
<p><?php echo $image['content']; ?></p>
|
470 |
</div>
|
471 |
<?php } ?>
|
472 |
</div>
|
473 |
<?php } ?>
|
474 |
</div>
|
475 |
<?php if($atts['showcontrols'] === 'true' && $atts['twbs'] == '3') { ?>
|
476 |
-
<a class="left carousel-control" href="#cptbc_<?php echo $id; ?>" data-slide="prev"><span class="
|
477 |
-
<a class="right carousel-control" href="#cptbc_<?php echo $id; ?>" data-slide="next"><span class="
|
478 |
<?php } else if($atts['showcontrols'] === 'true'){ ?>
|
479 |
<a class="left carousel-control" href="#cptbc_<?php echo $id; ?>" data-slide="prev">‹</a>
|
480 |
<a class="right carousel-control" href="#cptbc_<?php echo $id; ?>" data-slide="next">›</a>
|
2 |
/*
|
3 |
Plugin Name: CPT Bootstrap Carousel
|
4 |
Plugin URI: http://www.tallphil.co.uk/bootstrap-carousel/
|
5 |
+
Description: A custom post type for choosing images and content which outputs <a href="http://getbootstrap.com/javascript/#carousel" target="_blank">Bootstrap Carousel</a> from a shortcode. Requires Bootstrap javascript and CSS to be loaded separately.
|
6 |
+
Version: 1.6
|
7 |
Author: Phil Ewels
|
8 |
Author URI: http://phil.ewels.co.uk
|
9 |
Text Domain: cpt-bootstrap-carousel
|
12 |
|
13 |
// Initialise - load in translations
|
14 |
function cptbc_loadtranslations () {
|
15 |
+
$plugin_dir = basename(dirname(__FILE__)).'/languages';
|
16 |
load_plugin_textdomain( 'cpt-bootstrap-carousel', false, $plugin_dir );
|
17 |
}
|
18 |
add_action('plugins_loaded', 'cptbc_loadtranslations');
|
120 |
function cptbc_mb_save_details(){
|
121 |
global $post;
|
122 |
if (isset($_POST["cptbc_image_url"])) {
|
123 |
+
$openblank = 0;
|
124 |
+
if(isset($_POST["cptbc_image_url_openblank"]) && $_POST["cptbc_image_url_openblank"] == '1'){
|
125 |
+
$openblank = 1;
|
126 |
+
}
|
127 |
update_post_meta($post->ID, "cptbc_image_url", esc_url($_POST["cptbc_image_url"]));
|
128 |
+
update_post_meta($post->ID, "cptbc_image_url_openblank", $openblank);
|
129 |
}
|
130 |
}
|
131 |
add_action('save_post', 'cptbc_mb_save_details');
|
141 |
'order' => 'ASC',
|
142 |
'category' => '',
|
143 |
'id' => '',
|
144 |
+
'twbs' => '3'
|
145 |
);
|
146 |
add_option('cptbc_settings', $defaults);
|
147 |
}
|
438 |
while ( $loop->have_posts() ) {
|
439 |
$loop->the_post();
|
440 |
if ( '' != get_the_post_thumbnail() ) {
|
441 |
+
$post_id = get_the_ID();
|
442 |
$title = get_the_title();
|
443 |
$content = get_the_excerpt();
|
444 |
$image = get_the_post_thumbnail( get_the_ID(), 'full' );
|
445 |
$url = get_post_meta(get_the_ID(), 'cptbc_image_url');
|
446 |
$url_openblank = get_post_meta(get_the_ID(), 'cptbc_image_url_openblank');
|
447 |
+
$images[] = array('post_id' => $post_id, 'title' => $title, 'content' => $content, 'image' => $image, 'url' => esc_url($url[0]), 'url_openblank' => $url_openblank[0] == "1" ? true : false);
|
448 |
}
|
449 |
}
|
450 |
if(count($images) > 0){
|
457 |
<?php } ?>
|
458 |
</ol>
|
459 |
<div class="carousel-inner">
|
460 |
+
<?php foreach ($images as $key => $image) {
|
461 |
+
$linkstart = '';
|
462 |
+
$linkend = '';
|
463 |
+
if($image['url']) {
|
464 |
+
$linkstart = '<a href="'.$image['url'].'"';
|
465 |
+
if($image['url_openblank']) {
|
466 |
+
$linkstart .= ' target="_blank"';
|
|
|
467 |
}
|
468 |
+
$linkstart .= '>';
|
469 |
+
$linkend = '</a>';
|
470 |
+
}
|
471 |
+
?>
|
472 |
+
<div class="item <?php echo $key == 0 ? 'active' : ''; ?>" id="<?php echo $image['post_id']; ?>">
|
473 |
+
<?php echo $linkstart.$image['image'].$linkend; ?>
|
474 |
+
<?php if($atts['showcaption'] === 'true' && strlen($image['title']) > 0 && strlen($image['content']) > 0) { ?>
|
475 |
<div class="carousel-caption">
|
476 |
+
<h4><?php echo $linkstart.$image['title'].$linkend; ?></h4>
|
477 |
+
<p><?php echo $linkstart.$image['content'].$linkend; ?></p>
|
478 |
</div>
|
479 |
<?php } ?>
|
480 |
</div>
|
481 |
<?php } ?>
|
482 |
</div>
|
483 |
<?php if($atts['showcontrols'] === 'true' && $atts['twbs'] == '3') { ?>
|
484 |
+
<a class="left carousel-control" href="#cptbc_<?php echo $id; ?>" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a>
|
485 |
+
<a class="right carousel-control" href="#cptbc_<?php echo $id; ?>" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a>
|
486 |
<?php } else if($atts['showcontrols'] === 'true'){ ?>
|
487 |
<a class="left carousel-control" href="#cptbc_<?php echo $id; ?>" data-slide="prev">‹</a>
|
488 |
<a class="right carousel-control" href="#cptbc_<?php echo $id; ?>" data-slide="next">›</a>
|
languages/cpt-bootstrap-carousel.pot
ADDED
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2013 CPT Bootstrap Carousel
|
2 |
+
# This file is distributed under the same license as the CPT Bootstrap Carousel package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: CPT Bootstrap Carousel 1.5\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/cpt-bootstrap-carousel\n"
|
7 |
+
"POT-Creation-Date: 2013-12-15 15:20:37+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2013-12-15 17:31+0100\n"
|
12 |
+
"Last-Translator: Phil Ewels <phil@tallphil.co.uk>\n"
|
13 |
+
"Language-Team: Ewels <phil@tallphil.co.uk>\n"
|
14 |
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
15 |
+
"Language: fr\n"
|
16 |
+
"X-Generator: Poedit 1.6.2\n"
|
17 |
+
|
18 |
+
#: cpt-bootstrap-carousel.php:26
|
19 |
+
msgid "Carousel Images"
|
20 |
+
msgstr "Images Carrousel"
|
21 |
+
|
22 |
+
#: cpt-bootstrap-carousel.php:27
|
23 |
+
msgid "Carousel Image"
|
24 |
+
msgstr "Image Carrousel"
|
25 |
+
|
26 |
+
#: cpt-bootstrap-carousel.php:28
|
27 |
+
msgid "Add New"
|
28 |
+
msgstr "Ajouter un Nouveau"
|
29 |
+
|
30 |
+
#: cpt-bootstrap-carousel.php:29
|
31 |
+
msgid "Add New Carousel Image"
|
32 |
+
msgstr "Ajouter un Nouveau Carrousel Image"
|
33 |
+
|
34 |
+
#: cpt-bootstrap-carousel.php:30
|
35 |
+
msgid "Edit Carousel Image"
|
36 |
+
msgstr "Modifier Carrousel Image"
|
37 |
+
|
38 |
+
#: cpt-bootstrap-carousel.php:31
|
39 |
+
msgid "New Carousel Image"
|
40 |
+
msgstr "Nouveau Carrousel Image"
|
41 |
+
|
42 |
+
#: cpt-bootstrap-carousel.php:32
|
43 |
+
msgid "View Carousel Image"
|
44 |
+
msgstr "Voir Carrousel Image"
|
45 |
+
|
46 |
+
#: cpt-bootstrap-carousel.php:33
|
47 |
+
msgid "Search Carousel Images"
|
48 |
+
msgstr "Recherche Carrousel Images"
|
49 |
+
|
50 |
+
#: cpt-bootstrap-carousel.php:34
|
51 |
+
msgid "No Carousel Image"
|
52 |
+
msgstr "Pas de Carrousel Image"
|
53 |
+
|
54 |
+
#: cpt-bootstrap-carousel.php:35
|
55 |
+
msgid "No Carousel Images found in Trash"
|
56 |
+
msgstr "Pas de Carrousel Images Trouvés dans la Poubelle"
|
57 |
+
|
58 |
+
#: cpt-bootstrap-carousel.php:37
|
59 |
+
msgid "Carousel"
|
60 |
+
msgstr "Carrousel"
|
61 |
+
|
62 |
+
#: cpt-bootstrap-carousel.php:89
|
63 |
+
msgid "Featured Image"
|
64 |
+
msgstr "Photo Descriptive"
|
65 |
+
|
66 |
+
#: cpt-bootstrap-carousel.php:110
|
67 |
+
msgid "Image URL"
|
68 |
+
msgstr "URL de l'image"
|
69 |
+
|
70 |
+
#: cpt-bootstrap-carousel.php:112
|
71 |
+
msgid "(optional - leave blank for no link)"
|
72 |
+
msgstr "(optionnel - blanc de congé pour absence de lien)"
|
73 |
+
|
74 |
+
#: cpt-bootstrap-carousel.php:113
|
75 |
+
msgid "Open link in new window?"
|
76 |
+
msgstr "Ouvrir le lien dans une nouvelle fenêtre?"
|
77 |
+
|
78 |
+
#: cpt-bootstrap-carousel.php:166 cpt-bootstrap-carousel.php:179
|
79 |
+
#: cpt-bootstrap-carousel.php:389
|
80 |
+
msgid "Settings"
|
81 |
+
msgstr "Paramètres"
|
82 |
+
|
83 |
+
#: cpt-bootstrap-carousel.php:180
|
84 |
+
msgid ""
|
85 |
+
"You can set the default behaviour of your carousels here. All of these "
|
86 |
+
"settings can be overridden by using %s shortcode attributes %s."
|
87 |
+
msgstr ""
|
88 |
+
"Vous pouvez définir le comportement par défaut de vos manèges ici. Tous ces "
|
89 |
+
"paramètres peuvent être remplacés par l'utilisation des %s attributs de "
|
90 |
+
"shortcode %s."
|
91 |
+
|
92 |
+
#: cpt-bootstrap-carousel.php:210
|
93 |
+
msgid "Twitter Bootstrap Version"
|
94 |
+
msgstr "Version de Twitter Bootstrap"
|
95 |
+
|
96 |
+
#: cpt-bootstrap-carousel.php:218
|
97 |
+
msgid "Slide Interval (milliseconds)"
|
98 |
+
msgstr "Intervalle Diapo (millisecondes)"
|
99 |
+
|
100 |
+
#: cpt-bootstrap-carousel.php:226
|
101 |
+
msgid "Show Slide Captions?"
|
102 |
+
msgstr "Afficher les titres des diapositives?"
|
103 |
+
|
104 |
+
#: cpt-bootstrap-carousel.php:234
|
105 |
+
msgid "Show Slide Controls?"
|
106 |
+
msgstr "Afficher curseurs?"
|
107 |
+
|
108 |
+
#: cpt-bootstrap-carousel.php:242
|
109 |
+
msgid "Order Slides By"
|
110 |
+
msgstr "Afin de diapositives par"
|
111 |
+
|
112 |
+
#: cpt-bootstrap-carousel.php:250
|
113 |
+
msgid "Ordering Direction"
|
114 |
+
msgstr "Commande Direction"
|
115 |
+
|
116 |
+
#: cpt-bootstrap-carousel.php:258
|
117 |
+
msgid "Restrict to Category"
|
118 |
+
msgstr "Restreindre à la catégorie"
|
119 |
+
|
120 |
+
#: cpt-bootstrap-carousel.php:315 cpt-bootstrap-carousel.php:329
|
121 |
+
msgid "Show"
|
122 |
+
msgstr "Montrer"
|
123 |
+
|
124 |
+
#: cpt-bootstrap-carousel.php:316 cpt-bootstrap-carousel.php:330
|
125 |
+
msgid "Hide"
|
126 |
+
msgstr "Cacher"
|
127 |
+
|
128 |
+
#: cpt-bootstrap-carousel.php:336
|
129 |
+
msgid "Menu order, as set in Carousel overview page"
|
130 |
+
msgstr "Afin de menu, comme indiqué dans Carousel page de présentation"
|
131 |
+
|
132 |
+
#: cpt-bootstrap-carousel.php:337
|
133 |
+
msgid "Date slide was published"
|
134 |
+
msgstr "Date de lame a été publié"
|
135 |
+
|
136 |
+
#: cpt-bootstrap-carousel.php:338
|
137 |
+
msgid "Random ordering"
|
138 |
+
msgstr "Ordre aléatoire"
|
139 |
+
|
140 |
+
#: cpt-bootstrap-carousel.php:339
|
141 |
+
msgid "Slide title"
|
142 |
+
msgstr "Titre de la diapositive"
|
143 |
+
|
144 |
+
#: cpt-bootstrap-carousel.php:361
|
145 |
+
msgid "Ascending"
|
146 |
+
msgstr "Croissant"
|
147 |
+
|
148 |
+
#: cpt-bootstrap-carousel.php:362
|
149 |
+
msgid "Decending"
|
150 |
+
msgstr "Descendant"
|
151 |
+
|
152 |
+
#: cpt-bootstrap-carousel.php:369
|
153 |
+
msgid "All Categories"
|
154 |
+
msgstr "Toutes les catégories"
|
155 |
+
|
156 |
+
#. Plugin Name of the plugin/theme
|
157 |
+
msgid "CPT Bootstrap Carousel"
|
158 |
+
msgstr "CPT Bootstrap Carousel"
|
159 |
+
|
160 |
+
#. Plugin URI of the plugin/theme
|
161 |
+
msgid "http://www.tallphil.co.uk/bootstrap-carousel/"
|
162 |
+
msgstr "http://www.tallphil.co.uk/bootstrap-carousel/"
|
163 |
+
|
164 |
+
#. Description of the plugin/theme
|
165 |
+
msgid ""
|
166 |
+
"A custom post type for choosing images and content which outputs <a href="
|
167 |
+
"\"http://twitter.github.io/bootstrap/javascript.html#carousel\" target="
|
168 |
+
"\"_blank\">Bootstrap Carousel</a> from a shortcode. Requires Bootstrap "
|
169 |
+
"javascript and CSS to be loaded separately."
|
170 |
+
msgstr ""
|
171 |
+
"Un type de poste personnalisée permettant de choisir les images et le "
|
172 |
+
"contenu qui sort Bootstrap Carrousel d’un numéro court. Nécessite Bootstrap "
|
173 |
+
"javascript et CSS à charger séparément."
|
174 |
+
|
175 |
+
#. Author of the plugin/theme
|
176 |
+
msgid "Phil Ewels"
|
177 |
+
msgstr "Phil Ewels"
|
178 |
+
|
179 |
+
#. Author URI of the plugin/theme
|
180 |
+
msgid "http://phil.ewels.co.uk"
|
181 |
+
msgstr "http://phil.ewels.co.uk"
|
languages/cpt-bootstrap-carousel_en-GB.mo
ADDED
Binary file
|
languages/cpt-bootstrap-carousel_en-GB.po
ADDED
@@ -0,0 +1,180 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2013 CPT Bootstrap Carousel
|
2 |
+
# This file is distributed under the same license as the CPT Bootstrap Carousel package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: CPT Bootstrap Carousel 1.5\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/cpt-bootstrap-carousel\n"
|
7 |
+
"POT-Creation-Date: 2013-12-15 15:20:37+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2013-12-15 17:33+0100\n"
|
12 |
+
"Last-Translator: Phil Ewels <phil@tallphil.co.uk>\n"
|
13 |
+
"Language-Team: Ewels <phil@tallphil.co.uk>\n"
|
14 |
+
"Language: en_GB\n"
|
15 |
+
"X-Generator: Poedit 1.6.2\n"
|
16 |
+
|
17 |
+
#: cpt-bootstrap-carousel.php:26
|
18 |
+
msgid "Carousel Images"
|
19 |
+
msgstr "Carousel Images"
|
20 |
+
|
21 |
+
#: cpt-bootstrap-carousel.php:27
|
22 |
+
msgid "Carousel Image"
|
23 |
+
msgstr "Carousel Image"
|
24 |
+
|
25 |
+
#: cpt-bootstrap-carousel.php:28
|
26 |
+
msgid "Add New"
|
27 |
+
msgstr "Add New"
|
28 |
+
|
29 |
+
#: cpt-bootstrap-carousel.php:29
|
30 |
+
msgid "Add New Carousel Image"
|
31 |
+
msgstr "Add New Carousel Image"
|
32 |
+
|
33 |
+
#: cpt-bootstrap-carousel.php:30
|
34 |
+
msgid "Edit Carousel Image"
|
35 |
+
msgstr "Edit Carousel Image"
|
36 |
+
|
37 |
+
#: cpt-bootstrap-carousel.php:31
|
38 |
+
msgid "New Carousel Image"
|
39 |
+
msgstr "New Carousel Image"
|
40 |
+
|
41 |
+
#: cpt-bootstrap-carousel.php:32
|
42 |
+
msgid "View Carousel Image"
|
43 |
+
msgstr "View Carousel Image"
|
44 |
+
|
45 |
+
#: cpt-bootstrap-carousel.php:33
|
46 |
+
msgid "Search Carousel Images"
|
47 |
+
msgstr "Search Carousel Images"
|
48 |
+
|
49 |
+
#: cpt-bootstrap-carousel.php:34
|
50 |
+
msgid "No Carousel Image"
|
51 |
+
msgstr "No Carousel Image"
|
52 |
+
|
53 |
+
#: cpt-bootstrap-carousel.php:35
|
54 |
+
msgid "No Carousel Images found in Trash"
|
55 |
+
msgstr "No Carousel Images found in Trash"
|
56 |
+
|
57 |
+
#: cpt-bootstrap-carousel.php:37
|
58 |
+
msgid "Carousel"
|
59 |
+
msgstr "Carousel"
|
60 |
+
|
61 |
+
#: cpt-bootstrap-carousel.php:89
|
62 |
+
msgid "Featured Image"
|
63 |
+
msgstr "Featured Image"
|
64 |
+
|
65 |
+
#: cpt-bootstrap-carousel.php:110
|
66 |
+
msgid "Image URL"
|
67 |
+
msgstr "Image URL"
|
68 |
+
|
69 |
+
#: cpt-bootstrap-carousel.php:112
|
70 |
+
msgid "(optional - leave blank for no link)"
|
71 |
+
msgstr "(optional - leave blank for no link)"
|
72 |
+
|
73 |
+
#: cpt-bootstrap-carousel.php:113
|
74 |
+
msgid "Open link in new window?"
|
75 |
+
msgstr "Open link in new window?"
|
76 |
+
|
77 |
+
#: cpt-bootstrap-carousel.php:166 cpt-bootstrap-carousel.php:179
|
78 |
+
#: cpt-bootstrap-carousel.php:389
|
79 |
+
msgid "Settings"
|
80 |
+
msgstr "Settings"
|
81 |
+
|
82 |
+
#: cpt-bootstrap-carousel.php:180
|
83 |
+
msgid ""
|
84 |
+
"You can set the default behaviour of your carousels here. All of these "
|
85 |
+
"settings can be overridden by using %s shortcode attributes %s."
|
86 |
+
msgstr ""
|
87 |
+
"You can set the default behaviour of your carousels here. All of these "
|
88 |
+
"settings can be overridden by using %s shortcode attributes %s."
|
89 |
+
|
90 |
+
#: cpt-bootstrap-carousel.php:210
|
91 |
+
msgid "Twitter Bootstrap Version"
|
92 |
+
msgstr "Twitter Bootstrap Version"
|
93 |
+
|
94 |
+
#: cpt-bootstrap-carousel.php:218
|
95 |
+
msgid "Slide Interval (milliseconds)"
|
96 |
+
msgstr "Slide Interval (milliseconds)"
|
97 |
+
|
98 |
+
#: cpt-bootstrap-carousel.php:226
|
99 |
+
msgid "Show Slide Captions?"
|
100 |
+
msgstr "Show Slide Captions?"
|
101 |
+
|
102 |
+
#: cpt-bootstrap-carousel.php:234
|
103 |
+
msgid "Show Slide Controls?"
|
104 |
+
msgstr "Show Slide Controls?"
|
105 |
+
|
106 |
+
#: cpt-bootstrap-carousel.php:242
|
107 |
+
msgid "Order Slides By"
|
108 |
+
msgstr "Order Slides By"
|
109 |
+
|
110 |
+
#: cpt-bootstrap-carousel.php:250
|
111 |
+
msgid "Ordering Direction"
|
112 |
+
msgstr "Ordering Direction"
|
113 |
+
|
114 |
+
#: cpt-bootstrap-carousel.php:258
|
115 |
+
msgid "Restrict to Category"
|
116 |
+
msgstr "Restrict to Category"
|
117 |
+
|
118 |
+
#: cpt-bootstrap-carousel.php:315 cpt-bootstrap-carousel.php:329
|
119 |
+
msgid "Show"
|
120 |
+
msgstr "Show"
|
121 |
+
|
122 |
+
#: cpt-bootstrap-carousel.php:316 cpt-bootstrap-carousel.php:330
|
123 |
+
msgid "Hide"
|
124 |
+
msgstr "Hide"
|
125 |
+
|
126 |
+
#: cpt-bootstrap-carousel.php:336
|
127 |
+
msgid "Menu order, as set in Carousel overview page"
|
128 |
+
msgstr "Menu order, as set in Carousel overview page"
|
129 |
+
|
130 |
+
#: cpt-bootstrap-carousel.php:337
|
131 |
+
msgid "Date slide was published"
|
132 |
+
msgstr "Date slide was published"
|
133 |
+
|
134 |
+
#: cpt-bootstrap-carousel.php:338
|
135 |
+
msgid "Random ordering"
|
136 |
+
msgstr "Random ordering"
|
137 |
+
|
138 |
+
#: cpt-bootstrap-carousel.php:339
|
139 |
+
msgid "Slide title"
|
140 |
+
msgstr "Slide title"
|
141 |
+
|
142 |
+
#: cpt-bootstrap-carousel.php:361
|
143 |
+
msgid "Ascending"
|
144 |
+
msgstr "Ascending"
|
145 |
+
|
146 |
+
#: cpt-bootstrap-carousel.php:362
|
147 |
+
msgid "Decending"
|
148 |
+
msgstr "Decending"
|
149 |
+
|
150 |
+
#: cpt-bootstrap-carousel.php:369
|
151 |
+
msgid "All Categories"
|
152 |
+
msgstr "All Categories"
|
153 |
+
|
154 |
+
#. Plugin Name of the plugin/theme
|
155 |
+
msgid "CPT Bootstrap Carousel"
|
156 |
+
msgstr "CPT Bootstrap Carousel"
|
157 |
+
|
158 |
+
#. Plugin URI of the plugin/theme
|
159 |
+
msgid "http://www.tallphil.co.uk/bootstrap-carousel/"
|
160 |
+
msgstr "http://www.tallphil.co.uk/bootstrap-carousel/"
|
161 |
+
|
162 |
+
#. Description of the plugin/theme
|
163 |
+
msgid ""
|
164 |
+
"A custom post type for choosing images and content which outputs <a href="
|
165 |
+
"\"http://twitter.github.io/bootstrap/javascript.html#carousel\" target="
|
166 |
+
"\"_blank\">Bootstrap Carousel</a> from a shortcode. Requires Bootstrap "
|
167 |
+
"javascript and CSS to be loaded separately."
|
168 |
+
msgstr ""
|
169 |
+
"A custom post type for choosing images and content which outputs <a href="
|
170 |
+
"\"http://twitter.github.io/bootstrap/javascript.html#carousel\" target="
|
171 |
+
"\"_blank\">Bootstrap Carousel</a> from a shortcode. Requires Bootstrap "
|
172 |
+
"javascript and CSS to be loaded separately."
|
173 |
+
|
174 |
+
#. Author of the plugin/theme
|
175 |
+
msgid "Phil Ewels"
|
176 |
+
msgstr "Phil Ewels"
|
177 |
+
|
178 |
+
#. Author URI of the plugin/theme
|
179 |
+
msgid "http://phil.ewels.co.uk"
|
180 |
+
msgstr "http://phil.ewels.co.uk"
|
languages/cpt-bootstrap-carousel_fr_FR.mo
ADDED
Binary file
|
languages/cpt-bootstrap-carousel_fr_FR.po
ADDED
@@ -0,0 +1,183 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2013 CPT Bootstrap Carousel
|
2 |
+
# This file is distributed under the same license as the CPT Bootstrap Carousel package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: CPT Bootstrap Carousel 1.5\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/cpt-bootstrap-carousel\n"
|
7 |
+
"POT-Creation-Date: 2013-12-15 15:20:37+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2013-12-15 17:31+0100\n"
|
12 |
+
"Last-Translator: Phil Ewels <phil@tallphil.co.uk>\n"
|
13 |
+
"Language-Team: Ewels <phil@tallphil.co.uk>\n"
|
14 |
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
15 |
+
"Language: fr\n"
|
16 |
+
"X-Generator: Poedit 1.6.2\n"
|
17 |
+
|
18 |
+
#: cpt-bootstrap-carousel.php:26
|
19 |
+
msgid "Carousel Images"
|
20 |
+
msgstr "Images Carrousel"
|
21 |
+
|
22 |
+
#: cpt-bootstrap-carousel.php:27
|
23 |
+
msgid "Carousel Image"
|
24 |
+
msgstr "Image Carrousel"
|
25 |
+
|
26 |
+
#: cpt-bootstrap-carousel.php:28
|
27 |
+
msgid "Add New"
|
28 |
+
msgstr "Ajouter un Nouveau"
|
29 |
+
|
30 |
+
#: cpt-bootstrap-carousel.php:29
|
31 |
+
msgid "Add New Carousel Image"
|
32 |
+
msgstr "Ajouter un Nouveau Carrousel Image"
|
33 |
+
|
34 |
+
#: cpt-bootstrap-carousel.php:30
|
35 |
+
msgid "Edit Carousel Image"
|
36 |
+
msgstr "Modifier Carrousel Image"
|
37 |
+
|
38 |
+
#: cpt-bootstrap-carousel.php:31
|
39 |
+
msgid "New Carousel Image"
|
40 |
+
msgstr "Nouveau Carrousel Image"
|
41 |
+
|
42 |
+
#: cpt-bootstrap-carousel.php:32
|
43 |
+
msgid "View Carousel Image"
|
44 |
+
msgstr "Voir Carrousel Image"
|
45 |
+
|
46 |
+
#: cpt-bootstrap-carousel.php:33
|
47 |
+
msgid "Search Carousel Images"
|
48 |
+
msgstr "Recherche Carrousel Images"
|
49 |
+
|
50 |
+
#: cpt-bootstrap-carousel.php:34
|
51 |
+
msgid "No Carousel Image"
|
52 |
+
msgstr "Pas de Carrousel Image"
|
53 |
+
|
54 |
+
#: cpt-bootstrap-carousel.php:35
|
55 |
+
msgid "No Carousel Images found in Trash"
|
56 |
+
msgstr "Pas de Carrousel Images Trouvés dans la Poubelle"
|
57 |
+
|
58 |
+
#: cpt-bootstrap-carousel.php:37
|
59 |
+
msgid "Carousel"
|
60 |
+
msgstr "Carrousel"
|
61 |
+
|
62 |
+
#: cpt-bootstrap-carousel.php:89
|
63 |
+
msgid "Featured Image"
|
64 |
+
msgstr "Photo Descriptive"
|
65 |
+
|
66 |
+
#: cpt-bootstrap-carousel.php:110
|
67 |
+
msgid "Image URL"
|
68 |
+
msgstr "URL de l'image"
|
69 |
+
|
70 |
+
#: cpt-bootstrap-carousel.php:112
|
71 |
+
msgid "(optional - leave blank for no link)"
|
72 |
+
msgstr "(optionnel - blanc de congé pour absence de lien)"
|
73 |
+
|
74 |
+
#: cpt-bootstrap-carousel.php:113
|
75 |
+
msgid "Open link in new window?"
|
76 |
+
msgstr "Ouvrir le lien dans une nouvelle fenêtre?"
|
77 |
+
|
78 |
+
#: cpt-bootstrap-carousel.php:166 cpt-bootstrap-carousel.php:179
|
79 |
+
#: cpt-bootstrap-carousel.php:389
|
80 |
+
msgid "Settings"
|
81 |
+
msgstr "Paramètres"
|
82 |
+
|
83 |
+
#: cpt-bootstrap-carousel.php:180
|
84 |
+
msgid ""
|
85 |
+
"You can set the default behaviour of your carousels here. All of these "
|
86 |
+
"settings can be overridden by using %s shortcode attributes %s."
|
87 |
+
msgstr ""
|
88 |
+
"Vous pouvez définir le comportement par défaut de vos manèges ici. Tous ces "
|
89 |
+
"paramètres peuvent être remplacés par l'utilisation des %s attributs de "
|
90 |
+
"shortcode %s."
|
91 |
+
|
92 |
+
#: cpt-bootstrap-carousel.php:210
|
93 |
+
msgid "Twitter Bootstrap Version"
|
94 |
+
msgstr "Version de Twitter Bootstrap"
|
95 |
+
|
96 |
+
#: cpt-bootstrap-carousel.php:218
|
97 |
+
msgid "Slide Interval (milliseconds)"
|
98 |
+
msgstr "Intervalle Diapo (millisecondes)"
|
99 |
+
|
100 |
+
#: cpt-bootstrap-carousel.php:226
|
101 |
+
msgid "Show Slide Captions?"
|
102 |
+
msgstr "Afficher les titres des diapositives?"
|
103 |
+
|
104 |
+
#: cpt-bootstrap-carousel.php:234
|
105 |
+
msgid "Show Slide Controls?"
|
106 |
+
msgstr "Afficher curseurs?"
|
107 |
+
|
108 |
+
#: cpt-bootstrap-carousel.php:242
|
109 |
+
msgid "Order Slides By"
|
110 |
+
msgstr "Afin de diapositives par"
|
111 |
+
|
112 |
+
#: cpt-bootstrap-carousel.php:250
|
113 |
+
msgid "Ordering Direction"
|
114 |
+
msgstr "Commande Direction"
|
115 |
+
|
116 |
+
#: cpt-bootstrap-carousel.php:258
|
117 |
+
msgid "Restrict to Category"
|
118 |
+
msgstr "Restreindre à la catégorie"
|
119 |
+
|
120 |
+
#: cpt-bootstrap-carousel.php:315 cpt-bootstrap-carousel.php:329
|
121 |
+
msgid "Show"
|
122 |
+
msgstr "Montrer"
|
123 |
+
|
124 |
+
#: cpt-bootstrap-carousel.php:316 cpt-bootstrap-carousel.php:330
|
125 |
+
msgid "Hide"
|
126 |
+
msgstr "Cacher"
|
127 |
+
|
128 |
+
#: cpt-bootstrap-carousel.php:336
|
129 |
+
msgid "Menu order, as set in Carousel overview page"
|
130 |
+
msgstr "Afin de menu, comme indiqué dans Carousel page de présentation"
|
131 |
+
|
132 |
+
#: cpt-bootstrap-carousel.php:337
|
133 |
+
msgid "Date slide was published"
|
134 |
+
msgstr "Date de lame a été publié"
|
135 |
+
|
136 |
+
#: cpt-bootstrap-carousel.php:338
|
137 |
+
msgid "Random ordering"
|
138 |
+
msgstr "Ordre aléatoire"
|
139 |
+
|
140 |
+
#: cpt-bootstrap-carousel.php:339
|
141 |
+
msgid "Slide title"
|
142 |
+
msgstr "Titre de la diapositive"
|
143 |
+
|
144 |
+
#: cpt-bootstrap-carousel.php:361
|
145 |
+
msgid "Ascending"
|
146 |
+
msgstr "Croissant"
|
147 |
+
|
148 |
+
#: cpt-bootstrap-carousel.php:362
|
149 |
+
msgid "Decending"
|
150 |
+
msgstr "Descendant"
|
151 |
+
|
152 |
+
#: cpt-bootstrap-carousel.php:369
|
153 |
+
msgid "All Categories"
|
154 |
+
msgstr "Toutes les catégories"
|
155 |
+
|
156 |
+
#. Plugin Name of the plugin/theme
|
157 |
+
msgid "CPT Bootstrap Carousel"
|
158 |
+
msgstr "CPT Bootstrap Carousel"
|
159 |
+
|
160 |
+
#. Plugin URI of the plugin/theme
|
161 |
+
msgid "http://www.tallphil.co.uk/bootstrap-carousel/"
|
162 |
+
msgstr "http://www.tallphil.co.uk/bootstrap-carousel/"
|
163 |
+
|
164 |
+
#. Description of the plugin/theme
|
165 |
+
msgid ""
|
166 |
+
"A custom post type for choosing images and content which outputs <a href="
|
167 |
+
"\"http://twitter.github.io/bootstrap/javascript.html#carousel\" target="
|
168 |
+
"\"_blank\">Bootstrap Carousel</a> from a shortcode. Requires Bootstrap "
|
169 |
+
"javascript and CSS to be loaded separately."
|
170 |
+
msgstr ""
|
171 |
+
"Un type de poste personnalisée permettant de choisir les images et le "
|
172 |
+
"contenu qui sort <a href="
|
173 |
+
"\"http://twitter.github.io/bootstrap/javascript.html#carousel\" target="
|
174 |
+
"\"_blank\">Bootstrap Carrousel</a> d’un numéro court. Nécessite Bootstrap "
|
175 |
+
"javascript et CSS à charger séparément."
|
176 |
+
|
177 |
+
#. Author of the plugin/theme
|
178 |
+
msgid "Phil Ewels"
|
179 |
+
msgstr "Phil Ewels"
|
180 |
+
|
181 |
+
#. Author URI of the plugin/theme
|
182 |
+
msgid "http://phil.ewels.co.uk"
|
183 |
+
msgstr "http://phil.ewels.co.uk"
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: tallphil
|
|
3 |
Donate Link: http://www.tallphil.co.uk/bootstrap-carousel/
|
4 |
Tags: carousel, slider, image, bootstrap
|
5 |
Requires at least: 3.0.1
|
6 |
-
Tested up to: 3.8
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -100,6 +100,7 @@ This can be caused by having your jQuery and Bootstrap javascript files included
|
|
100 |
* Make sure that the Bootstrap javascript file is being included after jQuery
|
101 |
* NB: This often means putting it after `wp_head()` in your theme's `header.php` file
|
102 |
* Make sure that both jQuery and Bootstrap are being included in the theme header, not footer
|
|
|
103 |
|
104 |
= How do I insert the carousel? =
|
105 |
|
@@ -146,6 +147,14 @@ You need to make sure that each image is the same height. You can do this by set
|
|
146 |
|
147 |
== Changelog ==
|
148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
= 1.5 =
|
150 |
* Added new Settings page. Means less shortcode attributes, more user friendly
|
151 |
* Added i18n functions so that the plugin can be translated
|
3 |
Donate Link: http://www.tallphil.co.uk/bootstrap-carousel/
|
4 |
Tags: carousel, slider, image, bootstrap
|
5 |
Requires at least: 3.0.1
|
6 |
+
Tested up to: 3.8.1
|
7 |
+
Stable tag: 1.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
100 |
* Make sure that the Bootstrap javascript file is being included after jQuery
|
101 |
* NB: This often means putting it after `wp_head()` in your theme's `header.php` file
|
102 |
* Make sure that both jQuery and Bootstrap are being included in the theme header, not footer
|
103 |
+
* Make sure that the Bootstrap javascript file is referenced _after_ the jQuery file.
|
104 |
|
105 |
= How do I insert the carousel? =
|
106 |
|
147 |
|
148 |
== Changelog ==
|
149 |
|
150 |
+
= 1.6 =
|
151 |
+
* Made the title and caption linked if we have a URL
|
152 |
+
* Stopped the caption div from displaying if there is not caption
|
153 |
+
* Added a unique CSS id attribute to each item, based on the wordpress post ID
|
154 |
+
* Fixed a bug where the plugin was throwing and error when WP_DEBUG was on
|
155 |
+
* Updated the FAQ a little
|
156 |
+
* Changed the default version of bootstrap to v3 for new installs. This can be customised in the settings.
|
157 |
+
|
158 |
= 1.5 =
|
159 |
* Added new Settings page. Means less shortcode attributes, more user friendly
|
160 |
* Added i18n functions so that the plugin can be translated
|