Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
smart_core_connect
/
core-connect
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0da4c9bb
authored
6 years ago
by
Teeradone Darunnat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
teeradone แปลไฟล์ .mo en_EN
parent
f95aaefb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
129 additions
and
9 deletions
+129
-9
www/src/Locale/en_EN/default.mo
+0
-0
www/src/Locale/en_EN/default.po
+124
-4
www/src/Locale/en_EN/default_backup.mo
+0
-0
www/src/Template/Profiles/index.ctp
+1
-1
www/src/Template/Users/forgot_password.ctp
+4
-4
No files found.
www/src/Locale/en_EN/default.mo
View file @
0da4c9bb
No preview for this file type
This diff is collapsed.
Click to expand it.
www/src/Locale/en_EN/default.po
View file @
0da4c9bb
...
@@ -8,13 +8,133 @@ msgstr ""
...
@@ -8,13 +8,133 @@ msgstr ""
"PO-Revision-Date: 2018-05-07 13:13+0700\n"
"PO-Revision-Date: 2018-05-07 13:13+0700\n"
"Last-Translator: \n"
"Last-Translator: \n"
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
"Language:
th_TH
\n"
"Language:
en_EN
\n"
"MIME-Version: 1.0\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 2.0.7\n"
"X-Generator: Poedit 2.0.7\n"
#: Controller/
AppController.php:318
#: Controller/
ProfilesController.php/index.ctp:56
msgid "user profile"
msgid "user profile"
msgstr "User Profile"
msgstr "User profile"
\ No newline at end of file
#: Controller/ProfilesController.php/index.ctp:62
msgid "username"
msgstr "Username"
#: Controller/ProfilesController.php/index.ctp:68,69
msgid "firstname"
msgstr "Firstname"
#: Controller/ProfilesController.php/index.ctp:75,76
msgid "lastname"
msgstr "lastname"
#: Controller/ProfilesController.php/index.ctp:82
msgid "birthdate"
msgstr "Birth date"
#: Controller/ProfilesController.php/index.ctp:90
msgid "gender"
msgstr "Gender"
#: Controller/ProfilesController.php/index.ctp:103
msgid "blood group"
msgstr "Blood group"
#: Controller/ProfilesController.php/index.ctp:122,123
msgid "mobile"
msgstr "Mobile"
#: Controller/ProfilesController.php/index.ctp:129
msgid "email"
msgstr "Email"
#: Controller/ProfilesController.php/index.ctp:137
msgid "address"
msgstr "Address"
#: Controller/ProfilesController.php/index.ctp:143
msgid "country"
msgstr "Country"
#: Controller/ProfilesController.php/index.ctp:162
msgid "province"
msgstr "Province"
#: Controller/ProfilesController.php/index.ctp:181
msgid "SAVE"
msgstr "SAVE"
#: Controller/ProfilesController.php/index.ctp:226
msgid "This email is already in the system."
msgstr "This email is already in the system."
#: Controller/ProfilesController.php/index.ctp:235
msgid "only numbers"
msgstr "Please enter only numbers"
#: Controller/ProfilesController.php/index.ctp:244
msgid "Please enter your firstname."
msgstr "Please enter your firstname."
#: Controller/ProfilesController.php/index.ctp:249
msgid "Please enter your lastname."
msgstr "Please enter your lastname."
#: Controller/ProfilesController.php/index.ctp:255
msgid "Please enter your birthdate."
msgstr "Please enter your birthdate."
#: Controller/ProfilesController.php/index.ctp:261
msgid "Please enter your mobile."
msgstr "Please enter your mobile."
#: Controller/ProfilesController.php/index.ctp:266
msgid "Please enter a 10 digit mobile number."
msgstr "Please enter a 10 digit mobile number."
#: Controller/ProfilesController.php/index.ctp:272
msgid "Please enter your email address."
msgstr "Please enter your email address."
#: Controller/ProfilesController.php/index.ctp:278
msgid "Email address format wrong, Please enter the correct number."
msgstr "Email address format wrong, Please enter the correct number."
#: Controller/ProfilesController.php/index.ctp:291
msgid "Please specify country"
msgstr "Please select country"
#: Controller/ProfilesController.php/index.ctp:296
msgid "Please specify province"
msgstr "Please select province"
#: Controller/ProfilesController.php:119
msgid "Update Complete."
msgstr "Update Complete."
#: Controller/ProfilesController.php:123
msgid "Email Address already used by others."
msgstr "Email Address already used by others."
#: Controller/ProfilesController.php:125
msgid "Not update. Please, try again."
msgstr "Not update. Please, try again."
#: Controller/UsersController.php/forgot_password.ctp:14
msgid "Email"
msgstr "Email"
#: Controller/UsersController.php/forgot_password.ctp:34
msgid "Please enter your email."
msgstr "Please enter your email."
#: Controller/UsersController.php/forgot_password.ctp:40
msgid "Email address format wrong Please enter the correct."
msgstr "Email address format wrong Please enter the correct."
#: Controller/UsersController.php/forgot_password.ctp:3
msgid "Forgot password"
msgstr "Forgot password"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
www/src/Locale/en_EN/default_backup.mo
0 → 100644
View file @
0da4c9bb
File added
This diff is collapsed.
Click to expand it.
www/src/Template/Profiles/index.ctp
View file @
0da4c9bb
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
</div>
</div>
<div class="form-group has-feedback">
<div class="form-group has-feedback">
<div class="col-xs-12 col-sm-12 col-md-12">
<div class="col-xs-12 col-sm-12 col-md-12">
<?php echo __('mob
li
e');?><em>* </em>
<?php echo __('mob
il
e');?><em>* </em>
<?php echo $this->Form->input('UserPersonals.moblie_no', ['class' => 'form-control-reg border-bottom-from label-text-sub', 'value' => $responseUserPersonal['moblie_no'], 'id' => 'moblieNo', 'type' => 'text', 'label' => false, 'maxlength' => '10', 'placeholder' => 'moblie']); ?>
<?php echo $this->Form->input('UserPersonals.moblie_no', ['class' => 'form-control-reg border-bottom-from label-text-sub', 'value' => $responseUserPersonal['moblie_no'], 'id' => 'moblieNo', 'type' => 'text', 'label' => false, 'maxlength' => '10', 'placeholder' => 'moblie']); ?>
<?php // echo $this->Form->input('moblie_no', ['class' => 'form-control-reg border-bottom-from label-text-sub', 'value' => $userProfiles->moblie_no, 'id' => 'moblieNo', 'type' => 'text', 'label' => __('เบอร์โทรศัพท์'), 'placeholder' => '000-000-0000']); ?>
<?php // echo $this->Form->input('moblie_no', ['class' => 'form-control-reg border-bottom-from label-text-sub', 'value' => $userProfiles->moblie_no, 'id' => 'moblieNo', 'type' => 'text', 'label' => __('เบอร์โทรศัพท์'), 'placeholder' => '000-000-0000']); ?>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
www/src/Template/Users/forgot_password.ctp
View file @
0da4c9bb
<div class="row">
<div class="row">
<div class="center">
<div class="center">
<div class="title_header"><a href="javascript:history.go(-1)"><?php echo $this->Html->image('/img/core/img/back-icon@3x.png', ['style' => 'float: left;padding-left: 15px;padding-top: 5px;']); ?></a><?php echo __('
ลืมรหัสผ่าน
');?></div>
<div class="title_header"><a href="javascript:history.go(-1)"><?php echo $this->Html->image('/img/core/img/back-icon@3x.png', ['style' => 'float: left;padding-left: 15px;padding-top: 5px;']); ?></a><?php echo __('
Forgot password
');?></div>
</div>
</div>
<div class="col-md-12">
<div class="col-md-12">
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<div>
<div>
<div class="form-group has-feedback">
<div class="form-group has-feedback">
<div class="col-md-12">
<div class="col-md-12">
<label class="label-text-sub"><?php echo __('
อีเมล
');?><em>* </em></label>
<label class="label-text-sub"><?php echo __('
Email
');?><em>* </em></label>
<input type="text" value="" name="email" placeholder="mail@xxx.com" class="form-control-reg border-bottom-from" id="fremail">
<input type="text" value="" name="email" placeholder="mail@xxx.com" class="form-control-reg border-bottom-from" id="fremail">
</div>
</div>
</div>
</div>
...
@@ -31,13 +31,13 @@
...
@@ -31,13 +31,13 @@
function validateForm() {
function validateForm() {
var email = document.forms["forgotPressword"]["email"].value;
var email = document.forms["forgotPressword"]["email"].value;
if (email == null || email == "") {
if (email == null || email == "") {
alert("
กรุณากรอกอีเมลล์
");
alert("
Please enter your email.
");
return false;
return false;
}
}
// Validate Email
// Validate Email
var email = $("#fremail").val();
var email = $("#fremail").val();
if ((/(.+)@(.+){2,}\.(.+){2,}/.test(email)) || email=="" || email==null) { } else {
if ((/(.+)@(.+){2,}\.(.+){2,}/.test(email)) || email=="" || email==null) { } else {
alert("
รูปแบบที่อยู่อีเมลล์ผิด กรุณากรอกให้ถูกต้อง
");
alert("
Email address format wrong Please enter the correct.
");
return false;
return false;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment