update locales

This commit is contained in:
GenevensiS
2025-06-09 17:04:18 +02:00
parent 87fbc0e80e
commit a401d68c9b
15 changed files with 347 additions and 29 deletions
+2
View File
@@ -124,6 +124,7 @@ void AddCSVWindow::onOk(wxCommandEvent&) {
auto in = std::ifstream(file_path->GetValue().ToStdString());
if (in.fail()) {
queue_message(MESSAGE_ERROR, _ERROR_("add card csv file not found"));
EndModal(wxID_ABORT);
return;
}
std::vector<std::vector<std::string>> table;
@@ -141,6 +142,7 @@ void AddCSVWindow::onOk(wxCommandEvent&) {
for (int y = 1; y < table.size(); ++y) {
if (table[y].size() != count) {
queue_message(MESSAGE_ERROR, _ERROR_1_("add card csv file malformed", wxString::Format(wxT("%i"), y+1)));
EndModal(wxID_ABORT);
return;
}
}