X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=DEVELOP.md;h=01da64ec71871328b2fcc8fcf05cbe070574bf98;hb=ff639b3cf30afcc097bfd21d39c8d15f466cadd6;hp=6896900dd35950464b680d3576b29c92d6554537;hpb=d0555983d175e76585b2409d982e09f444eab391;p=dcpomatic.git diff --git a/DEVELOP.md b/DEVELOP.md index 6896900dd..01da64ec7 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -36,10 +36,14 @@ Stop any current playback. Seek to some point in the current DCP, where 0 is the start and 4095 is the end; for example -```S 2048``` +```K 2048``` seeks half-way through the DCP. +* `E` + +Stops playback and closes the player. + The script can be run using something like ```dcpomatic2_player -s stress``` @@ -47,10 +51,16 @@ The script can be run using something like to load a script file called `stress` and start executing it. -Adding a new language +## Adding a new language -- Edit src/wx/config_dialog.cc to add the language to languages. -- Add to platform/windows/wscript, platform/osx/make_dmg.sh, cscript. -- Add credit to src/wx/about_dialog.cc and database. -- Add to i18n.php on website and update-i18n-stats script. +- Edit `src/wx/config_dialog.cc` to add the language to languages. +- Add to `platform/windows/wscript`, `platform/osx/make_dmg.sh`, `cscript`. +- ./waf pot +- cp build/src/lib/libdcpomatic.pot src/lib/po/$LANG.po +- cp build/src/wx/libdcpomatic-wx.pot src/wx/po/$LANG.po +- cp build/src/tools/libdcpomatic-wx.pot src/tools/po/$LANG.po +- sed -i "s/CHARSET/UTF-8/" src/{lib,wx,tools}/po/$LANG.po +- Commit / push +- Add credit to `src/wx/about_dialog.cc` and database. +- Add to `i18n.php` on website and `update-i18n-stats` script, then run `update-i18n-stats` script.