| 
									
										
										
										
											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 | 
					
						
							| 
									
										
										
										
											2018-06-01 14:21:14 +02:00
										 |  |  |  * Copyright (c) 2018 thegrumpydictator@gmail.com | 
					
						
							| 
									
										
										
										
											2017-12-23 22:02:29 +01:00
										 |  |  |  * | 
					
						
							|  |  |  |  * This file is part of Firefly III. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Firefly III is free software: you can redistribute it and/or modify | 
					
						
							|  |  |  |  * it under the terms of the GNU General Public License as published by | 
					
						
							|  |  |  |  * the Free Software Foundation, either version 3 of the License, or | 
					
						
							|  |  |  |  * (at your option) any later version. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Firefly III is distributed in the hope that it will be useful, | 
					
						
							|  |  |  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
					
						
							|  |  |  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
					
						
							|  |  |  |  * GNU General Public License for more details. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * You should have received a copy of the GNU General Public License | 
					
						
							|  |  |  |  * along with Firefly III. If not, see <http://www.gnu.org/licenses/>. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-06-01 14:21:14 +02:00
										 |  |  | declare(strict_types=1); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-12-23 22:02:29 +01:00
										 |  |  | return [ | 
					
						
							|  |  |  |     'iban'                           => 'Ini bukan IBAN yang valid.', | 
					
						
							| 
									
										
										
										
											2018-03-29 19:00:21 +02:00
										 |  |  |     'source_equals_destination'      => 'The source account equals the destination account', | 
					
						
							| 
									
										
										
										
											2017-12-23 22:02:29 +01:00
										 |  |  |     'unique_account_number_for_user' => 'Sepertinya nomor rekening ini sudah digunakan.', | 
					
						
							| 
									
										
										
										
											2018-03-04 08:54:01 +01:00
										 |  |  |     'unique_iban_for_user'           => 'It looks like this IBAN is already in use.', | 
					
						
							| 
									
										
										
										
											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.', | 
					
						
							|  |  |  |     'file_attached'                  => 'File yang diupload dengan sukses ":name.', | 
					
						
							| 
									
										
										
										
											2018-03-04 08:54:01 +01:00
										 |  |  |     'must_exist'                     => 'The ID in field :attribute does not exist in the database.', | 
					
						
							|  |  |  |     'all_accounts_equal'             => 'All accounts in this field must be equal.', | 
					
						
							|  |  |  |     'invalid_selection'              => 'Your selection is invalid', | 
					
						
							|  |  |  |     'belongs_user'                   => 'This value is invalid for this field.', | 
					
						
							|  |  |  |     'at_least_one_transaction'       => 'Need at least one transaction.', | 
					
						
							|  |  |  |     'require_currency_info'          => 'The content of this field is invalid without currency information.', | 
					
						
							|  |  |  |     'equal_description'              => 'Transaction description should not equal global description.', | 
					
						
							| 
									
										
										
										
											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.', | 
					
						
							|  |  |  |     '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.', | 
					
						
							| 
									
										
										
										
											2017-12-29 09:06:07 +01:00
										 |  |  |     'more'                           => ':attribute harus lebih besar dari nol.', | 
					
						
							|  |  |  |     'active_url'                     => ':attribute bukan URL yang valid.', | 
					
						
							| 
									
										
										
										
											2017-12-29 09:35:40 +01:00
										 |  |  |     'after'                          => ':attribute harus tanggal setelah :date.', | 
					
						
							| 
									
										
										
										
											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.', | 
					
						
							| 
									
										
										
										
											2017-12-23 22:02:29 +01:00
										 |  |  |     'unique_object_for_user'         => 'Nama ini sudah digunakan', | 
					
						
							|  |  |  |     'unique_account_for_user'        => 'Nama akun ini sudah digunakan', | 
					
						
							| 
									
										
										
										
											2017-12-29 09:35:40 +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.', | 
					
						
							| 
									
										
										
										
											2017-12-29 09:06:07 +01:00
										 |  |  |     '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.', | 
					
						
							| 
									
										
										
										
											2017-12-29 09:35:40 +01:00
										 |  |  |     'digits'                         => ':attribute harus angka :digits.', | 
					
						
							| 
									
										
										
										
											2017-12-29 09:06:07 +01:00
										 |  |  |     '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.', | 
					
						
							| 
									
										
										
										
											2017-12-23 22:02:29 +01:00
										 |  |  |     'min.file'                       => 'Atribut harus minimal kilobyte :min.', | 
					
						
							| 
									
										
										
										
											2017-12-29 09:06:07 +01:00
										 |  |  |     '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.', | 
					
						
							|  |  |  |     '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.', | 
					
						
							| 
									
										
										
										
											2018-03-04 08:54:01 +01:00
										 |  |  |     'amount_min_over_max'            => 'The minimum amount cannot be larger than the maximum amount.', | 
					
						
							| 
									
										
										
										
											2017-12-29 09:06:07 +01:00
										 |  |  |     '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.', | 
					
						
							| 
									
										
										
										
											2017-12-23 22:02:29 +01:00
										 |  |  |     'url'                            => 'Format atribut tidak valid.', | 
					
						
							| 
									
										
										
										
											2017-12-29 09:06:07 +01:00
										 |  |  |     '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.', | 
					
						
							| 
									
										
										
										
											2017-12-23 22:02:29 +01:00
										 |  |  |     'amount_zero'                    => 'Jumlah total tidak boleh nol', | 
					
						
							| 
									
										
										
										
											2018-06-01 14:21:14 +02:00
										 |  |  |     'unique_piggy_bank_for_user'     => 'The name of the piggy bank must be unique.', | 
					
						
							|  |  |  |     'secure_password'                => 'This is not a secure password. Please try again. For more information, visit http://bit.ly/FF3-password-security', | 
					
						
							| 
									
										
										
										
											2018-06-23 06:29:14 +02:00
										 |  |  |     'valid_recurrence_rep_type'      => 'Invalid repetition type for recurring transactions', | 
					
						
							| 
									
										
										
										
											2018-01-29 19:13:43 +01:00
										 |  |  |     'attributes'                     => [ | 
					
						
							| 
									
										
										
										
											2018-03-04 08:54:01 +01:00
										 |  |  |         'email'                   => 'email address', | 
					
						
							|  |  |  |         'description'             => 'description', | 
					
						
							|  |  |  |         'amount'                  => 'amount', | 
					
						
							|  |  |  |         'name'                    => 'name', | 
					
						
							|  |  |  |         'piggy_bank_id'           => 'piggy bank ID', | 
					
						
							|  |  |  |         'targetamount'            => 'target amount', | 
					
						
							|  |  |  |         'openingBalanceDate'      => 'opening balance date', | 
					
						
							|  |  |  |         'openingBalance'          => 'opening balance', | 
					
						
							|  |  |  |         'match'                   => 'match', | 
					
						
							|  |  |  |         'amount_min'              => 'minimum amount', | 
					
						
							|  |  |  |         'amount_max'              => 'maximum amount', | 
					
						
							|  |  |  |         'title'                   => 'title', | 
					
						
							|  |  |  |         'tag'                     => 'tag', | 
					
						
							|  |  |  |         'transaction_description' => 'transaction description', | 
					
						
							|  |  |  |         'rule-action-value.1'     => 'rule action value #1', | 
					
						
							|  |  |  |         'rule-action-value.2'     => 'rule action value #2', | 
					
						
							|  |  |  |         'rule-action-value.3'     => 'rule action value #3', | 
					
						
							|  |  |  |         'rule-action-value.4'     => 'rule action value #4', | 
					
						
							|  |  |  |         'rule-action-value.5'     => 'rule action value #5', | 
					
						
							|  |  |  |         'rule-action.1'           => 'rule action #1', | 
					
						
							|  |  |  |         'rule-action.2'           => 'rule action #2', | 
					
						
							|  |  |  |         'rule-action.3'           => 'rule action #3', | 
					
						
							|  |  |  |         'rule-action.4'           => 'rule action #4', | 
					
						
							|  |  |  |         'rule-action.5'           => 'rule action #5', | 
					
						
							|  |  |  |         'rule-trigger-value.1'    => 'rule trigger value #1', | 
					
						
							|  |  |  |         'rule-trigger-value.2'    => 'rule trigger value #2', | 
					
						
							|  |  |  |         'rule-trigger-value.3'    => 'rule trigger value #3', | 
					
						
							|  |  |  |         'rule-trigger-value.4'    => 'rule trigger value #4', | 
					
						
							|  |  |  |         'rule-trigger-value.5'    => 'rule trigger value #5', | 
					
						
							|  |  |  |         'rule-trigger.1'          => 'rule trigger #1', | 
					
						
							|  |  |  |         'rule-trigger.2'          => 'rule trigger #2', | 
					
						
							|  |  |  |         'rule-trigger.3'          => 'rule trigger #3', | 
					
						
							|  |  |  |         'rule-trigger.4'          => 'rule trigger #4', | 
					
						
							|  |  |  |         'rule-trigger.5'          => 'rule trigger #5', | 
					
						
							| 
									
										
										
										
											2018-01-29 19:13:43 +01:00
										 |  |  |     ], | 
					
						
							| 
									
										
										
										
											2017-12-23 22:02:29 +01:00
										 |  |  | ]; |