diff --git a/resources/lang/en/auth.php b/resources/lang/en/auth.php
index 5e364799d..3762905b9 100644
--- a/resources/lang/en/auth.php
+++ b/resources/lang/en/auth.php
@@ -18,6 +18,7 @@ return [
*/
'sign_up' => 'Sign up',
'log_in' => 'Log in',
+ 'logout' => 'Logout',
'name' => 'Name',
'username' => 'Username',
diff --git a/resources/lang/en/common.php b/resources/lang/en/common.php
index 9ee359641..e6648fbcd 100644
--- a/resources/lang/en/common.php
+++ b/resources/lang/en/common.php
@@ -9,6 +9,7 @@ return [
'back' => 'Back',
'save' => 'Save',
'continue' => 'Continue',
+ 'select' => 'Select',
/**
* Form Labels
@@ -24,11 +25,30 @@ return [
'view' => 'View',
'create' => 'Create',
'update' => 'Update',
+ 'edit' => 'Edit',
'delete' => 'Delete',
+ 'search' => 'Search',
+ 'search_clear' => 'Clear Search',
/**
* Misc
*/
'deleted_user' => 'Deleted User',
+ 'no_activity' => 'No activity to show',
+ 'no_items' => 'No items available',
+ 'back_to_top' => 'Back to top',
+ 'toggle_details' => 'Toggle Details',
+
+ /**
+ * Header
+ */
+ 'view_profile' => 'View Profile',
+ 'edit_profile' => 'Edit Profile',
+
+ /**
+ * Email Content
+ */
+ 'email_action_help' => 'If you’re having trouble clicking the ":actionText" button, copy and paste the URL below into your web browser:',
+ 'email_rights' => 'All rights reserved',
];
\ No newline at end of file
diff --git a/resources/lang/en/components.php b/resources/lang/en/components.php
new file mode 100644
index 000000000..2b4796179
--- /dev/null
+++ b/resources/lang/en/components.php
@@ -0,0 +1,18 @@
+ 'Image Select',
+ 'imagem_all' => 'All',
+ 'imagem_all_title' => 'View all images',
+ 'imagem_book_title' => 'View images uploaded to this book',
+ 'imagem_page_title' => 'View images uploaded to this page',
+ 'imagem_search_hint' => 'Search by image name',
+ 'imagem_uploaded' => 'Uploaded :uploadedDate',
+ 'imagem_load_more' => 'Load More',
+ 'imagem_image_name' => 'Image Name',
+ 'imagem_delete_confirm' => 'This image is used in the pages below, Click delete again to confirm you want to delete this image.',
+ 'imagem_select_image' => 'Select Image'
+];
\ No newline at end of file
diff --git a/resources/lang/en/entities.php b/resources/lang/en/entities.php
index 751aa5a12..b2fb23d0e 100644
--- a/resources/lang/en/entities.php
+++ b/resources/lang/en/entities.php
@@ -5,6 +5,10 @@ return [
* Shared
*/
'recently_created' => 'Recently Created',
+ 'recently_created_pages' => 'Recently Created Pages',
+ 'recently_updated_pages' => 'Recently Updated Pages',
+ 'recently_created_chapters' => 'Recently Created Chapters',
+ 'recently_created_books' => 'Recently Created Books',
'recently_update' => 'Recently Updated',
'recently_viewed' => 'Recently Viewed',
'recent_activity' => 'Recent Activity',
@@ -19,6 +23,13 @@ return [
'meta_updated' => 'Updated :timeLength',
'meta_updated_name' => 'Updated :timeLength by :user',
'x_pages' => ':count Pages',
+ 'entity_select' => 'Entity Select',
+ 'images' => 'Images',
+ 'my_recent_drafts' => 'My Recent Drafts',
+ 'my_recently_viewed' => 'My Recently Viewed',
+ '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',
/**
* Permissions and restrictions
@@ -33,13 +44,19 @@ return [
*/
'search_results' => 'Search Results',
'search_clear' => 'Clear Search',
+ 'search_view_pages' => 'View all matches pages',
+ 'search_view_chapters' => 'View all matches chapters',
+ 'search_view_books' => 'View all matches books',
+ 'search_no_pages' => 'No pages matched this search',
/**
* Books
*/
+ 'book' => 'Book',
'books' => 'Books',
'books_empty' => 'No books have been created',
'books_popular' => 'Popular Books',
+ 'books_recent' => 'Recent Books',
'books_popular_empty' => 'The most popular books will appear here.',
'books_create' => 'Create New Book',
'books_delete' => 'Delete Book',
@@ -64,6 +81,7 @@ return [
/**
* Chapters
*/
+ 'chapter' => 'Chapter',
'chapters_popular' => 'Popular Chapters',
'chapters_new' => 'New Chapter',
'chapters_create' => 'Create New Chapter',
@@ -81,6 +99,8 @@ return [
/**
* Pages
*/
+ 'page' => 'Page',
+ 'pages' => 'Pages',
'pages_popular' => 'Popular Pages',
'pages_new' => 'New Page',
'pages_attachments' => 'Attachments',
@@ -149,4 +169,12 @@ return [
'attachments_edit_file_name' => 'File Name',
'attachments_edit_drop_upload' => 'Drop files or click here to upload and overwrite',
+ /**
+ * 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',
];
\ No newline at end of file
diff --git a/resources/lang/en/settings.php b/resources/lang/en/settings.php
index 1b0bcad33..dcbfe6dde 100644
--- a/resources/lang/en/settings.php
+++ b/resources/lang/en/settings.php
@@ -10,7 +10,11 @@ return [
'settings' => 'Settings',
'settings_save' => 'Save Settings',
-
+
+ /**
+ * App settings
+ */
+
'app_settings' => 'App Settings',
'app_name' => 'Application name',
'app_name_desc' => 'This name is shown in the header and any emails.',
@@ -27,6 +31,10 @@ return [
'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',
@@ -36,4 +44,86 @@ return [
'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',
-];
\ No newline at end of file
+ /**
+ * Role settings
+ */
+
+ 'roles' => 'Roles',
+ 'role_user_roles' => 'User Roles',
+ 'role_create' => 'Create New Role',
+ '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_sure' => 'Are you sure you want to delete this role?',
+ '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_users' => 'Users in this role',
+ 'role_users_none' => 'No users are currently assigned to this role',
+
+ /**
+ * Users
+ */
+
+ 'users' => 'Users',
+ '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_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_edit' => 'Edit User',
+ 'users_edit_profile' => 'Edit Profile',
+ 'users_avatar' => 'User Avatar',
+ 'users_avatar_desc' => 'This image should be approx 256px square.',
+ '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',
+];
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/views/base.blade.php b/resources/views/base.blade.php
index 08acf725d..b1c74fbd0 100644
--- a/resources/views/base.blade.php
+++ b/resources/views/base.blade.php
@@ -53,32 +53,16 @@
- This image is used in the pages below, Click delete again to confirm you want to delete - this image. + {{ trans('components.imagem_delete_confirm') }}
- @if(count($pages) > 0) - View all matched pages + {{ trans('entities.search_view_pages') }} @endif - @if(count($chapters) > 0) - View all matched chapters + {{ trans('entities.search_view_chapters') }} @endif @if(count($books) > 0) - View all matched books + {{ trans('entities.search_view_books') }} @endif
-No pages matched this search
+{{ trans('entities.search_no_pages') }}
@endif- No items available + {{ trans('common.no_items') }}
@endif