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

Chipong Luo chipong.luo at yahoo.com
Sat Apr 21 18:22:16 CEST 2012


On Sat, 2012-04-21 at 19:16 +0300, gymka wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 2012.04.21 19:06, Chipong Luo rašė:
> > On Sat, 2012-04-21 at 18:40 +0300, gymka wrote: 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?
> > 
> > 
> if you are translator so translate and don't read source code:D read
> .po file:)
> from programming point of view:
> "static const gchar *xfpm_bool_to_local_string (gboolean value)" this
> function takes input of boolean value(TRUE, FALSE or NULL) and
> converts ir to localized string(which before was type of boolean). was
> here is unclear to you? normal function everything here is clear...

Thank you. I don't know code at all!

> - -- 
> gymka
> GPG ID: 21C70548
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.19 (GNU/Linux)
> 
> iQEcBAEBAgAGBQJPkt1CAAoJEAVeyH4hxwVItQwH/3bRSqydYMAPlA9m0QdfUa/h
> WNSLdo1SSXTCM9EmJvzSihmcFpBm0q3jmBrK/vsjKp4HbcwWcKEYAnxJ+O2sf/P0
> cpaI5kmFaaI7PXhxbLX3WtKmyZdr6C+iN72gxY2FFypGxd25nnKEle4w/tdor9vn
> CSxaAjozwNMJ8FXDQ/vXmgDPtKtwDR8O1YTG3fuXODgyLLXVMRG/uIZaNEGZkHSr
> FeUVib9O60r0tLLzvlppm2UeqO3777jLnT1Jwzq675DOzVNcUV7Pwg3SeKqSlmHh
> whbaAUl59nDGGB/r22jw95UEMMNwUMkwW7zHSMGHOOmG/2w/znMknG4zJM64mR0=
> =hfAx
> -----END PGP SIGNATURE-----




More information about the Xfce-i18n mailing list