[vlc-devel] [PATCH] hard deleting many useless(?) string defines

Christoph Miebach christoph.miebach at web.de
Thu Apr 25 11:23:04 CEST 2013


On 24.04.2013 22:23, Rafaël Carré wrote:
> Le 24/04/2013 17:41, Christoph Miebach a écrit :
> qt4 has:
>      /* FixMe: sync I_MENU_BOOKMARK string */
>      submenu = new QMenu( qtr( "Custom &Bookmarks" ), menu );

I knew that and obviously should have mentioned it.

> For all the others, I don't know if we should use them again or not.

Many thanks for re-checking.

Next round:
Basically I run

grep '#define.*_("' -r vlc

(filtering out patches and tempfiles, since my tree is not clean...)
Some of the defines will show up several times (e.g. ACCESS_TEXT), I did 
not handle them, yet.

Now, I just grep for the defines and present you the list of the ones 
only found once (which of course is the definition):

----------
vlc/modules/demux/ts.c:#define CAPMT_SYSID_TEXT N_("CAPMT System ID")

vlc/modules/demux/ts.c:#define CAPMT_SYSID_LONGTEXT N_("Only forward 
descriptors from this SysID to the CAM.")

vlc/modules/video_output/msw/direct3d.c:#define DESKTOP_TEXT N_("Enable 
desktop mode ")

vlc/modules/codec/x264.c:#define B_RDO_TEXT N_("RD based mode decision 
for B-frames")

vlc/modules/codec/x264.c:#define BIME_TEXT N_("Jointly optimize both MVs 
in B-frames")

vlc/modules/access_output/livehttp.c:#define KEYURI_LONGTEXT 
N_("Location from where client will retrieve the stream decryption key")

vlc/modules/audio_output/waveout.c:#define DEFAULT_AUDIO_DEVICE 
N_("Default Audio Device")

vlc/src/libvlc-module.c:#define MONO_TEXT N_("Force mono audio")

vlc/src/libvlc-module.c:#define MONO_LONGTEXT N_("This will force a mono 
audio output.")

vlc/src/libvlc-module.c:#define MULTICHA_TEXT N_("Audio output channels 
mode")

vlc/src/libvlc-module.c:#define ANN_SAPCTRL_TEXT N_("Control SAP flow")

vlc/src/libvlc-module.c:#define PLUGIN_PATH_TEXT N_("Modules search path")

vlc/src/libvlc-module.c:#define INTF_SHOW_KEY_TEXT N_("Show interface")

vlc/src/libvlc-module.c:#define INTF_SHOW_KEY_LONGTEXT N_("Raise the 
interface above all other windows.")

vlc/src/libvlc-module.c:#define INTF_HIDE_KEY_TEXT N_("Hide interface")

vlc/src/libvlc-module.c:#define INTF_HIDE_KEY_LONGTEXT N_("Lower the 
interface below all other windows.")

vlc/include/vlc_config_cat.h:#define CHROMA_TITLE N_("Chroma modules 
settings")

vlc/include/vlc_config_cat.h:#define CHROMA_HELP N_("These settings 
affect chroma transformation modules.")

vlc/include/vlc_config_cat.h:#define PACKETIZER_TITLE  N_("Packetizer 
modules settings" )

vlc/include/vlc_config_cat.h:#define ENCODER_TITLE N_("Encoders settings")

vlc/include/vlc_config_cat.h:#define DIALOGS_TITLE N_("Dialog providers 
settings")

vlc/include/vlc_config_cat.h:#define SUBTITLE_DEMUX_TITLE N_("Subtitle 
demuxer settings")

vlc/include/vlc_config_cat.h:#define UNKNOWN_TITLE N_("No help available" )

vlc/include/vlc_config_cat.h:#define UNKNOWN_HELP N_("There is no help 
available for these modules.")

-------

This define is not used, but the msgid "Zoom" exists
vlc/src/libvlc.h:#define ZOOM_SECTION N_("Zoom")

This one is commented out and not found in my vlc.pot anyway
vlc/include/vlc_config_cat.h:#define TEXT_TITLE N_("Text rendering")




More information about the vlc-devel mailing list