Skip to content

Commit

Permalink
Merge branch 'release/0.4.1-b'
Browse files Browse the repository at this point in the history
  • Loading branch information
fletcher committed Mar 4, 2017
2 parents d13fbe4 + d4083de commit fb71cfd
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set (My_Project_Author "Fletcher T. Penney")
set (My_Project_Revised_Date "2017-02-17")
set (My_Project_Version_Major 0)
set (My_Project_Version_Minor 4)
set (My_Project_Version_Patch 0b)
set (My_Project_Version_Patch 1b)

set (My_Project_Version "${My_Project_Version_Major}.${My_Project_Version_Minor}.${My_Project_Version_Patch}")

Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@
| Author: | Fletcher T. Penney |
| Date: | 2017-02-17 |
| Copyright: | Copyright © 2016 - 2017 Fletcher T. Penney. |
| Version: | 0.4.0b |
| Version: | 0.4.1b |


## Updates ##

* 2017-03-04 -- v 0.4.1-b:

* FIXED: Add glossary localization


* 2017-03-04 -- v 0.4.0-b:

* ADDED: Add TOC support to ODF
Expand Down
8 changes: 7 additions & 1 deletion Sources/libMultiMarkdown/i18n.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@


#define kNumberOfLanguages 3
#define kNumberOfStrings 3
#define kNumberOfStrings 4
#define kLanguage 0

//#define I18N_DISABLED
Expand Down Expand Up @@ -70,6 +70,10 @@ static const char * lc_lookup[kNumberOfLanguages * kNumberOfStrings] = {
"see citation", // English
"see citation", // Español
"siehe Zitat", // Deutsch

"see glossary", // English
"see citation", // Español
"siehe Zitat", // Deutsch
};


Expand All @@ -89,6 +93,8 @@ static inline const char * Translate(unsigned long x, int l) {
return lc_lookup[1 * kNumberOfLanguages + l];
case 2977473004:
return lc_lookup[2 * kNumberOfLanguages + l];
case 3851221863:
return lc_lookup[3 * kNumberOfLanguages + l];
default:
return "localization error";
}
Expand Down
5 changes: 5 additions & 0 deletions templates/README.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@

## Updates ##

* 2017-03-04 -- v 0.4.1-b:

* FIXED: Add glossary localization


* 2017-03-04 -- v 0.4.0-b:

* ADDED: Add TOC support to ODF
Expand Down

0 comments on commit fb71cfd

Please sign in to comment.