[Jaws-commits] r13230 - in branches/0.8/html/gadgets/Contact: languages resources

afz at jaws-project.com afz at jaws-project.com
Fri Aug 3 11:17:19 UTC 2012


Author: afz
Date: 2012-08-03 11:17:19 +0000 (Fri, 03 Aug 2012)
New Revision: 13230

Modified:
   branches/0.8/html/gadgets/Contact/languages/fa.php
   branches/0.8/html/gadgets/Contact/resources/script.js
   branches/0.8/html/gadgets/Contact/resources/style.css
   branches/0.8/html/gadgets/Contact/resources/style.rtl.css
Log:
[Contact]: RTL style & Persian translate

Modified: branches/0.8/html/gadgets/Contact/languages/fa.php
===================================================================
--- branches/0.8/html/gadgets/Contact/languages/fa.php	2012-08-03 11:08:04 UTC (rev 13229)
+++ branches/0.8/html/gadgets/Contact/languages/fa.php	2012-08-03 11:17:19 UTC (rev 13230)
@@ -26,6 +26,7 @@
 define('_FA_CONTACT_RECIPIENT', "گیرنده");
 define('_FA_CONTACT_SUBJECT', "موضوع");
 define('_FA_CONTACT_MESSAGE', "پیام");
+define('_FA_CONTACT_ATTACHMENT', "فایل پیوست");
 define('_FA_CONTACT_REPLY', "پاسخ");
 define('_FA_CONTACT_REPLY_TO', "پاسخ به {0}");
 define('_FA_CONTACT_US', "تماس با ما");
@@ -59,6 +60,7 @@
 define('_FA_CONTACT_PROPERTIES_EMAIL_FORMAT', "فرمت ارسال ایمیل");
 define('_FA_CONTACT_PROPERTIES_EMAIL_FORMAT_PLAINTEXT', "متن ساده");
 define('_FA_CONTACT_PROPERTIES_EMAIL_FORMAT_HTML', "HTML");
+define('_FA_CONTACT_PROPERTIES_ENABLE_ATTACHMENT', "ارسال فایل");
 define('_FA_CONTACT_PROPERTIES_COMMENTS', "توضیحات");
 define('_FA_CONTACT_PROPERTIES_UPDATED', "مشخصات تغییر یافته ثبت شدند");
 define('_FA_CONTACT_ERROR_PROPERTIES_NOT_UPDATED', "خطا هنگام ثبت مشخصات تغییر یافته");
@@ -75,6 +77,8 @@
 define('_FA_CONTACT_MAILER_FROM', "از طرف");
 define('_FA_CONTACT_MAILER_SUBJECT', "موضوع");
 define('_FA_CONTACT_MAILER_MESSAGE', "متن پیام");
+define('_FA_CONTACT_MAILER_ADD_ATTACHMENT', "افزودن فایل");
+define('_FA_CONTACT_MAILER_REMOVE_ATTACHMENT', "حذف");
 define('_FA_CONTACT_MAILER_BUTTON_NEW', "جدید");
 define('_FA_CONTACT_MAILER_BUTTON_PREVIEW', "پیش نمایش");
 define('_FA_CONTACT_MAILER_BUTTON_SEND', "ارسال");

Modified: branches/0.8/html/gadgets/Contact/resources/script.js
===================================================================
--- branches/0.8/html/gadgets/Contact/resources/script.js	2012-08-03 11:08:04 UTC (rev 13229)
+++ branches/0.8/html/gadgets/Contact/resources/script.js	2012-08-03 11:17:19 UTC (rev 13230)
@@ -484,7 +484,7 @@
     } else {
         $('filename').value = response.filename;
         $('file_link').update(response.filename);
-        $('file_size').update('(' + response.filesize + ')');
+        $('file_size').update(response.filesize);
         $('attach_actions').show();
         $('attachment').hide();
     }

Modified: branches/0.8/html/gadgets/Contact/resources/style.css
===================================================================
--- branches/0.8/html/gadgets/Contact/resources/style.css	2012-08-03 11:08:04 UTC (rev 13229)
+++ branches/0.8/html/gadgets/Contact/resources/style.css	2012-08-03 11:17:19 UTC (rev 13230)
@@ -1,7 +1,6 @@
 .title_label {
     text-align: right;
     white-space: nowrap;
-    vertical-align: top;
 }
 
 #c_datagrid  {
@@ -119,5 +118,5 @@
   color: #3465A4;
 }
 .buttons {
-    text-align: right;
+  text-align: right;
 }

Modified: branches/0.8/html/gadgets/Contact/resources/style.rtl.css
===================================================================
--- branches/0.8/html/gadgets/Contact/resources/style.rtl.css	2012-08-03 11:08:04 UTC (rev 13229)
+++ branches/0.8/html/gadgets/Contact/resources/style.rtl.css	2012-08-03 11:17:19 UTC (rev 13230)
@@ -1,13 +1,17 @@
 .title_label {
     text-align: left;
     white-space: nowrap;
-    vertical-align: top;
 }
 
 #c_datagrid  {
     width: 352px;
 }
 
+#c_datagrid label  {
+    font-weight: normal;
+    cursor: default;
+}
+
 #contact_box, #reply_box {
     text-align: right;
 }
@@ -44,6 +48,9 @@
   width: 70px;
   text-align: right;
 }
+#send_email td {
+  text-align: right;
+}
 #send_email select {
   width: 200px;
 }
@@ -69,7 +76,50 @@
 #send_email .options label {
   margin: 0 5px;
 }
-
+#ifrm_upload {
+  display: none;
+}
+#frm_file {
+  padding: 5px 0;
+}
+#frm_file a, #frm_file small, #frm_file img {
+  vertical-align: middle;
+}
+#frm_file .actions {
+  position: relative;
+}
+#frm_file .actions button {
+  height: 24px;
+  margin: 0;
+}
+#frm_file .wrapper {
+  position: absolute;
+  right: 0;
+  top: 0;
+  width: 110px;
+  height: 20px;
+  overflow: hidden;
+}
+#frm_file .wrapper input {
+  position: absolute;
+  left: 0;
+  margin: 0;
+  font-size: 30px;
+  opacity: 0;
+  filter: alpha(opacity=0);
+}
+#attach_actions {
+  display: inline-block;
+}
+#file_size {
+  font-style: italic;
+  color: #555;
+}
+#btn_upload {
+  border: none;
+  background: none;
+  color: #3465A4;
+}
 .buttons {
-    text-align: left;
+  text-align: left;
 }



More information about the Jaws-commits mailing list