Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add button to duplicate pages #7

Merged
merged 7 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion controllers/index/_page_toolbar.htm
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@

<button
type="button"
class="btn btn-default empty oc-icon-clone <?php if (!$objectPath): ?>hide<?php endif ?>"
class="btn btn-default oc-icon-clone <?php if (!$objectPath): ?>hide<?php endif ?>"
data-control="duplicate-object"
>
<?= e(trans('winter.pages::lang.editor.duplicate')) ?>
</button>

<button
Expand Down
1 change: 1 addition & 0 deletions lang/cs/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
'layout' => 'Layout',
'description' => 'Popis',
'preview' => 'Náhled',
'duplicate' => 'Duplikát',
'enter_fullscreen' => 'Vstoupit do režimu celé obrazovky',
'exit_fullscreen' => 'Opustit režim celé obrazovky',
'hidden' => 'Skrytá',
Expand Down
1 change: 1 addition & 0 deletions lang/de/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
'layout' => 'Layout',
'description' => 'Beschreibung',
'preview' => 'Vorschau',
'duplicate' => 'Duplizieren',
'enter_fullscreen' => 'Vollbildmodus einschalten',
'exit_fullscreen' => 'Vollbildmodus verlassen',
'hidden' => 'Verstecken',
Expand Down
1 change: 1 addition & 0 deletions lang/el/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
'layout' => 'Σχέδιο',
'description' => 'Περιγραφή',
'preview' => 'Προεπισκόπηση',
'duplicate' => 'Διπλό',
'enter_fullscreen' => 'Πλήρης οθόνη',
'exit_fullscreen' => 'Έξοδος πλήρους οθόνης',
'hidden' => 'Κρυφό',
Expand Down
1 change: 1 addition & 0 deletions lang/en/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
'layout' => 'Layout',
'description' => 'Description',
'preview' => 'Preview',
'duplicate' => 'Duplicate',
'enter_fullscreen' => 'Enter fullscreen mode',
'exit_fullscreen' => 'Exit fullscreen mode',
'hidden' => 'Hidden',
Expand Down
1 change: 1 addition & 0 deletions lang/es/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
'layout' => 'Plantilla',
'description' => 'Descripción',
'preview' => 'Vista previa',
'duplicate' => 'Duplicado',
'enter_fullscreen' => 'Entrar en modo de pantalla completa',
'exit_fullscreen' => 'Salir del modo de pantalla completa',
'hidden' => 'Oculto',
Expand Down
1 change: 1 addition & 0 deletions lang/fa/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
'layout' => 'طرح بندی',
'description' => 'توضیحات',
'preview' => 'پیش نمایش',
'duplicate' => 'تکراری',
'enter_fullscreen' => 'حالت تمام صفحه',
'exit_fullscreen' => 'خروج از حالت تمام صفحه',
'hidden' => 'مخفی',
Expand Down
1 change: 1 addition & 0 deletions lang/fi/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
'layout' => 'Ulkoasu',
'description' => 'Kuvaus',
'preview' => 'Esikatsele',
'duplicate' => 'Kaksoiskappale',
'enter_fullscreen' => 'Kokoruudun tila',
'exit_fullscreen' => 'Poistu kokoruudun tilasta',
'hidden' => 'Piilotettu',
Expand Down
1 change: 1 addition & 0 deletions lang/fr/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
'layout' => 'Maquette',
'description' => 'Description',
'preview' => 'Aperçu',
'duplicate' => 'Dupliquer',
'enter_fullscreen' => 'Activer le mode plein écran',
'exit_fullscreen' => 'Annuler le mode plein écran',
'hidden' => 'Caché',
Expand Down
1 change: 1 addition & 0 deletions lang/hu/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
'layout' => 'Elrendezés',
'description' => 'Leírás',
'preview' => 'Előnézet',
'duplicate' => 'Duplikátum',
'enter_fullscreen' => 'Váltás teljes képernyős módra',
'exit_fullscreen' => 'Kilépés a teljes képernyős módból',
'hidden' => 'Rejtett',
Expand Down
1 change: 1 addition & 0 deletions lang/it/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
'layout' => 'Layout',
'description' => 'Descrizione',
'preview' => 'Anteprima',
'duplicate' => 'Duplicato',
'enter_fullscreen' => 'Abilita visualizzazione a schermo intero',
'exit_fullscreen' => 'Esci dalla visualizzazione a schermo intero',
'hidden' => 'Nascosto',
Expand Down
1 change: 1 addition & 0 deletions lang/lv/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
'layout' => 'Izkārtojums',
'description' => 'Skaidrojums',
'preview' => 'Priekšskats',
'duplicate' => 'Dublikāts',
'enter_fullscreen' => 'Atvērt pilnekrāna režīmu',
'exit_fullscreen' => 'Aizvērt pilnekrāna režīmu',
'hidden' => 'Paslēpts',
Expand Down
1 change: 1 addition & 0 deletions lang/nb-no/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
'layout' => 'Layout',
'description' => 'Beskrivelse',
'preview' => 'Forhåndsvis',
'duplicate' => 'Duplisere',
'enter_fullscreen' => 'Fullskjermmodus',
'exit_fullscreen' => 'Avslutt fullskjermmodus',
'hidden' => 'Skjult',
Expand Down
1 change: 1 addition & 0 deletions lang/nl/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
'layout' => 'Layout',
'description' => 'Beschrijving',
'preview' => 'Voorbeeld',
'duplicate' => 'Duplicaat',
LukeTowers marked this conversation as resolved.
Show resolved Hide resolved
'enter_fullscreen' => 'Volledig scherm openen',
'exit_fullscreen' => 'Volledig scherm afsluiten',
'hidden' => 'Verborgen',
Expand Down
3 changes: 2 additions & 1 deletion lang/pl/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
'layout' => 'Układ',
'description' => 'Opis',
'preview' => 'Podgląd',
'duplicate' => 'Duplikat',
'enter_fullscreen' => 'Pełny ekran',
'exit_fullscreen' => 'Zamknij pełny ekran',
'hidden' => 'Ukryta',
Expand Down Expand Up @@ -139,4 +140,4 @@
'child_pages_description' => 'Wyświetla listę stron podrzędnych dla aktualnej strony',
'static_menu_menu_code' => 'Podaj kod systemowy menu',
],
];
];
1 change: 1 addition & 0 deletions lang/pt-br/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
'layout' => 'Layout',
'description' => 'Descrição',
'preview' => 'Visualizar',
'duplicate' => 'Duplisere',
'enter_fullscreen' => 'Entrar no modo tela cheia',
'exit_fullscreen' => 'Sair do modo tela cheia',
'hidden' => 'Ocultar',
Expand Down
1 change: 1 addition & 0 deletions lang/ru/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
'layout' => 'Шаблон',
'description' => 'Описание',
'preview' => 'Предпросмотр',
'duplicate' => 'Дубликат',
'enter_fullscreen' => 'Войти в полноэкранный режим',
'exit_fullscreen' => 'Выйти из полноэкранного режима',
'hidden' => 'Скрытый',
Expand Down
1 change: 1 addition & 0 deletions lang/sk/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
'layout' => 'Layout',
'description' => 'Popis',
'preview' => 'Náhľad',
'duplicate' => 'Duplikát',
'enter_fullscreen' => 'Zapnúť režim celej obrazovky',
'exit_fullscreen' => 'Vypnúť režim celej obrazovky',
'hidden' => 'Skrytá',
Expand Down
1 change: 1 addition & 0 deletions lang/sl/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
'layout' => 'Postavitev',
'description' => 'Opis',
'preview' => 'Predogled',
'duplicate' => 'Dvojnik',
'enter_fullscreen' => 'Celozaslonski način',
'exit_fullscreen' => 'Zapri celozaslonski način',
'hidden' => 'Skrita stran',
Expand Down
1 change: 1 addition & 0 deletions lang/sv/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
'layout' => 'Layout',
'description' => 'Beskrivning',
'preview' => 'Förhandsgranska',
'duplicate' => 'Dubbla',
'enter_fullscreen' => 'Gå in i fullskärmsläge',
'exit_fullscreen' => 'Gå ut ur fullskärmsläge',
'hidden' => 'Gömd',
Expand Down
1 change: 1 addition & 0 deletions lang/tr/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
'layout' => 'Layout',
'description' => 'Tanımlama',
'preview' => 'Önizleme',
'duplicate' => 'Kopyalamak',
'enter_fullscreen' => 'Tam Ekran moduna geç',
'exit_fullscreen' => 'Tam Ekran modundan çık',
'hidden' => 'Gizli',
Expand Down
1 change: 1 addition & 0 deletions lang/uk/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
'layout' => 'Шаблон',
'description' => 'Опис',
'preview' => 'Попередній огляд',
'duplicate' => 'дублікат',
'enter_fullscreen' => 'Увійти в повноекранний режим',
'exit_fullscreen' => 'Вийти з повноекранного режиму',
'hidden' => 'Прихований',
Expand Down
1 change: 1 addition & 0 deletions lang/zh-cn/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
'layout' => '布局',
'description' => '描述',
'preview' => '预览',
'duplicate' => '重复的',
'enter_fullscreen' => '全屏编辑',
'exit_fullscreen' => '退出全屏',
'hidden' => '隐藏',
Expand Down