Skip to content

Commit 27ee517

Browse files
mhepp63mheppler-rh
andauthored
Fixes the wrong name of aspect_ratio 16by9 to 1byx9 in all translations. (#4279)
Co-authored-by: Michal Heppler <mheppler@redhat.com>
1 parent 78d2e2c commit 27ee517

8 files changed

Lines changed: 146 additions & 146 deletions

File tree

app/Enum/AspectRatioCSSType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ enum AspectRatioCSSType: string
2020
case aspect3by2 = 'aspect-3x2';
2121
case aspect1by1 = 'aspect-square';
2222
case aspect2by3 = 'aspect-2x3';
23-
case aspect1byx9 = 'aspect-video';
23+
case aspect16by9 = 'aspect-video';
2424
}

app/Enum/AspectRatioType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ enum AspectRatioType: string
2020
case aspect1by1 = '1/1';
2121
case aspect2by3 = '2/3';
2222
case aspect4by5 = '4/5';
23-
case aspect1byx9 = '16/9';
23+
case aspect16by9 = '16/9';
2424

2525
public function css(): AspectRatioCSSType
2626
{
@@ -30,7 +30,7 @@ public function css(): AspectRatioCSSType
3030
self::aspect3by2 => AspectRatioCSSType::aspect3by2,
3131
self::aspect1by1 => AspectRatioCSSType::aspect1by1,
3232
self::aspect2by3 => AspectRatioCSSType::aspect2by3,
33-
self::aspect1byx9 => AspectRatioCSSType::aspect1byx9,
33+
self::aspect16by9 => AspectRatioCSSType::aspect16by9,
3434
};
3535
}
3636
}

lang/cz/aspect_ratio.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
| Aspect Ratio lines.
77
|--------------------------------------------------------------------------
88
*/
9-
'5by4' => '5/4 (instagram landscape)',
10-
'4by5' => '4/5 (instagram portrait)',
11-
'2by3' => '2/3 (portrait)',
12-
'3by2' => '3/2 (landscape)',
13-
'1by1' => 'square',
14-
'16by9' => '16/9 (landscape)',
9+
'5by4' => '5/4 (instagram na šířku)',
10+
'4by5' => '4/5 (instagram na výšku)',
11+
'2by3' => '2/3 (na výšku)',
12+
'3by2' => '3/2 (na šířku)',
13+
'1by1' => 'čtverec',
14+
'16by9' => '16/9 (na šířku)',
1515
];

lang/cz/contact.php

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@
66
| Contact form page
77
|--------------------------------------------------------------------------
88
*/
9-
'title' => 'Contact Us',
10-
'description' => 'We\'d love to hear from you!',
11-
'name_label' => 'Name',
12-
'name_placeholder' => 'Your name',
13-
'email_label' => 'Email or contact method',
9+
'title' => 'Kontakt',
10+
'description' => 'Rádi si přečteme vaši zprávu!',
11+
'name_label' => 'Jméno',
12+
'name_placeholder' => 'Vaše jméno',
13+
'email_label' => 'Email nebo jiný kontakt',
1414
'email_placeholder' => 'your@email.com',
15-
'message_label' => 'Message',
16-
'message_placeholder' => 'Write your message here...',
17-
'security_question_label' => 'Security Question',
18-
'security_answer_placeholder' => 'Your answer',
19-
'sample_qa_label' => 'Sample Q&A',
20-
'consent_label' => 'I agree to the',
21-
'consent_privacy_link' => 'privacy policy',
22-
'name_required_error' => 'Name is required.',
23-
'email_required_error' => 'Contact method is required.',
24-
'message_min_length_error' => 'Message must be at least 10 characters.',
25-
'security_answer_required_error' => 'Please answer the security question.',
26-
'consent_required_error' => 'You must agree to the privacy policy.',
27-
'submit_button' => 'Send Message',
28-
'clear_button' => 'Clear',
29-
'success_message' => 'Thank you for your message. We will get back to you soon.',
30-
'submit_error' => 'An error occurred while submitting your message. Please try again.',
31-
'rate_limit_error' => 'Too many submissions. Please try again later.',
32-
'validation_error' => 'Please correct the errors below.',
15+
'message_label' => 'Zpráva',
16+
'message_placeholder' => 'Vaše zpráva zde...',
17+
'security_question_label' => 'Bezpečnostní otázka',
18+
'security_answer_placeholder' => 'Odpověď',
19+
'sample_qa_label' => 'Vzorové Q&A',
20+
'consent_label' => 'Souhlasím s',
21+
'consent_privacy_link' => 'záqsady ochrany osobních údajů',
22+
'name_required_error' => 'Vyplňte jméno.',
23+
'email_required_error' => 'Email nebo jiný kontakt musí být vyplněn.',
24+
'message_min_length_error' => 'Zpráva musí obsahovat alespoň 10 znaků.',
25+
'security_answer_required_error' => 'Prosím, odpovězte na bezpečnostní otázku.',
26+
'consent_required_error' => 'Musíte souhlasit se zásadami ochrany osobních údajů.',
27+
'submit_button' => 'Odeslat zprávu',
28+
'clear_button' => 'Vyčistit',
29+
'success_message' => 'Děkujeme za vaši zprávu. Brzy vám odpovíme.',
30+
'submit_error' => 'Pri odesílání zprávy se vyskytla chyba. Zkuste to prosím později.',
31+
'rate_limit_error' => 'Příliš mnoho odeslání, zkuste to znovu později.',
32+
'validation_error' => 'Prosím, opravte chyby výše.',
3333

3434
/*
3535
|--------------------------------------------------------------------------

lang/cz/dialogs.php

Lines changed: 110 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -8,120 +8,120 @@
88
*/
99
'close' => 'Zavřít',
1010
'cancel' => 'Zrušit',
11-
'save' => 'Save',
12-
'delete' => 'Delete',
13-
'move' => 'Move',
11+
'save' => 'Uložit',
12+
'delete' => 'Smazat',
13+
'move' => 'Přesunout',
1414
],
1515
'about' => [
16-
'subtitle' => 'Self-hosted photo-management done right',
17-
'description' => 'Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.',
18-
'update_available' => 'Update available!',
19-
'thank_you' => 'Thank you for your support!',
20-
'get_supporter_or_register' => 'Get exclusive features and support the development of Lychee.<br />Unlock the <a href="https://lycheeorg.dev/get-supporter-edition/" class="text-primary-500 underline">Supporter Edition</a> or register your License key',
21-
'here' => 'here',
16+
'subtitle' => 'Správa fotografií na vlastním serveru, jak má být',
17+
'description' => 'Lychee je bezplatný nástroj pro správu fotografií, který běží na vašem serveru nebo webovém prostoru. Instalace je otázkou několika vteřin. Nahrajte, spravujte a sdílejte fotografie stejně jako v nativní aplikaci. Lychee obsahuje vše, co potřebujete, a všechny vaše fotografie jsou bezpečně uloženy.',
18+
'update_available' => 'Je dostupná aktualizace!',
19+
'thank_you' => 'Děkujeme za vaši podporu!',
20+
'get_supporter_or_register' => 'Získejte exkluzivní funkce a podpořte vývoj aplikace Lychee.<br />Odemkněte <a href="https://lycheeorg.dev/get-supporter-edition/" class="text-primary-500 underline">Supporter Edition</a> nebo zaregistrujte svůj licenční klíč.',
21+
'here' => 'zde',
2222
],
2323
'dropbox' => [
24-
'not_configured' => 'Dropbox is not configured.',
24+
'not_configured' => 'Dropbox není nakonfigurován.',
2525
],
2626
'import_from_link' => [
27-
'instructions' => 'Please enter the direct link to a photo to import it:',
28-
'import' => 'Import',
27+
'instructions' => 'Pro import zadejte přímý odkaz na fotografii:',
28+
'import' => 'Importovat',
2929
],
3030
'keybindings' => [
31-
'header' => 'Keyboard shortcuts',
32-
'don_t_show_again' => 'Don\'t show this dialog again',
33-
'hide_header_button' => 'Don\'t show help in header',
34-
'side_wide' => 'Site-wide Shortcuts',
35-
'back_cancel' => 'Back/Cancel',
36-
'confirm' => 'Confirm',
37-
'login' => 'Login',
38-
'toggle_full_screen' => 'Toggle Full Screen',
39-
'toggle_sensitive_albums' => 'Toggle Sensitive Albums',
40-
'albums' => 'Albums Shortcuts',
41-
'new_album' => 'New Album',
42-
'upload_photos' => 'Upload Photos',
43-
'search' => 'Search',
44-
'show_this_modal' => 'Show this modal',
45-
'select_all' => 'Select All',
46-
'move_selection' => 'Move Selection',
47-
'delete_selection' => 'Delete Selection',
48-
'album' => 'Album Shortcuts',
49-
'slideshow' => 'Start/Stop Slideshow',
50-
'toggle' => 'Toggle panel',
51-
'photo' => 'Photo Shortcuts',
52-
'previous' => 'Previous photo',
53-
'next' => 'Next photo',
54-
'cycle' => 'Cycle overlay mode',
55-
'star' => 'Star the photo',
56-
'move' => 'Move the photo',
57-
'delete' => 'Delete the photo',
58-
'edit' => 'Edit information',
59-
'show_hide_meta' => 'Show information',
60-
'keep_hidden' => 'We will keep it hidden.',
61-
'button_hidden' => 'We will hide the button in the header.',
31+
'header' => 'Klávesové zkratky',
32+
'don_t_show_again' => 'Nezobrazovat toto okno znovu',
33+
'hide_header_button' => 'Nezobrazovat nápovědu v hlavičce',
34+
'side_wide' => 'Zkratky pro celý web',
35+
'back_cancel' => 'Zpět/Zrušit',
36+
'confirm' => 'Potvrdit',
37+
'login' => 'Přihlášení',
38+
'toggle_full_screen' => 'Přepnout celou obrazovku',
39+
'toggle_sensitive_albums' => 'Prepnout zobrazení citlivých alb.',
40+
'albums' => 'Zkratky pro Alba',
41+
'new_album' => 'Nové Album',
42+
'upload_photos' => 'Nahrát fotografie',
43+
'search' => 'Vyhledávání',
44+
'show_this_modal' => 'Zobrazit toto modální okno',
45+
'select_all' => 'Vybrat vše',
46+
'move_selection' => 'Přesunout výběr',
47+
'delete_selection' => 'Smazat výběr',
48+
'album' => 'Zkratky pro Album',
49+
'slideshow' => 'Start/Stop Prohlížení',
50+
'toggle' => 'Přepnout panel',
51+
'photo' => 'Zkratky pro foto',
52+
'previous' => 'Předchozí foto',
53+
'next' => 'Další foto',
54+
'cycle' => 'Přepínat popisy fotografie',
55+
'star' => 'Hodnotit foto',
56+
'move' => 'Přesunout foto',
57+
'delete' => 'Smazat foto',
58+
'edit' => 'Upravit informace',
59+
'show_hide_meta' => 'Zobrazit informace',
60+
'keep_hidden' => 'Zůstane to skryté.',
61+
'button_hidden' => 'Skrýt tlačítko v hlavičče.',
6262
],
6363
'login' => [
64-
'auth_with' => 'Authenticate with %s',
65-
'username' => 'Username',
66-
'password' => 'Password',
67-
'unknown_invalid' => 'Unknown user or invalid password.',
68-
'signin' => 'Sign-In',
69-
'remember_me' => 'Remember me',
64+
'auth_with' => 'Přihlásit se pomocí %s',
65+
'username' => 'Uživatelské jméno',
66+
'password' => 'Heslo',
67+
'unknown_invalid' => 'Neznámý uživatel nebo špatné heslo.',
68+
'signin' => 'Přihlásit se',
69+
'remember_me' => 'Zapamatovat si přihlášení',
7070
],
7171
'register' => [
72-
'enter_license' => 'Enter your license key below:',
73-
'license_key' => 'License key',
74-
'invalid_license' => 'Invalid license key.',
75-
'expired_license' => 'Your license key has expired. Empty the field or get a new one at <a href="https://keygen.lycheeorg.dev" class="text-primary-500 underline" target="_blank" rel="noopener noreferrer">keygen.lycheeorg.dev</a>.',
76-
'register' => 'Register',
72+
'enter_license' => 'Vložte svůj licenční klíč:',
73+
'license_key' => 'Klíč',
74+
'invalid_license' => 'Špatný licenční klíč.',
75+
'expired_license' => 'Váš licencní klíč je expirovaný. Nechejte pole prázdné, nebo si vytvořte nový klíč na <a href="https://keygen.lycheeorg.dev" class="text-primary-500 underline" target="_blank" rel="noopener noreferrer">keygen.lycheeorg.dev</a>.',
76+
'register' => 'Registrovat',
7777
],
7878
'share_album' => [
79-
'url_copied' => 'Copied URL to clipboard!',
79+
'url_copied' => 'Adresa zkopírována do schránky!',
8080
],
8181
'embed_code' => [
82-
'title' => 'Embed Album',
83-
'title_stream' => 'Embed Photo Stream',
84-
'info' => 'Generate an embed code to display this album on your website.',
82+
'title' => 'Vloži Album',
83+
'title_stream' => 'Vložit Photo Stream',
84+
'info' => 'Vytvoří kód pro vložení tohoto alba do vaší webové stránky.',
8585
'mode' => 'Režim',
8686
'mode_album_help' => 'Vložit fotografie z tohoto konkrétního alba.',
8787
'mode_stream_help' => 'Vložit všechny vaše veřejné fotografie jako chronologický proud (nejnovější první).',
88-
'layout' => 'Layout',
89-
'spacing' => 'Spacing',
90-
'row_height' => 'Row Height',
91-
'column_width' => 'Column Width',
92-
'max_photos' => 'Maximum Photos',
93-
'max_photos_none' => 'None (all photos)',
94-
'max_photos_count' => '%d photos',
95-
'sort_order' => 'Sort Order',
96-
'sort_newest' => 'Newest first',
97-
'sort_oldest' => 'Oldest first',
98-
'header_placement' => 'Header Placement',
99-
'header_top' => 'Top',
100-
'header_bottom' => 'Bottom',
101-
'header_none' => 'None',
102-
'preview' => 'Preview',
103-
'preview_failed' => 'Failed to load preview.',
104-
'code' => 'Embed Code',
105-
'copy' => 'Copy to Clipboard',
106-
'copied' => 'Copied!',
107-
'copy_success' => 'Embed code copied to clipboard',
108-
'copy_error' => 'Error',
109-
'copy_error_message' => 'Failed to copy to clipboard',
110-
'show_advanced' => 'Show advanced options',
111-
'hide_advanced' => 'Hide advanced options',
88+
'layout' => 'Rozložení',
89+
'spacing' => 'Mezery',
90+
'row_height' => 'Výška řádku',
91+
'column_width' => 'Šířka sloupce',
92+
'max_photos' => 'Maximum Fotografií',
93+
'max_photos_none' => 'Nenastaveno (všechny fotografie)',
94+
'max_photos_count' => '%d fotografií',
95+
'sort_order' => 'Způsob třízení',
96+
'sort_newest' => 'Nejnovější první',
97+
'sort_oldest' => 'Nejstarší napřed',
98+
'header_placement' => 'Umísténí Hlavičky',
99+
'header_top' => 'Nahoře',
100+
'header_bottom' => 'Dole',
101+
'header_none' => 'Nikde',
102+
'preview' => 'Náhled',
103+
'preview_failed' => 'Chyba při načítání náhledu.',
104+
'code' => 'Vložit kód',
105+
'copy' => 'Zkopírovat do schránky',
106+
'copied' => 'Zkopírováno do schránky!',
107+
'copy_success' => 'Kód pro vložení zkopírován do schránky',
108+
'copy_error' => 'Chyba!',
109+
'copy_error_message' => 'Nepovedlo se zkopírovat do schránky',
110+
'show_advanced' => 'Zobrazit rozšířené možnosti',
111+
'hide_advanced' => 'Skrýt rozšířené možnosti',
112112
],
113113
'upload' => [
114-
'completed' => 'Completed',
115-
'uploaded' => 'Uploaded:',
116-
'release' => 'Release file to upload!',
117-
'select' => 'Click here to select files to upload',
118-
'drag' => '(Or drag files to the page)',
119-
'loading' => 'Loading',
120-
'resume' => 'Resume',
121-
'uploading' => 'Uploading',
122-
'finished' => 'Finished',
123-
'failed_error' => 'Upload failed. The server returned an error!',
124-
'apply_watermark' => 'Apply watermark',
114+
'completed' => 'Hotovo',
115+
'uploaded' => 'Nahráno:',
116+
'release' => 'Pusťte zde soubory k nahrání!',
117+
'select' => 'Klikněte zde pro výběr souborů k nahrání',
118+
'drag' => '(Nebo přesuňte soubory na tuto stránku)',
119+
'loading' => 'Načítám',
120+
'resume' => 'Obnovit',
121+
'uploading' => 'Nahrávání',
122+
'finished' => 'Dokončeno',
123+
'failed_error' => 'Nahrávání se nezdařilo, server vrátil chybu!',
124+
'apply_watermark' => 'Aplikovat vodoznak',
125125
],
126126
'camera' => [
127127
'title' => 'Vyfotit',
@@ -131,23 +131,23 @@
131131
'secure_connection_required' => 'Přístup ke kameře vyžaduje zabezpečené připojení (HTTPS nebo localhost).',
132132
],
133133
'visibility' => [
134-
'public' => 'Public',
135-
'public_expl' => 'Anonymous users can access this album, subject to the restrictions below.',
136-
'full' => 'Original',
137-
'full_expl' => 'Anonymous users can view full-resolution photos.',
138-
'hidden' => 'Hidden',
139-
'hidden_expl' => 'Anonymous users need a direct link to access this album.',
140-
'downloadable' => 'Downloadable',
141-
'downloadable_expl' => 'Anonymous users can download this album.',
142-
'upload' => 'Allow uploads',
143-
'upload_expl' => '<i class="pi pi-exclamation-triangle text-warning-700 mr-1"></i> Anonymous users can upload photos to this album.',
144-
'password' => 'Password',
145-
'password_prot' => 'Password protected',
146-
'password_prot_expl' => 'Anonymous users need a shared password to access this album.',
147-
'password_prop_not_compatible' => 'Response cache is conflicting with this setting.<br>Due to response caching, unlocking this album will<br>also reveal its content to other annonymous users.',
148-
'nsfw' => 'Sensitive',
149-
'nsfw_expl' => 'Album contains sensitive content.',
150-
'visibility_updated' => 'Visibility updated.',
134+
'public' => 'Veřejné',
135+
'public_expl' => 'Nepřihlášení uživatelé mají k tomuto albu přístup, s níže uvedenými omezeními.',
136+
'full' => 'Originál',
137+
'full_expl' => 'Nepřihlášení uživatelé mohou stáhnout fotografii v plném rozlišení',
138+
'hidden' => 'Skryté',
139+
'hidden_expl' => 'Nepřihlášení uživatelé potřebují přímý odkaz na toto album.',
140+
'downloadable' => 'Stažitelné',
141+
'downloadable_expl' => 'Nepřihlášení uživatelé si mohou stáhnout toto Album.',
142+
'upload' => 'Povolit nahrávání',
143+
'upload_expl' => '<i class="pi pi-exclamation-triangle text-warning-700 mr-1"></i> Nepřihlášení uživatelé mohou nahrávat fotografie do tohoto alba.',
144+
'password' => 'Heslo',
145+
'password_prot' => 'Chráněné heslem',
146+
'password_prot_expl' => 'Nepřihlášení uživatelé musí použít heslo pro přístup.',
147+
'password_prop_not_compatible' => 'Toto nastavení je v rozporu s Response Cache.<br>Vzhledem k Response Cache bude odemknutí tohoto alba<br>znamenat, že jeho obsah bude viditelný i pro ostatní nepřihlášené uživatele.',
148+
'nsfw' => 'Citlivé',
149+
'nsfw_expl' => 'Album obsahuje citlivý obsah.',
150+
'visibility_updated' => 'Aktualizována viditelnost.',
151151
],
152152
'move_album' => [
153153
'confirm_single' => 'Are you sure you want to move the album “%1$s” into the album “%2$s”?',

lang/cz/landing.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
|--------------------------------------------------------------------------
77
*/
88
'gallery' => 'Galerie',
9-
'access_gallery' => 'Access the gallery',
10-
'Powered_by_Lychee' => 'Powered by Lychee',
9+
'access_gallery' => 'Vstup do Galerie',
10+
'Powered_by_Lychee' => 'Běží na platformě Lychee',
1111
'copyright' => 'All images on this website are subject to copyright by %1$s © %2$s',
1212
];

resources/js/config/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const aspectRationOptions: SelectOption<App.Enum.AspectRatioType>[] = [
4040
{ value: "1/1", label: "aspect_ratio.1by1" },
4141
{ value: "2/3", label: "aspect_ratio.2by3" },
4242
{ value: "4/5", label: "aspect_ratio.4by5" },
43-
{ value: "16/9", label: "aspect_ratio.1byx9" },
43+
{ value: "16/9", label: "aspect_ratio.16by9" },
4444
];
4545

4646
export const licenseOptions: SelectOption<App.Enum.LicenseType>[] = [

tests/Unit/Http/Requests/Album/UpdateAlbumRequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function testAuthorization()
8383
RequestAttribute::PHOTO_SORTING_ORDER_ATTRIBUTE => OrderSortingType::ASC->value,
8484
RequestAttribute::ALBUM_SORTING_COLUMN_ATTRIBUTE => ColumnSortingPhotoType::TITLE->value,
8585
RequestAttribute::ALBUM_SORTING_ORDER_ATTRIBUTE => OrderSortingType::ASC->value,
86-
RequestAttribute::ALBUM_ASPECT_RATIO_ATTRIBUTE => AspectRatioType::aspect1byx9->value,
86+
RequestAttribute::ALBUM_ASPECT_RATIO_ATTRIBUTE => AspectRatioType::aspect16by9->value,
8787
RequestAttribute::ALBUM_PHOTO_LAYOUT => PhotoLayoutType::JUSTIFIED->value,
8888
RequestAttribute::COPYRIGHT_ATTRIBUTE => 'Copyright (c) 2017-2018 Tobias Reich',
8989
RequestAttribute::ALBUM_TIMELINE_ALBUM => TimelineAlbumGranularity::DEFAULT->value,

0 commit comments

Comments
 (0)