diff options
author | Yorhel <git@yorhel.nl> | 2019-06-19 11:22:00 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-06-19 11:25:40 +0200 |
commit | e5bf481b359b77dd873e63d54dec47c355260de6 (patch) | |
tree | 82a2f787d29ae60199f805c854755a4c785a68c3 | |
parent | f0af745c9bcc21a5a5c3ae925c27dc8a29d319b6 (diff) |
Add Greek & Esperanto languages
-rw-r--r-- | data/global.pl | 2 | ||||
-rw-r--r-- | data/icons/lang/el.png | bin | 0 -> 120 bytes | |||
-rw-r--r-- | data/icons/lang/eo.png | bin | 0 -> 134 bytes | |||
-rw-r--r-- | util/sql/all.sql | 2 | ||||
-rw-r--r-- | util/updates/update_20190619.sql | 3 |
5 files changed, 6 insertions, 1 deletions
diff --git a/data/global.pl b/data/global.pl index e7896558..050e4fbd 100644 --- a/data/global.pl +++ b/data/global.pl @@ -55,7 +55,9 @@ our %S; cs Czech da Danish de German + el Greek en English + eo Esperanto es Spanish fi Finnish fr French diff --git a/data/icons/lang/el.png b/data/icons/lang/el.png Binary files differnew file mode 100644 index 00000000..a8402131 --- /dev/null +++ b/data/icons/lang/el.png diff --git a/data/icons/lang/eo.png b/data/icons/lang/eo.png Binary files differnew file mode 100644 index 00000000..a28d3463 --- /dev/null +++ b/data/icons/lang/eo.png diff --git a/util/sql/all.sql b/util/sql/all.sql index 7b50c485..0e79379f 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', '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', 'en', 'es', 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ro', 'ru', 'sk', 'sv', 'ta', 'th', 'tr', 'uk', 'vi', 'zh'); +CREATE TYPE language AS ENUM ('ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'eo', 'es', 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ro', 'ru', 'sk', '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_20190619.sql b/util/updates/update_20190619.sql new file mode 100644 index 00000000..9d3ef21f --- /dev/null +++ b/util/updates/update_20190619.sql @@ -0,0 +1,3 @@ +-- Greek & Esperanto +ALTER TYPE language ADD VALUE 'el' BEFORE 'en'; +ALTER TYPE language ADD VALUE 'eo' BEFORE 'es'; |