Extensions and GDJS now use GD_T where it is possible

This commit is contained in:
victorlevasseur
2015-03-29 22:28:25 +02:00
parent e66fe1ae90
commit c4e899465a
18 changed files with 121 additions and 121 deletions
@@ -84,14 +84,14 @@ bool TextEntryObject::GenerateThumbnail(const gd::Project & project, wxBitmap &
void RuntimeTextEntryObject::GetPropertyForDebugger(unsigned int propertyNb, string & name, string & value) const
{
if ( propertyNb == 0 ) {name = _("Text in memory"); value = GetString();}
else if ( propertyNb == 1 ) {name = _("Activated \?"); value = activated ? _("Yes") : _("No");}
if ( propertyNb == 0 ) {name = GD_T("Text in memory"); value = GetString();}
else if ( propertyNb == 1 ) {name = GD_T("Activated \?"); value = activated ? GD_T("Yes") : GD_T("No");}
}
bool RuntimeTextEntryObject::ChangeProperty(unsigned int propertyNb, string newValue)
{
if ( propertyNb == 0 ) { SetString(newValue); return true; }
else if ( propertyNb == 1 ) { activated = (newValue != _("No")); return true; }
else if ( propertyNb == 1 ) { activated = (newValue != GD_T("No")); return true; }
return true;
}