Skip to content

Commit 13cd136

Browse files
Update lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_download_helper.rb
Co-authored-by: Oguz Kocer <oguzkocer@users.noreply.github.com>
1 parent 8083332 commit 13cd136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_download_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def reparse_alternates(target_locale, loc_data, is_source)
7272
def update_key(target_locale, key, file, data, msg)
7373
if (data.key?(:max_size)) && (data[:max_size] != 0) && ((msg.to_s.length - 3) > data[:max_size]) then
7474
if (data.key?(:alternate_key)) then
75-
UI.message("#{target_locale} traslation for #{key} exceeds maximum lenght (#{msg.to_s.length}). Switching to the alternate translation.")
75+
UI.message("#{target_locale} translation for #{key} exceeds maximum length (#{msg.to_s.length}). Switching to the alternate translation.")
7676
@alternates[data[:alternate_key]] = {desc: data[:desc], max_size: 0 }
7777
else
7878
UI.message("Rejecting #{target_locale} traslation for #{key}: translation length: #{msg.to_s.length} - max allowed length: #{data[:max_size]}")

0 commit comments

Comments
 (0)