diff --git a/lib/Pi/Application/Bootstrap/Resource/Permission.php b/lib/Pi/Application/Bootstrap/Resource/Permission.php index cecf7d7db1..95956eb8c5 100644 --- a/lib/Pi/Application/Bootstrap/Resource/Permission.php +++ b/lib/Pi/Application/Bootstrap/Resource/Permission.php @@ -58,8 +58,11 @@ public function checkAction(MvcEvent $e) if (!isset($this->options['check_close']) || false !== $this->options['check_close'] ) { - if (Pi::config('site_close')) { - $this->denyAccess($e); + if (Pi::config('site_close') + && !Pi::service('permission')->isAdmin() + ) { + $message = __('The website is in maintenance - we are back in a couple of minutes !'); + $this->denyAccess($e, $message); return; } } @@ -159,13 +162,14 @@ public function checkModule(MvcEvent $e) * Set denied error * * @param MvcEvent $e + * @param $message * @return void */ - protected function denyAccess(MvcEvent $e) + protected function denyAccess(MvcEvent $e, $message = true) { $statusCode = Pi::service('user')->getUser()->isGuest() ? 401 : 403; $e->getResponse()->setStatusCode($statusCode); - $e->setError(true); + $e->setError($message); } } diff --git a/usr/locale/en/country.mo b/usr/locale/en/country.mo index 4bf0b5eb9e..87af7b193c 100644 Binary files a/usr/locale/en/country.mo and b/usr/locale/en/country.mo differ diff --git a/usr/locale/en/country.po b/usr/locale/en/country.po index 30c9f789ba..3cec0cef2d 100644 --- a/usr/locale/en/country.po +++ b/usr/locale/en/country.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: Timezone\n" -"POT-Creation-Date: 2017-04-18 20:19+0430\n" -"PO-Revision-Date: 2017-04-18 20:19+0430\n" +"POT-Creation-Date: 2017-09-06 15:22+0430\n" +"PO-Revision-Date: 2017-09-06 15:22+0430\n" "Last-Translator: Taiwen Jiang \n" "Language-Team: \n" "Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.12\n" +"X-Generator: Poedit 2.0.3\n" "X-Poedit-KeywordsList: _\n" "X-Poedit-Basepath: ../_source/country\n" "X-Poedit-SearchPath-0: .\n" diff --git a/usr/locale/fa/default.mo b/usr/locale/fa/default.mo index 41fd05cb7e..35e0b838ae 100644 Binary files a/usr/locale/fa/default.mo and b/usr/locale/fa/default.mo differ diff --git a/usr/locale/fa/default.po b/usr/locale/fa/default.po index e4becd1a11..896d757f56 100644 --- a/usr/locale/fa/default.po +++ b/usr/locale/fa/default.po @@ -1,39 +1,43 @@ msgid "" msgstr "" "Project-Id-Version: Pi-Engine\n" -"POT-Creation-Date: 2017-04-18 20:20+0430\n" -"PO-Revision-Date: 2017-04-18 20:22+0430\n" +"POT-Creation-Date: 2017-09-06 15:19+0430\n" +"PO-Revision-Date: 2017-09-06 15:20+0430\n" "Last-Translator: \n" "Language-Team: Pi Engine\n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.12\n" +"X-Generator: Poedit 2.0.3\n" "X-Poedit-KeywordsList: __;_t;_e\n" "X-Poedit-Basepath: ../../..\n" "X-Poedit-SearchPath-0: usr/editor\n" "X-Poedit-SearchPath-1: lib/Pi\n" +#: lib/Pi/Application/Bootstrap/Resource/Permission.php:64 +msgid "The website is in maintenance - we are back in a couple of minutes !" +msgstr "وب سایت برای به روز رسانی فنی بسته است - لطفا بعدا مراجعه فرمایید !" + #: lib/Pi/Application/Installer/Theme.php:348 msgid "Theme updated successfully." -msgstr "به روز رسانی قالب موفقیت آمیز بود" +msgstr "به روز رسانی قالب موفقیت آمیز بود." #: lib/Pi/Application/Installer/Theme.php:355 msgid "Theme failed to update." -msgstr "خطا در به روز رسانی قالب" +msgstr "خطا در به روز رسانی قالب." #: lib/Pi/Application/Installer/Theme.php:357 msgid "Theme upgraded successfully." -msgstr "به روز رسانی قابل موفقیت آمیز بود" +msgstr "به روز رسانی قابل موفقیت آمیز بود." #: lib/Pi/Application/Installer/Theme.php:362 msgid "Theme asset publish failed." -msgstr "خطا در انتشار asset قالب" +msgstr "خطا در انتشار asset قالب." #: lib/Pi/Application/Service/Comment.php:552 msgid "Posted a new comment." -msgstr "ارسال نظر جدید" +msgstr "ارسال نظر جدید." #: lib/Pi/Application/Service/Editor.php:83 msgid "Pi Default Editor" @@ -103,7 +107,7 @@ msgstr "" #: lib/Pi/Authentication/Adapter/DbTable/AbstractAdapter.php:198 msgid "A record with the supplied identity could not be found." -msgstr "هیچ رکوردی برای هویت انتخاب شده یافت نشد" +msgstr "هیچ رکوردی برای هویت انتخاب شده یافت نشد." #: lib/Pi/Authentication/Adapter/DbTable/AbstractAdapter.php:206 msgid "More than one record matches the supplied identity." @@ -115,7 +119,7 @@ msgstr "اعتبار عرضه شده نامعتبر است." #: lib/Pi/Authentication/Adapter/DbTable/CallbackAdapter.php:90 msgid "Authentication successful." -msgstr "تایید سندیت موفقیت آمیز بود" +msgstr "تایید سندیت موفقیت آمیز بود." #: lib/Pi/Feed/Model.php:200 #, php-format @@ -294,11 +298,11 @@ msgstr "برای تغییر تصویر کلیک کنید" msgid "Required" msgstr "ضروری" -#: lib/Pi/Form/View/Helper/Form.php:483 +#: lib/Pi/Form/View/Helper/Form.php:485 msgid "Close" msgstr "بستن" -#: lib/Pi/Form/View/Helper/Form.php:484 +#: lib/Pi/Form/View/Helper/Form.php:486 msgid "Form" msgstr "فرم" @@ -316,7 +320,7 @@ msgstr "ماه" #: lib/Pi/Mvc/Controller/ActionController.php:98 msgid "The requested action was not found." -msgstr "اکشن مورد نظر یافت نشد" +msgstr "اکشن مورد نظر یافت نشد." #: lib/Pi/Mvc/Controller/Plugin/Terminate.php:39 msgid "Login" @@ -333,7 +337,7 @@ msgstr "مهمان" #: lib/Pi/View/Helper/Conditions.php:39 msgid "New terms and conditions are available. Please accept them." -msgstr "شرایط و مقررات جدید به روز شد ، لطفا آن را مطالعه و تایید فرمایید" +msgstr "شرایط و مقررات جدید به روز شد ، لطفا آن را مطالعه و تایید فرمایید." #: lib/Pi/View/Helper/Conditions.php:40 msgid "I agree" @@ -343,11 +347,11 @@ msgstr "موافق ام" msgid "Read Term and conditions" msgstr "مطالعه شرایط و مقررات" -#: lib/Pi/View/Helper/GoogleMap.php:208 +#: lib/Pi/View/Helper/GoogleMap.php:228 msgid "Choose a location" msgstr "انتخاب مکان" -#: lib/Pi/View/Helper/GoogleMap.php:209 +#: lib/Pi/View/Helper/GoogleMap.php:229 msgid "View all" msgstr "نمایش همه" @@ -358,7 +362,7 @@ msgstr "صفحه" #: lib/Pi/View/Helper/Tag.php:92 msgid "Tags: " -msgstr "برچسب ها :" +msgstr "برچسب ها : " #~ msgid "Manager" #~ msgstr "مدیریت" diff --git a/usr/locale/fa/validator.mo b/usr/locale/fa/validator.mo index 81b73f4bef..d2f7a9b2f8 100644 Binary files a/usr/locale/fa/validator.mo and b/usr/locale/fa/validator.mo differ diff --git a/usr/locale/fa/validator.po b/usr/locale/fa/validator.po index b4ead1fcdf..f27d8651f1 100644 --- a/usr/locale/fa/validator.po +++ b/usr/locale/fa/validator.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: Pi-Engine\n" -"POT-Creation-Date: 2017-04-18 20:22+0430\n" -"PO-Revision-Date: 2017-04-18 20:24+0430\n" +"POT-Creation-Date: 2017-09-06 15:20+0430\n" +"PO-Revision-Date: 2017-09-06 15:22+0430\n" "Last-Translator: \n" "Language-Team: Pi Engine\n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.12\n" +"X-Generator: Poedit 2.0.3\n" "X-Poedit-KeywordsList: _\n" "X-Poedit-Basepath: ../_source/Validator\n" "X-Poedit-SearchPath-0: .\n" @@ -250,24 +250,32 @@ msgid "" "Maximum allowed width for image should be '%maxwidth%' px but '%width%' px " "detected" msgstr "" +"حداکثر عرض تصویر باید '%maxwidth%' پیکسل باشد اما عرض تصویر انتخابی شما " +"'%width%' است" #: File/ImageSize.php:11 msgid "" "Minimum expected width for image should be '%minwidth%' px but '%width%' px " "detected" msgstr "" +"حداقل عرض تصویر باید '%minwidth%' پیکسل باشد اما عرض تصویر انتخابی شما " +"'%width%' است" #: File/ImageSize.php:12 msgid "" "Maximum allowed height for image should be '%maxheight%' px but '%height%' " "px detected" msgstr "" +"حداکثر ارتفاع تصویر باید '%maxheight%' پیکسل باشد اما ارتفاع تصویر انتخابی " +"شما '%height%' است" #: File/ImageSize.php:13 msgid "" "Minimum expected height for image should be '%minheight%' px but '%height%' " "px detected" msgstr "" +"حداقل ارتفاع تصویر باید '%minheight%' پیکسل باشد اما ارتفاع تصویر انتخابی " +"شما '%height%' است" #: File/ImageSize.php:14 msgid "The size of image could not be detected" diff --git a/usr/module/system/locale/fa/admin.mo b/usr/module/system/locale/fa/admin.mo index f2d9bd3d87..80ece9c863 100644 Binary files a/usr/module/system/locale/fa/admin.mo and b/usr/module/system/locale/fa/admin.mo differ diff --git a/usr/module/system/locale/fa/admin.po b/usr/module/system/locale/fa/admin.po index 28504898c3..9a8e8684e2 100644 --- a/usr/module/system/locale/fa/admin.po +++ b/usr/module/system/locale/fa/admin.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: Pi-admin\n" -"POT-Creation-Date: 2017-04-19 10:20+0430\n" -"PO-Revision-Date: 2017-04-19 10:23+0430\n" +"POT-Creation-Date: 2017-09-06 15:24+0430\n" +"PO-Revision-Date: 2017-09-06 15:24+0430\n" "Last-Translator: \n" "Language-Team: \n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.12\n" +"X-Generator: Poedit 2.0.3\n" "X-Poedit-KeywordsList: _a;_t\n" "X-Poedit-Basepath: ../..\n" "X-Poedit-SearchPath-0: .\n" diff --git a/usr/module/system/locale/fa/block.mo b/usr/module/system/locale/fa/block.mo index 375f5dba5e..df0302478c 100644 Binary files a/usr/module/system/locale/fa/block.mo and b/usr/module/system/locale/fa/block.mo differ diff --git a/usr/module/system/locale/fa/block.po b/usr/module/system/locale/fa/block.po index 2b1ace758d..59bda10c32 100644 --- a/usr/module/system/locale/fa/block.po +++ b/usr/module/system/locale/fa/block.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: Pi-block\n" -"POT-Creation-Date: 2017-04-19 10:13+0430\n" -"PO-Revision-Date: 2017-04-19 10:15+0430\n" +"POT-Creation-Date: 2017-09-06 15:24+0430\n" +"PO-Revision-Date: 2017-09-06 15:24+0430\n" "Last-Translator: \n" "Language-Team: \n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.12\n" +"X-Generator: Poedit 2.0.3\n" "X-Poedit-KeywordsList: _b\n" "X-Poedit-Basepath: ../..\n" "X-Poedit-SearchPath-0: .\n" diff --git a/usr/module/system/locale/fa/default.mo b/usr/module/system/locale/fa/default.mo index 8a2dc5292c..467f74a342 100644 Binary files a/usr/module/system/locale/fa/default.mo and b/usr/module/system/locale/fa/default.mo differ diff --git a/usr/module/system/locale/fa/default.po b/usr/module/system/locale/fa/default.po index 3e3d9fbc35..1559eaf997 100644 --- a/usr/module/system/locale/fa/default.po +++ b/usr/module/system/locale/fa/default.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: Pi-system\n" -"POT-Creation-Date: 2017-04-19 10:13+0430\n" -"PO-Revision-Date: 2017-04-19 10:14+0430\n" +"POT-Creation-Date: 2017-09-06 15:24+0430\n" +"PO-Revision-Date: 2017-09-06 15:24+0430\n" "Last-Translator: \n" "Language-Team: \n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.12\n" +"X-Generator: Poedit 2.0.3\n" "X-Poedit-KeywordsList: __;_e\n" "X-Poedit-Basepath: ../..\n" "X-Poedit-SearchPath-0: .\n" @@ -110,8 +110,9 @@ msgstr "ورود کاربر" #: src/Controller/Front/LoginController.php:93 src/Form/LoginForm.php:119 #: template/block/partial/login-register-modal.phtml:52 -#: template/block/partial/login-register-modal.phtml:90 -#: template/block/partial/login-register-modal.phtml:91 +#: template/block/partial/login-register-modal.phtml:64 +#: template/block/partial/login-register-modal.phtml:92 +#: template/block/partial/login-register-modal.phtml:93 #: template/front/login-logout.phtml:13 template/front/register.phtml:6 msgid "Login" msgstr "ورود" @@ -159,7 +160,7 @@ msgstr "" #: src/Controller/Front/PasswordController.php:127 #: src/Controller/Front/PasswordController.php:128 #: src/Form/FindPasswordForm.php:49 -#: template/block/partial/login-register-modal.phtml:66 +#: template/block/partial/login-register-modal.phtml:67 #: template/front/login.phtml:17 template/front/password-find.phtml:2 #: template/front/register.phtml:5 msgid "Find password" @@ -222,8 +223,9 @@ msgstr "ایجاد حساب کاربری" #: src/Controller/Front/RegisterController.php:52 #: src/Controller/Front/RegisterController.php:113 #: template/block/partial/login-register-modal.phtml:53 -#: template/block/partial/login-register-modal.phtml:71 #: template/block/partial/login-register-modal.phtml:72 +#: template/block/partial/login-register-modal.phtml:73 +#: template/block/partial/login-register-modal.phtml:86 #: template/front/login-logout.phtml:14 template/front/login.phtml:20 msgid "Register" msgstr "ثبت نام" @@ -590,11 +592,11 @@ msgstr "دوباره سازی" msgid "Customize" msgstr "شخصی سازی" -#: template/block/partial/login-register-modal.phtml:69 +#: template/block/partial/login-register-modal.phtml:70 msgid "Not already registered ?" msgstr "تا کنون ثبت نام نکرده اید؟" -#: template/block/partial/login-register-modal.phtml:88 +#: template/block/partial/login-register-modal.phtml:90 msgid "Already registered ?" msgstr "قبلا ثبت نام کرده اید؟" diff --git a/usr/module/user/locale/fa/admin.mo b/usr/module/user/locale/fa/admin.mo index a414d53fc6..14ce92f912 100644 Binary files a/usr/module/user/locale/fa/admin.mo and b/usr/module/user/locale/fa/admin.mo differ diff --git a/usr/module/user/locale/fa/admin.po b/usr/module/user/locale/fa/admin.po index 4f7eed7521..32739f0986 100644 --- a/usr/module/user/locale/fa/admin.po +++ b/usr/module/user/locale/fa/admin.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: Pi-user\n" -"POT-Creation-Date: 2017-04-19 10:24+0430\n" -"PO-Revision-Date: 2017-04-19 10:24+0430\n" +"POT-Creation-Date: 2017-09-06 15:24+0430\n" +"PO-Revision-Date: 2017-09-06 15:24+0430\n" "Last-Translator: \n" "Language-Team: \n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.12\n" +"X-Generator: Poedit 2.0.3\n" "X-Poedit-KeywordsList: _a;_t\n" "X-Poedit-Basepath: ../..\n" "X-Poedit-SearchPath-0: .\n" diff --git a/usr/module/user/locale/fa/block.mo b/usr/module/user/locale/fa/block.mo index c128e4f729..b1641e6731 100644 Binary files a/usr/module/user/locale/fa/block.mo and b/usr/module/user/locale/fa/block.mo differ diff --git a/usr/module/user/locale/fa/block.po b/usr/module/user/locale/fa/block.po index dec408dea0..7edda39c9c 100644 --- a/usr/module/user/locale/fa/block.po +++ b/usr/module/user/locale/fa/block.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: Pi-user\n" -"POT-Creation-Date: 2017-04-19 10:12+0430\n" -"PO-Revision-Date: 2017-04-19 10:12+0430\n" +"POT-Creation-Date: 2017-09-06 15:24+0430\n" +"PO-Revision-Date: 2017-09-06 15:24+0430\n" "Last-Translator: \n" "Language-Team: \n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.12\n" +"X-Generator: Poedit 2.0.3\n" "X-Poedit-KeywordsList: _b\n" "X-Poedit-Basepath: ../..\n" "X-Poedit-SearchPath-0: .\n" diff --git a/usr/module/user/locale/fa/default.mo b/usr/module/user/locale/fa/default.mo index 13603c0cb1..1250dc4825 100644 Binary files a/usr/module/user/locale/fa/default.mo and b/usr/module/user/locale/fa/default.mo differ diff --git a/usr/module/user/locale/fa/default.po b/usr/module/user/locale/fa/default.po index 79e5106734..f75109d8b0 100644 --- a/usr/module/user/locale/fa/default.po +++ b/usr/module/user/locale/fa/default.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: Pi-user\n" -"POT-Creation-Date: 2017-04-19 10:12+0430\n" -"PO-Revision-Date: 2017-04-19 10:13+0430\n" +"POT-Creation-Date: 2017-09-06 15:24+0430\n" +"PO-Revision-Date: 2017-09-06 15:24+0430\n" "Last-Translator: \n" "Language-Team: \n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.12\n" +"X-Generator: Poedit 2.0.3\n" "X-Poedit-KeywordsList: __;_e\n" "X-Poedit-Basepath: ../..\n" "X-Poedit-SearchPath-0: .\n" @@ -905,75 +905,75 @@ msgstr "لغو" msgid "Uploading" msgstr "در حال بارگذاری" -#: template/front/dashboard-index.phtml:12 +#: template/front/dashboard-index.phtml:13 msgid "Your dashboard" msgstr "داشبورد" -#: template/front/dashboard-index.phtml:22 +#: template/front/dashboard-index.phtml:23 msgid "Your pending requests" msgstr "درخواست های در انتظار تایید شما" -#: template/front/dashboard-index.phtml:30 +#: template/front/dashboard-index.phtml:33 msgid "Shortcuts" msgstr "میانبر ها" -#: template/front/dashboard-index.phtml:37 #: template/front/dashboard-index.phtml:40 +#: template/front/dashboard-index.phtml:43 #: template/front/profile-sidebar.phtml:89 msgid "My items" msgstr "آیتم های من" -#: template/front/dashboard-index.phtml:49 #: template/front/dashboard-index.phtml:52 +#: template/front/dashboard-index.phtml:55 #: template/front/profile-sidebar.phtml:91 msgid "Sponsorship" msgstr "اسپانسر" -#: template/front/dashboard-index.phtml:63 #: template/front/dashboard-index.phtml:66 +#: template/front/dashboard-index.phtml:69 #: template/front/profile-sidebar.phtml:103 msgid "My messages" msgstr "پیام های من" -#: template/front/dashboard-index.phtml:71 #: template/front/dashboard-index.phtml:74 +#: template/front/dashboard-index.phtml:77 #: template/front/profile-sidebar.phtml:105 msgid "My notifications" msgstr "آگاهی رسانی های من" -#: template/front/dashboard-index.phtml:82 #: template/front/dashboard-index.phtml:85 +#: template/front/dashboard-index.phtml:88 #: template/front/profile-sidebar.phtml:114 msgid "My events" msgstr "رویداد های من" -#: template/front/dashboard-index.phtml:94 #: template/front/dashboard-index.phtml:97 +#: template/front/dashboard-index.phtml:100 #: template/front/profile-sidebar.phtml:119 msgid "My orders" msgstr "سفارش های من" -#: template/front/dashboard-index.phtml:104 #: template/front/dashboard-index.phtml:107 +#: template/front/dashboard-index.phtml:110 #: template/front/profile-sidebar.phtml:122 msgid "My credit" msgstr "اعتبار خرید من" -#: template/front/dashboard-index.phtml:116 #: template/front/dashboard-index.phtml:119 +#: template/front/dashboard-index.phtml:122 #: template/front/profile-sidebar.phtml:127 #: template/front/profile-sidebar.phtml:132 msgid "My favorites" msgstr "مورد علاقه های من" -#: template/front/dashboard-index.phtml:127 #: template/front/dashboard-index.phtml:130 +#: template/front/dashboard-index.phtml:133 #: template/front/profile-sidebar.phtml:136 msgid "My videos" msgstr "ویدیو های من" -#: template/front/dashboard-index.phtml:139 #: template/front/dashboard-index.phtml:142 +#: template/front/dashboard-index.phtml:145 #: template/front/profile-sidebar.phtml:110 msgid "My support tickets" msgstr "درخواست های پشتیبانی من" diff --git a/usr/module/widget/locale/fa/admin.mo b/usr/module/widget/locale/fa/admin.mo index 11784aa2fe..ad7ba2663a 100644 Binary files a/usr/module/widget/locale/fa/admin.mo and b/usr/module/widget/locale/fa/admin.mo differ diff --git a/usr/module/widget/locale/fa/admin.po b/usr/module/widget/locale/fa/admin.po index a0db731a93..fa3da848eb 100644 --- a/usr/module/widget/locale/fa/admin.po +++ b/usr/module/widget/locale/fa/admin.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: Pi-widget\n" -"POT-Creation-Date: 2017-04-18 20:25+0430\n" -"PO-Revision-Date: 2017-04-18 20:25+0430\n" +"POT-Creation-Date: 2017-09-06 15:23+0430\n" +"PO-Revision-Date: 2017-09-06 15:23+0430\n" "Last-Translator: \n" "Language-Team: \n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.12\n" +"X-Generator: Poedit 2.0.3\n" "X-Poedit-KeywordsList: _a;_t;__\n" "X-Poedit-Basepath: ../..\n" "X-Poedit-SourceCharset: UTF-8\n" @@ -85,6 +85,14 @@ msgstr "بازکردن در صفحه جدید" msgid "Open new window for widgets not specified" msgstr "بازکردن در صفحه جدید برای ویجت هایی که تنظیم نشده باشند" +#: config/config.php:90 src/Api/Block.php:130 +msgid "Circle image" +msgstr "تصویر گرد" + +#: config/config.php:91 +msgid "Make images circle" +msgstr "تصویر را به صورت گرد نمایش دهید" + #: config/module.php:14 msgid "Widget" msgstr "ویجت" @@ -247,15 +255,15 @@ msgstr "%d ردیف" msgid "Open link in new window" msgstr "بازکردن لینک در صفحه جدید" -#: src/Api/Block.php:150 +#: src/Api/Block.php:157 msgid "Time interval (ms)" msgstr "زمان توقف ( میلی ثانیه )" -#: src/Api/Block.php:156 +#: src/Api/Block.php:163 msgid "Mouse event" msgstr "رویداد موس" -#: src/Api/Block.php:157 +#: src/Api/Block.php:164 msgid "Event to pause cycle" msgstr "رویداد برای توقف چرخه" @@ -365,8 +373,8 @@ msgid "Bootstrap two columns" msgstr "اسلاید Bootstrap دو ستونه" #: src/Form/Element/CarouselTemplate.php:27 -msgid "jQuery riding Carousel" -msgstr "اسلاید jCarousel" +msgid "Owl Carousel 2" +msgstr "Owl Carousel نسخه ۲" #: src/Form/Element/CarouselTemplate.php:28 msgid "Parallax Content Slider" @@ -538,6 +546,9 @@ msgstr "بلاک های ماژول" msgid "Video (mp4) or audio (mp3) link" msgstr "لینک فایل ویدیو (mp4) یا صدا (mp3)" +#~ msgid "jQuery riding Carousel" +#~ msgstr "اسلاید jCarousel" + #~ msgid "Video or audio link" #~ msgstr "لینک فایل ویدیو (.mp4) یا صدا (.mp3)" diff --git a/usr/module/widget/locale/fa/default.mo b/usr/module/widget/locale/fa/default.mo index f895706272..9958255770 100644 Binary files a/usr/module/widget/locale/fa/default.mo and b/usr/module/widget/locale/fa/default.mo differ diff --git a/usr/module/widget/locale/fa/default.po b/usr/module/widget/locale/fa/default.po index 363c74ffed..9b6ab8a249 100644 --- a/usr/module/widget/locale/fa/default.po +++ b/usr/module/widget/locale/fa/default.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: Pi-widget\n" -"POT-Creation-Date: 2017-04-18 20:25+0430\n" -"PO-Revision-Date: 2017-04-18 20:25+0430\n" +"POT-Creation-Date: 2017-09-06 15:23+0430\n" +"PO-Revision-Date: 2017-09-06 15:24+0430\n" "Last-Translator: \n" "Language-Team: \n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.12\n" +"X-Generator: Poedit 2.0.3\n" "X-Poedit-KeywordsList: __;_e;_t\n" "X-Poedit-Basepath: ../..\n" "X-Poedit-SourceCharset: UTF-8\n" @@ -84,6 +84,14 @@ msgstr "بازکردن در صفحه جدید" msgid "Open new window for widgets not specified" msgstr "بازکردن در صفحه جدید برای ویجت هایی که تنظیم نشده باشند" +#: config/config.php:90 +msgid "Circle image" +msgstr "تصویر گرد" + +#: config/config.php:91 +msgid "Make images circle" +msgstr "تصاویر گرد نمایش داده شود" + #: config/nav.php:15 config/permission.php:13 msgid "Script widgets" msgstr "ویجت های اسکریپت" diff --git a/usr/theme/default/asset/css/front.css b/usr/theme/default/asset/css/front.css index b7b14322b2..6ad551d437 100644 --- a/usr/theme/default/asset/css/front.css +++ b/usr/theme/default/asset/css/front.css @@ -325,10 +325,6 @@ form .icon-question-sign { } /* header */ -.pi-header { - border-top: 2px solid #ddd; -} - .pi-header h1, .pi-header h2 { padding: 1px; @@ -343,6 +339,10 @@ form .icon-question-sign { border-radius: 0; } +.pi-header .navbar-inverse { + border-radius: 0; +} + /* section */ .pi-section { padding: 15px 0; @@ -363,7 +363,6 @@ form .icon-question-sign { .pi-footer { -webkit-box-shadow: 0px -2px 5px rgba(0, 0, 0, .05); box-shadow: 0px -2px 5px rgba(0, 0, 0, .05); - border-bottom: 2px solid #ddd; background-color: #f8f8f8; padding: 15px; text-align: center; @@ -382,7 +381,7 @@ form .icon-question-sign { } /* userbar */ -.welcome-user-bar{ - display:inline-block; - padding:15px; +.welcome-user-bar { + display: inline-block; + padding: 15px; } \ No newline at end of file