Comments (4)
Expected Behavior
{{ __('Validation') }} and {{ __('validation') }} will return the string 'Validation' - in validation.blade.php line 10
Current Behavior
The translation system sees the word 'validation' and loads the entire file validation.php from the en lang resources, which is not right.
Failure Information (for bugs)
ErrorException (E_ERROR)
htmlspecialchars() expects parameter 1 to be string, array given (View: /Users/tandersen/code/aotc-app/resources/views/pages/validation.blade.php)
Previous exceptions
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
install argon
composer install
Laravel 6
Visit 'Validation' from the left side bar
Crashes
Context
macOS 10.14.6
Chrome
NOTES:
Changing the string to anything other than 'validation' works.
I think that the project should switch to using en.json instead of old php translation files.
from ct-argon-dashboard-pro-laravel.
IF you can't reproduce, please change line 10 in validation.blade.php to __('validation') with lower case to see the issue.
from ct-argon-dashboard-pro-laravel.
the project should switch to using en.json instead of old php translation files.
from ct-argon-dashboard-pro-laravel.
Hello @tomandersen. Thank you for using our products.
We've made the necessary fixes, please check them out by downloading the archive again from your downloads section.
Best
Eugen
from ct-argon-dashboard-pro-laravel.
Related Issues (20)
- User cannot change his password in profile's settings HOT 4
- Page flickers on every load HOT 7
- The Argon Datatables is not Responsive like Material Datatables [Premium Support] HOT 1
- No validation for image upload on user profile HOT 3
- Truly Laravel 8 with Breeze and / or Jetstream HOT 1
- npm run production fails -> 100% - $icon-size-xl - 1 HOT 2
- How can I use the ajax call? HOT 3
- Sidebar Animation HOT 3
- Others Theme? HOT 3
- Range slider Result HOT 2
- Hi, I just can't figure out how to use full calendar. would you have a simple example with controller on how to view and add events? Thanks HOT 3
- Extend Edit and Delete feature to a new custom feature (Customers) HOT 8
- Horizontal scroll bar at the bottom of the page HOT 4
- Seeder Problems HOT 4
- How to work with fullcalendar HOT 1
- [Bug] El boton File browser no se visualiza que documento se sube HOT 4
- Primary color
- css and js not loading HOT 4
- Cant make page number of datatable dynamic [premium support] HOT 4
- Update to latest laravel [premium support] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ct-argon-dashboard-pro-laravel.