Localization: Updated POT + fixed some phrases

+ Updated wxLocale for BE dictionary
+ Updated community dictionaries
This commit is contained in:
YuSanka 2023-06-14 15:24:34 +02:00
parent cc45644a25
commit cb6262cb5f
32 changed files with 22867 additions and 21912 deletions

View file

@ -7492,8 +7492,9 @@ void GLCanvas3D::_set_warning_notification(EWarning warning, bool state)
std::string objName2 = conflict_result->_objName2;
double height = conflict_result->_height;
int layer = conflict_result->layer;
text = (boost::format(_u8L("Conflicts of gcode paths have been found at layer %d, z = %.2lf mm. Please separate the conflicted objects farther (%s <-> %s).")) % layer %
height % objName1 % objName2).str();
// TRN %3% is name of Object1, %4% is name of Object2
text = format(_u8L("Conflicts in G-code paths have been detected at layer %1%, z=%2$.2f mm. Please reposition the conflicting objects (%3% <-> %4%) further apart."),
layer, height, objName1, objName2);
error = ErrorType::SLICING_ERROR;
break;
}

View file

@ -605,6 +605,7 @@ wxString sla_wildcards(const char *formatid)
if (entry) {
FileWildcards wc;
std::string tr_title = I18N::translate_utf8(entry->desc);
// TRN %s = type of file
tr_title = GUI::format(_u8L("%s files"), tr_title);
wc.title = tr_title;

View file

@ -6678,7 +6678,7 @@ bool Plater::export_3mf(const boost::filesystem::path& output_path)
else {
// Failure
// p->statusbar()->set_status_text(format_wxstr(_L("Error exporting 3MF file %s"), path));
const wxString what = GUI::format_wxstr(_L("%1%: %2%"),_L("Unable to save file") , path_u8);
const wxString what = GUI::format_wxstr("%1%: %2%", _L("Unable to save file") , path_u8);
show_error(this, what);
}
return ret;