1 /* HomeBank -- Free, easy, personal accounting for everyone. 2 * Copyright (C) 1995-2021 Maxime DOYEN 3 * 4 * This file is part of HomeBank. 5 * 6 * HomeBank is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * HomeBank is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 20 21 #include "homebank.h" 22 23 24 /* = = = = = = = = = = = = = = = = = = = = */ 25 26 27 gchar *CYA_ASG_FIELD[] = { 28 N_("Memo"), 29 N_("Payee"), 30 NULL 31 }; 32 33 34 gchar *CYA_CAT_TYPE[] = { 35 N_("Expense"), 36 N_("Income"), 37 NULL 38 }; 39 40 41 gchar *CYA_CATSUBCAT[] = { 42 N_("Category"), 43 N_("Subcategory"), 44 NULL 45 }; 46 47 48 gchar *CYA_REPORT_MODE[] = 49 { 50 N_("Total"), 51 N_("Time"), 52 NULL 53 }; 54 55 56 gchar *RA_REPORT_TIME_MODE[] = { 57 N_("Total"), 58 N_("Trend"), 59 N_("Balance"), 60 NULL 61 }; 62 63 64 gchar *nainex_label_names[] = 65 { 66 // N_("Inactive"), 67 N_("Off"), 68 N_("Include"), 69 N_("Exclude"), 70 NULL 71 }; 72 73 74 /* = = = = = = = = = = = = = = = = = = = = */ 75 76 77 HbKvData CYA_ACC_TYPE[] = 78 { 79 { ACC_TYPE_NONE, N_("(no type)") }, 80 { ACC_TYPE_BANK, N_("Bank") }, 81 { ACC_TYPE_CASH, N_("Cash") }, 82 { ACC_TYPE_ASSET, N_("Asset") }, 83 { ACC_TYPE_CREDITCARD, N_("Credit card") }, 84 { ACC_TYPE_LIABILITY, N_("Liability") }, 85 { ACC_TYPE_CHECKING, N_("Checking") }, 86 { ACC_TYPE_SAVINGS, N_("Savings") }, 87 88 // { ACC_TYPE_MUTUALFUND, N_("Mutual Fund") }, 89 // { ACC_TYPE_INCOME, N_("Income") }, 90 // { ACC_TYPE_EXPENSE, N_("Expense") }, 91 // { ACC_TYPE_EQUITY, N_("Equity") }, 92 93 { 0, NULL } 94 }; 95 96 97 HbKvData CYA_FLT_RANGE[] = { 98 { FLT_RANGE_THISMONTH, N_("This month") }, 99 { FLT_RANGE_LASTMONTH, N_("Last month") }, 100 { FLT_RANGE_THISQUARTER, N_("This quarter") }, 101 { FLT_RANGE_LASTQUARTER, N_("Last quarter") }, 102 { FLT_RANGE_THISYEAR, N_("This year") }, 103 { FLT_RANGE_LASTYEAR, N_("Last year") }, 104 { HBTK_IS_SEPARATOR, "" }, 105 { FLT_RANGE_LAST30DAYS, N_("Last 30 days") }, 106 { FLT_RANGE_LAST60DAYS, N_("Last 60 days") }, 107 { FLT_RANGE_LAST90DAYS, N_("Last 90 days") }, 108 { FLT_RANGE_LAST12MONTHS, N_("Last 12 months") }, 109 { HBTK_IS_SEPARATOR, "" }, 110 // { FLT_RANGE_OTHER, N_("Other...") }, 111 { FLT_RANGE_OTHER, N_("custom") }, 112 { HBTK_IS_SEPARATOR, "" }, 113 { FLT_RANGE_ALLDATE, N_("All date") }, 114 { 0, NULL } 115 }; 116 117 118 HbKvData CYA_FLT_SCHEDULED[] = { 119 { FLT_SCHEDULED_THISMONTH, N_("This month") }, 120 { FLT_SCHEDULED_NEXTMONTH, N_("Next month") }, 121 { HBTK_IS_SEPARATOR, "" }, 122 { FLT_SCHEDULED_NEXT30DAYS, N_("Next 30 days") }, 123 { FLT_SCHEDULED_NEXT60DAYS, N_("Next 60 days") }, 124 { FLT_SCHEDULED_NEXT90DAYS, N_("Next 90 days") }, 125 { HBTK_IS_SEPARATOR, "" }, 126 { FLT_SCHEDULED_ALLDATE, N_("All") }, 127 { 0, NULL } 128 }; 129 130 131 /*HbKvData CYA_TXN_STATUS[] = 132 { 133 { TXN_STATUS_NONE, N_("None") }, 134 { TXN_STATUS_CLEARED, N_("Cleared") }, 135 { TXN_STATUS_RECONCILED, N_("Reconciled") }, 136 { TXN_STATUS_REMIND, N_("Remind") }, 137 { TXN_STATUS_VOID, N_("Void") }, 138 { 0, NULL } 139 };*/ 140 141 142 //this is a test 143 HbKivData CYA_TXN_STATUSIMG[] = 144 { 145 { TXN_STATUS_NONE, NULL, N_("None") }, 146 { TXN_STATUS_CLEARED, ICONNAME_HB_OPE_CLEARED, N_("Cleared") }, 147 { TXN_STATUS_RECONCILED, ICONNAME_HB_OPE_RECONCILED, N_("Reconciled") }, 148 { TXN_STATUS_REMIND, ICONNAME_HB_OPE_REMIND, N_("Remind") }, 149 { TXN_STATUS_VOID, ICONNAME_HB_OPE_VOID, N_("Void") }, 150 { 0, NULL, NULL } 151 }; 152 153 154 gchar *CYA_ARC_UNIT[] = { 155 N_("Day"), 156 N_("Week"), 157 N_("Month"), 158 N_("Year"), 159 NULL 160 }; 161 162 163 gchar *RA_ARC_WEEKEND[] = { 164 N_("Possible"), 165 N_("Before"), 166 N_("After"), 167 NULL 168 }; 169 170 171 gchar *CYA_KIND[] = { 172 N_("Exp. & Inc."), 173 N_("Expense"), 174 N_("Income"), 175 NULL 176 }; 177 178 179 gchar *CYA_FLT_TYPE[] = { 180 N_("Any Type"), 181 "", 182 N_("Expense"), 183 N_("Income"), 184 N_("Transfer"), 185 NULL 186 }; 187 188 gchar *CYA_FLT_STATUS[] = { 189 N_("Any Status"), 190 "", 191 N_("Cleared"), 192 N_("Uncleared"), 193 N_("Reconciled"), 194 N_("Unreconciled"), 195 "", 196 N_("Uncategorized"), 197 NULL 198 }; 199 200 /*gchar *OLD_CYA_FLT_RANGE[] = { 201 N_("This month"), 202 N_("Last month"), 203 N_("This quarter"), 204 N_("Last quarter"), 205 N_("This year"), 206 N_("Last year"), 207 "", 208 N_("Last 30 days"), 209 N_("Last 60 days"), 210 N_("Last 90 days"), 211 N_("Last 12 months"), 212 "", 213 N_("Other..."), 214 "", 215 N_("All date"), 216 NULL 217 };*/ 218 219 220 gchar *CYA_WEEKDAY[] = 221 { 222 "", 223 N_("Mon"), 224 N_("Tue"), 225 N_("Wed"), 226 N_("Thu"), 227 N_("Fri"), 228 N_("Sat"), 229 N_("Sun"), 230 }; 231 232 /* = = = = = = = = = = = = = = = = = = = = */ 233 234 //in prefs.c only 235 gchar *CYA_MONTHS[] = 236 { 237 N_("January"), 238 N_("February"), 239 N_("March"), 240 N_("April"), 241 N_("May"), 242 N_("June"), 243 N_("July"), 244 N_("August"), 245 N_("September"), 246 N_("October"), 247 N_("November"), 248 N_("December"), 249 NULL 250 }; 251 252 253 //hb_report.c rep_time.c ui_budget 254 gchar *CYA_ABMONTHS[] = 255 { 256 NULL, 257 N_("Jan"), 258 N_("Feb"), 259 N_("Mar"), 260 N_("Apr"), 261 N_("May"), 262 N_("Jun"), 263 N_("Jul"), 264 N_("Aug"), 265 N_("Sep"), 266 N_("Oct"), 267 N_("Nov"), 268 N_("Dec"), 269 NULL 270 }; 271