function i18nviews_plugin_localization_i18nstrings::save in Internationalization Views 6.3
Save a string for translation.
Parameters
$source: Full data for the string to be translated.
Overrides views_plugin_localization::save
File
- includes/
i18nviews_plugin_localization_i18nstrings.inc, line 33 - Contains the i18nstrings localization plugin.
Class
- i18nviews_plugin_localization_i18nstrings
- Localization plugin to pass translatable strings through i18nstrings().
Code
function save($source) {
// @TODO identify format for special elements
// header, footer, empty are currently untranslateable
i18nstrings_update($this
->stringid($source['keys']), $source['value'], NULL);
return TRUE;
}