commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / views / plugins / views_plugin_localization_none.inc
1 <?php
2
3 /**
4 * @file
5 * Contains the 'none' localization plugin.
6 */
7
8 /**
9 * Localization plugin for no localization.
10 *
11 * @ingroup views_localization_plugins
12 */
13 class views_plugin_localization_none extends views_plugin_localization {
14 var $translate = FALSE;
15
16 /**
17 * Translate a string; simply return the string.
18 */
19 function translate($source) {
20 return $source['value'];
21 }
22
23 /**
24 * Save a string for translation; not supported.
25 */
26 function save($source) {
27 return FALSE;
28 }
29
30 /**
31 * Delete a string; not supported.
32 */
33 function delete($source) {
34 return FALSE;
35 }
36 }