<commit_before>#include <Bitmap.h>
#include <Directory.h>
#include <Message.h>
#include <List.h>
#include <NodeInfo.h>
#include <String.h>
#include <Roster.h>
#include <Alert.h>
#include <NodeMonitor.h>
#include <Volume.h>
#include <VolumeRoster.h>
#include <MessageRunner.h>
#include <Region.h>
#include <malloc.h>
#include <locale/Locale.h>

#include "InnerPanelIcons.h"
#include "PanelWindow.h"
#include "TrackerMenus.h"
#include "InnerPanel.h"
#include "PanelWindowView.h"
#include "RosterPrivate.h"
#include "OffscreenView.h"

#include "WindowMenuItem.h" // for nasty stuff

#include <ObjectList.h>
#include "FSUtils.h"
#include "Commands.h"

#include "tracker_private.h"

#include "ResourceSet.h"
#include "othericons.h"

#include <Catalog.h>
#include <Locale.h>

#include <Screen.h>

#define B_TRANSLATE_CONTEXT "inner-panel-icons"

using namespace BPrivate;

bool
WindowShouldBeListed(uint32 behavior);

BBitmap* GetTrackerIcon(BEntry *e, icon_size which)
{
    entry_ref ref;    
    BBitmap *bmp = NULL;

    if(which==kDefaultSmallIconSize)
        bmp = new BBitmap(BRect(0,0,31,31), B_RGBA32);
    else
        bmp = new BBitmap(BRect(0,0,47,47), B_RGBA32);

    if(e->GetRef(&ref) == B_OK) {
        if(BNodeInfo::GetTrackerIcon(&ref, bmp, which) == B_OK) {
            return bmp;
        }
    }
    return NULL;
} 
<commit_msg>Update to change B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT<commit_after>#include <Bitmap.h>
#include <Directory.h>
#include <Message.h>
#include <List.h>
#include <NodeInfo.h>
#include <String.h>
#include <Roster.h>
#include <Alert.h>
#include <NodeMonitor.h>
#include <Volume.h>
#include <VolumeRoster.h>
#include <MessageRunner.h>
#include <Region.h>
#include <malloc.h>
#include <locale/Locale.h>

#include "InnerPanelIcons.h"
#include "PanelWindow.h"
#include "TrackerMenus.h"
#include "InnerPanel.h"
#include "PanelWindowView.h"
#include "RosterPrivate.h"
#include "OffscreenView.h"

#include "WindowMenuItem.h" // for nasty stuff

#include <ObjectList.h>
#include "FSUtils.h"
#include "Commands.h"

#include "tracker_private.h"

#include "ResourceSet.h"
#include "othericons.h"

#include <Catalog.h>
#include <Locale.h>

#include <Screen.h>

#define B_TRANSLATION_CONTEXT "inner-panel-icons"

using namespace BPrivate;

bool
WindowShouldBeListed(uint32 behavior);

BBitmap* GetTrackerIcon(BEntry *e, icon_size which)
{
    entry_ref ref;    
    BBitmap *bmp = NULL;

    if(which==kDefaultSmallIconSize)
        bmp = new BBitmap(BRect(0,0,31,31), B_RGBA32);
    else
        bmp = new BBitmap(BRect(0,0,47,47), B_RGBA32);

    if(e->GetRef(&ref) == B_OK) {
        if(BNodeInfo::GetTrackerIcon(&ref, bmp, which) == B_OK) {
            return bmp;
        }
    }
    return NULL;
} 

{'fraction_non_alphanumeric': 0.14901387874360847, 'fraction_numerical': 0.013148283418553688, 'mean_word_length': 4.5, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1430309', 'n_tokens_mistral': 1058, 'n_tokens_neox': 1054, 'n_words': 217}