Harmonized translator titles in DataTranslations.

This commit is contained in:
Humdinger
2012-08-12 09:49:11 +02:00
parent 2e4a953d36
commit e8eb40f777
15 changed files with 18 additions and 16 deletions
+2 -1
View File
@@ -26,7 +26,8 @@ ConfigView::ConfigView(uint32 flags)
{
SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
BStringView *fTitle = new BStringView("title", B_TRANSLATE("EXR Images"));
BStringView *fTitle = new BStringView("title",
B_TRANSLATE("EXR image translator"));
fTitle->SetFont(be_bold_font);
char version[256];
@@ -61,7 +61,7 @@ const uint32 kNumDefaultSettings = sizeof(sDefaultSettings) / sizeof(TranSetting
EXRTranslator::EXRTranslator()
: BaseTranslator(B_TRANSLATE("EXR Images"),
: BaseTranslator(B_TRANSLATE("EXR images"),
B_TRANSLATE("EXR image translator"),
EXR_TRANSLATOR_VERSION,
sInputFormats, kNumInputFormats,
@@ -45,7 +45,7 @@ static const translation_format sOutputFormats[] = {
0.4,
0.4,
"image/x-be-bitmap",
"Be Bitmap Format (HVIFTranslator)"
"Be Bitmap format (HVIFTranslator)"
}
};
@@ -71,7 +71,7 @@ make_nth_translator(int32 n, image_id image, uint32 flags, ...)
HVIFTranslator::HVIFTranslator()
: BaseTranslator(B_TRANSLATE("HVIF icons"),
B_TRANSLATE("Native Haiku vector icon translator"),
B_TRANSLATE("Haiku vector icon translator"),
HVIF_TRANSLATOR_VERSION,
sInputFormats, kNumInputFormats,
sOutputFormats, kNumOutputFormats,
+1 -1
View File
@@ -30,7 +30,7 @@ HVIFView::HVIFView(const char* name, uint32 flags, TranslatorSettings *settings)
BAlignment labelAlignment(B_ALIGN_LEFT, B_ALIGN_NO_VERTICAL);
BStringView* title= new BStringView("title",
B_TRANSLATE("Native Haiku icon format translator"));
B_TRANSLATE("Haiku vector icon translator"));
title->SetFont(be_bold_font);
title->SetExplicitAlignment(labelAlignment);
+1 -1
View File
@@ -27,7 +27,7 @@ ConfigView::ConfigView()
BAlignment leftAlignment(B_ALIGN_LEFT, B_ALIGN_VERTICAL_UNSET);
BStringView* stringView = new BStringView("title",
B_TRANSLATE("Windows icon images"));
B_TRANSLATE("Windows icon translator"));
stringView->SetFont(be_bold_font);
stringView->SetExplicitAlignment(leftAlignment);
AddChild(stringView);
@@ -81,7 +81,7 @@ const uint32 kNumDefaultSettings = sizeof(sDefaultSettings) / sizeof(TranSetting
ICOTranslator::ICOTranslator()
: BaseTranslator(B_TRANSLATE("Windows icon images"),
: BaseTranslator(B_TRANSLATE("Windows icons"),
B_TRANSLATE("Windows icon translator"),
ICO_TRANSLATOR_VERSION,
sInputFormats, kNumInputFormats,
+1 -1
View File
@@ -31,7 +31,7 @@ ConfigView::ConfigView(const BRect &frame, uint32 resize, uint32 flags)
BRect rect(10, 10, 200, 10 + height);
BStringView *stringView = new BStringView(rect, "title",
B_TRANSLATE("PCX images"));
B_TRANSLATE("PCX image translator"));
stringView->SetFont(be_bold_font);
stringView->ResizeToPreferred();
AddChild(stringView);
@@ -72,7 +72,8 @@ const uint32 kNumDefaultSettings = sizeof(sDefaultSettings) / sizeof(TranSetting
PCXTranslator::PCXTranslator()
: BaseTranslator(B_TRANSLATE("PCX images"), B_TRANSLATE("PCX translator"),
: BaseTranslator(B_TRANSLATE("PCX images"),
B_TRANSLATE("PCX image translator"),
PCX_TRANSLATOR_VERSION,
sInputFormats, kNumInputFormats,
sOutputFormats, kNumOutputFormats,
@@ -454,7 +454,7 @@ public:
SetLowColor(ViewColor());
mTitle = new BStringView("title",
B_TRANSLATE("PPM Image Translator"));
B_TRANSLATE("PPM image translator"));
mTitle->SetFont(be_bold_font);
char detail[100];
+1 -1
View File
@@ -27,7 +27,7 @@ ConfigView::ConfigView(const BRect &frame, uint32 resize, uint32 flags)
BRect rect(10, 10, 200, 10 + height);
BStringView *stringView = new BStringView(rect, "title",
B_TRANSLATE("Rich Text Format (RTF) files"));
B_TRANSLATE("Rich Text Format (RTF) translator"));
stringView->SetFont(be_bold_font);
stringView->ResizeToPreferred();
AddChild(stringView);
@@ -84,7 +84,7 @@ RTFTranslator::TranslatorName() const
const char *
RTFTranslator::TranslatorInfo() const
{
return B_TRANSLATE("Rich Text Format Translator");
return B_TRANSLATE("Rich Text Format translator");
}
@@ -1339,7 +1339,7 @@ translate_from_text(BPositionIO* source, const char* encoding, bool forceEncodin
STXTTranslator::STXTTranslator()
: BaseTranslator(B_TRANSLATE("StyledEdit files"),
B_TRANSLATE("StyledEdit files translator"),
B_TRANSLATE("StyledEdit file translator"),
STXT_TRANSLATOR_VERSION,
sInputFormats, kNumInputFormats,
sOutputFormats, kNumOutputFormats,
+1 -1
View File
@@ -36,7 +36,7 @@ STXTView::STXTView(const BRect &frame, const char *name, uint32 resizeMode,
BRect rect(10, 10, 200, 10 + height);
BStringView *stringView = new BStringView(rect, "title",
B_TRANSLATE("StyledEdit files translator"));
B_TRANSLATE("StyledEdit file translator"));
stringView->SetFont(be_bold_font);
stringView->ResizeToPreferred();
AddChild(stringView);
+1 -1
View File
@@ -51,7 +51,7 @@ TGAView::TGAView(const char *name, uint32 flags, TranslatorSettings *settings)
SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
SetLowColor(ViewColor());
fTitle = new BStringView("title", B_TRANSLATE("TGA Image Translator"));
fTitle = new BStringView("title", B_TRANSLATE("TGA image translator"));
fTitle->SetFont(be_bold_font);
char detail[100];
+1 -1
View File
@@ -88,7 +88,7 @@ TIFFView::TIFFView(const char *name, uint32 flags,
SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
SetLowColor(ViewColor());
fTitle = new BStringView("title", B_TRANSLATE("TIFF Image Translator"));
fTitle = new BStringView("title", B_TRANSLATE("TIFF image translator"));
fTitle->SetFont(be_bold_font);
char detail[100];