[Spice-devel] [PATCH spice-gtk] spice-option: translate entries

2019-04-17 Thread Jakub Janků
Translation strings for spice options are already present in the respective PO files. g_option_group_set_translation_domain() call needs to be made, so that the strings marked with N_() actually get translated at runtime. Signed-off-by: Jakub Janků --- src/spice-option.c | 1 + 1 file changed,

[Spice-devel] [PATCH spice-gtk v2] gettext: fix ngettext usage

2019-04-17 Thread Jakub Janků
_() should not be used in conjunction with ngettext(), otherwise it's impossible to properly translate the message into languages that have multiple plural forms, such as Czech. Additionally, spice-gtk must use dngettext instead of ngettext, otherwise the translation strings are searched within a

Re: [Spice-devel] [PATCH spice-gtk] gettext: fix ngettext usage

2019-04-17 Thread Jakub Janku
On Wed, Apr 17, 2019 at 6:24 PM Frediano Ziglio wrote: > > > > > _() should not be used in conjunction with ngettext(), > > otherwise it's impossible to properly translate the message into > > languages that have multiple plural forms, such as Czech. > > > > Fix ngettext usage in

Re: [Spice-devel] [PATCH spice-gtk] gettext: fix ngettext usage

2019-04-17 Thread Jakub Janku
On Wed, Apr 17, 2019 at 5:25 PM Frediano Ziglio wrote: > > > > > _() should not be used in conjunction with ngettext(), > > otherwise it's impossible to properly translate the message into > > languages that have multiple plural forms, such as Czech. > > > > Fix ngettext usage in

Re: [Spice-devel] [PATCH spice-gtk] gettext: fix ngettext usage

2019-04-17 Thread Frediano Ziglio
> > _() should not be used in conjunction with ngettext(), > otherwise it's impossible to properly translate the message into > languages that have multiple plural forms, such as Czech. > > Fix ngettext usage in usb-device-widget.c and > update the PO files accordingly. > > Signed-off-by: Jakub

[Spice-devel] [PATCH spice-gtk] gettext: fix ngettext usage

2019-04-17 Thread Jakub Janků
_() should not be used in conjunction with ngettext(), otherwise it's impossible to properly translate the message into languages that have multiple plural forms, such as Czech. Fix ngettext usage in usb-device-widget.c and update the PO files accordingly. Signed-off-by: Jakub Janků ---

Re: [Spice-devel] [PATCH spice-server v5 00/18] Port SPICE server to Windows

2019-04-17 Thread Frediano Ziglio
ping > > Windows support is useful to use with Qemu under Windows as host or > to implement servers like Xspice. > Mainly SPICE server uses lot of libraries to expose a TCP protocol. > As TCP is implemented with socket library which is quite portable was > not that hard to port. > Beside some

Re: [Spice-devel] [spice] Enable mm_time adjustments on startup

2019-04-17 Thread Snir Sheriber
Hi, On 4/17/19 7:27 AM, Francois Gouget wrote: On Thu, 11 Apr 2019, Victor Toso wrote: Hi, On Wed, Apr 10, 2019 at 11:25:17AM +0200, Francois Gouget wrote: We send mm_time adjustments to the client whenever there is no audio playback. There is no audio playback on startup. Therefore