Fix translation issues with grand-prixs
This commit is contained in:
parent
0b9876c53e
commit
af88b4a16f
@ -148,7 +148,7 @@ public:
|
||||
// ------------------------------------------------------------------------
|
||||
/** @return the (potentially translated) user-visible name of the Grand
|
||||
* Prix (apply fribidi as needed) */
|
||||
irr::core::stringw getName() const { return _LTR(m_name.c_str()); }
|
||||
irr::core::stringw getName() const { return m_editable ? m_name.c_str() : _LTR(m_name.c_str()); }
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
/** @return the internal indentifier of the Grand Prix (not translated) */
|
||||
|
@ -161,7 +161,7 @@ void GrandPrixEditorScreen::setSelection (const GrandPrixData* gpdata)
|
||||
if (gpdata == NULL)
|
||||
{
|
||||
m_selection = NULL;
|
||||
gpname_widget->setText (L"Please select a Grand Prix", true);
|
||||
gpname_widget->setText (_("Please select a Grand Prix"), true);
|
||||
tracks_widget->clearItems();
|
||||
tracks_widget->updateItemDisplay();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user