Fix typo in translation files (#318)

* fix: typo in "lastYear" across multiple language files

* fix: typo in chatGPT prompt
This commit is contained in:
Thorsten Herfurtner
2025-04-19 21:01:07 +02:00
committed by GitHub
parent ffbcb6b74d
commit 03712f1503
9 changed files with 16 additions and 16 deletions

View File

@@ -387,4 +387,4 @@
"Water": "Wasser" "Water": "Wasser"
} }
} }
} }

View File

@@ -37,7 +37,7 @@
"earlierThisMonth": "Earlier this month", "earlierThisMonth": "Earlier this month",
"lastMonth": "Last month", "lastMonth": "Last month",
"earlierThisYear": "Earlier this year", "earlierThisYear": "Earlier this year",
"lastYera": "Last year", "lastYear": "Last year",
"older": "Older" "older": "Older"
} }
}, },
@@ -388,4 +388,4 @@
"Water": "Water" "Water": "Water"
} }
} }
} }

View File

@@ -36,7 +36,7 @@
"earlierThisMonth": "A principios de este mes", "earlierThisMonth": "A principios de este mes",
"lastMonth": "El mes pasado", "lastMonth": "El mes pasado",
"earlierThisYear": "A principios de este año", "earlierThisYear": "A principios de este año",
"lastYera": "El año pasado", "lastYear": "El año pasado",
"older": "Más antiguos" "older": "Más antiguos"
} }
}, },
@@ -386,4 +386,4 @@
"Water": "Agua" "Water": "Agua"
} }
} }
} }

View File

@@ -36,7 +36,7 @@
"earlierThisMonth": "Plus tôt ce mois-ci", "earlierThisMonth": "Plus tôt ce mois-ci",
"lastMonth": "Le mois dernier", "lastMonth": "Le mois dernier",
"earlierThisYear": "Plus tôt cette année", "earlierThisYear": "Plus tôt cette année",
"lastYera": "L'année dernière", "lastYear": "L'année dernière",
"older": "Plus ancien" "older": "Plus ancien"
} }
}, },
@@ -386,4 +386,4 @@
"Water": "Eau" "Water": "Eau"
} }
} }
} }

View File

@@ -36,7 +36,7 @@
"earlierThisMonth": "All'inizio di questo mese", "earlierThisMonth": "All'inizio di questo mese",
"lastMonth": "Ultimo mese", "lastMonth": "Ultimo mese",
"earlierThisYear": "All'inizio di quest'anno", "earlierThisYear": "All'inizio di quest'anno",
"lastYera": "Ultimo anno", "lastYear": "Ultimo anno",
"older": "Più vecchio" "older": "Più vecchio"
} }
}, },
@@ -386,4 +386,4 @@
"Water": "Acqua" "Water": "Acqua"
} }
} }
} }

View File

@@ -36,7 +36,7 @@
"earlierThisMonth": "Ранее в этом месяце", "earlierThisMonth": "Ранее в этом месяце",
"lastMonth": "В прошлом месяце", "lastMonth": "В прошлом месяце",
"earlierThisYear": "Ранее в этом году", "earlierThisYear": "Ранее в этом году",
"lastYera": "В прошлом году", "lastYear": "В прошлом году",
"older": "Очень давно" "older": "Очень давно"
} }
}, },
@@ -386,4 +386,4 @@
"Water": "Вода" "Water": "Вода"
} }
} }
} }

View File

@@ -36,7 +36,7 @@
"earlierThisMonth": "Раніше цього місяця", "earlierThisMonth": "Раніше цього місяця",
"lastMonth": "Минулого місяця", "lastMonth": "Минулого місяця",
"earlierThisYear": "Раніше цього року", "earlierThisYear": "Раніше цього року",
"lastYera": "Минулого року", "lastYear": "Минулого року",
"older": "Старіші" "older": "Старіші"
} }
}, },
@@ -386,4 +386,4 @@
"Water": "Вода" "Water": "Вода"
} }
} }
} }

View File

@@ -36,7 +36,7 @@
"earlierThisMonth": "本月早些时候", "earlierThisMonth": "本月早些时候",
"lastMonth": "上个月", "lastMonth": "上个月",
"earlierThisYear": "本年早些时候", "earlierThisYear": "本年早些时候",
"lastYera": "去年", "lastYear": "去年",
"older": "更早" "older": "更早"
} }
}, },
@@ -386,4 +386,4 @@
"Water": "水" "Water": "水"
} }
} }
} }

View File

@@ -22,7 +22,7 @@ export async function extractExpenseInformationFromImage(imageUrl: string) {
text: ` text: `
This image contains a receipt. This image contains a receipt.
Read the total amount and store it as a non-formatted number without any other text or currency. Read the total amount and store it as a non-formatted number without any other text or currency.
Then guess the category for this receipt amoung the following categories and store its ID: ${categories.map( Then guess the category for this receipt among the following categories and store its ID: ${categories.map(
(category) => formatCategoryForAIPrompt(category), (category) => formatCategoryForAIPrompt(category),
)}. )}.
Guess the expenses date and store it as yyyy-mm-dd. Guess the expenses date and store it as yyyy-mm-dd.