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
po/squeekboard.pot
po/*.mo
TAGS
tags
vgdump

View File

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

View File

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

View File

@ -1 +1,2 @@
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.
gtk_widget_set_can_focus (GTK_WIDGET(self->window), FALSE);
g_object_set (G_OBJECT(self->window), "accept_focus", FALSE, NULL);
gtk_window_set_title (GTK_WINDOW(self->window),
_("Squeekboard"));
gtk_window_set_title (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);
}