Skip to content

Commit ada0531

Browse files
committed
Fix lang placeholder
1 parent 91410fe commit ada0531

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

components/Buttons.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function defineProperties()
3434
'description' => 'webvpf.share::lang.skin.desc',
3535
'type' => 'dropdown',
3636
'default' => 'silver',
37-
'placeholder' => 'Стиль кнопок',
37+
'placeholder' => 'webvpf.share::lang.skin.desc',
3838
'options' => [
3939
'silver'=> 'webvpf.share::lang.skin.silver',
4040
'color' => 'webvpf.share::lang.skin.color',
@@ -48,7 +48,7 @@ public function defineProperties()
4848
public function onRun()
4949
{
5050
$str_btns = str_replace(' ', '', $this->property('btns') );
51-
51+
5252
$btns = explode(',', $str_btns);
5353

5454
foreach ($btns as $key => $value) {

lang/en/lang.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
'skin' => [
1717
'title' => 'Button Style',
1818
'desc' => 'Choose a buttons style. Only works if css is enabled',
19+
'placeholder' => 'Button Style',
1920
'silver' => 'Silver',
2021
'color' => 'Color',
2122
'text' => 'With text',

lang/ru/lang.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
'skin' => [
1717
'title' => 'Стиль кнопок',
1818
'desc' => 'Выберите стиль кнопок. Работает только если включен css',
19+
'placeholder' => 'Стиль кнопок',
1920
'silver' => 'Серебристые',
2021
'color' => 'Цветные',
2122
'text' => 'С текстом',

lang/uk/lang.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
'skin' => [
1717
'title' => 'Стиль кнопок',
1818
'desc' => 'Оберіть стиль кнопок. Працює тільки якщо увімкнено css',
19+
'placeholder' => 'Стиль кнопок',
1920
'silver' => 'Сріблясті',
2021
'color' => 'Кольорові',
2122
'text' => 'З текстом',

0 commit comments

Comments
 (0)