cocoapods-aqara-localzedLoader 0.0.10 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca66c069a60268e820de61841a1822c4b0dd5451d3d11722737b6fd07a8ee7f7
4
- data.tar.gz: 91b69746652c5f93f4ef4f15da3f6b9e5dc4caf5d614b599292de9c474248db8
3
+ metadata.gz: 638068cadc2ca88efc764e8b6e3aaa80c1fc0e482d8012f25d3d2c26a095ec9a
4
+ data.tar.gz: 2cb34504f96b6742f72f7322ed0b643be054516edad92bd41a53290d68f00f7a
5
5
  SHA512:
6
- metadata.gz: 10e9b060a91aed917cbfc26d792d6848b447973c2589183a3f02c47eefa2ee8a559a949a1233e96b18856ebfcf211939772a28b4a9840b34736922323c6548c0
7
- data.tar.gz: fdf67d56ffd37644df469557c9da0452ce446f7c9058aeea23b41de231d0d057ce2ab48b087a7b243c55e2d9d3acd41ae1c78e5ddeb91c58026fafd10e37e19b
6
+ metadata.gz: 3b1ac2e6a1afd17d9a6518972f5601c91c3b841c16c1f56a4b67687c8037c5a92979853ae8a0516a069908950d7e38baf03528d951331f617a32c0e4686e75f5
7
+ data.tar.gz: 5225f0aa98ba8c3d7761dfc943b2afb6e5f058558e4cae21dacf1301d89484545ac7ee891f5bd6f0117e10f37914357220e1020f91078b2364a33648b8af0e58
@@ -18,18 +18,18 @@ class File_util
18
18
  workbook = RubyXL::Parser.parse filename
19
19
  worksheet = workbook[0]
20
20
 
21
- if crowdin
22
- last_col_index = worksheet[0].cells.size # 当前最后一列索引+1
23
-
24
- # 遍历 B 列(索引 1)所有行
25
- worksheet.each_with_index do |row, row_index|
26
- b_value = row && row[1] ? row[1].value : nil
27
- worksheet.add_cell(row_index, last_col_index, b_value)
28
- end
29
-
30
- worksheet[0].cells[last_col_index] = worksheet.add_cell(0, last_col_index, 'zh-CN')
31
- workbook.write(filename)
32
- end
21
+ # if crowdin
22
+ # last_col_index = worksheet[0].cells.size # 当前最后一列索引+1
23
+ #
24
+ # # 遍历 B 列(索引 1)所有行
25
+ # worksheet.each_with_index do |row, row_index|
26
+ # b_value = row && row[1] ? row[1].value : nil
27
+ # worksheet.add_cell(row_index, last_col_index, b_value)
28
+ # end
29
+ #
30
+ # worksheet[0].cells[last_col_index] = worksheet.add_cell(0, last_col_index, 'zh-CN')
31
+ # workbook.write(filename)
32
+ # end
33
33
 
34
34
  row1 = worksheet[0]
35
35
  @key_hash = getkeyHash(row1)
@@ -1,3 +1,3 @@
1
1
  module Localzedloader
2
- VERSION = "0.0.10"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -229,7 +229,9 @@ class BundleGenerater
229
229
  if copy_info_plist
230
230
  puts "InfoPlist多语言拷贝到目录:#{info_plist_path}"
231
231
  end
232
-
232
+ if crowdin
233
+ system("crowdin upload --config #{project_path}/AqaraHome/Common/crowdin.yml --branch iOS_Localizable")
234
+ end
233
235
  end
234
236
  #对多语言的value进行处理
235
237
  def self.handleValue(value='',stringElement = nil)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-aqara-localzedLoader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhaoxifan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-25 00:00:00.000000000 Z
11
+ date: 2025-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler