Localize keymap names in Keymap preferences
This commit is contained in:
committed by
John Scipione
parent
d072da2344
commit
374cf8c85d
@@ -1,9 +1,13 @@
|
||||
SubDir HAIKU_TOP src preferences keymap ;
|
||||
|
||||
UseHeaders [ FDirName $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) data keymaps ] ;
|
||||
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
UsePrivateHeaders interface shared ;
|
||||
|
||||
Includes [ FGristFiles KeymapWindow.cpp ] : <keymap-locale>KeymapNames.h ;
|
||||
|
||||
Preference Keymap :
|
||||
KeyboardLayout.cpp
|
||||
KeyboardLayoutView.cpp
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#include "KeyboardLayoutView.h"
|
||||
#include "KeymapApplication.h"
|
||||
#include "KeymapListItem.h"
|
||||
#include "KeymapNames.h"
|
||||
|
||||
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
@@ -897,7 +898,8 @@ KeymapWindow::_FillSystemMaps()
|
||||
|
||||
if (directory.SetTo(path.Path()) == B_OK) {
|
||||
while (directory.GetNextRef(&ref) == B_OK) {
|
||||
fSystemListView->AddItem(new KeymapListItem(ref));
|
||||
fSystemListView->AddItem(
|
||||
new KeymapListItem(ref, B_TRANSLATE_NOCOLLECT(ref.name)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user