@@ 1280-1295 (lines=16) @@ | ||
1277 | ||
1278 | $files_to_exclude = array(); |
|
1279 | ||
1280 | if (!JFile::exists($develop_client_path . '/en-GB.xml')) |
|
1281 | { |
|
1282 | JFactory::getApplication()->enqueueMessage( |
|
1283 | JText::_('COM_LOCALISE_ERROR_GITHUB_UNABLE_TO_UPDATE_TARGET_FILES'), |
|
1284 | 'warning'); |
|
1285 | ||
1286 | return false; |
|
1287 | } |
|
1288 | elseif (!JFile::exists($custom_client_path . '/en-GB.xml')) |
|
1289 | { |
|
1290 | JFactory::getApplication()->enqueueMessage( |
|
1291 | JText::_('COM_LOCALISE_ERROR_GITHUB_UNABLE_TO_UPDATE_SOURCE_FILES'), |
|
1292 | 'warning'); |
|
1293 | ||
1294 | return false; |
|
1295 | } |
|
1296 | ||
1297 | // This one is for files not present within last in dev yet. |
|
1298 | // Due have no sense add old language files to translate or revise for the comming soon package. |
|
@@ 1352-1367 (lines=16) @@ | ||
1349 | ||
1350 | $files_to_exclude = array(); |
|
1351 | ||
1352 | if (!JFile::exists($develop_client_path . '/en-GB.xml')) |
|
1353 | { |
|
1354 | JFactory::getApplication()->enqueueMessage( |
|
1355 | JText::_('COM_LOCALISE_ERROR_GITHUB_UNABLE_TO_UPDATE_TARGET_FILES'), |
|
1356 | 'warning'); |
|
1357 | ||
1358 | return false; |
|
1359 | } |
|
1360 | elseif (!JFile::exists($custom_client_path . '/en-GB.xml')) |
|
1361 | { |
|
1362 | JFactory::getApplication()->enqueueMessage( |
|
1363 | JText::_('COM_LOCALISE_ERROR_GITHUB_UNABLE_TO_UPDATE_SOURCE_FILES'), |
|
1364 | 'warning'); |
|
1365 | ||
1366 | return false; |
|
1367 | } |
|
1368 | ||
1369 | // This one is for core files not present within last in dev yet. |
|
1370 | // Due have no sense add old language files to translate for the comming soon package. |