diff options
authorYorhel <>2019-09-27 11:32:17 +0200
committerYorhel <>2019-09-27 11:32:18 +0200
commit4b234a4cb387ff9321946fcd44e2f2806c6a0901 (patch)
parentacf5a17cff9af1215046d7a571a92e32948310a4 (diff)
Add Malay language
Sorry for re-using update_20190923.sql, but I'm not sure anyone even uses those scripts. For documentation purposes it's neat to have similar things in a short time window combined, anyway.
-rw-r--r--data/icons/lang/ms.pngbin0 -> 352 bytes
4 files changed, 3 insertions, 1 deletions
diff --git a/data/icons/lang/ms.png b/data/icons/lang/ms.png
new file mode 100644
index 00000000..6e033649
--- /dev/null
+++ b/data/icons/lang/ms.png
Binary files differ
diff --git a/lib/VNDB/ b/lib/VNDB/
index a35f1de8..3d613a08 100644
--- a/lib/VNDB/
+++ b/lib/VNDB/
@@ -37,6 +37,7 @@ hash LANGUAGE =>
ja => 'Japanese',
ko => 'Korean',
mk => 'Macedonian',
+ ms => 'Malay',
lt => 'Lithuanian',
lv => 'Latvian',
nl => 'Dutch',
diff --git a/util/sql/schema.sql b/util/sql/schema.sql
index 562fd3b8..6eb6d710 100644
--- a/util/sql/schema.sql
+++ b/util/sql/schema.sql
@@ -54,7 +54,7 @@ CREATE TYPE credit_type AS ENUM ('scenario', 'chardesign', 'art', 'music',
CREATE TYPE dbentry_type AS ENUM ('v', 'r', 'p', 'c', 's', 'd');
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', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'eo', 'es', 'fi', 'fr', 'gd', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'mk', 'lt', 'lv', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ro', 'ru', 'sk', 'sl', 'sv', 'ta', 'th', 'tr', 'uk', 'vi', 'zh');
+CREATE TYPE language AS ENUM ('ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'eo', 'es', 'fi', 'fr', 'gd', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'mk', 'ms', 'lt', 'lv', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ro', 'ru', 'sk', 'sl', 'sv', 'ta', 'th', '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', 'd');
diff --git a/util/updates/update_20190923.sql b/util/updates/update_20190923.sql
index 62f481a2..1c127447 100644
--- a/util/updates/update_20190923.sql
+++ b/util/updates/update_20190923.sql
@@ -3,3 +3,4 @@ ALTER TYPE language ADD VALUE 'lt' AFTER 'mk';
ALTER TYPE language ADD VALUE 'lv' AFTER 'lt';
ALTER TYPE language ADD VALUE 'sl' AFTER 'sk';
ALTER TYPE language ADD VALUE 'gd' AFTER 'fr';
+ALTER TYPE language ADD VALUE 'ms' AFTER 'mk';