Skip to content

Commit 655815d

Browse files
committed
Merge branch 'development' into release
2 parents 457adc1 + a4fd825 commit 655815d

23 files changed

+102
-94
lines changed

.github/translators.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ Robin Flikkema (RobinFlikkema) :: Dutch
324324
Michal Gurcik (mgurcik) :: Slovak
325325
Pooyan Arab (pooyanarab) :: Persian
326326
Ochi Darma Putra (troke12) :: Indonesian
327-
H.-H. Peng (Hsins) :: Chinese Traditional
327+
Hsin-Hsiang Peng (Hsins) :: Chinese Traditional
328328
Mosi Wang (mosiwang) :: Chinese Traditional
329329
骆言 (LawssssCat) :: Chinese Simplified
330330
Stickers Gaming Shøw (StickerSGSHOW) :: French
@@ -386,3 +386,5 @@ Y (cnsr) :: Ukrainian
386386
ZY ZV (vy0b0x) :: Chinese Simplified
387387
diegobenitez :: Spanish
388388
Marc Hagen (MarcHagen) :: Dutch
389+
Kasper Alsøe (zeonos) :: Danish
390+
sultani :: Persian

app/Entities/Controllers/ChapterApiController.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ protected function forJsonDisplay(Chapter $chapter): Chapter
134134
$chapter->unsetRelations()->refresh();
135135

136136
$chapter->load(['tags']);
137-
$chapter->makeVisible('description_html')
138-
->setAttribute('description_html', $chapter->descriptionHtml());
137+
$chapter->makeVisible('description_html');
138+
$chapter->setAttribute('description_html', $chapter->descriptionHtml());
139+
$chapter->setAttribute('book_slug', $chapter->book()->first()->slug);
139140

140141
return $chapter;
141142
}

dev/api/responses/chapters-create.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"updated_by": 1,
1212
"owned_by": 1,
1313
"description_html": "<p>This is a <strong>great new chapter<\/strong> that I've created via the API<\/p>",
14+
"book_slug": "example-book",
1415
"tags": [
1516
{
1617
"name": "Category",

dev/api/responses/chapters-update.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"updated_by": 1,
1212
"owned_by": 1,
1313
"description_html": "<p>This is an <strong>updated chapter<\/strong> that I've altered via the API<\/p>",
14+
"book_slug": "example-book",
1415
"tags": [
1516
{
1617
"name": "Category",

lang/ca/entities.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
'meta_updated' => 'Actualitzat :timeLength',
2424
'meta_updated_name' => 'Actualitzat :timeLength per :user',
2525
'meta_owned_name' => 'Propietat de :user',
26-
'meta_reference_count' => 'Referenced by :count item|Referenced by :count items',
26+
'meta_reference_count' => 'Hi fa referència :count element|Hi fan referència :count elements',
2727
'entity_select' => 'Selecciona una entitat',
2828
'entity_select_lack_permission' => 'No teniu els permisos necessaris per a seleccionar aquest element',
2929
'images' => 'Imatges',
@@ -409,7 +409,7 @@
409409
// References
410410
'references' => 'Referències',
411411
'references_none' => 'Ni hi ha cap referència detectada a aquest element.',
412-
'references_to_desc' => 'Listed below is all the known content in the system that links to this item.',
412+
'references_to_desc' => 'A continuació es llisten tots els continguts coneguts del sistema que enllacen a aquest element.',
413413

414414
// Watch Options
415415
'watch' => 'Segueix',

lang/cs/entities.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
'meta_updated' => 'Aktualizováno :timeLength',
2424
'meta_updated_name' => 'Aktualizováno :timeLength uživatelem :user',
2525
'meta_owned_name' => 'Vlastník :user',
26-
'meta_reference_count' => 'Referenced by :count item|Referenced by :count items',
26+
'meta_reference_count' => 'Odkazováno :count položkou|Odkazováno :count položkami',
2727
'entity_select' => 'Výběr entity',
2828
'entity_select_lack_permission' => 'Nemáte dostatečná oprávnění k výběru této položky',
2929
'images' => 'Obrázky',
@@ -409,7 +409,7 @@
409409
// References
410410
'references' => 'Odkazy',
411411
'references_none' => 'Nebyly nalezeny žádné odkazy na tuto položku.',
412-
'references_to_desc' => 'Listed below is all the known content in the system that links to this item.',
412+
'references_to_desc' => 'Níže je uveden veškerý obsah o kterém systém ví, že odkazuje na tuto položku.',
413413

414414
// Watch Options
415415
'watch' => 'Sledovat',

lang/da/notifications.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
*/
55
return [
66

7-
'new_comment_subject' => 'New comment on page: :pageName',
8-
'new_comment_intro' => 'A user has commented on a page in :appName:',
9-
'new_page_subject' => 'New page: :pageName',
10-
'new_page_intro' => 'A new page has been created in :appName:',
11-
'updated_page_subject' => 'Updated page: :pageName',
12-
'updated_page_intro' => 'A page has been updated in :appName:',
13-
'updated_page_debounce' => 'To prevent a mass of notifications, for a while you won\'t be sent notifications for further edits to this page by the same editor.',
7+
'new_comment_subject' => 'Ny kommentar på siden: :pageName',
8+
'new_comment_intro' => 'En bruger har kommenteret på en side i :appName:',
9+
'new_page_subject' => 'Ny side: :pageName',
10+
'new_page_intro' => 'En ny side er blevet oprettet i :appName:',
11+
'updated_page_subject' => 'Opdateret side: :pageName',
12+
'updated_page_intro' => 'En side er blevet opdateret i :appName:',
13+
'updated_page_debounce' => 'For at forhindre en masse af notifikationer, i et stykke tid vil du ikke blive sendt notifikationer for yderligere redigeringer til denne side af den samme editor.',
1414

1515
'detail_page_name' => 'Page Name:',
1616
'detail_page_path' => 'Page Path:',

lang/de/entities.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
'meta_updated' => 'Zuletzt aktualisiert: :timeLength',
2424
'meta_updated_name' => 'Zuletzt aktualisiert: :timeLength von :user',
2525
'meta_owned_name' => 'Im Besitz von :user',
26-
'meta_reference_count' => 'Referenced by :count item|Referenced by :count items',
26+
'meta_reference_count' => 'Referenziert von :count Element|Referenziert von :count Elementen',
2727
'entity_select' => 'Eintrag auswählen',
2828
'entity_select_lack_permission' => 'Sie haben nicht die benötigte Berechtigung, um dieses Element auszuwählen',
2929
'images' => 'Bilder',
@@ -409,7 +409,7 @@
409409
// References
410410
'references' => 'Verweise',
411411
'references_none' => 'Es gibt keine nachverfolgten Referenzen zu diesem Element.',
412-
'references_to_desc' => 'Listed below is all the known content in the system that links to this item.',
412+
'references_to_desc' => 'Unten sind alle bekannten Inhalte im System aufgelistet, die auf diesen Eintrag verweisen.',
413413

414414
// Watch Options
415415
'watch' => 'Beobachten',

lang/de_informal/entities.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
'meta_updated' => 'Zuletzt aktualisiert: :timeLength',
2424
'meta_updated_name' => 'Zuletzt aktualisiert: :timeLength von :user',
2525
'meta_owned_name' => 'Im Besitz von :user',
26-
'meta_reference_count' => 'Referenced by :count item|Referenced by :count items',
26+
'meta_reference_count' => 'Referenziert von :count Element|Referenziert von :count Elementen',
2727
'entity_select' => 'Eintrag auswählen',
2828
'entity_select_lack_permission' => 'Du hast nicht die benötigte Berechtigung, um dieses Element auszuwählen',
2929
'images' => 'Bilder',
@@ -409,7 +409,7 @@
409409
// References
410410
'references' => 'Verweise',
411411
'references_none' => 'Es gibt keine nachverfolgten Referenzen zu diesem Element.',
412-
'references_to_desc' => 'Listed below is all the known content in the system that links to this item.',
412+
'references_to_desc' => 'Unten sind alle bekannten Inhalte im System aufgelistet, die auf diesen Eintrag verweisen.',
413413

414414
// Watch Options
415415
'watch' => 'Beobachten',

lang/fa/notifications.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
return [
66

77
'new_comment_subject' => 'نظر جدید در صفحه: :pageName',
8-
'new_comment_intro' => 'یک کاربر در بر روی صفحه‌ای نظر ثبت کرده است :appName:',
8+
'new_comment_intro' => 'یک کاربر در صفحه نظر ارایه کرده است :appName:',
99
'new_page_subject' => 'صفحه جدید: :pageName',
1010
'new_page_intro' => 'یک صفحه جدید ایجاد شده است در :appName:',
1111
'updated_page_subject' => 'صفحه جدید: :pageName',
1212
'updated_page_intro' => 'یک صفحه جدید ایجاد شده است در :appName:',
1313
'updated_page_debounce' => 'برای جلوگیری از انبوه اعلان‌ها، برای مدتی اعلان‌ ویرایش‌هایی که توسط همان ویرایشگر در این صفحه انجام می‌شود، ارسال نخواهد شد.',
1414

1515
'detail_page_name' => 'نام صفحه:',
16-
'detail_page_path' => 'Page Path:',
16+
'detail_page_path' => 'نام میسر صفحه:',
1717
'detail_commenter' => 'نظر دهنده:',
1818
'detail_comment' => 'نظر:',
1919
'detail_created_by' => 'ایجاد شده توسط:',
2020
'detail_updated_by' => 'به روزرسانی شده توسط:',
2121

2222
'action_view_comment' => 'مشاهده نظر',
23-
'action_view_page' => 'View Page',
23+
'action_view_page' => 'مشاهده صفحه',
2424

2525
'footer_reason' => 'This notification was sent to you because :link cover this type of activity for this item.',
2626
'footer_reason_link' => 'تنظیمات اطلاع‌رسانی شما',

0 commit comments

Comments
 (0)