more english translations plus more consistent naming

This commit is contained in:
Ralf Becker 2001-07-16 18:11:27 +00:00
parent aaee0f1f7d
commit 13debcb486
4 changed files with 124 additions and 91 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
/**************************************************************************\ /**************************************************************************\
* phpGroupWare - Info Log: CSV - Import * * phpGroupWare - InfoLog: CSV - Import *
* http://www.phpgroupware.org * * http://www.phpgroupware.org *
* Written by Ralf Becker <RalfBecker@outdoor-training.de> * * Written by Ralf Becker <RalfBecker@outdoor-training.de> *
* -------------------------------------------- * * -------------------------------------------- *
@ -34,7 +34,7 @@
} }
$t->set_var("action_url",$phpgw->link("/infolog/csv_import.php")); $t->set_var("action_url",$phpgw->link("/infolog/csv_import.php"));
$t->set_var( $phpgw->infolog->setStyleSheet( )); $t->set_var( $phpgw->infolog->setStyleSheet( ));
$t->set_var("lang_info_action",lang("Import CSV-File into Info Log")); $t->set_var("lang_info_action",lang("InfoLog - Import CSV-File"));
$PSep = '||'; // Pattern-Separator, separats the pattern-replacement-pairs in trans $PSep = '||'; // Pattern-Separator, separats the pattern-replacement-pairs in trans
$ASep = '|>'; // Assignment-Separator, separats pattern and replacesment $ASep = '|>'; // Assignment-Separator, separats pattern and replacesment
@ -119,7 +119,7 @@ function cat_id( $cats )
$defaults = array(); $defaults = array();
} }
$t->set_var('lang_csv_fieldname',lang('CSV-Fieldname')); $t->set_var('lang_csv_fieldname',lang('CSV-Fieldname'));
$t->set_var('lang_info_fieldname',lang('Info Log-Fieldname')); $t->set_var('lang_info_fieldname',lang('InfoLog-Fieldname'));
$t->set_var('lang_translation',lang("Translation").' <a href="#help">'.lang('help').'</a>'); $t->set_var('lang_translation',lang("Translation").' <a href="#help">'.lang('help').'</a>');
$t->set_var('submit',lang('Import')); $t->set_var('submit',lang('Import'));
$t->set_var('lang_debug',lang('Test Import (show importable records <u>only</u> in browser)')); $t->set_var('lang_debug',lang('Test Import (show importable records <u>only</u> in browser)'));
@ -215,7 +215,7 @@ function cat_id( $cats )
"You can use the 'No CVS #'-fields to assign cvs-values to more than on field, the following example uses the ". "You can use the 'No CVS #'-fields to assign cvs-values to more than on field, the following example uses the ".
"cvs-field 'Note' (which gots already assingned to the description) and construct a short subject: ". "cvs-field 'Note' (which gots already assingned to the description) and construct a short subject: ".
"<b>@substr(${CPre}Note$CPos,0,60).' ...'</b><p>". "<b>@substr(${CPre}Note$CPos,0,60).' ...'</b><p>".
"Their is two important user-function for the Info Log:<br>". "Their is two important user-function for the InfoLog:<br>".
"<b>@addr_id(${CPre}NFamily$CPos,${CPre}NGiven$CPos,${CPre}Company$CPos)</b> ". "<b>@addr_id(${CPre}NFamily$CPos,${CPre}NGiven$CPos,${CPre}Company$CPos)</b> ".
"searches the addressbook for an address and returns the id if it founds an exact match of at least ". "searches the addressbook for an address and returns the id if it founds an exact match of at least ".
"<i>NFamily</i> AND (<i>NGiven</i> OR <i>Company</i>). This is necessary to link your imported InfoLog-entrys ". "<i>NFamily</i> AND (<i>NGiven</i> OR <i>Company</i>). This is necessary to link your imported InfoLog-entrys ".

View File

@ -304,20 +304,20 @@
{ {
case 'sp': // Sub-List case 'sp': // Sub-List
$action_vars = array('action'=>'sp','info_id'=>$info_id); $action_vars = array('action'=>'sp','info_id'=>$info_id);
$t->set_var(lang_info_action,lang('Info Log - Subprojects from')); $t->set_var(lang_info_action,lang('InfoLog - Subprojects from'));
break; break;
case 'proj': case 'proj':
$action_vars += array( 'id_project' => $proj_id, $action_vars += array( 'id_project' => $proj_id,
'proj_id' => $proj_id); 'proj_id' => $proj_id);
$proj = $this->bo->readProj($proj_id); $proj = $this->bo->readProj($proj_id);
$t->set_var(lang_info_action,lang('Info Log').' - '. $t->set_var(lang_info_action,lang('InfoLog').' - '.
$proj['title']); $proj['title']);
break; break;
case 'addr': case 'addr':
$action_vars += array( 'id_addr' => $addr_id, $action_vars += array( 'id_addr' => $addr_id,
'addr_id' => $addr_id ); 'addr_id' => $addr_id );
$addr = $this->bo->readAddr($addr_id); $addr = $this->bo->readAddr($addr_id);
$t->set_var(lang_info_action,lang('Info Log').' - '. $t->set_var(lang_info_action,lang('InfoLog').' - '.
$this->bo->addr2name($addr)); $this->bo->addr2name($addr));
break; break;
default: default:
@ -325,7 +325,7 @@
{ {
$filter_name = ': '.$this->filters[ $filter ]; $filter_name = ': '.$this->filters[ $filter ];
} }
$t->set_var(lang_info_action,lang('Info Log').$filter_name); $t->set_var(lang_info_action,lang('InfoLog').$filter_name);
break; break;
} }
$t->set_var($this->setStyleSheet( )); $t->set_var($this->setStyleSheet( ));
@ -587,7 +587,7 @@
if (!checkdate($emonth,$eday,$eyear)) if (!checkdate($emonth,$eday,$eyear))
{ {
$error[] = lang('You have entered an invalid ending date'); $error[] = lang('You have entered an invalid enddate');
} }
else else
{ {
@ -612,7 +612,7 @@
if ($enddate < $startdate && $enddate && $startdate) if ($enddate < $startdate && $enddate && $startdate)
{ {
$error[] = lang('Ending date can not be before start date'); $error[] = lang('Enddate can not be before startdate');
} }
$access = $access ? 'private' : 'public'; $access = $access ? 'private' : 'public';
@ -706,15 +706,15 @@
switch ($action) switch ($action)
{ {
case 'sp': case 'sp':
$info_action = 'Info Log - New Subproject'; $info_action = 'InfoLog - New Subproject';
break; break;
case 'new': case 'addr': case 'proj': case 'new': case 'addr': case 'proj':
$info_action = 'Info Log - New'; $info_action = 'InfoLog - New';
if ($info_type && isset($this->enums['type'][$info_type])) if ($info_type && isset($this->enums['type'][$info_type]))
$this->data['info_type'] = $info_type; $this->data['info_type'] = $info_type;
break; break;
default: default:
$info_action = 'Info Log - Edit'; break; $info_action = 'InfoLog - Edit'; break;
} }
$t->set_var('lang_info_action',lang($info_action) . $t->set_var('lang_info_action',lang($info_action) .
($query_addr ? ' - '.lang('Search for:')." '$query_addr'" : '')); ($query_addr ? ' - '.lang('Search for:')." '$query_addr'" : ''));
@ -764,12 +764,12 @@
if (!isset($des)) $des = $phpgw->strip_html($this->data['info_des']); if (!isset($des)) $des = $phpgw->strip_html($this->data['info_des']);
$t->set_var('descval', $des); $t->set_var('descval', $des);
$t->set_var('lang_start_date',lang('Start Date')); $t->set_var('lang_start_date',lang('Startdate'));
if (!isset($startdate)) $startdate = $this->data['info_startdate']; if (!isset($startdate)) $startdate = $this->data['info_startdate'];
$t->set_var('start_select_date', $t->set_var('start_select_date',
$sb->getDate('syear','smonth','sday',$startdate)); $sb->getDate('syear','smonth','sday',$startdate));
$t->set_var('lang_end_date',lang('End Date')); $t->set_var('lang_end_date',lang('Enddate'));
if (!isset($enddate)) $enddate = $this->data['info_enddate']; if (!isset($enddate)) $enddate = $this->data['info_enddate'];
$t->set_var('end_select_date', $t->set_var('end_select_date',
$sb->getDate('eyear','emonth','eday',$enddate)); $sb->getDate('eyear','emonth','eday',$enddate));
@ -852,7 +852,7 @@
$t->set_var( $this->setStyleSheet( )); $t->set_var( $this->setStyleSheet( ));
$t->set_var( $this->infoHeaders( )); $t->set_var( $this->infoHeaders( ));
$t->set_var( $this->formatInfo( $info_id )); $t->set_var( $this->formatInfo( $info_id ));
$t->set_var('lang_info_action',lang('Info Log - Delete')); $t->set_var('lang_info_action',lang('InfoLog - Delete'));
$t->set_var('deleteheader', $t->set_var('deleteheader',
lang('Are you sure you want to delete this entry')); lang('Are you sure you want to delete this entry'));

View File

@ -1,54 +1,52 @@
%1 records imported infolog de %1 Datensätze importiert %1 records imported infolog de %1 Datensätze importiert
%1 records read (not yet imported, you may go back and uncheck test import) infolog de %1 Datensätze gelesen (noch nicht importiert, sie können %2zurück%3 gehen und Test Import ausschalten) %1 records read (not yet imported, you may go back and uncheck test import) infolog de %1 Datensätze gelesen (noch nicht importiert, sie können %2zurück%3 gehen und Test Import ausschalten)
Default Filter for InfoLog infolog de Standard-Filter für InfoLog
Description can not exceed 8000 characters in length infolog de Beschreibung darf nicht länger als 8000 Zeichen sein
Ending date can not be before start date infolog de Das Enddatum kann nicht vor dem Startdatum liegen
List no Subs/Childs infolog de Teilprojekte/Antwortdokumente nicht anzeigen
Show full usernames infolog de Kompletten Benutzernamen anzeigen
Show open Events: Tasks/Calls/Notes on main screen infolog de Nicht erledigte Einträge: Aufgaben/Anrufe/Notizen auf Startseite anzeigen
You have entered an invalid ending date infolog de Sie haben ein ungültiges Enddatum eingegeben
You have entered an invalid starting date infolog de Sie haben ein ungültiges Startdatum eingegeben
You must enter a subject or a description infolog de Sie müssen einen Titel oder eine Beschreibung eingeben
accept infolog de bei Annahme accept infolog de bei Annahme
action infolog de Befehle action infolog de Befehle
add infolog de Hinzufügen
add sub infolog de neues Teilprojekt anlegen add sub infolog de neues Teilprojekt anlegen
all infolog de alle
are you sure you want to delete this entry infolog de Sind Sie sicher, dass Sie diesen Eintrag löschen wollen? are you sure you want to delete this entry infolog de Sind Sie sicher, dass Sie diesen Eintrag löschen wollen?
back to projectlist infolog de Zurück zur Gesamtliste back to projectlist infolog de Zurück zur Gesamtliste
billed infolog de abgerechnet billed infolog de abgerechnet
both infolog de Annahme+erledigt both infolog de Annahme+erledigt
call infolog de anrufen call infolog de anrufen
category infolog de Kategorie
confirm infolog de Bestätigung confirm infolog de Bestätigung
csv-fieldname infolog de CSV-Feldname csv-fieldname infolog de CSV-Feldname
csv-filename infolog de CSV-Dateiname csv-filename infolog de CSV-Dateiname
csv-import common de CSV-Import csv-import common de CSV-Import
datecreated infolog de erstellt am datecreated infolog de erstellt am
days infolog de Tage days infolog de Tage
default Filter for InfoLog infolog de Standard-Filter für InfoLog
description infolog de Beschreibung
description can not exceed 8000 characters in length infolog de Beschreibung darf nicht länger als 8000 Zeichen sein
done infolog de erledigt done infolog de erledigt
download infolog de Datei laden download infolog de Datei laden
duration infolog de Dauer duration infolog de Dauer
enddate infolog de Enddatum enddate infolog de Enddatum
enddate can not be before startdate infolog de Das Enddatum kann nicht vor dem Startdatum liegen
fax infolog de Fax fax infolog de Fax
fieldseparator infolog de Feldbegrenzer fieldseparator infolog de Feldbegrenzer
finish infolog de wenn erledigt finish infolog de wenn erledigt
from infolog de Von from infolog de Von
import infolog de Import import infolog de Import
import csv-file into info log infolog de Import CSV-Datei ins Info Log infolog - import csv-file infolog de InfoLog - Import CSV-Datei
info log infolog de Info Log infolog - delete infolog de InfoLog - Löschen
info log - delete infolog de Info Log - Löschen infolog - edit infolog de InfoLog - Bearbeiten
info log - edit infolog de Info Log - Bearbeiten infolog - new infolog de InfoLog - Anlegen
info log - new infolog de Info Log - Anlegen infolog - new subproject infolog de InfoLog - Anlegen Teilprojekt
info log - new subproject infolog de Info Log - Anlegen Teilprojekt infolog - subprojects from infolog de InfoLog - Teilprojekte von
info log - subprojects from infolog de Info Log - Teilprojekte von infolog-fieldname infolog de InfoLog-Feldname
info log-fieldname infolog de Info Log-Feldname
infolog common de InfoLog infolog common de InfoLog
infolog preferences common de InfoLog Einstellungen infolog preferences common de InfoLog Einstellungen
last changed infolog de letzte Änderung last changed infolog de letzte Änderung
list no Subs/Childs infolog de Teilprojekte/Antwortdokumente nicht anzeigen
no - cancel infolog de Nein - Abbruch no - cancel infolog de Nein - Abbruch
no Filter infolog de kein Filter no filter infolog de kein Filter
no entries found, try again ... infolog de Kein Einträge gefunden, nochmal versuchen ... no entries found, try again ... infolog de Kein Einträge gefunden, nochmal versuchen ...
not infolog de keine none infolog de keine
not infolog de nicht
not assigned infolog de nicht zugewiesen not assigned infolog de nicht zugewiesen
not set, use button to search for infolog de nicht gesetzt, Button zum Suchen verwenden
note infolog de Notiz note infolog de Notiz
number of records to read (<=200) infolog de Anzahl Datensätze lesen (<=200) number of records to read (<=200) infolog de Anzahl Datensätze lesen (<=200)
offer infolog de Angebot offer infolog de Angebot
@ -60,20 +58,29 @@ own open infolog de eigene offen
own overdue infolog de eigene überfällig own overdue infolog de eigene überfällig
own upcoming infolog de eigene zukünftig own upcoming infolog de eigene zukünftig
owner infolog de Erstellt von owner infolog de Erstellt von
phone/email infolog de Telefon/Email
pattern for search in addressbook infolog de Muster für Suche im Adressbuch pattern for search in addressbook infolog de Muster für Suche im Adressbuch
pattern for search in projects infolog de Muster für Suche des Projekts pattern for search in projects infolog de Muster für Suche des Projekts
phone infolog de Anruf phone infolog de Anruf
phone/email infolog de Telefon/Email phone/email infolog de Telefon/Email
phonecall infolog de Telefonanruf phonecall infolog de Telefonanruf
project infolog de Projekt project infolog de Projekt
priority infolog de Priorität
private infolog de Privat
re: infolog de Re: re: infolog de Re:
reject infolog de Absage reject infolog de Absage
responsible infolog de Auftrag an responsible infolog de Auftrag an
search for: infolog de Suchen nach: search for: infolog de Suchen nach:
select infolog de Auswählen
show full usernames infolog de Kompletten Benutzernamen anzeigen
show open Events: Tasks/Calls/Notes on main screen infolog de Nicht erledigte Einträge: Aufgaben/Anrufe/Notizen auf Startseite anzeigen
showing x infolog de %1 Einträge
showing x - x of x infolog de Einträge %1 - %2 von %3 showing x - x of x infolog de Einträge %1 - %2 von %3
startdate infolog de Startdatum startdate infolog de Startdatum
startrecord infolog de Startdatensatz startrecord infolog de Startdatensatz
status infolog de Status
sub infolog de Teil-<br>projekte sub infolog de Teil-<br>projekte
subject infolog de Beschreibung
task infolog de Auftrag task infolog de Auftrag
test import (show importable records <u>only</u> in browser) infolog de Test Import (zeige importierbare Datensätze <u>nur</u> im Browser) test import (show importable records <u>only</u> in browser) infolog de Test Import (zeige importierbare Datensätze <u>nur</u> im Browser)
today infolog de Heute today infolog de Heute
@ -88,5 +95,6 @@ view other subs infolog de andere Teileprojekte anzeigen
view subs infolog de Teilprojekte anzeigen view subs infolog de Teilprojekte anzeigen
will-call infolog de ruft zurück will-call infolog de ruft zurück
yes - delete infolog de Ja - Löschen yes - delete infolog de Ja - Löschen
you have entered an invalid ending date infolog de Sie haben ein ungültiges Enddatum angegeben you have entered an invalid ending date infolog de Sie haben ein ungültiges Enddatum eingegeben
you have entered an invalid starting date infolog de Sie haben ein ungültiges Startdatum eingegeben you have entered an invalid starting date infolog de Sie haben ein ungültiges Startdatum eingegeben
you must enter a subject or a description infolog de Sie müssen einen Titel oder eine Beschreibung eingeben

View File

@ -1,75 +1,100 @@
%1 records imported infolog en %1 records imported %1 records imported infolog en %1 records imported
%1 records read (not yet imported, you may go back and uncheck Test Import) infolog en %1 records read (not yet imported, you may go back and uncheck Test Import)
%1 records read (not yet imported, you may go back and uncheck test import) infolog en %1 records read (not yet imported, you may go %2back%3 and uncheck Test Import) %1 records read (not yet imported, you may go back and uncheck test import) infolog en %1 records read (not yet imported, you may go %2back%3 and uncheck Test Import)
Action infolog en Action accept infolog en accept
Add infolog en Add action infolog en Action
All infolog en All add infolog en Add
Are you sure you want to delete this entry infolog en Are you sure you want to delete this entry add sub infolog en add Sub
Back to Projectlist infolog en Back to Projectlist all infolog en All
CSV-Fieldname infolog en CSV-Fieldname are you sure you want to delete this entry infolog en Are you sure you want to delete this entry
CSV-Filename infolog en CSV-Filename back to Projectlist infolog en Back to Projectlist
Category infolog en Category billed infolog en billed
Confirm infolog en Confirm both infolog en both
Default Filter for InfoLog infolog en Default Filter for InfoLog call infolog en call
Description infolog en Description category infolog en Category
Description can not exceed 8000 characters in length infolog en Description can not exceed 8000 characters in length confirm infolog en confirm
Download infolog en Download csv-fieldname infolog en CSV-Fieldname
Duration infolog en Duration csv-filename infolog en CSV-Filename
End Date infolog en End Date csv-import common en CSV-Import
Ending date can not be before start date infolog en Ending date can not be before start date
Fieldseparator infolog en Fieldseparator
From infolog en From
Import infolog en Import
Import CSV-File into Info Log infolog en Import CSV-File into Info Log
Info Log infolog en Info Log
Info Log - Delete infolog en Info Log - Delete
Info Log - Subprojects from infolog en Info Log - Subprojects from
Info Log-Fieldname infolog en Info Log-Fieldname
List no Subs/Childs infolog en List no Subs/Childs
None infolog en None
Number of records to read (<=200) infolog en Number of records to read (<=200)
Owner infolog en Owner
Phone/Email infolog en Phone/Email
Priority infolog en Priority
Private infolog en Private
Re: infolog en Re:
Responsible infolog en Responsible
Search for: infolog en Search for:
Select infolog en Select
Show full usernames infolog en Show full usernames
Show open Events: Tasks/Calls/Notes on main screen infolog de Show open Events: Tasks/Calls/Notes on main screen
Show open Events: Tasks/Calls/Notes on main screen infolog en Show open Events: Tasks/Calls/Notes on main screen
Start Date infolog en Start Date
Startrecord infolog en Startrecord
Status infolog en Status
Sub infolog en Sub
Subject infolog en Subject
Test Import (show importable records <u>only</u> in browser) infolog en Test Import (show importable records <u>only</u> in browser)
Today infolog en Today
Type infolog en Type
View Matrix of actual Month infolog en View Matrix of actual Month
You have entered an invalid ending date infolog en You have entered an invalid ending date
You have entered an invalid starting date infolog en You have entered an invalid starting date
You must enter a subject or a description infolog en You must enter a subject or a description
datecreated infolog en date created datecreated infolog en date created
days infolog en days days infolog en days
default Filter for InfoLog infolog en Default Filter for InfoLog
description infolog en Description
description can not exceed 8000 characters in length infolog en Description can not exceed 8000 characters in length
done infolog en done
download infolog en Download
duration infolog en Duration
enddate infolog en Enddate enddate infolog en Enddate
help infolog en help enddate can not be before startdate infolog en Enddate can not be before startdate
fax infolog en Fax
fieldseparator infolog en Fieldseparator
finish infolog en finish
from infolog en From
import infolog en Import
infolog - import CSV-File infolog en InfoLog - Import CSV-File
infolog - delete infolog en Info Log - Delete
infolog - edit infolog en InfoLog - Edit
infolog - new infolog en InfoLog - New
infolog - new subproject infolog en InfoLog - New Subproject
infolog - subprojects from infolog en InfoLog - Subprojects from
infolog-fieldname infolog en Info Log-Fieldname
infolog common en InfoLog infolog common en InfoLog
infolog preferences common en InfoLog preferences infolog preferences common en InfoLog preferences
last changed infolog en last changed last changed infolog en last changed
list no Subs/Childs infolog en List no Subs/Childs
no - cancel infolog en No - Cancel no - cancel infolog en No - Cancel
no Filter infolog en no Filter no filter infolog en no Filter
no entries found, try again ... infolog en no entries found, try again ... no entries found, try again ... infolog en no entries found, try again ...
none infolog en None
not infolog en not
not assigned infolog en not assigned
note infolog en Note
number of records to read (<=200) infolog en Number of records to read (<=200)
offer infolog en offer
ongoing infolog en ongoing
open infolog en open open infolog en open
overdue infolog en overdue overdue infolog en overdue
own infolog en own own infolog en own
own open infolog en own open own open infolog en own open
own overdue infolog en own overdue own overdue infolog en own overdue
own upcoming infolog en own upcoming own upcoming infolog en own upcoming
owner infolog en Owner
phone/email infolog en Phone/Email
pattern for search in addressbook infolog en pattern for search in Addressbook
pattern for search in projects infolog en pattern for search in Projects
phone infolog en Phonecall
phone/email infolog en Phone/Email
phonecall infolog en Phonecall
project infolog en Project
priority infolog en Priority
private infolog en Private
re: infolog en Re:
reject infolog en reject
responsible infolog en Responsible
search for: infolog en Search for:
select infolog en Select
show full usernames infolog en Show full usernames
show open Events: Tasks/Calls/Notes on main screen infolog en Show open Events: Tasks/Calls/Notes on main screen
showing x infolog en showing %1 showing x infolog en showing %1
showing x - x of x infolog en showing %1 - %2 of %3 showing x - x of x infolog en showing %1 - %2 of %3
startdate infolog en Startdate startdate infolog en Startdate
startdate infolog en Startdate startrecord infolog en Startrecord
status infolog en Status
sub infolog en Sub
subject infolog en Subject
task infolog en ToDo
test Import (show importable records <u>only</u> in browser) infolog en Test Import (show importable records <u>only</u> in browser)
today infolog en Today
translation infolog en Translation
type infolog en Type
upcoming infolog en upcoming upcoming infolog en upcoming
urgency infolog en urgency
urgent infolog en urgent
use Button to search for Address infolog en use Button to search for Address
use Button to search for Project infolog en use Button to search for Project
view other subs infolog en view other Subs
view subs infolog en view Subs
will-call infolog en will call
yes - delete infolog en Yes - Delete yes - delete infolog en Yes - Delete
you have entered an invalid ending date infolog en You have entered an invalid ending date
you have entered an invalid starting date infolog en You have entered an invalid starting date
you must enter a subject or a description infolog en You must enter a subject or a description