lib/Localization.rb in pixab-1.2.6 vs lib/Localization.rb in pixab-1.2.7
- old
+ new
@@ -75,10 +75,11 @@
project_array.each do |project|
page_number = 1
while true
link = "\"https://api.phrase.com/v2/projects/#{project}/translations?page=#{page_number}&per_page=100&sort=created_at"
if !tags.nil?
- link += "&q=tags:#{tags}"
+ # excluded:false
+ link += "&q=tags:#{tags}%20excluded:false"
end
link += "\""
access_token = "-u #{ACCESS_TOKEN}:"
localized_string = `curl #{link} #{access_token}`
per_localized_info_category = assemble_data(localized_string)