* fixed all build warnings by collectcatkeys that I found
* automatic whitespace cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37747 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -250,7 +250,7 @@ DefaultPartitionPage::_CreatePopUpMenu()
|
|||||||
void
|
void
|
||||||
DefaultPartitionPage::_GetTimeoutLabel(int32 timeout, BString& label)
|
DefaultPartitionPage::_GetTimeoutLabel(int32 timeout, BString& label)
|
||||||
{
|
{
|
||||||
const char* text = B_TRANSLATE(get_label_for_timeout(timeout));
|
const char* text = B_TRANSLATE_NOCOLLECT(get_label_for_timeout(timeout));
|
||||||
label = B_TRANSLATE("Timeout: %s");
|
label = B_TRANSLATE("Timeout: %s");
|
||||||
label.ReplaceFirst("%s", text);
|
label.ReplaceFirst("%s", text);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -170,7 +170,8 @@ TBeMenu::AddNextItem()
|
|||||||
bool enabled = false;
|
bool enabled = false;
|
||||||
|
|
||||||
for (int i = 0; i < recentTypes; i++) {
|
for (int i = 0; i < recentTypes; i++) {
|
||||||
recentItem[i] = new TRecentsMenu(B_TRANSLATE(recentTitle[i]),
|
recentItem[i]
|
||||||
|
= new TRecentsMenu(B_TRANSLATE_NOCOLLECT(recentTitle[i]),
|
||||||
fBarView, recentType[i]);
|
fBarView, recentType[i]);
|
||||||
|
|
||||||
if (recentItem[i])
|
if (recentItem[i])
|
||||||
@@ -252,9 +253,9 @@ TBeMenu::AddStandardBeMenuItems()
|
|||||||
|
|
||||||
item = new BMenuItem(
|
item = new BMenuItem(
|
||||||
#ifdef HAIKU_DISTRO_COMPATIBILITY_OFFICIAL
|
#ifdef HAIKU_DISTRO_COMPATIBILITY_OFFICIAL
|
||||||
B_TRANSLATE(kAboutHaikuMenuItemStr)
|
B_TRANSLATE_NOCOLLECT(kAboutHaikuMenuItemStr)
|
||||||
#else
|
#else
|
||||||
B_TRANSLATE(kAboutThisSystemMenuItemStr)
|
B_TRANSLATE_NOCOLLECT(kAboutThisSystemMenuItemStr)
|
||||||
#endif
|
#endif
|
||||||
, new BMessage(kShowSplash));
|
, new BMessage(kShowSplash));
|
||||||
item->SetEnabled(!dragging);
|
item->SetEnabled(!dragging);
|
||||||
@@ -268,7 +269,7 @@ TBeMenu::AddStandardBeMenuItems()
|
|||||||
TrackerBuildRecentFindItemsMenu(kFindMenuItemStr),
|
TrackerBuildRecentFindItemsMenu(kFindMenuItemStr),
|
||||||
new BMessage(kFindButton));
|
new BMessage(kFindButton));
|
||||||
#else
|
#else
|
||||||
item = new BMenuItem(B_TRANSLATE(kFindMenuItemStr),
|
item = new BMenuItem(B_TRANSLATE_NOCOLLECT(kFindMenuItemStr),
|
||||||
new BMessage(kFindButton));
|
new BMessage(kFindButton));
|
||||||
#endif
|
#endif
|
||||||
item->SetEnabled(!dragging);
|
item->SetEnabled(!dragging);
|
||||||
@@ -284,7 +285,7 @@ TBeMenu::AddStandardBeMenuItems()
|
|||||||
|
|
||||||
#ifdef MOUNT_MENU_IN_DESKBAR
|
#ifdef MOUNT_MENU_IN_DESKBAR
|
||||||
DeskbarMountMenu* mountMenu = new DeskbarMountMenu(
|
DeskbarMountMenu* mountMenu = new DeskbarMountMenu(
|
||||||
B_TRANSLATE(kMountMenuStr));
|
B_TRANSLATE_NOCOLLECT(kMountMenuStr));
|
||||||
mountMenu->SetEnabled(!dragging);
|
mountMenu->SetEnabled(!dragging);
|
||||||
AddItem(mountMenu);
|
AddItem(mountMenu);
|
||||||
#endif
|
#endif
|
||||||
@@ -307,7 +308,7 @@ TBeMenu::AddStandardBeMenuItems()
|
|||||||
static const char* kSuspendMenuItemStr = B_TRANSLATE_MARK("Suspend");
|
static const char* kSuspendMenuItemStr = B_TRANSLATE_MARK("Suspend");
|
||||||
|
|
||||||
if (_kapm_control_(APM_CHECK_ENABLED) == B_OK) {
|
if (_kapm_control_(APM_CHECK_ENABLED) == B_OK) {
|
||||||
item = new BMenuItem(B_TRANSLATE(kSuspendMenuItemStr),
|
item = new BMenuItem(B_TRANSLATE_NOCOLLECT(kSuspendMenuItemStr),
|
||||||
new BMessage(kSuspendSystem));
|
new BMessage(kSuspendSystem));
|
||||||
item->SetEnabled(!dragging);
|
item->SetEnabled(!dragging);
|
||||||
shutdownMenu->AddItem(item);
|
shutdownMenu->AddItem(item);
|
||||||
|
|||||||
@@ -232,7 +232,7 @@ PairsWindow::MessageReceived(BMessage* message)
|
|||||||
strAbout.Replace("%s", score.String(), 1);
|
strAbout.Replace("%s", score.String(), 1);
|
||||||
|
|
||||||
BAlert* alert = new BAlert("about",
|
BAlert* alert = new BAlert("about",
|
||||||
B_TRANSLATE(strAbout.String()),
|
strAbout.String(),
|
||||||
B_TRANSLATE("New game"),
|
B_TRANSLATE("New game"),
|
||||||
B_TRANSLATE("Quit game"));
|
B_TRANSLATE("Quit game"));
|
||||||
|
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ ScreenshotWindow::ScreenshotWindow(const Utility& utility, bool silent,
|
|||||||
_ReadSettings();
|
_ReadSettings();
|
||||||
|
|
||||||
// _NewScreenshot() needs a valid fNameControl
|
// _NewScreenshot() needs a valid fNameControl
|
||||||
BString name(B_TRANSLATE(fUtility.sDefaultFileNameBase));
|
BString name(B_TRANSLATE_NOCOLLECT(fUtility.sDefaultFileNameBase));
|
||||||
name << 1;
|
name << 1;
|
||||||
name = _FindValidFileName(name.String());
|
name = _FindValidFileName(name.String());
|
||||||
fNameControl = new BTextControl("", B_TRANSLATE("Name:"), name, NULL);
|
fNameControl = new BTextControl("", B_TRANSLATE("Name:"), name, NULL);
|
||||||
@@ -681,7 +681,8 @@ ScreenshotWindow::_FindValidFileName(const char* name)
|
|||||||
if (!BEntry(outputPath.Path()).Exists())
|
if (!BEntry(outputPath.Path()).Exists())
|
||||||
return fileName;
|
return fileName;
|
||||||
|
|
||||||
if (baseName.FindFirst(B_TRANSLATE(fUtility.sDefaultFileNameBase)) == 0)
|
if (baseName.FindFirst(B_TRANSLATE_NOCOLLECT(
|
||||||
|
fUtility.sDefaultFileNameBase)) == 0)
|
||||||
baseName.SetTo(fUtility.sDefaultFileNameBase);
|
baseName.SetTo(fUtility.sDefaultFileNameBase);
|
||||||
|
|
||||||
BEntry entry;
|
BEntry entry;
|
||||||
|
|||||||
@@ -97,8 +97,8 @@ Utility::Save(BBitmap** screenshot, const char* fileName, uint32 imageType)
|
|||||||
BString extension = GetFileNameExtension(imageType);
|
BString extension = GetFileNameExtension(imageType);
|
||||||
do {
|
do {
|
||||||
fileNameString.SetTo(homePath.Path());
|
fileNameString.SetTo(homePath.Path());
|
||||||
fileNameString << "/" << B_TRANSLATE(sDefaultFileNameBase) << index++
|
fileNameString << "/" << B_TRANSLATE_NOCOLLECT(sDefaultFileNameBase)
|
||||||
<< extension;
|
<< index++ << extension;
|
||||||
entry.SetTo(fileNameString.String());
|
entry.SetTo(fileNameString.String());
|
||||||
} while (entry.Exists());
|
} while (entry.Exists());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -781,7 +781,8 @@ InitCopy(CopyLoopControl* loopControl, uint32 moveMode,
|
|||||||
// check for free space before starting copy
|
// check for free space before starting copy
|
||||||
if ((totalSize + (4 * kKBSize)) >= dstVol->FreeBytes()) {
|
if ((totalSize + (4 * kKBSize)) >= dstVol->FreeBytes()) {
|
||||||
BAlert* alert = new BAlert("",
|
BAlert* alert = new BAlert("",
|
||||||
B_TRANSLATE(kNoFreeSpace), B_TRANSLATE("Cancel"),
|
B_TRANSLATE_NOCOLLECT(kNoFreeSpace),
|
||||||
|
B_TRANSLATE("Cancel"),
|
||||||
0, 0, B_WIDTH_AS_USUAL, B_WARNING_ALERT);
|
0, 0, B_WIDTH_AS_USUAL, B_WARNING_ALERT);
|
||||||
alert->SetShortcut(0, B_ESCAPE);
|
alert->SetShortcut(0, B_ESCAPE);
|
||||||
alert->Go();
|
alert->Go();
|
||||||
@@ -1084,8 +1085,8 @@ CopyFile(BEntry *srcFile, StatStruct *srcStat, BDirectory *destDir,
|
|||||||
|
|
||||||
// check for free space first
|
// check for free space first
|
||||||
if ((srcStat->st_size + kKBSize) >= volume.FreeBytes()) {
|
if ((srcStat->st_size + kKBSize) >= volume.FreeBytes()) {
|
||||||
loopControl->FileError(B_TRANSLATE(kNoFreeSpace), "", B_DEVICE_FULL,
|
loopControl->FileError(B_TRANSLATE_NOCOLLECT(kNoFreeSpace), "",
|
||||||
false);
|
B_DEVICE_FULL, false);
|
||||||
throw (status_t)B_DEVICE_FULL;
|
throw (status_t)B_DEVICE_FULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1131,8 +1132,8 @@ CopyFile(BEntry *srcFile, StatStruct *srcStat, BDirectory *destDir,
|
|||||||
throw (status_t)err;
|
throw (status_t)err;
|
||||||
|
|
||||||
if (err != B_OK) {
|
if (err != B_OK) {
|
||||||
if (!loopControl->FileError(B_TRANSLATE(kFileErrorString), destName,
|
if (!loopControl->FileError(B_TRANSLATE_NOCOLLECT(kFileErrorString),
|
||||||
err, true)) {
|
destName, err, true)) {
|
||||||
throw (status_t)err;
|
throw (status_t)err;
|
||||||
} else {
|
} else {
|
||||||
// user selected continue in spite of error, update status bar
|
// user selected continue in spite of error, update status bar
|
||||||
@@ -1453,8 +1454,8 @@ CopyFolder(BEntry *srcEntry, BDirectory *destDir, CopyLoopControl *loopControl,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (err != B_OK) {
|
if (err != B_OK) {
|
||||||
if (!loopControl->FileError(B_TRANSLATE(kFolderErrorString),
|
if (!loopControl->FileError(B_TRANSLATE_NOCOLLECT(
|
||||||
destName, err, true)) {
|
kFolderErrorString), destName, err, true)) {
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1956,7 +1957,7 @@ PreFlightNameCheck(BObjectList<entry_ref> *srcList, const BDirectory *destDir,
|
|||||||
if (*collisionCount > 1) {
|
if (*collisionCount > 1) {
|
||||||
const char* verb = (moveMode == kMoveSelectionTo)
|
const char* verb = (moveMode == kMoveSelectionTo)
|
||||||
? B_TRANSLATE("moving") : B_TRANSLATE("copying");
|
? B_TRANSLATE("moving") : B_TRANSLATE("copying");
|
||||||
BString replaceMsg(B_TRANSLATE(kReplaceManyStr));
|
BString replaceMsg(B_TRANSLATE_NOCOLLECT(kReplaceManyStr));
|
||||||
replaceMsg.ReplaceAll("%verb", verb);
|
replaceMsg.ReplaceAll("%verb", verb);
|
||||||
|
|
||||||
BAlert* alert = new BAlert("", replaceMsg.String(),
|
BAlert* alert = new BAlert("", replaceMsg.String(),
|
||||||
@@ -2081,10 +2082,10 @@ CheckName(uint32 moveMode, const BEntry *sourceEntry,
|
|||||||
BString replaceMsg;
|
BString replaceMsg;
|
||||||
|
|
||||||
if (moveMode == kCreateLink || moveMode == kCreateRelativeLink) {
|
if (moveMode == kCreateLink || moveMode == kCreateRelativeLink) {
|
||||||
replaceMsg.SetTo(B_TRANSLATE(kSymLinkReplaceStr));
|
replaceMsg.SetTo(B_TRANSLATE_NOCOLLECT(kSymLinkReplaceStr));
|
||||||
replaceMsg.ReplaceFirst("%name", name);
|
replaceMsg.ReplaceFirst("%name", name);
|
||||||
} else if (sourceEntry->IsDirectory()) {
|
} else if (sourceEntry->IsDirectory()) {
|
||||||
replaceMsg.SetTo(B_TRANSLATE(kDirectoryReplaceStr));
|
replaceMsg.SetTo(B_TRANSLATE_NOCOLLECT(kDirectoryReplaceStr));
|
||||||
replaceMsg.ReplaceFirst("%name", name);
|
replaceMsg.ReplaceFirst("%name", name);
|
||||||
replaceMsg.ReplaceFirst("%verb",
|
replaceMsg.ReplaceFirst("%verb",
|
||||||
moveMode == kMoveSelectionTo
|
moveMode == kMoveSelectionTo
|
||||||
@@ -2105,7 +2106,7 @@ CheckName(uint32 moveMode, const BEntry *sourceEntry,
|
|||||||
else
|
else
|
||||||
destBuffer[0] = '\0';
|
destBuffer[0] = '\0';
|
||||||
|
|
||||||
replaceMsg.SetTo(B_TRANSLATE(kReplaceStr));
|
replaceMsg.SetTo(B_TRANSLATE_NOCOLLECT(kReplaceStr));
|
||||||
replaceMsg.ReplaceAll("%name", name);
|
replaceMsg.ReplaceAll("%name", name);
|
||||||
replaceMsg.ReplaceFirst("%dest", destBuffer);
|
replaceMsg.ReplaceFirst("%dest", destBuffer);
|
||||||
replaceMsg.ReplaceFirst("%src", sourceBuffer);
|
replaceMsg.ReplaceFirst("%src", sourceBuffer);
|
||||||
@@ -2195,8 +2196,8 @@ FSDeleteFolder(BEntry *dir_entry, CopyLoopControl *loopControl,
|
|||||||
else if (err == B_OK)
|
else if (err == B_OK)
|
||||||
dir.Rewind();
|
dir.Rewind();
|
||||||
else {
|
else {
|
||||||
loopControl->FileError(B_TRANSLATE(kFileDeleteErrorString),
|
loopControl->FileError(B_TRANSLATE_NOCOLLECT(
|
||||||
ref.name, err, false);
|
kFileDeleteErrorString), ref.name, err, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2781,9 +2782,10 @@ _DeleteTask(BObjectList<entry_ref> *list, bool confirm)
|
|||||||
|
|
||||||
if (!dontMoveToTrash) {
|
if (!dontMoveToTrash) {
|
||||||
BAlert* alert = new BAlert("",
|
BAlert* alert = new BAlert("",
|
||||||
B_TRANSLATE(kDeleteConfirmationStr), B_TRANSLATE("Cancel"),
|
B_TRANSLATE_NOCOLLECT(kDeleteConfirmationStr),
|
||||||
B_TRANSLATE("Move to Trash"), B_TRANSLATE("Delete"),
|
B_TRANSLATE("Cancel"), B_TRANSLATE("Move to Trash"),
|
||||||
B_WIDTH_AS_USUAL, B_OFFSET_SPACING, B_WARNING_ALERT);
|
B_TRANSLATE("Delete"), B_WIDTH_AS_USUAL, B_OFFSET_SPACING,
|
||||||
|
B_WARNING_ALERT);
|
||||||
|
|
||||||
alert->SetShortcut(0, B_ESCAPE);
|
alert->SetShortcut(0, B_ESCAPE);
|
||||||
alert->SetShortcut(1, 'm');
|
alert->SetShortcut(1, 'm');
|
||||||
@@ -2799,9 +2801,9 @@ _DeleteTask(BObjectList<entry_ref> *list, bool confirm)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
BAlert* alert = new BAlert("",
|
BAlert* alert = new BAlert("",
|
||||||
B_TRANSLATE(kDeleteConfirmationStr), B_TRANSLATE("Cancel"),
|
B_TRANSLATE_NOCOLLECT(kDeleteConfirmationStr),
|
||||||
B_TRANSLATE("Delete"), NULL, B_WIDTH_AS_USUAL,
|
B_TRANSLATE("Cancel"), B_TRANSLATE("Delete"), NULL,
|
||||||
B_OFFSET_SPACING, B_WARNING_ALERT);
|
B_WIDTH_AS_USUAL, B_OFFSET_SPACING, B_WARNING_ALERT);
|
||||||
|
|
||||||
alert->SetShortcut(0, B_ESCAPE);
|
alert->SetShortcut(0, B_ESCAPE);
|
||||||
alert->SetShortcut(1, 'd');
|
alert->SetShortcut(1, 'd');
|
||||||
@@ -3191,7 +3193,7 @@ _TrackerLaunchAppWithDocuments(const entry_ref *appRef, const BMessage *refs,
|
|||||||
alertString.ReplaceFirst("%name", appRef->name);
|
alertString.ReplaceFirst("%name", appRef->name);
|
||||||
alertString.ReplaceFirst("%error", strerror(error));
|
alertString.ReplaceFirst("%error", strerror(error));
|
||||||
if (refs && openWithOK && error != B_SHUTTING_DOWN) {
|
if (refs && openWithOK && error != B_SHUTTING_DOWN) {
|
||||||
alertString << B_TRANSLATE(kFindAlternativeStr);
|
alertString << B_TRANSLATE_NOCOLLECT(kFindAlternativeStr);
|
||||||
BAlert* alert = new BAlert("", alertString.String(),
|
BAlert* alert = new BAlert("", alertString.String(),
|
||||||
B_TRANSLATE("Cancel"), B_TRANSLATE("Find"), 0, B_WIDTH_AS_USUAL,
|
B_TRANSLATE("Cancel"), B_TRANSLATE("Find"), 0, B_WIDTH_AS_USUAL,
|
||||||
B_WARNING_ALERT);
|
B_WARNING_ALERT);
|
||||||
@@ -3348,7 +3350,7 @@ _TrackerLaunchDocuments(const entry_ref */*doNotUse*/, const BMessage *refs,
|
|||||||
alertString.ReplaceFirst("%name", documentRef.name);
|
alertString.ReplaceFirst("%name", documentRef.name);
|
||||||
alertString.ReplaceFirst("%error", strerror(error));
|
alertString.ReplaceFirst("%error", strerror(error));
|
||||||
if (openWithOK)
|
if (openWithOK)
|
||||||
alternative = B_TRANSLATE(kFindApplicationStr);
|
alternative = B_TRANSLATE_NOCOLLECT(kFindApplicationStr);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
@@ -3431,19 +3433,19 @@ _TrackerLaunchDocuments(const entry_ref */*doNotUse*/, const BMessage *refs,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
alternative = B_TRANSLATE(kFindApplicationStr);
|
alternative = B_TRANSLATE_NOCOLLECT(kFindApplicationStr);
|
||||||
} else if (error == B_LAUNCH_FAILED_APP_IN_TRASH) {
|
} else if (error == B_LAUNCH_FAILED_APP_IN_TRASH) {
|
||||||
alertString.SetTo(B_TRANSLATE("Could not open \"%document\" "
|
alertString.SetTo(B_TRANSLATE("Could not open \"%document\" "
|
||||||
"because application \"%app\" is in the Trash. "));
|
"because application \"%app\" is in the Trash. "));
|
||||||
alertString.ReplaceFirst("%document", documentRef.name);
|
alertString.ReplaceFirst("%document", documentRef.name);
|
||||||
alertString.ReplaceFirst("%app", app.name);
|
alertString.ReplaceFirst("%app", app.name);
|
||||||
alternative = B_TRANSLATE(kFindAlternativeStr);
|
alternative = B_TRANSLATE_NOCOLLECT(kFindAlternativeStr);
|
||||||
} else if (error == B_LAUNCH_FAILED_APP_NOT_FOUND) {
|
} else if (error == B_LAUNCH_FAILED_APP_NOT_FOUND) {
|
||||||
alertString.SetTo(
|
alertString.SetTo(
|
||||||
B_TRANSLATE("Could not open \"%name\" (%error). "));
|
B_TRANSLATE("Could not open \"%name\" (%error). "));
|
||||||
alertString.ReplaceFirst("%name", documentRef.name);
|
alertString.ReplaceFirst("%name", documentRef.name);
|
||||||
alertString.ReplaceFirst("%error", strerror(error));
|
alertString.ReplaceFirst("%error", strerror(error));
|
||||||
alternative = B_TRANSLATE(kFindAlternativeStr);
|
alternative = B_TRANSLATE_NOCOLLECT(kFindAlternativeStr);
|
||||||
} else if (error == B_MISSING_SYMBOL
|
} else if (error == B_MISSING_SYMBOL
|
||||||
&& LoaderErrorDetails(&app, loaderErrorString) == B_OK) {
|
&& LoaderErrorDetails(&app, loaderErrorString) == B_OK) {
|
||||||
if (openedDocuments) {
|
if (openedDocuments) {
|
||||||
@@ -3458,7 +3460,7 @@ _TrackerLaunchDocuments(const entry_ref */*doNotUse*/, const BMessage *refs,
|
|||||||
alertString.ReplaceFirst("%document", documentRef.name);
|
alertString.ReplaceFirst("%document", documentRef.name);
|
||||||
alertString.ReplaceFirst("%symbol", loaderErrorString.String());
|
alertString.ReplaceFirst("%symbol", loaderErrorString.String());
|
||||||
}
|
}
|
||||||
alternative = B_TRANSLATE(kFindAlternativeStr);
|
alternative = B_TRANSLATE_NOCOLLECT(kFindAlternativeStr);
|
||||||
} else if (error == B_MISSING_LIBRARY
|
} else if (error == B_MISSING_LIBRARY
|
||||||
&& LoaderErrorDetails(&app, loaderErrorString) == B_OK) {
|
&& LoaderErrorDetails(&app, loaderErrorString) == B_OK) {
|
||||||
if (openedDocuments) {
|
if (openedDocuments) {
|
||||||
@@ -3474,14 +3476,14 @@ _TrackerLaunchDocuments(const entry_ref */*doNotUse*/, const BMessage *refs,
|
|||||||
alertString.ReplaceFirst("%document", documentRef.name);
|
alertString.ReplaceFirst("%document", documentRef.name);
|
||||||
alertString.ReplaceFirst("%library", loaderErrorString.String());
|
alertString.ReplaceFirst("%library", loaderErrorString.String());
|
||||||
}
|
}
|
||||||
alternative = B_TRANSLATE(kFindAlternativeStr);
|
alternative = B_TRANSLATE_NOCOLLECT(kFindAlternativeStr);
|
||||||
} else {
|
} else {
|
||||||
alertString.SetTo(B_TRANSLATE("Could not open \"%document\" with "
|
alertString.SetTo(B_TRANSLATE("Could not open \"%document\" with "
|
||||||
"application \"%app\" (%error). "));
|
"application \"%app\" (%error). "));
|
||||||
alertString.ReplaceFirst("%document", documentRef.name);
|
alertString.ReplaceFirst("%document", documentRef.name);
|
||||||
alertString.ReplaceFirst("%app", app.name);
|
alertString.ReplaceFirst("%app", app.name);
|
||||||
alertString.ReplaceFirst("%error", strerror(error));
|
alertString.ReplaceFirst("%error", strerror(error));
|
||||||
alternative = B_TRANSLATE(kFindAlternativeStr);
|
alternative = B_TRANSLATE_NOCOLLECT(kFindAlternativeStr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -733,9 +733,9 @@ FindPanel::FindPanel(BRect frame, BFile *node, FindWindow *parent,
|
|||||||
dragNDropMessage.AddString("be:filetypes", kDragNDropTypes[0]);
|
dragNDropMessage.AddString("be:filetypes", kDragNDropTypes[0]);
|
||||||
dragNDropMessage.AddString("be:filetypes", kDragNDropTypes[1]);
|
dragNDropMessage.AddString("be:filetypes", kDragNDropTypes[1]);
|
||||||
dragNDropMessage.AddString("be:actionspecifier",
|
dragNDropMessage.AddString("be:actionspecifier",
|
||||||
B_TRANSLATE(kDragNDropActionSpecifiers[0]));
|
B_TRANSLATE_NOCOLLECT(kDragNDropActionSpecifiers[0]));
|
||||||
dragNDropMessage.AddString("be:actionspecifier",
|
dragNDropMessage.AddString("be:actionspecifier",
|
||||||
B_TRANSLATE(kDragNDropActionSpecifiers[1]));
|
B_TRANSLATE_NOCOLLECT(kDragNDropActionSpecifiers[1]));
|
||||||
|
|
||||||
BMessenger self(this);
|
BMessenger self(this);
|
||||||
fDraggableIcon = new DraggableQueryIcon(DraggableIcon::PreferredRect(draggableIconOrigin,
|
fDraggableIcon = new DraggableQueryIcon(DraggableIcon::PreferredRect(draggableIconOrigin,
|
||||||
@@ -1132,11 +1132,13 @@ FindPanel::MessageReceived(BMessage *message)
|
|||||||
|
|
||||||
if (actionSpecifier
|
if (actionSpecifier
|
||||||
&& strcasecmp(actionSpecifier,
|
&& strcasecmp(actionSpecifier,
|
||||||
B_TRANSLATE(kDragNDropActionSpecifiers[0])) == 0) {
|
B_TRANSLATE_NOCOLLECT(
|
||||||
|
kDragNDropActionSpecifiers[0])) == 0) {
|
||||||
query = true;
|
query = true;
|
||||||
} else if (actionSpecifier
|
} else if (actionSpecifier
|
||||||
&& strcasecmp(actionSpecifier,
|
&& strcasecmp(actionSpecifier,
|
||||||
B_TRANSLATE(kDragNDropActionSpecifiers[1])) == 0) {
|
B_TRANSLATE_NOCOLLECT(
|
||||||
|
kDragNDropActionSpecifiers[1])) == 0) {
|
||||||
queryTemplate = true;
|
queryTemplate = true;
|
||||||
} else if (mimeType && strcasecmp(mimeType,
|
} else if (mimeType && strcasecmp(mimeType,
|
||||||
kDragNDropTypes[0]) == 0) {
|
kDragNDropTypes[0]) == 0) {
|
||||||
@@ -2391,7 +2393,7 @@ TAttrView::TAttrView(BRect frame, int32 index)
|
|||||||
for (int32 i = 0; i < 5; i++) {
|
for (int32 i = 0; i < 5; i++) {
|
||||||
message = new BMessage(kAttributeItem);
|
message = new BMessage(kAttributeItem);
|
||||||
message->AddInt32("operator", operators[i]);
|
message->AddInt32("operator", operators[i]);
|
||||||
submenu->AddItem(new BMenuItem(B_TRANSLATE(operatorLabels[i]),
|
submenu->AddItem(new BMenuItem(B_TRANSLATE_NOCOLLECT(operatorLabels[i]),
|
||||||
message));
|
message));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -339,17 +339,17 @@ Model::Name() const
|
|||||||
|
|
||||||
switch (fBaseType) {
|
switch (fBaseType) {
|
||||||
case kRootNode:
|
case kRootNode:
|
||||||
return B_TRANSLATE(kRootNodeName);
|
return B_TRANSLATE_NOCOLLECT(kRootNodeName);
|
||||||
|
|
||||||
case kVolumeNode:
|
case kVolumeNode:
|
||||||
if (fVolumeName)
|
if (fVolumeName)
|
||||||
return fVolumeName;
|
return fVolumeName;
|
||||||
break;
|
break;
|
||||||
case kTrashNode:
|
case kTrashNode:
|
||||||
return B_TRANSLATE(kTrashNodeName);
|
return B_TRANSLATE_NOCOLLECT(kTrashNodeName);
|
||||||
|
|
||||||
case kDesktopNode:
|
case kDesktopNode:
|
||||||
return B_TRANSLATE(kDesktopNodeName);
|
return B_TRANSLATE_NOCOLLECT(kDesktopNodeName);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ APRView::APRView(const char *name, uint32 flags)
|
|||||||
|
|
||||||
for (int32 i = 0; i < color_description_count(); i++) {
|
for (int32 i = 0; i < color_description_count(); i++) {
|
||||||
const ColorDescription& description = *get_color_description(i);
|
const ColorDescription& description = *get_color_description(i);
|
||||||
const char* text = B_TRANSLATE(description.text);
|
const char* text = B_TRANSLATE_NOCOLLECT(description.text);
|
||||||
color_which which = description.which;
|
color_which which = description.which;
|
||||||
fAttrList->AddItem(new ColorWhichItem(text, which));
|
fAttrList->AddItem(new ColorWhichItem(text, which));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -235,14 +235,15 @@ AntialiasingSettingsView::_BuildAntialiasingMenu()
|
|||||||
BMessage* message = new BMessage(kMsgSetAntialiasing);
|
BMessage* message = new BMessage(kMsgSetAntialiasing);
|
||||||
message->AddBool("antialiasing", false);
|
message->AddBool("antialiasing", false);
|
||||||
|
|
||||||
BMenuItem* item = new BMenuItem(B_TRANSLATE(kGrayscaleLabel), message);
|
BMenuItem* item
|
||||||
|
= new BMenuItem(B_TRANSLATE_NOCOLLECT(kGrayscaleLabel), message);
|
||||||
|
|
||||||
fAntialiasingMenu->AddItem(item);
|
fAntialiasingMenu->AddItem(item);
|
||||||
|
|
||||||
message = new BMessage(kMsgSetAntialiasing);
|
message = new BMessage(kMsgSetAntialiasing);
|
||||||
message->AddBool("antialiasing", true);
|
message->AddBool("antialiasing", true);
|
||||||
|
|
||||||
item = new BMenuItem(B_TRANSLATE(kSubpixelLabel), message);
|
item = new BMenuItem(B_TRANSLATE_NOCOLLECT(kSubpixelLabel), message);
|
||||||
|
|
||||||
fAntialiasingMenu->AddItem(item);
|
fAntialiasingMenu->AddItem(item);
|
||||||
}
|
}
|
||||||
@@ -255,18 +256,18 @@ AntialiasingSettingsView::_BuildHintingMenu()
|
|||||||
|
|
||||||
BMessage* message = new BMessage(kMsgSetHinting);
|
BMessage* message = new BMessage(kMsgSetHinting);
|
||||||
message->AddInt8("hinting", HINTING_MODE_OFF);
|
message->AddInt8("hinting", HINTING_MODE_OFF);
|
||||||
fHintingMenu->AddItem(new BMenuItem(B_TRANSLATE(kNoHintingLabel),
|
fHintingMenu->AddItem(new BMenuItem(B_TRANSLATE_NOCOLLECT(kNoHintingLabel),
|
||||||
message));
|
message));
|
||||||
|
|
||||||
message = new BMessage(kMsgSetHinting);
|
message = new BMessage(kMsgSetHinting);
|
||||||
message->AddInt8("hinting", HINTING_MODE_ON);
|
message->AddInt8("hinting", HINTING_MODE_ON);
|
||||||
fHintingMenu->AddItem(new BMenuItem(B_TRANSLATE(kFullHintingLabel),
|
fHintingMenu->AddItem(new BMenuItem(
|
||||||
message));
|
B_TRANSLATE_NOCOLLECT(kFullHintingLabel), message));
|
||||||
|
|
||||||
message = new BMessage(kMsgSetHinting);
|
message = new BMessage(kMsgSetHinting);
|
||||||
message->AddInt8("hinting", HINTING_MODE_MONOSPACED_ONLY);
|
message->AddInt8("hinting", HINTING_MODE_MONOSPACED_ONLY);
|
||||||
fHintingMenu->AddItem(new BMenuItem(B_TRANSLATE(kMonospacedHintingLabel),
|
fHintingMenu->AddItem(new BMenuItem(
|
||||||
message));
|
B_TRANSLATE_NOCOLLECT(kMonospacedHintingLabel), message));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -275,8 +276,8 @@ AntialiasingSettingsView::_SetCurrentAntialiasing()
|
|||||||
{
|
{
|
||||||
BMenuItem *item = fAntialiasingMenu->FindItem(
|
BMenuItem *item = fAntialiasingMenu->FindItem(
|
||||||
fCurrentSubpixelAntialiasing
|
fCurrentSubpixelAntialiasing
|
||||||
? B_TRANSLATE(kSubpixelLabel)
|
? B_TRANSLATE_NOCOLLECT(kSubpixelLabel)
|
||||||
: B_TRANSLATE(kGrayscaleLabel));
|
: B_TRANSLATE_NOCOLLECT(kGrayscaleLabel));
|
||||||
if (item != NULL)
|
if (item != NULL)
|
||||||
item->SetMarked(true);
|
item->SetMarked(true);
|
||||||
if (fCurrentSubpixelAntialiasing)
|
if (fCurrentSubpixelAntialiasing)
|
||||||
@@ -300,7 +301,7 @@ AntialiasingSettingsView::_SetCurrentHinting()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
BMenuItem *item = fHintingMenu->FindItem(B_TRANSLATE(label));
|
BMenuItem *item = fHintingMenu->FindItem(B_TRANSLATE_NOCOLLECT(label));
|
||||||
if (item != NULL)
|
if (item != NULL)
|
||||||
item->SetMarked(true);
|
item->SetMarked(true);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
#include <TextView.h>
|
#include <TextView.h>
|
||||||
|
|
||||||
|
|
||||||
|
#undef B_TRANSLATE_CONTEXT
|
||||||
#define B_TRANSLATE_CONTEXT "Device View"
|
#define B_TRANSLATE_CONTEXT "Device View"
|
||||||
|
|
||||||
BluetoothDeviceView::BluetoothDeviceView(BRect frame, BluetoothDevice* bDevice,
|
BluetoothDeviceView::BluetoothDeviceView(BRect frame, BluetoothDevice* bDevice,
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
|
|
||||||
|
#undef B_TRANSLATE_CONTEXT
|
||||||
#define B_TRANSLATE_CONTEXT "main"
|
#define B_TRANSLATE_CONTEXT "main"
|
||||||
|
|
||||||
BluetoothApplication::BluetoothApplication(void)
|
BluetoothApplication::BluetoothApplication(void)
|
||||||
|
|||||||
@@ -26,6 +26,8 @@
|
|||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "BluetoothWindow.h"
|
#include "BluetoothWindow.h"
|
||||||
|
|
||||||
|
|
||||||
|
#undef B_TRANSLATE_CONTEXT
|
||||||
#define B_TRANSLATE_CONTEXT "Settings view"
|
#define B_TRANSLATE_CONTEXT "Settings view"
|
||||||
|
|
||||||
static const int32 kMsgSetAntialiasing = 'anti';
|
static const int32 kMsgSetAntialiasing = 'anti';
|
||||||
@@ -203,18 +205,18 @@ BluetoothSettingsView::_BuildConnectionPolicy()
|
|||||||
BMessage* message = new BMessage(kMsgSetAntialiasing);
|
BMessage* message = new BMessage(kMsgSetAntialiasing);
|
||||||
message->AddBool("antialiasing", false);
|
message->AddBool("antialiasing", false);
|
||||||
|
|
||||||
BMenuItem* item = new BMenuItem(B_TRANSLATE(kAllLabel), message);
|
BMenuItem* item = new BMenuItem(B_TRANSLATE_NOCOLLECT(kAllLabel), message);
|
||||||
|
|
||||||
fPolicyMenu->AddItem(item);
|
fPolicyMenu->AddItem(item);
|
||||||
|
|
||||||
message = new BMessage(kMsgSetAntialiasing);
|
message = new BMessage(kMsgSetAntialiasing);
|
||||||
message->AddBool("antialiasing", true);
|
message->AddBool("antialiasing", true);
|
||||||
|
|
||||||
item = new BMenuItem(B_TRANSLATE(kTrustedLabel), message);
|
item = new BMenuItem(B_TRANSLATE_NOCOLLECT(kTrustedLabel), message);
|
||||||
|
|
||||||
fPolicyMenu->AddItem(item);
|
fPolicyMenu->AddItem(item);
|
||||||
|
|
||||||
BMenuItem* item2 = new BMenuItem(B_TRANSLATE(kAlwaysLabel), NULL);
|
BMenuItem* item2 = new BMenuItem(B_TRANSLATE_NOCOLLECT(kAlwaysLabel), NULL);
|
||||||
|
|
||||||
fPolicyMenu->AddItem(item2);
|
fPolicyMenu->AddItem(item2);
|
||||||
|
|
||||||
@@ -229,23 +231,24 @@ BluetoothSettingsView::_BuildClassMenu()
|
|||||||
BMessage* message;
|
BMessage* message;
|
||||||
|
|
||||||
message = new BMessage(kMsgSetDeviceClassDesktop);
|
message = new BMessage(kMsgSetDeviceClassDesktop);
|
||||||
BMenuItem* item = new BMenuItem(B_TRANSLATE(kDesktopLabel), message);
|
BMenuItem* item
|
||||||
|
= new BMenuItem(B_TRANSLATE_NOCOLLECT(kDesktopLabel), message);
|
||||||
fClassMenu->AddItem(item);
|
fClassMenu->AddItem(item);
|
||||||
|
|
||||||
message = new BMessage(kMsgSetDeviceClassServer);
|
message = new BMessage(kMsgSetDeviceClassServer);
|
||||||
item = new BMenuItem(B_TRANSLATE(kServerLabel), message);
|
item = new BMenuItem(B_TRANSLATE_NOCOLLECT(kServerLabel), message);
|
||||||
fClassMenu->AddItem(item);
|
fClassMenu->AddItem(item);
|
||||||
|
|
||||||
message = new BMessage(kMsgSetDeviceClassLaptop);
|
message = new BMessage(kMsgSetDeviceClassLaptop);
|
||||||
item = new BMenuItem(B_TRANSLATE(kLaptopLabel), message);
|
item = new BMenuItem(B_TRANSLATE_NOCOLLECT(kLaptopLabel), message);
|
||||||
fClassMenu->AddItem(item);
|
fClassMenu->AddItem(item);
|
||||||
|
|
||||||
message = new BMessage(kMsgSetDeviceClassHandheld);
|
message = new BMessage(kMsgSetDeviceClassHandheld);
|
||||||
item = new BMenuItem(B_TRANSLATE(kHandheldLabel), message);
|
item = new BMenuItem(B_TRANSLATE_NOCOLLECT(kHandheldLabel), message);
|
||||||
fClassMenu->AddItem(item);
|
fClassMenu->AddItem(item);
|
||||||
|
|
||||||
message = new BMessage(kMsgSetDeviceClassSmartPhone);
|
message = new BMessage(kMsgSetDeviceClassSmartPhone);
|
||||||
item = new BMenuItem(B_TRANSLATE(kPhoneLabel), message);
|
item = new BMenuItem(B_TRANSLATE_NOCOLLECT(kPhoneLabel), message);
|
||||||
fClassMenu->AddItem(item);
|
fClassMenu->AddItem(item);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
|
|
||||||
|
#undef B_TRANSLATE_CONTEXT
|
||||||
#define B_TRANSLATE_CONTEXT "Window"
|
#define B_TRANSLATE_CONTEXT "Window"
|
||||||
|
|
||||||
static const uint32 kMsgSetDefaults = 'dflt';
|
static const uint32 kMsgSetDefaults = 'dflt';
|
||||||
|
|||||||
@@ -16,6 +16,8 @@
|
|||||||
#include <SpaceLayoutItem.h>
|
#include <SpaceLayoutItem.h>
|
||||||
#include <StringView.h>
|
#include <StringView.h>
|
||||||
|
|
||||||
|
|
||||||
|
#undef B_TRANSLATE_CONTEXT
|
||||||
#define B_TRANSLATE_CONTEXT "Extended local device view"
|
#define B_TRANSLATE_CONTEXT "Extended local device view"
|
||||||
|
|
||||||
ExtendedLocalDeviceView::ExtendedLocalDeviceView(BRect frame,
|
ExtendedLocalDeviceView::ExtendedLocalDeviceView(BRect frame,
|
||||||
|
|||||||
@@ -26,6 +26,8 @@
|
|||||||
#include "DeviceListItem.h"
|
#include "DeviceListItem.h"
|
||||||
#include "InquiryPanel.h"
|
#include "InquiryPanel.h"
|
||||||
|
|
||||||
|
|
||||||
|
#undef B_TRANSLATE_CONTEXT
|
||||||
#define B_TRANSLATE_CONTEXT "Inquiry panel"
|
#define B_TRANSLATE_CONTEXT "Inquiry panel"
|
||||||
|
|
||||||
using Bluetooth::DeviceListItem;
|
using Bluetooth::DeviceListItem;
|
||||||
|
|||||||
@@ -26,6 +26,8 @@
|
|||||||
#include "InquiryPanel.h"
|
#include "InquiryPanel.h"
|
||||||
#include "RemoteDevicesView.h"
|
#include "RemoteDevicesView.h"
|
||||||
|
|
||||||
|
|
||||||
|
#undef B_TRANSLATE_CONTEXT
|
||||||
#define B_TRANSLATE_CONTEXT "Remote devices"
|
#define B_TRANSLATE_CONTEXT "Remote devices"
|
||||||
|
|
||||||
static const uint32 kMsgAddDevices = 'ddDv';
|
static const uint32 kMsgAddDevices = 'ddDv';
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ SettingsView::SettingsView(MouseSettings &settings)
|
|||||||
BMessage *message = new BMessage(kMsgMouseFocusMode);
|
BMessage *message = new BMessage(kMsgMouseFocusMode);
|
||||||
message->AddInt32("mode", focusModes[i]);
|
message->AddInt32("mode", focusModes[i]);
|
||||||
|
|
||||||
fFocusMenu->AddItem(new BMenuItem(B_TRANSLATE(focusLabels[i]),
|
fFocusMenu->AddItem(new BMenuItem(B_TRANSLATE_NOCOLLECT(focusLabels[i]),
|
||||||
message));
|
message));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -154,7 +154,7 @@ SettingsView::SettingsView(MouseSettings &settings)
|
|||||||
focusFollowsMouseModes[i]);
|
focusFollowsMouseModes[i]);
|
||||||
|
|
||||||
fFocusFollowsMouseMenu->AddItem(new BMenuItem(
|
fFocusFollowsMouseMenu->AddItem(new BMenuItem(
|
||||||
B_TRANSLATE(focusFollowsMouseLabels[i]), message));
|
B_TRANSLATE_NOCOLLECT(focusFollowsMouseLabels[i]), message));
|
||||||
}
|
}
|
||||||
|
|
||||||
BMenuField *fFocusFollowsMouseField = new BMenuField(
|
BMenuField *fFocusFollowsMouseField = new BMenuField(
|
||||||
|
|||||||
@@ -66,8 +66,12 @@ byte_string(int64 size)
|
|||||||
if (value < 1024)
|
if (value < 1024)
|
||||||
snprintf(string, sizeof(string), B_TRANSLATE("%Ld B"), size);
|
snprintf(string, sizeof(string), B_TRANSLATE("%Ld B"), size);
|
||||||
else {
|
else {
|
||||||
static const char *units[] = {B_TRANSLATE_MARK("KB"),
|
static const char *units[] = {
|
||||||
B_TRANSLATE_MARK("MB"), B_TRANSLATE_MARK("GB"), NULL};
|
B_TRANSLATE_MARK("KB"),
|
||||||
|
B_TRANSLATE_MARK("MB"),
|
||||||
|
B_TRANSLATE_MARK("GB"),
|
||||||
|
NULL
|
||||||
|
};
|
||||||
int32 i = -1;
|
int32 i = -1;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
@@ -76,7 +80,8 @@ byte_string(int64 size)
|
|||||||
} while (value >= 1024 && units[i + 1]);
|
} while (value >= 1024 && units[i + 1]);
|
||||||
|
|
||||||
off_t rounded = off_t(value * 100LL);
|
off_t rounded = off_t(value * 100LL);
|
||||||
sprintf(string, "%g %s", rounded / 100.0, B_TRANSLATE(units[i]));
|
sprintf(string, "%g %s", rounded / 100.0,
|
||||||
|
B_TRANSLATE_NOCOLLECT(units[i]));
|
||||||
}
|
}
|
||||||
|
|
||||||
return string;
|
return string;
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ GetPageFormat(float w, float h, BString& label)
|
|||||||
struct PageFormat& pf = pageFormat[i];
|
struct PageFormat& pf = pageFormat[i];
|
||||||
if ((pf.width == w && pf.height == h) || (pf.width == h
|
if ((pf.width == w && pf.height == h) || (pf.width == h
|
||||||
&& pf.height == w)) {
|
&& pf.height == w)) {
|
||||||
label = B_TRANSLATE(pf.label);
|
label = B_TRANSLATE_NOCOLLECT(pf.label);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -260,7 +260,7 @@ PrintServerApp::GetSupportedSuites(BMessage* msg)
|
|||||||
if (!localized) {
|
if (!localized) {
|
||||||
localized = true;
|
localized = true;
|
||||||
for (int i = 0; prop_list[i].name != NULL; i ++)
|
for (int i = 0; prop_list[i].name != NULL; i ++)
|
||||||
prop_list[i].usage = B_TRANSLATE(prop_list[i].usage);
|
prop_list[i].usage = B_TRANSLATE_NOCOLLECT(prop_list[i].usage);
|
||||||
}
|
}
|
||||||
|
|
||||||
BPropertyInfo prop_info(prop_list);
|
BPropertyInfo prop_info(prop_list);
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ Printer::GetSupportedSuites(BMessage* msg)
|
|||||||
if (!localized) {
|
if (!localized) {
|
||||||
localized = true;
|
localized = true;
|
||||||
for (int i = 0; prop_list[i].name != NULL; i ++)
|
for (int i = 0; prop_list[i].name != NULL; i ++)
|
||||||
prop_list[i].usage = B_TRANSLATE(prop_list[i].usage);
|
prop_list[i].usage = B_TRANSLATE_NOCOLLECT(prop_list[i].usage);
|
||||||
}
|
}
|
||||||
|
|
||||||
BPropertyInfo prop_info(prop_list);
|
BPropertyInfo prop_info(prop_list);
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ Transport::GetSupportedSuites(BMessage* msg)
|
|||||||
if (!localized) {
|
if (!localized) {
|
||||||
localized = true;
|
localized = true;
|
||||||
for (int i = 0; prop_list[i].name != NULL; i ++)
|
for (int i = 0; prop_list[i].name != NULL; i ++)
|
||||||
prop_list[i].usage = B_TRANSLATE(prop_list[i].usage);
|
prop_list[i].usage = B_TRANSLATE_NOCOLLECT(prop_list[i].usage);
|
||||||
}
|
}
|
||||||
|
|
||||||
BPropertyInfo prop_info(prop_list);
|
BPropertyInfo prop_info(prop_list);
|
||||||
|
|||||||
Reference in New Issue
Block a user