From 4e54d841b21f3e4cd354909a94dd72f0843ff59f Mon Sep 17 00:00:00 2001 From: ulaulaman <34242086+ulaulaman@users.noreply.github.com> Date: Tue, 13 Feb 2018 13:02:31 +0100 Subject: [PATCH] 2018.0213 sistemazione codice per traduzioni --- book-template.php | 48 +++++++++++++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/book-template.php b/book-template.php index f13fb47..71f6a26 100644 --- a/book-template.php +++ b/book-template.php @@ -1,49 +1,56 @@

-

+

Abbiamo parlato di:
'.$title.'
'.$author; + $intro = __( 'Abbiamo parlato di', 'book-template' ); + + $book = '

'.$intro.':
'.$title.'
'.$author; if ( $translator <> null ) - {$book = $book.'
Traduzione di '.$translator;} + {$translator = __( 'Traduzione di ', 'book-template' ).$translator; + $book = $book.'
'.$translator;} else {$book = $book;} + + $pages = $pages.' '.__( 'pagine', 'book-template' ); if ( $col <> null ) {$book = $book.'
'.$publisher.', '.$date.'
'.$pages.' pagine, '.$type.', '.$col.' - '.$price;}