Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
a3eb4e5
add validation to stumpless_set_entry_prival
FujiwaraNaoto Sep 11, 2025
74d266a
change description
FujiwaraNaoto Sep 11, 2025
931706b
add unit tests
FujiwaraNaoto Sep 11, 2025
979dbfd
modify description
FujiwaraNaoto Sep 11, 2025
105383e
add error code about invalid prival
FujiwaraNaoto Sep 11, 2025
072e94f
adapt to bg
FujiwaraNaoto Sep 11, 2025
df30748
modified for zh-cn
FujiwaraNaoto Sep 11, 2025
fb6e420
modifed tr
FujiwaraNaoto Sep 11, 2025
b3b9b1d
modifed ar
FujiwaraNaoto Sep 11, 2025
bc8ec7a
modifed bn
FujiwaraNaoto Sep 11, 2025
16ec4ef
modifed cz
FujiwaraNaoto Sep 11, 2025
562415f
modified da-dk
FujiwaraNaoto Sep 11, 2025
575ccb9
modifed de
FujiwaraNaoto Sep 11, 2025
15d719d
modifed el-gr
FujiwaraNaoto Sep 11, 2025
81f8fcd
modified es-es
FujiwaraNaoto Sep 11, 2025
d0aab20
modifed fr-fr
FujiwaraNaoto Sep 11, 2025
63c29cc
modified he-li
FujiwaraNaoto Sep 11, 2025
6ba829a
modified te-in
FujiwaraNaoto Sep 11, 2025
054232b
modified sv-se
FujiwaraNaoto Sep 11, 2025
47daca7
modified sq-al
FujiwaraNaoto Sep 11, 2025
1819ccc
modified sk-sk
FujiwaraNaoto Sep 11, 2025
9ee75b9
modified si-ik
FujiwaraNaoto Sep 11, 2025
f335b4e
modified pt-br
FujiwaraNaoto Sep 11, 2025
bc33f2a
modified pl-pl
FujiwaraNaoto Sep 11, 2025
9df5c38
modified ko-kr
FujiwaraNaoto Sep 11, 2025
3bc9d2c
modified ja-jp
FujiwaraNaoto Sep 11, 2025
e3bb97d
modified it-it
FujiwaraNaoto Sep 11, 2025
ea79b4d
modified hu-hu
FujiwaraNaoto Sep 11, 2025
4f2b77f
modified hi-in
FujiwaraNaoto Sep 11, 2025
505fbd6
modified sw-ke
FujiwaraNaoto Sep 12, 2025
0b7fa11
modified tests
FujiwaraNaoto Sep 12, 2025
c52ba1f
make macros greater than 80 characters shorter
FujiwaraNaoto Sep 12, 2025
290bb52
make macro shorter
FujiwaraNaoto Sep 12, 2025
0fb4e5a
make macros alphabetical order
FujiwaraNaoto Sep 12, 2025
acb2061
modified sv-se
FujiwaraNaoto Sep 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions include/private/config/locale/ar-eg.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@
"النص ليس بصيغة " \
"name=\"value\""

#define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"قيمة الخطورة والمنشأة غير صالحة"

#define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"قيمة الخطورة والمنشأة يجب ان تكون بصيغة RFC 5424: القيم بين 0 و 255 شاملة"

#define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"مستوي الشدة غير معلوم "

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/bg-bg.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"the string is not of the name=\"value\" format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"невалидният привал"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"приватните кодове трябва да бъдат дефинирани в съответствие с RFC 5424:" \
" стойности между 0 и 255 включително"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"невалидната тежест"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/bn-in.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"the string is not of the name=\"value\" format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"অবৈধ prival"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"prival কোডগুলি অবশ্যই RFC 5424 অনুসারে সংজ্ঞায়িত করতে হবে: মান 0 থেকে" \
" 255 এর মধ্যে"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"অসফল severity"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/cz-cz.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"the string is not of the name=\"value\" format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"neplatná prioritní hodnota"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"kód prival musí být definován v souladu s RFC 5424: hodnoty mezi 0" \
" a 255 včetně"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"neplatná služba"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/da-dk.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"the string is not of the name=\"value\" format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"den ugyldige prival"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"prival koder skal være defineret i overensstemmelse med RFC 5424:" \
" værdier mellem 0 og 255 inklusivt"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"den ugyldige alvorlighed"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/de-de.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"Der String entspricht nicht dem name=\"value\" Format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"der ungültige prival"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"prival-Codes müssen gemäß RFC 5424 definiert werden: Werte zwischen 0" \
" und einschließlich 255"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"Ungültiger Schweregrad"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/el-gr.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"the string is not of the name=\"value\" format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"μη έγκυρο prival"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"οι κωδικοί prival πρέπει να ορίζονται σύμφωνα με το RFC 5424: τιμές μεταξύ 0" \
" και 255 συμπεριλαμβανομένων"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"μη έγκυρη σοβαρότητα"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/en-us.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"the string is not of the name=\"value\" format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"the invalid prival"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"prival codes must be defined in accordance with RFC 5424: values between 0" \
" and 255 inclusive"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"the invalid severity"

Expand Down
8 changes: 8 additions & 0 deletions include/private/config/locale/es-es.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,21 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"the string is not of the name=\"value\" format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"el prival inválido"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"los códigos prival deben ser definidos de acuerdo al RFC 5424:" \
" valores entre 0 y 255 inclusive"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"la gravedad inválida"

# define L10N_INVALID_SEVERITY_ERROR_MESSAGE \
"los códigos de gravedad deben ser definidos de acuerdo al RFC 5424:" \
" valores entre 0 y 7 inclusive"


# define L10N_INVALID_STATE_DURING_UTF8_PARSING \
"se alcanzó un estado inválido durante el análisis de la cadena UTF-8"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/fr-fr.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"la chaîne de caractères n'est pas au format nom=\"valeur\""

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"le prival invalide"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"les codes prival doivent être définis conformément au RFC 5424 : valeurs" \
" comprises entre 0 et 255 inclus"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"la sévérité invalide"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/he-il.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,19 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"the string is not of the name=\"value\" format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"שאינו חוקי prival-ה"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"255 לבין 0 ערכים בין :RFC 5424-חייבים להיות מוגדרים בהתאם ל prival קודי"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"שאינו חוקי Severity-ה"

# define L10N_INVALID_SEVERITY_ERROR_MESSAGE \
"ערכים בין 0 ל-7 כולל :RFC 5424-בהתאם ל (Severity) יש להגדיר קודי חומרה"


# define L10N_INVALID_STATE_DURING_UTF8_PARSING \
"UTF-8 מצב לא חוקי התקבל במהלך ניתוח מחרוזת"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/hi-in.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"the string is not of the name=\"value\" format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"अमान्य prival"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"prival कोड को RFC 5424 के अनुसार परिभाषित किया जाना चाहिए: 0 और 255 के" \
" बीच समावेशी मान"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"अमान्य गंभीरता"

Expand Down
9 changes: 8 additions & 1 deletion include/private/config/locale/hu-hu.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"a karakterlánc nem név=\"érték\" formátumú"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"az érvénytelen prival"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"A prival kódokat az RFC 5424 szerint kell meghatározni: 0" \
" és 255 közötti értékek"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"az érvénytelen súlyosság"

Expand Down Expand Up @@ -307,4 +314,4 @@ L"A Windows eseménynapló-forrásának Stumpless regisztrációja"
# define L10N_WSAGETLASTERROR_ERROR_CODE_TYPE \
"a WSAGetLastError eredménye a sikertelen hívás után"

#endif //STUMPLESS_HU_HU_H
#endif //STUMPLESS_HU_HU_H
7 changes: 7 additions & 0 deletions include/private/config/locale/it-it.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"the string is not of the name=\"value\" format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"prival non valido"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"i codici prival devono essere definiti in osservanza del RFC 5424: valori" \
" tra 0 e 255 inclusi"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"gravità non valida"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/ja-jp.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"文字列は 名前=\"価値\" 形式ではありません"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"無効な prival"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"prival コードは RFC 5424 に従って定義する必要があります:値は 0 から 255" \
"(含む)の間です"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"無効な重大度"

Expand Down
6 changes: 6 additions & 0 deletions include/private/config/locale/ko-kr.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"문자열이 이름=\"값\" 형식이 아닙니다"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"잘못된 prival"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"prival 코드는 RFC 5424에 따라 정의되어야 합니다: 0에서 255 사이의 값만 허용됩니다"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"잘못된 심각도"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/pl-pl.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"string nie jest w formacie name=\"value\""

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"nieprawidłowa wartość prival"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"wartości prival muszą być zdefiniowane zgodnie z RFC 5424: wartości między 0" \
" a 255 włącznie"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"nieprawidłowa usługa"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/pt-br.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"essa string não está no formato nome=\"valor\" correto"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"o prival inválido"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"códigos prival devem ser definidos de acordo com a RFC 5424: valores entre 0" \
" e 255, inclusive"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"a gravidade inválida"

Expand Down
8 changes: 7 additions & 1 deletion include/private/config/locale/si-lk.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"තන්තුව name=\"අගය\" ආකෘතියෙන් නොවේ"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"වලංගු නොවන prival"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"prival කේත RFC 5424 අනුව නිර්වචනය කළ යුතුය: 0 සහ 255 ඇතුළත් අගයන්"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"වලංගු නොවන බරපතලකම"

Expand Down Expand Up @@ -300,4 +306,4 @@ PARAM " ප්‍රකාශයට බැඳීමට නොහැකි වි
# define L10N_WSAGETLASTERROR_ERROR_CODE_TYPE \
"අසාර්ථක ඇමතුමෙන් පසු WSAGetLastError හි ප්‍රතිඵලය"

#endif //STUMPLESS_SI_LK_H
#endif //STUMPLESS_SI_LK_H
7 changes: 7 additions & 0 deletions include/private/config/locale/sk-sk.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"the string is not of the name=\"value\" format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"neplatné prival"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"kód prival musí byť definovaný v súlade s normou RFC 5424: hodnoty medzi" \
" 0 a 255 vrátane"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"neplatná služba"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/sq-al.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"string-u nuk është i formatit name=\"value\""

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"prival jo-valid"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"kodet prival duhet të definohen në përputhshmëri me RFC 5424:" \
" vlerat në mes 0 dhe 255 (duke përfshirë)"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"rëndësia jo-valide"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/sv-se.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"the string is not of the name=\"value\" format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"den ogiltiga privalen"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"prival-koder måste vara definierade i enlighet med RFC 5424: värden mellan 0" \
"och 255 inklusive"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"den ogiltiga allvarligheten"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/sw-ke.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"the string is not of the name=\"value\" format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"faragha batili"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"misimbo ya faragha lazima ifafanuliwe kwa mujibu wa RFC 5424:" \
" maadili kati ya 0 na 255 pamoja"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"ukali batili"

Expand Down
6 changes: 6 additions & 0 deletions include/private/config/locale/te-in.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"స్ట్రింగ్ పేరు=\"విలువ\" ఆకృతికి సంబంధించినది కాదు"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"చెల్లని ప్రైవాల్"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"RFC 5424 ప్రకారం ప్రైవాల్ కోడ్లు నిర్వచించబడాలి: విలువలు 0 నుండి 255 వరకు"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"చెల్లని తీవ్రత"

Expand Down
7 changes: 7 additions & 0 deletions include/private/config/locale/tr-tr.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"string name=\"value\" biçiminde değil"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"geçersiz özel"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"özel kodlar RFC 5424'e uygun olarak tanımlanmalıdır: " \
"0 ile 255 arasındaki değerler (dahil)"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"geçersiz önem derecesi(severity)"

Expand Down
6 changes: 6 additions & 0 deletions include/private/config/locale/zh-cn.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@
# define L10N_INVALID_PARAM_ERROR_MESSAGE \
"the string is not of the name=\"value\" format"

# define L10N_INVALID_PRIVAL_ERROR_CODE_TYPE \
"无效的prival"

# define L10N_INVALID_PRIVAL_ERROR_MESSAGE \
"私有代码必须根据 RFC 5424 定义:值介于 0 到 255(含)之间"

# define L10N_INVALID_SEVERITY_ERROR_CODE_TYPE \
"severity无效"

Expand Down
Loading
Loading