Commit aafb7e2d authored by jcnventura's avatar jcnventura

Fix #408238 by chris.cohen: improve PHP in the default print template

Updated Italian translation by fabrizioprocopio
Updated French translation by xmacinfo
parent f03e3602
......@@ -7,32 +7,33 @@
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $print['language'] ?>" xml:lang="<?php print $print['language'] ?>">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $print['language']; ?>" xml:lang="<?php print $print['language']; ?>">
<head>
<title><?php print $print['title'] ?></title>
<?php print $print['head'] ?>
<?php print $print['scripts'] ?>
<?php print $print['robots_meta'] ?>
<?php print $print['base_href'] ?>
<?php print $print['favicon'] ?>
<?php print $print['css'] ?>
<title><?php print $print['title']; ?></title>
<?php print $print['head']; ?>
<?php print $print['scripts']; ?>
<?php print $print['robots_meta']; ?>
<?php print $print['base_href']; ?>
<?php print $print['favicon']; ?>
<?php print $print['css']; ?>
</head>
<body<?php print $print['sendtoprinter'] ?>>
<?php if (!empty($print['message'])) print '<div class="print-message">'. $print['message'] .'</div><p />' ?>
<div class="print-logo"><?php print $print['logo'] ?></div>
<div class="print-site_name"><?php print $print['site_name'] ?></div>
<p />
<div class="print-breadcrumb"><?php print $print['breadcrumb'] ?></div>
<body<?php print $print['sendtoprinter']; ?>>
<?php if (!empty($print['message'])) {
print '<div class="print-message">'. $print['message'] .'</div><br />';
} ?>
<div class="print-logo"><?php print $print['logo']; ?></div>
<div class="print-site_name"><?php print $print['site_name']; ?></div>
<br />
<div class="print-breadcrumb"><?php print $print['breadcrumb']; ?></div>
<hr class="print-hr" />
<h1 class="print-title"><?php print $print['title'] ?></h1>
<div class="print-submitted"><?php print $print['submitted'] ?></div>
<div class="print-created"><?php print $print['created'] ?></div>
<p />
<div class="print-content"><?php print $print['content'] ?></div>
<div class="print-taxonomy"><?php print $print['taxonomy'] ?></div>
<div class="print-footer"><?php print $print['footer_message'] ?></div>
<h1 class="print-title"><?php print $print['title']; ?></h1>
<div class="print-submitted"><?php print $print['submitted']; ?></div>
<div class="print-created"><?php print $print['created']; ?></div>
<div class="print-content"><?php print $print['content']; ?></div>
<div class="print-taxonomy"><?php print $print['taxonomy']; ?></div>
<div class="print-footer"><?php print $print['footer_message']; ?></div>
<hr class="print-hr" />
<div class="print-source_url"><?php print $print['source_url'] ?></div>
<div class="print-links"><?php print $print['pfp_links'] ?></div>
<div class="print-source_url"><?php print $print['source_url']; ?></div>
<div class="print-links"><?php print $print['pfp_links']; ?></div>
</body>
</html>
......@@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"POT-Creation-Date: 2009-02-05 00:27+0100\n"
"PO-Revision-Date: 2009-02-05 00:43+0100\n"
"POT-Creation-Date: 2009-03-18 22:29+0100\n"
"PO-Revision-Date: 2009-03-24 00:13+0100\n"
"Last-Translator: Joao Ventura <jcnventura@drupal.org>\n"
"Language-Team: Catala\n"
"MIME-Version: 1.0\n"
......@@ -355,7 +355,7 @@ msgid "Saving these strings will disable their translation via Drupal's language
msgstr ""
#: print.admin.inc:324;365
#: print.module:102;125
#: print.module:103;126
#: print_mail/print_mail.admin.inc:153
#: print_mail/print_mail.module:70
#: print_pdf/print_pdf.admin.inc:270
......@@ -399,7 +399,7 @@ msgid "Link text"
msgstr ""
#: print.admin.inc:371
#: print.module:336;515
#: print.module:340;531
msgid "Printer-friendly version"
msgstr "Versió per a imprimir"
......@@ -415,80 +415,84 @@ msgstr "Anònim"
msgid "Post new comment"
msgstr ""
#: print.module:143;329;84
#: print.module:144;332;376;85
#: print.info:0
#: print_mail/print_mail.info:0
#: print_pdf/print_pdf.info:0
msgid "Printer, e-mail and PDF versions"
msgstr ""
#: print.module:144;173
#: print.module:145;174
msgid "Most printed"
msgstr ""
#: print.module:341
#: print_mail/print_mail.module:232
#: print_pdf/print_pdf.module:278
#: print.module:345
#: print_mail/print_mail.module:234
#: print_pdf/print_pdf.module:280
msgid "Show link"
msgstr ""
#: print.module:345
#: print_mail/print_mail.module:236
#: print_pdf/print_pdf.module:282
#: print.module:349
#: print_mail/print_mail.module:238
#: print_pdf/print_pdf.module:284
msgid "Show link in individual comments"
msgstr ""
#: print.module:349
#: print_mail/print_mail.module:240
#: print_pdf/print_pdf.module:286
#: print.module:353
#: print_mail/print_mail.module:242
#: print_pdf/print_pdf.module:288
#, fuzzy
msgid "Show Printer-friendly URLs list"
msgstr "Mostra llista d'URLs per a vista per impressió"
#: print.module:362
#: print.module:366
msgid "The settings below only apply in case the corresponding type-specific setting is also enabled (except for the \"Show link in individual comments\")."
msgstr ""
#: print.module:518
#: print.module:377
msgid "Print module form."
msgstr ""
#: print.module:534
msgid "Display a printer-friendly version of this page."
msgstr "Visualitzar versió per a imprimir d'aquesta pàgina."
#: print.module:56
#: print.module:57
msgid "access print"
msgstr ""
#: print.module:56
#: print.module:57
msgid "administer print"
msgstr ""
#: print.module:56
#: print.module:57
msgid "node-specific print configuration"
msgstr ""
#: print.module:56
#: print.module:57
msgid "use PHP for link visibility"
msgstr ""
#: print.module:77
#: print.module:78
msgid "Printer-friendly"
msgstr "Versió per a imprimir"
#: print.module:85
#: print.module:86
#: print.info:0
msgid "Adds a printer-friendly version link to content and administrative pages."
msgstr ""
#: print.module:92
#: print.module:93
msgid "Web page"
msgstr ""
#: print.module:97;120
#: print.module:98;121
#: print_mail/print_mail.module:65
#: print_pdf/print_pdf.module:88
msgid "Options"
msgstr ""
#: print.module:111
#: print.module:112
msgid "Settings"
msgstr ""
......@@ -538,7 +542,7 @@ msgid "The maximum number of e-mails a user can send per hour."
msgstr ""
#: print_mail/print_mail.admin.inc:128
#: print_mail/print_mail.inc:89
#: print_mail/print_mail.inc:95
msgid "Send only the teaser"
msgstr ""
......@@ -555,7 +559,7 @@ msgid "If checked, the user will be able to choose between sending the full cont
msgstr ""
#: print_mail/print_mail.admin.inc:159
#: print_mail/print_mail.module:311
#: print_mail/print_mail.module:313
msgid "Send to friend"
msgstr ""
......@@ -568,12 +572,12 @@ msgid "Message Subject"
msgstr ""
#: print_mail/print_mail.admin.inc:166
#: print_mail/print_mail.inc:123
#: print_mail/print_mail.inc:129
msgid "!user has sent you a message from !site"
msgstr ""
#: print_mail/print_mail.admin.inc:167
msgid "e-mail subject line. The sender's name will appear in place of !user in the subject. The web site name will be inserted in place of !site."
msgid "e-mail subject line. The sender's name will appear in place of !user in the subject. The web site name will be inserted in place of !site. The page title replaces !title."
msgstr ""
#: print_mail/print_mail.admin.inc:171
......@@ -581,7 +585,7 @@ msgid "Message Preamble"
msgstr ""
#: print_mail/print_mail.admin.inc:172
#: print_mail/print_mail.inc:229
#: print_mail/print_mail.inc:245
msgid "Message from sender"
msgstr ""
......@@ -602,7 +606,7 @@ msgid "Thank You Message"
msgstr ""
#: print_mail/print_mail.admin.inc:184
#: print_mail/print_mail.inc:253
#: print_mail/print_mail.inc:276
msgid "Thank you for spreading the word about !site."
msgstr ""
......@@ -614,68 +618,80 @@ msgstr ""
msgid "You cannot send more than %number messages per hour. Please try again later."
msgstr ""
#: print_mail/print_mail.inc:60
#: print_mail/print_mail.inc:61
msgid "Your e-mail"
msgstr ""
#: print_mail/print_mail.inc:65
#: print_mail/print_mail.inc:66
msgid "Your name"
msgstr ""
#: print_mail/print_mail.inc:70
#: print_mail/print_mail.inc:71
msgid "Send to"
msgstr ""
#: print_mail/print_mail.inc:73
#: print_mail/print_mail.inc:74
msgid "Enter multiple addresses separated by commas and/or different lines."
msgstr ""
#: print_mail/print_mail.inc:77
#: print_mail/print_mail.inc:78
msgid "Subject"
msgstr ""
#: print_mail/print_mail.inc:82
#: print_mail/print_mail.inc:83
msgid "Page to be sent"
msgstr ""
#: print_mail/print_mail.inc:84
msgid "View page"
msgstr ""
#: print_mail/print_mail.inc:88
msgid "Your message"
msgstr ""
#: print_mail/print_mail.inc:100
#: print_mail/print_mail.inc:106
msgid "Send e-mail"
msgstr ""
#: print_mail/print_mail.inc:104
#: print_mail/print_mail.inc:110
msgid "Clear form"
msgstr ""
#: print_mail/print_mail.inc:109
#: print_mail/print_mail.inc:115
msgid "Cancel"
msgstr ""
#: print_mail/print_mail.inc:120
#: print_mail/print_mail.inc:126
msgid "Someone"
msgstr ""
#: print_mail/print_mail.inc:122
#: print_mail/print_mail.inc:128
msgid "an interesting site"
msgstr ""
#: print_mail/print_mail.inc:199
#: print_mail/print_mail.inc:203
msgid "You cannot send more than %number messages per hour. Please reduce the number of recipients."
msgstr ""
#: print_mail/print_mail.inc:215
msgid "You must enter a subject."
msgstr ""
#: print_mail/print_mail.inc:203
#: print_mail/print_mail.inc:219
msgid "You must enter a message."
msgstr ""
#: print_mail/print_mail.inc:252
#: print_mail/print_mail.inc:275
msgid "us"
msgstr ""
#: print_mail/print_mail.inc:251
#: print_mail/print_mail.inc:274
#: print_mail/print_mail.module:0
msgid "print_mail"
msgstr ""
#: print_mail/print_mail.inc:251
#: print_mail/print_mail.inc:274
msgid "%name [%from] sent %page to [%to]"
msgstr ""
......@@ -683,12 +699,12 @@ msgstr ""
msgid "Most emailed"
msgstr ""
#: print_mail/print_mail.module:227
#: print_mail/print_mail.module:229
#: print_mail/print_mail.info:0
msgid "Send by e-mail"
msgstr ""
#: print_mail/print_mail.module:314
#: print_mail/print_mail.module:316
msgid "Send this page by e-mail."
msgstr ""
......@@ -818,7 +834,7 @@ msgid "Font size must be at least 1."
msgstr ""
#: (duplicate) print_pdf/print_pdf.admin.inc:276
#: print_pdf/print_pdf.module:273;358;149
#: print_pdf/print_pdf.module:275;360;149
#: print_pdf/print_pdf.info:0
msgid "PDF version"
msgstr ""
......@@ -827,7 +843,7 @@ msgstr ""
msgid "Text used in the link to the PDF version."
msgstr ""
#: print_pdf/print_pdf.pages.inc:380
#: print_pdf/print_pdf.pages.inc:396
msgid "Page !n of !total"
msgstr ""
......@@ -835,7 +851,7 @@ msgstr ""
msgid "Most PDFd"
msgstr ""
#: print_pdf/print_pdf.module:361
#: print_pdf/print_pdf.module:363
msgid "Display a PDF version of this page."
msgstr "Visualitzar versió PDF d'aquesta pàgina."
......
......@@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"POT-Creation-Date: 2009-02-05 00:27+0100\n"
"PO-Revision-Date: 2009-02-05 00:35+0100\n"
"POT-Creation-Date: 2009-03-18 22:29+0100\n"
"PO-Revision-Date: 2009-03-24 00:10+0100\n"
"Last-Translator: Joao Ventura <jcnventura@drupal.org>\n"
"Language-Team: Czech <cs@li.org>\n"
"MIME-Version: 1.0\n"
......@@ -355,7 +355,7 @@ msgid "Saving these strings will disable their translation via Drupal's language
msgstr ""
#: print.admin.inc:324;365
#: print.module:102;125
#: print.module:103;126
#: print_mail/print_mail.admin.inc:153
#: print_mail/print_mail.module:70
#: print_pdf/print_pdf.admin.inc:270
......@@ -399,7 +399,7 @@ msgid "Link text"
msgstr ""
#: print.admin.inc:371
#: print.module:336;515
#: print.module:340;531
msgid "Printer-friendly version"
msgstr "Verze pro tisk"
......@@ -415,79 +415,83 @@ msgstr ""
msgid "Post new comment"
msgstr ""
#: print.module:143;329;84
#: print.module:144;332;376;85
#: print.info:0
#: print_mail/print_mail.info:0
#: print_pdf/print_pdf.info:0
msgid "Printer, e-mail and PDF versions"
msgstr ""
#: print.module:144;173
#: print.module:145;174
msgid "Most printed"
msgstr ""
#: print.module:341
#: print_mail/print_mail.module:232
#: print_pdf/print_pdf.module:278
#: print.module:345
#: print_mail/print_mail.module:234
#: print_pdf/print_pdf.module:280
msgid "Show link"
msgstr ""
#: print.module:345
#: print_mail/print_mail.module:236
#: print_pdf/print_pdf.module:282
#: print.module:349
#: print_mail/print_mail.module:238
#: print_pdf/print_pdf.module:284
msgid "Show link in individual comments"
msgstr ""
#: print.module:349
#: print_mail/print_mail.module:240
#: print_pdf/print_pdf.module:286
#: print.module:353
#: print_mail/print_mail.module:242
#: print_pdf/print_pdf.module:288
msgid "Show Printer-friendly URLs list"
msgstr ""
#: print.module:362
#: print.module:366
msgid "The settings below only apply in case the corresponding type-specific setting is also enabled (except for the \"Show link in individual comments\")."
msgstr ""
#: print.module:518
#: print.module:377
msgid "Print module form."
msgstr ""
#: print.module:534
msgid "Display a printer-friendly version of this page."
msgstr "Zobrazit tiskovou verzi stránky."
#: print.module:56
#: print.module:57
msgid "access print"
msgstr ""
#: print.module:56
#: print.module:57
msgid "administer print"
msgstr ""
#: print.module:56
#: print.module:57
msgid "node-specific print configuration"
msgstr ""
#: print.module:56
#: print.module:57
msgid "use PHP for link visibility"
msgstr ""
#: print.module:77
#: print.module:78
msgid "Printer-friendly"
msgstr "Verze pro tisk"
#: print.module:85
#: print.module:86
#: print.info:0
msgid "Adds a printer-friendly version link to content and administrative pages."
msgstr ""
#: print.module:92
#: print.module:93
msgid "Web page"
msgstr ""
#: print.module:97;120
#: print.module:98;121
#: print_mail/print_mail.module:65
#: print_pdf/print_pdf.module:88
msgid "Options"
msgstr ""
#: print.module:111
#: print.module:112
msgid "Settings"
msgstr ""
......@@ -537,7 +541,7 @@ msgid "The maximum number of e-mails a user can send per hour."
msgstr ""
#: print_mail/print_mail.admin.inc:128
#: print_mail/print_mail.inc:89
#: print_mail/print_mail.inc:95
msgid "Send only the teaser"
msgstr ""
......@@ -554,7 +558,7 @@ msgid "If checked, the user will be able to choose between sending the full cont
msgstr ""
#: print_mail/print_mail.admin.inc:159
#: print_mail/print_mail.module:311
#: print_mail/print_mail.module:313
msgid "Send to friend"
msgstr ""
......@@ -567,12 +571,12 @@ msgid "Message Subject"
msgstr ""
#: print_mail/print_mail.admin.inc:166
#: print_mail/print_mail.inc:123
#: print_mail/print_mail.inc:129
msgid "!user has sent you a message from !site"
msgstr ""
#: print_mail/print_mail.admin.inc:167
msgid "e-mail subject line. The sender's name will appear in place of !user in the subject. The web site name will be inserted in place of !site."
msgid "e-mail subject line. The sender's name will appear in place of !user in the subject. The web site name will be inserted in place of !site. The page title replaces !title."
msgstr ""
#: print_mail/print_mail.admin.inc:171
......@@ -580,7 +584,7 @@ msgid "Message Preamble"
msgstr ""
#: print_mail/print_mail.admin.inc:172
#: print_mail/print_mail.inc:229
#: print_mail/print_mail.inc:245
msgid "Message from sender"
msgstr ""
......@@ -601,7 +605,7 @@ msgid "Thank You Message"
msgstr ""
#: print_mail/print_mail.admin.inc:184
#: print_mail/print_mail.inc:253
#: print_mail/print_mail.inc:276
msgid "Thank you for spreading the word about !site."
msgstr ""
......@@ -613,68 +617,80 @@ msgstr ""
msgid "You cannot send more than %number messages per hour. Please try again later."
msgstr ""
#: print_mail/print_mail.inc:60
#: print_mail/print_mail.inc:61
msgid "Your e-mail"
msgstr ""
#: print_mail/print_mail.inc:65
#: print_mail/print_mail.inc:66
msgid "Your name"
msgstr ""
#: print_mail/print_mail.inc:70
#: print_mail/print_mail.inc:71
msgid "Send to"
msgstr ""
#: print_mail/print_mail.inc:73
#: print_mail/print_mail.inc:74
msgid "Enter multiple addresses separated by commas and/or different lines."
msgstr ""
#: print_mail/print_mail.inc:77
#: print_mail/print_mail.inc:78
msgid "Subject"
msgstr ""
#: print_mail/print_mail.inc:82
#: print_mail/print_mail.inc:83
msgid "Page to be sent"
msgstr ""
#: print_mail/print_mail.inc:84
msgid "View page"
msgstr ""
#: print_mail/print_mail.inc:88
msgid "Your message"
msgstr ""
#: print_mail/print_mail.inc:100
#: print_mail/print_mail.inc:106
msgid "Send e-mail"
msgstr ""
#: print_mail/print_mail.inc:104
#: print_mail/print_mail.inc:110
msgid "Clear form"
msgstr ""
#: print_mail/print_mail.inc:109
#: print_mail/print_mail.inc:115
msgid "Cancel"
msgstr ""
#: print_mail/print_mail.inc:120
#: print_mail/print_mail.inc:126
msgid "Someone"
msgstr ""
#: print_mail/print_mail.inc:122
#: print_mail/print_mail.inc:128
msgid "an interesting site"
msgstr ""
#: print_mail/print_mail.inc:199
#: print_mail/print_mail.inc:203
msgid "You cannot send more than %number messages per hour. Please reduce the number of recipients."
msgstr ""
#: print_mail/print_mail.inc:215
msgid "You must enter a subject."
msgstr ""
#: print_mail/print_mail.inc:203
#: print_mail/print_mail.inc:219
msgid "You must enter a message."
msgstr ""
#: print_mail/print_mail.inc:252
#: print_mail/print_mail.inc:275
msgid "us"
msgstr ""
#: print_mail/print_mail.inc:251
#: print_mail/print_mail.inc:274
#: print_mail/print_mail.module:0
msgid "print_mail"
msgstr ""
#: print_mail/print_mail.inc:251
#: print_mail/print_mail.inc:274
msgid "%name [%from] sent %page to [%to]"
msgstr ""
......@@ -682,12 +698,12 @@ msgstr ""
msgid "Most emailed"
msgstr ""
#: print_mail/print_mail.module:227
#: print_mail/print_mail.module:229
#: print_mail/print_mail.info:0
msgid "Send by e-mail"
msgstr ""
#: print_mail/print_mail.module:314
#: print_mail/print_mail.module:316
msgid "Send this page by e-mail."
msgstr ""
......@@ -817,7 +833,7 @@ msgid "Font size must be at least 1."
msgstr ""
#: (duplicate) print_pdf/print_pdf.admin.inc:276
#: print_pdf/print_pdf.module:273;358;149
#: print_pdf/print_pdf.module:275;360;149
#: print_pdf/print_pdf.info:0
msgid "PDF version"
msgstr ""
......@@ -826,7 +842,7 @@ msgstr ""
msgid "Text used in the link to the PDF version."
msgstr ""
#: print_pdf/print_pdf.pages.inc:380
#: print_pdf/print_pdf.pages.inc:396
msgid "Page !n of !total"
msgstr ""
......@@ -834,7 +850,7 @@ msgstr ""
msgid "Most PDFd"
msgstr ""
#: print_pdf/print_pdf.module:361
#: print_pdf/print_pdf.module:363
msgid "Display a PDF version of this page."
msgstr ""
......
......@@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: drupalprint\n"
"POT-Creation-Date: 2009-02-05 00:27+0100\n"
"PO-Revision-Date: 2009-02-05 00:39+0100\n"
"POT-Creation-Date: 2009-03-18 22:29+0100\n"
"PO-Revision-Date: 2009-03-24 00:12+0100\n"
"Last-Translator: Joao Ventura <jcnventura@drupal.org>\n"
"Language-Team: Danish <da@li.org>\n"
"MIME-Version: 1.0\n"
......@@ -383,7 +383,7 @@ msgid "Saving these strings will disable their translation via Drupal's language
msgstr ""
#: print.admin.inc:324;365
#: print.module:102;125
#: print.module:103;126
#: print_mail/print_mail.admin.inc:153
#: print_mail/print_mail.module:70
#: print_pdf/print_pdf.admin.inc:270
......@@ -428,7 +428,7 @@ msgid "Link text"
msgstr ""
#: print.admin.inc:371
#: print.module:336;515
#: print.module:340;531
#, fuzzy
msgid "Printer-friendly version"
msgstr "Printer venlig version"
......@@ -446,85 +446,89 @@ msgstr "Anonym"
msgid "Post new comment"
msgstr ""
#: print.module:143;329;84
#: print.module:144;332;376;85