Trestní oznámení edit
All checks were successful
build_test / build (push) Successful in 4m24s

This commit is contained in:
PoliEcho 2025-05-17 16:47:55 +02:00
parent 4cf408dfa1
commit e92069c8db
2 changed files with 48 additions and 62 deletions

View File

@ -212,36 +212,26 @@ std::vector<allocation> editor_easy_allocated;
char date_str[100];
std::strftime(date_str, sizeof(date_str), "%d.%m.%Y", now);
auto name_thing_args = std::make_format_args(field_values[7]);
const std::string name_thing =
field_values[7].empty()
? loc_strings->call_to_stop_illegal_activity
: std::vformat(loc_strings->call_to_stop_illegal_activity_with_name,
name_thing_args);
auto comp_args =
std::make_format_args(field_values[0], // Jméno a příjmení odesílatele
field_values[1], // Adresa odesílatele
field_values[2], // Telefon odesílatele
field_values[3], // Email odesílatele
auto comp_args = std::make_format_args(
field_values[4], // Místo
date_str, // Aktuální datum
field_values[7], // Jméno a příjmení adresáta
field_values[10], // Adresa adresáta (přidejte do pole)
field_values[11], // Telefon adresáta (přidejte do pole)
field_values[12], // Email adresáta (přidejte do pole)
field_values[7], // Jméno a příjmení adresáta
field_values[10], // Adresa adresáta
field_values[11], // Telefon adresáta
field_values[12], // Email adresáta
// Odesílatel
field_values[0], // Jméno a příjmení odesílatele
field_values[1], // Adresa odesílatele
field_values[2], // Telefon odesílatele
field_values[3], // Email odesílatele
date_str, // Aktuální datum
field_values[4], // Místo činu
field_values[5], // Datum činu
name_thing,
field_values[5], // Datum činu
field_values[4], // Místo činu
field_values[6], // Popis činu
field_values[8], // Důkazy
field_values[9], // Další informace
field_values[0] // Jméno pro podpis
);
field_values[6], // Popis činu
field_values[8], // Důkazy
field_values[9], // Další informace
field_values[0] // Jméno pro podpis
);
std::string complaint =
std::vformat(loc_strings->criminal_complaint_template, comp_args);

View File

@ -36,33 +36,32 @@ To:
Police of the Czech Republic
Complainant:
Name and Surname: {}
Address: {}
Phone: {}
E-mail: {}
Name and Surname: {0}
Address: {1}
Phone: {2}
E-mail: {3}
Accused:
Name and Surname: {}
Address: {}
Phone: {}
E-mail: {}
Name and Surname: {4}
Address: {5}
Phone: {6}
E-mail: {7}
Subject:
suspicion of committing a criminal offence
Place of submission of the complaint: {}
Date of submission of the complaint: {}
Date of submission of the complaint: {8}
On {} at {} {}.
On {9} at {10}.
Factual circumstances:
{}
{11}
Evidence:
{}
{12}
Additional information:
{}
{13}
I request the Police of the Czech Republic to:
@ -72,9 +71,7 @@ I request the Police of the Czech Republic to:
submit a proposal to the public prosecutor.
In {}
Signature of the complainant: {}
Signature of the complainant: {0}
*This is not a legal document, but only a template for informational purposes. For legal advice, please consult a qualified attorney.*
)"};
@ -114,42 +111,41 @@ Komu:
Policie ČR
Oznamovatel:
Jméno a příjmení: {}
Adresa: {}
Telefon: {}
E-mail: {}
Jméno a příjmení: {0}
Adresa: {1}
Telefon: {2}
E-mail: {3}
Obviněný:
Jméno a příjmení: {}
Adresa: {}
Telefon: {}
E-mail: {}
Jméno a příjmení: {4}
Adresa: {5}
Telefon: {6}
E-mail: {7}
Věc:
podezření ze spáchání trestného činu
Místo podání oznámení: {}
Datum podání oznámení: {}
Datum podání oznámení: {8}
Dne {} v místě {} {}.
Dne {9} v místě {10}.
1. Skutkové okolnosti:
{}
1. Skutkové okolnosti:
{11}
2. Důkazy:
{}
2. Důkazy:
{12}
3. Další informace:
{}
{13}
Žádám Policii ČR:
- přijmout veškerá opatření k objasnění a prošetření věci,
- vyslechnout svědky a zajistit důkazní materiály,
- podat podnět státnímu zástupci.
V {}
Podpis oznamovatele: {}
Podpis oznamovatele: {0}
*Toto není právní dokument, ale pouze vzor pro informativní účely. Pro právní poradenství se obraťte na kvalifikovaného právníka.*
)"};