mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 00:54:32 -04:00
Add hungarian language
This commit is contained in:
parent
664e70e8d4
commit
b89f0a2179
@ -422,9 +422,6 @@ class CompanyController extends BaseController
|
|||||||
|
|
||||||
$company = $this->company_repo->save($request->all(), $company);
|
$company = $this->company_repo->save($request->all(), $company);
|
||||||
|
|
||||||
/** We save the settings in the repository - this is duplicated */
|
|
||||||
// $company->saveSettings($request->input('settings'), $company);
|
|
||||||
|
|
||||||
if ($request->has('documents')) {
|
if ($request->has('documents')) {
|
||||||
$this->saveDocuments($request->input('documents'), $company, false);
|
$this->saveDocuments($request->input('documents'), $company, false);
|
||||||
}
|
}
|
||||||
|
@ -39,6 +39,7 @@ class CompanyRepository extends BaseRepository
|
|||||||
|
|
||||||
$company->fill($data);
|
$company->fill($data);
|
||||||
|
|
||||||
|
/** Only required to handle v4 migration workloads */
|
||||||
if(Ninja::isHosted() && $company->isDirty('is_disabled') && !$company->is_disabled) {
|
if(Ninja::isHosted() && $company->isDirty('is_disabled') && !$company->is_disabled) {
|
||||||
Ninja::triggerForwarding($company->company_key, $company->owner()->email);
|
Ninja::triggerForwarding($company->company_key, $company->owner()->email);
|
||||||
}
|
}
|
||||||
|
@ -158,7 +158,7 @@ class Ninja
|
|||||||
Http::withHeaders([
|
Http::withHeaders([
|
||||||
'X-API-HOSTED-SECRET' => config('ninja.ninja_hosted_secret'),
|
'X-API-HOSTED-SECRET' => config('ninja.ninja_hosted_secret'),
|
||||||
])->post(config('ninja.license_url').'/api/v1/enable_forwarding', [
|
])->post(config('ninja.license_url').'/api/v1/enable_forwarding', [
|
||||||
'company_key' => $company_key,
|
'account_key' => $company_key,
|
||||||
'email' => $email,
|
'email' => $email,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@ -63,6 +63,7 @@ class LanguageSeeder extends Seeder
|
|||||||
['id' => 36, 'name' => 'Bulgarian', 'locale' => 'bg'],
|
['id' => 36, 'name' => 'Bulgarian', 'locale' => 'bg'],
|
||||||
['id' => 37, 'name' => 'Hebrew', 'locale' => 'he'],
|
['id' => 37, 'name' => 'Hebrew', 'locale' => 'he'],
|
||||||
['id' => 38, 'name' => 'Khmer', 'locale' => 'km_KH'],
|
['id' => 38, 'name' => 'Khmer', 'locale' => 'km_KH'],
|
||||||
|
['id' => 39, 'name' => 'Hungarian', 'locale' => 'hu'],
|
||||||
];
|
];
|
||||||
|
|
||||||
foreach ($languages as $language) {
|
foreach ($languages as $language) {
|
||||||
|
@ -5087,6 +5087,16 @@ Lorsque les montant apparaîtront sur votre relevé, veuillez revenir sur cette
|
|||||||
'upload_certificate' => 'Téléverser le certificat',
|
'upload_certificate' => 'Téléverser le certificat',
|
||||||
'certificate_passphrase' => 'Passphrase du certificat',
|
'certificate_passphrase' => 'Passphrase du certificat',
|
||||||
'valid_vat_number' => 'Numéro valide de taxe',
|
'valid_vat_number' => 'Numéro valide de taxe',
|
||||||
|
'react_notification_link' => 'Lien de notifications React',
|
||||||
|
'react_notification_link_help' => 'Les courriels provenant de l\'administration contiennent des liens vers l\'application React',
|
||||||
|
'show_task_billable' => 'Afficher la facturation de tâche',
|
||||||
|
'credit_item' => 'Credit Item',
|
||||||
|
'drop_file_here' => 'Déposer le fichier ici',
|
||||||
|
'files' => 'Fichiers',
|
||||||
|
'camera' => 'Caméra',
|
||||||
|
'gallery' => 'Galerie',
|
||||||
|
'project_location' => 'Emplacement du projet',
|
||||||
|
'add_gateway_help_message' => 'Ajouter un passerelle de paiement (Stripe, WePay, ou PayPal) pour accepter les paiements en ligne',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
19
lang/hu/auth.php
Normal file
19
lang/hu/auth.php
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Authentication Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines are used during authentication for various
|
||||||
|
| messages that we need to display to the user. You are free to modify
|
||||||
|
| these language lines according to your application's requirements.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'failed' => 'Ovi podaci ne odgovaraju našima.',
|
||||||
|
'throttle' => 'Previše pokušaja prijave. Molim Vas pokušajte ponovno za :seconds sekundi.',
|
||||||
|
|
||||||
|
];
|
19
lang/hu/pagination.php
Normal file
19
lang/hu/pagination.php
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Pagination Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines are used by the paginator library to build
|
||||||
|
| the simple pagination links. You are free to change them to anything
|
||||||
|
| you want to customize your views to better match your application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'previous' => '« Prethodna',
|
||||||
|
'next' => 'Sljedeća »',
|
||||||
|
|
||||||
|
];
|
22
lang/hu/passwords.php
Normal file
22
lang/hu/passwords.php
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Password Reminder Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines are the default lines which match reasons
|
||||||
|
| that are given by the password broker for a password update attempt
|
||||||
|
| has failed, such as for an invalid token or invalid new password.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'password' => 'Lozinke moraju biti duge barem 6 znakova i moraju odgovarati potvrdi.',
|
||||||
|
'reset' => 'Lozinka je postavljena!',
|
||||||
|
'sent' => 'Poveznica za ponovono postavljanje lozinke je poslana!',
|
||||||
|
'token' => 'Oznaka za ponovno postavljanje lozinke više nije važeća.',
|
||||||
|
'user' => 'Korisnik nije pronađen.',
|
||||||
|
|
||||||
|
];
|
0
lang/hu/texts.php
Normal file
0
lang/hu/texts.php
Normal file
116
lang/hu/validation.php
Normal file
116
lang/hu/validation.php
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Validation Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines contain the default error messages used by
|
||||||
|
| the validator class. Some of these rules have multiple versions such
|
||||||
|
| such as the size rules. Feel free to tweak each of these messages.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'accepted' => 'Polje :attribute mora biti prihvaćeno.',
|
||||||
|
'active_url' => 'Polje :attribute nije ispravan URL.',
|
||||||
|
'after' => 'Polje :attribute mora biti datum nakon :date.',
|
||||||
|
'alpha' => 'Polje :attribute smije sadržavati samo slova.',
|
||||||
|
'alpha_dash' => 'Polje :attribute smije sadržavati samo slova, brojeve i crtice.',
|
||||||
|
'alpha_num' => 'Polje :attribute smije sadržavati samo slova i brojeve.',
|
||||||
|
'array' => 'Polje :attribute mora biti niz.',
|
||||||
|
'before' => 'Polje :attribute mora biti datum prije :date.',
|
||||||
|
'between' => [
|
||||||
|
'numeric' => 'Polje :attribute mora biti između :min - :max.',
|
||||||
|
'file' => 'Polje :attribute mora biti između :min - :max kilobajta.',
|
||||||
|
'string' => 'Polje :attribute mora biti između :min - :max znakova.',
|
||||||
|
'array' => 'Polje :attribute mora imati između :min - :max stavki.',
|
||||||
|
],
|
||||||
|
'boolean' => 'Polje :attribute mora biti false ili true.',
|
||||||
|
'confirmed' => 'Potvrda polja :attribute se ne podudara.',
|
||||||
|
'date' => 'Polje :attribute nije ispravan datum.',
|
||||||
|
'date_format' => 'Polje :attribute ne podudara s formatom :format.',
|
||||||
|
'different' => 'Polja :attribute i :other moraju biti različita.',
|
||||||
|
'digits' => 'Polje :attribute mora sadržavati :digits znamenki.',
|
||||||
|
'digits_between' => 'Polje :attribute mora imati između :min i :max znamenki.',
|
||||||
|
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||||
|
'distinct' => 'The :attribute field has a duplicate value.',
|
||||||
|
'email' => 'Polje :attribute mora biti ispravna e-mail adresa.',
|
||||||
|
'exists' => 'Odabrano polje :attribute nije ispravno.',
|
||||||
|
'filled' => 'The :attribute field is required.',
|
||||||
|
'image' => 'Polje :attribute mora biti slika.',
|
||||||
|
'in' => 'Odabrano polje :attribute nije ispravno.',
|
||||||
|
'in_array' => 'The :attribute field does not exist in :other.',
|
||||||
|
'integer' => 'Polje :attribute mora biti broj.',
|
||||||
|
'ip' => 'Polje :attribute mora biti ispravna IP adresa.',
|
||||||
|
'json' => 'The :attribute must be a valid JSON string.',
|
||||||
|
'max' => [
|
||||||
|
'numeric' => 'Polje :attribute mora biti manje od :max.',
|
||||||
|
'file' => 'Polje :attribute mora biti manje od :max kilobajta.',
|
||||||
|
'string' => 'Polje :attribute mora sadržavati manje od :max znakova.',
|
||||||
|
'array' => 'Polje :attribute ne smije imati više od :max stavki.',
|
||||||
|
],
|
||||||
|
'mimes' => 'Polje :attribute mora biti datoteka tipa: :values.',
|
||||||
|
'min' => [
|
||||||
|
'numeric' => 'Polje :attribute mora biti najmanje :min.',
|
||||||
|
'file' => 'Polje :attribute mora biti najmanje :min kilobajta.',
|
||||||
|
'string' => 'Polje :attribute mora sadržavati najmanje :min znakova.',
|
||||||
|
'array' => 'Polje :attribute mora sadržavati najmanje :min stavki.',
|
||||||
|
],
|
||||||
|
'not_in' => 'Odabrano polje :attribute nije ispravno.',
|
||||||
|
'numeric' => 'Polje :attribute mora biti broj.',
|
||||||
|
'present' => 'The :attribute field must be present.',
|
||||||
|
'regex' => 'Polje :attribute se ne podudara s formatom.',
|
||||||
|
'required' => 'Polje :attribute je obavezno.',
|
||||||
|
'required_if' => 'Polje :attribute je obavezno kada polje :other sadrži :value.',
|
||||||
|
'required_unless' => 'The :attribute field is required unless :other is in :values.',
|
||||||
|
'required_with' => 'Polje :attribute je obavezno kada postoji polje :values.',
|
||||||
|
'required_with_all' => 'Polje :attribute je obavezno kada postje polja :values.',
|
||||||
|
'required_without' => 'Polje :attribute je obavezno kada ne postoji polje :values.',
|
||||||
|
'required_without_all' => 'Polje :attribute je obavezno kada nijedno od polja :values ne postoji.',
|
||||||
|
'same' => 'Polja :attribute i :other se moraju podudarati.',
|
||||||
|
'size' => [
|
||||||
|
'numeric' => 'Polje :attribute mora biti :size.',
|
||||||
|
'file' => 'Polje :attribute mora biti :size kilobajta.',
|
||||||
|
'string' => 'Polje :attribute mora biti :size znakova.',
|
||||||
|
'array' => 'Polje :attribute mora sadržavati :size stavki.',
|
||||||
|
],
|
||||||
|
'string' => 'The :attribute must be a string.',
|
||||||
|
'timezone' => 'Polje :attribute mora biti ispravna vremenska zona.',
|
||||||
|
'unique' => 'Polje :attribute već postoji.',
|
||||||
|
'url' => 'Polje :attribute nije ispravnog formata.',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Custom Validation Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify custom validation messages for attributes using the
|
||||||
|
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||||
|
| specify a specific custom language line for a given attribute rule.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'custom' => [
|
||||||
|
'attribute-name' => [
|
||||||
|
'rule-name' => 'custom-message',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Custom Validation Attributes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines are used to swap attribute place-holders
|
||||||
|
| with something more reader friendly such as E-Mail Address instead
|
||||||
|
| of "email". This simply helps us make messages a little cleaner.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'attributes' => [
|
||||||
|
//
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
@ -40,7 +40,7 @@ Route::get('tmp_pdf/{hash}', [App\Http\Controllers\ClientPortal\TempRouteControl
|
|||||||
|
|
||||||
Route::get('client/key_login/{contact_key}', [App\Http\Controllers\ClientPortal\ContactHashLoginController::class, 'login'])->name('client.contact_login')->middleware(['domain_db','contact_key_login']);
|
Route::get('client/key_login/{contact_key}', [App\Http\Controllers\ClientPortal\ContactHashLoginController::class, 'login'])->name('client.contact_login')->middleware(['domain_db','contact_key_login']);
|
||||||
Route::get('client/magic_link/{magic_link}', [App\Http\Controllers\ClientPortal\ContactHashLoginController::class, 'magicLink'])->name('client.contact_magic_link')->middleware(['domain_db','contact_key_login']);
|
Route::get('client/magic_link/{magic_link}', [App\Http\Controllers\ClientPortal\ContactHashLoginController::class, 'magicLink'])->name('client.contact_magic_link')->middleware(['domain_db','contact_key_login']);
|
||||||
Route::get('documents/{document_hash}', [App\Http\Controllers\ClientPortal\DocumentController::class, 'publicDownload'])->name('documents.public_download')->middleware(['domain_db']);
|
Route::get('documents/{document_hash}', [App\Http\Controllers\ClientPortal\DocumentController::class, 'publicDownload'])->name('documents.public_download')->middleware(['domain_db','token_auth']);
|
||||||
Route::get('error', [App\Http\Controllers\ClientPortal\ContactHashLoginController::class, 'errorPage'])->name('client.error');
|
Route::get('error', [App\Http\Controllers\ClientPortal\ContactHashLoginController::class, 'errorPage'])->name('client.error');
|
||||||
Route::get('client/payment/{contact_key}/{payment_id}', [App\Http\Controllers\ClientPortal\InvitationController::class, 'paymentRouter'])->middleware(['domain_db','contact_key_login']);
|
Route::get('client/payment/{contact_key}/{payment_id}', [App\Http\Controllers\ClientPortal\InvitationController::class, 'paymentRouter'])->middleware(['domain_db','contact_key_login']);
|
||||||
Route::get('client/ninja/{contact_key}/{company_key}', [App\Http\Controllers\ClientPortal\NinjaPlanController::class, 'index'])->name('client.ninja_contact_login')->middleware(['domain_db']);
|
Route::get('client/ninja/{contact_key}/{company_key}', [App\Http\Controllers\ClientPortal\NinjaPlanController::class, 'index'])->name('client.ninja_contact_login')->middleware(['domain_db']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user