mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			167 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			167 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| /**
 | |
|  * validation.php
 | |
|  * Copyright (c) 2018 thegrumpydictator@gmail.com
 | |
|  *
 | |
|  * 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/>.
 | |
|  */
 | |
| 
 | |
| declare(strict_types=1);
 | |
| 
 | |
| return [
 | |
|     'iban'                           => 'Ini bukan IBAN yang valid.',
 | |
|     'zero_or_more'                   => 'The value cannot be negative.',
 | |
|     'source_equals_destination'      => 'The source account equals the destination account.',
 | |
|     'unique_account_number_for_user' => 'Sepertinya nomor rekening ini sudah digunakan.',
 | |
|     'unique_iban_for_user'           => 'It looks like this IBAN is already in use.',
 | |
|     '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.',
 | |
|     '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.',
 | |
|     'at_least_one_repetition'        => 'Need at least one repetition.',
 | |
|     'require_repeat_until'           => 'Require either a number of repetitions, or an end date (repeat_until). Not both.',
 | |
|     'require_currency_info'          => 'The content of this field is invalid without currency information.',
 | |
|     'equal_description'              => 'Transaction description should not equal global description.',
 | |
|     'file_invalid_mime'              => 'File ":name" adalah tipe ":mime" yang tidak diterima sebagai upload baru.',
 | |
|     'file_too_large'                 => 'File "; name" terlalu besar.',
 | |
|     'belongs_to_user'                => 'The value of :attribute is unknown.',
 | |
|     'accepted'                       => ':attribute harus diterima.',
 | |
|     'bic'                            => 'Ini bukan BIC yang valid.',
 | |
|     'at_least_one_trigger'           => 'Rule must have at least one trigger.',
 | |
|     'at_least_one_action'            => 'Rule must have at least one action.',
 | |
|     'base64'                         => 'This is not valid base64 encoded data.',
 | |
|     'model_id_invalid'               => 'The given ID seems invalid for this model.',
 | |
|     'more'                           => ':attribute must be larger than zero.',
 | |
|     'less'                           => ':attribute must be less than 10,000,000',
 | |
|     'active_url'                     => ':attribute bukan URL yang valid.',
 | |
|     'after'                          => ':attribute harus tanggal setelah :date.',
 | |
|     '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.',
 | |
|     'before'                         => ':attribute harus tanggal sebelum :date.',
 | |
|     'unique_object_for_user'         => 'This name is already in use.',
 | |
|     'unique_account_for_user'        => 'This account name is already in use.',
 | |
|     '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'                    => 'The :attribute must be less than or equal :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'                 => 'The native amount must be a number.',
 | |
|     'numeric_destination'            => 'The destination amount must be a number.',
 | |
|     'numeric_source'                 => 'The source amount must be a number.',
 | |
|     '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'            => 'The minimum amount cannot be larger than the maximum amount.',
 | |
|     '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'                    => 'The total amount cannot be zero.',
 | |
|     '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.',
 | |
|     'valid_recurrence_rep_type'      => 'Invalid repetition type for recurring transactions.',
 | |
|     'valid_recurrence_rep_moment'    => 'Invalid repetition moment for this type of repetition.',
 | |
|     'invalid_account_info'           => 'Invalid account information.',
 | |
|     'attributes'                     => [
 | |
|         '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',
 | |
|     ],
 | |
| ];
 |