diff --git a/.env.example b/.env.example index 80afb6274..ccafaf4fb 100644 --- a/.env.example +++ b/.env.example @@ -20,6 +20,8 @@ SESSION_DRIVER=file #CACHE_DRIVER=memcached #SESSION_DRIVER=memcached QUEUE_DRIVER=sync +# A different prefix is useful when multiple BookStack instances use the same caching server +CACHE_PREFIX=bookstack # Memcached settings # If using a UNIX socket path for the host, set the port to 0 @@ -73,3 +75,5 @@ MAIL_PORT=1025 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null +MAIL_FROM=null +MAIL_FROM_NAME=null diff --git a/config/mail.php b/config/mail.php index 0386e0198..689be99b8 100644 --- a/config/mail.php +++ b/config/mail.php @@ -54,7 +54,7 @@ return [ | */ - 'from' => ['address' => env('MAIL_FROM', 'mail@bookstackapp.com'), 'name' => 'BookStack'], + 'from' => ['address' => env('MAIL_FROM', 'mail@bookstackapp.com'), 'name' => env('MAIL_FROM_NAME','BookStack')], /* |-------------------------------------------------------------------------- diff --git a/readme.md b/readme.md index 1694ce88f..a003bcdec 100644 --- a/readme.md +++ b/readme.md @@ -21,7 +21,7 @@ BookStack is not designed as an extensible platform to be used for purposes that ## Development & Testing -All development on BookStack is currently done on the master branch. When it's time for a release the master branch is merged into release with built & minified CSS & JS then tagged at it's version. Here are the current development requirements: +All development on BookStack is currently done on the master branch. When it's time for a release the master branch is merged into release with built & minified CSS & JS then tagged at its version. Here are the current development requirements: * [Node.js](https://nodejs.org/en/) v6.9+ diff --git a/resources/lang/en/entities.php b/resources/lang/en/entities.php index 6c5dd9f77..8a47ae011 100644 --- a/resources/lang/en/entities.php +++ b/resources/lang/en/entities.php @@ -245,6 +245,7 @@ return [ */ 'comment' => 'Comment', 'comments' => 'Comments', + 'comment_add' => 'Add Comment', 'comment_placeholder' => 'Leave a comment here', 'comment_count' => '{0} No Comments|{1} 1 Comment|[2,*] :count Comments', 'comment_save' => 'Save Comment', diff --git a/resources/lang/es_AR/common.php b/resources/lang/es_AR/common.php index 7d95fa96a..b526c9620 100644 --- a/resources/lang/es_AR/common.php +++ b/resources/lang/es_AR/common.php @@ -18,6 +18,8 @@ return [ 'name' => 'Nombre', 'description' => 'Descripción', 'role' => 'Rol', + 'cover_image' => 'Imagen de cubierta', + 'cover_image_description' => 'Esta imagen debe ser de 440x250px aproximadamente.', /** * Actions @@ -45,7 +47,11 @@ return [ 'no_items' => 'No hay items disponibles', 'back_to_top' => 'Volver arriba', 'toggle_details' => 'Alternar detalles', + "toggle_thumbnails" => "Alternar miniaturas", 'details' => 'Detalles', + "grid_view" => "Vista de grilla", + "list_view" => "Vista de lista", + /** * Header diff --git a/resources/lang/es_AR/entities.php b/resources/lang/es_AR/entities.php index 2ca0a2ade..75261a816 100644 --- a/resources/lang/es_AR/entities.php +++ b/resources/lang/es_AR/entities.php @@ -14,6 +14,7 @@ return [ 'recent_activity' => 'Actividad reciente', 'create_now' => 'Crear uno ahora', 'revisions' => 'Revisiones', + 'meta_revision' => 'Revisión #:revisionCount', 'meta_created' => 'Creado el :timeLength', 'meta_created_name' => 'Creado el :timeLength por :user', 'meta_updated' => 'Actualizado el :timeLength', @@ -26,10 +27,10 @@ return [ 'no_pages_viewed' => 'Ud. no ha visto ninguna página', 'no_pages_recently_created' => 'Ninguna página ha sido creada recientemente', 'no_pages_recently_updated' => 'Ninguna página ha sido actualizada recientemente', - 'export' => 'Export', - 'export_html' => 'Contained Web File', - 'export_pdf' => 'PDF File', - 'export_text' => 'Plain Text File', + 'export' => 'Exportar', + 'export_html' => 'Archivo web contenido', + 'export_pdf' => 'Archivo PDF', + 'export_text' => 'Archivo de texto plano', /** * Permissions and restrictions @@ -162,6 +163,7 @@ return [ 'pages_md_preview' => 'Previsualizar', 'pages_md_insert_image' => 'Insertar Imagen', 'pages_md_insert_link' => 'Insertar link de entidad', + 'pages_md_insert_drawing' => 'Insertar Dibujo', 'pages_not_in_chapter' => 'La página no esá en el capítulo', 'pages_move' => 'Mover página', 'pages_move_success' => 'Página movida a ":parentName"', diff --git a/resources/lang/es_AR/errors.php b/resources/lang/es_AR/errors.php index 15fc0d724..f2f84b0ca 100644 --- a/resources/lang/es_AR/errors.php +++ b/resources/lang/es_AR/errors.php @@ -20,6 +20,7 @@ return [ 'ldap_extension_not_installed' => 'La extensión LDAP PHP no se encuentra instalada', 'ldap_cannot_connect' => 'No se puede conectar con el servidor ldap, la conexión inicial ha fallado', 'social_no_action_defined' => 'Acción no definida', + 'social_login_bad_response' => "SE recibió un Error durante el acceso con :socialAccount : \n:error", 'social_account_in_use' => 'la cuenta :socialAccount ya se encuentra en uso, intente loguearse a través de la opcón :socialAccount .', 'social_account_email_in_use' => 'El email :email ya se encuentra en uso. Si ud. ya dispone de una cuenta puede loguearse a través de su cuenta :socialAccount desde la configuración de perfil.', 'social_account_existing' => 'La cuenta :socialAccount ya se encuentra asignada a su perfil.', @@ -35,12 +36,15 @@ return [ 'cannot_create_thumbs' => 'El servidor no puede crear la imagen miniatura. Por favor chequee que tiene la extensión GD instalada.', 'server_upload_limit' => 'El servidor no permite la subida de ficheros de este tamañ. Por favor intente con un fichero de menor tamañ.', 'image_upload_error' => 'Ha ocurrido un error al subir la imagen', + 'image_upload_type_error' => 'El tipo de imagen subida es inválido.', // Attachments 'attachment_page_mismatch' => 'Página no coincidente durante la subida del adjunto ', + 'attachment_not_found' => 'No se encuentra el objeto adjunto', // Pages 'page_draft_autosave_fail' => 'Fallo al guardar borrador. Asegurese de que tiene conexión a Internet antes de guardar este borrador', + 'page_custom_home_deletion' => 'No se puede eliminar una página cuando está configurada como página de inicio', // Entities 'entity_not_found' => 'Entidad no encontrada', diff --git a/resources/lang/es_AR/settings.php b/resources/lang/es_AR/settings.php index 1517eea43..cb32c01cf 100644 --- a/resources/lang/es_AR/settings.php +++ b/resources/lang/es_AR/settings.php @@ -34,6 +34,9 @@ return [ 'app_homepage' => 'Página de inicio de la Aplicación', 'app_homepage_desc' => 'Seleccione una página de inicio para mostrar en lugar de la vista por defecto. Se ignoran los permisos de página para las páginas seleccionadas.', 'app_homepage_default' => 'Página de inicio por defecto seleccionadad', + 'app_disable_comments' => 'Deshabilitar comentarios', + 'app_disable_comments_desc' => 'Deshabilitar comentarios en todas las páginas de la aplicación. Los comentarios existentes no se muestran.', + /** * Registration settings diff --git a/resources/lang/pl/common.php b/resources/lang/pl/common.php index f7741ba6f..84c9b0d67 100644 --- a/resources/lang/pl/common.php +++ b/resources/lang/pl/common.php @@ -10,6 +10,7 @@ return [ 'save' => 'Zapisz', 'continue' => 'Kontynuuj', 'select' => 'Wybierz', + 'more' => 'Więcej', /** * Form Labels @@ -46,6 +47,10 @@ return [ 'no_items' => 'Brak elementów do wyświetlenia', 'back_to_top' => 'Powrót na górę', 'toggle_details' => 'Włącz/wyłącz szczegóły', + 'toggle_thumbnails' => 'Włącz/wyłącz miniatury', + 'details' => 'Szczegóły', + 'grid_view' => 'Widok kafelkowy', + 'list_view' => 'Widok listy', /** * Header diff --git a/resources/lang/pl/entities.php b/resources/lang/pl/entities.php index 30e853bce..cc00c32ff 100644 --- a/resources/lang/pl/entities.php +++ b/resources/lang/pl/entities.php @@ -70,6 +70,7 @@ return [ */ 'book' => 'Księga', 'books' => 'Księgi', + 'x_books' => ':count Księga|:count Księgi', 'books_empty' => 'Brak utworzonych ksiąg', 'books_popular' => 'Popularne księgi', 'books_recent' => 'Ostatnie księgi', @@ -103,6 +104,7 @@ return [ */ 'chapter' => 'Rozdział', 'chapters' => 'Rozdziały', + 'x_chapters' => ':count Rozdział|:count Rozdziały', 'chapters_popular' => 'Popularne rozdziały', 'chapters_new' => 'Nowy rozdział', 'chapters_create' => 'Utwórz nowy rozdział', @@ -234,4 +236,24 @@ return [ 'profile_not_created_pages' => ':userName nie utworzył żadnych stron', 'profile_not_created_chapters' => ':userName nie utworzył żadnych rozdziałów', 'profile_not_created_books' => ':userName nie utworzył żadnych ksiąg', + + /** + * Comments + */ + 'comment' => 'Komentarz', + 'comments' => 'Komentarze', + 'comment_add' => 'Dodaj komentarz', + 'comment_placeholder' => 'Napisz swój komentarz tutaj', + 'comment_count' => '{0} Brak komentarzy |{1} 1 komentarz|[2,*] :count komentarzy', + 'comment_save' => 'Zapisz komentarz', + 'comment_saving' => 'Zapisywanie komentarza...', + 'comment_deleting' => 'Usuwanie komentarza...', + 'comment_new' => 'Nowy komentarz', + 'comment_created' => 'Skomentowano :createDiff', + 'comment_updated' => 'Zaktualizowano :updateDiff przez :username', + 'comment_deleted_success' => 'Komentarz usunięty', + 'comment_created_success' => 'Komentarz dodany', + 'comment_updated_success' => 'Komentarz zaktualizowany', + 'comment_delete_confirm' => 'Czy na pewno chcesz usunąc ten komentarz?', + 'comment_in_reply_to' => 'W odpowiedzi na :commentId', ]; \ No newline at end of file diff --git a/resources/views/comments/comments.blade.php b/resources/views/comments/comments.blade.php index 8186070c3..3d7763e22 100644 --- a/resources/views/comments/comments.blade.php +++ b/resources/views/comments/comments.blade.php @@ -33,7 +33,7 @@
- +
@endif