mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
108fc892ca
commit
3a46657f4c
3 changed files with 84 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue