2017-12-23 22:02:29 +01:00
< ? php
2018-04-28 15:26:45 +02:00
2017-12-23 22:02:29 +01:00
/**
* validation . php
2020-02-14 08:07:45 +01:00
* Copyright ( c ) 2019 james @ firefly - iii . org
2017-12-23 22:02:29 +01:00
*
2019-10-05 06:23:46 +02:00
* This file is part of Firefly III ( https :// github . com / firefly - iii ) .
2017-12-23 22:02:29 +01:00
*
2019-10-05 06:23:46 +02:00
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
2017-12-23 22:02:29 +01:00
*
2019-10-05 06:23:46 +02:00
* This program is distributed in the hope that it will be useful ,
2017-12-23 22:02:29 +01:00
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-10-05 06:23:46 +02:00
* GNU Affero General Public License for more details .
2017-12-23 22:02:29 +01:00
*
2019-10-05 06:23:46 +02:00
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < https :// www . gnu . org / licenses />.
2017-12-23 22:02:29 +01:00
*/
2023-01-14 15:47:51 +01:00
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY .
* YOUR CHANGES WILL BE OVERWRITTEN !
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED !
*
* GO TO CROWDIN TO FIX OR CHANGE TRANSLATIONS !
*
* https :// crowdin . com / project / firefly - iii
2023-01-15 15:47:25 +01:00
*
2023-01-14 15:47:51 +01:00
*/
2023-01-14 15:43:25 +01:00
2018-06-01 14:21:14 +02:00
declare ( strict_types = 1 );
2017-12-23 22:02:29 +01:00
return [
2021-08-10 19:32:48 +02:00
'missing_where' => 'Array is missing "where"-clause' ,
'missing_update' => 'Array is missing "update"-clause' ,
'invalid_where_key' => 'JSON contains an invalid key for the "where"-clause' ,
'invalid_update_key' => 'JSON contains an invalid key for the "update"-clause' ,
'invalid_query_data' => 'There is invalid data in the %s:%s field of your query.' ,
'invalid_query_account_type' => 'Your query contains accounts of different types, which is not allowed.' ,
'invalid_query_currency' => 'Your query contains accounts that have different currency settings, which is not allowed.' ,
2017-12-23 22:02:29 +01:00
'iban' => 'Ini bukan IBAN yang valid.' ,
2018-12-05 19:24:42 +01:00
'zero_or_more' => 'Nilai tidak bisa negatif.' ,
2021-05-01 09:47:21 +02:00
'date_or_time' => 'Nilainya harus berupa nilai tanggal atau waktu yang valid (ISO 8601).' ,
2018-12-05 19:24:42 +01:00
'source_equals_destination' => 'Akun sumber sama dengan akun tujuan.' ,
2017-12-23 22:02:29 +01:00
'unique_account_number_for_user' => 'Sepertinya nomor rekening ini sudah digunakan.' ,
2018-12-05 19:24:42 +01:00
'unique_iban_for_user' => 'Sepertinya nomor rekening ini sudah digunakan.' ,
2023-10-28 17:18:02 +02:00
'reconciled_forbidden_field' => 'This transaction is already reconciled, you cannot change the ":field"' ,
2017-12-23 22:02:29 +01:00
'deleted_user' => 'Kerena kendala keamanan, anda tidak bisa mendaftar menggunkan alamat email ini.' ,
'rule_trigger_value' => 'Nilai ini tidak validi untuk trigger yang dipilih.' ,
'rule_action_value' => 'Nilai ini tidak valid untuk tindakan yang dipilih.' ,
'file_already_attached' => 'Upload file ";name" sudah terpasang pada objek ini.' ,
2021-05-01 09:47:21 +02:00
'file_attached' => 'Berhasil mengunggah file ": name".' ,
2018-12-05 19:24:42 +01:00
'must_exist' => 'ID di bidang :attribute tidak ada di database.' ,
'all_accounts_equal' => 'Semua akun di bidang ini harus sama.' ,
2021-06-30 06:45:37 +02:00
'group_title_mandatory' => 'Sebuah judul grup wajib diisi bila terdapat lebih dari satu transaksi.' ,
'transaction_types_equal' => 'Semua pisahan harus mempunyai jenis yang sama.' ,
'invalid_transaction_type' => 'Jenis transaksi tidak valid.' ,
2018-12-05 19:24:42 +01:00
'invalid_selection' => 'Pilihan Anda tidak valid.' ,
2023-10-15 13:03:14 +02:00
'belongs_user' => 'This value is linked to an object that does not seem to exist.' ,
'belongs_user_or_user_group' => 'This value is linked to an object that does not seem to exist in your current financial administration.' ,
2018-12-05 19:24:42 +01:00
'at_least_one_transaction' => 'Minimal harus ada satu transaksi.' ,
2023-06-11 16:34:06 +02:00
'recurring_transaction_id' => 'Need at least one transaction.' ,
'need_id_to_match' => 'You need to submit this entry with an ID for the API to be able to match it.' ,
'too_many_unmatched' => 'Too many submitted transactions cannot be matched to their respective database entries. Make sure existing entries have a valid ID.' ,
'id_does_not_match' => 'Submitted ID #:id does not match expected ID. Make sure it matches or omit the field.' ,
2018-12-05 19:24:42 +01:00
'at_least_one_repetition' => 'Minimal harus ada satu pengulangan.' ,
'require_repeat_until' => 'Dibutuhkan hanya sebuah angka pengulangan, atau tanggal akhir (repeat_until). Bukan keduanya.' ,
'require_currency_info' => 'Isi dalam bidang ini tidak valid jika tidak disertai informasi mata uang.' ,
2021-06-30 06:45:37 +02:00
'not_transfer_account' => 'Akun ini bukan sebuah akun yang dapat digunakan untuk transfer.' ,
'require_currency_amount' => 'Isi dalam bidang ini tidak valid jika tidak disertai informasi jumlah mata uang asing.' ,
2023-03-10 19:11:27 +01:00
'require_foreign_currency' => 'This field requires a number' ,
2023-03-11 08:31:27 +01:00
'require_foreign_dest' => 'This field value must match the currency of the destination account.' ,
'require_foreign_src' => 'This field value must match the currency of the source account.' ,
2018-12-05 19:24:42 +01:00
'equal_description' => 'Deskripsi transaksi harus berbeda dari deskripsi umum.' ,
2017-12-23 22:02:29 +01:00
'file_invalid_mime' => 'File ":name" adalah tipe ":mime" yang tidak diterima sebagai upload baru.' ,
'file_too_large' => 'File "; name" terlalu besar.' ,
2018-12-05 19:24:42 +01:00
'belongs_to_user' => 'Nilai dari :attribute tidak diketahui.' ,
2017-12-29 09:06:07 +01:00
'accepted' => ':attribute harus diterima.' ,
2017-12-23 22:02:29 +01:00
'bic' => 'Ini bukan BIC yang valid.' ,
2018-12-05 19:24:42 +01:00
'at_least_one_trigger' => 'Aturan harus memiliki setidaknya satu pemicu.' ,
2022-02-26 11:24:16 +01:00
'at_least_one_active_trigger' => 'Rule must have at least one active trigger.' ,
2018-12-05 19:24:42 +01:00
'at_least_one_action' => 'Aturan harus memiliki setidaknya satu tindakan.' ,
2022-02-26 11:24:16 +01:00
'at_least_one_active_action' => 'Rule must have at least one active action.' ,
2018-12-05 19:24:42 +01:00
'base64' => 'Ini bukanlah data base64 encoded yang valid.' ,
'model_id_invalid' => 'ID yang diberikan tidaklah valid untuk model ini.' ,
'less' => ':attribute harus kurang dari 10,000,000' ,
2017-12-29 09:06:07 +01:00
'active_url' => ':attribute bukan URL yang valid.' ,
2017-12-29 09:35:40 +01:00
'after' => ':attribute harus tanggal setelah :date.' ,
2021-06-30 06:45:37 +02:00
'date_after' => 'Tanggal awal harus sebelum tanggal akhir.' ,
2017-12-29 09:06:07 +01:00
'alpha' => ':attribute hanya boleh berisi huruf.' ,
'alpha_dash' => ':attribute hanya boleh berisi huruf, angka dan tanda hubung.' ,
'alpha_num' => ':attribute hanya boleh berisi huruf dan angka.' ,
'array' => ':attribute harus berupa array.' ,
'unique_for_user' => 'Sudah ada entri dengan :attribute ini.' ,
2017-12-29 09:35:40 +01:00
'before' => ':attribute harus tanggal sebelum :date.' ,
2018-12-05 19:24:42 +01:00
'unique_object_for_user' => 'Nama ini sudah digunakan.' ,
'unique_account_for_user' => 'Nama akun ini sudah digunakan.' ,
2023-01-14 15:43:25 +01:00
2023-01-14 15:47:51 +01:00
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY .
* YOUR CHANGES WILL BE OVERWRITTEN !
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED !
*
* GO TO CROWDIN TO FIX OR CHANGE TRANSLATIONS !
*
* https :// crowdin . com / project / firefly - iii
2023-01-15 15:47:25 +01:00
*
2023-01-14 15:47:51 +01:00
*/
2023-01-14 15:43:25 +01:00
2023-01-29 15:29:42 +01:00
'between.numeric' => ':attribute harus antara :min dan :max.' ,
'between.file' => ':attribute harus antara :min dan :max kilobyte.' ,
'between.string' => ':attribute harus antara :min dan :max karakter.' ,
'between.array' => ':attribute harus antara :min dan :max item.' ,
'boolean' => 'Bidang :attribute harus benar atau salah.' ,
'confirmed' => 'Konfirmasi :attribute tidak cocok.' ,
'date' => ':attribute bukan tanggal yang valid.' ,
'date_format' => ':attribute tidak cocok dengan the format :format.' ,
'different' => ':attribute dan :other harus berbeda.' ,
'digits' => ':attribute harus angka :digits.' ,
'digits_between' => ':attribute harus antara :min dan :max angka.' ,
'email' => ':attribute harus alamat email yang valid.' ,
'filled' => 'Bidang :attribute diperlukan.' ,
'exists' => ':attribute yang dipilih tidak valid.' ,
'image' => ':attribute harus gambar.' ,
'in' => ':attribute yang dipilih tidak valid.' ,
'integer' => ':attribute harus bilangan bulat.' ,
'ip' => ':attribute harus alamat IP yang valid.' ,
'json' => ':attribute harus string JSON yang valid.' ,
'max.numeric' => ':attribute tidak boleh lebih besar dari :max.' ,
'max.file' => ':attribute tidak boleh lebih besar dari kilobyte :max.' ,
'max.string' => ':attribute tidak boleh lebih besar dari karakter :max.' ,
'max.array' => ':attribute tidak boleh memiliki lebih dari item :max.' ,
'mimes' => ':attribute harus jenis file: :values.' ,
'min.numeric' => ':attribute harus sedikitnya :min.' ,
'lte.numeric' => ':attribute harus kurang dari atau sama dengan :value.' ,
'min.file' => 'Atribut harus minimal kilobyte :min.' ,
'min.string' => ':attribute harus minimal karakter :min.' ,
'min.array' => ':attribute harus minimal item :min.' ,
'not_in' => ':attribute yang dipilih tidak valid.' ,
'numeric' => ':attribute harus angka.' ,
'numeric_native' => 'Nilai asli haruslah berupa angka.' ,
'numeric_destination' => 'Nilai tujuan haruslah berupa angka.' ,
'numeric_source' => 'Nilai asal haruslah berupa angka.' ,
'regex' => 'Format :attribute tidak valid.' ,
'required' => 'Bidang :attribute diperlukan.' ,
'required_if' => 'Bidang :attribute diperlukan ketika :other adalah :value.' ,
'required_unless' => 'Bidang :attribute diperlukan minimal :other adalah dalam :values.' ,
'required_with' => 'Bidang :attribute diperlukan ketika :values terdapat nilai.' ,
'required_with_all' => 'Bidang :attribute diperlukan ketika :values ada.' ,
'required_without' => 'Bidang :attribute diperlukan ketika :values tidak ada.' ,
'required_without_all' => 'Bidang :attribute diperlukan ketika tidak ada satupun :values ada.' ,
'same' => ':attribute dan :other harus cocok.' ,
'size.numeric' => ':attribute harus :size.' ,
'amount_min_over_max' => 'Jumlah minimum tidak boleh lebih besar dari jumlah maksimum.' ,
'size.file' => ':attribute harus kilobyte :size.' ,
'size.string' => ':attribute harus karakter :size.' ,
'size.array' => ':attribute harus berisi item :size.' ,
'unique' => ':attribute sudah diambil.' ,
'string' => ':attribute harus sebuah string.' ,
'url' => 'Format atribut tidak valid.' ,
'timezone' => ':attribute harus zona yang valid.' ,
'2fa_code' => 'Bidang :attribute tidak valid.' ,
'dimensions' => ':attribute memiliki dimensi gambar yang tidak valid.' ,
'distinct' => 'Bidang :attribute memiliki nilai duplikat.' ,
'file' => ':attribute harus berupa file.' ,
'in_array' => 'Bidang :attribute tidak ada in :other.' ,
'present' => 'Bidang :attribute harus ada.' ,
'amount_zero' => 'Jumlah total tidak boleh nol.' ,
'current_target_amount' => 'Jumlah saat ini harus kurang dari jumlah target.' ,
'unique_piggy_bank_for_user' => 'Nama celengan harus unik.' ,
'unique_object_group' => 'Nama grup harus unik' ,
'starts_with' => 'Nilai harus di mulai dengan :values.' ,
'unique_webhook' => 'You already have a webhook with this combination of URL, trigger, response and delivery.' ,
'unique_existing_webhook' => 'You already have another webhook with this combination of URL, trigger, response and delivery.' ,
'same_account_type' => 'Kedua akun harus dari jenis akun yang sama' ,
'same_account_currency' => 'Kedua akun harus memiliki pengaturan mata uang yang sama' ,
2020-03-16 06:47:06 +01:00
2023-01-14 15:47:51 +01:00
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY .
* YOUR CHANGES WILL BE OVERWRITTEN !
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED !
*
* GO TO CROWDIN TO FIX OR CHANGE TRANSLATIONS !
*
* https :// crowdin . com / project / firefly - iii
2023-01-15 15:47:25 +01:00
*
2023-01-14 15:47:51 +01:00
*/
2023-01-14 15:43:25 +01:00
2021-06-30 06:45:37 +02:00
'secure_password' => 'Ini bukan sebuah kata sandi yang aman. Silahkan coba lagi. Untuk informasi lebih lanjut, kunjungi https://bit.ly/FF3-password-security' ,
2020-12-04 20:27:40 +01:00
'valid_recurrence_rep_type' => 'Tipe pengulangan yang tidak valid untuk transaksi berkala.' ,
'valid_recurrence_rep_moment' => 'Waktu pengulangan tidaklah valid untuk tipe pengulangan ini.' ,
'invalid_account_info' => 'Informasi akun tidak valid.' ,
'attributes' => [
2018-12-05 19:24:42 +01:00
'email' => 'alamat email' ,
'description' => 'keterangan' ,
'amount' => 'jumlah' ,
2021-06-30 06:45:37 +02:00
'transactions.*.amount' => 'jumlah transaksi' ,
2018-12-05 19:24:42 +01:00
'name' => 'nama' ,
'piggy_bank_id' => 'celengan ID' ,
'targetamount' => 'target dana' ,
2021-06-30 06:45:37 +02:00
'opening_balance_date' => 'tanggal saldo awal' ,
'opening_balance' => 'saldo awal' ,
2018-12-05 19:24:42 +01:00
'match' => 'cocok' ,
'amount_min' => 'jumlah minimal' ,
'amount_max' => 'jumlah maksimal' ,
'title' => 'judul' ,
'tag' => 'label' ,
'transaction_description' => 'keterangan transaksi' ,
'rule-action-value.1' => 'nilai aturan tindakan #1' ,
'rule-action-value.2' => 'nilai aturan tindakan #2' ,
'rule-action-value.3' => 'nilai aturan tindakan #3' ,
'rule-action-value.4' => 'nilai aturan tindakan #4' ,
'rule-action-value.5' => 'nilai aturan tindakan #5' ,
'rule-action.1' => 'aturan tindakan #1' ,
'rule-action.2' => 'aturan tindakan #2' ,
'rule-action.3' => 'aturan tindakan #3' ,
'rule-action.4' => 'aturan tindakan #4' ,
'rule-action.5' => 'aturan tindakan #5' ,
'rule-trigger-value.1' => 'nilai pemicu aturan #1' ,
'rule-trigger-value.2' => 'nilai pemicu aturan #2' ,
'rule-trigger-value.3' => 'nilai pemicu aturan #3' ,
'rule-trigger-value.4' => 'nilai pemicu aturan #4' ,
'rule-trigger-value.5' => 'nilai pemicu aturan #5' ,
'rule-trigger.1' => 'pemicu aturan #1' ,
'rule-trigger.2' => 'pemicu aturan #2' ,
'rule-trigger.3' => 'pemicu aturan #3' ,
'rule-trigger.4' => 'pemicu aturan #4' ,
'rule-trigger.5' => 'pemicu aturan #5' ,
2018-01-29 19:13:43 +01:00
],
2019-05-29 18:30:52 +02:00
// validation of accounts:
2021-06-30 06:45:37 +02:00
'withdrawal_source_need_data' => 'Perlu untuk mendapatkan sebuah ID akun sumber yang valid dan/atau nama akun sumber yang valid untuk melanjutkan.' ,
2023-06-21 06:40:41 +02:00
'withdrawal_source_bad_data' => '[a] Could not find a valid source account when searching for ID ":id" or name ":name".' ,
'withdrawal_dest_need_data' => '[a] Need to get a valid destination account ID and/or valid destination account name to continue.' ,
2021-06-30 06:45:37 +02:00
'withdrawal_dest_bad_data' => 'Tidak dapat menemukan sebuah akun tujuan yang valid saat mencari ID ":id" atau nama ":name".' ,
2019-05-29 18:30:52 +02:00
2023-06-27 15:01:42 +02:00
'withdrawal_dest_iban_exists' => 'This destination account IBAN is already in use by an asset account or a liability and cannot be used as a withdrawal destination.' ,
'deposit_src_iban_exists' => 'This source account IBAN is already in use by an asset account or a liability and cannot be used as a deposit source.' ,
2022-12-29 15:49:24 +01:00
'reconciliation_source_bad_data' => 'Could not find a valid reconciliation account when searching for ID ":id" or name ":name".' ,
2023-06-21 06:40:41 +02:00
'generic_source_bad_data' => '[e] Could not find a valid source account when searching for ID ":id" or name ":name".' ,
2021-03-14 20:03:27 +01:00
2021-06-30 06:45:37 +02:00
'deposit_source_need_data' => 'Perlu untuk mendapatkan sebuah ID akun sumber yang valid dan/atau nama akun sumber yang valid untuk melanjutkan.' ,
2023-06-21 06:40:41 +02:00
'deposit_source_bad_data' => '[b] Could not find a valid source account when searching for ID ":id" or name ":name".' ,
'deposit_dest_need_data' => '[b] Need to get a valid destination account ID and/or valid destination account name to continue.' ,
2021-06-30 06:45:37 +02:00
'deposit_dest_bad_data' => 'Tidak dapat menemukan sebuah akun tujuan yang valid saat mencari ID ":id" atau nama ":name".' ,
'deposit_dest_wrong_type' => 'Akun tujuan yang dikirimkan bukan dari jenis yang benar.' ,
2019-05-29 18:30:52 +02:00
2023-01-14 15:47:51 +01:00
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY .
* YOUR CHANGES WILL BE OVERWRITTEN !
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED !
*
* GO TO CROWDIN TO FIX OR CHANGE TRANSLATIONS !
*
* https :// crowdin . com / project / firefly - iii
2023-01-15 15:47:25 +01:00
*
2023-01-14 15:47:51 +01:00
*/
2023-01-14 15:43:25 +01:00
2021-06-30 06:45:37 +02:00
'transfer_source_need_data' => 'Perlu untuk mendapatkan sebuah ID akun sumber yang valid dan/atau nama akun sumber yang valid untuk melanjutkan.' ,
2023-06-21 06:40:41 +02:00
'transfer_source_bad_data' => '[c] Could not find a valid source account when searching for ID ":id" or name ":name".' ,
'transfer_dest_need_data' => '[c] Need to get a valid destination account ID and/or valid destination account name to continue.' ,
2021-06-30 06:45:37 +02:00
'transfer_dest_bad_data' => 'Tidak dapat menemukan sebuah akun tujuan yang valid saat mencari ID ":id" atau nama ":name".' ,
'need_id_in_edit' => 'Setiap pisahan harus memiliki transaction_journal_id (ID yang valid atau 0).' ,
2019-06-23 10:39:59 +02:00
2022-10-04 20:49:29 +02:00
'ob_source_need_data' => 'Perlu untuk mendapatkan sebuah ID akun sumber yang valid dan/atau nama akun sumber yang valid untuk melanjutkan.' ,
'lc_source_need_data' => 'Perlu untuk mendapatkan sebuah ID akun sumber yang valid untuk melanjutkan.' ,
2023-06-21 06:40:41 +02:00
'ob_dest_need_data' => '[d] Need to get a valid destination account ID and/or valid destination account name to continue.' ,
2022-10-04 20:49:29 +02:00
'ob_dest_bad_data' => 'Tidak dapat menemukan sebuah akun tujuan yang valid saat mencari ID ":id" atau nama ":name".' ,
'reconciliation_either_account' => 'To submit a reconciliation, you must submit either a source or a destination account. Not both, not neither.' ,
2019-08-08 17:05:13 +02:00
2021-06-30 06:45:37 +02:00
'generic_invalid_source' => 'Anda tidak dapat menggunakan akun ini sebagai akun sumber.' ,
'generic_invalid_destination' => 'Anda tidak dapat menggunakan akun ini sebagai akun tujuan.' ,
2020-01-09 06:29:16 +01:00
2023-04-28 09:27:14 +02:00
'generic_no_source' => 'You must submit source account information or submit a transaction journal ID.' ,
'generic_no_destination' => 'You must submit destination account information or submit a transaction journal ID.' ,
2022-01-28 21:19:05 +01:00
2021-06-30 06:45:37 +02:00
'gte.numeric' => ':attribute harus lebih besar dari atau sama dengan :value.' ,
'gt.numeric' => ':attribute harus lebih besar dari :value.' ,
'gte.file' => ':attribute harus lebih besar dari atau sama dengan :value kilobytes.' ,
'gte.string' => ':attribute harus lebih besar dari atau sama dengan :value karakter.' ,
'gte.array' => ':attribute harus memiliki :value item atau lebih.' ,
2020-03-16 06:47:06 +01:00
2021-06-30 06:45:37 +02:00
'amount_required_for_auto_budget' => 'Jumlah wajib diisi.' ,
'auto_budget_amount_positive' => 'Jumlah harus lebih dari kosong.' ,
'auto_budget_period_mandatory' => 'Periode anggaran otomatis adalah bidang yang wajib.' ,
2023-01-29 15:29:42 +01:00
// no access to administration:
'no_access_user_group' => 'You do not have the correct access rights for this administration.' ,
2017-12-23 22:02:29 +01:00
];
2023-01-14 15:43:25 +01:00
2023-01-14 15:47:51 +01:00
/*
* PLEASE DO NOT EDIT THIS FILE DIRECTLY .
* YOUR CHANGES WILL BE OVERWRITTEN !
* YOUR PR WITH CHANGES TO THIS FILE WILL BE REJECTED !
*
* GO TO CROWDIN TO FIX OR CHANGE TRANSLATIONS !
*
* https :// crowdin . com / project / firefly - iii
2023-01-15 15:47:25 +01:00
*
2023-01-14 15:47:51 +01:00
*/