fastlane-plugin-translate_gpt_release_notes 0.4.0 → 0.4.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: 8b804e528e753243e44795157932c4d7fe91dd86f7393fc3c27169bd46ae064a
4
- data.tar.gz: 46dcb053c8eca62129b0616477a4f0b7287c63dd40de91f40749f35b04758f70
3
+ metadata.gz: c81e4204776fc196d3b5c501dfc1e53ee7c9c4d7a9c343e7a4114d54b722f673
4
+ data.tar.gz: 4eed66073550200dd9701146b9e1b2eb43e0aa7d158c616004c83f91b99d5bb5
5
5
  SHA512:
6
- metadata.gz: 3942636066fa49fb840cb6855742b3605e71894b6ce40b235bb25c96d49282da9a7bde5ca458f32b13bb9ac015f74a05efd2995ef7c73ed6119a43aa75a7eab9
7
- data.tar.gz: f37538e795cfb574c2c7a5a3a025dc4ef9d78b228e27cce6636ccb9ef7fd2fd4984c4304424a0af2f1b15f266e1df0307e283b6fe39f8cb7662d41a9c20ba475
6
+ metadata.gz: 23451dcaefe13ed1a730d28e89d14403d76691e4608241bab8923a0234751bd8c43e69a58473c458f6ffbd1cf8310159f45730b3b0d25655674fc3056ebc3cbd
7
+ data.tar.gz: 41fe7e666190afddda66c50f2d3fbce6011d2b4fe4f762f4d1613ccd8ac17078aca5e084826effdc0f9f326dfc617ebd203260a714f8f4232a9ef6cf27f48a56
@@ -121,7 +121,7 @@ module Fastlane
121
121
 
122
122
  def self.print_locale_preview(locale, text, android_limit, platform)
123
123
  if text.nil? || text.to_s.strip.empty?
124
- UI.warning(" #{locale}: translation FAILED (would be skipped)")
124
+ UI.important(" #{locale}: translation FAILED (would be skipped)")
125
125
  return
126
126
  end
127
127
  length = text.length
@@ -135,7 +135,7 @@ module Fastlane
135
135
  next if locale == params[:master_locale] # Skip master locale
136
136
 
137
137
  if translation_empty?(text)
138
- UI.warning("Skipping #{locale}: translation failed or returned empty; existing file left unchanged.")
138
+ UI.important("Skipping #{locale}: translation failed or returned empty; existing file left unchanged.")
139
139
  next
140
140
  end
141
141
 
@@ -86,7 +86,7 @@ module Fastlane
86
86
  # @param path [String] Path to the JSON glossary file
87
87
  def load_from_file(path)
88
88
  unless File.exist?(path)
89
- UI.warning("Glossary file not found: #{path}")
89
+ UI.important("Glossary file not found: #{path}")
90
90
  return
91
91
  end
92
92
 
@@ -112,13 +112,13 @@ module Fastlane
112
112
  # @param dir [String] Path to the directory containing localization files
113
113
  def load_from_directory(dir)
114
114
  unless Dir.exist?(dir)
115
- UI.warning("Glossary directory not found: #{dir}")
115
+ UI.important("Glossary directory not found: #{dir}")
116
116
  return
117
117
  end
118
118
 
119
119
  format = detect_format(dir)
120
120
  unless format
121
- UI.warning("No supported localization files found in #{dir}")
121
+ UI.important("No supported localization files found in #{dir}")
122
122
  return
123
123
  end
124
124
 
@@ -127,7 +127,7 @@ module Fastlane
127
127
 
128
128
  source_key = find_source_locale_key(locale_files)
129
129
  unless source_key
130
- UI.warning("Source locale '#{@source_locale}' not found in #{dir}")
130
+ UI.important("Source locale '#{@source_locale}' not found in #{dir}")
131
131
  return
132
132
  end
133
133
 
@@ -282,7 +282,7 @@ module Fastlane
282
282
  else {}
283
283
  end
284
284
  rescue StandardError => e
285
- UI.warning("Failed to parse #{path}: #{e.message}")
285
+ UI.important("Failed to parse #{path}: #{e.message}")
286
286
  {}
287
287
  end
288
288
 
@@ -182,7 +182,7 @@ module Fastlane
182
182
  def enforce_android_limit(text)
183
183
  return text unless @params[:platform] == 'android' && text && text.length > ANDROID_CHAR_LIMIT
184
184
 
185
- UI.warning("Translation exceeds #{ANDROID_CHAR_LIMIT} characters (#{text.length}), truncating...")
185
+ UI.important("Translation exceeds #{ANDROID_CHAR_LIMIT} characters (#{text.length}), truncating...")
186
186
  text[0...ANDROID_CHAR_LIMIT]
187
187
  end
188
188
 
@@ -13,7 +13,7 @@ module Fastlane
13
13
 
14
14
  # Validate provider selection
15
15
  unless Providers::ProviderFactory.valid_provider?(provider_name)
16
- UI.warning "Unknown provider '#{provider_name}', falling back to OpenAI"
16
+ UI.important "Unknown provider '#{provider_name}', falling back to OpenAI"
17
17
  provider_name = 'openai'
18
18
  end
19
19
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module TranslateGptReleaseNotes
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-translate_gpt_release_notes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Karliner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-15 00:00:00.000000000 Z
11
+ date: 2026-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-openai