summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2016-02-15 20:11:42 +0100
committerYorhel <git@yorhel.nl>2016-02-15 20:11:42 +0100
commit2f972d5683dadfcfae4094cc176d59dfc9b96639 (patch)
treeb910a0c79ac6e2ba57822dcda0dc841c921e4205
parentd33929c047478ec10bf96bfa9b7e33fc0439f429 (diff)
Add Tagalog language
-rw-r--r--data/global.pl1
-rw-r--r--data/icons/lang/ta.pngbin0 -> 291 bytes
-rw-r--r--util/sql/all.sql2
-rw-r--r--util/updates/update_2.26.sql4
4 files changed, 6 insertions, 1 deletions
diff --git a/data/global.pl b/data/global.pl
index 85741e0f..a5cda557 100644
--- a/data/global.pl
+++ b/data/global.pl
@@ -71,6 +71,7 @@ our %S;
ru Russian
sk Slovak
sv Swedish
+ ta Tagalog
tr Turkish
uk Ukrainian
vi Vietnamese
diff --git a/data/icons/lang/ta.png b/data/icons/lang/ta.png
new file mode 100644
index 00000000..ab44ca0a
--- /dev/null
+++ b/data/icons/lang/ta.png
Binary files differ
diff --git a/util/sql/all.sql b/util/sql/all.sql
index b2b4fabc..172217ca 100644
--- a/util/sql/all.sql
+++ b/util/sql/all.sql
@@ -11,7 +11,7 @@ CREATE TYPE credit_type AS ENUM ('scenario', 'chardesign', 'art', 'music',
CREATE TYPE dbentry_type AS ENUM ('v', 'r', 'p', 'c', 's');
CREATE TYPE edit_rettype AS (itemid integer, chid integer, rev integer);
CREATE TYPE gender AS ENUM ('unknown', 'm', 'f', 'b');
-CREATE TYPE language AS ENUM ('ar', 'ca', 'cs', 'da', 'de', 'en', 'es', 'fi', 'fr', 'he', 'hu', 'id', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ro', 'ru', 'sk', 'sv', 'tr', 'uk', 'vi', 'zh');
+CREATE TYPE language AS ENUM ('ar', 'ca', 'cs', 'da', 'de', 'en', 'es', 'fi', 'fr', 'he', 'hu', 'id', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ro', 'ru', 'sk', 'sv', 'ta', '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', 's');
diff --git a/util/updates/update_2.26.sql b/util/updates/update_2.26.sql
index 691fdca7..444666f8 100644
--- a/util/updates/update_2.26.sql
+++ b/util/updates/update_2.26.sql
@@ -29,3 +29,7 @@ ALTER TABLE threads_poll_options ADD CONSTRAINT threads_poll_options_tid_fke
ALTER TABLE threads_poll_votes ADD CONSTRAINT threads_poll_votes_tid_fkey FOREIGN KEY (tid) REFERENCES threads (id) ON DELETE CASCADE;
ALTER TABLE threads_poll_votes ADD CONSTRAINT threads_poll_votes_uid_fkey FOREIGN KEY (uid) REFERENCES users (id) ON DELETE CASCADE;
ALTER TABLE threads_poll_votes ADD CONSTRAINT threads_poll_votes_optid_fkey FOREIGN KEY (optid) REFERENCES threads_poll_options (id) ON DELETE CASCADE;
+
+
+-- Tagalog language
+ALTER TYPE language ADD VALUE 'ta' BEFORE 'tr';