]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/intf.h
ALL:
[vlc] / modules / gui / macosx / intf.h
index 9c87ed94851518e305feee2ac73fb35de680b98d..8995a667b08d473c430936bf6da9232d08b30bae 100644 (file)
@@ -2,7 +2,7 @@
  * intf.h: MacOS X interface plugin
  *****************************************************************************
  * Copyright (C) 2002 VideoLAN
- * $Id: intf.h,v 1.29 2003/02/18 00:17:06 massiot Exp $
+ * $Id: intf.h,v 1.30 2003/03/04 17:31:45 hartman Exp $
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *          Christophe Massiot <massiot@via.ecp.fr>
 @end
 
 #define _NS(s) [NSApp localizedString: _(s)]
+/* Get an alternate version of the string.
+ * This string is stored as '1:string' but when displayed it only displays
+ * the translated string. the translation should be '1:translatedstring' though */
+#define _ANS(s) [[NSApp localizedString: _(s)] substringFromIndex:2]
 
 int ExecuteOnMainThread( id target, SEL sel, void * p_arg );