Commit 19ee8125 authored by numeroteca's avatar numeroteca

traduce cadenas de texto a ES

parent c493ef7c
......@@ -13,6 +13,8 @@ $tit = get_the_title();
$place = get_post_meta( $post_id, $prefixact.'place', true );
$time = get_post_meta( $post_id, $prefixact.'time', true );
$dateinit = get_post_meta( $post_id, $prefixact.'date-init', true );
$date = DateTime::createFromFormat('m/d/Y', $dateinit);
$dateinit2 = get_post_meta( $post_id, $prefixact.'date-init2', true );
$dateend = get_post_meta( $post_id, $prefixact.'date-end', true );
$organizer = get_post_meta( $post_id, $prefixact.'organizador', true );
$numero_asistentes = get_post_meta( $post_id, $prefixact.'numero-asistentes', true );
......@@ -58,10 +60,10 @@ $the_content = get_the_content();
<div class="entry-content clearfix">
<?php
echo "<p><strong>"._e('Activity data','colormag-child')."</strong><br>";
if ( $tit!= '' ) echo __('What','colormag').": ".$tit."<br>";
if ( $place != '' ) echo __('Place','colormagchild').": ". $place."<br>";
if ( $tit!= '' ) echo __('What','colormag-child').": ".$tit."<br>";
if ( $place != '' ) echo __('Place','colormag-child').": ". $place."<br>";
if ( $time != '' ) echo __('Hour','colormag-child').": ".$time."<br>";
if ( $dateinit != '' ) echo __('Start date','colormag-child').": ".date( 'd/M/Y', $dateinit )."<br>";
if ( $dateinit != '' ) echo __('Start date','colormag-child').": ". date_format($date, 'D, d/m/Y'). "<br>";
if ( $dateend!= '') echo __('End date','colormag-child').": ".date( 'd/M/Y', $dateend )."<br>";
echo __('Type','colormag-child').": ". get_the_term_list( $post->ID, 'tipo-actividad', ' ', ', ', '' )."<br>";
echo __('Organized by','colormag-child').": ". $organizer."<br>";
......
......@@ -107,11 +107,11 @@ $logo2 = get_post_meta( $post_id, 'logo', true ); // gets all the info about the
if ( "colectivo" == $entity_type_simple ) { //tipo de entidad colectiva
echo '<h2 style="clear: left;">'. __('Personas en Wikitoki que pertenecen a ','colormag-child') . $tit .'</h2>';
echo '<h2 style="clear: left;">'. __('People in Wikitoki that belong to','colormag-child') . ' '. $tit .'</h2>';
} else { //tipo de entidad individual "individual" == $entity_type
echo '<h2 style="clear: left;">'. __('Organizaciones a las que pertenece ','colormag-child') . $tit .'</h2>';
echo '<h2 style="clear: left;">'. __('Organizacions this person belongs to','colormag-child') . ' '. $tit .'</h2>';
}
......@@ -254,7 +254,7 @@ $logo2 = get_post_meta( $post_id, 'logo', true ); // gets all the info about the
<h2>
<?php
//Lists posts in feed from users website
_e( 'Posts de', 'wikitoki' ); ?> <?php echo $tit; ?> <?php _e( 'en su blog', 'wikitoki' );
_e( 'Posts by', 'colormag-child' ); ?> <?php echo $tit; ?> <?php _e( 'in his/her blog', 'colormag-child' );
?>
</h2>
......
......@@ -25,7 +25,7 @@ if( has_term( "residencia", 'tp-pr') ) {
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<a href="/<?php echo $parent_page; ?>">
<?php
if ($parent_page == "proyectos") { _e("Proyectos","colormag-child"); } else { _e("Residencias","colormag-child"); }
if ($parent_page == "proyectos") { _e("Projects","colormag-child"); } else { _e("Residencies","colormag-child"); }
?>
</a> > <?php echo $tit; ?> | <?php echo __('Year','colormag-child').": ". get_the_term_list( $post->ID, 'yr', ' ', '| ', '' ); ?> | <?php echo get_the_term_list( $post->ID, 'tp-pr', ' ', ', ', '' ); ?> | Autoría: <?php echo $autoria."<br>"; ?>
<?php do_action( 'colormag_before_post_content' ); ?>
......
No preview for this file type
......@@ -2,14 +2,14 @@ msgid ""
msgstr ""
"Project-Id-Version: wikitoki\n"
"POT-Creation-Date: 2015-02-18 23:24+0100\n"
"PO-Revision-Date: 2015-02-19 12:13+0100\n"
"PO-Revision-Date: 2019-12-16 15:54+0100\n"
"Last-Translator: pablo <pablo@basurama.org>\n"
"Language-Team: wikitoki <info@wikitoki.org>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n"
"X-Generator: Poedit 2.2.4\n"
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
"X-Poedit-Basepath: .\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
......@@ -332,7 +332,7 @@ msgstr "Información extendida"
#: /home/pablo/sites/montera34/wp-content/themes/spacious-child/content-single-actividad.php:48
msgid "Links con información relacionada"
msgstr ""
msgstr "Enlaces con información relacionada"
#: /home/pablo/sites/montera34/wp-content/themes/spacious-child/content-single-actividad.php:59
msgid "Relationship with the neighborhood"
......@@ -718,7 +718,34 @@ msgstr ""
#: /home/pablo/sites/montera34/wp-content/themes/spacious-child/lib/metabox/helpers/cmb_Meta_Box_types.php:706
#: /home/pablo/sites/montera34/wp-content/themes/spacious-child/lib/metabox/helpers/cmb_Meta_Box_types.php:768
msgid "Download"
msgstr ""
msgstr "Descarga"
msgid "Posts by"
msgstr "Posts de"
msgid "in his/her blog"
msgstr "en su blog"
msgid "Organizations this person belongs to"
msgstr "Organizaciones a las que pertenece"
msgid "People in Wikitoki that belong to"
msgstr "Personas en Wikitoki que pertenecen a"
msgid "Active residency"
msgstr "Residencias activas"
msgid "Active projects"
msgstr "Proyectos activos"
msgid "Residency Archive"
msgstr "Archivo de residencias"
msgid "Associated projects"
msgstr "Proyectos asociados"
msgid "Archived projects"
msgstr "Proyectos archivados"
#~ msgid "Activities spacious"
#~ msgstr "Archivo de actividades pacious"
......
......@@ -42,14 +42,18 @@ get_header(); ?>
<?php global $post_i; $post_i = 1; ?>
<!-- loop listado simple -->Nota interna: Listado resumido (para copiar y pegar):
<?php if ($my_query->have_posts() ) : while ( $my_query->have_posts() ) : $my_query->the_post(); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>">
<?php the_title(); ?></a>,
<?php if ( is_user_logged_in() ) { ?>
<!-- loop listado simple -->Listado resumido (para copiar y pegar) (solamente visible si haces login):
<?php if ($my_query->have_posts() ) : while ( $my_query->have_posts() ) : $my_query->the_post(); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>">
<?php the_title(); ?></a>,
<?php endwhile; endif; ?>
<?php endwhile; endif; ?>
<?php } ?>
<!-- loop listado con imagen y txt -->
<div class="quienes">
......@@ -60,11 +64,10 @@ get_header(); ?>
<?php endwhile; endif; ?>
</div>
<!------ old way to loop through WP users TODO: remove
<hr class="separator separator--section" style="clear:both;">
<h2>Antigua manera de almacenar los usuarios para el quienes</h2>
<!------ old way to loop through WP users ---->
---->
<table class="" id="wpg-list">
<thead>
<tr>
......
......@@ -103,14 +103,14 @@ get_header(); ?>
if ( is_page( 'Residencias' ) || is_page( 'Egonaldiak' ) ) { // if page is Residencias
?>
<h2 id="activos" class="subsection"><span><?php echo _e("Residencias activas","colormag-child"); ?></span></h2>
<h2 id="activos" class="subsection"><span><?php echo _e("Active residency","colormag-child"); ?></span></h2>
<?php
} else { // if page is Proyectos
?>
<h2 id="activos" class="subsection"><span><?php echo _e("Proyectos activos","colormag-child"); ?></span></h2>
<h2 id="activos" class="subsection"><span><?php echo _e("Active projects","colormag-child"); ?></span></h2>
<?php
}
......@@ -154,7 +154,7 @@ get_header(); ?>
?>
<h2 id="archivo" class="subsection"><span><?php echo _e("Archivo de residencias","colormag-child"); ?></span></h2>
<h2 id="archivo" class="subsection"><span><?php echo _e("Residency Archive","colormag-child"); ?></span></h2>
<div class="widget widget_featured_posts widget_featured_posts_vertical widget_featured_meta clearfix">
......@@ -206,7 +206,7 @@ get_header(); ?>
?>
<h2 id="asociados" class="subsection"><span><?php echo _e("Proyectos asociados","colormag-child"); ?></span></h2>
<h2 id="asociados" class="subsection"><span><?php echo _e("Associated projects","colormag-child"); ?></span></h2>
<div class="list_duo">
......@@ -218,7 +218,7 @@ get_header(); ?>
</div>
<h2 id="archivados" class="subsection"><span><?php echo _e("Proyectos archivados","colormag-child"); ?></span></h2>
<h2 id="archivados" class="subsection"><span><?php echo _e("Archived projects","colormag-child"); ?></span></h2>
<div class="widget widget_featured_posts widget_featured_posts_vertical widget_featured_meta clearfix">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment