discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with localized


From: Sebastian Reitenbach
Subject: Problem with localized
Date: Sun, 29 May 2011 14:52:52 +0200
User-agent: SOGoMail 1.3.7

Hi,

on starting up Burn.app for the first time, I notices some garbage in the 
output of the localized string, used in the Alert Panel. The localized string 
is used this way:

        if (!params) {
                NSRunInformationalAlertPanel(APP_NAME,
                        [NSString stringWithFormat: 
_(@"AppController.runningFirstTime"), APP_NAME],
                        _(@"Common.OK"),nil,nil);
                [self showPrefPanel: nil];
        }

APP_NAME is defined this way:
NSString *APP_NAME = @"Burn.app";

The localized string is defined as:
"AppController.runningFirstTime"
= "%s seems to be running for the first time.\nPlease check the settings before 
you commence work.";

As far as I understand, APP_NAME should replace the %s, but in the Alert Panel, 
I see a bit of garbage, instead of Burn.app. The Alert Panel title is set to 
Burn.app, so APP_NAME is fine.

I use gnustep-core all the latest released versions on OpenBSD, and I see it 
with gcc-libobjc and the old libobjc.

Anyone can tell me what is wrong here?

cheers,
Sebastian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]