Skip to content

Commit

Permalink
Add .po to allowed translation files
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzap committed Jun 17, 2022
1 parent 55c6f7a commit 3f70c45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions resources/wp-translation-downloader-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"gzip",
"xz",
"mo",
"po",
"json"
]
}
Expand Down
2 changes: 1 addition & 1 deletion src/Package/ProjectTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class ProjectTranslation
{
private const SUPPORTED_ARCHIVES = ['zip', 'rar', 'tar', 'gzip', 'xz'];
private const SUPPORTED_FILES = ['mo', 'json'];
private const SUPPORTED_FILES = ['mo', 'po', 'json'];
private const EXTENSION_MAP = [
'7z' => 'zip',
'7zz' => 'zip',
Expand Down

0 comments on commit 3f70c45

Please sign in to comment.