[gtk-mac-integration] Restore adding "About foo" menu to app menu, provide translations.



commit 6e6aed3de42347b5eb7c1a20423ffb5cb4a07f4c
Author: John Ralls <jralls ceridwen us>
Date:   Sun May 6 13:05:34 2018 -0400

    Restore adding "About foo" menu to app menu, provide translations.

 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                       |    9 +++++++--
 po/ko.po                       |    9 +++++++--
 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                       |    9 +++++++--
 po/uk.po                       |    5 +++++
 po/vi.po                       |    5 +++++
 po/zh_CN.po                    |    5 +++++
 po/zh_TW.po                    |    5 +++++
 src/gtkosxapplication_quartz.c |    6 ++++--
 31 files changed, 160 insertions(+), 8 deletions(-)
---
diff --git a/po/ca.po b/po/ca.po
index 2bc7702..3fffdf1 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -62,3 +62,8 @@ msgstr "Minimitzar"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Portar tot al capdavant"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "Sobre %s"
diff --git a/po/cs.po b/po/cs.po
index 66aaf94..8beb14d 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -62,3 +62,8 @@ msgstr "Minimalizovat"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Přenést vše do popředí"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "O %sovi"
diff --git a/po/da.po b/po/da.po
index b55349a..7cb60b2 100644
--- a/po/da.po
+++ b/po/da.po
@@ -62,3 +62,8 @@ msgstr "Minimer"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Bring alle for at Front"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "Om %s"
diff --git a/po/de.po b/po/de.po
index e6512ec..d148686 100644
--- a/po/de.po
+++ b/po/de.po
@@ -62,3 +62,8 @@ msgstr "Minimieren"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Alle nach vorne bringen"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "Über %s"
diff --git a/po/en.po b/po/en.po
index b15f284..7c8a0a5 100644
--- a/po/en.po
+++ b/po/en.po
@@ -62,3 +62,8 @@ msgstr ""
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr ""
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr ""
diff --git a/po/es.po b/po/es.po
index 768ddb7..43ebd62 100644
--- a/po/es.po
+++ b/po/es.po
@@ -62,3 +62,8 @@ msgstr "Minimizar"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Traer todo al frente"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "Sobre %s"
diff --git a/po/eu.po b/po/eu.po
index 3f42280..751dfa0 100644
--- a/po/eu.po
+++ b/po/eu.po
@@ -62,3 +62,8 @@ msgstr ""
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Guztiak Ekarri"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "%s-i buruz"
diff --git a/po/fa.po b/po/fa.po
index 626dffb..45c3ae8 100644
--- a/po/fa.po
+++ b/po/fa.po
@@ -62,3 +62,8 @@ msgstr "به حداقل رساندن"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "بیاورید همه به جبهه"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "%s درباره"
diff --git a/po/fi.po b/po/fi.po
index f38087a..ca7a038 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -62,3 +62,8 @@ msgstr "Minimoida"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Tuo kaikki eteen"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "Tietoja %sista"
diff --git a/po/fr.po b/po/fr.po
index 3c54ae8..5f21533 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -62,3 +62,8 @@ msgstr "Placer dans le Dock"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Tout ramener au premier plan"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "About de %s"
diff --git a/po/he.po b/po/he.po
index 6f56c46..39fc818 100644
--- a/po/he.po
+++ b/po/he.po
@@ -62,3 +62,8 @@ msgstr "לצמצם"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "כדי להביא את כל החזית"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "%s על"
diff --git a/po/hu.po b/po/hu.po
index 4ff09c9..891df29 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -62,3 +62,8 @@ msgstr "Ablak"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Hozd Összes Front"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "A %sról"
diff --git a/po/it.po b/po/it.po
index 8cf9a39..5368cc9 100644
--- a/po/it.po
+++ b/po/it.po
@@ -62,3 +62,8 @@ msgstr "Ridurre al minimo"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Porta tutto in primo piano"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "Informazioni su %s"
diff --git a/po/ja.po b/po/ja.po
index 7f4bb89..61ddeb3 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -28,7 +28,7 @@ msgstr "サービス"
 #: src/gtkosxapplication_quartz.c:270
 #, c-format
 msgid "Hide %s"
-msgstr "隠す %s"
+msgstr "%sを隠す"
 
 #. Translators: This is the "Hide Others" menu item for the "Apple" menu.
 #: src/gtkosxapplication_quartz.c:284
@@ -46,7 +46,7 @@ msgstr "すべて表示"
 #: src/gtkosxapplication_quartz.c:306
 #, c-format
 msgid "Quit %s"
-msgstr "終了%s"
+msgstr "%sを終了する"
 
 #. Translators: This is the title of the Window menu in the menubar.
 #: src/gtkosxapplication_quartz.c:339
@@ -62,3 +62,8 @@ msgstr "最小化"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "すべての最前面へ"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "%sについて"
diff --git a/po/ko.po b/po/ko.po
index d233c79..ba8ef5a 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -28,7 +28,7 @@ msgstr "서비스"
 #: src/gtkosxapplication_quartz.c:270
 #, c-format
 msgid "Hide %s"
-msgstr "숨기기 %s"
+msgstr "%s 숨기기"
 
 #. Translators: This is the "Hide Others" menu item for the "Apple" menu.
 #: src/gtkosxapplication_quartz.c:284
@@ -46,7 +46,7 @@ msgstr "모두보기"
 #: src/gtkosxapplication_quartz.c:306
 #, c-format
 msgid "Quit %s"
-msgstr "종료 %s"
+msgstr "%s 종료"
 
 #. Translators: This is the title of the Window menu in the menubar.
 #: src/gtkosxapplication_quartz.c:339
@@ -62,3 +62,8 @@ msgstr "최소화"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "모두 앞으로 가져오기"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, fuzzy, c-format
+msgid "About %s"
+msgstr "%s 정보"
diff --git a/po/lt.po b/po/lt.po
index 4d42b32..3db48d6 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -62,3 +62,8 @@ msgstr "Minimizuoti"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Visiems į frontą"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "Apie %s"
diff --git a/po/lv_LV.po b/po/lv_LV.po
index ed0881f..afa5478 100644
--- a/po/lv_LV.po
+++ b/po/lv_LV.po
@@ -62,3 +62,8 @@ msgstr ""
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr ""
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "Par %s"
diff --git a/po/nb.po b/po/nb.po
index 4f93445..f7101ad 100644
--- a/po/nb.po
+++ b/po/nb.po
@@ -62,3 +62,8 @@ msgstr "Minimer"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Bring alle for å Forsiden"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "Om %s"
diff --git a/po/nl.po b/po/nl.po
index da7940b..74ef9c1 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -62,3 +62,8 @@ msgstr "Minimalisee"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Alle Breng naar voorgrond"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "Over %s"
diff --git a/po/pl.po b/po/pl.po
index bcb2b56..05773d2 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -62,3 +62,8 @@ msgstr "Zminimalizuj"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Przynieś wszystko na wierzch"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "Informacje o %s"
diff --git a/po/pt.po b/po/pt.po
index 83a8865..3d40045 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -62,3 +62,8 @@ msgstr "Minimizar"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Todos trazem para a Frente"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "Sobre o %s"
diff --git a/po/ro.po b/po/ro.po
index 56840d5..686537b 100644
--- a/po/ro.po
+++ b/po/ro.po
@@ -62,3 +62,8 @@ msgstr "Minimaliza"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Adu Toate pentru față"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "Despre %s"
diff --git a/po/ru.po b/po/ru.po
index 71c31a3..7842061 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -62,3 +62,8 @@ msgstr "инимизировать"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Приведите все для фронта"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "О пользователе  %s"
diff --git a/po/sk.po b/po/sk.po
index 0ee68c6..4560d9f 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -62,3 +62,8 @@ msgstr "Minimalizovať"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Prineste Všetko do Popredia"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "O %s"
diff --git a/po/sv.po b/po/sv.po
index 8754879..3f80441 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -62,3 +62,8 @@ msgstr "Minimera"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Ta med alla längst fram"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "OM %s"
diff --git a/po/tr.po b/po/tr.po
index 3f4f4d0..f7f198a 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -28,7 +28,7 @@ msgstr "Hizmetler"
 #: src/gtkosxapplication_quartz.c:270
 #, c-format
 msgid "Hide %s"
-msgstr "Gizlemek %s"
+msgstr "%s'ı gizle"
 
 #. Translators: This is the "Hide Others" menu item for the "Apple" menu.
 #: src/gtkosxapplication_quartz.c:284
@@ -46,7 +46,7 @@ msgstr "Tüm"
 #: src/gtkosxapplication_quartz.c:306
 #, c-format
 msgid "Quit %s"
-msgstr "Çık %s"
+msgstr "%s'ı bırak"
 
 #. Translators: This is the title of the Window menu in the menubar.
 #: src/gtkosxapplication_quartz.c:339
@@ -62,3 +62,8 @@ msgstr "Azaltmak"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Tüm Öne Getir"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "%s hakkında"
diff --git a/po/uk.po b/po/uk.po
index 758251a..023aa66 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -62,3 +62,8 @@ msgstr "мінімізувати"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "Наведіть все для фронту"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "про %s"
diff --git a/po/vi.po b/po/vi.po
index 9a40f93..c2157e9 100644
--- a/po/vi.po
+++ b/po/vi.po
@@ -62,3 +62,8 @@ msgstr "Gi£ṭ thiÃṵ"
 #: src/gtkosxapplication_quartz.c:359
 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
+#, c-format
+msgid "About %s"
+msgstr "Về %s"
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 2b63aa2..b6bd56f 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -62,3 +62,8 @@ msgstr "最小化"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "把所有要接待"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "关于%s"
diff --git a/po/zh_TW.po b/po/zh_TW.po
index ecea9d3..61a214c 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -62,3 +62,8 @@ msgstr "最小化"
 #: src/gtkosxapplication_quartz.c:359
 msgid "Bring All to Front"
 msgstr "把所有要接待"
+
+#: src/gtkosxapplication_quartz.c:860 src/gtkosxapplication_quartz.c:884
+#, c-format
+msgid "About %s"
+msgstr "關於%s"
diff --git a/src/gtkosxapplication_quartz.c b/src/gtkosxapplication_quartz.c
index 11be981..88f1867 100644
--- a/src/gtkosxapplication_quartz.c
+++ b/src/gtkosxapplication_quartz.c
@@ -853,8 +853,10 @@ gtkosx_application_insert_app_menu_item (GtkosxApplication* self,
 {
   gtk_widget_set_visible (item, TRUE);
   if (index == 0)
-    return;
-
+    {
+      const gchar * app_name = [get_application_name () UTF8String];
+      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, index);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]