Version Description
= 1.0 = Major version, the plugin has been rewritten. Better performance, and some enhancements.
= 0.9 = This version fix some bugs and allow multilanguage in nav-menus.
= 0.8 = A lot of slugs content allowed
= 0.7 = This version allows TLD domain option for a different Qtranslate fork maded by Zappo
Download this release
Release Info
Developer | pedroghandi |
Plugin | Qtranslate Slug |
Version | 1.1.13 |
Comparing to | |
See all releases |
Code changes from version 1.1.12 to 1.1.13
- includes/class-qtranslate-slug-widget.php +11 -12
- includes/class-qtranslate-slug.php +44 -27
- includes/qtranslate-slug-settings-options.php +2 -2
- includes/qtranslate-slug-settings.php +1 -1
- includes/termmeta-core.php +2 -1
- languages/qts-pt_PT.mo +0 -0
- languages/qts-pt_PT.po +226 -135
- languages/qts.pot +204 -88
- qtranslate-slug.php +13 -2
- readme.txt +49 -22
- version.txt +16 -0
includes/class-qtranslate-slug-widget.php
CHANGED
@@ -16,7 +16,7 @@ class QtranslateSlugWidget extends WP_Widget {
|
|
16 |
extract($args);
|
17 |
|
18 |
echo $before_widget;
|
19 |
-
$title = empty($instance['title']) ? __('Language', '
|
20 |
$hide_title = empty($instance['hide-title']) ? false : 'on';
|
21 |
$type = $instance['type'];
|
22 |
$short_text = ($instance['short_text'] == 'on') ? true : false ;
|
@@ -46,18 +46,17 @@ class QtranslateSlugWidget extends WP_Widget {
|
|
46 |
$title = $instance['title'];
|
47 |
$hide_title = $instance['hide-title'];
|
48 |
$type = $instance['type'];
|
49 |
-
$short_text = $instance['short_text'];
|
50 |
?>
|
51 |
-
<p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', '
|
52 |
-
<p><label for="<?php echo $this->get_field_id('hide-title'); ?>"><?php _e('Hide Title:', '
|
53 |
-
<p><?php _e('Display:', '
|
54 |
-
<p><label for="<?php echo $this->get_field_id('type'); ?>1"><input type="radio" name="<?php echo $this->get_field_name('type'); ?>" id="<?php echo $this->get_field_id('type'); ?>1" value="text"<?php echo ($type=='text')?' checked="checked"':'' ?>/> <?php _e('Text only', '
|
55 |
-
<p><label for="<?php echo $this->get_field_id('type'); ?>2"><input type="radio" name="<?php echo $this->get_field_name('type'); ?>" id="<?php echo $this->get_field_id('type'); ?>2" value="image"<?php echo ($type=='image')?' checked="checked"':'' ?>/> <?php _e('Image only', '
|
56 |
-
<p><label for="<?php echo $this->get_field_id('type'); ?>3"><input type="radio" name="<?php echo $this->get_field_name('type'); ?>" id="<?php echo $this->get_field_id('type'); ?>3" value="both"<?php echo ($type=='both')?' checked="checked"':'' ?>/> <?php _e('Text and Image', '
|
57 |
-
<p><label for="<?php echo $this->get_field_id('type'); ?>4"><input type="radio" name="<?php echo $this->get_field_name('type'); ?>" id="<?php echo $this->get_field_id('type'); ?>4" value="dropdown"<?php echo ($type=='dropdown')?' checked="checked"':'' ?>/> <?php _e('Dropdown Box', '
|
58 |
<p><label for="<?php echo $this->get_field_id('short_text'); ?>"><?php _e('Show short name (en):', 'qts'); ?> <input type="checkbox" id="<?php echo $this->get_field_id('short_text'); ?>" name="<?php echo $this->get_field_name('short_text'); ?>" <?php checked($short_text, 'on') ?>/></label></p>
|
59 |
-
|
60 |
-
|
61 |
<?php
|
62 |
}
|
63 |
-
}
|
16 |
extract($args);
|
17 |
|
18 |
echo $before_widget;
|
19 |
+
$title = empty($instance['title']) ? __('Language', 'qts') : apply_filters('widget_title', $instance['title']);
|
20 |
$hide_title = empty($instance['hide-title']) ? false : 'on';
|
21 |
$type = $instance['type'];
|
22 |
$short_text = ($instance['short_text'] == 'on') ? true : false ;
|
46 |
$title = $instance['title'];
|
47 |
$hide_title = $instance['hide-title'];
|
48 |
$type = $instance['type'];
|
49 |
+
$short_text = isset($instance['short_text']) ? $instance['short_text'] : '';
|
50 |
?>
|
51 |
+
<p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'qts'); ?> <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" /></label></p>
|
52 |
+
<p><label for="<?php echo $this->get_field_id('hide-title'); ?>"><?php _e('Hide Title:', 'qts'); ?> <input type="checkbox" id="<?php echo $this->get_field_id('hide-title'); ?>" name="<?php echo $this->get_field_name('hide-title'); ?>" <?php echo ($hide_title=='on')?'checked="checked"':''; ?>/></label></p>
|
53 |
+
<p><?php _e('Display:', 'qts'); ?></p>
|
54 |
+
<p><label for="<?php echo $this->get_field_id('type'); ?>1"><input type="radio" name="<?php echo $this->get_field_name('type'); ?>" id="<?php echo $this->get_field_id('type'); ?>1" value="text"<?php echo ($type=='text')?' checked="checked"':'' ?>/> <?php _e('Text only', 'qts'); ?></label></p>
|
55 |
+
<p><label for="<?php echo $this->get_field_id('type'); ?>2"><input type="radio" name="<?php echo $this->get_field_name('type'); ?>" id="<?php echo $this->get_field_id('type'); ?>2" value="image"<?php echo ($type=='image')?' checked="checked"':'' ?>/> <?php _e('Image only', 'qts'); ?></label></p>
|
56 |
+
<p><label for="<?php echo $this->get_field_id('type'); ?>3"><input type="radio" name="<?php echo $this->get_field_name('type'); ?>" id="<?php echo $this->get_field_id('type'); ?>3" value="both"<?php echo ($type=='both')?' checked="checked"':'' ?>/> <?php _e('Text and Image', 'qts'); ?></label></p>
|
57 |
+
<p><label for="<?php echo $this->get_field_id('type'); ?>4"><input type="radio" name="<?php echo $this->get_field_name('type'); ?>" id="<?php echo $this->get_field_id('type'); ?>4" value="dropdown"<?php echo ($type=='dropdown')?' checked="checked"':'' ?>/> <?php _e('Dropdown Box', 'qts'); ?></label></p>
|
58 |
<p><label for="<?php echo $this->get_field_id('short_text'); ?>"><?php _e('Show short name (en):', 'qts'); ?> <input type="checkbox" id="<?php echo $this->get_field_id('short_text'); ?>" name="<?php echo $this->get_field_name('short_text'); ?>" <?php checked($short_text, 'on') ?>/></label></p>
|
59 |
+
|
|
|
60 |
<?php
|
61 |
}
|
62 |
+
}
|
includes/class-qtranslate-slug.php
CHANGED
@@ -424,11 +424,14 @@ class QtranslateSlug {
|
|
424 |
*/
|
425 |
function notice_dependences(){
|
426 |
global $current_screen;
|
427 |
-
|
428 |
-
|
429 |
-
echo
|
430 |
-
echo
|
431 |
-
echo
|
|
|
|
|
|
|
432 |
}
|
433 |
|
434 |
|
@@ -500,7 +503,7 @@ class QtranslateSlug {
|
|
500 |
|
501 |
// until we get a proper function, this will make it for it.
|
502 |
$this->current_lang = $q_config['language'];
|
503 |
-
|
504 |
$this->set_plugin_prefix();
|
505 |
$this->set_url_path_mode();
|
506 |
|
@@ -529,7 +532,8 @@ class QtranslateSlug {
|
|
529 |
|
530 |
add_action( 'wp_dashboard_setup', array(&$this, 'remove_dashboard_widgets') );
|
531 |
add_action( 'admin_head', array(&$this, 'hide_quick_edit'), 600 );
|
532 |
-
|
|
|
533 |
|
534 |
} else {
|
535 |
|
@@ -622,6 +626,20 @@ class QtranslateSlug {
|
|
622 |
return $classes;
|
623 |
}
|
624 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
625 |
// TODO: properly test this
|
626 |
/**
|
627 |
* Get text in $lang, or in the current lang
|
@@ -1605,7 +1623,7 @@ class QtranslateSlug {
|
|
1605 |
}
|
1606 |
|
1607 |
if ( $link ) {
|
1608 |
-
$chain .= '<a href="' . get_category_link( $parent->term_id ) . '" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $parent->name ) ) . '">'.$name.'</a>' . $separator;
|
1609 |
} else {
|
1610 |
$chain .= $name.$separator;
|
1611 |
}
|
@@ -1732,7 +1750,7 @@ class QtranslateSlug {
|
|
1732 |
}
|
1733 |
|
1734 |
if ( !is_object($term) ) {
|
1735 |
-
$term = new WP_Error('invalid_term', __('Empty Term'));
|
1736 |
}
|
1737 |
|
1738 |
if ( is_wp_error( $term ) ) {
|
@@ -2207,7 +2225,7 @@ class QtranslateSlug {
|
|
2207 |
$value = ( $slug ) ? htmlspecialchars( $slug , ENT_QUOTES ) : '';
|
2208 |
|
2209 |
echo "<tr class=\"form-field form-required\">" . PHP_EOL;
|
2210 |
-
echo "<th scope=\"row\" valig=\"top\"><label for=\"qts_{$lang}_slug\">
|
2211 |
echo "<td><input type=\"text\" name=\"qts_{$lang}_slug\" value=\"$value\" /></td></tr>" . PHP_EOL;
|
2212 |
|
2213 |
}
|
@@ -2226,8 +2244,7 @@ class QtranslateSlug {
|
|
2226 |
|
2227 |
$value = ( $slug ) ? htmlspecialchars( $slug , ENT_QUOTES ) : '';
|
2228 |
|
2229 |
-
|
2230 |
-
echo "<label for=\"qts_{$lang}_slug\">Slug (".__($q_config['language_name'][$lang], 'qtranslate').")</label>" . PHP_EOL;
|
2231 |
echo "<input type=\"text\" name=\"qts_{$lang}_slug\" value=\"$value\" aria-required=\"true\">" . PHP_EOL;
|
2232 |
|
2233 |
echo '</div>';
|
@@ -2418,7 +2435,7 @@ class QtranslateSlug {
|
|
2418 |
*/
|
2419 |
private function qts_insert_term_input($id,$name, $language,$action){
|
2420 |
global $q_config;
|
2421 |
-
|
2422 |
if( $action === "new") {
|
2423 |
$html ="
|
2424 |
var il = document.getElementsByTagName('input'),
|
@@ -2450,14 +2467,14 @@ class QtranslateSlug {
|
|
2450 |
";
|
2451 |
}
|
2452 |
if(isset($q_config['term_name'][$termname][$language])) {
|
2453 |
-
|
2454 |
-
|
2455 |
-
|
2456 |
} else {
|
2457 |
-
|
2458 |
-
|
2459 |
-
|
2460 |
-
|
2461 |
}
|
2462 |
|
2463 |
if($language == $q_config['default_language']) {
|
@@ -2536,7 +2553,7 @@ class QtranslateSlug {
|
|
2536 |
unset($columns['posts']);
|
2537 |
|
2538 |
$columns['qts-slug'] = __('Slug', 'qts');
|
2539 |
-
$columns['posts'] = __('Posts');
|
2540 |
|
2541 |
return $columns;
|
2542 |
}
|
@@ -2594,9 +2611,9 @@ class QtranslateSlug {
|
|
2594 |
unregister_widget('ppqTranslateWidget');
|
2595 |
}
|
2596 |
|
2597 |
-
if (class_exists('qTranslateXWidget')) {
|
2598 |
-
|
2599 |
-
}
|
2600 |
|
2601 |
register_widget('QtranslateSlugWidget');
|
2602 |
}
|
@@ -2626,9 +2643,9 @@ class QtranslateSlug {
|
|
2626 |
if( $pagenow != 'nav-menus.php' ) {
|
2627 |
return;
|
2628 |
}
|
2629 |
-
|
2630 |
-
wp_enqueue_script( 'nav-menu-query', plugins_url( 'assets/js/qts-nav-menu-min.js' , dirname(__FILE__ ) ), 'nav-menu', '1.0' );
|
2631 |
-
add_meta_box( 'qt-languages', __('Languages'), array(&$this, 'nav_menu_meta_box'), 'nav-menus', 'side', 'default' );
|
2632 |
}
|
2633 |
|
2634 |
|
424 |
*/
|
425 |
function notice_dependences(){
|
426 |
global $current_screen;
|
427 |
+
$ornewer=__('or newer','qts');
|
428 |
+
$info_url=admin_url('plugin-install.php?tab=plugin-information');
|
429 |
+
echo '<div class="error">' . PHP_EOL;
|
430 |
+
echo '<p><strong>Qtranslate Slug:</strong></p>' . PHP_EOL;
|
431 |
+
echo '<p>';
|
432 |
+
printf(__('This plugin requires at least %s and either %s, or %s, or %s', 'qts'),'<strong>WordPress 3.3</strong>','<a href="'.$info_url.'&plugin=qtranslate-x&TB_iframe=true" class="thickbox" aria-label="'.__('More information about', 'qts').' '.'qTranslate-X" data-title="qTranslate-X"><strong>qTranslate-X</strong></a> (2.9 '.$ornewer.')','<a href="'.$info_url.'&plugin=mqtranslate&TB_iframe=true" class="thickbox" aria-label="'.__('More information about', 'qts').' '.'mqTranslate" data-title="mqTranslate"><strong>mqTranslate</strong></a> (2.6.2.4 '.$ornewer.')','<a href="'.$info_url.'&plugin=qtranslate&TB_iframe=true" class="thickbox" aria-label="'.__('More information about', 'qts').' '.'qTranslate" data-title="qTranslate"><strong>qTranslate</strong></a> (2.5.8 '.$ornewer.')');
|
433 |
+
echo '</p>' . PHP_EOL;
|
434 |
+
echo '</div>' . PHP_EOL;
|
435 |
}
|
436 |
|
437 |
|
503 |
|
504 |
// until we get a proper function, this will make it for it.
|
505 |
$this->current_lang = $q_config['language'];
|
506 |
+
$this->enabled_languages = $q_config['enabled_languages'];
|
507 |
$this->set_plugin_prefix();
|
508 |
$this->set_url_path_mode();
|
509 |
|
532 |
|
533 |
add_action( 'wp_dashboard_setup', array(&$this, 'remove_dashboard_widgets') );
|
534 |
add_action( 'admin_head', array(&$this, 'hide_quick_edit'), 600 );
|
535 |
+
if(!defined('QTRANSLATE_FILE'))
|
536 |
+
add_action( 'admin_init', array(&$this, 'fix_nav_menu') );
|
537 |
|
538 |
} else {
|
539 |
|
626 |
return $classes;
|
627 |
}
|
628 |
|
629 |
+
/**
|
630 |
+
* Finds the translated slug of the given post
|
631 |
+
* based on: https://wordpress.org/support/topic/permalink-for-other-languages
|
632 |
+
* @param int $id the post id
|
633 |
+
* @param string $lang which language to look for
|
634 |
+
* @return string the slug or empty if not found
|
635 |
+
* @author vbkun
|
636 |
+
* @since 1.1.13
|
637 |
+
*/
|
638 |
+
public function get_slug($id, $lang){
|
639 |
+
$slugArray = get_post_meta( $id, '_qts_slug_'.$lang );
|
640 |
+
return !empty($slugArray) ? $slugArray[0] : "";
|
641 |
+
}
|
642 |
+
|
643 |
// TODO: properly test this
|
644 |
/**
|
645 |
* Get text in $lang, or in the current lang
|
1623 |
}
|
1624 |
|
1625 |
if ( $link ) {
|
1626 |
+
$chain .= '<a href="' . get_category_link( $parent->term_id ) . '" title="' . esc_attr( sprintf( __( "View all posts in %s", "qts" ), $parent->name ) ) . '">'.$name.'</a>' . $separator;
|
1627 |
} else {
|
1628 |
$chain .= $name.$separator;
|
1629 |
}
|
1750 |
}
|
1751 |
|
1752 |
if ( !is_object($term) ) {
|
1753 |
+
$term = new WP_Error('invalid_term', __('Empty Term', 'qts'));
|
1754 |
}
|
1755 |
|
1756 |
if ( is_wp_error( $term ) ) {
|
2225 |
$value = ( $slug ) ? htmlspecialchars( $slug , ENT_QUOTES ) : '';
|
2226 |
|
2227 |
echo "<tr class=\"form-field form-required\">" . PHP_EOL;
|
2228 |
+
echo "<th scope=\"row\" valig=\"top\"><label for=\"qts_{$lang}_slug\">".sprintf( __('Slug (%s)', 'qts'), $q_config['language_name'][$lang] )."</label></th>" . PHP_EOL;
|
2229 |
echo "<td><input type=\"text\" name=\"qts_{$lang}_slug\" value=\"$value\" /></td></tr>" . PHP_EOL;
|
2230 |
|
2231 |
}
|
2244 |
|
2245 |
$value = ( $slug ) ? htmlspecialchars( $slug , ENT_QUOTES ) : '';
|
2246 |
|
2247 |
+
echo "<label for=\"qts_{$lang}_slug\">".sprintf( __('Slug (%s)', 'qts'), $q_config['language_name'][$lang] )."</label>" . PHP_EOL;
|
|
|
2248 |
echo "<input type=\"text\" name=\"qts_{$lang}_slug\" value=\"$value\" aria-required=\"true\">" . PHP_EOL;
|
2249 |
|
2250 |
echo '</div>';
|
2435 |
*/
|
2436 |
private function qts_insert_term_input($id,$name, $language,$action){
|
2437 |
global $q_config;
|
2438 |
+
$html = "";
|
2439 |
if( $action === "new") {
|
2440 |
$html ="
|
2441 |
var il = document.getElementsByTagName('input'),
|
2467 |
";
|
2468 |
}
|
2469 |
if(isset($q_config['term_name'][$termname][$language])) {
|
2470 |
+
$html .="
|
2471 |
+
i.value = '".addslashes(htmlspecialchars_decode($q_config['term_name'][$termname][$language], ENT_QUOTES))."';";
|
2472 |
+
//43LC: applied ENT_QUOTES to both edit and new forms.
|
2473 |
} else {
|
2474 |
+
$html .="
|
2475 |
+
if (ins != null)
|
2476 |
+
i.value = ins.value;
|
2477 |
+
";
|
2478 |
}
|
2479 |
|
2480 |
if($language == $q_config['default_language']) {
|
2553 |
unset($columns['posts']);
|
2554 |
|
2555 |
$columns['qts-slug'] = __('Slug', 'qts');
|
2556 |
+
$columns['posts'] = __('Posts', 'qts');
|
2557 |
|
2558 |
return $columns;
|
2559 |
}
|
2611 |
unregister_widget('ppqTranslateWidget');
|
2612 |
}
|
2613 |
|
2614 |
+
//if (class_exists('qTranslateXWidget')) {//it has additional features some people use.
|
2615 |
+
// unregister_widget('qTranslateXWidget');
|
2616 |
+
//}
|
2617 |
|
2618 |
register_widget('QtranslateSlugWidget');
|
2619 |
}
|
2643 |
if( $pagenow != 'nav-menus.php' ) {
|
2644 |
return;
|
2645 |
}
|
2646 |
+
//FIXME: fix the nav menu box
|
2647 |
+
// wp_enqueue_script( 'nav-menu-query', plugins_url( 'assets/js/qts-nav-menu-min.js' , dirname(__FILE__ ) ), 'nav-menu', '1.0' );
|
2648 |
+
// add_meta_box( 'qt-languages', __('Languages', 'qts'), array(&$this, 'nav_menu_meta_box'), 'nav-menus', 'side', 'default' );
|
2649 |
}
|
2650 |
|
2651 |
|
includes/qtranslate-slug-settings-options.php
CHANGED
@@ -116,7 +116,7 @@ function qts_options_page_fields() {
|
|
116 |
$options[] = array(
|
117 |
"section" => "taxonomies",
|
118 |
"id" => QTS_PREFIX . "taxonomy_category",
|
119 |
-
"title" => __('Categories'),
|
120 |
"desc" => __( '<code>http://example.org/<u>category</u>/some-category/</code>', 'qts' ),
|
121 |
"type" => "multi-text",
|
122 |
'class' => 'qts-slug',
|
@@ -127,7 +127,7 @@ function qts_options_page_fields() {
|
|
127 |
$options[] = array(
|
128 |
"section" => "taxonomies",
|
129 |
"id" => QTS_PREFIX . "taxonomy_post_tag",
|
130 |
-
"title" => __('Tags'),
|
131 |
"desc" => __( '<code>http://example.org/<u>tag</u>/some-tag/</code>', 'qts' ),
|
132 |
"type" => "multi-text",
|
133 |
'class' => 'qts-slug',
|
116 |
$options[] = array(
|
117 |
"section" => "taxonomies",
|
118 |
"id" => QTS_PREFIX . "taxonomy_category",
|
119 |
+
"title" => __( 'Categories', 'qts' ),
|
120 |
"desc" => __( '<code>http://example.org/<u>category</u>/some-category/</code>', 'qts' ),
|
121 |
"type" => "multi-text",
|
122 |
'class' => 'qts-slug',
|
127 |
$options[] = array(
|
128 |
"section" => "taxonomies",
|
129 |
"id" => QTS_PREFIX . "taxonomy_post_tag",
|
130 |
+
"title" => __( 'Tags', 'qts' ),
|
131 |
"desc" => __( '<code>http://example.org/<u>tag</u>/some-tag/</code>', 'qts' ),
|
132 |
"type" => "multi-text",
|
133 |
'class' => 'qts-slug',
|
includes/qtranslate-slug-settings.php
CHANGED
@@ -88,7 +88,7 @@ function qts_upgrade_response($type = 0, $slug = null) {
|
|
88 |
$response = array(
|
89 |
'status' => 2,
|
90 |
'message' => sprintf(__('One step more, select what type of slug is this: <strong>%s</strong>', 'qts'), $slug),
|
91 |
-
'options' => array( 'post' => __('Post, Page or Custom post type', 'qts'), 'term' => __('Category, tag or custom taxonomy') )
|
92 |
);
|
93 |
break;
|
94 |
}
|
88 |
$response = array(
|
89 |
'status' => 2,
|
90 |
'message' => sprintf(__('One step more, select what type of slug is this: <strong>%s</strong>', 'qts'), $slug),
|
91 |
+
'options' => array( 'post' => __('Post, Page or Custom post type', 'qts'), 'term' => __('Category, tag or custom taxonomy', 'qts') )
|
92 |
);
|
93 |
break;
|
94 |
}
|
includes/termmeta-core.php
CHANGED
@@ -7,7 +7,8 @@ function install_term_meta_table() {
|
|
7 |
global $wpdb;
|
8 |
|
9 |
$collate = '';
|
10 |
-
if($wpdb->supports_collation())
|
|
|
11 |
if(!empty($wpdb->charset)) $collate = "DEFAULT CHARACTER SET $wpdb->charset";
|
12 |
if(!empty($wpdb->collate)) $collate .= " COLLATE $wpdb->collate";
|
13 |
}
|
7 |
global $wpdb;
|
8 |
|
9 |
$collate = '';
|
10 |
+
//if($wpdb->supports_collation())//deprecated, was a reason for activation admin notice
|
11 |
+
if($wpdb->has_cap( 'collation' )) {
|
12 |
if(!empty($wpdb->charset)) $collate = "DEFAULT CHARACTER SET $wpdb->charset";
|
13 |
if(!empty($wpdb->collate)) $collate .= " COLLATE $wpdb->collate";
|
14 |
}
|
languages/qts-pt_PT.mo
CHANGED
Binary file
|
languages/qts-pt_PT.po
CHANGED
@@ -4,114 +4,217 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: qTranslate slug\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/qtranslate-slug\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
-
"PO-Revision-Date: 2015-01-
|
9 |
"Last-Translator: Pedro Mendonça <ped.gaspar@gmail.com>\n"
|
10 |
"Language-Team: Pedro Mendonça <ped.gaspar@gmail.com>\n"
|
11 |
"Language: pt_PT\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
-
"X-Generator: Poedit 1.7.
|
16 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
-
#: qtranslate-slug.php
|
20 |
msgid "Language selector"
|
21 |
msgstr "Selector de idioma"
|
22 |
|
23 |
-
#: qtranslate-slug.php
|
|
|
|
|
|
|
|
|
24 |
msgid "Title:"
|
25 |
msgstr "Título:"
|
26 |
|
27 |
-
#: qtranslate-slug.php
|
28 |
-
msgid ""
|
29 |
-
"
|
30 |
-
"activated.</p>"
|
31 |
-
msgstr ""
|
32 |
-
"<p style=\"color:red\">Este plugin necessita do qTranslate instalado e "
|
33 |
-
"activado previamente.</p>"
|
34 |
|
35 |
-
#: qtranslate-slug.php
|
36 |
-
msgid "
|
37 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
-
#: qtranslate-slug.php
|
40 |
msgid "Show short name (en):"
|
41 |
msgstr "Mostrar abreviatura (pt):"
|
42 |
|
43 |
-
#: qtranslate-slug
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
msgid "Post types"
|
45 |
msgstr "Tipos de artigos"
|
46 |
|
47 |
-
#: qtranslate-slug-settings-options.php
|
48 |
msgid "Taxonomies"
|
49 |
msgstr "Taxonomias"
|
50 |
|
51 |
-
#: qtranslate-slug-settings-options.php
|
52 |
-
msgid "
|
53 |
-
msgstr "
|
54 |
|
55 |
-
#: qtranslate-slug-settings-options.php
|
56 |
-
msgid "
|
57 |
-
msgstr "
|
58 |
|
59 |
-
#: qtranslate-slug-settings-options.php
|
60 |
-
msgid "
|
61 |
-
msgstr "
|
62 |
|
63 |
-
#: qtranslate-slug-settings-options.php
|
64 |
-
msgid "
|
65 |
-
|
|
|
|
|
|
|
|
|
66 |
|
67 |
-
#: qtranslate-slug-settings.php
|
68 |
-
msgid "
|
69 |
-
msgstr "
|
70 |
|
71 |
-
#: qtranslate-slug-settings.php
|
72 |
-
msgid "
|
73 |
-
msgstr "
|
74 |
|
75 |
-
#: qtranslate-slug-settings.php
|
76 |
-
msgid "
|
77 |
-
msgstr "
|
78 |
|
79 |
-
#: qtranslate-slug-settings.php
|
80 |
-
msgid "
|
81 |
-
msgstr "
|
82 |
|
83 |
-
#: qtranslate-slug-settings.php
|
84 |
-
msgid "
|
85 |
-
msgstr ""
|
86 |
-
"São necessários valores numéricos separados por vírgulas! Por favor, corrija."
|
87 |
|
88 |
-
#: qtranslate-slug-settings.php
|
89 |
-
msgid "
|
90 |
-
msgstr "
|
91 |
|
92 |
-
#: qtranslate-slug-settings.php
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
"válido."
|
97 |
|
98 |
-
#: qtranslate-slug-settings.php
|
99 |
-
msgid "
|
100 |
-
msgstr "
|
101 |
|
102 |
-
#: qtranslate-slug-settings.php
|
103 |
-
msgid "
|
104 |
-
msgstr "
|
105 |
|
106 |
-
#: qtranslate-slug.php
|
107 |
-
msgid "
|
108 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
|
110 |
-
#: qtranslate-slug-settings.php
|
111 |
msgid "Upgrade your data"
|
112 |
msgstr "Actualize os seus dados"
|
113 |
|
114 |
-
#: qtranslate-slug-settings.php
|
115 |
msgid ""
|
116 |
"There are slugs stored with old data system. Please upgrade your data pressing "
|
117 |
"upgrade button:"
|
@@ -119,52 +222,39 @@ msgstr ""
|
|
119 |
"Existem URLs com sistema de dados antigo. Por favor actualize os seus dados "
|
120 |
"através do botão actualizar:"
|
121 |
|
122 |
-
#: qtranslate-slug-settings.php
|
123 |
msgid "Sorry, some error happened. Refresh this page and try again please."
|
124 |
msgstr ""
|
125 |
"Lamentavelmente mas ocorreu um erro. Por favor refresque esta página e tente "
|
126 |
"novamente."
|
127 |
|
128 |
-
#: qtranslate-slug-settings.php
|
129 |
msgid "Congratulations, your data has been upgraded, you are up to date."
|
130 |
msgstr ""
|
131 |
"Parabéns, os seus dados foram actualizados e o sistema está agora actual."
|
132 |
|
133 |
-
#: qtranslate-slug-settings.php
|
134 |
msgid "One step more, select what type of slug is this: <strong>%s</strong>"
|
135 |
msgstr "Um passo mais, seleccione que tipo de URL é este: <strong>%s</strong>"
|
136 |
|
137 |
-
#: qtranslate-slug-settings.php
|
138 |
msgid "Post, Page or Custom post type"
|
139 |
-
msgstr "Artigo,
|
140 |
|
141 |
-
#: qtranslate-slug-settings.php
|
142 |
msgid "Category, tag or custom taxonomy"
|
143 |
msgstr "Categoria, etiqueta ou taxonomia personalizada"
|
144 |
|
145 |
-
#: qtranslate-slug.php
|
146 |
-
|
147 |
-
"
|
148 |
-
"
|
149 |
-
msgstr ""
|
150 |
-
"Este plugin requer no mínimo o <strong>Wordpress 3.3</strong> e "
|
151 |
-
"<strong>Qtranslate (2.5.8 ou superior)</strong>"
|
152 |
|
153 |
-
#: qtranslate-slug-settings.php
|
154 |
-
msgid ""
|
155 |
-
"
|
156 |
-
"permalinks</a>, in this section you can translate the <abbr title=\"en inglés, "
|
157 |
-
"Universal Resource Locator\">URLs</abbr> <strong>bases</strong> for <a href="
|
158 |
-
"\"http://codex.wordpress.org/Function_Reference/register_post_type#Arguments"
|
159 |
-
"\">public</a> post_types, categories, tags and taxonomies."
|
160 |
-
msgstr ""
|
161 |
-
"Se activou previamente as <a href=\"options-permalink.php\">ligações "
|
162 |
-
"permanentes</a>, nesta secção poderá traduzir as <strong>bases</strong> das "
|
163 |
-
"<abbr title=\"em inglês, Universal Resource Locator\">URLs</abbr> para tipos "
|
164 |
-
"de artigo, categorias, etiquetas e taxonomias <a href=\"http://codex.wordpress."
|
165 |
-
"org/Function_Reference/register_post_type#Arguments\">públicas</a>."
|
166 |
|
167 |
-
#: qtranslate-slug-settings.php
|
168 |
msgid ""
|
169 |
"For example, the post_type <kbd>books</kbd>, in Spanish would be displayed as "
|
170 |
"<code>http://example.org/es/libros/post-type-name/</code>. If you leave this "
|
@@ -177,7 +267,7 @@ msgstr ""
|
|
177 |
"wordpress.org/Function_Reference/register_post_type\">registada</a> no tipo de "
|
178 |
"artigo."
|
179 |
|
180 |
-
#: qtranslate-slug-settings.php
|
181 |
msgid ""
|
182 |
"For example, the taxonomy <kbd>category</kbd>, in Spanish would be displayed "
|
183 |
"as <code>http://example.org/es/categoria/taxonomy-name/</code>. If you leave "
|
@@ -195,58 +285,59 @@ msgstr ""
|
|
195 |
"<u>categorias</u> ou <u>etiquetas</u> na página <a href=\"options-permalink.php"
|
196 |
"\">ligações permanentes</a>, estas bases serão sobrepostas pelas traduzidas)."
|
197 |
|
198 |
-
#: qtranslate-slug-settings
|
199 |
-
msgid "Styles"
|
200 |
-
msgstr "Estilos"
|
201 |
-
|
202 |
-
#: qtranslate-slug-settings.php
|
203 |
msgid "The default styles are very minimal, and you can include them or not."
|
204 |
msgstr "Os estilos padrão são mínimos, pode incluí-los ou não."
|
205 |
|
206 |
-
#: qtranslate-slug-settings
|
207 |
-
msgid "
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
|
214 |
-
#: qtranslate-slug-settings
|
215 |
-
msgid "
|
216 |
-
msgstr "
|
217 |
|
218 |
-
#: qtranslate-slug-settings
|
219 |
-
msgid "
|
220 |
-
msgstr "
|
221 |
|
222 |
-
#: qtranslate-slug-settings
|
223 |
-
msgid "
|
224 |
-
msgstr "
|
225 |
|
226 |
-
#: qtranslate-slug-settings
|
227 |
-
msgid "
|
228 |
-
msgstr "
|
229 |
|
230 |
-
#: qtranslate-slug-settings
|
231 |
-
msgid ""
|
232 |
-
"adds a minified ( slighlty faster) file (qts-default.min.css) to the theme's "
|
233 |
-
"header."
|
234 |
msgstr ""
|
235 |
-
"
|
236 |
-
"rápido, ao cabeçalho do tema."
|
237 |
|
238 |
-
#: qtranslate-slug-settings
|
239 |
-
msgid "
|
240 |
-
msgstr "
|
241 |
|
242 |
-
#: qtranslate-slug-settings
|
243 |
-
msgid "
|
244 |
-
msgstr "
|
|
|
|
|
245 |
|
246 |
-
#: qtranslate-slug-settings.php
|
247 |
-
msgid "
|
248 |
-
msgstr "
|
249 |
|
250 |
-
#:
|
251 |
-
msgid "
|
252 |
-
msgstr "
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: qTranslate slug\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/qtranslate-slug\n"
|
7 |
+
"POT-Creation-Date: 2015-01-23 14:23-0000\n"
|
8 |
+
"PO-Revision-Date: 2015-01-23 15:26-0000\n"
|
9 |
"Last-Translator: Pedro Mendonça <ped.gaspar@gmail.com>\n"
|
10 |
"Language-Team: Pedro Mendonça <ped.gaspar@gmail.com>\n"
|
11 |
"Language: pt_PT\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 1.7.3\n"
|
16 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext;_n;__ngettext_noop;_n_noop;_x;_nx;"
|
19 |
+
"_nx_noop;_ex;esc_attr__;esc_attr_e;esc_attr_x;esc_html__;esc_html_e;esc_html_x;"
|
20 |
+
"_c;_nc\n"
|
21 |
+
"X-Poedit-Basepath: .\n"
|
22 |
+
"X-Poedit-SearchPath-0: .\n"
|
23 |
+
"X-Poedit-SearchPath-1: ..\n"
|
24 |
+
|
25 |
+
#: ../includes/class-qtranslate-slug-widget.php:11
|
26 |
+
msgid "Allows your visitors to choose a Language."
|
27 |
+
msgstr "Permite aos visitantes escolher o seu Idioma."
|
28 |
|
29 |
+
#: ../includes/class-qtranslate-slug-widget.php:12
|
30 |
msgid "Language selector"
|
31 |
msgstr "Selector de idioma"
|
32 |
|
33 |
+
#: ../includes/class-qtranslate-slug-widget.php:19
|
34 |
+
msgid "Language"
|
35 |
+
msgstr "Idioma"
|
36 |
+
|
37 |
+
#: ../includes/class-qtranslate-slug-widget.php:51
|
38 |
msgid "Title:"
|
39 |
msgstr "Título:"
|
40 |
|
41 |
+
#: ../includes/class-qtranslate-slug-widget.php:52
|
42 |
+
msgid "Hide Title:"
|
43 |
+
msgstr "Esconder título:"
|
|
|
|
|
|
|
|
|
44 |
|
45 |
+
#: ../includes/class-qtranslate-slug-widget.php:53
|
46 |
+
msgid "Display:"
|
47 |
+
msgstr "Mostrar:"
|
48 |
+
|
49 |
+
#: ../includes/class-qtranslate-slug-widget.php:54
|
50 |
+
msgid "Text only"
|
51 |
+
msgstr "Apenas texto"
|
52 |
+
|
53 |
+
#: ../includes/class-qtranslate-slug-widget.php:55
|
54 |
+
msgid "Image only"
|
55 |
+
msgstr "Apenas imagem"
|
56 |
+
|
57 |
+
#: ../includes/class-qtranslate-slug-widget.php:56
|
58 |
+
msgid "Text and Image"
|
59 |
+
msgstr "Texto e imagem"
|
60 |
+
|
61 |
+
#: ../includes/class-qtranslate-slug-widget.php:57
|
62 |
+
msgid "Dropdown Box"
|
63 |
+
msgstr "Caixa de selecção"
|
64 |
|
65 |
+
#: ../includes/class-qtranslate-slug-widget.php:58
|
66 |
msgid "Show short name (en):"
|
67 |
msgstr "Mostrar abreviatura (pt):"
|
68 |
|
69 |
+
#: ../includes/class-qtranslate-slug.php:413
|
70 |
+
msgid "Please update your old data to the new system."
|
71 |
+
msgstr "Por favor actualize os seus dados antigos para o novo sistema."
|
72 |
+
|
73 |
+
#: ../includes/class-qtranslate-slug.php:413
|
74 |
+
#: ../includes/qtranslate-slug-settings.php:29
|
75 |
+
msgid "upgrade now"
|
76 |
+
msgstr "actualizar agora"
|
77 |
+
|
78 |
+
#: ../includes/class-qtranslate-slug.php:427
|
79 |
+
msgid "or newer"
|
80 |
+
msgstr "ou mais recente"
|
81 |
+
|
82 |
+
#: ../includes/class-qtranslate-slug.php:432
|
83 |
+
msgid "This plugin requires at least %s and either %s, or %s, or %s"
|
84 |
+
msgstr "Este plugin requer no mínimo o %s e o %s, ou %s, ou %s"
|
85 |
+
|
86 |
+
#: ../includes/class-qtranslate-slug.php:432
|
87 |
+
msgid "More information about"
|
88 |
+
msgstr "Mais informações sobre"
|
89 |
+
|
90 |
+
#: ../includes/class-qtranslate-slug.php:1612
|
91 |
+
msgid "View all posts in %s"
|
92 |
+
msgstr "Ver todos os artigos em %s"
|
93 |
+
|
94 |
+
#: ../includes/class-qtranslate-slug.php:1739
|
95 |
+
msgid "Empty Term"
|
96 |
+
msgstr "Termo vazio"
|
97 |
+
|
98 |
+
#: ../includes/class-qtranslate-slug.php:1999
|
99 |
+
#: ../includes/class-qtranslate-slug.php:2000
|
100 |
+
#: ../includes/class-qtranslate-slug.php:2003
|
101 |
+
#: ../includes/class-qtranslate-slug.php:2541
|
102 |
+
msgid "Slug"
|
103 |
+
msgstr "URL"
|
104 |
+
|
105 |
+
#: ../includes/class-qtranslate-slug.php:2214
|
106 |
+
#: ../includes/class-qtranslate-slug.php:2233
|
107 |
+
#: ../includes/qtranslate-slug-settings-options.php:39
|
108 |
+
msgid "Slug (%s)"
|
109 |
+
msgstr "URL (%s)"
|
110 |
+
|
111 |
+
#: ../includes/class-qtranslate-slug.php:2400
|
112 |
+
#: ../includes/class-qtranslate-slug.php:2404
|
113 |
+
msgid "Name"
|
114 |
+
msgstr "Nome"
|
115 |
+
|
116 |
+
#: ../includes/class-qtranslate-slug.php:2542
|
117 |
+
msgid "Posts"
|
118 |
+
msgstr "Artigos"
|
119 |
+
|
120 |
+
#: ../includes/class-qtranslate-slug.php:2634
|
121 |
+
msgid "Languages"
|
122 |
+
msgstr "Idiomas"
|
123 |
+
|
124 |
+
#: ../includes/class-qtranslate-slug.php:2657
|
125 |
+
msgid "All languages"
|
126 |
+
msgstr "Todos os idiomas"
|
127 |
+
|
128 |
+
#: ../includes/qtranslate-slug-settings-options.php:14
|
129 |
msgid "Post types"
|
130 |
msgstr "Tipos de artigos"
|
131 |
|
132 |
+
#: ../includes/qtranslate-slug-settings-options.php:15
|
133 |
msgid "Taxonomies"
|
134 |
msgstr "Taxonomias"
|
135 |
|
136 |
+
#: ../includes/qtranslate-slug-settings-options.php:16
|
137 |
+
msgid "Styles"
|
138 |
+
msgstr "Estilos"
|
139 |
|
140 |
+
#: ../includes/qtranslate-slug-settings-options.php:63
|
141 |
+
msgid "Change styles type"
|
142 |
+
msgstr "Alterar o tipo de estilos"
|
143 |
|
144 |
+
#: ../includes/qtranslate-slug-settings-options.php:65
|
145 |
+
msgid "adds a file (qts-default.css) to the theme's header."
|
146 |
+
msgstr "adiciona um ficheiro (qts-default.css) ao cabeçalho do tema."
|
147 |
|
148 |
+
#: ../includes/qtranslate-slug-settings-options.php:66
|
149 |
+
msgid ""
|
150 |
+
"adds a minified ( slighlty faster) file (qts-default.min.css) to the theme's "
|
151 |
+
"header."
|
152 |
+
msgstr ""
|
153 |
+
"adiciona um ficheiro minimizado (qts-default.min.css), ligeiramente mais "
|
154 |
+
"rápido, ao cabeçalho do tema."
|
155 |
|
156 |
+
#: ../includes/qtranslate-slug-settings-options.php:67
|
157 |
+
msgid "prints the styles directly into the theme's header."
|
158 |
+
msgstr "exibe os estilos directamente no cabeçalho do tema."
|
159 |
|
160 |
+
#: ../includes/qtranslate-slug-settings-options.php:68
|
161 |
+
msgid "neither include not print the default style."
|
162 |
+
msgstr "nem incluir nem exibir o estilo padrão."
|
163 |
|
164 |
+
#: ../includes/qtranslate-slug-settings-options.php:73
|
165 |
+
msgid "file"
|
166 |
+
msgstr "ficheiro"
|
167 |
|
168 |
+
#: ../includes/qtranslate-slug-settings-options.php:74
|
169 |
+
msgid "minified"
|
170 |
+
msgstr "minimizado"
|
171 |
|
172 |
+
#: ../includes/qtranslate-slug-settings-options.php:75
|
173 |
+
msgid "inline"
|
174 |
+
msgstr "em linha"
|
|
|
175 |
|
176 |
+
#: ../includes/qtranslate-slug-settings-options.php:76
|
177 |
+
msgid "none"
|
178 |
+
msgstr "nenhum"
|
179 |
|
180 |
+
#: ../includes/qtranslate-slug-settings-options.php:106
|
181 |
+
#: ../includes/qtranslate-slug-settings-options.php:148
|
182 |
+
msgid "<code>http://example.org/<u>%s</u>/some-%s/</code>"
|
183 |
+
msgstr "<code>http://exemplo.org/<u>%s</u>/qualquer-%s/</code>"
|
|
|
184 |
|
185 |
+
#: ../includes/qtranslate-slug-settings-options.php:119
|
186 |
+
msgid "Categories"
|
187 |
+
msgstr "Categorias"
|
188 |
|
189 |
+
#: ../includes/qtranslate-slug-settings-options.php:120
|
190 |
+
msgid "<code>http://example.org/<u>category</u>/some-category/</code>"
|
191 |
+
msgstr "<code>http://exemplo.org/<u>categoria</u>/qualquer-categoria/</code>"
|
192 |
|
193 |
+
#: ../includes/qtranslate-slug-settings-options.php:130
|
194 |
+
msgid "Tags"
|
195 |
+
msgstr "Etiquetas"
|
196 |
+
|
197 |
+
#: ../includes/qtranslate-slug-settings-options.php:131
|
198 |
+
msgid "<code>http://example.org/<u>tag</u>/some-tag/</code>"
|
199 |
+
msgstr "<code>http://exemplo.org/<u>etiqueta</u>/qualquer-etiqueta/</code>"
|
200 |
+
|
201 |
+
#: ../includes/qtranslate-slug-settings-options.php:175
|
202 |
+
msgid "Qtranslate Settings - Contextual Help"
|
203 |
+
msgstr "Definições do Qtranslate - Ajuda contextual"
|
204 |
+
|
205 |
+
#: ../includes/qtranslate-slug-settings-options.php:176
|
206 |
+
msgid ""
|
207 |
+
"Contextual help goes here. You may want to use different html elements to "
|
208 |
+
"format your text as you want."
|
209 |
+
msgstr ""
|
210 |
+
"Isto é a ajuda contextual. Poderá utilizar diferentes elementos html para "
|
211 |
+
"formatar o seu texto como desejar."
|
212 |
|
213 |
+
#: ../includes/qtranslate-slug-settings.php:23
|
214 |
msgid "Upgrade your data"
|
215 |
msgstr "Actualize os seus dados"
|
216 |
|
217 |
+
#: ../includes/qtranslate-slug-settings.php:24
|
218 |
msgid ""
|
219 |
"There are slugs stored with old data system. Please upgrade your data pressing "
|
220 |
"upgrade button:"
|
222 |
"Existem URLs com sistema de dados antigo. Por favor actualize os seus dados "
|
223 |
"através do botão actualizar:"
|
224 |
|
225 |
+
#: ../includes/qtranslate-slug-settings.php:77
|
226 |
msgid "Sorry, some error happened. Refresh this page and try again please."
|
227 |
msgstr ""
|
228 |
"Lamentavelmente mas ocorreu um erro. Por favor refresque esta página e tente "
|
229 |
"novamente."
|
230 |
|
231 |
+
#: ../includes/qtranslate-slug-settings.php:84
|
232 |
msgid "Congratulations, your data has been upgraded, you are up to date."
|
233 |
msgstr ""
|
234 |
"Parabéns, os seus dados foram actualizados e o sistema está agora actual."
|
235 |
|
236 |
+
#: ../includes/qtranslate-slug-settings.php:90
|
237 |
msgid "One step more, select what type of slug is this: <strong>%s</strong>"
|
238 |
msgstr "Um passo mais, seleccione que tipo de URL é este: <strong>%s</strong>"
|
239 |
|
240 |
+
#: ../includes/qtranslate-slug-settings.php:91
|
241 |
msgid "Post, Page or Custom post type"
|
242 |
+
msgstr "Artigo, página ou tipo de artigo personalizado"
|
243 |
|
244 |
+
#: ../includes/qtranslate-slug-settings.php:91
|
245 |
msgid "Category, tag or custom taxonomy"
|
246 |
msgstr "Categoria, etiqueta ou taxonomia personalizada"
|
247 |
|
248 |
+
#: ../includes/qtranslate-slug-settings.php:182
|
249 |
+
#: ../includes/qtranslate-slug-settings.php:322
|
250 |
+
msgid "Qtranslate Slug options"
|
251 |
+
msgstr "Opções do Qtranslate Slug"
|
|
|
|
|
|
|
252 |
|
253 |
+
#: ../includes/qtranslate-slug-settings.php:322
|
254 |
+
msgid "Slug options"
|
255 |
+
msgstr "Opções do URL"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
256 |
|
257 |
+
#: ../includes/qtranslate-slug-settings.php:359
|
258 |
msgid ""
|
259 |
"For example, the post_type <kbd>books</kbd>, in Spanish would be displayed as "
|
260 |
"<code>http://example.org/es/libros/post-type-name/</code>. If you leave this "
|
267 |
"wordpress.org/Function_Reference/register_post_type\">registada</a> no tipo de "
|
268 |
"artigo."
|
269 |
|
270 |
+
#: ../includes/qtranslate-slug-settings.php:364
|
271 |
msgid ""
|
272 |
"For example, the taxonomy <kbd>category</kbd>, in Spanish would be displayed "
|
273 |
"as <code>http://example.org/es/categoria/taxonomy-name/</code>. If you leave "
|
285 |
"<u>categorias</u> ou <u>etiquetas</u> na página <a href=\"options-permalink.php"
|
286 |
"\">ligações permanentes</a>, estas bases serão sobrepostas pelas traduzidas)."
|
287 |
|
288 |
+
#: ../includes/qtranslate-slug-settings.php:368
|
|
|
|
|
|
|
|
|
289 |
msgid "The default styles are very minimal, and you can include them or not."
|
290 |
msgstr "Os estilos padrão são mínimos, pode incluí-los ou não."
|
291 |
|
292 |
+
#: ../includes/qtranslate-slug-settings.php:567
|
293 |
+
msgid ""
|
294 |
+
"If you activated previously the <a href=\"options-permalink.php\">pretty "
|
295 |
+
"permalinks</a>, in this section you can translate the <abbr title=\"en inglés, "
|
296 |
+
"Universal Resource Locator\">URLs</abbr> <strong>bases</strong> for <a href="
|
297 |
+
"\"http://codex.wordpress.org/Function_Reference/register_post_type#Arguments"
|
298 |
+
"\">public</a> post_types, categories, tags and taxonomies."
|
299 |
+
msgstr ""
|
300 |
+
"Se activou previamente as <a href=\"options-permalink.php\">ligações "
|
301 |
+
"permanentes</a>, nesta secção poderá traduzir as <strong>bases</strong> das "
|
302 |
+
"<abbr title=\"em inglês, Universal Resource Locator\">URLs</abbr> para tipos "
|
303 |
+
"de artigo, categorias, etiquetas e taxonomias <a href=\"http://codex.wordpress."
|
304 |
+
"org/Function_Reference/register_post_type#Arguments\">públicas</a>."
|
305 |
|
306 |
+
#: ../includes/qtranslate-slug-settings.php:586
|
307 |
+
msgid "If you selected \"none\", copy and use these styles as you see fit:"
|
308 |
+
msgstr "Se escolher \"nenhum\", copie e utilize estes estilos como entender:"
|
309 |
|
310 |
+
#: ../includes/qtranslate-slug-settings.php:589
|
311 |
+
msgid "Save Changes"
|
312 |
+
msgstr "Guardar alterações"
|
313 |
|
314 |
+
#: ../includes/qtranslate-slug-settings.php:642
|
315 |
+
msgid "Expecting a Numeric value! Please fix."
|
316 |
+
msgstr "É necessário um valor numérico! Por favor, corrija."
|
317 |
|
318 |
+
#: ../includes/qtranslate-slug-settings.php:655
|
319 |
+
msgid "Expecting comma separated numeric values"
|
320 |
+
msgstr "Valores numéricos separados por vírgulas"
|
321 |
|
322 |
+
#: ../includes/qtranslate-slug-settings.php:665
|
323 |
+
msgid "Expecting comma separated numeric values! Please fix."
|
|
|
|
|
324 |
msgstr ""
|
325 |
+
"São necessários valores numéricos separados por vírgulas! Por favor, corrija."
|
|
|
326 |
|
327 |
+
#: ../includes/qtranslate-slug-settings.php:690
|
328 |
+
msgid "Invalid email"
|
329 |
+
msgstr "Email incorrecto"
|
330 |
|
331 |
+
#: ../includes/qtranslate-slug-settings.php:692
|
332 |
+
msgid "This setting field cannot be empty! Please enter a valid email address."
|
333 |
+
msgstr ""
|
334 |
+
"Este campo não pode estar vazio! Por favor introduza um endereço de email "
|
335 |
+
"válido."
|
336 |
|
337 |
+
#: ../includes/qtranslate-slug-settings.php:700
|
338 |
+
msgid "Please enter a valid email address."
|
339 |
+
msgstr "Por favor introduza um endereço de email válido."
|
340 |
|
341 |
+
#: ../qtranslate-slug.php:150
|
342 |
+
msgid "Settings"
|
343 |
+
msgstr "Definições"
|
languages/qts.pot
CHANGED
@@ -4,194 +4,310 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: qTranslate slug 1.0\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/qtranslate-slug\n"
|
7 |
-
"POT-Creation-Date:
|
|
|
|
|
|
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
|
|
|
|
|
|
15 |
|
|
|
|
|
|
|
16 |
|
|
|
|
|
|
|
17 |
|
|
|
|
|
|
|
18 |
|
19 |
-
#: qtranslate-slug.php
|
20 |
-
msgid "
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: qtranslate-slug.php
|
24 |
-
msgid "
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: qtranslate-slug.php
|
28 |
-
msgid "
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: qtranslate-slug.php
|
32 |
-
msgid "
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: qtranslate-slug.php
|
|
|
|
|
|
|
|
|
36 |
msgid "Show short name (en):"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: qtranslate-slug
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
msgid "Post types"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: qtranslate-slug-settings-options.php
|
44 |
msgid "Taxonomies"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: qtranslate-slug-settings-options.php
|
48 |
-
msgid "
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: qtranslate-slug-settings-options.php
|
52 |
-
msgid "
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: qtranslate-slug-settings-options.php
|
56 |
-
msgid "
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: qtranslate-slug-settings-options.php
|
60 |
-
msgid "
|
|
|
|
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: qtranslate-slug-settings.php
|
64 |
-
msgid "
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: qtranslate-slug-settings.php
|
68 |
-
msgid "
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: qtranslate-slug-settings.php
|
72 |
-
msgid "
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: qtranslate-slug-settings.php
|
76 |
-
msgid "
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: qtranslate-slug-settings.php
|
80 |
-
msgid "
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: qtranslate-slug-settings.php
|
84 |
-
msgid "
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: qtranslate-slug-settings.php
|
88 |
-
|
|
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: qtranslate-slug-settings.php
|
92 |
-
msgid "
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: qtranslate-slug-settings.php
|
96 |
-
msgid "
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: qtranslate-slug.php
|
100 |
-
msgid "
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: qtranslate-slug-settings.php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
msgid "Upgrade your data"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: qtranslate-slug-settings.php
|
108 |
-
msgid "
|
|
|
|
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: qtranslate-slug-settings.php
|
112 |
msgid "Sorry, some error happened. Refresh this page and try again please."
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: qtranslate-slug-settings.php
|
116 |
msgid "Congratulations, your data has been upgraded, you are up to date."
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: qtranslate-slug-settings.php
|
120 |
msgid "One step more, select what type of slug is this: <strong>%s</strong>"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: qtranslate-slug-settings.php
|
124 |
msgid "Post, Page or Custom post type"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: qtranslate-slug-settings.php
|
128 |
msgid "Category, tag or custom taxonomy"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: qtranslate-slug.php
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
#: qtranslate-slug-settings.php
|
136 |
-
msgid "If you activated previously the <a href=\"options-permalink.php\">pretty permalinks</a>, in this section you can translate the <abbr title=\"en inglés, Universal Resource Locator\">URLs</abbr> <strong>bases</strong> for <a href=\"http://codex.wordpress.org/Function_Reference/register_post_type#Arguments\">public</a> post_types, categories, tags and taxonomies."
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: qtranslate-slug-settings.php
|
140 |
-
msgid "
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: qtranslate-slug-settings.php
|
144 |
-
msgid "
|
|
|
|
|
|
|
|
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: qtranslate-slug-settings
|
148 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: qtranslate-slug-settings.php
|
152 |
msgid "The default styles are very minimal, and you can include them or not."
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: qtranslate-slug-settings
|
156 |
-
msgid "
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
|
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: qtranslate-slug-settings
|
164 |
-
msgid "
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: qtranslate-slug-settings
|
168 |
-
msgid "
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: qtranslate-slug-settings
|
172 |
-
msgid "
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: qtranslate-slug-settings
|
176 |
-
msgid "
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: qtranslate-slug-settings
|
180 |
-
msgid "
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: qtranslate-slug-settings
|
184 |
-
msgid "
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: qtranslate-slug-settings
|
188 |
-
msgid "
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: qtranslate-slug-settings.php
|
192 |
-
msgid "
|
193 |
msgstr ""
|
194 |
|
195 |
-
#:
|
196 |
-
msgid "
|
197 |
msgstr ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: qTranslate slug 1.0\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/qtranslate-slug\n"
|
7 |
+
"POT-Creation-Date: 2015-01-23 14:23-0000\n"
|
8 |
+
"PO-Revision-Date: 2015-01-23 14:23-0000\n"
|
9 |
+
"Last-Translator: Pedro Mendonça <ped.gaspar@gmail.com>\n"
|
10 |
+
"Language-Team: Carlos Sanz Garcia <carlos.sanz@gmail.com>\n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
+
"X-Generator: Poedit 1.7.3\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext;_n;__ngettext_noop;_n_noop;_x;_nx;"
|
18 |
+
"_nx_noop;_ex;esc_attr__;esc_attr_e;esc_attr_x;esc_html__;esc_html_e;"
|
19 |
+
"esc_html_x\n"
|
20 |
+
"X-Poedit-Basepath: .\n"
|
21 |
+
"X-Poedit-SearchPath-0: .\n"
|
22 |
+
"X-Poedit-SearchPath-1: ..\n"
|
23 |
+
|
24 |
+
#: ../includes/class-qtranslate-slug-widget.php:11
|
25 |
+
msgid "Allows your visitors to choose a Language."
|
26 |
+
msgstr ""
|
27 |
|
28 |
+
#: ../includes/class-qtranslate-slug-widget.php:12
|
29 |
+
msgid "Language selector"
|
30 |
+
msgstr ""
|
31 |
|
32 |
+
#: ../includes/class-qtranslate-slug-widget.php:19
|
33 |
+
msgid "Language"
|
34 |
+
msgstr ""
|
35 |
|
36 |
+
#: ../includes/class-qtranslate-slug-widget.php:51
|
37 |
+
msgid "Title:"
|
38 |
+
msgstr ""
|
39 |
|
40 |
+
#: ../includes/class-qtranslate-slug-widget.php:52
|
41 |
+
msgid "Hide Title:"
|
42 |
+
msgstr ""
|
43 |
|
44 |
+
#: ../includes/class-qtranslate-slug-widget.php:53
|
45 |
+
msgid "Display:"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: ../includes/class-qtranslate-slug-widget.php:54
|
49 |
+
msgid "Text only"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: ../includes/class-qtranslate-slug-widget.php:55
|
53 |
+
msgid "Image only"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: ../includes/class-qtranslate-slug-widget.php:56
|
57 |
+
msgid "Text and Image"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: ../includes/class-qtranslate-slug-widget.php:57
|
61 |
+
msgid "Dropdown Box"
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
#: ../includes/class-qtranslate-slug-widget.php:58
|
65 |
msgid "Show short name (en):"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: ../includes/class-qtranslate-slug.php:413
|
69 |
+
msgid "Please update your old data to the new system."
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: ../includes/class-qtranslate-slug.php:413
|
73 |
+
#: ../includes/qtranslate-slug-settings.php:29
|
74 |
+
msgid "upgrade now"
|
75 |
+
msgstr ""
|
76 |
+
|
77 |
+
#: ../includes/class-qtranslate-slug.php:427
|
78 |
+
msgid "or newer"
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#: ../includes/class-qtranslate-slug.php:432
|
82 |
+
msgid "This plugin requires at least %s and either %s, or %s, or %s"
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#: ../includes/class-qtranslate-slug.php:432
|
86 |
+
msgid "More information about"
|
87 |
+
msgstr ""
|
88 |
+
|
89 |
+
#: ../includes/class-qtranslate-slug.php:1612
|
90 |
+
msgid "View all posts in %s"
|
91 |
+
msgstr ""
|
92 |
+
|
93 |
+
#: ../includes/class-qtranslate-slug.php:1739
|
94 |
+
msgid "Empty Term"
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: ../includes/class-qtranslate-slug.php:1999
|
98 |
+
#: ../includes/class-qtranslate-slug.php:2000
|
99 |
+
#: ../includes/class-qtranslate-slug.php:2003
|
100 |
+
#: ../includes/class-qtranslate-slug.php:2541
|
101 |
+
msgid "Slug"
|
102 |
+
msgstr ""
|
103 |
+
|
104 |
+
#: ../includes/class-qtranslate-slug.php:2214
|
105 |
+
#: ../includes/class-qtranslate-slug.php:2233
|
106 |
+
#: ../includes/qtranslate-slug-settings-options.php:39
|
107 |
+
msgid "Slug (%s)"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: ../includes/class-qtranslate-slug.php:2400
|
111 |
+
#: ../includes/class-qtranslate-slug.php:2404
|
112 |
+
msgid "Name"
|
113 |
+
msgstr ""
|
114 |
+
|
115 |
+
#: ../includes/class-qtranslate-slug.php:2542
|
116 |
+
msgid "Posts"
|
117 |
+
msgstr ""
|
118 |
+
|
119 |
+
#: ../includes/class-qtranslate-slug.php:2634
|
120 |
+
msgid "Languages"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: ../includes/class-qtranslate-slug.php:2657
|
124 |
+
msgid "All languages"
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: ../includes/qtranslate-slug-settings-options.php:14
|
128 |
msgid "Post types"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: ../includes/qtranslate-slug-settings-options.php:15
|
132 |
msgid "Taxonomies"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: ../includes/qtranslate-slug-settings-options.php:16
|
136 |
+
msgid "Styles"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: ../includes/qtranslate-slug-settings-options.php:63
|
140 |
+
msgid "Change styles type"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: ../includes/qtranslate-slug-settings-options.php:65
|
144 |
+
msgid "adds a file (qts-default.css) to the theme's header."
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: ../includes/qtranslate-slug-settings-options.php:66
|
148 |
+
msgid ""
|
149 |
+
"adds a minified ( slighlty faster) file (qts-default.min.css) to the theme's "
|
150 |
+
"header."
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: ../includes/qtranslate-slug-settings-options.php:67
|
154 |
+
msgid "prints the styles directly into the theme's header."
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: ../includes/qtranslate-slug-settings-options.php:68
|
158 |
+
msgid "neither include not print the default style."
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: ../includes/qtranslate-slug-settings-options.php:73
|
162 |
+
msgid "file"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: ../includes/qtranslate-slug-settings-options.php:74
|
166 |
+
msgid "minified"
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: ../includes/qtranslate-slug-settings-options.php:75
|
170 |
+
msgid "inline"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: ../includes/qtranslate-slug-settings-options.php:76
|
174 |
+
msgid "none"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: ../includes/qtranslate-slug-settings-options.php:106
|
178 |
+
#: ../includes/qtranslate-slug-settings-options.php:148
|
179 |
+
msgid "<code>http://example.org/<u>%s</u>/some-%s/</code>"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: ../includes/qtranslate-slug-settings-options.php:119
|
183 |
+
msgid "Categories"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: ../includes/qtranslate-slug-settings-options.php:120
|
187 |
+
msgid "<code>http://example.org/<u>category</u>/some-category/</code>"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: ../includes/qtranslate-slug-settings-options.php:130
|
191 |
+
msgid "Tags"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: ../includes/qtranslate-slug-settings-options.php:131
|
195 |
+
msgid "<code>http://example.org/<u>tag</u>/some-tag/</code>"
|
196 |
+
msgstr ""
|
197 |
+
|
198 |
+
#: ../includes/qtranslate-slug-settings-options.php:175
|
199 |
+
msgid "Qtranslate Settings - Contextual Help"
|
200 |
+
msgstr ""
|
201 |
+
|
202 |
+
#: ../includes/qtranslate-slug-settings-options.php:176
|
203 |
+
msgid ""
|
204 |
+
"Contextual help goes here. You may want to use different html elements to "
|
205 |
+
"format your text as you want."
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: ../includes/qtranslate-slug-settings.php:23
|
209 |
msgid "Upgrade your data"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: ../includes/qtranslate-slug-settings.php:24
|
213 |
+
msgid ""
|
214 |
+
"There are slugs stored with old data system. Please upgrade your data pressing "
|
215 |
+
"upgrade button:"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: ../includes/qtranslate-slug-settings.php:77
|
219 |
msgid "Sorry, some error happened. Refresh this page and try again please."
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: ../includes/qtranslate-slug-settings.php:84
|
223 |
msgid "Congratulations, your data has been upgraded, you are up to date."
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: ../includes/qtranslate-slug-settings.php:90
|
227 |
msgid "One step more, select what type of slug is this: <strong>%s</strong>"
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: ../includes/qtranslate-slug-settings.php:91
|
231 |
msgid "Post, Page or Custom post type"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: ../includes/qtranslate-slug-settings.php:91
|
235 |
msgid "Category, tag or custom taxonomy"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: ../includes/qtranslate-slug-settings.php:182
|
239 |
+
#: ../includes/qtranslate-slug-settings.php:322
|
240 |
+
msgid "Qtranslate Slug options"
|
|
|
|
|
|
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: ../includes/qtranslate-slug-settings.php:322
|
244 |
+
msgid "Slug options"
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: ../includes/qtranslate-slug-settings.php:359
|
248 |
+
msgid ""
|
249 |
+
"For example, the post_type <kbd>books</kbd>, in Spanish would be displayed as "
|
250 |
+
"<code>http://example.org/es/libros/post-type-name/</code>. If you leave this "
|
251 |
+
"blank will use the default option when you <a href=\"http://codex.wordpress."
|
252 |
+
"org/Function_Reference/register_post_type\">registered</a> the post_type."
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: ../includes/qtranslate-slug-settings.php:364
|
256 |
+
msgid ""
|
257 |
+
"For example, the taxonomy <kbd>category</kbd>, in Spanish would be displayed "
|
258 |
+
"as <code>http://example.org/es/categoria/taxonomy-name/</code>. If you leave "
|
259 |
+
"this blank will use the default option when you <a href=\"http://codex."
|
260 |
+
"wordpress.org/Function_Reference/register_taxonomy\">registered</a> the "
|
261 |
+
"taxonomy (if you previously setup a base permastruct for <u>categories</u> or "
|
262 |
+
"<u>tags</u> in <a href=\"options-permalink.php\">permalinks</a> page, these "
|
263 |
+
"bases will be overwritten by the translated ones)."
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: ../includes/qtranslate-slug-settings.php:368
|
267 |
msgid "The default styles are very minimal, and you can include them or not."
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: ../includes/qtranslate-slug-settings.php:567
|
271 |
+
msgid ""
|
272 |
+
"If you activated previously the <a href=\"options-permalink.php\">pretty "
|
273 |
+
"permalinks</a>, in this section you can translate the <abbr title=\"en inglés, "
|
274 |
+
"Universal Resource Locator\">URLs</abbr> <strong>bases</strong> for <a href="
|
275 |
+
"\"http://codex.wordpress.org/Function_Reference/register_post_type#Arguments"
|
276 |
+
"\">public</a> post_types, categories, tags and taxonomies."
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: ../includes/qtranslate-slug-settings.php:586
|
280 |
+
msgid "If you selected \"none\", copy and use these styles as you see fit:"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: ../includes/qtranslate-slug-settings.php:589
|
284 |
+
msgid "Save Changes"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: ../includes/qtranslate-slug-settings.php:642
|
288 |
+
msgid "Expecting a Numeric value! Please fix."
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: ../includes/qtranslate-slug-settings.php:655
|
292 |
+
msgid "Expecting comma separated numeric values"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: ../includes/qtranslate-slug-settings.php:665
|
296 |
+
msgid "Expecting comma separated numeric values! Please fix."
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: ../includes/qtranslate-slug-settings.php:690
|
300 |
+
msgid "Invalid email"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: ../includes/qtranslate-slug-settings.php:692
|
304 |
+
msgid "This setting field cannot be empty! Please enter a valid email address."
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: ../includes/qtranslate-slug-settings.php:700
|
308 |
+
msgid "Please enter a valid email address."
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: ../qtranslate-slug.php:150
|
312 |
+
msgid "Settings"
|
313 |
msgstr ""
|
qtranslate-slug.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: qTranslate slug
|
4 |
Plugin URI: http://not-only-code.github.com/qtranslate-slug/
|
5 |
Description: Allows to define a slug for each language and some qTranslate bug fixes
|
6 |
-
Version: 1.1.
|
7 |
Author: Carlos Sanz Garcia, Pedro Carvalho
|
8 |
Author URI: http://github.com/not-only-code
|
9 |
*/
|
@@ -111,6 +111,17 @@ function qts_language_menu ($type = "text", $args = array()) {
|
|
111 |
$qtranslate_slug->language_menu($type, $args);
|
112 |
}
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
|
115 |
|
116 |
/**
|
@@ -147,7 +158,7 @@ function qts_add_settings_link( $links, $file ) {
|
|
147 |
|
148 |
$this_plugin = plugin_basename( __FILE__ );
|
149 |
if( $file == $this_plugin ) {
|
150 |
-
$settings_link = "<a href=\"options-general.php?page=" . QTS_PAGE_BASENAME . "\">" . __( 'Settings' ) . '</a>';
|
151 |
array_unshift($links, $settings_link);
|
152 |
}
|
153 |
return $links;
|
3 |
Plugin Name: qTranslate slug
|
4 |
Plugin URI: http://not-only-code.github.com/qtranslate-slug/
|
5 |
Description: Allows to define a slug for each language and some qTranslate bug fixes
|
6 |
+
Version: 1.1.13
|
7 |
Author: Carlos Sanz Garcia, Pedro Carvalho
|
8 |
Author URI: http://github.com/not-only-code
|
9 |
*/
|
111 |
$qtranslate_slug->language_menu($type, $args);
|
112 |
}
|
113 |
|
114 |
+
/**
|
115 |
+
* Finds the translated slug of the given post by calling get_slug
|
116 |
+
* @param int $id the post id
|
117 |
+
* @param string $lang which language to look for
|
118 |
+
* @since 1.1.13
|
119 |
+
*/
|
120 |
+
|
121 |
+
function qts_get_slug( $id, $lang ) {
|
122 |
+
global $qtranslate_slug;
|
123 |
+
return $qtranslate_slug->get_slug($id, $lang);
|
124 |
+
}
|
125 |
|
126 |
|
127 |
/**
|
158 |
|
159 |
$this_plugin = plugin_basename( __FILE__ );
|
160 |
if( $file == $this_plugin ) {
|
161 |
+
$settings_link = "<a href=\"options-general.php?page=" . QTS_PAGE_BASENAME . "\">" . __( 'Settings', 'qts' ) . '</a>';
|
162 |
array_unshift($links, $settings_link);
|
163 |
}
|
164 |
return $links;
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: qtranslate, slug, multilanguage, widget
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -19,35 +19,34 @@ Adds support for permalink translations and fix some QTranslate deficiencies sin
|
|
19 |
= Requirements: =
|
20 |
|
21 |
* Wordpress 3.3 (PHP 5.4 and MySQL 5)
|
22 |
-
* mQtranslate 2.6.2.4 or Qtranslate 2.5.8
|
23 |
|
24 |
-
= New in Versions 1.1.12 =
|
25 |
|
26 |
-
|
27 |
-
* replace qtranslate with our own for taxonomies
|
28 |
|
29 |
-
|
30 |
|
31 |
-
*
|
32 |
-
*
|
33 |
-
|
|
|
34 |
|
35 |
-
|
36 |
|
37 |
-
*
|
38 |
-
*
|
39 |
-
*
|
40 |
-
* Added translation for some hardcoded texts ( thanks pedro-mendonca )
|
41 |
-
* Corrected a link from 'qtranslate' to 'qts' language files ( thanks pedro-mendonca )
|
42 |
-
* Fixed taxonomies slugs ( thanks to [eirikv's bug report](https://wordpress.org/support/topic/categories-slug-dont-work) )
|
43 |
-
* Fixed many warnings ( thanks piffpaffpuff, issue #78 and to [pedrodu1](https://wordpress.org/support/topic/warnings-qtranslate-slugphp) )
|
44 |
-
* Changed the behaviour of "Quick Edit", from the wp forums [1](https://wordpress.org/support/topic/categories-tags-and-quick-edit-dont-show-in-admin) [2](https://wordpress.org/support/topic/quick-edit-inhibited-by-qtranslate-slug-with-wp-41-mqtranslate) ( thanks everyone!! )
|
45 |
-
* Fixed the menus! Now you can properly use one menu for every language. Use the dropdown section "Languages", and for each item, change the "Navigation Label" and "Title Attribute". Select "All languages", to make sure everything is awesome! All these features were a consequence of fixing all the warnings based on [Gery's bug report](https://wordpress.org/support/topic/qtranslate-slug-conflicting-with-ubermenu).
|
46 |
-
* Minor fixes, etc.
|
47 |
|
48 |
-
|
49 |
|
|
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
|
53 |
**Advice: If you're using a multisite installation, you will must activate qtranslate plugins by separately on each site.**
|
@@ -67,10 +66,12 @@ Thanks for use this plugin!
|
|
67 |
* [Arild](https://github.com/arildm)
|
68 |
* [Rafa Aguilar](https://github.com/rafitaFCB)
|
69 |
* [Bastian Heist](https://github.com/beheist)
|
|
|
70 |
|
71 |
|
72 |
== Installation ==
|
73 |
-
**This plugins requires [Qtranslate](http://wordpress.org/extend/plugins/qtranslate/) or [mqTranslate](https://wordpress.org/plugins/mqtranslate/)
|
|
|
74 |
|
75 |
1. Upload `qtranslate-slug` to the `/wp-content/plugins/` directory.
|
76 |
1. Activate the plugin through the 'Plugins' menu in WordPress.
|
@@ -120,6 +121,32 @@ You can use `qts_get_url()` or the awkwardly named `qTranslateSlug_getSelfUrl()`
|
|
120 |
|
121 |
== Changelog ==
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
= New in Version 1.1.9 =
|
124 |
|
125 |
Lots of bug fixes! Thanks again to everyone that contributed to this project, with commits, bug reports and suggestions.
|
4 |
Tags: qtranslate, slug, multilanguage, widget
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 1.1.13
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
19 |
= Requirements: =
|
20 |
|
21 |
* Wordpress 3.3 (PHP 5.4 and MySQL 5)
|
22 |
+
* mQtranslate 2.6.2.4 or Qtranslate 2.5.8 or qtranslate-x ( 2.9.1 )
|
23 |
|
|
|
24 |
|
25 |
+
= New in 1.1.13 =
|
|
|
26 |
|
27 |
+
Thanks to returning @pedro-mendonca for these commits:
|
28 |
|
29 |
+
* Cleaned duplicated label in widget
|
30 |
+
* Bug fix in "Slug (%s)" string translation
|
31 |
+
* Changed text strings with no text-domain and with text-domain 'qtranlate' to text-domain 'qts'
|
32 |
+
* pot catalog updated with current strings, including last found is "More information about".
|
33 |
|
34 |
+
Thanks to @johnclause for these :
|
35 |
|
36 |
+
* Convenience links in notice_dependences
|
37 |
+
* Menu compatibility with qTranslate-X
|
38 |
+
* Fixed extra characters in widget
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
+
Thanks to vbkun for casting the much wanted function to get a slug based on an id and language
|
41 |
|
42 |
+
* Added a global qts_get_slug( $id, $lang)
|
43 |
|
44 |
+
and sadly:
|
45 |
+
|
46 |
+
* removed the menu admin box until better implementation
|
47 |
+
|
48 |
+
|
49 |
+
See you next Version!
|
50 |
|
51 |
|
52 |
**Advice: If you're using a multisite installation, you will must activate qtranslate plugins by separately on each site.**
|
66 |
* [Arild](https://github.com/arildm)
|
67 |
* [Rafa Aguilar](https://github.com/rafitaFCB)
|
68 |
* [Bastian Heist](https://github.com/beheist)
|
69 |
+
* [John Clause](https://github.com/johnclause)
|
70 |
|
71 |
|
72 |
== Installation ==
|
73 |
+
**This plugins requires [Qtranslate](http://wordpress.org/extend/plugins/qtranslate/) or [mqTranslate](https://wordpress.org/plugins/mqtranslate/)
|
74 |
+
ir [qtranslate-X](https://wordpress.org/plugins/qtranslate-x/) installed previously, if not, it will not activate.**
|
75 |
|
76 |
1. Upload `qtranslate-slug` to the `/wp-content/plugins/` directory.
|
77 |
1. Activate the plugin through the 'Plugins' menu in WordPress.
|
121 |
|
122 |
== Changelog ==
|
123 |
|
124 |
+
|
125 |
+
= New in Versions 1.1.12 =
|
126 |
+
|
127 |
+
* fixed warnings in settings
|
128 |
+
* replace qtranslate with our own for taxonomies
|
129 |
+
|
130 |
+
= New in Versions 1.1.10 and 1.1.11 =
|
131 |
+
|
132 |
+
* Fixing wrong commit to wp.org
|
133 |
+
* Clean deleted files
|
134 |
+
= New in Version 1.1.9 =
|
135 |
+
|
136 |
+
Lots of bug fixes! Thanks again to everyone that contributed to this project, with commits, bug reports and suggestions.
|
137 |
+
|
138 |
+
* Compatibility with qtranslate-X! ( thanks @beheist, pull #85, fixing most of #80 )
|
139 |
+
* More updates to the portuguese translation ( thanks pedro-mendonca, pull #86)
|
140 |
+
* Corrected the link to language files ( thanks pedro-mendonca )
|
141 |
+
* Added translation for some hardcoded texts ( thanks pedro-mendonca )
|
142 |
+
* Corrected a link from 'qtranslate' to 'qts' language files ( thanks pedro-mendonca )
|
143 |
+
* Fixed taxonomies slugs ( thanks to [eirikv's bug report](https://wordpress.org/support/topic/categories-slug-dont-work) )
|
144 |
+
* Fixed many warnings ( thanks piffpaffpuff, issue #78 and to [pedrodu1](https://wordpress.org/support/topic/warnings-qtranslate-slugphp) )
|
145 |
+
* Changed the behaviour of "Quick Edit", from the wp forums [1](https://wordpress.org/support/topic/categories-tags-and-quick-edit-dont-show-in-admin) [2](https://wordpress.org/support/topic/quick-edit-inhibited-by-qtranslate-slug-with-wp-41-mqtranslate) ( thanks everyone!! )
|
146 |
+
* Fixed the menus! Now you can properly use one menu for every language. Use the dropdown section "Languages", and for each item, change the "Navigation Label" and "Title Attribute". Select "All languages", to make sure everything is awesome! All these features were a consequence of fixing all the warnings based on [Gery's bug report](https://wordpress.org/support/topic/qtranslate-slug-conflicting-with-ubermenu).
|
147 |
+
* Minor fixes, etc.
|
148 |
+
|
149 |
+
|
150 |
= New in Version 1.1.9 =
|
151 |
|
152 |
Lots of bug fixes! Thanks again to everyone that contributed to this project, with commits, bug reports and suggestions.
|
version.txt
CHANGED
@@ -1,3 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
= 1.1.12 =
|
2 |
|
3 |
* fixed warnings in settings
|
1 |
+
|
2 |
+
= 1.1.13 =
|
3 |
+
== Thanks to returning @pedro-mendonca for these commits: ==
|
4 |
+
* Cleaned duplicated label in widget
|
5 |
+
* Bug fix in "Slug (%s)" string translation
|
6 |
+
* Changed text strings with no text-domain and with text-domain 'qtranlate' to text-domain 'qts'
|
7 |
+
* pot catalog updated with current strings, including last found is "More information about".
|
8 |
+
== Thanks to @johnclause for these : ==
|
9 |
+
* Convenience links in notice_dependences
|
10 |
+
* Menu compatibility with qTranslate-X
|
11 |
+
* Fixed extra characters in widget
|
12 |
+
== Thanks to vbkun for casting this much wanted function ==
|
13 |
+
* Added a global qts_get_slug( $id, $lang)
|
14 |
+
== and sadly: ==
|
15 |
+
* removed the menu admin box until better implementation
|
16 |
+
|
17 |
= 1.1.12 =
|
18 |
|
19 |
* fixed warnings in settings
|