feat: 添加优化版本的 Localizable.strings 清理工具

主要变更:
1. 新增 clean_localizable_optimized.py 脚本,用于清理 Localizable.strings 文件,只保留使用的 key,并移除多余空行。
2. 优化了清理逻辑,支持多语言版本的处理,提升了文件的整洁性和可维护性。
3. 生成清理报告,显示保留和删除的 key 数量及删除率。

此更新旨在提高本地化文件的管理效率,减少冗余内容。
This commit is contained in:
edwinQQQ
2025-10-17 15:38:34 +08:00
parent 646a767e03
commit f84044425f
14 changed files with 4465 additions and 4054 deletions

21
Podfile
View File

@@ -7,39 +7,28 @@ project 'YuMi.xcodeproj'
target 'YuMi' do
use_frameworks!
#模型转化
pod 'MJExtension', '3.4.2'
#图片加载
pod 'SDWebImage', '5.21.3'
# pod 'SDWebImageWebPCoder' 用于加载 webP
pod 'FLAnimatedImage'
pod 'SDWebImageFLPlugin' # 对FLAnimatedImage和SDWebImage的桥接
pod 'AFNetworking'
#文字自动滚动
pod 'Masonry'
#输入
pod 'SZTextView'
#头饰显示
pod 'YYWebImage'
#轮播图
pod 'SZTextView'
pod 'SDCycleScrollView'
pod 'ReactiveObjC'
pod 'MBProgressHUD'
pod 'FFPopup'
#下拉刷新控件
pod 'MJRefresh', '3.7.9'
pod 'IQKeyboardManager'
pod 'TZImagePickerController'
#声网
pod 'SSKeychain'
pod 'Base64'
pod 'pop'
pod 'GKCycleScrollView'
pod 'ZLCollectionViewFlowLayout'
pod 'TABAnimated'