stableversion-3.0
Last change
on this file since 65dadeb was
65dadeb,
checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago
|
se agregaron los archivos de la nueva version del modulo
|
-
Propiedad mode establecida a
100644
|
File size:
607 octetos
|
Línea | |
---|
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 | } |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.