Fix font_id_map errors when importing DCP subtitles that have no
[dcpomatic.git] / DEVELOP.md
index 130c28193adf64182708f4023ff0948ccb533729..01da64ec71871328b2fcc8fcf05cbe070574bf98 100644 (file)
@@ -55,6 +55,12 @@ to load a script file called `stress` and start executing it.
 
 - 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.
+- Add to `i18n.php` on website and `update-i18n-stats` script, then run `update-i18n-stats` script.