Default decorator: localize about box.
This commit is contained in:
@@ -15,10 +15,14 @@
|
|||||||
#include <FindDirectory.h>
|
#include <FindDirectory.h>
|
||||||
#include <Path.h>
|
#include <Path.h>
|
||||||
#include <Resources.h>
|
#include <Resources.h>
|
||||||
|
#include <SystemCatalog.h>
|
||||||
|
|
||||||
#include <DecoratorPrivate.h>
|
#include <DecoratorPrivate.h>
|
||||||
|
|
||||||
|
|
||||||
|
#define B_TRANSLATION_CONTEXT "Default decorator about box"
|
||||||
|
|
||||||
|
|
||||||
namespace BPrivate {
|
namespace BPrivate {
|
||||||
|
|
||||||
|
|
||||||
@@ -258,9 +262,7 @@ DecorInfo::_Init(bool isUpdate)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
fName = "Default";
|
|
||||||
fAuthors = "DarkWyrm, Stephan Aßmus, Clemens Zeidler, Ingo Weinhold";
|
fAuthors = "DarkWyrm, Stephan Aßmus, Clemens Zeidler, Ingo Weinhold";
|
||||||
fShortDescription = "Default Haiku window decorator.";
|
|
||||||
fLongDescription = fShortDescription;
|
fLongDescription = fShortDescription;
|
||||||
fLicenseURL = "http://";
|
fLicenseURL = "http://";
|
||||||
fLicenseName = "MIT";
|
fLicenseName = "MIT";
|
||||||
@@ -268,6 +270,12 @@ DecorInfo::_Init(bool isUpdate)
|
|||||||
fVersion = 0.5;
|
fVersion = 0.5;
|
||||||
fInitStatus = B_OK;
|
fInitStatus = B_OK;
|
||||||
|
|
||||||
|
fName = gSystemCatalog.GetString(B_TRANSLATE_MARK("Default"),
|
||||||
|
B_TRANSLATION_CONTEXT);
|
||||||
|
fShortDescription = gSystemCatalog.GetString(B_TRANSLATE_MARK(
|
||||||
|
"Default Haiku window decorator."),
|
||||||
|
B_TRANSLATION_CONTEXT);
|
||||||
|
|
||||||
// The following is to get the modification time of the app_server
|
// The following is to get the modification time of the app_server
|
||||||
// and, thusly, the Default decorator...
|
// and, thusly, the Default decorator...
|
||||||
// If you can make it more simple, please do!
|
// If you can make it more simple, please do!
|
||||||
|
|||||||
Reference in New Issue
Block a user