diff --git a/po/ar.po b/po/ar.po index b8fe0ecfe36..8e51f539496 100644 --- a/po/ar.po +++ b/po/ar.po @@ -11972,11 +11972,6 @@ msgstr "" msgid "&Right" msgstr "" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/bg.po b/po/bg.po index 59430fc2c1b..61985aba5aa 100644 --- a/po/bg.po +++ b/po/bg.po @@ -12141,11 +12141,6 @@ msgstr "" msgid "&Right" msgstr "Най-вдясно" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/ca.po b/po/ca.po index 5e58c08b29a..0db9857f5a3 100644 --- a/po/ca.po +++ b/po/ca.po @@ -12437,11 +12437,6 @@ msgstr "A &L'esquerra" msgid "&Right" msgstr "Al D&reta" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Visualitzador de Metafitxers Regular" diff --git a/po/cs.po b/po/cs.po index f7749ff9c5a..b706229103a 100644 --- a/po/cs.po +++ b/po/cs.po @@ -12574,11 +12574,6 @@ msgstr "V&levo" msgid "&Right" msgstr "Vp&ravo" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Obyčejný prohlížeč metasouborů" diff --git a/po/da.po b/po/da.po index 818247d240e..4af61717b76 100644 --- a/po/da.po +++ b/po/da.po @@ -12672,11 +12672,6 @@ msgstr "&Venstre" msgid "&Right" msgstr "Høj&re" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Normal metafil-fremviser" diff --git a/po/de.po b/po/de.po index 556a9dcc9f5..1f125fb0ce4 100644 --- a/po/de.po +++ b/po/de.po @@ -12478,11 +12478,6 @@ msgstr "&Links" msgid "&Right" msgstr "&Rechts" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Regulärer Metafile Betrachter" diff --git a/po/el.po b/po/el.po index 84f8b17f3a8..c71a80490a2 100644 --- a/po/el.po +++ b/po/el.po @@ -11941,11 +11941,6 @@ msgstr "" msgid "&Right" msgstr "" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/en.po b/po/en.po index f5eaf89c908..e064e37328c 100644 --- a/po/en.po +++ b/po/en.po @@ -12117,11 +12117,6 @@ msgstr "" msgid "&Right" msgstr "&Right" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/en_US.po b/po/en_US.po index d7b886f5a74..6587c4db263 100644 --- a/po/en_US.po +++ b/po/en_US.po @@ -12348,11 +12348,6 @@ msgstr "&Left" msgid "&Right" msgstr "&Right" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "^Q" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Regular Metafile Viewer" diff --git a/po/eo.po b/po/eo.po index 9bd44f41e5c..052c731a69f 100644 --- a/po/eo.po +++ b/po/eo.po @@ -12171,11 +12171,6 @@ msgstr "&Maldekstre" msgid "&Right" msgstr "&Dekstre" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Videbligilo laý Regulaj Metadosieroj" diff --git a/po/es.po b/po/es.po index 8e512591a78..cecdd63b634 100644 --- a/po/es.po +++ b/po/es.po @@ -12902,11 +12902,6 @@ msgstr "&Izquierda" msgid "&Right" msgstr "&Derecha" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/fa.po b/po/fa.po index 5bab09846f7..4a10c1985da 100644 --- a/po/fa.po +++ b/po/fa.po @@ -11973,11 +11973,6 @@ msgstr "" msgid "&Right" msgstr "" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/fi.po b/po/fi.po index 63eec1febdd..a883997e1d0 100644 --- a/po/fi.po +++ b/po/fi.po @@ -12303,11 +12303,6 @@ msgstr "" msgid "&Right" msgstr "Oikea Reuna" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/fr.po b/po/fr.po index 88be3553e72..739f61345d2 100644 --- a/po/fr.po +++ b/po/fr.po @@ -12498,11 +12498,6 @@ msgstr "&Gauche" msgid "&Right" msgstr "&Droite" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "^Q" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Visionneuse de fichiers Metafile réguliers" diff --git a/po/he.po b/po/he.po index 414d557471d..01e2390b1bc 100644 --- a/po/he.po +++ b/po/he.po @@ -12493,11 +12493,6 @@ msgstr "&שמאלה" msgid "&Right" msgstr "&ימינה" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "מציג קובצי על רגיל" diff --git a/po/hi.po b/po/hi.po index 658c9e5697a..57851f3c859 100644 --- a/po/hi.po +++ b/po/hi.po @@ -11780,11 +11780,6 @@ msgstr "" msgid "&Right" msgstr "" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/hu.po b/po/hu.po index 3f47f15d963..a44466be23f 100644 --- a/po/hu.po +++ b/po/hu.po @@ -12556,11 +12556,6 @@ msgstr "" msgid "&Right" msgstr "Jobb széle" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/it.po b/po/it.po index 99f02cb943b..456386a629e 100644 --- a/po/it.po +++ b/po/it.po @@ -12430,11 +12430,6 @@ msgstr "&Sinistra" msgid "&Right" msgstr "&Destra" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Visualizzatore di Metafile Regolari" diff --git a/po/ja.po b/po/ja.po index 22b2a8a264e..9958c22c07f 100644 --- a/po/ja.po +++ b/po/ja.po @@ -12392,11 +12392,6 @@ msgstr "左(&L)" msgid "&Right" msgstr "右(&R)" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "標準メタファイル ビュアー" diff --git a/po/ko.po b/po/ko.po index 9961a6bdb3e..b57d9ce2379 100644 --- a/po/ko.po +++ b/po/ko.po @@ -12298,11 +12298,6 @@ msgstr "왼쪽(&L)" msgid "&Right" msgstr "오른쪽(&R)" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "^Q" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "정규 메타파일 보기" diff --git a/po/lt.po b/po/lt.po index 61576791053..69d8bd0fdc2 100644 --- a/po/lt.po +++ b/po/lt.po @@ -12377,11 +12377,6 @@ msgstr "&Dešinėn" msgid "&Right" msgstr "&Kairėn" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "^Q" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Įprastinė metafailų žiūryklė" diff --git a/po/ml.po b/po/ml.po index ac2715a7d6d..cc8d7008669 100644 --- a/po/ml.po +++ b/po/ml.po @@ -11780,11 +11780,6 @@ msgstr "" msgid "&Right" msgstr "" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/nb_NO.po b/po/nb_NO.po index 192fe735a96..e65fbe9e783 100644 --- a/po/nb_NO.po +++ b/po/nb_NO.po @@ -12703,11 +12703,6 @@ msgstr "&Venstre" msgid "&Right" msgstr "Høy&re" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Vanlig metafil-framviser" diff --git a/po/nl.po b/po/nl.po index dd2ce96cdc5..d75861b807c 100644 --- a/po/nl.po +++ b/po/nl.po @@ -12504,11 +12504,6 @@ msgstr "&Links" msgid "&Right" msgstr "&Rechts" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Algemene Metafile weergave" diff --git a/po/or.po b/po/or.po index cec3b035cd9..aafd89ad877 100644 --- a/po/or.po +++ b/po/or.po @@ -11780,11 +11780,6 @@ msgstr "" msgid "&Right" msgstr "" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/pa.po b/po/pa.po index fcad8292a96..6ab3834f7d6 100644 --- a/po/pa.po +++ b/po/pa.po @@ -11780,11 +11780,6 @@ msgstr "" msgid "&Right" msgstr "" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/pl.po b/po/pl.po index c4b952d53f8..0a5e7655e42 100644 --- a/po/pl.po +++ b/po/pl.po @@ -12407,11 +12407,6 @@ msgstr "Przesuń w &lewo" msgid "&Right" msgstr "Przesuń w &prawo" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "^Q" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Przeglądarka zwykłych metaplików" diff --git a/po/pt_BR.po b/po/pt_BR.po index 37ea024e537..6f6941aed10 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -12466,11 +12466,6 @@ msgstr "&Esquerda" msgid "&Right" msgstr "&Direita" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Visualizador de Metafiles Regulares" diff --git a/po/pt_PT.po b/po/pt_PT.po index 495838d3aa9..c7176c36599 100644 --- a/po/pt_PT.po +++ b/po/pt_PT.po @@ -12799,11 +12799,6 @@ msgstr "&Esquerda" msgid "&Right" msgstr "&Direita" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Visualizador Regular de Ficheiros Meta" diff --git a/po/rm.po b/po/rm.po index 4bc32ed0a9d..c1caccb6370 100644 --- a/po/rm.po +++ b/po/rm.po @@ -11860,11 +11860,6 @@ msgstr "" msgid "&Right" msgstr "" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/ro.po b/po/ro.po index c5bf50d7164..aaf4d1e83f9 100644 --- a/po/ro.po +++ b/po/ro.po @@ -13037,11 +13037,6 @@ msgstr "&Stânga" msgid "&Right" msgstr "D&reapta" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Vizualizator de fișiere metafile normale" diff --git a/po/ru.po b/po/ru.po index f6e5e2e1003..33759e003ca 100644 --- a/po/ru.po +++ b/po/ru.po @@ -12366,11 +12366,6 @@ msgstr "В&лево" msgid "&Right" msgstr "В&право" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Просмотрщик обычных метафайлов" diff --git a/po/sk.po b/po/sk.po index a88aadfdab1..9cae7058f39 100644 --- a/po/sk.po +++ b/po/sk.po @@ -12007,11 +12007,6 @@ msgstr "" msgid "&Right" msgstr "" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/sl.po b/po/sl.po index 1fe38ab5bf7..166fe148a8f 100644 --- a/po/sl.po +++ b/po/sl.po @@ -12407,11 +12407,6 @@ msgstr "&Levo" msgid "&Right" msgstr "D&esno" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Običajni pregledovalnik datotek meta" diff --git a/po/sr_RS@cyrillic.po b/po/sr_RS@cyrillic.po index baef54566ad..08474d37991 100644 --- a/po/sr_RS@cyrillic.po +++ b/po/sr_RS@cyrillic.po @@ -12374,11 +12374,6 @@ msgstr "" msgid "&Right" msgstr "Десна ивица" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/sr_RS@latin.po b/po/sr_RS@latin.po index bae22af2b21..fb7537a3acc 100644 --- a/po/sr_RS@latin.po +++ b/po/sr_RS@latin.po @@ -12522,11 +12522,6 @@ msgstr "" msgid "&Right" msgstr "Desna ivica" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/sv.po b/po/sv.po index 71558c045d6..e5f856edaa2 100644 --- a/po/sv.po +++ b/po/sv.po @@ -12425,11 +12425,6 @@ msgstr "&Vänster" msgid "&Right" msgstr "&Höger" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/te.po b/po/te.po index 7d8f56af10e..fd048d0455a 100644 --- a/po/te.po +++ b/po/te.po @@ -11780,11 +11780,6 @@ msgstr "" msgid "&Right" msgstr "" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/th.po b/po/th.po index c34cc73591e..ca6d2772099 100644 --- a/po/th.po +++ b/po/th.po @@ -11983,11 +11983,6 @@ msgstr "" msgid "&Right" msgstr "" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/tr.po b/po/tr.po index b2c7e06c498..1261372874e 100644 --- a/po/tr.po +++ b/po/tr.po @@ -12689,11 +12689,6 @@ msgstr "S&ol" msgid "&Right" msgstr "S&ağ" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/uk.po b/po/uk.po index 025c3114d8a..28bab3c5395 100644 --- a/po/uk.po +++ b/po/uk.po @@ -12426,11 +12426,6 @@ msgstr "В&ліво" msgid "&Right" msgstr "В&право" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "Переглядач звичайних метафайлів" diff --git a/po/wa.po b/po/wa.po index 315842a7225..464671bb8c6 100644 --- a/po/wa.po +++ b/po/wa.po @@ -11918,11 +11918,6 @@ msgstr "" msgid "&Right" msgstr "" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/wine.pot b/po/wine.pot index 5ccaac54fe8..a7572af853f 100644 --- a/po/wine.pot +++ b/po/wine.pot @@ -11720,11 +11720,6 @@ msgstr "" msgid "&Right" msgstr "" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "" diff --git a/po/zh_CN.po b/po/zh_CN.po index abe47b48d7d..52075a682bd 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -12272,11 +12272,6 @@ msgstr "左(&L)" msgid "&Right" msgstr "右(&R)" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "普通 Metafile 阅读器" diff --git a/po/zh_TW.po b/po/zh_TW.po index 7bc92b46c8e..190602cbe0d 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -12325,11 +12325,6 @@ msgstr "左(&L)" msgid "&Right" msgstr "右(&R)" -#: view.rc:51 -msgctxt "accelerator Quit" -msgid "^Q" -msgstr "" - #: view.rc:46 msgid "Regular Metafile Viewer" msgstr "普通 Metafile 閱讀器" diff --git a/programs/view/view.c b/programs/view/view.c index 824f9e1c3ab..c50a0ffed3a 100644 --- a/programs/view/view.c +++ b/programs/view/view.c @@ -366,7 +366,6 @@ static void HandleCommandLine(LPWSTR cmdline) int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow) { MSG msg; - HANDLE hAccelTable; /* Other instances of app running? */ if (!hPrevInstance) @@ -386,24 +385,13 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmd HandleCommandLine(lpCmdLine); - hAccelTable = LoadAcceleratorsW(hInstance, szAppName); - /* Main loop */ /* Acquire and dispatch messages until a WM_QUIT message is received */ while (GetMessageW(&msg, NULL, 0, 0)) { - /* Add other Translation functions (for modeless dialogs - and/or MDI windows) here. */ - - if (!TranslateAcceleratorW(msg.hwnd, hAccelTable, &msg)) - { - TranslateMessage(&msg); - DispatchMessageW(&msg); - } + TranslateMessage(&msg); + DispatchMessageW(&msg); } - /* Add module specific instance free/delete functions here */ - - /* Returns the value from PostQuitMessage */ return msg.wParam; } diff --git a/programs/view/view.rc b/programs/view/view.rc index 138011e3d4d..aae88e804fa 100644 --- a/programs/view/view.rc +++ b/programs/view/view.rc @@ -45,8 +45,3 @@ STRINGTABLE BEGIN IDS_DESCRIPTION "Regular Metafile Viewer" END - -VIEW ACCELERATORS -BEGIN - "#msgctxt#accelerator Quit#^Q", IDM_EXIT -END