kernel32: Add string for E_NOTIMPL error.

Fixes a crash in Horizon Zero Dawn.

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Paul Gofman 2020-08-25 16:22:39 +03:00 committed by Alexandre Julliard
parent 2255a21bc6
commit 53c1914e42
51 changed files with 298 additions and 0 deletions

View File

@ -1743,6 +1743,25 @@ static void test_message_from_64bit_number(void)
}
}
static void test_message_system_errors(void)
{
static const DWORD error_codes[] =
{
E_NOTIMPL,
};
char buffer[256];
unsigned int i;
DWORD len;
for (i = 0; i < ARRAY_SIZE(error_codes); ++i)
{
len = FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, error_codes[i],
LANG_USER_DEFAULT, buffer, ARRAY_SIZE(buffer), NULL);
ok(len, "Got zero len, code %#x.\n", error_codes[i]);
}
}
START_TEST(format_msg)
{
DWORD ret;
@ -1771,4 +1790,5 @@ START_TEST(format_msg)
test_message_allocate_buffer_wide();
test_message_invalid_flags_wide();
test_message_from_64bit_number();
test_message_system_errors();
}

View File

@ -3757,3 +3757,10 @@ SymbolicName=TRUST_E_NOSIGNATURE
Language=ENU
No Signature found in file.
.
MessageId=0x4001
Severity=CoError
Facility=Null
SymbolicName=E_NOTIMPL
Language=ENU
Not implemented.
.

View File

@ -6834,6 +6834,12 @@ msgstr "الموقع غير موجود.\n"
msgid "Connection reset by peer.\n"
msgstr "تم رفض الاتصال.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "لم تنفّذ"
#: winerror.mc:3760
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"

View File

@ -6705,6 +6705,12 @@ msgstr ""
msgid "Connection reset by peer.\n"
msgstr ""
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Nun s'implementó"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6957,6 +6957,12 @@ msgstr "Файлът не съществува.\n"
msgid "Connection reset by peer.\n"
msgstr "LAN връзка.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Не е реализирано"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6824,6 +6824,12 @@ msgstr "Aquesta connexió de xarxa no existeix.\n"
msgid "Connection reset by peer.\n"
msgstr "Un igual ha restablert la connexió.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "No implementat"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "No s'ha trobat cap signatura en el fitxer.\n"

View File

@ -6771,6 +6771,12 @@ msgstr "Toto síťové připojení neexistuje.\n"
msgid "Connection reset by peer.\n"
msgstr "Spojení zrušeno druhou stranou.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Neimplementováno"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6876,6 +6876,12 @@ msgstr "Stedet eksisterer ikke.\n"
msgid "Connection reset by peer.\n"
msgstr "Forbindelse nægtet.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Ikke implementeret"
#: winerror.mc:3760
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"

View File

@ -6808,6 +6808,12 @@ msgstr "Diese Netzwerkverbindung existiert nicht.\n"
msgid "Connection reset by peer.\n"
msgstr "Verbindung von Gegenstelle zurückgesetzt.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Nicht implementiert"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "Keine Signatur in Datei gefunden.\n"

View File

@ -6838,6 +6838,11 @@ msgstr "Το αρχείο δεν υπάρχει.\n"
msgid "Connection reset by peer.\n"
msgstr "ΜΗ διαθέσιμος; .\n"
#: winerror.mc:3767
#, fuzzy
msgid "Not implemented.\n"
msgstr "Το αρχείο δε βρέθηκε"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6797,6 +6797,10 @@ msgstr "This network connection does not exist.\n"
msgid "Connection reset by peer.\n"
msgstr "Connection reset by peer.\n"
#: winerror.mc:3767
msgid "Not implemented.\n"
msgstr "Not implemented.\n"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "No Signature found in file.\n"

View File

@ -6797,6 +6797,10 @@ msgstr "This network connection does not exist.\n"
msgid "Connection reset by peer.\n"
msgstr "Connection reset by peer.\n"
#: winerror.mc:3767
msgid "Not implemented.\n"
msgstr "Not implemented.\n"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "No Signature found in file.\n"

View File

@ -6751,6 +6751,12 @@ msgstr "Ejo estas neekzistanta.\n"
msgid "Connection reset by peer.\n"
msgstr "Konekto rifuzita.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Ne realigita"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6885,6 +6885,12 @@ msgstr "El sitio no existe.\n"
msgid "Connection reset by peer.\n"
msgstr "Conexión rechazada.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "No implementado"
#: winerror.mc:3760
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"

View File

@ -6813,6 +6813,10 @@ msgstr ""
msgid "Connection reset by peer.\n"
msgstr "اطلاعات.\n"
#: winerror.mc:3767
msgid "Not implemented.\n"
msgstr ""
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6790,6 +6790,12 @@ msgstr "Tätä verkkoyhteyttä ei ole.\n"
msgid "Connection reset by peer.\n"
msgstr "Vastapuoli nollasi yhteyden.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Ei toteutettu"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "Tiedostosta ei löytynyt allekirjoitusta.\n"

View File

@ -6860,6 +6860,12 @@ msgstr "Cette connexion réseau n'existe pas.\n"
msgid "Connection reset by peer.\n"
msgstr "Connexion fermée par le pair.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Non implémenté"
#: winerror.mc:3760
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"

View File

@ -7089,6 +7089,12 @@ msgstr "הקובץ אינו קיים.\n"
msgid "Connection reset by peer.\n"
msgstr "בהליכי התחברות אל %s.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "לא מוטמע"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6709,6 +6709,10 @@ msgstr ""
msgid "Connection reset by peer.\n"
msgstr ""
#: winerror.mc:3767
msgid "Not implemented.\n"
msgstr ""
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6839,6 +6839,12 @@ msgstr "Mjesto ne postoji.\n"
msgid "Connection reset by peer.\n"
msgstr "Povezivanje odbijeno.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Nije još implementirano"
#: winerror.mc:3760
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"

View File

@ -6893,6 +6893,12 @@ msgstr "Az oldal nem létezik.\n"
msgid "Connection reset by peer.\n"
msgstr "Kapcsolódás megtagadva.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Nincs implementálva"
#: winerror.mc:3760
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"

View File

@ -6902,6 +6902,12 @@ msgstr "Sito inesistente.\n"
msgid "Connection reset by peer.\n"
msgstr "Connessione rifiutata.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Non implementato"
#: winerror.mc:3760
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"

View File

@ -6796,6 +6796,12 @@ msgstr "このネットワーク接続は存在しません。\n"
msgid "Connection reset by peer.\n"
msgstr "相手側により接続がリセットされました。\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "未実装"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "ファイルにデジタル署名がありません。\n"

View File

@ -6788,6 +6788,12 @@ msgstr "네트워크 연결이 없습니다.\n"
msgid "Connection reset by peer.\n"
msgstr "피어가 연결을 초기화 했습니다.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "구현되지 않음"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "서명 또는 인증서를 찾을 수 없습니다.\n"

View File

@ -6802,6 +6802,12 @@ msgstr "Šis tinklo ryšys neegzistuoja.\n"
msgid "Connection reset by peer.\n"
msgstr "Sujungimas nutrauktas kito serverio.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Nerealizuota"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "Joks parašas nerastas faile.\n"

View File

@ -6711,6 +6711,10 @@ msgstr ""
msgid "Connection reset by peer.\n"
msgstr ""
#: winerror.mc:3767
msgid "Not implemented.\n"
msgstr ""
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6809,6 +6809,12 @@ msgstr "Denne nettverksforbindelsen finnes ikke.\n"
msgid "Connection reset by peer.\n"
msgstr "Tilkobling nullstilt av likemann.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Ikke implementert"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "Fant ingen signatur i filen.\n"

View File

@ -6876,6 +6876,12 @@ msgstr "De plek bestaat niet.\n"
msgid "Connection reset by peer.\n"
msgstr "Verbinding geweigerd.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Niet geïmplementeerd"
#: winerror.mc:3760
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"

View File

@ -6709,6 +6709,10 @@ msgstr ""
msgid "Connection reset by peer.\n"
msgstr ""
#: winerror.mc:3767
msgid "Not implemented.\n"
msgstr ""
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6709,6 +6709,10 @@ msgstr ""
msgid "Connection reset by peer.\n"
msgstr ""
#: winerror.mc:3767
msgid "Not implemented.\n"
msgstr ""
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6847,6 +6847,12 @@ msgstr "Połączenie sieciowe nie istnieje.\n"
msgid "Connection reset by peer.\n"
msgstr "Połączenie wyzerowane przez uczestnika.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Nie zaimplementowane"
#: winerror.mc:3760
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"

View File

@ -6821,6 +6821,12 @@ msgstr "Esta conexão de rede não existe.\n"
msgid "Connection reset by peer.\n"
msgstr "Conexão redefinida pelo cliente.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Não implementado"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "Nenhuma Assinatura encontrada no arquivo.\n"

View File

@ -6851,6 +6851,12 @@ msgstr "Esta conexão de rede não existe.\n"
msgid "Connection reset by peer.\n"
msgstr "Conexão cancelada pelo cliente.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Não implementado"
#: winerror.mc:3760
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"

View File

@ -6759,6 +6759,12 @@ msgstr ""
msgid "Connection reset by peer.\n"
msgstr "INFUORMAZIUN.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Na implementa"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6894,6 +6894,12 @@ msgstr "Această conexiune de rețea nu există.\n"
msgid "Connection reset by peer.\n"
msgstr "Conexiune refuzată.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Neimplementat"
#: winerror.mc:3760
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"

View File

@ -6814,6 +6814,12 @@ msgstr "Указанное сетевое соединение не сущест
msgid "Connection reset by peer.\n"
msgstr "Соединение закрыто удалённым узлом.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Не реализовано"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "Подпись файла не обнаружена.\n"

View File

@ -6747,6 +6747,12 @@ msgstr ""
msgid "Connection reset by peer.\n"
msgstr ""
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "හදල නැහැ"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "ගොනුවේ අත්සනයක් නැහැ.\n"

View File

@ -6835,6 +6835,12 @@ msgstr "Súbor neexistuje.\n"
msgid "Connection reset by peer.\n"
msgstr "Pripojenie je aktícne.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Neimplementované"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6895,6 +6895,12 @@ msgstr "Stran ne obstaja.\n"
msgid "Connection reset by peer.\n"
msgstr "Povezava je bila zavrnjena.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Ni podprto"
#: winerror.mc:3760
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"

View File

@ -7108,6 +7108,11 @@ msgstr "Датотека не постоји.\n"
msgid "Connection reset by peer.\n"
msgstr "Повезивање на %s.\n"
#: winerror.mc:3767
#, fuzzy
msgid "Not implemented.\n"
msgstr "Датотека није пронађена"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -7204,6 +7204,12 @@ msgstr "Datoteka ne postoji.\n"
msgid "Connection reset by peer.\n"
msgstr "Povezivanje na %s.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Nije jos u programu"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6830,6 +6830,12 @@ msgstr "Nätverksanslutningen existerar inte.\n"
msgid "Connection reset by peer.\n"
msgstr "Anslutningen återställdes.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Ej implementerat"
#: winerror.mc:3760
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"

View File

@ -6671,6 +6671,10 @@ msgstr ""
msgid "Connection reset by peer.\n"
msgstr ""
#: winerror.mc:3767
msgid "Not implemented.\n"
msgstr ""
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6709,6 +6709,10 @@ msgstr ""
msgid "Connection reset by peer.\n"
msgstr ""
#: winerror.mc:3767
msgid "Not implemented.\n"
msgstr ""
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6852,6 +6852,11 @@ msgstr "ไม่พบแฟ้ม.\n"
msgid "Connection reset by peer.\n"
msgstr "ใช้ไม่ได้ตอนนี้; .\n"
#: winerror.mc:3767
#, fuzzy
msgid "Not implemented.\n"
msgstr "ไม่พบแฟ้ม"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6806,6 +6806,12 @@ msgstr "Ağ bağlantısı mevcut değil.\n"
msgid "Connection reset by peer.\n"
msgstr "Bağlantı eş tarafından sıfırlandı.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Eklenmedi/Geliştirilmedi"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "Dosyada imza bulunamadı.\n"

View File

@ -6818,6 +6818,12 @@ msgstr "Цього мережевого з'єднання не існує.\n"
msgid "Connection reset by peer.\n"
msgstr "У з'єднанні відмовлено.\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Не реалізовано"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "Відсутній підпис файла.\n"

View File

@ -6796,6 +6796,12 @@ msgstr ""
msgid "Connection reset by peer.\n"
msgstr ""
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Nén co possibe"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6664,6 +6664,10 @@ msgstr ""
msgid "Connection reset by peer.\n"
msgstr ""
#: winerror.mc:3767
msgid "Not implemented.\n"
msgstr ""
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr ""

View File

@ -6748,6 +6748,12 @@ msgstr "该网络链接不存在。\n"
msgid "Connection reset by peer.\n"
msgstr "连接被重置。\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "尚未实现"
#: winerror.mc:3760
msgid "No Signature found in file.\n"
msgstr "未在文件内找到签名。\n"

View File

@ -6804,6 +6804,12 @@ msgstr "站臺不存在。\n"
msgid "Connection reset by peer.\n"
msgstr "連線被拒。\n"
#: winerror.mc:3767
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "未實作"
#: winerror.mc:3760
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"