From b022e2f800da4d9254dff292e62fb4fc1d38c3be Mon Sep 17 00:00:00 2001 From: N-Pex Date: Mon, 29 Sep 2025 11:24:06 +0200 Subject: [PATCH] Use same intervention flag text in send and view --- src/assets/translations/en.json | 4 +- src/assets/translations/ga.json | 5 +-- .../content-credentials/C2PAInfo.vue | 26 ++--------- .../content-credentials/CCSummary.vue | 38 +--------------- .../content-credentials/intervention.ts | 45 +++++++++++++++++++ src/models/proof.ts | 26 ++++++++++- 6 files changed, 78 insertions(+), 66 deletions(-) create mode 100644 src/components/content-credentials/intervention.ts diff --git a/src/assets/translations/en.json b/src/assets/translations/en.json index 52a94c9..3c02aec 100644 --- a/src/assets/translations/en.json +++ b/src/assets/translations/en.json @@ -507,8 +507,6 @@ "captured_with_camera": "Captured with a real camera. ", "captured_screenshot": "Screenshot. ", "captured_screenshot_ago": "Screenshot captured {ago} ago. ", - "generated_with_ai": "Generated with AI. ", - "generated_with_ai_ago": "Generated with AI {ago} ago. ", "old_photo": "Photo older than 3 months. ", "cc_source": "Source", "cc_capture_timestamp": "Capture Timestamp", @@ -531,6 +529,6 @@ "screenshot_probably": "Image looks like a screenshot.", "generated_with_ai": "Generated with AI.", "modified": "Modified.", - "older_than_n_months": "Older than {n} months" + "older_than_n_months": "Older than {n} months." } } diff --git a/src/assets/translations/ga.json b/src/assets/translations/ga.json index d984209..5f9b3ae 100644 --- a/src/assets/translations/ga.json +++ b/src/assets/translations/ga.json @@ -294,8 +294,6 @@ "screenshot": "Seat scáileáin. ", "captured_screenshot": "Seat scáileáin ", "captured_screenshot_ago": "Gabhadh an seat scáileáin {ago} ó shin. ", - "generated_with_ai": "Gineadh le hintleacht shaorga. ", - "generated_with_ai_ago": "Gineadh le hintleacht shaorga {ago} ó shin. ", "cc_source": "Foinse", "cc_capture_timestamp": "Gabháil Stampa Ama", "cc_location": "Suíomh" @@ -516,6 +514,7 @@ "cc": { "content_credentials": "Dintiúir Ábhair", "content_credentials_info": "Tá faisnéis foinse nó staire ar fáil le go bhféadfaidh an meán seo a fhíorú.", - "metadata-stripped": "Tá an íomhá comhbhrúite agus na meiteashonraí bainte díot.\n\nCreidimid go bhfuil faisnéis bhreise faoin gcomhad san íomhá seo. Más mian leat tuilleadh eolais a fháil, iarr ar an seoltóir an bunleagan a roinnt." + "metadata-stripped": "Tá an íomhá comhbhrúite agus na meiteashonraí bainte díot.\n\nCreidimid go bhfuil faisnéis bhreise faoin gcomhad san íomhá seo. Más mian leat tuilleadh eolais a fháil, iarr ar an seoltóir an bunleagan a roinnt.", + "generated_with_ai": "Gineadh le hintleacht shaorga. " } } diff --git a/src/components/content-credentials/C2PAInfo.vue b/src/components/content-credentials/C2PAInfo.vue index 4f993d2..ff8f51b 100644 --- a/src/components/content-credentials/C2PAInfo.vue +++ b/src/components/content-credentials/C2PAInfo.vue @@ -1,7 +1,5 @@