Merge branch 'po-cleanups' into 'master'

i18n improvements

See merge request World/Phosh/squeekboard!503
This commit is contained in:
dcz
2021-12-07 20:41:48 +00:00
5 changed files with 7 additions and 6 deletions

3
.gitignore vendored
View File

@ -1,5 +1,6 @@
.zanata-cache/
_build _build
po/squeekboard.pot
po/*.mo
TAGS TAGS
tags tags
vgdump vgdump

View File

@ -1,7 +1,7 @@
[Desktop Entry] [Desktop Entry]
Name=Squeekboard Name=Squeekboard
GenericName=Squeekboard Virtual Keyboard GenericName=On Screen Keyboard
Comment=Virtual Keyboard Comment=An on screen virtual keyboard
Exec=@bindir@/squeekboard Exec=@bindir@/squeekboard
Terminal=false Terminal=false
Type=Application Type=Application

View File

@ -217,7 +217,7 @@ eekboard_context_service_class_init (EekboardContextServiceClass *klass)
* Emitted when @context is destroyed. * Emitted when @context is destroyed.
*/ */
signals[DESTROYED] = signals[DESTROYED] =
g_signal_new (I_("destroyed"), g_signal_new ("destroyed",
G_TYPE_FROM_CLASS(gobject_class), G_TYPE_FROM_CLASS(gobject_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
0, 0,

View File

@ -1 +1,2 @@
data/popup.ui data/popup.ui
data/sm.puri.Squeekboard.desktop.in.in

View File

@ -199,8 +199,7 @@ make_window (ServerContextService *self)
// or for hacks with regular windows. // or for hacks with regular windows.
gtk_widget_set_can_focus (GTK_WIDGET(self->window), FALSE); gtk_widget_set_can_focus (GTK_WIDGET(self->window), FALSE);
g_object_set (G_OBJECT(self->window), "accept_focus", FALSE, NULL); g_object_set (G_OBJECT(self->window), "accept_focus", FALSE, NULL);
gtk_window_set_title (GTK_WINDOW(self->window), gtk_window_set_title (GTK_WINDOW(self->window), "Squeekboard");
_("Squeekboard"));
gtk_window_set_icon_name (GTK_WINDOW(self->window), "squeekboard"); gtk_window_set_icon_name (GTK_WINDOW(self->window), "squeekboard");
gtk_window_set_keep_above (GTK_WINDOW(self->window), TRUE); gtk_window_set_keep_above (GTK_WINDOW(self->window), TRUE);
} }