[vlc-devel] [PATCH 4/5] macosx: add description for File translation string

Marvin Scholz epirat07 at gmail.com
Wed Dec 2 13:59:49 CET 2020


This string is a bit special as its used in the macOS
menu and requires a specific translation in some cases
that differs from other OSes like Windows.
To make it easier for translators to understand the context,
add a short comment detailing the usage.
---
 modules/gui/macosx/menus/VLCMainMenu.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/macosx/menus/VLCMainMenu.m b/modules/gui/macosx/menus/VLCMainMenu.m
index 0c9ae667095..9446fa05d16 100644
--- a/modules/gui/macosx/menus/VLCMainMenu.m
+++ b/modules/gui/macosx/menus/VLCMainMenu.m
@@ -352,6 +352,7 @@ - (void)initStrings
     /* this special case is needed to due to archiac legacy translations of the File menu
      * on the Mac to the German translation which resulted in 'Ablage' instead of 'Datei'.
      * This remains until the present day and does not affect the Windows world. */
+     /* xgettext: Label for the macOS main "File" menu */
     [_fileMenu setTitle: _PNS("macOS MainMenu", "File")];
     [_open_generic setTitle: _NS("Advanced Open File...")];
     [_open_file setTitle: _NS("Open File...")];
-- 
2.24.3 (Apple Git-128)



More information about the vlc-devel mailing list