From 4f8941df9a03201813515d795043bed0a5667d1e Mon Sep 17 00:00:00 2001 From: ahmad-amsyar Date: Sat, 26 May 2018 13:29:52 +0800 Subject: [PATCH 1/3] add malay translation. --- resources/lang/ms/auth.php | 19 +++++ resources/lang/ms/pagination.php | 19 +++++ resources/lang/ms/passwords.php | 22 ++++++ resources/lang/ms/validation.php | 122 +++++++++++++++++++++++++++++++ 4 files changed, 182 insertions(+) create mode 100644 resources/lang/ms/auth.php create mode 100644 resources/lang/ms/pagination.php create mode 100644 resources/lang/ms/passwords.php create mode 100644 resources/lang/ms/validation.php diff --git a/resources/lang/ms/auth.php b/resources/lang/ms/auth.php new file mode 100644 index 000000000..5de259d52 --- /dev/null +++ b/resources/lang/ms/auth.php @@ -0,0 +1,19 @@ + 'Butiran ini tidak sepadan dengan rekod kami ', + 'throttle' => 'Terlalu banyak cubaan log masuk. Cuba lagi dalam :seconds saat.', + +]; diff --git a/resources/lang/ms/pagination.php b/resources/lang/ms/pagination.php new file mode 100644 index 000000000..4b4345efe --- /dev/null +++ b/resources/lang/ms/pagination.php @@ -0,0 +1,19 @@ + '« Sebelum', + 'next' => 'Seterusnya »', + +]; diff --git a/resources/lang/ms/passwords.php b/resources/lang/ms/passwords.php new file mode 100644 index 000000000..017c98033 --- /dev/null +++ b/resources/lang/ms/passwords.php @@ -0,0 +1,22 @@ + 'Passwords must be at least six characters and match the confirmation.', + 'reset' => 'Kata laluan anda sudah ditetap semula!', + 'sent' => 'We have e-mailed your password reset link!', + 'token' => 'This password reset token is invalid.', + 'user' => "Kami tidak menjumpai pengguna dengan alamat emel tersebut.", + +]; diff --git a/resources/lang/ms/validation.php b/resources/lang/ms/validation.php new file mode 100644 index 000000000..77d230221 --- /dev/null +++ b/resources/lang/ms/validation.php @@ -0,0 +1,122 @@ + 'The :attribute must be accepted.', + 'active_url' => 'The :attribute is not a valid URL.', + 'after' => 'The :attribute must be a date after :date.', + 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', + 'alpha' => 'The :attribute may only contain letters.', + 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', + '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.', + 'before_or_equal' => 'The :attribute must be a date before or equal to :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.', + ], + '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.', + 'dimensions' => 'The :attribute has invalid image dimensions.', + 'distinct' => 'The :attribute field has a duplicate value.', + 'email' => 'The :attribute must be a valid email address.', + 'exists' => 'The selected :attribute is invalid.', + 'file' => 'The :attribute must be a file.', + 'filled' => 'The :attribute field must have a value.', + 'image' => 'The :attribute must be an image.', + 'in' => 'The selected :attribute is invalid.', + 'in_array' => 'The :attribute field does not exist in :other.', + '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.', + '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.', + ], + 'mimes' => 'The :attribute must be a file of type: :values.', + 'mimetypes' => 'The :attribute must be a file of 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.', + ], + 'not_in' => 'The selected :attribute is invalid.', + 'not_regex' => 'The :attribute format is invalid.', + 'numeric' => 'The :attribute must be a number.', + 'present' => 'The :attribute field must be present.', + 'regex' => 'The :attribute format is invalid.', + 'required' => 'The :attribute field is required.', + 'required_if' => 'The :attribute field is required when :other is :value.', + 'required_unless' => 'The :attribute field is required unless :other is in :values.', + '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.', + '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.', + ], + 'string' => 'The :attribute must be a string.', + 'timezone' => 'The :attribute must be a valid zone.', + 'unique' => 'The :attribute has already been taken.', + 'uploaded' => 'The :attribute failed to upload.', + 'url' => 'The :attribute format is invalid.', + + /* + |-------------------------------------------------------------------------- + | Custom Validation Language Lines + |-------------------------------------------------------------------------- + | + | Here you may specify custom validation messages for attributes using the + | convention "attribute.rule" to name the lines. This makes it quick to + | specify a specific custom language line for a given attribute rule. + | + */ + + 'custom' => [ + 'attribute-name' => [ + 'rule-name' => 'custom-message', + ], + ], + + /* + |-------------------------------------------------------------------------- + | Custom Validation Attributes + |-------------------------------------------------------------------------- + | + | The following language lines are used to swap attribute place-holders + | with something more reader friendly such as E-Mail Address instead + | of "email". This simply helps us make messages a little cleaner. + | + */ + + 'attributes' => [], + +]; From ec42c29aa966b33258a5cf3df331fd235580742f Mon Sep 17 00:00:00 2001 From: ahmad-amsyar Date: Sat, 26 May 2018 13:40:17 +0800 Subject: [PATCH 2/3] Improve malay translation. --- resources/lang/ms/passwords.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lang/ms/passwords.php b/resources/lang/ms/passwords.php index 017c98033..f2394969d 100644 --- a/resources/lang/ms/passwords.php +++ b/resources/lang/ms/passwords.php @@ -13,10 +13,10 @@ return [ | */ - 'password' => 'Passwords must be at least six characters and match the confirmation.', + 'password' => 'Kata laluan mesti mempunyai sekurang-kurangnya enam askara dan sepadan dengan pengesahan.', 'reset' => 'Kata laluan anda sudah ditetap semula!', - 'sent' => 'We have e-mailed your password reset link!', - 'token' => 'This password reset token is invalid.', + 'sent' => 'Kami sudah emel pautan penetapan semula kata laluan anda!', + 'token' => 'Token penetapan semula kata laluan ini tidak sah.', 'user' => "Kami tidak menjumpai pengguna dengan alamat emel tersebut.", ]; From 3895b6dff1a7ff0ac0969f3b79000927d3553e01 Mon Sep 17 00:00:00 2001 From: ahmad-amsyar Date: Sat, 26 May 2018 14:56:43 +0800 Subject: [PATCH 3/3] add more malay translation. --- resources/lang/ms/validation.php | 134 +++++++++++++++---------------- 1 file changed, 67 insertions(+), 67 deletions(-) diff --git a/resources/lang/ms/validation.php b/resources/lang/ms/validation.php index 77d230221..86f47b484 100644 --- a/resources/lang/ms/validation.php +++ b/resources/lang/ms/validation.php @@ -13,81 +13,81 @@ return [ | */ - 'accepted' => 'The :attribute must be accepted.', - 'active_url' => 'The :attribute is not a valid URL.', - 'after' => 'The :attribute must be a date after :date.', - 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', - 'alpha' => 'The :attribute may only contain letters.', - 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', - '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.', - 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', + 'accepted' => ':attribute haruslah diterima.', + 'active_url' => ':attribute bukan URL yang sah.', + 'after' => ':attribute tarikh mestilah selepas :date.', + 'after_or_equal' => ':attribute mestilah tarikh selepas atau sama dengan :date.', + 'alpha' => ':attribute mesti mempunyai abjad sahaja.', + 'alpha_dash' => ':attribute mesti mempunyai abjad, nombor, dan sengkang sahaja.', + 'alpha_num' => ':attribute mesti mempunyai abjad dan nombor sahaja.', + 'array' => ':attribute mestilah lokasi.', + 'before' => ':attribute mestilah tarikh sebelum :date.', + 'before_or_equal' => ':attribute mestilah tarikh sebelum atau sama dengan :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' => ':attribute mestilah antara :min dan :max.', + 'file' => ':attribute mestilah antara :min dan :max kilobytes.', + 'string' => ':attribute mestilah antara :min dan :max perkataan.', + 'array' => ':attribute mestilah antara :min dan :max item.', ], - '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.', - 'dimensions' => 'The :attribute has invalid image dimensions.', - 'distinct' => 'The :attribute field has a duplicate value.', - 'email' => 'The :attribute must be a valid email address.', - 'exists' => 'The selected :attribute is invalid.', - 'file' => 'The :attribute must be a file.', - 'filled' => 'The :attribute field must have a value.', - 'image' => 'The :attribute must be an image.', - 'in' => 'The selected :attribute is invalid.', - 'in_array' => 'The :attribute field does not exist in :other.', - '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.', + 'boolean' => ':attribute mestilah ruang betul atau salah.', + 'confirmed' => ':attribute pengesahan tidak sepadan.', + 'date' => ':attribute bukan tarikh yang sah.', + 'date_format' => ':attribute tidak sepadan dengan format :format.', + 'different' => ':attribute dan :other mestilah berbeza.', + 'digits' => ':attribute mestilah :digits digit.', + 'digits_between' => ':attribute mestilah antara :min dan :max digit.', + 'dimensions' => ':attribute mempunyai dimensi imej yang tidak sah.', + 'distinct' => ':attribute ruang mempunyai nilai pendua.', + 'email' => ':attribute mestilah alamat emel yang sah.', + 'exists' => ':attribute yang dipilih tidak sah.', + 'file' => ':attribute mestilah sebuah fail.', + 'filled' => ':attribute ruang mestilah mempunyai nilai.', + 'image' => ':attribute mestilah imej.', + 'in' => ':attribute yang di pilih tidak sah.', + 'in_array' => ':attribute ruang tidak wujud dalam :other.', + 'integer' => ':attribute mestilah integer.', + 'ip' => ':attribute mestilah alamat IP yang sah.', + 'ipv4' => ':attribute mestilah alamat IPv4 yang sah.', + 'ipv6' => ':attribute mestilah alamat IPv6 yang sah.', + 'json' => ':attribute mestilah rentetan JSON yang sah.', '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' => ':attribute mesti tidak besar daripada :max.', + 'file' => ':attribute mesti tidak besar daripada :max kilobytes.', + 'string' => ':attribute mesti tidak besar daripada :max perkataan.', + 'array' => ':attribute mesti tidak lebih daripada :max item.', ], - 'mimes' => 'The :attribute must be a file of type: :values.', - 'mimetypes' => 'The :attribute must be a file of type: :values.', + 'mimes' => ':attribute mestilah mempunyai jenis file: :values.', + 'mimetypes' => ':attribute mestilah mempunyai jenis file: :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' => ':attribute mesti sekurang-kurangnya :min.', + 'file' => ':attribute mesti sekurang-kurangnya :min kilobytes.', + 'string' => ':attribute mesti sekurang-kurangnya :min perkataan.', + 'array' => ':attribute mesti mempunyai sekurang-kurangnya :min item.', ], - 'not_in' => 'The selected :attribute is invalid.', - 'not_regex' => 'The :attribute format is invalid.', - 'numeric' => 'The :attribute must be a number.', - 'present' => 'The :attribute field must be present.', - 'regex' => 'The :attribute format is invalid.', - 'required' => 'The :attribute field is required.', - 'required_if' => 'The :attribute field is required when :other is :value.', - 'required_unless' => 'The :attribute field is required unless :other is in :values.', - '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' => ':attribute yang di pilih tidak sah.', + 'not_regex' => ':attribute adalah format tidak sah.', + 'numeric' => ':attribute mestilah nombor.', + 'present' => ':attribute ruang mesti ada.', + 'regex' => ':attribute adalah format tidak sah.', + 'required' => ':attribute ruang diperlukan.', + 'required_if' => ':attribute ruang diperlukan bila :other adalah :value.', + 'required_unless' => ':attribute ruang diperlukan kecuali jika :other ada dalam :values.', + 'required_with' => 'The :attribute ruang diperlukan bila :values wujud.', + 'required_with_all' => 'The :attribute ruang diperlukan bila :values wujud.', + 'required_without' => 'The :attribute ruang diperlukan bila :values tidak wujud.', + 'required_without_all' => 'The :attribute ruang diperlukan bila tiada daripada :values wujud.', + 'same' => ':attribute dan :other mestilah sepadan.', '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' => ':attribute mesilah :size.', + 'file' => ':attribute mestilah :size kilobytes.', + 'string' => ':attribute mestilah :size perkataan.', + 'array' => ':attribute mesti mempunyai :size item.', ], - 'string' => 'The :attribute must be a string.', - 'timezone' => 'The :attribute must be a valid zone.', - 'unique' => 'The :attribute has already been taken.', - 'uploaded' => 'The :attribute failed to upload.', - 'url' => 'The :attribute format is invalid.', + 'string' => ':attribute mestilah rentetan.', + 'timezone' => ':attribute mesti zon waktu yang sah.', + 'unique' => ':attribute telah diambil.', + 'uploaded' => ':attribute gagal dimuat naik.', + 'url' => ':attribute adalah format tidak sah.', /* |--------------------------------------------------------------------------