00001 # 1 "translate.c"
00002 # 1 "<built-in>"
00003 # 1 "<command-line>"
00004 # 1 "translate.c"
00005 # 57 "translate.c"
00006 # 1 "../config.h" 1
00007 # 58 "translate.c" 2
00008 # 1 "/usr/include/libintl.h" 1 3 4
00009 # 24 "/usr/include/libintl.h" 3 4
00010 # 1 "/usr/include/features.h" 1 3 4
00011 # 330 "/usr/include/features.h" 3 4
00012 # 1 "/usr/include/sys/cdefs.h" 1 3 4
00013 # 348 "/usr/include/sys/cdefs.h" 3 4
00014 # 1 "/usr/include/bits/wordsize.h" 1 3 4
00015 # 349 "/usr/include/sys/cdefs.h" 2 3 4
00016 # 331 "/usr/include/features.h" 2 3 4
00017 # 354 "/usr/include/features.h" 3 4
00018 # 1 "/usr/include/gnu/stubs.h" 1 3 4
00019
00020
00021
00022 # 1 "/usr/include/bits/wordsize.h" 1 3 4
00023 # 5 "/usr/include/gnu/stubs.h" 2 3 4
00024
00025
00026
00027
00028 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4
00029 # 10 "/usr/include/gnu/stubs.h" 2 3 4
00030 # 355 "/usr/include/features.h" 2 3 4
00031 # 25 "/usr/include/libintl.h" 2 3 4
00032 # 35 "/usr/include/libintl.h" 3 4
00033
00034
00035
00036
00037
00038 extern char *gettext (__const char *__msgid)
00039 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1)));
00040
00041
00042
00043 extern char *dgettext (__const char *__domainname, __const char *__msgid)
00044 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
00045 extern char *__dgettext (__const char *__domainname, __const char *__msgid)
00046 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
00047
00048
00049
00050 extern char *dcgettext (__const char *__domainname,
00051 __const char *__msgid, int __category)
00052 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
00053 extern char *__dcgettext (__const char *__domainname,
00054 __const char *__msgid, int __category)
00055 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
00056
00057
00058
00059
00060 extern char *ngettext (__const char *__msgid1, __const char *__msgid2,
00061 unsigned long int __n)
00062 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1))) __attribute__ ((__format_arg__ (2)));
00063
00064
00065
00066 extern char *dngettext (__const char *__domainname, __const char *__msgid1,
00067 __const char *__msgid2, unsigned long int __n)
00068 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3)));
00069
00070
00071
00072 extern char *dcngettext (__const char *__domainname, __const char *__msgid1,
00073 __const char *__msgid2, unsigned long int __n,
00074 int __category)
00075 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3)));
00076
00077
00078
00079
00080
00081 extern char *textdomain (__const char *__domainname) __attribute__ ((__nothrow__));
00082
00083
00084
00085 extern char *bindtextdomain (__const char *__domainname,
00086 __const char *__dirname) __attribute__ ((__nothrow__));
00087
00088
00089
00090 extern char *bind_textdomain_codeset (__const char *__domainname,
00091 __const char *__codeset) __attribute__ ((__nothrow__));
00092 # 122 "/usr/include/libintl.h" 3 4
00093
00094 # 59 "translate.c" 2
00095 # 1 "/usr/include/locale.h" 1 3 4
00096 # 29 "/usr/include/locale.h" 3 4
00097 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.2.3/include/stddef.h" 1 3 4
00098 # 30 "/usr/include/locale.h" 2 3 4
00099 # 1 "/usr/include/bits/locale.h" 1 3 4
00100 # 27 "/usr/include/bits/locale.h" 3 4
00101 enum
00102 {
00103 __LC_CTYPE = 0,
00104 __LC_NUMERIC = 1,
00105 __LC_TIME = 2,
00106 __LC_COLLATE = 3,
00107 __LC_MONETARY = 4,
00108 __LC_MESSAGES = 5,
00109 __LC_ALL = 6,
00110 __LC_PAPER = 7,
00111 __LC_NAME = 8,
00112 __LC_ADDRESS = 9,
00113 __LC_TELEPHONE = 10,
00114 __LC_MEASUREMENT = 11,
00115 __LC_IDENTIFICATION = 12
00116 };
00117 # 31 "/usr/include/locale.h" 2 3 4
00118
00119
00120 # 51 "/usr/include/locale.h" 3 4
00121
00122
00123
00124 struct lconv
00125 {
00126
00127
00128 char *decimal_point;
00129 char *thousands_sep;
00130
00131
00132
00133
00134
00135 char *grouping;
00136
00137
00138
00139
00140
00141 char *int_curr_symbol;
00142 char *currency_symbol;
00143 char *mon_decimal_point;
00144 char *mon_thousands_sep;
00145 char *mon_grouping;
00146 char *positive_sign;
00147 char *negative_sign;
00148 char int_frac_digits;
00149 char frac_digits;
00150
00151 char p_cs_precedes;
00152
00153 char p_sep_by_space;
00154
00155 char n_cs_precedes;
00156
00157 char n_sep_by_space;
00158
00159
00160
00161
00162
00163
00164 char p_sign_posn;
00165 char n_sign_posn;
00166
00167
00168 char int_p_cs_precedes;
00169
00170 char int_p_sep_by_space;
00171
00172 char int_n_cs_precedes;
00173
00174 char int_n_sep_by_space;
00175
00176
00177
00178
00179
00180
00181 char int_p_sign_posn;
00182 char int_n_sign_posn;
00183 # 121 "/usr/include/locale.h" 3 4
00184 };
00185
00186
00187
00188 extern char *setlocale (int __category, __const char *__locale) __attribute__ ((__nothrow__));
00189
00190
00191 extern struct lconv *localeconv (void) __attribute__ ((__nothrow__));
00192
00193
00194 # 146 "/usr/include/locale.h" 3 4
00195 # 1 "/usr/include/xlocale.h" 1 3 4
00196 # 28 "/usr/include/xlocale.h" 3 4
00197 typedef struct __locale_struct
00198 {
00199
00200 struct locale_data *__locales[13];
00201
00202
00203 const unsigned short int *__ctype_b;
00204 const int *__ctype_tolower;
00205 const int *__ctype_toupper;
00206
00207
00208 const char *__names[13];
00209 } *__locale_t;
00210 # 147 "/usr/include/locale.h" 2 3 4
00211
00212 typedef __locale_t locale_t;
00213
00214
00215
00216
00217
00218 extern __locale_t newlocale (int __category_mask, __const char *__locale,
00219 __locale_t __base) __attribute__ ((__nothrow__));
00220 # 189 "/usr/include/locale.h" 3 4
00221 extern __locale_t duplocale (__locale_t __dataset) __attribute__ ((__nothrow__));
00222
00223
00224
00225 extern void freelocale (__locale_t __dataset) __attribute__ ((__nothrow__));
00226
00227
00228
00229
00230
00231
00232 extern __locale_t uselocale (__locale_t __dataset) __attribute__ ((__nothrow__));
00233
00234
00235
00236
00237
00238
00239
00240
00241 # 60 "translate.c" 2
00242 # 1 "qof-expenses.h" 1
00243 # 97 "qof-expenses.h"
00244 typedef struct Expense Expense_t;
00245
00246
00247
00248
00249
00250
00251
00252 typedef struct QofExp_s QofExp;
00253
00254 typedef void (*GpeCurrencyCB) (gpointer key, gpointer value, gpointer user_data);
00255
00256 void gpe_currency_foreach(GpeCurrencyCB cb, gpointer user_data);
00257
00258
00259
00260
00261
00262
00263
00264 typedef struct
00265 {
00266
00267 gint pq_code;
00268
00269 gint fraction;
00270
00271 const gchar* symbol;
00272
00273 const gchar* mnemonic;
00274
00275
00276
00277 gboolean non_utf8;
00278 }GpeCurrency;
00279 # 150 "qof-expenses.h"
00280 GpeCurrency *
00281 gpe_currency_lookup (QofInstance* inst, gint currency_code);
00282
00283
00284
00285
00286
00287
00288
00289 GpeCurrency *
00290 gpe_currency_lookup_name (QofInstance* inst, gchar * mnemonic);
00291 # 206 "qof-expenses.h"
00292 DEFINE_ENUM(ExpenseDistance, DISTANCE_LIST)
00293 # 239 "qof-expenses.h"
00294 DEFINE_ENUM(ExpensePayment, PAYMENT_TYPE_LIST)
00295 # 273 "qof-expenses.h"
00296 DEFINE_ENUM(ExpenseType, EXPENSE_TYPE_LIST)
00297
00298 AS_STRING_DEC (ExpenseDistance, DISTANCE_LIST)
00299 FROM_STRING_DEC(ExpenseDistance, DISTANCE_LIST)
00300 AS_STRING_DEC (ExpensePayment, PAYMENT_TYPE_LIST)
00301 FROM_STRING_DEC(ExpensePayment, PAYMENT_TYPE_LIST)
00302 AS_STRING_DEC (ExpenseType, EXPENSE_TYPE_LIST)
00303 FROM_STRING_DEC(ExpenseType, EXPENSE_TYPE_LIST)
00304 # 295 "qof-expenses.h"
00305 gboolean ExpensesRegister (void);
00306 # 61 "translate.c" 2
00307 # 72 "translate.c"
00308 static void G_GNUC_UNUSED ExpenseTypetranslate (void) { gchar * G_GNUC_UNUSED Airfarenoop = dgettext ("qofexpensesobjects", "Airfare"); gchar * G_GNUC_UNUSED Breakfastnoop = dgettext ("qofexpensesobjects", "Breakfast"); gchar * G_GNUC_UNUSED Busnoop = dgettext ("qofexpensesobjects", "Bus"); gchar * G_GNUC_UNUSED BusinessMealsnoop = dgettext ("qofexpensesobjects", "BusinessMeals"); gchar * G_GNUC_UNUSED CarRentalnoop = dgettext ("qofexpensesobjects", "CarRental"); gchar * G_GNUC_UNUSED Dinnernoop = dgettext ("qofexpensesobjects", "Dinner"); gchar * G_GNUC_UNUSED Entertainmentnoop = dgettext ("qofexpensesobjects", "Entertainment"); gchar * G_GNUC_UNUSED Faxnoop = dgettext ("qofexpensesobjects", "Fax"); gchar * G_GNUC_UNUSED Gasnoop = dgettext ("qofexpensesobjects", "Gas"); gchar * G_GNUC_UNUSED Giftsnoop = dgettext ("qofexpensesobjects", "Gifts"); gchar * G_GNUC_UNUSED Hotelnoop = dgettext ("qofexpensesobjects", "Hotel"); gchar * G_GNUC_UNUSED Incidentalsnoop = dgettext ("qofexpensesobjects", "Incidentals"); gchar * G_GNUC_UNUSED Laundrynoop = dgettext ("qofexpensesobjects", "Laundry"); gchar * G_GNUC_UNUSED Limonoop = dgettext ("qofexpensesobjects", "Limo"); gchar * G_GNUC_UNUSED Lodgingnoop = dgettext ("qofexpensesobjects", "Lodging"); gchar * G_GNUC_UNUSED Lunchnoop = dgettext ("qofexpensesobjects", "Lunch"); gchar * G_GNUC_UNUSED Mileagenoop = dgettext ("qofexpensesobjects", "Mileage"); gchar * G_GNUC_UNUSED Othernoop = dgettext ("qofexpensesobjects", "Other"); gchar * G_GNUC_UNUSED Parkingnoop = dgettext ("qofexpensesobjects", "Parking"); gchar * G_GNUC_UNUSED Postagenoop = dgettext ("qofexpensesobjects", "Postage"); gchar * G_GNUC_UNUSED Snacknoop = dgettext ("qofexpensesobjects", "Snack"); gchar * G_GNUC_UNUSED Subwaynoop = dgettext ("qofexpensesobjects", "Subway"); gchar * G_GNUC_UNUSED Suppliesnoop = dgettext ("qofexpensesobjects", "Supplies"); gchar * G_GNUC_UNUSED Taxinoop = dgettext ("qofexpensesobjects", "Taxi"); gchar * G_GNUC_UNUSED Telephonenoop = dgettext ("qofexpensesobjects", "Telephone"); gchar * G_GNUC_UNUSED Tipsnoop = dgettext ("qofexpensesobjects", "Tips"); gchar * G_GNUC_UNUSED Tollsnoop = dgettext ("qofexpensesobjects", "Tolls"); gchar * G_GNUC_UNUSED Trainnoop = dgettext ("qofexpensesobjects", "Train"); }
00309
00310 static void G_GNUC_UNUSED ExpensePaymenttranslate (void) { gchar * G_GNUC_UNUSED AmericanExpressnoop = dgettext ("qofexpensesobjects", "AmericanExpress"); gchar * G_GNUC_UNUSED Cashnoop = dgettext ("qofexpensesobjects", "Cash"); gchar * G_GNUC_UNUSED Chequenoop = dgettext ("qofexpensesobjects", "Cheque"); gchar * G_GNUC_UNUSED CreditCardnoop = dgettext ("qofexpensesobjects", "CreditCard"); gchar * G_GNUC_UNUSED MasterCardnoop = dgettext ("qofexpensesobjects", "MasterCard"); gchar * G_GNUC_UNUSED Prepaidnoop = dgettext ("qofexpensesobjects", "Prepaid"); gchar * G_GNUC_UNUSED VISAnoop = dgettext ("qofexpensesobjects", "VISA"); gchar * G_GNUC_UNUSED Unfilednoop = dgettext ("qofexpensesobjects", "Unfiled"); }