summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2014-08-21 09:59:21 +0200
committerYorhel <git@yorhel.nl>2014-08-21 09:59:21 +0200
commitfbaab38886e6018f51fc08b5f0e2a70411255566 (patch)
treea6dd6b8bbfdef2fad843afba70efe2bcdd6cf51d
parenta49faf37b12a326f232420089b2557ca957b2f43 (diff)
Add Romanian language
-rw-r--r--data/global.pl2
-rw-r--r--data/lang.txt12
-rw-r--r--data/style.css1
-rw-r--r--static/f/icons.pngbin15508 -> 13382 bytes
-rw-r--r--util/updates/update_2.23.sql3
5 files changed, 17 insertions, 1 deletions
diff --git a/data/global.pl b/data/global.pl
index 7f8f1a0d..f331c663 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|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|],
+ languages => [qw|ar cs da de en es fi fr he hu id it ja ko nl no pl pt-br pt-pt ro 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 52038f1f..aa5d8971 100644
--- a/data/lang.txt
+++ b/data/lang.txt
@@ -351,6 +351,18 @@ tr : Portekizce (Portekiz)
uk : Португальська (Португалія)
it : Portoghese (Portogallo)
+:_lang_ro
+en : Romanian
+ru*:
+cs*:
+hu*:
+nl : Roemeens
+de*:
+es*:
+tr*:
+uk*:
+it*:
+
:_lang_ru
en : Russian
ru : Русский
diff --git a/data/style.css b/data/style.css
index c9ac5c30..c213ebc6 100644
--- a/data/style.css
+++ b/data/style.css
@@ -878,6 +878,7 @@ a .icons { cursor: pointer }
.icons.sk { background-position: -61px -110px; }
.icons.id { background-position: -61px -121px; }
.icons.he { background-position: -61px -132px; }
+.icons.ro { background-position: -61px -143px; }
/* Relation graph colors */
diff --git a/static/f/icons.png b/static/f/icons.png
index fb50cd89..12539943 100644
--- a/static/f/icons.png
+++ b/static/f/icons.png
Binary files differ
diff --git a/util/updates/update_2.23.sql b/util/updates/update_2.23.sql
index 5de7ff9c..9327e074 100644
--- a/util/updates/update_2.23.sql
+++ b/util/updates/update_2.23.sql
@@ -70,3 +70,6 @@ ALTER TABLE screenshots DROP COLUMN processed;
-- New resolution has been added at index 8
UPDATE releases_rev SET resolution = resolution + 1 WHERE resolution >= 8 AND NOT EXISTS(SELECT 1 FROM releases_rev WHERE resolution >= 14);
+
+-- New language: Romanian
+ALTER TYPE language ADD VALUE 'ro' AFTER 'pt-br';