function l10n_update_use_remote_source in Localization update 7.2
Checks whether remote translation sources are used.
Return value
bool Returns TRUE if remote translations sources should be taken into account when checking or importing translation files, FALSE otherwise.
4 calls to l10n_update_use_remote_source()
- l10n_update_check_projects in ./
l10n_update.compare.inc - Check for the latest release of project translations.
- _l10n_update_default_update_options in ./
l10n_update.translation.inc - Returns default import options for translation update.
- _l10n_update_fetch_operations in ./
l10n_update.fetch.inc - Helper function to construct the batch operations to fetch translations.
- _l10n_update_status_debug_info in ./
l10n_update.admin.inc - Provides debug info for projects in case translation files are not found.
File
- ./
l10n_update.module, line 802 - Download translations from remote localization server.
Code
function l10n_update_use_remote_source() {
return variable_get('l10n_update_check_mode', L10N_UPDATE_USE_SOURCE_REMOTE_AND_LOCAL) == L10N_UPDATE_USE_SOURCE_REMOTE_AND_LOCAL;
}