More translation fixes detected by Mechtilde and reported on IRC

This commit is contained in:
Geert Janssens 2018-01-27 14:12:27 +01:00
parent c7415102fd
commit 6e5ac2608b
2 changed files with 2 additions and 2 deletions

View File

@ -747,7 +747,7 @@ void CsvImpPriceAssist::preview_populate_settings_combo()
* For now this is safe, because the shared pointers in this case are
* long-lived, but this may need refactoring.
*/
gtk_list_store_set (GTK_LIST_STORE(model), &iter, SET_GROUP, preset.get(), SET_NAME, preset->m_name.c_str(), -1);
gtk_list_store_set (GTK_LIST_STORE(model), &iter, SET_GROUP, preset.get(), SET_NAME, _(preset->m_name.c_str()), -1);
}
}

View File

@ -687,7 +687,7 @@ void CsvImpTransAssist::preview_populate_settings_combo()
* For now this is safe, because the shared pointers in this case are
* long-lived, but this may need refactoring.
*/
gtk_list_store_set (GTK_LIST_STORE(model), &iter, SET_GROUP, preset.get(), SET_NAME, preset->m_name.c_str(), -1);
gtk_list_store_set (GTK_LIST_STORE(model), &iter, SET_GROUP, preset.get(), SET_NAME, _(preset->m_name.c_str()), -1);
}
}