@@ 1304-1319 (lines=16) @@ | ||
1301 | ||
1302 | $files_to_exclude = array(); |
|
1303 | ||
1304 | if (!JFile::exists($develop_client_path . '/en-GB.xml')) |
|
1305 | { |
|
1306 | JFactory::getApplication()->enqueueMessage( |
|
1307 | JText::_('COM_LOCALISE_ERROR_GITHUB_UNABLE_TO_UPDATE_TARGET_FILES'), |
|
1308 | 'warning'); |
|
1309 | ||
1310 | return false; |
|
1311 | } |
|
1312 | elseif (!JFile::exists($custom_client_path . '/en-GB.xml')) |
|
1313 | { |
|
1314 | JFactory::getApplication()->enqueueMessage( |
|
1315 | JText::_('COM_LOCALISE_ERROR_GITHUB_UNABLE_TO_UPDATE_SOURCE_FILES'), |
|
1316 | 'warning'); |
|
1317 | ||
1318 | return false; |
|
1319 | } |
|
1320 | ||
1321 | // This one is for files not present within last in dev yet. |
|
1322 | // Due have no sense add old language files to translate or revise for the comming soon package. |
|
@@ 1376-1391 (lines=16) @@ | ||
1373 | ||
1374 | $files_to_exclude = array(); |
|
1375 | ||
1376 | if (!JFile::exists($develop_client_path . '/en-GB.xml')) |
|
1377 | { |
|
1378 | JFactory::getApplication()->enqueueMessage( |
|
1379 | JText::_('COM_LOCALISE_ERROR_GITHUB_UNABLE_TO_UPDATE_TARGET_FILES'), |
|
1380 | 'warning'); |
|
1381 | ||
1382 | return false; |
|
1383 | } |
|
1384 | elseif (!JFile::exists($custom_client_path . '/en-GB.xml')) |
|
1385 | { |
|
1386 | JFactory::getApplication()->enqueueMessage( |
|
1387 | JText::_('COM_LOCALISE_ERROR_GITHUB_UNABLE_TO_UPDATE_SOURCE_FILES'), |
|
1388 | 'warning'); |
|
1389 | ||
1390 | return false; |
|
1391 | } |
|
1392 | ||
1393 | // This one is for core files not present within last in dev yet. |
|
1394 | // Due have no sense add old language files to translate for the comming soon package. |