summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2015-01-29 09:44:00 +0100
committerYorhel <git@yorhel.nl>2015-01-29 09:44:13 +0100
commitf1156c6369ee9f22183951c1531972ac99fec52c (patch)
treed8eee2867d593ee8f402dcf3cac0b4b361217e16
parenta73b9d000b2dfb18567704f8c14d1ab3ca62d59d (diff)
staff: Added 'scenario' credit type
-rw-r--r--data/docs/23
-rw-r--r--data/global.pl2
-rw-r--r--data/lang.txt14
-rw-r--r--util/sql/all.sql2
-rw-r--r--util/updates/update_2.25.sql2
5 files changed, 19 insertions, 4 deletions
diff --git a/data/docs/2 b/data/docs/2
index 66ed7cdb..e33a85a3 100644
--- a/data/docs/2
+++ b/data/docs/2
@@ -87,7 +87,8 @@ staff and cast tabs.</p>
visual novel. The following roles can be used:
</p>
<dl>
- <dt>Script writer</dt><dd>&nbsp;</dd>
+ <dt>Scenario</dt><dd>&nbsp;</dd>
+ <dt>Script</dt><dd>&nbsp;</dd>
<dt>Character design</dt><dd>&nbsp;</dd>
<dt>Composer</dt><dd>&nbsp;</dd>
<dt>Director</dt><dd>&nbsp;</dd>
diff --git a/data/global.pl b/data/global.pl
index b3fd8264..7a11c424 100644
--- a/data/global.pl
+++ b/data/global.pl
@@ -113,7 +113,7 @@ our %S = (%S,
changes => [ 25, 'VNDB Recent Changes', '/hist' ],
posts => [ 25, 'VNDB Recent Posts', '/t' ],
},
- staff_roles => [qw|script chardesign music director art songs staff|],
+ staff_roles => [qw|scenario script chardesign music director art songs staff|],
);
diff --git a/data/lang.txt b/data/lang.txt
index 6a89fb1f..3543d83e 100644
--- a/data/lang.txt
+++ b/data/lang.txt
@@ -5383,8 +5383,20 @@ it : Nessun risultato
# Built-in credits
+:_credit_scenario
+en : Scenario
+ru*:
+cs*:
+hu*:
+nl*:
+de*:
+es*:
+tr*:
+uk*:
+it*:
+
:_credit_script
-en : Script writer
+en : Script
ru*:
cs*:
hu*:
diff --git a/util/sql/all.sql b/util/sql/all.sql
index 96787bd5..f9f8a6dd 100644
--- a/util/sql/all.sql
+++ b/util/sql/all.sql
@@ -6,7 +6,7 @@
CREATE TYPE anime_type AS ENUM ('tv', 'ova', 'mov', 'oth', 'web', 'spe', 'mv');
CREATE TYPE blood_type AS ENUM ('unknown', 'a', 'b', 'ab', 'o');
CREATE TYPE char_role AS ENUM ('main', 'primary', 'side', 'appears');
-CREATE TYPE credit_type AS ENUM ('script', 'chardesign', 'music', 'director', 'art', 'songs', 'staff');
+CREATE TYPE credit_type AS ENUM ('scenario', 'script', 'chardesign', 'music', 'director', 'art', 'songs', 'staff');
CREATE TYPE dbentry_type AS ENUM ('v', 'r', 'p', 'c', 's');
CREATE TYPE edit_rettype AS (iid integer, cid integer, rev integer);
CREATE TYPE gender AS ENUM ('unknown', 'm', 'f', 'b');
diff --git a/util/updates/update_2.25.sql b/util/updates/update_2.25.sql
new file mode 100644
index 00000000..5188cca2
--- /dev/null
+++ b/util/updates/update_2.25.sql
@@ -0,0 +1,2 @@
+ALTER TYPE credit_type ADD VALUE 'scenario' BEFORE 'script';
+