summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2012-03-27 17:24:33 +0200
committerYorhel <git@yorhel.nl>2012-03-27 17:24:33 +0200
commitfa5b426b40ea304727db4e279f1daeb258b5af48 (patch)
treee695b32828a8aaf7c86f3a3a41f3ea4e601cf1ad
parent290b3f8b5f9dc0aed65621ed57e4b5a8bd050c2f (diff)
Added Indonesian language
-rw-r--r--data/global.pl2
-rw-r--r--data/lang.txt11
-rw-r--r--data/style.css1
-rw-r--r--static/f/icons.pngbin12770 -> 12773 bytes
-rw-r--r--util/sql/all.sql2
-rw-r--r--util/updates/update_2.23.sql4
6 files changed, 16 insertions, 4 deletions
diff --git a/data/global.pl b/data/global.pl
index ab293dd3..7e5de1c4 100644
--- a/data/global.pl
+++ b/data/global.pl
@@ -33,7 +33,7 @@ our %S = (%S,
cv_size => [ 256, 400 ], # max. w*h of cover images
# bit flags (TODO: completely merge charedit into edit)
permissions => {qw| board 1 boardmod 2 edit 4 charedit 4 tag 16 dbmod 32 tagmod 64 usermod 128 affiliate 256 |},
- languages => [qw|cs da de en es fi fr hu it ja ko nl no pl pt-br pt-pt ru sk sv tr uk vi zh|],
+ languages => [qw|cs da de en es fi fr hu id it ja ko nl no pl pt-br pt-pt ru sk sv tr uk vi zh|],
producer_types => [qw|co in ng|],
discussion_boards => [qw|an db ge v p u|], # <- note that some properties of these boards are hard-coded
vn_lengths => [ 0..5 ],
diff --git a/data/lang.txt b/data/lang.txt
index a554ff2f..c215a5d2 100644
--- a/data/lang.txt
+++ b/data/lang.txt
@@ -194,6 +194,17 @@ es : Húngaro
tr : Macarca
uk : Угорська
+:_lang_id
+en : Indonesian
+ru*:
+cs*:
+hu*:
+nl : Indonesisch
+de*:
+es*:
+tr*:
+uk*:
+
:_lang_it
en : Italian
ru : Итальянский
diff --git a/data/style.css b/data/style.css
index 0513a95c..4917224d 100644
--- a/data/style.css
+++ b/data/style.css
@@ -859,6 +859,7 @@ a .icons { cursor: pointer }
.icons.ko { background-position: -61px -88px; }
.icons.vi { background-position: -61px -99px; }
.icons.sk { background-position: -61px -110px; }
+.icons.id { background-position: -61px -121px; }
/* Relation graph colors */
diff --git a/static/f/icons.png b/static/f/icons.png
index 8c3c1135..1692438c 100644
--- a/static/f/icons.png
+++ b/static/f/icons.png
Binary files differ
diff --git a/util/sql/all.sql b/util/sql/all.sql
index ce1ab914..775c39cd 100644
--- a/util/sql/all.sql
+++ b/util/sql/all.sql
@@ -9,7 +9,7 @@ CREATE TYPE char_role AS ENUM ('main', 'primary', 'side', 'appears');
CREATE TYPE dbentry_type AS ENUM ('v', 'r', 'p', 'c');
CREATE TYPE edit_rettype AS (iid integer, cid integer, rev integer);
CREATE TYPE gender AS ENUM ('unknown', 'm', 'f', 'b');
-CREATE TYPE language AS ENUM ('cs', 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ru', 'sk', 'sv', 'tr', 'uk', 'vi', 'zh');
+CREATE TYPE language AS ENUM ('cs', 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'id', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ru', 'sk', 'sv', 'tr', 'uk', 'vi', 'zh');
CREATE TYPE medium AS ENUM ('cd', 'dvd', 'gdr', 'blr', 'flp', 'mrt', 'mem', 'umd', 'nod', 'in', 'otc');
CREATE TYPE notification_ntype AS ENUM ('pm', 'dbdel', 'listdel', 'dbedit', 'announce');
CREATE TYPE notification_ltype AS ENUM ('v', 'r', 'p', 'c', 't');
diff --git a/util/updates/update_2.23.sql b/util/updates/update_2.23.sql
index 0d866d3c..69ef05c9 100644
--- a/util/updates/update_2.23.sql
+++ b/util/updates/update_2.23.sql
@@ -5,10 +5,10 @@ CREATE INDEX tags_vn_vid ON tags_vn (vid);
--- Extra language for ukrainian
+-- Extra language for ukrainian and indonesian
ALTER TYPE language RENAME TO language_old;
-CREATE TYPE language AS ENUM ('cs', 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ru', 'sk', 'sv', 'tr', 'uk', 'vi', 'zh');
+CREATE TYPE language AS ENUM ('cs', 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'id', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ru', 'sk', 'sv', 'tr', 'uk', 'vi', 'zh');
ALTER TABLE producers_rev ALTER COLUMN lang DROP DEFAULT;
ALTER TABLE producers_rev ALTER COLUMN lang TYPE language USING lang::text::language;
ALTER TABLE producers_rev ALTER COLUMN lang SET DEFAULT 'ja';