Ticket #7528: bsnow-localization.patch

File bsnow-localization.patch, 1.3 KB (added by humdinger, 13 years ago)

Patch to localize BSnow

  • src/apps/bsnow/Jamfile

     
    66    Flakes.cpp
    77    SnowView.cpp
    88    SnowApp.cpp
    9     : be $(TARGET_LIBSUPC++)
     9    : be $(TARGET_LIBSUPC++) $(HAIKU_LOCALE_LIBS)
    1010    : BSnow.rdef
    1111    ;
     12
     13DoCatalogs BSnow :
     14    x-vnd.mmu_man.BSnow
     15    :
     16    SnowView.h
     17    ;
  • src/apps/bsnow/SnowView.h

     
    33
    44
    55#include <Bitmap.h>
     6#include <Catalog.h>
    67#include <Dragger.h>
    78#include <List.h>
     9#include <MessageRunner.h>
    810#include <OS.h>
    911#include <View.h>
    10 #include <MessageRunner.h>
    1112
    1213#include "Flakes.h"
    1314
     
    2627#define FALLEN_HEIGHT 30
    2728#define INVALIDATOR_THREAD_NAME "You're Neo? I'm the Snow Maker!"
    2829
    29 #define MSG_DRAG_ME "Drag me on your desktop..."
    30 #define MSG_CLICK_ME "Click me to remove BSnow..."
     30#undef B_TRANSLATE_CONTEXT
     31#define B_TRANSLATE_CONTEXT "BSnow"
    3132
     33#define MSG_DRAG_ME B_TRANSLATE("Drag me on your desktop...")
     34#define MSG_CLICK_ME B_TRANSLATE("Click me to remove BSnow...")
    3235
     36
    3337typedef struct flake {
    3438    BPoint pos;
    3539    BPoint opos;