lib/spaceship/tunes/language_item.rb in spaceship-0.23.0 vs lib/spaceship/tunes/language_item.rb in spaceship-0.24.0
- old
+ new
@@ -24,10 +24,10 @@
result = self.original_array.find do |current|
current['language'] == lang or current['localeCode'] == lang # Apple being consistent
end
return result if result
- raise "Language '#{lang}' is not activated for this app version."
+ raise "Language '#{lang}' is not activated / available for this app version."
end
# @return (Array) An array containing all languages that are already available
def keys
self.original_array.collect { |l| l.fetch('language') }