[gtk-mac-integration] Add function gtkosx_application_set_about_item.
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-mac-integration] Add function gtkosx_application_set_about_item.
- Date: Mon, 7 May 2018 04:18:18 +0000 (UTC)
commit 777559298dea0eaa604ff1a075473dcbc7db431b
Author: John Ralls <jralls ceridwen us>
Date: Sun May 6 14:09:55 2018 -0400
Add function gtkosx_application_set_about_item.
Prefer this to setting item 0 with gtkosx_application_insert_app_menu_item.
po/ca.po | 5 +++--
po/cs.po | 5 +++--
po/da.po | 5 +++--
po/de.po | 5 +++--
po/en.po | 5 +++--
po/es.po | 5 +++--
po/eu.po | 5 +++--
po/fa.po | 5 +++--
po/fi.po | 5 +++--
po/fr.po | 5 +++--
po/he.po | 5 +++--
po/hu.po | 5 +++--
po/it.po | 5 +++--
po/ja.po | 5 +++--
po/ko.po | 5 +++--
po/lt.po | 5 +++--
po/lv_LV.po | 5 +++--
po/nb.po | 5 +++--
po/nl.po | 5 +++--
po/pl.po | 5 +++--
po/pt.po | 5 +++--
po/ro.po | 5 +++--
po/ru.po | 5 +++--
po/sk.po | 5 +++--
po/sv.po | 5 +++--
po/tr.po | 5 +++--
po/uk.po | 5 +++--
po/vi.po | 5 +++--
po/zh_CN.po | 5 +++--
po/zh_TW.po | 5 +++--
src/gtkosxapplication.h | 2 ++
src/gtkosxapplication_quartz.c | 25 +++++++++++++++++++++++++
src/test-integration.c | 3 +--
33 files changed, 118 insertions(+), 62 deletions(-)
---
diff --git a/po/ca.po b/po/ca.po
index 3fffdf1..529b7d1 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: ca\n"
@@ -63,7 +63,8 @@ msgstr "Minimitzar"
msgid "Bring All to Front"
msgstr "Portar tot al capdavant"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "Sobre %s"
diff --git a/po/cs.po b/po/cs.po
index 8beb14d..e6aff4c 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: cs\n"
@@ -63,7 +63,8 @@ msgstr "Minimalizovat"
msgid "Bring All to Front"
msgstr "Přenést vše do popředí"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "O %sovi"
diff --git a/po/da.po b/po/da.po
index 7cb60b2..132a650 100644
--- a/po/da.po
+++ b/po/da.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: da\n"
@@ -63,7 +63,8 @@ msgstr "Minimer"
msgid "Bring All to Front"
msgstr "Bring alle for at Front"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "Om %s"
diff --git a/po/de.po b/po/de.po
index d148686..2942706 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: de\n"
@@ -63,7 +63,8 @@ msgstr "Minimieren"
msgid "Bring All to Front"
msgstr "Alle nach vorne bringen"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "Über %s"
diff --git a/po/en.po b/po/en.po
index 7c8a0a5..ef8d0e3 100644
--- a/po/en.po
+++ b/po/en.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: en\n"
@@ -63,7 +63,8 @@ msgstr ""
msgid "Bring All to Front"
msgstr ""
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr ""
diff --git a/po/es.po b/po/es.po
index 43ebd62..5a7a6c2 100644
--- a/po/es.po
+++ b/po/es.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: es\n"
@@ -63,7 +63,8 @@ msgstr "Minimizar"
msgid "Bring All to Front"
msgstr "Traer todo al frente"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "Sobre %s"
diff --git a/po/eu.po b/po/eu.po
index 751dfa0..2e56f81 100644
--- a/po/eu.po
+++ b/po/eu.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: eu\n"
@@ -63,7 +63,8 @@ msgstr ""
msgid "Bring All to Front"
msgstr "Guztiak Ekarri"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "%s-i buruz"
diff --git a/po/fa.po b/po/fa.po
index 45c3ae8..64e432c 100644
--- a/po/fa.po
+++ b/po/fa.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: fa\n"
@@ -63,7 +63,8 @@ msgstr "به حداقل رساندن"
msgid "Bring All to Front"
msgstr "بیاورید همه به جبهه"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "%s درباره"
diff --git a/po/fi.po b/po/fi.po
index ca7a038..dff8aa5 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: fi\n"
@@ -63,7 +63,8 @@ msgstr "Minimoida"
msgid "Bring All to Front"
msgstr "Tuo kaikki eteen"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "Tietoja %sista"
diff --git a/po/fr.po b/po/fr.po
index 5f21533..6708468 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: fr\n"
@@ -63,7 +63,8 @@ msgstr "Placer dans le Dock"
msgid "Bring All to Front"
msgstr "Tout ramener au premier plan"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "About de %s"
diff --git a/po/he.po b/po/he.po
index 39fc818..9a19818 100644
--- a/po/he.po
+++ b/po/he.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: he\n"
@@ -63,7 +63,8 @@ msgstr "לצמצם"
msgid "Bring All to Front"
msgstr "כדי להביא את כל החזית"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "%s על"
diff --git a/po/hu.po b/po/hu.po
index 891df29..4d63ef3 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: hu\n"
@@ -63,7 +63,8 @@ msgstr "Ablak"
msgid "Bring All to Front"
msgstr "Hozd Összes Front"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "A %sról"
diff --git a/po/it.po b/po/it.po
index 5368cc9..08c8281 100644
--- a/po/it.po
+++ b/po/it.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: it\n"
@@ -63,7 +63,8 @@ msgstr "Ridurre al minimo"
msgid "Bring All to Front"
msgstr "Porta tutto in primo piano"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "Informazioni su %s"
diff --git a/po/ja.po b/po/ja.po
index 61ddeb3..1e0ca53 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: ja\n"
@@ -63,7 +63,8 @@ msgstr "最小化"
msgid "Bring All to Front"
msgstr "すべての最前面へ"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "%sについて"
diff --git a/po/ko.po b/po/ko.po
index ba8ef5a..f2337f3 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: ko\n"
@@ -63,7 +63,8 @@ msgstr "최소화"
msgid "Bring All to Front"
msgstr "모두 앞으로 가져오기"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, fuzzy, c-format
msgid "About %s"
msgstr "%s 정보"
diff --git a/po/lt.po b/po/lt.po
index 3db48d6..85233ce 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: lt\n"
@@ -63,7 +63,8 @@ msgstr "Minimizuoti"
msgid "Bring All to Front"
msgstr "Visiems į frontą"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "Apie %s"
diff --git a/po/lv_LV.po b/po/lv_LV.po
index afa5478..3856ce1 100644
--- a/po/lv_LV.po
+++ b/po/lv_LV.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: lv_LV\n"
@@ -63,7 +63,8 @@ msgstr ""
msgid "Bring All to Front"
msgstr ""
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "Par %s"
diff --git a/po/nb.po b/po/nb.po
index f7101ad..4ffce0f 100644
--- a/po/nb.po
+++ b/po/nb.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: nb\n"
@@ -63,7 +63,8 @@ msgstr "Minimer"
msgid "Bring All to Front"
msgstr "Bring alle for å Forsiden"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "Om %s"
diff --git a/po/nl.po b/po/nl.po
index 74ef9c1..36dd9f2 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: nl\n"
@@ -63,7 +63,8 @@ msgstr "Minimalisee"
msgid "Bring All to Front"
msgstr "Alle Breng naar voorgrond"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "Over %s"
diff --git a/po/pl.po b/po/pl.po
index 05773d2..d6c5ef5 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: pl\n"
@@ -63,7 +63,8 @@ msgstr "Zminimalizuj"
msgid "Bring All to Front"
msgstr "Przynieś wszystko na wierzch"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "Informacje o %s"
diff --git a/po/pt.po b/po/pt.po
index 3d40045..296ed72 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: pt\n"
@@ -63,7 +63,8 @@ msgstr "Minimizar"
msgid "Bring All to Front"
msgstr "Todos trazem para a Frente"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "Sobre o %s"
diff --git a/po/ro.po b/po/ro.po
index 686537b..b0af86c 100644
--- a/po/ro.po
+++ b/po/ro.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: ro\n"
@@ -63,7 +63,8 @@ msgstr "Minimaliza"
msgid "Bring All to Front"
msgstr "Adu Toate pentru față"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "Despre %s"
diff --git a/po/ru.po b/po/ru.po
index 7842061..f3e91bd 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: ru\n"
@@ -63,7 +63,8 @@ msgstr "инимизировать"
msgid "Bring All to Front"
msgstr "Приведите все для фронта"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "О пользователе %s"
diff --git a/po/sk.po b/po/sk.po
index 4560d9f..6da05f5 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: sk\n"
@@ -63,7 +63,8 @@ msgstr "Minimalizovať"
msgid "Bring All to Front"
msgstr "Prineste Všetko do Popredia"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "O %s"
diff --git a/po/sv.po b/po/sv.po
index 3f80441..d92551b 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: sv\n"
@@ -63,7 +63,8 @@ msgstr "Minimera"
msgid "Bring All to Front"
msgstr "Ta med alla längst fram"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "OM %s"
diff --git a/po/tr.po b/po/tr.po
index f7f198a..4450b9a 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: tr\n"
@@ -63,7 +63,8 @@ msgstr "Azaltmak"
msgid "Bring All to Front"
msgstr "Tüm Öne Getir"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "%s hakkında"
diff --git a/po/uk.po b/po/uk.po
index 023aa66..85d7723 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: uk\n"
@@ -63,7 +63,8 @@ msgstr "мінімізувати"
msgid "Bring All to Front"
msgstr "Наведіть все для фронту"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "про %s"
diff --git a/po/vi.po b/po/vi.po
index c2157e9..0b64d16 100644
--- a/po/vi.po
+++ b/po/vi.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: vi\n"
@@ -63,7 +63,8 @@ msgstr "Gi£ṭ thiÃṵ"
msgid "Bring All to Front"
msgstr "Tất cả mang đến Mặt trận"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "Về %s"
diff --git a/po/zh_CN.po b/po/zh_CN.po
index b6bd56f..c01384f 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: zh_CN\n"
@@ -63,7 +63,8 @@ msgstr "最小化"
msgid "Bring All to Front"
msgstr "把所有要接待"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "关于%s"
diff --git a/po/zh_TW.po b/po/zh_TW.po
index 61a214c..af6c701 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gtk-mac-integration 2.0.8\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-"
"mac-integration\n"
-"POT-Creation-Date: 2018-05-06 10:05-0400\n"
+"POT-Creation-Date: 2018-05-06 15:16-0400\n"
"PO-Revision-Date: 2018-05-03\n"
"Last-Translator: Google Translate\n"
"Language-Team: zh_TW\n"
@@ -63,7 +63,8 @@ msgstr "最小化"
msgid "Bring All to Front"
msgstr "把所有要接待"
-#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#. Translators: This is the "About foo" menu item at the top of the App menu.
+#: src/gtkosxapplication_quartz.c:859 src/gtkosxapplication_quartz.c:883
#, c-format
msgid "About %s"
msgstr "關於%s"
diff --git a/src/gtkosxapplication.h b/src/gtkosxapplication.h
index f5bef45..a3e8433 100644
--- a/src/gtkosxapplication.h
+++ b/src/gtkosxapplication.h
@@ -84,6 +84,8 @@ void gtkosx_application_sync_menubar (GtkosxApplication *self);
void gtkosx_application_insert_app_menu_item (GtkosxApplication *self,
GtkWidget *menu_item,
gint index);
+void gtkosx_application_set_about_item (GtkosxApplication* self,
+ GtkWidget* item);
void gtkosx_application_set_window_menu (GtkosxApplication *self,
GtkMenuItem *menu_item);
void gtkosx_application_set_help_menu (GtkosxApplication *self,
diff --git a/src/gtkosxapplication_quartz.c b/src/gtkosxapplication_quartz.c
index 88f1867..4812873 100644
--- a/src/gtkosxapplication_quartz.c
+++ b/src/gtkosxapplication_quartz.c
@@ -852,6 +852,7 @@ gtkosx_application_insert_app_menu_item (GtkosxApplication* self,
gint index)
{
gtk_widget_set_visible (item, TRUE);
+ /* For backwards compatibility, the 0 index item is forced to be About. */
if (index == 0)
{
const gchar * app_name = [get_application_name () UTF8String];
@@ -862,6 +863,30 @@ gtkosx_application_insert_app_menu_item (GtkosxApplication* self,
}
/**
+ * gtkosx_application_set_about_item
+ * @self: The application object
+ * @item: The about menu item
+ *
+ * Sets the designated menu item as the "About <appname>", the first
+ * one on the App Menu. We take a GtkMenuItem* because it's less work
+ * for app developers than unwrapping a GtkAction for us to wrap in an
+ * NSAction.
+ */
+
+void
+gtkosx_application_set_about_item (GtkosxApplication* self,
+ GtkWidget* item)
+{
+ const static int about_index = 0;
+ const gchar * app_name = [get_application_name () UTF8String];
+ /* Translators: This is the "About foo" menu item at the top of the App menu. */
+ gtk_menu_item_set_label (GTK_MENU_ITEM (item), g_strdup_printf (_("About %s"), app_name));
+ cocoa_menu_item_add_item ([[[NSApp mainMenu] itemAtIndex: 0] submenu],
+ item, about_index);
+}
+
+
+/**
* gtkosx_application_set_window_menu:
* @self: The application object
* @menu_item: The menu item which will be set as the Window menu
diff --git a/src/test-integration.c b/src/test-integration.c
index 7105b4f..96c47d9 100644
--- a/src/test-integration.c
+++ b/src/test-integration.c
@@ -784,8 +784,7 @@ create_window (const gchar *title)
#ifdef GTKOSXAPPLICATION
GtkWidget *sep;
gtkosx_application_set_menu_bar (theApp, GTK_MENU_SHELL (menubar));
- gtkosx_application_insert_app_menu_item (theApp, items->about_item,
- 0);
+ gtkosx_application_set_about_item (theApp, items->about_item);
sep = gtk_separator_menu_item_new ();
g_object_ref (sep);
gtkosx_application_insert_app_menu_item (theApp, sep, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]