From 34923cff1e3b4ec677adba7be0ef4d6d13b339fc Mon Sep 17 00:00:00 2001 From: Nir Lahad Date: Sun, 1 Jul 2012 00:38:43 +0300 Subject: [PATCH 1/2] Hebrew Translation Hebrew language files. --- application/language/he/pagination.php | 19 +++++ application/language/he/validation.php | 102 +++++++++++++++++++++++++ 2 files changed, 121 insertions(+) create mode 100644 application/language/he/pagination.php create mode 100644 application/language/he/validation.php diff --git a/application/language/he/pagination.php b/application/language/he/pagination.php new file mode 100644 index 00000000..6d2684cd --- /dev/null +++ b/application/language/he/pagination.php @@ -0,0 +1,19 @@ + '→ אחורה', + 'next' => 'קדימה ←', + +); \ No newline at end of file diff --git a/application/language/he/validation.php b/application/language/he/validation.php new file mode 100644 index 00000000..6a108d09 --- /dev/null +++ b/application/language/he/validation.php @@ -0,0 +1,102 @@ + "חובה להסכים ל-:attribute.", + "active_url" => ":attribute אינה כתובת אינטרנט פעילה.", + "after" => ":attribute חייב להיות תאריך אחרי :date.", + "alpha" => ":attribute יכול להכיל רק אותיות.", + "alpha_dash" => ":attribute יכול להיות רק אותיות, מספרים ומקפים.", + "alpha_num" => ":attribute יכול להכיל רק אותיות ומספרים.", + "before" => ":attribute חייב להיות תאריך אחרי :date.", + "between" => array( + "numeric" => ":attribute חייב להיות בין :min ל-:max.", + "file" => ":attribute חייב לשקול בין :min ל-:max ק"ב.", + "string" => ":attribute חייב להכיל בין :min ל-:max תווים.", + ), + "confirmed" => "אישור ה-:attribute אינו תואם למקור.", + "different" => ":attribute ו-:other חייבים להיות שונים.", + "email" => ":attribute אינה כתובת דוא"ל תקינה.", + "exists" => "הערך של :attribute לא קיים.", + "image" => ":attribute חייבת להיות תמונה.", + "in" => ":attribute אינו נמצא ברשימה המאשרת.", + "integer" => ":attribute חייב להיות מספר שלם.", + "ip" => ":attribute חייבת להיות כתובת IP תקינה.", + "match" => "התבנית של :attribute אינה תקינה.", + "max" => array( + "numeric" => ":attribute חייב להיות פחות מ-:max.", + "file" => ":attribute חייב לשקול פחות מ-:max ק"ב.", + "string" => ":attribute חייב להכיל פחות מ-:max תווים.", + ), + "mimes" => ":attribute חייב להיות קובץ מסוג: :values.", + "min" => array( + "numeric" => ":attribute חייב להיות לפחות :min.", + "file" => ":attribute חייב לשקול לפחות :min ק"ב.", + "string" => ":attribute חייב להכיל לפחות :min תווים.", + ), + "not_in" => ":attribute נמצא ברשימה השחורה.", + "numeric" => ":attribute חייב להיות מספר.", + "required" => "חובה למלא :attribute.", + "same" => ":attribute ו-:other חייבים להתאים.", + "size" => array( + "numeric" => ":attribute חייב להיות :size.", + "file" => ":attribute חייב לשקול :size ק"ב.", + "string" => ":attribute חייב להכיל :size תווים.", + ), + "unique" => ":attribute כבר קיים.", + "url" => ":attribute אינה כתובת אינטרנט תקנית.", + + /* + |-------------------------------------------------------------------------- + | Custom Validation Language Lines + |-------------------------------------------------------------------------- + | + | Here you may specify custom validation messages for attributes using the + | convention "attribute_rule" to name the lines. This helps keep your + | custom validation clean and tidy. + | + | So, say you want to use a custom validation message when validating that + | the "email" attribute is unique. Just add "email_unique" to this array + | with your custom message. The Validator will handle the rest! + | + */ + + 'custom' => array(), + + /* + |-------------------------------------------------------------------------- + | 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". Your users will thank you. + | + | The Validator class will automatically search this array of lines it + | is attempting to replace the :attribute place-holder in messages. + | It's pretty slick. We think you'll like it. + | + */ + + 'attributes' => array(), + +); \ No newline at end of file From 7bdddfe2faa6d094441944ff22135d8a43bd743b Mon Sep 17 00:00:00 2001 From: Nir Lahad Date: Wed, 4 Jul 2012 08:19:36 +0300 Subject: [PATCH 2/2] Fixed Hebrew Fixed and unified hebrew translation. --- application/language/he/validation.php | 68 +++++++++++++------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/application/language/he/validation.php b/application/language/he/validation.php index 6a108d09..f0059b6a 100644 --- a/application/language/he/validation.php +++ b/application/language/he/validation.php @@ -22,48 +22,48 @@ return array( */ "accepted" => "חובה להסכים ל-:attribute.", - "active_url" => ":attribute אינה כתובת אינטרנט פעילה.", - "after" => ":attribute חייב להיות תאריך אחרי :date.", - "alpha" => ":attribute יכול להכיל רק אותיות.", - "alpha_dash" => ":attribute יכול להיות רק אותיות, מספרים ומקפים.", - "alpha_num" => ":attribute יכול להכיל רק אותיות ומספרים.", - "before" => ":attribute חייב להיות תאריך אחרי :date.", + "active_url" => "הערך :attribute חייב להכיל כתובת אינטרנט פעילה.", + "after" => "הערך :attribute חייב להכיל תאריך אחרי :date.", + "alpha" => "הערך :attribute יכול להכיל רק אותיות.", + "alpha_dash" => "הערך :attribute יכול להכיל רק אותיות, מספרים ומקפים.", + "alpha_num" => "הערך :attribute יכול להכיל רק אותיות ומספרים.", + "before" => "הערך :attribute חייב להכיל תאריך לפני :date.", "between" => array( - "numeric" => ":attribute חייב להיות בין :min ל-:max.", - "file" => ":attribute חייב לשקול בין :min ל-:max ק"ב.", - "string" => ":attribute חייב להכיל בין :min ל-:max תווים.", + "numeric" => "הערך :attribute חייב להיות בין :min ל-:max.", + "file" => "הערך :attribute חייב לשקול בין :min ל-:max ק"ב.", + "string" => "הערך :attribute חייב להכיל בין :min ל-:max תווים.", ), - "confirmed" => "אישור ה-:attribute אינו תואם למקור.", - "different" => ":attribute ו-:other חייבים להיות שונים.", - "email" => ":attribute אינה כתובת דוא"ל תקינה.", - "exists" => "הערך של :attribute לא קיים.", - "image" => ":attribute חייבת להיות תמונה.", - "in" => ":attribute אינו נמצא ברשימה המאשרת.", - "integer" => ":attribute חייב להיות מספר שלם.", - "ip" => ":attribute חייבת להיות כתובת IP תקינה.", - "match" => "התבנית של :attribute אינה תקינה.", + "confirmed" => "הערכים של :attribute חייבים להיות זהים.", + "different" => "הערכים של :attribute ו-:other חייבים להיות שונים.", + "email" => "הערך :attribute חייב להכיל כתובת אימייל תקינה.", + "exists" => "הערך :attribute לא קיים.", + "image" => "הערך :attribute חייב להיות תמונה.", + "in" => "הערך :attribute חייב להיות ברשימה המאשרת.", + "integer" => "הערך :attribute חייב להיות מספר שלם.", + "ip" => "הערך :attribute חייב להיות כתובת IP תקינה.", + "match" => "התבנית של הערך :attribute אינה תקינה.", "max" => array( - "numeric" => ":attribute חייב להיות פחות מ-:max.", - "file" => ":attribute חייב לשקול פחות מ-:max ק"ב.", - "string" => ":attribute חייב להכיל פחות מ-:max תווים.", + "numeric" => "הערך :attribute חייב להיות פחות מ-:max.", + "file" => "הערך :attribute חייב לשקול פחות מ-:max ק"ב.", + "string" => "הערך :attribute חייב להכיל פחות מ-:max תווים.", ), - "mimes" => ":attribute חייב להיות קובץ מסוג: :values.", + "mimes" => "הערך :attribute חייב להיות קובץ מסוג: :values.", "min" => array( - "numeric" => ":attribute חייב להיות לפחות :min.", - "file" => ":attribute חייב לשקול לפחות :min ק"ב.", - "string" => ":attribute חייב להכיל לפחות :min תווים.", + "numeric" => "הערך :attribute חייב להיות לפחות :min.", + "file" => "הערך :attribute חייב לשקול לפחות :min ק"ב.", + "string" => "הערך :attribute חייב להכיל לפחות :min תווים.", ), - "not_in" => ":attribute נמצא ברשימה השחורה.", - "numeric" => ":attribute חייב להיות מספר.", - "required" => "חובה למלא :attribute.", - "same" => ":attribute ו-:other חייבים להתאים.", + "not_in" => "הערך :attribute נמצא ברשימה השחורה.", + "numeric" => "הערך :attribute חייב להיות מספר.", + "required" => "חובה למלא את הערך :attribute.", + "same" => "הערכים :attribute ו-:other חייבים להיות זהים.", "size" => array( - "numeric" => ":attribute חייב להיות :size.", - "file" => ":attribute חייב לשקול :size ק"ב.", - "string" => ":attribute חייב להכיל :size תווים.", + "numeric" => "הערך :attribute חייב להיות :size.", + "file" => "הערך :attribute חייב לשקול :size ק"ב.", + "string" => "הערך :attribute חייב להכיל :size תווים.", ), - "unique" => ":attribute כבר קיים.", - "url" => ":attribute אינה כתובת אינטרנט תקנית.", + "unique" => "הערך :attribute כבר קיים.", + "url" => "הערך :attribute חייב להכיל כתובת אינטרנט תקינה.", /* |--------------------------------------------------------------------------