Skip to content

Commit

Permalink
Merge pull request #3 from navidabdi/fix/languages
Browse files Browse the repository at this point in the history
Fixed lang.
  • Loading branch information
navidabdi authored Dec 4, 2022
2 parents 626bc96 + 039bf3b commit 5319c63
Showing 1 changed file with 22 additions and 14 deletions.
36 changes: 22 additions & 14 deletions lib/options.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,39 +237,47 @@
] );

EFS::createSection( $prefix, [
"title" => __( "Elementor widgets", "webkima-elements" ),
"title" => __( "ویجت‌های المنتور", "webkima-elements" ),
"icon" => "fa fa-cubes",
"fields" => [
[
"type" => "content",
"content" => '<strong>'
. __("Elementor widget settings.", "webkima-elements")
. __("تنظیمات ویجت‌های المنتور وبکیما المنت", "webkima-elements")
. '</strong><br /><br />'
. __("With this settings you can control all of the Elementor widgets.", "webkima-elements"),
. __("در این بخش می‌توانید تمامی ویجت‌های وبکیما المنت که داخل ویرایشگر المنتور می‌توانید از آنها استفاده کنید را فعال و غیرفعال کنید.", "webkima-elements"),
],
[
'id' => 'we_el_widgets',
'type' => __('switcher', "webkima-elements"),
'title' => __('Active elementor widgets', "webkima-elements"),
'text_on' => __( 'On', "webkima-elements" ),
'text_off' => __( 'Off', "webkima-elements" ),
'type' => 'switcher',
'title' => __('فعالسازی تمامی ویجت‌های المنتور', "webkima-elements"),
"subtitle" => __(
"با این سوئیچ می‌توانید تمامی ویجت‌های المنتوری وبکیما المنت را به صورت یکجا فعال یا غیرفعال کنید.",
"webkima-elements"
),
'text_on' => __( 'فعال', "webkima-elements" ),
'text_off' => __( 'غیرفعال', "webkima-elements" ),
"default" => true,
],
[
'id' => 'we_el_widget_mobile_menu',
'type' => __('switcher', "webkima-elements"),
'title' => __('Active mobile menu widget', "webkima-elements"),
'text_on' => __( 'On', "webkima-elements" ),
'text_off' => __( 'Off', "webkima-elements" ),
'type' => 'switcher',
'title' => __('فعالسازی ویجت منوی موبایل', "webkima-elements"),
"subtitle" => __(
"ویجت منوی موبایل را فعال یا غیرفعال کنید.",
"webkima-elements"
),
'text_on' => __( 'فعال', "webkima-elements" ),
'text_off' => __( 'غیرفعال', "webkima-elements" ),
"default" => true,
'dependency' => array( 'we_el_widgets', '==', 'true' )
],
[
'id' => 'we_el_widget_another_one',
'type' => __('switcher', "webkima-elements"),
'type' => 'switcher',
'title' => __('Active another one widget', "webkima-elements"),
'text_on' => __( 'On', "webkima-elements" ),
'text_off' => __( 'Off', "webkima-elements" ),
'text_on' => __( 'فعال', "webkima-elements" ),
'text_off' => __( 'غیرفعال', "webkima-elements" ),
"default" => true,
'dependency' => array( 'we_el_widgets', '==', 'true' )
],
Expand Down

0 comments on commit 5319c63

Please sign in to comment.