- Localization of the global popup menu name is removed as invidible to the end-user;
- In consistency with other applications, following units were replaced: MB -> MiB, KB -> KiB; Pointed out by Jean-Loic Charroud. Thanks. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40777 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -214,13 +214,13 @@ MemoryBarMenuItem::DrawBar(bool force)
|
||||
menu->SetHighColor(kBlack);
|
||||
|
||||
char infos[128];
|
||||
snprintf(infos, sizeof(infos), B_TRANSLATE("%d KB"), fWriteMemory);
|
||||
snprintf(infos, sizeof(infos), B_TRANSLATE("%d KiB"), fWriteMemory);
|
||||
|
||||
BPoint loc(rect.left - kMargin - gMemoryTextWidth / 2 - menu->StringWidth(infos),
|
||||
rect.bottom + 1);
|
||||
menu->DrawString(infos, loc);
|
||||
|
||||
snprintf(infos, sizeof(infos), B_TRANSLATE("%d KB"), fAllMemory);
|
||||
snprintf(infos, sizeof(infos), B_TRANSLATE("%d KiB"), fAllMemory);
|
||||
loc.x = rect.left - kMargin - menu->StringWidth(infos);
|
||||
menu->DrawString(infos, loc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user