The branch, master has been updated
via d5d329850e266fd87c8c688000b174c06777ec2c (commit)
from 0b8105199689812c137ff2968e17cc7efdf7d3ec (commit)
- Log -----------------------------------------------------------------
commit d5d329850e266fd87c8c688000b174c06777ec2c
Author: Michal Čihař <mcihar(a)novell.com>
Date: Mon Jan 31 15:43:08 2011 +0100
Make strings translatable.
-----------------------------------------------------------------------
Summary of changes:
libraries/engines/pbms.lib.php | 11 ++++++-----
libraries/engines/pbxt.lib.php | 11 ++++++-----
2 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/libraries/engines/pbms.lib.php b/libraries/engines/pbms.lib.php
index 5f9b175..48a1104 100644
--- a/libraries/engines/pbms.lib.php
+++ b/libraries/engines/pbms.lib.php
@@ -90,16 +90,17 @@ class PMA_StorageEngine_pbms extends PMA_StorageEngine
function getPageDocumentation()
{
- $output = '<p> Documentation and further information about PBMS can be
found on ' . "\n"
- . '<a href="' .
PMA_linkURL('http://www.blobstreaming.org/') . '"
target="_blank">The PrimeBase Media Streaming home
page</a>.<br><br>' . "\n"
+ $output = '<p>'
+ . sprintf('Documentation and further information about PBMS can be found on
%sThe PrimeBase Media Streaming home page%s.', '<a href="' .
PMA_linkURL('http://www.blobstreaming.org/') . '"
target="_blank">', '</a>')
+ . '</p>' . "\n"
. '<table id="PBMS_Related_Links" >' . "\n"
. '<tr>' . "\n"
. '<td>' . "\n"
. '<p>' . "\n"
- . '<strong><font size="2"><b>Related
Links</b></font></strong>' . "\n"
+ . '<strong><font size="2"><b>' .
__('Related Links') . '</b></font></strong>' .
"\n"
. '<br>' . "\n"
- . '<a href="' .
PMA_linkURL('http://bpbdev.blogspot.com/') . '"
target="_blank">The PrimeBase Media Streaming Blog by Barry
Leslie</a><br><br>' . "\n"
- . '<a href="' .
PMA_linkURL('http://www.primebase.com/xt') . '"
target="_blank">PrimeBase XT Home Page</a><br><br>' .
"\n"
+ . '<a href="' .
PMA_linkURL('http://bpbdev.blogspot.com/') . '"
target="_blank">' . __('The PrimeBase Media Streaming Blog by Barry
Leslie') . '</a><br><br>' . "\n"
+ . '<a href="' .
PMA_linkURL('http://www.primebase.com/xt') . '"
target="_blank">' . __('PrimeBase XT Home Page') .
'</a><br><br>' . "\n"
. '</font>' . "\n"
. '</td>' . "\n"
. '</tr>' . "\n"
diff --git a/libraries/engines/pbxt.lib.php b/libraries/engines/pbxt.lib.php
index eb0dad3..7f8fc11 100644
--- a/libraries/engines/pbxt.lib.php
+++ b/libraries/engines/pbxt.lib.php
@@ -121,16 +121,17 @@ class PMA_StorageEngine_pbxt extends PMA_StorageEngine
function getPageDocumentation()
{
- $output = '<p> Documentation and further information about PBXT can be
found on the ' . "\n"
- . '<a href="' .
PMA_linkURL('http://www.primebase.com/xt/') . '"
target="_blank">PrimeBase XT Home Page</a>.<br><br>' .
"\n"
+ $output = '<p>'
+ . sprintf('Documentation and further information about PBXT can be found on
the %sPrimeBase XT Home Page%s.', '<a href="' .
PMA_linkURL('http://www.primebase.com/xt/') . '"
target="_blank">', '</a>')
+ . '</p>' . "\n"
. '<table id="PBMS_Related_Links" >' . "\n"
. '<tr>' . "\n"
. '<td>' . "\n"
. '<p>' . "\n"
- . '<strong><font size="2"><b>Related
Links</b></font></strong>' . "\n"
+ . '<strong><font size="2"><b>' .
__('Related Links') . '</b></font></strong>' .
"\n"
. '<br>' . "\n"
- . '<a href="' .
PMA_linkURL('http://pbxt.blogspot.com/')
. '" target="_blank">The PrimeBase XT Blog by Paul
McCullagh</a><br><br>' . "\n"
- . '<a href="' .
PMA_linkURL('http://www.blobstreaming.org/') . '"
target="_blank">The PrimeBase Media Streaming (PBMS) home
page</a>.<br><br>' . "\n"
+ . '<a href="' .
PMA_linkURL('http://pbxt.blogspot.com/')
. '" target="_blank">' . __('The PrimeBase XT Blog by Paul
McCullagh') . '</a><br><br>' . "\n"
+ . '<a href="' .
PMA_linkURL('http://www.blobstreaming.org/') . '"
target="_blank">' . __('The PrimeBase Media Streaming (PBMS) home
page') . '</a>.<br><br>' . "\n"
. '</font>' . "\n"
. '</td>' . "\n"
. '</tr>' . "\n"
hooks/post-receive
--
phpMyAdmin