mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-08 05:54:47 +00:00
Complete dashboard translations & small UI improvements (#69)
* fix dropdown action Estimate Dashboard and fix translating full Dasboard page * Update app.php * fix locale in app.php config * Wizard install with translation, customer portal with translation, and fixing hardcoding strings to get translation * fixes asked to review * fixes pint --------- Co-authored-by: Max <contact@agencetwogether.fr> Co-authored-by: Darko Gjorgjijoski <5760249+gdarko@users.noreply.github.com>
This commit is contained in:
21
app/Http/Controllers/V1/Installation/LanguagesController.php
Executable file
21
app/Http/Controllers/V1/Installation/LanguagesController.php
Executable file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace InvoiceShelf\Http\Controllers\V1\Installation;
|
||||
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use InvoiceShelf\Http\Controllers\Controller;
|
||||
|
||||
class LanguagesController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display the languages page.
|
||||
*
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function languages()
|
||||
{
|
||||
return response()->json([
|
||||
'languages' => config('invoiceshelf.languages'),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user