Fix locale variables names violating style policy.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39555 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2010-11-21 13:26:55 +00:00
parent 7e4d0ca539
commit 95d32039c6
+13 -13
View File
@@ -24,37 +24,37 @@ ConfigView::ConfigView(uint32 flags)
{ {
SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
BStringView* fTitle = new BStringView("title", "WebP Images"); BStringView* title = new BStringView("title", "WebP Images");
fTitle->SetFont(be_bold_font); title->SetFont(be_bold_font);
char version[256]; char versionString[256];
sprintf(version, "Version %d.%d.%d, %s", sprintf(versionString, "Version %d.%d.%d, %s",
int(B_TRANSLATION_MAJOR_VERSION(WEBP_TRANSLATOR_VERSION)), int(B_TRANSLATION_MAJOR_VERSION(WEBP_TRANSLATOR_VERSION)),
int(B_TRANSLATION_MINOR_VERSION(WEBP_TRANSLATOR_VERSION)), int(B_TRANSLATION_MINOR_VERSION(WEBP_TRANSLATOR_VERSION)),
int(B_TRANSLATION_REVISION_VERSION(WEBP_TRANSLATOR_VERSION)), int(B_TRANSLATION_REVISION_VERSION(WEBP_TRANSLATOR_VERSION)),
__DATE__); __DATE__);
BStringView* fVersion = new BStringView("version", version); BStringView* version = new BStringView("version", versionString);
BStringView* fCopyright = new BStringView("copyright", BStringView* copyright = new BStringView("copyright",
B_UTF8_COPYRIGHT "2010 Haiku Inc."); B_UTF8_COPYRIGHT "2010 Haiku Inc.");
BStringView* fCopyright2 = new BStringView("copyright2", BStringView* copyright2 = new BStringView("copyright2",
"Based on libwebp v0.1"); "Based on libwebp v0.1");
BStringView* fCopyright3 = new BStringView("copyright3", BStringView* copyright3 = new BStringView("copyright3",
B_UTF8_COPYRIGHT "2010 Google Inc."); B_UTF8_COPYRIGHT "2010 Google Inc.");
// Build the layout // Build the layout
SetLayout(new BGroupLayout(B_HORIZONTAL)); SetLayout(new BGroupLayout(B_HORIZONTAL));
AddChild(BGroupLayoutBuilder(B_VERTICAL, 7) AddChild(BGroupLayoutBuilder(B_VERTICAL, 7)
.Add(fTitle) .Add(title)
.AddGlue() .AddGlue()
.Add(fVersion) .Add(version)
.Add(fCopyright) .Add(copyright)
.AddGlue() .AddGlue()
.Add(fCopyright2) .Add(copyright2)
.Add(fCopyright3) .Add(copyright3)
.AddGlue() .AddGlue()
.SetInsets(5, 5, 5, 5) .SetInsets(5, 5, 5, 5)
); );