You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Code.gs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
* @OnlyCurrentDoc
3
3
*/
4
4
5
-
constVERSION=49;
5
+
constVERSION=50;
6
6
constADDONSTATE={
7
7
PRODUCTION: "production",
8
8
DEVELOPMENT: "development"
@@ -68,8 +68,8 @@ const BGET = {
68
68
VERSETEXT: 4
69
69
},
70
70
PREFERORIGIN: {//PREFER ORIGIN : most catholic editions of the Bible have texts based both on the Greek and on the Hebrew versions of the Bible
71
-
GREEK: 1,// resulting in duplicate verses, which can be both be quoted with the same reference (e.g. Esther 1,1-10)
72
-
HEBREW:2// Even though some Catholic editions place the Greek version in separate "books", for simplicity the BibleGet project places them as quotable verses following the CEI2008 layout. This preference allows the user to define which origin to prefer (if available) when making the quote
71
+
HEBREW:1,// resulting in duplicate verses, which can be both be quoted with the same reference (e.g. Esther 1,1-10)
72
+
GREEK: 2// Even though some Catholic editions place the Greek version in separate "books", for simplicity the BibleGet project places them as quotable verses following the CEI2008 layout. This preference allows the user to define which origin to prefer (if available) when making the quote
73
73
},
74
74
TYPECASTING: {//just for quality assurance and good measure, let's explicitly define typecasting of our UserProperties, don't just rely on JSON.parse
75
75
//this way we know that floats will be floats and ints will be ints and we don't have to worry about it every time in our code when we use the values
@@ -583,9 +583,9 @@ function sendMail(txt) {
583
583
584
584
//Function fetchData @ used in SidebarJS and in other scripts here in Code.gs (which are called from SidebarJS), to communicate with the BibleGet endpoints
<divclass="inline form-group" title="<?=__('By default, search will include partial matches of 3 letters or more. If you prefer to include only exact matches of 2 letters or more, select this option.',locale)?>">
title="<?=__('Some books of the Bible, in Catholic versions, have two different versions of some chapters, one based on the Tanakh (Hebrew) and one based on the Septuagint (Greek). This switch will allow to choose between the two possible texts.',locale)?>">
title="<?=__('By default, search will include partial matches of 3 letters or more. If you prefer to include only exact matches of 2 letters or more, select this option.',locale)?>">
<divstyle="text-align:center;margin-top:16px;"><buttontitle="This will remove all of your current user preferences and reset them to default. Resort to this if you cannot open the settings / preferences window." class="button" id="RESET_DEFAULT_USERPROPS"><?=__('RESET PREFERENCES TO DEFAULT OPTIONS',locale)?></button></div>
149
-
<? } ?>
150
-
<divstyle="background:linear-gradient(white,gray,lightblue,black);color:White;font-weight:bold;text-shadow:3px 3px 3px Black;padding:1px;vertical-align:middle;"><atarget="_blank" href="https://www.bibleget.io"><?!= include("BibleIcon_32"); ?></a><spanstyle="position:relative;top:-9px;">BibleGet I/O for Google Docs v.<?!=VERSION?></span></div>
151
-
</div>
248
+
<divstyle="text-align:center;margin-top:16px;">
249
+
<buttontitle="This will remove all of your current user preferences and reset them to default. Resort to this if you cannot open the settings / preferences window." class="button" id="RESET_DEFAULT_USERPROPS"><?=__('RESET PREFERENCES TO DEFAULT OPTIONS',locale)?></button>
0 commit comments