2017-12-31 09:10:38 +01:00
|
|
|
|
<?php
|
2018-04-28 15:26:45 +02:00
|
|
|
|
|
2017-12-31 09:10:38 +01:00
|
|
|
|
/**
|
|
|
|
|
* validation.php
|
2018-06-01 14:22:53 +02:00
|
|
|
|
* Copyright (c) 2018 thegrumpydictator@gmail.com
|
2017-12-31 09:10:38 +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:22:53 +02:00
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2017-12-31 09:10:38 +01:00
|
|
|
|
return [
|
2018-06-30 06:16:09 +02:00
|
|
|
|
'iban' => 'Bu geçerli bir IBAN değil.',
|
2018-10-26 14:49:19 +02:00
|
|
|
|
'zero_or_more' => 'The value cannot be negative.',
|
2019-02-10 14:33:15 +01:00
|
|
|
|
'date_or_time' => 'The value must be a valid date or time value (ISO 8601).',
|
2018-10-26 14:49:19 +02:00
|
|
|
|
'source_equals_destination' => 'Kaynak hesabın hedef hesap eşittir.',
|
2017-12-31 09:10:38 +01:00
|
|
|
|
'unique_account_number_for_user' => 'Bu hesap numarası zaten kullanılmaktadır.',
|
2018-06-30 06:16:09 +02:00
|
|
|
|
'unique_iban_for_user' => 'Bu IBAN numarası zaten kullanılmaktadır.',
|
2017-12-31 09:10:38 +01:00
|
|
|
|
'deleted_user' => 'Güvenlik kısıtlamaları nedeniyle, bu e-posta adresini kullanarak kayıt yapamazsınız.',
|
|
|
|
|
'rule_trigger_value' => 'Bu eylem, seçili işlem için geçersizdir.',
|
|
|
|
|
'rule_action_value' => 'Bu eylem seçili işlem için geçersizdir.',
|
2017-12-31 09:36:36 +01:00
|
|
|
|
'file_already_attached' => 'Yüklenen dosya ":name" zaten bu nesneye bağlı.',
|
2019-05-29 18:30:52 +02:00
|
|
|
|
'file_attached' => 'Successfully uploaded file ":name".',
|
2018-06-30 06:16:09 +02:00
|
|
|
|
'must_exist' => 'ID alanı :attribute veritabanın içinde yok.',
|
|
|
|
|
'all_accounts_equal' => 'Bu alandaki tüm hesapları eşit olmalıdır.',
|
2019-05-29 18:30:52 +02:00
|
|
|
|
'group_title_mandatory' => 'A group title is mandatory when there is more than one transaction.',
|
|
|
|
|
'transaction_types_equal' => 'All splits must be of the same type.',
|
|
|
|
|
'invalid_transaction_type' => 'Invalid transaction type.',
|
2018-10-26 14:49:19 +02:00
|
|
|
|
'invalid_selection' => 'Seçiminiz geçersiz.',
|
2018-06-30 06:16:09 +02:00
|
|
|
|
'belongs_user' => 'Bu değer bu alan için geçerli değil.',
|
|
|
|
|
'at_least_one_transaction' => 'En az bir işlem gerekir.',
|
2018-10-26 14:49:19 +02:00
|
|
|
|
'at_least_one_repetition' => 'En az bir tekrarı gerekir.',
|
2018-07-03 18:24:43 +02:00
|
|
|
|
'require_repeat_until' => 'Require either a number of repetitions, or an end date (repeat_until). Not both.',
|
2018-06-30 06:16:09 +02:00
|
|
|
|
'require_currency_info' => 'Bu alanın içeriği para birimi bilgileri geçersiz.',
|
2019-05-29 18:30:52 +02:00
|
|
|
|
'require_currency_amount' => 'The content of this field is invalid without foreign amount information.',
|
2018-06-30 06:16:09 +02:00
|
|
|
|
'equal_description' => 'İşlem açıklaması genel açıklama eşit değildir.',
|
2017-12-31 09:36:36 +01:00
|
|
|
|
'file_invalid_mime' => '":name" dosyası ":mime" türünde olup yeni bir yükleme olarak kabul edilemez.',
|
|
|
|
|
'file_too_large' => '":name" dosyası çok büyük.',
|
2018-10-26 14:49:19 +02:00
|
|
|
|
'belongs_to_user' => ':attribute\'nin değeri bilinmiyor',
|
2017-12-31 09:36:36 +01:00
|
|
|
|
'accepted' => ':attribute kabul edilmek zorunda.',
|
2017-12-31 09:10:38 +01:00
|
|
|
|
'bic' => 'Bu BIC geçerli değilrdir.',
|
2018-10-26 14:49:19 +02:00
|
|
|
|
'at_least_one_trigger' => 'Kural en az bir tetikleyiciye sahip olması gerekir.',
|
|
|
|
|
'at_least_one_action' => 'Kural en az bir eylem olması gerekir.',
|
2018-06-30 06:16:09 +02:00
|
|
|
|
'base64' => 'Bu geçerli Base64 olarak kodlanmış veri değildir.',
|
|
|
|
|
'model_id_invalid' => 'Verilen kimlik bu model için geçersiz görünüyor.',
|
2018-10-26 14:49:19 +02:00
|
|
|
|
'more' => ':attribute sıfırdan büyük olmak zorundadır.',
|
|
|
|
|
'less' => ':attribute 10.000.000 den daha az olmalıdır',
|
2017-12-31 09:10:38 +01:00
|
|
|
|
'active_url' => ':attribute geçerli bir URL değil.',
|
|
|
|
|
'after' => ':attribute :date tarihinden sonrası için tarihlendirilmelidir.',
|
|
|
|
|
'alpha' => ':attribute sadece harf içerebilir.',
|
|
|
|
|
'alpha_dash' => ':attribute sadece harf, sayı ve kısa çizgi içerebilir.',
|
|
|
|
|
'alpha_num' => ':attribute sadece harf ve sayı içerebilir.',
|
2017-12-31 09:36:36 +01:00
|
|
|
|
'array' => ':attribute bir dizi olmalıdır.',
|
2017-12-31 09:10:38 +01:00
|
|
|
|
'unique_for_user' => ':attribute\'de zaten bir girdi var.',
|
|
|
|
|
'before' => ':attribute :date tarihinden öncesi için tarihlendirilmelidir.',
|
2018-10-26 14:49:19 +02:00
|
|
|
|
'unique_object_for_user' => 'Bu isim zaten kullanılıyor.',
|
|
|
|
|
'unique_account_for_user' => 'Bu hesap adı zaten kullanılıyor.',
|
2017-12-31 09:10:38 +01:00
|
|
|
|
'between.numeric' => ':attribute :min ve :max arasında olmalıdır.',
|
|
|
|
|
'between.file' => ':attribute, :min kilobayt ve :max kilobayt arasında olmalıdır.',
|
|
|
|
|
'between.string' => ':attribute :min karakter ve :max karakter olmalıdır.',
|
|
|
|
|
'between.array' => ':attribute :min öğe ve :max öğe olmalıdır.',
|
|
|
|
|
'boolean' => ':attribute alanının doğru veya yanlış olması gerekir.',
|
2017-12-31 09:36:36 +01:00
|
|
|
|
'confirmed' => ':attribute doğrulaması eşleşmiyor.',
|
2017-12-31 09:10:38 +01:00
|
|
|
|
'date' => ':attribute geçerli bir tarih değil.',
|
|
|
|
|
'date_format' => ':attribute :format formatına uymuyor.',
|
|
|
|
|
'different' => ':attribute ve :other farklı olmalı.',
|
|
|
|
|
'digits' => ':attribute :digits basamak olmalıdır.',
|
|
|
|
|
'digits_between' => ':attribute en az :min basamak en fazla :max basamak olmalı.',
|
|
|
|
|
'email' => ':attribute geçerli bir e-posta adresi olmalıdır.',
|
|
|
|
|
'filled' => ':attribute alanı gereklidir.',
|
|
|
|
|
'exists' => 'Seçili :attribute geçersiz.',
|
|
|
|
|
'image' => ':attribute bir resim olmalı.',
|
|
|
|
|
'in' => 'Seçili :attribute geçersiz.',
|
|
|
|
|
'integer' => ':attribute bir tamsayı olmalı.',
|
|
|
|
|
'ip' => ':attribute geçerli bir IP adresi olmalı.',
|
|
|
|
|
'json' => ':attribute geçerli bir JSON dizini olmalı.',
|
|
|
|
|
'max.numeric' => ':attribute, :max değerinden daha büyük olamamalıdır.',
|
|
|
|
|
'max.file' => ':attribute :max kilobayttan büyük olmamalıdır.',
|
|
|
|
|
'max.string' => ':attribute :max karakterden büyük olmamalıdır.',
|
|
|
|
|
'max.array' => ':attribute :max öğeden daha fazlasına sahip olamaz.',
|
|
|
|
|
'mimes' => ':attribute :values türünde bir dosya olmalı.',
|
|
|
|
|
'min.numeric' => ':attribute en az :min olmalıdır.',
|
2018-10-26 14:49:19 +02:00
|
|
|
|
'lte.numeric' => ':attribute küçük veya eşit olması gerekir :value.',
|
2017-12-31 09:10:38 +01:00
|
|
|
|
'min.file' => ':attribute en az :min kilobayt olmalıdır.',
|
|
|
|
|
'min.string' => ':attribute en az :min karakter olmalıdır.',
|
|
|
|
|
'min.array' => ':attribute en az :min öğe içermelidir.',
|
|
|
|
|
'not_in' => 'Seçili :attribute geçersiz.',
|
|
|
|
|
'numeric' => ':attribute sayı olmalıdır.',
|
2018-10-26 14:49:19 +02:00
|
|
|
|
'numeric_native' => 'Yerli tutar bir sayı olması gerekir.',
|
|
|
|
|
'numeric_destination' => 'Hedef tutar bir sayı olması gerekir.',
|
|
|
|
|
'numeric_source' => 'Kaynak tutarın bir sayı olması gerekir.',
|
2017-12-31 09:10:38 +01:00
|
|
|
|
'regex' => ':attribute biçimi geçersiz.',
|
|
|
|
|
'required' => ':attribute alanı gereklidir.',
|
|
|
|
|
'required_if' => ':other :value iken :attribute alanı gereklidir.',
|
2017-12-31 09:36:36 +01:00
|
|
|
|
'required_unless' => ':other :values içinde değilse :attribute alanı gereklidir.',
|
2017-12-31 09:10:38 +01:00
|
|
|
|
'required_with' => ':values mevcutken :attribute alanı gereklidir.',
|
|
|
|
|
'required_with_all' => ':values mevcutken :attribute alanı gereklidir.',
|
|
|
|
|
'required_without' => ':values mevcut değilken :attribute alanı gereklidir.',
|
|
|
|
|
'required_without_all' => 'Hiçbir :values mevcut değilken :attribute alanı gereklidir.',
|
2017-12-31 09:36:36 +01:00
|
|
|
|
'same' => ':attribute ve :other eşleşmelidir.',
|
|
|
|
|
'size.numeric' => ':attribute :size olmalıdır.',
|
2018-06-30 06:16:09 +02:00
|
|
|
|
'amount_min_over_max' => 'En az tutar en fazla tutardan büyük olamaz.',
|
2017-12-31 09:10:38 +01:00
|
|
|
|
'size.file' => ':attribute :size kilobyte olmalıdır.',
|
2017-12-31 09:36:36 +01:00
|
|
|
|
'size.string' => ':attribute :size karakter olmalıdır.',
|
2017-12-31 09:10:38 +01:00
|
|
|
|
'size.array' => ':attribute :size öğeye sahip olmalıdır.',
|
|
|
|
|
'unique' => ':attribute zaten alınmış.',
|
|
|
|
|
'string' => ':attribute bir dizi olmalıdır.',
|
|
|
|
|
'url' => ':attribute biçimi geçersiz.',
|
|
|
|
|
'timezone' => ':attribute geçerli bir bölge olmalıdır.',
|
|
|
|
|
'2fa_code' => ':attribute alanı geçersiz.',
|
|
|
|
|
'dimensions' => ':attribute geçersiz görüntü boyutlarına sahip.',
|
|
|
|
|
'distinct' => ':attribute alanı yinelenen bir değere sahip.',
|
|
|
|
|
'file' => ':attribute bir dosya olmalıdır.',
|
|
|
|
|
'in_array' => ':attribute alanı :other içinde olamaz.',
|
|
|
|
|
'present' => ':attribute alanı mevcut olmalıdır.',
|
2018-10-26 14:49:19 +02:00
|
|
|
|
'amount_zero' => 'Toplam tutarı sıfır olamaz.',
|
2018-06-30 06:16:09 +02:00
|
|
|
|
'unique_piggy_bank_for_user' => 'Kumbara adı benzersiz olmalıdır.',
|
2018-12-05 19:24:42 +01:00
|
|
|
|
'secure_password' => 'This is not a secure password. Please try again. For more information, visit https://bit.ly/FF3-password-security',
|
2018-07-01 21:40:45 +02:00
|
|
|
|
'valid_recurrence_rep_type' => 'Invalid repetition type for recurring transactions.',
|
2018-06-30 06:16:09 +02:00
|
|
|
|
'valid_recurrence_rep_moment' => 'Invalid repetition moment for this type of repetition.',
|
2018-07-01 21:40:45 +02:00
|
|
|
|
'invalid_account_info' => 'Invalid account information.',
|
2018-01-29 19:13:43 +01:00
|
|
|
|
'attributes' => [
|
2018-06-30 06:16:09 +02:00
|
|
|
|
'email' => 'E-posta adresi',
|
|
|
|
|
'description' => 'Açıklama',
|
|
|
|
|
'amount' => 'Tutar',
|
|
|
|
|
'name' => 'adı',
|
|
|
|
|
'piggy_bank_id' => 'Kumbara ID',
|
|
|
|
|
'targetamount' => 'Hedef tutar',
|
|
|
|
|
'openingBalanceDate' => 'Açılış bakiyesi',
|
|
|
|
|
'openingBalance' => 'Açılış bakiyesi',
|
|
|
|
|
'match' => 'Eşleşme',
|
|
|
|
|
'amount_min' => 'Minimum tutar',
|
|
|
|
|
'amount_max' => 'Maksimum tutar',
|
|
|
|
|
'title' => 'başlık',
|
|
|
|
|
'tag' => 'etiket',
|
|
|
|
|
'transaction_description' => 'İşlem Açıklaması',
|
|
|
|
|
'rule-action-value.1' => 'kural eylemi değer #1',
|
|
|
|
|
'rule-action-value.2' => 'kural eylemi değer #1',
|
|
|
|
|
'rule-action-value.3' => 'kural eylem değeri #3',
|
|
|
|
|
'rule-action-value.4' => 'kural eylem değeri #4',
|
|
|
|
|
'rule-action-value.5' => 'kural eylem değeri #5',
|
|
|
|
|
'rule-action.1' => 'kural eylemi #1',
|
|
|
|
|
'rule-action.2' => 'kural eylemi #2',
|
|
|
|
|
'rule-action.3' => 'kural eylemi #3',
|
|
|
|
|
'rule-action.4' => 'kural eylemi #4',
|
|
|
|
|
'rule-action.5' => 'kural eylemi #5',
|
|
|
|
|
'rule-trigger-value.1' => 'kural tetikleyici değeri #1',
|
|
|
|
|
'rule-trigger-value.2' => 'kural tetikleyici değeri #2',
|
|
|
|
|
'rule-trigger-value.3' => 'kural tetikleyici değeri #3',
|
|
|
|
|
'rule-trigger-value.4' => 'kural tetikleyici değeri #4',
|
|
|
|
|
'rule-trigger-value.5' => 'kural tetikleyici değeri #5',
|
|
|
|
|
'rule-trigger.1' => 'kural tetikleyici #1',
|
|
|
|
|
'rule-trigger.2' => 'kural tetikleyici #2',
|
|
|
|
|
'rule-trigger.3' => 'kural tetikleyici #3',
|
|
|
|
|
'rule-trigger.4' => 'kural tetikleyici #4',
|
|
|
|
|
'rule-trigger.5' => 'kural tetikleyici #5',
|
2018-01-29 19:13:43 +01:00
|
|
|
|
],
|
2019-05-29 18:30:52 +02:00
|
|
|
|
|
|
|
|
|
// validation of accounts:
|
|
|
|
|
'withdrawal_source_need_data' => 'Need to get a valid source account ID and/or valid source account name to continue.',
|
|
|
|
|
'withdrawal_source_bad_data' => 'Could not find a valid source account when searching for ID ":id" or name ":name".',
|
|
|
|
|
'withdrawal_dest_need_data' => 'Need to get a valid destination account ID and/or valid destination account name to continue.',
|
|
|
|
|
|
|
|
|
|
'deposit_source_need_data' => 'Need to get a valid source account ID and/or valid source account name to continue.',
|
|
|
|
|
'deposit_source_bad_data' => 'Could not find a valid source account when searching for ID ":id" or name ":name".',
|
|
|
|
|
'deposit_dest_need_data' => 'Need to get a valid destination account ID and/or valid destination account name to continue.',
|
|
|
|
|
'deposit_dest_bad_data' => 'Could not find a valid destination account when searching for ID ":id" or name ":name".',
|
|
|
|
|
|
|
|
|
|
'transfer_source_need_data' => 'Need to get a valid source account ID and/or valid source account name to continue.',
|
|
|
|
|
'transfer_source_bad_data' => 'Could not find a valid source account when searching for ID ":id" or name ":name".',
|
|
|
|
|
'transfer_dest_need_data' => 'Need to get a valid destination account ID and/or valid destination account name to continue.',
|
|
|
|
|
'transfer_dest_bad_data' => 'Could not find a valid destination account when searching for ID ":id" or name ":name".',
|
|
|
|
|
'need_id_in_edit' => 'When updating a transaction with splits, each split must have a valid transaction journal id (field "transaction_journal_id").',
|
2017-12-31 09:10:38 +01:00
|
|
|
|
];
|