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