diff options
author | Yorhel <git@yorhel.nl> | 2009-09-27 10:01:46 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-09-27 10:01:46 +0200 |
commit | 9d733c1d82f5b2b8013d3d921f66cc962fea8048 (patch) | |
tree | 72be2e064f5b410fe988cb7f417f143f2d63a9e4 /data | |
parent | 2c6f9360a25fd576fce5b35f3f512c05429d9d57 (diff) |
Converted anime.type to ENUM and made them translatable
Again, two separate but related things.
Diffstat (limited to 'data')
-rw-r--r-- | data/global.pl | 12 | ||||
-rw-r--r-- | data/lang.txt | 31 |
2 files changed, 32 insertions, 11 deletions
diff --git a/data/global.pl b/data/global.pl index aff1c6e1..58ae6a89 100644 --- a/data/global.pl +++ b/data/global.pl @@ -35,17 +35,7 @@ our %S = (%S, producer_types => [qw|co in ng|], discussion_boards => [qw|an db v p u|], vn_lengths => [ 0..5 ], - anime_types => [ - # AniDB anime type starts counting at 1, 0 = unknown - # we start counting at 0, with NULL being unknown - 'TV Series', - 'OVA', - 'Movie', - 'Other', - 'Web', - 'TV Special', - 'Music Video', - ], + anime_types => [qw|tv ova mov oth web spe mv|], vn_relations => { # id => [ order, reverse ] seq => [ 0, 'preq' ], diff --git a/data/lang.txt b/data/lang.txt index 45722c42..197a0cdc 100644 --- a/data/lang.txt +++ b/data/lang.txt @@ -364,6 +364,37 @@ en : Trial ru : Триальный +# Anime types + +:_animetype_tv +en : TV Series +ru*: + +:_animetype_ova +en : OVA +ru*: + +:_animetype_mov +en : Movie +ru*: + +:_animetype_oth +en : Other +ru*: + +:_animetype_web +en : Web +ru*: + +:_animetype_spe +en : TV Special +ru*: + +:_animetype_mv +en : Music Video +ru*: + + # Discussion board types :_dboard_an |