Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
mobile-group
galaxy-iOS
Commits
06063230
Commit
06063230
authored
Jan 11, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
/// 国际化
parent
f58d6881
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
YHAboutUsViewController.swift
.../Classes/Modules/Mine(我的)/C/YHAboutUsViewController.swift
+3
-2
YHLocalizable.swift
galaxy/galaxy/Classes/Tools/Localized/YHLocalizable.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHAboutUsViewController.swift
View file @
06063230
...
...
@@ -19,7 +19,7 @@ class YHAboutUsViewController: YHBaseViewController {
lazy
var
items
=
{
return
[
AboutAdvantageItem
(
iconName
:
"about_match"
,
title
:
"ABC"
.
yhlocalized
()
,
detail
:
"大数据精准匹配,专属方案获批率更高"
),
return
[
AboutAdvantageItem
(
iconName
:
"about_match"
,
title
:
"ABC"
.
local
,
detail
:
"大数据精准匹配,专属方案获批率更高"
),
AboutAdvantageItem
(
iconName
:
"about_response"
,
title
:
"快速响应"
,
detail
:
"身份规划师一对一专业服务,第一时间响应您的需求"
),
AboutAdvantageItem
(
iconName
:
"about_service"
,
title
:
"专业服务"
,
detail
:
"5年经验+英语专8级文案导师团队倾力支持"
),
AboutAdvantageItem
(
iconName
:
"about_service2"
,
title
:
"精准匹配"
,
detail
:
"香港专才、香港留学获批常年保持90%以上"
),
...
...
@@ -51,7 +51,7 @@ class YHAboutUsViewController: YHBaseViewController {
lazy
var
aboutLabel
=
{
var
label
=
UILabel
()
label
.
text
=
"关于银河"
.
yhlocalized
()
label
.
text
=
"关于银河"
.
local
label
.
textColor
=
UIColor
(
hexString
:
"#222222"
)
label
.
textAlignment
=
NSTextAlignment
.
left
label
.
font
=
UIFont
.
systemFont
(
ofSize
:
20
)
...
...
@@ -101,6 +101,7 @@ class YHAboutUsViewController: YHBaseViewController {
func
setupUI
()
{
self
.
title
=
"关于我们"
view
.
backgroundColor
=
.
white
...
...
galaxy/galaxy/Classes/Tools/Localized/YHLocalizable.swift
View file @
06063230
...
...
@@ -114,7 +114,7 @@ public extension String {
/**
* Utility method for getting localized value
*/
func
yhlocalized
()
->
String
{
var
local
:
String
{
return
YHLocalizable
.
shared
.
currentBundle
()
.
localizedString
(
forKey
:
self
,
value
:
nil
,
table
:
nil
)
}
...
...
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