Localization improvements : Empty spaces at the end of phrase are removed from dictionary.

+ new POT
This commit is contained in:
YuSanka 2019-05-11 23:29:25 +02:00
parent 6a0885002f
commit cd82b03a0e
12 changed files with 513 additions and 520 deletions
src/slic3r/GUI

View file

@ -683,7 +683,7 @@ void MainFrame::quick_slice(const int qs)
}
else if (qs & qsSaveAs) {
// The following line may die if the output_filename_format template substitution fails.
auto dlg = new wxFileDialog(this, _(L("Save ")) + (qs & qsExportSVG ? _(L("SVG")) : _(L("G-code"))) + _(L(" file as:")),
auto dlg = new wxFileDialog(this, wxString::Format(_(L("Save %s file as:") , (qs & qsExportSVG ? _(L("SVG")) : _(L("G-code")) ))),
wxGetApp().app_config->get_last_output_dir(get_dir_name(output_file)), get_base_name(input_file),
qs & qsExportSVG ? file_wildcards(FT_SVG) : file_wildcards(FT_GCODE),
wxFD_SAVE | wxFD_OVERWRITE_PROMPT);
@ -710,7 +710,9 @@ void MainFrame::quick_slice(const int qs)
}
// show processbar dialog
m_progress_dialog = new wxProgressDialog(_(L("Slicing")) + dots, _(L("Processing ")) + input_file_basename + "",
m_progress_dialog = new wxProgressDialog(_(L("Slicing")) + dots,
// TRN "Processing input_file_basename"
wxString::Format(_(L("Processing %s")), input_file_basename + dots),
100, this, 4);
m_progress_dialog->Pulse();
{