Browse Source

Update names of function calls

CURA-9141
j.delarago 2 years ago
parent
commit
77f5c91b77
1 changed files with 4 additions and 4 deletions
  1. 4 4
      scripts/update_po_with_changes.py

+ 4 - 4
scripts/update_po_with_changes.py

@@ -108,7 +108,7 @@ if __name__ == "__main__":
     parser.add_argument("updated_file", type=str, help="Input .po file with updated translations added")
     args = parser.parse_args()
 
-    messages_updated = parse_po_file(args.updated_file)
-    messages_original = parse_po_file(args.original_file)
-    different_messages = get_different_messages(messages_original, messages_updated)
-    update_po_file(args.original_file, "updated.po", different_messages)
+    messages_updated = parsePOFile(args.updated_file)
+    messages_original = parsePOFile(args.original_file)
+    different_messages = getDifferentMessages(messages_original, messages_updated)
+    updatePOFile(args.original_file, "updated.po", different_messages)