Skip to content

Commit a6b4e0d

Browse files
committed
Updated lang and fields
1 parent 34463af commit a6b4e0d

File tree

3 files changed

+24
-22
lines changed

3 files changed

+24
-22
lines changed

lang/cs/lang.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
'database' => 'Databáze',
3737
'theme' => 'Šablona',
3838
'backups' => 'Zálohy',
39+
'settings' => 'Nastavení',
3940
],
4041

4142
'backup_folder' => 'Adresář pro umístění záloh',
@@ -51,7 +52,7 @@
5152
'db_custom_mapping__prompt' => 'Přidat nový typ',
5253

5354
'db_custom_mapping' => 'Mapování typů sloupců pro MySQL Doctrine',
54-
'db_custom_mapping__comment' => 'Registruje Doctrine typ sloupce, který se použít ve spojení s typem sloupce této platformy.',
55+
'db_custom_mapping__comment' => 'Typ sloupce, který má být použitý místo originálního při exportu databáze (např. JSON exportovat jako TEXT).',
5556
'db_custom_mapping__db_type' => 'Databázový typ',
5657
'db_custom_mapping__db_type__comment' => 'např. json',
5758
'db_custom_mapping__doctrine_type' => 'Doctrine typ',

lang/en/lang.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
'database' => 'Database',
3737
'theme' => 'Theme',
3838
'backups' => 'Backups',
39+
'settings' => 'Settings',
3940
],
4041

4142
'backup_folder' => 'Backup folder',
@@ -44,20 +45,20 @@
4445
'db_use_compression' => 'Use ZIP compression',
4546

4647
'db_auto' => 'Switch on auto database backup',
47-
'db_auto__comment' => 'Automatický režim je spouštěn jednou denně plánovačem dle dokumentace October CMS. Manuální režim vyžaduje spuštění procesu dle dokumentace pluginu.',
48+
'db_auto__comment' => 'The automatic mode is started once a day by the scheduler according to the October CMS documentation. Manual mode requires running the process according to the plugin documentation.',
4849

4950
'db_excluded_tables' => 'Tables excluded from backup',
5051
'db_excluded_tables__comment' => 'Only for MySQL. SQLite is backed up as one file.',
5152

5253
'db_custom_mapping' => 'Custom MySQL database Doctrine mapping',
53-
'db_custom_mapping__comment' => 'Registers a doctrine type to be used in conjunction with a column type of this platform.',
54+
'db_custom_mapping__comment' => 'Database column type to be used instead of the original one when exporting database (eg. JSON to be exported as TEXT).',
5455
'db_custom_mapping__db_type' => 'Current database type',
5556
'db_custom_mapping__db_type__comment' => 'e.g. json',
5657
'db_custom_mapping__doctrine_type' => 'Doctrine type for backup',
5758
'db_custom_mapping__doctrine_type__comment' => 'e.g. text',
5859

5960
'theme_auto' => 'Switch on auto theme backup',
60-
'theme_auto__comment' => 'Automatický režim je spouštěn jednou denně plánovačem dle dokumentace October CMS. Manuální režim vyžaduje spuštění procesu dle dokumentace pluginu.',
61+
'theme_auto__comment' => 'The automatic mode is started once a day by the scheduler according to the October CMS documentation. Manual mode requires running the process according to the plugin documentation.',
6162

6263
'section_db' => 'Database',
6364
'section_theme' => 'Theme',

models/settings/fields.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,22 @@ tabs:
4646
type: switch
4747
tab: webula.smallbackup::lang.settings.tabs.database
4848

49+
_listing_db:
50+
type: partial
51+
path: $/webula/smallbackup/controllers/settings/_listing-db.htm
52+
tab: webula.smallbackup::lang.settings.tabs.database
53+
54+
theme_auto:
55+
label: webula.smallbackup::lang.settings.theme_auto
56+
comment: webula.smallbackup::lang.settings.theme_auto__comment
57+
type: switch
58+
tab: webula.smallbackup::lang.settings.tabs.theme
59+
60+
_listing_theme:
61+
type: partial
62+
path: $/webula/smallbackup/controllers/settings/_listing-theme.htm
63+
tab: webula.smallbackup::lang.settings.tabs.theme
64+
4965
db_custom_mapping:
5066
label: webula.smallbackup::lang.settings.db_custom_mapping
5167
comment: webula.smallbackup::lang.settings.db_custom_mapping__comment
@@ -63,21 +79,5 @@ tabs:
6379
comment: webula.smallbackup::lang.settings.db_custom_mapping__doctrine_type__comment
6480
type: text
6581
span: right
66-
span: right
67-
tab: webula.smallbackup::lang.settings.tabs.database
68-
69-
_listing_db:
70-
type: partial
71-
path: $/webula/smallbackup/controllers/settings/_listing-db.htm
72-
tab: webula.smallbackup::lang.settings.tabs.database
73-
74-
theme_auto:
75-
label: webula.smallbackup::lang.settings.theme_auto
76-
comment: webula.smallbackup::lang.settings.theme_auto__comment
77-
type: switch
78-
tab: webula.smallbackup::lang.settings.tabs.theme
79-
80-
_listing_theme:
81-
type: partial
82-
path: $/webula/smallbackup/controllers/settings/_listing-theme.htm
83-
tab: webula.smallbackup::lang.settings.tabs.theme
82+
span: full
83+
tab: webula.smallbackup::lang.settings.tabs.settings

0 commit comments

Comments
 (0)