diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2014-08-10 10:12:29 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-11 08:21:19 -0700 |
commit | 3a46657f4cae439972afe9b3d248525baf35898d (patch) | |
tree | 9650368820f267e168888d3597566f01410bbc72 /save-html.h | |
parent | 108fc892ca101929b101da08e02a6a587f7ca080 (diff) | |
download | subsurface-3a46657f4cae439972afe9b3d248525baf35898d.tar.gz |
HTML: export Translated strings to JSON files.
First step towards multilingual export. Use the existing translation API
to translate and save words to JSON file.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-html.h')
-rw-r--r-- | save-html.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/save-html.h b/save-html.h index 298196108..bcf69d5f7 100644 --- a/save-html.h +++ b/save-html.h @@ -16,6 +16,7 @@ void put_HTML_notes(struct membuffer *b, struct dive *dive, const char *pre, con void put_HTML_quoted(struct membuffer *b, const char *text); void export_HTML(const char *file_name, const char *photos_dir, const bool selected_only, const bool list_only); +void export_translation(const char *file_name); extern void copy_image_and_overwrite(const char *cfileName, const char *cnewName); extern const char* get_file_name(const char *fileName); |