' . chr(10);
@@ -529,12 +529,12 @@ if ($oRGroup->virgin == false && $oRGroup->get("idclient") == $client && $oRGrou
$oPagerLink->setCustom("contenido", $sess->id);
$oOutsiderPager = new cObjectPager("4d3a7330-52eb-11db-b0de-0800200c9a66", $iOutsiders, $_REQUEST["outsider_elemperpage"], $_REQUEST["outsider_page"], $oPagerLink, "outsider_page");
- $oOutsiderPager->setCaption(i18n("Outsider navigation", "cl_newsletter"));
+ $oOutsiderPager->setCaption(i18n("Outsider navigation", "cl-newsletter"));
- $oForm->add(i18n("Add recipients", "cl_newsletter"), '' .
+ $oForm->add(i18n("Add recipients", "cl-newsletter"), '' .
$oOutsiderListOptionRow->render() .
$oOutsiderPager->render() .
- '' . $oSelUser->render() . ' ' . i18n("Note: Hold <Ctrl> to select multiple items.", "cl_newsletter") . ' |
');
+ '' . $oSelUser->render() . ' ' . i18n("Note: Hold <Ctrl> to select multiple items.", "cl-newsletter") . ' |
');
unset($oOutsiders);
unset($oOutsiderListOptionRow);
unset($oOutsiderPager);
diff --git a/includes/include.recipients.group_menu.php b/includes/include.recipients.group_menu.php
index 482a0ad..1b92bb0 100644
--- a/includes/include.recipients.group_menu.php
+++ b/includes/include.recipients.group_menu.php
@@ -49,7 +49,7 @@ $oUser = new cApiUser($auth->auth["uid"]);
// sort: Element can be used to be sorted by
// search: Element can be used to search in
$aFields = array();
-$aFields["name"] = array("field" => "groupname", "caption" => i18n("Name", "cl_newsletter"), "type" => "base,sort,search");
+$aFields["name"] = array("field" => "groupname", "caption" => i18n("Name", "cl-newsletter"), "type" => "base,sort,search");
##################################
# Check external input
@@ -126,8 +126,8 @@ $iMenu = 0;
// Store messages for repeated use (speeds performance, as i18n translation is only needed once)
$aMsg = array();
-$aMsg["DelTitle"] = i18n("Delete recipient group", "cl_newsletter");
-$aMsg["DelDescr"] = i18n("Do you really want to delete the following newsletter recipient group:
", "cl_newsletter");
+$aMsg["DelTitle"] = i18n("Delete recipient group", "cl-newsletter");
+$aMsg["DelDescr"] = i18n("Do you really want to delete the following newsletter recipient group:
", "cl-newsletter");
while ($oRcpGroup = $oRcpGroups->next()) {
$iMenu++;
diff --git a/includes/include.recipients_edit.php b/includes/include.recipients_edit.php
index c88b5a4..c5e972d 100644
--- a/includes/include.recipients_edit.php
+++ b/includes/include.recipients_edit.php
@@ -44,7 +44,7 @@ if (is_array($cfg['plugins']['recipients'])) {
// Note, that the object name has to be $recipient for plugins
if ($action == "recipients_create" && $perm->have_perm_area_action($area, $action)) {
- $recipient = $oRecipients->create("mail@domain.tld", " " . i18n("-- new recipient --", "cl_newsletter"));
+ $recipient = $oRecipients->create("mail@domain.tld", " " . i18n("-- new recipient --", "cl-newsletter"));
$oPage->setReload();
} elseif ($action == "recipients_delete" && $perm->have_perm_area_action($area, $action)) {
$oRecipients->delete($idrecipient);
@@ -59,9 +59,9 @@ if ($action == "recipients_create" && $perm->have_perm_area_action($area, $actio
$purgedrecipients = $oRecipients->purge($timeframe);
/* backslashdollar: There is a problem translating \$ - it is either not recognized or translated correctly (using poEdit) */
if ($purgedrecipients > 0) {
- $sNotis = $notification->messageBox("info", sprintf(str_replace("backslashdollar", "\$", i18n("%1backslashdollard recipients, which hasn't been confirmed since more than %2backslashdollard days has been removed.", "cl_newsletter")), $purgedrecipients, $timeframe), 0);
+ $sNotis = $notification->messageBox("info", sprintf(str_replace("backslashdollar", "\$", i18n("%1backslashdollard recipients, which hasn't been confirmed since more than %2backslashdollard days has been removed.", "cl-newsletter")), $purgedrecipients, $timeframe), 0);
} else {
- $sNotis = $notification->messageBox("info", sprintf(str_replace("backslashdollar", "\$", i18n("There are no recipients, which hasn't been confirmed since more than %2backslashdollard days has been removed.", "cl_newsletter")), 0, $timeframe), 0);
+ $sNotis = $notification->messageBox("info", sprintf(str_replace("backslashdollar", "\$", i18n("There are no recipients, which hasn't been confirmed since more than %2backslashdollard days has been removed.", "cl-newsletter")), 0, $timeframe), 0);
}
$recipient = new Recipient;
@@ -84,7 +84,7 @@ if ($recipient->virgin == false && $recipient->get("idclient") == $client && $re
$recipient->set("name", $name);
if (!isValidMail($email)) {
- $aMessages[] = i18n("Please specify a valid e-mail address", "cl_newsletter");
+ $aMessages[] = i18n("Please specify a valid e-mail address", "cl-newsletter");
} else {
$email = strtolower($email); // e-mail always in lower case
if ($recipient->get("email") != $email) {
@@ -96,7 +96,7 @@ if ($recipient->virgin == false && $recipient->get("idclient") == $client && $re
$oRecipients->query();
if ($oRecipients->next()) {
- $aMessages[] = i18n("Could not set new e-mail adress: Other recipient with same e-mail address already exists", "cl_newsletter");
+ $aMessages[] = i18n("Could not set new e-mail adress: Other recipient with same e-mail address already exists", "cl-newsletter");
} else {
$recipient->set("email", $email);
}
@@ -154,7 +154,7 @@ if ($recipient->virgin == false && $recipient->get("idclient") == $client && $re
$oForm->setVar("action", "recipients_save");
$oForm->setVar("idrecipient", $recipient->get("idnewsrcp"));
- $oForm->addHeader(i18n("Edit recipient", "cl_newsletter"));
+ $oForm->addHeader(i18n("Edit recipient", "cl-newsletter"));
$oTxtName = new cHTMLTextbox("name", $recipient->get("name"), 40);
$oTxtEMail = new cHTMLTextbox("email", $recipient->get("email"), 40);
@@ -164,17 +164,17 @@ if ($recipient->virgin == false && $recipient->get("idclient") == $client && $re
$oCkbDeactivated->setChecked($recipient->get("deactivated"));
$oSelNewsType = new cHTMLSelectElement("newstype");
- $oOption = new cHTMLOptionElement(i18n("Text only", "cl_newsletter"), "0");
+ $oOption = new cHTMLOptionElement(i18n("Text only", "cl-newsletter"), "0");
$oSelNewsType->addOptionElement(0, $oOption);
- $oOption = new cHTMLOptionElement(i18n("HTML and text", "cl_newsletter"), "1");
+ $oOption = new cHTMLOptionElement(i18n("HTML and text", "cl-newsletter"), "1");
$oSelNewsType->addOptionElement(1, $oOption);
$oSelNewsType->setDefault($recipient->get("news_type"));
- $oForm->add(i18n("Name", "cl_newsletter"), $oTxtName->render());
- $oForm->add(i18n("E-Mail", "cl_newsletter"), $oTxtEMail->render());
- $oForm->add(i18n("Confirmed", "cl_newsletter"), $oCkbConfirmed->toHTML(false) . " (" . $recipient->get("confirmeddate") . ")");
- $oForm->add(i18n("Deactivated", "cl_newsletter"), $oCkbDeactivated->toHTML(false));
- $oForm->add(i18n("Message type", "cl_newsletter"), $oSelNewsType->render());
+ $oForm->add(i18n("Name", "cl-newsletter"), $oTxtName->render());
+ $oForm->add(i18n("E-Mail", "cl-newsletter"), $oTxtEMail->render());
+ $oForm->add(i18n("Confirmed", "cl-newsletter"), $oCkbConfirmed->toHTML(false) . " (" . $recipient->get("confirmeddate") . ")");
+ $oForm->add(i18n("Deactivated", "cl-newsletter"), $oCkbDeactivated->toHTML(false));
+ $oForm->add(i18n("Message type", "cl-newsletter"), $oSelNewsType->render());
$aPluginOrder = trim_array(explode(",", getSystemProperty("plugin", "recipients-pluginorder")));
@@ -192,7 +192,7 @@ if ($recipient->virgin == false && $recipient->get("idclient") == $client && $re
}
} else {
if (is_array($aPluginTitle) || is_array($aPluginDisplay)) {
- $oForm->add(i18n("WARNING", "cl_newsletter"), sprintf(i18n("The plugin %s delivered an array for the displayed titles, but did not return an array for the contents.", "cl_newsletter"), $sPlugin));
+ $oForm->add(i18n("WARNING", "cl-newsletter"), sprintf(i18n("The plugin %s delivered an array for the displayed titles, but did not return an array for the contents.", "cl-newsletter"), $sPlugin));
} else {
$oForm->add($aPluginTitle, $aPluginDisplay);
}
@@ -212,10 +212,10 @@ if ($recipient->virgin == false && $recipient->get("idclient") == $client && $re
$oAssocGroups->query();
if ($oAssocGroups->count() == 0) {
- $oGroupList->setCell(0, 1, i18n("Recipient is not member of any group", "cl_newsletter"));
+ $oGroupList->setCell(0, 1, i18n("Recipient is not member of any group", "cl-newsletter"));
} else {
// Headline
- $oGroupList->setCell(0, 1, "" . i18n("Groupname", "cl_newsletter") . "");
+ $oGroupList->setCell(0, 1, "" . i18n("Groupname", "cl-newsletter") . "");
$oImgDel = new cHTMLImage("images/delete.gif");
$oGroupList->setCell(0, 2, $oImgDel->render());
$oGroupList->setCellAlignment(0, 2, "right");
@@ -232,10 +232,10 @@ if ($recipient->virgin == false && $recipient->get("idclient") == $client && $re
}
}
- $oForm->add(i18n("Associated Groups", "cl_newsletter"), $oGroupList->render());
+ $oForm->add(i18n("Associated Groups", "cl-newsletter"), $oGroupList->render());
- $oForm->add(i18n("Author", "cl_newsletter"), $classuser->getUserName($recipient->get("author")) . " (" . $recipient->get("created") . ")");
- $oForm->add(i18n("Last modified by", "cl_newsletter"), $classuser->getUserName($recipient->get("modifiedby")) . " (" . $recipient->get("lastmodified") . ")");
+ $oForm->add(i18n("Author", "cl-newsletter"), $classuser->getUserName($recipient->get("author")) . " (" . $recipient->get("created") . ")");
+ $oForm->add(i18n("Last modified by", "cl-newsletter"), $classuser->getUserName($recipient->get("modifiedby")) . " (" . $recipient->get("lastmodified") . ")");
$oPage->setContent($sNotis . $oForm->render(true));
} else {
diff --git a/includes/include.recipients_import.php b/includes/include.recipients_import.php
index ec7b37d..adbcefe 100644
--- a/includes/include.recipients_import.php
+++ b/includes/include.recipients_import.php
@@ -49,37 +49,37 @@ if ($_REQUEST["selDelimiter"] == "") {
$aFields = array();
$aFieldDetails = array();
-$aFields["name"] = strtolower(i18n("Name", "cl_newsletter"));
+$aFields["name"] = strtolower(i18n("Name", "cl-newsletter"));
$aFieldDetails["name"]["fieldtype"] = "field"; // field, plugin or group
$aFieldDetails["name"]["mandatory"] = false; // true or false
$aFieldDetails["name"]["type"] = "string"; // string, boolean or date
$aFieldDetails["name"]["link"] = false; // plugin name for plugins, recipient group id for groups
$aFieldDetails["name"]["col"] = -1; // Stores column index where this field has been found
-$aFields["email"] = strtolower(i18n("Mail", "cl_newsletter"));
+$aFields["email"] = strtolower(i18n("Mail", "cl-newsletter"));
$aFieldDetails["email"]["fieldtype"] = "field";
$aFieldDetails["email"]["mandatory"] = true;
$aFieldDetails["email"]["type"] = "string";
$aFieldDetails["email"]["link"] = false;
$aFieldDetails["email"]["col"] = -1;
-$aFields["deactivated"] = strtolower(i18n("Deactivated", "cl_newsletter"));
+$aFields["deactivated"] = strtolower(i18n("Deactivated", "cl-newsletter"));
$aFieldDetails["deactivated"]["fieldtype"] = "field";
$aFieldDetails["deactivated"]["mandatory"] = false;
$aFieldDetails["deactivated"]["type"] = "boolean";
$aFieldDetails["deactivated"]["link"] = false;
$aFieldDetails["deactivated"]["col"] = -1;
-$aFields["confirmed"] = strtolower(i18n("Confirmed", "cl_newsletter"));
+$aFields["confirmed"] = strtolower(i18n("Confirmed", "cl-newsletter"));
$aFieldDetails["confirmed"]["fieldtype"] = "field";
$aFieldDetails["confirmed"]["mandatory"] = false;
$aFieldDetails["confirmed"]["type"] = "boolean";
$aFieldDetails["confirmed"]["link"] = false;
$aFieldDetails["confirmed"]["col"] = -1;
-$aFields["confirmeddate"] = strtolower(i18n("Confirmed Date", "cl_newsletter"));
+$aFields["confirmeddate"] = strtolower(i18n("Confirmed Date", "cl-newsletter"));
$aFieldDetails["confirmeddate"]["fieldtype"] = "field";
$aFieldDetails["confirmeddate"]["mandatory"] = false;
$aFieldDetails["confirmeddate"]["type"] = "date";
$aFieldDetails["confirmeddate"]["link"] = false;
$aFieldDetails["confirmeddate"]["col"] = -1;
-$aFields["news_type"] = strtolower(i18n("Message type", "cl_newsletter"));
+$aFields["news_type"] = strtolower(i18n("Message type", "cl-newsletter"));
$aFieldDetails["news_type"]["fieldtype"] = "field";
$aFieldDetails["news_type"]["mandatory"] = false;
$aFieldDetails["news_type"]["type"] = "boolean";
@@ -127,7 +127,7 @@ while ($oRcpGroup = $oRcpGroups->next()) {
// Only PHP5!
//$sGroupName = str_replace(str_split(" \t\n\r\0\x0B;"), "", $oRcpGroup->get("groupname"));
- $aFields[$sField] = strtolower(clHtmlEntities(trim(i18n("Group", "cl_newsletter") . "_" . $sGroupName)));
+ $aFields[$sField] = strtolower(clHtmlEntities(trim(i18n("Group", "cl-newsletter") . "_" . $sGroupName)));
$aFieldDetails[$sField]["fieldtype"] = "group";
$aFieldDetails[$sField]["mandatory"] = false;
$aFieldDetails[$sField]["type"] = "string";
@@ -171,7 +171,7 @@ if ($action == "recipients_import_exec" && $perm->have_perm_area_action("recipie
foreach ($aParts as $sHeader) {
$sKey = array_search(strtolower(clHtmlEntities(trim($sHeader))), $aFields);
if ($sKey === false) {
- $aMessage[] = sprintf(i18n("Given column header '%s' unknown, column ignored", "cl_newsletter"), $sHeader);
+ $aMessage[] = sprintf(i18n("Given column header '%s' unknown, column ignored", "cl-newsletter"), $sHeader);
} else {
$aFieldDetails[$sKey]["col"] = $iCol;
$iCol++;
@@ -179,7 +179,7 @@ if ($action == "recipients_import_exec" && $perm->have_perm_area_action("recipie
}
foreach ($aFieldDetails as $sKey => $aDetails) {
if ($aDetails["mandatory"] && $aDetails["col"] == -1) {
- $aMessage[] = sprintf(i18n("Mandatory column '%s' wasn't found, import stopped", "cl_newsletter"), $aDetails[$sKey]);
+ $aMessage[] = sprintf(i18n("Mandatory column '%s' wasn't found, import stopped", "cl-newsletter"), $aDetails[$sKey]);
$bStop = true;
}
}
@@ -199,15 +199,15 @@ if ($action == "recipients_import_exec" && $perm->have_perm_area_action("recipie
$sName = $sEMail;
}
if ($sEMail == "") {
- $aMessage[] = sprintf(i18n("Item with empty mail address found, item ignored (name: %s, row: %s)", "cl_newsletter"), $sName, $iRow);
+ $aMessage[] = sprintf(i18n("Item with empty mail address found, item ignored (name: %s, row: %s)", "cl-newsletter"), $sName, $iRow);
$aInvalidLines[] = $sLine;
$iInvalid++;
} else if (!isValidMail($sEMail)) {
- $aMessage[] = sprintf(i18n("Mail address '%s' is invalid, item ignored (row: %s)", "cl_newsletter"), $sEMail, $iRow);
+ $aMessage[] = sprintf(i18n("Mail address '%s' is invalid, item ignored (row: %s)", "cl-newsletter"), $sEMail, $iRow);
$aInvalidLines[] = $sLine;
$iInvalid++;
} else if ($oRecipients->emailExists($sEMail)) {
- $aMessage[] = sprintf(i18n("Recipient with mail address '%s' already exists, item skipped (row: %s)", "cl_newsletter"), $sEMail, $iRow);
+ $aMessage[] = sprintf(i18n("Recipient with mail address '%s' already exists, item skipped (row: %s)", "cl-newsletter"), $sEMail, $iRow);
$aInvalidLines[] = $sLine;
$iDublettes++;
} else {
@@ -231,7 +231,7 @@ if ($action == "recipients_import_exec" && $perm->have_perm_area_action("recipie
// html is only treated as "true", to get html messages for recipients
// - quick and dirty...
- if ($sValue == "yes" || $sValue == i18n("yes", "cl_newsletter") || $sValue == "true" ||
+ if ($sValue == "yes" || $sValue == i18n("yes", "cl-newsletter") || $sValue == "true" ||
(is_numeric($sValue) && $sValue > 0) ||
$sValue == "html") {
$recipient->set($sKey, 1);
@@ -269,7 +269,7 @@ if ($action == "recipients_import_exec" && $perm->have_perm_area_action("recipie
// Add recipient to group
$sValue = strtolower(trim($aParts[$aDetails["col"]]));
- if ($sValue == "yes" || $sValue == i18n("yes", "cl_newsletter") ||
+ if ($sValue == "yes" || $sValue == i18n("yes", "cl-newsletter") ||
$sValue == "true" || (is_numeric($sValue) && $sValue > 0)) {
$oGroupMembers->create($aDetails["link"], $iID);
}
@@ -302,7 +302,7 @@ if ($action == "recipients_import_exec" && $perm->have_perm_area_action("recipie
if (count($aMessage) > 0) {
$sMessage = $notification->returnNotification("warning", implode("
", $aMessage)) . "
";
}
- $sMessage .= $notification->returnNotification("info", sprintf(i18n("%d recipients added, %d recipients skipped (email already exists) and %d invalid recipients/e-mail adresses ignored. Invalid recipients are shown (if any).", "cl_newsletter"), $iAdded, $iDublettes, $iInvalid));
+ $sMessage .= $notification->returnNotification("info", sprintf(i18n("%d recipients added, %d recipients skipped (email already exists) and %d invalid recipients/e-mail adresses ignored. Invalid recipients are shown (if any).", "cl-newsletter"), $iAdded, $iDublettes, $iInvalid));
if ($iAdded > 0) {
$oPage->setReload();
}
@@ -314,30 +314,30 @@ $oForm->setVar("frame", $frame);
$oForm->setVar("area", $area);
$oForm->setVar("action", "recipients_import_exec");
-$oForm->addHeader(i18n("Import recipients", "cl_newsletter"));
+$oForm->addHeader(i18n("Import recipients", "cl-newsletter"));
$oSelDelimiter = new cHTMLSelectElement("selDelimiter");
$aItems = array();
-$aItems[] = array("tab", i18n("Tab", "cl_newsletter"));
-$aItems[] = array("semicolon", i18n("Semicolon", "cl_newsletter"));
+$aItems[] = array("tab", i18n("Tab", "cl-newsletter"));
+$aItems[] = array("semicolon", i18n("Semicolon", "cl-newsletter"));
$oSelDelimiter->autoFill($aItems);
$oSelDelimiter->setDefault($_REQUEST["selDelimiter"]);
-$oForm->add(i18n("Delimiter", "cl_newsletter"), $oSelDelimiter->render());
+$oForm->add(i18n("Delimiter", "cl-newsletter"), $oSelDelimiter->render());
$oAreaData = new cHTMLTextarea("txtData", $_REQUEST["txtData"], 80, 20);
-$sInfo = '' . i18n("Import information", "cl_newsletter") . '' .
+$sInfo = '' . i18n("Import information", "cl-newsletter") . '' .
'' .
- '
' . i18n("Specify colum types:", "cl_newsletter") . '' .
- i18n("
The first line must contain the column names; this specifies the column order.
<column name>[delimiter]<column name>...", "cl_newsletter") .
- '
' . i18n("Data structure:", "cl_newsletter") . '
' .
- i18n("The recipients have to be entered using the following format:
<data>[Delimiter]<data>... - each recipient in a new line.", "cl_newsletter") .
- '
' . i18n("Example:", "cl_newsletter") . '' .
- i18n("
name;mail;confirmed
Smith;jon.smith@example.org;1", "cl_newsletter") .
- '
' . i18n("The following column names will be recognized:", "cl_newsletter") . '
' .
+ '
' . i18n("Specify colum types:", "cl-newsletter") . '' .
+ i18n("
The first line must contain the column names; this specifies the column order.
<column name>[delimiter]<column name>...", "cl-newsletter") .
+ '
' . i18n("Data structure:", "cl-newsletter") . '
' .
+ i18n("The recipients have to be entered using the following format:
<data>[Delimiter]<data>... - each recipient in a new line.", "cl-newsletter") .
+ '
' . i18n("Example:", "cl-newsletter") . '' .
+ i18n("
name;mail;confirmed
Smith;jon.smith@example.org;1", "cl-newsletter") .
+ '
' . i18n("The following column names will be recognized:", "cl-newsletter") . '
' .
implode("
\n", $aFields);
-$oForm->add(i18n("Recipients", "cl_newsletter"), $oAreaData->render() . "
" . $sInfo);
+$oForm->add(i18n("Recipients", "cl-newsletter"), $oAreaData->render() . "
" . $sInfo);
unset($sInfo);
$sExecScript = '
diff --git a/includes/include.recipients_menu.php b/includes/include.recipients_menu.php
index b168657..c718ba5 100644
--- a/includes/include.recipients_menu.php
+++ b/includes/include.recipients_menu.php
@@ -50,10 +50,10 @@ $oUser = new cApiUser($auth->auth["uid"]);
// sort: Element can be used to be sorted by
// search: Element can be used to search in
$aFields = array();
-$aFields["name"] = array("field" => "name", "caption" => i18n("Name", "cl_newsletter"), "type" => "base,sort,search");
-$aFields["email"] = array("field" => "email", "caption" => i18n("E-Mail", "cl_newsletter"), "type" => "base,sort,search");
-$aFields["confirmed"] = array("field" => "confirmed", "caption" => i18n("Confirmed", "cl_newsletter"), "type" => "base");
-$aFields["deactivated"] = array("field" => "deactivated", "caption" => i18n("Deactivated", "cl_newsletter"), "type" => "base");
+$aFields["name"] = array("field" => "name", "caption" => i18n("Name", "cl-newsletter"), "type" => "base,sort,search");
+$aFields["email"] = array("field" => "email", "caption" => i18n("E-Mail", "cl-newsletter"), "type" => "base,sort,search");
+$aFields["confirmed"] = array("field" => "confirmed", "caption" => i18n("Confirmed", "cl-newsletter"), "type" => "base");
+$aFields["deactivated"] = array("field" => "deactivated", "caption" => i18n("Deactivated", "cl-newsletter"), "type" => "base");
##################################
# Store settings
@@ -127,7 +127,7 @@ $oRecipients = new RecipientCollection;
$sMsg = "";
if (getSystemProperty("newsletter", "updatekeys")) {
$iUpdatedRecipients = $oRecipients->updateKeys();
- $sMsg = $notification->returnNotification("info", sprintf(i18n("%d recipients, with no or incompatible key has been updated. Deactivate update function.", "cl_newsletter"), $iUpdatedRecipients));
+ $sMsg = $notification->returnNotification("info", sprintf(i18n("%d recipients, with no or incompatible key has been updated. Deactivate update function.", "cl-newsletter"), $iUpdatedRecipients));
}
$oRecipients->setWhere("recipientcollection.idclient", $client);
@@ -178,8 +178,8 @@ $iMenu = 0;
// Store messages for repeated use (speeds performance, as i18n translation is only needed once)
$aMsg = array();
-$aMsg["DelTitle"] = i18n("Delete recipient", "cl_newsletter");
-$aMsg["DelDescr"] = i18n("Do you really want to delete the following recipient:
", "cl_newsletter");
+$aMsg["DelTitle"] = i18n("Delete recipient", "cl-newsletter");
+$aMsg["DelDescr"] = i18n("Do you really want to delete the following recipient:
", "cl-newsletter");
while ($oRecipient = $oRecipients->next()) {
$iMenu++;
diff --git a/locale/cl_newsletter.pot b/locale/cl-newsletter.pot
similarity index 100%
rename from locale/cl_newsletter.pot
rename to locale/cl-newsletter.pot
diff --git a/locale/de_DE/LC_MESSAGES/cl_newsletter.mo b/locale/de_DE/LC_MESSAGES/cl-newsletter.mo
similarity index 100%
rename from locale/de_DE/LC_MESSAGES/cl_newsletter.mo
rename to locale/de_DE/LC_MESSAGES/cl-newsletter.mo
diff --git a/locale/de_DE/LC_MESSAGES/cl_newsletter.po b/locale/de_DE/LC_MESSAGES/cl-newsletter.po
similarity index 100%
rename from locale/de_DE/LC_MESSAGES/cl_newsletter.po
rename to locale/de_DE/LC_MESSAGES/cl-newsletter.po