Remove GD_T() macro

This commit is contained in:
victorlevasseur
2015-07-07 13:30:13 +02:00
parent 92ff667e7f
commit 2fe320ee3b
131 changed files with 2510 additions and 2515 deletions
@@ -98,14 +98,14 @@ bool TextEntryObject::GenerateThumbnail(const gd::Project & project, wxBitmap &
void RuntimeTextEntryObject::GetPropertyForDebugger(unsigned int propertyNb, string & name, string & value) const
{
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");}
if ( propertyNb == 0 ) {name = _("Text in memory"); value = GetString();}
else if ( propertyNb == 1 ) {name = _("Activated \?"); value = activated ? _("Yes") : _("No");}
}
bool RuntimeTextEntryObject::ChangeProperty(unsigned int propertyNb, string newValue)
{
if ( propertyNb == 0 ) { SetString(newValue); return true; }
else if ( propertyNb == 1 ) { activated = (newValue != GD_T("No")); return true; }
else if ( propertyNb == 1 ) { activated = (newValue != _("No")); return true; }
return true;
}