mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-20 05:56:53 +00:00
fix(pdf): use the trip's actual currency instead of hardcoded EUR (#1519)
* fix(pdf): use the trip's actual currency instead of hardcoded EUR Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * fix(i18n): drop hardcoded currency text from pdf.costLabel across locales Remove redundant EUR/currency references from pdf.costLabel translations across 21 locales now that the PDF export correctly renders amounts with their actual trip currency via formatMoney(). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * fix(pdf): drop hardcoded euro-shaped icon from place price chip svgEuro rendered a fixed € glyph next to the price chip regardless of the trip's actual currency, undermining the currency fix. Swap for a currency-neutral coin icon. --------- Co-authored-by: Nguyen Trong Binh <nguytb15@VN1N07HO1CD1015.local> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'خطة السفر',
|
||||
'pdf.planned': 'مخطط',
|
||||
'pdf.costLabel': 'التكلفة EUR',
|
||||
'pdf.costLabel': 'التكلفة',
|
||||
'pdf.preview': 'معاينة PDF',
|
||||
'pdf.saveAsPdf': 'حفظ كـ PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'Plano de viagem',
|
||||
'pdf.planned': 'Planejado',
|
||||
'pdf.costLabel': 'Custo (EUR)',
|
||||
'pdf.costLabel': 'Custo',
|
||||
'pdf.preview': 'Pré-visualização do PDF',
|
||||
'pdf.saveAsPdf': 'Salvar como PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'Cestovní plán',
|
||||
'pdf.planned': 'Naplánováno',
|
||||
'pdf.costLabel': 'Náklady EUR',
|
||||
'pdf.costLabel': 'Náklady',
|
||||
'pdf.preview': 'Náhled PDF',
|
||||
'pdf.saveAsPdf': 'Uložit jako PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'Reiseplan',
|
||||
'pdf.planned': 'Eingeplant',
|
||||
'pdf.costLabel': 'Kosten EUR',
|
||||
'pdf.costLabel': 'Kosten',
|
||||
'pdf.preview': 'PDF Vorschau',
|
||||
'pdf.saveAsPdf': 'Als PDF speichern',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'Travel Plan',
|
||||
'pdf.planned': 'Planned',
|
||||
'pdf.costLabel': 'Cost EUR',
|
||||
'pdf.costLabel': 'Cost',
|
||||
'pdf.preview': 'PDF Preview',
|
||||
'pdf.saveAsPdf': 'Save as PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'Plan de viaje',
|
||||
'pdf.planned': 'Planificado',
|
||||
'pdf.costLabel': 'Coste EUR',
|
||||
'pdf.costLabel': 'Coste',
|
||||
'pdf.preview': 'Vista previa PDF',
|
||||
'pdf.saveAsPdf': 'Guardar como PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'Plan de voyage',
|
||||
'pdf.planned': 'Planifié',
|
||||
'pdf.costLabel': 'Coût EUR',
|
||||
'pdf.costLabel': 'Coût',
|
||||
'pdf.preview': 'Aperçu PDF',
|
||||
'pdf.saveAsPdf': 'Enregistrer en PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'Ταξιδιωτικό Πρόγραμμα',
|
||||
'pdf.planned': 'Προγραμματισμένο',
|
||||
'pdf.costLabel': 'Κόστος EUR',
|
||||
'pdf.costLabel': 'Κόστος',
|
||||
'pdf.preview': 'Προεπισκόπηση PDF',
|
||||
'pdf.saveAsPdf': 'Αποθήκευση ως PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'Rencana Perjalanan',
|
||||
'pdf.planned': 'Direncanakan',
|
||||
'pdf.costLabel': 'Biaya EUR',
|
||||
'pdf.costLabel': 'Biaya',
|
||||
'pdf.preview': 'Pratinjau PDF',
|
||||
'pdf.saveAsPdf': 'Simpan sebagai PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'Programma di viaggio',
|
||||
'pdf.planned': 'Programmato',
|
||||
'pdf.costLabel': 'Costo EUR',
|
||||
'pdf.costLabel': 'Costo',
|
||||
'pdf.preview': 'Anteprima PDF',
|
||||
'pdf.saveAsPdf': 'Salva come PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': '旅行計画',
|
||||
'pdf.planned': '予定',
|
||||
'pdf.costLabel': '費用(EUR)',
|
||||
'pdf.costLabel': '費用',
|
||||
'pdf.preview': 'PDFプレビュー',
|
||||
'pdf.saveAsPdf': 'PDFとして保存',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': '여행 계획',
|
||||
'pdf.planned': '계획됨',
|
||||
'pdf.costLabel': '비용 (원)',
|
||||
'pdf.costLabel': '비용',
|
||||
'pdf.preview': 'PDF 미리보기',
|
||||
'pdf.saveAsPdf': 'PDF로 저장',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'Reisplan',
|
||||
'pdf.planned': 'Gepland',
|
||||
'pdf.costLabel': 'Kosten EUR',
|
||||
'pdf.costLabel': 'Kosten',
|
||||
'pdf.preview': 'PDF-voorbeeld',
|
||||
'pdf.saveAsPdf': 'Opslaan als PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'Plan podróży',
|
||||
'pdf.planned': 'Zaplanowane',
|
||||
'pdf.costLabel': 'Koszt w EUR',
|
||||
'pdf.costLabel': 'Koszt',
|
||||
'pdf.preview': 'Podgląd PDF',
|
||||
'pdf.saveAsPdf': 'Zapisz jako PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'План поездки',
|
||||
'pdf.planned': 'Запланировано',
|
||||
'pdf.costLabel': 'Стоимость EUR',
|
||||
'pdf.costLabel': 'Стоимость',
|
||||
'pdf.preview': 'Предпросмотр PDF',
|
||||
'pdf.saveAsPdf': 'Сохранить как PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'Resplan',
|
||||
'pdf.planned': 'Planerat',
|
||||
'pdf.costLabel': 'Kostnad EUR',
|
||||
'pdf.costLabel': 'Kostnad',
|
||||
'pdf.preview': 'Förhandsgranskning av PDF',
|
||||
'pdf.saveAsPdf': 'Spara som PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'Seyahat Planı',
|
||||
'pdf.planned': 'Planlandı',
|
||||
'pdf.costLabel': 'Maliyet EUR',
|
||||
'pdf.costLabel': 'Maliyet',
|
||||
'pdf.preview': 'PDF Önizleme',
|
||||
'pdf.saveAsPdf': 'PDF olarak Kaydet',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'План поїздки',
|
||||
'pdf.planned': 'Заплановано',
|
||||
'pdf.costLabel': 'Вартість EUR',
|
||||
'pdf.costLabel': 'Вартість',
|
||||
'pdf.preview': 'Попередній перегляд PDF',
|
||||
'pdf.saveAsPdf': 'Зберегти як PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': 'Kế hoạch du lịch',
|
||||
'pdf.planned': 'Đã lên kế hoạch',
|
||||
'pdf.costLabel': 'Chi phí EUR',
|
||||
'pdf.costLabel': 'Chi phí',
|
||||
'pdf.preview': 'PDF Xem trước',
|
||||
'pdf.saveAsPdf': 'Lưu dưới dạng PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': '旅行計劃',
|
||||
'pdf.planned': '已規劃',
|
||||
'pdf.costLabel': '費用 EUR',
|
||||
'pdf.costLabel': '費用',
|
||||
'pdf.preview': 'PDF 預覽',
|
||||
'pdf.saveAsPdf': '儲存為 PDF',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { TranslationStrings } from '../types';
|
||||
const pdf: TranslationStrings = {
|
||||
'pdf.travelPlan': '旅行计划',
|
||||
'pdf.planned': '已规划',
|
||||
'pdf.costLabel': '费用 EUR',
|
||||
'pdf.costLabel': '费用',
|
||||
'pdf.preview': 'PDF 预览',
|
||||
'pdf.saveAsPdf': '保存为 PDF',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user