[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: messenger/inc class.bomessenger.inc.php,1.2,1.2
From: |
Guillaume Courtois <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: messenger/inc class.bomessenger.inc.php,1.2,1.2.2.1 hook_after_navbar.inc.php,1.4,1.4.2.1hook_mypage.inc.php,1.3,1.3.2.1 |
Date: |
Thu, 06 Feb 2003 17:15:08 -0500 |
Update of /cvsroot/phpgroupware/messenger/inc
In directory subversions:/tmp/cvs-serv24078/messenger/inc
Modified Files:
Tag: Version-0_9_14-branch
class.bomessenger.inc.php hook_after_navbar.inc.php
hook_mypage.inc.php
Log Message:
Replaced %1, %2, etc ... variables by x, x, etc ... in phrases put in lang()
calls
This way, all the phrases have this syntax !
Index: class.bomessenger.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/messenger/inc/class.bomessenger.inc.php,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -r1.2 -r1.2.2.1
*** class.bomessenger.inc.php 23 Sep 2001 12:01:23 -0000 1.2
--- class.bomessenger.inc.php 6 Feb 2003 22:15:06 -0000 1.2.2.1
***************
*** 93,97 ****
if ($message['to'])
{
! $errors[] = lang("I can't find the
username %1 on the system",$message['to']);
}
else
--- 93,97 ----
if ($message['to'])
{
! $errors[] = lang("I can't find the
username x on the system",$message['to']);
}
else
Index: hook_after_navbar.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/messenger/inc/hook_after_navbar.inc.php,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -C2 -r1.4 -r1.4.2.1
*** hook_after_navbar.inc.php 22 Sep 2001 02:22:54 -0000 1.4
--- hook_after_navbar.inc.php 6 Feb 2003 22:15:06 -0000 1.4.2.1
***************
*** 25,29 ****
{
echo '<center><a href="' .
$GLOBALS['phpgw']->link('/index.php','menuaction=messenger.uimessenger.inbox')
! . '">' . lang('You have %1 new message' .
($GLOBALS['phpgw']->db->f(0)>1?'s':''),$GLOBALS['phpgw']->db->f(0)) . '</a>'
. '</center>';
}
--- 25,29 ----
{
echo '<center><a href="' .
$GLOBALS['phpgw']->link('/index.php','menuaction=messenger.uimessenger.inbox')
! . '">' . lang('You have x new message' .
($GLOBALS['phpgw']->db->f(0)>1?'s':''),$GLOBALS['phpgw']->db->f(0)) . '</a>'
. '</center>';
}
Index: hook_mypage.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/messenger/inc/hook_mypage.inc.php,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -C2 -r1.3 -r1.3.2.1
*** hook_mypage.inc.php 5 Dec 2001 17:12:50 -0000 1.3
--- hook_mypage.inc.php 6 Feb 2003 22:15:06 -0000 1.3.2.1
***************
*** 26,30 ****
if ($GLOBALS['phpgw']->db->f(0))
{
! $hooks_string['messenger'] = '<p><b><font
size="-1">Messenger</font></b><ul><font size="-1"><li>' . lang('You have %1 new
message' . ($GLOBALS['phpgw']->db->f(0)>1?'s':'') . ' in your
inbox!',$GLOBALS['phpgw']->db->f(0))
. '<br>[<a href="' .
$GLOBALS['phpgw']->link('/index.php','menuaction=messenger.uimessenger.inbox')
. '">View Messages</a> | <a href="' .
$GLOBALS['phpgw']->link('/index.php','menuaction=messenger.uimessenger.compose')
--- 26,30 ----
if ($GLOBALS['phpgw']->db->f(0))
{
! $hooks_string['messenger'] = '<p><b><font
size="-1">Messenger</font></b><ul><font size="-1"><li>' . lang('You have x new
message' . ($GLOBALS['phpgw']->db->f(0)>1?'s':'') . ' in your
inbox!',$GLOBALS['phpgw']->db->f(0))
. '<br>[<a href="' .
$GLOBALS['phpgw']->link('/index.php','menuaction=messenger.uimessenger.inbox')
. '">View Messages</a> | <a href="' .
$GLOBALS['phpgw']->link('/index.php','menuaction=messenger.uimessenger.compose')
***************
*** 38,40 ****
. '">Send a Message</a>]</font></ul>';
}
! }
\ No newline at end of file
--- 38,40 ----
. '">Send a Message</a>]</font></ul>';
}
! }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: messenger/inc class.bomessenger.inc.php,1.2,1.2.2.1 hook_after_navbar.inc.php,1.4,1.4.2.1hook_mypage.inc.php,1.3,1.3.2.1,
Guillaume Courtois <address@hidden> <=