]> BookStack Code Mirror - bookstack/commitdiff
Merge branch 'master' of git://github.com/webfoersterei/BookStack into webfoersterei...
authorDan Brown <redacted>
Sun, 14 Mar 2021 22:55:30 +0000 (22:55 +0000)
committerDan Brown <redacted>
Sun, 14 Mar 2021 22:55:30 +0000 (22:55 +0000)
1  2 
resources/lang/es_AR/validation.php
resources/lang/fa/validation.php
resources/lang/nb/validation.php
resources/lang/pt/validation.php
resources/lang/pt_BR/validation.php
resources/lang/uk/validation.php

index 008c60009c9916a2483c347a7af4d14b5ccf4c3f,3e37f619edee924698600acdec5e07e1055c19e4..c3f5d83dd69c684752fb3cb7e8071d50ac43b9c6
@@@ -78,7 -78,6 +78,6 @@@ return 
          'string'  => ':attribute debe ser al menos :min caracteres.',
          'array'   => ':attribute debe tener como mínimo :min items.',
      ],
-     'no_double_extension'  => 'El :attribute debe tener una única extensión de archivo.',
      'not_in'               => ':attribute seleccionado es inválido.',
      'not_regex'            => 'El formato de :attribute es inválido.',
      'numeric'              => ':attribute debe ser numérico.',
@@@ -90,7 -89,7 +89,7 @@@
      'required_without'     => ':attribute es requerido cuando no se encuentre entre los valores :values.',
      'required_without_all' => ':attribute es requerido cuando ninguno de los valores :values están presentes.',
      'same'                 => ':attribute y :other deben coincidir.',
 -    'safe_url'             => 'El enlace proporcionado puede no ser seguro.',
 +    'safe_url'             => 'El enlace provisto puede ser inseguro.',
      'size'                 => [
          'numeric' => ':attribute debe ser :size.',
          'file'    => ':attribute debe ser :size kilobytes.',
index 578ea999fc31618997be7834012fb30aed3d7b1f,f4af9bc6f010ff1eed03b1cbc77e95d1490e53b4..4031de2ae743b75bafd49195ff06b29a347cbf22
@@@ -78,7 -78,6 +78,6 @@@ return 
          'string'  => 'The :attribute must be at least :min characters.',
          'array'   => 'The :attribute must have at least :min items.',
      ],
-     'no_double_extension'  => 'The :attribute must only have a single file extension.',
      'not_in'               => 'The selected :attribute is invalid.',
      'not_regex'            => 'The :attribute format is invalid.',
      'numeric'              => 'The :attribute must be a number.',
@@@ -90,7 -89,6 +89,7 @@@
      'required_without'     => 'The :attribute field is required when :values is not present.',
      'required_without_all' => 'The :attribute field is required when none of :values are present.',
      'same'                 => 'The :attribute and :other must match.',
 +    'safe_url'             => 'The provided link may not be safe.',
      'size'                 => [
          'numeric' => 'The :attribute must be :size.',
          'file'    => 'The :attribute must be :size kilobytes.',
index eca18e45db27e2b1422615da6b36608e3832f8e6,eca6dd6ba708eda24c40e75e5d2087cd8b3d8e5f..d06240c7cef1dd11337d66b962062089fe628c08
@@@ -78,7 -78,6 +78,6 @@@ return 
          'string'  => ':attribute må være på minst :min tegn.',
          'array'   => ':attribute må minst ha :min ting.',
      ],
-     'no_double_extension'  => ':attribute kan bare ha en formattype spesifisert.',
      'not_in'               => 'Den valgte :attribute er ugyldig.',
      'not_regex'            => ':attribute format er ugyldig.',
      'numeric'              => ':attribute må være et nummer.',
@@@ -90,7 -89,7 +89,7 @@@
      'required_without'     => ':attribute feltet er påkrevt når :values ikke er tilgjengelig.',
      'required_without_all' => ':attribute feltet er påkrevt når ingen av :values er tilgjengelig.',
      'same'                 => ':attribute og :other må samsvare.',
 -    'safe_url'             => 'The provided link may not be safe.',
 +    'safe_url'             => 'Den angitte lenken kan være farlig.',
      'size'                 => [
          'numeric' => ':attribute må være :size.',
          'file'    => ':attribute må være :size kilobytes.',
index 5216eeb827f4380416d91fc5cfaa28258bc4c05c,f4af9bc6f010ff1eed03b1cbc77e95d1490e53b4..b36ed0dab7b83a508da381c7b652cade9cad1664
  return [
  
      // Standard laravel validation lines
 -    'accepted'             => 'The :attribute must be accepted.',
 -    'active_url'           => 'The :attribute is not a valid URL.',
 -    'after'                => 'The :attribute must be a date after :date.',
 -    'alpha'                => 'The :attribute may only contain letters.',
 -    'alpha_dash'           => 'The :attribute may only contain letters, numbers, dashes and underscores.',
 -    'alpha_num'            => 'The :attribute may only contain letters and numbers.',
 -    'array'                => 'The :attribute must be an array.',
 -    'before'               => 'The :attribute must be a date before :date.',
 +    'accepted'             => 'O campo :attribute deve ser aceite.',
 +    'active_url'           => 'O campo :attribute não é um URL válido.',
 +    'after'                => 'O campo :attribute deve ser uma data posterior à data :date.',
 +    'alpha'                => 'O campo :attribute deve conter apenas letras.',
 +    'alpha_dash'           => 'O campo :attribute deve conter apenas letras, números, traços e sublinhado.',
 +    'alpha_num'            => 'O campo :attribute deve conter apenas letras e números.',
 +    'array'                => 'O campo :attribute deve ser uma lista(array).',
 +    'before'               => 'O campo :attribute deve ser uma data anterior à data :date.',
      'between'              => [
 -        'numeric' => 'The :attribute must be between :min and :max.',
 -        'file'    => 'The :attribute must be between :min and :max kilobytes.',
 -        'string'  => 'The :attribute must be between :min and :max characters.',
 -        'array'   => 'The :attribute must have between :min and :max items.',
 +        'numeric' => 'O campo :attribute deve estar entre :min e :max.',
 +        'file'    => 'O campo :attribute deve ter entre :min e :max kilobytes.',
 +        'string'  => 'O campo :attribute deve ter entre :min e :max caracteres.',
 +        'array'   => 'O campo :attribute deve ter entre :min e :max itens.',
      ],
 -    'boolean'              => 'The :attribute field must be true or false.',
 -    'confirmed'            => 'The :attribute confirmation does not match.',
 -    'date'                 => 'The :attribute is not a valid date.',
 -    'date_format'          => 'The :attribute does not match the format :format.',
 -    'different'            => 'The :attribute and :other must be different.',
 -    'digits'               => 'The :attribute must be :digits digits.',
 -    'digits_between'       => 'The :attribute must be between :min and :max digits.',
 -    'email'                => 'The :attribute must be a valid email address.',
 -    'ends_with' => 'The :attribute must end with one of the following: :values',
 -    'filled'               => 'The :attribute field is required.',
 +    'boolean'              => 'O campo :attribute deve ser verdadeiro ou falso.',
 +    'confirmed'            => 'O campo :attribute não é igual à sua confirmação.',
 +    'date'                 => 'O campo :attribute não está num formato de data válido.',
 +    'date_format'          => 'O campo :attribute não tem a formatação :format.',
 +    'different'            => 'O campo :attribute e o campo :other devem ser diferentes.',
 +    'digits'               => 'O campo :attribute deve ter :digits dígitos.',
 +    'digits_between'       => 'O campo :attribute deve ter entre :min e :max dígitos.',
 +    'email'                => 'O campo :attribute deve ser um endereço de e-mail válido.',
 +    'ends_with' => 'O campo :attribute deve terminar com um dos seguintes: :values',
 +    'filled'               => 'O campo :attribute é requerido.',
      'gt'                   => [
 -        'numeric' => 'The :attribute must be greater than :value.',
 -        'file'    => 'The :attribute must be greater than :value kilobytes.',
 -        'string'  => 'The :attribute must be greater than :value characters.',
 -        'array'   => 'The :attribute must have more than :value items.',
 +        'numeric' => 'O campo :attribute deve ser maior que :value.',
 +        'file'    => 'O campo :attribute deve ser maior que :value kilobytes.',
 +        'string'  => 'O campo :attribute deve ser maior que :value caracteres.',
 +        'array'   => 'O campo :attribute deve ter mais que :value itens.',
      ],
      'gte'                  => [
 -        'numeric' => 'The :attribute must be greater than or equal :value.',
 -        'file'    => 'The :attribute must be greater than or equal :value kilobytes.',
 -        'string'  => 'The :attribute must be greater than or equal :value characters.',
 -        'array'   => 'The :attribute must have :value items or more.',
 +        'numeric' => 'O campo :attribute deve ser maior ou igual a :value.',
 +        'file'    => 'O campo :attribute deve ser maior ou igual a :value kilobytes.',
 +        'string'  => 'O campo :attribute deve ser maior ou igual a :value caracteres.',
 +        'array'   => 'O campo :attribute deve ter :value itens ou mais.',
      ],
 -    'exists'               => 'The selected :attribute is invalid.',
 -    'image'                => 'The :attribute must be an image.',
 -    'image_extension'      => 'The :attribute must have a valid & supported image extension.',
 -    'in'                   => 'The selected :attribute is invalid.',
 -    'integer'              => 'The :attribute must be an integer.',
 -    'ip'                   => 'The :attribute must be a valid IP address.',
 -    'ipv4'                 => 'The :attribute must be a valid IPv4 address.',
 -    'ipv6'                 => 'The :attribute must be a valid IPv6 address.',
 -    'json'                 => 'The :attribute must be a valid JSON string.',
 +    'exists'               => 'O campo :attribute selecionado não é válido.',
 +    'image'                => 'O campo :attribute deve ser uma imagem.',
 +    'image_extension'      => 'O campo :attribute deve ter uma extensão de imagem válida e suportada.',
 +    'in'                   => 'O campo :attribute selecionado não é válido.',
 +    'integer'              => 'O campo :attribute deve ser um número inteiro.',
 +    'ip'                   => 'O campo :attribute deve ser um endereço IP válido.',
 +    'ipv4'                 => 'O campo :attribute deve ser um endereço IPv4 válido.',
 +    'ipv6'                 => 'O campo :attribute deve ser um endereço IPv6 válido.',
 +    'json'                 => 'O campo :attribute deve ser uma string JSON válida.',
      'lt'                   => [
 -        'numeric' => 'The :attribute must be less than :value.',
 -        'file'    => 'The :attribute must be less than :value kilobytes.',
 -        'string'  => 'The :attribute must be less than :value characters.',
 -        'array'   => 'The :attribute must have less than :value items.',
 +        'numeric' => 'O campo :attribute deve ser menor que :value.',
 +        'file'    => 'O campo :attribute deve ser menor que :value kilobytes.',
 +        'string'  => 'O campo :attribute deve ser menor que :value caracteres.',
 +        'array'   => 'O campo :attribute deve conter menos que :value itens.',
      ],
      'lte'                  => [
 -        'numeric' => 'The :attribute must be less than or equal :value.',
 -        'file'    => 'The :attribute must be less than or equal :value kilobytes.',
 -        'string'  => 'The :attribute must be less than or equal :value characters.',
 -        'array'   => 'The :attribute must not have more than :value items.',
 +        'numeric' => 'O campo :attribute deve ser menor ou igual a :value.',
 +        'file'    => 'O campo :attribute deve ser menor ou igual a :value kilobytes.',
 +        'string'  => 'O campo :attribute deve ser menor ou igual a :value caracteres.',
 +        'array'   => 'O campo :attribute não deve conter mais que :value itens.',
      ],
      'max'                  => [
 -        'numeric' => 'The :attribute may not be greater than :max.',
 -        'file'    => 'The :attribute may not be greater than :max kilobytes.',
 -        'string'  => 'The :attribute may not be greater than :max characters.',
 -        'array'   => 'The :attribute may not have more than :max items.',
 +        'numeric' => 'O valor para o campo :attribute não deve ser maior que :max.',
 +        'file'    => 'O valor para o campo :attribute não deve ter tamanho maior que :max kilobytes.',
 +        'string'  => 'O valor para o campo :attribute não deve ter mais que :max caracteres.',
 +        'array'   => 'O valor para o campo :attribute não deve ter mais que :max itens.',
      ],
 -    'mimes'                => 'The :attribute must be a file of type: :values.',
 +    'mimes'                => 'O campo :attribute deve ser do tipo type: :values.',
      'min'                  => [
 -        'numeric' => 'The :attribute must be at least :min.',
 -        'file'    => 'The :attribute must be at least :min kilobytes.',
 -        'string'  => 'The :attribute must be at least :min characters.',
 -        'array'   => 'The :attribute must have at least :min items.',
 +        'numeric' => 'O campo :attribute não deve ser menor que :min.',
 +        'file'    => 'O campo :attribute não deve ter tamanho menor que :min kilobytes.',
 +        'string'  => 'O campo :attribute não deve ter menos que :min caracteres.',
 +        'array'   => 'O campo :attribute não deve ter menos que :min itens.',
      ],
-     'no_double_extension'  => 'O campo :attribute deve ter apenas uma extensão de arquivo.',
 -    'not_in'               => 'The selected :attribute is invalid.',
 -    'not_regex'            => 'The :attribute format is invalid.',
 -    'numeric'              => 'The :attribute must be a number.',
 -    'regex'                => 'The :attribute format is invalid.',
 -    'required'             => 'The :attribute field is required.',
 -    'required_if'          => 'The :attribute field is required when :other is :value.',
 -    'required_with'        => 'The :attribute field is required when :values is present.',
 -    'required_with_all'    => 'The :attribute field is required when :values is present.',
 -    'required_without'     => 'The :attribute field is required when :values is not present.',
 -    'required_without_all' => 'The :attribute field is required when none of :values are present.',
 -    'same'                 => 'The :attribute and :other must match.',
 +    'not_in'               => 'O campo selecionado :attribute é inválido.',
 +    'not_regex'            => 'O formato do campo :attribute é inválido.',
 +    'numeric'              => 'O campo :attribute deve ser um número.',
 +    'regex'                => 'O formato do campo :attribute é inválido.',
 +    'required'             => 'O campo :attribute é requerido.',
 +    'required_if'          => 'O campo :attribute é requerido quando o campo :other tem valor :value.',
 +    'required_with'        => 'O campo :attribute é requerido quando os valores :values estiverem presentes.',
 +    'required_with_all'    => 'O campo :attribute é requerido quando os valores :values estiverem presentes.',
 +    'required_without'     => 'O campo :attribute é requerido quando os valores :values não estiverem presentes.',
 +    'required_without_all' => 'O campo :attribute é requerido quando nenhum dos valores :values estiverem presentes.',
 +    'same'                 => 'O campo :attribute e o campo :other devem ser iguais.',
 +    'safe_url'             => 'O link fornecido poderá não ser seguro.',
      'size'                 => [
 -        'numeric' => 'The :attribute must be :size.',
 -        'file'    => 'The :attribute must be :size kilobytes.',
 -        'string'  => 'The :attribute must be :size characters.',
 -        'array'   => 'The :attribute must contain :size items.',
 +        'numeric' => 'O tamanho do campo :attribute deve ser :size.',
 +        'file'    => 'O tamanho do arquivo :attribute deve ser de :size kilobytes.',
 +        'string'  => 'O tamanho do campo :attribute deve ser de :size caracteres.',
 +        'array'   => 'O campo :attribute deve conter :size itens.',
      ],
 -    'string'               => 'The :attribute must be a string.',
 -    'timezone'             => 'The :attribute must be a valid zone.',
 -    'unique'               => 'The :attribute has already been taken.',
 -    'url'                  => 'The :attribute format is invalid.',
 -    'uploaded'             => 'The file could not be uploaded. The server may not accept files of this size.',
 +    'string'               => 'O campo :attribute deve ser uma string.',
 +    'timezone'             => 'O campo :attribute deve conter uma timezone válida.',
 +    'unique'               => 'Já existe um campo/dado de nome :attribute.',
 +    'url'                  => 'O formato da URL :attribute é inválido.',
 +    'uploaded'             => 'O arquivo não pôde ser carregado. O servidor pode não aceitar arquivos deste tamanho.',
  
      // Custom validation lines
      'custom' => [
          'password-confirm' => [
 -            'required_with' => 'Password confirmation required',
 +            'required_with' => 'Confirmação de senha requerida',
          ],
      ],
  
index 428f60e4cb4e51e664513df9d73fc4beb98b1c3c,0d25a9b6ab63f430dfb70fe43e33d3aa00feebe9..ea3779c78874efda0f86b0c0ae69b2895eec1bd1
@@@ -78,7 -78,6 +78,6 @@@ return 
          'string'  => 'O campo :attribute não deve ter menos que :min caracteres.',
          'array'   => 'O campo :attribute não deve ter menos que :min itens.',
      ],
-     'no_double_extension'  => 'O campo :attribute deve ter apenas uma extensão de arquivo.',
      'not_in'               => 'O campo selecionado :attribute é inválido.',
      'not_regex'            => 'O formato do campo :attribute é inválido.',
      'numeric'              => 'O campo :attribute deve ser um número.',
@@@ -90,7 -89,7 +89,7 @@@
      'required_without'     => 'O campo :attribute é requerido quando os valores :values não estiverem presentes.',
      'required_without_all' => 'O campo :attribute é requerido quando nenhum dos valores :values estiverem presentes.',
      'same'                 => 'O campo :attribute e o campo :other devem ser iguais.',
 -    'safe_url'             => 'The provided link may not be safe.',
 +    'safe_url'             => 'O link fornecido pode não ser seguro.',
      'size'                 => [
          'numeric' => 'O tamanho do campo :attribute deve ser :size.',
          'file'    => 'O tamanho do arquivo :attribute deve ser de :size kilobytes.',
index 784f3258a116a114041c953c30748f787d041017,63b356cfe6eda17b13c345a4898f3cadb01c0f14..77df1ed4ea627eea4b088b5aaad4b8e67d0af38a
@@@ -78,7 -78,6 +78,6 @@@ return 
          'string'  => 'Текст в полі :attribute повинен містити не менше :min символів.',
          'array'   => 'Поле :attribute повинне містити не менше :min елементів.',
      ],
-     'no_double_extension'  => 'Поле :attribute повинне містити тільки одне розширення файлу.',
      'not_in'               => 'Вибране для :attribute значення не коректне.',
      'not_regex'            => 'Формат поля :attribute не вірний.',
      'numeric'              => 'Поле :attribute повинно містити число.',
@@@ -90,7 -89,7 +89,7 @@@
      'required_without'     => 'Поле :attribute є обов\'язковим для заповнення, коли :values не вказано.',
      'required_without_all' => 'Поле :attribute є обов\'язковим для заповнення, коли :values не вказано.',
      'same'                 => 'Поля :attribute та :other мають збігатися.',
 -    'safe_url'             => 'The provided link may not be safe.',
 +    'safe_url'             => 'Надане посилання може бути небезпечним.',
      'size'                 => [
          'numeric' => 'Поле :attribute має бути довжини :size.',
          'file'    => 'Файл в полі :attribute має бути розміром :size кілобайт.',