summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2016-01-17 10:13:54 +0100
committerYorhel <git@yorhel.nl>2016-01-17 10:59:43 +0100
commitb14f137dc5613472eb68ffea2bb76abc3f7172b6 (patch)
tree81c90b7bb167926bfaaa091751bea8ef7e55b4ba /data
parentd7dfc891b9156f3c85c859fa02b18401abef6919 (diff)
L10N: Intern tag_cats/voiced/animated/*_status
Diffstat (limited to 'data')
-rw-r--r--data/global.pl17
-rw-r--r--data/lang.txt84
2 files changed, 11 insertions, 90 deletions
diff --git a/data/global.pl b/data/global.pl
index 67254c0b..fcb7ee03 100644
--- a/data/global.pl
+++ b/data/global.pl
@@ -186,12 +186,17 @@ our %S;
[ '1280x800', 'widescreen' ],
[ '1920x1080', 'widescreen' ],
],
- tag_categories => [ qw|cont ero tech| ],
- voiced => [ 0..4 ],
- animated => [ 0..4 ],
- wishlist_status => [ 0..3 ],
- rlist_status => [ 0..4 ], # 0 = hardcoded "unknown", 2 = hardcoded 'OK'. List must not have gaps
- vnlist_status => [ 0..4 ],
+ tag_categories => {
+ cont => 'Content',
+ ero => 'Sexual content',
+ tech => 'Technical',
+ },
+ # The voiced, animated, and *_status fields are stored in the database by their (numeric) index.
+ voiced => [ 'Unknown', 'Not voiced', 'Only ero scenes voiced', 'Partially voiced', 'Fully voiced' ],
+ animated => [ 'Unknown', 'No animations', 'Simple animations', 'Some fully animated scenes', 'All scenes fully animated' ],
+ wishlist_status => [ 'high', 'medium', 'low', 'blacklist' ],
+ rlist_status => [ 'Unknown', 'Pending', 'Obtained', 'On loan', 'Deleted' ], # 0 = hardcoded "unknown", 2 = hardcoded 'OK'
+ vnlist_status => [ 'Unknown', 'Playing', 'Finished', 'Stalled', 'Dropped' ],
blood_types => [qw| unknown o a b ab |],
genders => [qw| unknown m f b |],
char_roles => [qw| main primary side appears |],
diff --git a/data/lang.txt b/data/lang.txt
index bd056f7e..306dcb21 100644
--- a/data/lang.txt
+++ b/data/lang.txt
@@ -119,51 +119,6 @@ en : Producers
en : Users
-# Wishlist statuses
-
-:_wish_0
-en : high
-
-:_wish_1
-en : medium
-
-:_wish_2
-en : low
-
-:_wish_3
-en : blacklist
-
-
-# 'Voiced' information for releases
-
-:_voiced_1
-en : Not voiced
-
-:_voiced_2
-en : Only ero scenes voiced
-
-:_voiced_3
-en : Partially voiced
-
-:_voiced_4
-en : Fully voiced
-
-
-# 'Animated' information for releases
-
-:_animated_1
-en : No animations
-
-:_animated_2
-en : Simple animations
-
-:_animated_3
-en : Some fully animated scenes
-
-:_animated_4
-en : All scenes fully animated
-
-
# Rating indications
:_vote_1
@@ -197,45 +152,6 @@ en : excellent
en : masterpiece
-# VN list statuses
-
-:_rlist_status_1
-en : Pending
-
-:_rlist_status_2
-en : Obtained
-
-:_rlist_status_3
-en : On loan
-
-:_rlist_status_4
-en : Deleted
-
-:_vnlist_status_1
-en : Playing
-
-:_vnlist_status_2
-en : Finished
-
-:_vnlist_status_3
-en : Stalled
-
-:_vnlist_status_4
-en : Dropped
-
-
-# Tag categories
-
-:_tagcat_cont
-en : Content
-
-:_tagcat_ero
-en : Sexual content
-
-:_tagcat_tech
-en : Technical
-
-
# Blood types
:_bloodt_o