-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
46 changed files
with
1,037 additions
and
91 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
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
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 |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
|
||
'modal' => [ | ||
|
||
'heading' => 'Obriši odabrano :label', | ||
'heading' => 'Obriši odabrano', | ||
|
||
'actions' => [ | ||
|
||
|
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,76 @@ | ||
<?php | ||
|
||
return [ | ||
'label' => 'Izvezi :label', | ||
|
||
'modal' => [ | ||
|
||
'heading' => 'Izvezi :label', | ||
|
||
'form' => [ | ||
|
||
'columns' => [ | ||
|
||
'label' => 'Stupci', | ||
|
||
'form' => [ | ||
|
||
'is_enabled' => [ | ||
'label' => ':column je omogućen', | ||
], | ||
|
||
'label' => [ | ||
'label' => ':column oznaka', | ||
], | ||
|
||
], | ||
|
||
], | ||
|
||
], | ||
|
||
'actions' => [ | ||
|
||
'export' => [ | ||
'label' => 'Izvoz', | ||
], | ||
|
||
], | ||
|
||
], | ||
|
||
'notifications' => [ | ||
|
||
'completed' => [ | ||
|
||
'title' => 'Izvoz podataka završen', | ||
|
||
'actions' => [ | ||
|
||
'download_csv' => [ | ||
'label' => 'Preuzmi .csv', | ||
], | ||
|
||
'download_xlsx' => [ | ||
'label' => 'Preuzmi .xlsx', | ||
], | ||
|
||
], | ||
|
||
], | ||
|
||
'max_rows' => [ | ||
'title' => 'Datoteka za preuzimanje je prevelika', | ||
'body' => '{1} Ne možeš preuzeti više od jednog reda odjednom.|[2,4] Ne možeš preuzeti više od :count reda odjednom.|[5,*] Ne možeš preuzeti više od :count redova odjednom.', | ||
], | ||
|
||
'started' => [ | ||
'title' => 'Izvoz datoteka je započeo', | ||
'body' => '{1} Tvoj izvoz datoteka je započeo i jedan red će se obraditi u pozadini. Dobit ćeš obavijest kada je izrađena poveznica za preuzimanje.|[2,4] Tvoj izvoz datoteka je započeo i :count reda će se obraditi u pozadini. Dobit ćeš obavijest kada je izrađena poveznica za preuzimanje.|[5,*] Tvoj izvoz datoteka je započeo i :count redova će se obraditi u pozadini. Dobit ćeš obavijest kada je izrađena poveznica za preuzimanje.', | ||
], | ||
|
||
], | ||
|
||
'file_name' => 'export-:export_id-:model', | ||
|
||
]; |
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
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,84 @@ | ||
<?php | ||
|
||
return [ | ||
'label' => 'Uvezi :label', | ||
|
||
'modal' => [ | ||
|
||
'heading' => 'Uvezi :label', | ||
|
||
'form' => [ | ||
|
||
'file' => [ | ||
|
||
'label' => 'File', | ||
|
||
'placeholder' => 'Prenesi CSV datoteku', | ||
// Ovdje nisam bio siguran je li moramo i to pravilo prevesti | ||
'rules' => [ | ||
'duplicate_columns' => '{0} The file must not contain more than one empty column header.|{1,*} The file must not contain duplicate column headers: :columns.', | ||
], | ||
|
||
], | ||
|
||
'columns' => [ | ||
'label' => 'Stupac', | ||
'placeholder' => 'Odaberi stupac', | ||
], | ||
|
||
], | ||
|
||
'actions' => [ | ||
|
||
'download_example' => [ | ||
'label' => 'Preuzmi primjer CSV datoteke', | ||
], | ||
|
||
'import' => [ | ||
'label' => 'Uvoz', | ||
], | ||
|
||
], | ||
|
||
], | ||
|
||
'notifications' => [ | ||
|
||
'completed' => [ | ||
|
||
'title' => 'Uvoz je završen', | ||
|
||
'actions' => [ | ||
|
||
'download_failed_rows_csv' => [ | ||
'label' => 'Preuzmi informaciju o neuspjelom pokušaju preuzimanja retka|Preuzmi informaciju o neuspjelom pokušaju preuzimanja redaka', | ||
], | ||
|
||
], | ||
|
||
], | ||
|
||
'max_rows' => [ | ||
'title' => 'Poslana CSV datoteka je prevelika', | ||
'body' => '{1} Ne možeš uvesti više od jednog reda odjednom.|[2,4] Ne možeš uvesti više od :count reda odjednom.|[5,*] Ne možeš uvesti više od :count redova odjednom.', | ||
], | ||
|
||
'started' => [ | ||
'title' => 'Uvoz je započeo', | ||
'body' => '{1} Uvoz je započeo i jedan red će se obraditi u pozadini.|[2,4] Uvoz je započeo i :count reda će se obraditi u pozadini.|[5,*] Uvoz je započeo i :count redova će se obraditi u pozadini.', | ||
], | ||
|
||
], | ||
|
||
'example_csv' => [ | ||
'file_name' => ':importer-example', | ||
], | ||
|
||
'failure_csv' => [ | ||
'file_name' => 'import-:import_id-:csv_name-failed-rows', | ||
'error_header' => 'error', | ||
'system_error' => 'System error, please contact support.', | ||
'column_mapping_required_for_new_record' => 'The :attribute column was not mapped to a column in the file, but it is required for creating new records.', | ||
], | ||
|
||
]; |
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.
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
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
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
Oops, something went wrong.