Ticket #13367: 0037-libtracker-add-B_TRANSLATE-to-List-view-menu.patch

File 0037-libtracker-add-B_TRANSLATE-to-List-view-menu.patch, 1.4 KB (added by mt, 8 years ago)
  • src/kits/tracker/ContainerWindow.cpp

    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)  
    20202020    item->SetTarget(PoseView());
    20212021    menu->AddItem(item);
    20222022
    2023     BMenu* listViewMenu = new BMenu("List view");
     2023    BMenu* listViewMenu = new BMenu(B_TRANSLATE("List view"));
    20242024
    20252025    message = new BMessage(kListMode);
    20262026    message->AddInt32("icon_size", B_MINI_ICON);
  • src/kits/tracker/VirtualDirectoryWindow.cpp

    diff --git a/src/kits/tracker/VirtualDirectoryWindow.cpp b/src/kits/tracker/VirtualDirectoryWindow.cpp
    index ebff157..b28dc4f 100644
    a b VirtualDirectoryWindow::AddWindowMenu(BMenu* menu)  
    136136    BMenuItem* item;
    137137    BMessage* message;
    138138
    139     BMenu* listViewMenu = new BMenu("List view");
     139    BMenu* listViewMenu = new BMenu(B_TRANSLATE("List view"));
    140140
    141141    message = new BMessage(kListMode);
    142142    message->AddInt32("icon_size", B_MINI_ICON);