PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/Helpers/Update/Cms.php +4 -1 10.2.2 → 11.1.0 View file →
@@ -70,8 +70,9 @@
70 70 if (!empty($error)) acym_enqueueMessage($error, 'error');
71 71 if (!empty($errorLoad)) acym_enqueueMessage(acym_translationSprintf('ACYM_ERROR_LOAD_LANGUAGE', implode(', ', $errorLoad)), 'warning');
72 72 }
73 73
74 + // translates the Acy menus on back-end and Joomla menus
74 75 public function installBackLanguages(string $onlyCode = ''): void
75 76 {
76 77 if (ACYM_CMS !== 'joomla') {
77 78 return;
@@ -110,9 +111,8 @@
110 111
111 112 $siteLanguages = empty($onlyCode) ? array_keys(acym_getLanguages()) : [$onlyCode];
112 113
113 114 foreach ($siteLanguages as $code) {
114 -
115 115 $path = acym_getLanguagePath(ACYM_ROOT, $code).DS.$code.'.com_acym.ini';
116 116 if (!file_exists($path)) continue;
117 117
118 118 $content = file_get_contents($path);
@@ -117,8 +117,11 @@
117 117
118 118 $content = file_get_contents($path);
119 119 if (empty($content)) continue;
120 120
121 + // The first key is to translate "Acym" into "AcyMailing blabla" in the Joomla Extension manager
122 + // The second key is to translate "com_acym" into "AcyMailing" in the Joomla global configuration page
123 + // DON'T CHANGE THE KEY !!
121 124 $menuFileContent = 'ACYM="AcyMailing"'."\r\n";
122 125 $menuFileContent .= 'COM_ACYM="AcyMailing"'."\r\n";
123 126 $menuFileContent .= 'COM_ACYM_CONFIGURATION="AcyMailing"'."\r\n";
124 127