Skip to content

Commit

Permalink
Fix minor typos (propietary -> proprietary) (#433)
Browse files Browse the repository at this point in the history
Co-authored-by: Josep M. Ferrer <[email protected]>
  • Loading branch information
txemaq and Josep M. Ferrer authored Dec 7, 2024
1 parent ae70a85 commit 7d55886
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/builder/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def create_tm_for_all_projects(self):
skipped_prjs = 0
skipped_words = 0
for project in self.projects:
if project.license.lower() == Licenses().PROPIETARY:
if project.license.lower() == Licenses().PROPRIETARY:
logging.debug(
f"Projects. Skipping {project.name} into {self.tm_file} memory"
)
Expand Down
4 changes: 2 additions & 2 deletions src/download_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def __init__(
self.__setitem__("project_id", project_id)
self.__setitem__("projectweb", projectweb)

if license == Licenses().PROPIETARY:
if license == Licenses().PROPRIETARY:
self.__setitem__("po_file_text", "")
self.__setitem__("po_file_link", "")
self.__setitem__("tmx_file_text", "")
Expand Down Expand Up @@ -231,7 +231,7 @@ def build_combined_memory(
create_zipfile(tmx_directory, get_tmx_file(filename), out_directory)

for project_dto in projects:
if project_dto.license == Licenses().PROPIETARY:
if project_dto.license == Licenses().PROPRIETARY:
continue

update_zipfile(po_directory, filename, project_dto.filename, out_directory)
Expand Down

0 comments on commit 7d55886

Please sign in to comment.