diff options
author | Yorhel <git@yorhel.nl> | 2009-08-15 09:05:48 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-08-17 16:27:14 +0200 |
commit | c000490dcdf208e235a05358668dbb6fb70d5168 (patch) | |
tree | 010eaf25e66f7b7aeeac972d796c843669df1159 /lib/VNDB/L10N.pm | |
parent | 4b918796f8d85d40d55dbf2674a2b691d802ff02 (diff) |
Added language switcher to the main menu
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 cbf6a239..5540c710 100644 --- a/lib/VNDB/L10N.pm +++ b/lib/VNDB/L10N.pm @@ -8,6 +8,10 @@ use warnings; sub fallback_languages { ('en') }; + # used for the language switch interface, language tags must + # be the same as in the languages hash in global.pl + sub languages { ('en', 'ru') } + # can be called as either a subroutine or a method sub loadfile { my %lang = ( |