translation stuff

This commit is contained in:
Klaus Leithoff 2013-11-27 14:36:15 +00:00
parent bd55137531
commit c94e5e61c1
4 changed files with 10 additions and 12 deletions

View File

@ -28,16 +28,16 @@ class mail_compose
* class vars for destination, priorities, mimeTypes * class vars for destination, priorities, mimeTypes
*/ */
static $destinations = array( static $destinations = array(
'to' => 'to', 'to' => 'to', // lang('to')
'cc' => 'cc', 'cc' => 'cc', // lang('cc')
'bcc' => 'bcc', 'bcc' => 'bcc', // lang('bcc')
'replyto' => 'replyto', 'replyto' => 'replyto', // lang('replyto')
'folder' => 'folder' 'folder' => 'folder' // lang('folder')
); );
static $priorities = array( static $priorities = array(
1=>"high", 1=>"high", // lang('high')
3=>"normal", 3=>"normal", // lang('normal')
5=>"low" 5=>"low" // lang('low')
); );
static $mimeTypes = array( static $mimeTypes = array(
"plain"=>"plain", "plain"=>"plain",
@ -237,7 +237,7 @@ class mail_compose
*/ */
function compose(array $_content=null,$msg=null, $_focusElement='to',$suppressSigOnTop=false, $isReply=false) function compose(array $_content=null,$msg=null, $_focusElement='to',$suppressSigOnTop=false, $isReply=false)
{ {
//lang('compose') // needed to be found by translationtools //lang('compose'),lang('from') // needed to be found by translationtools
//error_log(__METHOD__.__LINE__.array2string($_REQUEST)); //error_log(__METHOD__.__LINE__.array2string($_REQUEST));
//error_log(__METHOD__.__LINE__.array2string($_content).function_backtrace()); //error_log(__METHOD__.__LINE__.array2string($_content).function_backtrace());
$_contenHasSigID = array_key_exists('signatureid',$_content); $_contenHasSigID = array_key_exists('signatureid',$_content);

View File

@ -712,7 +712,6 @@ class mail_hooks
$file = Array( $file = Array(
'Site Configuration' => egw::link('/index.php',array('menuaction'=>'admin.uiconfig.index','appname'=>'mail')), 'Site Configuration' => egw::link('/index.php',array('menuaction'=>'admin.uiconfig.index','appname'=>'mail')),
'eMailAdmin: Profilemanagement' => egw::link('/index.php','menuaction=emailadmin.emailadmin_ui.index'),
); );
display_section($appname,$title,$file); display_section($appname,$title,$file);
} }
@ -864,7 +863,6 @@ class mail_hooks
{ {
$file = Array( $file = Array(
'Site Configuration' => egw::link('/index.php','menuaction=admin.uiconfig.index&appname=' . $appname), 'Site Configuration' => egw::link('/index.php','menuaction=admin.uiconfig.index&appname=' . $appname),
'eMailAdmin: Profilemanagement' => egw::link('/index.php','menuaction=emailadmin.emailadmin_ui.index'),
); );
display_sidebox($appname,lang('Admin'),$file); display_sidebox($appname,lang('Admin'),$file);
} }

View File

@ -186,6 +186,7 @@ reject with mail en reject with
remove immediately mail en remove immediately remove immediately mail en remove immediately
replied mail en replied replied mail en replied
reply message type mail en Reply message type reply message type mail en Reply message type
replyto mail en replyto
required pear class mail/mimedecode.php not found. mail en Required PEAR class Mail/mimeDecode.php not found. required pear class mail/mimedecode.php not found. mail en Required PEAR class Mail/mimeDecode.php not found.
restrict acl management admin en restrict acl management restrict acl management admin en restrict acl management
row order style mail en row order style row order style mail en row order style

View File

@ -41,7 +41,6 @@
<tree autoloading="mail.mail_ui.ajax_foldertree" id="nm[foldertree]" onclick="app.mail.mail_changeFolder" parent_node="mail-tree_target"/> <tree autoloading="mail.mail_ui.ajax_foldertree" id="nm[foldertree]" onclick="app.mail.mail_changeFolder" parent_node="mail-tree_target"/>
<html id="msg"/> <html id="msg"/>
<buttononly id="button[mailcreate]" onclick="app.mail.mail_compose(false);" label="Compose" parent_node="mail-index_buttonmailcreate"/> <buttononly id="button[mailcreate]" onclick="app.mail.mail_compose(false);" label="Compose" parent_node="mail-index_buttonmailcreate"/>
<buttononly id="button[testhtmlarea]" onclick="app.mail.mail_testhtmlarea(false);" label="Test HTML Area" parent_node="mail-index_buttontesthtmlarea"/>
<hbox class="mail-index_quotabox"><description value="Quota" class="@nm[quotanotsupported]"/><progress id="nm[quotainpercent]" label="@nm[quota]" class="@nm[quotaclass]"/></hbox> <hbox class="mail-index_quotabox"><description value="Quota" class="@nm[quotanotsupported]"/><progress id="nm[quotainpercent]" label="@nm[quota]" class="@nm[quotaclass]"/></hbox>
<split dock_side="bottomDock" id="mailSplitter" orientation="h"> <split dock_side="bottomDock" id="mailSplitter" orientation="h">
<nextmatch id="nm" onselect="app.mail.mail_preview" template="mail.index.rows"/> <nextmatch id="nm" onselect="app.mail.mail_preview" template="mail.index.rows"/>