forked from thedevdojo/voyager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/1.5' into 1.5
* upstream/1.5: Hide download button if empty (thedevdojo#5487) Add Burmese Translations (thedevdojo#5488) Punctuation corrected (thedevdojo#5483) Update browse.blade.php (thedevdojo#5473) Automatic assets compilation (thedevdojo#5489) adding burmese lang (thedevdojo#5486) Fix belongs-to-many failing with ID on pivot table Bump path-parse from 1.0.6 to 1.0.7 (thedevdojo#5467) Bump tar from 6.1.0 to 6.1.11 (thedevdojo#5468) add ukrainian translations (thedevdojo#5448) Don't load all relationship results (thedevdojo#5465) Update Translatable.php (thedevdojo#5461)
- Loading branch information
Showing
32 changed files
with
894 additions
and
16,746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,7 +92,7 @@ This can easily be done by running this command: | |
php artisan voyager:admin [email protected] | ||
``` | ||
|
||
If you did not install the dummy data and you wish to create a new admin user you can pass the `--create` flag, like so: | ||
If you did not install the dummy data and you wish to create a new admin user, you can pass the `--create` flag, like so: | ||
|
||
```bash | ||
php artisan voyager:admin [email protected] --create | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
return [ | ||
'by_pageview' => 'By pageview', | ||
'by_sessions' => 'By sessions', | ||
'by_users' => 'By users', | ||
'no_client_id' => 'To view analytics you\'ll need to get a google analytics client id and add it to your settings for the key <code>google_analytics_client_id</code>. Get your key in your Google developer console:', | ||
'set_view' => 'Select a View', | ||
'this_vs_last_week' => 'This Week vs Last Week', | ||
'this_vs_last_year' => 'This Year vs Last Year', | ||
'top_browsers' => 'Top Browsers', | ||
'top_countries' => 'Top Countries', | ||
'various_visualizations' => 'Various visualizations', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?php | ||
|
||
return [ | ||
'add_bread' => 'Add BREAD to this table', | ||
'bread_crud_actions' => 'BREAD/CRUD Actions', | ||
'bread_info' => 'BREAD info', | ||
'controller_name_hint' => 'ex. PageController, if left empty will use the BREAD Controller', | ||
'create_bread_for_table' => 'Create BREAD for :table table', | ||
'default_search_key' => 'Default server-side search field', | ||
'default_search_key_ph' => 'The field will be pre-selected for server-side searching', | ||
'delete_bread' => 'Delete BREAD', | ||
'delete_bread_conf' => 'Yes, remove the BREAD', | ||
'delete_bread_quest' => 'Are you sure you want to delete the BREAD for the :table table?', | ||
'edit_bread' => 'Edit BREAD', | ||
'edit_bread_for_table' => 'Edit BREAD for :table table', | ||
'error_creating_bread' => 'Sorry it appears there may have been a problem creating this BREAD', | ||
'error_removing_bread' => 'Sorry it appears there was a problem removing this BREAD', | ||
'error_updating_bread' => 'Sorry it appears there may have been a problem updating this BREAD', | ||
'error_tagging' => 'Sorry it appears there may have been a problem creating the record. Please make sure your table has defaults for other fields.', | ||
'success_created_bread' => 'Successfully created new BREAD', | ||
'success_remove_bread' => 'Successfully removed BREAD from :datatype', | ||
'success_update_bread' => 'Successfully updated the :datatype BREAD', | ||
'controller_name' => 'Controller Name', | ||
'create_migration' => 'Create migration for this table?', | ||
'description' => 'Description', | ||
'display_name' => 'Display Name', | ||
'display_name_plural' => 'Display Name (Plural)', | ||
'display_name_singular' => 'Display Name (Singular)', | ||
'edit_rows' => 'Edit the rows for the :table table below', | ||
'generate_permissions' => 'Generate Permissions', | ||
'icon_class' => 'Icon to use for this Table', | ||
'icon_hint' => 'Icon (optional) Use a', | ||
'icon_hint2' => 'Voyager Font Class', | ||
'model_class' => 'Model Class Name', | ||
'model_name' => 'Model Name', | ||
'model_name_ph' => 'ex. \App\User, if left empty will try and use the table name', | ||
'order' => 'Order', | ||
'order_column' => 'Order column', | ||
'order_column_ph' => 'The column where the order is stored', | ||
'order_direction' => 'Order direction', | ||
'order_ident_column' => 'Order display column', | ||
'order_ident_column_ph' => 'The column which is displayed in the order page', | ||
'ordering_not_set' => 'You have to define ordering first', | ||
'policy_class' => 'Policy Class Name', | ||
'policy_name' => 'Policy Name', | ||
'policy_name_ph' => 'ex. \App\Policies\UserPolicy, if left empty will try and use the default', | ||
'server_pagination' => 'Server-side Pagination', | ||
'scope' => 'Scope', | ||
'soft_deletes_on' => 'Show Deleted', | ||
'soft_deletes_off' => 'Hide Deleted', | ||
'updated_order' => 'Order updated successfully', | ||
'url_slug' => 'URL Slug (must be unique)', | ||
'url_slug_ph' => 'URL slug (ex. posts)', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
|
||
return [ | ||
'welcome' => 'Welcome to the Voyager Compass. Every good app needs a compass to point them in the right direction. | ||
In this section you will find many resources and administrative tasks to help guide you as you build out your application.', | ||
'links' => [ | ||
'title' => 'Links', | ||
'documentation' => 'Documentation', | ||
'voyager_homepage' => 'Voyager Homepage', | ||
], | ||
'commands' => [ | ||
'title' => 'Commands', | ||
'text' => 'Run Artisan Commands from Voyager.', | ||
'clear_output' => 'clear output', | ||
'command_output' => 'Artisan Command Output', | ||
'additional_args' => 'Additional Args?', | ||
'run_command' => 'Run Command', | ||
], | ||
'resources' => [ | ||
'title' => 'Resources', | ||
'text' => 'Voyager resources to help you find things quicker.', | ||
|
||
], | ||
'logs' => [ | ||
'title' => 'Logs', | ||
'text' => 'Your app logs', | ||
'file_too_big' => 'Log file >50M, please download it.', | ||
'level' => 'Level', | ||
'context' => 'Context', | ||
'date' => 'Date', | ||
'content' => 'Content', | ||
'download_file' => 'Download file', | ||
'delete_file' => 'Delete file', | ||
'delete_all_files' => 'Delete all files', | ||
'delete_success' => 'Successfully deleted log file:', | ||
'delete_all_success' => 'Successfully deleted all log files', | ||
|
||
], | ||
'fonts' => [ | ||
'title' => 'Fonts', | ||
'font_class' => 'Voyager Fonts Class Mapping', | ||
'font_character' => 'Voyager Fonts Character Mapping', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<?php | ||
|
||
return [ | ||
'add_new_column' => 'Add New Column', | ||
'add_softdeletes' => 'Add Soft Deletes', | ||
'add_timestamps' => 'Add Timestamps', | ||
'already_exists' => 'already exists', | ||
'already_exists_table' => 'Table :table already exists', | ||
'bread_crud_actions' => 'BREAD/CRUD Actions', | ||
'bread_info' => 'BREAD info', | ||
'browse_bread' => 'Browse BREAD', | ||
'column' => 'Column', | ||
'composite_warning' => 'Warning: this column is part of a composite index', | ||
'create_new_table' => 'Create New Table', | ||
'create_your_new_table' => 'Create Your New Table', | ||
'create_model_table' => 'Create model for this table?', | ||
'default' => 'Default', | ||
'delete_bread_before_table' => 'Please make sure to remove the BREAD on this table before deleting the table.', | ||
'delete_table_confirm' => 'Yes, delete this table', | ||
'delete_table_question' => 'Are you sure you want to delete the :table table?', | ||
'editing_table' => 'Editing table :table', | ||
'edit_table' => 'Edit the :table table below', | ||
'edit_table_not_exist' => 'The table you want to edit doesn\'t exist', | ||
'extra' => 'Extra', | ||
'field' => 'Field', | ||
'field_safe_failed' => 'Failed to save field :field, we\'re rolling back!', | ||
'index' => 'INDEX', | ||
'input_type' => 'Input Type', | ||
'key' => 'Key', | ||
'name_warning' => 'Please name the column before adding an index', | ||
'no_composites_warning' => 'This table has composite indexes. Please note that they are not supported at the moment. Be careful when trying to add/remove indexes.', | ||
'null' => 'Null', | ||
'optional_details' => 'Optional Details', | ||
'policy_class' => 'Policy Class Name', | ||
'policy_name' => 'Policy Name', | ||
'policy_name_ph' => 'ex. \App\Policies\UserPolicy, if left empty will try and use the default', | ||
'primary' => 'PRIMARY', | ||
'server_pagination' => 'Server-side Pagination', | ||
'success_create_table' => 'Successfully created :table table', | ||
'success_created_bread' => 'Successfully created new BREAD', | ||
'success_delete_table' => 'Successfully deleted :table table', | ||
'success_remove_bread' => 'Successfully removed BREAD from :datatype', | ||
'success_update_bread' => 'Successfully updated the :datatype BREAD', | ||
'success_update_table' => 'Successfully updated :table table', | ||
'table_actions' => 'Table Actions', | ||
'table_columns' => 'Table Columns', | ||
'table_has_index' => 'The table already has a primary index.', | ||
'table_name' => 'Table Name', | ||
'table_no_columns' => 'The table has no columns...', | ||
'type' => 'Type', | ||
'type_not_supported' => 'This type is not supported', | ||
'unique' => 'UNIQUE', | ||
'unknown_type' => 'Unknown Type', | ||
'update_table' => 'Update Table', | ||
'url_slug' => 'URL Slug (must be unique)', | ||
'url_slug_ph' => 'URL slug (ex. posts)', | ||
'visibility' => 'Visibility', | ||
'relationship' => [ | ||
'relationship' => 'Relationship', | ||
'relationships' => 'Relationships', | ||
'has_one' => 'Has One', | ||
'has_many' => 'Has Many', | ||
'belongs_to' => 'Belongs To', | ||
'belongs_to_many' => 'Belongs To Many', | ||
'which_column_from' => 'Which column from the', | ||
'is_used_to_reference' => 'is used to reference the', | ||
'pivot_table' => 'Pivot Table', | ||
'selection_details' => 'Selection Details', | ||
'display_the' => 'Display the', | ||
'store_the' => 'Store the', | ||
'allow_tagging' => 'Allow Tagging', | ||
'easy_there' => 'Easy there Captain', | ||
'before_create' => 'Before you can create a new relationship you will need to create the BREAD first.<br> Then, return back to edit the BREAD and you will be able to add relationships.<br> Thanks.', | ||
'cancel' => 'Cancel', | ||
'add_new' => 'Add New relationship', | ||
'open' => 'Open', | ||
'close' => 'Close', | ||
'relationship_details' => 'Relationship Details', | ||
'browse' => 'Browse', | ||
'read' => 'Read', | ||
'edit' => 'Edit', | ||
'add' => 'Add', | ||
'delete' => 'Delete', | ||
'create' => 'Create a Relationship', | ||
'namespace' => 'Fully Qualified Model Name (ex. App\Category)', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
// DataTable translations from: https://github.com/DataTables/Plugins/tree/master/i18n | ||
return [ | ||
'sEmptyTable' => 'No data available in table', | ||
'sInfo' => 'Showing _START_ to _END_ of _TOTAL_ entries', | ||
'sInfoEmpty' => 'Showing 0 to 0 of 0 entries', | ||
'sInfoFiltered' => '(filtered from _MAX_ total entries)', | ||
'sInfoPostFix' => '', | ||
'sInfoThousands' => ',', | ||
'sLengthMenu' => 'Show _MENU_ entries', | ||
'sLoadingRecords' => 'Loading...', | ||
'sProcessing' => 'Processing...', | ||
'sSearch' => 'Search:', | ||
'sZeroRecords' => 'No matching records found', | ||
'oPaginate' => [ | ||
'sFirst' => 'First', | ||
'sLast' => 'Last', | ||
'sNext' => 'Next', | ||
'sPrevious' => 'Previous', | ||
], | ||
'oAria' => [ | ||
'sSortAscending' => ': activate to sort column ascending', | ||
'sSortDescending' => ': activate to sort column descending', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
return [ | ||
'last_week' => 'Last Week', | ||
'last_year' => 'Last Year', | ||
'this_week' => 'This Week', | ||
'this_year' => 'This Year', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
return [ | ||
'page' => 'Page|Pages', | ||
'page_link_text' => 'View all pages', | ||
'page_text' => 'You have :count :string in your database. Click on button below to view all pages.', | ||
'post' => 'Post|Posts', | ||
'post_link_text' => 'View all posts', | ||
'post_text' => 'You have :count :string in your database. Click on button below to view all posts.', | ||
'user' => 'User|Users', | ||
'user_link_text' => 'View all users', | ||
'user_text' => 'You have :count :string in your database. Click on button below to view all users.', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
return [ | ||
'symlink_created_text' => 'We just created the missing symlink for you.', | ||
'symlink_created_title' => 'Missing storage symlink created', | ||
'symlink_failed_text' => 'We failed to generate the missing symlink for your application. It seems like your hosting provider does not support it.', | ||
'symlink_failed_title' => 'Could not create missing storage symlink', | ||
'symlink_missing_button' => 'Fix it', | ||
'symlink_missing_text' => 'We could not find a storage symlink. This could cause problems with loading media files from the browser.', | ||
'symlink_missing_title' => 'Missing storage symlink', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
return [ | ||
'field_password_keep' => 'Leave empty to keep the same', | ||
'field_select_dd_relationship' => 'Make sure to setup the appropriate relationship in the :method method of the :class class.', | ||
'type_checkbox' => 'Check Box', | ||
'type_codeeditor' => 'Code Editor', | ||
'type_file' => 'File', | ||
'type_image' => 'Image', | ||
'type_radiobutton' => 'Radio Button', | ||
'type_richtextbox' => 'Rich Textbox', | ||
'type_selectdropdown' => 'Select Dropdown', | ||
'type_textarea' => 'Text Area', | ||
'type_textbox' => 'Text Box', | ||
]; |
Oops, something went wrong.