[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: filemanager index.php,1.30.2.8,1.30.2.9
From: |
Guillaume Courtois <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: filemanager index.php,1.30.2.8,1.30.2.9 |
Date: |
Fri, 28 Feb 2003 18:39:53 -0500 |
Update of /cvsroot/phpgroupware/filemanager
In directory subversions:/tmp/cvs-serv17582/filemanager
Modified Files:
Tag: Version-0_9_14-branch
index.php
Log Message:
Replaced all x's to %'s in lang calls and lang files.
Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/filemanager/index.php,v
retrieving revision 1.30.2.8
retrieving revision 1.30.2.9
diff -C2 -r1.30.2.8 -r1.30.2.9
*** index.php 23 Nov 2002 02:53:33 -0000 1.30.2.8
--- index.php 28 Feb 2003 23:39:48 -0000 1.30.2.9
***************
*** 235,239 ****
)
{
! echo $GLOBALS['phpgw']->common->error_list (array (lang('You do not
have access to x', $path)));
html_break (2);
html_link ($GLOBALS['appname'].'/index.php?path='.$GLOBALS['homedir'],
lang('Go to your home directory'));
--- 235,239 ----
)
{
! echo $GLOBALS['phpgw']->common->error_list (array (lang('You do not
have access to %1', $path)));
html_break (2);
html_link ($GLOBALS['appname'].'/index.php?path='.$GLOBALS['homedir'],
lang('Go to your home directory'));
***************
*** 261,265 ****
{
$p = $phpgw->vfs->path_parts (array ('string' =>
$GLOBALS['homedir'], 'relatives' => array (RELATIVE_NONE)));
! echo $GLOBALS['phpgw']->common->error_list (array (lang('Could
not create directory x', $GLOBALS['homedir'] . ' (' . $p->real_full_path .
')')));
}
--- 261,265 ----
{
$p = $phpgw->vfs->path_parts (array ('string' =>
$GLOBALS['homedir'], 'relatives' => array (RELATIVE_NONE)));
! echo $GLOBALS['phpgw']->common->error_list (array (lang('Could
not create directory %1', $GLOBALS['homedir'] . ' (' . $p->real_full_path .
')')));
}
***************
*** 275,279 ****
if (!$GLOBALS['phpgw']->vfs->file_exists (array ('string' => $path,
'relatives' => array (RELATIVE_NONE))))
{
! echo $GLOBALS['phpgw']->common->error_list (array
(lang('Directory x does not exist', $path)));
html_break (2);
html_link
($GLOBALS['appname'].'/index.php?path='.$GLOBALS['homedir'], lang('Go to your
home directory'));
--- 275,279 ----
if (!$GLOBALS['phpgw']->vfs->file_exists (array ('string' => $path,
'relatives' => array (RELATIVE_NONE))))
{
! echo $GLOBALS['phpgw']->common->error_list (array
(lang('Directory %1 does not exist', $path)));
html_break (2);
html_link
($GLOBALS['appname'].'/index.php?path='.$GLOBALS['homedir'], lang('Go to your
home directory'));
***************
*** 536,540 ****
if ($badchar = bad_chars ($createfile, True, True))
{
! echo $GLOBALS['phpgw']->common->error_list (array (html_encode
(lang('File names cannot contain "x"',$badchar), 1)));
html_break (2);
html_link_back ();
--- 536,540 ----
if ($badchar = bad_chars ($createfile, True, True))
{
! echo $GLOBALS['phpgw']->common->error_list (array (html_encode
(lang('File names cannot contain "%1"',$badchar), 1)));
html_break (2);
html_link_back ();
***************
*** 548,552 ****
)
{
! echo $GLOBALS['phpgw']->common->error_list (array (lang('File x
already exists. Please edit it or delete it first.', $createfile)));
html_break (2);
html_link_back ();
--- 548,552 ----
)
{
! echo $GLOBALS['phpgw']->common->error_list (array (lang('File
%1 already exists. Please edit it or delete it first.', $createfile)));
html_break (2);
html_link_back ();
***************
*** 567,571 ****
else
{
! echo $GLOBALS['phpgw']->common->error_list (array (lang('File x
could not be created.', $createfile)));
}
}
--- 567,571 ----
else
{
! echo $GLOBALS['phpgw']->common->error_list (array (lang('File
%1 could not be created.', $createfile)));
}
}
***************
*** 1313,1317 ****
html_break (1);
! html_text_bold (lang('Preview of x', $path.'/'.$edit_file));
html_break (2);
--- 1313,1317 ----
html_break (1);
! html_text_bold (lang('Preview of %1', $path.'/'.$edit_file));
html_break (2);
***************
*** 1335,1339 ****
)
{
! html_text_bold (lang('Saved x', $path.'/'.$edit_file));
html_break (2);
html_link_back ();
--- 1335,1339 ----
)
{
! html_text_bold (lang('Saved %1', $path.'/'.$edit_file));
html_break (2);
html_link_back ();
***************
*** 1341,1345 ****
else
{
! html_text_error (lang('Could not save x',
$path.'/'.$edit_file));
html_break (2);
html_link_back ();
--- 1341,1345 ----
else
{
! html_text_error (lang('Could not save %1',
$path.'/'.$edit_file));
html_break (2);
html_link_back ();
***************
*** 1365,1374 ****
)
{
! html_text_bold (lang('Saved x',
$path.'/'.$fileman[$j]));
html_break (1);
}
else
{
! html_text_error (lang('Could not save x',
$path.'/'.$fileman[$j]));
html_break (1);
}
--- 1365,1374 ----
)
{
! html_text_bold (lang('Saved %1',
$path.'/'.$fileman[$j]));
html_break (1);
}
else
{
! html_text_error (lang('Could not save %1',
$path.'/'.$fileman[$j]));
html_break (1);
}
***************
*** 1430,1436 ****
html_table_col_end ();
html_table_col_begin ('center');
! html_form_input ('submit', 'edit_preview',
lang('Preview x', html_encode ($fileman[$j], 1)));
html_break (1);
! html_form_input ('submit', 'edit_save', lang('Save x',
html_encode ($fileman[$j], 1)));
// html_break (1);
// html_form_input ('submit', 'edit_save_all', lang('Save
all'));
--- 1430,1436 ----
html_table_col_end ();
html_table_col_begin ('center');
! html_form_input ('submit', 'edit_preview',
lang('Preview %1', html_encode ($fileman[$j], 1)));
html_break (1);
! html_form_input ('submit', 'edit_save', lang('Save %1',
html_encode ($fileman[$j], 1)));
// html_break (1);
// html_form_input ('submit', 'edit_save_all', lang('Save
all'));
***************
*** 1454,1458 ****
if ($badchar = bad_chars ($upload_file_name[$i], True, True))
{
! echo $GLOBALS['phpgw']->common->error_list (array
(html_encode (lang('File names cannot contain "x"', $badchar), 1)));
continue;
--- 1454,1458 ----
if ($badchar = bad_chars ($upload_file_name[$i], True, True))
{
! echo $GLOBALS['phpgw']->common->error_list (array
(html_encode (lang('File names cannot contain "%1"', $badchar), 1)));
continue;
***************
*** 1477,1481 ****
if ($fileinfo['mime_type'] == 'Directory')
{
! echo $GLOBALS['phpgw']->common->error_list
(array (lang('Cannot replace x because it is a directory', $fileinfo['name'])));
continue;
}
--- 1477,1481 ----
if ($fileinfo['mime_type'] == 'Directory')
{
! echo $GLOBALS['phpgw']->common->error_list
(array (lang('Cannot replace %1 because it is a directory',
$fileinfo['name'])));
continue;
}
***************
*** 1508,1512 ****
);
! html_text_summary (lang('Replaced x',
$disppath.'/'.$upload_file_name[$i]), $upload_file_size[$i]);
}
else
--- 1508,1512 ----
);
! html_text_summary (lang('Replaced %1',
$disppath.'/'.$upload_file_name[$i]), $upload_file_size[$i]);
}
else
***************
*** 1529,1533 ****
);
! html_text_summary (lang('Created x',
$disppath.'/'.$upload_file_name[$i]), $upload_file_size[$i]);
}
}
--- 1529,1533 ----
);
! html_text_summary (lang('Created %1',
$disppath.'/'.$upload_file_name[$i]), $upload_file_size[$i]);
}
}
***************
*** 1550,1554 ****
);
! html_text_summary (lang('Created x',
$disppath.'/'.$upload_file_name[$i]), $file_size[$i]);
}
}
--- 1550,1554 ----
);
! html_text_summary (lang('Created %1',
$disppath.'/'.$upload_file_name[$i]), $file_size[$i]);
}
}
***************
*** 1568,1572 ****
if ($badchar = bad_chars ($comment_files[$file], False, True))
{
! echo $GLOBALS['phpgw']->common->error_list (array
(html_text_italic ($file, 1) . html_encode (': ' . lang('Comments cannot
contain "x"', $badchar), 1)));
continue;
}
--- 1568,1572 ----
if ($badchar = bad_chars ($comment_files[$file], False, True))
{
! echo $GLOBALS['phpgw']->common->error_list (array
(html_text_italic ($file, 1) . html_encode (': ' . lang('Comments cannot
contain "%1"', $badchar), 1)));
continue;
}
***************
*** 1581,1585 ****
);
! html_text_summary (lang('Updated comment for x',
$path.'/'.$file));
}
--- 1581,1585 ----
);
! html_text_summary (lang('Updated comment for %1',
$path.'/'.$file));
}
***************
*** 1598,1602 ****
if ($badchar = bad_chars ($to, True, True))
{
! echo $GLOBALS['phpgw']->common->error_list (array
(html_encode (lang('File names cannot contain "x"', $badchar), 1)));
continue;
}
--- 1598,1602 ----
if ($badchar = bad_chars ($to, True, True))
{
! echo $GLOBALS['phpgw']->common->error_list (array
(html_encode (lang('File names cannot contain "%1"', $badchar), 1)));
continue;
}
***************
*** 1612,1620 ****
)
{
! echo $GLOBALS['phpgw']->common->error_list (array
(lang('Could not rename x to x', $disppath.'/'.$from, $disppath.'/'.$to)));
}
else
{
! html_text_summary (lang('Renamed x to x',
$disppath.'/'.$from, $disppath.'/'.$to));
}
}
--- 1612,1620 ----
)
{
! echo $GLOBALS['phpgw']->common->error_list (array
(lang('Could not rename %1 to %2', $disppath.'/'.$from, $disppath.'/'.$to)));
}
else
{
! html_text_summary (lang('Renamed %1 to %2',
$disppath.'/'.$from, $disppath.'/'.$to));
}
}
***************
*** 1640,1648 ****
{
$moved++;
! html_text_summary (lang('Moved x to x',
$disppath.'/'.$file, $todir.'/'.$file));
}
else
{
! echo $GLOBALS['phpgw']->common->error_list (array
(lang('Could not move x to x', $disppath.'/'.$file, $todir.'/'.$file)));
}
}
--- 1640,1648 ----
{
$moved++;
! html_text_summary (lang('Moved %1 to %2',
$disppath.'/'.$file, $todir.'/'.$file));
}
else
{
! echo $GLOBALS['phpgw']->common->error_list (array
(lang('Could not move %1 to %2', $disppath.'/'.$file, $todir.'/'.$file)));
}
}
***************
*** 1651,1655 ****
{
html_break (2);
! html_link ($GLOBALS['appname'].'/index.php?path='.$todir,
lang('Go to x', $todir));
}
--- 1651,1655 ----
{
html_break (2);
! html_link ($GLOBALS['appname'].'/index.php?path='.$todir,
lang('Go to %1', $todir));
}
***************
*** 1674,1682 ****
{
$copied++;
! html_text_summary (lang('Copied x to x',
$disppath.'/'.$file, $todir.'/'.$file));
}
else
{
! echo $GLOBALS['phpgw']->common->error_list (array
(lang('Could not copy x to x', $disppath.'/'.$file, $todir.'/'.$file)));
}
}
--- 1674,1682 ----
{
$copied++;
! html_text_summary (lang('Copied %1 to %2',
$disppath.'/'.$file, $todir.'/'.$file));
}
else
{
! echo $GLOBALS['phpgw']->common->error_list (array
(lang('Could not copy %1 to %2', $disppath.'/'.$file, $todir.'/'.$file)));
}
}
***************
*** 1685,1689 ****
{
html_break (2);
! html_link ($GLOBALS['appname'].'/index.php?path='.$todir,
lang('Go to x', $todir));
}
--- 1685,1689 ----
{
html_break (2);
! html_link ($GLOBALS['appname'].'/index.php?path='.$todir,
lang('Go to %1', $todir));
}
***************
*** 1704,1712 ****
if ($GLOBALS['phpgw']->vfs->delete (array ('string' =>
$fileman[$i])))
{
! html_text_summary (lang('Deleted x',
$disppath.'/'.$fileman[$i]), $fileinfo['size']);
}
else
{
! $GLOBALS['phpgw']->common->error_list (array
(lang('Could not delete x', $disppath.'/'.$fileman[$i])));
}
}
--- 1704,1712 ----
if ($GLOBALS['phpgw']->vfs->delete (array ('string' =>
$fileman[$i])))
{
! html_text_summary (lang('Deleted %1',
$disppath.'/'.$fileman[$i]), $fileinfo['size']);
}
else
{
! $GLOBALS['phpgw']->common->error_list (array
(lang('Could not delete %1', $disppath.'/'.$fileman[$i])));
}
}
***************
*** 1721,1725 ****
if ($badchar = bad_chars ($createdir, True, True))
{
! echo $GLOBALS['phpgw']->common->error_list (array (html_encode
(lang('Directory names cannot contain "x"', $badchar), 1)));
html_break (2);
html_link_back ();
--- 1721,1725 ----
if ($badchar = bad_chars ($createdir, True, True))
{
! echo $GLOBALS['phpgw']->common->error_list (array (html_encode
(lang('Directory names cannot contain "%1"', $badchar), 1)));
html_break (2);
html_link_back ();
***************
*** 1749,1753 ****
if ($fileinfo['mime_type'] != 'Directory')
{
! echo $GLOBALS['phpgw']->common->error_list (array
(lang('x already exists as a file', $fileinfo['name'])));
html_break (2);
html_link_back ();
--- 1749,1753 ----
if ($fileinfo['mime_type'] != 'Directory')
{
! echo $GLOBALS['phpgw']->common->error_list (array
(lang('%1 already exists as a file', $fileinfo['name'])));
html_break (2);
html_link_back ();
***************
*** 1756,1760 ****
else
{
! echo $GLOBALS['phpgw']->common->error_list (array
(lang('Directory x already exists', $fileinfo['name'])));
html_break (2);
html_link_back ();
--- 1756,1760 ----
else
{
! echo $GLOBALS['phpgw']->common->error_list (array
(lang('Directory %1 already exists', $fileinfo['name'])));
html_break (2);
html_link_back ();
***************
*** 1766,1776 ****
if ($GLOBALS['phpgw']->vfs->mkdir (array ('string' =>
$createdir)))
{
! html_text_summary (lang('Created directory x',
$disppath.'/'.$createdir));
html_break (2);
! html_link
($GLOBALS['appname'].'/index.php?path='.$disppath.'/'.$createdir, lang('Go to
x', $disppath.'/'.$createdir));
}
else
{
! echo $GLOBALS['phpgw']->common->error_list (array
(lang('Could not create x', $disppath.'/'.$createdir)));
}
}
--- 1766,1776 ----
if ($GLOBALS['phpgw']->vfs->mkdir (array ('string' =>
$createdir)))
{
! html_text_summary (lang('Created directory %1',
$disppath.'/'.$createdir));
html_break (2);
! html_link
($GLOBALS['appname'].'/index.php?path='.$disppath.'/'.$createdir, lang('Go to
%1', $disppath.'/'.$createdir));
}
else
{
! echo $GLOBALS['phpgw']->common->error_list (array
(lang('Could not create %1', $disppath.'/'.$createdir)));
}
}
***************
*** 1782,1784 ****
html_page_close ();
! ?>
\ No newline at end of file
--- 1782,1784 ----
html_page_close ();
! ?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: filemanager index.php,1.30.2.8,1.30.2.9,
Guillaume Courtois <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: filemanager/setup phpgw_en.lang,1.1.2.2,1.1.2.3 phpgw_fr.lang,1.1.2.3,1.1.2.4 phpgw_pl.lang,1.1.2.1,1.1.2.2 phpgw_pt.lang,1.1.2.1,1.1.2.2
- Previous by thread:
[Phpgroupware-cvs] CVS: filemanager/setup phpgw_en.lang,1.1.2.2,1.1.2.3 phpgw_fr.lang,1.1.2.3,1.1.2.4 phpgw_pl.lang,1.1.2.1,1.1.2.2 phpgw_pt.lang,1.1.2.1,1.1.2.2
- Index(es):