Ticket #9029: 0003-Corrected-system-name-translation.patch

File 0003-Corrected-system-name-translation.patch, 1.3 KB (added by dsjonny, 7 years ago)
  • src/tests/kits/game/chart/Chart.cpp

    From a0561d601abf93abc7cc71f2ff34444c17773037 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Dancs=C3=B3=20R=C3=B3bert?= <dancso.robert@d-rendszer.hu>
    Date: Sat, 5 Jan 2013 20:52:17 +0100
    Subject: [PATCH 3/3] Corrected system name translation.
    
    ---
     src/tests/kits/game/chart/Chart.cpp  |    2 +-
     src/tests/kits/game/chart/Chart.rdef |    4 +++-
     2 files changed, 4 insertions(+), 2 deletions(-)
    
    diff --git a/src/tests/kits/game/chart/Chart.cpp b/src/tests/kits/game/chart/Chart.cpp
    index 0dad69f..44504e7 100644
    a b main()  
    3131}
    3232
    3333
    34 ChartApp::ChartApp() : BApplication("application/x-vnd.Be.ChartDemo")
     34ChartApp::ChartApp() : BApplication("application/x-vnd.Haiku.ChartDemo")
    3535{
    3636    fWindow = new ChartWindow(BRect(120, 150, 965, 591),
    3737        B_TRANSLATE_SYSTEM_NAME("Chart"));
  • src/tests/kits/game/chart/Chart.rdef

    diff --git a/src/tests/kits/game/chart/Chart.rdef b/src/tests/kits/game/chart/Chart.rdef
    index 90f7ac6..7834deb 100644
    a b  
    11
    2 resource app_signature "application/x-vnd.Be.ChartDemo";
     2resource app_signature "application/x-vnd.Haiku-ChartDemo";
     3
     4resource app_name_catalog_entry "x-vnd.Haiku-ChartDemo:System name:Chart";
    35
    46resource app_flags B_MULTIPLE_LAUNCH;
    57