diff options
author | Yorhel <git@yorhel.nl> | 2019-09-11 15:56:54 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-09-11 15:56:54 +0200 |
commit | 7eca65c37be71d9c677cc99153e0df75902ed8cb (patch) | |
tree | d3b13511e0169f0f6f5a731c7969420d2cdf56f8 /lib/VN3/VN/Page.pm | |
parent | 8c1faad14d4e4be29c464a3dcf3e2f340c6f8242 (diff) |
VNDB::Types: Convert languages into %LANGUAGE
Diffstat (limited to 'lib/VN3/VN/Page.pm')
-rw-r--r-- | lib/VN3/VN/Page.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VN3/VN/Page.pm b/lib/VN3/VN/Page.pm index 81c6491f..0624fb66 100644 --- a/lib/VN3/VN/Page.pm +++ b/lib/VN3/VN/Page.pm @@ -38,7 +38,7 @@ sub Top { Div class => 'vn-header__sep', ''; Txt vn_length_time $vn->{length}; Div class => 'vn-header__sep', ''; - Txt join ', ', map $LANG{$_}, @{$vn->{c_languages}}; + Txt join ', ', map $LANGUAGE{$_}, @{$vn->{c_languages}}; Debug $vn; }; }; @@ -218,7 +218,7 @@ sub Releases { for my $lang (@lang) { Div class => 'relsm__language', sub { Lang $lang; - Txt " $LANG{$lang}"; + Txt " $LANGUAGE{$lang}"; }; Div class => 'relsm__table', sub { Div class => 'relsm__rel', sub { |