Commit 8ea8856c authored by Christoph Miebach's avatar Christoph Miebach

BluRay instead of Blu-Ray. Re-using short messages for long ones

parent e8c82fb8
...@@ -52,7 +52,7 @@ static void Close( vlc_object_t * ); ...@@ -52,7 +52,7 @@ static void Close( vlc_object_t * );
vlc_module_begin () vlc_module_begin ()
set_shortname( N_("BD") ) set_shortname( N_("BD") )
set_description( N_("Blu-Ray Disc Input") ) set_description( N_("BluRay Disc Input") )
set_category( CAT_INPUT ) set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS ) set_subcategory( SUBCAT_INPUT_ACCESS )
set_capability( "access_demux", 60 ) set_capability( "access_demux", 60 )
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
#define BD_MENU_TEXT N_( "Bluray menus" ) #define BD_MENU_TEXT N_( "BluRay menus" )
#define BD_MENU_LONGTEXT N_( "Use bluray menus. If disabled, "\ #define BD_MENU_LONGTEXT N_( "Use bluray menus. If disabled, "\
"the movie will start directly" ) "the movie will start directly" )
...@@ -67,7 +67,7 @@ static void blurayClose( vlc_object_t * ); ...@@ -67,7 +67,7 @@ static void blurayClose( vlc_object_t * );
vlc_module_begin () vlc_module_begin ()
set_shortname( N_("BluRay") ) set_shortname( N_("BluRay") )
set_description( N_("Blu-Ray Disc support (libbluray)") ) set_description( N_("BluRay Disc support (libbluray)") )
set_category( CAT_INPUT ) set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS ) set_subcategory( SUBCAT_INPUT_ACCESS )
...@@ -260,7 +260,7 @@ static int blurayOpen( vlc_object_t *object ) ...@@ -260,7 +260,7 @@ static int blurayOpen( vlc_object_t *object )
/* AACS */ /* AACS */
if (disc_info->aacs_detected) { if (disc_info->aacs_detected) {
if (!disc_info->libaacs_detected) { if (!disc_info->libaacs_detected) {
error_msg = _("This Blu-Ray Disc needs a library for AACS decoding, " error_msg = _("This BluRay Disc needs a library for AACS decoding, "
"and your system does not have it."); "and your system does not have it.");
goto error; goto error;
} }
...@@ -300,7 +300,7 @@ static int blurayOpen( vlc_object_t *object ) ...@@ -300,7 +300,7 @@ static int blurayOpen( vlc_object_t *object )
/* BD+ */ /* BD+ */
if (disc_info->bdplus_detected) { if (disc_info->bdplus_detected) {
if (!disc_info->libbdplus_detected) { if (!disc_info->libbdplus_detected) {
error_msg = _("This Blu-Ray Disc needs a library for BD+ decoding, " error_msg = _("This BluRay Disc needs a library for BD+ decoding, "
"and your system does not have it."); "and your system does not have it.");
goto error; goto error;
} }
...@@ -367,7 +367,7 @@ static int blurayOpen( vlc_object_t *object ) ...@@ -367,7 +367,7 @@ static int blurayOpen( vlc_object_t *object )
error: error:
if (error_msg) if (error_msg)
dialog_Fatal(p_demux, _("Blu-Ray error"), "%s", error_msg); dialog_Fatal(p_demux, _("BluRay error"), "%s", error_msg);
blurayClose(object); blurayClose(object);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
...@@ -137,7 +137,7 @@ static const char *const power_freq_user[] = { N_("Unspecified"), ...@@ -137,7 +137,7 @@ static const char *const power_freq_user[] = { N_("Unspecified"),
N_("Off"), N_("50 Hz"), N_("60 Hz"), N_("Automatic"), N_("Off"), N_("50 Hz"), N_("60 Hz"), N_("Automatic"),
}; };
#define BKLT_COMPENSATE_TEXT N_( "Backlight compensation" ) #define BKLT_COMPENSATE_TEXT N_( "Backlight compensation" )
#define BKLT_COMPENSATE_LONGTEXT N_( "Backlight compensation." ) #define BKLT_COMPENSATE_LONGTEXT BKLT_COMPENSATE_TEXT
#define BAND_STOP_FILTER_TEXT N_( "Band-stop filter" ) #define BAND_STOP_FILTER_TEXT N_( "Band-stop filter" )
#define BAND_STOP_FILTER_LONGTEXT N_( \ #define BAND_STOP_FILTER_LONGTEXT N_( \
"Cut a light band induced by fluorescent lighting (unit undocumented)." ) "Cut a light band induced by fluorescent lighting (unit undocumented)." )
......
...@@ -271,7 +271,7 @@ static void x264_log( void *, int i_level, const char *psz, va_list ); ...@@ -271,7 +271,7 @@ static void x264_log( void *, int i_level, const char *psz, va_list );
"(p4x4 requires p8x8. i8x8 requires 8x8dct).") "(p4x4 requires p8x8. i8x8 requires 8x8dct).")
#define DIRECT_PRED_TEXT N_("Direct MV prediction mode") #define DIRECT_PRED_TEXT N_("Direct MV prediction mode")
#define DIRECT_PRED_LONGTEXT N_( "Direct MV prediction mode.") #define DIRECT_PRED_LONGTEXT DIRECT_PRED_TEXT
#define DIRECT_PRED_SIZE_TEXT N_("Direct prediction size") #define DIRECT_PRED_SIZE_TEXT N_("Direct prediction size")
#define DIRECT_PRED_SIZE_LONGTEXT N_( "Direct prediction size: "\ #define DIRECT_PRED_SIZE_LONGTEXT N_( "Direct prediction size: "\
......
...@@ -518,7 +518,7 @@ ...@@ -518,7 +518,7 @@
[o_save_accessory_text setStringValue: _NS("File Format:")]; [o_save_accessory_text setStringValue: _NS("File Format:")];
[[o_save_accessory_popup itemAtIndex:0] setTitle: _NS("Extended M3U")]; [[o_save_accessory_popup itemAtIndex:0] setTitle: _NS("Extended M3U")];
[[o_save_accessory_popup itemAtIndex:1] setTitle: _NS("XML Shareable Playlist Format (XSPF)")]; [[o_save_accessory_popup itemAtIndex:1] setTitle: _NS("XML Shareable Playlist Format (XSPF)")];
[[o_save_accessory_popup itemAtIndex:2] setTitle: _NS("HTML Playlist")]; [[o_save_accessory_popup itemAtIndex:2] setTitle: _NS("HTML playlist")];
} }
- (void)playlistUpdated - (void)playlistUpdated
......
...@@ -585,7 +585,7 @@ static char *disc_get_name (struct udev_device *dev) ...@@ -585,7 +585,7 @@ static char *disc_get_name (struct udev_device *dev)
else if (!strncmp (name, "DVD", 3)) else if (!strncmp (name, "DVD", 3))
cat = N_("DVD"); cat = N_("DVD");
else if (!strncmp (name, "BD", 2)) else if (!strncmp (name, "BD", 2))
cat = N_("Blu-Ray"); cat = N_("BluRay");
else if (!strncmp (name, "HDDVD", 5)) else if (!strncmp (name, "HDDVD", 5))
cat = N_("HD DVD"); cat = N_("HD DVD");
......
...@@ -1374,9 +1374,9 @@ static const char *const mouse_wheel_texts[] = ...@@ -1374,9 +1374,9 @@ static const char *const mouse_wheel_texts[] =
#define TOGGLE_AUTOSCALE_KEY_TEXT N_("Toggle autoscaling") #define TOGGLE_AUTOSCALE_KEY_TEXT N_("Toggle autoscaling")
#define TOGGLE_AUTOSCALE_KEY_LONGTEXT N_("Activate or deactivate autoscaling.") #define TOGGLE_AUTOSCALE_KEY_LONGTEXT N_("Activate or deactivate autoscaling.")
#define SCALE_UP_KEY_TEXT N_("Increase scale factor") #define SCALE_UP_KEY_TEXT N_("Increase scale factor")
#define SCALE_UP_KEY_LONGTEXT N_("Increase scale factor.") #define SCALE_UP_KEY_LONGTEXT SCALE_UP_KEY_TEXT
#define SCALE_DOWN_KEY_TEXT N_("Decrease scale factor") #define SCALE_DOWN_KEY_TEXT N_("Decrease scale factor")
#define SCALE_DOWN_KEY_LONGTEXT N_("Decrease scale factor.") #define SCALE_DOWN_KEY_LONGTEXT SCALE_DOWN_KEY_TEXT
#define DEINTERLACE_KEY_TEXT N_("Toggle deinterlacing") #define DEINTERLACE_KEY_TEXT N_("Toggle deinterlacing")
#define DEINTERLACE_KEY_LONGTEXT N_("Activate or deactivate deinterlacing.") #define DEINTERLACE_KEY_LONGTEXT N_("Activate or deactivate deinterlacing.")
#define DEINTERLACE_MODE_KEY_TEXT N_("Cycle deinterlace modes") #define DEINTERLACE_MODE_KEY_TEXT N_("Cycle deinterlace modes")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment