Add config as language file
This patch will change several behaviour while generating the ebook:
- `build.go` now accepts two environment variables: TMP, WORKDIR
* TMP:
Temporary directory path.
The directory stores intermediate files like '*.html' or metadata.txt.
* WORKDIR:
Script base directory.
- `config` as language file
config file will be `source`d to change its ebook metadata.
- `genepub.sh` is integrated to `build.sh` and `build.go`
See `FixHeader` and `RemoveFooterLink` functions.
This commit is contained in:
6
ja/ebook/config
Normal file
6
ja/ebook/config
Normal file
@@ -0,0 +1,6 @@
|
||||
MSG_INSTALL_PANDOC_FIRST='pandocをインストール後、再度実行してください。'
|
||||
MSG_SUCCESSFULLY_GENERATED='build-web-application-with-golang.epub を作成しました'
|
||||
MSG_CREATOR='Astaxie'
|
||||
MSG_DESCRIPTION='オープンソースのGo Webプログラミング書籍'
|
||||
MSG_LANGUAGE='ja-JP'
|
||||
MSG_TITLE='Go Webプログラミング'
|
||||
Reference in New Issue
Block a user