diff options
author | Yorhel <git@yorhel.nl> | 2009-09-03 17:24:08 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-09-03 17:24:08 +0200 |
commit | af987da007d7ad04e50e84bc2c4cff2c6a841c67 (patch) | |
tree | b9cc93f7373ed5cf71637e5eb6f86b00fd15ef62 /lib/VNDB/L10N.pm | |
parent | a4409299f9fc21e2cb6d544234772f7962b0a74c (diff) |
L10N: Converted Handler::Tags
Diffstat (limited to 'lib/VNDB/L10N.pm')
-rw-r--r-- | lib/VNDB/L10N.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/VNDB/L10N.pm b/lib/VNDB/L10N.pm index 114d1fc4..d01a7c5a 100644 --- a/lib/VNDB/L10N.pm +++ b/lib/VNDB/L10N.pm @@ -85,6 +85,10 @@ use warnings; use YAWF 'xml_escape'; our %Lexicon; + sub quant { + return $_[1]==1 ? $_[2] : $_[3]; + } + # Argument: unix timestamp # Returns: age sub age { |