Reduce translation duplication - use a single common message for entry copied

This commit is contained in:
nathangray 2016-11-24 10:30:36 -07:00
parent 842dd00548
commit b3be458ad6
11 changed files with 5 additions and 9 deletions

View File

@ -2205,7 +2205,7 @@ window.egw_LAB.wait(function() {
if($content && $_GET['makecp']) // copy the contact
{
$this->copy_contact($content);
$content['msg'] = lang('Contact copied');
$content['msg'] = lang('%1 copied - the copy can now be edited', lang(Link::get_registry('addressbook','entry')));
$view = false;
}
else

View File

@ -122,7 +122,6 @@ company name addressbook de Firmenname
configuration common de Konfiguration
contact common de Kontakt
contact application admin de Kontakt Anwendung
contact copied addressbook de Kontakt kopiert
contact data addressbook de Kontaktdaten
contact deleted addressbook de Kontakt gelöscht
contact fields to show addressbook de Kontaktfelder die angezeigt werden sollen

View File

@ -122,7 +122,6 @@ company name addressbook en Company name
configuration common en Configuration
contact common en Contact
contact application admin en Contact application
contact copied addressbook en Contact copied.
contact data addressbook en Contact data
contact deleted addressbook en Contact deleted.
contact fields to show addressbook en Contact fields to show

View File

@ -1,5 +1,6 @@
%1 (%2 new) messages writen for application '%3' and languages '%4' common de %1 (%2 neue) Texte für die Anwendung '%3' und die Sprache '%4' geschrieben
%1 active file(s) with same name as directory inactivated! admin de %1 aktive Dateien mit dem selben Verzeichnisnamen wurden deaktiviert!
%1 copied - the copy can now be edited common de %1 Kopie - Diese Kopie kann jetzt bearbeitet werden
%1 directories %2 found! admin de %1 Verzeichnisse %2 gefunden!
%1 email addresses inserted common de %1 E-Mail-Adressen eingefügt
%1 entries found, select one ... common de %1 Einträge gefunden, einen auswählen ...

View File

@ -1,5 +1,6 @@
%1 (%2 new) messages writen for application '%3' and languages '%4' common en %1 (%2 new) messages written for application '%3' and languages '%4'
%1 active file(s) with same name as directory inactivated! admin en %1 active file(s) with same name as directory inactivated!
%1 copied - the copy can now be edited
%1 directories %2 found! admin en %1 directories %2 found!
%1 email addresses inserted common en %1 email addresses inserted.
%1 entries found, select one ... common en %1 entries found, select one ...

View File

@ -660,7 +660,7 @@ class calendar_uiforms extends calendar_ui
}
unset($link);
$preserv['view'] = $preserv['edit_single'] = false;
$msg = lang('Event copied - the copy can now be edited');
$msg = lang('%1 copied - the copy can now be edited', lang(Link::get_registry('calendar','entry')));
$event['title'] = lang('Copy of:').' '.$event['title'];
break;

View File

@ -197,7 +197,6 @@ error: starttime has to be before the endtime !!! calendar de Fehler: Startzeit
error: the entry has been updated since you opened it for editing! calendar de Fehler: Der Eintrag wurde geändert seit Sie ihn zum Bearbeiten geöffnet haben!
error: you can't shift a series from the past! calendar de Eine abgelaufene Serie kann nicht mehr verschoben werden!
event common de Termin
event copied - the copy can now be edited calendar de Termin kopiert - die Kopie kann jetzt bearbeitet werden
event deleted calendar de Termin gelöscht
event details follow calendar de Details zum Termin folgen
event saved calendar de Termin gespeichert

View File

@ -197,7 +197,6 @@ error: starttime has to be before the endtime !!! calendar en Error: Start time
error: the entry has been updated since you opened it for editing! calendar en Error: The entry has been updated since you opened it for editing!
error: you can't shift a series from the past! calendar en Error: You can't shift a series from the past!
event common en Event
event copied - the copy can now be edited calendar en Event copied - the copy can now be edited.
event deleted calendar en Event deleted.
event details follow calendar en Event details follow
event saved calendar en Event saved.

View File

@ -2379,7 +2379,7 @@ class infolog_ui
}
if (!$create_sub)
{
$content['msg'] .= ($content['msg']?"\n":'').lang('Infolog copied - the copy can now be edited');
$content['msg'] .= ($content['msg']?"\n":'').lang('%1 copied - the copy can now be edited', lang(Link::get_registry('infolog','entry')));
}
}

View File

@ -242,7 +242,6 @@ infolog - import csv-file infolog de InfoLog - Import CSV-Datei
infolog - new infolog de InfoLog - Anlegen
infolog - new subproject infolog de InfoLog - Anlegen Teilprojekt
infolog - subprojects from infolog de InfoLog - Teilprojekte von
infolog copied - the copy can now be edited infolog de InfoLog Kopie - Diese Kopie kann jetzt bearbeitet werden
infolog csv export infolog de InfoLog CSV Export
infolog csv import infolog de InfoLog CSV Import
infolog entry deleted infolog de InfoLog Eintrag gelöscht

View File

@ -242,7 +242,6 @@ infolog - import csv-file infolog en InfoLog - Import CSV file
infolog - new infolog en InfoLog - New
infolog - new subproject infolog en InfoLog - New sub project
infolog - subprojects from infolog en InfoLog - Sub projects from
infolog copied - the copy can now be edited infolog en InfoLog copied - the copy can now be edited
infolog csv export infolog en InfoLog CSV export
infolog csv import infolog en InfoLog CSV import
infolog entry deleted infolog en InfoLog entry deleted