Skip to content

Commit

Permalink
Merge branch 'release' into vatger
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhollmann committed Apr 11, 2024
2 parents 670febf + f7acac1 commit a020991
Show file tree
Hide file tree
Showing 24 changed files with 103 additions and 95 deletions.
4 changes: 3 additions & 1 deletion .github/translators.txt
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ Robin Flikkema (RobinFlikkema) :: Dutch
Michal Gurcik (mgurcik) :: Slovak
Pooyan Arab (pooyanarab) :: Persian
Ochi Darma Putra (troke12) :: Indonesian
H.-H. Peng (Hsins) :: Chinese Traditional
Hsin-Hsiang Peng (Hsins) :: Chinese Traditional
Mosi Wang (mosiwang) :: Chinese Traditional
骆言 (LawssssCat) :: Chinese Simplified
Stickers Gaming Shøw (StickerSGSHOW) :: French
Expand Down Expand Up @@ -386,3 +386,5 @@ Y (cnsr) :: Ukrainian
ZY ZV (vy0b0x) :: Chinese Simplified
diegobenitez :: Spanish
Marc Hagen (MarcHagen) :: Dutch
Kasper Alsøe (zeonos) :: Danish
sultani :: Persian
5 changes: 3 additions & 2 deletions app/Entities/Controllers/ChapterApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,9 @@ protected function forJsonDisplay(Chapter $chapter): Chapter
$chapter->unsetRelations()->refresh();

$chapter->load(['tags']);
$chapter->makeVisible('description_html')
->setAttribute('description_html', $chapter->descriptionHtml());
$chapter->makeVisible('description_html');
$chapter->setAttribute('description_html', $chapter->descriptionHtml());
$chapter->setAttribute('book_slug', $chapter->book()->first()->slug);

return $chapter;
}
Expand Down
1 change: 1 addition & 0 deletions dev/api/responses/chapters-create.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"updated_by": 1,
"owned_by": 1,
"description_html": "<p>This is a <strong>great new chapter<\/strong> that I've created via the API<\/p>",
"book_slug": "example-book",
"tags": [
{
"name": "Category",
Expand Down
1 change: 1 addition & 0 deletions dev/api/responses/chapters-update.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"updated_by": 1,
"owned_by": 1,
"description_html": "<p>This is an <strong>updated chapter<\/strong> that I've altered via the API<\/p>",
"book_slug": "example-book",
"tags": [
{
"name": "Category",
Expand Down
4 changes: 2 additions & 2 deletions lang/ca/entities.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'meta_updated' => 'Actualitzat :timeLength',
'meta_updated_name' => 'Actualitzat :timeLength per :user',
'meta_owned_name' => 'Propietat de :user',
'meta_reference_count' => 'Referenced by :count item|Referenced by :count items',
'meta_reference_count' => 'Hi fa referència :count element|Hi fan referència :count elements',
'entity_select' => 'Selecciona una entitat',
'entity_select_lack_permission' => 'No teniu els permisos necessaris per a seleccionar aquest element',
'images' => 'Imatges',
Expand Down Expand Up @@ -409,7 +409,7 @@
// References
'references' => 'Referències',
'references_none' => 'Ni hi ha cap referència detectada a aquest element.',
'references_to_desc' => 'Listed below is all the known content in the system that links to this item.',
'references_to_desc' => 'A continuació es llisten tots els continguts coneguts del sistema que enllacen a aquest element.',

// Watch Options
'watch' => 'Segueix',
Expand Down
4 changes: 2 additions & 2 deletions lang/cs/entities.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'meta_updated' => 'Aktualizováno :timeLength',
'meta_updated_name' => 'Aktualizováno :timeLength uživatelem :user',
'meta_owned_name' => 'Vlastník :user',
'meta_reference_count' => 'Referenced by :count item|Referenced by :count items',
'meta_reference_count' => 'Odkazováno :count položkou|Odkazováno :count položkami',
'entity_select' => 'Výběr entity',
'entity_select_lack_permission' => 'Nemáte dostatečná oprávnění k výběru této položky',
'images' => 'Obrázky',
Expand Down Expand Up @@ -409,7 +409,7 @@
// References
'references' => 'Odkazy',
'references_none' => 'Nebyly nalezeny žádné odkazy na tuto položku.',
'references_to_desc' => 'Listed below is all the known content in the system that links to this item.',
'references_to_desc' => 'Níže je uveden veškerý obsah o kterém systém ví, že odkazuje na tuto položku.',

// Watch Options
'watch' => 'Sledovat',
Expand Down
14 changes: 7 additions & 7 deletions lang/da/notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
*/
return [

'new_comment_subject' => 'New comment on page: :pageName',
'new_comment_intro' => 'A user has commented on a page in :appName:',
'new_page_subject' => 'New page: :pageName',
'new_page_intro' => 'A new page has been created in :appName:',
'updated_page_subject' => 'Updated page: :pageName',
'updated_page_intro' => 'A page has been updated in :appName:',
'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.',
'new_comment_subject' => 'Ny kommentar på siden: :pageName',
'new_comment_intro' => 'En bruger har kommenteret på en side i :appName:',
'new_page_subject' => 'Ny side: :pageName',
'new_page_intro' => 'En ny side er blevet oprettet i :appName:',
'updated_page_subject' => 'Opdateret side: :pageName',
'updated_page_intro' => 'En side er blevet opdateret i :appName:',
'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.',

'detail_page_name' => 'Page Name:',
'detail_page_path' => 'Page Path:',
Expand Down
4 changes: 2 additions & 2 deletions lang/de/entities.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'meta_updated' => 'Zuletzt aktualisiert: :timeLength',
'meta_updated_name' => 'Zuletzt aktualisiert: :timeLength von :user',
'meta_owned_name' => 'Im Besitz von :user',
'meta_reference_count' => 'Referenced by :count item|Referenced by :count items',
'meta_reference_count' => 'Referenziert von :count Element|Referenziert von :count Elementen',
'entity_select' => 'Eintrag auswählen',
'entity_select_lack_permission' => 'Sie haben nicht die benötigte Berechtigung, um dieses Element auszuwählen',
'images' => 'Bilder',
Expand Down Expand Up @@ -409,7 +409,7 @@
// References
'references' => 'Verweise',
'references_none' => 'Es gibt keine nachverfolgten Referenzen zu diesem Element.',
'references_to_desc' => 'Listed below is all the known content in the system that links to this item.',
'references_to_desc' => 'Unten sind alle bekannten Inhalte im System aufgelistet, die auf diesen Eintrag verweisen.',

// Watch Options
'watch' => 'Beobachten',
Expand Down
4 changes: 2 additions & 2 deletions lang/de_informal/entities.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'meta_updated' => 'Zuletzt aktualisiert: :timeLength',
'meta_updated_name' => 'Zuletzt aktualisiert: :timeLength von :user',
'meta_owned_name' => 'Im Besitz von :user',
'meta_reference_count' => 'Referenced by :count item|Referenced by :count items',
'meta_reference_count' => 'Referenziert von :count Element|Referenziert von :count Elementen',
'entity_select' => 'Eintrag auswählen',
'entity_select_lack_permission' => 'Du hast nicht die benötigte Berechtigung, um dieses Element auszuwählen',
'images' => 'Bilder',
Expand Down Expand Up @@ -409,7 +409,7 @@
// References
'references' => 'Verweise',
'references_none' => 'Es gibt keine nachverfolgten Referenzen zu diesem Element.',
'references_to_desc' => 'Listed below is all the known content in the system that links to this item.',
'references_to_desc' => 'Unten sind alle bekannten Inhalte im System aufgelistet, die auf diesen Eintrag verweisen.',

// Watch Options
'watch' => 'Beobachten',
Expand Down
6 changes: 3 additions & 3 deletions lang/fa/notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@
return [

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

'detail_page_name' => 'نام صفحه:',
'detail_page_path' => 'Page Path:',
'detail_page_path' => 'نام میسر صفحه:',
'detail_commenter' => 'نظر دهنده:',
'detail_comment' => 'نظر:',
'detail_created_by' => 'ایجاد شده توسط:',
'detail_updated_by' => 'به روزرسانی شده توسط:',

'action_view_comment' => 'مشاهده نظر',
'action_view_page' => 'View Page',
'action_view_page' => 'مشاهده صفحه',

'footer_reason' => 'This notification was sent to you because :link cover this type of activity for this item.',
'footer_reason_link' => 'تنظیمات اطلاع‌رسانی شما',
Expand Down
6 changes: 3 additions & 3 deletions lang/fa/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
'users_send_invite_option' => 'ارسال ایمیل دعوت کاربر',
'users_external_auth_id' => 'شناسه احراز هویت خارجی',
'users_external_auth_id_desc' => 'When an external authentication system is in use (such as SAML2, OIDC or LDAP) this is the ID which links this BookStack user to the authentication system account. You can ignore this field if using the default email-based authentication.',
'users_password_warning' => 'Only fill the below if you would like to change the password for this user.',
'users_password_warning' => 'فقط در صورتی که مایل به تغییر رمز عبور این کاربر هستید، موارد زیر را پر کنید.',
'users_system_public' => 'این کاربر نماینده هر کاربر مهمانی است که از نمونه شما بازدید می کند. نمی توان از آن برای ورود استفاده کرد اما به طور خودکار اختصاص داده می شود.',
'users_delete' => 'حذف کاربر',
'users_delete_named' => 'حذف :userName',
Expand All @@ -210,12 +210,12 @@
'users_preferred_language' => 'زبان ترجیحی',
'users_preferred_language_desc' => 'این گزینه زبان مورد استفاده برای رابط کاربری برنامه را تغییر می دهد. این روی محتوای ایجاد شده توسط کاربر تأثیری نخواهد داشت.',
'users_social_accounts' => 'حساب های اجتماعی',
'users_social_accounts_desc' => 'View the status of the connected social accounts for this user. Social accounts can be used in addition to the primary authentication system for system access.',
'users_social_accounts_desc' => 'مشاهده وضعیت حساب‌های اجتماعی متصل به این کاربر. حساب‌های اجتماعی می‌توانند به عنوان تکمیلی به سیستم اصلی احراز هویت برای دسترسی به سیستم استفاده شوند.',
'users_social_accounts_info' => 'در اینجا می‌توانید حساب‌های دیگر خود را برای ورود سریع‌تر و آسان‌تر متصل کنید. قطع ارتباط حساب در اینجا، دسترسی مجاز قبلی را لغو نمی کند. دسترسی را از تنظیمات نمایه خود در حساب اجتماعی متصل لغو کنید.',
'users_social_connect' => 'اتصال حساب کاربری',
'users_social_disconnect' => 'قطع حساب',
'users_social_status_connected' => 'Connected',
'users_social_status_disconnected' => 'Disconnected',
'users_social_status_disconnected' => 'قطع اتصال',
'users_social_connected' => 'حساب :socialAccount با موفقیت به نمایه شما پیوست شد.',
'users_social_disconnected' => 'حساب :socialAccount با موفقیت از نمایه شما قطع شد.',
'users_api_tokens' => 'توکن‌های API',
Expand Down
12 changes: 6 additions & 6 deletions lang/ja/entities.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'meta_updated' => '更新: :timeLength',
'meta_updated_name' => '更新: :timeLength (:user)',
'meta_owned_name' => '所有者: :user',
'meta_reference_count' => 'Referenced by :count item|Referenced by :count items',
'meta_reference_count' => ':count 項目から参照|:count 項目から参照',
'entity_select' => 'エンティティ選択',
'entity_select_lack_permission' => 'この項目を選択するために必要な権限がありません',
'images' => '画像',
Expand Down Expand Up @@ -132,9 +132,9 @@
'books_edit_named' => 'ブック「:bookName」を編集',
'books_form_book_name' => 'ブック名',
'books_save' => 'ブックを保存',
'books_default_template' => 'Default Page Template',
'books_default_template_explain' => 'Assign a page template that will be used as the default content for all new pages in this book. Keep in mind this will only be used if the page creator has view access to those chosen template page.',
'books_default_template_select' => 'Select a template page',
'books_default_template' => 'デフォルトページテンプレート',
'books_default_template_explain' => 'このブックに新しいページを作成する際にデフォルトコンテンツとして使用されるページテンプレートを割り当てます。 これはページ作成者が選択したテンプレートページへのアクセス権を持つ場合にのみ使用されることに注意してください。',
'books_default_template_select' => 'テンプレートページを選択',
'books_permissions' => 'ブックの権限',
'books_permissions_updated' => 'ブックの権限を更新しました',
'books_empty_contents' => 'まだページまたはチャプターが作成されていません。',
Expand Down Expand Up @@ -207,7 +207,7 @@
'pages_delete_draft' => 'ページの下書きを削除',
'pages_delete_success' => 'ページを削除しました',
'pages_delete_draft_success' => 'ページの下書きを削除しました',
'pages_delete_warning_template' => 'This page is in active use as a book default page template. These books will no longer have a default page template assigned after this page is deleted.',
'pages_delete_warning_template' => 'このページは現在ブックのデフォルトページテンプレートとして使用されています。 このページが削除されると、それらのブックでデフォルトのページテンプレートが割り当てられなくなります。',
'pages_delete_confirm' => 'このページを削除してもよろしいですか?',
'pages_delete_draft_confirm' => 'このページの下書きを削除してもよろしいですか?',
'pages_editing_named' => 'ページ :pageName を編集',
Expand Down Expand Up @@ -410,7 +410,7 @@
// References
'references' => '参照',
'references_none' => 'この項目への追跡された参照はありません。',
'references_to_desc' => 'Listed below is all the known content in the system that links to this item.',
'references_to_desc' => 'この項目はシステム内の以下のコンテンツからリンクされています。',

// Watch Options
'watch' => 'ウォッチ',
Expand Down
2 changes: 1 addition & 1 deletion lang/ja/notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
'updated_page_debounce' => '大量の通知を防ぐために、しばらくの間は同じユーザがこのページをさらに編集しても通知は送信されません。',

'detail_page_name' => 'ページ名:',
'detail_page_path' => 'Page Path:',
'detail_page_path' => 'ページパス:',
'detail_commenter' => 'コメントユーザ:',
'detail_comment' => 'コメント:',
'detail_created_by' => '作成ユーザ:',
Expand Down
28 changes: 14 additions & 14 deletions lang/nn/editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@
'save' => 'Lagre',
'close' => 'Lukk',
'undo' => 'Angre',
'redo' => 'Gjør om',
'redo' => 'Gjer om',
'left' => 'Venstre',
'center' => 'Sentrert',
'right' => 'Høyre',
'right' => 'Høgre',
'top' => 'Topp',
'middle' => 'Sentrert',
'bottom' => 'Bunn',
'width' => 'Bredde',
'height' => 'Høyde',
'More' => 'Mer',
'bottom' => 'Botn',
'width' => 'Breidde',
'height' => 'Høgde',
'More' => 'Meir',
'select' => 'Velg …',

// Toolbar
'formats' => 'Formater',
'header_large' => 'Stor overskrift',
'header_medium' => 'Medium overskrift',
'header_small' => 'Liten overskrift',
'header_tiny' => 'Bitteliten overskrift',
'header_small' => 'Lita overskrift',
'header_tiny' => 'Bittelita overskrift',
'paragraph' => 'Avsnitt',
'blockquote' => 'Blokksitat',
'inline_code' => 'Kodesetning',
Expand All @@ -40,24 +40,24 @@
'callout_success' => 'Positiv',
'callout_warning' => 'Advarsel',
'callout_danger' => 'Negativ',
'bold' => 'Fet',
'bold' => 'Feit',
'italic' => 'Kursiv',
'underline' => 'Understrek',
'strikethrough' => 'Strek over',
'superscript' => 'Hevet skrift',
'subscript' => 'Senket skrift',
'superscript' => 'Heva skrift',
'subscript' => 'Senka skrift',
'text_color' => 'Tekstfarge',
'custom_color' => 'Egenvalgt farge',
'custom_color' => 'Eigenvalgt farge',
'remove_color' => 'Fjern farge',
'background_color' => 'Bakgrunnsfarge',
'align_left' => 'Venstrejustering',
'align_center' => 'Midtstilling',
'align_right' => 'Høyrejustering',
'align_right' => 'Høgrejustering',
'align_justify' => 'Blokkjustering',
'list_bullet' => 'Punktliste',
'list_numbered' => 'Nummerert liste',
'list_task' => 'Oppgaveliste',
'indent_increase' => 'Øk innrykk',
'indent_increase' => 'Auk innrykk',
'indent_decrease' => 'Redusér innrykk',
'table' => 'Tabell',
'insert_image' => 'Sett inn bilde',
Expand Down
12 changes: 6 additions & 6 deletions lang/nn/entities.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'meta_updated' => 'Oppdatert :timeLength',
'meta_updated_name' => 'Oppdatert :timeLength av :user',
'meta_owned_name' => 'Eigd av :user',
'meta_reference_count' => 'Referenced by :count item|Referenced by :count items',
'meta_reference_count' => 'Sitert på :count side|Sitert på :count sider',
'entity_select' => 'Velg entitet',
'entity_select_lack_permission' => 'Du har ikkje tilgang til å velge dette elementet',
'images' => 'Bilete',
Expand Down Expand Up @@ -132,9 +132,9 @@
'books_edit_named' => 'Endre boken :bookName',
'books_form_book_name' => 'Boktittel',
'books_save' => 'Lagre bok',
'books_default_template' => 'Default Page Template',
'books_default_template_explain' => 'Assign a page template that will be used as the default content for all new pages in this book. Keep in mind this will only be used if the page creator has view access to those chosen template page.',
'books_default_template_select' => 'Select a template page',
'books_default_template' => 'Standard sidemal',
'books_default_template_explain' => 'Tildel ein sidemal som vil bli brukt som standardinnhold for alle nye sider i denne boka. Hugs at dette berre vil bli brukt om sideskaperen har tilgang til den valgte malsida.',
'books_default_template_select' => 'Velg ei malside',
'books_permissions' => 'Boktilganger',
'books_permissions_updated' => 'Boktilganger oppdatert',
'books_empty_contents' => 'Ingen sider eller kapittel finst i denne boka.',
Expand Down Expand Up @@ -207,7 +207,7 @@
'pages_delete_draft' => 'Slett utkastet',
'pages_delete_success' => 'Siden er slettet',
'pages_delete_draft_success' => 'Sideutkastet vart sletta',
'pages_delete_warning_template' => 'This page is in active use as a book default page template. These books will no longer have a default page template assigned after this page is deleted.',
'pages_delete_warning_template' => 'Denne siden er i aktiv bruk som en standard sidemal for bok. Desse bøkene vil ikkje lenger ha ein standard sidemal som er tilordnet etter at denne sida vert sletta.',
'pages_delete_confirm' => 'Er du sikker på at du vil slette siden?',
'pages_delete_draft_confirm' => 'Er du sikker på at du vil slette utkastet?',
'pages_editing_named' => 'Redigerer :pageName (side)',
Expand Down Expand Up @@ -409,7 +409,7 @@
// References
'references' => 'Referanser',
'references_none' => 'Det er ingen sporede referanser til dette elementet.',
'references_to_desc' => 'Listed below is all the known content in the system that links to this item.',
'references_to_desc' => 'Nedanfor vises alle dei kjente sidene i systemet som lenker til denne oppføringa.',

// Watch Options
'watch' => 'Overvåk',
Expand Down
Loading

0 comments on commit a020991

Please sign in to comment.