GnuCash 2.4.99
qofbookslots.h
00001 /********************************************************************\
00002  * qofbookslots.h -- Defines the names of slots used in the book.   *
00003  * This program is free software; you can redistribute it and/or    *
00004  * modify it under the terms of the GNU General Public License as   *
00005  * published by the Free Software Foundation; either version 2 of   *
00006  * the License, or (at your option) any later version.              *
00007  *                                                                  *
00008  * This program is distributed in the hope that it will be useful,  *
00009  * but WITHOUT ANY WARRANTY; without even the implied warranty of   *
00010  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    *
00011  * GNU General Public License for more details.                     *
00012  *                                                                  *
00013  * You should have received a copy of the GNU General Public License*
00014  * along with this program; if not, contact:                        *
00015  *                                                                  *
00016  * Free Software Foundation           Voice:  +1-617-542-5942       *
00017  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
00018  * Boston, MA  02110-1301,  USA       gnu@gnu.org                   *
00019  *                                                                  *
00020 \********************************************************************/
00021 
00022 #ifndef SWIG             /* swig doesn't see N_() as a string constant */
00023 #include <glib/gi18n.h>
00024 #else
00025 #define N_(string) string
00026 #endif
00027 
00037 /*
00038  * See also SET_ENUM() in src/engine/engine.i
00039  *
00040  * SOME_DEFINED_NAME gets mapped into SOME-DEFINED-NAME by SWIG
00041  * http://www.swig.org/Doc1.3/Guile.html#Guile_nn10
00042  */
00043 
00044 
00045 /*
00046  * gnc:*kvp-option-path* is used to refer to the kvp frame
00047  * in which book-level options are stored.
00048  * It is tied from this C #define in
00049  *   src/app-utils/app-utils.scm
00050  * and is extensively used in
00051  *   src/app-utils/option-util.c
00052  *   src/gnome-utils/gnome-utils.scm
00053  *   various reports
00054  */
00055 
00056 #define KVP_OPTION_PATH  "options"
00057 
00058 /*
00059  * Various option sections and options within those sections
00060  * The untranslated string is used for the key in the KVP
00061  * The translated string appears as the tab name and as the
00062  * text associated with the option selector on the tab
00063  */
00064 
00065 #define OPTION_SECTION_ACCOUNTS        N_("Accounts")
00066 #define OPTION_NAME_TRADING_ACCOUNTS   N_("Use Trading Accounts")
00067 #define OPTION_NAME_AUTO_READONLY_DAYS N_("Day Threshold for Read-Only Transactions (red line)")
00068 
00069 #define OPTION_SECTION_BUDGETING       N_("Budgeting")
00070 #define OPTION_NAME_DEFAULT_BUDGET     N_("Default Budget")
00071 
00074 /* For the grep-happy:
00075  * KVP-OPTION-PATH
00076  * OPTION-SECTION-ACCOUNTS
00077  * OPTION-NAME-TRADING-ACCOUNTS
00078  * OPTION-NAME-AUTO-READONLY-DAYS
00079  * OPTION-SECTION-BUDGETING
00080  * OPTION-NAME-DEFAULT-BUDGET
00081  */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines