Skip to content

Commit

Permalink
Merge pull request #14 from mdanko2000/patch-2
Browse files Browse the repository at this point in the history
Update attribute "uniqueCount" in SharedStrings.xml
  • Loading branch information
infostreams authored Jun 17, 2021
2 parents f93c390 + 62bb8d9 commit 3af315d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tasks/SharedStrings.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ public function merge($zip_dir = null) {
$mapping[$i] = count($shared_strings) - 1;
}
}

$target->documentElement->setAttribute('uniqueCount',count($shared_strings)); // <-- update uniqueCount
$target->save($target_filename);

return $mapping;
}
}
}

0 comments on commit 3af315d

Please sign in to comment.