Mac OS: Show how to localize the "Preferences…" custom application menu item

of the menubar test app.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10938 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2015-12-01 10:03:23 +00:00
parent b2f24781d4
commit 3c82a3d736
6 changed files with 11 additions and 1 deletions

View File

@ -5,3 +5,5 @@
"Hide Others"="Hide Others";
"Show All"="Show All";
"Quit %@"="Quit %@";
"Preferences…" = "Preferences…";
"File" = "File";

View File

@ -5,3 +5,5 @@
"Hide Others"="Masquer les autres";
"Show All"="Tout afficher";
"Quit %@"="Quitter %@";
"Preferences…" = "Préférences…";
"File" = "Fichier";

View File

@ -5,3 +5,5 @@
"Hide Others"="Andere ausblenden";
"Show All"="Alle einblenden";
"Quit %@"="%@ beenden";
"Preferences…" = "Einstellungen…";
"File" = "Ablage";

View File

@ -5,3 +5,5 @@
"Hide Others"="Nascondi altre";
"Show All"="Mostra tutte";
"Quit %@"="Esci da %@";
"Preferences…" = "Preferenze…";
"File" = "File";

View File

@ -5,3 +5,5 @@
"Hide Others"="Ocultar otros";
"Show All"="Mostrar todo";
"Quit %@"="Salir de %@";
"Preferences…" = "Preferencias…";
"File" = "Archivo";

View File

@ -240,7 +240,7 @@ int main(int argc, char **argv) {
#ifdef __APPLE__
Fl_Menu_Item custom[] = {
{"Preferences", 0, test_cb, NULL, FL_MENU_DIVIDER},
{"Preferences", 0, test_cb, NULL, FL_MENU_DIVIDER},
{"Radio1", 0, test_cb, NULL, FL_MENU_RADIO|FL_MENU_VALUE},
{"Radio2", 0, test_cb, NULL, FL_MENU_RADIO},
{0}