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)); 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); fTitle->SetFont(be_bold_font);
char version[256]; char version[256];
@@ -61,7 +61,7 @@ const uint32 kNumDefaultSettings = sizeof(sDefaultSettings) / sizeof(TranSetting
EXRTranslator::EXRTranslator() EXRTranslator::EXRTranslator()
: BaseTranslator(B_TRANSLATE("EXR Images"), : BaseTranslator(B_TRANSLATE("EXR images"),
B_TRANSLATE("EXR image translator"), B_TRANSLATE("EXR image translator"),
EXR_TRANSLATOR_VERSION, EXR_TRANSLATOR_VERSION,
sInputFormats, kNumInputFormats, sInputFormats, kNumInputFormats,
@@ -45,7 +45,7 @@ static const translation_format sOutputFormats[] = {
0.4, 0.4,
0.4, 0.4,
"image/x-be-bitmap", "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() HVIFTranslator::HVIFTranslator()
: BaseTranslator(B_TRANSLATE("HVIF icons"), : BaseTranslator(B_TRANSLATE("HVIF icons"),
B_TRANSLATE("Native Haiku vector icon translator"), B_TRANSLATE("Haiku vector icon translator"),
HVIF_TRANSLATOR_VERSION, HVIF_TRANSLATOR_VERSION,
sInputFormats, kNumInputFormats, sInputFormats, kNumInputFormats,
sOutputFormats, kNumOutputFormats, 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); BAlignment labelAlignment(B_ALIGN_LEFT, B_ALIGN_NO_VERTICAL);
BStringView* title= new BStringView("title", BStringView* title= new BStringView("title",
B_TRANSLATE("Native Haiku icon format translator")); B_TRANSLATE("Haiku vector icon translator"));
title->SetFont(be_bold_font); title->SetFont(be_bold_font);
title->SetExplicitAlignment(labelAlignment); title->SetExplicitAlignment(labelAlignment);
+1 -1
View File
@@ -27,7 +27,7 @@ ConfigView::ConfigView()
BAlignment leftAlignment(B_ALIGN_LEFT, B_ALIGN_VERTICAL_UNSET); BAlignment leftAlignment(B_ALIGN_LEFT, B_ALIGN_VERTICAL_UNSET);
BStringView* stringView = new BStringView("title", BStringView* stringView = new BStringView("title",
B_TRANSLATE("Windows icon images")); B_TRANSLATE("Windows icon translator"));
stringView->SetFont(be_bold_font); stringView->SetFont(be_bold_font);
stringView->SetExplicitAlignment(leftAlignment); stringView->SetExplicitAlignment(leftAlignment);
AddChild(stringView); AddChild(stringView);
@@ -81,7 +81,7 @@ const uint32 kNumDefaultSettings = sizeof(sDefaultSettings) / sizeof(TranSetting
ICOTranslator::ICOTranslator() ICOTranslator::ICOTranslator()
: BaseTranslator(B_TRANSLATE("Windows icon images"), : BaseTranslator(B_TRANSLATE("Windows icons"),
B_TRANSLATE("Windows icon translator"), B_TRANSLATE("Windows icon translator"),
ICO_TRANSLATOR_VERSION, ICO_TRANSLATOR_VERSION,
sInputFormats, kNumInputFormats, 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); BRect rect(10, 10, 200, 10 + height);
BStringView *stringView = new BStringView(rect, "title", BStringView *stringView = new BStringView(rect, "title",
B_TRANSLATE("PCX images")); B_TRANSLATE("PCX image translator"));
stringView->SetFont(be_bold_font); stringView->SetFont(be_bold_font);
stringView->ResizeToPreferred(); stringView->ResizeToPreferred();
AddChild(stringView); AddChild(stringView);
@@ -72,7 +72,8 @@ const uint32 kNumDefaultSettings = sizeof(sDefaultSettings) / sizeof(TranSetting
PCXTranslator::PCXTranslator() PCXTranslator::PCXTranslator()
: BaseTranslator(B_TRANSLATE("PCX images"), B_TRANSLATE("PCX translator"), : BaseTranslator(B_TRANSLATE("PCX images"),
B_TRANSLATE("PCX image translator"),
PCX_TRANSLATOR_VERSION, PCX_TRANSLATOR_VERSION,
sInputFormats, kNumInputFormats, sInputFormats, kNumInputFormats,
sOutputFormats, kNumOutputFormats, sOutputFormats, kNumOutputFormats,
@@ -454,7 +454,7 @@ public:
SetLowColor(ViewColor()); SetLowColor(ViewColor());
mTitle = new BStringView("title", mTitle = new BStringView("title",
B_TRANSLATE("PPM Image Translator")); B_TRANSLATE("PPM image translator"));
mTitle->SetFont(be_bold_font); mTitle->SetFont(be_bold_font);
char detail[100]; 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); BRect rect(10, 10, 200, 10 + height);
BStringView *stringView = new BStringView(rect, "title", 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->SetFont(be_bold_font);
stringView->ResizeToPreferred(); stringView->ResizeToPreferred();
AddChild(stringView); AddChild(stringView);
@@ -84,7 +84,7 @@ RTFTranslator::TranslatorName() const
const char * const char *
RTFTranslator::TranslatorInfo() const 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() STXTTranslator::STXTTranslator()
: BaseTranslator(B_TRANSLATE("StyledEdit files"), : BaseTranslator(B_TRANSLATE("StyledEdit files"),
B_TRANSLATE("StyledEdit files translator"), B_TRANSLATE("StyledEdit file translator"),
STXT_TRANSLATOR_VERSION, STXT_TRANSLATOR_VERSION,
sInputFormats, kNumInputFormats, sInputFormats, kNumInputFormats,
sOutputFormats, kNumOutputFormats, 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); BRect rect(10, 10, 200, 10 + height);
BStringView *stringView = new BStringView(rect, "title", BStringView *stringView = new BStringView(rect, "title",
B_TRANSLATE("StyledEdit files translator")); B_TRANSLATE("StyledEdit file translator"));
stringView->SetFont(be_bold_font); stringView->SetFont(be_bold_font);
stringView->ResizeToPreferred(); stringView->ResizeToPreferred();
AddChild(stringView); 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)); SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
SetLowColor(ViewColor()); 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); fTitle->SetFont(be_bold_font);
char detail[100]; 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)); SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
SetLowColor(ViewColor()); 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); fTitle->SetFont(be_bold_font);
char detail[100]; char detail[100];