INNER CODE UNIT · Ruby
apps
wordpress-mobile/WordPress-Android · fastlane/lanes/localization.rb:95
apps = app.nil? ? %i[wordpress jetpack] : Array(app.to_s.downcase.to_sym)
apps.each do |current_app|
generate_playstore_strings(app: current_app, version: version)
end
push_to_git_remote(tags: false)
create_backmerge_pr(source_branch: git_branch, target_branch: "release/#{version}")
end
# Generates the `PlayStoreStrings.po` file for a given app from the metadata text sources.
# The updated `.po` file is then picked up by GlotPress for translations.
#
# @param [String] app The app to generate strings for. Must be `wordpress` or `jetpack`.
# @param [String] version The current `x.y` version of the app. Defaults to current release version.
# @param [Boolean] skip_commit If true, skips committing changes to git.
#