INNER CODE UNIT · Ruby

update_po_file_for_metadata_localization

wordpress-mobile/WordPress-Android · fastlane/lanes/localization.rb:514

  def update_po_file_for_metadata_localization(po_path:, sources:, release_version:, commit_message:, skip_commit: false)
    ensure_git_status_clean

    gp_update_metadata_source(
      po_file_path: po_path,
      source_files: sources,
      release_version: release_version
    )

    return if skip_commit

    git_add(path: po_path)
    git_commit(path: po_path, message: commit_message, allow_nothing_to_commit: true)
  end

  # Compares the list of locales declared in the `resourceConfigurations` field of `build.gradle` for a given flavor
  # with the hardcoded list of locales we use in our Fastlane lanes, to ensure they match and we are consistent.
  #

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…