Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NJ_login
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
NJ_login
Commits
1ea0925b
Commit
1ea0925b
authored
Dec 18, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加多语言支持
parent
dd361957
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
151 additions
and
21 deletions
+151
-21
NJ_login.fire
assets/NJ_login/scene/NJ_login.fire
+6
-6
NJ_login.ts
assets/NJ_login/scene/NJ_login.ts
+81
-14
language_NJ_login.ts
assets/NJ_login/script/language_NJ_login.ts
+53
-0
language_NJ_login.ts.meta
assets/NJ_login/script/language_NJ_login.ts.meta
+9
-0
project.json
project.json
+2
-1
No files found.
assets/NJ_login/scene/NJ_login.fire
View file @
1ea0925b
...
...
@@ -10241,7 +10241,7 @@
},
{
"__type__": "cc.Node",
"_name": "New Label",
"_name": "New Label
_1
",
"_objFlags": 0,
"_parent": {
"__id__": 208
...
...
@@ -10652,7 +10652,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "
5fo/Mkc2NIM5w1quAi/9l3
"
"_id": "
d0osMy/ZtHXoscl2w2e8hG
"
},
{
"__type__": "cc.Label",
...
...
@@ -10685,7 +10685,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "
d1xmYILYxJmrmwnJcT+z1r
"
"_id": "
62xY5DmaBN97RRqNn+nwuZ
"
},
{
"__type__": "cc.RichText",
...
...
@@ -10778,7 +10778,7 @@
},
{
"__type__": "cc.Node",
"_name": "New Label",
"_name": "New Label
_2
",
"_objFlags": 0,
"_parent": {
"__id__": 208
...
...
@@ -11001,7 +11001,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "
05VpeqK6FNtZ9lmJ0pTQ42
"
"_id": "
70EJ61P9RFeodCZvZDOyiA
"
},
{
"__type__": "cc.Label",
...
...
@@ -11034,7 +11034,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "
5epSqtsZ9IqZ5C/YG0kpnC
"
"_id": "
7fzKR3dbdBypPSVLOpv5dr
"
},
{
"__type__": "cc.RichText",
...
...
assets/NJ_login/scene/NJ_login.ts
View file @
1ea0925b
This diff is collapsed.
Click to expand it.
assets/NJ_login/script/language_NJ_login.ts
0 → 100644
View file @
1ea0925b
export
const
lang
=
{
"
zh-cn
"
:
{
"
phone_error
"
:
"
请输入正确的手机号码
"
,
"
user_not_exist
"
:
"
用户不存在,请先注册
"
,
"
check_agreement
"
:
"
请勾选下方协议
"
,
"
password_format_error
"
:
"
密码由字母大小写和数字组成,必须包含字母和数字且不得少于8位
"
,
"
code_error
"
:
"
请填写正确的验证码
"
,
"
send_code
"
:
"
发送验证码
"
,
"
click_input_phone
"
:
"
点击输入手机号
"
,
"
click_input_password
"
:
"
点击输入密码
"
,
"
click_input_new_password
"
:
"
点击输入新密码
"
,
"
click_input_code
"
:
"
点击输入验证码
"
,
"
login_right_now
"
:
"
马上登录
"
,
"
reset_and_login
"
:
"
重置并登录
"
,
"
register_now
"
:
"
立即注册
"
,
"
register_and_login
"
:
"
注册并登录
"
,
"
forget_password
"
:
"
忘记密码
"
,
"
tryatry
"
:
"
不想登录?去游乐场...
"
,
"
law
"
:
"
我已阅读并同意/@/用户隐私保护政策/@/及/@/服务条款
"
,
"
close
"
:
"
关闭
"
},
"
ru-ru
"
:
{
"
phone_error
"
:
"
Пожалуйста, введите правильный номер телефона
"
,
"
user_not_exist
"
:
"
Пользователя не существует, сначала зарегистрируйтесь
"
,
"
check_agreement
"
:
"
Выберите протокол ниже
"
,
"
password_format_error
"
:
"
Пароль состоит из букв, букв и цифр, должен содержать буквы и цифры и должен быть не менее 8 бит
"
,
"
code_error
"
:
"
Пожалуйста, заполните правильный код
"
,
"
send_code
"
:
"
Отправить код проверки
"
,
"
click_input_phone
"
:
"
Нажмите для ввода номера телефона
"
,
"
click_input_password
"
:
"
Нажмите для ввода пароля
"
,
"
click_input_new_password
"
:
"
Нажмите для ввода нового пароля
"
,
"
click_input_code
"
:
"
Нажмите для ввода кода проверки
"
,
"
login_right_now
"
:
"
Зарегистрируйтесь прямо сейчас
"
,
"
reset_and_login
"
:
"
Сбросить и войти в систему
"
,
"
register_now
"
:
"
Немедленная регистрация
"
,
"
register_and_login
"
:
"
Регистрация и регистрация
"
,
"
forget_password
"
:
"
Забыть пароль
"
,
"
tryatry
"
:
"
Не хотите регистрироваться? Иди на игровую площадку...
"
,
"
law
"
:
"
Я прочитал и согласился./@/Политика конфиденциальности пользователей/@/И/@/Условия предоставления услуг
"
,
"
close
"
:
"
Закрыть
"
},
}
export
const
langConfig
=
{
"
zh-cn
"
:
{
"
privacy_url
"
:
"
https://appstore.iteachabc.com/application/web/privacy_policy/oxford_privacy.html?t=
"
,
"
policy_url
"
:
"
https://appstore.iteachabc.com/application/web/privacy_policy/oxford_policy.html?t=
"
,
},
"
ru-ru
"
:
{
"
privacy_url
"
:
"
https://appstore.iteachabc.com/application/web/privacy_policy/oxford_privacy.html?t=
"
,
"
policy_url
"
:
"
https://appstore.iteachabc.com/application/web/privacy_policy/oxford_policy.html?t=
"
,
}
}
\ No newline at end of file
assets/NJ_login/script/language_NJ_login.ts.meta
0 → 100644
View file @
1ea0925b
{
"ver": "1.0.8",
"uuid": "54ae4465-56be-4418-aa71-e653848a70a4",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
project.json
View file @
1ea0925b
...
...
@@ -4,5 +4,6 @@
"name"
:
"play"
,
"id"
:
"9af72fd2-44a6-4131-8ea3-3e1b3fa22231"
,
"version"
:
"2.4.5"
,
"isNew"
:
false
"isNew"
:
false
,
"description"
:
""
}
\ No newline at end of file
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