summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/global.pl26
-rw-r--r--lib/VNDB/Func.pm4
-rw-r--r--lib/VNDB/Handler/Releases.pm4
3 files changed, 16 insertions, 18 deletions
diff --git a/data/global.pl b/data/global.pl
index 8b1f2776..24b28d8e 100644
--- a/data/global.pl
+++ b/data/global.pl
@@ -66,7 +66,7 @@ our %S = (%S,
u => 'Users', # uid
},
vn_lengths => [
- [ 'Unkown', '', '' ],
+ [ 'Unknown', '', '' ],
[ 'Very short', '< 2 hours', 'OMGWTFOTL, A Dream of Summer' ],
[ 'Short', '2 - 10 hours', 'Narcissu, Planetarian' ],
[ 'Medium', '10 - 30 hours', 'Kana: Little Sister' ],
@@ -205,27 +205,25 @@ our %S = (%S,
otc => [ 'Other', 0 ],
},
resolutions => [
- [ 'Unknown', '' ],
- [ '640x480', '4:3' ],
- [ '800x600', '4:3' ],
- [ '1024x768', '4:3' ],
- [ '640x400', 'widescreen' ],
- [ '1024x640', 'widescreen' ],
- [ '1280x720', 'widescreen' ],
- [ '480x272 (PSP)', 'other' ],
- [ '2x256x192 (NDS)', 'other' ],
- [ '640x448 (TV)', 'other' ], # really?
- [ 'Custom', 'other' ],
+ [ 'Unknown / console / handheld', '' ],
+ [ 'Custom', '' ],
+ [ '640x480 (480p)', '4:3' ],
+ [ '800x600', '4:3' ],
+ [ '1024x768', '4:3' ],
+ [ '640x400', 'widescreen' ],
+ [ '1024x640', 'widescreen' ],
+ [ '1280x720 (720p)', 'widescreen' ],
+ [ '1920x1080 (1080p)', 'widescreen' ],
],
voiced => [
'Unknown',
- 'Unvoiced',
+ 'Not voiced',
'Only ero scenes voiced',
'Partially voiced',
'Fully voiced',
],
animated => [
- 'Unkown',
+ 'Unknown',
'No animations',
'Simple animations',
'Some fully animated scenes',
diff --git a/lib/VNDB/Func.pm b/lib/VNDB/Func.pm
index e64527ef..4ca20dc5 100644
--- a/lib/VNDB/Func.pm
+++ b/lib/VNDB/Func.pm
@@ -42,9 +42,9 @@ sub date {
# argument: database release date format (yyyymmdd)
-# y = 0000 -> unkown
+# y = 0000 -> unknown
# y = 9999 -> TBA
-# m = 99 -> month+day unkown
+# m = 99 -> month+day unknown
# d = 99 -> day unknown
# return value: (unknown|TBA|yyyy|yyyy-mm|yyyy-mm-dd)
# if date > now: <b class="future">str</b>
diff --git a/lib/VNDB/Handler/Releases.pm b/lib/VNDB/Handler/Releases.pm
index 6b773c9f..d031340d 100644
--- a/lib/VNDB/Handler/Releases.pm
+++ b/lib/VNDB/Handler/Releases.pm
@@ -399,8 +399,8 @@ sub _form {
[ select => short => 'ani_story', name => 'Story animation', options => [
map [ $_, $self->{animated}[$_] ], 0..$#{$self->{animated}} ] ],
[ select => short => 'ani_ero', name => 'Ero animation', options => [
- map [ $_, $self->{animated}[$_] ], 0..$#{$self->{animated}} ] ],
- [ static => content => 'Animation in erotic scenes, leave to unkown if there are no ero scenes.' ],
+ map [ $_, $_ ? $self->{animated}[$_] : 'Unknown / no ero scenes' ], 0..$#{$self->{animated}} ] ],
+ [ static => content => 'Animation in erotic scenes, leave to unknown if there are no ero scenes.' ],
[ hidden => short => 'media' ],
[ static => nolabel => 1, content => sub {
h2 'Platforms';