From 5a00584bab76fb9838a00c85a4e77fc6d2944887 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Thu, 5 Dec 2013 16:29:31 -0600 Subject: [PATCH] explorer: Add non-functional start button. --- po/ar.po | 6 ++++++ po/bg.po | 6 ++++++ po/ca.po | 6 ++++++ po/cs.po | 6 ++++++ po/da.po | 6 ++++++ po/de.po | 6 ++++++ po/el.po | 4 ++++ po/en.po | 4 ++++ po/en_US.po | 4 ++++ po/eo.po | 6 ++++++ po/es.po | 6 ++++++ po/fa.po | 4 ++++ po/fi.po | 6 ++++++ po/fr.po | 6 ++++++ po/he.po | 6 ++++++ po/hi.po | 4 ++++ po/hr.po | 6 ++++++ po/hu.po | 6 ++++++ po/it.po | 6 ++++++ po/ja.po | 6 ++++++ po/ko.po | 6 ++++++ po/lt.po | 6 ++++++ po/ml.po | 4 ++++ po/nb_NO.po | 6 ++++++ po/nl.po | 6 ++++++ po/or.po | 4 ++++ po/pa.po | 4 ++++ po/pl.po | 6 ++++++ po/pt_BR.po | 6 ++++++ po/pt_PT.po | 6 ++++++ po/rm.po | 4 ++++ po/ro.po | 6 ++++++ po/ru.po | 6 ++++++ po/sk.po | 4 ++++ po/sl.po | 6 ++++++ po/sr_RS@cyrillic.po | 6 ++++++ po/sr_RS@latin.po | 6 ++++++ po/sv.po | 6 ++++++ po/te.po | 4 ++++ po/th.po | 4 ++++ po/tr.po | 6 ++++++ po/uk.po | 6 ++++++ po/wa.po | 4 ++++ po/wine.pot | 4 ++++ po/zh_CN.po | 6 ++++++ po/zh_TW.po | 6 ++++++ programs/explorer/explorer.rc | 1 + programs/explorer/resource.h | 1 + programs/explorer/systray.c | 25 ++++++++++++++++++++++++- 49 files changed, 274 insertions(+), 1 deletion(-) diff --git a/po/ar.po b/po/ar.po index 3f6eb02e961..5288954f809 100644 --- a/po/ar.po +++ b/po/ar.po @@ -10105,6 +10105,12 @@ msgstr "الاستخدام: dxdiag [/whql:off | /whql:on] [/t filename | /x file msgid "Wine Explorer" msgstr "مستعرض واين" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "بدء التشغيل" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "الاستخدام: hostname\n" diff --git a/po/bg.po b/po/bg.po index eeeb35146d7..b8d531f8add 100644 --- a/po/bg.po +++ b/po/bg.po @@ -9930,6 +9930,12 @@ msgstr "" msgid "Wine Explorer" msgstr "&Разгледай" +#: explorer.rc:33 +#, fuzzy +#| msgid "Restart" +msgid "Start" +msgstr "Рестартиране" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/ca.po b/po/ca.po index ad87489b92f..5b49ca04b85 100644 --- a/po/ca.po +++ b/po/ca.po @@ -10284,6 +10284,12 @@ msgstr "" msgid "Wine Explorer" msgstr "" +#: explorer.rc:33 +#, fuzzy +#| msgid "Start Menu" +msgid "Start" +msgstr "Menú d'Inici" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Ús: hostname\n" diff --git a/po/cs.po b/po/cs.po index d105a8db899..6a7ca0d5552 100644 --- a/po/cs.po +++ b/po/cs.po @@ -9988,6 +9988,12 @@ msgstr "" msgid "Wine Explorer" msgstr "Průzkumník z Wine" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Po spuštění" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Použití: název počítače\n" diff --git a/po/da.po b/po/da.po index d8b603c35a0..c6d02242b2e 100644 --- a/po/da.po +++ b/po/da.po @@ -10198,6 +10198,12 @@ msgstr "Brug: dxdiag [/whql:off | /whql:on] [/t filnavn | /x filnavn]" msgid "Wine Explorer" msgstr "Wine Stifinder" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Start op" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Brug: værtsnavn\n" diff --git a/po/de.po b/po/de.po index 6ffa14348fa..661bbf5e4ae 100644 --- a/po/de.po +++ b/po/de.po @@ -10218,6 +10218,12 @@ msgstr "Aufruf: dxdiag [/whql:off | /whql:on] [/t Dateiname | /x Dateiname]" msgid "Wine Explorer" msgstr "Wine Explorer" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Autostart" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Aufruf: hostname\n" diff --git a/po/el.po b/po/el.po index 82e0637687a..f54ac75156c 100644 --- a/po/el.po +++ b/po/el.po @@ -9778,6 +9778,10 @@ msgstr "" msgid "Wine Explorer" msgstr "" +#: explorer.rc:33 +msgid "Start" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/en.po b/po/en.po index 84339b31389..54bb3d48f0f 100644 --- a/po/en.po +++ b/po/en.po @@ -10143,6 +10143,10 @@ msgstr "Usage: dxdiag [/whql:off | /whql:on] [/t filename | /x filename]" msgid "Wine Explorer" msgstr "Wine Explorer" +#: explorer.rc:33 +msgid "Start" +msgstr "Start" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Usage: hostname\n" diff --git a/po/en_US.po b/po/en_US.po index 1ca41b5dc83..61c275b6451 100644 --- a/po/en_US.po +++ b/po/en_US.po @@ -10143,6 +10143,10 @@ msgstr "Usage: dxdiag [/whql:off | /whql:on] [/t filename | /x filename]" msgid "Wine Explorer" msgstr "Wine Explorer" +#: explorer.rc:33 +msgid "Start" +msgstr "Start" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Usage: hostname\n" diff --git a/po/eo.po b/po/eo.po index 2c4e3e1e2bf..eef1c485d22 100644 --- a/po/eo.po +++ b/po/eo.po @@ -9650,6 +9650,12 @@ msgstr "" msgid "Wine Explorer" msgstr "Esplorilo de Wine" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Starto" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/es.po b/po/es.po index 21cc2120178..7b1f6e69f48 100644 --- a/po/es.po +++ b/po/es.po @@ -10276,6 +10276,12 @@ msgstr "Uso: dxdiag [/whql:off | /whql:on] [/t fichero | /x fichero]" msgid "Wine Explorer" msgstr "Explorador de Wine" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Arranque" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Uso: hostname\n" diff --git a/po/fa.po b/po/fa.po index 38e66a0c907..9a3f055a9c1 100644 --- a/po/fa.po +++ b/po/fa.po @@ -9786,6 +9786,10 @@ msgstr "" msgid "Wine Explorer" msgstr "" +#: explorer.rc:33 +msgid "Start" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/fi.po b/po/fi.po index 709f557a012..b9bd64e88d0 100644 --- a/po/fi.po +++ b/po/fi.po @@ -10123,6 +10123,12 @@ msgstr "Käyttö: dxdiag [/whql:off | /whql:on] [/t tiedosto | /x tiedosto]" msgid "Wine Explorer" msgstr "Winen Explorer" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Käynnistys" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Käyttö: hostname\n" diff --git a/po/fr.po b/po/fr.po index b0ca829f051..8129d9af375 100644 --- a/po/fr.po +++ b/po/fr.po @@ -10259,6 +10259,12 @@ msgstr "Usage : dxdiag [/whql:off | /whql:on] [/t fichier | /x fichier]" msgid "Wine Explorer" msgstr "Explorateur de Wine" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Démarrage" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Usage : hostname\n" diff --git a/po/he.po b/po/he.po index 58e81afb61f..c0dd35ba27b 100644 --- a/po/he.po +++ b/po/he.po @@ -10308,6 +10308,12 @@ msgstr "" msgid "Wine Explorer" msgstr "הסייר של Wine" +#: explorer.rc:33 +#, fuzzy +#| msgid "Start Menu" +msgid "Start" +msgstr "תפריט ההתחלה" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Usage: hostname\n" diff --git a/po/hi.po b/po/hi.po index f3bfbe9fa3f..5b5567b8710 100644 --- a/po/hi.po +++ b/po/hi.po @@ -9636,6 +9636,10 @@ msgstr "" msgid "Wine Explorer" msgstr "" +#: explorer.rc:33 +msgid "Start" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/hr.po b/po/hr.po index 7b736768fbe..0d3ecf898e4 100644 --- a/po/hr.po +++ b/po/hr.po @@ -9809,6 +9809,12 @@ msgstr "" msgid "Wine Explorer" msgstr "Wine Explorer" +#: explorer.rc:33 +#, fuzzy +#| msgid "Start Menu" +msgid "Start" +msgstr "'Start' izbornik" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Uporaba: hostname\n" diff --git a/po/hu.po b/po/hu.po index 4c5119bc66e..61ec540471b 100644 --- a/po/hu.po +++ b/po/hu.po @@ -10198,6 +10198,12 @@ msgstr "Használat: dxdiag [/whql:off | /whql:on] [/t fájlnév | /x fájlnév]" msgid "Wine Explorer" msgstr "Wine Internet Explorer" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Indítópult" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Használat: kiszolgálónév\n" diff --git a/po/it.po b/po/it.po index 5d0ac2e7aaa..0cca722f7be 100644 --- a/po/it.po +++ b/po/it.po @@ -10277,6 +10277,12 @@ msgstr "Uso: dxdiag [/whql:off | /whql:on] [/t nome_file | /x nome_file]" msgid "Wine Explorer" msgstr "Explorer di Wine" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Esecuzione automatica" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Uso: hostname\n" diff --git a/po/ja.po b/po/ja.po index caa4f5109bf..5145752e7e6 100644 --- a/po/ja.po +++ b/po/ja.po @@ -10137,6 +10137,12 @@ msgstr "使い方: dxdiag [/whql:off | /whql:on] [/t ファイル名 | /x ファ msgid "Wine Explorer" msgstr "Wine エクスプローラ" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "StartUp" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "使い方: hostname\n" diff --git a/po/ko.po b/po/ko.po index c9cabb5412a..2913640d030 100644 --- a/po/ko.po +++ b/po/ko.po @@ -10129,6 +10129,12 @@ msgstr "사용법: dxdiag [/whql:off | /whql:on] [/t 파일이름 | /x 파일이 msgid "Wine Explorer" msgstr "Wine 탐색기" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "시작 프로그램" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "사용법: hostname\n" diff --git a/po/lt.po b/po/lt.po index 4aef8c596bd..368d114d7a6 100644 --- a/po/lt.po +++ b/po/lt.po @@ -10151,6 +10151,12 @@ msgstr "Naudojimas: dxdiag [/whql:off | /whql:on] [/t failas | /x failas]" msgid "Wine Explorer" msgstr "„Wine“ naršyklė" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Paleidimas" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Naudojimas: hostname\n" diff --git a/po/ml.po b/po/ml.po index f5a52eb0ceb..e791a64dd91 100644 --- a/po/ml.po +++ b/po/ml.po @@ -9636,6 +9636,10 @@ msgstr "" msgid "Wine Explorer" msgstr "" +#: explorer.rc:33 +msgid "Start" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/nb_NO.po b/po/nb_NO.po index fad9f675491..661c281342a 100644 --- a/po/nb_NO.po +++ b/po/nb_NO.po @@ -10145,6 +10145,12 @@ msgstr "Bruk: dxdiag [/whql:off | /whql:on] [/t filnavn | /x filnavn]" msgid "Wine Explorer" msgstr "Wine Utforsker" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Start" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Bruk: hostname\n" diff --git a/po/nl.po b/po/nl.po index fd3fd100746..d7376fe5da3 100644 --- a/po/nl.po +++ b/po/nl.po @@ -10280,6 +10280,12 @@ msgstr "" msgid "Wine Explorer" msgstr "Wine Verkenner" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Opstarten" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Gebruik: hostname\n" diff --git a/po/or.po b/po/or.po index 613c396ab45..0ba2a162f9e 100644 --- a/po/or.po +++ b/po/or.po @@ -9636,6 +9636,10 @@ msgstr "" msgid "Wine Explorer" msgstr "" +#: explorer.rc:33 +msgid "Start" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/pa.po b/po/pa.po index b4014a9b0a6..fe6914cc296 100644 --- a/po/pa.po +++ b/po/pa.po @@ -9636,6 +9636,10 @@ msgstr "" msgid "Wine Explorer" msgstr "" +#: explorer.rc:33 +msgid "Start" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/pl.po b/po/pl.po index 94c06010d8e..3158ff5ce6e 100644 --- a/po/pl.po +++ b/po/pl.po @@ -10200,6 +10200,12 @@ msgstr "" msgid "Wine Explorer" msgstr "Wine Explorer" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Autostart" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Użycie: hostname\n" diff --git a/po/pt_BR.po b/po/pt_BR.po index 72972334b66..772ad883387 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -10201,6 +10201,12 @@ msgstr "Uso: dxdiag [/whql:off | /whql:on] [/t arquivo | /x arquivo]" msgid "Wine Explorer" msgstr "Wine Explorer" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Inicialização" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Modo de usar: hostname\n" diff --git a/po/pt_PT.po b/po/pt_PT.po index 00b94b469e4..13a4e6b3d4b 100644 --- a/po/pt_PT.po +++ b/po/pt_PT.po @@ -10206,6 +10206,12 @@ msgstr "Uso: dxdiag [/whql:off | /whql:on] [/t ficheiro | /x ficheiro]" msgid "Wine Explorer" msgstr "Explorador do Wine" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Inicialização" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Uso: hostname\n" diff --git a/po/rm.po b/po/rm.po index 2d99ce74bf3..bd36b926092 100644 --- a/po/rm.po +++ b/po/rm.po @@ -9701,6 +9701,10 @@ msgstr "" msgid "Wine Explorer" msgstr "Wine ag�d" +#: explorer.rc:33 +msgid "Start" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/ro.po b/po/ro.po index 279d2a5725e..3f6cadb02c4 100644 --- a/po/ro.po +++ b/po/ro.po @@ -10318,6 +10318,12 @@ msgstr "" msgid "Wine Explorer" msgstr "Wine Explorer" +#: explorer.rc:33 +#, fuzzy +#| msgid "Start Menu" +msgid "Start" +msgstr "Meniu Start" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/ru.po b/po/ru.po index 4226a613981..fdc122af3ca 100644 --- a/po/ru.po +++ b/po/ru.po @@ -10152,6 +10152,12 @@ msgstr "Использование: dxdiag [/whql:off | /whql:on] [/t файл | msgid "Wine Explorer" msgstr "Проводник Wine" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Автозагрузка" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Использование: hostname\n" diff --git a/po/sk.po b/po/sk.po index ab0d2e51862..bb2c5ef3373 100644 --- a/po/sk.po +++ b/po/sk.po @@ -9791,6 +9791,10 @@ msgstr "" msgid "Wine Explorer" msgstr "" +#: explorer.rc:33 +msgid "Start" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/sl.po b/po/sl.po index 672608c3e8c..233a81d19c6 100644 --- a/po/sl.po +++ b/po/sl.po @@ -10226,6 +10226,12 @@ msgstr "" msgid "Wine Explorer" msgstr "Raziskovalnik Wine" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Zagon" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Uporaba: hostname\n" diff --git a/po/sr_RS@cyrillic.po b/po/sr_RS@cyrillic.po index 0438b2c8bcd..709456e4e63 100644 --- a/po/sr_RS@cyrillic.po +++ b/po/sr_RS@cyrillic.po @@ -10125,6 +10125,12 @@ msgstr "" msgid "Wine Explorer" msgstr "Wine Internet Explorer" +#: explorer.rc:33 +#, fuzzy +#| msgid "Start Menu" +msgid "Start" +msgstr "„Старт“ мени" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/sr_RS@latin.po b/po/sr_RS@latin.po index 8c98f5b471b..9673c5a1521 100644 --- a/po/sr_RS@latin.po +++ b/po/sr_RS@latin.po @@ -10225,6 +10225,12 @@ msgstr "" msgid "Wine Explorer" msgstr "Wine Internet Explorer" +#: explorer.rc:33 +#, fuzzy +#| msgid "Start Menu" +msgid "Start" +msgstr "„Start“ meni" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/sv.po b/po/sv.po index 7696a7f4861..0d051712b69 100644 --- a/po/sv.po +++ b/po/sv.po @@ -10036,6 +10036,12 @@ msgstr "Användning: dxdiag [/whql:off | /whql:on] [/t filnamn | /x filnamn]" msgid "Wine Explorer" msgstr "Wine Explorer" +#: explorer.rc:33 +#, fuzzy +#| msgid "Start Menu" +msgid "Start" +msgstr "Start-meny" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Användning: hostname\n" diff --git a/po/te.po b/po/te.po index c77b2bc3752..daf91d9a86f 100644 --- a/po/te.po +++ b/po/te.po @@ -9636,6 +9636,10 @@ msgstr "" msgid "Wine Explorer" msgstr "" +#: explorer.rc:33 +msgid "Start" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/th.po b/po/th.po index 92448dc6eb0..19ff957d4d8 100644 --- a/po/th.po +++ b/po/th.po @@ -9803,6 +9803,10 @@ msgstr "" msgid "Wine Explorer" msgstr "" +#: explorer.rc:33 +msgid "Start" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/tr.po b/po/tr.po index ee638ae2576..f24b232df7b 100644 --- a/po/tr.po +++ b/po/tr.po @@ -10116,6 +10116,12 @@ msgstr "Kullanım: dxdiag [/whql:off | /whql:on] [/t dosyaadı | /x dosyaadı]" msgid "Wine Explorer" msgstr "Wine Gezgin" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Başlangıç" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Kullanım: hostname\n" diff --git a/po/uk.po b/po/uk.po index 0f6be656ade..f4aaaca1d35 100644 --- a/po/uk.po +++ b/po/uk.po @@ -10174,6 +10174,12 @@ msgstr "" msgid "Wine Explorer" msgstr "Оглядач Wine" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "Автозавантаження" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "Використання: hostname\n" diff --git a/po/wa.po b/po/wa.po index 395744c52bc..f3825b8a5c3 100644 --- a/po/wa.po +++ b/po/wa.po @@ -9743,6 +9743,10 @@ msgstr "" msgid "Wine Explorer" msgstr "" +#: explorer.rc:33 +msgid "Start" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/wine.pot b/po/wine.pot index 670ff69adac..c3168c690c9 100644 --- a/po/wine.pot +++ b/po/wine.pot @@ -9581,6 +9581,10 @@ msgstr "" msgid "Wine Explorer" msgstr "" +#: explorer.rc:33 +msgid "Start" +msgstr "" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/zh_CN.po b/po/zh_CN.po index 5fb22b60042..63985f249cc 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -9650,6 +9650,12 @@ msgstr "" msgid "Wine Explorer" msgstr "Wine Explorer" +#: explorer.rc:33 +#, fuzzy +#| msgid "Restart" +msgid "Start" +msgstr "重启" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "" diff --git a/po/zh_TW.po b/po/zh_TW.po index 1396b5b9ebe..bb373d1b64e 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -10015,6 +10015,12 @@ msgstr "用法:dxdiag [/whql:off | /whql:on] [/t 檔名 | /x 檔名]" msgid "Wine Explorer" msgstr "Wine 檔案總管" +#: explorer.rc:33 +#, fuzzy +#| msgid "StartUp" +msgid "Start" +msgstr "啟動" + #: hostname.rc:30 msgid "Usage: hostname\n" msgstr "用法:主機名稱\n" diff --git a/programs/explorer/explorer.rc b/programs/explorer/explorer.rc index ae9f44a3323..86ec4e38bdd 100644 --- a/programs/explorer/explorer.rc +++ b/programs/explorer/explorer.rc @@ -29,6 +29,7 @@ STRINGTABLE { IDS_EXPLORER_TITLE "Wine Explorer" IDS_PATHBOX_LABEL "Location:" + IDS_START_LABEL "Start" } #define WINE_FILEDESCRIPTION_STR "Wine Explorer" diff --git a/programs/explorer/resource.h b/programs/explorer/resource.h index dc0e8d1c963..a7f3f3af3aa 100644 --- a/programs/explorer/resource.h +++ b/programs/explorer/resource.h @@ -23,5 +23,6 @@ #define IDS_EXPLORER_TITLE 1 #define IDS_PATHBOX_LABEL 2 +#define IDS_START_LABEL 3 #endif diff --git a/programs/explorer/systray.c b/programs/explorer/systray.c index c15fbf0d399..01e20567cba 100644 --- a/programs/explorer/systray.c +++ b/programs/explorer/systray.c @@ -30,6 +30,7 @@ #include #include "explorer_private.h" +#include "resource.h" WINE_DEFAULT_DEBUG_CHANNEL(systray); @@ -91,6 +92,8 @@ static int icon_cx, icon_cy, tray_width; static struct icon *balloon_icon; static HWND balloon_window; +static HWND start_button; + #define MIN_DISPLAYED 8 #define ICON_BORDER 2 @@ -135,7 +138,7 @@ static void init_common_controls(void) INITCOMMONCONTROLSEX init_tooltip; init_tooltip.dwSize = sizeof(INITCOMMONCONTROLSEX); - init_tooltip.dwICC = ICC_TAB_CLASSES; + init_tooltip.dwICC = ICC_TAB_CLASSES|ICC_STANDARD_CLASSES; InitCommonControlsEx(&init_tooltip); initialized = TRUE; @@ -628,11 +631,24 @@ static LRESULT WINAPI tray_wndproc( HWND hwnd, UINT msg, WPARAM wparam, LPARAM l return 0; } +static void get_system_text_size( const WCHAR *text, SIZE *size ) +{ + /* FIXME: Implement BCM_GETIDEALSIZE and use that instead. */ + HDC hdc = GetDC( 0 ); + + GetTextExtentPointW(hdc, text, lstrlenW(text), size); + + ReleaseDC( 0, hdc ); +} + /* this function creates the listener window */ void initialize_systray( HMODULE graphics_driver, BOOL using_root ) { WNDCLASSEXW class; static const WCHAR classname[] = {'S','h','e','l','l','_','T','r','a','y','W','n','d',0}; + static const WCHAR button_class[] = {'B','u','t','t','o','n',0}; + WCHAR start_label[50]; + SIZE start_text_size; wine_notify_icon = (void *)GetProcAddress( graphics_driver, "wine_notify_icon" ); @@ -667,5 +683,12 @@ void initialize_systray( HMODULE graphics_driver, BOOL using_root ) return; } + LoadStringW( NULL, IDS_START_LABEL, start_label, sizeof(start_label)/sizeof(WCHAR) ); + + get_system_text_size( start_label, &start_text_size ); + + start_button = CreateWindowW( button_class, start_label, WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON, + 0, 0, start_text_size.cx + 8, icon_cy, tray_window, 0, 0, 0 ); + if (hide_systray) do_hide_systray(); } -- 2.11.4.GIT