.. _phase: phase ***** phase is a script that allows you to perform a number of tasks on a set of PO files that have been broken into phases. You can create a ZIP file for a phase, run checks against a phase, review a phase, edit files in a phase, etc. All the tasks that would be involved in sending work to various translators, receiving work, checking it and committing to CVS. .. _phase#prerequisites: Prerequisites ============= * An environment that will run :man:`bash` * :man:`diff` * :man:`cvs` .. _phase#latest_version: Latest Version ============== phase is not currently distributed as part of the toolkit. You can get the `latest version from Git `_ .. _phase#usage: Usage ===== :: phase [options] Mostly the usage follows the format of:: phase phase A full list of commands and options can be seen by running:: phase --help .. _phase#commands: Commands ======== These are the commands that you can use: * makephaselist -- creates a phase list * listphases -- lists the different phases that appear in the phase-list file * listfiles -- list all files for the given phase in the phase-list file * checkphaselist -- checks to see which files are not included in the phaselist * countpo -- counts PO file in the given phase * countpot -- counts POT file in the given phase * missingpo -- lists files that have not been returned for a phase * packpot -- packs all POT files for a given phase into a ZIP file * packpo -- packs all PO files for a given phase into a ZIP file * packall -- packs all phases found in the phase list * packallpo -- packs all phases found in the phase list for the given language * countmismatch -- compares the source word count between PO and POT to determine if there are any file errors. * editpo -- edit the PO files in a phase * editpochecks -- edit the PO checks output by checkpo * editconflicts -- edit the extracted conflict items * checkpo [pofilter options] -- run pofilter checks against the given phase * mergepo -- merge the checks back into the main language directory * conflictpo [poconflict options] -- run poconflict checks against the given phase * diffpo -- perform a cvs diff for the phase * cvslog -- perform a cvs log against files in the phase * lastlog -- retrieves the last cvs log entry for each file in a phase * cvsadd -- CVS adds files and directories that are not already in CVS * diffpo -- perform a cvs diff for the phase * reviewpo [pofilter options] -- extract items marked for review for the given phase * editreviews -- edit the extracted review items * countreviews -- count the number of strings and words under review * checkinpo -- cvs checkin the files in the given phase * creategsi -- creates a BZ2 GSI/SDF file for the language against the en-US GSI file * reviewsinout -- counts the number of review files returned vs sent and shows which are missing * reviewsdiff -- create a diff between what was sent for review and what was returned .. _phase#bugs: Bugs ==== There are probably lots mostly the bug is that the command line options are pretty inconsistent