Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多语言问题 #646

Closed
BYC318 opened this issue Mar 28, 2024 · 3 comments
Closed

多语言问题 #646

BYC318 opened this issue Mar 28, 2024 · 3 comments

Comments

@BYC318
Copy link

BYC318 commented Mar 28, 2024

image 这里能统一中文做key吗?
@SilenceLove
Copy link
Owner

这样可以防止重名
你可以通过config.textManager修改

public var albumCameraRollTitle: TextType = .localized("HXAlbumCameraRoll")
/// 全景照片
public var albumPanoramasTitle: TextType = .localized("HXAlbumPanoramas")
/// 视频
public var albumVideosTitle: TextType = .localized("HXAlbumVideos")
/// 个人收藏
public var albumFavoritesTitle: TextType = .localized("HXAlbumFavorites")
/// 延时摄影
public var albumTimelapsesTitle: TextType = .localized("HXAlbumTimelapses")
/// 最近项目
public var albumRecentsTitle: TextType = .localized("HXAlbumRecents")
/// 最近添加
public var albumRecentlyAddedTitle: TextType = .localized("HXAlbumRecentlyAdded")
/// 连拍快照
public var albumBurstsTitle: TextType = .localized("HXAlbumBursts")
/// 慢动作
public var albumSlomoVideosTitle: TextType = .localized("HXAlbumSlomoVideos")
/// 自拍
public var albumSelfPortraitsTitle: TextType = .localized("HXAlbumSelfPortraits")
/// 屏幕快照
public var albumScreenshotsTitle: TextType = .localized("HXAlbumScreenshots")
/// 人像
public var albumDepthEffectTitle: TextType = .localized("HXAlbumDepthEffect")
/// 实况照片
public var albumLivePhotosTitle: TextType = .localized("HXAlbumLivePhotos")
/// 动图
public var albumAnimatedTitle: TextType = .localized("HXAlbumAnimated")

@BYC318
Copy link
Author

BYC318 commented Apr 24, 2024

image image 这里picker是结构体,没法这么修改文案!

@BYC318
Copy link
Author

BYC318 commented Apr 24, 2024

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants