GnuCash  5.6-150-g038405b370+
qofbookslots.h
1 /********************************************************************\
2  * qofbookslots.h -- Defines the names of slots used in the book. *
3  * This program is free software; you can redistribute it and/or *
4  * modify it under the terms of the GNU General Public License as *
5  * published by the Free Software Foundation; either version 2 of *
6  * the License, or (at your option) any later version. *
7  * *
8  * This program is distributed in the hope that it will be useful, *
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
11  * GNU General Public License for more details. *
12  * *
13  * You should have received a copy of the GNU General Public License*
14  * along with this program; if not, contact: *
15  * *
16  * Free Software Foundation Voice: +1-617-542-5942 *
17  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
18  * Boston, MA 02110-1301, USA gnu@gnu.org *
19  * *
20 \********************************************************************/
21 
22 #ifndef SWIG /* swig doesn't see N_() as a string constant */
23 #include <glib/gi18n.h>
24 #else
25 #define N_(string) string
26 #endif
27 
37 /*
38  * See also SET_ENUM() in src/engine/engine.i
39  *
40  * SOME_DEFINED_NAME gets mapped into SOME-DEFINED-NAME by SWIG
41  * http://www.swig.org/Doc1.3/Guile.html#Guile_nn10
42  */
43 
44 
45 /*
46  * gnc:*kvp-option-path* is used to refer to the kvp frame
47  * in which book-level options are stored.
48  * It is tied from this C #define in
49  * src/app-utils/app-utils.scm
50  * and is extensively used in
51  * src/gnome-utils/gnome-utils.scm
52  * various reports
53  */
54 
55 #define KVP_OPTION_PATH "options"
56 
57 /*
58  * Various option sections and options within those sections
59  * The untranslated string is used for the key in the KVP
60  * The translated string appears as the tab name and as the
61  * text associated with the option selector on the tab
62  */
63 
64 #define OPTION_SECTION_ACCOUNTS N_("Accounts")
65 #define OPTION_NAME_TRADING_ACCOUNTS N_("Use Trading Accounts")
66 #define OPTION_NAME_AUTO_READONLY_DAYS N_("Day Threshold for Read-Only Transactions (red line)")
67 #define OPTION_NAME_NUM_FIELD_SOURCE N_("Use Split Action Field for Number")
68 
69 #define OPTION_SECTION_BUDGETING N_("Budgeting")
70 #define OPTION_NAME_DEFAULT_BUDGET N_("Default Budget")
71 
72 #define OPTION_SECTION_BUSINESS N_("Business")
73 
74 #define OPTION_NAME_DEFAULT_INVOICE_REPORT N_("Default Invoice Report")
75 #define OPTION_NAME_DEFAULT_INVOICE_REPORT_TIMEOUT N_("Default Invoice Report Timeout")
76 
79 /* For the grep-happy:
80  * KVP-OPTION-PATH
81  * OPTION-SECTION-ACCOUNTS
82  * OPTION-NAME-TRADING-ACCOUNTS
83  * OPTION-NAME_NUM-FIELD-SOURCE
84  * OPTION-SECTION-BUDGETING
85  * OPTION-NAME-DEFAULT-BUDGET
86  */