Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
GNOME
gtk
Commits
b478870c
Commit
b478870c
authored
Oct 27, 2008
by
Matthias Clasen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More conversion to C_()
svn path=/trunk/; revision=21717
parent
5cfd0383
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
355 additions
and
510 deletions
+355
-510
ChangeLog
ChangeLog
+10
-0
gdk/keyname-table.h
gdk/keyname-table.h
+37
-37
gtk/gen-paper-names.c
gtk/gen-paper-names.c
+1
-1
gtk/gtkaccellabel.c
gtk/gtkaccellabel.c
+3
-7
gtk/gtkpapersize.c
gtk/gtkpapersize.c
+1
-1
gtk/gtkprintoperation.c
gtk/gtkprintoperation.c
+10
-19
gtk/gtkstock.c
gtk/gtkstock.c
+125
-117
gtk/paper_names_offsets.c
gtk/paper_names_offsets.c
+164
-328
po/ChangeLog
po/ChangeLog
+4
-0
No files found.
ChangeLog
View file @
b478870c
2008-10-26 Matthias Clasen <mclasen@redhat.com>
* gdk/keyname-table.h:
* gtk/gen-paper-names.c:
* gtk/paper_names_offsets.c:
* gtk/gtkpapersize.c:
* gtk/gtkaccellabel.c:
* gtk/gtkprintoperation.c:
* gtk/gtkstock.c: More conversion to C_().
2008-10-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaccellabel.c:
...
...
gdk/keyname-table.h
View file @
b478870c
...
...
@@ -3937,42 +3937,42 @@ static const gdk_key gdk_keys_by_name[] = {
#if 0
N_("keyboard label
|
BackSpace")
N_("keyboard labe
l|
Tab")
N_("keyboard label
|
Return")
N_("keyboard label
|
Pause")
N_("keyboard label
|
Scroll_Lock")
N_("keyboard label
|
Sys_Req")
N_("keyboard label
|
Escape")
N_("keyboard label
|
Multi_key")
N_("keyboard label
|
Home")
N_("keyboard label
|
Left")
N_("keyboard label
|
Up")
N_("keyboard label
|
Right")
N_("keyboard label
|
Down")
N_("keyboard label
|
Page_Up")
N_("keyboard label
|
Page_Down")
N_("keyboard label
|
End")
N_("keyboard label
|
Begin")
N_("keyboard label
|
Print")
N_("keyboard label
|
Insert")
N_("keyboard label
|
Num_Lock")
N_("keyboard label
|
KP_Space")
N_("keyboard label
|
KP_Tab")
N_("keyboard label
|
KP_Enter")
N_("keyboard label
|
KP_Home")
N_("keyboard label
|
KP_Left")
N_("keyboard label
|
KP_Up")
N_("keyboard label
|
KP_Right")
N_("keyboard label
|
KP_Down")
N_("keyboard label
|
KP_Page_Up")
N_("keyboard label
|
KP_Prior")
N_("keyboard label
|
KP_Page_Down")
N_("keyboard label
|
KP_Next")
N_("keyboard label
|
KP_End")
N_("keyboard label
|
KP_Begin")
N_("keyboard label
|
KP_Insert")
N_("keyboard label
|
KP_Delete")
N_("keyboard label
|
Delete")
N
C
_("keyboard label
", "
BackSpace")
N
C
_("keyboard labe
", "
Tab")
N
C
_("keyboard label
", "
Return")
N
C
_("keyboard label
", "
Pause")
N
C
_("keyboard label
", "
Scroll_Lock")
N
C
_("keyboard label
", "
Sys_Req")
N
C
_("keyboard label
", "
Escape")
N
C
_("keyboard label
", "
Multi_key")
N
C
_("keyboard label
", "
Home")
N
C
_("keyboard label
", "
Left")
N
C
_("keyboard label
", "
Up")
N
C
_("keyboard label
", "
Right")
N
C
_("keyboard label
", "
Down")
N
C
_("keyboard label
", "
Page_Up")
N
C
_("keyboard label
", "
Page_Down")
N
C
_("keyboard label
", "
End")
N
C
_("keyboard label
", "
Begin")
N
C
_("keyboard label
", "
Print")
N
C
_("keyboard label
", "
Insert")
N
C
_("keyboard label
", "
Num_Lock")
N
C
_("keyboard label
", "
KP_Space")
N
C
_("keyboard label
", "
KP_Tab")
N
C
_("keyboard label
", "
KP_Enter")
N
C
_("keyboard label
", "
KP_Home")
N
C
_("keyboard label
", "
KP_Left")
N
C
_("keyboard label
", "
KP_Up")
N
C
_("keyboard label
", "
KP_Right")
N
C
_("keyboard label
", "
KP_Down")
N
C
_("keyboard label
", "
KP_Page_Up")
N
C
_("keyboard label
", "
KP_Prior")
N
C
_("keyboard label
", "
KP_Page_Down")
N
C
_("keyboard label
", "
KP_Next")
N
C
_("keyboard label
", "
KP_End")
N
C
_("keyboard label
", "
KP_Begin")
N
C
_("keyboard label
", "
KP_Insert")
N
C
_("keyboard label
", "
KP_Delete")
N
C
_("keyboard label
", "
Delete")
#endif
gtk/gen-paper-names.c
View file @
b478870c
...
...
@@ -184,7 +184,7 @@ main (int argc, char *argv[])
printf
(
"#if 0
\n
"
);
for
(
i
=
0
;
i
<
n_infos
;
i
++
)
printf
(
"/* translators, strip everything up to the first | */
\n
"
"N_(
\"
paper size
|
%s
\"
)
\n
"
,
standard_names
[
i
].
display_name
);
"N
C
_(
\"
paper size
\"
,
\"
%s
\"
)
\n
"
,
standard_names
[
i
].
display_name
);
printf
(
"#endif
\n\n
"
);
/* write strings */
...
...
gtk/gtkaccellabel.c
View file @
b478870c
...
...
@@ -733,13 +733,9 @@ _gtk_accel_label_class_get_accelerator_label (GtkAccelLabelClass *klass,
g_string_append_c
(
gstring
,
g_ascii_toupper
(
tmp
[
0
]));
else
{
gchar
msg
[
128
];
gchar
*
str
;
strcpy
(
msg
,
"keyboard label|"
);
g_strlcat
(
msg
,
tmp
,
128
);
str
=
_
(
msg
);
if
(
str
==
msg
)
const
gchar
*
str
;
str
=
g_dpgettext2
(
GETTEXT_PACKAGE
,
"keyboard label"
,
tmp
);
if
(
str
==
tmp
)
{
g_string_append
(
gstring
,
tmp
);
substitute_underscores
(
gstring
->
str
);
...
...
gtk/gtkpapersize.c
View file @
b478870c
...
...
@@ -525,7 +525,7 @@ gtk_paper_size_get_display_name (GtkPaperSize *size)
g_assert
(
size
->
info
!=
NULL
);
display_name
=
paper_names
+
size
->
info
->
display_name
;
return
g_
strip_con
text
(
display_name
,
_
(
display_name
)
)
;
return
g_
dpget
text
2
(
GETTEXT_PACKAGE
,
"paper size"
,
display_name
);
}
/**
...
...
gtk/gtkprintoperation.c
View file @
b478870c
...
...
@@ -1500,31 +1500,22 @@ _gtk_print_operation_set_status (GtkPrintOperation *op,
{
GtkPrintOperationPrivate
*
priv
=
op
->
priv
;
static
const
gchar
*
status_strs
[]
=
{
/* translators, strip the prefix up to and including the first | */
N_
(
"print operation status|Initial state"
),
/* translators, strip the prefix up to and including the first | */
N_
(
"print operation status|Preparing to print"
),
/* translators, strip the prefix up to and including the first | */
N_
(
"print operation status|Generating data"
),
/* translators, strip the prefix up to and including the first | */
N_
(
"print operation status|Sending data"
),
/* translators, strip the prefix up to and including the first | */
N_
(
"print operation status|Waiting"
),
/* translators, strip the prefix up to and including the first | */
N_
(
"print operation status|Blocking on issue"
),
/* translators, strip the prefix up to and including the first | */
N_
(
"print operation status|Printing"
),
/* translators, strip the prefix up to and including the first | */
N_
(
"print operation status|Finished"
),
/* translators, strip the prefix up to and including the first | */
N_
(
"print operation status|Finished with error"
)
NC_
(
"print operation status"
,
"Initial state"
),
NC_
(
"print operation status"
,
"Preparing to print"
),
NC_
(
"print operation status"
,
"Generating data"
),
NC_
(
"print operation status"
,
"Sending data"
),
NC_
(
"print operation status"
,
"Waiting"
),
NC_
(
"print operation status"
,
"Blocking on issue"
),
NC_
(
"print operation status"
,
"Printing"
),
NC_
(
"print operation status"
,
"Finished"
),
NC_
(
"print operation status"
,
"Finished with error"
)
};
if
(
status
<
0
||
status
>
GTK_PRINT_STATUS_FINISHED_ABORTED
)
status
=
GTK_PRINT_STATUS_FINISHED_ABORTED
;
if
(
string
==
NULL
)
string
=
g_
strip_con
text
(
status_strs
[
status
]
,
_
(
status_strs
[
status
])
)
;
string
=
g_
dpget
text
2
(
GETTEXT_PACKAGE
,
"print operation
status
"
,
status_strs
[
status
]);
if
(
priv
->
status
==
status
&&
strcmp
(
string
,
priv
->
status_string
)
==
0
)
...
...
gtk/gtkstock.c
View file @
b478870c
...
...
@@ -285,124 +285,134 @@ static const GtkStockItem builtin_items [] =
{
/* KEEP IN SYNC with gtkiconfactory.c stock icons, when appropriate */
{
GTK_STOCK_DIALOG_INFO
,
N_
(
"Information"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_DIALOG_WARNING
,
N_
(
"Warning"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_DIALOG_ERROR
,
N_
(
"Error"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_DIALOG_QUESTION
,
N_
(
"Question"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_DIALOG_INFO
,
N
C
_
(
"Stock label"
,
"Information"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_DIALOG_WARNING
,
N
C
_
(
"Stock label"
,
"Warning"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_DIALOG_ERROR
,
N
C
_
(
"Stock label"
,
"Error"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_DIALOG_QUESTION
,
N
C
_
(
"Stock label"
,
"Question"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* FIXME these need accelerators when appropriate, and
* need the mnemonics to be rationalized
*/
{
GTK_STOCK_ABOUT
,
N_
(
"_About"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_ADD
,
N_
(
"_Add"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_APPLY
,
N_
(
"_Apply"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_BOLD
,
N_
(
"_Bold"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_CANCEL
,
N_
(
"_Cancel"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_CDROM
,
N_
(
"_CD-Rom"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_CLEAR
,
N_
(
"_Clear"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_CLOSE
,
N_
(
"_Close"
),
GDK_CONTROL_MASK
,
'w'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_CONNECT
,
N_
(
"C_onnect"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_CONVERT
,
N_
(
"_Convert"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_COPY
,
N_
(
"_Copy"
),
GDK_CONTROL_MASK
,
'c'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_CUT
,
N_
(
"Cu_t"
),
GDK_CONTROL_MASK
,
'x'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_DELETE
,
N_
(
"_Delete"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_DISCARD
,
N_
(
"_Discard"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_DISCONNECT
,
N_
(
"_Disconnect"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_EXECUTE
,
N_
(
"_Execute"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_EDIT
,
N_
(
"_Edit"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_FIND
,
N_
(
"_Find"
),
GDK_CONTROL_MASK
,
'f'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_FIND_AND_REPLACE
,
N_
(
"Find and _Replace"
),
GDK_CONTROL_MASK
,
'r'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_FLOPPY
,
N_
(
"_Floppy"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_FULLSCREEN
,
N_
(
"_Fullscreen"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_LEAVE_FULLSCREEN
,
N_
(
"_Leave Fullscreen"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_GOTO_BOTTOM
,
N_
(
"Navigation|_Bottom"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_GOTO_FIRST
,
N_
(
"Navigation|_First"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_GOTO_LAST
,
N_
(
"Navigation|_Last"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_GOTO_TOP
,
N_
(
"Navigation|_Top"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_GO_BACK
,
N_
(
"Navigation|_Back"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_GO_DOWN
,
N_
(
"Navigation|_Down"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_GO_FORWARD
,
N_
(
"Navigation|_Forward"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_GO_UP
,
N_
(
"Navigation|_Up"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_HARDDISK
,
N_
(
"_Harddisk"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_HELP
,
N_
(
"_Help"
),
GDK_CONTROL_MASK
,
'h'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_HOME
,
N_
(
"_Home"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_INDENT
,
N_
(
"Increase Indent"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_UNINDENT
,
N_
(
"Decrease Indent"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_INDEX
,
N_
(
"_Index"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_INFO
,
N_
(
"_Information"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_ITALIC
,
N_
(
"_Italic"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_JUMP_TO
,
N_
(
"_Jump to"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_JUSTIFY_CENTER
,
N_
(
"Justify|_Center"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_JUSTIFY_FILL
,
N_
(
"Justify|_Fill"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_JUSTIFY_LEFT
,
N_
(
"Justify|_Left"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_JUSTIFY_RIGHT
,
N_
(
"Justify|_Right"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_MEDIA_FORWARD
,
N_
(
"Media|_Forward"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_MEDIA_NEXT
,
N_
(
"Media|_Next"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_MEDIA_PAUSE
,
N_
(
"Media|P_ause"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_MEDIA_PLAY
,
N_
(
"Media|_Play"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_MEDIA_PREVIOUS
,
N_
(
"Media|Pre_vious"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_MEDIA_RECORD
,
N_
(
"Media|_Record"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_MEDIA_REWIND
,
N_
(
"Media|R_ewind"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* translators, strip the prefix up to and including the first | */
{
GTK_STOCK_MEDIA_STOP
,
N_
(
"Media|_Stop"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_NETWORK
,
N_
(
"_Network"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_NEW
,
N_
(
"_New"
),
GDK_CONTROL_MASK
,
'n'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_NO
,
N_
(
"_No"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_OK
,
N_
(
"_OK"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_OPEN
,
N_
(
"_Open"
),
GDK_CONTROL_MASK
,
'o'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_ORIENTATION_LANDSCAPE
,
N_
(
"Landscape"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_ORIENTATION_PORTRAIT
,
N_
(
"Portrait"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE
,
N_
(
"Reverse landscape"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT
,
N_
(
"Reverse portrait"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_PAGE_SETUP
,
N_
(
"Page Set_up"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_PASTE
,
N_
(
"_Paste"
),
GDK_CONTROL_MASK
,
'v'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_PREFERENCES
,
N_
(
"_Preferences"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_PRINT
,
N_
(
"_Print"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_PRINT_PREVIEW
,
N_
(
"Print Pre_view"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_PROPERTIES
,
N_
(
"_Properties"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_QUIT
,
N_
(
"_Quit"
),
GDK_CONTROL_MASK
,
'q'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_REDO
,
N_
(
"_Redo"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_REFRESH
,
N_
(
"_Refresh"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_REMOVE
,
N_
(
"_Remove"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_REVERT_TO_SAVED
,
N_
(
"_Revert"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_SAVE
,
N_
(
"_Save"
),
GDK_CONTROL_MASK
,
's'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_SAVE_AS
,
N_
(
"Save _As"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_SELECT_ALL
,
N_
(
"Select _All"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_SELECT_COLOR
,
N_
(
"_Color"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_SELECT_FONT
,
N_
(
"_Font"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_SORT_ASCENDING
,
N_
(
"_Ascending"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_SORT_DESCENDING
,
N_
(
"_Descending"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_SPELL_CHECK
,
N_
(
"_Spell Check"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_STOP
,
N_
(
"_Stop"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_STRIKETHROUGH
,
N_
(
"_Strikethrough"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_UNDELETE
,
N_
(
"_Undelete"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_UNDERLINE
,
N_
(
"_Underline"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_UNDO
,
N_
(
"_Undo"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_YES
,
N_
(
"_Yes"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_ZOOM_100
,
N_
(
"_Normal Size"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_ZOOM_FIT
,
N_
(
"Best _Fit"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_ZOOM_IN
,
N_
(
"Zoom _In"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_ZOOM_OUT
,
N_
(
"Zoom _Out"
),
0
,
0
,
GETTEXT_PACKAGE
}
{
GTK_STOCK_ABOUT
,
NC_
(
"Stock label"
,
"_About"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_ADD
,
NC_
(
"Stock label"
,
"_Add"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_APPLY
,
NC_
(
"Stock label"
,
"_Apply"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_BOLD
,
NC_
(
"Stock label"
,
"_Bold"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_CANCEL
,
NC_
(
"Stock label"
,
"_Cancel"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_CDROM
,
NC_
(
"Stock label"
,
"_CD-Rom"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_CLEAR
,
NC_
(
"Stock label"
,
"_Clear"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_CLOSE
,
NC_
(
"Stock label"
,
"_Close"
),
GDK_CONTROL_MASK
,
'w'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_CONNECT
,
NC_
(
"Stock label"
,
"C_onnect"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_CONVERT
,
NC_
(
"Stock label"
,
"_Convert"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_COPY
,
NC_
(
"Stock label"
,
"_Copy"
),
GDK_CONTROL_MASK
,
'c'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_CUT
,
NC_
(
"Stock label"
,
"Cu_t"
),
GDK_CONTROL_MASK
,
'x'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_DELETE
,
NC_
(
"Stock label"
,
"_Delete"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_DISCARD
,
NC_
(
"Stock label"
,
"_Discard"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_DISCONNECT
,
NC_
(
"Stock label"
,
"_Disconnect"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_EXECUTE
,
NC_
(
"Stock label"
,
"_Execute"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_EDIT
,
NC_
(
"Stock label"
,
"_Edit"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_FIND
,
NC_
(
"Stock label"
,
"_Find"
),
GDK_CONTROL_MASK
,
'f'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_FIND_AND_REPLACE
,
NC_
(
"Stock label"
,
"Find and _Replace"
),
GDK_CONTROL_MASK
,
'r'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_FLOPPY
,
NC_
(
"Stock label"
,
"_Floppy"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_FULLSCREEN
,
NC_
(
"Stock label"
,
"_Fullscreen"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_LEAVE_FULLSCREEN
,
NC_
(
"Stock label"
,
"_Leave Fullscreen"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* This is a navigation label as in "go to the bottom of the page" */
{
GTK_STOCK_GOTO_BOTTOM
,
NC_
(
"Stock label"
,
"_Bottom"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* This is a navigation label as in "go to the first page" */
{
GTK_STOCK_GOTO_FIRST
,
NC_
(
"Stock label"
,
"_First"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* This is a navigation label as in "go to the last page" */
{
GTK_STOCK_GOTO_LAST
,
NC_
(
"Stock label"
,
"_Last"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* This is a navigation label as in "go to the top of the page" */
{
GTK_STOCK_GOTO_TOP
,
NC_
(
"Stock label"
,
"_Top"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* This is a navigation label as in "go back" */
{
GTK_STOCK_GO_BACK
,
NC_
(
"Stock label"
,
"_Back"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* This is a navigation label as in "go down" */
{
GTK_STOCK_GO_DOWN
,
NC_
(
"Stock label"
,
"_Down"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* This is a navigation label as in "go forward" */
{
GTK_STOCK_GO_FORWARD
,
NC_
(
"Stock label"
,
"_Forward"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* This is a navigation label as in "go up" */
{
GTK_STOCK_GO_UP
,
NC_
(
"Stock label"
,
"_Up"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_HARDDISK
,
NC_
(
"Stock label"
,
"_Harddisk"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_HELP
,
NC_
(
"Stock label"
,
"_Help"
),
GDK_CONTROL_MASK
,
'h'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_HOME
,
NC_
(
"Stock label"
,
"_Home"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_INDENT
,
NC_
(
"Stock label"
,
"Increase Indent"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_UNINDENT
,
NC_
(
"Stock label"
,
"Decrease Indent"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_INDEX
,
NC_
(
"Stock label"
,
"_Index"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_INFO
,
NC_
(
"Stock label"
,
"_Information"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_ITALIC
,
NC_
(
"Stock label"
,
"_Italic"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_JUMP_TO
,
NC_
(
"Stock label"
,
"_Jump to"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* This is about text justification, "centered text" */
{
GTK_STOCK_JUSTIFY_CENTER
,
NC_
(
"Stock label"
,
"_Center"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* This is about text justification */
{
GTK_STOCK_JUSTIFY_FILL
,
NC_
(
"Stock label"
,
"_Fill"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* This is about text justification, "left-justified text" */
{
GTK_STOCK_JUSTIFY_LEFT
,
NC_
(
"Stock label"
,
"_Left"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* This is about text justification, "right-justified text" */
{
GTK_STOCK_JUSTIFY_RIGHT
,
NC_
(
"Stock label"
,
"_Right"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Media label, as in "fast forward" */
{
GTK_STOCK_MEDIA_FORWARD
,
NC_
(
"Stock label"
,
"_Forward"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Media label, as in "next song" */
{
GTK_STOCK_MEDIA_NEXT
,
NC_
(
"Stock label"
,
"_Next"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Media label, as in "pause music" */
{
GTK_STOCK_MEDIA_PAUSE
,
NC_
(
"Stock label"
,
"P_ause"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Media label, as in "play music" */
{
GTK_STOCK_MEDIA_PLAY
,
NC_
(
"Stock label"
,
"_Play"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Media label, as in "previous song" */
{
GTK_STOCK_MEDIA_PREVIOUS
,
NC_
(
"Stock label"
,
"Pre_vious"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Media label */
{
GTK_STOCK_MEDIA_RECORD
,
NC_
(
"Stock label"
,
"_Record"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Media label */
{
GTK_STOCK_MEDIA_REWIND
,
NC_
(
"Stock label"
,
"R_ewind"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Media label */
{
GTK_STOCK_MEDIA_STOP
,
NC_
(
"Stock label"
,
"_Stop"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_NETWORK
,
NC_
(
"Stock label"
,
"_Network"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_NEW
,
NC_
(
"Stock label"
,
"_New"
),
GDK_CONTROL_MASK
,
'n'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_NO
,
NC_
(
"Stock label"
,
"_No"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_OK
,
NC_
(
"Stock label"
,
"_OK"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_OPEN
,
NC_
(
"Stock label"
,
"_Open"
),
GDK_CONTROL_MASK
,
'o'
,
GETTEXT_PACKAGE
},
/* Page orientation */
{
GTK_STOCK_ORIENTATION_LANDSCAPE
,
NC_
(
"Stock label"
,
"Landscape"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Page orientation */
{
GTK_STOCK_ORIENTATION_PORTRAIT
,
NC_
(
"Stock label"
,
"Portrait"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Page orientation */
{
GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE
,
NC_
(
"Stock label"
,
"Reverse landscape"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Page orientation */
{
GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT
,
NC_
(
"Stock label"
,
"Reverse portrait"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_PAGE_SETUP
,
NC_
(
"Stock label"
,
"Page Set_up"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_PASTE
,
NC_
(
"Stock label"
,
"_Paste"
),
GDK_CONTROL_MASK
,
'v'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_PREFERENCES
,
NC_
(
"Stock label"
,
"_Preferences"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_PRINT
,
NC_
(
"Stock label"
,
"_Print"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_PRINT_PREVIEW
,
NC_
(
"Stock label"
,
"Print Pre_view"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_PROPERTIES
,
NC_
(
"Stock label"
,
"_Properties"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_QUIT
,
NC_
(
"Stock label"
,
"_Quit"
),
GDK_CONTROL_MASK
,
'q'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_REDO
,
NC_
(
"Stock label"
,
"_Redo"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_REFRESH
,
NC_
(
"Stock label"
,
"_Refresh"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_REMOVE
,
NC_
(
"Stock label"
,
"_Remove"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_REVERT_TO_SAVED
,
NC_
(
"Stock label"
,
"_Revert"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_SAVE
,
NC_
(
"Stock label"
,
"_Save"
),
GDK_CONTROL_MASK
,
's'
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_SAVE_AS
,
NC_
(
"Stock label"
,
"Save _As"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_SELECT_ALL
,
NC_
(
"Stock label"
,
"Select _All"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_SELECT_COLOR
,
NC_
(
"Stock label"
,
"_Color"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_SELECT_FONT
,
NC_
(
"Stock label"
,
"_Font"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Sorting direction */
{
GTK_STOCK_SORT_ASCENDING
,
NC_
(
"Stock label"
,
"_Ascending"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Sorting direction */
{
GTK_STOCK_SORT_DESCENDING
,
NC_
(
"Stock label"
,
"_Descending"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_SPELL_CHECK
,
NC_
(
"Stock label"
,
"_Spell Check"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_STOP
,
NC_
(
"Stock label"
,
"_Stop"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Font variant */
{
GTK_STOCK_STRIKETHROUGH
,
NC_
(
"Stock label"
,
"_Strikethrough"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_UNDELETE
,
NC_
(
"Stock label"
,
"_Undelete"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Font variant */
{
GTK_STOCK_UNDERLINE
,
NC_
(
"Stock label"
,
"_Underline"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_UNDO
,
NC_
(
"Stock label"
,
"_Undo"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_YES
,
NC_
(
"Stock label"
,
"_Yes"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Zoom */
{
GTK_STOCK_ZOOM_100
,
NC_
(
"Stock label"
,
"_Normal Size"
),
0
,
0
,
GETTEXT_PACKAGE
},
/* Zoom */
{
GTK_STOCK_ZOOM_FIT
,
NC_
(
"Stock label"
,
"Best _Fit"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_ZOOM_IN
,
NC_
(
"Stock label"
,
"Zoom _In"
),
0
,
0
,
GETTEXT_PACKAGE
},
{
GTK_STOCK_ZOOM_OUT
,
NC_
(
"Stock label"
,
"Zoom _Out"
),
0
,
0
,
GETTEXT_PACKAGE
}
};
/**
...
...
@@ -455,9 +465,7 @@ static gchar *
sgettext_swapped
(
const
gchar
*
msgid
,
gpointer
data
)
{
gchar
*
domainname
=
data
;
return
(
gchar
*
)
g_strip_context
(
msgid
,
g_dgettext
(
domainname
,
msgid
));
return
(
gchar
*
)
g_dpgettext2
((
const
char
*
)
data
,
"Stock label"
,
msgid
);
}
...
...
gtk/paper_names_offsets.c
View file @
b478870c
/* Generated by gen-paper-names */
#if 0
/* translators, strip everything up to the first | */
N_("paper size|asme_f")
/* translators, strip everything up to the first | */
N_("paper size|A0x2")
/* translators, strip everything up to the first | */
N_("paper size|A0")
/* translators, strip everything up to the first | */
N_("paper size|A0x3")
/* translators, strip everything up to the first | */
N_("paper size|A1")
/* translators, strip everything up to the first | */
N_("paper size|A10")
/* translators, strip everything up to the first | */
N_("paper size|A1x3")
/* translators, strip everything up to the first | */
N_("paper size|A1x4")
/* translators, strip everything up to the first | */
N_("paper size|A2")
/* translators, strip everything up to the first | */
N_("paper size|A2x3")
/* translators, strip everything up to the first | */
N_("paper size|A2x4")
/* translators, strip everything up to the first | */
N_("paper size|A2x5")
/* translators, strip everything up to the first | */
N_("paper size|A3")
/* translators, strip everything up to the first | */
N_("paper size|A3 Extra")
/* translators, strip everything up to the first | */
N_("paper size|A3x3")
/* translators, strip everything up to the first | */
N_("paper size|A3x4")
/* translators, strip everything up to the first | */
N_("paper size|A3x5")
/* translators, strip everything up to the first | */
N_("paper size|A3x6")
/* translators, strip everything up to the first | */
N_("paper size|A3x7")
/* translators, strip everything up to the first | */
N_("paper size|A4")
/* translators, strip everything up to the first | */
N_("paper size|A4 Extra")
/* translators, strip everything up to the first | */
N_("paper size|A4 Tab")
/* translators, strip everything up to the first | */
N_("paper size|A4x3")
/* translators, strip everything up to the first | */
N_("paper size|A4x4")
/* translators, strip everything up to the first | */
N_("paper size|A4x5")
/* translators, strip everything up to the first | */
N_("paper size|A4x6")
/* translators, strip everything up to the first | */
N_("paper size|A4x7")
/* translators, strip everything up to the first | */
N_("paper size|A4x8")
/* translators, strip everything up to the first | */
N_("paper size|A4x9")
/* translators, strip everything up to the first | */
N_("paper size|A5")
/* translators, strip everything up to the first | */
N_("paper size|A5 Extra")
/* translators, strip everything up to the first | */
N_("paper size|A6")
/* translators, strip everything up to the first | */
N_("paper size|A7")
/* translators, strip everything up to the first | */
N_("paper size|A8")
/* translators, strip everything up to the first | */
N_("paper size|A9")
/* translators, strip everything up to the first | */
N_("paper size|B0")
/* translators, strip everything up to the first | */
N_("paper size|B1")
/* translators, strip everything up to the first | */
N_("paper size|B10")
/* translators, strip everything up to the first | */
N_("paper size|B2")
/* translators, strip everything up to the first | */
N_("paper size|B3")
/* translators, strip everything up to the first | */
N_("paper size|B4")
/* translators, strip everything up to the first | */
N_("paper size|B5")
/* translators, strip everything up to the first | */
N_("paper size|B5 Extra")
/* translators, strip everything up to the first | */
N_("paper size|B6")
/* translators, strip everything up to the first | */
N_("paper size|B6/C4")
/* translators, strip everything up to the first | */
N_("paper size|B7")
/* translators, strip everything up to the first | */
N_("paper size|B8")
/* translators, strip everything up to the first | */
N_("paper size|B9")
/* translators, strip everything up to the first | */
N_("paper size|C0")
/* translators, strip everything up to the first | */
N_("paper size|C1")
/* translators, strip everything up to the first | */
N_("paper size|C10")
/* translators, strip everything up to the first | */
N_("paper size|C2")
/* translators, strip everything up to the first | */
N_("paper size|C3")
/* translators, strip everything up to the first | */
N_("paper size|C4")
/* translators, strip everything up to the first | */
N_("paper size|C5")
/* translators, strip everything up to the first | */
N_("paper size|C6")
/* translators, strip everything up to the first | */
N_("paper size|C6/C5")
/* translators, strip everything up to the first | */
N_("paper size|C7")
/* translators, strip everything up to the first | */
N_("paper size|C7/C6")
/* translators, strip everything up to the first | */
N_("paper size|C8")
/* translators, strip everything up to the first | */
N_("paper size|C9")
/* translators, strip everything up to the first | */
N_("paper size|DL Envelope")
/* translators, strip everything up to the first | */
N_("paper size|RA0")
/* translators, strip everything up to the first | */
N_("paper size|RA1")
/* translators, strip everything up to the first | */
N_("paper size|RA2")
/* translators, strip everything up to the first | */
N_("paper size|SRA0")
/* translators, strip everything up to the first | */
N_("paper size|SRA1")
/* translators, strip everything up to the first | */
N_("paper size|SRA2")
/* translators, strip everything up to the first | */
N_("paper size|JB0")
/* translators, strip everything up to the first | */
N_("paper size|JB1")
/* translators, strip everything up to the first | */
N_("paper size|JB10")
/* translators, strip everything up to the first | */
N_("paper size|JB2")
/* translators, strip everything up to the first | */
N_("paper size|JB3")
/* translators, strip everything up to the first | */
N_("paper size|JB4")
/* translators, strip everything up to the first | */
N_("paper size|JB5")
/* translators, strip everything up to the first | */
N_("paper size|JB6")
/* translators, strip everything up to the first | */
N_("paper size|JB7")
/* translators, strip everything up to the first | */
N_("paper size|JB8")
/* translators, strip everything up to the first | */
N_("paper size|JB9")