[ghemical-devel] [ghemical-users] Translate Ghemical
Jean Bréfort
jean.brefort at normalesup.org
Fri Aug 29 04:47:57 EDT 2008
If you use glib, this would become:
#include <glib/glib-i18n.h>
GtkToggleActionEntry gtk_app::entries2[] =
{
{ N_("Draw"), N_("MY_DRAW_ICON"), tb_mousetool_labels[0], NULL, N_("Draw ; add atoms and bonds to the model."), (GCallback) gtk_app::maintb_tool_Draw, FALSE },
{ N_("Erase"), N_("MY_ERASE_ICON"), tb_mousetool_labels[1], NULL, N_("Erase ; remove atoms and bonds from the model."), (GCallback) gtk_app::maintb_tool_Erase, FALSE },
etc...
Le vendredi 29 août 2008 à 10:20 +0300, Tommi Hassinen a écrit :
> #1 : the toolbar texts at gtk_app.cpp (a souce code example) around line 43 and forward:
>
> GtkToggleActionEntry gtk_app::entries2[] =
> {
> { "Draw", "MY_DRAW_ICON", tb_mousetool_labels[0], NULL, "Draw ; add atoms and bonds to the model.", (GCallback) gtk_app::maintb_tool_Draw, FALSE },
> { "Erase", "MY_ERASE_ICON", tb_mousetool_labels[1], NULL, "Erase ; remove atoms and bonds from the model.", (GCallback) gtk_app::maintb_tool_Erase, FALSE },
> etc...
>
>
> Just a small correction here : these texts like "Draw ; add atoms and bonds to the model." are actually the tooltip texts related to these toolbar buttons. But these are anyway the texts I meant as first translation targets.
>
> Tommi
>
More information about the ghemical-devel
mailing list