From 7234cb37085c1cb8b879436f2617e1044ceb0d7e Mon Sep 17 00:00:00 2001
From: Murai Takashi <tmurai01@gmail.com>
Date: Wed, 8 Mar 2017 06:29:46 +0900
Subject: [PATCH 37/37] libtracker: add B_TRANSLATE to List view menu.
---
src/kits/tracker/ContainerWindow.cpp | 2 +-
src/kits/tracker/VirtualDirectoryWindow.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/kits/tracker/ContainerWindow.cpp b/src/kits/tracker/ContainerWindow.cpp
index c6f33d6..83e8bda 100644
a
|
b
|
BContainerWindow::AddWindowMenu(BMenu* menu)
|
2020 | 2020 | item->SetTarget(PoseView()); |
2021 | 2021 | menu->AddItem(item); |
2022 | 2022 | |
2023 | | BMenu* listViewMenu = new BMenu("List view"); |
| 2023 | BMenu* listViewMenu = new BMenu(B_TRANSLATE("List view")); |
2024 | 2024 | |
2025 | 2025 | message = new BMessage(kListMode); |
2026 | 2026 | message->AddInt32("icon_size", B_MINI_ICON); |
diff --git a/src/kits/tracker/VirtualDirectoryWindow.cpp b/src/kits/tracker/VirtualDirectoryWindow.cpp
index ebff157..b28dc4f 100644
a
|
b
|
VirtualDirectoryWindow::AddWindowMenu(BMenu* menu)
|
136 | 136 | BMenuItem* item; |
137 | 137 | BMessage* message; |
138 | 138 | |
139 | | BMenu* listViewMenu = new BMenu("List view"); |
| 139 | BMenu* listViewMenu = new BMenu(B_TRANSLATE("List view")); |
140 | 140 | |
141 | 141 | message = new BMessage(kListMode); |
142 | 142 | message->AddInt32("icon_size", B_MINI_ICON); |