Skip to content

Commit

Permalink
kernel32: Add messages for some of the WSA error codes.
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolay Sivov <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>
  • Loading branch information
nsivov authored and julliard committed Feb 3, 2022
1 parent 940110d commit ed5126d
Show file tree
Hide file tree
Showing 50 changed files with 2,498 additions and 392 deletions.
50 changes: 50 additions & 0 deletions dlls/kernel32/winerror.mc
Original file line number Diff line number Diff line change
Expand Up @@ -3740,6 +3740,36 @@ SymbolicName=ERROR_NOT_CONNECTED
Language=ENU
This network connection does not exist.
.
MessageId=10004
SymbolicName=WSAEINTR
Language=ENU
Call interrupted.
.
MessageId=10009
SymbolicName=WSAEBADF
Language=ENU
Invalid file handle.
.
MessageId=10013
SymbolicName=WSAEACCES
Language=ENU
Access denied.
.
MessageId=10014
SymbolicName=WSAEFAULT
Language=ENU
Invalid pointer address.
.
MessageId=10022
SymbolicName=WSAEINVAL
Language=ENU
Invalid argument.
.
MessageId=10024
SymbolicName=WSAEMFILE
Language=ENU
Too many open files.
.
MessageId=10054
SymbolicName=WSAECONNRESET
Language=ENU
Expand All @@ -3750,6 +3780,26 @@ SymbolicName=WSAECONNREFUSED
Language=ENU
Connection refused.
.
MessageId=11001
SymbolicName=WSAHOST_NOT_FOUND
Language=ENU
Host not found.
.
MessageId=11002
SymbolicName=WSATRY_AGAIN
Language=ENU
Nonauthoritative host not found.
.
MessageId=11003
SymbolicName=WSANO_RECOVERY
Language=ENU
Nonrecoverable error.
.
MessageId=11004
SymbolicName=WSANO_DATA
Language=ENU
Name valid, no data record.
.
MessageId=0x100
Severity=CoError
Facility=Trust
Expand Down
62 changes: 54 additions & 8 deletions po/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -4061,11 +4061,11 @@ msgstr "الملف غير موجود.\n"
msgid "Path not found.\n"
msgstr "المسار غير موجود.\n"

#: dlls/kernel32/winerror.mc:48
#: dlls/kernel32/winerror.mc:48 dlls/kernel32/winerror.mc:3773
msgid "Too many open files.\n"
msgstr "ملفات كثير للفتح.\n"

#: dlls/kernel32/winerror.mc:53
#: dlls/kernel32/winerror.mc:53 dlls/kernel32/winerror.mc:3758
msgid "Access denied.\n"
msgstr "الوصول محظور.\n"

Expand Down Expand Up @@ -5419,7 +5419,7 @@ msgstr "تم إلغاء العملية بواسطة المستخدم.\n"
msgid "File has a user-mapped section.\n"
msgstr "يحتوي الملف على قسم مخطط بواسطة المستخدم.\n"

#: dlls/kernel32/winerror.mc:1758 dlls/kernel32/winerror.mc:3753
#: dlls/kernel32/winerror.mc:1758 dlls/kernel32/winerror.mc:3783
msgid "Connection refused.\n"
msgstr "تم رفض الاتصال.\n"

Expand Down Expand Up @@ -7007,35 +7007,81 @@ msgstr "الموقع غير موجود.\n"

#: dlls/kernel32/winerror.mc:3748
#, fuzzy
#| msgid "Invalid at interrupt time.\n"
msgid "Call interrupted.\n"
msgstr "خطأ في زمن المقاطعة.\n"

#: dlls/kernel32/winerror.mc:3753
#, fuzzy
#| msgid "Invalid handle.\n"
msgid "Invalid file handle.\n"
msgstr "لاقط غير سليم.\n"

#: dlls/kernel32/winerror.mc:3763
#, fuzzy
#| msgid "Invalid network address.\n"
msgid "Invalid pointer address.\n"
msgstr "عنوان الشبكة غير سليم.\n"

#: dlls/kernel32/winerror.mc:3768
#, fuzzy
#| msgid "Invalid name.\n"
msgid "Invalid argument.\n"
msgstr "الاسم غير سليم.\n"

#: dlls/kernel32/winerror.mc:3778
#, fuzzy
#| msgid "Connection refused.\n"
msgid "Connection reset by peer.\n"
msgstr "تم رفض الاتصال.\n"

#: dlls/kernel32/winerror.mc:3767
#: dlls/kernel32/winerror.mc:3788
#, fuzzy
#| msgid "Point not found.\n"
msgid "Host not found.\n"
msgstr "النقطة غير موجودة.\n"

#: dlls/kernel32/winerror.mc:3793
#, fuzzy
#| msgid "File not found.\n"
msgid "Nonauthoritative host not found.\n"
msgstr "الملف غير موجود.\n"

#: dlls/kernel32/winerror.mc:3798
#, fuzzy
#| msgid "A printer error occurred."
msgid "Nonrecoverable error.\n"
msgstr "خطأ في الطابعة."

#: dlls/kernel32/winerror.mc:3803
msgid "Name valid, no data record.\n"
msgstr ""

#: dlls/kernel32/winerror.mc:3817
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "لم تنفّذ"

#: dlls/kernel32/winerror.mc:3788
#: dlls/kernel32/winerror.mc:3838
#, fuzzy
#| msgid "RPC call failed.\n"
msgid "Call failed.\n"
msgstr "فشل طلب RPC.\n"

#: dlls/kernel32/winerror.mc:3760
#: dlls/kernel32/winerror.mc:3810
#, fuzzy
#| msgid "Message 0x%1 not found in file %2.\n"
msgid "No Signature found in file.\n"
msgstr "الرسالة 0x%1 غير موجودة في الملف %2.\n"

#: dlls/kernel32/winerror.mc:3774
#: dlls/kernel32/winerror.mc:3824
#, fuzzy
#| msgid "Invalid level.\n"
msgid "Invalid call.\n"
msgstr "المستوى غير سليم.\n"

#: dlls/kernel32/winerror.mc:3781
#: dlls/kernel32/winerror.mc:3831
#, fuzzy
#| msgid "Help not available."
msgid "Resource is not currently available.\n"
Expand Down
62 changes: 54 additions & 8 deletions po/ast.po
Original file line number Diff line number Diff line change
Expand Up @@ -3933,11 +3933,11 @@ msgstr "Nun s'alcontró'l ficheru.\n"
msgid "Path not found.\n"
msgstr "Nun s'alcontró'l camín.\n"

#: dlls/kernel32/winerror.mc:48
#: dlls/kernel32/winerror.mc:48 dlls/kernel32/winerror.mc:3773
msgid "Too many open files.\n"
msgstr "Milenta ficheros abiertos.\n"

#: dlls/kernel32/winerror.mc:53
#: dlls/kernel32/winerror.mc:53 dlls/kernel32/winerror.mc:3758
msgid "Access denied.\n"
msgstr ""

Expand Down Expand Up @@ -5289,7 +5289,7 @@ msgstr ""
msgid "File has a user-mapped section.\n"
msgstr ""

#: dlls/kernel32/winerror.mc:1758 dlls/kernel32/winerror.mc:3753
#: dlls/kernel32/winerror.mc:1758 dlls/kernel32/winerror.mc:3783
msgid "Connection refused.\n"
msgstr "Refugóse la conexón.\n"

Expand Down Expand Up @@ -6874,32 +6874,78 @@ msgid "This network connection does not exist.\n"
msgstr ""

#: dlls/kernel32/winerror.mc:3748
#, fuzzy
#| msgid "Open failed.\n"
msgid "Call interrupted.\n"
msgstr "Falló l'apertura.\n"

#: dlls/kernel32/winerror.mc:3753
#, fuzzy
#| msgid "Invalid field.\n"
msgid "Invalid file handle.\n"
msgstr "El campu nun ye válidu.\n"

#: dlls/kernel32/winerror.mc:3763
#, fuzzy
#| msgid "Invalid address.\n"
msgid "Invalid pointer address.\n"
msgstr "La direición nun ye válida.\n"

#: dlls/kernel32/winerror.mc:3768
#, fuzzy
#| msgid "Invalid name.\n"
msgid "Invalid argument.\n"
msgstr "El nome nun ye válidu.\n"

#: dlls/kernel32/winerror.mc:3778
msgid "Connection reset by peer.\n"
msgstr ""

#: dlls/kernel32/winerror.mc:3767
#: dlls/kernel32/winerror.mc:3788
#, fuzzy
#| msgid "Path not found.\n"
msgid "Host not found.\n"
msgstr "Nun s'alcontró'l camín.\n"

#: dlls/kernel32/winerror.mc:3793
#, fuzzy
#| msgid "File not found.\n"
msgid "Nonauthoritative host not found.\n"
msgstr "Nun s'alcontró'l ficheru.\n"

#: dlls/kernel32/winerror.mc:3798
#, fuzzy
#| msgid "An internal error has occurred.\n"
msgid "Nonrecoverable error.\n"
msgstr "Asocedió un fallu internu.\n"

#: dlls/kernel32/winerror.mc:3803
msgid "Name valid, no data record.\n"
msgstr ""

#: dlls/kernel32/winerror.mc:3817
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Nun s'implementó"

#: dlls/kernel32/winerror.mc:3788
#: dlls/kernel32/winerror.mc:3838
#, fuzzy
#| msgid "Open failed.\n"
msgid "Call failed.\n"
msgstr "Falló l'apertura.\n"

#: dlls/kernel32/winerror.mc:3760
#: dlls/kernel32/winerror.mc:3810
msgid "No Signature found in file.\n"
msgstr ""

#: dlls/kernel32/winerror.mc:3774
#: dlls/kernel32/winerror.mc:3824
#, fuzzy
#| msgid "Invalid level.\n"
msgid "Invalid call.\n"
msgstr "El nivel nun ye válidu.\n"

#: dlls/kernel32/winerror.mc:3781
#: dlls/kernel32/winerror.mc:3831
#, fuzzy
#| msgid "Help not available."
msgid "Resource is not currently available.\n"
Expand Down
56 changes: 48 additions & 8 deletions po/bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -4066,11 +4066,11 @@ msgstr "Файлът не е намерен.\n"
msgid "Path not found.\n"
msgstr "пътят %s не е намерен.\n"

#: dlls/kernel32/winerror.mc:48
#: dlls/kernel32/winerror.mc:48 dlls/kernel32/winerror.mc:3773
msgid "Too many open files.\n"
msgstr ""

#: dlls/kernel32/winerror.mc:53
#: dlls/kernel32/winerror.mc:53 dlls/kernel32/winerror.mc:3758
msgid "Access denied.\n"
msgstr ""

Expand Down Expand Up @@ -5469,7 +5469,7 @@ msgstr "Прекъснато от потребителя; .\n"
msgid "File has a user-mapped section.\n"
msgstr ""

#: dlls/kernel32/winerror.mc:1758 dlls/kernel32/winerror.mc:3753
#: dlls/kernel32/winerror.mc:1758 dlls/kernel32/winerror.mc:3783
#, fuzzy
msgid "Connection refused.\n"
msgstr "LAN връзка.\n"
Expand Down Expand Up @@ -7126,30 +7126,70 @@ msgstr "Файлът не съществува.\n"

#: dlls/kernel32/winerror.mc:3748
#, fuzzy
msgid "Call interrupted.\n"
msgstr "Не е реализирано.\n"

#: dlls/kernel32/winerror.mc:3753
#, fuzzy
msgid "Invalid file handle.\n"
msgstr "Невалидни знаци в пътя.\n"

#: dlls/kernel32/winerror.mc:3763
#, fuzzy
msgid "Invalid pointer address.\n"
msgstr "Невалидни знаци в пътя.\n"

#: dlls/kernel32/winerror.mc:3768
#, fuzzy
msgid "Invalid argument.\n"
msgstr "Невалидни знаци в пътя.\n"

#: dlls/kernel32/winerror.mc:3778
#, fuzzy
msgid "Connection reset by peer.\n"
msgstr "LAN връзка.\n"

#: dlls/kernel32/winerror.mc:3767
#: dlls/kernel32/winerror.mc:3788
#, fuzzy
msgid "Host not found.\n"
msgstr "пътят %s не е намерен.\n"

#: dlls/kernel32/winerror.mc:3793
#, fuzzy
msgid "Nonauthoritative host not found.\n"
msgstr "Файлът не е намерен.\n"

#: dlls/kernel32/winerror.mc:3798
#, fuzzy
#| msgid "A printer error occurred."
msgid "Nonrecoverable error.\n"
msgstr "Появи се грешка при печатането."

#: dlls/kernel32/winerror.mc:3803
msgid "Name valid, no data record.\n"
msgstr ""

#: dlls/kernel32/winerror.mc:3817
#, fuzzy
#| msgid "Not implemented"
msgid "Not implemented.\n"
msgstr "Не е реализирано"

#: dlls/kernel32/winerror.mc:3788
#: dlls/kernel32/winerror.mc:3838
#, fuzzy
msgid "Call failed.\n"
msgstr "Отвори файл.\n"

#: dlls/kernel32/winerror.mc:3760
#: dlls/kernel32/winerror.mc:3810
msgid "No Signature found in file.\n"
msgstr ""

#: dlls/kernel32/winerror.mc:3774
#: dlls/kernel32/winerror.mc:3824
#, fuzzy
msgid "Invalid call.\n"
msgstr "Невалидни знаци в пътя.\n"

#: dlls/kernel32/winerror.mc:3781
#: dlls/kernel32/winerror.mc:3831
#, fuzzy
msgid "Resource is not currently available.\n"
msgstr "Оставащ размер.\n"
Expand Down
Loading

0 comments on commit ed5126d

Please sign in to comment.