(self)
| 22 | #msgstr |
| 23 | class PoParser: |
| 24 | def __init__(self): |
| 25 | args = self.parse_args() |
| 26 | self.folder_path = args.folder |
| 27 | self.all_po_files = self.find_all_po_files() |
| 28 | |
| 29 | if (args.strings_txt): |
| 30 | self.dest_file = StringsTxt(args.strings_txt) |
| 31 | elif (args.categories_txt): |
| 32 | self.dest_file = CategoriesTxt(args.categories_txt) |
| 33 | else: |
| 34 | raise RuntimeError("You must specify either -s or -c") |
| 35 | |
| 36 | |
| 37 | def find_all_po_files(self): |
nothing calls this directly
no test coverage detected