diff options
author | edenc <edenc@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-08-19 02:04:49 +0000 |
---|---|---|
committer | edenc <edenc@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-08-19 02:04:49 +0000 |
commit | 00b55ddd1e70f7a28efa48b9e3e62562bc95997f (patch) | |
tree | ee7762bebebed53bea130dfcafb744e64ee6806a /lib/Reaction/UI/View.pm | |
parent | f814d4a984964611ef34971fc42f4182231c5297 (diff) | |
download | reaction-00b55ddd1e70f7a28efa48b9e3e62562bc95997f.tar.gz reaction-00b55ddd1e70f7a28efa48b9e3e62562bc95997f.zip |
added localization support
Diffstat (limited to 'lib/Reaction/UI/View.pm')
-rw-r--r-- | lib/Reaction/UI/View.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Reaction/UI/View.pm b/lib/Reaction/UI/View.pm index 5158429..bdd04a2 100644 --- a/lib/Reaction/UI/View.pm +++ b/lib/Reaction/UI/View.pm @@ -27,6 +27,13 @@ has 'skin' => ( has 'layout_set_class' => (is => 'ro', lazy_build => 1); has 'rendering_context_class' => (is => 'ro', lazy_build => 1); + +# default view doesn't localize +sub localize { + my($self, $value) = @_; + return $value; +} + sub _build_layout_set_class { my ($self) = @_; return $self->find_related_class('LayoutSet'); |