Cleanup translations - move common stuff into preferences

This commit is contained in:
Nathan Gray 2011-07-04 19:23:28 +00:00
parent c4282c4946
commit f5cf715e7a
2 changed files with 6 additions and 14 deletions

View File

@ -175,9 +175,9 @@ class timesheet_hooks
'size' => 60, 'size' => 60,
'label' => 'Default document to insert entries', 'label' => 'Default document to insert entries',
'name' => 'default_document', 'name' => 'default_document',
'help' => lang('If you specify a document (full vfs path) here, %1 displays an extra document icon for each entry. That icon allows to download the specified document with the contact data inserted.','timesheet').' '. 'help' => lang('If you specify a document (full vfs path) here, %1 displays an extra document icon for each entry. That icon allows to download the specified document with the data inserted.',lang('timesheet')).' '.
lang('The document can contain placeholder like {{ts_title}}, to be replaced with the contact data (%1full list of placeholder names%2).','<a href="'.$link.'" target="_blank">','</a>').' '. lang('The document can contain placeholder like {{%3}}, to be replaced with the data (%1full list of placeholder names%2).','<a href="'.$link.'" target="_blank">','</a>', 'ts_title').' '.
lang('At the moment the following document-types are supported:'). implode(',',bo_merge::get_file_extensions()), lang('The following document-types are supported:'). implode(',',bo_merge::get_file_extensions()),
'run_lang' => false, 'run_lang' => false,
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => False, 'admin' => False,
@ -187,9 +187,9 @@ class timesheet_hooks
'size' => 60, 'size' => 60,
'label' => 'Directory with documents to insert entries', 'label' => 'Directory with documents to insert entries',
'name' => 'document_dir', 'name' => 'document_dir',
'help' => lang('If you specify a directory (full vfs path) here, eGroupWare displays an action for each document. That action allows to download the specified document with the %1 data inserted.', lang('timesheet')).' '. 'help' => lang('If you specify a directory (full vfs path) here, %1 displays an action for each document. That action allows to download the specified document with the %1 data inserted.', lang('timesheet')).' '.
lang('The document can contain placeholder like {{ts_title}}, to be replaced with the contact data (%1full list of placeholder names%2).','<a href="'.$link.'" target="_blank">','</a>').' '. lang('The document can contain placeholder like {{%3}}, to be replaced with the data (%1full list of placeholder names%2).','<a href="'.$link.'" target="_blank">','</a>','ts_title').' '.
lang('At the moment the following document-types are supported:'). implode(',',bo_merge::get_file_extensions()), lang('The following document-types are supported:'). implode(',',bo_merge::get_file_extensions()),
'run_lang' => false, 'run_lang' => false,
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => False, 'admin' => False,

View File

@ -8,7 +8,6 @@ all projects timesheet en All projects
and its members timesheet en And its members and its members timesheet en And its members
applies the changes timesheet en Applies the changes applies the changes timesheet en Applies the changes
apply the action on the whole query, not only the shown timesheets!!! timesheet en Apply the action on the whole query, NOT only the shown timesheets! apply the action on the whole query, not only the shown timesheets!!! timesheet en Apply the action on the whole query, NOT only the shown timesheets!
at the moment the following document-types are supported: timesheet en At the moment the following document types are supported:
both: allow to use projectmanager and free project-names admin en Both: allow to use Project Manager and free project names both: allow to use projectmanager and free project-names admin en Both: allow to use Project Manager and free project names
by timesheet en by by timesheet en by
change category timesheet en Change category change category timesheet en Change category
@ -27,7 +26,6 @@ deleted timesheet en Deleted
deletes this field timesheet en Deletes this field deletes this field timesheet en Deletes this field
determines the order the fields are displayed timesheet en Determines the order the fields are displayed determines the order the fields are displayed timesheet en Determines the order the fields are displayed
directory with documents to insert entries timesheet en Directory with documents to insert entries directory with documents to insert entries timesheet en Directory with documents to insert entries
document '%1' does not exist or is not readable for you! timesheet en Document '%1' does not exist or is not readable for you!
each value is a line like <id>[=<label>] timesheet en Each value is a line like <id>[=<label>] each value is a line like <id>[=<label>] timesheet en Each value is a line like <id>[=<label>]
edit status timesheet en Edit status edit status timesheet en Edit status
edit this entry timesheet en Edit this entry edit this entry timesheet en Edit this entry
@ -37,10 +35,6 @@ entry deleted timesheet en Entry deleted.
entry saved timesheet en Entry saved. entry saved timesheet en Entry saved.
error deleting the entry!!! timesheet en Error deleting the entry! error deleting the entry!!! timesheet en Error deleting the entry!
error saving the entry!!! timesheet en Error saving the entry! error saving the entry!!! timesheet en Error saving the entry!
example {{if n_prefix~mr~hello mr.~hello ms.}} - search the field "n_prefix", for "mr", if found, write hello mr., else write hello ms. timesheet en Example {{IF n_prefix~Mr~Hello Mr.~Hello Ms.}} - search the field "n_prefix", for "Mr", if found, write Hello Mr., else write Hello Ms.
example {{letterprefixcustom n_prefix title n_family}} - example: mr dr. james miller timesheet en Example {{LETTERPREFIXCUSTOM n_prefix title n_family}} - Example: Mr Dr. James Miller
example {{nelf role}} - if field role is not empty, you will get a new line with the value of field role timesheet en Example {{NELF role}} - if field role is not empty, you will get a new line with the value of field role
example {{nelfnv role}} - if field role is not empty, set a lf without any value of the field timesheet en Example {{NELFNV role}} - if field role is not empty, set a LF without any value of the field
existing links timesheet en Existing links existing links timesheet en Existing links
exists timesheet en Exists exists timesheet en Exists
export timesheet en Export export timesheet en Export
@ -56,8 +50,6 @@ general fields: timesheet en General fields:
global categories timesheet en Global categories global categories timesheet en Global categories
history timesheet en History history timesheet en History
id timesheet en ID id timesheet en ID
if you specify a directory (full vfs path) here, egroupware displays an action for each document. that action allows to download the specified document with the %1 data inserted. timesheet en If you specify a directory, full vfs path, EGroupware displays an action for each document. That action allows to download the specified document with the %1 data inserted.
if you specify a document (full vfs path) here, %1 displays an extra document icon for each entry. that icon allows to download the specified document with the contact data inserted. timesheet en If you specify a document, full vfs path, %1 displays an extra document icon for each entry. That icon allows to download the specified document with the contact data inserted.
if you specify an export definition, it will be used when you export timesheet en If you specify an export definition, it will be used when you export if you specify an export definition, it will be used when you export timesheet en If you specify an export definition, it will be used when you export
if you specify an export definition, it will be used when you export* timesheet en If you specify an export definition, it will be used when you export if you specify an export definition, it will be used when you export* timesheet en If you specify an export definition, it will be used when you export
ignore timesheet en Ignore ignore timesheet en Ignore