summaryrefslogtreecommitdiffstats
path: root/save-html.h
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2014-08-10 10:12:29 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-11 08:21:19 -0700
commit3a46657f4cae439972afe9b3d248525baf35898d (patch)
tree9650368820f267e168888d3597566f01410bbc72 /save-html.h
parent108fc892ca101929b101da08e02a6a587f7ca080 (diff)
downloadsubsurface-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.h1
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);