From 6d59a64eeddb82542366aff59eca6724bd3a048e Mon Sep 17 00:00:00 2001 From: kytv Date: Sun, 19 Jun 2011 08:45:29 +0000 Subject: [PATCH 1/3] Adjust the alignment of the langbox's flags --- installer/resources/themes/console/dark/console.css | 2 +- installer/resources/themes/console/midnight/console.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/resources/themes/console/dark/console.css b/installer/resources/themes/console/dark/console.css index e82a0aad1b..e56bfb578d 100644 --- a/installer/resources/themes/console/dark/console.css +++ b/installer/resources/themes/console/dark/console.css @@ -782,7 +782,7 @@ button:active { } .langbox { - margin: 8px 2px 2px 5px; + margin: -3px -4px 2px 5px; padding: 7px 10px 5px 10px; color: #EE9; font-size: 7pt; diff --git a/installer/resources/themes/console/midnight/console.css b/installer/resources/themes/console/midnight/console.css index def9fad6df..0e718a749b 100644 --- a/installer/resources/themes/console/midnight/console.css +++ b/installer/resources/themes/console/midnight/console.css @@ -766,10 +766,10 @@ p { } .langbox { - margin: 4px 0px 0px 5px; + margin: 4px 5px 0px 5px; color: #eef; font-size: 7pt; - width: 240px; + width: auto; text-align: center; float: right; vertical-align: middle; From 526e0cda24e0b32b77f188e6ec6e0555865d1895 Mon Sep 17 00:00:00 2001 From: hamada Date: Mon, 20 Jun 2011 16:27:58 +0000 Subject: [PATCH 2/3] Fixed RTL bug in console: Arabic is displayed with right aligned text using a custom console_ar.css --- apps/routerconsole/jsp/css.jsi | 9 + .../themes/console/light/console_ar.css | 1125 +++++++++++++++++ 2 files changed, 1134 insertions(+) create mode 100644 installer/resources/themes/console/light/console_ar.css diff --git a/apps/routerconsole/jsp/css.jsi b/apps/routerconsole/jsp/css.jsi index 8e133a1279..320c8250a8 100644 --- a/apps/routerconsole/jsp/css.jsi +++ b/apps/routerconsole/jsp/css.jsi @@ -43,4 +43,13 @@ <% } %> +<% + // Use RTL theme for Arabic + if (intl.getLang().equals("ar")) { +%> +console_ar.css" rel="stylesheet" type="text/css"> +<% + } +%> + diff --git a/installer/resources/themes/console/light/console_ar.css b/installer/resources/themes/console/light/console_ar.css new file mode 100644 index 0000000000..a33f03928a --- /dev/null +++ b/installer/resources/themes/console/light/console_ar.css @@ -0,0 +1,1125 @@ +/* I2P Theme: Light */ +/* Description: RTL Light blue highlights for Arabic locale. */ +/* Author: dr|z3d */ + +body { + margin: 10px 0px -10px 10px; + text-align: center; + background: #ffe url('images/snowcamo.png'); + color: #000; + font: 10pt/130% "Lucida Sans Unicode", "Bitstream Vera Sans", Verdana, Tahoma, Helvetica, sans-serif; + background: #99f url('images/magic.png') center bottom; +} + +.hide { + display: none; +} + +img { + border: none; +} + +pre { + width: 98%; + overflow: auto; + text-align: right; + font: 8pt "Lucida Console", "DejaVu Sans Mono", Courier, mono; + color: #333; + margin: 10px; +} + +div.logo { + float:right; + padding: 10px; + text-align: center; + font-color: #fff; + margin: 0 10px; + border: 1px solid #447; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + border-radius: 4px; + background: #ffe; + width: 185px; + -moz-box-shadow: inset 0px 0px 1px 1px #bbf; +} + +div.toolbar { + margin: 0; + padding: 10px; + font-weight: bold; + background: #ffe; + border: 1px solid #447; + display: none !important; +} + +div.toolbar a:link { + border: 1px outset #ddddc0; + padding: 0px 5px 1px 5px; + line-height: 250%; + background: #bbf; + text-decoration: none; + border-radius: 4px; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + display: none !important; +} + +div.toolbar a:visited { + background: #ffe; +} + +div.toolbar a:hover{ + border: 1px solid #eeffef; + background: #003; + color: #f60; +} + +a:active{ + color: #900; +} + +div.routersummaryouter { + float: right; + width: 200px; + margin: 0 0 10px 0px; + padding: 0; + border: 0; + clear: left;/* fixes a bug in Opera */ + text-align: center !important; + display: block; +} + +div.routersummary { + width: 180px; + padding: 8px 8px 10px 8px; + text-align: center !important; + border: 1px solid #447; + color: #000; + font-size: 8pt; + clear: left;/* fixes a bug in Opera */ + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + border-radius: 4px; + background: #ffe url('images/magic.png') center bottom; + -moz-box-shadow: inset 0px 0px 1px 1px #bbf; + -khtml-box-shadow: inset 0px 0px 1px 1px #bbf; + box-shadow: inset 0px 0px 1px 1px #bbf; +} + +div.routersummary input[type=text] { + text-align: right !important; +} + +div.routersummary hr { + color: #99f; + background: #99f; + height: 1px; + border-bottom: 1px solid #99f; + margin: 8px -7px 8px -7px; + -moz-box-shadow: inset 0px 1px 1px 1px #fff; + -khtml-box-shadow: inset 0px 1px 0px #fff; + box-shadow: inset 0px 1px 1px 1px #fff; +} + +div routersummary hr:last-child { +} + +div.routersummary h3 { + border: 0; + font-size: 9.5pt; + letter-spacing: 0.04em; + margin: -4px -3px; + padding: 2px 0; + background: #ffe; + text-transform: uppercase; + background: #ffe url('images/header.png') center center repeat-x; + border: 1px solid #99f !important; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + border-radius: 3px; + -moz-box-shadow: 0px 1px 5px #bbf; + -moz-box-shadow: outset 0px 0px 2px 1px #bbf; + -khtml-box-shadow: outset 0px 0px 2px 1px #bbf; + box-shadow: outset 0px 0px 2px 1px #bbf; +} + +div.routersummary h3 a { + text-decoration: none; +} + +div.routersummary h3:hover { + background: #ffa url('images/header.png') center center repeat-x !important; + text-shadow: 0 0 0; + -moz-box-shadow: inset 0px 0px 2px 1px #ffa; + -khtml-box-shadow: inset 0px 0px 2px 1px #ffa; + box-shadow: inset 0px 0px 2px 1px #ffa; +} + +div.routersummary h4 { + border: 0px solid #fff; + border-bottom: 0 !important; + font-size: 8.5pt; + letter-spacing: 0.02em; + margin: -6px -6px -7px !important; + padding: 3px 3px 5px 3px; + background: #ddf url(images/magic.png); + text-transform: capitalize; + text-decoration: none !important; + color: #2b2; + line-height: 105%; + -moz-box-shadow: inset 0px 0px 1px 30px #dfd; + -khtml-box-shadow: 0px 0px 1px 1px #dfd; + box-shadow: 0px 0px 1px 1px #fdf; +} + +div.routersummary table { + border: 0; + text-align: center !important; + margin: -7px -5px -6px -5px; + width: 190px !important; + overflow: hidden; + font-size: 8pt; + padding: 0px -10px; + background-image: none !important; + background-color: transparent !important; +} + +div.routersummary tr { + background-image: none !important; + background-color: transparent !important; + border: 0 !important; +} + +div.routersummary td:first-child { + max-width: 90px; + overflow: hidden; +} + +div.routersummary a:hover { + color: #f60; +} + +div.routersummary td { + padding: 1px 3px; + background-image: none !important; + border: 0 !important; +} + +div.tunnels td:first-child { + width: 16px; + text-align: right; + padding-right: 1px; +} + +div.tunnels td:last-child { + text-align: right; + padding-right: 1px; +} + +div.tunnels img, div.tunnels img:hover { + opacity: 1 !important; +} + +div.routersummary img:first-child { + margin-bottom: -2px !important; + opacity: 0.7; +} + +div.routersummary img:hover:first-child { + margin-bottom: -2px !important; + opacity: 1; +} + +div.tunnels { + margin-top: 6px !important; + margin-left: -2px !important; + margin-bottom: 3px !important; + padding-top: 3px !important; +} + +div.tunnels table { + margin: -7px 0 -5px -4px !important; +} + +div.tunnels td, div.tunnels img:first-child { + margin: 0 !important; + text-transform: capitalize; +} + +.tunnels tr { + padding: 4px 0 !important; +} + +div.routersummary p { + padding: 0; +} + +div.refresh { + margin-top: 10px !important; + margin-bottom: 10px !important; + padding: 2px 0 0px 0 !important; +} + +/* proxy error messages */ + +div.warning { + margin: 20px 20px 30px 240px; + padding: 5px 25px 20px 75px; + background: #fff; + border: 1px solid #447; + text-align: right; + color: inherit; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + border-radius: 4px; + text-align: justify; + background-image:url("../images/itoopie_sm.png"); + background-position:10px center; + background-repeat:no-repeat; + -moz-box-shadow: inset 0px 0px 1px 0px #d00; + word-wrap: break-word; + min-width: 400px; +} + +/* console error messages */ + +div.sorry { + margin: 5px 10px 10px 207px; + padding: 20px 20px 20px 75px; + background: #ffe; + border: 1px solid #447; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + border-radius: 4px; + text-align: justify; + background-image: url("images/errortriangle.png"); + background-position: 15px center; + background-repeat: no-repeat; + -moz-box-shadow: inset 0px 0px 0px 1px #d00; + word-wrap: break-word; + font-weight: bold; + color: #531; +} + +div.sorry hr { + color: #531; + background: #531; + height: 1px; + border: 1px solid #531; + margin: 10px 0 15px 0; +} + +div.main { + margin: 10px 10px 20px 207px; + padding: 0 15px 15px 15px; + background: #ffe; + text-align: right; + color: #001; + width: auto; + min-width: 500px; + border: 1px solid #447; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: inset 0px 0px 1px 1px #bbf; + -khtml-box-shadow: inset 0px 0px 1px 1px #bbf; + box-shadow: inset 0px 0px 1px 1px #bbf; + background: #ffe url('images/magic.png') center bottom;} + +div.main hr, hr { + color: #113; + background: #113; + height: 1px; + border: 0px solid #113; + margin: 10px 0; +} + +hr:last-child { + margin-top: 20px !important; +} + +div.main textarea { + background: #ffe; + color: #001; + font: 8pt "Lucida Console", "DejaVu Sans Mono", Courier, mono; +} + +div.news { + margin: 0px 10px 5px 207px; + padding: 7px 20px 7px 20px; + border: 1px solid #447; + color: #224; + border-radius: 4px; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + text-align: right !important; + font-size: 7.5pt; + line-height: 140%; + -moz-box-shadow: inset 0px 0px 1px 1px #bbf; + -khtml-box-shadow: inset 0px 0px 1px 1px #bbf; + box-shadow: inset 0px 0px 1px 1px #bbf; + background: #ffe url('images/magic.png') center bottom; + min-width: 490px; +} + +div.news p { + font-size: 9pt; + text-align: justify !important; + line-height: 120%; + margin-top: -7px; + padding: 0 15px; +} + +div.news hr{ + color: #225; + background: #225; + height: 1px; + border: 0px dotted #225; + margin: 10px 0 5px; + opacity: 0.6; +} + +div.news li { + text-align: justify; + list-style: none; + margin: 5px 0 16px 0 !important; + vertical-align: bottom; + border: 1px solid #113; + border-left: 5px solid #113; + padding: 5px 5px; + border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + -khtml-border-radius: 0 4px 4px 0; + font-size: 10pt; + opacity: 1; + background: #ffe url('images/header.png') center center repeat-x; + -moz-box-shadow: 0 1px 1px 1px rgba(176, 176, 216, 0.4); + -moz-box-shadow: 0 1px 1px 1px rgba(176, 176, 216, 0.4); + font-weight: bold; + text-transform: capitalize; +} + +div.news li:first-child { + margin-top: 10px !important; +} + +div.news h3 { + background: none !important; + text-align: right; + border: none !important; + padding-left: 0; + padding-top: 0px; + border-bottom: 1px dotted #225 !important; + -moz-box-shadow: none; + -khtml-box-shadow: none; + box-shadow: none; + font-size: 10pt !important; + letter-spacing: 0.05em; + text-transform: capitalize !important; + text-shadow: 0px 0px 0px #77f; +} + +div.news i { + font-style: normal; +} + +div.news h4 { + border-bottom: 0px; + padding: 0; + margin: 0 0 -10px 0; + font-size: 11pt; +} + +div.confignav { + padding: 15px 10px !important; + margin: 15px 0 15px 0; + background: url('images/header.png') center center repeat-x; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + border-radius: 4px; + border: 1px solid #115; + font-size: 9.5pt !important; + font-weight: bold !important; + line-height: 160% !important; + -moz-box-shadow: 0 2px 1px 1px rgba(176, 176, 216, 0.4); + -khtml-box-shadow: 0 2px 1px 1px rgba(176, 176, 216, 0.4); + box-shadow: 0 2px 1px 1px rgba(176, 176, 216, 0.4); + opacity: 1; + min-width: 400px; +} + +div.configure { + min-width: 400px; + margin-bottom: 0px; +} + +div.configure h3, div.graphspanel h3 { + border: 1px solid #115; + border-left: 5px solid #115; + padding: 5px; + margin: 15px 0 15px 0; + border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + -khtml-border-radius: 0 4px 4px 0; + background: #ffe; + text-align: right; +} + +div.graphspanel { + text-align: center !important; + margin: 15px 0px -15px; +} + +div.graphspanel img { + border: 1px solid #447; + padding: 2px; + margin: 6px; + text-align: center !important; + background: #001; + -moz-box-shadow: inset 0px 0px 1px 1px #99f; + opacity: 0.9; +} + +div.graphspanel img:hover { + border: 1px solid #447; + padding: 2px; + margin: 6px; + text-align: center !important; + background: #001; + -moz-box-shadow: inset 0px 0px 2px 1px #f60; + opacity: 1; +} + +div.graphspanel form { + text-align: right; +} + +div.messages { + padding: 10px; + margin: 10px 0 15px 0; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + border-radius: 4px; + border: 1px solid #447; + background: #fff url('images/magic.png'); + font-weight: bold; + -moz-box-shadow: 0 2px 1px 1px rgba(176, 176, 216, 0.4); + -khtml-box-shadow: 0 2px 1px 1px rgba(176, 176, 216, 0.4); + box-shadow: 0 2px 1px 1px rgba(176, 176, 216, 0.4); +} + +div.error { + color: #d00000; +} + +div.notice { + font-style: italic; +} + +div.messages li { + text-align: justify !important; + font-weight: bold; + list-style: url(images/warning.png) !important; + margin: 0 10px 0 35px !important; + padding: 5px 10px !important; + border: 0px !important; +} + +table { + border-collapse: collapse; + width: 100%; + border: 1px solid #447; + margin: 1px -15px 5px 0px; + cell-padding: 1px; + font-size: 7pt; + background: #b4c8ff url('images/tabletitlelight.png') repeat-x; + font: 7pt/130% "Lucida Sans Unicode", Verdana, "Bitstream Vera Sans", Tahoma, Helvetica, sans-serif; +} + +table hr { + padding: 0px 0; + color: #99f; + background: #99f; + border: 0px solid #99f; + margin: 0px 0px; + height: 1px; + display: none; +} + +th { + padding: 6px 2px; + color: #000; + background: #ffe url('images/header.png') center center repeat-x; + text-align: center; + font-size: 9pt; + line-height: 110%; + border-bottom: 1px solid #447 !important; + border-top: 1px solid #447 !important; +} + +tr { + vertical-align: middle !important; + align: center; +} + +tr:nth-child(even) { + background: #eef url(images/magic.png); +} + +tr:nth-child(odd) { + background: #fff url(images/magic.png); +} + +td { + padding: 5px 3px; + color: #000; + vertical-align: middle; + border-top: 1px inset #447; + border-bottom: 1px outset #99f; +} + +tt { + font: bold 8pt "Lucida Console", "DejaVu Sans Mono", Courier, mono; + color: #008000; + padding: 1px 5px; +} + +div.main li { + text-align: right; + list-style: square; + margin: 2px 5px 0px 20px; + padding: 1px 10px 1px 10px; + line-height: 150%; + word-wrap: break-word; +} + +div.main li { + text-align: right; + list-style: square; + margin: 2px 20px 0px 40px; + padding: 1px 10px 1px 10px; + line-height: 150%; + word-wrap: break-word; +} + +div.main li b { + color: #514 !important; + color: #003 !important; + letter-spacing: 0.01em; + font-size: 9.5pt; + line-height: 170%; +} + +div.main li:first-child { + margin-top: 10px !important; +} +.tidylist { + text-align: justify !important; +} + +.tidylist li:first-child { + margin-top: -10px !important; +} + +.tidylist:last-child { + padding-bottom: 5px; +} + +.tidylist code { + text-align: right; + font: 9pt "Lucida Console", "DejaVu Sans Mono", Courier, mono; + color: #910; + padding: 2px 3px; + font-weight: bold; +} + +ol { + + margin: 1px 0 0 5px; + padding: 1px 0 0 20px; +} + +ul { + display: inline; + margin: 0; + padding: 0; +} + +code { + text-align: right; + font: 8pt "Lucida Console", "DejaVu Sans Mono", Courier, mono; +} + + +code { + text-align: right; + font: 9pt "Lucida Console", "DejaVu Sans Mono", Courier, mono; + color: #390; + font-weight: bold; +} + +a:link{ + color: #359; + text-decoration: none; + font-weight: bold; + word-wrap: break-word; +} + +a:visited{ + color: #218; + text-decoration: none; + font-weight: bold; +} + +a:hover{ + color: #f60; + text-decoration: underline; + font-weight: bold; +} + +a:active{ + color: #f93; + text-decoration: underline; + font-weight: bold; +} + +.links li { + list-style: url(images/link.png) !important; + padding-bottom: -2px; + text-align: justify; + line-height: 120% !important; + padding-right: -100px !important; +} + +.links li:first-child { + padding-top: 0 !important; +} + +.links li:last-child { + padding-bottom: -15px !important; +} + +.links ul { + margin-top: -5px !important; +} + +p { + text-align: justify; + line-height: 160%; +} + +h1 { + text-align: right; + color: #115; + padding: 10px 15px; + margin: 0 10px 10px 207px; + font: normal bold 16pt/120% "Lucida Sans Unicode", "Bitstream Vera Sans", Verdana, Tahoma, Helvetica, sans-serif; + letter-spacing: 0.15em; + text-transform: uppercase; + -moz-box-shadow: inset 0px 0px 1px 1px #bbf; + -khtml-box-shadow: inset 0px 0px 1px 1px #bbf; + box-shadow: inset 0px 0px 1px 1px #bbf; + white-space: normal; + background: #ffe url('images/magic.png') center center repeat; + border: 1px solid #447; + border-radius: 4px; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + min-width: 500px; +} + +h2 { + font-size: 13pt; + color: #115; + letter-spacing: 0.07em; + background: url('images/header.png') center center repeat-x; + padding: 10px; + wordwrap: none; + border: 1px solid #115; + border-radius: 4px; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + margin: 15px 0px 15px 0 !important; + -moz-box-shadow: 0 2px 1px 1px rgba(176, 176, 216, 0.4); + -khtml-box-shadow: 0 2px 1px 1px rgba(176, 176, 216, 0.4); + box-shadow: 0 2px 1px 1px rgba(176, 176, 216, 0.4); + word-wrap: break-word; + opacity: 1; +} + +h2 a, h3 a { + text-transform: capitalize; + letter-spacing: 0.03em; +} + +h2 a:hover, h3 a:hover { + text-shadow: none; +} + +.routersummary h3 a{ + text-transform: uppercase; +} + +h2 a:hover { + text-shadow: 0px 0px 1px rgba(255, 255, 72, 0.9); + border-bottom: 1px #ff6600; + padding-bottom: 5px; +} + +h2 img { + opacity: 0.9 !important; +} + +h3 { + border: 1px solid #115; + border-left: 5px solid #115; + padding: 5px 5px 5px 8px; + margin: 12px 0 15px 0; + border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + -khtml-border-radius: 0 4px 4px 0; + background: url('images/header.png') center center repeat-x !important; + font-size: 11pt; + color: #115; + -moz-box-shadow: 0 2px 1px 1px rgba(176, 176, 216, 0.4); + -khtml-box-shadow: 0 2px 1px 1px rgba(176, 176, 216, 0.4); + box-shadow: 0 2px 1px 1px rgba(176, 176, 216, 0.4); + opacity: 1; + letter-spacing: 0.07em; +} + +h4 { + border-bottom: 1px; + border-bottom-style: solid; + border-bottom-color: #447; + padding: 0 0 10px 0; + margin: 5px 0 10px 0; + font-size: 11pt; +} + +button, button:visited{ + font: bold 9pt "Lucida Sans Unicode", "Bitstream Vera Sans", Verdana, Tahoma, Helvetica, sans-serif; + border: 1px outset #66a; + padding: 1px 3px; + background: #ffe !important; + text-decoration: none; + border-radius: 4px; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + font-size: 8pt; + font-weight: bold; + margin: 0 1px; + text-align: center; + min-width: 80px; + -moz-box-shadow: inset 0px 0px 2px 1px #fff; + -khtml-box-shadow: inset 0px 2px 8px 0px #fff; + box-shadow: inset 0px 2px 8px 0px #fff; + color: #316; +} + +button:hover{ + border: 1px solid #f60; + background: #f60 !important; + color: #fff; + -moz-box-shadow: inset 0px 0px 0px 1px #fff; + -khtml-box-shadow: inset 0px 0px 0px 1px #fff; + box-shadow: inset 0px 0px 0px 1px #fff; +} + +button:active{ + border: 1px solid #f60; + background: #202 !important; + color: #f60; + -moz-box-shadow: inset 0px 0px 0px 1px #f60; + box-shadow: inset 0px 0px 0px 1px #f60; + -khtml-box-shadow: inset 0px 0px 0px 1px #f60; +} + +.underline { + border-bottom: 1px solid #000022; + padding: 5px 0px 5px 0px; + margin: 0px 0px 10px 0px; +} + +.langbox { + margin: 3px 10px 4px 5px; + padding: 2px 5px; + color: #001; + font-size: 7pt; + width: 260px; + text-align: right; + float: right; + vertical-align: middle; + opacity: 1 !important; +} + +.langbox img { + opacity: 0.8 !important; +} + +.langbox img:hover { + opacity: 1 !important; +} + +input, input:visited { + border: 1px outset #999; + background: #ffe; + color: #316; + margin: 5px; + font: bold 8pt "Lucida Sans Unicode", "Bitstream Vera Sans", Verdana, Tahoma, Helvetica, sans-serif; + padding: 1px 2px; + text-decoration: none; + border-radius: 4px; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + -moz-box-shadow: inset 0px 2px 8px 0px #fff; + color: #813 + opacity: 1; +} + + +input:hover { + background: #f60; + color: #fff; + border: 1px solid #f60; + opacity: 1.0; + -moz-box-shadow: inset 0px 0px 0px 1px #fff; + +} + +input:active { + background: #002; + color: #f60; + border: 1px solid #f60; + opacity: 1.0; + -moz-box-shadow: inset 0px 0px 0px 1px #f60; + -khtml-box-shadow: inset 0px 0px 0px 1px #f60; + box-shadow: inset 0px 0px 0px 1px #f60; +} + +input[type=text], input[type=password] { + background: #ffe; + color: #001; + margin: 5px 10px 5px 10px; + padding: 4px 2px; + font: bold 8pt "Lucida Sans Unicode", "Bitstream Vera Sans", Verdana, Tahoma, Helvetica, sans-serif; + border: 1px solid #447; + text-decoration: none; +} + +submit { + background: #f00; + color: #ffe; + margin: 10px 2px 10px 0; + padding: 2px; + font-family: "Lucida Sans Unicode", "Bitstream Vera Sans", Verdana, Tahoma, Helvetica, sans-serif; + font-weight: bold; + border: 1px solid #447; + text-decoration: none; +} + +input checkbox { + border: 0 !important; +} + +select { + background: #ffe; + color: #003; + margin: 5px 10px 5px 10px; + padding: 4px; + border: 1px solid #447; + min-width: 110px; + font: 9pt "Lucida Sans Unicode", "Bitstream Vera Sans", Verdana, Tahoma, Helvetica, sans-serif; + border-radius: 4px; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + text-align: left !important; +} + +select:active { + -moz-box-shadow: inset 0px 0px 0px 1px #f60; + -khtml-box-shadow: inset 0px 0px 0px 1px #f60; + box-shadow: inset 0px 0px 0px 1px #f60; +} + +textarea { + padding: 5px; + margin: 5px 15px 5px 10px; + background: #ffe; + color: #003; + border-radius: 4px; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + font: 8pt "Lucida Console", "DejaVu Sans Mono", Courier, mono; + min-height: 100px; + min-width: 97%; + border: 1px solid #447; +} + +textarea:active { + -moz-box-shadow: inset 0px 0px 0px 1px #f60; + -khtml-box-shadow: inset 0px 0px 0px 1px #f60; + box-shadow: inset 0px 0px 0px 1px #f60; +} + +.proxyfooter { + margin: 0 20px 10px 240px; + padding: 20px 25px 20px 75px; + font-color: #f00; + font-size: 7pt; + text-align: right !important; + border-radius: 4px; + -moz-border-radius: 4px; + -khtml-border-radius: 4px; + border: 1px solid #447; + display: none; +} + +.statusnotes { + font-style: normal; + font-size: 8pt; + font-color: #225 !important; + text-align: center; + border: 1px solid #447 !important; + border-top: 0 !important; + margin: -5px 0 5px 0; + padding: 7px; + background: url("images/header.png") repeat scroll center center #eef; + letter-spacing: 0em !important; +} + +div.joblog { + overflow: auto; + border: 0; + margin-top: 5px; + } + +div.joblog i { + color: #050; + font-weight: bold; +} + + div.joblog ul { + word-wrap: break-word !important; + text-align: justify; + line-height: 100% !important; + margin-top: -5px !important; +} + + div.joblog li { + word-wrap: break-word !important; + text-align: justify !important; + line-height: 115% !important; + padding: 0; + font-size: 9pt !important; +} + +div.joblog li:last-child { + margin-bottom: -5px; +} + +div.joblog li:first-child { + margin-top: 10px !important; +} + +div.joblog form:first-child { + margin-top: 10px; +} + +div.joblog table { + margin-top: 15px; +} + +div.joblog p { + line-height: 130%; +} + +div.joblog hr { + margin: 15px 0; +} + +div.joblog h3 { + margin-bottom: 5px; +} + +.smallhead { + font-size: 7pt +} + +.mediumtags { + font-size: 8pt; + font-style: italic; + font-weight: bold; +} + +.optbox { + min-width: 16px !important; + max-width: 16px !important; + width: 16px !important; + min-height: 16px; + max-height: 16px; + height: 16px; + opacity: 1.0; + border: 0; + margin: 5px 5px 5px 10px; + padding: 2px; +} + +.optbox:hover { + min-width: 16px !important; + max-width: 16px !important; + width: 16px !important; + min-height: 16px; + max-height: 16px; + height: 16px; + opacity: 1.0; + border: 0; + margin: 5px 5px 5px 10px; + padding: 2px; +} + +.cells { + border-left: 1px outset #bbf; + border-top: 1px inset #99f !important; + border-bottom: 1px inset #99f !important; +} + +.tablefooter { + background: #b4c8ff url('images/tabletitlelight.png') repeat-x; +} + +.tablefooter tr, .tablefooter td { + background: #ffe url('images/header.png') center center repeat-x; + border-top: 1px solid #447; + border-bottom: 1px solid #447 !important; + padding: 8px 2px !important; + font-size: 7pt; + line-height: 110%; +} + +.formaction { + text-align: right; +} + +div.footnote { + text-align: right; + color: #447; + font-size: 7pt; + margin-bottom: -5px !important; +} + +div.footnote hr{ + margin: 20px 0 5px 0 !important; + color: #447; + background: #447; + height: 1px; + border: 0px solid #447; +} + +.topness { + font-size: 7.5pt; + text-align: right; + margin-top: 0px; + margin-bottom: -18px; + margin-right: 5px; +} From d4e8517e9f31ba0605c847d0bf8ede24ae578344 Mon Sep 17 00:00:00 2001 From: hamada Date: Mon, 20 Jun 2011 16:29:45 +0000 Subject: [PATCH 3/3] Add Arabic translation of susimail --- apps/susimail/locale/messages_ar.po | 441 ++++++++++++++++++++++++++++ 1 file changed, 441 insertions(+) create mode 100644 apps/susimail/locale/messages_ar.po diff --git a/apps/susimail/locale/messages_ar.po b/apps/susimail/locale/messages_ar.po new file mode 100644 index 0000000000..afef1435ec --- /dev/null +++ b/apps/susimail/locale/messages_ar.po @@ -0,0 +1,441 @@ +# I2P +# Copyright (C) 2009 The I2P Project +# This file is distributed under the same license as the susimail package. +# To contribute translations, see http://www.i2p2.de/newdevelopers +# foo , 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: I2P susimail\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-06-18 16:16+0000\n" +"PO-Revision-Date: 2011-06-18 19:18-0000\n" +"Last-Translator: hamada \n" +"Language-Team: duck \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#: src/src/i2p/susi/webmail/WebMail.java:454 +msgid "unknown" +msgstr "مجهول" + +#: src/src/i2p/susi/webmail/WebMail.java:473 +msgid "Warning: no transfer encoding found, fallback to 7bit." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:478 +#, java-format +msgid "No encoder found for encoding \\''{0}\\''." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:484 +msgid "Warning: no charset found, fallback to US-ASCII." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:498 +#, java-format +msgid "Charset \\''{0}\\'' not supported." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:502 +#, java-format +msgid "Part ({0}) not shown, because of {1}" +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:525 +msgid "Download" +msgstr "تحميل" + +#: src/src/i2p/susi/webmail/WebMail.java:525 +msgid "File is packed into a zipfile for security reasons." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:525 +#, java-format +msgid "attachment ({0})." +msgstr "المرفقات ({0})." + +#: src/src/i2p/susi/webmail/WebMail.java:529 +#, java-format +msgid "Attachment ({0})." +msgstr "المرفقات ({0})." + +#: src/src/i2p/susi/webmail/WebMail.java:579 +msgid "Need username for authentication." +msgstr "بحاجة الى اسم المستخدم للدخول." + +#: src/src/i2p/susi/webmail/WebMail.java:583 +msgid "Need password for authentication." +msgstr "بحاجة الى كلمة السر للدخول." + +#: src/src/i2p/susi/webmail/WebMail.java:587 +msgid "Need hostname for connect." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:592 +msgid "Need port number for pop3 connect." +msgstr "بحاجة الى رقم المنفذ pop3 للإتصال." + +#: src/src/i2p/susi/webmail/WebMail.java:599 +msgid "POP3 port number is not in range 0..65535." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:605 +msgid "POP3 port number is invalid." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:611 +msgid "Need port number for smtp connect." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:618 +msgid "SMTP port number is not in range 0..65535." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:624 +msgid "SMTP port number is invalid." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:671 +msgid "User logged out." +msgstr "تم خروج المستخدم." + +#: src/src/i2p/susi/webmail/WebMail.java:675 +msgid "Internal error, lost connection." +msgstr "خطأ داخلي، تم انقطاع الاتصال." + +#: src/src/i2p/susi/webmail/WebMail.java:771 +#, java-format +msgid "On {0} {1} wrote:" +msgstr "في {0} {1} كتب:" + +#: src/src/i2p/susi/webmail/WebMail.java:818 +msgid "begin forwarded mail" +msgstr "قم بتحويل البريد" + +#: src/src/i2p/susi/webmail/WebMail.java:840 +msgid "end forwarded mail" +msgstr "ايقاق تحويل البريد" + +#: src/src/i2p/susi/webmail/WebMail.java:847 +#: src/src/i2p/susi/webmail/WebMail.java:1701 +msgid "Could not fetch mail body." +msgstr "فشل في تحميل البريد" + +#: src/src/i2p/susi/webmail/WebMail.java:875 +msgid "Message id not valid." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:958 +#, java-format +msgid "No Encoding found for {0}" +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:962 +#, java-format +msgid "Could not encode data: {0}" +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:967 +#, java-format +msgid "Error reading uploaded file: {0}" +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1045 +msgid "Error parsing download parameter." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1089 +msgid "Invalid pagesize number, resetting to default value." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1113 +msgid "No messages marked for deletion." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1133 +#, java-format +msgid "Error deleting message: {0}" +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1144 +#, java-format +msgid "1 message deleted." +msgid_plural "{0} messages deleted." +msgstr[0] "" +msgstr[1] "" + +#: src/src/i2p/susi/webmail/WebMail.java:1264 +#: src/src/i2p/susi/webmail/WebMail.java:1587 +msgid "Login" +msgstr "الدخول" + +#: src/src/i2p/susi/webmail/WebMail.java:1266 +#, java-format +msgid "1 Message" +msgid_plural "{0} Messages" +msgstr[0] "" +msgstr[1] "" + +#: src/src/i2p/susi/webmail/WebMail.java:1268 +msgid "Show Message" +msgstr "أظهر الرسالة" + +#: src/src/i2p/susi/webmail/WebMail.java:1325 +#, java-format +msgid "Error decoding content: {0}" +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1330 +msgid "Error decoding content: No encoder found." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1377 +msgid "no subject" +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1394 +msgid "Found no valid sender address." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1400 +#, java-format +msgid "Found no valid address in \\''{0}\\''." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1419 +msgid "No recipients found." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1426 +msgid "Quoted printable encoder not available." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1431 +msgid "Header line encoder not available." +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1482 +msgid "Mail sent." +msgstr "بريد مرسل." + +#: src/src/i2p/susi/webmail/WebMail.java:1519 +msgid "Send" +msgstr "أرسل" + +#: src/src/i2p/susi/webmail/WebMail.java:1520 +msgid "Cancel" +msgstr "إلغاء" + +#: src/src/i2p/susi/webmail/WebMail.java:1521 +msgid "Delete Attachment" +msgstr "حذف المرفقات" + +#: src/src/i2p/susi/webmail/WebMail.java:1522 +#: src/src/i2p/susi/webmail/WebMail.java:1607 +#: src/src/i2p/susi/webmail/WebMail.java:1688 +msgid "Reload Config" +msgstr "اعد تحميل الاعدادات" + +#: src/src/i2p/susi/webmail/WebMail.java:1523 +#: src/src/i2p/susi/webmail/WebMail.java:1608 +#: src/src/i2p/susi/webmail/WebMail.java:1689 +msgid "Logout" +msgstr "الخروج" + +#: src/src/i2p/susi/webmail/WebMail.java:1546 +#: src/src/i2p/susi/webmail/WebMail.java:1693 +msgid "From:" +msgstr "من:" + +#: src/src/i2p/susi/webmail/WebMail.java:1547 +msgid "To:" +msgstr "الى:" + +#: src/src/i2p/susi/webmail/WebMail.java:1548 +msgid "Cc:" +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1549 +msgid "Bcc:" +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1550 +#: src/src/i2p/susi/webmail/WebMail.java:1695 +msgid "Subject:" +msgstr "العنوان:" + +#: src/src/i2p/susi/webmail/WebMail.java:1551 +msgid "Bcc to self" +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1554 +msgid "New Attachment:" +msgstr "مرفق جديد:" + +#: src/src/i2p/susi/webmail/WebMail.java:1554 +msgid "Upload File" +msgstr "حمل ملف" + +#: src/src/i2p/susi/webmail/WebMail.java:1560 +msgid "Attachments:" +msgstr "المرفقات:" + +#: src/src/i2p/susi/webmail/WebMail.java:1582 +msgid "User" +msgstr "اسم المستخدم" + +#: src/src/i2p/susi/webmail/WebMail.java:1583 +msgid "Pass" +msgstr "كلمة السر" + +#: src/src/i2p/susi/webmail/WebMail.java:1584 +msgid "Host" +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1585 +msgid "POP3-Port" +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1586 +msgid "SMTP-Port" +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1587 +msgid "Create Account" +msgstr "أنشئ حساب" + +#: src/src/i2p/susi/webmail/WebMail.java:1587 +msgid "Reset" +msgstr "" + +#: src/src/i2p/susi/webmail/WebMail.java:1599 +msgid "Really delete the marked messages?" +msgstr "هل ترغب في حذف الرسائل المعلمة؟" + +#: src/src/i2p/susi/webmail/WebMail.java:1599 +msgid "Yes, really delete them!" +msgstr "نعم، قم بحذفهم" + +#: src/src/i2p/susi/webmail/WebMail.java:1601 +#: src/src/i2p/susi/webmail/WebMail.java:1680 +msgid "New" +msgstr "جديد" + +#: src/src/i2p/susi/webmail/WebMail.java:1602 +#: src/src/i2p/susi/webmail/WebMail.java:1681 +msgid "Reply" +msgstr "أجب" + +#: src/src/i2p/susi/webmail/WebMail.java:1603 +#: src/src/i2p/susi/webmail/WebMail.java:1682 +msgid "Reply All" +msgstr "أجب الجميع" + +#: src/src/i2p/susi/webmail/WebMail.java:1604 +#: src/src/i2p/susi/webmail/WebMail.java:1683 +msgid "Forward" +msgstr "الى الأمام" + +#: src/src/i2p/susi/webmail/WebMail.java:1605 +#: src/src/i2p/susi/webmail/WebMail.java:1684 +msgid "Delete" +msgstr "حذف" + +#: src/src/i2p/susi/webmail/WebMail.java:1606 +msgid "Check Mail" +msgstr "تحقق من بريد" + +#: src/src/i2p/susi/webmail/WebMail.java:1610 +msgid "Sender" +msgstr "المُرسل" + +#: src/src/i2p/susi/webmail/WebMail.java:1611 +msgid "Subject" +msgstr "عنوان" + +#: src/src/i2p/susi/webmail/WebMail.java:1612 +msgid "Date" +msgstr "تاريخ" + +#: src/src/i2p/susi/webmail/WebMail.java:1613 +msgid "Size" +msgstr "حجم" + +#: src/src/i2p/susi/webmail/WebMail.java:1639 +#, java-format +msgid "1 Byte" +msgid_plural "{0} Bytes" +msgstr[0] "" +msgstr[1] "" + +#: src/src/i2p/susi/webmail/WebMail.java:1644 +msgid "Mark All" +msgstr "تعليم الجميع" + +#: src/src/i2p/susi/webmail/WebMail.java:1645 +msgid "Invert Selection" +msgstr "قلب الاختيار" + +#: src/src/i2p/susi/webmail/WebMail.java:1646 +msgid "Clear" +msgstr "مسح" + +#: src/src/i2p/susi/webmail/WebMail.java:1649 +#: src/src/i2p/susi/webmail/WebMail.java:1650 +msgid "First" +msgstr "الأول" + +#: src/src/i2p/susi/webmail/WebMail.java:1649 +#: src/src/i2p/susi/webmail/WebMail.java:1650 +#: src/src/i2p/susi/webmail/WebMail.java:1685 +msgid "Previous" +msgstr "السابق" + +#: src/src/i2p/susi/webmail/WebMail.java:1651 +#, java-format +msgid "Page {0} of {1}" +msgstr "صقحة {0} من {1}" + +#: src/src/i2p/susi/webmail/WebMail.java:1653 +#: src/src/i2p/susi/webmail/WebMail.java:1654 +msgid "Last" +msgstr "الأخير" + +#: src/src/i2p/susi/webmail/WebMail.java:1653 +#: src/src/i2p/susi/webmail/WebMail.java:1654 +#: src/src/i2p/susi/webmail/WebMail.java:1686 +msgid "Next" +msgstr "التالي" + +#: src/src/i2p/susi/webmail/WebMail.java:1657 +msgid "Pagesize:" +msgstr "حجم الصفحة:" + +#: src/src/i2p/susi/webmail/WebMail.java:1658 +msgid "Set" +msgstr "حدد" + +#: src/src/i2p/susi/webmail/WebMail.java:1668 +msgid "Really delete this message?" +msgstr "هل ترغب في حذف هذه الرسالة؟" + +#: src/src/i2p/susi/webmail/WebMail.java:1668 +msgid "Yes, really delete it!" +msgstr "نعم، قم بحذفه" + +#: src/src/i2p/susi/webmail/WebMail.java:1687 +msgid "Back to Folder" +msgstr "الرجوع الى المجلد" + +#: src/src/i2p/susi/webmail/WebMail.java:1694 +msgid "Date:" +msgstr "تاريخ:" + +#: src/src/i2p/susi/webmail/WebMail.java:1705 +msgid "Could not fetch mail." +msgstr "فشل في تحميل البريد." +