From d59e3f9200456944ad40fe78b24844f2671ecbe9 Mon Sep 17 00:00:00 2001 From: zzz Date: Thu, 17 Feb 2011 12:52:57 +0000 Subject: [PATCH] - Add Arabic - A flag of for the Arabic language, including the four Pan-Arab colors. Note: This is the 1917 Arab revolt / Hashemite dynasty flag. Source: http://commons.wikimedia.org/wiki/File:Arabic-Language-Flag.svg License: I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. Converted to 16x11 png by zzz / gimp - revert ch flag old change --- .../src/net/i2p/router/web/ConfigUIHelper.java | 7 ++++--- build.xml | 2 ++ installer/resources/icons/flags/ch.png | Bin 435 -> 347 bytes installer/resources/icons/flags/lang_ar.png | Bin 0 -> 228 bytes 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 installer/resources/icons/flags/lang_ar.png diff --git a/apps/routerconsole/java/src/net/i2p/router/web/ConfigUIHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/ConfigUIHelper.java index 845bb66a0..cf9a17140 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/ConfigUIHelper.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/ConfigUIHelper.java @@ -46,9 +46,10 @@ public class ConfigUIHelper extends HelperBase { return rv; } - private static final String langs[] = {"de", "en", "es", "fr", "nl", "pt", "ru", "sv", "zh"}; - private static final String flags[] = {"de", "us", "es", "fr", "nl", "pt", "ru", "se", "cn"}; - private static final String xlangs[] = {_x("German"), _x("English"), _x("Spanish"),_x("French"), + private static final String langs[] = {"ar", "de", "en", "es", "fr", "nl", "pt", "ru", "sv", "zh"}; + private static final String flags[] = {"lang_ar", "de", "us", "es", "fr", "nl", "pt", "ru", "se", "cn"}; + private static final String xlangs[] = {_x("Arabic"), + _x("German"), _x("English"), _x("Spanish"),_x("French"), _x("Dutch"), _x("Portuguese"), _x("Russian"), _x("Swedish"), _x("Chinese")}; diff --git a/build.xml b/build.xml index f7f88e789..2e3549d3a 100644 --- a/build.xml +++ b/build.xml @@ -561,6 +561,8 @@ + + diff --git a/installer/resources/icons/flags/ch.png b/installer/resources/icons/flags/ch.png index 4e6fa9641e85e30b303edd6553096290bf0e4531..3fe13cab509b4dc01fd09daccc4bcf136c3dd9de 100644 GIT binary patch delta 331 zcmV-R0kr;Qr1t=XZr_kITrNm;DDC$ZGz^Q$I)I95an8?T37Mf}VAienPzIIb zQKb~+oRvMx-DPGVGd00Cu5L_t(| zoK;c1PQp+a{aP!cLbMHO97tSBT$l(C&NO!YmGJ0j>rs&QbAy>h`xxdcYn_#JV3KbMM^pJJOf0g zxm(cZo|l?VuY({_C>XdsFBZT1{bVAcXmdS{mfL8|%4O84OvYqNQFU*c&161*+inB$ z?beuU)t#1)9E2{E6diy#T;rTPlafq?#EjR~z(dk%- z{y7@0hr`(T()Y8EPbgli)lIj1?Ax~b7eaj)9#ike<7}%HK@@;!Mo{kezXS1t(0k71 zARIvyfUyY%K(@fWaNV?d O00004#3RcVi4%-E25xf8IheWCU;o|NGe2%p zDuXgJv$GiU{zvZ7l1EK%#kfcxXgQOZl8~Tb`)j7-pVRT5cz&Edav