[Xfce-i18n] Can we translate "True" and "False" in xfce4-power-manager?

Chipong Luo chipong.luo at yahoo.com
Sat Apr 21 18:06:15 CEST 2012


On Sat, 2012-04-21 at 18:40 +0300, gymka wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 2012.04.21 18:32, Chipong Luo rašė:
> > On Sat, 2012-04-21 at 18:23 +0300, gymka wrote: 2012.04.21 18:17,
> > Chipong Luo rašė:
> >>>> On Sat, 2012-04-21 at 18:08 +0300, gymka wrote: 2012.04.21
> >>>> 17:51, Chipong Luo rašė:
> >>>>>>> Hi everyone!
> >>>>>>> 
> >>>>>>> Can we translate "True"  and  "False" in 
> >>>>>>> xfce4-power-manager?
> >>>> 
> >>>> you are talking about those in .pot/.po file? if they are in
> >>>> .pot so they are designed to be translatable, just sometimes
> >>>> in context it looks better in english:)
> >>>> 
> >>>>> Yes, they are in .po files.
> > 
> > so why you decided that you can't translate them? you can't remove
> > _, %, $ or any other symbols which has not literal meaning,
> > everything else you can and have to translate.
> > 
> > 
> >> I've seen something like "gboolean value".
> > 
> 
> and? there you saw it? well it's boolean value, so that? maybe it was
> comment so that you should know how to translate... boolean value can
> be "true", "false" and "null" maybe it was just context. personally i
> nowhere see these strings in action...

In source of xfpm-main.c 

static void
xfpm_quit_signal (gint sig, gpointer data)
{
    XfpmManager *manager = (XfpmManager *) data;
    
    XFPM_DEBUG ("sig %d", sig);
    
    if ( sig != SIGHUP )
	xfpm_manager_stop (manager);
}

static const gchar *
xfpm_bool_to_local_string (gboolean value)
{
    return value == TRUE ? _("True") : _("False");
}

static void
xfpm_dump (GHashTable *hash)
{

Do you know them?


> - -- 
> gymka
> GPG ID: 21C70548
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.19 (GNU/Linux)
> 
> iQEcBAEBAgAGBQJPktTUAAoJEAVeyH4hxwVIj/QH/jrj6np2dNUt5AAcqTaHt06Q
> wC4bnx9+Do9mrY3cENvFXMNR19S+HdOXgkOVl/o3EdjVDZo5veB/QQDIrJnb7mbi
> BbsVoU4S3hPJM9rNXXiGO2+nqVQ88rEWqZlgAkyBUIVTvbyqlfZmwtdLkM90A7i3
> Yq9+WMa8vrTJJ5q+Z8/dyf0RJQqVEMSKSkhpPhLwucL3HTXMJAvSGLzHCQL9mQk3
> 30l1edgehauMXI3rai2yKlHglA3UgGLPH4dlnzdVA01GUQff7Qfg6hqv3WSBt/pt
> klLo3KYmTOGEIMtCrOwUFla/tTDAEY5P4QZgmxRVFQQz+sUe4BiIpBe1w1UkS5U=
> =ehnu
> -----END PGP SIGNATURE-----




More information about the Xfce-i18n mailing list