diff --git a/.gitignore b/.gitignore index 15b034ad6..d7281b29c 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,11 @@ _ide_helper.php /storage/debugbar .phpstorm.meta.php yarn.lock -/bin \ No newline at end of file +/bin +.buildpath + +.project + +.settings/org.eclipse.wst.common.project.facet.core.xml + +.settings/org.eclipse.php.core.prefs diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index f4706a5c4..7892fe8ae 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -1,10 +1,7 @@ - trans('common', [], null, 'en'), - 'components' => trans('components', [], null, 'en'), - 'entities' => trans('entities', [], null, 'en'), - 'errors' => trans('errors', [], null, 'en') + 'common' => trans('common', [], 'en'), + 'components' => trans('components', [], 'en'), + 'entities' => trans('entities', [], 'en'), + 'errors' => trans('errors', [], 'en') ]; $translations = array_replace_recursive($enTrans, $translations); } diff --git a/resources/lang/de/entities.php b/resources/lang/de/entities.php index ff590bb88..2859e4ec5 100644 --- a/resources/lang/de/entities.php +++ b/resources/lang/de/entities.php @@ -26,6 +26,10 @@ return [ 'no_pages_viewed' => 'Sie haben bisher keine Seiten angesehen.', 'no_pages_recently_created' => 'Sie haben bisher keine Seiten angelegt.', 'no_pages_recently_updated' => 'Sie haben bisher keine Seiten aktualisiert.', + 'export' => 'Exportieren', + 'export_html' => 'HTML-Datei', + 'export_pdf' => 'PDF-Datei', + 'export_text' => 'Text-Datei', /** * Permissions and restrictions @@ -160,10 +164,6 @@ return [ 'pages_revisions_preview' => 'Vorschau', 'pages_revisions_restore' => 'Zurück sichern', 'pages_revisions_none' => 'Diese Seite hat keine älteren Versionen.', - 'pages_export' => 'Exportieren', - 'pages_export_html' => 'HTML-Datei', - 'pages_export_pdf' => 'PDF-Datei', - 'pages_export_text' => 'Text-Datei', 'pages_copy_link' => 'Link kopieren', 'pages_permissions_active' => 'Seiten-Berechtigungen aktiv', 'pages_initial_revision' => 'Erste Veröffentlichung', diff --git a/resources/lang/en/entities.php b/resources/lang/en/entities.php index 109b6ee2a..f54134718 100644 --- a/resources/lang/en/entities.php +++ b/resources/lang/en/entities.php @@ -26,6 +26,10 @@ return [ 'no_pages_viewed' => 'You have not viewed any pages', 'no_pages_recently_created' => 'No pages have been recently created', 'no_pages_recently_updated' => 'No pages have been recently updated', + 'export' => 'Export', + 'export_html' => 'Contained Web File', + 'export_pdf' => 'PDF File', + 'export_text' => 'Plain Text File', /** * Permissions and restrictions @@ -161,10 +165,6 @@ return [ 'pages_revisions_preview' => 'Preview', 'pages_revisions_restore' => 'Restore', 'pages_revisions_none' => 'This page has no revisions', - 'pages_export' => 'Export', - 'pages_export_html' => 'Contained Web File', - 'pages_export_pdf' => 'PDF File', - 'pages_export_text' => 'Plain Text File', 'pages_copy_link' => 'Copy Link', 'pages_permissions_active' => 'Page Permissions Active', 'pages_initial_revision' => 'Initial publish', diff --git a/resources/lang/en/settings.php b/resources/lang/en/settings.php index ed8a0db43..fa60f99a8 100644 --- a/resources/lang/en/settings.php +++ b/resources/lang/en/settings.php @@ -116,8 +116,10 @@ return [ 'language_select' => [ 'en' => 'English', 'de' => 'Deutsch', + 'es' => 'Español', 'fr' => 'Français', - 'pt_BR' => 'Português do Brasil' + 'nl' => 'Nederlands', + 'pt_BR' => 'Português do Brasil', ] /////////////////////////////////// ]; diff --git a/resources/lang/es/activities.php b/resources/lang/es/activities.php new file mode 100644 index 000000000..649b8c7d2 --- /dev/null +++ b/resources/lang/es/activities.php @@ -0,0 +1,40 @@ + 'página creada', + 'page_create_notification' => 'Página creada exitosamente', + 'page_update' => 'página actualizada', + 'page_update_notification' => 'Página actualizada exitosamente', + 'page_delete' => 'página borrada', + 'page_delete_notification' => 'Página borrada exitosamente', + 'page_restore' => 'página restaurada', + 'page_restore_notification' => 'Página restaurada exitosamente', + 'page_move' => 'página movida', + + // Chapters + 'chapter_create' => 'capítulo creado', + 'chapter_create_notification' => 'Capítulo creado exitosamente', + 'chapter_update' => 'capítulo actualizado', + 'chapter_update_notification' => 'Capítulo actualizado exitosamente', + 'chapter_delete' => 'capítulo borrado', + 'chapter_delete_notification' => 'Capítulo borrado exitosamente', + 'chapter_move' => 'capítulo movido', + + // Books + 'book_create' => 'libro creado', + 'book_create_notification' => 'Libro creado exitosamente', + 'book_update' => 'libro actualizado', + 'book_update_notification' => 'Libro actualizado exitosamente', + 'book_delete' => 'libro borrado', + 'book_delete_notification' => 'Libro borrado exitosamente', + 'book_sort' => 'libro ordenado', + 'book_sort_notification' => 'Libro re-ordenado exitosamente', + +]; diff --git a/resources/lang/es/auth.php b/resources/lang/es/auth.php new file mode 100644 index 000000000..8837525ae --- /dev/null +++ b/resources/lang/es/auth.php @@ -0,0 +1,74 @@ + 'Las credenciales no concuerdan con nuestros registros.', + 'throttle' => 'Demasiados intentos fallidos de conexiÃn. Por favor intente nuevamente en :seconds segundos.', + + /** + * Login & Register + */ + 'sign_up' => 'Inscribete', + 'log_in' => 'Log in', + 'logout' => 'Logout', + + 'name' => 'Nombre', + 'username' => 'Username', + 'email' => 'Email', + 'password' => 'Password', + 'password_confirm' => 'Confirmar Password', + 'password_hint' => 'Debe contener al menos 5 caracteres', + 'forgot_password' => 'Olvidó Password?', + 'remember_me' => 'Recordarme', + 'ldap_email_hint' => 'Por favor introduzca un mail para utilizar con esta cuenta.', + 'create_account' => 'Crear una cuenta', + 'social_login' => 'Login Social', + 'social_registration' => 'Registro Social', + 'social_registration_text' => 'Registrar y entrar utilizando otro servicio.', + + 'register_thanks' => 'Gracias por registrarse!', + 'register_confirm' => 'Por favor chequee su email y haga clic en el botón de confirmación enviado para acceder a :appName.', + 'registrations_disabled' => 'Los registros están deshabilitados actualmente', + 'registration_email_domain_invalid' => 'Este dominio de Email no tiene acceso a esta aplicación', + 'register_success' => 'Gracias por registrarse! Ahora se encuentra registrado y logueado.', + + + /** + * Password Reset + */ + 'reset_password' => 'Reset Password', + 'reset_password_send_instructions' => 'Introduzca su email a continuación y le será enviado un correo con un link para la restauración', + 'reset_password_send_button' => 'Enviar Link de Reset', + 'reset_password_sent_success' => 'Un link para resetear password ha sido enviado a :email.', + 'reset_password_success' => 'Su password ha sido reiniciado de manera éxitosa.', + + 'email_reset_subject' => 'Reset de su password de :appName', + 'email_reset_text' => 'Ud. esta recibiendo este email debido a que recibimos una solicitud de reset de password de su cuenta.', + 'email_reset_not_requested' => 'Si ud. no solicitó un reset de password, no es requerida ninguna acción.', + + + /** + * Email Confirmation + */ + 'email_confirm_subject' => 'Confirme su email en :appName', + 'email_confirm_greeting' => 'Gracias por unirse a :appName!', + 'email_confirm_text' => 'Por favor confirme su dirección de email haciendo click en el siguiente botón:', + 'email_confirm_action' => 'Confirmar Email', + 'email_confirm_send_error' => 'Confirmation de email requerida pero el sistema no pudo enviar el mail. Contacte al administrador para asegurarse que el email está seteado correctamente.', + 'email_confirm_success' => 'Su email hasido confirmado!', + 'email_confirm_resent' => 'Email de confirmación reenviado, Por favor chequee su Inbox.', + + 'email_not_confirmed' => 'Dirección de email no confirmada', + 'email_not_confirmed_text' => 'Su cuenta de email todavía no ha sido confirmada.', + 'email_not_confirmed_click_link' => 'Por favor chequee el email con el link de confirmación que ha sido enviado luego de registrarse.', + 'email_not_confirmed_resend' => 'Si no puede encontrar el email, puede solicitar el renvío del email de confirmación rellenando el formulario a continuación.', + 'email_not_confirmed_resend_button' => 'Reenviar Email de confirmación', +]; diff --git a/resources/lang/es/common.php b/resources/lang/es/common.php new file mode 100644 index 000000000..3a62a2177 --- /dev/null +++ b/resources/lang/es/common.php @@ -0,0 +1,58 @@ + 'Cancelar', + 'confirm' => 'Confirmar', + 'back' => 'Atrás', + 'save' => 'Guardar', + 'continue' => 'Continuar', + 'select' => 'Seleccionar', + + /** + * Form Labels + */ + 'name' => 'Nombre', + 'description' => 'Descripción', + 'role' => 'Rol', + + /** + * Actions + */ + 'actions' => 'Acciones', + 'view' => 'Ver', + 'create' => 'Crear', + 'update' => 'Actualizar', + 'edit' => 'Editar', + 'sort' => 'Ordenar', + 'move' => 'Mover', + 'delete' => 'Borrar', + 'search' => 'Buscar', + 'search_clear' => 'Limpiar búsqueda', + 'reset' => 'Reset', + 'remove' => 'Remover', + + + /** + * Misc + */ + 'deleted_user' => 'Usuario borrado', + 'no_activity' => 'Ninguna actividad para mostrar', + 'no_items' => 'No hay items disponibles', + 'back_to_top' => 'Volver arriba', + 'toggle_details' => 'Alternar detalles', + + /** + * Header + */ + 'view_profile' => 'Ver Perfil', + 'edit_profile' => 'Editar Perfil', + + /** + * Email Content + */ + 'email_action_help' => 'Si está teniendo problemas haga click en el botón ":actionText", copie y pegue la siguiente URL en su navegador web:', + 'email_rights' => 'Todos los derechos reservados', +]; diff --git a/resources/lang/es/components.php b/resources/lang/es/components.php new file mode 100644 index 000000000..fead3d4a3 --- /dev/null +++ b/resources/lang/es/components.php @@ -0,0 +1,24 @@ + 'Seleccionar Imagen', + 'image_all' => 'Todo', + 'image_all_title' => 'Ver todas las imágenes', + 'image_book_title' => 'Ver las imágenes subidas a este libro', + 'image_page_title' => 'Ver las imágenes subidas a esta página', + 'image_search_hint' => 'Buscar por nombre de imagen', + 'image_uploaded' => 'Subido el :uploadedDate', + 'image_load_more' => 'Cargar más', + 'image_image_name' => 'Nombre de imagen', + 'image_delete_confirm' => 'Esta imagen esta siendo utilizada en las páginas a continuación, haga click de nuevo para confirmar que quiere borrar esta imagen.', + 'image_select_image' => 'Seleccionar Imagen', + 'image_dropzone' => 'Arrastre las imágenes o hacer click aquí para Subir', + 'images_deleted' => 'Imágenes borradas', + 'image_preview' => 'Preview de la imagen', + 'image_upload_success' => 'Imagen subida exitosamente', + 'image_update_success' => 'Detalles de la imagen actualizados exitosamente', + 'image_delete_success' => 'Imagen borrada exitosamente' +]; diff --git a/resources/lang/es/entities.php b/resources/lang/es/entities.php new file mode 100644 index 000000000..14e952f1a --- /dev/null +++ b/resources/lang/es/entities.php @@ -0,0 +1,226 @@ + 'Recientemente creadod', + 'recently_created_pages' => 'Páginas recientemente creadas', + 'recently_updated_pages' => 'Páginas recientemente actualizadas', + 'recently_created_chapters' => 'Capítulos recientemente creados', + 'recently_created_books' => 'Libros recientemente creados', + 'recently_update' => 'Recientemente actualizado', + 'recently_viewed' => 'Recientemente visto', + 'recent_activity' => 'Actividad reciente', + 'create_now' => 'Crear uno ahora', + 'revisions' => 'Revisiones', + 'meta_created' => 'Creado el :timeLength', + 'meta_created_name' => 'Creado el :timeLength por :user', + 'meta_updated' => 'Actualizado el :timeLength', + 'meta_updated_name' => 'Actualizado el :timeLength por :user', + 'x_pages' => ':count Páginas', + 'entity_select' => 'Seleccione entidad', + 'images' => 'Imágenes', + 'my_recent_drafts' => 'Mis borradores recientes', + 'my_recently_viewed' => 'Mis visualizaciones recientes', + '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', + + /** + * Permissions and restrictions + */ + 'permissions' => 'Permisos', + 'permissions_intro' => 'una vez habilitado, Estos permisos tendrán prioridad por encima de cualquier permiso establecido.', + 'permissions_enable' => 'Habilitar permisos custom', + 'permissions_save' => 'Guardar permisos', + + /** + * Search + */ + 'search_results' => 'Buscar resultados', + 'search_results_page' => 'resultados de búsqueda en página', + 'search_results_chapter' => 'Resultados de búsqueda en capítulo ', + 'search_results_book' => 'Resultados de búsqueda en libro', + 'search_clear' => 'Limpiar resultados', + 'search_view_pages' => 'Ver todas las páginas que concuerdan', + 'search_view_chapters' => 'Ver todos los capítulos que concuerdan', + 'search_view_books' => 'Ver todos los libros que concuerdan', + 'search_no_pages' => 'Ninguna página encontrada para la búsqueda', + 'search_for_term' => 'Busqueda por :term', + 'search_page_for_term' => 'Búsqueda de página por :term', + 'search_chapter_for_term' => 'Búsqueda por capítulo de :term', + 'search_book_for_term' => 'Búsqueda en libro de :term', + + /** + * Books + */ + 'book' => 'Libro', + 'books' => 'Libros', + 'books_empty' => 'No hay libros creados', + 'books_popular' => 'Libros populares', + 'books_recent' => 'Libros recientes', + 'books_popular_empty' => 'Los libros más populares aparecerán aquí.', + 'books_create' => 'Crear nuevo libro', + 'books_delete' => 'Borrar libro', + 'books_delete_named' => 'Borrar libro :bookName', + 'books_delete_explain' => 'Esto borrará el libro con el nombre \':bookName\', Todos las páginas y capítulos serán removios.', + 'books_delete_confirmation' => '¿Está seguro de que desea borrar este libro?', + 'books_edit' => 'Editar Libro', + 'books_edit_named' => 'Editar Libro :bookName', + 'books_form_book_name' => 'Nombre de libro', + 'books_save' => 'Guardar libro', + 'books_permissions' => 'permisos de libro', + 'books_permissions_updated' => 'Permisos de libro actualizados', + 'books_empty_contents' => 'Ninguna página o capítulo ha sido creada para este libro.', + 'books_empty_create_page' => 'Crear una nueva página', + 'books_empty_or' => 'ó', + 'books_empty_sort_current_book' => 'Organizar el libro actual', + 'books_empty_add_chapter' => 'Agregar un capítulo', + 'books_permissions_active' => 'Permisos de libro activados', + 'books_search_this' => 'Buscar en este libro', + 'books_navigation' => 'Navegación de libro', + 'books_sort' => 'Organizar contenido de libro', + 'books_sort_named' => 'Organizar libro :bookName', + 'books_sort_show_other' => 'Mostrar otros libros', + 'books_sort_save' => 'Guardar nuevo orden', + + /** + * Chapters + */ + 'chapter' => 'Capítulo', + 'chapters' => 'Capítulos', + 'chapters_popular' => 'Capítulos populares', + 'chapters_new' => 'Nuevo capítulo', + 'chapters_create' => 'Crear nuevo capítulo', + 'chapters_delete' => 'Borrar capítulo', + 'chapters_delete_named' => 'Borrar capítulo :chapterName', + 'chapters_delete_explain' => 'Esto borrará el caítulo con el nombre \':chapterName\', todas las páginas serán removidas + y agregadas directamente al libro padre.', + 'chapters_delete_confirm' => 'Está ud. seguro de borrar este capítulo?', + 'chapters_edit' => 'Editar capítulo', + 'chapters_edit_named' => 'Editar capítulo :chapterName', + 'chapters_save' => 'Guardar capítulo', + 'chapters_move' => 'Mover capítulo', + 'chapters_move_named' => 'Mover Capítulo :chapterName', + 'chapter_move_success' => 'Capítulo movido a :bookName', + 'chapters_permissions' => 'Permisos de capítulo', + 'chapters_empty' => 'No existen páginas en este capítulo.', + 'chapters_permissions_active' => 'Permisos de capítulo activado', + 'chapters_permissions_success' => 'Permisos de capítulo actualizados', + + /** + * Pages + */ + 'page' => 'Página', + 'pages' => 'Páginas', + 'pages_popular' => 'Páginas populares', + 'pages_new' => 'Nueva página', + 'pages_attachments' => 'Adjuntos', + 'pages_navigation' => 'Navegación de página', + 'pages_delete' => 'Borrar página', + 'pages_delete_named' => 'Borrar página :pageName', + 'pages_delete_draft_named' => 'Borrar borrador de página :pageName', + 'pages_delete_draft' => 'Borrar borrador de página', + 'pages_delete_success' => 'Página borrada', + 'pages_delete_draft_success' => 'Borrador de página borrado', + 'pages_delete_confirm' => 'Está ud. seguro de borrar esta página ?', + 'pages_delete_draft_confirm' => 'Está ud. seguro de que desea borrar este borrador de página?', + 'pages_editing_named' => 'Editando página :pageName', + 'pages_edit_toggle_header' => 'Toggle Título', + 'pages_edit_save_draft' => 'Guardar borrador', + 'pages_edit_draft' => 'Editar borrador de página', + 'pages_editing_draft' => 'Editando borrador', + 'pages_editing_page' => 'Editando página', + 'pages_edit_draft_save_at' => 'Borrador guardado el ', + 'pages_edit_delete_draft' => 'Borrar borrador', + 'pages_edit_discard_draft' => 'Descartar borrador', + 'pages_edit_set_changelog' => 'Set Changelog', + 'pages_edit_enter_changelog_desc' => 'Introduzca una breve descripción de los cambios que ha realizado', + 'pages_edit_enter_changelog' => 'Entrar en Changelog', + 'pages_save' => 'Guardar página', + 'pages_title' => 'Título de página', + 'pages_name' => 'Nombre de página', + 'pages_md_editor' => 'Editor', + 'pages_md_preview' => 'Preview', + 'pages_md_insert_image' => 'Insertar Imagen', + 'pages_md_insert_link' => 'Insert Entity Link', + 'pages_not_in_chapter' => 'Page is not in a chapter', + 'pages_move' => 'Move Page', + 'pages_move_success' => 'Page moved to ":parentName"', + 'pages_permissions' => 'Page Permissions', + 'pages_permissions_success' => 'Page permissions updated', + 'pages_revisions' => 'Page Revisions', + 'pages_revisions_named' => 'Page Revisions for :pageName', + 'pages_revision_named' => 'Page Revision for :pageName', + 'pages_revisions_created_by' => 'Created By', + 'pages_revisions_date' => 'Revision Date', + 'pages_revisions_changelog' => 'Changelog', + 'pages_revisions_changes' => 'Changes', + 'pages_revisions_current' => 'Current Version', + 'pages_revisions_preview' => 'Preview', + 'pages_revisions_restore' => 'Restore', + 'pages_revisions_none' => 'This page has no revisions', + 'pages_copy_link' => 'Copy Link', + 'pages_permissions_active' => 'Page Permissions Active', + 'pages_initial_revision' => 'Initial publish', + 'pages_initial_name' => 'New Page', + 'pages_editing_draft_notification' => 'You are currently editing a draft that was last saved :timeDiff.', + 'pages_draft_edited_notification' => 'This page has been updated by since that time. It is recommended that you discard this draft.', + 'pages_draft_edit_active' => [ + 'start_a' => ':count users have started editing this page', + 'start_b' => ':userName has started editing this page', + 'time_a' => 'since the pages was last updated', + 'time_b' => 'in the last :minCount minutes', + 'message' => ':start :time. Take care not to overwrite each other\'s updates!', + ], + 'pages_draft_discarded' => 'Draft discarded, The editor has been updated with the current page content', + + /** + * Editor sidebar + */ + 'page_tags' => 'Page Tags', + 'tag' => 'Tag', + 'tags' => '', + 'tag_value' => 'Tag Value (Optional)', + 'tags_explain' => "Add some tags to better categorise your content. \n You can assign a value to a tag for more in-depth organisation.", + 'tags_add' => 'Add another tag', + 'attachments' => 'Attachments', + 'attachments_explain' => 'Upload some files or attach some link to display on your page. These are visible in the page sidebar.', + 'attachments_explain_instant_save' => 'Changes here are saved instantly.', + 'attachments_items' => 'Attached Items', + 'attachments_upload' => 'Upload File', + 'attachments_link' => 'Attach Link', + 'attachments_set_link' => 'Set Link', + 'attachments_delete_confirm' => 'Click delete again to confirm you want to delete this attachment.', + 'attachments_dropzone' => 'Drop files or click here to attach a file', + 'attachments_no_files' => 'No files have been uploaded', + 'attachments_explain_link' => 'You can attach a link if you\'d prefer not to upload a file. This can be a link to another page or a link to a file in the cloud.', + 'attachments_link_name' => 'Link Name', + 'attachment_link' => 'Attachment link', + 'attachments_link_url' => 'Link to file', + 'attachments_link_url_hint' => 'Url of site or file', + 'attach' => 'Attach', + 'attachments_edit_file' => 'Edit File', + 'attachments_edit_file_name' => 'File Name', + 'attachments_edit_drop_upload' => 'Drop files or click here to upload and overwrite', + 'attachments_order_updated' => 'Attachment order updated', + 'attachments_updated_success' => 'Attachment details updated', + 'attachments_deleted' => 'Attachment deleted', + 'attachments_file_uploaded' => 'File successfully uploaded', + 'attachments_file_updated' => 'File successfully updated', + 'attachments_link_attached' => 'Link successfully attached to page', + + /** + * Profile View + */ + 'profile_user_for_x' => 'User for :time', + 'profile_created_content' => 'Created Content', + 'profile_not_created_pages' => ':userName has not created any pages', + 'profile_not_created_chapters' => ':userName has not created any chapters', + 'profile_not_created_books' => ':userName has not created any books', +]; diff --git a/resources/lang/es/errors.php b/resources/lang/es/errors.php new file mode 100644 index 000000000..08b8b0946 --- /dev/null +++ b/resources/lang/es/errors.php @@ -0,0 +1,70 @@ + 'You do not have permission to access the requested page.', + 'permissionJson' => 'You do not have permission to perform the requested action.', + + // Auth + 'error_user_exists_different_creds' => 'A user with the email :email already exists but with different credentials.', + 'email_already_confirmed' => 'Email has already been confirmed, Try logging in.', + 'email_confirmation_invalid' => 'This confirmation token is not valid or has already been used, Please try registering again.', + 'email_confirmation_expired' => 'The confirmation token has expired, A new confirmation email has been sent.', + 'ldap_fail_anonymous' => 'LDAP access failed using anonymous bind', + 'ldap_fail_authed' => 'LDAP access failed using given dn & password details', + 'ldap_extension_not_installed' => 'LDAP PHP extension not installed', + 'ldap_cannot_connect' => 'Cannot connect to ldap server, Initial connection failed', + 'social_no_action_defined' => 'No action defined', + 'social_account_in_use' => 'This :socialAccount account is already in use, Try logging in via the :socialAccount option.', + 'social_account_email_in_use' => 'The email :email is already in use. If you already have an account you can connect your :socialAccount account from your profile settings.', + 'social_account_existing' => 'This :socialAccount is already attached to your profile.', + 'social_account_already_used_existing' => 'This :socialAccount account is already used by another user.', + 'social_account_not_used' => 'This :socialAccount account is not linked to any users. Please attach it in your profile settings. ', + 'social_account_register_instructions' => 'If you do not yet have an account, You can register an account using the :socialAccount option.', + 'social_driver_not_found' => 'Social driver not found', + 'social_driver_not_configured' => 'Your :socialAccount social settings are not configured correctly.', + + // System + 'path_not_writable' => 'File path :filePath could not be uploaded to. Ensure it is writable to the server.', + 'cannot_get_image_from_url' => 'Cannot get image from :url', + 'cannot_create_thumbs' => 'The server cannot create thumbnails. Please check you have the GD PHP extension installed.', + 'server_upload_limit' => 'The server does not allow uploads of this size. Please try a smaller file size.', + 'image_upload_error' => 'An error occurred uploading the image', + + // Attachments + 'attachment_page_mismatch' => 'Page mismatch during attachment update', + + // Pages + 'page_draft_autosave_fail' => 'Failed to save draft. Ensure you have internet connection before saving this page', + + // Entities + 'entity_not_found' => 'Entity not found', + 'book_not_found' => 'Book not found', + 'page_not_found' => 'Page not found', + 'chapter_not_found' => 'Chapter not found', + 'selected_book_not_found' => 'The selected book was not found', + 'selected_book_chapter_not_found' => 'The selected Book or Chapter was not found', + 'guests_cannot_save_drafts' => 'Guests cannot save drafts', + + // Users + 'users_cannot_delete_only_admin' => 'You cannot delete the only admin', + 'users_cannot_delete_guest' => 'You cannot delete the guest user', + + // Roles + 'role_cannot_be_edited' => 'This role cannot be edited', + 'role_system_cannot_be_deleted' => 'This role is a system role and cannot be deleted', + 'role_registration_default_cannot_delete' => 'This role cannot be deleted while set as the default registration role', + + // Error pages + '404_page_not_found' => 'Page Not Found', + 'sorry_page_not_found' => 'Sorry, The page you were looking for could not be found.', + 'return_home' => 'Return to home', + 'error_occurred' => 'An Error Occurred', + 'app_down' => ':appName is down right now', + 'back_soon' => 'It will be back up soon.', +]; diff --git a/resources/lang/es/pagination.php b/resources/lang/es/pagination.php new file mode 100644 index 000000000..325916dc3 --- /dev/null +++ b/resources/lang/es/pagination.php @@ -0,0 +1,19 @@ + '« Anterior', + 'next' => 'Siguiente »', + +]; diff --git a/resources/lang/es/passwords.php b/resources/lang/es/passwords.php new file mode 100644 index 000000000..3fa17b066 --- /dev/null +++ b/resources/lang/es/passwords.php @@ -0,0 +1,22 @@ + 'El Password debe ser como mínimo de seis caracteres y coincidir con la confirmación.', + 'user' => "No podemos encontrar un usuario con esta dirección de e-mail.", + 'token' => 'El token de reset del password es inválido.', + 'sent' => 'Hemos enviado a su cuenta de e-mail un link para restaurar su password!', + 'reset' => 'Su password ha sido restaurado!', + +]; diff --git a/resources/lang/es/settings.php b/resources/lang/es/settings.php new file mode 100644 index 000000000..cf926ae52 --- /dev/null +++ b/resources/lang/es/settings.php @@ -0,0 +1,112 @@ + 'Settings', + 'settings_save' => 'Save Settings', + 'settings_save_success' => 'Settings saved', + + /** + * App settings + */ + + 'app_settings' => 'App Settings', + 'app_name' => 'Application name', + 'app_name_desc' => 'This name is shown in the header and any emails.', + 'app_name_header' => 'Show Application name in header?', + 'app_public_viewing' => 'Allow public viewing?', + 'app_secure_images' => 'Enable higher security image uploads?', + 'app_secure_images_desc' => 'For performance reasons, all images are public. This option adds a random, hard-to-guess string in front of image urls. Ensure directory indexes are not enabled to prevent easy access.', + 'app_editor' => 'Page editor', + 'app_editor_desc' => 'Select which editor will be used by all users to edit pages.', + 'app_custom_html' => 'Custom HTML head content', + 'app_custom_html_desc' => 'Any content added here will be inserted into the bottom of the section of every page. This is handy for overriding styles or adding analytics code.', + 'app_logo' => 'Application logo', + 'app_logo_desc' => 'This image should be 43px in height.
Large images will be scaled down.', + 'app_primary_color' => 'Application primary color', + 'app_primary_color_desc' => 'This should be a hex value.
Leave empty to reset to the default color.', + + /** + * Registration settings + */ + + 'reg_settings' => 'Registration Settings', + 'reg_allow' => 'Allow registration?', + 'reg_default_role' => 'Default user role after registration', + 'reg_confirm_email' => 'Require email confirmation?', + 'reg_confirm_email_desc' => 'If domain restriction is used then email confirmation will be required and the below value will be ignored.', + 'reg_confirm_restrict_domain' => 'Restrict registration to domain', + 'reg_confirm_restrict_domain_desc' => 'Enter a comma separated list of email domains you would like to restrict registration to. Users will be sent an email to confirm their address before being allowed to interact with the application.
Note that users will be able to change their email addresses after successful registration.', + 'reg_confirm_restrict_domain_placeholder' => 'No restriction set', + + /** + * Role settings + */ + + 'roles' => 'Roles', + 'role_user_roles' => 'User Roles', + 'role_create' => 'Create New Role', + 'role_create_success' => 'Role successfully created', + 'role_delete' => 'Delete Role', + 'role_delete_confirm' => 'This will delete the role with the name \':roleName\'.', + 'role_delete_users_assigned' => 'This role has :userCount users assigned to it. If you would like to migrate the users from this role select a new role below.', + 'role_delete_no_migration' => "Don't migrate users", + 'role_delete_sure' => 'Are you sure you want to delete this role?', + 'role_delete_success' => 'Role successfully deleted', + 'role_edit' => 'Edit Role', + 'role_details' => 'Role Details', + 'role_name' => 'Role Name', + 'role_desc' => 'Short Description of Role', + 'role_system' => 'System Permissions', + 'role_manage_users' => 'Manage users', + 'role_manage_roles' => 'Manage roles & role permissions', + 'role_manage_entity_permissions' => 'Manage all book, chapter & page permissions', + 'role_manage_own_entity_permissions' => 'Manage permissions on own book, chapter & pages', + 'role_manage_settings' => 'Manage app settings', + 'role_asset' => 'Asset Permissions', + 'role_asset_desc' => 'These permissions control default access to the assets within the system. Permissions on Books, Chapters and Pages will override these permissions.', + 'role_all' => 'All', + 'role_own' => 'Own', + 'role_controlled_by_asset' => 'Controlled by the asset they are uploaded to', + 'role_save' => 'Save Role', + 'role_update_success' => 'Role successfully updated', + 'role_users' => 'Users in this role', + 'role_users_none' => 'No users are currently assigned to this role', + + /** + * Users + */ + + 'users' => 'Users', + 'user_profile' => 'User Profile', + 'users_add_new' => 'Add New User', + 'users_search' => 'Search Users', + 'users_role' => 'User Roles', + 'users_external_auth_id' => 'External Authentication ID', + 'users_password_warning' => 'Only fill the below if you would like to change your password:', + 'users_system_public' => 'This user represents any guest users that visit your instance. It cannot be used to log in but is assigned automatically.', + 'users_delete' => 'Delete User', + 'users_delete_named' => 'Delete user :userName', + 'users_delete_warning' => 'This will fully delete this user with the name \':userName\' from the system.', + 'users_delete_confirm' => 'Are you sure you want to delete this user?', + 'users_delete_success' => 'Users successfully removed', + 'users_edit' => 'Edit User', + 'users_edit_profile' => 'Edit Profile', + 'users_edit_success' => 'User successfully updated', + 'users_avatar' => 'User Avatar', + 'users_avatar_desc' => 'This image should be approx 256px square.', + 'users_preferred_language' => 'Preferred Language', + 'users_social_accounts' => 'Social Accounts', + 'users_social_accounts_info' => 'Here you can connect your other accounts for quicker and easier login. Disconnecting an account here does not previously authorized access. Revoke access from your profile settings on the connected social account.', + 'users_social_connect' => 'Connect Account', + 'users_social_disconnect' => 'Disconnect Account', + 'users_social_connected' => ':socialAccount account was successfully attached to your profile.', + 'users_social_disconnected' => ':socialAccount account was successfully disconnected from your profile.', + +]; diff --git a/resources/lang/es/validation.php b/resources/lang/es/validation.php new file mode 100644 index 000000000..b75af7485 --- /dev/null +++ b/resources/lang/es/validation.php @@ -0,0 +1,108 @@ + 'The :attribute must be accepted.', + 'active_url' => 'The :attribute is not a valid URL.', + 'after' => 'The :attribute must be a date after :date.', + 'alpha' => 'The :attribute may only contain letters.', + 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', + 'alpha_num' => 'The :attribute may only contain letters and numbers.', + 'array' => 'The :attribute must be an array.', + 'before' => 'The :attribute must be a date before :date.', + 'between' => [ + 'numeric' => 'The :attribute must be between :min and :max.', + 'file' => 'The :attribute must be between :min and :max kilobytes.', + 'string' => 'The :attribute must be between :min and :max characters.', + 'array' => 'The :attribute must have between :min and :max items.', + ], + 'boolean' => 'The :attribute field must be true or false.', + 'confirmed' => 'The :attribute confirmation does not match.', + 'date' => 'The :attribute is not a valid date.', + 'date_format' => 'The :attribute does not match the format :format.', + 'different' => 'The :attribute and :other must be different.', + 'digits' => 'The :attribute must be :digits digits.', + 'digits_between' => 'The :attribute must be between :min and :max digits.', + 'email' => 'The :attribute must be a valid email address.', + 'filled' => 'The :attribute field is required.', + 'exists' => 'The selected :attribute is invalid.', + 'image' => 'The :attribute must be an image.', + 'in' => 'The selected :attribute is invalid.', + 'integer' => 'The :attribute must be an integer.', + 'ip' => 'The :attribute must be a valid IP address.', + 'max' => [ + 'numeric' => 'The :attribute may not be greater than :max.', + 'file' => 'The :attribute may not be greater than :max kilobytes.', + 'string' => 'The :attribute may not be greater than :max characters.', + 'array' => 'The :attribute may not have more than :max items.', + ], + 'mimes' => 'The :attribute must be a file of type: :values.', + 'min' => [ + 'numeric' => 'The :attribute must be at least :min.', + 'file' => 'The :attribute must be at least :min kilobytes.', + 'string' => 'The :attribute must be at least :min characters.', + 'array' => 'The :attribute must have at least :min items.', + ], + 'not_in' => 'The selected :attribute is invalid.', + 'numeric' => 'The :attribute must be a number.', + 'regex' => 'The :attribute format is invalid.', + 'required' => 'The :attribute field is required.', + 'required_if' => 'The :attribute field is required when :other is :value.', + 'required_with' => 'The :attribute field is required when :values is present.', + 'required_with_all' => 'The :attribute field is required when :values is present.', + 'required_without' => 'The :attribute field is required when :values is not present.', + 'required_without_all' => 'The :attribute field is required when none of :values are present.', + 'same' => 'The :attribute and :other must match.', + 'size' => [ + 'numeric' => 'The :attribute must be :size.', + 'file' => 'The :attribute must be :size kilobytes.', + 'string' => 'The :attribute must be :size characters.', + 'array' => 'The :attribute must contain :size items.', + ], + 'string' => 'The :attribute must be a string.', + 'timezone' => 'The :attribute must be a valid zone.', + 'unique' => 'The :attribute has already been taken.', + 'url' => 'The :attribute format is invalid.', + + /* + |-------------------------------------------------------------------------- + | Custom Validation Language Lines + |-------------------------------------------------------------------------- + | + | Here you may specify custom validation messages for attributes using the + | convention "attribute.rule" to name the lines. This makes it quick to + | specify a specific custom language line for a given attribute rule. + | + */ + + 'custom' => [ + 'password-confirm' => [ + 'required_with' => 'Password confirmation required', + ], + ], + + /* + |-------------------------------------------------------------------------- + | Custom Validation Attributes + |-------------------------------------------------------------------------- + | + | The following language lines are used to swap attribute place-holders + | with something more reader friendly such as E-Mail Address instead + | of "email". This simply helps us make messages a little cleaner. + | + */ + + 'attributes' => [], + +]; diff --git a/resources/lang/fr/entities.php b/resources/lang/fr/entities.php index 941259f80..cfd206b91 100644 --- a/resources/lang/fr/entities.php +++ b/resources/lang/fr/entities.php @@ -26,6 +26,10 @@ return [ 'no_pages_viewed' => 'Vous n\'avez rien visité récemment', 'no_pages_recently_created' => 'Aucune page créée récemment', 'no_pages_recently_updated' => 'Aucune page mise à jour récemment', + 'export' => 'Exporter', + 'export_html' => 'Fichiers web', + 'export_pdf' => 'Fichier PDF', + 'export_text' => 'Document texte', /** * Permissions and restrictions @@ -160,10 +164,6 @@ return [ 'pages_revisions_preview' => 'Prévisualisation', 'pages_revisions_restore' => 'Restaurer', 'pages_revisions_none' => 'Cette page n\'a aucune révision', - 'pages_export' => 'Exporter', - 'pages_export_html' => 'Fichiers web', - 'pages_export_pdf' => 'Fichier PDF', - 'pages_export_text' => 'Document texte', 'pages_copy_link' => 'Copier le lien', 'pages_permissions_active' => 'Permissions de page actives', 'pages_initial_revision' => 'Publication initiale', diff --git a/resources/lang/nl/activities.php b/resources/lang/nl/activities.php new file mode 100644 index 000000000..66a320456 --- /dev/null +++ b/resources/lang/nl/activities.php @@ -0,0 +1,40 @@ + 'maakte pagina', + 'page_create_notification' => 'Pagina Succesvol Aangemaakt', + 'page_update' => 'veranderde pagina', + 'page_update_notification' => 'Pagina Succesvol Bijgewerkt', + 'page_delete' => 'verwijderde pagina', + 'page_delete_notification' => 'Pagina Succesvol Verwijderd', + 'page_restore' => 'herstelde pagina', + 'page_restore_notification' => 'Pagina Succesvol Hersteld', + 'page_move' => 'verplaatste pagina', + + // Chapters + 'chapter_create' => 'maakte hoofdstuk', + 'chapter_create_notification' => 'Hoofdstuk Succesvol Aangemaakt', + 'chapter_update' => 'veranderde hoofdstuk', + 'chapter_update_notification' => 'Hoofdstuk Succesvol Bijgewerkt', + 'chapter_delete' => 'verwijderde hoofdstuk', + 'chapter_delete_notification' => 'Hoofdstuk Succesvol Verwijderd', + 'chapter_move' => 'verplaatste hoofdstuk', + + // Books + 'book_create' => 'maakte boek', + 'book_create_notification' => 'Boek Succesvol Aangemaakt', + 'book_update' => 'veranderde boek', + 'book_update_notification' => 'Boek Succesvol Bijgewerkt', + 'book_delete' => 'verwijderde boek', + 'book_delete_notification' => 'Boek Succesvol Verwijderd', + 'book_sort' => 'sorteerde boek', + 'book_sort_notification' => 'Boek Succesvol Gesorteerd', + +]; diff --git a/resources/lang/nl/auth.php b/resources/lang/nl/auth.php new file mode 100644 index 000000000..d8813f07b --- /dev/null +++ b/resources/lang/nl/auth.php @@ -0,0 +1,76 @@ + 'Deze inloggegevens zijn niet bij ons bekend.', + 'throttle' => 'Te veel loginpogingen! Probeer het opnieuw na :seconds seconden.', + + /** + * Login & Register + */ + 'sign_up' => 'Registreren', + 'log_in' => 'Log in', + 'log_in_with' => 'Login met :socialDriver', + 'sign_up_with' => 'Registreer met :socialDriver', + 'logout' => 'Uitloggen', + + 'name' => 'Naam', + 'username' => 'Gebruikersnaam', + 'email' => 'Email', + 'password' => 'Wachtwoord', + 'password_confirm' => 'Wachtwoord Bevestigen', + 'password_hint' => 'Minimaal 5 tekens', + 'forgot_password' => 'Wachtwoord vergeten?', + 'remember_me' => 'Mij onthouden', + 'ldap_email_hint' => 'Geef een email op waarmee je dit account wilt gebruiken.', + 'create_account' => 'Account Aanmaken', + 'social_login' => 'Social Login', + 'social_registration' => 'Social Registratie', + 'social_registration_text' => 'Registreer en log in met een andere dienst.', + + 'register_thanks' => 'Bedankt voor het registreren!', + 'register_confirm' => 'Controleer je e-mail en bevestig je registratie om in te loggen op :appName.', + 'registrations_disabled' => 'Registratie is momenteel niet mogelijk', + 'registration_email_domain_invalid' => 'Dit e-maildomein is niet toegestaan', + 'register_success' => 'Bedankt voor het inloggen. Je bent ook geregistreerd.', + + + /** + * Password Reset + */ + 'reset_password' => 'Wachtwoord Herstellen', + 'reset_password_send_instructions' => 'Geef je e-mail en we sturen je een link om je wachtwoord te herstellen', + 'reset_password_send_button' => 'Link Sturen', + 'reset_password_sent_success' => 'Een link om je wachtwoord te herstellen is verstuurd naar :email.', + 'reset_password_success' => 'Je wachtwoord is succesvol hersteld.', + + 'email_reset_subject' => 'Herstel je wachtwoord van :appName', + 'email_reset_text' => 'Je ontvangt deze e-mail zodat je je wachtwoord kunt herstellen.', + 'email_reset_not_requested' => 'Als je jouw wachtwoord niet wilt wijzigen, doe dan niets.', + + + /** + * Email Confirmation + */ + 'email_confirm_subject' => 'Bevestig je e-mailadres op :appName', + 'email_confirm_greeting' => 'Bedankt voor je aanmelding op :appName!', + 'email_confirm_text' => 'Bevestig je registratie door op onderstaande knop te drukken:', + 'email_confirm_action' => 'Bevestig je e-mail', + 'email_confirm_send_error' => 'E-mail bevestiging is vereisd maar het systeem kon geen mail verzenden. Neem contact op met de beheerder.', + 'email_confirm_success' => 'Je e-mailadres is bevestigt!', + 'email_confirm_resent' => 'De bevestigingse-mails is opnieuw verzonden. Controleer je inbox.', + + 'email_not_confirmed' => 'E-mail nog niet bevestigd', + 'email_not_confirmed_text' => 'Je e-mailadres is nog niet bevestigd.', + 'email_not_confirmed_click_link' => 'Klik op de link in de e-mail die vlak na je registratie is verstuurd.', + 'email_not_confirmed_resend' => 'Als je deze e-mail niet kunt vinden kun je deze met onderstaande formulier opnieuw verzenden.', + 'email_not_confirmed_resend_button' => 'Bevestigingsmail Opnieuw Verzenden', +]; \ No newline at end of file diff --git a/resources/lang/nl/common.php b/resources/lang/nl/common.php new file mode 100644 index 000000000..bdde9eb95 --- /dev/null +++ b/resources/lang/nl/common.php @@ -0,0 +1,58 @@ + 'Annuleren', + 'confirm' => 'Bevestigen', + 'back' => 'Terug', + 'save' => 'Opslaan', + 'continue' => 'Doorgaan', + 'select' => 'Kies', + + /** + * Form Labels + */ + 'name' => 'Naam', + 'description' => 'Beschrijving', + 'role' => 'Rol', + + /** + * Actions + */ + 'actions' => 'Acties', + 'view' => 'Bekijk', + 'create' => 'Aanmaken', + 'update' => 'Update', + 'edit' => 'Bewerk', + 'sort' => 'Sorteer', + 'move' => 'Verplaats', + 'delete' => 'Verwijder', + 'search' => 'Zoek', + 'search_clear' => 'Zoekopdracht wissen', + 'reset' => 'Reset', + 'remove' => 'Verwijderen', + + + /** + * Misc + */ + 'deleted_user' => 'Verwijderde gebruiker', + 'no_activity' => 'Geen activiteiten', + 'no_items' => 'Geen items beschikbaar', + 'back_to_top' => 'Terug naar boven', + 'toggle_details' => 'Details Weergeven', + + /** + * Header + */ + 'view_profile' => 'Profiel Weergeven', + 'edit_profile' => 'Profiel Bewerken', + + /** + * Email Content + */ + 'email_action_help' => 'Als je de knop ":actionText" niet werkt, kopieer en plak de onderstaande URL in je web browser:', + 'email_rights' => 'Alle rechten voorbehouden', +]; \ No newline at end of file diff --git a/resources/lang/nl/components.php b/resources/lang/nl/components.php new file mode 100644 index 000000000..3fc82c04b --- /dev/null +++ b/resources/lang/nl/components.php @@ -0,0 +1,24 @@ + 'Selecteer Afbeelding', + 'image_all' => 'Alles', + 'image_all_title' => 'Alle afbeeldingen weergeven', + 'image_book_title' => 'Afbeeldingen van dit boek weergeven', + 'image_page_title' => 'Afbeeldingen van deze pagina weergeven', + 'image_search_hint' => 'Zoek op afbeeldingsnaam', + 'image_uploaded' => 'Uploaded :uploadedDate', + 'image_load_more' => 'Meer Laden', + 'image_image_name' => 'Afbeeldingsnaam', + 'image_delete_confirm' => 'Deze afbeeldingen is op onderstaande pagina\'s in gebruik, Klik opnieuw op verwijderen om de afbeelding echt te verwijderen.', + 'image_select_image' => 'Kies Afbeelding', + 'image_dropzone' => 'Sleep afbeeldingen hier of klik hier om te uploaden', + 'images_deleted' => 'Verwijderde Afbeeldingen', + 'image_preview' => 'Afbeelding Voorbeeld', + 'image_upload_success' => 'Afbeelding succesvol geüpload', + 'image_update_success' => 'Afbeeldingsdetails succesvol verwijderd', + 'image_delete_success' => 'Afbeelding succesvol verwijderd' +]; \ No newline at end of file diff --git a/resources/lang/nl/entities.php b/resources/lang/nl/entities.php new file mode 100644 index 000000000..610116c8b --- /dev/null +++ b/resources/lang/nl/entities.php @@ -0,0 +1,226 @@ + 'Recent Aangemaakt', + 'recently_created_pages' => 'Recent Aangemaakte Pagina\'s', + 'recently_updated_pages' => 'Recent Bijgewerkte Pagina\'s', + 'recently_created_chapters' => 'Recent Aangemaakte Hoofdstukken', + 'recently_created_books' => 'Recent Aangemaakte Boeken', + 'recently_update' => 'Recent Bijgewerkt', + 'recently_viewed' => 'Recent Bekeken', + 'recent_activity' => 'Recente Activiteit', + 'create_now' => 'Maak er zelf één', + 'revisions' => 'Revisies', + 'meta_created' => 'Aangemaakt :timeLength', + 'meta_created_name' => 'Aangemaakt: :timeLength door :user', + 'meta_updated' => ':timeLength Aangepast', + 'meta_updated_name' => 'Aangepast: :timeLength door :user', + 'x_pages' => ':count Pagina\'s', + 'entity_select' => 'Entiteit Selecteren', + 'images' => 'Afbeeldingen', + 'my_recent_drafts' => 'Mijn Concepten', + 'my_recently_viewed' => 'Mijn Recent Bekeken', + 'no_pages_viewed' => 'Je hebt nog niets bekeken', + 'no_pages_recently_created' => 'Er zijn geen recent aangemaakte pagina\'s', + 'no_pages_recently_updated' => 'Er zijn geen recente wijzigingen', + 'export' => 'Exporteren', + 'export_html' => 'Contained Web File', + 'export_pdf' => 'PDF File', + 'export_text' => 'Plain Text File', + + /** + * Permissions and restrictions + */ + 'permissions' => 'Permissies', + 'permissions_intro' => 'Als je dit aanzet, dan gelden rol-permissies niet meer voor deze pagina.', + 'permissions_enable' => 'Custom Permissies Aanzetten', + 'permissions_save' => 'Permissies Opslaan', + + /** + * Search + */ + 'search_results' => 'Zoekresultaten', + 'search_results_page' => 'Pagina Zoekresultaten', + 'search_results_chapter' => 'Hoofdstuk Zoekresultaten', + 'search_results_book' => 'Boek Zoekresultaten', + 'search_clear' => 'Zoekopdracht wissen', + 'search_view_pages' => 'Bekijk alle gevonden pagina\'s', + 'search_view_chapters' => 'Bekijk alle gevonden hoofdstukken', + 'search_view_books' => 'Bekijk alle gevonden boeken', + 'search_no_pages' => 'Er zijn geen pagina\'s gevonden', + 'search_for_term' => 'Zoeken op :term', + 'search_page_for_term' => 'Pagina doorzoeken op :term', + 'search_chapter_for_term' => 'Hoofdstuk doorzoeken op :term', + 'search_book_for_term' => 'Boeken doorzoeken op :term', + + /** + * Books + */ + 'book' => 'Boek', + 'books' => 'Boeken', + 'books_empty' => 'Er zijn geen boeken aangemaakt', + 'books_popular' => 'Populaire Boeken', + 'books_recent' => 'Recente Boeken', + 'books_popular_empty' => 'De meest populaire boeken worden hier weergegeven.', + 'books_create' => 'Nieuw Boek Aanmaken', + 'books_delete' => 'Boek Verwijderen', + 'books_delete_named' => 'Verwijder Boek :bookName', + 'books_delete_explain' => 'Deze actie verwijdert het boek \':bookName\', Alle pagina\'s en hoofdstukken worden verwijderd.', + 'books_delete_confirmation' => 'Weet je zeker dat je dit boek wilt verwijderen?', + 'books_edit' => 'Boek Bewerken', + 'books_edit_named' => 'Bewerkt Boek :bookName', + 'books_form_book_name' => 'Boek Naam', + 'books_save' => 'Boek Opslaan', + 'books_permissions' => 'Boek Permissies', + 'books_permissions_updated' => 'Boek Permissies Opgeslagen', + 'books_empty_contents' => 'Er zijn nog een hoofdstukken en pagina\'s voor dit boek gemaakt.', + 'books_empty_create_page' => 'Pagina Toevoegen', + 'books_empty_or' => 'of', + 'books_empty_sort_current_book' => 'Boek sorteren', + 'books_empty_add_chapter' => 'Hoofdstuk Toevoegen', + 'books_permissions_active' => 'Boek Permissies Actief', + 'books_search_this' => 'Zoeken in dit boek', + 'books_navigation' => 'Boek Navigatie', + 'books_sort' => 'Inhoud van het boek sorteren', + 'books_sort_named' => 'Sorteer Boek :bookName', + 'books_sort_show_other' => 'Bekijk Andere Boeken', + 'books_sort_save' => 'Nieuwe Order Opslaan', + + /** + * Chapters + */ + 'chapter' => 'Hoofdstuk', + 'chapters' => 'Hoofdstukken', + 'chapters_popular' => 'Populaire Hoofdstukken', + 'chapters_new' => 'Nieuw Hoofdstuk', + 'chapters_create' => 'Hoofdstuk Toevoegen', + 'chapters_delete' => 'Hoofdstuk Verwijderen', + 'chapters_delete_named' => 'Verwijder Hoofdstuk :chapterName', + 'chapters_delete_explain' => 'Dit verwijdert het hoofdstuk \':chapterName\', Alle pagina\'s zullen verwijdert worden. + en toegevoegd worden aan het bijbehorende boek.', + 'chapters_delete_confirm' => 'Weet je zeker dat je dit boek wilt verwijderen?', + 'chapters_edit' => 'Hoofdstuk Aanpassen', + 'chapters_edit_named' => 'Hoofdstuk :chapterName Aanpassen', + 'chapters_save' => 'Hoofdstuk Opslaan', + 'chapters_move' => 'Hoofdstuk Verplaatsen', + 'chapters_move_named' => 'Verplaatst Hoofdstuk :chapterName', + 'chapter_move_success' => 'Hoofdstuk Verplaatst Naar :bookName', + 'chapters_permissions' => 'Hoofdstuk Permissies', + 'chapters_empty' => 'Er zijn geen pagina\'s in dit hoofdstuk aangemaakt.', + 'chapters_permissions_active' => 'Hoofdstuk Permissies Actief', + 'chapters_permissions_success' => 'Hoofdstuk Permissies Bijgewerkt', + + /** + * Pages + */ + 'page' => 'Pagina', + 'pages' => 'Pagina\'s', + 'pages_popular' => 'Populaire Pagina\'s', + 'pages_new' => 'Nieuwe Pagina', + 'pages_attachments' => 'Bijlages', + 'pages_navigation' => 'Pagina Navigatie', + 'pages_delete' => 'Pagina Verwijderen', + 'pages_delete_named' => 'Verwijderde Pagina :pageName', + 'pages_delete_draft_named' => 'Verwijderde Conceptpagina :pageName', + 'pages_delete_draft' => 'Verwijder Conceptpagina', + 'pages_delete_success' => 'Pagina verwijderd', + 'pages_delete_draft_success' => 'Concept verwijderd', + 'pages_delete_confirm' => 'Weet je zeker dat je deze pagina wilt verwijderen?', + 'pages_delete_draft_confirm' => 'Weet je zeker dat je dit concept wilt verwijderen?', + 'pages_editing_named' => 'Pagina :pageName Bewerken', + 'pages_edit_toggle_header' => 'Toggle header', + 'pages_edit_save_draft' => 'Concept opslaan', + 'pages_edit_draft' => 'Paginaconcept Bewerken', + 'pages_editing_draft' => 'Concept Bewerken', + 'pages_editing_page' => 'Concept Bewerken', + 'pages_edit_draft_save_at' => 'Concept opgeslagen op ', + 'pages_edit_delete_draft' => 'Concept Verwijderen', + 'pages_edit_discard_draft' => 'Concept Verwijderen', + 'pages_edit_set_changelog' => 'Changelog', + 'pages_edit_enter_changelog_desc' => 'Geef een korte omschrijving van de wijzingen die je gemaakt hebt.', + 'pages_edit_enter_changelog' => 'Enter Changelog', + 'pages_save' => 'Pagina Opslaan', + 'pages_title' => 'Pagina Titel', + 'pages_name' => 'Pagina Naam', + 'pages_md_editor' => 'Bewerker', + 'pages_md_preview' => 'Preview', + 'pages_md_insert_image' => 'Afbeelding Invoegen', + 'pages_md_insert_link' => 'Entity Link Invoegen', + 'pages_not_in_chapter' => 'Deze pagina staat niet in een hoofdstuk', + 'pages_move' => 'Pagina Verplaatsten', + 'pages_move_success' => 'Pagina verplaatst naar ":parentName"', + 'pages_permissions' => 'Pagina Permissies', + 'pages_permissions_success' => 'Pagina Permissies bijgwerkt', + 'pages_revisions' => 'Pagina Revisies', + 'pages_revisions_named' => 'Pagina Revisies voor :pageName', + 'pages_revision_named' => 'Pagina Revisie voor :pageName', + 'pages_revisions_created_by' => 'Aangemaakt door', + 'pages_revisions_date' => 'Revisiedatum', + 'pages_revisions_changelog' => 'Changelog', + 'pages_revisions_changes' => 'Wijzigingen', + 'pages_revisions_current' => 'Huidige Versie', + 'pages_revisions_preview' => 'Preview', + 'pages_revisions_restore' => 'Herstellen', + 'pages_revisions_none' => 'Deze pagina heeft geen revisies', + 'pages_copy_link' => 'Link Kopiëren', + 'pages_permissions_active' => 'Pagina Permissies Actief', + 'pages_initial_revision' => 'Eerste publicatie', + 'pages_initial_name' => 'Nieuwe Pagina', + 'pages_editing_draft_notification' => 'You are currently editing a draft that was last saved :timeDiff.', + 'pages_draft_edited_notification' => 'This page has been updated by since that time. It is recommended that you discard this draft.', + 'pages_draft_edit_active' => [ + 'start_a' => ':count users have started editing this page', + 'start_b' => ':userName has started editing this page', + 'time_a' => 'since the pages was last updated', + 'time_b' => 'in the last :minCount minutes', + 'message' => ':start :time. Take care not to overwrite each other\'s updates!', + ], + 'pages_draft_discarded' => 'Draft discarded, The editor has been updated with the current page content', + + /** + * Editor sidebar + */ + 'page_tags' => 'Pagina Labels', + 'tag' => 'Label', + 'tags' => '', + 'tag_value' => 'Label Waarde (Optioneel)', + 'tags_explain' => "Voeg labels toe om de inhoud te categoriseren. \n Je kunt meerdere labels toevoegen.", + 'tags_add' => 'Voeg een extra label toe', + 'attachments' => 'Bijlages', + 'attachments_explain' => 'Upload bijlages of voeg een link toe. Deze worden zichtbaar in het navigatiepaneel.', + 'attachments_explain_instant_save' => 'Wijzigingen worden meteen opgeslagen.', + 'attachments_items' => 'Bijlages', + 'attachments_upload' => 'Bestand Uploaden', + 'attachments_link' => 'Link Toevoegen', + 'attachments_set_link' => 'Zet Link', + 'attachments_delete_confirm' => 'Klik opnieuw op \'verwijderen\' om de bijlage definitief te verwijderen.', + 'attachments_dropzone' => 'Sleep hier een bestand of klik hier om een bestand toe te voegen', + 'attachments_no_files' => 'Er zijn geen bestanden geüpload', + 'attachments_explain_link' => 'Je kunt een link toevoegen als je geen bestanden wilt uploaden. Dit kan een link naar een andere pagina op deze website zijn, maar ook een link naar een andere website.', + 'attachments_link_name' => 'Link Naam', + 'attachment_link' => 'Bijlage link', + 'attachments_link_url' => 'Link naar bestand', + 'attachments_link_url_hint' => 'Url, site of bestand', + 'attach' => 'Koppelen', + 'attachments_edit_file' => 'Bestand Bewerken', + 'attachments_edit_file_name' => 'Bestandsnaam', + 'attachments_edit_drop_upload' => 'Sleep een bestand of klik hier om te uploaden en te overschrijven', + 'attachments_order_updated' => 'De volgorde van de bijlages is bijgewerkt', + 'attachments_updated_success' => 'Bijlage details bijgewerkt', + 'attachments_deleted' => 'Bijlage verwijderd', + 'attachments_file_uploaded' => 'Bestand succesvol geüpload', + 'attachments_file_updated' => 'Bestand succesvol bijgewerkt', + 'attachments_link_attached' => 'Link successfully gekoppeld aan de pagina', + + /** + * Profile View + */ + 'profile_user_for_x' => 'Lid sinds :time', + 'profile_created_content' => 'Aangemaakte Inhoud', + 'profile_not_created_pages' => ':userName heeft geen pagina\'s gemaakt', + 'profile_not_created_chapters' => ':userName heeft geen hoofdstukken gemaakt', + 'profile_not_created_books' => ':userName heeft geen boeken gemaakt', +]; \ No newline at end of file diff --git a/resources/lang/nl/errors.php b/resources/lang/nl/errors.php new file mode 100644 index 000000000..f8b635bce --- /dev/null +++ b/resources/lang/nl/errors.php @@ -0,0 +1,70 @@ + 'Je hebt onvoldoende rechten om deze pagina te zien.', + 'permissionJson' => 'Je hebt onvoldoende rechten voor deze actie.', + + // Auth + 'error_user_exists_different_creds' => 'Een gebruiker met het e-mailadres :email bestaat al.', + 'email_already_confirmed' => 'Het e-mailadres is al bevestigd. Probeer in te loggen.', + 'email_confirmation_invalid' => 'Deze bevestigingstoken is ongeldig, Probeer opnieuw te registreren.', + 'email_confirmation_expired' => 'De bevestigingstoken is verlopen, Een nieuwe bevestigingsmail is verzonden.', + 'ldap_fail_anonymous' => 'LDAP toegang kon geen \'anonymous bind\' uitvoeren', + 'ldap_fail_authed' => 'LDAP toegang was niet mogelijk met de opgegeven dn & wachtwoord', + 'ldap_extension_not_installed' => 'LDAP PHP extension not installed', + 'ldap_cannot_connect' => 'Kon niet met de LDAP server verbinden', + 'social_no_action_defined' => 'Geen actie gedefineerd', + 'social_account_in_use' => 'Dit :socialAccount account is al in gebruik, Probeer in te loggen met de :socialAccount optie.', + 'social_account_email_in_use' => 'Het e-mailadres :email is al in gebruik. Als je al een account hebt kun je een :socialAccount account verbinden met je profielinstellingen.', + 'social_account_existing' => 'Dit :socialAccount is al gekoppeld aan een profiel.', + 'social_account_already_used_existing' => 'Dit :socialAccount account is ingebruik door een andere gebruiker.', + 'social_account_not_used' => 'Dit :socialAccount account is niet gekopeld aan een gebruiker. Koppel het via je profielinstellingen. ', + 'social_account_register_instructions' => 'Als je nog geen account hebt kun je je registreren met de :socialAccount optie.', + 'social_driver_not_found' => 'Social driver niet gevonden', + 'social_driver_not_configured' => 'Je :socialAccount instellingen zijn correct geconfigureerd.', + + // System + 'path_not_writable' => 'Bestand :filePath kon niet geupload worden. Zorg dat je schrijfrechten op de server hebt.', + 'cannot_get_image_from_url' => 'Kon geen afbeelding genereren van :url', + 'cannot_create_thumbs' => 'De server kon geen thumbnails maken. Controleer of je de GD PHP extensie geïnstalleerd hebt.', + 'server_upload_limit' => 'Het afbeeldingsformaat is te groot. Probeer een kleinere bestandsgrootte.', + 'image_upload_error' => 'Er ging iets fout bij het uploaden van de afbeelding', + + // Attachments + 'attachment_page_mismatch' => 'Bij het bijwerken van de bijlage bleek de pagina onjuist', + + // Pages + 'page_draft_autosave_fail' => 'Kon het concept niet opslaan. Zorg ervoor dat je een werkende internetverbinding hebt.', + + // Entities + 'entity_not_found' => 'Entiteit niet gevonden', + 'book_not_found' => 'Boek niet gevonden', + 'page_not_found' => 'Pagina niet gevonden', + 'chapter_not_found' => 'Hoofdstuk niet gevonden', + 'selected_book_not_found' => 'Het geselecteerde boek is niet gevonden', + 'selected_book_chapter_not_found' => 'Het geselecteerde boek of hoofdstuk is niet gevonden', + 'guests_cannot_save_drafts' => 'Gasten kunnen geen concepten opslaan', + + // Users + 'users_cannot_delete_only_admin' => 'Je kunt niet het enige admin account verwijderen', + 'users_cannot_delete_guest' => 'Je kunt het gastaccount niet verwijderen', + + // Roles + 'role_cannot_be_edited' => 'Deze rol kan niet bewerkt worden', + 'role_system_cannot_be_deleted' => 'Dit is een systeemrol en kan niet verwijderd worden', + 'role_registration_default_cannot_delete' => 'Deze rol kan niet verwijerd worden zolang dit de standaardrol na registratie is.', + + // Error pages + '404_page_not_found' => 'Pagina Niet Gevonden', + 'sorry_page_not_found' => 'Sorry, de pagina die je zocht is niet beschikbaar.', + 'return_home' => 'Terug naar home', + 'error_occurred' => 'Er Ging Iets Fout', + 'app_down' => ':appName is nu niet beschikbaar', + 'back_soon' => 'Komt snel weer online.', +]; \ No newline at end of file diff --git a/resources/lang/nl/pagination.php b/resources/lang/nl/pagination.php new file mode 100644 index 000000000..9a2a9677a --- /dev/null +++ b/resources/lang/nl/pagination.php @@ -0,0 +1,19 @@ + '« Vorige', + 'next' => 'Volgende »', + +]; diff --git a/resources/lang/nl/passwords.php b/resources/lang/nl/passwords.php new file mode 100644 index 000000000..f89830804 --- /dev/null +++ b/resources/lang/nl/passwords.php @@ -0,0 +1,22 @@ + 'Wachtwoorden moeten overeenkomen en minimaal zes tekens lang zijn.', + 'user' => "We kunnen niemand vinden met dat e-mailadres.", + 'token' => 'De token om het wachtwoord te herstellen is ongeldig.', + 'sent' => 'We hebben je een link gestuurd om je wachtwoord te herstellen!', + 'reset' => 'Je wachtwoord is hersteld!', + +]; diff --git a/resources/lang/nl/settings.php b/resources/lang/nl/settings.php new file mode 100644 index 000000000..7408a2dc3 --- /dev/null +++ b/resources/lang/nl/settings.php @@ -0,0 +1,111 @@ + 'Instellingen', + 'settings_save' => 'Instellingen Opslaan', + 'settings_save_success' => 'Instellingen Opgeslagen', + + /** + * App settings + */ + + 'app_settings' => 'App Instellingen', + 'app_name' => 'Applicatienaam', + 'app_name_desc' => 'De applicatienaam wordt in e-mails in in de header weergegeven.', + 'app_name_header' => 'Applicatienaam in de header weergeven?', + 'app_public_viewing' => 'Publieke bewerkingen toestaan?', + 'app_secure_images' => 'Beter beveiligide afbeeldingen gebruiken?', + 'app_secure_images_desc' => 'Omwille van de performance zijn alle afbeeldingen publiek toegankelijk. Zorg ervoor dat je de \'directory index\' niet hebt ingeschakeld.', + 'app_editor' => 'Pagina Bewerken', + 'app_editor_desc' => 'Selecteer welke tekstverwerker je wilt gebruiken.', + 'app_custom_html' => 'Speciale HTML toevoegen', + 'app_custom_html_desc' => 'Alles wat je hier toevoegd wordt in de sectie van elke pagina meengenomen. Dit kun je bijvoorbeeld voor analytics gebruiken.', + 'app_logo' => 'Applicatielogo', + 'app_logo_desc' => 'De afbeelding moet 43px hoog zijn.
Grotere afbeeldingen worden geschaald.', + 'app_primary_color' => 'Applicatie hoofdkleur', + 'app_primary_color_desc' => 'Geef een hexadecimale waarde.
Als je niks invult wordt de standaardkleur gebruikt.', + + /** + * Registration settings + */ + + 'reg_settings' => 'Registratieinstellingen', + 'reg_allow' => 'Registratie toestaan?', + 'reg_default_role' => 'Standaard rol na registratie', + 'reg_confirm_email' => 'E-mailbevesting vereist?', + 'reg_confirm_email_desc' => 'Als domeinrestricties aan staan dan is altijd e-maibevestiging nodig. Onderstaande instelling wordt dan genegeerd.', + 'reg_confirm_restrict_domain' => 'Beperk registratie tot een maildomein', + 'reg_confirm_restrict_domain_desc' => 'Geen een komma-gescheiden lijst van domeinnamen die gebruikt mogen worden bij registratie.
Let op: na registratie kunnen gebruikers hun e-mailadres nog steeds wijzigen.', + 'reg_confirm_restrict_domain_placeholder' => 'Geen beperkingen ingesteld', + + /** + * Role settings + */ + + 'roles' => 'Rollen', + 'role_user_roles' => 'Gebruikrollen', + 'role_create' => 'Nieuwe Rol Maken', + 'role_create_success' => 'Rol succesvol aangemaakt', + 'role_delete' => 'Rol Verwijderen', + 'role_delete_confirm' => 'Dit verwijdert de rol \':roleName\'.', + 'role_delete_users_assigned' => 'Er zijn :userCount gebruikers met deze rol. Selecteer hieronder een nieuwe rol als je deze gebruikers een andere rol wilt geven.', + 'role_delete_no_migration' => "Geen gebruikers migreren", + 'role_delete_sure' => 'Weet je zeker dat je deze rol wilt verwijderen?', + 'role_delete_success' => 'Rol succesvol verwijderd', + 'role_edit' => 'Rol Bewerken', + 'role_details' => 'Rol Details', + 'role_name' => 'Rolnaam', + 'role_desc' => 'Korte beschrijving van de rol', + 'role_system' => 'Systeem Permissies', + 'role_manage_users' => 'Gebruikers beheren', + 'role_manage_roles' => 'Rollen en rechten beheren', + 'role_manage_entity_permissions' => 'Beheer alle boeken-, hoofdstukken- en paginaresitrcties', + 'role_manage_own_entity_permissions' => 'Beheer restricties van je eigen boeken, hoofdstukken en pagina\'s', + 'role_manage_settings' => 'Beheer app instellingen', + 'role_asset' => 'Asset Permissies', + 'role_asset_desc' => 'Deze permissies bepalen de standaardtoegangsrechten. Permissies op boeken, hoofdstukken en pagina\'s overschrijven deze instelling.', + 'role_all' => 'Alles', + 'role_own' => 'Eigen', + 'role_controlled_by_asset' => 'Gecontroleerd door de asset waar deze is geüpload', + 'role_save' => 'Rol Opslaan', + 'role_update_success' => 'Rol succesvol bijgewerkt', + 'role_users' => 'Gebruikers in deze rol', + 'role_users_none' => 'Geen enkele gebruiker heeft deze rol', + + /** + * Users + */ + + 'users' => 'Gebruikers', + 'user_profile' => 'Gebruikersprofiel', + 'users_add_new' => 'Gebruiker toevoegen', + 'users_search' => 'Gebruiker zoeken', + 'users_role' => 'Gebruikersrollen', + 'users_external_auth_id' => 'External Authentication ID', + 'users_password_warning' => 'Vul onderstaande formulier alleen in als je het wachtwoord wilt aanpassen:', + 'users_system_public' => 'De eigenschappen van deze gebruiker worden voor elke gastbezoeker gebruikt. Er kan niet mee ingelogd worden en wordt automatisch toegewezen.', + 'users_delete' => 'Verwijder gebruiker', + 'users_delete_named' => 'Verwijder gebruiker :userName', + 'users_delete_warning' => 'Dit zal de gebruiker \':userName\' volledig uit het systeem verwijderen.', + 'users_delete_confirm' => 'Weet je zeker dat je deze gebruiker wilt verwijderen?', + 'users_delete_success' => 'Gebruiker succesvol verwijderd', + 'users_edit' => 'Bewerk Gebruiker', + 'users_edit_profile' => 'Bewerk Profiel', + 'users_edit_success' => 'Gebruiker succesvol bijgewerkt', + 'users_avatar' => 'Avatar', + 'users_avatar_desc' => 'De afbeelding moet vierkant zijn en ongeveer 256px breed.', + 'users_preferred_language' => 'Voorkeurstaal', + 'users_social_accounts' => 'Social Accounts', + 'users_social_accounts_info' => 'Hier kun je accounts verbinden om makkelijker in te loggen. Via je profiel kun je ook weer rechten intrekken die bij deze social accountsh horen.', + 'users_social_connect' => 'Account Verbinden', + 'users_social_disconnect' => 'Account Ontkoppelen', + 'users_social_connected' => ':socialAccount account is succesvol aan je profiel gekoppeld.', + 'users_social_disconnected' => ':socialAccount account is succesvol ontkoppeld van je profiel.', +]; diff --git a/resources/lang/nl/validation.php b/resources/lang/nl/validation.php new file mode 100644 index 000000000..b75af7485 --- /dev/null +++ b/resources/lang/nl/validation.php @@ -0,0 +1,108 @@ + 'The :attribute must be accepted.', + 'active_url' => 'The :attribute is not a valid URL.', + 'after' => 'The :attribute must be a date after :date.', + 'alpha' => 'The :attribute may only contain letters.', + 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', + 'alpha_num' => 'The :attribute may only contain letters and numbers.', + 'array' => 'The :attribute must be an array.', + 'before' => 'The :attribute must be a date before :date.', + 'between' => [ + 'numeric' => 'The :attribute must be between :min and :max.', + 'file' => 'The :attribute must be between :min and :max kilobytes.', + 'string' => 'The :attribute must be between :min and :max characters.', + 'array' => 'The :attribute must have between :min and :max items.', + ], + 'boolean' => 'The :attribute field must be true or false.', + 'confirmed' => 'The :attribute confirmation does not match.', + 'date' => 'The :attribute is not a valid date.', + 'date_format' => 'The :attribute does not match the format :format.', + 'different' => 'The :attribute and :other must be different.', + 'digits' => 'The :attribute must be :digits digits.', + 'digits_between' => 'The :attribute must be between :min and :max digits.', + 'email' => 'The :attribute must be a valid email address.', + 'filled' => 'The :attribute field is required.', + 'exists' => 'The selected :attribute is invalid.', + 'image' => 'The :attribute must be an image.', + 'in' => 'The selected :attribute is invalid.', + 'integer' => 'The :attribute must be an integer.', + 'ip' => 'The :attribute must be a valid IP address.', + 'max' => [ + 'numeric' => 'The :attribute may not be greater than :max.', + 'file' => 'The :attribute may not be greater than :max kilobytes.', + 'string' => 'The :attribute may not be greater than :max characters.', + 'array' => 'The :attribute may not have more than :max items.', + ], + 'mimes' => 'The :attribute must be a file of type: :values.', + 'min' => [ + 'numeric' => 'The :attribute must be at least :min.', + 'file' => 'The :attribute must be at least :min kilobytes.', + 'string' => 'The :attribute must be at least :min characters.', + 'array' => 'The :attribute must have at least :min items.', + ], + 'not_in' => 'The selected :attribute is invalid.', + 'numeric' => 'The :attribute must be a number.', + 'regex' => 'The :attribute format is invalid.', + 'required' => 'The :attribute field is required.', + 'required_if' => 'The :attribute field is required when :other is :value.', + 'required_with' => 'The :attribute field is required when :values is present.', + 'required_with_all' => 'The :attribute field is required when :values is present.', + 'required_without' => 'The :attribute field is required when :values is not present.', + 'required_without_all' => 'The :attribute field is required when none of :values are present.', + 'same' => 'The :attribute and :other must match.', + 'size' => [ + 'numeric' => 'The :attribute must be :size.', + 'file' => 'The :attribute must be :size kilobytes.', + 'string' => 'The :attribute must be :size characters.', + 'array' => 'The :attribute must contain :size items.', + ], + 'string' => 'The :attribute must be a string.', + 'timezone' => 'The :attribute must be a valid zone.', + 'unique' => 'The :attribute has already been taken.', + 'url' => 'The :attribute format is invalid.', + + /* + |-------------------------------------------------------------------------- + | Custom Validation Language Lines + |-------------------------------------------------------------------------- + | + | Here you may specify custom validation messages for attributes using the + | convention "attribute.rule" to name the lines. This makes it quick to + | specify a specific custom language line for a given attribute rule. + | + */ + + 'custom' => [ + 'password-confirm' => [ + 'required_with' => 'Password confirmation required', + ], + ], + + /* + |-------------------------------------------------------------------------- + | Custom Validation Attributes + |-------------------------------------------------------------------------- + | + | The following language lines are used to swap attribute place-holders + | with something more reader friendly such as E-Mail Address instead + | of "email". This simply helps us make messages a little cleaner. + | + */ + + 'attributes' => [], + +]; diff --git a/resources/lang/pt_BR/entities.php b/resources/lang/pt_BR/entities.php index a6e670353..922342424 100644 --- a/resources/lang/pt_BR/entities.php +++ b/resources/lang/pt_BR/entities.php @@ -26,6 +26,10 @@ return [ 'no_pages_viewed' => 'Você não visualizou nenhuma página', 'no_pages_recently_created' => 'Nenhuma página recentemente criada', 'no_pages_recently_updated' => 'Nenhuma página recentemente atualizada', + 'export' => 'Exportar', + 'export_html' => 'Arquivo Web Contained', + 'export_pdf' => 'Arquivo PDF', + 'export_text' => 'Arquivo Texto', /** * Permissions and restrictions @@ -161,10 +165,6 @@ return [ 'pages_revisions_preview' => 'Preview', 'pages_revisions_restore' => 'Restaurar', 'pages_revisions_none' => 'Essa página não tem revisões', - 'pages_export' => 'Exportar', - 'pages_export_html' => 'Arquivo Web Contained', - 'pages_export_pdf' => 'Arquivo PDF', - 'pages_export_text' => 'Arquivo Texto', 'pages_copy_link' => 'Copia Link', 'pages_permissions_active' => 'Permissões de Página Ativas', 'pages_initial_revision' => 'Publicação Inicial', diff --git a/resources/views/base.blade.php b/resources/views/base.blade.php index bb00ce19e..4287014c2 100644 --- a/resources/views/base.blade.php +++ b/resources/views/base.blade.php @@ -17,7 +17,7 @@ - + @yield('head') diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php index 99ffe80e1..f5e08b2f6 100644 --- a/resources/views/books/show.blade.php +++ b/resources/views/books/show.blade.php @@ -11,11 +11,11 @@
-
{{ trans('entities.pages_export') }}
+
{{ trans('entities.export') }}
@if(userCan('page-create', $book)) diff --git a/resources/views/chapters/show.blade.php b/resources/views/chapters/show.blade.php index 47a1d9ddf..28c34eef2 100644 --- a/resources/views/chapters/show.blade.php +++ b/resources/views/chapters/show.blade.php @@ -11,11 +11,11 @@
-
{{ trans('entities.pages_export') }}
+
{{ trans('entities.export') }}
@if(userCan('page-create', $chapter)) diff --git a/resources/views/pages/show.blade.php b/resources/views/pages/show.blade.php index fd6cebf41..6462225ea 100644 --- a/resources/views/pages/show.blade.php +++ b/resources/views/pages/show.blade.php @@ -11,11 +11,11 @@
-
{{ trans('entities.pages_export') }}
+
{{ trans('entities.export') }}
@if(userCan('page-update', $page)) diff --git a/resources/views/users/create.blade.php b/resources/views/users/create.blade.php index de3a3151f..e0019e618 100644 --- a/resources/views/users/create.blade.php +++ b/resources/views/users/create.blade.php @@ -21,6 +21,10 @@
{!! csrf_field() !!} @include('users/forms/' . $authMethod) +
+ {{ trans('common.cancel') }} + +
diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php index bf10b829d..ff3475194 100644 --- a/resources/views/users/edit.blade.php +++ b/resources/views/users/edit.blade.php @@ -19,38 +19,42 @@
-
- {!! csrf_field() !!} - - @include('users.forms.' . $authMethod, ['model' => $user]) +
+ {!! csrf_field() !!} + + @include('users.forms.' . $authMethod, ['model' => $user]) -
-
-
- -

{{ trans('settings.users_avatar_desc') }}

- - @include('components.image-picker', [ - 'resizeHeight' => '512', - 'resizeWidth' => '512', - 'showRemove' => false, - 'defaultImage' => baseUrl('/user_avatar.png'), - 'currentImage' => $user->getAvatar(80), - 'currentId' => $user->image_id, - 'name' => 'image_id', - 'imageClass' => 'avatar large' - ])
-
- - +
+
+ +

{{ trans('settings.users_avatar_desc') }}

+ + @include('components.image-picker', [ + 'resizeHeight' => '512', + 'resizeWidth' => '512', + 'showRemove' => false, + 'defaultImage' => baseUrl('/user_avatar.png'), + 'currentImage' => $user->getAvatar(80), + 'currentId' => $user->image_id, + 'name' => 'image_id', + 'imageClass' => 'avatar large' + ]) +
+
+ + +
-
+
+ {{ trans('common.cancel') }} + +

@@ -60,7 +64,7 @@

{{ trans('settings.users_social_accounts_info') }}

@foreach($activeSocialDrivers as $driver => $enabled) -
+
@icon($driver, ['width' => 56])
@if($user->hasSocialAccount($driver)) diff --git a/resources/views/users/forms/ldap.blade.php b/resources/views/users/forms/ldap.blade.php index 0a6cf79ae..f6e8b4c80 100644 --- a/resources/views/users/forms/ldap.blade.php +++ b/resources/views/users/forms/ldap.blade.php @@ -22,9 +22,4 @@ @include('form.text', ['name' => 'external_auth_id'])
-@endif - -
- {{ trans('common.cancel') }} - -
\ No newline at end of file +@endif \ No newline at end of file diff --git a/resources/views/users/forms/standard.blade.php b/resources/views/users/forms/standard.blade.php index 39ae4c770..fa712368b 100644 --- a/resources/views/users/forms/standard.blade.php +++ b/resources/views/users/forms/standard.blade.php @@ -31,10 +31,4 @@
@include('form.password', ['name' => 'password-confirm']) -
- -
- {{ trans('common.cancel') }} - -
- +
\ No newline at end of file diff --git a/resources/views/users/forms/system.blade.php b/resources/views/users/forms/system.blade.php index 868dad854..6243010a4 100644 --- a/resources/views/users/forms/system.blade.php +++ b/resources/views/users/forms/system.blade.php @@ -19,8 +19,3 @@
@endif -
- {{ trans('common.cancel') }} - -
- diff --git a/routes/web.php b/routes/web.php index 4bd2b4a06..8259a633b 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,6 +1,6 @@ 'auth'], function () { diff --git a/tests/LanguageTest.php b/tests/LanguageTest.php new file mode 100644 index 000000000..911ac3e81 --- /dev/null +++ b/tests/LanguageTest.php @@ -0,0 +1,48 @@ +langs = array_diff(scandir(resource_path('lang')), ['..', '.']); + } + + public function test_js_endpoint_for_each_language() + { + + $visibleKeys = ['common', 'components', 'entities', 'errors']; + + $this->asEditor(); + foreach ($this->langs as $lang) { + setting()->putUser($this->getEditor(), 'language', $lang); + $transResp = $this->get('/translations'); + foreach ($visibleKeys as $key) { + $transResp->assertSee($key); + } + } + } + + public function test_all_lang_files_loadable() + { + $files = array_diff(scandir(resource_path('lang/en')), ['..', '.']); + foreach ($this->langs as $lang) { + foreach ($files as $file) { + $loadError = false; + try { + $translations = trans(str_replace('.php', '', $file), [], $lang); + } catch (\Exception $e) { + $loadError = true; + } + $this->assertFalse($loadError, "Translation file {$lang}/{$file} failed to load"); + } + } + } + +} \ No newline at end of file