diff options
-rw-r--r-- | data/global.pl | 2 | ||||
-rw-r--r-- | data/lang.txt | 24 | ||||
-rw-r--r-- | data/style.css | 2 | ||||
-rw-r--r-- | static/f/icons.png | bin | 13472 -> 13840 bytes | |||
-rw-r--r-- | util/sql/all.sql | 2 | ||||
-rw-r--r-- | util/updates/update_2.23.sql | 2 |
6 files changed, 29 insertions, 3 deletions
diff --git a/data/global.pl b/data/global.pl index dcd2d4e0..62196b32 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 id it ja ko nl no pl pt-br pt-pt ru sk sv tr uk vi zh|], + languages => [qw|ar cs da de en es fi fr he 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 a398f840..419e81ee 100644 --- a/data/lang.txt +++ b/data/lang.txt @@ -120,6 +120,18 @@ it : Sconosciuto # languages +:_lang_ar +en : Arabic +ru*: +cs*: +hu*: +nl : Arabisch +de*: +es*: +tr*: +uk*: +it*: + :_lang_cs en : Czech ru : Чешский @@ -204,6 +216,18 @@ tr : Fransızca uk : Французька it : Francese +:_lang_he +en : Hebrew +ru*: +cs*: +hu*: +nl : Hebreeuws +de*: +es*: +tr*: +uk*: +it*: + :_lang_hu en : Hungarian ru : Венгерский diff --git a/data/style.css b/data/style.css index 16d210f5..fb4b30cf 100644 --- a/data/style.css +++ b/data/style.css @@ -858,6 +858,7 @@ a .icons { cursor: pointer } .icons.hu { background-position: -48px -99px; } .icons.pt-br { background-position: -48px -110px; } .icons.uk { background-position: -48px -121px; } +.icons.ar { background-position: -48px -132px; } .icons.nl { background-position: -61px 0px; } .icons.no { background-position: -61px -11px; } @@ -871,6 +872,7 @@ a .icons { cursor: pointer } .icons.vi { background-position: -61px -99px; } .icons.sk { background-position: -61px -110px; } .icons.id { background-position: -61px -121px; } +.icons.he { background-position: -61px -132px; } /* Relation graph colors */ diff --git a/static/f/icons.png b/static/f/icons.png Binary files differindex a79c6f84..94af1ed1 100644 --- a/static/f/icons.png +++ b/static/f/icons.png diff --git a/util/sql/all.sql b/util/sql/all.sql index d012a492..a50ff04d 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', 'id', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ru', 'sk', 'sv', 'tr', 'uk', 'vi', 'zh'); +CREATE TYPE language AS ENUM ('ar', 'cs', 'da', 'de', 'en', 'es', 'fi', 'fr', 'he', '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 f7aaf7f3..80855d1a 100644 --- a/util/updates/update_2.23.sql +++ b/util/updates/update_2.23.sql @@ -8,7 +8,7 @@ CREATE INDEX tags_vn_vid ON tags_vn (vid); -- 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', 'id', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ru', 'sk', 'sv', 'tr', 'uk', 'vi', 'zh'); +CREATE TYPE language AS ENUM ('ar', 'cs', 'da', 'de', 'en', 'es', 'fi', 'fr', 'he', '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'; |