Fixes non-localized strings of the Devices application.
Closes ticket #7245. Signed-off-by: Humdinger <[email protected]>
This commit is contained in:
committed by
Humdinger
parent
8b371b91e4
commit
ae8811a418
@@ -73,6 +73,34 @@ Device::~Device()
|
||||
}
|
||||
|
||||
|
||||
BString
|
||||
Device::GetName()
|
||||
{
|
||||
return fAttributeMap[B_TRANSLATE("Device name")];
|
||||
}
|
||||
|
||||
|
||||
BString
|
||||
Device::GetManufacturer()
|
||||
{
|
||||
return fAttributeMap[B_TRANSLATE("Manufacturer")];
|
||||
}
|
||||
|
||||
|
||||
BString
|
||||
Device::GetDriverUsed()
|
||||
{
|
||||
return fAttributeMap[B_TRANSLATE("Driver used")];
|
||||
}
|
||||
|
||||
|
||||
BString
|
||||
Device::GetDevPathsPublished()
|
||||
{
|
||||
return fAttributeMap[B_TRANSLATE("Device paths")];
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
Device::SetAttribute(const BString& name, const BString& value)
|
||||
{
|
||||
|
||||
@@ -81,14 +81,10 @@ public:
|
||||
const BString& devPathsPublished = "unknown");
|
||||
virtual ~Device();
|
||||
|
||||
virtual BString GetName()
|
||||
{ return fAttributeMap["Device name"]; }
|
||||
virtual BString GetManufacturer()
|
||||
{ return fAttributeMap["Manufacturer"]; }
|
||||
virtual BString GetDriverUsed()
|
||||
{ return fAttributeMap["Driver used"]; }
|
||||
virtual BString GetDevPathsPublished()
|
||||
{ return fAttributeMap["Device paths"]; }
|
||||
virtual BString GetName();
|
||||
virtual BString GetManufacturer();
|
||||
virtual BString GetDriverUsed();
|
||||
virtual BString GetDevPathsPublished();
|
||||
virtual Category GetCategory() const
|
||||
{ return fCategory; }
|
||||
virtual Device* GetPhysicalParent() const
|
||||
|
||||
Reference in New Issue
Block a user