From b41aedabbf8a677fc1003e23e461a263d30293e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sun, 5 Dec 2021 21:00:07 +0100 Subject: [PATCH 1/6] eekboard-context-service: Don't translate property names No need to bother translators with this. --- eekboard/eekboard-context-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eekboard/eekboard-context-service.c b/eekboard/eekboard-context-service.c index 76a7ebc7..fa3e00e7 100644 --- a/eekboard/eekboard-context-service.c +++ b/eekboard/eekboard-context-service.c @@ -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, From 16dd4f9753ac87335b15f771b5f5208aac990855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sun, 5 Dec 2021 21:00:30 +0100 Subject: [PATCH 2/6] server-context-servide: Don't translate application name --- src/server-context-service.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server-context-service.c b/src/server-context-service.c index 5541e3e1..573dfd32 100644 --- a/src/server-context-service.c +++ b/src/server-context-service.c @@ -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); } From e91f6419fbd27893112fa5865465cc5003649a0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sun, 5 Dec 2021 21:03:57 +0100 Subject: [PATCH 3/6] data: Make generic name truly generic And mention that it's an on screen keyboard which is the more widely used term in end user facing string. --- data/sm.puri.Squeekboard.desktop.in.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/sm.puri.Squeekboard.desktop.in.in b/data/sm.puri.Squeekboard.desktop.in.in index 9bfd1034..c50b2aff 100644 --- a/data/sm.puri.Squeekboard.desktop.in.in +++ b/data/sm.puri.Squeekboard.desktop.in.in @@ -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 From da7230e7237a9ab8c0654164bc555991f9b4944b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sun, 5 Dec 2021 21:01:52 +0100 Subject: [PATCH 4/6] po: Add desktop file to translatable files --- po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) diff --git a/po/POTFILES.in b/po/POTFILES.in index 3641d8d1..26823510 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1 +1,2 @@ data/popup.ui +data/sm.puri.Squeekboard.desktop.in.in From 12c10ad7268ccdcec4c6deb2849917892202140f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sun, 5 Dec 2021 21:07:09 +0100 Subject: [PATCH 5/6] gitignore: Drop zanata dir Unused since ages --- .gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitignore b/.gitignore index 509ee703..5c0a036f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -.zanata-cache/ _build TAGS tags From a9f5429bcb4a4bd2fa6d6e8effee931b66b1bd70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sun, 5 Dec 2021 21:08:13 +0100 Subject: [PATCH 6/6] gitignore: Ignore generated po files --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 5c0a036f..6984fcf9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ _build +po/squeekboard.pot +po/*.mo TAGS tags vgdump