⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gvxlang.c

📁 GSview 4.6 PostScript previewer。Ghostscript在MS-Windows, OS/2 and Unix下的图形化接口
💻 C
字号:
/* Copyright (C) 2000, Ghostgum Software Pty Ltd.  All rights reserved.
  
  This file is part of GSview.
  
  This program is distributed with NO WARRANTY OF ANY KIND.  No author
  or distributor accepts any responsibility for the consequences of using it,
  or for whether it serves any particular purpose or works at all, unless he
  or she says so in writing.  Refer to the GSview Free Public Licence 
  (the "Licence") for full details.
  
  Every copy of GSview must include a copy of the Licence, normally in a 
  plain ASCII text file named LICENCE.  The Licence grants you the right 
  to copy, modify and redistribute GSview, but only under certain conditions 
  described in the Licence.  Among other things, the Licence requires that 
  the copyright notice and this notice be preserved on all copies.
*/
/* fr/gvxlang.c */

#include "gvx.h"
#include "gvxres.h"
#include "gvxlang.h"
#include "fr/gvclang.h"

/* string table ids must be in order since we use a binary search */
STRING_ENTRY string_fr[] = {
#include "gvclang.rc"
#include "gvxlangh.rc"
};

int string_fr_len = sizeof(string_fr)/sizeof(STRING_ENTRY);

/* This is the GtkItemFactoryEntry structure used to generate new menus.
   Item 1: The menu path. The letter after the underscore indicates an
           accelerator key once the menu is open.
   Item 2: The accelerator key for the entry
   Item 3: The callback function.
   Item 4: The callback action.  This changes the parameters with
           which the function is called.  The default is 0.
   Item 5: The item type, used to define what kind of an item it is.
           Here are the possible values:

           NULL               -> "<Item>"
           ""                 -> "<Item>"
           "<Title>"          -> create a title item
           "<Item>"           -> create a simple item
           "<CheckItem>"      -> create a check item
           "<ToggleItem>"     -> create a toggle item
           "<RadioItem>"      -> create a radio item
           <path>             -> path of a radio item to link against
           "<Separator>"      -> create a separator
           "<Branch>"         -> create an item to hold sub items (optional)
           "<LastBranch>"     -> create a right justified branch 
*/


MENU_ENTRY menu_fr[] = {
  { "/_Fichier", 			NULL, 	NULL, 	IDM_FILEMENU, "<Branch>" },
  { "/Fichier/_Ouvrir...",     	"O", 	GS_CMD,	IDM_OPEN, NULL },
  { "/Fichier/_S閘ectionner un fichier...",    "S", 	GS_CMD,	IDM_SELECT, NULL },
  { "/Fichier/_Enregistrer sous...",     	"A", 	GS_CMD,	IDM_SAVEAS, NULL },
  { "/Fichier/_Fermer",     	"C", 	GS_CMD,	IDM_CLOSE, NULL },
  { "/Fichier/_Infomations...",     	"I", 	GS_CMD,	IDM_INFO, NULL },
  { "/Fichier/sep1",     		NULL,   NULL, 		0, "<Separator>" },
  { "/Fichier/_Convert...",     	NULL, 	GS_CMD,	IDM_CONVERTFILE, NULL },
  { "/Fichier/E_xtraire...",     	"E", 	GS_CMD,	IDM_EXTRACT, NULL },
  { "/Fichier/PS _vers EPS",     	NULL, 	GS_CMD,	IDM_PSTOEPS, NULL },
  { "/Fichier/sep2",     		NULL,   NULL, 		0, "<Separator>" },
  { "/Fichier/Im_primer...",     	"P", 	GS_CMD,	IDM_PRINT, NULL },
  { "/Fichier/Imprimer _un fichier...",     	NULL, 	GS_CMD,	IDM_SPOOL, NULL },
  { "/Fichier/sep3",     		NULL,   NULL, 		0, "<Separator>" },
  { "/Fichier/Afficher les _messages",     	"M", 	GS_CMD,	IDM_GSMESS, NULL },
  { "/Fichier/sep4",     		NULL,   NULL, 		0, "<Separator>" },
  { "/Fichier/1LASTFILE",     	NULL, 	GS_CMD,	IDM_LASTFILE1, NULL },
  { "/Fichier/2LASTFILE",     	NULL, 	GS_CMD,	IDM_LASTFILE2, NULL },
  { "/Fichier/3LASTFILE",     	NULL, 	GS_CMD,	IDM_LASTFILE3, NULL },
  { "/Fichier/4LASTFILE",     	NULL, 	GS_CMD,	IDM_LASTFILE4, NULL },
  { "/Fichier/sep5",     		NULL,   NULL, 		0, "<Separator>" },
  { "/Fichier/_Quitter",     		NULL, 	GS_CMD,	IDM_EXIT, NULL },

  { "/_Edition",      		NULL,   NULL, 	IDM_EDITMENU, "<Branch>" },
/*
  { "/Edition/_Copier",     		"<control>C", GS_CMD, IDM_COPYCLIP, NULL },
  { "/Edition/sep1",     		NULL,   NULL, 		0, "<Separator>" },
  { "/Edition/Convertir _Bitmap",    NULL,	GS_CMD,	IDM_CONVERT, NULL },
*/
  { "/Edition/Save Pixmap as BMP",     	NULL,	GS_CMD,	IDM_PASTETO, NULL }, /* ENGLISH */
  { "/Edition/sep2",     		NULL,   NULL, 		0, "<Separator>" },
  { "/Edition/_Ajouter un aper鐄 EPS",   NULL,   NULL, 		0, "<Branch>" },
  { "/Edition/Ajouter un aper鐄 EPS/_Interchange", NULL,		GS_CMD, IDM_MAKEEPSI, NULL },
  { "/Edition/Ajouter un aper鐄 EPS/TIFF 4", NULL,		GS_CMD, IDM_MAKEEPST4, NULL },
  { "/Edition/Ajouter un aper鐄 EPS/_TIFF 6 non compress

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -